/* front/g_mobile.css -- THE MOBILE KIT (docs/design/mobile/system.md, slice 1; switch mobileSystem, OFF). Scoped under .lvm and the kit's
   own classes: nothing outside them changes. Compact by rule: 12 px gutters, 8 px between cards, 30 px chips, a 44 px Ask bar, 17 px tile
   figures, 15 px insight in body weight (Andrew 11/10: never a whole paragraph in bold). The world's TEXT tone (AA on white, measured in the
   spec) colours chip text, the active chip, the insight's edge, Ask and the CTA; the world colour itself the 40% border, the insight edge and the dot; white text sits on the text tone only (white on olive or lagoon is 3.1:1). Charts keep Dusk. */
[data-lvm-world="vista"] { --lvm-w: var(--lv-world-vista); --lvm-t: #4F46C8; --lvm-f: #4F46C8; }
[data-lvm-world="forecast"] { --lvm-w: var(--lv-world-forecast); --lvm-t: #B8306F; --lvm-f: #B8306F; }
[data-lvm-world="receipts"] { --lvm-w: var(--lv-world-receipts); --lvm-t: #6B7622; --lvm-f: #6B7622; }
[data-lvm-world="breeze"] { --lvm-w: var(--lv-world-breeze); --lvm-t: #0A7575; --lvm-f: #0A7575; }
[data-lvm-world="attention"] { --lvm-w: var(--lv-world-attention); --lvm-t: #9A5B00; --lvm-f: #9A5B00; }
[data-lvm-world="more"] { --lvm-w: var(--lv-world-more); --lvm-t: #4A5568; --lvm-f: #4A5568; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) [data-lvm-world] { --lvm-t: color-mix(in srgb, var(--lvm-w) 55%, #FFFFFF); } }
:root[data-theme="dark"] [data-lvm-world] { --lvm-t: color-mix(in srgb, var(--lvm-w) 55%, #FFFFFF); }

.lvm { padding: 0 8px calc(12px + env(safe-area-inset-bottom, 0px));   /* Andrew 11/12/2026: the side margins halved; 8 px (mobile-plan.md rule 3) */ display: flex; flex-direction: column; gap: 8px; font: 400 var(--lv-fs-14)/1.45 var(--lv-font); color: var(--lv-ink); min-width: 0; }
.lvm *, .lvm *::before, .lvm *::after { box-sizing: border-box; }
.lvm p { margin: 0; }
.lvm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lvm-muted { color: var(--lv-ink-3); }
.lvm-small { font-size: var(--lv-fs-12); line-height: 1.35; }
.lvm-card { background: var(--lv-surface); border: 1px solid var(--lv-border); border-radius: var(--lv-r-2); padding: 12px; min-width: 0; }

/* sub-pages in the world's colour: the active chip solid, the others white with the world's border and text tone */
.lvm-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -12px; padding: 2px 12px; }
.lvm-chips::-webkit-scrollbar { display: none; }
.lvm-chip { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 12px; border-radius: var(--lv-r-pill); border: 1px solid color-mix(in srgb, var(--lvm-w) 40%, transparent); background: var(--lv-surface);
  color: var(--lvm-t); font: 600 var(--lv-fs-13)/1 var(--lv-font); text-decoration: none; white-space: nowrap; }
.lvm-chip.is-on { background: var(--lvm-f); border-color: var(--lvm-f); color: #FFFFFF; }
.lvm-chip__sub { font-weight: 500; font-size: var(--lv-fs-11); opacity: .85; }

/* the Ask bar: 44 px; its button the Vista pages' CTA */
.lvm-ask { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 4px 0 12px; border: 1px solid var(--lv-border); border-radius: var(--lv-r-2); background: var(--lv-surface); }
.lvm-ask__hint { margin: -4px 2px 0; }
.lvm-ask__ic { color: var(--lvm-t); flex: none; }
.lvm-ask .lv-input, .lvm-ask .lv-input:focus, .lvm-ask .lv-input:focus-visible { box-shadow: none; padding: 0; min-height: 0; border-radius: 0; }
.lvm-ask input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--lv-ink); font: 400 var(--lv-fs-14)/1 var(--lv-font); height: 100%; outline: none; }
.lvm-ask:focus-within { border-color: var(--lvm-t); box-shadow: 0 0 0 2px color-mix(in srgb, var(--lvm-t) 25%, transparent); }
.lvm-ask__go { flex: none; height: 36px; padding: 0 14px; border: 0; border-radius: var(--lv-r-1); background: var(--lvm-f); color: #FFFFFF; font: 600 var(--lv-fs-14)/1 var(--lv-font); cursor: pointer; }

/* the insight: body text, the world's left edge; bold only where the parts mark it */
.lvm-insight { background: var(--lv-surface); border: 1px solid var(--lv-border); border-left: 3px solid var(--lvm-w); border-radius: var(--lv-r-2); padding: 10px 12px; }
.lvm-kicker { font: 600 var(--lv-fs-12)/1.3 var(--lv-font); color: var(--lv-ink-2); margin-bottom: 4px; }
.lvm-kicker .lvm-muted { font-weight: 400; }
.lvm-body { font: 400 15px/1.45 var(--lv-font); color: var(--lv-ink); }
.lvm-body strong { font-weight: 600; }
.lvm-more { margin-top: 6px; padding: 4px 0; border: 0; background: none; color: var(--lvm-t); font: 600 var(--lv-fs-13)/1 var(--lv-font); cursor: pointer; }

/* the hero: one card, a small segment switches it in place */
.lvm-hero__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.lvm-h { margin: 0; font: 600 var(--lv-fs-14)/1.3 var(--lv-font); }
.lvm-seg { display: inline-flex; flex: none; border: 1px solid var(--lv-border); border-radius: var(--lv-r-1); overflow: hidden; }
.lvm-seg__b { height: 26px; padding: 0 9px; border: 0; background: transparent; color: var(--lv-ink-2); font: 500 var(--lv-fs-12)/1 var(--lv-font); cursor: pointer; }
.lvm-seg__b.is-on { background: var(--lv-ink); color: var(--lv-surface); }
.lvm-hero__p svg { display: block; width: 100%; height: auto; }

/* section heads */
.lvm-sec { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 4px 0 0; }
.lvm-sec__t { margin: 0; font: 600 var(--lv-fs-11)/1.2 var(--lv-font); letter-spacing: .06em; text-transform: uppercase; color: var(--lv-ink-3); }
.lvm-sec__a { color: var(--lvm-t, var(--lv-link)); font: 600 var(--lv-fs-12)/1.2 var(--lv-font); text-decoration: none; }
button.lvm-sec__a { border: 0; background: none; padding: 0; cursor: pointer; }

/* Needs you: a swipe strip, 2.3 cards wide; red only for stop now */
.lvm-strip { list-style: none; margin: 6px -8px 0; padding: 0 8px 4px;   /* Needs you at the same 8 px inset (rule 3) */ display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lvm-strip::-webkit-scrollbar { display: none; }
.lvm-need { flex: 0 0 214px; min-width: 0; scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; padding: 10px; border: 1px solid var(--lv-border); border-radius: var(--lv-r-2); background: var(--lv-surface); cursor: pointer; }
.lvm-need__k { display: flex; align-items: center; gap: 6px; font: 600 var(--lv-fs-11)/1 var(--lv-font); color: var(--lv-ink-3); }
.lvm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lv-c-cat-1); flex: none; }
.lvm-need--stop .lvm-dot { background: var(--lv-c-stop); } .lvm-need--stop .lvm-need__k { color: var(--lv-c-stop); }
.lvm-need--due .lvm-dot { background: var(--lv-c-due); } .lvm-need--due .lvm-need__k { color: var(--lv-due-text); }
.lvm-need__l { color: inherit; text-decoration: none; } .lvm-need__l:active, .lvm-need__l:focus-visible { text-decoration: underline; }
.lvm-need__t { font: 500 var(--lv-fs-13)/1.35 var(--lv-font); }   /* R-82 (R 23:54 UTC 11/22/2026): the whole title, wrapped -- a two-line clamp cut "...minimum in the wee" */
.lvm-need .lvm-btn { margin-top: auto; align-self: flex-start; }
.lvm-btn { display: inline-flex; align-items: center; height: 30px; padding: 0 10px; border: 1px solid var(--lv-border); border-radius: var(--lv-r-1); background: var(--lv-surface); color: var(--lv-ink); font: 600 var(--lv-fs-12)/1 var(--lv-font); text-decoration: none; cursor: pointer; }
.lvm-btn--primary { background: var(--lvm-f, var(--lv-ink)); border-color: var(--lvm-f, var(--lv-ink)); color: #FFFFFF; }

/* tiles: two to a row, the figure at 17 px, a sparkline under it */
.lvm-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 6px; }
.lvm-tile { display: flex; flex-direction: column; gap: 2px; color: inherit; text-decoration: none; padding: 10px; }
.lvm-tile__l { font: 500 var(--lv-fs-12)/1.3 var(--lv-font); color: var(--lv-ink-2); }
.lvm-tile__v { font: 600 17px/1.25 var(--lv-font); }
.lvm-tile__c { color: var(--lv-ink-3); } .lvm-tile__c.is-better { color: var(--lv-c-better); } .lvm-tile__c.is-worse { color: var(--lv-c-worse); }
.lvm-spark { width: 100%; height: 24px; margin-top: 4px; } .lvm-spark polyline { fill: none; stroke: var(--lv-chart-indigo); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.lvm-all { display: block; margin-top: 6px; text-align: right; }

/* the one pinned CTA: full width, the world's tone, above the phone bar */
.lvm-cta { position: sticky; bottom: calc(64px + env(safe-area-inset-bottom, 0px)); z-index: 2; padding-top: 4px; }
.lvm-cta__b { display: flex; align-items: center; justify-content: center; height: 44px; border-radius: var(--lv-r-2); background: var(--lvm-f); color: #FFFFFF; font: 600 var(--lv-fs-14)/1 var(--lv-font); text-decoration: none; }

/* the Ask answer: the paragraph, the fitting chart, one detail button, What we read, one guidance line, Back */
.lvm-answer { display: flex; flex-direction: column; gap: 8px; }
.lvm-answer__detail { align-self: flex-start; }
/* ask-answer-desktop (C 11/13/2026): on the desktop Vista the answer is words and a chart side by side -- Back at the top right, the chart under it */
.vr-ask-desk { margin: 0 0 12px; }
.vr-ask-desk .lvm-answer { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 42%); column-gap: 24px; row-gap: 8px; grid-auto-flow: row dense; align-items: start; margin-top: 12px; padding: 40px 20px 16px; border: 1px solid var(--line); border-left: 4px solid var(--lv-navy, currentColor); border-radius: 12px; background: var(--card, transparent); }
.vr-ask-desk .lvm-answer > * { grid-column: 1; }
.vr-ask-desk .lvm-answer > .lvm-back { position: absolute; top: 12px; right: 20px; }
.vr-ask-desk .lvm-answer > .lvm-answer__chart { grid-column: 2; grid-row: 1; }
.vr-ask-desk .lvm-answer > .lvm-answer__detail { grid-column: 2; grid-row: 2; justify-self: start; }
@media (max-width: 767.98px) { .vr-ask-desk .lvm-answer { display: flex; } .vr-ask-desk .lvm-answer > .lvm-back { position: static; } }
.lvm-read { display: flex; flex-direction: column; gap: 2px; }
.lvm-guide { color: var(--lv-ink-2); }
.lvm-back { align-self: flex-start; }

@media (min-width: 640px) { .lvm { padding: 0 24px 24px; gap: 12px; } .lvm-need { flex-basis: 214px; } .lvm-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } .lvm-cta { position: static; } }
.lvm-need--question .lvm-dot { background: var(--lv-c-cat-1); } .lvm-need--question .lvm-need__k { color: var(--lv-c-cat-1); }   /* Question: indigo */
.lvm-need--opp .lvm-dot { background: var(--lv-c-better); } .lvm-need--opp .lvm-need__k { color: var(--lv-c-better); }
/* while it works: one word in the positive green with a pulse, no spinner, no rotating words (README 2, 9) */
.lvm-working { color: var(--lv-c-better); font: 600 var(--lv-fs-13)/1.3 var(--lv-font); animation: lvm-pulse 1.4s ease-in-out infinite; }
@keyframes lvm-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .lvm-working { animation: none; } }
.lvm-next { display: flex; flex-wrap: wrap; gap: 6px; }
.lvm-next__c { height: 30px; padding: 0 12px; border-radius: var(--lv-r-pill); border: 1px solid var(--lv-border); background: var(--lv-surface); color: var(--lv-ink); font: 500 var(--lv-fs-13)/1 var(--lv-font); cursor: pointer; }
/* VISTA > FINANCIALS ON THE PHONE (mobileSystem): the review's own charts at the hero's height; the answer's bars and the detail sheet */
.lvm-vchart .vr-mini { height: 160px; }
.lvm-adetail .scroll-x { overflow-x: auto; }
/* THE TWELVE on the phone (Andrew 11/12/2026): two up; one-line labels; the chart at each card's foot, so the lines align across a row */
.lvm-vgrid.lvm-vlive .vr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 6px 0 0; }
.lvm-vlive .vr-card { display: flex; flex-direction: column; min-width: 0; padding: 10px; gap: 2px; }
.lvm-vlive .vr-card .label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lvm-vlive .vr-card .vr-head { min-width: 0; }
.lvm-vlive .vr-chart { margin-top: auto; padding-top: 6px; }
.lvm-vlive .vr-mini { height: 72px; width: 100%; }   /* the card contract: one plot height on the phone */
.lvm-vlive .vr-rows .vr-card .vr-axis, .lvm-vlive .vr-rows .vr-card .vr-bn { display: flex; justify-content: space-between; height: 14px; font-size: 10px; } .lvm-vlive .vr-rows .vr-card .vr-bn { display: grid; }
.lvm-vlive .vr-rows .vr-card .value { font-size: 20px; }
.lvm-vlive .vr-take, .lvm-vlive .vr-usual, .lvm-vlive .vr-chev, .lvm-vlive .vr-legend, .lvm-vlive .vr-gap, .lvm-vlive [data-testid="vr-head-note"] { display: none; }   /* the card contract: the x axis (.vr-axis) stays */
@media (min-width: 640px) { .lvm-vgrid.lvm-vlive .vr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* LAYOUT B (Andrew's pick, mobile-plan.md rule 1): on a phone each row swipes sideways like Needs you -- cards 252 px, the chart at the foot */
.lvm-vgrid.lvm-vlive .vr-grid.vr-rows { display: block; margin: 6px 0 0; }
.lvm-vlive .vr-row { margin: 0 0 12px; } .lvm-vlive .vr-row-h { margin: 0 0 6px; }
.lvm-vlive .vr-row-cards { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: -8px -8px 0; padding: 8px 8px 4px; }   /* 8 px over the cards so a focused card's lift (styles.css .lv-lift) is not clipped by the scroller; the margin takes it back */
.lvm-vlive .vr-row-cards::-webkit-scrollbar { display: none; }
.lvm-vlive .vr-row-cards .vr-card { flex: 0 0 252px; min-height: 188px; scroll-snap-align: start; }
.lvm-vlive .vr-rows .vr-card .vr-take { display: block; left: 10px; right: 10px; bottom: 8px; font-size: 12px; }
/* C-26 SLICE 2 (Andrew 11/18/2026 items 7-10; switch mobileVistaV2): every card 252 x 188 whatever its words, so the charts in a row share one
   baseline and one x-label line; 8 px from the screen's edge (the page's 16 and the screen's 8 were 24); the takeaway one line of plain text
   under the x labels, never over them; each row's header one line -- the name, then its takeaway cut to fit */
.lvm:has(.lvm-tiles-sec--v2) { margin-left: -16px; margin-right: -16px; }
.lvm:has(.lvm-tiles-sec--v2) .lvm-chips { margin: 0 -8px; padding: 2px 8px; }   /* the chips run to the screen's edge, as before, from the 8 px inset */
.lvm-tiles-sec--v2 .vr-row-cards { scroll-padding-left: 8px; }
.lvm-tiles-sec--v2 .vr-row-cards .vr-card { flex: 0 0 252px; width: 252px; height: 188px; min-height: 0; max-height: 188px; box-sizing: border-box; overflow: hidden; padding-bottom: 10px; }   /* C-27 item 2 (Andrew 21:01): no foot kept for a line under the chart */
.lvm-tiles-sec--v2 .vr-row-cards .vr-card .vr-head .value { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }   /* C-29 part 8: the figure line one line -- a wrapped "due in the next 14 days - 7 bills" pushed Bills to pay's sixth row out of the card; the sheet keeps the whole line */
.lvm-tiles-sec--v2 .vr-rows .vr-card .vr-take { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: unset; max-height: 16px; line-height: 16px; bottom: 8px; }
.lvm-tiles-sec--v2 .vr-rows .vr-card .vr-take p { display: inline; margin: 0; }
.lvm-tiles-sec--v2 .vr-rows .vr-card .vr-take[hidden] { display: none; }
.lvm-tiles-sec--v2 .vr-row-h { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; min-width: 0; }
.lvm-tiles-sec--v2 .vr-row-h .vr-row-n { flex: 0 0 auto; } .lvm-tiles-sec--v2 .vr-row-h .vr-row-t { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; margin-left: 0; }
.lvm-tiles-sec--v2 .vr-card .label { white-space: nowrap; overflow: hidden; }
/* C-26 item 9: the review's line -- its name, "12 cards · vs August", Choose cards at the right; a row's count link at its header's right; a row's
   sheet stacks its cards full width at the same height */
.lvm-tiles-sec--v2 .lvm-sec { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; min-width: 0; }
.lvm-tiles-sec--v2 .lvm-pr-n { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 12px; color: var(--lv-ink-2, var(--muted)); }
.lvm-tiles-sec--v2 .lvm-choose { flex: 0 0 auto; margin-left: auto; font-size: 13px; }
.lvm-tiles-sec--v2 .vr-row-h .vr-row-all { flex: 0 0 auto; margin-left: auto; font: 500 13px/1.3 var(--lv-font, inherit); text-transform: none; letter-spacing: 0; line-height: inherit; padding: 4px 0 4px 8px; margin: -4px 0; min-height: 0; }   /* a 24 px target, the header still one line */
.lvm-rowsheet .vr-row-cards { display: flex; flex-direction: column; overflow: visible; margin: 0; padding: 0; gap: 8px; }
.lvm-rowsheet .vr-row-cards .vr-card { flex: none; width: auto; max-width: none; }
/* C-26 item 16: a card's "Not in yet" count and a ready month's why -- one line under the figure */
.lvm-tiles-sec--v2 .vr-card .vr-nyet, .lvm-tiles-sec--v2 .vr-card [data-testid="vr-empty"] { display: block; margin: 2px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .lvm-vlive .vr-rows .vr-card .vr-take[hidden] { display: none; } .lvm-vlive .vr-rows .vr-card { padding-bottom: 28px; }
/* COMPACT VIEW (Andrew 11/12/2026): layout A -- the twelve two up in six rows, no row names; tiles 132 px, label / figure / comparison / a
   small chart at the foot (mobile-plan.md rule 1 A) */
.lvm-compact { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font: 500 var(--lv-fs-12, 12px)/1.3 var(--lv-font, inherit); color: var(--lv-ink-2); }
.lvm-tiles-sec .lvm-sec { display: flex; align-items: center; gap: 8px; }
.lvm-vgrid.lvm-vlive.lvm-vgrid--a .vr-grid.vr-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.lvm-vgrid--a .vr-row, .lvm-vgrid--a .vr-row-cards { display: contents; }
.lvm-vgrid--a .vr-row-h { display: none; }
.lvm-vgrid--a .vr-row-cards .vr-card { flex: none; min-height: 132px; }
.lvm-vgrid--a .vr-rows .vr-card .vr-take { display: none; }
.lvm-vgrid--a .vr-mini { height: 48px; }
.lvm-vgrid { display: block; margin: 0; }
/* THE PHONE'S SPEND IN LAYOUT B (mobile-plan rule 1): Where it goes, a row of 252 x 188 cards that swipes sideways, 8 px gutters (rule 3) */
.lvm-sp-sec { margin: 12px 0 0; } .lvm-sp-h { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 6px; } .lvm-sp-h span { text-transform: none; letter-spacing: normal; font-weight: 400; color: var(--muted); }
.lvm-sp-row { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -8px; padding: 0 8px 4px; }
.lvm-sp-card { flex: 0 0 252px; min-width: 0; max-width: 252px; min-height: 188px; box-sizing: border-box; scroll-snap-align: start; overflow: hidden; border: 1px solid var(--lv-border, var(--line)); border-radius: var(--lv-r-2, 12px); background: var(--lv-surface, var(--panel)); padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.lvm-sp-l { font-size: 13px; color: var(--muted); white-space: nowrap; } .lvm-sp-v b { font-size: 20px; } .lvm-sp-v span { font-size: 13px; } .lvm-sp-v i { font-style: normal; } .lvm-sp-card svg { max-width: 100%; margin-top: auto; } .lvm-sp-take { font-size: 12px; color: var(--muted); margin: 0; }
/* THE PHONE'S KPIs IN LAYOUT B (mobile-plan rule 1): the Scorecard's groups, each a row of 252 x 188 cards that swipes sideways, the chart at
   the card's foot; the 8 px gutters of Needs you (rule 3); its own not-measured list and foot are the screen's one line and Definitions */
.lvm-sc .sc-group { margin: 12px 0 0; } .lvm-sc .sc-gh { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--lv-ink-2, var(--muted)); margin: 0 0 6px; }
.lvm-sc .sc-grid { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -8px; padding: 0 8px 4px; }
.lvm-sc .sc-card { flex: 0 0 252px; min-height: 188px; scroll-snap-align: start; display: flex; flex-direction: column; } .lvm-sc .sc-chart { margin-top: auto; }   /* C-22(a): the card's chart */
.lvm-sc .sc-nm, .lvm-sc .sc-foot { display: none; } .lvm-kdefs { margin: 8px 0 0; }
.lvm-sc .sc-h { flex-wrap: wrap; row-gap: 2px; } .lvm-sc .sc-name { flex: 0 0 auto; overflow: visible; }   /* the label whole on its line (rule 2), the window chip after it or under it */
.lvm-sc .sc-svg { height: 64px; }
.lvm-sc .sc-grid.is-more { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); }   /* C-22 walk 4: the swipe cue */   /* the chart tall enough for its ticks to stand apart */
/* C-26 item 17 (Andrew 11/18/2026, the Advisor 11:31/11:33): a review card's panel on a desk. .vr's grid is the page's main column and its 372 px
   rail, so in the 448 px slide-over the pop's card had 448 - 372 - 20 = 56 px (since 208c6fd8, 11/12). From 601 px (app.js: a slide-over, not a
   sheet) the pop is one column and the card as on the board -- its one variance line, not the tile's "vs" and sparkline. The phone's sheet as before */
@media (min-width: 601px) { .vr.vr-pop { display: block; margin: 0; } .vr-pop .vr-card [data-kpi] .cmp, .vr-pop .vr-card [data-kpi] .kspk, .vr-pop .vr-card [data-kpi] .spark { display: none; } }
.vr-pop-go--row { display: flex; gap: 8px; } .vr-pop-go--row .lv-btn { flex: 1 1 0; min-width: 0; min-height: 44px; margin: 0; }   /* a card's pop-up: its page and its statements side by side, the same height and outline (C-26 B6's row) */
.vr-pop .vr-grid { display: block; } .vr-pop .vr-card { cursor: default; } .vr-pop .vr-mini { height: 120px; } .vr-pop-go { margin: 12px 0 0; }   /* a card's pop-up (Andrew 11/12/2026) */ .lvm-vgrid .vr-grid { grid-template-columns: minmax(0, 1fr); }
#app:has([data-testid="lvm-screen"]) .subrow { display: none; }   /* the phone: the sub-pages are the world chips under the top bar (only while the phone screen is drawn) */
/* the phone opens on Ask, the month and its chart: the period block is the active chip's sheet (it is moved into the sheet while open) */
#app:has([data-testid="lvm-screen"]) [data-lvm-period] { display: none; }
.lvm-period--sheet .controls, .lvm-period--sheet .ctl-row { flex-wrap: wrap; }
/* the insight whole, wrapped (R-82, R 23:54 UTC 11/22/2026: a three-line clamp cut the Cash insight mid-date, "week ending 06/1"); the Ask answer is never cut */
.lvm-insight[data-testid="lvm-insight"] .lvm-body { display: block; overflow: visible; }
.lvm .lvm-h { text-transform: none; letter-spacing: normal; }
/* the answer's charts (Dusk: indigo for a figure, the better and worse tones for a bridge's moves, the neutral for its ends) */
.lvm-chart { width: 100%; height: auto; display: block; }
.lvm-ch-l, .lvm-ch-v { font: 400 11px/1 var(--lv-font); fill: var(--lv-ink-2); } .lvm-ch-v { fill: var(--lv-ink); font-weight: 600; }
.lvm-ch-bar { fill: var(--lv-chart-indigo); } .lvm-ch-bar.is-neg { fill: var(--lv-c-worse); }
.lvm-ch-total { fill: var(--lv-chart-neutral, var(--lv-ink-3)); } .lvm-ch-up { fill: var(--lv-c-cost); } .lvm-ch-down { fill: var(--lv-c-better); }
.lvm-ch-line { fill: none; stroke: var(--lv-chart-indigo); stroke-width: 2; } .lvm-ch-dot { fill: var(--lv-chart-indigo); }
/* VISTA > REVENUES ON THE PHONE: RevenueV2's blocks inside the hero lose their own card frame (one card, not a card in a card) */
.lvm-hero .card, .lvm-hero .rv2-card { border: 0; box-shadow: none; padding: 0; margin: 0; background: transparent; }
.lvm-rv-tiles .tiles, .lvm-rv-tiles .rv2-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
/* LAYOUT B ON THE PHONE'S REVENUES (mobile-plan rule 1): each section a row of 252 x 188 cards that swipes sideways, 8 px gutters (rule 3) */
.lvm-sec-n { display: inline-block; margin-left: 6px; min-width: 18px; padding: 0 6px; border-radius: 999px; background: var(--lv-tint-grey, var(--line)); color: var(--lv-ink-2, var(--muted)); font-size: 11px; font-weight: 600; letter-spacing: 0; text-align: center; text-transform: none; }   /* layout B: the section's count */
.lvm-rv-sec { margin: 12px 0 0; } .lvm-rv-h { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 6px; } .lvm-rv-h span { text-transform: none; letter-spacing: normal; font-weight: 400; color: var(--muted); }
.lvm-rv-row { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -8px; padding: 0 8px 4px; }
.lvm-rv-row .rv2-tiles { display: contents; } .lvm-rv-row > .tile, .lvm-rv-row .rv2-tiles > .tile, .lvm-rv-row > .card, .lvm-rv-card { flex: 0 0 252px; min-width: 0; max-width: 252px; min-height: 188px; scroll-snap-align: start; margin: 0; box-sizing: border-box; overflow: hidden; }
.lvm-rv-row .rv2-collected svg { max-width: 100%; } .lvm-rv-row .rv2-collected span { white-space: normal; }
.lvm-rv-card { border: 1px solid var(--lv-border, var(--line)); border-radius: var(--lv-r-2, 12px); background: var(--lv-surface, var(--panel)); padding: 12px; display: flex; flex-direction: column; gap: 6px; } .lvm-rv-who { font-size: 13px; color: var(--muted); } .lvm-rv-v b { font-size: 20px; } .lvm-rv-v span { font-size: 13px; color: var(--muted); }
.lvm-links { margin: 4px 0 0; }
.sx2-skel { min-height: 220px; }   /* C-25: the phone Sales cards' titled placeholder, painted over at once */
/* FORECAST > CASH ON THE PHONE: the minimum dashed in the hero, the weeks as rows (a row a period), a week under the minimum in the stop tone */
.lvm-ch-ref { stroke: var(--lv-chart-alert, var(--lv-c-stop)); stroke-width: 1.5; stroke-dasharray: 4 3; }
.lvm-weeks { width: 100%; border-collapse: collapse; font: 400 var(--lv-fs-13)/1.3 var(--lv-font); margin-top: 6px; }
.lvm-weeks th, .lvm-weeks td { padding: 6px 4px; text-align: right; border-bottom: 1px solid var(--lv-border); white-space: nowrap; } .lvm-weeks th { font-weight: 600; color: var(--lv-ink-3); font-size: var(--lv-fs-11); }
.lvm-weeks .ta-l { text-align: left; } .lvm-weeks tr.is-low td:last-child { color: var(--lv-c-stop); font-weight: 600; }
/* BREEZE ON THE PHONE: the ring beside the month's line; the page's own head gives way to it (the steps, documents and rail stay) */
.lvm-bz { padding: 0 0 8px; } .lvm-bz__ring { display: flex; align-items: center; gap: 12px; }
.lvm-ring { width: 64px; height: 64px; flex: none; } .lvm-ring__bg { fill: none; stroke: var(--lv-border); stroke-width: 6; } .lvm-ring__fg { fill: none; stroke: var(--lvm-w); stroke-width: 6; stroke-linecap: round; }
.lvm-ring__t { font: 600 14px/1 var(--lv-font); fill: var(--lv-ink); }
#app:has(.lvm-bz) [data-testid="bz2-head"] { display: none; }
button.lvm-cta__b { width: 100%; border: 0; cursor: pointer; }
/* RECEIPTS ON THE PHONE: the status line as the insight, one row of action -- Take a photo (primary) and Find in email */
.lvm-rc { padding: 0 0 8px; } .lvm-rc__acts { display: flex; gap: 8px; } .lvm-rc__acts .lvm-cta__b { flex: 1.3; height: 44px; } .lvm-rc__acts .lvm-btn { flex: 1; height: 44px; justify-content: center; }
/* ATTENTION ON THE PHONE: Needs you as the page -- grouped, one action a row; the group's tone on its heading only (red for stop now) */
.lvm-att { padding: 0 0 10px; } .lvm-att__g { margin-top: 8px; } .lvm-att__list { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.lvm-att__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--lv-border); border-radius: var(--lv-r-2); background: var(--lv-surface); }
.lvm-att__t { font: 500 var(--lv-fs-14)/1.35 var(--lv-font); } .lvm-att__row .lvm-btn { flex: none; }
.lvm-att__g--stop .lvm-sec__t { color: var(--lv-c-stop); } .lvm-att__g--due .lvm-sec__t { color: var(--lv-due-text); }
/* FORECAST > SCENARIOS ON THE PHONE: Forecast's chips for the header's row, Analyze in Forecast's tone (white on #B8306F is 5.8:1) */
.lvm-scen-chips, .lvm-plan-chips { padding: 6px 12px 0; }   /* MP-13: the Plan's chips as the Scenarios' */
#app:has(.lvm-scen-chips) [data-prompt-submit]:not([disabled]) { background: #B8306F; border-color: #B8306F; color: #FFFFFF; }
/* VISTA > SALES ON THE PHONE: the periods sheet (inside the shared sheet, outside .lvm) -- one row per period, 44 px, the current one marked */
.lvm-sx-periods { list-style: none; margin: 0; padding: 0; }
.lvm-sx-per { display: block; width: 100%; min-height: 44px; padding: 10px 4px; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--lv-border); font: 400 var(--lv-fs-14)/1.4 var(--lv-font); color: var(--lv-ink); cursor: pointer; }
.lvm-sx-per[aria-current] { font-weight: 600; }

/* C-26 slice 3, D11 (mobileVistaV2): the result card's four bars on a phone, the desk's six-step chart elsewhere (g_vista_review.js bridge4) */
.vr-b4 { display: none; }
@media (max-width: 600px) { .vr-b6 { display: none; } .vr-b4 { display: block; } .vr-b4 .vr-bn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }
/* C-26 slice 3, D13/D14 (mobileVistaV2): Owed to you, Bills to pay and Supplier invoices as rows on a phone -- 13 px, the card's full width, the bar under the words */
.vr-rb { display: none; }
@media (max-width: 600px) { .vr-svgb { display: none; } .vr-rb { display: block; width: 100%; } .vr-rb-r { position: relative; height: 16px; margin: 0; } .vr-rb-s { position: absolute; left: 0; top: 0; width: 100%; height: 100%; } .vr-rb-s rect { fill-opacity: .28; } .vr-rb-s .vr-hb, .vr-rb-s .vr-rb-oth { fill: var(--lv-chart-amber-bar); } .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-rb-n { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .vr-rb-v { flex: none; font-weight: 600; font-variant-numeric: tabular-nums; } }
/* C-26 slice 3 (S19/S20 on T313): the <=760px desk rule centres .vr-chart, which shrinks a card of rows in the phone's strip -- the rows take the card's width */
.lvm-tiles-sec--v2 .vr-chart:has(.vr-rb) { align-self: stretch; }
/* C-26 slice 3, D12 (S18 on T313): room above the bars for the last figure -- the plot 18 px padded at its top, the chart 18 px shorter, the ticks padded alike */
.lvm-tiles-sec--v2 .vr-card .vr-plot:has(> .vr-val-at) { padding-top: 18px; } .lvm-tiles-sec--v2 .vr-card .vr-plot:has(> .vr-val-at) > .vr-mini { height: 62px; } .lvm-tiles-sec--v2 .vr-ych:has(> .vr-plot > .vr-val-at) > .vr-yax { padding-top: 18px; }
/* C-26 slice 3, E17 (mobileVistaV2): the phone's card sheet -- one column at the sheet's width (never the page's grid), no sparkline beside the bars, the title once, the months as a table */
.vr.vr-pop--v2 { display: block; margin: 0; } .vr-pop--v2 .vr-grid { display: block; } .vr-pop--v2 .vr-card { width: auto; max-width: none; } .vr.vr-pop--v2 .vr-card { display: block; } .vr-pop--v2 .vr-chart { align-self: stretch; } .vr-pop--v2 .vr-card .kspk, .vr-pop--v2 .vr-card .spark, .vr-pop--v2 .vr-card [data-kpi] .cmp { display: none; } .vr-pop--v2 .vr-head .label { display: none; } .vr-pop--v2 [data-vr-take] { margin: 4px 0 8px; }
.vr-sh-months { width: 100%; border-collapse: collapse; margin: 12px 0 0; font-size: 13px; font-variant-numeric: tabular-nums; } .vr-sh-months th, .vr-sh-months td { padding: 4px 0 4px 8px; text-align: right; border-bottom: 1px solid var(--lv-border, var(--line)); } .vr-sh-months th[scope="row"], .vr-sh-months thead th:first-child { text-align: left; padding-left: 0; font-weight: 400; } .vr-sh-months thead th { font-weight: 600; }
@media (max-width: 600px) { .vr-pop--v2 .vr-b6 { display: block; } .vr-pop--v2 .vr-b4 { display: none; } }

/* C-26 slice G (Andrew 11/18/2026 items 24-25; mobileVistaV2): the brief's masthead on one line -- the name 19 px / 650, the period and the "vs"
   chip as buttons, Listen an icon, the Panorama switch at the right (wrapping under only when the line cannot hold them); the body plain text,
   14 px / 1.45, whole (no three-line cut): More opens the full brief */
[data-lvm-v2] .lvm-bfh { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 6px; }
[data-lvm-v2] .lvm-bf-name { font: 650 19px/1.2 var(--lv-font); color: var(--lv-ink); margin: 0; letter-spacing: normal; text-transform: none; }
[data-lvm-v2] .lvm-bf-per { font: 600 var(--lv-fs-13)/1.2 var(--lv-font); color: var(--lv-ink); background: none; border: 0; padding: 6px 2px; min-height: 32px; cursor: pointer; }
[data-lvm-v2] .lvm-bf-cmp { font: 400 var(--lv-fs-12)/1.2 var(--lv-font); color: var(--lv-ink-2); background: var(--lv-surface); border: 1px solid var(--lv-border); border-radius: var(--lv-r-pill); padding: 4px 10px; min-height: 32px; cursor: pointer; }
[data-lvm-v2] .lvm-bf-sp { flex: 1 1 0; }
/* item 24 at 390 (C 20:1x): the full words wider than 420 px; below it the short forms and the Panorama switch alone (its word visually hidden, still its name) */
.lvm-bf-s { display: none; }
@media (max-width: 420px) { [data-lvm-v2] .lvm-bf-l { display: none; } [data-lvm-v2] .lvm-bf-s { display: inline; } [data-lvm-v2] .lvm-bfh { gap: 4px; } [data-lvm-v2] .lvm-bf-cmp { padding: 4px 8px; }
  /* measured at 390 (C 20:1x): with the spacer's own gap slot the short line was 357 px on 346 -- no spacer, Listen (or Panorama without it) pushed right */
  [data-lvm-v2] .lvm-bf-sp { display: none; } [data-lvm-v2] .lvm-bf-lis:not(:empty), [data-lvm-v2] .lvm-bf-lis:empty + .lvm-bf-pano { margin-left: auto; } [data-lvm-v2] .lvm-bf-pano { gap: 0; }
  [data-lvm-v2] .lvm-bf-pano > #lvm-pano-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; } }
[data-lvm-v2] .lvm-bf-lisb { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--lv-border); background: var(--lv-surface); color: var(--lv-ink); padding: 0; cursor: pointer; }
[data-lvm-v2] .lvm-bf-lis:empty { display: none; }
[data-lvm-v2] .lvm-bf-pano { display: inline-flex; align-items: center; gap: 6px; font: 400 var(--lv-fs-12)/1 var(--lv-font); color: var(--lv-ink-2); }
[data-lvm-v2] .lvm-insight[data-testid="lvm-insight"] .lvm-body { display: block; -webkit-line-clamp: none; overflow: visible; font: 400 14px/1.45 var(--lv-font); }
[data-lvm-v2] .lvm-asof { margin: 6px 0 0; }

/* design-current/brief-and-decisions/BfPhoneStates.png: edition controls above the brief's lines. */
[data-g-phone-brief] .vr-bf { background: var(--lv-surface); border: 1px solid var(--lv-border); border-left: 3px solid var(--lv-violet, #5144bd); border-radius: 12px; padding: 12px; }
[data-g-phone-brief] .bf-top { align-items: center; gap: 6px; }
[data-g-phone-brief] .vr-bf .bf-name { font-size: 19px; }
[data-g-phone-brief] .bf-ed { gap: 2px; font-size: 13px; }
[data-g-phone-brief] .bf-ed-a { min-width: 22px; text-align: center; }
[data-g-phone-brief] .lvm-bf-pano { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; }
[data-g-phone-brief] .bf-sp { min-width: 0; }
[data-g-decisions] .lvm-decision-empty { padding: 24px 12px; text-align: center; font-weight: 650; background: var(--lv-surface); border: 1px solid var(--lv-border); border-radius: 12px; }
