/* domo.css — the one stylesheet for every screen of the app and for the proposal (brief 019 §1; docs/DESIGN.md).
   Colours sampled from Domo's own proposal decks (client-samples/, rendered and read pixel by pixel). */

@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("fonts/poppins-latin-700-normal.woff2") format("woff2"); }

:root {
  --cream: #FBFAF7;        /* page background (deck cover) */
  --cream-2: #F2F1ED;      /* soft surface (deck's large circle) */
  --cream-3: #EDECE6;      /* deeper surface (deck's lower circle) */
  --ink: #393A2F;          /* headings and body text (deck titles; dark divider slides) */
  --olive: #70715C;        /* accent: table header band, primary button */
  --olive-soft: #9C9E8B;   /* small-caps labels (CLIENTE, FECHA) */
  --leaf: #90917D;         /* the logo's leaf and wordmark */
  --zebra: #EDEDED;        /* the deck table's shaded figure rows */
  --line: #DEDDD5;
  --muted: #7A7B6B;
  --priced: #5E7A4A;       /* a priced product's dot */
  --qualifies: #B9C9A6;    /* qualifies, simulator coming */
  --excluded: #C9C8C0;     /* excluded */
  --note: #8A6D2B;         /* the rare warning */
  --space: 24px;
}

* { box-sizing: border-box; }
html { background: var(--cream); }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 13px/1.6 "Poppins", -apple-system, "Helvetica Neue", Arial, sans-serif; }
a { color: var(--ink); text-decoration-color: var(--olive-soft); text-underline-offset: 3px; }
h1 { font-weight: 500; font-size: 29px; line-height: 1.15; letter-spacing: -0.01em; margin: 8px 0 12px; }
.lede { color: var(--muted); font-size: 15px; max-width: 560px; margin: 0 0 24px; }
h2 { font-weight: 500; font-size: 17.5px; margin: 36px 0 12px; }
h3 { font-weight: 500; font-size: 13.5px; margin: 18px 0 6px; }
p { margin: 8px 0; }
.label { font-size: 9.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 10px; }
.err { color: #9A3B2E; }
.note { color: var(--note); font-size: 10.5px; }

/* the frame: brand, step bar, centred column */
header.top { display: flex; align-items: center; gap: 28px; padding: 18px 48px 4px; max-width: 1240px; margin: 0 auto; }
header.top .brand { display: flex; align-items: center; gap: 5px; font-size: 24px; color: var(--ink); text-decoration: none; font-weight: 500; letter-spacing: -0.01em; }
header.top .brand svg { width: 11px; height: 19px; fill: none; stroke: var(--olive); stroke-width: 1.4; margin-top: 6px; }
details.menu { margin: 0 0 0 auto; position: relative; }
details.menu > summary { list-style: none; color: var(--muted); font-size: 12px; padding: 6px 10px; border-radius: 8px; }
details.menu > summary::before { content: none; }
details.menu[open] > summary, details.menu > summary:hover { color: var(--ink); background: var(--cream-2); }
.menubox { position: absolute; right: 0; top: 34px; z-index: 20; background: var(--cream); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 10px 30px rgba(57, 58, 47, .12); padding: 10px 0; min-width: 200px; display: flex; flex-direction: column; }
.menubox a { text-decoration: none; padding: 6px 18px; font-size: 12.5px; color: var(--ink); }
.menubox a:hover { background: var(--cream-2); }
.menubox hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.menubox .mode, .menubox .techtoggle { padding: 6px 18px; margin: 4px 0 0; border-top: 1px solid var(--line); font-size: 11.5px; }
.menubox .techtoggle { border-top: 0; margin: 0; }
.mode { color: var(--olive); font-weight: 500; }
.journeywrap { border-bottom: 1px solid var(--line); }
.journey { display: flex; align-items: center; gap: 10px; padding: 8px 48px 14px; flex-wrap: wrap; font-size: 14px; max-width: 1240px; margin: 0 auto; }
.journey .st { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; }
.journey .st i { font-style: normal; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--cream-3); font-size: 9.5px; color: var(--muted); }
.journey .st.done i { background: #E4E9D8; color: var(--olive); }
.journey .st.on { color: var(--ink); font-weight: 500; } .journey .st.on i { background: var(--ink); color: var(--cream); }
.journey .sep { color: var(--olive-soft); }
main { padding: 36px 24px 80px; max-width: 768px; margin: 0 auto; }
main.wide { max-width: 1148px; }
.navrow { display: flex; justify-content: space-between; align-items: center; margin-top: 36px; gap: 16px; flex-wrap: wrap; }
.navrow .back { text-decoration: none; font-weight: 500; }

/* forms */
label { display: block; margin: 14px 0 6px; font-size: 11px; }
input, select, textarea { width: 100%; padding: 10px 12px; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 8px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--olive-soft); outline-offset: 0; }
textarea { min-height: 84px; }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--olive); }
button, .button { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 12px 26px; font: 500 13px "Poppins", sans-serif;
  color: var(--cream); background: var(--ink); border: 0; border-radius: 8px; cursor: pointer; text-decoration: none; }
button.quiet, .button.quiet { background: transparent; color: var(--ink); border: 1px solid var(--line); font-size: 11px; padding: 9px 18px; }
button.link { background: none; color: var(--muted); padding: 0; margin: 0; font-weight: 500; text-decoration: underline; border-radius: 0; }
button:hover { filter: brightness(1.08); }
.row { display: flex; gap: 18px; flex-wrap: wrap; } .row > * { flex: 1 1 220px; }
.checks label, .radios label { display: inline-flex; gap: 6px; align-items: center; margin-right: 18px; }
.choice { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0; }
.choice label { margin: 0; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: inline-block; padding: 10px 22px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; }
.choice input:checked + span { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--olive-soft); }

/* surfaces */
.card, .pick, .q { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 22px 26px; margin: 14px 0; }
.soft { background: var(--cream-2); border-radius: 14px; padding: 18px 22px; }
details { margin: 12px 0; }
details > summary { cursor: pointer; color: var(--muted); font-size: 11px; list-style: none; }
details > summary::before { content: "›"; display: inline-block; margin-right: 8px; transition: transform .15s; }
details[open] > summary::before { transform: rotate(90deg); }
.errbox { border-left: 3px solid #9A3B2E; background: #fff; padding: 10px 18px; margin: 14px 0; border-radius: 6px; }
.badge { font-size: 9px; padding: 2px 9px; border-radius: 999px; background: var(--cream-3); }
.wol { background: #E4E8DA; } .prov { background: #F1E9D6; } .off { opacity: .55; }

/* figures: always right-aligned, tabular */
.num, td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* tables (deck style: olive band, plain rows, shaded figure rows) */
table { border-collapse: collapse; width: 100%; font-size: 11px; margin: 10px 0 18px; }
th, td { padding: 6px 10px; text-align: left; vertical-align: top; }
td { border-bottom: 1px solid var(--line); }
table.deck { background: #fff; }
table.deck thead th { background: var(--olive); color: #fff; font-weight: 600; text-align: center; padding: 8px 12px; }
table.deck thead th:first-child { text-align: left; }
table.deck td { border-bottom: 0; padding: 4px 12px; }
table.deck td + td { text-align: right; font-variant-numeric: tabular-nums; }
table.deck tr.shade td + td { background: var(--zebra); }
table.deck tr.total td { font-weight: 700; border-top: 1px solid var(--ink); }
table.deck tr.gap td { height: 12px; }
td.win { font-weight: 700; }
.facts td:first-child { color: var(--muted); width: 45%; }
.facts td:last-child { text-align: right; }

/* page 2: a tile per bank, a dot per product */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin: 20px 0 22px; }
.tile { background: var(--cream); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.tile h3 { margin: 0 0 12px; display: flex; justify-content: space-between; align-items: baseline; }
.tile h3 small { font-size: 10px; color: var(--muted); font-weight: 400; }
.dots { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
/* brief 022: solid = se cotizará; a hollow ring of the same size = califica; a smaller pale dot = no aplica, after a gap */
.dot { width: 13px; height: 13px; border-radius: 50%; border: 0; padding: 0; margin: 0; cursor: pointer; box-sizing: border-box; flex: none; }
.dot.priced { background: var(--priced); } .dot.qualifies { background: transparent; border: 1.6px solid var(--priced); }
.dot.excluded { width: 8px; height: 8px; margin: 0 2.5px; background: var(--excluded); } .dot.gap { margin-left: 10px; }
.dotline { min-height: 44px; font-size: 11px; color: var(--muted); margin-top: 14px; line-height: 1.5; }
.dotline b { color: var(--ink); font-weight: 500; }
.legend { display: flex; gap: 18px; font-size: 10px; color: var(--muted); flex-wrap: wrap; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.legend i.dot { width: 13px; height: 13px; vertical-align: -3px; cursor: default; } .legend i.dot.excluded { width: 8px; height: 8px; margin: 0 8px 0 2.5px; vertical-align: -1px; }
.legend .hint { margin-left: auto; }

/* the bank's sheet (review mode) */
.sheet td { border: 1px solid var(--line); padding: 3px 8px; font-size: 10px; }
.sheet td.ref { color: var(--olive-soft); font-size: 9px; width: 54px; }
.sheet td.in { background: #FFFDF2; }
.sheet td.hl { outline: 2px solid var(--olive); background: #EEF0E4; font-weight: 700; }
.sheet input { padding: 3px 6px; border-radius: 4px; text-align: right; }

/* technical view: hidden unless switched on */
.tec { display: none !important; }
body.tecnica .tec { display: revert !important; }
body.tecnica span.tec, body.tecnica code.tec { display: inline !important; }
.techtoggle { font-size: 10px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; margin: 0; cursor: pointer; }
code { font: 12px Menlo, monospace; }

@media (max-width: 700px) {
  header.top, main { padding-left: 16px; padding-right: 16px; } .journey { margin: 0 16px; } h1 { font-size: 21px; }
}
@media print { header.top, .journey, .no-print { display: none; } body { background: #fff; } }

/* page 1: collapsible groups with a one-line summary */
details.group { padding: 0; }
details.group > summary { padding: 22px 26px; display: flex; align-items: center; gap: 12px; color: var(--ink); }
details.group > summary::before { content: none; }
details.group > summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); transition: transform .15s; }
details.group[open] > summary::after { transform: rotate(-135deg); }
details.group[open] { background: var(--cream-2); }
details.group .gt { display: block; font-size: 13.5px; font-weight: 500; }
details.group .gs { display: block; color: var(--muted); font-size: 11.5px; margin-top: 2px; }
details.group[open] .gs { display: none; }
details.group .gbody { padding: 0 26px 22px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; } .fields .wide { grid-column: 1 / -1; }
.field label { color: var(--muted); font-size: 11px; }
@media (max-width: 700px) { .fields { grid-template-columns: 1fr; } }

/* page 2: the read panel, a segmented control, the glance grid */
.readbox { background: var(--cream-3); border: 1px solid var(--line); border-radius: 12px; padding: 30px 32px; margin-top: 30px; }
.seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.35); border: 1px solid var(--line); }
.seg label { margin: 0; } .seg input { position: absolute; opacity: 0; }
.seg span { display: inline-block; padding: 8px 18px; border-radius: 999px; color: var(--muted); cursor: pointer; font-size: 12px; }
.seg input:checked + span { background: var(--cream); color: var(--ink); box-shadow: 0 1px 2px rgba(57,58,47,.12); }
.seg input:focus-visible + span { outline: 2px solid var(--olive-soft); }
.seg.small span { padding: 5px 12px; font-size: 10.5px; }
.segrow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.readbox textarea[name=why] { min-height: 52px; }
/* dictation (brief 021 §4): a mic inside every free-text box, added by the page's script */
.dict { position: relative; } .dict textarea { padding-right: 48px; }
.micbtn { position: absolute; right: 9px; top: 9px; width: 30px; height: 30px; margin: 0; padding: 0; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
.micbtn svg { width: 12px; height: 14px; fill: none; stroke: var(--muted); stroke-width: 1.5; }
.micbtn.on { background: var(--olive); border-color: var(--olive); animation: dictpulse 1.4s ease-in-out infinite; } .micbtn.on svg { stroke: #fff; }
@keyframes dictpulse { 50% { box-shadow: 0 0 0 5px rgba(112, 113, 92, .18); } }
.dictno { display: block; font-size: 10.5px; color: var(--muted); margin-top: 4px; }
/* the language switch beside the mic: only while listening, on hover, or with the box focused (owner, 2026-10-06) */
.dictlang { position: absolute; right: 6px; top: -21px; display: inline-flex; align-items: center; gap: 2px; font-size: 10px;
  color: var(--olive-soft); visibility: hidden; opacity: 0; transition: opacity .12s; }
.dict:hover .dictlang, .dict:focus-within .dictlang, .dict.listening .dictlang { visibility: visible; opacity: 1; }
.dictlang button { margin: 0; padding: 2px 4px; background: none; border: 0; border-radius: 4px; font: 500 10px "Poppins", sans-serif;
  color: var(--muted); cursor: pointer; letter-spacing: .04em; }
.dictlang button.on { color: var(--olive); font-weight: 600; } .dictlang i { font-style: normal; color: var(--line); }
.readbox details { border-top: 1px solid var(--line); padding-top: 12px; }
.readbox details + details { border-top: 0; padding-top: 0; }
.glance { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; margin: 8px 0 6px; }
.glance div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 10px 0; font-size: 11.5px; }
.glance div span:first-child { color: var(--muted); } .glance div span:last-child { text-align: right; }
.bankrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; flex-wrap: wrap; }
.bankrow .hint { flex-basis: 100%; font-size: 10px; color: var(--muted); margin-top: -4px; }
@media (max-width: 700px) { .glance { grid-template-columns: 1fr; } }

/* page 3: the comparison (brief 021 §3: a hierarchy). The recommended column is tinted full height; the hero rows
   (rate, first payment) are a size up and the rest a size down; the best figure of each row is olive and semi-bold. */
.cmpwrap { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px 8px; overflow-x: auto; }
table.cmp-key { font-size: 12px; margin: 0; }
table.cmp-key th { font-weight: 500; font-size: 14px; padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: bottom; }
table.cmp-key th.label { font-size: 9.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
table.cmp-key th .sub, table.cmp-all th .sub { display: block; font-size: 10.5px; line-height: 1.35; color: var(--muted); font-weight: 400;
  white-space: normal; max-width: 130px; margin-left: auto; margin-top: 2px; }
table.cmp-key td { padding: 13px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.cmp-key tr:last-child td { border-bottom: 0; }
table.cmp-key td.num { font-size: 15.5px; letter-spacing: -0.01em; }
table.cmp-key tr.hero td { padding: 20px 8px; }
table.cmp-key tr.hero td.num { font-size: 21px; }
table.cmp-key td:first-child { min-width: 118px; color: var(--muted); font-size: 12.5px; }
table.cmp-key tr.hero td:first-child { color: var(--ink); font-size: 13.5px; }
table.cmp-all { font-size: 11px; } table.cmp-all td { padding: 7px 10px; } table.cmp-all th { font-weight: 500; padding: 8px 10px; border-bottom: 1px solid var(--line); }
td.best, td.best .rng { color: var(--olive); font-weight: 600; }
.rec1 { background: rgba(112, 113, 92, .085); } .rec2 { background: rgba(112, 113, 92, .04); }
th .reclbl { display: block; font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); margin-bottom: 4px; }
th.rec2 .reclbl { color: var(--olive-soft); }
a.pencil { color: var(--olive-soft); margin-left: 8px; text-decoration: none; vertical-align: middle; display: inline-block; }
a.pencil:hover { color: var(--ink); }
.adj { color: var(--ink); } .badge.adjb { background: #F1E9D6; color: var(--note); font-size: 9px; vertical-align: middle; }
details.allrows { margin-top: 6px; } details.allrows > summary { padding: 12px 0; font-size: 11.5px; color: var(--ink); }

/* the bank's sheet (review mode) */
table.sheet { font-size: 10.5px; margin: 0 0 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
table.sheet td, table.sheet th { border: 0; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding: 5px 8px; }
table.sheet td.ref { color: var(--olive-soft); font-size: 9px; width: 46px; background: var(--cream-2); }
table.sheet td.in { background: #FFFDF4; }
table.sheet td.in input, table.sheet td.in select { padding: 4px 6px; border-radius: 4px; font-size: 10.5px; text-align: right; }
table.sheet td.hl { outline: 2px solid var(--olive); outline-offset: -2px; background: #EEF0E4; font-weight: 600; }
table.sheet td.ed { box-shadow: inset 3px 0 0 var(--note); }
ul.refs { padding-left: 18px; } ul.refs li { margin: 10px 0; }
details.correct { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
/* brief 031 D: the one reason box on the review page ("Corregir esta cifra"); the Comparador styles its own (simple.css) */
.rvcorrect { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.rvcorrect button.reasonBtn { background: none; color: var(--ink); border: 0; border-radius: 0; padding: 0; margin: 0; font-size: 12px;
  font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.rvcorrect form.reasonBox { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 0; }
.rvcorrect form.reasonBox[hidden] { display: none; }
.rvcorrect form.reasonBox textarea { min-height: 0; border-color: #75736F; }
.rvcorrect .reasonAct { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rvcorrect .reasonSend { margin: 0; padding: 9px 18px; background: transparent; color: var(--ink); border: 1px solid #75736F; }
.rvcorrect .reasonOk { margin: 0; font-size: 12px; color: var(--ink); }
.rvcorrect .reasonOk.reasonFail { color: #9A3B2E; }

/* page 4: recommendation cards */
.recs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.reccard { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 28px 30px; }
.reccard.first { border-color: var(--olive-soft); }
.reccard .rh { display: flex; justify-content: space-between; align-items: center; min-height: 32px; }
.reccard h2 { margin: 18px 0 4px; font-size: 19px; }
.tag { font-size: 10px; background: var(--cream-3); border-radius: 999px; padding: 4px 12px; color: var(--ink); }
.kpis { display: flex; gap: 40px; margin: 22px 0 18px; } .kpis b { display: block; font-size: 24px; font-weight: 400; letter-spacing: -0.01em; }
.kpis .label { font-size: 9px; }
.cardfoot { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 6px; display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.cardfoot details { flex: 0 0 auto; margin: 6px 0; } .cardfoot details[open] { flex-basis: 100%; }
.cardfoot details.reason[open] ul { background: var(--cream-2); border-radius: 8px; padding: 14px 18px 14px 32px; font-size: 11px; }
.rulecard { background: var(--cream); border: 1px solid var(--olive-soft); border-radius: 12px; padding: 18px 22px; margin-top: 14px; }
@media (max-width: 760px) { .recs { grid-template-columns: 1fr; } }
.cardfoot details.correct { border-top: 0; padding-top: 0; margin-top: 6px; }

/* the review mode: full screen, the bank's sheet left (about 60%), the figure and the client right */
main.full { max-width: none; padding: 22px 32px 60px; }
.rvhead { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.rvhead h1 { font-size: 21px; } .rvbtns { display: flex; gap: 10px; align-items: center; } .rvbtns .button, .rvbtns button { margin: 0; }
.rvgrid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(320px, 2fr); gap: 28px; margin-top: 18px; align-items: start; }
.rvleft { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 6px 20px 18px; overflow-x: auto; }
.rvleft table.sheet { width: 100%; }
.rvright { position: sticky; top: 12px; display: flex; flex-direction: column; gap: 16px; }
.rvfig, .rvprof, .rvact { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; }
.rvfig b.big { display: block; font-size: 27px; font-weight: 400; margin: 4px 0 8px; }
.rvfig .kpis { margin: 8px 0 10px; } .rvfig .kpis b { font-size: 21px; }
.rvprof .fields { grid-template-columns: 1fr 1fr; } .rvprof .field.ed input, .rvprof .field.ed select, table.sheet td.ed input, table.sheet td.ed select { border-color: var(--note); }
.rvprof label { margin-top: 8px; }
@media (max-width: 1000px) { .rvgrid { grid-template-columns: 1fr; } .rvright { position: static; } }
.rng { display: inline-block; line-height: 1.25; } .rngw { color: var(--olive-soft); font-size: 11px; font-weight: 400; letter-spacing: 0; } tr.hero .rngw { font-size: 12px; }
.inert { display: block; font-size: 10.5px; color: var(--muted); margin-top: 3px; text-align: left; }

/* Modo simple (brief 025; owner 2026-10-07: the sketch's layout, in our colours and type): one page, two cards */
.eyebrow { display: block; margin-bottom: 6px; }
.scard { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px 26px 22px; margin: 0 0 22px; }
.scard h2 { margin: 0 0 4px; font-size: 19px; } .scard-sub { margin: 0 0 14px; }
.slabel { max-width: 360px; margin-bottom: 4px; }
/* owner, 2026-10-07: denser, as the sketch: four columns at 1440, then three, two, one as the window narrows */
.sgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px 18px; align-items: start; }
@media (max-width: 1240px) { .sgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) { .sgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .sgrid { grid-template-columns: 1fr; } }
.slive { margin-top: 12px; padding: 8px 12px; background: var(--cream-2); border-radius: 10px; }
.slive .live { display: block; margin: 2px 0; }
.sgrid label, .slabel label { margin-top: 10px; }
.sgrid .hint { display: block; font-size: 10px; color: var(--muted); margin-top: 3px; }

.live { display: block; margin: 6px 0 0; color: var(--muted); } .live b { color: var(--ink); font-weight: 600; }
.sread { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; }
.sread .segrow .label { margin: 0; }
.sgo { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.sgo button { margin: 0; } .sgo .more { margin-left: auto; }
.stabs .stab { position: absolute; opacity: 0; pointer-events: none; }
.stlabels { display: inline-flex; gap: 2px; flex-wrap: wrap; padding: 4px; border-radius: 999px; background: var(--cream-2);
  border: 1px solid var(--line); margin: 8px 0 8px; }
.stablbl { margin: 0; padding: 7px 14px; font-size: 11.5px; color: var(--muted); cursor: pointer; border-radius: 999px; }
#st0:checked ~ .stlabels label[for=st0], #st1:checked ~ .stlabels label[for=st1], #st2:checked ~ .stlabels label[for=st2],
#st3:checked ~ .stlabels label[for=st3], #st4:checked ~ .stlabels label[for=st4] { color: var(--ink); background: var(--cream);
  box-shadow: 0 1px 2px rgba(57,58,47,.12); }
.stpanel { display: none; }
#st0:checked ~ #sp0, #st1:checked ~ #sp1, #st2:checked ~ #sp2, #st3:checked ~ #sp3, #st4:checked ~ #sp4 { display: block; }
.ssum { margin: 0 0 14px; }
.kpis4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 16px; }
.kpis4 > div { background: var(--cream-2); border-radius: 10px; padding: 10px 14px; }
.kpis4 .label { display: block; margin-bottom: 4px; } .kpis4 b { font-size: 18px; font-weight: 600; }
table.cmp-simple { font-size: 12px; background: #fff; }
table.cmp-simple th { font-weight: 500; color: var(--muted); font-size: 10px; letter-spacing: .06em; text-transform: uppercase;
  border-bottom: 1px solid var(--line); }
table.cmp-simple td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.cmp-simple td.num { font-size: 14px; } table.cmp-simple td.st { text-align: right; }
table.cmp-simple tr.rec1 td { background: rgba(112, 113, 92, .085); }
table.cmp-simple .sub, table.ssheet th .sub { display: block; font-size: 10.5px; color: var(--muted); font-weight: 400; }
.sbadge { display: inline-block; font-size: 9.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; margin-top: 4px;
  border: 1px solid var(--line); color: var(--muted); background: #fff; white-space: nowrap; }
.sbadge.rec { color: var(--olive); border-color: var(--olive); } .sbadge.alt { color: var(--olive-soft); border-color: var(--olive-soft); }
.sbadge.low { color: var(--note); border-color: #E3D3A8; background: #FBF5E6; } .sbadge.ok { color: var(--priced); }
table.ssheet th .sbadge { display: block; width: fit-content; margin: 4px 0 0 auto; }
table.ssheet tr.strong td { font-weight: 600; } table.ssheet tr.band td { background: var(--cream-2); }
table.ssheet td.src { font-size: 10.5px; color: var(--muted); text-align: left; }
.soon { margin: 10px 0 0; }
.foot { margin: 14px 0 0; }
.badge.rec1b { background: rgba(112, 113, 92, .14); color: var(--olive); } .badge.rec2b { background: rgba(112, 113, 92, .07); color: var(--olive-soft); }
details.noq { margin-top: 10px; font-size: 11.5px; } details.noq li { margin: 4px 0; }
@media (max-width: 760px) { .kpis4 { grid-template-columns: 1fr 1fr; } }
@media print {
  body.print-resumen header, body.print-resumen .journeywrap, body.print-resumen main > *:not(.stabs),
  body.print-resumen .stlabels, body.print-resumen .stpanel:not(#sp3), body.print-resumen .no-print { display: none !important; }
  body.print-resumen .stabs, body.print-resumen #sp3 { display: block !important; }
}

/* Modo simple: every tab fits the window (owner, 2026-10-07). Fixed layout, columns share the width; the label column is
   narrower and wraps; names and subtitles wrap; badges on their own line. Figures never truncate: with many columns the
   type steps down one size. Below about 1100px, the two side-by-side sheets become one card per bank. */
.stpanel .fit table { table-layout: fixed; width: 100%; }
.stpanel .fit th, .stpanel .fit td { overflow-wrap: anywhere; }
.stpanel .fit td.num, .stpanel .fit th.num .rng { overflow-wrap: normal; }
.stpanel .fit table.cmp-key th.label, .stpanel .fit table.cmp-key td:first-child { width: 13%; min-width: 0; white-space: normal; }
.stpanel .fit table.cmp-simple th:first-child { width: 19%; } .stpanel .fit table.cmp-simple th:last-child { width: 10%; }
.stpanel .fit table.cmp-src th.label { width: 12%; }
.stpanel .fit th.num { white-space: normal; }
.stpanel .fit th .badge { display: block; width: fit-content; margin: 3px 0 0 auto; }
.stpanel .fit .sub { white-space: normal; max-width: none; }
.stpanel .fit table.cmp-key td, .stpanel .fit table.cmp-key th { padding-left: 6px; padding-right: 6px; }
.stpanel .fit.many table.cmp-key td.num { font-size: 13.5px; } .stpanel .fit.many table.cmp-key tr.hero td.num { font-size: 17px; }
.stpanel .fit.many table.cmp-key th { font-size: 12.5px; } .stpanel .fit.many table.cmp-simple td.num { font-size: 12.5px; }
.stpanel .fit.many .rngw { font-size: 10px; }
.narrowonly { display: none; }
.bcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.bcard { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.bcard.rec1 { background: rgba(112, 113, 92, .085); } .bcard.rec2 { background: rgba(112, 113, 92, .04); }
.bcard h3 { margin: 2px 0 0; font-size: 15px; } .bcard .sub { margin: 0 0 8px; font-size: 11px; color: var(--muted); }
.bcard .reclbl { display: block; font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); }
.bcrow { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 12px; }
.bcrow > span:first-child { color: var(--muted); } .bcrow .num { font-size: 13.5px; }
@media (max-width: 1100px) { .wideonly { display: none; } .narrowonly { display: block; } }

/* the signed-in person, in the menu (brief 023 step 5) */
.menubox .session { padding: 6px 18px; font-size: 11.5px; color: var(--muted); border-top: 1px solid var(--line); }
.sgrid .ferr { display: block; font-size: 10.5px; color: var(--note); margin-top: 3px; }
/* Modo simple's sheet: the sketch's density */
.stpanel table.ssheet td, .stpanel table.ssheet th { padding: 8px 8px; }
.stpanel table.ssheet td.num { font-size: 13px; } .stpanel table.ssheet tr.hero td.num { font-size: 15.5px; }
.stpanel table.ssheet td:first-child { font-size: 11.5px; } .stpanel table.ssheet th { font-size: 12.5px; }
.sbadge.adj { color: var(--note); border-color: #E3D3A8; }
.stpanel .fit table.cmp-simple th:last-child { width: 13%; } .stpanel table.cmp-simple td.st .sbadge { white-space: normal; }

