/* Hallmark · shape: Workbench (draw 93f107; the hire anatomy’s project index becomes the five automations on an event’s lifecycle, and the case opened is #2, costing and settlements) · genre: modern-minimal · theme: Dusk (deal 1/3, seed worksmith-automation-brochure-traditions-06d1·a4da5148·2026-11-24·r0) · job: hire (email Worksmith) · draw: 93f107
 * hero: Corridor (the fog valley full-bleed, head and actions centred on the fog, the event P&L list in glass under them) · nav: edge-aligned (wordmark, the PDF link and one action; swapped from the search-led bar, as a brochure has nothing to search) · footer: statement · imagery: photographs, library 1 (hero), natural; the product built as samples in 9 slots · signature: an event’s P&L closing itself, a WhatsApp invoice matched to its PO with the overrun flagged in apricot · dusk: fog/periwinkle-apricot/glass
 * axes: dark/grotesk-sans/cool · posture: committed · contrast: pass · fold: pass · data: sample · v2.0.0
 * hero-review: in-thread (no subagents by request) · fix · 2 findings · 2 resolved (mobile lede over the horizon band, scrim widened; centred stack kept, it is the drawn Corridor posture)
 * finish-review: in-thread · fix · 2 findings · 2 resolved (delegates sample centred beside its taller flow; gap under the costing flow tightened) · gap: none */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R3 V4 · weakest: R, nine sample screens and five flow charts is a lot of product; each screen is a different object (a P&L, a chat, a schedule, a ledger, a lead brief, a report) and the prose is cut to a line per block */
/* Hallmark · dismissed render · the font-fallback note comes from the file:// pass, where the crossorigin preload cannot resolve; served over http all four Wix Madefor files load (checked with document.fonts) */
/* Hallmark · dismissed 29 · the blur is Dusk's smoked glass, the theme's named product surface with its lit edge and an offset shadow, never a glow or bloom behind it */
/* Hallmark · dismissed 58 · the page carries user-supplied content (five automations, each with what, how, what we need and result); the static count includes every label inside nine sample screens, while the render tier, which skips the samples, holds each 900px window under 95 words */
/* Hallmark · answered F4 · one filled primary (periwinkle); the ghost pill is the theme's prescribed partner at light 4%, re-tinted to fog over the photograph */
@import url("./tokens.css");
@import url("./base.css");

/* ---------- Fonts (self-hosted; the CSP allows nothing else) ---------- */
@font-face { font-family: "Wix Madefor Display"; src: url("fonts/wix-madefor-display-latin-wght-normal.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Wix Madefor Display"; src: url("fonts/wix-madefor-display-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Wix Madefor Text"; src: url("fonts/wix-madefor-text-latin-wght-normal.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Wix Madefor Text"; src: url("fonts/wix-madefor-text-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Page tokens ---------- */
:root {
  --logo-tile: var(--color-day-ink);
  --logo-word: var(--color-day-ink);
  --logo-edge: transparent;
  --color-apricot-deep: oklch(50% 0.12 55);
  --color-glass-line: oklch(100% 0.003 75 / 0.07);
  --color-glass-fill: oklch(100% 0.003 75 / 0.05);
  --color-glass-fill-2: oklch(100% 0.003 75 / 0.08);
  --color-flow-line: oklch(62% 0.03 266);
  --color-fog-veil: oklch(94% 0.012 70 / 0.55);
  --color-fog-edge: oklch(22% 0.022 268 / 0.16);
  --color-apricot-wash: oklch(83% 0.095 62 / 0.10);
  --color-apricot-edge: oklch(83% 0.095 62 / 0.30);
  --color-accent-wash: oklch(77% 0.10 274 / 0.12);
  --glass-solid: oklch(21.5% 0.017 268 / 0.86);
  --glass-hero: oklch(21% 0.018 268 / 0.8);
  --glass-band: oklch(25% 0.018 268 / 0.7);
  --shadow-paper: 0 1px 2px oklch(20% 0.01 268 / 0.08), 0 12px 32px -18px oklch(20% 0.02 268 / 0.35);
  --nav-h: 72px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + var(--space-lg)); }
body { font-size: 1.0625rem; font-feature-settings: "kern"; }
.num { font-variant-numeric: tabular-nums; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); border-radius: var(--radius-pill); }
.skip:focus-visible { top: var(--space-md); }

/* ---------- Controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: 1px solid transparent; border-radius: var(--radius-pill); background: var(--color-glass-fill); color: var(--color-ink); font: 600 0.9375rem/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn .ico { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); box-shadow: inset 0 1px 0 color-mix(in oklab, var(--color-light) 35%, transparent); }
.btn--primary:hover { background: var(--color-accent-hi); box-shadow: inset 0 1px 0 color-mix(in oklab, var(--color-light) 35%, transparent), 0 0 0 4px var(--color-accent-wash); }
.btn--ghost { background: var(--color-glass-fill); border-color: var(--color-glass-fill-2); color: var(--color-ink); }
.btn--ghost:hover { background: var(--color-glass-fill-2); border-color: var(--color-glass-line); }
.btn--nav { min-height: 44px; padding: 0 var(--space-md); }

/* ---------- Nav: edge-aligned, over the photograph, then slate glass ---------- */
.nav-wrap { position: absolute; top: 0; left: 0; right: 0; z-index: var(--z-sticky-nav); color: var(--color-day-ink); transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); --color-focus: var(--color-accent-deep); }
.js .nav-wrap { position: fixed; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; border-radius: var(--radius-inner); }
.brand:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.brand-logo { width: auto; height: 30px; }
.nav-end { display: flex; align-items: center; gap: var(--space-lg); }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-sm); font-weight: 500; text-decoration: none; white-space: nowrap; border-radius: var(--radius-inner); }
.nav-link:hover { text-decoration: underline; }
.nav-link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.nav-wrap .btn--ghost { background: var(--color-fog-veil); border-color: var(--color-fog-edge); color: var(--color-day-ink); }
.nav-wrap .btn--ghost:hover { background: var(--color-fog); }
.nav-wrap.is-solid { background: var(--glass-solid); color: var(--color-ink); -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.35); backdrop-filter: blur(var(--glass-blur)) saturate(1.35); box-shadow: inset 0 -1px 0 var(--color-glass-line); --logo-tile: var(--color-paper-3); --logo-word: var(--color-ink); --logo-edge: var(--color-glass-line); --color-focus: var(--color-accent); }
.nav-wrap.is-solid .btn--ghost { background: var(--color-glass-fill); border-color: var(--color-glass-fill-2); color: var(--color-ink); }

/* ---------- Hero: Corridor over the hour ---------- */
.hero { position: relative; isolation: isolate; min-height: 100dvh; display: grid; color: var(--color-day-ink); --color-focus: var(--color-accent-deep); }
.hero-photo { position: absolute; inset: 0; z-index: 0; }
.hero-photo > img { object-position: 50% 42%; }
.hero-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 46% 36% at 50% 32%, color-mix(in oklab, var(--color-fog) 78%, transparent), transparent 80%), linear-gradient(to bottom, transparent 66%, color-mix(in oklab, var(--color-paper) 70%, transparent) 86%, var(--color-paper)); }
.corridor { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-xl); padding-block: calc(var(--nav-h) + var(--space-md)) var(--space-xl); text-align: center; }
.headline-block { display: flex; flex-direction: column; align-items: center; gap: var(--space-md); }
.hero h1 { max-width: 22ch; color: var(--color-day-ink); line-height: 1.02; }
.hero .hero-lead { max-width: 40ch; color: var(--color-day-muted); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-sm); margin-top: var(--space-xs); }
.hero .btn--ghost { background: var(--color-fog-veil); border-color: var(--color-fog-edge); color: var(--color-day-ink); }
.hero .btn--ghost:hover { background: var(--color-fog); }

/* ---------- Glass and samples ---------- */
.glass { background: var(--glass); border-radius: var(--radius-card); -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.35); backdrop-filter: blur(var(--glass-blur)) saturate(1.35); box-shadow: var(--glass-hi), var(--shadow-card); color: var(--color-ink); }
.mock { container-type: inline-size; margin: 0; padding: var(--space-lg); text-align: left; overflow: hidden; }
.mock-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-md); }
.mock-head--rule { padding-bottom: var(--space-md); margin-bottom: var(--space-xs); border-bottom: 1px solid var(--color-glass-line); }
.mock-title { font-weight: 500; line-height: 1.3; }
.mock-sub { font-size: var(--text-sm); color: var(--color-muted); }
.pane-title { margin-bottom: var(--space-xs); font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.who { display: flex; flex-direction: column; min-width: 0; }
.who b { font-weight: 500; }
.who small, .inv-who small { font-size: var(--text-xs); color: var(--color-muted); }
.initial { display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--color-glass-fill); box-shadow: inset 0 0 0 1px var(--color-glass-fill-2); font-size: var(--text-xs); font-weight: 600; color: var(--color-ink-2); }
.pill { display: inline-flex; align-items: center; gap: var(--space-2xs); padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); background: var(--color-glass-fill); font-size: var(--text-xs); color: var(--color-ink-2); white-space: nowrap; }
.pill .ico { color: var(--color-accent); width: 14px; height: 14px; }
.pill--open .ico { color: var(--color-accent-2); }
.state { display: inline-flex; align-items: center; gap: var(--space-2xs); font-size: var(--text-sm); color: var(--color-ink-2); line-height: 1.3; }
.state .ico { color: var(--color-accent); }
.state--open, .state--open .ico { color: var(--color-accent-2); }
.state--quiet, .state--quiet .ico { color: var(--color-muted); }
.mock-alert { display: flex; align-items: center; gap: var(--space-xs); margin-top: var(--space-md); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-inner); background: var(--color-apricot-wash); box-shadow: inset 0 0 0 1px var(--color-apricot-edge); font-size: var(--text-sm); color: var(--color-ink); }
.mock-alert .ico { color: var(--color-accent-2); }
.alert-act { margin-left: auto; padding-left: var(--space-sm); font-weight: 600; color: var(--color-accent-2); white-space: nowrap; }
.bar { display: block; height: 6px; border-radius: var(--radius-pill); background: var(--color-glass-fill-2); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: var(--color-accent); transform-origin: left center; }
.bar i.done { background: var(--color-accent-hi); }
.w54 { width: 54%; } .w86 { width: 86%; } .w66 { width: 66%; } .w92 { width: 92%; } .w94 { width: 94%; } .w96 { width: 96%; } .w100 { width: 100%; }

/* Hero sample: the event P&L list */
.hero-pnl { width: min(100%, 680px); background: var(--glass-hero); color: var(--color-ink); }
.pnl-rows { list-style: none; margin: var(--space-sm) 0 0; padding: 0; }
.pnl-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto 4.5rem; align-items: center; gap: var(--space-md); padding-block: var(--space-xs); border-top: 1px solid var(--color-glass-line); animation: rise 640ms var(--ease-out) both; }
.pnl-row:nth-child(2) { animation-delay: 70ms; } .pnl-row:nth-child(3) { animation-delay: 140ms; }
.pnl-row .fig { text-align: right; font: 500 1.125rem/1 var(--font-display); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
@container (max-width: 520px) {
  .pnl-row { grid-template-columns: auto minmax(0, 1fr) auto; row-gap: var(--space-2xs); }
  .pnl-row .state { grid-column: 2; grid-row: 2; }
  .pnl-row .fig { grid-column: 3; grid-row: 1 / span 2; }
  .hero-pnl .mock-head .pill { display: none; }
}

/* ---------- Sections ---------- */
.head { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); }
.head--split { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; }
.head--split > h2 { grid-column: 1 / span 6; }
.head--split > .lead, .head--split > .head-side { grid-column: 8 / span 5; }
.lead { color: var(--color-ink-2); }
.head-side { display: grid; gap: var(--space-md); }
.why { display: flex; gap: var(--space-xs); align-items: baseline; font-size: var(--text-md); color: var(--color-ink); }
.why .ico { color: var(--color-accent); transform: translateY(3px); }

.life { padding-block: var(--section-gap-s) var(--section-gap); }
.case { padding-block: var(--section-gap) var(--section-gap-l); border-top: 1px solid var(--color-rule); }
.idea { padding-block: var(--section-gap-l) var(--section-gap); }
.idea + .idea, .case + .idea { border-top: 1px solid var(--color-rule); }
.idea--runsheets { background: var(--color-paper-2); border-top: 0 !important; padding-block: var(--section-gap-s); }
.idea--runsheets + .idea { border-top: 0; }
.idea--closure { padding-block: var(--section-gap) var(--section-gap-s); }

/* ---------- The lifecycle track ---------- */
.track-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-xl); }
.stage { position: relative; }
.stage > a { display: flex; flex-direction: column; gap: var(--space-xs); height: 100%; min-height: 210px; padding: var(--space-lg); border-radius: var(--radius-card); background: var(--color-paper-2); box-shadow: inset 0 0 0 1px var(--color-glass-line); text-decoration: none; transition: background-color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.stage > a:hover { background: var(--color-paper-3); }
.stage > a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.stage-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--color-flow-line); font-weight: 600; font-size: var(--text-sm); color: var(--color-ink-2); margin-bottom: var(--space-md); }
.stage-when { font-size: var(--text-sm); color: var(--color-muted); }
.stage b { font: 500 var(--text-title)/1.2 var(--font-display); letter-spacing: var(--tracking-display); }
.stage--start > a { background: var(--color-paper-3); box-shadow: inset 0 0 0 1.5px var(--color-accent); }
.stage--start .stage-n { background: var(--color-accent); color: var(--color-accent-ink); box-shadow: none; }
.start-mark { display: inline-flex; align-items: center; gap: var(--space-2xs); margin-top: auto; padding-top: var(--space-sm); font-size: var(--text-sm); font-weight: 600; color: var(--color-accent); }
.stage + .stage::before { content: ""; position: absolute; top: calc(var(--space-lg) + 16px); left: calc(-1 * var(--space-xl) + 6px); width: calc(var(--space-xl) - 14px); height: 2px; background: var(--color-flow-line); }
.stage + .stage::after { content: ""; position: absolute; top: calc(var(--space-lg) + 12px); left: -14px; width: 8px; height: 8px; border-top: 2px solid var(--color-flow-line); border-right: 2px solid var(--color-flow-line); transform: rotate(45deg); }

.tally-wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; margin-top: var(--space-3xl); padding-top: var(--space-xl); border-top: 1px solid var(--color-rule); }
.tally { grid-column: 1 / span 8; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.tally > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: var(--space-2xs); padding-inline: var(--space-lg); border-left: 1px solid var(--color-rule); }
.tally > div:first-child { padding-left: 0; border-left: 0; }
.tally dt { font-size: var(--text-sm); color: var(--color-muted); }
.tally dd { margin: 0; font: 500 2.5rem/1 var(--font-display); letter-spacing: var(--tracking-display); }
.tally-note { grid-column: 10 / span 3; font-size: var(--text-sm); color: var(--color-muted); }

/* ---------- Flow charts ---------- */
.flow { margin: 0; --fg: var(--space-xl); }
.flow ol { list-style: none; margin: 0; padding: 0; }
.node { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: var(--space-sm); padding: var(--space-md); border-radius: var(--radius-inner); background: var(--color-glass-fill); box-shadow: inset 0 0 0 1px var(--color-glass-line); font-size: var(--text-sm); line-height: 1.4; color: var(--color-ink); }
.node-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--color-accent); color: var(--color-accent); font-weight: 600; font-size: var(--text-xs); }
.node-t { padding-top: var(--space-2xs); }
.node--end .node-n { background: var(--color-accent); color: var(--color-accent-ink); box-shadow: none; }
.node--gov { background: transparent; box-shadow: inset 0 0 0 1px var(--color-flow-line); }
.node--gov b { font-weight: 600; }

/* horizontal lanes */
.lane, .row { display: grid; gap: var(--fg); }
.lane { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.lane > li + li::before, .row > li + li::before { content: ""; position: absolute; top: calc(var(--space-md) + 13px); left: calc(-1 * var(--fg) + 4px); width: calc(var(--fg) - 12px); height: 2px; background: var(--color-flow-line); }
.lane > li + li::after, .row > li + li::after { content: ""; position: absolute; top: calc(var(--space-md) + 10px); left: -13px; width: 7px; height: 7px; border-top: 2px solid var(--color-flow-line); border-right: 2px solid var(--color-flow-line); transform: rotate(45deg); }
.flow--gov .node--gov:first-of-type::before, .flow--gov li:nth-child(4)::before { background: repeating-linear-gradient(90deg, var(--color-flow-line) 0 6px, transparent 6px 10px); }

/* the exception branch under step 4 */
.flow--lane .lane { padding-bottom: calc(var(--fg) + 8.5rem); }
.branch { position: absolute; top: calc(100% + var(--fg)); left: 0; right: 0; display: flex; gap: var(--space-xs); align-items: flex-start; padding: var(--space-md); border-radius: var(--radius-inner); background: var(--color-apricot-wash); box-shadow: inset 0 0 0 1px var(--color-apricot-edge); color: var(--color-ink); }
.branch .ico { color: var(--color-accent-2); margin-top: var(--space-3xs); }
.branch::before { content: ""; position: absolute; left: calc(var(--space-md) + 13px); top: calc(-1 * var(--fg)); width: 2px; height: calc(var(--fg) - 4px); background: repeating-linear-gradient(180deg, var(--color-accent-2) 0 6px, transparent 6px 10px); }
.branch::after { content: ""; position: absolute; left: calc(var(--space-md) + 10px); top: -10px; width: 7px; height: 7px; border-top: 2px solid var(--color-accent-2); border-right: 2px solid var(--color-accent-2); transform: rotate(135deg); }
.ret { position: absolute; left: 100%; bottom: 50%; width: calc(var(--fg) + 50%); height: calc(50% + var(--fg)); border-right: 2px dashed var(--color-flow-line); border-bottom: 2px dashed var(--color-flow-line); border-bottom-right-radius: var(--radius-inner); }
.ret::after { content: ""; position: absolute; right: -6.5px; top: 0; width: 7px; height: 7px; border-top: 2px solid var(--color-flow-line); border-right: 2px solid var(--color-flow-line); transform: rotate(-45deg); }

/* vertical columns */
.col { display: grid; gap: var(--space-lg); }
.col > li + li::before { content: ""; position: absolute; top: calc(-1 * var(--space-lg) + 3px); left: calc(var(--space-md) + 13px); width: 2px; height: calc(var(--space-lg) - 10px); background: var(--color-flow-line); }
.col > li + li::after { content: ""; position: absolute; top: -10px; left: calc(var(--space-md) + 10px); width: 7px; height: 7px; border-top: 2px solid var(--color-flow-line); border-right: 2px solid var(--color-flow-line); transform: rotate(135deg); }

/* ---------- The case: costing and settlements ---------- */
.case .flow { margin-bottom: var(--space-xl); }
.case-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); }
.dash { grid-column: 1 / span 8; grid-row: 1 / span 2; }
.case-grid > .chat { grid-column: 9 / span 4; grid-row: 1; }
.gst { grid-column: 9 / span 4; grid-row: 2; }
.case-grid--2 { margin-top: var(--space-xl); }
.settle { grid-column: 1 / span 7; grid-row: 1; }
.terms.terms--case { grid-column: 9 / span 4; grid-row: 1; grid-template-columns: minmax(0, 1fr); align-self: start; margin: 0; gap: var(--space-lg); }

.margin { display: grid; justify-items: end; text-align: right; }
.margin-l, .margin-pct { font-size: var(--text-xs); color: var(--color-muted); }
.margin-fig { font: 500 2.25rem/1.05 var(--font-display); letter-spacing: var(--tracking-display); }
.dash-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--space-xl); padding-top: var(--space-md); }
.lines, .inv, .pay, .gst-rows, .lead-rows, .bill-rows { list-style: none; margin: 0; padding: 0; }
.line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-2xs) var(--space-sm); padding-block: var(--space-sm); border-top: 1px solid var(--color-glass-line); font-size: var(--text-sm); }
.line .bar { grid-column: 1 / -1; }
.line-v small { color: var(--color-muted); font-size: var(--text-xs); }
.line--over .line-v { color: var(--color-accent-2); }
.line--over .bar i { background: var(--color-accent-2); }
.totals { display: grid; gap: var(--space-xs); margin: var(--space-md) 0 0; padding: var(--space-md); border-radius: var(--radius-inner); background: var(--color-glass-fill); font-size: var(--text-sm); }
.totals > div { display: flex; justify-content: space-between; gap: var(--space-sm); }
.totals dt { color: var(--color-muted); }
.totals dd { margin: 0; }
.totals .is-margin dd { color: var(--color-accent); font-weight: 600; }
.inv-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-2xs) var(--space-sm); padding: var(--space-sm) var(--space-xs); border-top: 1px solid var(--color-glass-line); font-size: var(--text-sm); }
.inv-who { display: flex; flex-direction: column; }
.inv-who b { font-weight: 500; }
.inv-amt { text-align: right; }
.inv-row .state { grid-column: 1 / -1; font-size: var(--text-xs); }
.inv-row.is-flag { background: var(--color-glass-fill); border-radius: var(--radius-inner); }
@container (max-width: 640px) { .dash-body { grid-template-columns: minmax(0, 1fr); } .mock-head { flex-wrap: wrap; } .margin { justify-items: start; text-align: left; } }

.pay-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 11rem; align-items: center; gap: var(--space-md); padding-block: var(--space-sm); border-top: 1px solid var(--color-glass-line); font-size: var(--text-sm); }
.pay-row:first-child, .gst-row:first-child, .line:first-child { border-top: 0; }
.pay-amt { text-align: right; }
@container (max-width: 480px) { .pay-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: var(--space-2xs); } .pay-row .state { grid-column: 1 / -1; font-size: var(--text-xs); } }
.gst-row { display: grid; grid-template-columns: minmax(0, 1fr) 3rem 5rem; align-items: center; gap: var(--space-md); padding-block: var(--space-sm); border-top: 1px solid var(--color-glass-line); font-size: var(--text-sm); }
.gst-row > .num { text-align: right; }
.gst-amt { color: var(--color-ink-2); }

/* bone wells holding a message */
.well { margin: 0; padding: var(--space-lg); border-radius: var(--radius-card); background: var(--color-well); color: var(--color-well-ink); --color-focus: var(--color-accent-deep); }
.phone-card { height: 100%; display: flex; flex-direction: column; border-radius: var(--radius-inner); background: var(--color-card); box-shadow: var(--shadow-paper); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm) var(--space-md); border-bottom: 1px solid var(--color-well-rule); font-size: var(--text-sm); }
.chat-head small { display: block; font-size: var(--text-xs); color: var(--color-well-muted); }
.chat-head b { font-weight: 600; }
.initial--wa { background: var(--color-well-2); box-shadow: none; color: var(--color-well-ink); }
.chat-body { flex: 1; display: flex; flex-direction: column; gap: var(--space-sm); padding: var(--space-md); background: var(--color-well); font-size: var(--text-sm); line-height: 1.45; }
.msg { max-width: 88%; padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-inner); }
.msg--in { align-self: flex-start; background: var(--color-card); }
.msg--out { align-self: flex-end; background: var(--color-accent-soft); }
.msg--short { min-width: 4.5rem; }
.msg-t { display: flex; justify-content: flex-end; align-items: center; gap: var(--space-2xs); margin-top: var(--space-2xs); font-size: var(--text-xs); color: var(--color-well-muted); }
.ico--ticks { color: var(--color-accent-deep); width: 16px; height: 16px; }
.msg--note { align-self: stretch; max-width: none; display: flex; gap: var(--space-xs); align-items: flex-start; padding: var(--space-xs) var(--space-sm); background: transparent; box-shadow: inset 0 0 0 1px var(--color-well-rule); font-size: var(--text-xs); color: var(--color-well-muted); }
.msg--note .ico { color: var(--color-apricot-deep); margin-top: 1px; }
.attach { display: flex; align-items: center; gap: var(--space-xs); margin-bottom: var(--space-xs); padding: var(--space-xs); border-radius: 6px; background: var(--color-well-2); }
.attach .ico { width: 20px; height: 20px; color: var(--color-well-muted); }
.attach b { display: block; font-weight: 600; font-size: var(--text-xs); }
.attach small { font-size: var(--text-xs); color: var(--color-well-muted); }
.slice { display: grid; gap: var(--space-3xs); margin-block: var(--space-xs); padding-left: var(--space-sm); box-shadow: inset 2px 0 0 var(--color-accent-deep); }
.slice b { font-weight: 600; margin-right: var(--space-2xs); }
.loc { display: flex; align-items: center; gap: var(--space-2xs); color: var(--color-well-muted); font-size: var(--text-xs); }
.loc .ico { color: var(--color-accent-deep); }

/* ---------- Terms: what we need, result ---------- */
.terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); margin: var(--space-2xl) 0 0; padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); }
.terms > div { display: grid; gap: var(--space-2xs); align-content: start; }
.terms dt { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.terms dd { margin: 0; max-width: 52ch; color: var(--color-ink); }

/* ---------- Splits ---------- */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); align-items: start; }
.split-text { grid-column: 1 / span 5; display: grid; gap: var(--space-md); }
.split-text .flow { margin-top: var(--space-lg); }
.split-visual { grid-column: 6 / span 7; }
.split--flip .split-visual { grid-column: 1 / span 7; grid-row: 1; align-self: center; }
.split--flip .split-text { grid-column: 9 / span 4; grid-row: 1; }
.terms--split { grid-column: 1 / -1; margin-top: 0; }

/* lead tracker */
.leads-in { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--space-lg); }
.lead-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-2xs) var(--space-sm); align-items: center; padding: var(--space-sm); border-radius: var(--radius-inner); font-size: var(--text-sm); }
.lead-row + .lead-row { margin-top: var(--space-2xs); }
.lead-row .state { grid-column: 2; font-size: var(--text-xs); }
.lead-row.is-on { background: var(--color-glass-fill-2); }
.lead-src { grid-row: span 2; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--color-glass-fill); color: var(--color-ink-2); }
.leads-open { display: grid; gap: var(--space-sm); align-content: start; padding-left: var(--space-lg); border-left: 1px solid var(--color-glass-line); }
.brief { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm) var(--space-md); margin: 0 0 var(--space-xs); }
.brief dt { font-size: var(--text-xs); color: var(--color-muted); }
.brief dd { margin: 0; font-size: var(--text-sm); font-weight: 500; }
.refs { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-bottom: var(--space-xs); }
.ref { padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); background: var(--color-glass-fill); font-size: var(--text-xs); color: var(--color-ink-2); }
.draft { padding: var(--space-md); border-radius: var(--radius-inner); background: var(--color-glass-fill); }
.draft-t { font-weight: 500; line-height: 1.35; }
.draft-inc { list-style: none; margin: var(--space-xs) 0 0; padding: 0; display: grid; gap: var(--space-3xs); font-size: var(--text-sm); color: var(--color-ink-2); }
.draft-inc li::before { content: "+ "; color: var(--color-accent); }
.draft-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-sm); margin-top: var(--space-md); padding-top: var(--space-sm); border-top: 1px solid var(--color-glass-line); font-size: var(--text-sm); }
.draft-cost b { font-weight: 600; }
.fake-btn { display: inline-flex; align-items: center; min-height: 32px; padding: 0 var(--space-md); border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1.5px var(--color-accent); color: var(--color-accent); font-weight: 600; font-size: var(--text-xs); }
@container (max-width: 560px) { .leads-in { grid-template-columns: minmax(0, 1fr); } .leads-open { padding-left: 0; padding-top: var(--space-md); border-left: 0; border-top: 1px solid var(--color-glass-line); } .brief { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Showcase grids ---------- */
.idea--runsheets .flow { margin-bottom: var(--space-2xl); }
.idea--closure .flow { margin-bottom: var(--space-2xl); }
.show-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); align-items: start; }
.show-grid > .glass { grid-column: 1 / span 8; }
.show-grid > .well { grid-column: 9 / span 4; }
.show-grid--flip > .well { grid-column: 1 / span 4; grid-row: 1; }
.show-grid--flip > .glass { grid-column: 5 / span 8; grid-row: 1; }
.idea--runsheets .glass { background: var(--glass-band); }

/* live ops */
.ops-table { display: grid; font-size: var(--text-sm); }
.ops-r { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 0.8fr); gap: var(--space-md); align-items: center; padding-block: var(--space-sm); border-top: 1px solid var(--color-glass-line); }
.ops-h { border-top: 0; font-size: var(--text-xs); color: var(--color-muted); padding-bottom: var(--space-2xs); }
.ops-r b.num { font-weight: 600; margin-right: var(--space-2xs); }
.crew { display: grid; gap: var(--space-2xs); }
.log { margin-top: var(--space-md); padding: var(--space-md); border-radius: var(--radius-inner); background: var(--color-glass-fill); }
.log-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--space-xs); align-items: start; font-size: var(--text-sm); color: var(--color-ink-2); }
.log-row + .log-row { margin-top: var(--space-xs); }
.log-row .ico { margin-top: var(--space-3xs); color: var(--color-accent); }
.log-row .ico--open { color: var(--color-accent-2); }
.log-row b { font-weight: 600; color: var(--color-ink); }
.log-t { color: var(--color-muted); font-size: var(--text-xs); }
@container (max-width: 560px) {
  .ops-h { display: none; }
  .ops-r { grid-template-columns: minmax(0, 1fr) auto; row-gap: var(--space-xs); }
  .ops-r > :nth-child(2) { grid-column: 1; }
  .ops-r > :nth-child(3) { grid-column: 2; grid-row: 2; min-width: 6rem; }
  .ops-r > :nth-child(4) { grid-column: 2; grid-row: 1; }
}

.tomorrow { margin-top: var(--space-md); }
.conf { list-style: none; margin: 0; padding: 0; }
.conf li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--space-md); align-items: center; padding-block: var(--space-sm); border-top: 1px solid var(--color-glass-line); font-size: var(--text-sm); }
@container (max-width: 560px) { .conf li { grid-template-columns: minmax(0, 1fr) auto; row-gap: var(--space-xs); } .conf .crew { grid-column: 1 / -1; grid-row: 2; } }

/* delegates */
.mini-tally { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: var(--space-sm) 0 var(--space-md); }
.mini-tally > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding-inline: var(--space-md); border-left: 1px solid var(--color-glass-line); }
.mini-tally > div:first-child { padding-left: 0; border-left: 0; }
.mini-tally dt { font-size: var(--text-xs); color: var(--color-muted); }
.mini-tally dd { margin: 0; font: 500 1.75rem/1.1 var(--font-display); }
.del-table { display: grid; font-size: var(--text-sm); }
.del-r { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 0.8fr); gap: var(--space-md); align-items: center; padding-block: var(--space-sm); border-top: 1px solid var(--color-glass-line); }
.del-h { border-top: 0; font-size: var(--text-xs); color: var(--color-muted); padding-bottom: var(--space-2xs); }
.del-r .who { flex-direction: row; align-items: center; gap: var(--space-sm); }
.del-r .who > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.files { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-md); padding-top: var(--space-md); border-top: 1px solid var(--color-glass-line); }
.file { display: inline-flex; align-items: center; gap: var(--space-2xs); padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); background: var(--color-glass-fill); font-size: var(--text-xs); color: var(--color-ink-2); }
.file .ico { color: var(--color-accent); width: 14px; height: 14px; }
@container (max-width: 560px) {
  .mini-tally { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-sm); }
  .mini-tally > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .del-r { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: var(--space-xs); }
  .del-h { display: none; }
  .del-r > :first-child { grid-column: 1 / -1; }
  .del-r > :nth-child(4) { display: none; }
  .del-r .initial { display: none; }
}

/* closure: the report and the bills */
.report { display: flex; }
.paper { flex: 1; display: grid; align-content: start; gap: var(--space-sm); padding: var(--space-lg); border-radius: var(--radius-inner); background: var(--color-card); box-shadow: var(--shadow-paper); }
.paper-k { font-size: var(--text-xs); color: var(--color-well-muted); }
.paper-t { font: 500 1.375rem/1.2 var(--font-display); letter-spacing: var(--tracking-display); }
.paper-dl { display: grid; gap: var(--space-sm); margin: var(--space-xs) 0 0; }
.paper-dl > div { display: grid; gap: var(--space-3xs); padding-top: var(--space-sm); border-top: 1px solid var(--color-well-rule); }
.paper-dl dt { font-size: var(--text-xs); color: var(--color-well-muted); }
.paper-dl dd { margin: 0; font-size: var(--text-sm); font-weight: 500; }
.paper-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-xs); margin-top: var(--space-sm); padding: var(--space-xs) var(--space-sm); border-radius: 6px; background: var(--color-well); font-size: var(--text-xs); color: var(--color-well-ink); }
.bill { display: grid; grid-template-columns: minmax(0, 1.3fr) auto minmax(0, 1fr); gap: var(--space-lg); align-items: center; padding-block: var(--space-md); border-top: 1px solid var(--color-glass-line); }
.bill:first-child { border-top: 0; }
.steps { position: relative; display: flex; gap: var(--space-md); align-items: center; }
.steps::before { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 2px; margin-top: -1px; background: var(--color-glass-fill-2); }
.steps i { position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--color-paper-2); box-shadow: inset 0 0 0 1.5px var(--color-muted); }
.steps i.d { background: var(--color-accent); box-shadow: none; }
.steps i.c { background: var(--color-paper-2); box-shadow: inset 0 0 0 2px var(--color-accent-2); }
@container (max-width: 560px) { .bill { grid-template-columns: minmax(0, 1fr) auto; row-gap: var(--space-xs); } .bill .state { grid-column: 1 / -1; } }

/* ---------- Close ---------- */
.talk { padding-block: var(--section-gap) var(--section-gap-s); border-top: 1px solid var(--color-rule); }
.talk-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); align-items: end; }
.talk-main { grid-column: 1 / span 7; display: grid; gap: var(--space-md); justify-items: start; }
.talk-mail { display: inline-flex; align-items: center; gap: var(--space-sm); margin-top: var(--space-lg); font: 500 var(--text-3xl)/1.1 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-accent); text-decoration: underline; text-decoration-color: color-mix(in oklab, var(--color-accent) 40%, transparent); text-decoration-thickness: 2px; text-underline-offset: 0.18em; overflow-wrap: anywhere; border-radius: var(--radius-inner); transition: text-decoration-color var(--dur-short) var(--ease-out); }
.talk-mail .ico { width: 32px; height: 32px; stroke-width: 1.6; }
.talk-mail:hover { text-decoration-color: var(--color-accent); }
.talk-mail:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.talk-side { grid-column: 9 / span 4; display: grid; gap: var(--space-md); justify-items: start; }
.talk-k { font-size: var(--text-sm); color: var(--color-muted); }
.ruled { list-style: none; margin: 0; padding: 0; width: 100%; }
.ruled li { padding-block: var(--space-sm); border-top: 1px solid var(--color-rule); }
.ruled li:last-child { border-bottom: 1px solid var(--color-rule); }

/* ---------- Footer: a statement ---------- */
.footer { padding-block: var(--space-3xl) var(--space-2xl); background: var(--color-shade); color: var(--color-ink); }
.footer-statement { max-width: 24ch; font: 500 var(--text-display-s)/1.08 var(--font-display); letter-spacing: var(--tracking-display); text-wrap: balance; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-lg); margin-top: var(--space-2xl); padding-block: var(--space-lg); border-top: 1px solid var(--color-rule); border-bottom: 1px solid var(--color-rule); }
.footer .brand { --logo-tile: var(--color-paper-3); --logo-word: var(--color-ink); --logo-edge: var(--color-glass-line); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-xl); }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink-2); text-decoration: none; border-radius: var(--radius-inner); }
.footer-links a:hover { color: var(--color-ink); text-decoration: underline; }
.footer-links a:focus-visible, .colophon a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.colophon { max-width: 90ch; margin-top: var(--space-md); font-size: var(--text-xs); color: var(--color-muted); }
.colophon a { color: var(--color-ink-2); }

/* ---------- Responsive ---------- */
@media (max-width: 75rem) {
  .lane { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--space-xl); }
  .lane > li:nth-child(4)::before, .lane > li:nth-child(4)::after { display: none; }
  .flow--lane .lane { padding-bottom: 0; }
  .branch { position: static; margin-top: var(--space-md); grid-column: 1 / -1; }
  .node--fork { grid-template-rows: auto auto; }
  .node--fork .branch { grid-column: 1 / -1; }
  .branch::before, .branch::after, .ret { display: none; }
  .track-list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-lg); }
  .stage > a { padding: var(--space-md); }
  .stage + .stage::before { left: calc(-1 * var(--space-lg) + 4px); width: calc(var(--space-lg) - 10px); top: calc(var(--space-md) + 16px); }
  .stage + .stage::after { left: -12px; top: calc(var(--space-md) + 12px); }
}
@media (max-width: 60rem) {
  :root { --nav-h: 64px; }
  .head--split > h2, .head--split > .lead, .head--split > .head-side { grid-column: 1 / -1; }
  .track-list, .lane, .row { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .stage > a { min-height: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--space-md); align-items: center; }
  .stage-n { grid-row: span 2; margin-bottom: 0; }
  .start-mark { grid-column: 2; margin-top: 0; padding-top: var(--space-2xs); }
  .stage + .stage::before, .lane > li + li::before, .row > li + li::before { top: calc(-1 * var(--space-lg) + 3px); left: calc(var(--space-md) + 16px); width: 2px; height: calc(var(--space-lg) - 10px); }
  .lane > li + li::before, .row > li + li::before { left: calc(var(--space-md) + 13px); }
  .stage + .stage::after, .lane > li + li::after, .row > li + li::after { top: -10px; left: calc(var(--space-md) + 13px); transform: rotate(135deg); }
  .lane > li + li::after, .row > li + li::after { left: calc(var(--space-md) + 10px); }
  .lane > li:nth-child(4)::before, .lane > li:nth-child(4)::after { display: block; }
  .flow--gov li:nth-child(4)::before { background: repeating-linear-gradient(180deg, var(--color-flow-line) 0 6px, transparent 6px 10px); }
  .tally-wrap { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-lg); }
  .tally, .tally-note { grid-column: 1 / -1; }
  .tally { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-lg); }
  .tally > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .case-grid, .show-grid, .split, .talk-grid { grid-template-columns: minmax(0, 1fr); }
  .case-grid > *, .show-grid > *, .split > *, .talk-grid > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .split--flip .split-text { grid-row: 1 !important; }
  .terms { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .footer-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 40rem) {
  body { font-size: 1rem; }
  .hero-scrim { background: radial-gradient(ellipse 90% 34% at 50% 26%, color-mix(in oklab, var(--color-fog) 82%, transparent), transparent 85%), linear-gradient(to bottom, transparent 60%, color-mix(in oklab, var(--color-paper) 70%, transparent) 84%, var(--color-paper)); }
  .nav-link { display: none; }
  .brand-logo { height: 26px; }
  .corridor { gap: var(--space-lg); }
  .actions { flex-direction: column; align-items: stretch; width: 100%; }
  .mock { padding: var(--space-md); }
  .well { padding: var(--space-sm); }
  .tally dd { font-size: 2rem; }
  .talk-mail { font-size: 1.25rem; white-space: nowrap; overflow-wrap: normal; gap: var(--space-xs); }
  .talk-mail .ico { width: 20px; height: 20px; }
}

/* ---------- Print: landscape A4 ---------- */
@page { size: A4 landscape; margin: 9mm 0; }
@media print {
  :root { --gutter: 64px; --section-gap-s: 96px; --section-gap: 112px; --section-gap-l: 128px; --gap-columns: 32px; }
  html, body { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  html { scroll-behavior: auto; }
  .nav-wrap, .skip { display: none !important; }
  .glass, .nav-wrap.is-solid { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .glass { background: var(--color-paper-2); box-shadow: var(--glass-hi); }
  .idea--runsheets .glass { background: var(--color-paper-3); }
  .hero-pnl { background: var(--color-paper-2); color: var(--color-ink); }
  .hero { min-height: 0; height: calc(192mm / 0.68 - 4px); }
  .pnl-row { animation: none; }
  section { break-inside: auto; }
  .life, .case, .idea, .talk { break-before: page; padding-block: var(--space-xl); border-top: 0 !important; }
  .case-grid { break-before: page; }
  .case-grid--2 { break-before: page; }
  .case { break-before: auto; }
  .idea--runsheets { padding-block: var(--space-sm); }
  .idea--runsheets .head, .idea--runsheets .flow { margin-bottom: var(--space-md); }
  .idea--runsheets .chat-body { gap: var(--space-xs); }
  .idea--runsheets .terms { margin-top: var(--space-md); }
  .idea--runsheets .show-grid > .glass { grid-column: 1 / span 7; }
  .idea--runsheets .show-grid > .well { grid-column: 8 / span 5; padding: var(--space-md); }
  .idea--runsheets .msg { max-width: 92%; }
  .idea--runsheets .tomorrow { display: none; }
  .show-grid { display: flex; flex-wrap: nowrap; align-items: flex-start; gap: var(--gap-columns); }
  .show-grid > .glass { flex: 0 0 calc(66.6% - var(--gap-columns)); }
  .idea--runsheets .show-grid > .glass { flex-basis: calc(58% - var(--gap-columns)); }
  .show-grid > .well { flex: 1 1 0; }
  .show-grid--flip > .well { order: -1; flex: 0 0 calc(33.3% - var(--gap-columns)); }
  .show-grid--flip > .glass { flex: 1 1 0; }
  .idea, .life, .talk { padding-block: var(--space-lg); }
  .head { margin-bottom: var(--space-lg); }
  .case .flow, .idea--runsheets .flow, .idea--closure .flow { margin-bottom: var(--space-lg); }
  .terms { margin-top: var(--space-lg); padding-top: var(--space-md); }
  .split-text .flow { margin-top: var(--space-xs); }
  .flow, .node, .stage, .mock, .well, .terms, .tally-wrap, .head, .talk-grid, .split-text { break-inside: avoid; }
  .head, h2 { break-after: avoid; }
  .footer { break-before: avoid; padding-block: var(--space-2xl); }
}
