/* Cuidar — panel familiar. Fondo claro, letra grande, alto contraste. */
:root {
  /* Marca Fissy: misma fuente de verdad que financial-tools/assets/css/fissy-brand.css */
  --fissy-teal: #12b89b; --fissy-teal-d: #0d9680; --fissy-teal-bright: #1fd8b6; --fissy-purple: #7030a0; --fissy-gold: #fcd743;
  --fissy-teal-soft: rgba(18, 184, 155, 0.10);
  --fissy-font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fissy-font-body: "DM Sans", system-ui, -apple-system, "SF Pro Text", "Segoe UI", sans-serif;
  /* Tokens del panel */
  --bg: #f3f7f6; --card: #ffffff; --ink: #14232a; --muted: #5a6b72; --line: #dde7e4;
  --accent: var(--fissy-teal-d); --accent-ink: #ffffff; --accent-soft: var(--fissy-teal-soft); --accent-bright: var(--fissy-teal);
  --ok: #0d9680; --ok-soft: #e3f6f1; --warn: #9a6b00; --warn-soft: #fff4cc; --bad: #c0392b; --bad-soft: #fae3e0;
  --radius: 16px; --shadow: 0 1px 2px rgba(20, 35, 42, .05), 0 6px 18px rgba(20, 35, 42, .05);
  --fs: 17px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); font-family: var(--fissy-font-body); font-size: var(--fs); line-height: 1.45; -webkit-text-size-adjust: 100%; }
body.no-scroll { overflow: hidden; }
a { color: var(--accent); }
h1, h2, h3 { margin: 0; line-height: 1.2; font-family: var(--fissy-font-head); letter-spacing: -0.01em; }
h1 { font-size: 1.55rem; font-weight: 700; }
h2 { font-size: 1.15rem; font-weight: 700; margin: 26px 0 10px; }
h3 { font-size: 1.02rem; font-weight: 700; }
p { margin: 0 0 8px; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.right { text-align: right; }

/* Login */
.login-screen { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.login-box { width: 100%; max-width: 380px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 22px; }
.login-logo { text-align: center; margin-bottom: 22px; }
.login-logo__mark { display: block; font-size: 2.1rem; font-weight: 800; color: var(--accent); letter-spacing: -.5px; }
.login-logo__sub { display: block; color: var(--muted); margin-top: 4px; }
.login-error { color: var(--bad); min-height: 1.4em; margin-top: 10px; text-align: center; }

/* Shell */
.app-shell { min-height: 100vh; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 10px; padding: calc(10px + env(safe-area-inset-top)) 18px 10px; background: var(--card); border-bottom: 1px solid var(--line); }
.topbar__mark { font-weight: 800; color: var(--accent); font-size: 1.2rem; }
.topbar__sub { color: var(--muted); font-size: .95rem; flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.env-tag { font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); }
.main { flex: 1; padding: 16px 16px calc(84px + env(safe-area-inset-bottom)); max-width: 760px; width: 100%; margin: 0 auto; }
.bottomnav { position: fixed; bottom: 0; left: 0; right: 0; display: flex; background: var(--card); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); z-index: 5; }
.nav__item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 2px 7px; background: none; border: 0; color: var(--muted); font: inherit; font-size: .72rem; cursor: pointer; }
.nav__item .icon { width: 24px; height: 24px; }
.nav__item--on { color: var(--accent); font-weight: 700; }
@media (min-width: 760px) { .nav__item { font-size: .85rem; } }

/* Cards & lists */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin-bottom: 12px; }
.card--accent { border-left: 5px solid var(--accent); }
.card--warn { border-left: 5px solid var(--warn); background: #fffaf0; }
.card--alert { border-left: 5px solid var(--bad); }
.card__title { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.row { display: flex; align-items: center; gap: 12px; }
.row--between { justify-content: space-between; }
.row--wrap { flex-wrap: wrap; }
.stack > * + * { margin-top: 8px; }
.list { margin: 0; padding: 0; list-style: none; }
.list__item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.list__item:first-child { border-top: 0; padding-top: 4px; }
.list__time { min-width: 86px; font-weight: 700; font-variant-numeric: tabular-nums; }
.list__body { flex: 1; min-width: 0; }
.list__body b { font-weight: 700; }
.chip { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; background: var(--accent-soft); color: var(--accent); }
.chip--ok { background: var(--ok-soft); color: var(--ok); }
.chip--warn { background: var(--warn-soft); color: var(--warn); }
.chip--bad { background: var(--bad-soft); color: var(--bad); }
.chip--muted { background: #eef1f4; color: var(--muted); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 14px; }
.chip--btn { cursor: pointer; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-size: .85rem; padding: 6px 12px; }
.chip--btn.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.empty { color: var(--muted); padding: 10px 0; }
.kv { display: grid; grid-template-columns: minmax(110px, 36%) 1fr; gap: 6px 12px; font-size: .95rem; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; }
details summary { cursor: pointer; font-weight: 700; color: var(--accent); padding: 8px 0; list-style: none; }
details summary::-webkit-details-marker { display: none; }
.date-head { color: var(--muted); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .4px; margin: 18px 0 6px; }

/* Forms */
.input, select.input, textarea.input { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.input:focus { outline: 3px solid var(--accent-soft); border-color: var(--accent); }
.input--login { font-size: 1.2rem; text-align: center; letter-spacing: 2px; margin-bottom: 12px; }
label.field { display: block; margin-bottom: 12px; }
label.field > span { display: block; font-size: .9rem; color: var(--muted); margin-bottom: 4px; }
.check { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); cursor: pointer; }
.check input { width: 24px; height: 24px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.btn { font: inherit; font-weight: 700; padding: 12px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; min-height: 46px; }
.btn--primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn--ghost { background: transparent; }
.btn--danger { color: var(--bad); border-color: var(--bad-soft); background: var(--bad-soft); }
.btn--block { width: 100%; }
.btn--sm { padding: 7px 12px; min-height: 36px; font-size: .9rem; }
.btn:disabled { opacity: .5; cursor: default; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.drop { display: block; border: 2px dashed var(--accent); border-radius: var(--radius); padding: 28px 16px; text-align: center; background: var(--accent-soft); cursor: pointer; }
.drop.over { background: #cdebe5; }
.drop input { display: none; }
.reply { white-space: pre-wrap; background: #f7f9fa; border-radius: 12px; padding: 12px; margin: 10px 0; font-size: .95rem; }
.progress { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; margin: 8px 0; }
.progress > i { display: block; height: 100%; background: var(--accent); width: 30%; animation: slide 1.2s infinite; }
@keyframes slide { 0% { margin-left: -30%; } 100% { margin-left: 100%; } }
code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; word-break: break-all; }
.copy { background: #f1f4f6; border-radius: 10px; padding: 10px 12px; }

/* Modal, sheet, toast */
.modal-back { position: fixed; inset: 0; background: rgba(20, 30, 40, .45); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 50; }
.modal-back--sheet { align-items: flex-end; padding: 0; }
.modal { background: var(--card); border-radius: var(--radius); width: 100%; max-width: 520px; max-height: 90vh; overflow: auto; box-shadow: var(--shadow); }
.modal--sheet { border-radius: 20px 20px 0 0; max-width: 760px; padding-bottom: env(safe-area-inset-bottom); }
.modal__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.modal__title { font-weight: 700; font-size: 1.1rem; }
.modal__close { background: none; border: 0; cursor: pointer; color: var(--muted); padding: 6px; }
.modal__body { padding: 16px 18px; }
.modal__actions { display: flex; gap: 10px; justify-content: flex-end; padding: 12px 18px 18px; }
.list__item--btn { width: 100%; background: none; border: 0; font: inherit; text-align: left; align-items: center; cursor: pointer; color: var(--ink); }
.list__item--btn span { flex: 1; }
.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; opacity: 0; transition: .25s; z-index: 60; max-width: 92vw; }
.toast--show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast--err { background: var(--bad); }

/* Chat */
.screen--chat { display: flex; flex-direction: column; min-height: calc(100vh - 150px); }
.chat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.chat-head__txt { flex: 1; min-width: 0; }
.chat-head h1 { margin: 0; font-size: 1.35rem; line-height: 1.2; }
.chat-avatar { width: 56px; height: 56px; border-radius: 50%; flex: none; box-shadow: 0 2px 8px rgba(13,150,128,.25); }
.chat-log { flex: 1; display: flex; flex-direction: column; gap: 8px; padding-bottom: 120px; }
.bubble { max-width: 88%; padding: 10px 14px; border-radius: 16px; white-space: pre-wrap; word-wrap: break-word; line-height: 1.4; }
.bubble--in { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 4px; }
.bubble--out { align-self: flex-start; background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble__meta { display: block; font-size: .72rem; opacity: .7; margin-top: 4px; }
.bubble--in .bubble__meta { text-align: right; }
.chat-quick { display: flex; gap: 8px; align-self: flex-start; flex-wrap: wrap; }
.chat-composer { position: fixed; left: 0; right: 0; bottom: calc(66px + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line); padding: 8px 10px; z-index: 4; }
.chat-composer__inner { max-width: 760px; margin: 0 auto; display: flex; gap: 8px; align-items: flex-end; }
.chat-composer textarea { flex: 1; resize: none; max-height: 140px; min-height: 46px; padding: 11px 14px; border-radius: 22px; }
.chat-composer .btn--icon { width: 46px; height: 46px; min-height: 46px; padding: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.btn--icon.rec { background: var(--bad-soft); color: var(--bad); border-color: var(--bad); }
.chat-files { display: flex; gap: 6px; flex-wrap: wrap; max-width: 760px; margin: 0 auto 6px; }
.chat-files .chip { cursor: pointer; }
.chat-typing { align-self: flex-start; color: var(--muted); font-size: .9rem; padding: 6px 2px; }

/* Interfaz para quien no sabe de medicina */
.topbar__me { font: inherit; font-size: .85rem; font-weight: 700; color: var(--accent); background: var(--accent-soft); border: 0; border-radius: 999px; padding: 6px 12px; cursor: pointer; white-space: nowrap; }
.term { border-bottom: 2px dotted var(--accent); cursor: pointer; color: inherit; }
.gloss { font-size: 1.1rem; line-height: 1.5; }
.simple { font-size: 1.05rem; line-height: 1.55; background: var(--accent-soft); border-radius: 12px; padding: 12px 14px; margin: 8px 0 10px; }
.bigcheck { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.bigcheck:first-child { border-top: 0; }
.bigcheck__box { width: 44px; height: 44px; border-radius: 12px; border: 2px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; cursor: pointer; color: transparent; }
.bigcheck__box.on { background: var(--ok); border-color: var(--ok); color: #fff; }
.bigcheck__box.skip { background: var(--bad-soft); border-color: var(--bad); color: var(--bad); }
.bigcheck__body { flex: 1; min-width: 0; }
.bigcheck__time { font-weight: 800; font-size: 1.05rem; }
.hourblock { margin-bottom: 4px; }
.hourblock__head { font-weight: 800; font-size: 1.1rem; margin: 14px 0 4px; }
.todo { padding: 12px 0; border-top: 1px solid var(--line); }
.todo:first-child { border-top: 0; }
.todo__text { font-size: 1rem; line-height: 1.45; }
.todo__meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.who { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); }
.lead { font-size: 1.15rem; line-height: 1.5; }
.card--soft { background: #fbfcfd; }
.hero { background: linear-gradient(135deg, var(--accent) 0%, #0b5f58 100%); color: #fff; border-radius: var(--radius); padding: 18px; margin-bottom: 14px; }
.hero h1 { color: #fff; font-size: 1.4rem; }
.hero p { margin: 4px 0 0; opacity: .92; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-weight: 700; }
.collapse summary { font-weight: 700; color: var(--accent); padding: 10px 0; cursor: pointer; list-style: none; }
.collapse summary::-webkit-details-marker { display: none; }
.btn--icon.rec { animation: pulse 1s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(192, 57, 43, .4); } 50% { box-shadow: 0 0 0 8px rgba(192, 57, 43, 0); } }

/* Detalle a un toque */
.linkbtn { background: none; border: 0; padding: 0; font: inherit; font-size: .9em; font-weight: 700; color: var(--accent); cursor: pointer; }
.collapse { border-top: 1px solid var(--line); margin-top: 6px; }
.collapse:first-child { border-top: 0; margin-top: 0; }
.collapse > summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .95rem; }
.collapse > summary::after { content: '+'; font-size: 1.3rem; line-height: 1; color: var(--muted); }
.collapse[open] > summary::after { content: '−'; }
.collapse__body { padding: 2px 0 10px; }
.hourblock--done .hourblock__head { color: var(--muted); font-weight: 600; font-size: .95rem; }
.row-compact { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hero { padding: 14px 16px; }
.hero h1 { font-size: 1.25rem; }


/* ===== Pulido de marca y alineación (gana sobre lo anterior) ===== */
.login-logo__mark, .topbar__mark { font-family: var(--fissy-font-head); color: var(--fissy-teal-d); }
.login-box { border-top: 4px solid var(--fissy-teal); }
.btn { font-family: var(--fissy-font-head); font-weight: 600; letter-spacing: 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; line-height: 1.2; }
.btn--primary { background: var(--fissy-teal-d); border-color: var(--fissy-teal-d); }
.btn--primary:hover { background: var(--fissy-teal); border-color: var(--fissy-teal); }
.btn--ghost { color: var(--fissy-teal-d); border-color: transparent; }
.btn--sm { padding: 6px 12px; min-height: 36px; font-size: .88rem; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; margin-top: 14px; }
.actions--left { justify-content: flex-start; }
@media (max-width: 480px) { .actions { flex-direction: column-reverse; } .actions .btn { width: 100%; } }
.nav__item--on { color: var(--fissy-teal-d); }
.nav__item--on .icon { color: var(--fissy-teal); }
.chip { font-family: var(--fissy-font-head); font-weight: 600; letter-spacing: 0; }
.chip--gold { background: #fff6cc; color: #7a5a00; }
.hero { background: linear-gradient(135deg, var(--fissy-teal-d) 0%, var(--fissy-teal) 70%, var(--fissy-teal-bright) 100%); }
.hero h1 { font-family: var(--fissy-font-head); }
.topbar__me { background: var(--fissy-teal-soft); color: var(--fissy-teal-d); font-family: var(--fissy-font-head); font-weight: 600; }
.term { border-bottom-color: var(--fissy-teal); }
.simple { background: var(--fissy-teal-soft); border-left: 3px solid var(--fissy-teal); }
.card--accent { border-left-color: var(--fissy-teal); }
.card--alert { border-left-color: var(--fissy-purple); }
.card--warn { border-left-color: var(--fissy-gold); background: #fffdf2; }
.collapse > summary { color: var(--fissy-teal-d); font-family: var(--fissy-font-head); font-weight: 600; }
.linkbtn { color: var(--fissy-teal-d); font-family: var(--fissy-font-head); font-weight: 600; }
.pill { font-family: var(--fissy-font-head); font-weight: 600; border-color: var(--fissy-teal-soft); background: var(--fissy-teal-soft); color: var(--fissy-teal-d); }
.bigcheck__box.on { background: var(--fissy-teal-d); border-color: var(--fissy-teal-d); }
.bubble--in { background: var(--fissy-teal-d); }
.todo__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.todo__btns { margin-left: auto; display: flex; gap: 8px; }
@media (max-width: 480px) { .todo__btns { width: 100%; margin-left: 0; } .todo__btns .btn { flex: 1; } }
.card__title h3 { flex: 1; min-width: 0; }
.card__title .chip { flex: none; }
.row-compact .who { flex: none; }
.chat-composer .btn--icon { border-radius: 50%; }
.drop { border-color: var(--fissy-teal); background: var(--fissy-teal-soft); }
.progress > i { background: var(--fissy-teal); }
.env-tag { background: #fff6cc; color: #7a5a00; }
.date-head { color: var(--fissy-teal-d); }
.modal__title { font-family: var(--fissy-font-head); }
.kv dt { font-family: var(--fissy-font-head); font-weight: 600; font-size: .85rem; }

/* Citas: calendario y selector de vista */
.screen-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.screen-head h1 { margin: 0; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--card); }
.seg__btn { border: 0; background: transparent; border-radius: 999px; padding: 7px 12px; font: inherit; font-weight: 700; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; cursor: pointer; min-height: 36px; }
.seg__btn .icon { width: 18px; height: 18px; }
.seg__btn.on { background: var(--accent); color: var(--accent-ink); }
.cal__nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.cal__title { text-align: center; font-family: var(--font-head, inherit); font-weight: 800; font-size: 1.1rem; display: flex; flex-direction: column; line-height: 1.2; }
.cal__title .small { font-weight: 500; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__dow span { text-align: center; font-size: .75rem; font-weight: 700; color: var(--muted); padding: 4px 0; }
.cal__cell { position: relative; aspect-ratio: 1; border: 1px solid transparent; border-radius: 10px; background: transparent; font: inherit; font-weight: 600; color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; padding: 0; min-height: 40px; }
.cal__cell:hover { background: var(--accent-soft); }
.cal__cell--empty { cursor: default; }
.cal__cell--empty:hover { background: transparent; }
.cal__cell--past { color: var(--muted); font-weight: 500; }
.cal__cell--today { border-color: var(--accent); }
.cal__cell--sel { background: var(--accent); color: var(--accent-ink); }
.cal__cell--sel:hover { background: var(--accent); }
.cal__num { font-size: .95rem; }
.cal__dots { display: flex; gap: 3px; height: 6px; }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-bright); }
.dot--pend { background: var(--fissy-gold, #fcd743); }
.cal__cell--sel .dot--cita { background: #fff; }
.cal__legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; align-items: center; }
.cal__legend .dot { margin-right: 4px; vertical-align: middle; }
.row--btn { width: 100%; text-align: left; border: 0; border-top: 1px solid var(--line); background: transparent; padding: 10px 0; font: inherit; color: inherit; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; cursor: pointer; }
.row--btn:first-of-type { border-top: 0; }

/* Dinero de la casa */
.money-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.money-strip .card { padding: 12px 10px; margin: 0; text-align: center; }
.money-strip .k { display: block; font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.money-strip .v { display: block; font-family: var(--font-head, inherit); font-weight: 800; font-size: 1.05rem; line-height: 1.2; }
.money-strip .s { display: block; font-size: .75rem; color: var(--muted); }
.fund__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.fund__bal { font-weight: 800; white-space: nowrap; }
.fund__bal.neg { color: var(--bad); }
.fund__bal.pos { color: var(--ok); }
.fund__line { display: flex; gap: 10px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); margin: 2px 0 6px; }
.fund__line b { color: var(--ink); }
.bitem { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.bitem__name { font-weight: 700; }
.bitem__meta { grid-column: 1; font-size: .82rem; color: var(--muted); }
.bitem__right { grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.bitem__amt { font-weight: 800; }
.bitem--done .bitem__name { color: var(--muted); font-weight: 600; }
.bitem--done .bitem__amt { color: var(--ok); }
.move { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); }
.move__txt { flex: 1; min-width: 0; }
.move__txt small { display: block; color: var(--muted); }
.move__amt { font-weight: 800; white-space: nowrap; }
.move__amt.in { color: var(--ok); }
.form-grid { display: grid; gap: 10px; }
.form-grid label { display: grid; gap: 4px; font-size: .85rem; font-weight: 700; color: var(--muted); }
.form-grid .input, .form-grid select { font: inherit; }
.form-grid select { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); min-height: 44px; }
.form-grid .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 420px) { .money-strip { grid-template-columns: 1fr 1fr; } .money-strip .card:last-child { grid-column: span 2; } }
/* Proyectos */
.card--link { display: block; text-decoration: none; color: inherit; }
.sem { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 800; white-space: nowrap; }
.sem--ok { background: var(--ok-soft); color: var(--ok); }
.sem--warn { background: var(--warn-soft); color: var(--warn); }
.sem--bad { background: var(--bad-soft); color: var(--bad); }
.sem--off { background: var(--line); color: var(--muted); }
.pbar { height: 10px; border-radius: 999px; background: var(--accent-soft); overflow: hidden; margin: 6px 0; }
.pbar > i { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.seg--scroll { max-width: 100%; overflow-x: auto; margin-bottom: 10px; }
.seg--scroll .seg__btn { white-space: nowrap; }
.todo__txt { flex: 1; min-width: 0; }
.ptask { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.ptask:first-of-type { border-top: 0; }
.ptask--done .todo__txt { color: var(--muted); }
.ptask--done .todo__txt > div:first-child { text-decoration: line-through; }
.ptask .btn--icon { flex: none; }
