/* LucroVista -- the Vista. Mobile first; every width shows charts, key metrics, in brief and statements (10/03/2026).
   The phone reads the month too (M3). */
:root {
  --bg: #f6f5f1; --panel: #ffffff; --ink: #1c1c1a; --muted: #6b6a64; --line: #e3e1da;
  --accent: #1f5f4a; --accent-soft: #e4efe9; --warn: #9a5b00; --warn-soft: #fbf1e0;
  --bad: #a3322b; --bad-soft: #f8e6e4; --pos: #1f6f4a; --neg: #a3322b; --bar-a: var(--lv-legacy-bar-a); --bar-b: var(--lv-legacy-bar-b); --bar-c: var(--lv-legacy-bar-c);
  --on-accent: #ffffff; --radius: 10px; --gap: 12px;
  font: 15px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141412; --panel: #1d1d1a; --ink: #ecebe6; --muted: #a09e95; --line: #33322d;
    --accent: #7cc4a4; --accent-soft: #1f302a; --warn: #e0a54a; --warn-soft: #34291a; --bad: #e8857c; --bad-soft: #3a2220;
    --pos: #7cc4a4; --neg: #e8857c; --bar-a: var(--lv-legacy-bar-a); --bar-b: var(--lv-legacy-bar-b); --bar-c: var(--lv-legacy-bar-c);
    --on-accent: #141412;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); }
a { color: var(--accent); }
.muted { color: var(--muted); }
.pad { padding: 16px; }
.top { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--panel); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.brand { font-weight: 700; text-decoration: none; color: var(--ink); letter-spacing: .2px; }
.brand-icon { display: none; }
.entity-name { color: var(--muted); font-size: 14px; }
.spacer { flex: 1; }
.who { font-size: 12px; color: var(--muted); max-width: 45vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice { margin: 10px 16px 0; padding: 8px 12px; border-radius: 8px; background: var(--warn-soft); color: var(--warn); font-size: 13px; }
main { padding: 12px 16px 40px; max-width: 1400px; margin: 0 auto; }
h1 { font-size: 20px; margin: 8px 0 12px; }
h2 { font-size: 16px; margin: 0 0 10px; }
h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); margin: 0 0 8px; font-weight: 600; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: var(--gap); }
.picker { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
.picker a.card { display: block; text-decoration: none; color: var(--ink); }
.picker .role { font-size: 12px; color: var(--muted); }
.banner { display: flex; align-items: center; gap: 10px; border-radius: var(--radius); padding: 12px 14px; margin-bottom: var(--gap); font-weight: 600; }
.banner.calm { background: var(--accent-soft); color: var(--accent); }
.banner.attention { background: var(--warn-soft); color: var(--warn); }
.banner a { margin-left: auto; font-weight: 600; color: inherit; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; }
.controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: var(--gap); }
.controls .lv-select { width: auto; }   /* the shared field (Andrew 16:30 UTC 10/30/2026 item 1) at its own width beside the period buttons (a KPI's page) */
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--panel); }
.seg button { border: 0; background: none; padding: 7px 11px; font: inherit; font-size: 13px; color: var(--ink); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
select { font: inherit; font-size: 13px; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); }
.note p { margin: 0 0 6px; }
.tiles { display: grid; gap: var(--gap); grid-template-columns: repeat(2, 1fr); margin-bottom: var(--gap); }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; min-width: 0; }
.tile .label { font-size: 12px; color: var(--muted); }
.tile .value { font-size: 22px; font-weight: 700; margin-top: 4px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* a value in words ("Cash-generative", "Needs input") wraps, never cut (Andrew 10/16 21:45: the runway tile read "Cash-gene..." at 390 px) */
.tile .value.words { font-size: 18px; line-height: 1.2; white-space: normal; overflow: visible; overflow-wrap: anywhere; }
.tile .cmp { font-size: 12px; color: var(--muted); margin-top: 2px; }
.tile.needs .value { font-size: 15px; color: var(--warn); font-weight: 600; }
.tile .why { font-size: 11.5px; color: var(--muted); margin-top: 6px; line-height: 1.35; }
/* KPI trends (switch kpiTrends): the twelve-month line under the value; the target slot muted */
.tile .kspk { margin-top: 4px; height: 28px; } .tile .kspk svg { display: block; width: 100%; height: 28px; } .tile .cmp.muted { opacity: .75; }
/* the KPI click-through (switch kpiTrends): a tile is a link to its page; the page's head tile, chart, month table and line buttons */
a.tile.kt { display: block; color: inherit; text-decoration: none; cursor: pointer; } a.tile.kt:hover, a.tile.kt:focus-visible { border-color: var(--accent); }
/* R-KPI-1: a measure with no page is a div.tile.kt -- no pointer, no hover; its ⓘ (g_ui.css .lv-infotip) in the tile's corner, clear of the label */
div.tile.kt { position: relative; } div.tile.kt > .label { padding-right: 24px; }
.kpi-back { margin: 10px 0 0; } .tiles.kpi-head { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
.kpi-chart svg { display: block; width: 100%; height: auto; margin-bottom: 8px; } .kpi-months tr[aria-current] td { font-weight: 700; } .kpi-links { display: flex; flex-wrap: wrap; gap: 8px; }
.up { color: var(--pos); } .down { color: var(--neg); }
.cmp .good { color: var(--pos); } .cmp .bad { color: var(--neg); }   /* a change coloured by the KPI's favourable direction (switch kpiTrends), not by its sign */
table.stmt { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 13.5px; }
table.stmt th { text-align: right; font-weight: 600; color: var(--muted); font-size: 12px; padding: 4px 6px; border-bottom: 1px solid var(--line); }
table.stmt th:first-child { text-align: left; }
table.stmt td { padding: 5px 6px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
table.stmt td:first-child { text-align: left; white-space: normal; }
/* an account's lines: the description (with its payment and document links) wraps, so the amount and the links stay in the panel */
table.stmt.acct-lines td:nth-child(2) { text-align: left; white-space: normal; overflow-wrap: anywhere; }
/* Desk > VAT's quadro 06 (gap 4, C 10/28/2026): three columns -- the field, its name with its reason or its accounts under it, the amount.
   The middle one takes the free width and wraps (a long token anywhere); the field number ("10–19") and each account line ("2432 · 2 230,45 €")
   stay on one line; every cell reads from the top */
table.stmt.desk-vatr-tbl td { vertical-align: top; }
table.stmt.desk-vatr-tbl td:nth-child(2) { text-align: left; white-space: normal; overflow-wrap: anywhere; }
table.stmt.desk-vatr-tbl td:first-child { white-space: nowrap; }
table.stmt.desk-vatr-tbl .desk-vatr-why { margin-top: 2px; }
table.stmt.desk-vatr-tbl .desk-vatr-src ul { margin: 2px 0 0; padding-left: 1.1em; }
table.stmt.desk-vatr-tbl .desk-vatr-src li { white-space: nowrap; }
/* TEXT LEFT, MONEY RIGHT (Andrew, 10/04/2026; switch drill2): every column of every table is left-aligned; a cell that holds a
   number (money, a percentage, a count, a dash for none) is right-aligned -- marked .num by the page (app.js alignNums, once, for
   every table). With the switch off, the rule above stands. */
html.lv-drill2 table.stmt th, html.lv-drill2 table.stmt td { text-align: left; }
html.lv-drill2 table.stmt th.num, html.lv-drill2 table.stmt td.num { text-align: right; }
html.lv-drill2 tr.drill-month th { padding-top: 12px; font-weight: 600; border-bottom: 1px solid var(--line); }
html.lv-drill2 tr.drill-row:focus { outline: 2px solid var(--accent); outline-offset: -2px; }
table.stmt tr.total td { font-weight: 700; }
table.stmt tr.section td { font-weight: 700; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; padding-top: 12px; }
table.stmt tr.drill { cursor: pointer; }
table.stmt tr.drill:hover td { background: var(--accent-soft); }
.checks { font-size: 12px; margin-top: 8px; }
.checks .ok { color: var(--pos); } .checks .no { color: var(--bad); }
.statements, .charts { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
.tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.chart svg { width: 100%; height: auto; display: block; }
.chart .legend { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--lv-chart-axis); margin-top: 6px; }
.chart .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 4px; vertical-align: -1px; }
.chart .cnote { font-size: 12px; color: var(--muted); margin-top: 6px; }
.attention-list .item { display: flex; gap: 10px; align-items: flex-start; }
.sev { font-size: 11px; font-weight: 700; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; flex: none; }
.sev.high { background: var(--bad-soft); color: var(--bad); } .sev.medium { background: var(--warn-soft); color: var(--warn); } .sev.low { background: var(--accent-soft); color: var(--accent); }
.item .t { font-weight: 600; } .item .d { font-size: 13px; color: var(--muted); }
.item .amt { margin-left: auto; font-variant-numeric: tabular-nums; white-space: nowrap; }
.links { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; margin: 4px 0 12px; }
.drawer { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 45; display: flex; justify-content: flex-end; }
.drawer[hidden] { display: none; }
.drawer-panel { background: var(--panel); width: min(640px, 100%); height: 100%; overflow: auto; padding: 16px; }
.drawer-head { display: flex; align-items: center; gap: 10px; }
.drawer-head h2 { flex: 1; margin: 0; }
.icon-btn { border: 1px solid var(--line); background: none; color: var(--ink); border-radius: 8px; width: 34px; height: 34px; font-size: 20px; cursor: pointer; }
.drawer-body { margin-top: 12px; }
.signin { max-width: 420px; margin: 40px auto; text-align: center; }
.only-wide { display: none; }
.statements .stmt-extra { display: none; }
/* a table of figures over time with the months across (item 5): the row's name stays in view as the months scroll */
table.rv-across th:first-child, table.rv-across td:first-child { position: sticky; left: 0; background: var(--card, var(--bg)); z-index: 1; }
@media (min-width: 700px) {
  .tiles { grid-template-columns: repeat(5, 1fr); }
  .picker { grid-template-columns: repeat(2, 1fr); }
  .only-wide { display: block; }
}
@media (min-width: 1100px) {
  .statements { grid-template-columns: 1.1fr 1fr 1fr; }
  .statements .stmt-extra { display: block; }
  .charts { grid-template-columns: repeat(2, 1fr); }
  .tabs.stmt-tabs { display: none; }
}
/* 10/02/2026: nothing hidden at phone width -- every chart stacks; the statements show one at a time under their tabs. */
@media (max-width: 699px) {
  table.stmt { font-size: 13px; }
  table.stmt td, table.stmt th { padding: 6px 4px; }
  .chart svg { max-width: 100%; height: auto; }
}

/* M4: answers, inbox, machine room */
.links strong { font-weight: 700; }
.answer-card .item { display: flex; gap: 10px; align-items: flex-start; }
.answers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; align-items: center; }
.answers select { max-width: 100%; }
.btn { font: inherit; font-size: 14px; border: 1px solid var(--accent); background: var(--accent); color: var(--on-accent); border-radius: 8px; padding: 8px 12px; cursor: pointer; }
.btn.ghost { background: var(--panel); color: var(--accent); }
.btn.danger { background: var(--bad); border-color: var(--bad); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.upload { display: inline-block; font-size: 16px; padding: 12px 16px; }
.linkbtn { border: 0; background: none; color: var(--lv-link); text-decoration: underline; cursor: pointer; font: inherit; }
[data-g-collection-restore]:disabled { opacity: .5; cursor: default; }   /* A 21:01 (3), R 21:06: a Restore learned with nothing to restore looks disabled, its reason on the title */
/* In brief's amounts and names (NS11): links inside a sentence, no gap before its comma */
#brief-card .linkbtn { padding: 0; margin: 0; }
label.inline { font-size: 13px; color: var(--muted); display: inline-flex; gap: 4px; align-items: center; }
label.inline .lv-input { width: auto; }   /* the shared field beside its words (Andrew 16:30 UTC 10/30/2026 item 1; Engagement ended on) */
.result { margin-top: 8px; }
.queued { color: var(--accent); font-weight: 600; }
.status { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); white-space: nowrap; }
.status.s-needs-one-answer, .status.s-unreadable { background: var(--warn-soft); color: var(--warn); }
.status.s-duplicate, .status.s-not-ours, .status.s-not-expected { background: var(--line); color: var(--muted); }
.pre { white-space: pre-wrap; font: 12px/1.45 ui-monospace, Menlo, Consolas, monospace; background: var(--bg); border-radius: 8px; padding: 10px; max-height: 420px; overflow: auto; }
.held { margin: 0; padding-left: 18px; font-size: 13px; }

/* Entity list: staging copies */
.staging-toggle { margin-bottom: var(--gap); }
.picker a.card.staging { border-style: dashed; }

/* M5: the onboarding interview */
.onb .fld { margin-bottom: 12px; }
.onb label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.onb label.inline { display: inline-flex; margin-right: 12px; }
.onb input, .onb textarea, .onb select { width: 100%; font: inherit; font-size: 16px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink); }
.onb input[type="checkbox"] { width: auto; }
.onb .list-row { border-left: 3px solid var(--accent-soft); padding-left: 10px; margin-bottom: 10px; }

/* Skeletons (09/30/2026): shown the moment a link is tapped, so no link looks dead. */
.skeleton { padding-top: 4px; }
.sk-line, .sk-card { background: linear-gradient(90deg, var(--line) 25%, var(--panel) 50%, var(--line) 75%); background-size: 200% 100%; animation: sk 1.2s ease-in-out infinite; border-radius: var(--radius); }
.sk-line { height: 18px; margin-bottom: 12px; }
.sk-line.w40 { width: 40%; }
.sk-card { height: 96px; margin-bottom: var(--gap); }
.sk-note { margin-top: 4px; }
@keyframes sk { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .sk-line, .sk-card { animation: none; } }
.signout { margin-left: 8px; font-size: 13px; }
.refused { color: var(--warn); font-weight: 600; }

/* The close checklist (09/30/2026). */
.close-item { display: flex; gap: 12px; align-items: flex-start; }
.ck { flex: 0 0 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.ck.ok { background: var(--accent-soft); color: var(--accent); }
.ck.no { background: var(--warn-soft); color: var(--warn); }
.ck.info { background: var(--line); color: var(--muted); }
.close-item .d { word-break: break-word; }

/* The suggested answer (09/30/2026): one tap to accept. */
.suggest { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 8px; }
.suggest .btn { flex: 0 0 auto; }

.steps { margin: 0; padding-left: 20px; } .steps li { margin: 6px 0; }

/* The morning health line (Admins). */
.health { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 6px 16px; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); }
.health[hidden], .notice[hidden] { display: none; }   /* hidden means hidden: the empty strip drew a band under the header */
.health .warn { color: var(--warn); font-weight: 600; }

/* 10/02/2026: the rounding note under the statements (wide screens, where the statements are). */
.round-note { font-size: 12px; margin: 6px 0 0; }

/* 10/02/2026: the Breeze page */
.breeze-banner h1 { margin: 0 0 6px; font-size: 20px; }
.breeze-banner.clear { border-left: 4px solid var(--pos); }
.breeze-banner.almost { border-left: 4px solid var(--bar-b); }
.step .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; align-items: center; }
/* MONEY IN AND OUT (Andrew 10/06/2026): inline on a desk; on a phone stacked, full width, 12 px apart -- never wrapping over each other */
.step.done { opacity: .8; } .step.done .t { font-weight: 500; }   /* a step shown but not counted (both Uber files in, 10/06/2026) */
/* the online orders' likely duplicates (10/06/2026): the answers wrap; the comparison is three columns on a desk, stacked on a phone */
.oo-dup .oo-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0; } .oo-dup .oo-other { display: inline-flex; gap: 4px; align-items: center; }
.oo-compare { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 8px; } .oo-compare .oo-col { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 600px) { .oo-compare { grid-template-columns: 1fr; } .oo-dup .oo-acts .btn { width: 100%; } }
.money-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; align-items: center; }
@media (max-width: 600px) { .money-acts { flex-direction: column; align-items: stretch; } .money-acts .btn { display: block; width: 100%; box-sizing: border-box; text-align: center; } }
.lock-card { border-left: 4px solid var(--bar-a); }
.handled { margin: 0; padding-left: 18px; }
.handled li { margin: 4px 0; }
.btn.big { font-size: 17px; padding: 12px 28px; }
.cf-list td:nth-child(2) { text-align: left; }

/* 10/02/2026: Receipts -- drop zone and the Scan email list */
.drop.over { outline: 2px dashed var(--bar-a); }
.cand td:first-child { width: 28px; }
.cand td:nth-child(3) { text-align: left; }

/* 10/03/2026: Receipts owns receipts -- capture first, phone first; + Receipt on every screen. */
.capture .cap-btns { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.capture .btn.big { text-align: center; padding: 14px 8px; font-size: 15px; }
.capture .toggle { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; }
.capture .note-in { width: 100%; margin-top: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: var(--panel); color: var(--ink); box-sizing: border-box; }
.capture.over { outline: 2px dashed var(--accent); }
.up-list { list-style: none; padding: 0; margin: 8px 0 0; font-size: 13px; }
.up-list li { padding: 4px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.lookback { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.lookback input { padding: 6px; border: 1px solid var(--line); border-radius: 6px; font: inherit; }
.lookback .lv-input, .lookback .lv-select { width: auto; padding: 0 10px; border: 1px solid var(--lv-border-strong); border-radius: var(--lv-r-1); font: var(--lv-fs-14)/1.4 var(--lv-font); }   /* ANDREW 16:30 item 1: the shared field in a one-line filter keeps its width and its look (C 10/30/2026, Channel reconciliation) */
.warn { color: var(--warn); }
.small { font-size: 12px; }
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 40; background: var(--accent); color: var(--on-accent); border-radius: 999px; padding: 14px 18px; font-weight: 600; box-shadow: 0 4px 14px rgba(0,0,0,.25); cursor: pointer; }
@media (min-width: 700px) { .fab { padding: 10px 16px; font-size: 14px; } }
/* the Check email list fits a phone: its cells wrap (10/03/2026, the table covered Add selected at 390 px) */
table.cand td { white-space: normal; overflow-wrap: anywhere; vertical-align: top; }
table.cand td:first-child { width: 28px; }
/* the owner's WhatsApp box and Seats (10/03/2026) */
.wa-form { display: grid; gap: 8px; margin-top: 8px; grid-template-columns: minmax(0, 1fr); }   /* one column the card's width: a long choice wraps inside it, never widens it past a phone (A 10/17/2026: Gift cards at 390 px) */
.wa-form select, .wa-form input:not([type=checkbox]):not([type=radio]) { max-width: 100%; min-width: 0; }
.wa-form label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.wa-form input { padding: 8px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: var(--panel); color: var(--ink); }
code { font-size: 12px; overflow-wrap: anywhere; }

/* period buttons on the Email card (09/29/2026) */
.periods { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
/* one-tap company switch on a Check email candidate (Section 0.b) */
.linkish { background: none; border: 0; padding: 2px 0; color: var(--lv-link); text-decoration: underline; font: inherit; cursor: pointer; min-height: 32px; }

/* THE RECEIPTS LIST (09/29/2026): Date · Supplier · Amount · Status; text left, amounts right; a card per row on a phone */
.rlist { display: flex; flex-direction: column; gap: 2px; }
.rrow { display: grid; grid-template-columns: 96px 1fr 110px 130px auto; gap: 8px; align-items: center; padding: 8px 4px; border-bottom: 1px solid var(--line); }
.rrow .rd { color: var(--muted); font-variant-numeric: tabular-nums; }
.rrow .rs { text-align: left; min-width: 0; overflow-wrap: anywhere; }
.rrow .rs small { display: block; }
.rrow .ra { text-align: right; font-variant-numeric: tabular-nums; }
.rrow .rst { text-align: left; min-width: 0; }
.rrow[hidden] { display: none; }   /* QC Q-072: the Missing rows past the first 50 wait behind "Show the next 50" */
/* QC Q-071 (10/06/2026): a long status ("✓ Captured: waiting for the bank") wraps inside its column, never past the row */
.rrow .rst .status { display: inline-block; white-space: normal; border-radius: 10px; line-height: 1.35; }
.rrow .ract { text-align: right; white-space: nowrap; }
@media (max-width: 600px) {
  .rrow { grid-template-columns: 1fr auto; grid-template-areas: "s a" "d st" "x x"; row-gap: 2px; padding: 10px 2px; }
  .rrow .rs { grid-area: s; font-weight: 600; } .rrow .ra { grid-area: a; } .rrow .rd { grid-area: d; font-size: 13px; } .rrow .rst { grid-area: st; text-align: right; } .rrow .ract { grid-area: x; text-align: left; white-space: normal; }
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.chips .lv-input { width: auto; }   /* the shared field beside the chips at its own width (the sales explorer's From/to; Andrew 16:30 UTC 10/30/2026 item 1) */
.chip { border: 1px solid var(--line); background: none; border-radius: 16px; padding: 6px 12px; font: inherit; cursor: pointer; min-height: 36px; }
.chip.on { border-color: var(--accent); color: var(--accent); font-weight: 600; }
/* THE CONFIRM CARDS: a swipeable queue, one card per document */
.cardq { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.rcard { flex: 0 0 min(92%, 520px); scroll-snap-align: start; border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: var(--card, transparent); }
.rcard.done { opacity: 0.6; }
.rc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#rc-capture-progress { list-style: none; }
#rc-capture-progress li { padding: 6px 0; overflow-wrap: anywhere; }
#rc-capture-progress li + li { border-top: 1px solid var(--line); }
.rc-grid label { display: flex; flex-direction: column; font-size: 13px; gap: 2px; }
.rc-grid input, .rc-grid select { font: inherit; padding: 6px; min-height: 36px; }
@media (max-width: 600px) { .rc-grid { grid-template-columns: 1fr; } }

/* aged AP and AR on the Vista (47_apar.js) */
.aged { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .aged { grid-template-columns: 1fr; } }

/* THE CASH PAGE (48_cash.js) */
.payhead { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 4px 0 10px; font-size: 14px; }
.payrow .rd input { margin-right: 4px; }
.fc-svg { width: 100%; height: auto; max-height: 220px; }
.fc-bar { fill: var(--lv-chart-soft); stroke: var(--lv-chart-indigo); stroke-width: 0.5; }
.fc-low { fill: var(--lv-chart-soft); stroke: var(--lv-chart-amber); stroke-width: 1.5; }
.fc-neg { fill: var(--lv-chart-alert-soft); stroke: var(--lv-chart-alert); }
.fc-line { stroke: var(--lv-chart-indigo); stroke-width: 2; }
.fc-floor { stroke: var(--lv-chart-amber-edge); stroke-dasharray: 4 4; }
.fc-lowtxt { font-size: 11px; fill: var(--lv-chart-amber-edge); }
.fc-table td, .fc-table th { white-space: nowrap; }
/* SD-8: the 13 weeks on a phone -- a week's groups behind a tap on its date (a 44 px target), shown in a row under it */
.fc-down .fc-wk { min-height: 44px; min-width: 44px; text-align: left; }
.fc-down .fc-wk::after { content: ' \25B8'; }
.fc-down .fc-wk[aria-expanded="true"]::after { content: ' \25BE'; }
.fc-down tr.fc-det[hidden] { display: none; }
.fc-det-t { width: 100%; }
.fc-det-t td { white-space: normal; }
.scroll-x { overflow-x: auto; }

/* THE GIFT CARD (49_giftcards.js): printable, shareable, café branding */
/* DUSK EXCEPTION (D 11/05/2026): the gift card is printed and scanned -- white paper, dark ink in either scheme, so its three hexes stay */
.giftcard { max-width: 320px; margin: 12px auto; padding: 16px; border: 2px solid var(--accent); border-radius: 14px; text-align: center; background: #fff; color: #111; }
.gc-brand { font-weight: 700; font-size: 18px; }
.gc-title { font-size: 13px; color: #555; margin-bottom: 8px; }
.gc-qr svg { width: 180px; height: 180px; }
.gc-no { font-family: ui-monospace, monospace; font-size: 18px; letter-spacing: 1px; margin-top: 6px; }
.gc-amt { font-size: 24px; font-weight: 700; margin-top: 4px; }
.gc-exp { font-size: 12px; color: #555; }
.gc-bal { font-size: 32px; font-weight: 700; }
#sc-video { width: 100%; max-width: 360px; margin-top: 8px; }
@media print { body.print-card * { visibility: hidden; } body.print-card #giftcard, body.print-card #giftcard * { visibility: visible; } body.print-card #giftcard { position: absolute; left: 0; top: 0; } }

/* Machine Room › Leads (09/30/2026): the count of new ones, and new rows marked */
.badge { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 10px; font-size: 12px; font-weight: 600; background: var(--accent); color: var(--accent-soft); vertical-align: middle; }
#leads-card tr.new td:first-child { border-left: 3px solid var(--accent); }

/* THE CASH FORECAST (68_forecast.js, 10/01/2026) */
.seg { flex-wrap: wrap; }
.seg .segb { border: 0; background: none; padding: 7px 11px; font: inherit; font-size: 13px; color: var(--ink); cursor: pointer; }
.seg .segb.on { background: var(--accent); color: var(--on-accent); }
.fc-neg { fill: var(--lv-chart-alert-soft); stroke: var(--lv-chart-alert); stroke-width: 1; }
.tier { font-size: 11px; padding: 1px 6px; border-radius: 8px; border: 1px solid var(--line); white-space: nowrap; }
.tier-known { border-color: var(--lv-c-cat-4); } .tier-contracted { border-color: var(--lv-c-cat-1); } .tier-learned { border-color: var(--lv-c-cat-3); } .tier-owner { border-color: var(--lv-c-cat-2); }   /* Dusk categories (D 11/05/2026) */
.ok { color: var(--accent); }
[data-testid="stripe-box"] .ok { color: var(--pos); }   /* the Stripe key "set" reads as green, not the brand accent (Andrew via A 10/17/2026) */

/* THE BOUND PANEL AND THE TOAST (10/02/2026) */
.rl-line { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; background: var(--bg, transparent); }
.rl-line .t { font-weight: 600; }
.rl-drop.over { outline: 2px dashed currentColor; }
.rl-form .rc-grid label, .drawer-body label { display: block; }
.rl-fx { grid-column: 1 / -1; }
.rl-fxt td.r { text-align: right; font-variant-numeric: tabular-nums; }
.rc-prop { border-bottom: 1px solid var(--line); margin-bottom: 8px; padding-bottom: 6px; }
.more { display: inline-block; margin-left: 6px; }
.more > summary { cursor: pointer; list-style: none; display: inline; }
.more > summary::-webkit-details-marker { display: none; }
.more-body { margin-top: 6px; display: flex; gap: 6px; flex-wrap: wrap; }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: var(--lv-ink); color: var(--lv-ink-inv); padding: 10px 16px; border-radius: 10px; z-index: 50; max-width: calc(100% - 32px); box-shadow: 0 4px 16px rgba(0,0,0,.25); }
.toast[hidden] { display: none; }
.rv-ask[hidden] { display: none; }   /* SD-9: the Ask about revenue box waits hidden while its tab loads */
.toast .linkbtn { color: var(--lv-ink-inv); margin-left: 8px; }
@media (max-width: 640px) { .drawer-panel { width: 100%; } }
/* THE DRILL PANEL (Andrew, 10/04/2026): two thirds of the screen on a desk, the whole width on a phone */
.drawer.drawer-wide .drawer-panel { width: max(640px, 66.667vw); max-width: 100%; }
@media (max-width: 640px) { .drawer.drawer-wide .drawer-panel { width: 100%; } }
table.stmt.drill-lines td:nth-child(2) { white-space: normal; }
.drill-more { margin-top: 2px; } .drill-more summary { cursor: pointer; color: var(--muted); display: inline; list-style: none; } .drill-more summary::-webkit-details-marker { display: none; }
.drill-more summary::before { content: '▸ '; } .drill-more[open] summary::before { content: '▾ '; }

/* THE EMAIL SCORECARD (10/02/2026) */
.scorecard .sc-line { border-top: 1px solid var(--line); padding: 8px 0; }
.scorecard .sc-line.sc-done { opacity: .5; }
.scorecard .sc-c { display: block; margin: 4px 0; }
.score { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; padding: 1px 6px; border-radius: 6px; }
.score.s-green { background: var(--lv-tint-better); color: var(--lv-better-text); }
.score.s-yellow { background: var(--lv-tint-due); color: var(--lv-due-text); }
.score.s-red { background: var(--lv-tint-stop); color: var(--lv-c-stop); }

.bz-ready { font-weight: 600; margin: 0 0 8px; }
.bz-ready.open { color: var(--lv-due-text); }
.bz-ready.ok { color: var(--lv-better-text); }

/* ATTENTION ROLL-UPS (10/02/2026) */
.rollups { display: grid; gap: 8px; margin: 8px 0 16px; }
.rollup { display: block; text-decoration: none; color: inherit; }
.clears { color: var(--lv-better-text); margin-top: 4px; }

/* THE WELCOME POP-UP (10/02/2026) */
.modal-bg { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 60; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal { max-width: 520px; width: 100%; }
.help-q { font-size: 14px; }

/* THE CASH CHART AS THE TABLE'S FIRST ROW (10/02/2026) */
.fc-chartrow td { position: relative; padding: 0; border-bottom: 1px solid var(--lv-chart-grid); }
.fc-yaxis { min-width: 90px; }
.fc-tick, .fc-minlbl { position: absolute; right: 6px; font-size: 11px; color: var(--lv-chart-axis); white-space: nowrap; }
.fc-tick.zero { color: var(--lv-chart-ink); font-weight: 600; }
.fc-minlbl { left: 4px; right: auto; color: var(--lv-chart-amber-edge); font-weight: 600; }
.fc-bcell .fc-zero { position: absolute; left: 0; right: 0; border-top: 1px solid var(--lv-chart-axis); }
.fc-bcell .fc-minline { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--lv-chart-amber-edge); }
.fc-b { position: absolute; left: 22%; width: 56%; border-radius: 2px; }
.fc-b.fc-bar { background: var(--lv-chart-indigo); } .fc-b.fc-under { background: var(--lv-chart-alert); } .fc-b.fc-low { background: var(--lv-chart-amber); } .fc-b.fc-neg { background: var(--lv-chart-alert); }

/* THE NOTIFY PREVIEW (10/02/2026): the normal font, wrapped, never wider than the panel */
.notify-preview { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 100%; font: inherit; line-height: 1.5; border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: var(--panel); }
.u-name { width: 12em; } 
/* REVENUE (10/02/2026): tabs as links, clickable tiles and cells, pre-books rows muted, status chips */
.rv-tabs { margin: 0 0 12px; }
.rv-tabs .segb { text-decoration: none; display: inline-block; }
.rv-tabs .segb.on, .seg .segb.on { background: var(--accent); color: var(--on-accent); }
/* R-SC-2 (R 17:23 UTC 10/31/2026): a page's own tab row is the section level -- R-SC-1's chips (a soft grey fill, no edge), the current one outlined
   navy and never filled, so the sub-page row above stays the one filled mark on the screen. Toggles keep the segmented look above.
   R 21:53 UTC 10/31/2026: Revenues' tab row (Overview · Contracts · Invoices · Collections), the .rv-tabs links under the Vista's sub-page row,
   takes the same section chips; its links, aria-current and test ids are unchanged. Spend's row (.sp-tabs, M's) keeps its look until M moves it. */
.seg[role="tablist"], .stmt-tabs .seg, .seg.rv-tabs:not(.sp-tabs) { border: 0; border-radius: 0; overflow: visible; background: none; gap: 6px; }
.seg[role="tablist"] .segb, .stmt-tabs .seg button, .rv-tabs:not(.sp-tabs) .segb { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: var(--lv-r-pill); background: var(--lv-tint-grey); border: 1px solid transparent; color: var(--lv-ink-2); font: 500 var(--lv-fs-13)/1 var(--lv-font); }
.seg[role="tablist"] .segb:hover, .stmt-tabs .seg button:hover, .rv-tabs:not(.sp-tabs) .segb:hover { background: var(--lv-tint-blue); color: var(--lv-ink); }
.seg[role="tablist"] .segb.on, .stmt-tabs .seg button[aria-pressed="true"], .rv-tabs:not(.sp-tabs) .segb.on { background: var(--lv-surface); border-color: var(--lv-navy); color: var(--lv-navy); font-weight: 600; }
.seg[role="tablist"] .segb:focus-visible, .stmt-tabs .seg button:focus-visible, .rv-tabs:not(.sp-tabs) .segb:focus-visible { outline: 2px solid var(--lv-navy); outline-offset: 2px; }
/* R-RC-1 (R 05:41 UTC 11/01/2026, LOW): on a phone Revenues' chips stay on one line and the row scrolls inside itself, as Plan's do (g_workspace.css
   .lv-ws__chips) -- a block row never wider than the screen, 2 px at each end for the first and last chip's focus ring (R-SC-3), 4 px above and below */
@media (max-width: 600px) { .seg.rv-tabs:not(.sp-tabs) { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; padding: 4px 2px; } }
.rv-tile { text-align: left; font: inherit; color: inherit; cursor: pointer; }
.rv-tile:hover, .rv-tile:focus-visible { border-color: var(--accent); }
.rv-cell { font-variant-numeric: tabular-nums; }
tr.rv-prebooks td { color: var(--muted); }
tr.rv-c { cursor: pointer; }
.rv-filters label { display: inline-block; margin: 0 8px 6px 0; }
.rv-filters select { max-width: 100%; }
.status.rv-st-ended, .status.rv-st-lapsed { background: var(--line); color: var(--muted); }
.status.rv-st-auto-renew, .status.rv-st-month-to-month { background: var(--warn-soft); color: var(--warn); }
@media (min-width: 1100px) { .rv-tiles { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 700px) and (max-width: 1099px) { .rv-tiles { grid-template-columns: repeat(3, 1fr); } }
button.rv-up { background: none; border: 0; border-bottom: 1px solid var(--line); font: inherit; color: inherit; text-align: left; width: 100%; cursor: pointer; grid-template-columns: 96px 1fr auto; }
@media (max-width: 600px) { button.rv-up { grid-template-columns: 1fr; gap: 2px; } button.rv-up .ra { text-align: left; } }
table.stmt.rv-wrap td { white-space: normal; overflow-wrap: anywhere; }
.rv-ask { margin-bottom: 12px; }
.rv-ask-row { display: flex; gap: 8px; margin: 4px 0 6px; }
.rv-ask-row input { flex: 1; min-width: 0; font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; }
.rv-ask-row .lv-input { padding: 0 10px; border: 1px solid var(--lv-border-strong); border-radius: var(--lv-r-1); font: var(--lv-fs-14)/1.4 var(--lv-font); }   /* the shared field's look over the row's own (Andrew 16:30 UTC 10/30/2026 item 1) */
.rv-ask .chips { margin: 4px 0 0; }
.rv-ask-read { margin-top: 10px; }   /* ANDREW 10:15 (10/30) item 1, R's 7.5: What we read, last and smaller */
.rv-ask-guidance { background: var(--lv-tint-teal); color: var(--lv-ink); border-radius: var(--lv-r-1); padding: 8px 12px; margin: 6px 0 10px; font-size: var(--lv-fs-13); line-height: 1.45; max-width: 72ch; }   /* 7.8 (C 11/04/2026): the spec's question bars -- "one guidance line when the data supports it (teal-tinted)" */
.rv-ask-read .rv-ask-read-h { margin: 0 0 2px; }
.rv-ask-read .chip { min-height: 28px; padding: 3px 10px; }
.rv-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 12px; }
.rv-acts .btn { display: inline-flex; align-items: center; }
.sx-find { width: 100%; max-width: 320px; font: inherit; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; margin: 4px 0 8px; }
.kpi-group { margin: 14px 0 6px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.kpi-unverified .value { font-size: 16px; }
.kpi-x { margin-right: 8px; white-space: nowrap; }
.kpi-controls .seg button { padding: 7px 10px; }
.lang-toggle { white-space: nowrap; }
.lang-toggle .linkish[aria-pressed="true"] { font-weight: 700; text-decoration: none; }

/* VIEW AS A ROLE (10/02/2026) */
.banner.viewas { background: var(--lv-navy); color: var(--lv-ink-inv); }
.banner.viewas .btn { color: var(--lv-ink-inv); border-color: var(--lv-ink-inv); background: transparent; }
#va-sel { float: right; margin: 4px 0; }

/* the floating + Receipt never covers the last row (10/03/2026, live QC) */
@media (max-width: 699px) { body { padding-bottom: 88px; } }
/* PAYABLES (78_payables.js): on a phone the issue date gives way, the due date and the amount stay; long names wrap */
.py-t td:first-child { white-space: normal; }
@media (max-width: 699px) { .py-t .py-dated { display: none; } .py-t td, .py-t th { padding: 4px 3px; } .py-t td .small { display: block; white-space: normal; } }
/* REVENUE V2 (front/revdash.js, front/charts.js; docs/design/revenue-metrics.md §7): charts first; the house palette --
   gains and losses are the Dusk chart hues (--lv-chart-lagoon, --lv-chart-loss; G70 11/03/2026), everything else neutral; nothing animates. */
.rd-controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 8px; }
.rd-controls select { max-width: 100%; }
.rd-controls .lv-select { width: auto; }   /* the shared field at its own width in the filter row (Andrew 16:30 UTC 10/30/2026 item 1) */
.rd-window { flex-basis: 100%; }
.rd-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 8px; }
.rd-chip { background: var(--accent-soft); color: var(--ink); border-radius: 14px; padding: 2px 4px 2px 10px; font-size: 13px; }
.rd-x { border: 0; background: transparent; font-size: 16px; line-height: 1; cursor: pointer; color: var(--muted); padding: 0 6px; }
.rd-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-bottom: var(--gap); }
.rd-tiles-econ { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 8px 0 0; }
.rd-tile { text-align: left; min-width: 0; }
.rd-tile .label { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.rd-ready { color: var(--muted); font-size: 13px; margin: 6px 0; }
.rd-unv { background: var(--warn-soft); color: var(--warn); border-radius: 6px; padding: 0 6px; font-size: 11px; font-weight: 600; }
.rd-v.unv { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--warn); }
.rd-method { border: 1px solid var(--line); background: var(--panel); color: var(--muted); border-radius: 10px; font-size: 11px; padding: 0 7px; cursor: pointer; }
.rd-spark { height: 36px; margin-top: 4px; }
.rd-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.rd-card { min-width: 0; }
.rd-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rd-head h3 { flex: 1; margin: 0; }
.rd-q { margin: 2px 0 6px; }
.rd-chart { width: 100%; min-height: 40px; overflow: hidden; }
.rd-flag { color: var(--neg); font-weight: 600; }
.rd-warn { background: var(--warn-soft); color: var(--warn); }
.rd-legend span { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin: 0 3px 0 8px; vertical-align: -1px; }
.lg-rec { background: var(--lv-chart-indigo); } .lg-inv { background: var(--lv-chart-magenta); } .lg-col { background: var(--lv-chart-amber); }
.lg-notice { background: var(--lv-chart-amber); } .lg-renewal { background: var(--lv-chart-lagoon); } .lg-expiry { background: var(--lv-chart-loss); }
.rd-hatch-key { display: inline-block; width: 12px; height: 10px; background: repeating-linear-gradient(45deg, var(--line) 0 2px, var(--muted) 2px 3px); vertical-align: -1px; }
@media (max-width: 899px) { .rd-grid { grid-template-columns: minmax(0, 1fr); } .rd-tiles, .rd-tiles-econ { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* the charts */
.lvc { display: block; font-size: 11px; }
.lvc .ax { fill: var(--lv-chart-axis); font-size: 10px; } .lvc .lbl { fill: var(--lv-chart-ink); font-size: 11px; } .lvc .val { fill: var(--lv-chart-axis); font-size: 10px; }
.lvc .grid { stroke: var(--lv-chart-grid); stroke-width: 1; } .lvc .zero { stroke: var(--lv-chart-axis); stroke-width: 1; } .lvc .conn { stroke: var(--lv-chart-axis); stroke-dasharray: 2 2; }
.lvc .bar, .lvc .bar-total { fill: var(--lv-chart-indigo); } .lvc .bar-gain, .lvc .gain { fill: var(--lv-chart-lagoon); } .lvc .bar-loss, .lvc .loss { fill: var(--lv-chart-loss); } .lvc .neutral { fill: var(--lv-chart-neutral); }
.lvc .g2 { fill-opacity: .72; } .lvc .g3 { fill-opacity: .48; } .lvc .l2 { fill-opacity: .72; }
.lvc .ser-rec { fill: var(--lv-chart-indigo); } .lvc .ser-inv { fill: var(--lv-chart-magenta); } .lvc .ser-col { fill: var(--lv-chart-amber); }
.lvc .netline { fill: none; stroke: var(--lv-chart-indigo); stroke-width: 1.5; } .lvc .netpt { fill: var(--lv-chart-indigo); }
.lvc .spk { fill: none; stroke: var(--lv-chart-indigo); stroke-width: 1.5; } .lvc .spk-pt { fill: var(--lv-chart-indigo); }
.lvc .kpi-tgt { fill: none; stroke: var(--lv-chart-axis); stroke-width: 1.5; stroke-dasharray: 5 4; }   /* the KPI page's target line (item 6) */
/* cohort curves: neutral lines, told apart by dash pattern (the house palette keeps colour for gains and losses) */
.lvc .cv { fill: none; stroke: var(--lv-chart-indigo); stroke-width: 1.6; } .lvc .cv1 { stroke-dasharray: 6 3; } .lvc .cv2 { stroke-dasharray: 2 3; } .lvc .cv3 { stroke-dasharray: 9 3 2 3; } .lvc .cv4 { stroke: var(--lv-chart-axis); } .lvc .cv5 { stroke: var(--lv-chart-axis); stroke-dasharray: 5 4; }
.lvc .cv-pt { fill: var(--lv-chart-indigo); } .lvc .ref100 { stroke: var(--lv-chart-axis); stroke-dasharray: 3 3; stroke-width: 1; }
.lvc .overlay { fill: none; stroke: var(--lv-chart-amber); stroke-width: 1.5; } .lvc .overlay-pt { fill: var(--lv-chart-amber); }
.lvc .hit { fill: transparent; } .lvc .col:hover .hit, .lvc g.mk:hover .hit, .lvc g.mk:focus .hit { fill: var(--lv-chart-soft); }
.lvc .mk { cursor: pointer; outline: none; } .lvc .mk:focus { stroke: var(--lv-chart-ink); stroke-width: 1.5; }
.lvc .hatch-bg { fill: transparent; } .lvc .hatch-ln { stroke: var(--lv-chart-axis); stroke-width: 2; }
.lvc .ev-notice { fill: var(--lv-chart-amber); } .lvc .ev-renewal { fill: var(--lv-chart-lagoon); } .lvc .ev-expiry { fill: var(--lv-chart-loss); }
.lvc .hm0 { fill: var(--lv-chart-grid); } .lvc .hm1 { fill: var(--lv-chart-loss); fill-opacity: .85; } .lvc .hm2 { fill: var(--lv-chart-loss); fill-opacity: .55; } .lvc .hm3 { fill: var(--lv-chart-loss); fill-opacity: .3; } .lvc .hm4 { fill: var(--lv-chart-magenta); fill-opacity: .5; } .lvc .hm5 { fill: var(--lv-chart-lagoon); fill-opacity: .55; } .lvc .hm-up { fill-opacity: .85; }
.lv-tip { position: absolute; z-index: 60; background: var(--ink); color: var(--panel); font-size: 12px; padding: 6px 8px; border-radius: 6px; pointer-events: none; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.lv-tip[hidden] { display: none; }
.rd-root *, .lvc * { transition: none !important; animation: none !important; }
.rd-grid { align-items: start; }
.hm-k5 { background: var(--lv-chart-lagoon); opacity: .55; } .hm-k4 { background: var(--lv-chart-magenta); opacity: .5; } .hm-k3 { background: var(--lv-chart-loss); opacity: .3; } .hm-k2 { background: var(--lv-chart-loss); opacity: .55; } .hm-k1 { background: var(--lv-chart-loss); opacity: .85; }

/* ---- SESSION C (10/03/2026): Users / People & access, Machine Room tabs, the Desk (front/access.js, machine.js, desk2.js) ----
   Tables: fixed column widths, no wrapping in a cell (the full text on hover), numbers right-aligned. A phone stacks a
   row into a card, so the page never scrolls sideways. Every control shows a visible keyboard focus. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ax-table :focus-visible, .ax-add :focus-visible, .mr-tabs :focus-visible, .mr-co :focus-visible, .mr-red :focus-visible, .mr-green :focus-visible, .mr-log tr:focus-visible, .dk-lang :focus-visible, #dk-req :focus-visible, .dk-explain :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ax-result, .mr-result, .dk-result { min-height: 1.4em; margin: 6px 0; font-weight: 600; color: var(--accent); }
.ax-result.bad, .bad { color: var(--bad); }
.ax-result:empty, .mr-result:empty, .dk-result:empty { display: none; }
.ax-count { margin: 0 0 4px; } .ax-op { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 4px 0; }
.ax-op input, .ax-add input, .ax-add select, .ax-edit input, .ax-edit select, .ax-phone, .dk-askf input { padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 14px; background: var(--panel); color: var(--ink); }
.ax-limit { width: 5em; }
.ax-wrap, .mr-wrap { width: 100%; }
.ax-table, .mr-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.ax-table th, .mr-table th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12px; padding: 6px; border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax-table td, .mr-table td { padding: 6px; border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.mr-table th.num, .mr-table td.num { text-align: right; }
.mr-table td.wrap { white-space: normal; overflow-wrap: anywhere; }
.ax-table .c0 { width: 18%; } .ax-table .c1 { width: 30%; } .ax-table .c2 { width: 13%; } .ax-table .c3 { width: 14%; } .ax-table .c4 { width: 17%; } .ax-table .c5 { width: 8%; text-align: right; overflow: visible; position: relative; }
.ax-table.op .c0 { width: 13%; } .ax-table.op .c1 { width: 21%; } .ax-table.op .c2 { width: 10%; } .ax-table.op .c3 { width: 10%; } .ax-table.op .c4 { width: 11%; } .ax-table.op .c5 { width: 15%; overflow: hidden; position: static; text-align: left; } .ax-table.op .c6 { width: 14%; } .ax-table.op .c7 { width: 6%; text-align: right; overflow: visible; position: relative; }
.ax-table .ax-phone { width: 100%; min-width: 0; }
.ax-table tr.ended td { color: var(--muted); }
.ax-st { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); }
.ax-st.active { color: var(--pos); border-color: currentColor; } .ax-st.invited { color: var(--warn); border-color: currentColor; } .ax-st.access-ended { color: var(--muted); }
.ax-menu { position: absolute; right: 0; top: 100%; z-index: 20; display: grid; min-width: 190px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 4px 14px rgba(0,0,0,.12); padding: 4px; text-align: left; }
.ax-mi { font: inherit; font-size: 14px; text-align: left; border: 0; background: none; color: var(--ink); padding: 8px 10px; border-radius: 6px; cursor: pointer; min-height: 36px; }
.ax-mi:hover, .ax-mi:focus { background: var(--accent-soft); }
.ax-mi[data-k="remove"] { color: var(--bad); }
.ax-edit td { white-space: normal; background: var(--accent-soft); }
.ax-edit label { margin-right: 8px; }
.ax-add { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; margin-top: 12px; }
.ax-add h3 { width: 100%; margin: 0; }
.ax-add label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.mr-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 12px; overflow-x: auto; }
.mr-tabs a { padding: 8px 14px; text-decoration: none; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.mr-tabs a.on { color: var(--ink); border-bottom-color: var(--accent); font-weight: 600; }
.mr-sum { margin: 0 0 8px; }
.mr-h2 { margin-top: 18px; }
.mr-red { border-left: 4px solid var(--bad); }
.mr-red-h { display: flex; align-items: center; gap: 8px; }
.mr-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; } .mr-dot.bad { background: var(--bad); } .mr-dot.ok { background: var(--pos); }
.mr-green { list-style: none; margin: 0 0 12px; padding: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.mr-green li + li { border-top: 1px solid var(--line); }
.mr-line { display: grid; grid-template-columns: 14px 1.4fr 1fr 150px; gap: 8px; align-items: center; width: 100%; border: 0; background: none; font: inherit; font-size: 13.5px; color: var(--ink); text-align: left; padding: 8px 12px; cursor: pointer; min-height: 36px; }
.mr-line span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .mr-line .mr-t { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.mr-table tr.bad td { color: var(--bad); } .mr-table tr.warn td { color: var(--warn); }
.mr-log tbody tr { cursor: pointer; } .mr-log tbody tr:hover { background: var(--accent-soft); }
.mr-co h2 { margin-bottom: 6px; }
.mr-sec { border-top: 1px solid var(--line); }
.mr-sec > summary { padding: 10px 2px; cursor: pointer; font-weight: 600; min-height: 40px; }
.mr-sec-body { padding: 0 0 10px; }
.mr-dl { display: grid; grid-template-columns: 40% 60%; gap: 6px 10px; margin: 0; } .mr-dl dt { color: var(--muted); } .mr-dl dd { margin: 0; overflow-wrap: anywhere; }
.mr-more summary { cursor: pointer; padding: 8px 0; }
.dk-lang { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin: 0 0 10px; }
.dk-lang button { border: 0; background: var(--panel); color: var(--ink); font: inherit; font-size: 13px; padding: 6px 12px; cursor: pointer; min-height: 32px; }
.dk-lang button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.dk-explain p { margin: 0 0 6px; }
.dk-list { list-style: none; margin: 0; padding: 0; }
.dk-item { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line); }
.dk-item:first-child { border-top: 0; }
.dk-what { min-width: 0; } .dk-what b { overflow-wrap: anywhere; }
.dk-st { font-size: 12px; padding: 2px 8px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; } .dk-st.open { color: var(--warn); } .dk-st.done { color: var(--pos); }
.dk-up { position: relative; white-space: nowrap; } .dk-up:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.dk-askf { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; } .dk-askf h2 { width: 100%; } .dk-askf label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
#dk-ask-text { min-width: 260px; }
@media (max-width: 700px) {
  .ax-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ax-table, .ax-table tbody, .ax-table tr, .ax-table td { display: block; width: 100% !important; }
  .ax-table tr { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 8px; padding: 4px 8px; position: relative; }
  .ax-table td { border: 0; padding: 4px 0; white-space: normal; overflow-wrap: anywhere; text-align: left !important; }
  .ax-table td[data-label]:not([data-label=""])::before { content: attr(data-label) ": "; color: var(--muted); font-size: 12px; }
  .ax-table td.c5:not([data-label]), .ax-table:not(.op) td.c5, .ax-table.op td.c7 { position: absolute; top: 4px; right: 8px; width: auto !important; }
  .ax-table tr.ax-edit { border-style: dashed; }
  .ax-table tr.ax-edit td { position: static; }
  .mr-line { grid-template-columns: 14px 1fr auto; gap: 2px 8px; } .mr-line .mr-c { grid-row: 2; grid-column: 2 / 4; font-size: 12px; color: var(--muted); } .mr-line .mr-t { grid-row: 1; grid-column: 3; }
  .mr-wrap { overflow-x: auto; }
  .mr-table { min-width: 560px; }
  .dk-item { flex-wrap: wrap; }
  #dk-ask-text { min-width: 0; width: 100%; }
}

/* CONTRAST (10/03/2026, session C, overflow 5; measured by tools/c-redesign-ui.js): white on the dark-mode accent is 2.04:1, below
   AA. Every filled button, the + Receipt button and a pressed toggle take --on-accent: white in light (unchanged, 7.52:1),
   near-black in dark (9.04:1). House-wide: the measurement found the shared + Receipt button failing on every page. */
.btn:not(.ghost), .fab, .seg button[aria-pressed="true"], .dk-lang button[aria-pressed="true"] { color: var(--on-accent); }

/* UX RULE 6 (10/03/2026): a clicked control shows it is working at once -- app.js busyOn() */
.is-busy { cursor: progress; opacity: .85; }
.busy-spin { display: inline-block; width: .8em; height: .8em; margin-right: .4em; vertical-align: -.1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: busy-spin .7s linear infinite; }
@keyframes busy-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .busy-spin { animation-duration: 2s; } }
/* UX rule 7: the control becomes its result (front/app.js resultOn) */
.result-ok { color: var(--pos); } .result-attention { color: var(--warn); }
.btn.result-ok { background: var(--accent-soft); color: var(--pos); border-color: var(--pos); }
.btn.result-attention { background: var(--warn-soft); color: var(--warn); border-color: var(--warn); }
.result-near.ok { color: var(--pos); } .result-near.warn { color: var(--warn); }

/* THE COMPANY SWITCHER (10/03/2026): the company's name beside LucroVista, a menu of the person's companies */
.entity-name { position: relative; }
/* the current company, bold in a grey box (Andrew 10/06/2026), in the header whether or not it opens a menu */
.ent-current { display: inline-block; font-weight: 600; background: var(--line); color: var(--ink, inherit); padding: 4px 8px; border-radius: 6px; font-size: 14px; }
.ent-switch { border: 0; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; min-height: 32px; }
.ent-switch:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ent-menu { position: absolute; z-index: 50; top: 100%; left: 0; min-width: 240px; max-width: calc(100vw - 32px); background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 6px 24px rgba(0,0,0,.12); padding: 4px; }
.ent-item { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 10px 12px; font: inherit; cursor: pointer; border-radius: 6px; color: inherit; min-height: 40px; }
.ent-item:hover { text-decoration: underline; }
.ent-item:focus { outline: none; } .ent-item:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.ent-item.on { font-weight: 600; background: var(--line); }
/* a demo company in one's own profile (demoInProfile): its group in the menu, and the DEMO badge beside its name while it is open */
.ent-group { padding: 8px 12px 2px; text-transform: uppercase; letter-spacing: .04em; border-top: 1px solid var(--line); margin-top: 4px; }
.ent-demo { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 1px 6px; border-radius: 4px; background: var(--ink); color: var(--bg); vertical-align: 1px; }
/* a KPI with no change: neutral, grey, "=" (Andrew 10/06/2026) */
.cmp .flat { color: var(--muted); font-weight: 600; }
/* ---- THE GUIDED DEMO (10/03/2026, batch 3; front/tour.js): the chip, the tour, the ring. Nothing animates. ---- */
/* the chip: a thin bar above everything, never over the page (the page and its sticky header move down by its height) */
.lv-demo-chip { position: fixed; top: 0; left: 0; right: 0; height: 22px; line-height: 22px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 8px; z-index: 60; background: var(--ink); color: var(--bg); font-size: 12px; pointer-events: none; }
body.lv-demo { padding-top: 22px; } body.lv-demo .top { top: 22px; } body.lv-demo .drawer { top: 22px; }
.lv-tour h3 { text-transform: none; letter-spacing: normal; color: var(--ink); }
.lv-tour { position: fixed; right: 16px; bottom: 16px; width: 360px; max-width: calc(100vw - 32px); z-index: 70; background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 6px 24px rgba(0,0,0,.18); padding: 14px 16px; }
.lv-tour h3 { margin: 4px 0 6px; font-size: 17px; } .lv-tour p { margin: 0 0 12px; line-height: 1.45; }
.lv-tour-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .lv-tour-sp { flex: 1; }
.lv-tour-ring { outline: 3px solid var(--accent) !important; outline-offset: 3px; border-radius: 6px; }
@media (max-width: 640px) { .lv-tour { left: 0; right: 0; bottom: 0; width: auto; max-width: none; border-radius: 12px 12px 0 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); } body.lv-touring { padding-bottom: 210px; } }
.demo-landing .picker { margin-top: 12px; } .demo-card h2 { margin-bottom: 4px; } .demo-card .demo-name { margin-top: 8px; color: var(--muted); }
.demo-done ul.demo-seen { padding-left: 18px; line-height: 1.6; } .demo-cta { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
/* the tour's WhatsApp step (batch 3): a phone's chat, the photo, the filled card -- in the browser only */
.lv-wa-chat { background: var(--accent-soft); border-radius: 10px; padding: 10px; display: flex; justify-content: flex-end; }
.lv-wa-bubble { background: var(--panel); border: 1px solid var(--line); border-radius: 10px 10px 2px 10px; padding: 6px; text-align: right; }
.lv-wa .rc-grid input[disabled] { background: var(--panel); color: var(--ink); opacity: 1; }
.step.drop { outline: 2px dashed var(--accent); outline-offset: 2px; }
/* A CUSTOMER'S TABLE FITS 390 PX (found on the live walk, 10/03/2026: the Machine Room's 560 px minimum, inherited by
   .mr-table, hid the Total on the Breeze online-orders step and the third column on Your data): .fit drops the minimum, text
   wraps, cells tighten. The operator's Machine Room tables keep scrolling inside their card by design. */
/* R-YD-1/2 (R 09:40 UTC 10/29/2026): Your data's tables say everything at any width -- every cell and head wraps (a phone and a keyboard cannot
   hover the title), and a date never breaks inside */
.yd-page .mr-table.fit td, .yd-page .mr-table.fit th { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: break-word; }
.yd-page .mr-table.fit td.yd-date { white-space: nowrap; }
@media (max-width: 700px) { .mr-table.fit { min-width: 0; font-size: 12.5px; } .mr-table.fit th, .mr-table.fit td { padding: 5px 3px; } .mr-table.fit td { white-space: normal; overflow-wrap: anywhere; } .mr-table.fit caption { white-space: normal; text-align: left; } }

/* CUSTOMER SETUP, SCREENS 1 AND 2 (10/03/2026, session C; front/start.js): one column, every field on its own line, the
   saved line beside it; works at 390 px */
.st-steps { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 0; margin: 8px 0; list-style: none; font-size: 13px; color: var(--muted); }
.st-steps li[aria-current="step"] { color: inherit; font-weight: 600; }
.st-f { display: block; margin: 10px 0; border: 0; padding: 0; min-width: 0; }
.st-f > input:not([type=radio]):not([type=checkbox]), .st-f > select { display: block; width: 100%; max-width: 420px; margin-top: 4px; }
.st-f legend { font-weight: 600; margin-bottom: 4px; padding: 0; }
.st-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 12px; margin: 6px 0; }
.st-item { display: flex; gap: 6px; align-items: baseline; }
.st-item[hidden] { display: none; }
/* screen 2 as chips (onboarding review §3; M 10/11/2026): the tick box stays inside its chip */
.st-items.chips { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.st-items.chips .st-item { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px 4px 8px; align-items: center; }
.st-items.chips .st-item:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.st-search { width: 100%; max-width: 320px; margin: 4px 0; }
.st-other { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.st-said { margin-left: 6px; color: var(--muted); } .st-said.bad { color: var(--bad); }
.st-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.st-f > input:not([type=radio]):not([type=checkbox]), .st-search, .st-other-in, .st-helper input { font: inherit; font-size: 14px; padding: 7px 9px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); }
/* the checklist (front/start.js, step 3) */
.st-bar { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; margin: 8px 0 4px; } .st-bar span { display: block; height: 100%; background: var(--accent); }
.st-lines { list-style: none; padding: 0; margin: 0; }
.st-line { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.st-line .st-acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.st-chip { font-size: 12px; padding: 2px 8px; border-radius: 10px; border: 1px solid var(--line); white-space: nowrap; align-self: start; }
.st-chip.done { border-color: var(--lv-c-better); } .st-chip.didnttie { border-color: var(--bad); color: var(--bad); } .st-chip.skipped { color: var(--muted); white-space: normal; }
.st-why { font: inherit; font-size: 13px; padding: 5px 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); min-width: 0; }
/* FOCUS ON THE 10/03 SCREENS (overflow: keyboard): the setup screens and checklist, the support box, Your data, the
   Machine Room's status and setup lists -- the same visible ring as the redesigned screens */
.st-screen :focus-visible, .st-head :focus-visible, .st-helper :focus-visible, .st-lines :focus-visible, .st-take-card :focus-visible, .st-stalled :focus-visible, .st-nav :focus-visible,
#sp-box :focus-visible, .yd-del :focus-visible, #yd-dl:focus-visible, .mr-held :focus-visible, [data-testid="mr-setups"] :focus-visible, .mr-sign :focus-visible, .mr-sign-out :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Q-010 (10/04/2026): the old Users seats table at phone width -- one stacked card per person, each value with its label */
@media (max-width: 600px) {
  table.u-seats thead { display: none; }
  table.u-seats, table.u-seats tbody, table.u-seats tr, table.u-seats td { display: block; width: auto; }
  table.u-seats tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  table.u-seats td { padding: 4px 0; text-align: left !important; white-space: normal; }
  table.u-seats td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-size: 0.85em; }
  table.u-seats input, table.u-seats select { max-width: 100%; }
}

/* THE PAYMENT VIEW (10/04/2026): the line, what it was booked to, the document -- side by side on a desk, stacked on a phone */
.pv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 760px) { .pv-grid { grid-template-columns: 1fr; } }

/* Q-013 (10/04/2026): the desk's note form -- each label above its input, spaced, never run together */
.desk-note label { display: block; margin: 0 0 10px; }
.desk-note input { display: block; width: 100%; max-width: 520px; margin-top: 4px; }
/* Q-014 (10/04/2026): a button that must not break across lines; and on a phone the page ends clear of the + Receipt button */
.nowrap { white-space: nowrap; }
@media (max-width: 699px) { #app { padding-bottom: 88px; } }
/* the opening line: each balance the chart cannot place on its own, one question (86_opening_tb.js, 10/04/2026) */
.st-place { list-style: none; margin: 6px 0 0; padding: 0; }
.st-place li { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 4px 0; }
.st-place select { max-width: 100%; }
/* completion: the opening journal the dry run would post (87_setup_complete.js) */
.st-j { border-collapse: collapse; margin: 6px 0; } .st-j th, .st-j td { padding: 2px 10px 2px 0; text-align: left; } .st-j .num { text-align: right; }

/* RULE 6, NAVIGATION (10/04/2026): the loading line a link answers with at once -- the shared spinner, then what it waits on */
.lv-loading { display: flex; align-items: center; gap: .2em; flex-wrap: wrap; }
.lv-loading .ld-wait { flex-basis: 100%; margin-top: 4px; }

/* QC Q-043 (reopened 10/04/2026): the old Machine Room never wider than the phone -- its tables scroll inside their card, long
   words (a log line, an address, a file name) wrap, and inputs keep to the card */
.mr-old { max-width: 100%; overflow-wrap: anywhere; }
.mr-old table { display: block; max-width: 100%; overflow-x: auto; }
.mr-old td, .mr-old th { overflow-wrap: anywhere; word-break: break-word; }
.mr-old pre { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 100%; }
.mr-old input, .mr-old select, .mr-old textarea { max-width: 100%; }
/* THE MONTH AS ONE FLOW (the month-flow design): the Breeze page's three sections */
.flow-list { list-style: none; margin: 0 0 12px; padding: 10px 14px; } .flow-list li { padding: 4px 0; }
.flow-list li[data-state="waits"]::before { content: '⏸ '; } .flow-list li[data-state="working"]::before { content: '⟳ '; }
.flow-note .step { border-left: 3px solid var(--warn); }
.step.is-next { outline: 2px solid var(--accent); outline-offset: 2px; }
/* month-flow v2: progress and collapsed Done */
.flow-progress { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; margin: 6px 0 2px; } .flow-progress span { display: block; height: 100%; background: var(--accent); }
.flow-done summary { cursor: pointer; list-style: none; } .flow-done summary h2 { display: inline; } .flow-done summary::-webkit-details-marker { display: none; } .flow-done summary::before { content: '▸ '; } .flow-done[open] summary::before { content: '▾ '; }
.up-state { margin: 4px 0; } .up-state[data-mark="⚠"] { color: var(--warn); } label.btn.is-disabled { opacity: .5; pointer-events: none; }
/* the Desk's Plain ▸ sits on the tab line like a tab (desk-first-day §4 row 4; .linkish's 32 px touch height pushed it below) */
@media (min-width: 600px) { .desk-tabs .desk-plainbtn { min-height: 0; padding: 0; vertical-align: baseline; white-space: nowrap; } }
/* the Desk's Help sits on the tab line like a tab, at every width (Andrew 10/21/2026 21:34: the "?" sat lower and smaller than the tabs) --
   .linkish's 32 px touch height and padding pushed it below their baseline */
.desk-tabs .desk-help { min-height: 0; padding: 0; vertical-align: baseline; white-space: nowrap; }

/* ---- THE VISTA'S FIRST SCREEN (Andrew 10/05/2026; switch nav2, html.lv-nav2): one nav row that never wraps at 390 px, More ▾ for the
   rest, the account menu (initials), the period in one row, Notes and sources collapsed at the foot ---- */
.nav-row { display: flex; align-items: center; gap: 10px; margin: 4px 0 12px; }
.links.nav2 { flex-wrap: nowrap; white-space: nowrap; gap: 14px; margin: 0; align-items: center; min-width: 0; }
.nav-row #va-sel { margin-left: auto; }
.nav-more { position: relative; }
.nav-more > summary { list-style: none; cursor: pointer; color: var(--accent); text-decoration: underline; }
.nav-more > summary::-webkit-details-marker { display: none; }
.nav-more > summary.here { font-weight: 700; }
.nav-more-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 6px 18px rgba(0,0,0,.14); padding: 6px 0; min-width: 170px; display: flex; flex-direction: column; }
.nav-more-pop > a, .nav-more-pop > strong, .nav-more-pop .help-q { display: block; padding: 9px 14px; white-space: nowrap; }
.who.acct { max-width: none; overflow: visible; }
.acct-menu { position: relative; }
.acct-menu > summary { list-style: none; cursor: pointer; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.acct-menu > summary::-webkit-details-marker { display: none; }
.acct-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 6px 18px rgba(0,0,0,.14); padding: 10px 14px; min-width: 200px; color: var(--ink); }
.acct-pop .acct-email { overflow-wrap: anywhere; margin-bottom: 8px; color: var(--muted); }
.ctl-row { flex-wrap: nowrap; gap: 8px; }
.ctl-row .ctl { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; min-width: 0; flex: 0 1 auto; }
.ctl-row select { min-width: 0; max-width: 100%; text-overflow: ellipsis; }
.notes-src { margin-top: var(--gap); }
.notes-src > summary { cursor: pointer; font-weight: 600; }
@media (max-width: 480px) {
  .links.nav2 { gap: 9px; font-size: 13px; }
  .ctl-row { gap: 6px; }
  .ctl-row .ctl > span { font-size: 12px; }
  .ctl-row select { font-size: 13px; padding: 5px 4px; }
}
@media (max-width: 360px) { .links.nav2 { gap: 7px; font-size: 12.5px; } }
@media print { .nav-row, .acct-menu { display: none; } }

/* ---- ONE MENU (Andrew 10/16-17/2026; docs/design/phone-menu-and-page-tops.md): Vista · Forecast · Receipts · Breeze · Attention · More,
   one list for a phone and a desk. A desk: one row of plain labels, the current one bold, no underline. A phone: a tab bar anchored flush to
   the bottom on every scroll position (fixed, the safe area padded, no 100vh), six equal items, an icon above a short label, fitting 360 px;
   the page padded by the bar's height so the last card is never under it. The section's pages on a second row that never wraps. ---- */
.links.nav3 { flex-wrap: wrap; gap: 6px 18px; margin: 0; align-items: center; min-width: 0; }
.links.nav3 .n3, .links.nav3 .nav-more > summary { color: var(--ink); text-decoration: none; }
.links.nav3 a.n3:hover, .links.nav3 .nav-more > summary:hover { color: var(--accent); }
.links.nav3 strong.n3, .links.nav3 .nav-more > summary.here { font-weight: 700; }
.links.nav3 .n3-ic { display: none; }
.links.nav3 .n3-help { display: inline-flex; gap: 10px; align-items: center; }
.nav-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lv-c-due); margin-left: 4px; vertical-align: 2px; }
.subrow { display: flex; align-items: center; gap: 10px; margin: -4px 0 12px; min-width: 0; }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 12px; font-size: 14px; }
.subrow .subnav { margin: -4px -2px; padding: 4px 2px; flex: 1 1 auto; min-width: 0; flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }   /* R-SC-3 (R 17:23): room for the 2 px focus ring at its 2 px offset inside the scrolling row */
.subrow .subnav::-webkit-scrollbar { display: none; }
.subrow .cap-add { flex: none; white-space: nowrap; font-size: 13px; padding: 4px 10px; line-height: 1.3; }   /* compact (Andrew 10/16 22:00) */
/* ANDREW 09:15 UTC 10/31/2026 and A's plan reports/vista-columns-arr-2026-10-31 section 1: a sub-page is an oval button, never a plain text link;
   the page you are on is filled navy. Its border is the control token, not the board's #C8CFD9 (1.57:1 on white, under WCAG 1.4.11's 3:1 for a
   control's only edge -- g_brand.css's note). Page sections stay g_workspace.css's 30 px outline chips: the two levels never look alike */
.subnav a, .subnav strong { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: var(--lv-r-pill); background: var(--lv-surface); border: 1px solid var(--lv-border-strong); color: var(--lv-ink-2); font: 500 var(--lv-fs-13)/1 var(--lv-font); white-space: nowrap; text-decoration: none; }
.subnav a:hover { border-color: var(--lv-ink-2); color: var(--lv-ink); }
.subnav a:focus-visible { outline: 2px solid var(--lv-navy); outline-offset: 2px; }
.subnav strong { background: var(--lv-navy); border-color: var(--lv-navy); color: var(--lv-ink-inv); font-weight: 600; }
@media (max-width: 600px) { .subnav a, .subnav strong { height: 32px; } }
@media (max-width: 600px) {
  .links.nav3 { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; flex-wrap: nowrap; gap: 0; align-items: stretch;
    background: var(--panel); border-top: 1px solid var(--line); padding: 2px 0 env(safe-area-inset-bottom, 0px); }
  /* A 16:55 UTC 11/03/2026 (Andrew, Safari, 10/31: the bar floated about 85 pt after a scroll): nothing renders below the bar, by construction --
     its own background continues under it, so a collapsing toolbar never shows the page through a gap */
  .links.nav3::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 120px; background: var(--panel); pointer-events: none; }
  .links.nav3 > .n3 { flex: 1 1 0; min-width: 0; }
  .links.nav3 > .n3, .links.nav3 .nav-more > summary { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-height: 50px; padding: 4px 0; font-size: 11px; line-height: 1.15; color: var(--muted); }
  .links.nav3 > details.n3 { display: block; padding: 0; }
  .links.nav3 > details.n3 > summary { box-sizing: border-box; width: 100%; height: 100%; }
  .links.nav3 > strong.n3, .links.nav3 .nav-more > summary.here { color: var(--ink); }
  .links.nav3 .n3-ic { display: block; width: 22px; height: 22px; flex: none; }
  .links.nav3 .n3-lb { max-width: 100%; white-space: nowrap; position: relative; }
  .links.nav3 .nav-dot { position: absolute; top: -24px; left: calc(50% + 6px); margin: 0; }   /* on the icon's shoulder */
  .links.nav3 .nav-more { position: static; }
  .links.nav3 .nav-more-pop { top: auto; right: 6px; bottom: calc(100% + 6px); }
  .links.nav3 .n3-help .lang-toggle { display: none; }
  #app:has(.nav3) { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
}

/* THE CLOSE PAGE (the Breeze reset P2, 10/07/2026): month buttons by state, the checklist's marks */
.cg-months { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.cg-month.cg-ok { border-color: var(--ok, var(--lv-better-text)); color: var(--ok, var(--lv-better-text)); }
.cg-month.cg-missing { border-color: var(--warn); color: var(--warn); }
.cg-month.cg-error { border-color: var(--bad); color: var(--bad); }
.cg-month[aria-pressed="true"] { font-weight: 700; }
table.cg td { text-align: center; }
table.cg td.cg-ok { color: var(--ok, var(--lv-better-text)); }
table.cg td.cg-missing { color: var(--warn); }
table.cg td.cg-error { color: var(--bad); font-weight: 700; }
table.cg td.cg-na, table.cg td.cg-open { color: var(--muted); }
/* "Not needed" per month (Andrew 22:02 UTC 10/23/2026): ✕ grey, a missing month or a ✕ is a button for a Full seat, its menu under the grid */
table.cg td.cg-nn, table.cg td.cg-none { color: var(--muted); }
table.cg td.cg-act { cursor: pointer; }
table.cg td.cg-act:hover, table.cg td.cg-act:focus { outline: 2px solid var(--accent); outline-offset: -2px; }
.cg-nn-menu { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0; }
.cg-nn-menu[hidden] { display: none; }
/* THE FIRST-TIME CONSENT BOX (front/consent.js; Andrew 10/23/2026): a dialog over the page, inside the screen at 390 px */
.consent-wrap { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, 0.35); }
.consent-wrap .consent { width: 100%; max-width: 520px; max-height: calc(100dvh - 32px); overflow: auto; margin: 0; }   /* dvh, never vh: Safari's collapsing toolbar (menu-ui) */
.consent-acts { display: flex; flex-wrap: wrap; gap: 8px; }

/* THE DESK'S REQUESTS AS BUTTONS (Andrew 10/07/2026; front/desk2.js): one row under the search bar, a badge like the Attention link's, muted at 0 */
.dk-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 10px; }
.dk-bar .dk-lang { margin: 0; }
.dk-badge { display: inline-block; min-width: 18px; padding: 0 6px; border-radius: 9px; background: var(--accent); color: var(--accent-soft); font-size: 12px; font-weight: 600; line-height: 18px; text-align: center; }   /* the Attention badge's colours (.badge), AA in light and dark */
.dk-badge.zero { background: transparent; color: var(--ink); border: 1px solid var(--line); font-weight: 400; }
.dk-rev { color: var(--ink); }
.dk-badge:empty { display: none; }
.dk-back { display: none; margin-bottom: 8px; }
@media (max-width: 640px) { .dk-back { display: inline-block; } }
.dk-late b { color: var(--lv-due-text); }   /* R-DK-3: late is due (Dusk decision 3) */
.dk-act { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.dk-ansf textarea { width: 100%; font: inherit; }
.dk-askf label { display: block; margin: 0 0 8px; }
.dk-askf input { width: 100%; }
.dk-vista { border-left: 3px solid var(--accent); }
.dk-help dt { font-weight: 600; margin-top: 8px; }
.dk-help dd { margin: 2px 0 0; }
.desk-use { margin: 4px 0 8px; }
.dk-rev.on { border-color: var(--accent); }

/* A COMMENT ON A ROW (Andrew 10/07/2026): the 💬 marker, its count when there are comments */
.ds-cmt { opacity: .45; } .ds-cmt.on { opacity: 1; font-weight: 600; }

/* G10: payroll answer controls fit a phone; chart colours are unchanged. */
[data-testid="g-payroll"] label { display: block; margin-top: .4rem; }
[data-testid="g-payroll"] input, [data-testid="g-payroll"] select { max-width: 100%; box-sizing: border-box; }
[data-testid="g-payroll"] p, #g-payroll-result { overflow-wrap: anywhere; }
.g-obligation { margin: 1rem 0; }
.g-obligation label { display: block; margin: .5rem 0; }
.g-obligation input { box-sizing: border-box; max-width: 100%; }
/* G12: policy controls and the grid-derived cash path fit a phone. */
.g-policy{border-top:1px solid var(--line);padding:1rem 0;overflow-wrap:anywhere}.g-policy label{display:block;margin:.65rem 0}.g-policy input{display:block;max-width:100%;box-sizing:border-box}.g-policy button{white-space:normal}.g-cash-path{margin:1rem 0;overflow-wrap:anywhere}.g-cash-path dd{margin:0 0 .65rem}.g-cash-path dt{font-weight:600}.g-cash-path .scroll-x{max-width:100%;overflow-x:auto}

/* ---- THE REVENUE AND ARR BRIDGES (Andrew 10/12/2026; switch revBridges): two waterfalls side by side, stacked on a phone ---- */
.rv-bridges .rvb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px 20px; margin-top: 8px; }
.rv-bridges .rvb h3 { margin: 4px 0; }
.rv-bridges .rvb-chart .mk { cursor: pointer; }
.rv-bridges p.bad { color: var(--bad); font-weight: 600; }

/* ---- THE CAFÉ'S SALES CHARTS (Andrew 10/12/2026; switch revBridges): when we sell, weekday × daypart ---- */
table.cafe-grid { border-collapse: separate; border-spacing: 3px; width: 100%; font-size: 12.5px; }
table.cafe-grid th { font-weight: 600; text-align: center; color: var(--muted); }
table.cafe-grid td { text-align: center; padding: 6px 4px; border-radius: 4px; cursor: pointer; position: relative; }
table.cafe-grid td.cg1 { background: var(--accent-soft); } table.cafe-grid td.cg2 { background: color-mix(in srgb, var(--accent) 25%, transparent); }
table.cafe-grid td.cg3 { background: color-mix(in srgb, var(--accent) 45%, transparent); } table.cafe-grid td.cg4 { background: color-mix(in srgb, var(--accent) 65%, transparent); color: var(--on-accent); }
table.cafe-grid td.cg5 { background: var(--accent); color: var(--on-accent); } table.cafe-grid td.cg-empty { color: var(--muted); cursor: default; }
table.cafe-grid .cg-tag { display: block; font-size: 10.5px; font-weight: 600; }
table.cafe-grid td.cg-quietest { outline: 2px dashed var(--muted); }

/* Spend: room under the last card for the floating + Receipt button (Q on PR #14, F4) */
#sp-body { padding-bottom: 72px; }
/* ATTENTION'S FILTERS (Andrew 10/13/2026 07:11): Supplier and Type side by side; full width on a phone; 44 px to touch */
.att-filters { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: flex-end; margin: 6px 0 14px; }
.att-filters .att-f { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); min-width: 0; }
.att-filters input, .att-filters select { min-height: 44px; min-width: 220px; max-width: 100%; font: inherit; font-size: 15px; color: var(--ink); padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.att-filters .att-f-count { flex-basis: 100%; margin: 0; }
.att-filters .att-f-count .linkbtn { min-height: 44px; }
@media (max-width: 640px) { .att-filters .att-f { flex: 1 1 100%; } .att-filters input, .att-filters select { min-width: 0; width: 100%; } }

.g-plan-target-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}.g-plan-target-fields label{min-width:0}.g-plan-target-fields input{display:block;box-sizing:border-box;width:100%;min-height:44px}.g-plan-target-fields fieldset{min-width:0}

/* THE PAGE TOPS (Andrew 10/16 21:10-22:10): "What's changed" small at the right of the header; the pro forma one quiet line at the bottom;
   on a phone, half the space above the Vista's tab row */
/* What's changed under the top bar (Andrew 10/20/2026, item 4c): one slim line, its X at the right */
.changed-note { display: flex; align-items: center; gap: 8px; padding: 2px 16px; font-size: 13px; background: var(--panel); border-bottom: 1px solid var(--line); }
.changed-note[hidden] { display: none; }
.changed-note .changed-say { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.changed-note a { flex: none; white-space: nowrap; }
.changed-note .changed-x { margin-left: auto; flex: none; min-width: 32px; min-height: 30px; padding: 0 6px; }
/* TB-1: the phone bar is one row. The existing full company name stays in the menu and button title. */
@media (max-width: 600px) {
  .top { gap: 8px; padding-inline: 12px; flex-wrap: nowrap; }
  .top .brand { width: 28px; min-width: 28px; flex: none; display: inline-grid; align-items: center; overflow: hidden; }
  .top .brand-icon, .top .brand-word { grid-area: 1 / 1; }
  .top .brand-icon { display: block; }
  .top .brand-word { opacity: 0; white-space: nowrap; }
  .top .entity-name { min-width: 0; flex: 0 1 auto; }
  .top:has(> .rc-chip:not([hidden])) .entity-name { flex: 0 0 min-content; min-width: min-content; }
  .top .rc-chip { min-width: 0; }
  .top .rc-chip-label { white-space: normal; }
  .ent-current { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; border-radius: 999px; }
  .ent-current .ent-name { white-space: normal; line-height: 1.2; }
  .ent-current .ent-demo, .ent-current .ent-caret { flex: none; }
  .top .who.acct { flex: none; }
}
@media (max-width: 600px) and (prefers-reduced-motion: no-preference) {
  .top .brand-intro { animation: lv-brand-width .2s ease 3s both; }
  .top .brand-intro .brand-word { animation: lv-brand-out .2s ease 3s both; }
  .top .brand-intro .brand-icon { animation: lv-brand-in .2s ease 3s both; }
}
@keyframes lv-brand-width { from { width: 88px; } to { width: 28px; } }
@keyframes lv-brand-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes lv-brand-in { from { opacity: 0; } to { opacity: 1; } }
/* CASH IN ITS ORDER (Andrew 10/16-17/2026): the two top lines, the Summary, the details as sections, the download at the bottom */
.cash-top { margin: 0 0 4px; }
.fc-summary { margin: 14px 0 6px; }
.fc-summary > h3, .fc-sec > summary h3 { font-size: 15px; margin: 0 0 6px; }
.fc-sec { border-top: 1px solid var(--line); padding: 8px 0; }
.fc-sec > summary { cursor: pointer; }
.fc-sec > summary h3 { display: inline; }
.fc-dl { margin: 12px 0 0; }
.pro-forma-line { margin-top: 18px; }
@media (max-width: 600px) { .nav-row { margin: 0; } .subrow { margin: 0 0 10px; } }
.rv-dl { margin-top: 18px; }
/* SET 9a (revenueV2): the tabs at the left, the workbook link at the right of the same row; on a phone the link wraps under the tabs */
.rv2-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.rv2-head .rv-tabs { margin-bottom: 0; }
.rv2-dl { white-space: nowrap; margin-left: auto; }   /* 9b.2: at the right even when a till company has no tabs */
/* SET 9a, Collections p.37: the six weeks (lagoon) and the age bar (lavender, amber, violets -- never red for age alone) */
.rv2-col-head { text-align: right; margin: 0 0 8px; color: var(--lv-ink-2); }
.rv2-sub { margin: -4px 0 12px; }
/* VT-2: the till's 13-week low -- red only below the minimum (stop-now) */
.vr-stopv { color: var(--lv-chart-alert); }
/* VT-5: the bills as bars (due amber), their names and amounts */
.vr-bars { width: 100%; height: auto; } .vr-bar-l, .vr-bar-v { font-size: 11px; fill: var(--lv-ink-2); } .vr-bar-due { fill: var(--lv-c-due); } .vr-bar-owed { fill: var(--lv-c-seq-3); } .vr-bar-ch { fill: var(--lv-c-seq-5); } .vr-bar-ch--1 { fill: var(--lv-c-seq-4); } .vr-bar-ch--2 { fill: var(--lv-c-seq-2); } .vr-bar-late { fill: var(--lv-chart-alert); }
.vr-tillneeds { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 8px; }
/* WEEKS ACROSS (Cash · 13 weeks, desktop): the four rows in the chart's SVG -- labels ink-2, in lagoon, the balance semibold and a button, red below
   the minimum, the largest move small */
.cp3-wa__l { font-size: 12.5px; fill: var(--lv-ink-2); } .cp3-wa__cur { fill: var(--lv-ink-3); font-size: 11px; }
.cp3-wa__rule { stroke: var(--lv-border); stroke-width: 1; }
.cp3-wa__c { font-size: 12.5px; fill: var(--lv-ink); font-variant-numeric: tabular-nums; } .cp3-wa__in { fill: var(--lv-chart-lagoon); }
.cp3-wa__bal { font-weight: 600; } .cp3-wa__end { cursor: pointer; } .cp3-wa__end--low .cp3-wa__bal { fill: var(--lv-chart-alert); }
.cp3-wa__hit { fill: transparent; } .cp3-wa__end:hover .cp3-wa__hit, .cp3-wa__end:focus .cp3-wa__hit { fill: var(--lv-tint-navy); } .cp3-wa__end:focus { outline: none; } .cp3-wa__end:focus-visible .cp3-wa__hit { stroke: var(--lv-navy); stroke-width: 2; }
.cp3-wa__mv { font-size: 10.5px; fill: var(--lv-ink-2); } .cp3-wa__mv--in { fill: var(--lv-chart-lagoon); }
/* SB-2: the café's Sales card -- up lagoon, down due-amber (never red for a sales dip), the same muted */
.sx2-up { color: var(--lv-chart-lagoon); }
/* B-11 slice 2: the month so far, day by day -- now solid navy, the prior window dashed grey, closed days banded */
.sx2-ddsvg { width: 100%; height: auto; display: block; } .sx2-dd-now { fill: none; stroke: var(--lv-navy); stroke-width: 2; } .sx2-dd-prior { fill: none; stroke: var(--lv-muted, #8a94a6); stroke-width: 1.4; stroke-dasharray: 4 3; } .sx2-dd-closed { fill: var(--lv-line, #eef1f6); } .sx2-dd-lab { font-size: 11px; fill: var(--lv-ink, #1b2333); font-variant-numeric: tabular-nums; } .sx2-dd-lab--prior { fill: var(--lv-muted, #8a94a6); } .sx2-dd-ax { font-size: 10px; fill: var(--lv-muted, #8a94a6); }
/* B-11 slice 1: Best and worst movers -- name, a bar in its own track, the move; up lagoon, down due-amber */
.sx2-mvs { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; } .sx2-mv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(60px, 2fr) auto; gap: 12px; align-items: center; } .sx2-mv__n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sx2-mv__track { display: flex; height: 8px; } .sx2-mv[data-dir=down] .sx2-mv__track { justify-content: flex-end; } .sx2-mv__bar { display: block; height: 8px; border-radius: 4px; } .sx2-mv__bar--up { background: var(--lv-chart-lagoon); } /* Q 21:03: the bar's width as a 5% class step (csp-styles: no style attribute) */ .sx2-mv__w1 { width: 5%; } .sx2-mv__w2 { width: 10%; } .sx2-mv__w3 { width: 15%; } .sx2-mv__w4 { width: 20%; } .sx2-mv__w5 { width: 25%; } .sx2-mv__w6 { width: 30%; } .sx2-mv__w7 { width: 35%; } .sx2-mv__w8 { width: 40%; } .sx2-mv__w9 { width: 45%; } .sx2-mv__w10 { width: 50%; } .sx2-mv__w11 { width: 55%; } .sx2-mv__w12 { width: 60%; } .sx2-mv__w13 { width: 65%; } .sx2-mv__w14 { width: 70%; } .sx2-mv__w15 { width: 75%; } .sx2-mv__w16 { width: 80%; } .sx2-mv__w17 { width: 85%; } .sx2-mv__w18 { width: 90%; } .sx2-mv__w19 { width: 95%; } .sx2-mv__w20 { width: 100%; } .sx2-mv__bar--down { background: var(--lv-due-text); } .sx2-mv b { font-variant-numeric: tabular-nums; }
/* PR-2: the pace -- the actual solid, the projected rest an outline (never read as actual) */
.sx2-pace { margin-top: 10px; }
/* RS-2: rain and shine -- dry due-amber, rainy indigo */
.sx2-dry { fill: var(--lv-c-due); background: var(--lv-c-due); } .sx2-wet { fill: var(--lv-chart-indigo); background: var(--lv-chart-indigo); } .sx2-k { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 4px; }
.sx2-rainsvg { max-width: 560px; display: block; }
/* RO-2: revenue over time -- one hue, the best month darker, the projection dashed and lighter */
.sx2-mosvg { max-width: 640px; display: block; }
/* RV-9 (9a.9): recurring revenue -- lavender columns, the current month navy */
.rv2-rrsvg { max-width: 640px; display: block; } .sx2-due { color: var(--lv-due-text); }
/* RV-8 (9a.8): renewals ahead -- indigo bubbles at their end dates, the plans a lagoon band */
.rv2-rnsvg { max-width: 640px; display: block; } .rv2-brief { max-width: 72ch; margin: 8px 0 12px; } .rv2-more > summary { cursor: pointer; color: var(--lv-ink-2); }
/* RC-2 (9a.10): collected so far -- one stacked bar (SVG) */
.rv2-cbrow { display: flex; align-items: center; gap: 10px; max-width: 640px; } .rv2-cbar { flex: 1; min-width: 0; height: 14px; } .rv2-cbbg { fill: var(--lv-chart-grid); } .rv2-cbv { white-space: nowrap; }
.rv2-cb--got { fill: var(--lv-chart-lagoon); background: var(--lv-chart-lagoon); } .rv2-cb--exp { fill: var(--lv-c-seq-2); background: var(--lv-c-seq-2); } .rv2-cb--late { fill: var(--lv-chart-alert); background: var(--lv-chart-alert); } .rv2-cb--notin { fill: var(--lv-chart-neutral); background: var(--lv-chart-neutral); }
.sx2-chip { display: inline-block; padding: 1px 8px; border-radius: var(--lv-r-pill, 999px); border: 1px solid var(--lv-due-text); color: var(--lv-due-text); font-size: 12px; }   /* A12-4: a status, not a button */
/* RV-7 (9a.7): who pays you -- contracts indigo, plans lagoon, owed neutral; late a red ring, renewing soon an amber dashed ring */
.rv2-whosvg { width: 100%; max-width: 420px; height: auto; display: block; margin: 0 auto; } .rv2-wc circle { fill-opacity: .82; } .rv2-wc--contract circle, .rv2-k--contract { fill: var(--lv-chart-indigo); background: var(--lv-chart-indigo); }
.rv2-wc--plans circle, .rv2-k--plans { fill: var(--lv-chart-lagoon); background: var(--lv-chart-lagoon); } .rv2-wc--owed circle { fill: var(--lv-chart-indigo); } .rv2-wc--soon circle { stroke: var(--lv-chart-amber); stroke-width: 2.5; stroke-dasharray: 4 2; } .rv2-wc--late circle { stroke: var(--lv-chart-alert); stroke-width: 2.5; stroke-dasharray: none; }
.rv2-who-past-due { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 10px; }
.rv2-who-past-due h4 { margin: 0 0 6px; } .rv2-who-past-due .rv2-whosvg { max-width: 240px; }
.rv2-k--soon { background: transparent; border: 2px dashed var(--lv-chart-amber); } .rv2-k--late { background: transparent; border: 2px solid var(--lv-chart-alert); } .rv2-wc:focus circle, .rv2-wc:hover circle { fill-opacity: 1; } .rv2-rn circle { fill: var(--lv-chart-indigo); fill-opacity: .8; } .rv2-planband { fill: var(--lv-chart-lagoon); fill-opacity: .35; } .rv2-tick { stroke: var(--lv-chart-axis); } .rv2-rnlist { margin: 6px 0; padding-left: 18px; } .rv2-rr { fill: var(--lv-c-seq-2); } .rv2-rr--now { fill: var(--lv-navy); } .sx2-why { margin: 4px 0 12px; }
/* WP-2: what sells -- a category's hue by its place; rings outlined, products tinted, the tail grey-dashed */
.sx2-whatsvg { width: 100%; height: auto; display: block; margin: 0 auto; overflow: visible; } .sx2-ring { fill: none; stroke-width: 1.2; } .sx2-p circle { fill-opacity: 0.78; } .sx2-p.sx-open { cursor: pointer; } .sx2-p.sx-open:focus circle, .sx2-p.sx-open:hover circle { fill-opacity: 1; stroke: var(--lv-ink); stroke-width: 1; }
.sx2-p--others circle { fill: var(--lv-chart-neutral); fill-opacity: 0.35; stroke: var(--lv-chart-neutral); stroke-dasharray: 2 2; } .sx2-catl { font-size: 11px; font-weight: 600; fill: var(--lv-ink-2); letter-spacing: .04em; } .sx2-pn { font-size: 10px; fill: #fff; } .sx2-pv { font-size: 10px; fill: #fff; font-weight: 600; } .sx2-p--others text { fill: var(--lv-ink-2); }
.sx2-c0 .sx2-ring { stroke: var(--lv-chart-indigo); } .sx2-c0 .sx2-p circle, .sx2-k.sx2-c0 { fill: var(--lv-chart-indigo); background: var(--lv-chart-indigo); } .sx2-c1 .sx2-ring { stroke: var(--lv-chart-magenta); } .sx2-c1 .sx2-p circle, .sx2-k.sx2-c1 { fill: var(--lv-chart-magenta); background: var(--lv-chart-magenta); }
.sx2-c2 .sx2-ring { stroke: var(--lv-chart-amber); } .sx2-c2 .sx2-p circle, .sx2-k.sx2-c2 { fill: var(--lv-chart-amber); background: var(--lv-chart-amber); } .sx2-c3 .sx2-ring { stroke: var(--lv-chart-lagoon); } .sx2-c3 .sx2-p circle, .sx2-k.sx2-c3 { fill: var(--lv-chart-lagoon); background: var(--lv-chart-lagoon); }
.sx2-c4 .sx2-ring { stroke: var(--lv-chart-olive); } .sx2-c4 .sx2-p circle, .sx2-k.sx2-c4 { fill: var(--lv-chart-olive); background: var(--lv-chart-olive); } .sx2-c5 .sx2-ring { stroke: var(--lv-chart-neutral); } .sx2-c5 .sx2-p circle, .sx2-k.sx2-c5 { fill: var(--lv-chart-neutral); background: var(--lv-chart-neutral); } .sx2-mo { fill: var(--lv-c-seq-3); } .sx2-mo--best { fill: var(--lv-c-seq-5); } .sx2-mo--proj { fill: var(--lv-c-seq-1); stroke: var(--lv-c-seq-3); stroke-width: 1; stroke-dasharray: 3 2; } .vr-bar-v .sx2-up { fill: var(--lv-chart-lagoon); } .vr-bar-v .sx2-down { fill: var(--lv-due-text); } .vr-bar-v .sx2-same { fill: var(--lv-ink-3); }
/* CH-2: Channels -- the share bar and each channel's row */
.sx2-chbar { width: 100%; max-width: 420px; height: auto; display: block; margin: 6px 0 10px; } .sx2-ch { fill: var(--lv-c-seq-5); background: var(--lv-c-seq-5); } .sx2-ch--1 { fill: var(--lv-c-seq-4); background: var(--lv-c-seq-4); } .sx2-ch--2 { fill: var(--lv-c-seq-2); background: var(--lv-c-seq-2); }
.sx2-chrows { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; } .sx2-chrow { display: grid; grid-template-columns: 12px minmax(0, 1fr) 56px 80px 72px; gap: 8px; align-items: center; }
.sx2-chrow i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; } .sx2-spark { width: 80px; height: 22px; } .sx2-spark polyline { fill: none; stroke: var(--lv-ink-2); stroke-width: 1.5; } .sx2-pace__bar { width: 100%; max-width: 420px; height: auto; display: block; }
.sx2-pace__act { fill: var(--lv-navy); } .sx2-pace__proj { fill: none; stroke: var(--lv-navy); stroke-width: 1.2; stroke-dasharray: 3 2; } .sx2-down { color: var(--lv-due-text); } .sx2-same { color: var(--lv-ink-3); }
/* CL-2..CL-4: the brief, the tiles, Needs you (alert tint, red clock), on pattern's chip (amber, never red for a pattern) */
.vr-nydone { float: right; margin: 0 0 6px 12px; } .vr-nydone ul { list-style: none; margin: 6px 0 0; padding: 0; } .vr-nydone li { display: flex; gap: 8px; justify-content: space-between; } .ac-noted { align-self: center; }   /* V2-5 */
.sx2-wl-acts { display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }   /* Stop selling beside Keep selling */
.sx2-wl { list-style: none; margin: 0; padding: 0; } .sx2-wl-row { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--lv-border); } .sx2-wl-row p { margin: 2px 0 0; } .sx2-wl-head { margin: 8px 0 0; font-weight: 600; color: var(--lv-due-text); text-transform: uppercase; letter-spacing: .04em; } .sx2-wl-head.sx2-wl-up { color: var(--lv-chart-lagoon); margin-top: 16px; }
.rv2-brief { margin: 0 0 12px; font-size: 15px; font-weight: 400; line-height: 1.5; }   /* Andrew 11/11/2026: summaries are body text */
.rv2-tile--alert .value { color: var(--lv-chart-alert); }
/* REVENUES > OVERVIEW (revenues-overview.png, 11/12/2026): the main column and Needs you as the right rail; the Ask bar first with nothing under it */
.rv2-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.rv2-rail { position: sticky; top: 12px; min-width: 0; } .rv2-rail .rv2-needs { margin: 0; }
.rv2-askslot .rv-ask { margin: 10px 0 12px; } .rv2-askslot .rv-ask > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.rv2-askslot .rv-ask .chips { display: none; }
.sx2-wn-filter { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin: 4px 0 8px; } .sx2-wn-pills { flex-wrap: wrap; } .sx2-wn-search input { min-width: 200px; } .sx2-wn-h { margin: 14px 0 2px; font-size: 13px; } .sx2-wn.is-loading .sx2-wn-body { opacity: .45; } .sx2-wn-daily { display: block; width: 100%; height: auto; } .sx2-wn-hit { fill: transparent; } .sx2-wn-bar { fill: var(--lv-chart-indigo); fill-opacity: .7; } .sx2-wn-bar.is-best { fill-opacity: 1; } .sx2-wn-bar.is-on { fill: var(--lv-chart-magenta); fill-opacity: 1; } .sx2-wn-day:hover .sx2-wn-bar { fill-opacity: 1; } .sx2-wn-day:focus { outline: none; } .sx2-wn-day:focus-visible .sx2-wn-bar { stroke: var(--lv-ink); } .sx2-wn-bl, .sx2-wn-dt, .sx2-wn-ll { font-size: 10px; fill: var(--lv-ink-2); } .sx2-wn-cl { font-size: 9px; fill: var(--lv-ink-3); } .sx2-wn-rain { font-size: 10px; fill: var(--lv-chart-lagoon); } .sx2-wn-avg { stroke: var(--lv-ink-2); stroke-dasharray: 4 3; } .sx2-wn-prior { stroke: var(--lv-ink-3); stroke-dasharray: 2 3; } table.sx2-wn-grid td { cursor: default; font-variant-numeric: tabular-nums; white-space: nowrap; } table.sx2-wn-grid td.cg-none { background: none; } table.sx2-wn-grid .sx2-wn-day, table.sx2-wn-grid th.sx2-wn-dayh { border-left: 2px solid var(--line); } table.sx2-wn-grid tr.sx2-wn-all td, table.sx2-wn-grid tr.sx2-wn-all th { border-top: 2px solid var(--line); } table.sx2-wn-grid td.cg-busiest { outline: 2px solid var(--lv-ink); outline-offset: -2px; } .cg-tag--q { opacity: .8; } table.sx2-wn-grid--turned { font-size: 11.5px; } table.sx2-wn-grid--turned td { padding: 4px 2px; } table.sx2-wn-grid--turned .sx2-wn-day { border-left: none; } table.sx2-wn-grid--turned th { white-space: nowrap; } .sx2-wn-key { margin: 2px 0 0; } .sx2-wn-k { display: inline-block; width: 18px; border-top: 2px dashed var(--lv-ink-2); vertical-align: middle; } .sx2-wn-k--prior { border-top-style: dotted; border-color: var(--lv-ink-3); margin-left: 8px; }   /* C-21: When we sell (Sales.dc.html / SalesMobileB.dc.html) */

/* R2-23, Sales.dc.html: keep When we sell full width and show its two views side by side where the grid fits. */
.sx2-wn--paired .sx2-wn-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  align-items: start;
  gap: 16px;
}
.sx2-wn-bar, .sx2-rn rect, .sx2-mv__bar, .sx2-chrow > i { transition: transform 140ms ease-out, opacity 120ms ease-out; } .sx2-wn-bar { transform-box: fill-box; transform-origin: 50% 100%; } .sx2-wn-day:hover .sx2-wn-bar, .sx2-wn-day:focus-visible .sx2-wn-bar, .sx2-wn-bar.is-on { transform: scale(1.14, 1.04); } .sx2-rn rect { transform-box: fill-box; transform-origin: 0 50%; } .sx2-rn.is-hot rect { transform: scale(1.05, 1.3); } .sx2-mv__bar { display: inline-block; transform-origin: 0 50%; } .sx2-mv.is-hot .sx2-mv__bar { transform: scale(1.04, 1.5); } .sx2-chrow.is-hot > i { transform: scale(1.3); } .sx2-chrow, .sx2-mv { border-radius: 6px; } .sx2-chrow.is-hot, .sx2-mv.is-hot { background: var(--lv-surface-2, rgba(0,0,0,.04)); } .sx2-hov-on [data-hov]:not(.is-hot) { opacity: .5; } [data-hov] { cursor: default; } [data-hov]:focus { outline: none; } [data-hov]:focus-visible { outline: 2px solid var(--lv-navy); outline-offset: 1px; } @media (prefers-reduced-motion: reduce) { .sx2-wn-bar, .sx2-rn rect, .sx2-mv__bar, .sx2-chrow > i { transition: none; } .sx2-wn-day:hover .sx2-wn-bar, .sx2-rn.is-hot rect, .sx2-mv.is-hot .sx2-mv__bar, .sx2-chrow.is-hot > i { transform: none; } }   /* C-22: the Sales charts answer the pointer */
.lvm-hero .sx2-months > h3, .lvm-hero .sx2-chan > h3 { display: none; }   /* C-23 row 25: the hero's own title names it (no "Sales" then "REVENUE OVER TIME") */
.sx2-mo-none { fill: var(--lv-ink-3); } .sx2-wn-clm { fill: var(--lv-ink-3); }   /* C-23 rows 14, 15 */
.vr-nb { fill: var(--lv-ink-3); }   /* C-23 row 54 */   /* C-23 row 51 */
.bf-top { position: relative; } .bf-name-b { font: inherit; color: inherit; padding: 0; } .bf-name-b::after { content: " \25BE"; font-size: .75em; } .bf-sw { position: absolute; top: 100%; left: 0; z-index: 20; display: flex; flex-direction: column; min-width: 180px; max-width: 280px; padding: var(--lv-s-2); background: var(--panel); border: 1px solid var(--lv-border); border-radius: 8px; } .bf-sw-i { text-align: left; padding: 6px 8px; } .bf-sw-i[aria-checked="true"] { font-weight: 600; } .bf-sw-i:disabled { opacity: .45; cursor: default; } .bf-sw-why { margin: 4px 8px 0; }   /* C-29 (ADVISOR 22:29 item 2): the edition switch */
.bf-ed-p { font: inherit; color: inherit; padding: 0; } .bf-ed-td { font-weight: 400; color: var(--muted); } .bf-held { margin: 4px 0 0; }   /* C-29 part 7 (B-26): "to date"; the Weekly held */   /* C-29 (ADVISOR 22:29 item 1c): the dates, a button opening the earlier editions */
.bf-ed-a:disabled { opacity: .35; cursor: default; } .bf-ed-why { margin-left: 8px; font-weight: 400; }   /* C-29 (ADVISOR 22:29 item 1): the latest edition's ›; a step that found nothing says why */
.vr-bf { border-left: 3px solid var(--line); padding: 14px 18px; } .bf-top { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-bottom: 8px; border-bottom: 1px solid var(--line); } .vr-bf .bf-name { font-size: 22px; font-weight: 650; margin: 0; text-transform: none; letter-spacing: normal; color: var(--lv-ink, #1B2430); } .bf-ed { display: inline-flex; gap: 8px; align-items: baseline; font-variant-numeric: tabular-nums; } .bf-ed-a { text-decoration: none; padding: 0 4px; } .bf-sp { flex: 1; } .bf-lines { list-style: none; margin: 0; padding: 0; } .bf-line { border-bottom: 1px solid var(--line); } .bf-row { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; } .bf-row[aria-controls] { cursor: pointer; } .bf-row[aria-controls]:hover { background: var(--lv-surface-2, rgba(0,0,0,.03)); } .bf-row:focus-visible { outline: 2px solid var(--lv-navy); outline-offset: 2px; } .bf-t { margin: 0; flex: 1; font-size: 15px; line-height: 1.5; } .bf-lab { font-weight: 650; } .bf-verdict .bf-lab { color: #1B2430; } .bf-working .bf-lab, .bf-opportunity .bf-lab { color: #0A7575; } .bf-notworking .bf-lab { color: #5E5080; } .bf-risk .bf-lab { color: #9A5B00; } .bf-chev { transition: transform 120ms ease-out; } .bf-line.open .bf-chev { transform: rotate(180deg); } .bf-x { padding: 0 0 12px; max-width: 720px; } .bf-narr p { margin: 0 0 8px; font-size: 15px; line-height: 1.5; } .bf-h { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 10px 0 4px; } .bf-drv, .bf-rows { list-style: none; margin: 0; padding: 0; } .bf-drv li, .bf-rows li { display: flex; gap: 10px; align-items: baseline; padding: 4px 0; border-bottom: 1px solid var(--line); } .bf-drv li > span { flex: 1; } .bf-w { flex: 1; } .bf-d { color: var(--muted); font-variant-numeric: tabular-nums; } .bf-fig { font-variant-numeric: tabular-nums; white-space: nowrap; } @media (max-width: 600px) { .bf-name { font-size: 19px; } .bf-t, .bf-narr p { font-size: 14px; line-height: 1.45; } .bf-rows li { flex-wrap: wrap; } } @media (prefers-reduced-motion: reduce) { .bf-chev { transition: none; } }   /* BF-1 slice 1a: The Monthly */
.bf-lis { border: 1px solid var(--line); border-radius: 999px; background: var(--lv-surface, #fff); padding: 4px 12px; font: inherit; font-size: 13px; cursor: pointer; } .bf-lis.on { color: #fff; border-color: transparent; }   /* BF-4 Listen */
.sx2-what { position: relative; } .sx2-hcard { position: absolute; right: 16px; top: 64px; width: 260px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--lv-surface, #fff); box-shadow: 0 4px 16px rgba(0,0,0,.08); } .sx2-hcard__h { margin: 0 0 6px; } .sx2-hcard p { margin: 0 0 6px; } .sx2-p.sx-open:focus:not(:focus-visible) { outline: none; }
@media (max-width: 600px) { .sx2-hcard { position: static; width: auto; margin: 8px 0 0; } }   /* C-20 (A 13:09 11/15/2026): a tap leaves no focus box; at a phone's width the tapped card under the chart, never over it */   /* C-13: What sells' hover card (revenues-sales-till.png) */
.vr-d-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }   /* the card-detail board's foot (C 11/14/2026) */
.vr-d-chart .lvm-chart { max-width: 400px; margin: 4px 0 10px; } .vr-d-chart .lvm-chart[data-lvm-w] { max-width: none; }   /* C-26 item 17: drawn at the drawer's width, it spans it */ .vr-d-fromto { margin: 0 0 4px; color: var(--lv-ink-2); }   /* M 11/13: the card detail's bridge at the size it was drawn for (320 px viewBox) */
.rv-ask-ans { border-left: 3px solid var(--lv-chart-indigo); padding: 10px 16px; margin-top: 8px; } .rv-ask-ans__head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; } .rv-ask-ans__k { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; } .rv-ask-ans__t h3 { display: inline; font-size: 13px; font-weight: 400; color: var(--lv-ink-2); margin: 0; } .rv-ask-back { margin-left: auto; }
.rv-ask-ans__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: start; } .rv-ask-ans__grid--one { grid-template-columns: minmax(0, 1fr); } .rv-ask-ans .rv-ask-headline { font-size: 15px; font-weight: 400; line-height: 1.5; }
@media (max-width: 760px) { .rv-ask-ans__grid { grid-template-columns: minmax(0, 1fr); } }   /* ask-answer-desktop.png (M 11/13) */
.sx2-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; } .sx2-duo > .card, .sx2-duo__b > .card, .sx2-duo > div > .card { margin-top: 0; }   /* M 11/13/2026: the till board's pairs */
.sx2-duo.sx2-duo--one { grid-template-columns: minmax(0, 1fr); }
.bills-onpage { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 4px 0 10px; } .bills-onpage .bills-n { font-weight: 600; } .bills-head .bills-dl { margin-left: auto; } .bills-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; } .bills-duo > .card { margin-top: 0; }
@media (max-width: 760px) { .bills-duo { grid-template-columns: minmax(0, 1fr); } }   /* 4.5: the bills board */
.bills-mp-list { list-style: none; margin: 8px 0; padding: 0; } .bills-mp-list .bills-li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--lv-border); } .bills-mp-tot { margin: 0 0 6px; } .bills-mp-acts { display: flex; gap: 8px; justify-content: flex-end; align-items: center; }   /* 4.6 */
.sx2-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 4px 0 8px; } .sx2-bar__name { margin: 0; font-size: 22px; font-weight: 600; } .sx2-bar__cmp { font-size: 14px; color: var(--lv-ink-2); } .sx2-bar__seg a.lv-seg__item { text-decoration: none; } .sx2-bar__seg a.lv-seg__item.on { background: var(--lv-surface, #fff); color: var(--lv-ink); font-weight: 600; } .sx2-bar__custom summary { cursor: pointer; font-size: 14px; } .sx2-bar__custom[open] { flex-basis: 100%; }   /* 4.2c: the till board's period row */
@media (max-width: 760px) { .sx2-duo { grid-template-columns: minmax(0, 1fr); } }
.rv2-main #rv-v2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .rv2-main #rv-v2 > * { grid-column: 1 / -1; margin: 0; min-width: 0; }
.rv2-main #rv-v2 > [data-testid="rv2-renew"], .rv2-main #rv-v2 > [data-testid="rv2-recur"] { grid-column: auto; }   /* side by side, as the board */
.rv2-main .rv2-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } .rv2-main .rv2-tiles > * { min-width: 0; }
@media (max-width: 760px) { .rv2-main #rv-v2 > [data-testid="rv2-renew"], .rv2-main #rv-v2 > [data-testid="rv2-recur"] { grid-column: 1 / -1; } .rv2-main .rv2-tiles { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1100px) { .rv2-layout { grid-template-columns: minmax(0, 1fr); } .rv2-rail { position: static; order: -1; } }
/* TABLET, group 4 (M 11/14/2026; as vista-financials-tablet.png): Revenues > Overview between 761 and 1100 px is one column -- the period, the
   Ask, the summary, then Needs you full width, then the tiles and the cards (Renewals beside Recurring); nothing moves in the DOM */
@media (min-width: 761px) and (max-width: 1100px) {
  .rv2-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .rv2-layout > .rv2-main, .rv2-layout > .rv2-main > #rv-v2 { display: contents; }
  .rv2-layout > .rv2-main > *, .rv2-layout > .rv2-main > #rv-v2 > * { order: 5; grid-column: 1 / -1; min-width: 0; }
  .rv2-layout > .rv2-main > #rv-v2 > [data-testid="rv2-renew"], .rv2-layout > .rv2-main > #rv-v2 > [data-testid="rv2-recur"] { grid-column: auto; }
  .rv2-layout > .rv2-main > [data-testid="pbar-host"] { order: 1; } .rv2-layout > .rv2-main > [data-testid="rv-ask-slot"] { order: 2; }
  .rv2-layout > .rv2-main > #rv-v2 > [data-testid="rv2-brief"] { order: 3; } .rv2-layout > .rv2-rail { order: 4; grid-column: 1 / -1; }
}
/* REVENUES > COLLECTIONS (revenues-collections.png, 11/12/2026): Needs you at the left, the six weeks and the aging stacked at the right
   (when something needs you); the rest full width; one column under 1100 px. The sections are the children of .rv2-col (revColV2) */
.rv2-col:has(> [data-testid="rv2-needs"]) { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: auto auto auto auto 1fr; gap: 14px; align-items: start; }   /* the head, the brief, the tiles; the six weeks its own height, the aging under it */
.rv2-col:has(> [data-testid="rv2-needs"]) > * { grid-column: 1 / -1; min-width: 0; margin: 0; }
.rv2-col:has(> [data-testid="rv2-needs"]) > [data-testid="rv2-needs"] { grid-column: 1; grid-row: span 2; }
.rv2-col:has(> [data-testid="rv2-needs"]) > [data-testid="rv2-weeks"], .rv2-col:has(> [data-testid="rv2-needs"]) > [data-testid="rv2-age"] { grid-column: 2; }
@media (max-width: 1100px) { .rv2-col:has(> [data-testid="rv2-needs"]) { grid-template-columns: minmax(0, 1fr); } .rv2-col:has(> [data-testid="rv2-needs"]) > * { grid-column: 1 / -1; grid-row: auto; } }
/* rule 4: the six weeks' scale -- ticks at the left, grid lines behind the bars (rv2YAxis: a 144 px baseline, 120 px at the top tick) */
.rv2-bars { position: relative; padding-left: 40px; }
.rv2-bars .rv2-bar { position: relative; z-index: 1; }
.rv2-bars .rv2-bar__t { min-height: 0; height: 16px; line-height: 16px; }
.rv2-grid { position: absolute; left: 40px; right: 0; height: 1px; background: var(--lv-chart-grid); }
.rv2-grid--zero { background: var(--lv-chart-axis); }
.rv2-ytick { position: absolute; left: 0; width: 34px; text-align: right; font-size: 10px; line-height: 12px; color: var(--lv-ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* the reminder draft under the first Needs you card; find; the foot */
.rv2-draft { margin-top: 10px; padding: 10px 12px; border-radius: var(--lv-r-2); background: var(--lv-surface-2, var(--lv-c-grid)); }
.rv2-draft__h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rv2-draft__b { white-space: pre-wrap; margin: 6px 0; font: inherit; font-size: var(--lv-fs-13); }
.rv2-th { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; } .rv2-th > h3 { margin: 0; } .rv2-th > .rv2-sub { margin: 0 0 10px; }
.rv2-find { order: 3; margin-left: auto; min-width: 0; width: 280px; max-width: 100%; padding: 8px 10px; border: 1px solid var(--lv-border); border-radius: var(--lv-r-2); font: inherit; background: var(--lv-surface, transparent); color: inherit; }
.rv2-foot { display: flex; justify-content: flex-end; gap: 16px; flex-wrap: wrap; }
.rv2-needs__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.rv2-need { padding: 10px 12px; border-radius: var(--lv-r-2); border: 1px solid var(--lv-border); }
.rv2-need--open { background: var(--lv-tint-stop); border-color: transparent; }
.rv2-need__t { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.rv2-need__ico { color: var(--lv-chart-alert); }
.rv2-need p { margin: 4px 0 0; }
.rv2-late { color: var(--lv-chart-alert); font-weight: 600; }
.rv2-chip-late { background: var(--lv-tint-due); color: var(--lv-due-text); }
.rv2-bars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; height: 160px; align-items: end; }
.rv2-bar { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; min-width: 0; }
.rv2-bar__v { font-size: var(--lv-fs-12); color: var(--lv-ink-2); white-space: nowrap; }
.rv2-bar__b { display: block; width: 100%; max-width: 48px; background: var(--lv-chart-lagoon); border-radius: var(--lv-r-xs) var(--lv-r-xs) 0 0; }
.rv2-bar__t { font-size: var(--lv-fs-11); color: var(--lv-ink-3); min-height: 1.4em; white-space: nowrap; }
.rv2-age__bar { display: flex; height: 18px; border-radius: var(--lv-r-xs); overflow: hidden; background: var(--lv-c-grid); }
.rv2-age__s { display: block; height: 100%; }
.rv2-age__legend { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: var(--lv-fs-13); }
.rv2-age__k { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.rv2-age--cur { background: var(--lv-c-seq-2); }
.rv2-age--d1 { background: var(--lv-c-due); }
.rv2-age--d31 { background: var(--lv-c-seq-3); }
.rv2-age--d61 { background: var(--lv-c-seq-4); }
.rv2-age--d90 { background: var(--lv-c-seq-6); }
.rv-dl .small { line-height: 1.5; }
/* Settings: the empty line hides once the optional-services card shows (front/app.js settingsPage, 10/17/2026) */
#proc-settings:not([hidden]) ~ #set-empty { display: none; }
/* Breeze's What's changed: an item newer than the person's last look (R's C1, 10/17/2026) */
.bz-new { font-size: 11px; color: var(--accent); margin-right: 4px; }
/* RECURRING OR NOT, BY PRODUCT LINE (72_revenue_products.js): the lines of one customer, each with its product and type; on a phone each line
   stacks -- the invoice and amount, the product at full width, then the type -- so the card never scrolls sideways */
.rv-lines .rv-prod { width: 100%; max-width: 22em; box-sizing: border-box; }
#g-contract-margins .lv-input, #g-contract-margins .lv-select, #rv-contracts .lv-input, #rv-contracts .lv-select { width: auto; max-width: 100%; }   /* the shared field beside its words in the margins form and the renewal cell (Andrew 16:30 UTC 10/30/2026 item 1) */
@media (max-width: 640px) { .rv-lines thead { display: none; } .rv-lines, .rv-lines tbody, .rv-lines tr, .rv-lines td { display: block; width: 100%; box-sizing: border-box; } .rv-lines tr { padding: 8px 0; border-bottom: 1px solid var(--line); } .rv-lines td { text-align: left !important; padding: 2px 0; } .rv-lines .rv-prod { max-width: none; } .rv-lines .rv-prop { display: block; } .rv-lines select { width: 100%; min-height: 44px; } }

/* CONTRACT CAPTURE, THE REVIEW (front/contract_review.js): one column on a phone, two on a desk; a term not in the document muted */
.cc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px 16px; margin: 8px 0; }
@media (min-width: 760px) { .cc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cc-f { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; margin: 4px 0; }
.cc-l { flex: 0 0 10em; font-size: 13px; color: var(--muted); }
.cc-v { display: flex; align-items: center; gap: 4px; flex: 1 1 12em; min-width: 0; }
.cc-v input, .cc-v select { flex: 1 1 auto; min-width: 0; max-width: 100%; }
.cc-why { flex: 1 0 100%; font-size: 12px; }
.cc-none, .cc-none::placeholder, .cc-f input::placeholder { color: var(--muted); font-style: italic; }
.cc-lines-wrap { overflow-x: auto; max-width: 100%; }
.cc-lines input { width: 100%; min-width: 6em; }
.cc-lines th, .cc-lines td, .cc-changed th, .cc-changed td, .cc-preview th, .cc-preview td { padding: 3px 8px; text-align: left; vertical-align: top; }
.cc-wait { padding: 8px 12px; }
.bz-cc-host { flex: 1 0 100%; min-width: 0; max-width: 100%; }
.cc-form { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.cc-changed { width: 100%; }
#g-revenue-cards .lv-input, #g-revenue-cards .lv-select, #g-revenue-register .lv-input, #g-revenue-register .lv-select { width: auto; max-width: 100%; }   /* the shared field beside its words in Plan's two revenue forms, at its own width (ANDREW 16:30 UTC 10/30/2026 item 1; B 10/31/2026) */
/* B-10 slice 3a (the board forecast-plan-opportunity-state.png): the opportunity form in the slide-over -- each label above its field, two columns, one on a phone */
.lv-rev-form { display: flex; flex-direction: column; gap: var(--lv-s-3); }
.lv-rev-type { border: 0; padding: 0; margin: 0; min-width: 0; } .lv-rev-type .lv-seg { margin-bottom: 0; flex-wrap: wrap; border-radius: var(--lv-r-2); }
.lv-rev-f { display: flex; flex-direction: column; gap: 4px; min-width: 0; } .lv-rev-f__l { font-size: var(--lv-fs-13); color: var(--lv-ink-2); padding: 0; margin-bottom: 4px; }
.lv-rev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--lv-s-3); }
.lv-rev-form .lv-input, .lv-rev-form .lv-select { width: 100%; max-width: 100%; box-sizing: border-box; }
.lv-rev-acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--lv-s-2); margin: 0; }
@media (max-width: 480px) { .lv-rev-grid { grid-template-columns: 1fr; } }
:where(.g-plan-grids, .g-plan-costs, [data-testid="cw-rows"], [data-testid="rep-oneoffs"]) input.lv-input, :where(.g-plan-grids, .g-plan-costs, [data-testid="cw-rows"], [data-testid="rep-oneoffs"]) select.lv-select, #cw-new, #rep-oneoff-new { width: auto; max-width: 100%; }   /* the shared field in Plan's and Cash's grid forms at its own width: a grid's own widths (g_plan_grids.css, g_plan_inputs.css, w-Nem, size) still win (ANDREW 16:30 UTC 10/30/2026 item 1; B 10/31/2026; R-PF-2) */

/* STRICT STYLES, STEP 3b (C, queue item 12; docs/design/demo-hardening.md): the app's style="" attributes, moved here file by file until
   style-src-attr can drop 'unsafe-inline'. !important keeps the cascade as the attribute had it: an inline style outranked every rule. */
.ta-l { text-align: left !important; }
.w-full { width: 100% !important; }
.legend i.lg-0 { background: var(--bar-a) !important; }
.legend i.lg-1 { background: var(--bar-b) !important; }
.legend i.lg-2 { background: var(--bar-c) !important; }
.ws-n { white-space: normal !important; }
.ow-any { overflow-wrap: anywhere !important; }
.mt-6 { margin-top: 6px !important; }
.mt-8 { margin-top: 8px !important; }
.mt-18 { margin-top: 18px !important; }
.d-ib { display: inline-block !important; }
.cur-p { cursor: pointer !important; }
.d-block { display: block !important; }
.d-inline { display: inline !important; }
.w-5em { width: 5em !important; }
.w-6em { width: 6em !important; }
.w-7em { width: 7em !important; }
.w-8em { width: 8em !important; }
.w-10em { width: 10em !important; }
.mw-full { max-width: 100% !important; }
.fx-220 { flex: 1 1 220px !important; min-width: 0 !important; }
.demo-gate { max-width: 460px !important; margin: 20vh auto !important; }
.fw-4 { font-weight: 400 !important; }
.fw-6 { font-weight: 600 !important; }
.pos-rel { position: relative !important; }
.cw-7 { width: 7% !important; }
.cw-8 { width: 8% !important; }
.cw-10 { width: 10% !important; }
.cw-11 { width: 11% !important; }
.cw-12 { width: 12% !important; }
.cw-14 { width: 14% !important; }
.cw-16 { width: 16% !important; }
.cw-18 { width: 18% !important; }
.cw-20 { width: 20% !important; }
.cw-22 { width: 22% !important; }
.cw-26 { width: 26% !important; }
.cw-30 { width: 30% !important; }
.cw-34 { width: 34% !important; }
.cw-46 { width: 46% !important; }
.cw-50 { width: 50% !important; }
/* THE CHECK CHIP (release checks §4a; front/rcchip.js): quiet grey when all clear, red CHECK when the figures stop tying. Its list is part
   of the chip, shown on hover and on focus (a tap on a phone) -- never a pop-up, a banner or an email. */
.rc-chip { position: relative; display: inline-flex; align-items: center; font-size: 12px; }
.rc-chip-label { padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; cursor: default; }
.rc-chip-label.rc-check { color: var(--lv-ink-inv); background: var(--lv-due-text); border-color: var(--lv-due-text); font-weight: 700; letter-spacing: .5px; cursor: pointer; }
.rc-chip-label.rc-none, .rc-chip-label.rc-pending, .rc-chip-label.rc-error { border-style: dashed; }
.rc-chip-label.rc-partial { border-style: dashed; }   /* All clear with a check not run (R's C2): never read as passed at a glance */
.rc-detail li > span { display: block; color: var(--ink); }   /* a line the seat cannot open: no link (C's null) */
.rc-detail { display: none; position: absolute; top: calc(100% + 6px); left: 0; z-index: 6; min-width: 280px; max-width: min(560px, 90vw); background: var(--panel);
  border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; box-shadow: 0 4px 16px rgba(0, 0, 0, .12); }
.rc-chip:hover .rc-detail, .rc-chip:focus-within .rc-detail { display: block; }
.rc-detail ul { margin: 0; padding: 0; list-style: none; }
.rc-detail li { padding: 4px 0; border-top: 1px solid var(--line); }
.rc-detail li:first-child { border-top: 0; }
.rc-detail a { color: var(--ink); text-decoration: none; display: block; }
.rc-detail a:hover, .rc-detail a:focus { color: var(--lv-link-hover); text-decoration: underline; }   /* R-DK-3: a link is navy, its hover ink */
.rc-lead { margin: 0 0 4px; font-weight: 600; }
.rc-dated { margin: 6px 0 0; }
@media (max-width: 600px) { .rc-detail { position: fixed; left: 16px; right: 16px; top: 52px; min-width: 0; max-width: none; } }

/* THE SHARE GATE (release checks §4b; front/rcgate.js): said in place of the export, never a pop-up */
.sg { margin-top: 8px; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); }
.sg-stop { border-color: var(--bad); background: var(--bad-soft); }
.sg-ready { border-color: var(--pos); }
.sg p { margin: 0 0 6px; }
.sg ul { margin: 0 0 6px; padding-left: 18px; }
.sg li { margin: 4px 0; }
.sg .sg-meta { display: block; }
.sg details summary { cursor: pointer; display: inline-block; margin: 2px 0 6px; }
.sg textarea { display: block; width: 100%; max-width: 520px; box-sizing: border-box; }
/* THE PERIOD SELECTOR (front/periodsel.js; Andrew 10/13/2026 21:20): the presets, two dates for Custom, the header under them */
.lvp { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-end; margin: 4px 0 6px; }
.lvp label { display: inline-flex; flex-direction: column; gap: 2px; }
.lvp select, .lvp input[type="date"] { min-height: 40px; font: inherit; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink); }
.lvp-custom { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.lvp-custom[hidden] { display: none; }
.lvp-head { margin: 4px 0 12px; line-height: 1.5; }
@media (max-width: 600px) { .lvp label, .lvp-custom label { flex: 1 1 140px; } .lvp select, .lvp input[type="date"] { width: 100%; } }

/* SPEND'S CHARTS (front/spendcharts.js; Andrew 10/13/2026 21:35, rule 7): fixed colours -- this period, the comparison, one per spend
   line, the same on every screen -- light and dark */
:root { --c-this: var(--lv-chart-neutral); --c-cmp: var(--lv-chart-comparison); --sp-cogs: var(--lv-chart-indigo); --sp-labour: var(--lv-chart-magenta); --sp-occupancy: var(--lv-chart-amber); --sp-opex: var(--lv-chart-lagoon); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --c-this: var(--lv-chart-neutral); --c-cmp: var(--lv-chart-comparison); --sp-cogs: var(--lv-chart-indigo); --sp-labour: var(--lv-chart-magenta); --sp-occupancy: var(--lv-chart-amber); --sp-opex: var(--lv-chart-lagoon); } }
/* G Dusk: category colours follow the approved 10/30 order. Q14:08 F5 requires a3:1 fill or existing-width edge
   and a visible label for every filled series, in both themes. */
.lvc .mk.mk-still { cursor: default; }
.lvc .spc-this { fill: var(--c-this); } .lvc .spc-cmp { fill: var(--c-cmp); }
.lvc .spc-cogs { fill: var(--sp-cogs); } .lvc .spc-labour { fill: var(--sp-labour); } .lvc .spc-occupancy { fill: var(--sp-occupancy); } .lvc .spc-opex { fill: var(--sp-opex); }
.spc-title { text-transform: none; letter-spacing: 0; font-size: 16px; color: var(--ink); }
.spc-row { display: flex; gap: 16px; align-items: center; }
.spc-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--muted); margin: 6px 0 0; }
.spc-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.spc-sw-cogs { background: var(--sp-cogs); } .spc-sw-labour { background: var(--sp-labour); } .spc-sw-occupancy { background: var(--sp-occupancy); } .spc-sw-opex { background: var(--sp-opex); }
.lvc .shade { fill: var(--c-this); opacity: .1; }
.lvc .yl { fill: none; stroke-width: 2; } .lvc .yl.spc-this-ln { stroke: var(--c-this); } .lvc .yl.spc-cmp-ln { stroke: var(--c-cmp); stroke-dasharray: 5 4; }
.lvc .spc-this-ln-pt { fill: var(--c-this); } .lvc .spc-cmp-ln-pt { fill: var(--c-cmp); }
.spc-legend i.spc-sw-this { height: 2px; width: 16px; border-radius: 0; background: var(--c-this); vertical-align: 3px; }
.spc-legend i.spc-sw-cmp { height: 2px; width: 16px; border-radius: 0; background: repeating-linear-gradient(90deg, var(--c-cmp) 0 5px, transparent 5px 9px); vertical-align: 3px; }
.spc-legend i.spc-sw-shade { background: var(--c-this); opacity: .25; }
.lvc .band { fill: var(--c-cmp); opacity: .28; }
.lvc path.bspk { fill: none; stroke-width: 1.6; stroke: var(--lv-chart-indigo); } .lvc path.bspk.spc-cogs { stroke: var(--sp-cogs); } .lvc path.bspk.spc-labour { stroke: var(--sp-labour); } .lvc path.bspk.spc-occupancy { stroke: var(--sp-occupancy); } .lvc path.bspk.spc-opex { stroke: var(--sp-opex); }
.lvc .spc-cogs-pt { fill: var(--sp-cogs); } .lvc .spc-labour-pt { fill: var(--sp-labour); } .lvc .spc-occupancy-pt { fill: var(--sp-occupancy); } .lvc .spc-opex-pt { fill: var(--sp-opex); }
.lvc circle.last.out { stroke: var(--lv-chart-ink); stroke-width: 2; }
.spc-rg { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.spc-rg-row { display: grid; grid-template-columns: minmax(120px, 190px) minmax(140px, 1fr) minmax(150px, 230px); gap: 12px; align-items: center; }
.spc-rg-name { font-size: 13px; } .spc-rg-name i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.spc-rg-fig { font-size: 13px; } .spc-flag { font-weight: 600; white-space: nowrap; }
@media (max-width: 600px) { .spc-rg-row { grid-template-columns: 1fr; gap: 2px; padding-bottom: 6px; border-bottom: 1px solid var(--line); } }
.spc-sw-none { background: var(--c-cmp); }
.spc-legend i.spc-sw-rev { height: 2px; width: 14px; border-radius: 0; background: var(--ink); vertical-align: 3px; }
.spc-num { display: flex; flex-direction: column; gap: 2px; min-width: 120px; }
.spc-num b { font-size: 26px; }
.spc-num span { color: var(--muted); font-size: 13px; }
.spc-chart { flex: 1; min-width: 0; }
.spc-inv { margin: 4px 0 0; padding-left: 16px; }
@media (max-width: 600px) { .spc-row { flex-direction: column; align-items: stretch; } .spc-num { flex-direction: row; flex-wrap: wrap; gap: 8px; align-items: baseline; } }
/* RULE 8: one chart at a time on a phone -- the switch shows only there; a laptop sees every chart */
.spc-switch { display: none; margin: 0 0 8px; }
/* VISTA > SPEND, THE BOARD (switch spendBoard; spend-overview.png): the summary as normal text, four tiles, What changed beside Where the money goes */
.sp-sum { padding: 16px 20px; } .sp-sum__l { font-size: 15px; line-height: 1.5; margin: 0; } .sp-sum__l2 { font-size: 15px; line-height: 1.5; margin: 6px 0 0; color: var(--muted); }
.sp-btiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } @media (max-width: 900px) { .sp-btiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sp-good { color: var(--lv-better-text); } .sp-bad { color: var(--lv-worse-text); }
.spc-board__two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; } @media (max-width: 1100px) { .spc-board__two { grid-template-columns: minmax(0, 1fr); } }
.spc-board__two .spc-row { flex-direction: column; align-items: stretch; } .spc-board__two .spc-num { flex-direction: row; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.sp-bills { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; } .sp-bills__t { display: flex; flex-direction: column; gap: 2px; } .sp-bills__t span { color: var(--muted); font-size: 13px; } .sp-bills__a { display: flex; gap: 8px; }
.spc-bsup { margin: 12px 0 0; font-size: 13px; } .spc-bsup__h, .spc-bsup__r { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; } .spc-bsup__h { font-weight: 600; } .spc-bsup__r { border-top: 1px solid var(--line); }
.sp-tables { margin: 16px 0 0; } .sp-tables > summary { cursor: pointer; color: var(--muted); font-size: 13px; }
.spc-mode { margin: 0 0 6px; }
@media (max-width: 600px) { .spc-switch { display: inline-flex; } .spc-card:not(.on) { display: none; } }
/* REVENUES UNDER THE SHARED SELECTOR (switch revPeriod): the selected months read bold in the months table */
#rv-months tr.rv-sel td, #rv-months th.rv-sel, #rv-months td.rv-sel { font-weight: 600; }   /* a row a month, or the months across */
.rv-pct-in { display: none; }
@media (max-width: 600px) { [data-testid="rv-bycust"] .rv-pct { display: none; } [data-testid="rv-bycust"] .rv-pct-in { display: block; } [data-testid="rv-bycust"] table.stmt { font-size: 12px; } [data-testid="rv-bycust"] table.stmt th, [data-testid="rv-bycust"] table.stmt td { padding-left: 4px; padding-right: 4px; } }
/* IN BRIEF AS LINKED PARTS (S3; switch vistaContext): a line is a button -- it reads as a sentence, left-aligned, full width */
.card.note button.brief-l { display: block; width: 100%; text-align: left; padding: 0; font: inherit; line-height: inherit; }
/* TABLES ON A PHONE (the persona walk 10/12/2026, F17; front/app.js stackWide, switch phoneTables): a table wider than its card shows each
   row as a block -- its first cell the row's name, then each figure on its own line with its column's name; nothing scrolls sideways */
@media (max-width: 600px) {
  table.lv-stack, table.lv-stack tbody, table.lv-stack tfoot, table.lv-stack tr, table.lv-stack td, table.lv-stack th { display: block; width: auto; }
  table.lv-stack thead { display: none; }
  table.lv-stack tr { padding: 8px 0; border-bottom: 1px solid var(--line); }
  table.lv-stack td, table.lv-stack tbody th { border: 0; padding: 2px 0; text-align: right; white-space: normal; position: static; }
  table.lv-stack td:first-child, table.lv-stack tbody th:first-child { text-align: left; font-weight: 600; }
  table.lv-stack td[data-label] { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  table.lv-stack td[data-label]::before { content: attr(data-label); color: var(--muted); font-weight: 400; text-align: left; flex: 0 1 auto; }
  table.lv-stack td[data-label]:empty { display: none; }
  table.lv-stack tr.total td, table.lv-stack tfoot td { font-weight: 600; }
  .scroll-x:has(> table.lv-stack) { overflow-x: visible; }
}
/* R-99: a phone invoice keeps every existing cell but groups them into three columns. */
@media (max-width: 600px) {
  .rv-invoice-compact.lv-stack tbody tr:has(> td[data-label]) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px 8px;
  }
  .rv-invoice-compact.lv-stack tbody td {
    min-width: 0;
    text-align: left;
    overflow-wrap: anywhere;
  }
  .rv-invoice-compact.lv-stack tbody td[data-label]:not(:empty) {
    display: block;
  }
  .rv-invoice-compact.lv-stack tbody td[data-label]::before {
    display: block;
    font-size: 0.8em;
  }
}
/* A RECEIPT'S ACCOUNT PICKER ON A PHONE (Q 10/13/2026; Andrew 10/14/2026): on Attention and Receipts, the picker in a receipt's question
   (span.rq-pick) took its longest account name's width, so a phone laid the whole page out wider (461 px at 390) and zoomed it out. The
   picker and the row it sits in shrink to the card; a long name is cut on the closed picker and whole in its list. */
.rq-pick { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 100%; min-width: 0; }
select.acct { max-width: 100%; min-width: 0; text-overflow: ellipsis; }

/* B's forecast screens' rules (b/forecast-plan-s1), from the scripts that wrote them as <style> elements (merge into c/stack-1021) */
/* moved from front/g_cash_hatched.js (it wrote a <style> element, which the policy refuses): */
.fc-hatched td{background:repeating-linear-gradient(45deg,transparent,transparent 4px,rgba(120,120,120,.12) 4px,rgba(120,120,120,.12) 8px)}
/* moved from front/g_cash_scenarios.js (it wrote a <style> element, which the policy refuses): */
.g-scen-table th[scope="row"],.g-scen-table thead th:first-child{position:sticky;left:0;z-index:1;background:var(--bg)}
.g-scen-tiles{display:flex;flex-wrap:wrap;gap:12px}
.g-scen-tiles>div{min-width:160px}
/* moved from front/g_cash_statements.js (it wrote a <style> element, which the policy refuses): */
.g-stm-wide th[scope="row"],.g-stm-wide thead th:first-child{position:sticky;left:0;z-index:1;background:var(--bg);text-align:left}
.g-stm-act{opacity:.85}
.g-stm-head th{text-align:left;padding-top:8px}
.g-stm-sub th{padding-left:var(--lv-s-4,16px);color:var(--lv-ink-2);font-weight:400}   /* audit row 10: "of which due within 12 months" under a debt line */
.g-stm-narrow{display:none}
@media (max-width:600px){.g-stm-wide-wrap{display:none}
.g-stm-narrow{display:block}
}
/* a left-aligned cell without a style="" attribute -- the same rule as C's strict styles step 3b (c/stack-1021), so the merge keeps one
   meaning; !important as the attribute outranked every rule (the Revenue tie and ARR panels, both orientations) */
.ta-l { text-align: left !important; }
/* A 15:18 / ANDREW 13:55 (C 10/29/2026): the 16 px field rule, every page -- iOS Safari zooms the page into a focused field under 16 px and the
   page then pans sideways (never fixed with overflow-x). styles.css loads first and each page's own field rule is later and more specific,
   so this one rule carries !important: a platform rule, not a look. tools/phone-width.js holds every owner page to it in WebKit and Chromium */
@media (max-width: 1023.98px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]),
  select, textarea { font-size: 16px !important; }
  select { max-width: 100%; }   /* at 16 px a select grows with its longest option: never wider than its row (Plan's Volume basis at 360) */
}
/* 6.K5 Risks and opportunities (cashV2): two columns, the Needs you pattern; one column under 640 px */
.fc-rno__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.fc-rno__list { list-style: none; margin: 0; padding: 0; }
.fc-rno__item { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--lv-border); min-width: 0; overflow-wrap: anywhere; }
.fc-rno__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
@media (max-width: 640px) { .fc-rno__cols { grid-template-columns: minmax(0, 1fr); } }

/* ANDREW 10:10 (10/30) item 2, R's row 7.2 (C 10/29/2026): a figure never breaks -- in a wrapping (rv-wrap) table the Net and Share cells stay whole;
   wider than its card at 390 px the table stacks (phoneTables, stackWide) or scrolls inside its .scroll-x, as every stmt table does; nothing on the
   page hides its overflow. Rows 7.3 and 7.4: the inline ⓘ (g_ui.css's .lv-infotip sits in a card's corner; here it sits in the line) and its pop. */
table.stmt.rv-wrap td.rv-fig { white-space: nowrap; }
/* LK-1 / LK-3 (ANDREW 09:15 10/31/2026; C 10/31/2026): a card's ⓘ beside its heading or in its line (front/g_infotip.js places the pop); the
   heading keeps its own name -- the ⓘ sits after it, never inside it */
.lv-cardhead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; }
/* the line's ⓘ is LVGInfotip's inline mode (g_ui.css .lv-infotip--inline, R 09:05 UTC 11/01/2026); the lv-tip-inline spans stay as test hooks, unstyled */
.rd-head > .rd-title { flex: 1; min-width: 0; } .rd-head .rd-title h3 { flex: 0 1 auto; }
.g-scenario-ask .lv-input { width: min(100%, 24em); }   /* R-PF-1 (C 10/31/2026): the shared field, inline beside its label and button */
@media (max-width: 600px) { .g-scenario-ask .lv-btn { margin-top: 8px; } .g-scenario-ask > .small.muted { display: block; margin-top: 4px; } }   /* R-PF-3 (R 20:52, C 10/31/2026): on a phone the button stands apart from its field, the hint on its own line */
/* THE ONE MAILBOX CARD (C 22:12 UTC 11/03/2026, F13-C1..C3, proven on 16 renders at 1440 and 390, EN and PT): its link-buttons are blocks of their own --
   never wrapped into two fragments, never underlined, never over the line above; the switch has its gap; "Connect another mailbox" dashed */
#rc-email a.btn { display: inline-block; text-decoration: none; }
#rc-email .mbx-another { border-style: dashed; }
#rc-email p.warn a.btn { margin-top: 6px; }
#rc-email .lv-row__switch { justify-content: flex-start; gap: 8px; }
/* CASH (13 WEEKS) WITH SCENARIOS (the scenario layer's Cash half; B 11/04/2026; front/g_cash_layer.js): a row per scenario -- its switch and name, when it reaches cash, its effect inside the 13 weeks */
.g-cash-layer__list { list-style: none; margin: 8px 0 0; padding: 0; }
.g-cash-layer__row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2px 16px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--line); }
.g-cash-layer__row label { display: flex; gap: 8px; align-items: baseline; min-width: 0; overflow-wrap: anywhere; }
.g-cash-layer__row > span { min-width: 0; overflow-wrap: anywhere; }
.g-cash-layer__amt { white-space: nowrap; }   /* an amount whole on its line (PT: 2 620 €) */
@media (max-width: 640px) { .g-cash-layer__row { grid-template-columns: minmax(0, 1fr); } }
/* V2a, THE VISTA AS A PERFORMANCE REVIEW (switch vistaReview; front/g_vista_review.js; the 10/31 design §2; C 11/05/2026): the main column
   (the brief's headline, then six summary cards three to a row) and a 372 px rail (Needs you, Set aside for taxes); tablet two to a row
   with a 300 px rail; phone one compact card per row, the figure at the left and the chart at the right. Cards lift on hover or focus. */
.vr { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 20px; align-items: start; margin: 12px 0 20px; }
.vr-main { min-width: 0; }
.vr-brief { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin-bottom: 14px; }
.vr-brief p { margin: 0 0 4px; font-size: 15px; line-height: 1.45; color: var(--ink); } .vr-brief p:last-child { margin-bottom: 0; }
/* SLICE 2, THE MONTH IN BRIEF (Forecast and Vista p.8 cards: the columns two by two; p.9 analysis: a label beside each line; p.6 phone: the
   headline, then Read the brief) */
.vr-mb { padding: 16px 20px; position: relative; } .vr-mb .linkbtn { padding: 0; margin: 0; }   /* a figure reads as a word of its sentence, as #brief-card's */
.vr-mb-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.vr-mb-t { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.vr-mb-chip { font-size: 12px; padding: 2px 8px; border-radius: 999px; color: var(--lv-navy); background: color-mix(in srgb, var(--lv-navy) 10%, transparent); }
/* VB-1 (vistaBoard; set 4 rows 3.3-3.8, 3.26): the bar in one row with the month as its title; PERFORMANCE REVIEW; the footer; the top's
   notes off the Vista (the freshness strip and the changed banner: their words are in Notes and sources) */
.lv-pbar--board { gap: var(--lv-s-2) var(--lv-s-4); }
.lv-pbar--board .lv-pbar__step { border-color: transparent; background: transparent; min-width: 32px; }
.lv-pbar--board .lv-pbar__name { border-color: transparent; background: transparent; padding: 0 var(--lv-s-1); font-size: 24px; font-weight: 600; }
.lv-pbar--board .lv-pbar__caret { margin-left: 6px; font-size: 14px; color: var(--lv-ink-2); }
.lv-pbar--board .lv-pbar__end { margin-left: auto; display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--lv-s-2); }
.vr-pr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.vr-pr .vr-pr-t { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--lv-ink-2); }
.vr-pr .vr-pr-s { font-size: 13px; color: var(--lv-ink-3); }
.vr-pr [data-testid="vr-choose"] { margin-left: auto; }
.vb-foot { margin: 16px 0 0; }
body:has([data-vb-board]) #health, body:has([data-vb-board]) #changed-note:not([data-vb-foot]) { display: none !important; }   /* VB-1b: the notice only at the foot */
.vb-changed-slot .changed-note { margin: 12px 0 0; }
/* VB-1b (6.2b, the phone board p.6): one row -- the month at the left, "vs August ▾" at the right; the views show with the month's picker,
   Compare with under the chip */
/* VB-1c: Compare with as the shared menu (as wide as its text), the list a panel under the bar and a sheet on the phone; the row's end */
.lv-pbar--board .lv-pbar__cmpbtn { display: inline-flex; align-items: center; gap: 6px; min-height: var(--lv-control-h); padding: 0 var(--lv-s-3); border: 1px solid var(--lv-border-strong); border-radius: var(--lv-r-1); background: var(--lv-surface); color: var(--lv-ink); font: inherit; cursor: pointer; }
.lv-pbar--board .lv-pbar__cmpmenu { flex-basis: 100%; margin: 0; padding: var(--lv-s-2); list-style: none; border: 1px solid var(--lv-border); border-radius: var(--lv-r-2); background: var(--lv-surface); box-shadow: var(--lv-sh-2); }
.lv-pbar--board .lv-pbar__cmpmenu[hidden] { display: none; }
.lv-pbar--board .lv-pbar__cmpopt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding: 10px 12px; border-radius: var(--lv-r-1); cursor: pointer; }
.lv-pbar--board .lv-pbar__cmpopt[aria-selected="true"] { background: var(--lv-tint-navy); font-weight: 600; }
.lv-pbar--board .lv-pbar__cmpopt[aria-disabled="true"] { color: var(--lv-ink-3); cursor: default; }
.lv-pbar--board .lv-pbar__cmpwhy { font-size: 12px; color: var(--lv-ink-3); }
.lv-pbar--board .lv-pbar__status { color: var(--lv-ink-2); font-size: 13px; }
[data-vr-board] .vr-stmt-btn { display: none; }   /* the bar's Statements in both views */
.vr-pr { justify-content: flex-start; }   /* R-VB1b-2: PERFORMANCE REVIEW at the left on the phone too */
@media (max-width: 600px) {
  .lv-pbar--board .lv-pbar__cmpmenu { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; max-height: 70vh; overflow-y: auto; border-radius: 16px 16px 0 0; padding: var(--lv-s-3) var(--lv-s-3) calc(var(--lv-s-3) + env(safe-area-inset-bottom)); }
}
.lv-pbar--board .lv-pbar__vs { display: none; }
@media (max-width: 600px) {
  .lv-pbar--board .lv-pbar__name { font-size: 17px; }
  .lv-pbar--board { column-gap: var(--lv-s-2); } .lv-pbar--board .lv-pbar__step { min-width: 20px; }   /* the month and the chip on one row at 390 */
  .lv-pbar--board .lv-pbar__view, .lv-pbar--board .lv-pbar__cmp { display: none; }
  .lv-pbar--board .lv-pbar__vs { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; min-height: 36px; padding: 0 6px; border: 0; border-radius: 999px; background: var(--lv-tint-navy); color: var(--lv-navy); font: inherit; font-size: 13px; }
  .lv-pbar--board:has(.lv-pbar__pick:not([hidden])) .lv-pbar__view { display: flex; flex-basis: 100%; }
  .lv-pbar--board[data-vs-open="1"] .lv-pbar__cmp { display: flex; flex-basis: 100%; }
  .lv-pbar--board .lv-pbar__end { flex-basis: 100%; margin-left: 0; }
}
/* G6 (briefGate): held -- the due tone (R); written -- green, Andrew's word (A 08:5x UTC 11/07/2026) */
.vr-mb-chip--held { color: var(--lv-due-text); background: var(--lv-tint-due); }
.vr-mb-chip--now { color: var(--lv-good); background: var(--lv-tint-teal); }
.vr-mb-wait { margin: 8px 0 0; font-size: 13px; color: var(--lv-ink-2); }   /* the brief's last line (Andrew 11/11/2026) */
.vr-mb .vr-mb-how { margin-left: auto; font-size: 13px; } .vr-mb-i { font-size: 14px; }   /* R-MB-1 */
.vr-mb-howp { border-left: 3px solid var(--line); padding: 2px 0 2px 10px; margin: 0 0 10px; } .vr-mb .vr-mb-howp p { font-size: 13px; color: var(--muted); }
.vr-mb .vr-mb-h { font-size: 15px; line-height: 1.5; font-weight: 400; margin: 0 0 10px; color: var(--ink); }   /* body text, not a heading (Andrew 11/11/2026: "too bold and too large"; desktop as the phone) */
.vr-mb .vr-mb-p { font-size: 15px; color: var(--muted); margin: 0 0 10px; }
.vr-mb-cols { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px 24px; border-top: 1px solid var(--line); padding-top: 10px; margin-bottom: 6px; }
.vr-mb-col h4 { margin: 0 0 2px; font-size: 13px; font-weight: 700; } .vr-mb .vr-mb-col p { font-size: 14px; margin: 0; }
.vr-mb-col[data-k="working"] h4, .vr-mb-col[data-k="opportunity"] h4 { color: var(--lv-good); } .vr-mb-col[data-k="risk"] h4, .vr-mb-col[data-k="notworking"] h4 { color: var(--lv-chart-amber-edge); } .vr-mb-col[data-k="next"] h4 { color: var(--lv-navy); }
.vr-full .vr-mb-cols { grid-auto-flow: row; grid-template-columns: 1fr; } .vr-full .vr-mb-col { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.vr-mb-read { display: none; }
.vr-mb[data-vr-mb-sheet] .vr-mb-read { display: none !important; }   /* the expanded brief (a phone's sheet) is open: no second button */
@media (max-width: 600px) {
  .vr-mb .vr-mb-h { font-size: 15px; } .vr-mb-cols { grid-auto-flow: row; } .vr-mb-cols, .vr-full .vr-mb-col { grid-template-columns: 1fr; gap: 6px; }
  .vr-mb[data-vr-mb="story"] .vr-mb-body { display: none; } .vr-mb[data-vr-mb="story"].open .vr-mb-body { display: block; } .vr-mb[data-vr-mb="story"] .vr-mb-read { display: inline-block; margin-bottom: 4px; }
}
.vr-brief[hidden], .vr-take[hidden] { display: none; } .vr-card[hidden] { display: none; }   /* C-23 (11/16/2026) row 5: .vr-card's display: flex kept a card the ARR read hid (no payload, D45-3) on the board at "…" */ .vr-take p { margin: 0; } .vr-chg { margin-top: 2px; } .vr-more-h { font-size: 13px; color: var(--muted); margin: 4px 0 8px; }
.vr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
/* A SCALE ON EVERY CHART (rule 4): the ticks at the chart's left, top to bottom, evenly spaced -- the chart's scale reaches exactly from the
   first tick to the last */
.vr-ych { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 4px; align-items: stretch; }
.vr-yax { display: flex; flex-direction: column; justify-content: space-between; padding: 0; font: 400 10px/1 var(--lv-font, inherit); color: var(--lv-ink-3, var(--lv-ink-2)); text-align: right; font-variant-numeric: tabular-nums; }
.vr-ych .vr-mini { width: 100%; min-width: 0; }
/* THE SHARED CHART INTERACTION (front/g_chart_touch.js; Andrew's motion order item 4): the period under the pointer at full colour, the
   others at 45%; one label inside the card, placed by transform; a guide on lines; reduced motion: no transitions */
svg[data-lv-pts] { cursor: crosshair; touch-action: pan-y; } svg[data-lv-pts]:focus-visible { outline: 2px solid var(--lv-navy); outline-offset: 2px; }   /* the app's focus ring (world colours stay in the menu's blocks) */
#app:has([data-testid="rv2-weeks"]) #rv-ask { display: none; }
[data-testid="rv2-col-tiles"] .sp-good { color: var(--lv-better-text); } [data-testid="rv2-col-tiles"] .sp-bad { color: var(--lv-worse-text); }   /* Revenues > Collections under revenueV2: no Ask box (revenues-collections.png; Ask is on Overview) */
.rv2-tables { margin: 16px 0 0; } .rv2-tables > summary { cursor: pointer; color: var(--muted); font-size: 13px; }
.lv-ct-dim [data-i] { opacity: .45; transition: opacity 120ms ease-out; } .lv-ct-dim [data-i].is-hot { opacity: 1; }   /* svg and HTML charts */
[data-lv-pts]:not(svg) { cursor: crosshair; touch-action: pan-y; } [data-lv-pts]:not(svg):focus-visible { outline: 2px solid var(--lv-navy); outline-offset: 2px; }
.lv-ct-guide line { stroke: var(--lv-ink-2); stroke-width: 1; stroke-dasharray: 2 2; opacity: 0; } .lv-ct-guide.is-on line { opacity: .7; }
.lv-ct-lab { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity 120ms ease-out; white-space: nowrap; font: 600 11px/1.3 var(--lv-font, inherit); color: var(--lv-ink-inv, #fff); background: var(--lv-ink, #1f2937); border-radius: 6px; padding: 3px 7px; font-variant-numeric: tabular-nums; }
.lv-ct-lab.is-on { opacity: 1; } .lv-ct-lab.is-fading { opacity: 0; transition-duration: 300ms; }
.lv-ct-hidden { opacity: 0; }
/* the load entrance (motion item 4): bars grow from the baseline (a loss bar from its top), staggered 20 ms; a line drawn by a veil scaled
   away; transform only, ease-out; never under reduced motion */
svg.lv-ct-enter [data-i] { transform-box: fill-box; transform-origin: 50% 100%; animation: lv-ct-grow 300ms ease-out both; }
svg.lv-ct-enter [data-i].neg { transform-origin: 50% 0; }
/* Bounded delays for the chart marks, through attributes rather than inline styles. */
svg.lv-ct-enter [data-lv-ct-delay="1"] { animation-delay: 20ms; }
svg.lv-ct-enter [data-lv-ct-delay="2"] { animation-delay: 40ms; }
svg.lv-ct-enter [data-lv-ct-delay="3"] { animation-delay: 60ms; }
svg.lv-ct-enter [data-lv-ct-delay="4"] { animation-delay: 80ms; }
svg.lv-ct-enter [data-lv-ct-delay="5"] { animation-delay: 100ms; }
svg.lv-ct-enter [data-lv-ct-delay="6"] { animation-delay: 120ms; }
svg.lv-ct-enter [data-lv-ct-delay="7"] { animation-delay: 140ms; }
svg.lv-ct-enter [data-lv-ct-delay="8"] { animation-delay: 160ms; }
svg.lv-ct-enter [data-lv-ct-delay="9"] { animation-delay: 180ms; }
svg.lv-ct-enter [data-lv-ct-delay="10"] { animation-delay: 200ms; }
svg.lv-ct-enter [data-lv-ct-delay="11"] { animation-delay: 220ms; }
svg.lv-ct-enter [data-lv-ct-delay="12"] { animation-delay: 240ms; }
svg.lv-ct-enter [data-lv-ct-delay="13"] { animation-delay: 260ms; }
svg.lv-ct-enter [data-lv-ct-delay="14"] { animation-delay: 280ms; }
svg.lv-ct-enter [data-lv-ct-delay="15"] { animation-delay: 300ms; }
svg.lv-ct-enter [data-lv-ct-delay="16"] { animation-delay: 320ms; }
svg.lv-ct-enter [data-lv-ct-delay="17"] { animation-delay: 340ms; }
svg.lv-ct-enter [data-lv-ct-delay="18"] { animation-delay: 360ms; }
svg.lv-ct-enter [data-lv-ct-delay="19"] { animation-delay: 380ms; }
svg.lv-ct-enter [data-lv-ct-delay="20"] { animation-delay: 400ms; }
svg.lv-ct-enter [data-lv-ct-delay="21"] { animation-delay: 420ms; }
svg.lv-ct-enter [data-lv-ct-delay="22"] { animation-delay: 440ms; }
svg.lv-ct-enter [data-lv-ct-delay="23"] { animation-delay: 460ms; }
svg.lv-ct-enter [data-lv-ct-delay="24"] { animation-delay: 480ms; }
@keyframes lv-ct-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.lv-ct-veil { fill: var(--panel, var(--lv-surface, #fff)); transform-box: fill-box; transform-origin: 100% 50%; animation: lv-ct-unveil 400ms ease-out both; }
@keyframes lv-ct-unveil { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { svg.lv-ct-enter [data-i], .lv-ct-veil { animation: none; } .lv-ct-veil { display: none; } }
.vr-card { position: relative; }
@media (prefers-reduced-motion: reduce) { svg.lv-ct-dim [data-i], .lv-ct-lab { transition: none; } }
.vr-yax > span:only-child { margin-top: auto; }   /* one tick (all zero): at the foot */
/* the till's tile cards draw the tile's twelve months in the chart, with the scale: the tile's own sparkline is not drawn twice */
[data-vr-till] .vr-card:is([data-vr-card="tickets"], [data-vr-card="avgticket"], [data-vr-card="ingredients"], [data-vr-card="payroll"]) .vr-head .kspk { display: none; }
[data-vr-till] .vr-mini .vr-line.vr-avgticket { stroke: var(--lv-chart-magenta); } [data-vr-till] .vr-mini .vr-line.vr-ingredients { stroke: var(--lv-chart-lagoon); } [data-vr-till] .vr-mini .vr-line.vr-payroll { stroke: var(--lv-chart-olive); }
.vr-usual-band { fill: var(--lv-c-cat-1); opacity: .12; }   /* the usual range behind Operating expenses' line (the board's shading) */
/* THE FOUR ROWS (desktop rule 4): a named row of three; cards 204 px tall, the chart at the foot so a row's charts align */
.vr-grid.vr-rows { display: block; }
.vr-row { margin: 0 0 18px; } .vr-row-h { margin: 0 0 8px; font: 600 12px/1.4 var(--lv-font, inherit); letter-spacing: .06em; text-transform: uppercase; color: var(--lv-ink); }
.vr-row-h .vr-row-t { text-transform: none; letter-spacing: 0; font-weight: 400; margin-left: 6px; }
.vr-row-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.vr-rows .vr-card { position: relative; }   /* C-27 item 2 (Andrew 21:01 UTC 11/18/2026): no room kept under the chart (C-23's 50 px for a takeaway, retired with it) -- the chart ends at its x labels; the row's grid keeps the cards one height */ .vr-rows .vr-card .vr-chart { margin-top: auto; display: flex; flex-direction: column; justify-content: flex-end; }
.vr-rows .vr-card .vr-svgb { display: none; } .vr-rows .vr-card .vr-rb { display: block; width: 100%; } .vr-rows .vr-card .vr-chart:has(.vr-rb) { align-self: stretch; justify-content: flex-start; } .vr-rows .vr-card .vr-rb-r { position: relative; height: 16px; margin: 0 0 2px; } .vr-rows .vr-card .vr-rb-s { position: absolute; left: 0; top: 0; width: 100%; height: 100%; } .vr-rows .vr-card .vr-rb-s rect { fill-opacity: .28; } .vr-rows .vr-card .vr-rb-s .vr-hb, .vr-rows .vr-card .vr-rb-s .vr-rb-oth { fill: var(--lv-chart-amber-bar); } .vr-rows .vr-card .vr-rb-l { position: relative; display: flex; gap: 8px; align-items: baseline; justify-content: space-between; padding: 0 4px; font-size: 13px; line-height: 16px; } .vr-rows .vr-card .vr-rb-n { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .vr-rows .vr-card .vr-rb-v { flex: none; font-weight: 600; font-variant-numeric: tabular-nums; }   /* C-28 item 6 (Andrew 21:34 UTC 11/18/2026: Supplier invoices "too small", "not aligned"): the named amounts as 13 px rows at the card's width on the board, as the phone's (item 14) */
.vr-rows .vr-card .vr-b6 { display: none; } .vr-rows .vr-card .vr-b4 { display: block; }   /* C-27 item 5: the four-step bridge on the board's card -- no y axis to crowd its first bar, each bar carries its figure; a wider panel (the pop-up) keeps the steps */
@media (max-width: 1100px) { .vr-row-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .vr-row-cards { grid-template-columns: minmax(0, 1fr); gap: 10px; } .vr-rows .vr-card { min-height: 94px; } }   /* a narrow desk window: one column, as the grid was */
.vr-grid-head { display: flex; justify-content: flex-end; margin: 0 0 6px; }   /* V2b-2: Choose cards */
.vr-card.vr-open { cursor: pointer; }
/* VB-2a (set 4 rows 3.9-3.11): the board's card -- a chevron at the right of the label, the figure and its change on one line */
[data-vr-board="cards"] .vr-card { position: relative; } [data-vr-board="cards"] .vr-card.vr-open .vr-head .label { padding-right: 18px; }
/* SET 5, THE SCORECARD (front/g_kpi_scorecard.js; switch kpiScorecard): the board's groups -- four cards a row at 1440, two at 1024, one at 390 */
.sc-choose-dlg { border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; max-width: 520px; width: calc(100% - 32px); } .sc-choose h2 { margin: 0 0 8px; font-size: 16px; } .sc-choose__g { border: 0; padding: 0; margin: 0 0 10px; } .sc-choose__g legend { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); } .sc-choose__i { display: block; padding: 3px 0; } .sc-choose__acts { margin-top: 10px; }
.sc-acts { float: right; display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }   /* kpis-scorecard's head row */
@media print { body.print-sc * { visibility: hidden; } body.print-sc #kpis-body, body.print-sc #kpis-body * { visibility: visible; } body.print-sc #kpis-body { position: absolute; left: 0; top: 0; width: 100%; font-size: 11px; } body.print-sc .sc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; } body.print-sc .sc-card { padding: 6px 8px; break-inside: avoid; } body.print-sc .sc-svg { height: 24px; } }
.sc-toggle { margin: 4px 0 10px; }
.sc-toggle a.lv-seg__item { display: inline-flex; align-items: center; text-decoration: none; }
.sc-toggle a.lv-seg__item[aria-current="page"] { background: var(--lv-surface); color: var(--lv-ink); box-shadow: var(--lv-sh-1); } .sc-group { margin: 18px 0 6px; } .sc-gh { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 6px; margin: 0 0 10px; }
.sc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } @media (max-width: 1100px) { .sc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 640px) { .sc-grid { grid-template-columns: minmax(0, 1fr); } }
.sc-line { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 32%); gap: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 6px 0 14px; }   /* kpis-scorecard: the one line, the watch list beside it */
.sc-line__h { margin: 0; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); } .sc-line__t { margin: 6px 0 0; font-size: 15px; } .sc-line__watch { border-left: 1px solid var(--line); padding-left: 16px; } .sc-watch-h { margin: 0 0 4px; font-weight: 600; color: var(--lv-c-due); } .sc-watch-l { margin: 0 0 4px; font-size: 14px; }
@media (max-width: 767.98px) { .sc-line { grid-template-columns: 1fr; } .sc-line__watch { border-left: 0; padding-left: 0; } }
.sc-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; min-width: 0; } .sc-card.sc-flag { border-left: 4px solid var(--lv-c-due); }
.sc-h { display: flex; align-items: baseline; gap: 6px; } .sc-name { font-size: 13px; color: var(--muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-chip { font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0 6px; white-space: nowrap; } .sc-i { margin-left: auto; color: var(--muted); text-decoration: none; }
/* C audit 11/19 VA-4, KP-3 (v2 acceptance: touch targets >= 44 px under 1024): a card's "—" link (20×24 at 390) and the scorecard's ⓘ (14×20) get a 44 px hit area -- padding taken back by a negative margin, so nothing around them moves */
@media (max-width: 1023px) { .vr-dash { display: inline-block; padding: 10px 12px; margin: -10px -12px; } .sc-i { display: inline-block; padding: 12px 15px; margin: -12px -15px -12px auto; } }
.sc-v { font-size: 22px; font-weight: 600; color: var(--ink); margin-top: 2px; } .sc-chg { font-size: 13px; font-weight: 600; color: var(--muted); } .sc-chg.sc-better { color: var(--lv-better-text); } .sc-chg.sc-worse { color: var(--lv-worse-text); }
.sc-chart { margin-top: 6px; } .sc-svg { width: 100%; height: 44px; display: block; overflow: visible; } .sc-svg polyline { stroke: var(--lv-chart-indigo); stroke-width: 2; vector-effect: non-scaling-stroke; }
.sc-svg .sc-dot { stroke: var(--lv-chart-indigo); stroke-width: 7; stroke-linecap: round; fill: none; }
.sc-ends, .sc-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); } .sc-ends b { color: var(--ink); font-weight: 600; }
/* a scale on every chart (desktop rule 4): the ticks at the line's left, evenly spaced; the ends and the dates under the line, not the ticks */
.sc-ych { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 4px; align-items: stretch; }
.sc-yax { display: flex; flex-direction: column; justify-content: space-between; min-width: 28px; font: 400 10px/1 var(--lv-font, inherit); color: var(--lv-ink-3, var(--muted)); text-align: right; font-variant-numeric: tabular-nums; }
.sc-chart:has(.sc-ych) > .sc-ends, .sc-chart:has(.sc-ych) > .sc-axis { margin-left: 32px; }   /* C-22(a) */
.sc-why { font-size: 12px; color: var(--lv-c-due); margin-top: 2px; }   /* R-SC-7 */
.sc-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }   /* Q-SC-1: a rate's count under it */
.sc-nm ul { list-style: none; padding: 0; margin: 0; } .sc-nm li { padding: 6px 0; border-bottom: 1px solid var(--line); } .sc-foot { margin-top: 16px; }
.vr-chev { position: absolute; top: 10px; right: 12px; color: var(--muted); font-size: 18px; line-height: 1; }
.vr-fig { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 8px; margin-top: 2px; } .vr-fig .value { margin-top: 0; } .vr-fig .value.neg { color: var(--lv-worse-text); }
/* VB-2b (rows 3.12-3.15): the board's chart words in HTML; the cash tile's label, sparkline and "vs" line, and the ARR tile's sparkline, give way to the card's */
[data-vr-board="cards"] .vr-card[data-vr-card="cash"] .vr-head .tile > .label, [data-vr-board="cards"] .vr-card[data-vr-card="cash"] .vr-head .kspk, [data-vr-board="cards"] .vr-card[data-vr-card="cash"] .vr-head .cmp,
[data-vr-board="cards"] .vr-card[data-vr-card="sixth"] .vr-head .kspk { display: none; }
[data-vr-board="cards"] .vr-mini { overflow: visible; } .vr-mini .vr-dot { stroke: var(--lv-c-cash); stroke-width: 7; stroke-linecap: round; fill: none; }
.vr-mini .vr-arr, .vr-mini[data-vr-chart="sixth"] .vr-dot { stroke: var(--lv-chart-lagoon); } .vr-mini .vr-area { fill: var(--lv-chart-lagoon); fill-opacity: .14; stroke: none; }   /* VB-2c: a Dusk chart token (g-dusk-palette-test) */
.vr-mini .vr-costs, .vr-mini[data-vr-chart="revcost"] .vr-dot { stroke: var(--lv-chart-amber); }
.vr-ends, .vr-bl { display: flex; justify-content: space-between; gap: 6px; font-size: 11px; color: var(--muted); margin-top: 2px; } .vr-ends b { color: var(--ink); font-weight: 600; }
.vr-bl { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); text-align: center; color: var(--ink); font-weight: 600; } .vr-bl span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vr-bn { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; font-size: 11px; color: var(--muted); text-align: center; margin-top: 1px; } .vr-bn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }   /* R-VB2-1 */
.vr-usual { font-size: 13px; color: var(--muted); margin-top: 1px; }   /* VB-3 (3.19) */
/* SET 6, THE ACTION CARD (front/g_action_card.js; switch actionCards): an icon by kind in a tinted circle, the title, the evidence, up to two actions */
/* the phone's tone line on the desk's action cards (Andrew 11/12/2026): the phone's own tokens (front/g_mobile.css .lvm-need--*) */
.ac-k { display: flex; align-items: center; gap: 6px; margin: 0 0 2px; font: 600 var(--lv-fs-12, 12px)/1.3 var(--lv-font, inherit); color: var(--lv-ink-2); }
.ac-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lv-c-cat-1); flex: none; }
.ac-k--stop { color: var(--lv-c-stop); } .ac-k--stop .ac-dot { background: var(--lv-c-stop); }
.ac-k--due { color: var(--lv-due-text); } .ac-k--due .ac-dot { background: var(--lv-c-due); }
.ac-k--opp { color: var(--lv-c-better); } .ac-k--opp .ac-dot { background: var(--lv-c-better); }
.ac-k--question { color: var(--lv-c-cat-1); } .ac-k--question .ac-dot { background: var(--lv-c-cat-1); }   /* Question: indigo (desktop rule 5) */
.ac-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; } .ac { display: flex; gap: 10px; align-items: flex-start; }
.ac-ico { flex: 0 0 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; }
.ac-ico--late { background: var(--lv-tint-stop); color: var(--lv-chart-alert); } .ac-ico--contract, .ac-ico--tax, .ac-ico--concentration { background: var(--lv-tint-due); color: var(--lv-due-text); } .ac-ico--cash { background: var(--lv-tint-navy); color: var(--lv-navy); } .ac-ico--questions { background: var(--lv-tint-blue); color: var(--lv-chart-indigo); }
a.lv-btn, a.lv-btn:hover, a.lv-btn:focus, a.lv-btn:focus-visible { text-decoration: none; }   /* AC-R6 (R): no underline; the focus ring is the button's own */
.ac-urgent { font-weight: 400; text-transform: none; letter-spacing: normal; }   /* AC-R3 */
.ac-body { min-width: 0; } .ac-t { margin: 0; font-weight: 600; } .ac-t-l { color: inherit; text-decoration: none; } .ac-t-l:hover, .ac-t-l:focus-visible { text-decoration: underline; } .ac-e { margin: 2px 0 0; } .ac-acts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; } .ac-why { flex-basis: 100%; }
[data-vr-board="cards"] .vr-card[data-vr-card="runway"] .vr-head .tile { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; }   /* VB-2e (3.13): "9 months to 06/2027", one line */
[data-vr-board="cards"] .vr-card[data-vr-card="runway"] .vr-head .tile > .label { flex-basis: 100%; }
.vr-from { display: none; }   /* the card contract: the axis's ticks say where it starts */
/* THE REVIEW CARD CONTRACT (Andrew 11/13/2026): one skeleton for every card -- label 13 / KPI 22 bold (the only bold) / one variance line 13 /
   a chart of one height anchored above the takeaway strip (every x axis on the same line) / one takeaway 12; no subnotes, legends or end-figure rows */
.vr-rows .vr-card .vr-head .label, .vr-rows .vr-card .vr-blab { font-size: 13px; font-weight: 400; color: var(--muted); }
.vr-rows .vr-card .value { font-size: 22px; font-weight: 600; line-height: 1.2; }
.vr-rows .vr-card .vr-chg, .vr-rows .vr-card .vr-chg-in, .vr-rows .vr-card .vr-fig-w, .vr-rows .vr-card .cmp, .vr-rows .vr-card [data-testid="vr-collections-due"] { font-size: 13px; font-weight: 400; }
.vr-rows .vr-card b, .vr-rows .vr-card strong, .vr-rows .vr-ends b, .vr-rows .vr-bl { font-weight: 400; }
.vr-rows .vr-card .vr-head p:not([data-testid="vr-collections-due"]):not([data-testid="vr-whopays-inv12"]):not([data-testid="vr-suppliers-docs"]), .vr-rows .vr-card [data-testid="vr-head-note"], .vr-rows .vr-card .vr-legend, .vr-rows .vr-card .vr-ends, .vr-rows .vr-card .why { display: none; }
.vr-rows .vr-card .vr-head [data-testid="vr-collections-due"] { margin: 0; }   /* C-27 item 6: on the figure's row; the worse colour by its class (vr-worse) when something is past due */
.vr-rows .vr-card .vr-mini { height: 80px; } .vr-rows .vr-card .vr-chart { margin-top: auto; } .vr-rows .vr-card .vr-axis, .vr-rows .vr-card .vr-bn { display: grid; height: 14px; margin-top: 2px; }
.vr-rows .vr-card .vr-axis { display: flex; } .vr-rows .vr-card [data-kpi] .cmp { display: none; }   /* the card contract: the card's one variance line (data-vr-chg), not the tile's "vs <value>" */ .vr-rows .vr-card [data-kpi] .kspk, .vr-rows .vr-card [data-kpi] .spark { display: none; }   /* a tile's bare sparkline: the card draws the chart */
.vr-rows .vr-card .vr-chart { position: relative; } .vr-rows .vr-card svg.vr-hbars { margin-bottom: 16px; }   /* the card contract, part 4: one row under every plot, so every x axis is on one line */
.vr-rows .vr-card .vr-lk, .vr-rows .vr-card .vr-nyet, .vr-rows .vr-card [data-testid="vr-empty"] { display: block; margin: 2px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }   /* C-26 item 16 on the desk (A 12:47): one line under the figure */ .vr-off-at span { font-weight: 600; color: var(--ink); }   /* C-26 item 15: a point off the scale, its figure at the plot's top edge (R-104: no line under the chart) */ .vr-plot { position: relative; min-width: 0; } .vr-plot .vr-mini { width: 100%; display: block; }
.vr-bl.vr-bl--at { display: block; position: absolute; inset: 0; margin: 0; pointer-events: none; font-weight: 400; } .vr-bl--at span { position: absolute; transform: translate(-50%, calc(-100% - 2px)); white-space: nowrap; overflow: visible; font-size: 11px; }
.vr-bl--at span[data-vr-at-below] { transform: translate(-50%, 2px); } .vr-bl--at span[data-vr-at-side="l"] { transform: translate(calc(-100% - 3px), 0); } .vr-bl--at span[data-vr-at-side="r"] { transform: translate(3px, 0); } .vr-val-at span { font-weight: 600; color: var(--ink); }   /* C-23 (11/16/2026) rows 7 and 9: beside a tall bar's top, inside the plot */   /* a fall: its figure under its foot */ .vr-fig-w { font-size: 13px; color: var(--muted); }
.vr-chg-in { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; } .vr-chg-in.vr-better { color: var(--lv-better-text); } .vr-chg-in.vr-worse { color: var(--lv-worse-text); }
.vr-legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); margin: 0 0 4px; } .vr-legend span { display: inline-flex; align-items: center; gap: 5px; }   /* RC-1: what the bars and the line are */
.vr-sw { display: inline-block; width: 10px; height: 10px; } .vr-sw-bar { background: var(--lv-chart-indigo); } .vr-sw-line { height: 2px; width: 14px; background: var(--lv-chart-amber); }
.vr-d-months { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; } .vr-d-months th, .vr-d-months td { text-align: right; padding: 5px 4px; border-bottom: 1px solid var(--line); } .vr-d-months th:first-child, .vr-d-months td:first-child { text-align: left; } .vr-d-months th { font-weight: 700; }
[data-testid="lvm-12mo-open"] { cursor: pointer; }
.vr-detail .vr-d-fig { font-size: 15px; margin: 0 0 8px; } .vr-detail .vr-d-fig b { font-size: 22px; }   /* V2b-3b: the card's detail */
.vr-detail .vr-d-step h4 { margin: 12px 0 4px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 14px; }
.vr-detail ul { list-style: none; margin: 0; padding: 0; } .vr-detail li { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 4px 0; border-bottom: 1px solid var(--line); }   /* R-VD-1: each amount on its name's baseline (the link is 32 px tall) */
.vr-detail .vr-d-amt { white-space: nowrap; font-variant-numeric: tabular-nums; }   /* V2b-3a: the card opens its page or its drill */
.vr-choose-list { list-style: none; margin: 0 0 8px; padding: 0; max-height: 60dvh; overflow-y: auto; }
.vr-choose-list li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.vr-choose-move .linkbtn { min-width: 32px; min-height: 32px; }
.vr-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 174px; display: flex; flex-direction: column;
  box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 6px 16px rgba(16,24,40,.05); }
/* THE LIFT (Andrew's motion order, item 1, 11/12/2026): ONE card hover, the Performance review cards' own enlarge moved here unchanged --
   translateY(-2px) scale(1.03) over 180 ms ease-out, the shadow 0 16px 34px .15 + 0 3px 8px .06, the border #C8D6EE -- and used by the review
   cards, the Needs you action cards (front/g_action_card.js) and the month in brief. Motion is transform and opacity only: the shadow and the
   border tint live on ::after and fade in (opacity), so nothing repaints the layout. Hover (a pointer that hovers) and keyboard focus; the card
   rises above its neighbours (z-index) and pushes nothing (a transform). A card with no action tints its border to the world's colour. Touch: a
   press scales to 0.98 and springs back. Reduced motion: no transform, no transition -- the border and shadow still show, at once. */
.lv-lift { --lv-lift-scale: 1.03; --lv-lift-y: -2px; --lv-lift-dur: 180ms; --lv-lift-press: .98; --lv-lift-shadow: 0 16px 34px rgba(16,24,40,.15), 0 3px 8px rgba(16,24,40,.06);
  --lv-lift-border: var(--lv-world-vista); position: relative; transition: transform var(--lv-lift-dur) ease-out; }
.lv-lift.vr-open, .lv-lift.ac { --lv-lift-border: #C8D6EE; }   /* a card that opens something keeps the review's own border */
.lv-lift::after { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 1px solid var(--lv-lift-border); box-shadow: var(--lv-lift-shadow); opacity: 0; pointer-events: none; transition: opacity var(--lv-lift-dur) ease-out; }
.lv-lift.ac::after { inset: 0; border: 0; outline: 1px solid var(--lv-lift-border); outline-offset: 6px; border-radius: 10px; }   /* the action card has no box of its own: the frame sits around it -- an outline, never scrollable overflow */
.lv-lift:focus { outline: none; } .lv-lift:focus-visible { outline: 2px solid var(--lv-world-vista); outline-offset: 2px; }
.lv-lift:focus-visible, .lv-lift:has(:focus-visible) { z-index: 2; transform: translateY(var(--lv-lift-y)) scale(var(--lv-lift-scale)); }
.lv-lift:focus-visible::after, .lv-lift:has(:focus-visible)::after { opacity: 1; }
@media (hover: hover) { .lv-lift:hover { z-index: 2; transform: translateY(var(--lv-lift-y)) scale(var(--lv-lift-scale)); } .lv-lift:hover::after { opacity: 1; } }
@media (hover: hover) { .vr-card.lv-lift:hover { --lv-lift-shadow: 0 20px 40px rgba(16,24,40,.23), 0 4px 10px rgba(16,24,40,.12); } }
@media (hover: none) { .lv-lift:active { transform: scale(var(--lv-lift-press)); } }
@media (prefers-reduced-motion: reduce) { .lv-lift, .lv-lift::after { transition: none; } .lv-lift:hover, .lv-lift:active, .lv-lift:focus-visible, .lv-lift:has(:focus-visible) { transform: none; } }
.vr-card.vr-linked { outline: 2px solid var(--lv-world-vista); outline-offset: 2px; }   /* a figure in the brief that opens this card is under the pointer */
/* THE MONTH IN BRIEF IN MOTION (the order's item 3): its left bar in the world's colour, 4 px, 6 px under the lift (scaleX, no layout); on the
   first draw of a page load (vr-mb--in, set once by wireBrief) the card fades in and rises 8 px (240 ms), the bar draws top to bottom (320 ms),
   the lines follow 60 ms apart, then Working, Risk, Opportunity (and Look next) 80 ms apart -- all done by 680 ms; opacity and transform only,
   the text never display:none or visibility:hidden. A new period or comparison: a 200 ms fade only (vr-mb--swap). */
.vr-mb::before { content: ''; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 6px; border-radius: 12px 0 0 12px; background: var(--lv-world-vista); transform: scaleX(.6667); transform-origin: left top; transition: transform 180ms ease-out; pointer-events: none; }
.vr-mb[data-vr-mb-sheet]::before { content: none; }
@media (hover: hover) { .vr-mb.lv-lift:hover::before { transform: scaleX(1); } } .vr-mb.lv-lift:has(:focus-visible)::before { transform: scaleX(1); }
@keyframes lv-mb-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes lv-mb-bar { from { transform: scaleX(.6667) scaleY(0); } to { transform: scaleX(.6667) scaleY(1); } }
@keyframes lv-mb-line { from { opacity: 0; transform: translateY(4px); } }
@keyframes lv-mb-swap { from { opacity: .3; } }
.vr-mb.vr-mb--in { animation: lv-mb-in 240ms ease-out backwards; } .vr-mb.vr-mb--in::before { animation: lv-mb-bar 320ms ease-out backwards; }
.vr-mb--in .vr-mb-top, .vr-mb--in .vr-mb-h { animation: lv-mb-line 200ms ease-out 60ms backwards; } .vr-mb--in .vr-mb-p, .vr-mb--in .vr-mb-read { animation: lv-mb-line 200ms ease-out 120ms backwards; }
.vr-mb--in .vr-mb-lines, .vr-mb--in .vr-mb-wait { animation: lv-mb-line 200ms ease-out 180ms backwards; }
.vr-mb--in .vr-mb-col { animation: lv-mb-line 200ms ease-out 240ms backwards; } .vr-mb--in .vr-mb-col:nth-child(2) { animation-delay: 320ms; } .vr-mb--in .vr-mb-col:nth-child(3) { animation-delay: 400ms; } .vr-mb--in .vr-mb-col:nth-child(4) { animation-delay: 480ms; }
.vr-mb.vr-mb--swap { animation: lv-mb-swap 200ms ease-out; }
@media (prefers-reduced-motion: reduce) { .vr-mb.vr-mb--in, .vr-mb.vr-mb--in::before, .vr-mb--in *, .vr-mb.vr-mb--swap { animation: none; } .vr-mb::before { transition: none; } }
.vr-bf { border-left-color: var(--lv-world-vista); } .bf-lis.on { background: var(--lv-world-vista); } .bf-line.reading { background: color-mix(in srgb, var(--lv-world-vista) 7%, transparent); }   /* BF-1 / BF-4: The Monthly's bar, Listen while reading, the line read -- the brief's world colour, here with the month in brief's (navWorlds rule) */
/* END OF THE LIFT (tools/c-nav-worlds.js reads the world colour as at home between THE LIFT and this line) */
.vr-head .tile { display: block; border: 0; box-shadow: none; background: transparent; padding: 0; margin: 0; min-height: 0; color: inherit; text-decoration: none; }
.vr-head .label { font-size: 13px; color: var(--muted); }
.vr-head .value { font-size: 22px; font-weight: 600; color: var(--ink); margin-top: 2px; }
.vr-chart { flex: 1; margin-top: 8px; min-height: 64px; }
.vr-mini { width: 100%; height: 64px; display: block; }
/* THE CARD CHARTS IN DUSK (A 14:10 UTC 11/06/2026; docs/design/vista/mockups/vista-review-desktop.png; front/g_brand.css's chart tokens):
   a month's columns indigo, the period's own month solid; a bridge's ends neutral (cash's the comparison tone), a step up lagoon (better,
   money in), a step down violet (worse) -- amber with its edge for money out; lines in the comparison tone, the minimum an alert dash;
   costs amber, ARR lagoon, payroll olive; the age buckets amber past due; supplier bars amber. Data paint only (tools/g-dusk-palette-test.cjs). */
.vr-mini .vr-col { fill: var(--lv-chart-indigo); fill-opacity: .32; }
.vr-mini .vr-col.cur { fill-opacity: 1; }
.vr-mini .vr-col.neg { fill: var(--lv-chart-loss); fill-opacity: .55; } .vr-mini .vr-col.neg.cur { fill-opacity: 1; }
.vr-mini .vr-col.total { fill: var(--lv-chart-neutral); fill-opacity: 1; }
.vr-mini .vr-col.up { fill: var(--lv-chart-lagoon); fill-opacity: 1; }
.vr-mini[data-vr-chart="cash"] .vr-col.total { fill: var(--lv-c-cash); }   /* R 15:4x: VistaGrid's navy */
.vr-mini[data-vr-chart="cash"] .vr-col.neg { fill: var(--lv-chart-amber); fill-opacity: 1; stroke: var(--lv-chart-amber-edge); stroke-width: 1; }
.vr-mini .vr-line { stroke: var(--lv-chart-comparison); stroke-width: 2; }
.vr-mini[data-vr-chart="revcost"] .vr-line { stroke: var(--lv-chart-amber); }
.vr-mini[data-vr-chart="sixth"] .vr-line { stroke: var(--lv-chart-lagoon); }
.vr-mini .vr-min { stroke: var(--lv-c-due); stroke-width: 1.5; stroke-dasharray: 4 3; }   /* R-MK-1: a due-mark dash, never red */
.vr-mini .vr-zone { fill: var(--lv-chart-alert-soft); }
.vr-mini[data-vr-chart="runway"] .vr-line { stroke: var(--lv-c-cash); }
.vr-mini[data-vr-chart="collections"] .vr-col { fill: var(--lv-c-due); fill-opacity: 1; stroke: none; }   /* R 15:4x: past due is the due mark; amber is money out */
.vr-mini[data-vr-chart="collections"] .vr-col:first-of-type { fill: var(--lv-chart-indigo); fill-opacity: .32; stroke: none; }
.vr-mini[data-vr-chart="suppliers"] .vr-col { fill: var(--lv-chart-amber); fill-opacity: 1; stroke: var(--lv-chart-amber-edge); stroke-width: 1; }
.vr-card[data-vr-card="payroll"] .kspk path.spk { stroke: var(--lv-chart-olive); }
/* SLICE 3a (A 14:10 UTC 11/06/2026; the canvas board): a month series' axis and last value; the suppliers as named bars */
.vr-chart { position: relative; }
.vr-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 2px; }
.vr-val { position: absolute; right: 0; top: -14px; font-size: 11px; font-weight: 600; color: var(--ink); }
.vr-mini.vr-hbars { height: auto; }
.vr-mini.vr-hbars .vr-hb { fill: var(--lv-chart-amber); fill-opacity: .45; stroke: var(--lv-chart-amber-edge); stroke-width: .5; }
.vr-mini.vr-hbars .vr-hb.top { fill-opacity: 1; }
.vr-mini.vr-hbars text { fill: var(--lv-chart-axis); font-size: 10px; }
/* SLICE 4a, FULL ANALYSIS (page 9): the switch, Key figures, What moved, the 12 months -- data paint in the Dusk tokens */
.vr-fa { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin: 0 0 10px; font-size: 14px; font-weight: 600; }
.vr-switch { width: 40px; height: 22px; border-radius: 11px; border: 0; background: var(--line); position: relative; cursor: pointer; padding: 0; }
.vr-switch span { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--panel); transition: left .15s; }
.vr-switch[aria-checked="true"] { background: var(--lv-navy); } .vr-switch[aria-checked="true"] span { left: 21px; }
.vr-full .vr-sec { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; }
.vr-sec-h { margin: 0 0 10px; font-size: 15px; }
/* SLICE 4b (R-FA-1..4, Forecast and Vista p.9): the switch left with Statements at the right; each bridge's head and chip; round ticks; the
   drivers under the bridges; the 12 months' sentence; the analysis ends at the 12 months until Statements is tapped */
[data-vr-board] .vr-fa { justify-content: flex-start; }   /* VB-1: the Full analysis switch at the left in both views (Andrew's item 10) */
.vr-full .vr-fa { justify-content: flex-start; } .vr-full .vr-fa .vr-stmt-btn { margin-left: auto; font-weight: 400; }
.vr-bh { margin: 0 0 6px; font-size: 14px; color: var(--muted); }
.vr-chip { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: 12px; color: var(--ink); background: color-mix(in srgb, var(--lv-chart-neutral) 18%, transparent); }
.vr-chip.good { color: var(--lv-good); background: color-mix(in srgb, var(--lv-chart-lagoon) 16%, transparent); } .vr-chip.bad { color: var(--bad); background: color-mix(in srgb, var(--lv-chart-loss) 14%, transparent); }
.vr-big .vr-grid { stroke: var(--lv-chart-grid); stroke-width: 1; } .vr-big .vr-tk { font-size: 10px; }
.vr-dl { margin-top: 10px; font-size: 14px; } .vr-dh { display: flex; justify-content: space-between; gap: 8px; }
.vr-dl ul { list-style: none; margin: 4px 0 0; padding: 0 0 0 12px; } .vr-dl li { display: flex; gap: 6px; align-items: baseline; padding: 2px 0; } .vr-dl li .vr-dl-v { margin-left: auto; }
.vr-dl-v { font-variant-numeric: tabular-nums; white-space: nowrap; } .vr-dl .linkbtn { padding: 0; margin: 0; text-align: left; }
.vr-say { margin: 0 0 8px; font-size: 14px; } .vr-foot { margin: 6px 0 0; text-align: right; }
#app:has(.vr-full):not(.vr-stmt-open) .statements, #app:has(.vr-full):not(.vr-stmt-open) .stmt-tabs, #app:has(.vr-full):not(.vr-stmt-open) .round-note, #app:has(.vr-full) #aged-card,
#app:has(.vr-full) #vista-act, #app:has(.vr-full) .notes-src, #app:has(.vr-full) .vr-holder, #app:has(.vr-full) .card.note { display: none; }
.vr-moved { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 16px; }   /* C-23 row 52: side by side only while each keeps 360 px (its names at 9 px or more) */ .vr-moved h4 { margin: 0 0 4px; font-size: 14px; }
@media (max-width: 700px) { .vr-moved { grid-template-columns: 1fr; } }
.vr-big { width: 100%; height: auto; display: block; }
.vr-big .vr-col { fill: var(--lv-chart-indigo); }
.vr-big .vr-col.total { fill: var(--lv-chart-neutral); } .vr-big .vr-col.up { fill: var(--lv-chart-lagoon); } .vr-big .vr-col.neg { fill: var(--lv-chart-loss); }
.vr-big[data-vr-chart="cash-bridge"] .vr-col.total { fill: var(--lv-c-cash); }
.vr-big[data-vr-chart="cash-bridge"] .vr-col.neg { fill: var(--lv-chart-amber); stroke: var(--lv-chart-amber-edge); stroke-width: 1; }
.vr-big .vr-zero { stroke: var(--lv-chart-neutral); stroke-width: 1; }
.vr-big text { fill: var(--lv-chart-axis); font-size: 11px; } .vr-big .vr-bv { font-weight: 600; }
.vr-big .vr-end { font-size: 11px; } /* C-23 row 55: the end labels' key squares take their series' fill (.vr-mr / .vr-mc / .vr-me) */
.vr-big .vr-mr { fill: var(--lv-chart-indigo); } .vr-big .vr-mc { fill: var(--lv-chart-neutral); fill-opacity: .6; } .vr-big .vr-me { fill: var(--lv-chart-indigo); fill-opacity: .55; } .vr-big .vr-me.neg { fill: var(--lv-chart-loss); fill-opacity: 1; }
.vr-legend .vr-k { display: inline-block; width: 10px; height: 10px; margin: 0 4px 0 10px; vertical-align: -1px; }
.vr-legend .vr-k.vr-mr { background: var(--lv-chart-indigo); } .vr-legend .vr-k.vr-mc { background: var(--lv-chart-neutral); } .vr-legend .vr-k.vr-me { background: var(--lv-chart-loss); }
.vr-keyfigs { display: flex; flex-direction: column; gap: 10px; }
.vr-card.vr-kf { flex-direction: row; align-items: center; gap: 10px; padding: 10px 12px; min-height: 0; }   /* page 9: compact rows, the line on the right */
.vr-full .vr-sec-h { text-transform: none; letter-spacing: normal; } .vr-full .vr-sec-h .muted { font-weight: 400; }
.vr-kf .vr-kf-h { flex: 1; } .vr-kf .vr-kf-s { width: 96px; } .vr-kf .vr-kf-s svg { height: 28px; }
.vr-kf .vr-kf-h [data-kpi] .kspk { display: none; }   /* M-12 S5: a Key figure's one line is its own, on the right -- an adopted tile's sparkline is not drawn twice */
.vr-mini.vr-spark .vr-line { stroke: var(--lv-chart-indigo); }
.vr-take { margin: 8px 0 0; font-size: 13px; color: var(--muted); line-height: 1.35; }
.vr-rail { display: flex; flex-direction: column; gap: 14px; }
.vr-rail-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 6px 16px rgba(16,24,40,.05); }
.vr-rail-card h3 { margin: 0 0 8px; font-size: 15px; }
.vr-rail-card ul { margin: 0 0 8px; padding-left: 18px; }
.vr-takes h3 .vr-tk-sub { font-weight: 400; font-size: 13px; text-transform: none; letter-spacing: normal; }   /* V2b-4b: What it takes in the rail, and its pop-up */
.vr-tk-best { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 0 0 6px; }
@media (max-width: 480px) { .vr-tk-best { flex-direction: column; align-items: flex-start; gap: 2px; } }   /* R 08:52 R-WT-3: on a phone the amount under the unit, each on its own line */
.vr-tk-amt { white-space: nowrap; font-variant-numeric: tabular-nums; } .vr-tk-best .vr-tk-amt { font-weight: 600; } .vr-tk-be { font-weight: 600; }
.vr-takes-t { width: 100%; border-collapse: collapse; margin: 4px 0 8px; }
.vr-takes-t th, .vr-takes-t td { padding: 6px 4px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; vertical-align: baseline; } .vr-takes-t td { text-align: right; }
.vr-takes-t tr.vr-be th, .vr-takes-t tr.vr-be td { background: var(--accent-soft); }
.takes-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 16px; margin: 8px 0; }   /* V2b-4c: Settings › What you sell */
.takes-field { display: flex; flex-direction: column; gap: 4px; } .takes-field input { min-height: 44px; }
.vr-rail-card .tile { display: block; border: 0; box-shadow: none; padding: 0; background: transparent; }
[data-bf-cad="daily"] .vr-asof-foot { display: none; }   /* BF-3 x BF-1 2b: The Daily has no "Figures as of" footnote */
.bf-cut .bf-all { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }   /* T3: Show all */
.vr.vr-bf2 { grid-template-columns: minmax(0, 1fr) 520px; } .vr-bf2 .vr-main > .vr-takes { margin: 14px 0; }   /* BF-1 slice 1b: Decisions 520 px at the right; an opened line grows the left only */
@media (max-width: 1280px) { .vr.vr-bf2 { grid-template-columns: minmax(0, 1fr) 400px; } }
@media (max-width: 760px) { .vr.vr-bf2 { grid-template-columns: minmax(0, 1fr); } }   /* the phone keeps one column */
@media (max-width: 1100px) { .vr { grid-template-columns: minmax(0, 1fr) 300px; } .vr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* THE TABLET (vista-financials-tablet.png; M 11/13/2026, group 7): the board's cards view between 761 and 1100 px is one column -- the brief, then
   Needs you with its cards three across, then the taxes beside What it takes, then the performance review three to a row. The main column's
   children join the page's grid (display: contents) so the rail sits between the brief and the cards; nothing moves in the DOM */
@media (min-width: 761px) and (max-width: 1100px) {
  [data-vr-board="cards"].vr { grid-template-columns: minmax(0, 1fr); }
  [data-vr-board="cards"].vr > .vr-main { display: contents; }
  [data-vr-board="cards"].vr > .vr-main > * { order: 3; } [data-vr-board="cards"].vr > .vr-main > .vr-brief, [data-vr-board="cards"].vr > .vr-main > [data-testid="vr-brief"], [data-vr-board="cards"].vr > .vr-main > :first-child { order: 1; }
  [data-vr-board="cards"].vr > .vr-rail { order: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  [data-vr-board="cards"].vr > .vr-rail > [data-testid="vr-needs"] { grid-column: 1 / -1; }
  [data-vr-board="cards"] [data-testid="vr-needs"] .ac-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  [data-vr-board="cards"] .vr-grid.vr-rows, [data-vr-board="cards"] .vr-row-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .vr { grid-template-columns: minmax(0, 1fr); }
  .vr-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .vr-card { min-height: 94px; display: grid; grid-template-columns: minmax(0, 1fr) 42%; column-gap: 10px; padding: 10px 12px; }
  .vr-card .vr-chart { margin-top: 0; min-height: 56px; grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .vr-card .vr-take { grid-column: 1; margin-top: 4px; font-size: 12px; }
  .vr-head .value { font-size: 19px; }
  .vr-mini { height: 56px; }
}

/* O5a (B 11/06/2026; switch safetyKit): Machine Room › Companies -- the company list at the left, the selected company's sections beside it */
.mr-co2 { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: var(--lv-s-3, 16px); align-items: start; }
.mr-co2__list { display: flex; flex-direction: column; gap: 2px; padding: 8px; }
.mr-co2__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; padding: 10px 12px; border-radius: 8px; color: inherit; text-decoration: none; }
.mr-co2__item.is-on { background: var(--lv-tint-navy, #eef2f8); }
.mr-co2__name { font-weight: 600; overflow-wrap: anywhere; }
.mr-co2__seats { grid-column: 1 / -1; }
.mr-co2__main { min-width: 0; display: flex; flex-direction: column; gap: var(--lv-s-2, 12px); }
.mr-co2__h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.mr-co2__how { margin: 0; }
.mr-co2__rows { padding: 0; }
/* R-SK-2 (R 06:24): beside the board, the kept sections' plain buttons are the shared primary (navy); Send their data stays ghost and Close red */
.mr-co2-on [data-testid="mr-held"] .btn:not(.ghost):not(.danger), .mr-co2-on [data-testid="mr-review-keys"] .btn:not(.ghost):not(.danger) { background: var(--lv-navy); border-color: var(--lv-navy); color: var(--lv-ink-inv); }
@media (max-width: 900px) { .mr-co2 { grid-template-columns: minmax(0, 1fr); } .mr-co2__list { flex-direction: row; flex-wrap: wrap; } .mr-co2__item { flex: 1 1 160px; } }
/* RECEIPTS, ONE CONTROL PER ACTION (receiptsOneControl; Andrew 20:37-20:58; the 11/12 scheme): the main action filled in Receipts' colour, the second
   outlined in it, card and row buttons outline ink, one filled button per card (Confirm); the colours themselves are in the region below */
.rc1 .rcb-acts [data-rcb="find"] { background: transparent; border: 1px solid; }
.rc1 .rcb-item .btn { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.rc1 .rcg-acts .btn { color: var(--ink); border-color: var(--line); }
.rc1-phone .lvm-rc { display: none; }
@media (max-width: 760px) { .rc1 .rcg-acts { display: none; } }
.rc1 .rc1-open { cursor: pointer; } .rc1 .rc1-open:hover b { text-decoration: underline; }
.rcg-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 4px 0 8px; } .rcg-filter input { min-width: 0; width: 220px; max-width: 100%; }
/* PAGE WORLD COLOURS (Andrew 11/16/2026 20:37 Receipts and 21:39 Attention, via A: each page's main action in its own world's colour) */
.rc1 .rcb-snap__cam, .rc1 .rcb-item[data-k="confirm"] .btn { background: var(--lv-world-receipts-t); border-color: var(--lv-world-receipts-t); color: var(--lv-world-on); }
.rc1 .rcb-acts [data-rcb="find"] { border-color: var(--lv-world-receipts-t); color: var(--lv-world-receipts-t); }
/* END OF PAGE WORLD COLOURS */

/* N2 COLOUR WORLDS AND LIVING ICONS (docs/design/nav/menu-plan.md, Andrew 11/04/2026; switch navWorlds; C 11/04/2026): the one menu's six
   items as round tiles above their labels, on a desk and a phone; each its world's colour at 12% behind the icon drawn in it, the active one
   solid with a white icon. On hover, focus or touch the icon acts out its page ONCE in under 0.4 s -- bars rise, the line draws, a receipt
   prints, the wind flows, the bell rings, the dots hop -- transform and opacity only, never a loop, never under reduced motion, and it never
   holds a click: the link routes at once. The world colours appear here and nowhere else. */
.links.nav3.nav-worlds { --lv-nw-tile: 36px; }
.links.nav3.nav-worlds .n3[data-sec="vista"] { --lv-nw: var(--lv-world-vista); --lv-nw-12: var(--lv-world-vista-12); --lv-nw-ic: var(--lv-world-vista-ic); }
.links.nav3.nav-worlds .n3[data-sec="forecast"] { --lv-nw: var(--lv-world-forecast); --lv-nw-12: var(--lv-world-forecast-12); --lv-nw-ic: var(--lv-world-forecast-ic); }
.links.nav3.nav-worlds .n3[data-sec="receipts"] { --lv-nw: var(--lv-world-receipts); --lv-nw-12: var(--lv-world-receipts-12); --lv-nw-ic: var(--lv-world-receipts-ic); }
.links.nav3.nav-worlds .n3[data-sec="breeze"] { --lv-nw: var(--lv-world-breeze); --lv-nw-12: var(--lv-world-breeze-12); --lv-nw-ic: var(--lv-world-breeze-ic); }
.links.nav3.nav-worlds .n3[data-sec="attention"] { --lv-nw: var(--lv-world-attention); --lv-nw-12: var(--lv-world-attention-12); --lv-nw-ic: var(--lv-world-attention-ic); }
.links.nav3.nav-worlds .n3[data-sec="more"] { --lv-nw: var(--lv-world-more); --lv-nw-12: var(--lv-world-more-12); --lv-nw-ic: var(--lv-world-more-ic); }
.links.nav3.nav-worlds > a.n3, .links.nav3.nav-worlds > strong.n3, .links.nav3.nav-worlds > .nav-more > summary { display: inline-flex; flex-direction: column; align-items: center; gap: var(--lv-s-1); }
.links.nav3.nav-worlds .n3-ic { display: block; box-sizing: border-box; width: var(--lv-nw-tile); height: var(--lv-nw-tile); padding: calc(var(--lv-nw-tile) / 4.5); border-radius: 50%; overflow: visible; color: var(--lv-nw-ic); background: var(--lv-nw-12); }
.links.nav3.nav-worlds strong.n3 .n3-ic, .links.nav3.nav-worlds .nav-more > summary.here .n3-ic { color: var(--lv-world-on); background: var(--lv-nw); }   /* R-NW-1: white in both schemes, as the spec says */
.links.nav3.nav-worlds > .nav-more { vertical-align: top; margin: 0; padding: 0; } .links.nav3.nav-worlds > .nav-more > summary { margin: 0; }   /* R-NW-3: the More tile level with the links */
.links.nav3.nav-worlds .n3-ic * { transform-box: fill-box; }
/* SHARED RULE 1 (header-current.png, 11/12/2026): the sub-pages in their world's text tone -- the active oval solid, the others outlined */
.subrow.sub-worlds[data-sec="vista"] { --lv-sw: var(--lv-world-vista-t); } .subrow.sub-worlds[data-sec="forecast"] { --lv-sw: var(--lv-world-forecast-t); }
.subrow.sub-worlds[data-sec="receipts"] { --lv-sw: var(--lv-world-receipts-t); } .subrow.sub-worlds[data-sec="breeze"] { --lv-sw: var(--lv-world-breeze-t); }
.subrow.sub-worlds[data-sec="attention"] { --lv-sw: var(--lv-world-attention-t); } .subrow.sub-worlds[data-sec="more"] { --lv-sw: var(--lv-world-more-t); }
.subrow.sub-worlds .subnav a { border-color: var(--lv-sw, var(--lv-border-strong)); color: var(--lv-sw, var(--lv-ink-2)); }
.subrow.sub-worlds .subnav a:hover { background: color-mix(in srgb, var(--lv-sw, var(--lv-ink-2)) 8%, transparent); }
.subrow.sub-worlds .subnav strong { background: var(--lv-sw, var(--lv-navy)); border-color: var(--lv-sw, var(--lv-navy)); color: var(--lv-world-on); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .subrow.sub-worlds .subnav a { color: var(--lv-ink); } }
:root[data-theme="dark"] .subrow.sub-worlds .subnav a { color: var(--lv-ink); }
/* Help before + Receipt at the top row's right (rule 1); a phone keeps its own bar */
.nav-acts { margin-left: auto; display: inline-flex; align-items: center; gap: 16px; flex: none; }
.nav-acts .help-top { color: var(--lv-ink-2); text-decoration: none; font-weight: 500; } .nav-acts .help-top:hover { color: var(--lv-ink); text-decoration: underline; }
/* + Receipt in the Receipts world colour on every page (Andrew, ADVISOR 13:00 UTC 11/17/2026; receiptsOneControl's fill) */
.btn.receipt-action { background: var(--lv-world-receipts-t); border-color: var(--lv-world-receipts-t); color: var(--lv-world-on); }
/* Breeze, one rule as on Receipts (Andrew, ADVISOR 13:00 UTC 11/17/2026): a filled button in the Breeze world colour, an outline stays an outline */
.bz2 .btn:not(.ghost):not(.linkish):not(.cap-add) { background: var(--lv-world-breeze-t); border-color: var(--lv-world-breeze-t); color: var(--lv-world-on); }
.bz2 .btn.ghost { color: var(--lv-world-breeze-t); border-color: var(--lv-world-breeze-t); }
@media (max-width: 600px) { .nav-acts { display: none; } }
.links.nav3.nav-worlds .n3[data-sec="vista"]:is(:hover, :focus-visible, :active) .n3-ic path { transform-origin: 50% 100%; animation: lv-nw-rise 0.35s ease-out 1; }
.links.nav3.nav-worlds .n3[data-sec="forecast"]:is(:hover, :focus-visible, :active) .n3-ic path { transform-origin: 0 50%; animation: lv-nw-draw 0.35s ease-out 1; }
.links.nav3.nav-worlds .n3[data-sec="receipts"]:is(:hover, :focus-visible, :active) .n3-ic path { animation: lv-nw-print 0.35s ease-out 1; }
.links.nav3.nav-worlds .n3[data-sec="breeze"]:is(:hover, :focus-visible, :active) .n3-ic path { animation: lv-nw-flow 0.35s ease-in-out 1; }
.links.nav3.nav-worlds .n3[data-sec="attention"]:is(:hover, :focus-visible, :active) .n3-ic { transform-origin: 50% 20%; animation: lv-nw-ring 0.35s ease-in-out 1; }
.links.nav3.nav-worlds .n3[data-sec="more"] > summary:is(:hover, :focus-visible, :active) .n3-ic path { animation: lv-nw-hop 0.35s ease-out 1; }
@keyframes lv-nw-rise { from { transform: scaleY(0.3); } to { transform: scaleY(1); } }
@keyframes lv-nw-draw { from { transform: scaleX(0); opacity: 0.4; } to { transform: scaleX(1); opacity: 1; } }
@keyframes lv-nw-print { from { transform: translateY(-30%); opacity: 0.3; } to { transform: translateY(0); opacity: 1; } }
@keyframes lv-nw-flow { 0% { transform: translateX(-12%); } 60% { transform: translateX(8%); } 100% { transform: translateX(0); } }
@keyframes lv-nw-ring { 0% { transform: rotate(0); } 25% { transform: rotate(-14deg); } 55% { transform: rotate(11deg); } 80% { transform: rotate(-6deg); } 100% { transform: rotate(0); } }
@keyframes lv-nw-hop { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(-18%); } }
@media (prefers-reduced-motion: reduce) { .links.nav3.nav-worlds .n3-ic, .links.nav3.nav-worlds .n3-ic * { animation: none !important; } }
@media (max-width: 600px) { .links.nav3.nav-worlds { --lv-nw-tile: 30px; } .links.nav3.nav-worlds .n3-ic { width: var(--lv-nw-tile); height: var(--lv-nw-tile); } }

.lvc .bar-total { fill: var(--lv-chart-neutral); }

/* Q14:08: approved amber fill, contrasting boundary at the existing SVG stroke width. */
.lvc .spc-occupancy, .lvc .ser-col, .lvc .ev-notice, .fc-low { stroke: var(--lv-chart-amber-edge); }
.chart svg [fill="var(--bar-c)"] { stroke: var(--lv-chart-amber-edge); }
.lvc .overlay { stroke: var(--lv-chart-amber-edge); }
.lvc .overlay-pt { stroke: var(--lv-chart-amber-edge); }

/* Tinted data fills keep an opaque boundary; fill opacity and geometry are unchanged. */
.lvc .gain, .lvc .hm5 { stroke: var(--lv-chart-lagoon); }
.lvc .loss, .lvc .hm1, .lvc .hm2, .lvc .hm3 { stroke: var(--lv-chart-loss); }
.lvc .hm4 { stroke: var(--lv-chart-magenta); }
.fc-b.fc-low { box-shadow: inset 0 0 0 1px var(--lv-chart-amber-edge); }

.chart svg polyline[stroke="var(--bar-c)"] { stroke: var(--lv-chart-amber-edge); }

/* M-33 (Andrew 09:49 via A 10:03): an amber BAR has no border -- light, dark and print (this rule stands after every amber rule above);
   a line's stroke (.lvc .overlay, polyline) and a marker's shape keep theirs; keyboard focus outlines are untouched */
.fc-low { fill: var(--lv-chart-amber-bar); stroke: none; }
.lvc .spc-occupancy, .lvc .ser-col, .chart svg rect[fill="var(--bar-c)"], .chart svg path[fill="var(--bar-c)"],
.vr-mini.vr-hbars .vr-hb, .vr-big[data-vr-chart="cash-bridge"] .vr-col.neg { fill: var(--lv-chart-amber-bar); fill-opacity: 1; stroke: none; }
.vr-mini[data-vr-chart="cash"] .vr-col.neg { fill: var(--lv-chart-amber-bar); fill-opacity: 1; stroke: none; }
.vr-mini[data-vr-chart="suppliers"] .vr-col { fill: var(--lv-chart-amber-bar); fill-opacity: 1; stroke: none; }
.fc-b.fc-low { background: var(--lv-chart-amber-bar); box-shadow: none; }
.lg-col, .lg-notice { background: var(--lv-chart-amber-bar); }   /* M-33b: the legend key as its bar */
/* M-33 (2): a bridge of more than 5 bars -- each bar's figure in a row under the bars, in its column */
.vr-bl.vr-bl--row { font-size: 10px; margin-top: 2px; } .vr-bl--row span { padding: 0 1px; }

/* CA-a (Forecast and Vista Scenarios p.3; switch cashP3; C 11/07/2026): Cash · 13 weeks in two columns, the head line, four tiles, the week rows */
.cp3 { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--lv-s-4); align-items: start; }
@media (min-width: 1024px) { .cp3 { grid-template-columns: minmax(0, 1fr) var(--lv-rail-w); } .cp3__rail { position: sticky; top: calc(var(--lv-header-h) + var(--lv-s-4)); } }
@media (min-width: 1024px) { .cp3.cp3--one { grid-template-columns: minmax(0, 1fr); } }   /* no scenarios rail (a demo, another seat): the main takes the width */
.cp3__main { min-width: 0; }
.cp3__rail:empty { display: none; }
.cp3-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--lv-s-2) var(--lv-s-3); margin: 0 0 var(--lv-s-4); }
.cp3-head__title { margin: 0; font: 600 var(--lv-fs-22)/1.25 var(--lv-font); color: var(--lv-ink); }
.cp3-head__range { margin: 0; color: var(--lv-ink-2); font-size: var(--lv-fs-13); }
.cp3-dl { margin-left: auto; display: inline-flex; align-items: center; gap: var(--lv-s-2); }   /* G7: the download at the head's right, as the board */
.cp3-old { margin-top: var(--lv-s-4); }
.cp3-card__h { margin: 0 0 var(--lv-s-3); font: 600 var(--lv-fs-16)/1.3 var(--lv-font); }
.cp3-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--lv-s-3); }
@media (max-width: 1023.98px) { .cp3-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599.98px) { .cp3-tiles { grid-template-columns: minmax(0, 1fr); } }
.cp3-tiles .cp3-tile { background: var(--lv-surface-2, var(--lv-surface)); border-color: transparent; }
/* S14 (B 11/16/2026, no dead-end number): a tile's figure that opens its list -- the figure as it was, underlined on hover and focus */
.cp3-tile__open { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; min-height: 32px; }
.cp3-tile__open:hover, .cp3-tile__open:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.lv-kpi__open { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; min-height: 32px; display: block; }   /* SWEEP S17 */
.lv-kpi__open:hover .lv-kpi__value, .lv-kpi__open:focus-visible .lv-kpi__value { text-decoration: underline; text-underline-offset: 3px; }
.ac-t__open { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; text-decoration: underline; text-underline-offset: 3px; min-height: 32px; }   /* S15: a count that opens its list */
.cp3-more { margin: var(--lv-s-2) 0 0; }
.cp3-wk__tot { display: flex; justify-content: space-between; gap: var(--lv-s-3); margin: var(--lv-s-3) 0 0; }
.cp3-tiles .cp3-tile .lv-kpi__value.bad, .cp3-signed.bad { color: var(--lv-worse-text); }
.cp3-tiles .cp3-tile .lv-kpi__value.stop { color: var(--lv-c-stop); }   /* below zero: the stop tone (R-CL-2), never the due mark */
.cp3-signed.good { color: var(--lv-good); }
.cp3-table th[scope="row"] { font-weight: 500; }
.cp3-table .cp3-alone { color: var(--lv-ink-2); }
/* CW-1: a week row's button and the week slide-over (CashWeek p.8; a sheet on a phone, p.9) */
.cp3-weeks__sub { margin: calc(-1 * var(--lv-s-2)) 0 var(--lv-s-2); }
.cp3-wk-open { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--lv-ink); font: inherit; font-weight: 500; cursor: pointer; text-align: left; }
.cp3-wk-open:hover { text-decoration: underline; }
.cp3-wk-open span { color: var(--lv-ink-3); }
.cp3-wk-open .cp3-wk-full { color: inherit; }
.cp3-wk-open { position: relative; }   /* CW-3: the phone's clipped full date stays inside the scroll region */
.cp3-wk-short, .cp3-weeks__on { display: none; }
@media (max-width: 599.98px) {   /* CW-3 (R's K11, CashMobile p.4): "Week by week with scenarios on" -- MM/DD · net · close */
  .cp3-wk-open .cp3-wk-full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cp3-wk-open .cp3-wk-short { display: inline; color: inherit; }
  .cp3-weeks__on { display: inline; }
  .cp3-table--run .cp3-alone, .cp3-table--run .cp3-diff { display: none; }
}
.cp3-wk__on { margin: 0 0 var(--lv-s-3); }
.cp3-wk__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--lv-s-2); margin-bottom: var(--lv-s-4); }
@media (max-width: 339.98px) { .cp3-wk__tiles { grid-template-columns: minmax(0, 1fr); } }
.cp3-wk__tile { display: flex; flex-direction: column; gap: 2px; padding: var(--lv-s-3); border-radius: var(--lv-r-2); background: var(--lv-surface-2, var(--lv-surface)); }
.cp3-wk__l { font-size: var(--lv-fs-12); color: var(--lv-ink-2); }
.cp3-wk__v { font: 600 var(--lv-fs-18)/1.25 var(--lv-font); color: var(--lv-ink); }
.cp3-wk__why { font-size: var(--lv-fs-12); color: var(--lv-ink-3); }
.cp3-wk__sec { margin-bottom: var(--lv-s-4); }
.cp3-wk__h { margin: 0 0 var(--lv-s-2); font: 600 var(--lv-fs-14)/1.3 var(--lv-font); color: var(--lv-ink); text-transform: none; letter-spacing: normal; }
.cp3-wk__words { font: 500 var(--lv-fs-14)/1.3 var(--lv-font); color: var(--lv-ink-2); }
.cp3-wk__list { margin: 0; padding: 0; list-style: none; }
.cp3-wk__row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--lv-s-3); padding: var(--lv-s-2) 0; border-bottom: 1px solid var(--lv-border); }
.cp3-wk__who { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; color: var(--lv-ink); }
.cp3-wk__sub { font-size: var(--lv-fs-12); color: var(--lv-ink-3); }
.cp3-wk__amt { color: var(--lv-ink); font-weight: 500; }
.cp3-wk__more { padding: var(--lv-s-2) 0; font-size: var(--lv-fs-12); color: var(--lv-ink-3); }
.cp3-wk__foot { display: flex; justify-content: space-between; gap: var(--lv-s-2); border-top: 1px solid var(--lv-border); padding-top: var(--lv-s-3); }
/* CA-b: the week-end cash chart (K4) */
.cp3-chart { margin: var(--lv-s-4) 0 0; }
.cp3-chart__key { display: flex; flex-wrap: wrap; gap: var(--lv-s-1) var(--lv-s-3); align-items: center; font-size: var(--lv-fs-12); color: var(--lv-ink-2); margin: 0 0 var(--lv-s-2); }
.cp3-chart__key b { color: var(--lv-ink); font-weight: 600; }
.cp3-key::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.cp3-key--on::before { background: var(--lv-c-cash); }
.cp3-key--alone::before { background: var(--lv-ink-3); }
.cp3-key--min::before { background: var(--lv-c-due); }
.cp3-chart svg { display: block; max-width: 100%; height: auto; overflow: visible; }
.cp3-chart text { font-family: var(--lv-font); font-size: 11px; fill: var(--lv-ink-3); }
.cp3-chart__grid { stroke: var(--lv-border); stroke-width: 1; }
.cp3-l-on { fill: none; stroke: var(--lv-c-cash); stroke-width: 2; }
.cp3-l-alone { fill: none; stroke: var(--lv-ink-3); stroke-width: 1.5; stroke-dasharray: 4 3; }
.cp3-l-min { stroke: var(--lv-c-due); stroke-width: 1.5; stroke-dasharray: 5 4; }
.cp3-d-on { fill: var(--lv-c-cash); } .cp3-d-alone { fill: var(--lv-ink-3); }
.cp3-chart text.cp3-chart__min { fill: var(--lv-c-due); font-weight: 600; }
.cp3-chart text.cp3-chart__end--on { fill: var(--lv-ink); font-weight: 600; }
.cp3-say { margin: var(--lv-s-3) 0 0; padding-top: var(--lv-s-3); border-top: 1px solid var(--lv-border); color: var(--lv-ink); font-size: var(--lv-fs-14); line-height: 1.5; }   /* K5 */
/* CA-c: Risks and opportunities (K6) */
.cp3-rno { margin-top: var(--lv-s-4); }
.cp3-card__sub { margin-left: var(--lv-s-2); font: 400 var(--lv-fs-13)/1.3 var(--lv-font); color: var(--lv-ink-2); }
.cp3-rno__cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--lv-s-4); }
@media (min-width: 720px) { .cp3-rno__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--lv-s-6); } }
.cp3-rno__h { margin: 0 0 var(--lv-s-2); font: 600 var(--lv-fs-12)/1.3 var(--lv-font); letter-spacing: .04em; text-transform: uppercase; }
.cp3-rno__col--risks .cp3-rno__h { color: var(--lv-c-due); }
.cp3-rno__col--opps .cp3-rno__h { color: var(--lv-good); }
.cp3-rno__list { list-style: none; margin: 0; padding: 0; }
.cp3-rno__item { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: var(--lv-s-3); padding: var(--lv-s-3) 0; border-top: 1px solid var(--lv-border); }
.cp3-rno__item:first-child { border-top: 0; padding-top: 0; }
.cp3-rno__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cp3-rno__body b { font-weight: 600; color: var(--lv-ink); overflow-wrap: anywhere; }
.cp3-rno__line { font-size: var(--lv-fs-13); color: var(--lv-ink-2); }
.cp3-rno__acts { display: flex; flex-wrap: wrap; gap: var(--lv-s-2); margin-top: var(--lv-s-2); }
.cp3-ico { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; align-items: center; justify-content: center; background: var(--lv-tint-due); color: var(--lv-c-due); }
.cp3-ico--late, .cp3-ico--minimum { background: var(--lv-tint-stop); color: var(--lv-c-stop); }
.cp3-rno__col--opps .cp3-ico { background: var(--lv-tint-teal, var(--lv-tint-better)); color: var(--lv-good); }
.cp3-ico--clear { background: var(--lv-surface-2) !important; color: var(--lv-ink-3) !important; }
.cp3-rno__acts a.lv-btn { text-decoration: none; }   /* links drawn as the board's buttons */
.cp3-cal { margin-top: var(--lv-s-2); }
.cp3-cal > summary { list-style: none; cursor: pointer; display: inline-flex; }
.cp3-cal > summary::-webkit-details-marker { display: none; }
.cp3-cal ul { margin: var(--lv-s-2) 0 0; padding-left: var(--lv-s-4); font-size: var(--lv-fs-13); color: var(--lv-ink-2); }

/* O8 (close and admin p.7; switch breezeV2; C 11/07/2026): Breeze to the canvas -- the head, the next step first, After that, the rail */
.bz2-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--lv-s-2) var(--lv-s-3); margin: 0 0 var(--lv-s-4); }
.bz2-head h1 { margin: 0; font: 600 var(--lv-fs-22)/1.25 var(--lv-font); }
.bz2-head .lv-chip { background: var(--lv-tint-due); color: var(--lv-c-due); }
.bz2-head__sub { color: var(--lv-ink-2); font-size: var(--lv-fs-13); }
.bz2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--lv-s-4); align-items: start; }
@media (min-width: 1024px) { .bz2 { grid-template-columns: minmax(0, 1fr) var(--lv-rail-w); } }
.bz2__main, .bz2__rail { min-width: 0; display: flex; flex-direction: column; gap: var(--lv-s-3); }
.bz2-next .step, .bz2-after .step { border: 0; box-shadow: none; padding: 0; margin: 0; background: none; }
.bz2-next__k { margin: 0 0 var(--lv-s-2); }
.bz2-after h2 { margin: 0 0 var(--lv-s-2); font: 600 var(--lv-fs-14)/1.3 var(--lv-font); color: var(--lv-ink-2); }
.bz2-list { margin: 0; padding: 0; list-style: none; counter-reset: bz2 1; }
.bz2-list > li { position: relative; padding: var(--lv-s-3) 0 var(--lv-s-3) 36px; border-top: 1px solid var(--lv-border); counter-increment: bz2; }
.bz2-list > li::before { content: counter(bz2); position: absolute; left: 0; top: var(--lv-s-3); width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--lv-border); display: inline-flex; align-items: center; justify-content: center; font-size: var(--lv-fs-12); color: var(--lv-ink-2); }   /* R-O8-2: numbered circles, from 2 (the next step is 1) */
.bz2-list > li:first-child { border-top: 0; }
.bz2-cons { margin: 4px 0 0; font-size: var(--lv-fs-12); color: var(--lv-ink-2); }
.bz2-self { margin: 0; font-size: var(--lv-fs-13); color: var(--lv-ink-2); }
.bz2-wait { margin: 0; color: var(--lv-ink); }
/* C-14 B-4 (Q 06:09 UTC 11/18/2026, breeze.png at 390): one count on a phone, the primary full width, Nothing a link over its consequence */
@media (max-width: 480px) {
  .bz2-next__of, .bz2-head__sub { display: none; }
  .bz2-next .acts .btn:not(.ghost) { display: block; width: 100%; box-sizing: border-box; }
  .bz2-next .bz-nothing { border: 0; background: none; box-shadow: none; padding: 0; min-height: 44px; color: var(--lv-link); text-align: left; }
  .bz2-next .bz2-nothing__l { text-decoration: underline; }
  .bz2-next .bz-nothing .bz2-cons { color: var(--lv-ink-2); opacity: 1; }
}
.bz2-close { margin-top: var(--lv-s-4); }
.bz2-close > summary { cursor: pointer; font-weight: 600; }
.bz2-gone[hidden] { display: none !important; }
.bz2 .btn .bz2-cons, .bz2 .bz-nothing .bz2-cons { display: block; margin: 2px 0 0; font-size: var(--lv-fs-12); font-weight: 400; color: inherit; opacity: .85; line-height: 1.3; }
.bz2-drop .card { border: 0; box-shadow: none; padding: 0; background: none; margin: 0; }   /* R-O8-1: the action over its consequence */
.bz2-next .t { font: 600 var(--lv-fs-18)/1.3 var(--lv-font); color: var(--lv-ink); }   /* R-O8-2: the next step's title is the card's heading */
.bz2 .acts .btn { text-align: left; }
.bz2-drop { border: 1px dashed var(--lv-border-strong, var(--lv-border)); border-radius: var(--lv-r-2); padding: var(--lv-s-4); text-align: center; background: var(--lv-surface); }   /* R-O8-3 */
.bz2-drop__head b { display: block; margin-top: 4px; }
.bz2-drop__head p { margin: 4px 0 var(--lv-s-3); font-size: var(--lv-fs-13); color: var(--lv-ink-2); }
.bz2__rail .bz2-compact { font-size: var(--lv-fs-13); padding: var(--lv-s-3); }   /* R-O8-5: Send the steps and the Breeze run, compact in the rail */
.bz2__rail .bz2-compact .btn.big { font-size: var(--lv-fs-14); padding: 6px 14px; }

/* O4 (close and admin p.3; switch healthV2; C 11/07/2026): Machine Room › Health as the board */
.mr2 { display: flex; flex-direction: column; gap: var(--lv-s-3); }
.mr2-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--lv-s-2) var(--lv-s-4); }
.mr2-head [data-testid="mr2-when"] { margin-left: auto; }
.mr2-confirm { padding: var(--lv-s-3); border: 1px solid var(--lv-border); border-radius: var(--lv-r-2); background: var(--lv-surface); }
.mr2-confirm p { margin: 0 0 var(--lv-s-2); }
.mr2-open__h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--lv-s-2); }
.mr2-open__h h2 { margin: 0; font: 600 var(--lv-fs-16)/1.3 var(--lv-font); }
.mr2-list, .mr2-feeds { list-style: none; margin: var(--lv-s-2) 0 0; padding: 0; }
.mr2-row { display: flex; align-items: center; justify-content: space-between; gap: var(--lv-s-3); padding: var(--lv-s-3) 0; border-top: 1px solid var(--lv-border); }
.mr2-row:first-child { border-top: 0; }
.mr2-row__t { min-width: 0; }
.mr2-row__t p { margin: 2px 0 0; color: var(--lv-ink-2); }
.mr2-rest { margin: 0; font-size: var(--lv-fs-13); }
.mr2-log { margin-left: var(--lv-s-2); }
.mr2-by { margin: var(--lv-s-3) 0 0; font: 600 var(--lv-fs-12)/1.3 var(--lv-font); letter-spacing: .04em; text-transform: uppercase; color: var(--lv-ink-2); }
.mr2-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--lv-s-3); }
@media (min-width: 1024px) { .mr2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mr2-sys__h { display: flex; align-items: center; gap: var(--lv-s-2); }
.mr2-sys__h h3 { margin: 0; font: 600 var(--lv-fs-15, var(--lv-fs-14))/1.3 var(--lv-font); text-transform: none; letter-spacing: 0; color: var(--lv-ink); }
.mr2 .linkish { text-align: left; padding-left: 0; padding-right: 0; }
.mr2-chip--ok { background: var(--lv-tint-teal, var(--lv-tint-better)); color: var(--lv-good); }
.mr2-chip--bad { background: var(--lv-tint-due); color: var(--lv-c-due); }
.mr2-feed { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .7fr) auto minmax(0, 1fr); gap: var(--lv-s-2); align-items: baseline; padding: 6px 0; border-top: 1px solid var(--lv-border); }
.mr2-feed:first-child { border-top: 0; }
/* Companies (group 6 board 4): the section icon before its row; the company's one line */
.mr-co2__rows .lv-safe__row > .mr-co2__i { flex: 0 0 auto; color: var(--lv-ink-2, currentColor); margin-right: var(--lv-s-2); align-self: center; }
.mr-co2__rows .lv-safe__row > .mr-co2__i + .lv-safe__main { flex: 1 1 auto; }   /* the icon is a third child: the text keeps its place at the left */
.mr-co2__needs.is-bad { color: var(--lv-ink); }
/* Downloads (group 6 board 3): the file column reads left and wraps; the cards in a grid that folds at 390 */
.lv-table .dl-l { text-align: left; } .lv-table .dl-wrap { white-space: normal; }
.dl-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--lv-s-3); }
.dl-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--lv-s-2); }
.dl-head #dl-q { margin-left: auto; width: 318px; min-width: 0; max-width: 100%; }
.dl-jumps { display: flex; flex-wrap: wrap; gap: var(--lv-s-2); margin: var(--lv-s-3) 0; }
#dl-ready-section, #dl-make-section { scroll-margin-top: var(--lv-s-3); }
@media (max-width: 599.98px) { .dl-head #dl-q { margin-left: 0; width: 100%; } }
/* Health's 14-day bars (group 6 board 4): one a day; red only for failed (Dusk: red is "stop now and look") */
.mr2-days { display: inline-flex; gap: 2px; vertical-align: middle; margin-left: var(--lv-s-2); }
.mr2-day { display: inline-block; width: 5px; height: 12px; border-radius: 1px; background: var(--lv-border); }
.mr2-day--new { background: var(--lv-c-better); } .mr2-day--waiting { background: var(--lv-c-due); opacity: .4; } .mr2-day--late { background: var(--lv-c-due); }
.mr2-day--failed { background: var(--lv-c-stop); } .mr2-day--none { background: var(--lv-c-neutral); opacity: .35; }
.mr2-feed.is-bad .mr2-feed__n { color: var(--lv-c-stop); }
@media (max-width: 599.98px) { .mr2-feed { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* O3 (close and admin p.2; switch settingsV2; C 11/07/2026): Settings -- the index, the rows, Change in place */
.set2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--lv-s-4); }
@media (min-width: 1024px) { .set2 { grid-template-columns: 260px minmax(0, 1fr); } .set2-head { grid-column: 1 / -1; } .set2-back { display: none; } }
.set2-head { display: flex; align-items: center; gap: var(--lv-s-3); }
.set2-head h1 { margin: 0; font: 600 var(--lv-fs-22)/1.25 var(--lv-font); }
.set2-index { display: flex; flex-direction: column; gap: 2px; padding: var(--lv-s-2); align-self: start; }
.set2-cat { display: flex; flex-direction: row; align-items: flex-start; gap: var(--lv-s-2); padding: var(--lv-s-2) var(--lv-s-3); border-radius: var(--lv-r-2); text-decoration: none; color: var(--lv-ink); }
.set2-cat span { font-size: var(--lv-fs-12); color: var(--lv-ink-2); }
.set2-cat__t { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; font-size: inherit !important; color: inherit !important; }
.set2-cat__i { flex: none; margin-top: 2px; color: var(--lv-ink-2); }
.set2-cat__n { flex: none; font-style: normal; font-size: var(--lv-fs-12); min-width: 18px; height: 18px; line-height: 18px; text-align: center; border-radius: 9px; background: var(--lv-tint-amber, var(--lv-surface-2)); color: var(--lv-ink); }
.set2-chip { display: inline-flex; gap: 4px; align-items: center; font-size: var(--lv-fs-12); padding: 1px 8px; border-radius: 999px; background: var(--lv-tint-green, var(--lv-surface-2)); color: var(--lv-ink); margin-top: 4px; }
.set2-cat.is-on { background: var(--lv-tint-navy, var(--lv-surface-2)); }
.set2-main { display: flex; flex-direction: column; gap: var(--lv-s-3); min-width: 0; }
.set2-rest { margin: 0; font-size: var(--lv-fs-13); }
.set2-sec h2 { margin: 0 0 var(--lv-s-2); font: 600 var(--lv-fs-16)/1.3 var(--lv-font); }
.set2-connections-head { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: var(--lv-s-2); row-gap: var(--lv-s-1); margin-bottom: var(--lv-s-2); }
.set2-connections-head h2 { margin: 0; }
.set2-connections-head .set2-safe { margin-left: auto; }
.set2-safe { margin-left: var(--lv-s-2); background: var(--lv-tint-teal, var(--lv-tint-better)); color: var(--lv-good); }
.set2-rows { list-style: none; margin: 0; padding: 0; }
.set2-row { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: var(--lv-s-2) var(--lv-s-4); align-items: start; padding: var(--lv-s-3) 0; border-top: 1px solid var(--lv-border); }
.set2-row:first-child { border-top: 0; }
.set2-row__l { font-weight: 600; }
.set2-val { margin: 0; overflow-wrap: anywhere; }
.set2-what { margin: 2px 0 0; font-size: var(--lv-fs-13); color: var(--lv-ink-2); }
.set2-row > .lv-btn { text-decoration: none; }
.set2-row > .set2-lang, .set2-row > .set2-sw { justify-self: end; align-self: center; } .set2-sw { display: inline-flex; align-items: center; gap: var(--lv-s-2); white-space: nowrap; } .set2-lang button { white-space: nowrap; }   /* Settings › Display (settingsDisplay) */
.set2-panel { grid-column: 1 / -1; }
@media (max-width: 1023.98px) { .set2-row { grid-template-columns: minmax(0, 1fr) auto; } .set2-row__v { grid-column: 1 / -1; grid-row: 2; } .set2:not(.set2--cat) .set2-main { display: none; } .set2.set2--cat .set2-index { display: none; } .set2:not(.set2--cat) .set2-back { display: none; } }
.set2-needs { border-color: var(--lv-c-due); }
.set2-needs h2 { margin: 0 0 var(--lv-s-2); font: 600 var(--lv-fs-16)/1.3 var(--lv-font); }
.set2-need { display: flex; align-items: center; justify-content: space-between; gap: var(--lv-s-3); padding: var(--lv-s-2) 0; }
.set2-need .lv-btn { text-decoration: none; }
/* R-O3-6 (LOW): in Settings v2's panel, the bank box's Disconnect looks like the shared button (the box itself is the old page's too) */
.set2-panel [data-testid="bank-disconnect"] { font: 500 var(--lv-fs-13)/1 var(--lv-font); padding: 6px 12px; border: 1px solid var(--lv-border); border-radius: var(--lv-r-2); background: var(--lv-surface); color: var(--lv-ink); cursor: pointer; }

/* O9 (close and admin p.8; switch deskV2; C 11/07/2026): the Desk's six sections and Start here */
.dk2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--lv-s-4); }
@media (min-width: 1024px) { .dk2 { grid-template-columns: 240px minmax(0, 1fr); } }
.dk2-index { display: flex; flex-direction: column; gap: 2px; padding: var(--lv-s-2); align-self: start; }
.dk2-sec { display: flex; flex-direction: column; gap: 2px; padding: var(--lv-s-2) var(--lv-s-3); border-radius: var(--lv-r-2); text-decoration: none; color: var(--lv-ink); background: none; border: 0; text-align: left; font: inherit; cursor: pointer; }
.dk2-sec span { font-size: var(--lv-fs-12); color: var(--lv-ink-2); }
.dk2-sec.is-on { background: var(--lv-tint-navy, var(--lv-surface-2)); }
.dk2-main { min-width: 0; }
.dk2--start { grid-template-areas: "main" "sections"; }
.dk2--start > .dk2-main { grid-area: main; }
.dk2--start > .dk2-index { grid-area: sections; }
@media (min-width: 1024px) { .dk2--start { grid-template-areas: "sections main"; } }
@media (max-width: 1023.98px) { .dk2--start > .dk2-index { flex-wrap: wrap; overflow: visible; } }
@media (max-width: 1023.98px) { .dk2-index { flex-direction: row; overflow-x: auto; } .dk2-sec span { display: none; } }
.dk2-things h2, .dk2-adj h2 { margin: 0 0 var(--lv-s-2); font: 600 var(--lv-fs-16)/1.3 var(--lv-font); }
.dk2-list { list-style: none; margin: 0; padding: 0; }
.dk2-thing, .dk2-group { padding: var(--lv-s-3) 0; border-top: 1px solid var(--lv-border); }
.dk2-thing { display: flex; align-items: center; justify-content: space-between; gap: var(--lv-s-3); }
.dk2-thing:first-child, .dk2-group:first-child { border-top: 0; }
.dk2-thing p { margin: 2px 0 0; color: var(--lv-ink-2); }
.dk2-thing .lv-btn { text-decoration: none; }
.dk2-adj { margin-top: var(--lv-s-5); }
.dk2-adj__h { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--lv-s-2) var(--lv-s-3); }
.dk2-adj__h .lv-btn { margin-left: auto; }
.dk2-group summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: var(--lv-s-2); }
.dk2-group summary .lv-btn { margin-left: auto; }
/* R-106 (R 13:13 UTC 11/22/2026, w2/acct/desk/lucro-390-pt-1.png): at 390 in PT the count pill was squeezed to "lançamento|s" -- the pill and Review
   keep their words whole and their width; the group's name takes the rest of the row and wraps */
.dk2-group summary .lv-chip, .dk2-group summary .lv-btn { flex: none; white-space: nowrap; }
.dk2-group summary b { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.dk2-rows { margin: var(--lv-s-2) 0 0; padding-left: var(--lv-s-4); color: var(--lv-ink-2); }
.dk2-pro { margin: -6px 0 var(--lv-s-3); }   /* R-O9-1 */
.dk2-on .dk-lang button[aria-pressed="true"] { background: var(--lv-navy); color: var(--lv-ink-inv); }   /* R-O9-3: the pressed language in navy under deskV2 */

/* V4 Bills to pay (B 11/12/2026; spend-bills-to-pay.png) */
.bills-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px; margin: 4px 0 10px; }
.bills-head h2 { margin: 0; }
.bills-chip { font-size: 12px; padding: 2px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.bills-said p { font-size: 15px; font-weight: 400; line-height: 1.5; margin: 0; }
.tile.bills-warn .value { color: var(--warn); }
.bills-tabhead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 8px; }
.bills-tabhead h3 { margin: 0; }
.bills-view { margin-left: auto; }
.bills-t td, .bills-t th { vertical-align: top; }
.bills-t td:nth-child(4) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.bills-tick { width: 28px; }
.bills-mp-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 8px 0 12px; } .bills-mp-fields label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; } .bills-mp-fields label[hidden] { display: none; }
@media (max-width: 760px) { .bills-mp-fields { grid-template-columns: minmax(0, 1fr); } }
.status.bills-s-late-paid { background: var(--warn-soft); color: var(--warn); }   /* 4.7 (M 11/14): the mark's three fields; the 7-day row */
.supp-find { flex: 0 1 320px; min-width: 0; } [data-testid="supp-missing-item"] .add-bank { white-space: nowrap; flex: 0 0 auto; }   /* the action on one line beside its supplier */   /* spend-suppliers.png (M 11/14): Find a supplier in the head row */
.sp-dl--top { display: flex; justify-content: flex-end; margin: 0 0 -8px; }   /* spend-overview.png (M 11/14): the workbook at the top right */
/* 4.1 rest (revenues-overview.png; M 11/13/2026), desktop: the summary in its card; Collected so far's bar the card's width, the key and Collections on one line */
  .rv2-brief { max-width: none; background: var(--lv-surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
  .rv2-collected { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; }
  .rv2-collected > * { flex: 0 0 100%; order: 5; }
  .rv2-collected > h3 { flex: 0 0 auto; order: 1; margin: 0; }
  .rv2-collected > .rv2-sub { flex: 1 1 200px; order: 2; margin: 0; }
  .rv2-collected > .spc-legend { flex: 1 1 auto; order: 6; }
  .rv2-collected > p.small:last-child { flex: 0 0 auto; order: 7; margin-left: auto; }
  .rv2-collected .rv2-cbrow { max-width: none; margin-top: 10px; } .rv2-collected .rv2-cbar { flex: 1 1 auto; width: auto; max-width: none; }
/* receipts.png R-2 (M 11/13/2026): the head with its two buttons, "N things need you", the lists at the left and the rail at the right */
.rcb-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 8px 0 12px; } .rcb-head h2 { margin: 0; font-size: 22px; } .rcb-head h2 .small { font-size: 13px; font-weight: 400; margin-left: 6px; }
.rcb { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; } .rcb-main > .card, .rcb-rail > .card { margin-top: 0; margin-bottom: 14px; }
.rcb-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); } .rcb-item small { display: block; }
.rcb-kv { display: flex; justify-content: space-between; gap: 12px; margin: 6px 0; } .rcb-kv b { font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) { .rcb { grid-template-columns: minmax(0, 1fr); } }
/* receipts.png R-1 (M 11/13/2026): Missing receipts grouped -- one line per supplier: name, total, dates, the oldest's age, its actions */
.rcg-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; } .rcg-head p { margin: 0; }
.rcg-list { list-style: none; margin: 0; padding: 0; }
.rcg-row { display: grid; grid-template-columns: minmax(0, 1fr) 90px 110px 130px auto; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.rcg-amt { text-align: right; font-variant-numeric: tabular-nums; } .rcg-acts { white-space: nowrap; } .rcg-res { grid-column: 1 / -1; } .rcg-res:empty { display: none; }
.rcg-age { justify-self: start; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); white-space: nowrap; } .rcg-age--old { color: var(--warn); background: var(--warn-soft); }
/* C-17 (receipts.png): the needs rows' icons, the Mailbox card, the doors, the phone's Photograph row */
.rcb-item > .rcb-tx { flex: 1 1 auto; min-width: 0; }
.rcb-ic { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); }
.rcb-ic svg { width: 15px; height: 15px; } .rcb-ic--missing { background: var(--warn-soft); color: var(--warn); }
.rcb-mbx-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; } .rcb-mbx-top h3 { margin: 0; }
.rcb-chip { display: inline-block; margin: 0; padding: 2px 8px; border-radius: 999px; } .rcb-chip--ok { background: var(--accent-soft); color: var(--ink); }
.rcb-mbx .mbx-row { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); } .rcb-mbx .mbx-row > p, .rcb-mbx .mbx-row > .d { margin: 0; }
.rcb-mbx .mbx-row { flex-wrap: wrap; } .rcb-mbx .mbx-row > p { flex: 1 1 200px; min-width: 0; overflow-wrap: anywhere; }
.rcb-mbx .mbx-another { display: block; width: 100%; text-align: center; }
.rcb-door-k { display: block; } .set2-badge { display: inline-block; min-width: 18px; padding: 0 6px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); font-size: 12px; text-align: center; }   /* ST-2 */
.lv-att2__rail > .card:first-child { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0; } .lv-att2__rail > .card:first-child > h2, .lv-att2__rail > .card:first-child > svg { flex: 1 1 100%; } .lv-att2__rail > .card:first-child > [data-att2="answered"], .lv-att2__rail > .card:first-child > [data-att2="left"] { order: 1; margin: 4px 0 8px; } .lv-att2__rail > .card:first-child > [data-att2="answered"] + svg ~ [data-att2="left"]::before { content: "\00B7"; padding: 0 0.4em; } .lv-att2__rail > .card:first-child > svg { order: 2; } .lv-att2__rail > .card:first-child > [data-att2="done-today"] { order: 3; margin-top: 10px; }   /* AT-6 (C audit 11/14): one line, the bar under it */ .lv-att2__alt { background: transparent; border: 1px solid var(--line); color: var(--ink); }   /* AT-1: the two next answers outlined */ .rcg-sheet li[hidden] { display: none; } .lv-att2__alt { background: transparent; border: 1px solid var(--line); color: var(--ink); }   /* AT-1: the two next answers outlined */ .rcg-sheet li[hidden] { display: none; }
/* R-108 (C 11/22/2026): a same-question card's receipts, one line each */
.lv-att2__samelist { list-style: none; margin: 4px 0 8px; padding: 0; font-size: 13px; }
.lv-att2__samelist li { padding: 2px 0; }
.rcb-snap { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; } .rcb-snap__cam { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.rcb-snap__up { flex: 0 0 auto; } .rcb-snap svg { width: 16px; height: 16px; } .rcb-snap > :not(button) { flex: 1 1 100%; } .rcb-snap > :empty { display: none; }
@media (max-width: 760px) { .rcb-item small { display: none; } }
.rcg-sheet { list-style: none; margin: 0; padding: 0; } .rcg-sheet li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .rcg-row { grid-template-columns: minmax(0, 1fr) auto auto; } .rcg-dates, .rcg-age, .rcg-acts [data-rcg-find], .rcg-acts [data-rcg-add] { display: none; } }
@media (max-width: 760px) { .rcg-row .rcg-age { display: block; grid-column: 1; grid-row: 2; justify-self: start; padding: 0; background: none; margin-top: -6px; } .rcg-row .rcg-age--old { background: none; } }   /* C-17 (receipts.png 390): the oldest age under the name, as words */
/* revenues-sales-till.png (M 11/14/2026): the till's four tiles fill their row from 761 px (the generic 5-up left a hole); the why under them */
@media (min-width: 761px) { [data-testid="sx2-card"] [data-testid="sx-tiles"] { grid-template-columns: repeat(4, minmax(0, 1fr)); } [data-testid="sx2-card"] .sx2-why { margin: 12px 0 0; } }
.bills-row.bills-hl > td { background: var(--lv-fill); }   /* Q 21:42 LOW 3: the row the note opens */
.status.bills-s-overdue, .status.bills-s-iban, .status.bills-s-duplicate { background: var(--warn-soft); color: var(--warn); }
.status.bills-s-reference, .status.bills-s-sent, .status.bills-s-processed { background: var(--line); color: var(--muted); }
.bills-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding: 12px 14px; border-radius: var(--radius); background: var(--accent-soft); }
.bills-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.bills-li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.bills-li small { display: block; }
.bills-li b { white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .tiles.bills-tiles { grid-template-columns: repeat(4, 1fr); } }

/* V4 Suppliers (B 11/12/2026; spend-suppliers.png) */
.supp-trend { color: var(--accent); } .supp-trend.warn { color: var(--warn); }
.supp-spark { display: block; }
.supp-rows, .supp-extra-rows { max-block-size: min(44vh, 24rem); overflow: auto; }
.supp-rows .supp-t th { position: sticky; inset-block-start: 0; background: var(--lv-surface); }
.supp-t td, .supp-t th { vertical-align: top; }
.supp-t td:nth-child(2), .supp-t td:nth-child(3) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.supp-filter, .supp-sort { flex-wrap: wrap; }
.supp-move { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--line); }
.supp-move-chart { color: var(--warn); }
.supp-move p { margin: 4px 0; }
/* THE INVESTOR UPDATE AS DRAWN (A 07:25 UTC 11/13/2026, item 3; investor-update.png; front/g_investor_doc.js): the document card beside its
   panel; one column on a phone. Figures regular weight except each tile's own figure (the card contract: bold only on the first figure). */
.ivd-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 8px 0 14px; }
.ivd-h { margin: 0; font-size: 1.5rem; }
.ivd-acts { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ivd-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.ivd-doc { padding: 32px 40px; }
.ivd-kicker { margin: 0; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--lv-ink-3); }
.ivd-title { margin: 4px 0 2px; font-size: 1.75rem; }
.ivd-prep { margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--lv-border); color: var(--lv-ink-2); font-size: 14px; }
.ivd-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.ivd-tile { border: 1px solid var(--lv-border); border-radius: 8px; padding: 12px 16px; }
.ivd-tile--open { display: block; color: inherit; text-decoration: none; cursor: pointer; } .ivd-tile--open:hover, .ivd-tile--open:focus-visible { border-color: var(--lv-ink); }
.ivd-tl { font-size: 14px; color: var(--lv-ink-2); }
.ivd-tv { font-size: 1.5rem; font-weight: 700; margin: 2px 0; font-variant-numeric: tabular-nums; }
.ivd-ts { font-size: 14px; color: var(--lv-ink-2); }
.ivd-ts.ivd-better { color: var(--lv-better-text); } .ivd-ts.ivd-worse { color: var(--lv-worse-text); }
.ivd-sec { margin: 18px 0; } .ivd-sec h3, .ivd-ch h3, .ivd-panel h3 { font-size: 1.05rem; margin: 0 0 6px; text-transform: none; letter-spacing: normal; color: var(--lv-ink); font-weight: 600; } .ivd-sec p { margin: 0; line-height: 1.6; }
.ivd-charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 24px; margin: 18px 0; }   /* C-23 45: side by side only when each is 380 px or wider */
.ivd-chart { width: 100%; height: auto; display: block; }
.ivd-grid { stroke: var(--lv-c-grid); stroke-width: 1; } .ivd-tick { font-size: 11px; fill: var(--lv-ink-3); } .ivd-val { font-size: 12px; fill: var(--lv-ink); }
.ivd-col { fill: var(--lv-c-revenue); } .ivd-line { fill: none; stroke: var(--lv-c-cash); stroke-width: 2; }
.ivd-ahead { fill: none; stroke: var(--lv-c-cash); stroke-width: 2; stroke-dasharray: 5 4; } .ivd-min { stroke: var(--lv-c-baseline); stroke-dasharray: 2 3; }
.ivd-dot { fill: var(--lv-c-cash); } .ivd-low { fill: var(--lv-c-worse); } .ivd-lowl { font-size: 11px; fill: var(--lv-worse-text); } .ivd-minl { font-size: 11px; fill: var(--lv-ink-3); }
@media (max-width: 480px) { .ivd-tick, .ivd-lowl, .ivd-minl { font-size: 15px; } .ivd-val { font-size: 16px; } }   /* C-23 45: a 460-wide chart drawn about 320 px wide keeps its words about 10-11 px */
.ivd-note { margin: 6px 0 0; font-size: 14px; color: var(--lv-ink-2); line-height: 1.5; }
/* item 3 slice 2: the draft's edit in place */
.ivd-edit { margin-left: 6px; font-size: 13px; font-weight: 500; } .ivd-draft { margin-left: 8px; font-size: 12px; font-weight: 500; color: var(--lv-ink-3); }
.ivd-ta { width: 100%; max-height: none; box-sizing: border-box; font: inherit; line-height: 1.5; padding: 8px 10px; border: 1px solid var(--lv-border); border-radius: 8px; background: var(--lv-surface); color: var(--lv-ink); }
.ivd-toks { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; } .ivd-tok { font: inherit; font-size: 12px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--lv-border); background: transparent; color: var(--lv-ink-2); cursor: pointer; }
.ivd-err { color: var(--lv-due-text, var(--lv-ink)); } .ivd-edacts { margin: 6px 0 0; }
.ivd-foot { margin: 18px 0 0; padding-top: 12px; border-top: 1px solid var(--lv-border); font-size: 12px; color: var(--lv-ink-3); }
.ivd-app .scroll-x { margin-top: 6px; }
.ivd-side .card { margin-bottom: 14px; }
.ivd-panel h3 { margin: 0 0 8px; }
.ivd-sw { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--lv-border); }
.ivd-sw:last-child { border-bottom: 0; } .ivd-sw input { width: 20px; height: 20px; accent-color: var(--lv-teal); }
.ivd-pl { margin: 10px 0 4px; font-size: 14px; color: var(--lv-ink-2); } .ivd-fixed { margin: 0; }
.ivd-seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--lv-surface-2); }
.ivd-segb { border: 0; background: transparent; padding: 6px 14px; border-radius: 999px; font: inherit; cursor: pointer; color: var(--lv-ink-2); }
.ivd-segb.on { background: var(--lv-surface); color: var(--lv-ink); }
@media (max-width: 760px) {
  .ivd-wrap { grid-template-columns: minmax(0, 1fr); } .ivd-doc { padding: 18px 16px; }
  .ivd-tiles { grid-template-columns: minmax(0, 1fr); } .ivd-charts { grid-template-columns: minmax(0, 1fr); }
  .ivd-acts { margin-left: 0; } .ivd-title { font-size: 1.35rem; }
}
.ivd-bar .lv-select { width: auto; min-width: 140px; }

/* KPIs > DEFINITIONS FROM THE METRIC REGISTRY (item 2d, C 11/13/2026; kpis-definitions.png; front/g_kpi_definitions.js): the table by group, the
   drawer beside it (under it on a phone); only the value bold */
.kd-head h2 { margin: 0 0 2px; } .kd-head p { margin: 0 0 14px; }
/* item 1 (C 00:04 11/14/2026, kpis-definitions.png): the title and its sentence on one line; the download at the top right */
.kd-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; margin-bottom: 14px; } .kd-head h2 { order: 1; margin: 0; } .kd-head p { order: 2; margin: 0; flex: 1 1 320px; } .kd-head .kd-dl { order: 3; margin-left: auto; }
.kd-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; } .kd-wrap--open { grid-template-columns: minmax(0, 1fr) 420px; }
.kd-table { background: var(--lv-surface); border: 1px solid var(--lv-border); border-radius: 12px; padding: 12px 20px; overflow-x: auto; }
.kd { width: 100%; border-collapse: collapse; } .kd th, .kd td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--lv-border); font-weight: 400; vertical-align: middle; }
.kd thead th { color: var(--lv-ink-2); font-size: 13px; } .kd .kd-num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.kd-g th { padding-top: 18px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--lv-ink-2); border-bottom: 0; }
.kd-row { cursor: pointer; } .kd-row:hover, .kd-row.kd-on { background: var(--lv-surface-2); } .kd-row:focus-visible { outline: 2px solid var(--lv-teal); outline-offset: -2px; }
.kd-name { text-decoration: underline dotted var(--lv-ink-3); text-underline-offset: 4px; } .kd-row .kd-num { font-weight: 600; }
.kd-win { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--lv-surface-2); color: var(--lv-ink-2); font-size: 13px; white-space: nowrap; }
.kd-pages { color: var(--lv-ink-2); font-size: 14px; } .kd-chev { color: var(--lv-ink-3); text-align: right; }
.kd-nmh { margin: 18px 0 4px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--lv-ink-2); font-weight: 400; }
.kd-nm { list-style: none; margin: 0; padding: 0; } .kd-nm li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 12px; padding: 10px 8px; border-bottom: 1px solid var(--lv-border); }
.kd-nm .kd-name { text-decoration: none; } .kd-needs { color: var(--lv-ink-2); } .kd-fix { color: var(--lv-ink); white-space: nowrap; text-align: right; }
.kd-nm li { align-items: center; } .kd-act { font-weight: 600; color: var(--lv-ink); text-decoration: none; } .kd-act:hover, .kd-act:focus-visible { text-decoration: underline; }   /* item 2: the row's action, as drawn */
.kd-shown a { color: var(--lv-ink); }   /* item 3: the pages that show it, as links */
.kd-drawer { position: relative; padding: 20px 22px; } .kd-x { position: absolute; top: 12px; right: 12px; border: 0; background: transparent; font-size: 20px; cursor: pointer; color: var(--lv-ink-2); }
.kd-dh { margin: 0; color: var(--lv-ink-2); } .kd-dv { margin: 2px 0 10px; font-size: 2rem; font-weight: 700; } .kd-dd { margin: 0 0 12px; line-height: 1.5; }
.kd-lines { list-style: none; margin: 0 0 10px; padding: 0; } .kd-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--lv-border); }
.kd-basis, .kd-shown { color: var(--lv-ink-2); font-size: 14px; margin: 8px 0 0; }
/* the drawer's windows (C 05:21; tokens only) */
.kd-wins { background: var(--lv-surface-2); border: 1px solid var(--lv-border); border-radius: 10px; padding: 12px 14px; margin: 12px 0; }
.kd-wh { margin: 0 0 8px; font-weight: 600; } .kd-wrow { display: flex; flex-wrap: wrap; gap: 6px; }
.kd-wchip { padding: 4px 10px; border-radius: 999px; color: var(--lv-ink-2); } .kd-wchip-on { background: var(--lv-surface); color: var(--lv-ink); box-shadow: 0 0 0 1px var(--lv-border); }
.kd-wnote { margin: 8px 0 0; color: var(--lv-ink-2); font-size: 13px; }
@media (max-width: 760px) { .kd-wrap--open { grid-template-columns: minmax(0, 1fr); } .kd-pages, .kd th:nth-child(4) { display: none; } .kd-table { padding: 8px 10px; } .kd-nm li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
@media (max-width: 760px) { .kd th, .kd td { padding-left: 4px; padding-right: 4px; } .kd td.kd-chev { padding-left: 2px; padding-right: 0; } }   /* C-M15-2 (C 09:25 UTC 11/14/2026): the chevron inside the card at 390 */
@media (max-width: 760px) { .kd-head .kd-dl { order: 0; flex-basis: 100%; margin: 0 0 6px; text-align: left; } .kd-fix { text-align: left; } }   /* item 2c: Download metrics (xlsx), as drawn */

/* revenues-collections.png (M 11/14/2026): the four tiles across on a desk (the base .tiles is five columns); the six weeks' sentence */
@media (min-width: 900px) { .rv2-col > .rv2-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rv2-wk-say { margin: 2px 0 10px; color: var(--lv-ink-2); }
/* the 390 walk's catch (M 11/14/2026): under 1100 px the Needs you, six weeks and ageing cards kept their desktop column -- their attribute selectors outrank the one-column rule -- so an implicit second column squeezed every block to a sliver; the same specificity puts them back in the one column */
@media (max-width: 1100px) { .rv2-col:has(> [data-testid="rv2-needs"]) > [data-testid="rv2-needs"], .rv2-col:has(> [data-testid="rv2-needs"]) > [data-testid="rv2-weeks"], .rv2-col:has(> [data-testid="rv2-needs"]) > [data-testid="rv2-age"] { grid-column: 1 / -1; grid-row: auto; } }

/* revenues-overview.png (M 11/14/2026): the tiles' lines */
.rv2-spark { display: block; width: 200px; max-width: 100%; height: 30px; margin-top: 6px; } .rv2-spark path { fill: none; stroke-width: 2; stroke: var(--lv-chart-indigo); } .rv2-spark circle { fill: var(--lv-chart-indigo); }
.rv2-spark--arr path { stroke: var(--lv-chart-lagoon); } .rv2-spark--arr circle { fill: var(--lv-chart-lagoon); }
/* the merge with c/t185m 115d55d5 (M 11/14/2026): M's one-line Definitions head keeps its .kd-dl rule above; C's float version of it is dropped; C's Proposed fixes rules follow */

/* 2a.5, Scenarios › Proposed fixes from Vista (front/g_scenario_fixes.js; switch scenarioFixes) */
.lv-fx { display: grid; gap: 16px; margin: 0 0 20px; } .lv-fx-back { margin: 0 0 8px; }
.lv-fx-banner { border: 1px solid var(--lv-border); border-radius: 12px; padding: 12px 16px; background: var(--lv-surface-2); } .lv-fx-banner__h { margin: 0 0 4px; }
.lv-fx-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.lv-fx-card { padding: 16px; display: grid; gap: 8px; align-content: start; } .lv-fx-card__h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .lv-fx-card__h h3 { margin: 0; font-size: 16px; flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.lv-fx-letter { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--lv-surface-2); font-weight: 600; }
.lv-fx-changes { list-style: none; margin: 0; padding: 0; } .lv-fx-change { padding: 4px 0; } .lv-fx-change--off { color: var(--lv-ink-2); }
.lv-fx-res { margin: 0; } .lv-fx-better { color: var(--lv-ink); font-weight: 600; } .lv-fx-worse { color: var(--lv-ink-2); }
.lv-fx-chart { min-width: 0; overflow: hidden; } .lv-fx-chart svg { max-width: 100%; height: auto; } .lv-fx-acts { margin: 4px 0 0; }
.lv-fx-side { overflow-x: auto; } .lv-fx-t { border-collapse: collapse; width: 100%; } .lv-fx-t th, .lv-fx-t td { padding: 6px 8px; border-bottom: 1px solid var(--lv-border); text-align: left; } .lv-fx-t td.kd-num, .lv-fx-t thead th { text-align: right; } .lv-fx-best { font-weight: 700; }
.lv-fx-wins { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; } .lv-fx-wins .lv-chip { cursor: pointer; border: 1px solid var(--lv-border); background: var(--lv-surface); } .lv-fx-wins .lv-chip--on { background: var(--lv-surface-2); color: var(--lv-ink); font-weight: 600; }

/* spend-overview.png item 2 (M 11/14/2026): the 13 months card's sentence and its view toggle */
.spc-msay { margin: 0 0 10px; color: var(--lv-ink-2); } .spc-mview { float: right; margin: 0 0 8px 12px; }
@media (max-width: 760px) { .spc-mview { float: none; margin: 0 0 8px; } }

/* spend-suppliers.png (M 11/14/2026): the Details column */
.supp-det.ok { color: var(--lv-better-text); } .supp-det.warn { color: var(--lv-worse-text); } .bills-tiles .tile .value.warn { color: var(--lv-worse-text); }

/* group 6 board 2 (D 11/13/2026): Settings › Mailbox in the board's shape */
.mbx-set { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--lv-s-3); }
@media (min-width: 1024px) { .mbx-set { grid-template-columns: minmax(0, 1fr) 280px; align-items: start; } }
.mbx-set__main { display: flex; flex-direction: column; gap: var(--lv-s-3); min-width: 0; }
.mbx-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--lv-s-2); flex-wrap: wrap; }
.mbx-head h3 { margin: 0; }
.mbx-ico { flex: none; color: var(--lv-ink-2); }
.mbx-cantbox { display: flex; gap: var(--lv-s-2); align-items: flex-start; padding: var(--lv-s-2) var(--lv-s-3); border-radius: var(--lv-r-2); background: var(--lv-tint-amber, var(--lv-surface-2)); margin: var(--lv-s-2) 0; }
.mbx-cantbox p { flex: 1 1 auto; margin: 0; }
.mbx-row--set { display: flex; gap: var(--lv-s-2); align-items: flex-start; padding: var(--lv-s-2) 0; border-top: 1px solid var(--lv-line, rgba(0,0,0,.08)); }
.mbx-row__t { flex: 1 1 auto; min-width: 0; }
.mbx-row__t p { margin: 0 0 2px; }
.mbx-chip { display: inline-block; font-size: var(--lv-fs-12); padding: 0 8px; border-radius: 999px; }
.mbx-chip--warn { background: var(--lv-tint-amber, var(--lv-surface-2)); color: var(--lv-ink); }
.mbx-ok { color: var(--lv-c-better, var(--lv-ink)); }
.mbx-line--set { display: flex; gap: var(--lv-s-2); align-items: center; border-top: 1px solid var(--lv-line, rgba(0,0,0,.08)); padding-top: var(--lv-s-2); }
.mbx-another--set { display: block; width: 100%; text-align: center; border-style: dashed; margin-top: var(--lv-s-2); box-sizing: border-box; }
.mbx-sub > summary { display: flex; gap: var(--lv-s-3); align-items: center; justify-content: space-between; cursor: pointer; list-style: none; }
.mbx-sub > summary::-webkit-details-marker { display: none; }
.mbx-sub__t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mbx-how--set h3 { margin-top: 0; }
.mbx-card--set h3, .mbx-how--set h3 { text-transform: none; letter-spacing: 0; font-size: var(--lv-fs-16, 16px); color: var(--lv-ink); }

/* revenues-collections.png items 2 and 4 (M 11/14/2026; C 11:25): Needs you's head with its count chip, the subtitle at the right; the ageing bar as the six weeks' second section */
.rv2-needs__h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; } .rv2-needs__h h3 { margin: 0; } .rv2-needs__h .rv2-sub { margin: 0; }
.rv2-chip { display: inline-block; min-width: 22px; padding: 0 7px; border-radius: 999px; background: var(--lv-surface-2); font-size: 13px; font-weight: 600; text-align: center; vertical-align: middle; }
.rv2-age--in { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--lv-border); } .rv2-age__h { display: inline; margin-right: 8px; font-size: 15px; }

/* forecast-cash.png (M 11/14/2026; C 11:50): the rail's head, its rows' effects at the right, the toggles, the ask card */
.g-cash-layer__h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; } .g-cash-layer__h .lv-cardhead { margin: 0; }
.g-chip { display: inline-block; padding: 0 8px; border-radius: 999px; background: var(--lv-surface-2); font-size: 13px; font-weight: 600; }
.g-cash-layer__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; } .g-cash-layer__row > label { grid-column: 1; } .g-cash-layer__when { grid-column: 1; }
.g-cash-layer__eff { grid-column: 2; grid-row: 1 / span 2; text-align: right; } .g-cash-layer__eff small { display: block; color: var(--lv-ink-2); }
.g-cash-layer__row.is-off .lv-data, .g-cash-layer__row.is-off .g-cash-layer__when, .g-cash-layer__row.is-off .g-cash-layer__eff { color: var(--lv-ink-3); }
input.g-toggle { appearance: none; -webkit-appearance: none; width: 34px; height: 20px; border-radius: 999px; background: var(--lv-border); position: relative; vertical-align: middle; cursor: pointer; margin: 0 6px 0 0; }
input.g-toggle::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--lv-surface); transition: left .15s; }
input.g-toggle:checked { background: var(--lv-navy); } input.g-toggle:checked::after { left: 16px; } input.g-toggle:focus-visible { outline: 2px solid var(--lv-teal); outline-offset: 2px; } input.g-toggle:disabled { opacity: .5; cursor: default; }
.g-cash-layer__all { display: inline-block; margin-top: 8px; }
.cp3-ask { margin-top: 14px; } .cp3-ask__f { display: flex; gap: 8px; flex-wrap: wrap; } .cp3-ask__f .lv-input { flex: 1 1 160px; min-width: 0; } .cp3-ask__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }

/* 2a.5 slice 3 (C 11/14/2026): Custom's month list; Side by side on a phone, one column at a time behind its chips (the Compare phone pattern) */
.lv-fx-end select { margin-left: 4px; font: inherit; } .lv-fx-cols { display: none; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; } .lv-fx-cols .lv-chip { cursor: pointer; border: 1px solid var(--lv-border); background: var(--lv-surface); } .lv-fx-cols .lv-chip--on { background: var(--lv-surface-2); color: var(--lv-ink); font-weight: 600; }
@media (max-width: 600px) { .lv-fx-cols { display: flex; } .lv-fx-side [data-fx-c] { display: none; } .lv-fx-side[data-fx-show="0"] [data-fx-c="0"], .lv-fx-side[data-fx-show="1"] [data-fx-c="1"], .lv-fx-side[data-fx-show="2"] [data-fx-c="2"], .lv-fx-side[data-fx-show="3"] [data-fx-c="3"] { display: table-cell; } }

/* BF-2 slice 1 (D 11/16/2026): Decisions (front/g_decisions.js; boards handoffs/brief-first-2026-11-16 README 6-10). The recommendation 15/600,
   the why 13.5 secondary, the money 16/650 tabular at the right; the action filled, Not now and Dismiss as text on a desk; on a phone the action
   full width 44 px and the other answers 40 px outline buttons of equal width */
.dec .dec-h h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 17px; font-weight: 650; text-transform: none; letter-spacing: 0; color: var(--ink); }
.dec .dec-list { margin: 0; padding: 0; }
.dec-n { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--lv-world-more-12); border-radius: 10px; padding: 1px 8px; }
.dec-list { list-style: none; margin: 0; padding: 0; }
.dec-item { padding: 14px 0; border-top: 1px solid var(--line); }
.dec-list .dec-item:first-child { border-top: 0; }
.dec-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dec-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; border-radius: 6px; padding: 2px 8px; }
.dec-chip--review { color: var(--lv-c-stop); background: var(--lv-tint-stop); }
.dec-rl { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.dec-chev { flex: 0 0 auto; border: 0; background: transparent; color: var(--muted); font-size: 16px; line-height: 1; padding: 8px 4px 2px; cursor: pointer; transition: transform .15s; }
.dec-open .dec-chev { transform: rotate(180deg); }
.dec-ev { margin-top: 12px; }
.dec-ev-n { margin: 0 0 10px; font-size: 15px; line-height: 1.5; max-width: 720px; color: var(--ink); }
.dec-ev-h { margin: 12px 0 4px; font-size: 11px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.dec-ev-l { list-style: none; margin: 0; padding: 0; }
.dec .dec-ev-l { margin: 0; padding: 0; }
.dec-ev-l li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.dec-ev-l li:first-child { border-top: 0; }
.dec-ev-v { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dec-chip--sug { color: var(--lv-world-vista-t); background: var(--panel); border: 1px dashed var(--lv-world-vista); padding: 1px 7px; }
.dec-chip--due { color: var(--lv-due-text); background: var(--lv-tint-due); }
.dec-chip--severity-red, .sev.dec-chip--severity-red { color: var(--lv-c-stop); background: var(--lv-tint-stop); }
.dec-chip--severity-yellow, .sev.dec-chip--severity-yellow { color: var(--lv-due-text); background: var(--lv-tint-due); }
.dec-chip--severity-purple, .sev.dec-chip--severity-purple { color: var(--lv-worse-text); background: var(--lv-tint-worse); }
.dec-inline { margin: .35rem 0; }
.dec-inline summary { cursor: pointer; }
[data-att2="decisions"] [data-severity], .lvm-att__row[data-severity] { border-inline-start: .2rem solid var(--lv-due-text); padding-inline-start: .65rem; }
[data-att2="decisions"] [data-severity="red"], .lvm-att__row[data-severity="red"] { border-inline-start-color: var(--lv-c-stop); }
[data-att2="decisions"] [data-severity="purple"], .lvm-att__row[data-severity="purple"] { border-inline-start-color: var(--lv-worse-text); }

.dec-chip--question { color: var(--lv-world-vista-t); background: var(--lv-world-vista-12); }
.dec-chip--opp { color: var(--lv-better-text); background: var(--lv-tint-better); }
.dec-money { font-size: 16px; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.dec-money-l { margin: 2px 0 0; text-align: right; font-size: 12px; color: var(--muted); }
.dec-rec { margin: 8px 0 2px; font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.dec-why { margin: 0 0 10px; font-size: 13.5px; line-height: 1.45; color: var(--lv-ink-2); }
.dec-back { margin: -6px 0 10px; font-size: 12.5px; color: var(--lv-world-vista-t); }
.dec-cons { margin: -6px 0 10px; font-size: 13.5px; font-weight: 500; line-height: 1.45; color: var(--ink); }
.dec-arrow { color: var(--lv-world-vista); font-weight: 650; }
.dec-acts { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; }
.dec-more { position: relative; display: inline-flex; gap: 2px; }
.dec-ans { background: transparent; border: 0; padding: 6px 8px; border-radius: 6px; font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; }
.dec-ans:hover, .dec-ans[aria-expanded="true"] { background: var(--lv-world-more-12); }
.dec-menu { position: absolute; top: calc(100% + 4px); left: 0; z-index: 30; min-width: 210px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px rgba(16,24,40,.14); padding: 6px; }
.dec-menu-h { margin: 4px 8px 6px; font-size: 11px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.dec-mi { display: flex; justify-content: space-between; gap: 12px; width: 100%; background: transparent; border: 0; border-radius: 6px; padding: 8px; font: inherit; font-size: 14px; color: var(--ink); text-align: left; cursor: pointer; }
.dec-mi:hover, .dec-mi:focus-visible { background: var(--lv-world-more-12); }
.dec-mi-d { color: var(--muted); font-variant-numeric: tabular-nums; }
.dec-pick input { font: inherit; font-size: 13px; border: 1px solid var(--line); border-radius: 6px; padding: 2px 4px; }
.dec-marker { display: flex; align-items: center; gap: 10px; padding: 10px 0; background: transparent; }
.dec-mk-ico { flex: 0 0 22px; height: 22px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; color: var(--muted); background: var(--lv-world-more-12); }
.dec-mk-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; font-size: 13.5px; }
.dec-mk-s { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dec-undo { color: var(--lv-world-vista-t); font-weight: 600; text-decoration: none; }
.dec-all { display: block; width: 100%; margin-top: 4px; padding: 10px 0 2px; border: 0; border-top: 1px solid var(--line); background: transparent; font: inherit; font-weight: 600; color: var(--lv-world-vista-t); text-align: left; cursor: pointer; }
.dec-empty { text-align: center; padding: 18px 0 8px; }
.dec-empty p { margin: 8px 0 4px; font-weight: 600; color: var(--ink); }
.dec-ok { display: inline-flex; width: 40px; height: 40px; border-radius: 20px; align-items: center; justify-content: center; color: var(--lv-better-text); background: var(--lv-tint-better); font-size: 18px; }
.dec-layer { position: fixed; inset: 0; z-index: 60; background: rgba(16,24,40,.28); display: flex; justify-content: flex-end; }
.dec-panel { width: 560px; max-width: 100%; height: 100dvh; overflow-y: auto; background: var(--panel); padding: 18px 22px 28px; box-shadow: -8px 0 32px rgba(16,24,40,.16); }
.dec-ph { display: flex; align-items: center; justify-content: space-between; }
.dec-ph h3 { margin: 0; font-size: 19px; font-weight: 650; text-transform: none; letter-spacing: 0; color: var(--ink); }
.dec-x { border: 0; background: transparent; font-size: 22px; line-height: 1; padding: 6px 10px; cursor: pointer; color: var(--muted); }
.dec-tabs { display: flex; gap: 4px; margin: 12px 0 6px; border-bottom: 1px solid var(--line); }
.dec-tab { border: 0; background: transparent; font: inherit; font-size: 14px; padding: 8px 10px; color: var(--muted); border-bottom: 2px solid transparent; cursor: pointer; }
.dec-tab.on { color: var(--ink); font-weight: 600; border-bottom-color: var(--lv-world-vista); }
/* C-26 A1-A4 (Andrew 11/18/2026 via A 07:47; switch mobileVistaV2): Decisions on a phone as a strip like the mockup's Needs you -- 214 x 122,
   the strip's 8 px inset and gap (.lvm-strip), the chart-free card: chip and money, the short title (two lines), the one button; its sheet from
   the bottom, the page behind held; the why line clear of the buttons, the chevron on the title's first line */
.dec--strip { margin: 0; }
.dec-strip.dec-list { margin: 6px -8px 0; padding: 0 8px 4px; }
.dec-strip .dec-card, .dec-list.dec-strip .dec-item:first-child { flex: 0 0 214px; height: 122px; box-sizing: border-box; scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border: 1px solid var(--lv-border); border-radius: var(--lv-r-2); background: var(--lv-surface); }
.dec-strip .dec-top { gap: 6px; } .dec-strip .dec-money { font-size: 14px; }
.dec-strip .dec-short { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; padding: 0; border: 0; background: none; text-align: left; font: 600 14px/1.3 var(--lv-font); color: var(--ink); cursor: pointer; }
.dec-strip .dec-acts, .dec-strip .dec-card .dec-acts { display: flex; margin-top: auto; }
.dec-strip .dec-acts .dec-do { width: auto; min-height: 32px; padding: 0 12px; }
.dec-strip .dec-card--all { flex: 0 0 112px; align-items: center; justify-content: center; }
.dec-strip .dec-card--all .dec-all { margin: 0; padding: 0; border: 0; width: auto; text-align: center; }
@media (max-width: 600px) {
  .dec-layer--sheet { align-items: flex-end; justify-content: stretch; overscroll-behavior: contain; }
  .dec-layer--sheet .dec-panel { width: 100%; height: auto; max-height: 85dvh; border-radius: 16px 16px 0 0; box-shadow: 0 -8px 32px rgba(16,24,40,.16); overscroll-behavior: contain; }
}
.dec-layer--v2 .dec-acts, .dec--v2 .dec-acts { margin-top: 12px; }
.dec-layer--v2 .dec-item { display: flex; flex-direction: column; } .dec-layer--v2 .dec-ev { order: 1; } .dec-layer--v2 .dec-acts { order: 2; } .dec-layer--v2 .dec-ev-n { display: none; }   /* the sheet: why, consequence, evidence, then every answer; the why said once */
.dec-layer--v2 .dec-rl, .dec--v2 .dec-rl { align-items: flex-start; } .dec-layer--v2 .dec-chev, .dec--v2 .dec-chev { padding: 2px 4px; margin-top: 8px; }
.dec-panel h4 { margin: 14px 0 0; font-size: 12px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 600px) {
  .dec-acts { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .dec-acts .dec-do { width: 100%; min-height: 44px; justify-content: center; }
  .dec-more { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .dec-ans { min-height: 40px; border: 1px solid var(--line); border-radius: 8px; text-align: center; }
  .dec-menu { left: 0; right: 0; min-width: 0; }
  .dec-panel { width: 100%; padding: 14px 8px 24px; }
}

/* THE APP SEARCH (switch appSearch; front/g_app_search.js; Andrew 18:20 UTC 11/17/2026): the box at the end of the nav row, its list under it */
.lv-srch-slot { display: inline-flex; margin-left: 12px; }
.lv-srch { position: relative; display: inline-flex; align-items: center; }
.lv-srch__q { width: 12rem; max-width: 40vw; min-height: 36px; }
/* R-82 (R 11/22/2026): when not even its one word fits (390 px), the box shows a magnifier, never part of the word (app.js fits placeholders) */
.lv-srch__q[data-ph-cut="all"] { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23767b85' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='4.5'/%3E%3Cpath d='M10.4 10.4 14 14'/%3E%3C/svg%3E") no-repeat center / 16px 16px; }
.lv-srch__q[data-ph-cut="all"]:focus { background-image: none; }
.lv-srch__list { position: absolute; top: calc(100% + 4px); right: 0; z-index: 60; display: flex; flex-direction: column; min-width: 16rem; max-width: min(24rem, calc(100vw - 32px));
  padding: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, .14); }
.lv-srch__list[hidden] { display: none; }
.lv-srch__hit { min-height: 44px; padding: 8px 10px; text-align: left; color: var(--ink); background: none; border: 0; border-radius: 6px; cursor: pointer; font: inherit; }
.lv-srch__hit:hover, .lv-srch__hit:focus-visible { background: var(--accent-soft); outline: none; }
.lv-srch__none { padding: 10px; }
.lv-srch-hit { outline: 3px solid var(--accent); outline-offset: 4px; }
@media (max-width: 640px) { .lv-srch-slot { margin-left: 6px; } .lv-srch__q { width: 7.5rem; } .lv-srch__list { position: fixed; top: auto; left: 16px; right: 16px; bottom: 76px; max-width: none; } }
@media (max-width: 600px) {
  .top .lv-srch-slot:not(:empty) { flex: 0 1 120px; min-width: 68px; margin-left: 0; }
  .top .lv-srch, .top .lv-srch__q { width: 100%; min-width: 0; }
  .top .lv-srch__q { padding-inline: 7px; }
}

/* INGEST HOTFIX (D 11/19/2026): the Receipts head's search line beside its button; Find documents in email at the top of Breeze */
.rcb-find-state { display: inline-block; max-width: 36ch; vertical-align: middle; margin-left: 8px; } .rcb-find-state p { margin: 0; }
.bz2-docscan { margin: 0 0 12px; } .bz2-docscan:empty { display: none; }

/* R-152: one chart spans the detail pane; figures start collapsed. */
.vr-pp-story { font-size: 14px; line-height: 1.45; }
.vr-pp-story p { margin: 0 0 8px; overflow-wrap: anywhere; }
.vr-pp-list { margin: 0 0 16px; padding: 0; list-style: none; }
.vr-pp-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.vr-pp-row b { flex: none; font-variant-numeric: tabular-nums; }
.vr-pp-row:has(.vr-pp-track) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(60px, 1.4fr) auto; align-items: center; }
.vr-pp-open { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; width: 100%; border: 0; padding: 0; background: transparent; color: inherit; font: inherit; text-align: start; align-items: center; cursor: pointer; }
.vr-pp-open:hover { background: var(--lv-surface-2); }
.vr-pp-track { display: block; width: 100%; height: 8px; background: var(--lv-line); border-radius: 4px; overflow: hidden; }
.vr-pp-track rect { fill: var(--lv-lagoon); }
.vr-pp-track .vr-pp-negative { fill: var(--lv-ink-2); }
.vr-pp-axis { display: flex; justify-content: space-between; color: var(--lv-ink-2); font-size: 12px; }
.vr-detail--panel [data-testid="vr-d-para"] { max-width: 64ch; }
.vr-detail--panel .vr-d-chart .vr-mini { width: 100%; height: clamp(120px, 24dvh, 220px); }
.vr-detail--panel .vr-d-figures { margin-top: 16px; }
.vr-detail--panel .vr-d-figures > summary { cursor: pointer; padding-block: 10px; }
/* R-142/143: give the current bar's label room without moving it off the bar centre. */
.vr-plot--value { padding-top: 18px; padding-inline-end: 26px; }
.vr-pop--v2 .vr-plot--value { padding-inline-end: 0; }
.vr-ych:has(> .vr-plot--value) > .vr-yax { padding-top: 18px; }
.vr-plot--value [data-vr-bar-index] { transform: translate(-50%, calc(-100% - 3px)); }
/* R-121: keep all detail actions in one row at phone widths. */
@media (max-width: 600px) {
  .vr-detail--panel .vr-d-chart p.vr-legend { display: block; line-height: 1.35; overflow-wrap: anywhere; }
  .vr-detail--panel .vr-d-chart p.vr-legend > .muted { display: block; }
  .vr-d-foot:not(:lang(pt)) { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); align-items: stretch; gap: 6px; }
  .vr-d-foot:not(:lang(pt)) > :is(a, button) { min-width: 0; min-height: 44px; margin: 0; padding-inline: 4px; white-space: normal; text-align: center; }
}
.vr-mini .vr-bridge-guide { stroke: var(--lv-ink-2); stroke-width: 1; opacity: .62; fill: none; }

.sc-target-line { stroke: currentColor; stroke-dasharray: 4 4; stroke-opacity: .7; vector-effect: non-scaling-stroke; }
.sc-target { margin: 6px 0 2px; }

.sc-detail { align-self: flex-start; margin-top: 4px; }
.sc-detail-panel .sc-chart { margin: 12px 0; }

.sc-cash-panel { margin-block: 16px; }
.sc-cash-panel dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 14px; margin-bottom: 16px; }
.sc-cash-panel dd { margin: 4px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.sc-cash-forecast { margin: 0; }
.sc-cash-forecast svg { display: block; width: 100%; max-height: 240px; }
.sc-cash-forecast polyline { stroke: var(--lv-navy); stroke-width: 2; }
.sc-cash-forecast circle { fill: var(--lv-navy); }
.sc-cash-zero { stroke: var(--lv-ink-2); stroke-width: 1; stroke-dasharray: 3 4; }
.sc-cash-axis { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }

.sc-cash-min { stroke: var(--lv-ink-2); stroke-width: 1.5; stroke-dasharray: 2 3; }
.sc-cash-forecast .sc-cash-crossing { fill: var(--lv-warn, #9a351e); }
.sc-cash-gap { stroke: var(--lv-warn, #9a351e); stroke-width: 2; stroke-dasharray: 3 3; }

.lv-att2__restored { display: grid; gap: var(--lv-s-4, 16px); }
.lv-att2__restore-lines { padding-inline-start: 20px; }
.lv-att2__restore-lines li { margin-block: 8px; }
.lv-att2__dec li + li { margin-top: 12px; }


/* Vista chart detail is modeless on desktop. The same panel is a bottom sheet on phones. */
.vr-chart-detail-shell {
  position: fixed; inset: 0 0 0 auto; z-index: 49;
  display: flex; flex-direction: column; box-sizing: border-box;
  width: min(560px, 100%); height: 100dvh;
  background: var(--lv-surface, #fff); color: var(--lv-ink, #18212a);
  border-inline-start: 1px solid var(--lv-line, #dce1e5); box-shadow: var(--lv-sh-2, -8px 0 24px #18212a20);
  animation: vr-chart-detail-in 250ms ease-out;
}
@media (min-width: 601px) {
  .vr-chart-detail-shell--left { inset: 0 auto 0 0; animation-name: vr-chart-detail-left; }
}
@keyframes vr-chart-detail-left { from { transform: translateX(-100%); } to { transform: translateX(0); } }
.vr-chart-detail-head, .vr-chart-detail-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 24px; flex: 0 0 auto;
}
.vr-chart-detail-head h2 { margin: 0; font-size: 16px; font-weight: 600; }
.vr-chart-detail-head { border-bottom: 1px solid var(--lv-line, #dce1e5); }
.vr-chart-detail-foot { flex-wrap: wrap; justify-content: flex-start; border-top: 1px solid var(--lv-line, #dce1e5); }
.vr-chart-detail-body { flex: 1 1 auto; min-height: 0; padding: 20px 24px; overflow: auto; overscroll-behavior: contain; }
.vr-chart-detail-body .vr-d-fig { margin: 0 0 16px; font-size: 32px; line-height: 1.2; }
.vr-chart-detail-body .vr-d-fig > span { display: block; font-size: 14px; margin-bottom: 4px; }
.vr-chart-detail-handle { display: none; }
[data-vr-chart-active] { outline: 1px solid var(--lv-lagoon, #137e76); outline-offset: 2px; }
[data-vr-chart-active-plot] [data-i] { opacity: .43; }
[data-vr-chart-active-plot] [data-i][data-vr-chart-selected] { opacity: 1; stroke: var(--lv-ink, #18212a); stroke-width: 2px; vector-effect: non-scaling-stroke; }
.vr-chart-detail-guide { stroke: var(--lv-ink, #18212a); stroke-width: 1px; vector-effect: non-scaling-stroke; pointer-events: none; }
@keyframes vr-chart-detail-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
@media (max-width: 600px) {
  .vr-chart-detail-shell {
    inset: auto 0 0; width: 100%; height: 60dvh; border-inline-start: 0;
    border-radius: 16px 16px 0 0; animation-name: vr-chart-sheet-in;
  }
  .vr-chart-detail-shell--expanded { height: 100dvh; border-radius: 0; }
  .vr-chart-detail-handle {
    display: grid; place-items: center; flex: 0 0 28px;
    border: 0; background: transparent; cursor: ns-resize; touch-action: none;
  }
  .vr-chart-detail-handle::before { content: ''; width: 38px; height: 4px; border-radius: 2px; background: var(--lv-ink-2, #6b7982); }
  .vr-chart-detail-head, .vr-chart-detail-body, .vr-chart-detail-foot { padding-inline: 16px; }
  .vr-chart-detail-foot { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
}
@keyframes vr-chart-sheet-in { from { transform: translateY(100%); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .vr-chart-detail-shell { animation: none; } }
.vr-chart-ask { margin-top: 20px; }
.vr-chart-ask-question { margin-bottom: 12px; }
.vr-chart-ask-answer { animation: vr-chart-answer-in .2s ease-out both; }
@keyframes vr-chart-answer-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .vr-chart-ask-answer { animation: none; } }
