@import url("fonts.css?v=5aae8b32");
/* Zeft — shared styles (landing + console). No inline CSS anywhere. */

/* PALETTE = design-system/tokens.json. The four :root blocks below predate the contract and stay
 * because the SEO estate and the Laravel tier load this file in orders where they win the cascade.
 * Their colour values are REWRITTEN from tokens.json by ops/sync-legacy-palette.mjs and pinned by
 * backend/test/one-green-legacy-palette-equals-contract.test.js. Edit the JSON, run the script; never
 * hand-edit a hex here (2026-09-05: production painted #12B981 on / and #0A7A52 on /app). */
:root {
  --bg:#FAF9F7; --bg-2:#FFFFFF; --card:#FFFFFF; --ink:#101511;
  --ink-2:#4C5751; --ink-3:#626E67; --line:#E4E2DB; --line-2:#F0EEE9;
  --brand:#0A7A52; --brand-2:#06603F; --brand-ink:#075E3F; --brand-tint:#E6F3EC; --on-brand:#FFFFFF;
  --brand-glow:rgba(10,122,82,0.22);
  --coral:#B42318; --coral-2:#B42318; --coral-tint:#FDECEA; --gold:#8A5A00; --gold-tint:#FBEFD5;
  --info:#1D63C4; --info-tint:#E6EEFB;
  --shadow: 0 1px 2px rgba(12,21,18,.04), 0 12px 28px -12px rgba(12,21,18,.14);
  --shadow-sm: 0 1px 2px rgba(12,21,18,.05), 0 4px 10px -6px rgba(12,21,18,.12);
  --shadow-lg: 0 2px 4px rgba(12,21,18,.06), 0 44px 76px -34px rgba(12,21,18,.28);
  --r: 18px; --r-lg: 26px;
  /* Inter for text, Archivo for headings (owner 2026-10-29): the stacks are css/fonts.css's, written once. */
  --sans: var(--zeft-text-font);
  --heads: var(--zeft-head-font);
  --mono: ui-monospace, SFMono-Regular, "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --wrap: 1160px; color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg:#0A0F0C; --bg-2:#0F1712; --card:#121B16; --ink:#ECF2EE;
    --ink-2:#A3AFA9; --ink-3:#88948E; --line:#212C26; --line-2:#1A241E;
    --brand:#17B47A; --brand-2:#0F9563; --brand-ink:#7FE9BE; --brand-tint:#0F2B20; --on-brand:#04120C;
    --brand-glow:rgba(23,180,122,0.22);
    --coral:#FF8A7A; --coral-2:#FF8A7A; --coral-tint:#2A1614; --gold:#F7C13B; --gold-tint:#2C2410;
    --info:#6BA8F2; --info-tint:#132339;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 14px 30px -14px rgba(0,0,0,.55);
    --shadow-sm: 0 1px 2px rgba(0,0,0,.35), 0 5px 12px -7px rgba(0,0,0,.6);
    --shadow-lg: 0 2px 4px rgba(0,0,0,.3), 0 44px 74px -36px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg:#0A0F0C; --bg-2:#0F1712; --card:#121B16; --ink:#ECF2EE;
  --ink-2:#A3AFA9; --ink-3:#88948E; --line:#212C26; --line-2:#1A241E;
  --brand:#17B47A; --brand-2:#0F9563; --brand-ink:#7FE9BE; --brand-tint:#0F2B20; --on-brand:#04120C;
  --brand-glow:rgba(23,180,122,0.22);
  --coral:#FF8A7A; --coral-2:#FF8A7A; --coral-tint:#2A1614; --gold:#F7C13B; --gold-tint:#2C2410;
  --info:#6BA8F2; --info-tint:#132339;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 14px 30px -14px rgba(0,0,0,.55);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.35), 0 5px 12px -7px rgba(0,0,0,.6);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.3), 0 44px 74px -36px rgba(0,0,0,.7);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg:#FAF9F7; --bg-2:#FFFFFF; --card:#FFFFFF; --ink:#101511;
  --ink-2:#4C5751; --ink-3:#626E67; --line:#E4E2DB; --line-2:#F0EEE9;
  --brand:#0A7A52; --brand-2:#06603F; --brand-ink:#075E3F; --brand-tint:#E6F3EC; --on-brand:#FFFFFF;
  --brand-glow:rgba(10,122,82,0.22);
  --coral:#B42318; --coral-2:#B42318; --coral-tint:#FDECEA; --gold:#8A5A00; --gold-tint:#FBEFD5;
  --info:#1D63C4; --info-tint:#E6EEFB;
  --shadow: 0 1px 2px rgba(12,21,18,.04), 0 12px 28px -12px rgba(12,21,18,.14);
  --shadow-sm: 0 1px 2px rgba(12,21,18,.05), 0 4px 10px -6px rgba(12,21,18,.12);
  --shadow-lg: 0 2px 4px rgba(12,21,18,.06), 0 44px 76px -34px rgba(12,21,18,.28);
  color-scheme: light;
}

* { box-sizing: border-box; }
/* Modern base (2026): native form controls (checkbox/radio/range/progress) adopt the
   brand instead of the OS blue, so the whole product reads as one system without a custom
   control per input. Smooth in-page scrolling — disabled under reduced-motion below. */
html { scroll-behavior: smooth; }
:root { accent-color: var(--brand); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 1.02rem; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--heads); }
/* Better line breaking for running copy — avoids typographic orphans/ragged lines. A
   progressive enhancement: browsers without text-wrap:pretty simply wrap as before. */
p, li, .sub, .od, .selllist span { text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.35rem; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
:where(a,button,input,select,[tabindex]):focus-visible { outline: 2.5px solid var(--brand); outline-offset: 2px; }
.mono { font-family: var(--mono); }
.hidden { display: none !important; }
.completion-proof-review { display: grid; gap: .75rem; }
.completion-proof-copy { margin: .2rem 0 0; }
.completion-proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; }
.completion-proof-figure { margin: 0; }
.completion-proof-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-control); border: 1px solid var(--line); background: var(--card-2); }
/* A MISSING TICKET IS A STATE, NOT A GAP. `.completion-proof-missing` was set on the element
   but had no rule at all, so "No ticket supplied" rendered as loose text beside a framed
   photograph and the sheet read half-built (owner N32, 2026-09-17). It is a figure like its
   neighbour — same box, same radius — and says so in the panel instead of beside it. */
.completion-proof-missing {
  display: grid; place-items: center; text-align: center;
  padding: var(--space-3); border-style: dashed; color: var(--ink-3);
  font-weight: 600;
}
.completion-proof-total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-control);
  background: var(--card-2);
}
.completion-proof-total strong { font-size: 1.3rem; font-variant-numeric: tabular-nums; }

/* THE SEND BUTTON IS ALWAYS ON SCREEN (owner walk 2026-09-17, N09: "after signature, buttons
   are not clean and clear — you should show the sending button").
   `.chatbox` is a fixed-height flex column with `overflow: hidden` and no scroller of its own,
   so a sheet taller than it was CLIPPED rather than scrolled: two cleared-space photographs, a
   total, a paragraph and a signature pad are taller than a 390px phone, and the button that
   actually sends sat below the cut with no way to reach it. The sheet scrolls now, and the one
   primary action is pinned to its floor. Clear and "type your name instead" stay quiet beside
   the pad — they are alternatives to drawing, not actions competing with the send. */
.chatbox:has(.sign-sheet) { height: auto; max-height: min(680px, calc(100vh - 24px)); }
.sign-sheet { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 0; }
.sign-sheet .completion-proof-image { max-height: 26vh; }
.sign-sheet-alt { display: flex; gap: .6rem; align-items: center; }
.sign-sheet-alt .linkbtn {
  min-height: 44px; flex: 0 0 auto; padding-inline: var(--space-3);
  border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--card);
}
.sign-sheet-alt .linkbtn:hover, .sign-sheet-alt .linkbtn:focus-visible { border-color: var(--brand); background: var(--brand-tint); text-decoration: none; }
.sign-sheet-send {
  position: sticky; bottom: 0; z-index: 1;
  margin: 0 -1rem; padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom, 0px));
  background: var(--card); border-top: 1px solid var(--line);
}
.sign-sheet-send .cta { width: 100%; min-height: 48px; }

/* ── THE FINISH FLOW (owner order N32, 2026-09-17) ────────────────────────────────────
   "take loaded photos or whatsoever look like this — you should fix styles and layers."
   Four sheets close a job — loaded-truck calibration, disposal receipt, the reprice/size
   ladder and the invoice — and each had grown as a stack of bare controls: placeholders
   doing a label's work, two button systems side by side, and figures run together into a
   wall of digits. Nothing below invents a colour; every value is a token.

   AND ONE OF THEM COULD NOT BE SUBMITTED. `.chatbox` is a fixed-height flex column with
   `overflow: hidden` and no scroller (line 689). The reprice sheet measured 896px against a
   678px box at 390 AND 851 against 678 at 1280, so "Send new price to customer" sat below
   the cut with no way to reach it — the same defect N09 fixed for the signature sheet, on
   the screen where a crew changes a price. `.finish-sheet` is that fix generalised: the
   body scrolls, the primary action is pinned to the floor of the sheet. */
.chatbox:has(.finish-sheet) { height: auto; max-height: min(680px, calc(100vh - 24px)); }
.finish-sheet { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
/* The scroller's own bottom padding sits BELOW a `bottom: 0` sticky footer, so a 1rem strip of
   scrolling content showed THROUGH under the primary button. `.z-form-col*` sets that padding in
   a shorthand from dashboard-v2.css, which loads after this file — hence the doubled class. */
.z-form-col.finish-sheet, .z-form-col-lg.finish-sheet,
.z-form-col.sign-sheet, .z-form-col-lg.sign-sheet { padding-bottom: 0; }
.sheet-actions {
  position: sticky; bottom: 0; z-index: 1;
  margin: var(--space-2) -1rem 0; padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom, 0px));
  background: var(--card); border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: var(--space-2);
}
.sheet-actions .cta { width: 100%; min-height: 48px; margin: 0; }
/* ZEFT-647: the payment review dialog is a finish sheet too (it was the third dialog clipped by the
   fixed-height .chatbox, this time with "Continue securely" below the cut on a 390px phone). Its tax
   note (ZEFT-511) rides in the pinned footer under the button. */
.co-review-sheet .sheet-actions .hint { flex: 1 1 100%; margin: 0; }
/* `.dv2-act.ghost` pins itself to `flex:0 0 auto` from dashboard-v2.css, which loads after this
   file — so a paired primary/secondary came out two-to-one wide. Match its specificity. */
.sheet-actions .dv2-act, .sheet-actions .dv2-act.ghost { flex: 1 1 0; min-height: 48px; justify-content: center; }

/* One control per question, with the question written above it. The receipt sheet asked for
   a facility, a weight and two diversion figures entirely through placeholders, which vanish
   the moment anybody types and truncate before that ("Diverted lbs (donated/scrapped/recy…"). */
.field small { font-weight: 500; color: var(--ink-3); font-size: .6875rem; }
.pickfield-label { font-size: 0.78rem; font-weight: 700; color: var(--ink-2); }
.pickfield .docup { width: 100%; min-height: 2.75rem; border-radius: var(--radius-control); }
.pickfield .hint { margin: 0; }
.fieldgroup {
  gap: var(--space-2); margin: 0; padding: var(--space-3);
  border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--card-2);
}
.fieldgroup legend { font-size: 0.78rem; font-weight: 700; color: var(--ink-2); padding-inline: var(--space-1); }
.fieldgroup-sub { font-size: 0.78rem; font-weight: 700; color: var(--ink-2); }
.fieldgroup .hint { margin: 0; }

/* The signature pad drew its own border in an inline style with two literal hex colours
   (#999, #fff) — the one place in this flow that ignored the token file outright. */
.sign-pad {
  width: 100%; height: 160px; touch-action: none;
  border: 1px dashed var(--line); border-radius: var(--radius-control); background: var(--bg-2);
}
.sign-pad-field { gap: var(--space-2); }

/* Hauler card: say what "Finish without receipt" costs before it is pressed. The action row is a
   nowrap flex on the current-stop panel and a two-column grid under #hJobsList, so the note
   claims a full line in both rather than racing a button for half of one. */
.dv2-task .row:has(.finishnote) { flex-wrap: wrap; }
.finishnote { flex: 1 1 100%; grid-column: 1 / -1; margin: var(--space-1) 0 0; }

/* THE SIGN-OFF FIELD WAS CRUSHING ITS OWN PRIMARY (visible before this change, at 1280).
   `.proof-signoff` asks for `flex: 1 1 100%` inside `.dv2-task .row`, which only wraps below
   430px — so on a laptop "Mark finished · request sign-off" was squeezed to ~60px with its
   label overflowing the button. The name field and the button each get their own line. */
.dv2-task .row:has(> .proof-signoff) { flex-wrap: wrap; align-items: flex-start; }
.dv2-task .row > .proof-signoff { grid-column: 1 / -1; }
.dv2-task .row > .proof-signoff + .dv2-act { flex: 1 1 100%; grid-column: 1 / -1; }

/* The reprice ticket: one figure per row with its own label, tabular so the columns line up. */
.rprow { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-1) var(--space-2); flex-basis: 100%; }
.rprow b, .rpnow b { font-variant-numeric: tabular-nums; }
.rprow .hint { flex-basis: 100%; margin: 0; }
.scanrow { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.scanrow .dv2-act, .scanrow .dv2-act.ghost { flex: 1 1 0; min-height: 2.75rem; justify-content: center; }
/* "No signal? Propose the size by hand" was a bare <details> summary with the browser's own
   triangle — indistinguishable from body text on the sheet it sits in. */
.rpmanual { border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--card-2); }
.rpmanual > summary {
  min-height: 2.75rem; display: flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-3); font-weight: 700; font-size: 0.86rem;
  color: var(--ink-2); cursor: pointer; border-radius: var(--radius-control);
}
.rpmanual > summary:hover, .rpmanual > summary:focus-visible { color: var(--ink); }
.rpmanual > .field { padding: 0 var(--space-3) var(--space-3); }

/* The invoice was entirely unstyled: `.invoice`, `.inv-lines`, `.inv-amt`, `.inv-detail` and
   `.inv-proof` had no rules anywhere, so a receipt — the document a customer keeps and
   disputes with — rendered as unaligned text with the logo hanging outside the sheet. */
.invoice { display: flex; flex-direction: column; min-height: 0; }
.inv-logo { border-radius: 6px; margin-inline-end: var(--space-2); vertical-align: -6px; }
.chathead b:has(.inv-logo) { display: inline-flex; align-items: center; }
.inv-body { padding: var(--space-4) var(--space-4) 0; display: grid; gap: var(--space-3); align-content: start; }
.inv-meta { display: grid; gap: var(--space-2); }
.inv-metarow { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-1) var(--space-2); }
.inv-metarow .hint { flex-basis: 100%; margin: 0; }
.inv-lines { width: 100%; border-collapse: collapse; }
.inv-lines td { padding: var(--space-2) 0; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.inv-lines tr:last-child td { border-bottom: 0; }
.inv-amt { text-align: right; white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; padding-inline-start: var(--space-3); }
.inv-detail { font-size: 0.78rem; color: var(--ink-3); margin-top: 2px; }
.inv-total b { font-size: 1.25rem; }
.inv-proof {
  padding: var(--space-3); border-radius: var(--radius-control);
  background: var(--brand-tint); color: var(--brand-ink); font-size: 0.86rem;
}
.inv-actions { margin: var(--space-2) calc(-1 * var(--space-4)) 0; padding-inline: var(--space-4); }
@media print {
  .inv-actions, .chathead button { display: none; }
  .chatbox:has(.invoice) { max-height: none; height: auto; }
  .finish-sheet { overflow: visible; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-weight: 700; font-size: 1rem; border: 0; border-radius: 999px; padding: 0.8rem 1.4rem; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
/* `.btn.primary` is the spelling the console's own templates use (Price a load, the next
   application step); without it they rendered as a grey browser-default button that read as
   disabled (owner walk 2026-10-02). Same look as .btn-primary. */
.btn-primary, .btn.primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: var(--on-brand); box-shadow: 0 8px 20px -8px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { transform: translateY(-2px); }
/* A disabled button must not look pressable ("Scan current photos" before any photo exists). */
/* Disabled is a clear grey with readable text, not the live colour at half strength. */
.btn:disabled, .btn.ghost:disabled { background: var(--line); color: var(--ink-2); border-color: var(--line); cursor: not-allowed; transform: none; box-shadow: none; }
.btn-ghost { background: var(--bg-2); color: var(--ink); border: 1.5px solid var(--line); box-shadow: var(--shadow); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--brand); }
/* Tactile press — the button settles under the finger/cursor on click, so an action feels
   acknowledged before the network answers. Modern, and it costs nothing. */
.btn:active { transform: translateY(0) scale(.975); }
.opt:active, .toggle:active { transform: scale(.99); }
@media (prefers-reduced-motion: reduce) { .btn:hover, .btn:active, .opt:active, .toggle:active, .stepcard:hover { transform: none; } }

/* header */
/* One section at a time. `[hidden]` alone is not safe here: any later rule setting
   `display` on a section silently defeats it, and the failure looks like the rail doing
   nothing. Stated explicitly so it cannot be overridden by accident. */
[hidden] { display: none !important; }

/* The reference shelf in the rail: the route back to the pages that answer "what do you
   take?" and "do you come to my street?". Deliberately quieter than the nav buttons above
   it — those are the tool, these are a bookshelf beside it. */
.dv2-shelf { margin-top: 1.4rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.dv2-shelf .lbl { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .4rem; }
.dv2-ref { display: block; padding: .35rem 0; font-size: 13.5px; color: var(--ink-2); text-decoration: none; }
.dv2-ref:hover { color: var(--brand); }

/* THE CONSOLE IS ITS OWN SHELL.
   `in-console` is set by dashboard.js the moment a session renders, and removed on sign-out.
   Inside it the marketing masthead and the marketing footer are gone: a person who has signed
   in is not choosing whether to use us, and a row of links leading OUT of the tool — plus a
   "Sign in" button sitting above their own "Sign out" — is the console apologising for being
   a console. The mobile app has always replaced the whole screen on sign-in; this is the web
   behaving the same way. */
body.in-console header.site,
body.in-console > footer { display: none; }
body.in-console .subscribe { display: none; }
/* The rail is the navigation now, so it gets the full height it was drawn for. */
body.in-console .dv2-shell { min-height: 100vh; }

header.site { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; gap: 1rem; height: 68px; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; margin-right: auto; }
.logo { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 0; box-shadow: 0 6px 14px -6px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,.3); overflow: hidden; }
.logo img, .mark img { width: 100%; height: 100%; display: block; object-fit: cover; }
.auth-footer { display:flex; justify-content:center; gap:1.25rem; padding:1.25rem; border-top:1px solid var(--line); color:var(--ink-3); font-size:.82rem; }
.auth-footer a { color:var(--ink-2); text-decoration:none; font-weight:700; }
.auth-footer a:hover { color:var(--brand); }
.brand b { font-weight: 800; font-size: 1.28rem; letter-spacing: -0.035em; }
/* THE HEADER THAT BROKE ITS OWN WORDS.
 *
 * Two links were added on 2026-08-09 — "What we take" and "Areas we serve" — because the
 * homepage was the one page on the site linking to neither, and ten written guides plus the
 * borough page were unreachable from the front door. Correct fix, and it pushed the row past
 * the width it had: with a fixed 1.5rem gap and no shrink rule, every two-word link folded
 * mid-phrase. "How it / works". "Drive with / us". "Sign / in". A tester reported it within
 * the half hour, and they were right to — a masthead that breaks its own words is the first
 * thing a visitor reads about how careful we are.
 *
 * nowrap is the rule that matters: a LINK is one phrase and never breaks inside itself. The
 * gap then flexes instead of the words, and if the row still runs out of room the whole
 * thing scrolls sideways rather than reflowing into nonsense — a link half-hidden at the
 * edge is recoverable, a link split down the middle is not.
 */
.navlinks {
  display: flex;
  gap: clamp(0.7rem, 1.6vw, 1.5rem);
  align-items: center;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.navlinks::-webkit-scrollbar { display: none; }
.navlinks a { text-decoration: none; color: var(--ink-2); font-size: 0.94rem; font-weight: 600; transition: color .15s; white-space: nowrap; flex: 0 0 auto; }
.navlinks a:hover { color: var(--brand-2); }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { list-style: none; min-width: 44px; min-height: 44px; padding: 0 .7rem; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2); color: var(--ink); font-size: .86rem; font-weight: 800; align-items: center; justify-content: center; cursor: pointer; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav { position: fixed; top: 70px; left: 1rem; right: 1rem; width: auto; max-height: calc(100dvh - 86px); overflow-y: auto; padding: .55rem; display: grid; gap: .15rem; border: 1px solid var(--line); border-radius: 16px; background: var(--card); box-shadow: var(--shadow-lg); z-index: 60; }
.mobile-nav nav a { min-height: 44px; padding: .65rem .75rem; display: flex; align-items: center; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 700; }
.mobile-nav nav a:hover, .mobile-nav nav a:focus-visible { background: var(--brand-tint); color: var(--brand-ink); }
@media (max-width: 780px) { .navlinks { display: none; } }

/* hero */
/* Full-bleed emerald hero — the approved Zeft identity, unmistakable vs the old
   plain-white band. The pricing form card (right column) keeps its own white surface;
   only the copy column (.herocopy) flips to light text. */
.hero { position: relative; padding: 4.25rem 0 3.25rem; background: linear-gradient(158deg, #0B7A54 0%, #0E9E68 42%, #12B981 100%); overflow: hidden; }
.hero::before { content: ""; position: absolute; top: -180px; right: -140px; width: 640px; height: 640px; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 62%); pointer-events: none; z-index: 0; }
.hero::after { content: ""; position: absolute; left: -120px; bottom: -220px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(253,224,138,.14), transparent 60%); pointer-events: none; z-index: 0; }
.hero .wrap { position: relative; z-index: 1; }
.herocopy .pill { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(4px); }
.herocopy h1 { color: #fff; }
.herocopy h1 .hl { background: linear-gradient(120deg, #FDE68A, #FCEFC9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.herocopy .sub { color: rgba(255,255,255,.92); }
.herocopy .chip { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.24); color: #fff; box-shadow: none; }
.herocopy .chip .d { background: #FDE68A; }
.herocopy .seg { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.26); box-shadow: none; }
.herocopy .seg button { color: rgba(255,255,255,.88); }
.herocopy .seg button[aria-selected="true"] { color: var(--brand-ink); background: #fff; }
.herocopy .qhead, .herocopy .qhead small { color: rgba(255,255,255,.9); }
.hgrid { display: grid; grid-template-columns: 1.05fr minmax(360px, 460px); gap: 3rem; align-items: start; }
@media (max-width: 940px) { .hgrid { grid-template-columns: 1fr; gap: 2rem; } }
.pill { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--brand-tint); color: var(--brand-ink); font-weight: 700; font-size: 0.8rem; padding: 0.4rem 0.85rem; border-radius: 999px; }
/* A trust pill that is NOT a claim. "Insurance expired" and "Insurance not confirmed" are
   honest states we owe the customer, and painting them in the brand tint beside "Verified"
   would read as a third thing we had confirmed. Quiet ink, a hairline, no green. */
.pill.pill-quiet { background: var(--bg-2); color: var(--ink-2); border: 1px solid var(--line); font-weight: 600; }
h1 { font-size: clamp(2.5rem, 6.6vw, 4.4rem); font-weight: 800; letter-spacing: -0.045em; line-height: 0.96; margin: 1.2rem 0 1.1rem; max-width: 16ch; text-wrap: balance; }
h1 .hl { background: linear-gradient(120deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { font-size: clamp(1.08rem, 2.1vw, 1.32rem); color: var(--ink-2); margin: 0 0 1.75rem; max-width: 44ch; line-height: 1.45; }
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip { display: inline-flex; align-items: center; gap: 0.45rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 0.5rem 0.85rem; font-size: 0.85rem; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow); }
.chip .d { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }

/* segmented toggle */
.seg { display: inline-flex; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px; gap: 4px; margin-bottom: 1.5rem; box-shadow: var(--shadow); }
.seg button { border: 0; background: transparent; color: var(--ink-2); font-weight: 700; font-size: 0.95rem; padding: 0.6rem 1.1rem; border-radius: 999px; display: flex; align-items: center; gap: 0.5rem; transition: all .18s ease; }
.seg button[aria-selected="true"] { color: var(--on-brand); background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 6px 14px -6px var(--brand-glow); }

/* panels */
.panel { display: none; }
.panel.on { display: block; animation: fade .3s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .panel.on { animation: none; } }

.selllist { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 1.25rem; }
.selllist li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; align-items: start; }
.selllist .ic { width: 3rem; height: 3rem; border-radius: 14px; background: var(--brand-tint); display: grid; place-items: center; font-size: 1.35rem; flex: none; }
.selllist b { display: block; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; margin-bottom: 0.1rem; }
.selllist span { color: var(--ink-2); font-size: 0.95rem; line-height: 1.45; }

/* the card (estimator + forms) */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.card-head { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: var(--on-brand); padding: 1rem 1.3rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.card-head.coral { background: linear-gradient(135deg, var(--coral), var(--coral-2)); }
.card-head b { font-weight: 800; letter-spacing: -0.01em; font-size: 1.02rem; }
.card-head .tick { font-family: inherit; font-size: 0.72rem; background: rgba(255,255,255,.2); padding: 0.25rem 0.55rem; border-radius: 999px; }
.card-body { padding: 1.4rem; display: flex; flex-direction: column; gap: 1.4rem; }

.qhead { font-size: 0.82rem; font-weight: 800; color: var(--ink); margin: 0 0 0.7rem; letter-spacing: -0.01em; }
.qhead small { font-weight: 600; color: var(--ink-3); font-size: .6875rem; }

.opts { display: flex; flex-direction: column; gap: 0.55rem; }
.opt { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.75rem; width: 100%; text-align: left; background: var(--bg-2); border: 1.5px solid var(--line); border-radius: 14px; padding: 0.7rem 0.85rem; color: inherit; transition: all .15s ease; }
.opt:hover { border-color: var(--brand); transform: translateX(2px); }
.opt[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-tint); box-shadow: 0 0 0 3px var(--brand-glow); }
.opt .ot { font-weight: 700; font-size: 0.96rem; display: block; }
.opt .od { font-size: 0.82rem; color: var(--ink-2); display: block; margin-top: 0.05rem; }
.gauge { width: 54px; height: 15px; border-radius: 999px; background: var(--line); padding: 2.5px; flex: none; }
.gauge i { display: block; height: 100%; width: var(--fill); background: linear-gradient(90deg, var(--brand), var(--brand-2)); border-radius: 999px; transition: width .2s; }

.toggle { display: flex; gap: 0.75rem; align-items: center; width: 100%; text-align: left; background: var(--bg-2); border: 1.5px solid var(--line); border-radius: 14px; padding: 0.75rem 0.85rem; color: inherit; transition: all .15s ease; }
.toggle:hover { border-color: var(--brand); }
.toggle[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-tint); }
.box { width: 22px; height: 22px; border: 2px solid var(--ink-3); border-radius: 7px; flex: none; display: grid; place-items: center; font-size: 13px; font-weight: 800; line-height: 1; color: var(--on-brand); transition: all .15s; }
.toggle[aria-pressed="true"] .box { border-color: var(--brand); background: var(--brand); }
.toggle[aria-pressed="true"] .box::after { content: "✓"; }

.readout { background: linear-gradient(135deg, var(--brand-tint), color-mix(in srgb, var(--brand-tint) 40%, var(--bg-2))); border: 1.5px solid var(--brand); border-radius: 16px; padding: 1.1rem 1.2rem; }
.readout .rl { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-ink); margin: 0 0 0.25rem; }
.price { font-weight: 800; font-size: clamp(2.1rem, 7vw, 2.9rem); letter-spacing: -0.045em; line-height: 1; margin: 0; font-variant-numeric: tabular-nums; }
.price.empty { font-size: 1.05rem; font-weight: 600; color: var(--brand-ink); letter-spacing: 0; line-height: 1.4; }
.bd { font-family: inherit; font-size: 0.76rem; color: var(--ink-2); margin: 0.55rem 0 0; line-height: 1.5; }

/* Reuse-first line — an HONEST program-level promise at the quote moment (the warm-glow
   lever lands at the decision, not after pay). No per-item diverted number: the salvage
   router only claims diversion it measured from a real receipt, so this stays program-level. */
.reuse-first { margin: 0.7rem 0 0; font-size: 0.82rem; line-height: 1.5; color: var(--brand-ink);
  background: color-mix(in srgb, var(--brand-tint) 55%, transparent); border-radius: 10px; padding: 0.55rem 0.7rem; }
.reuse-first b { font-weight: 800; }

/* Editable photo-estimate checklist — keep/remove + quantity per item, add missed items. */
.checklist { display: flex; flex-direction: column; gap: 0.25rem; margin: 0.4rem 0 0.6rem; }
.ckrow { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: 0.6rem; padding: 0.55rem 0.65rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; }
.ckname { min-width: 0; overflow-wrap: anywhere; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.ckidentify { display: block; width: min(100%, 22rem); margin-top: .35rem; border: 1px solid var(--brand); border-radius: 8px; background: var(--bg); color: var(--ink); padding: .35rem .5rem; font: inherit; }
/* measured size/colour/weight under the item name — shows WHY the price is the price */
.ckmeta { display: block; font-family: inherit; font-size: 0.7rem; font-weight: 500; color: var(--ink-2); margin-top: 1px; }
.ckreview { color: var(--gold); font-weight: 800; }
.ckcountconfirm { display: block; margin-top: 6px; padding: 6px 10px; border: 1px solid var(--gold); border-radius: 999px; background: var(--gold-tint); color: var(--gold); font: 800 .72rem var(--font); cursor: pointer; }
.ckcountconfirm:hover, .ckcountconfirm:focus-visible { background: color-mix(in srgb, var(--gold-tint) 72%, var(--gold)); outline: 2px solid var(--brand); outline-offset: 2px; }
.ckqty { display: inline-flex; align-items: center; gap: 0.5rem; font-variant-numeric: tabular-nums; }
.ckqty b { min-width: 1.1ch; text-align: center; }
/* ZEFT-85: the count is typed, not only tapped. Three digits wide, the row's own type. */
.z-qty-input { width: 3.2em; min-height: 32px; padding: 0.2rem 0.3rem; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); font: 800 0.9rem var(--font); font-variant-numeric: tabular-nums; text-align: center; }
.z-qty-input:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
/* ZEFT-85: a refused typed count says why, on its own line under the row ("Whole numbers only"). */
.ckcounterr { grid-column: 1 / -1; color: var(--coral); font-size: 0.8rem; font-weight: 700; }
.ckcounterr[hidden] { display: none; }
/* ZEFT-85: + and − repeat on a long press, so the press must not open a callout or select text. */
.ckstep { touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
/* A THUMB, not a mouse pointer.
   The quantity stepper measured 26px tall on a 393px-wide screen — the control a customer
   uses to say "two mattresses, not one", on the screen where the price is decided. Both iOS
   and Android put the floor at 44px, and it is a floor for a reason: below it mis-taps climb
   sharply, and a mis-tap here changes what somebody is charged.
   Applied on coarse pointers only, so the laptop layout keeps its compact row. */
@media (pointer: coarse), (max-width: 600px) {
  .ckqty .ckinc, .ckqty .ckdec, .ckinc, .ckdec, .z-qty-input {
    min-height: 44px; min-width: 44px;
    display: inline-flex; align-items: center; justify-content: center;
  }

  /* NAVIGATION LINKS ARE TARGETS, NOT PROSE. Measured on live at eight phone widths: the
     footer columns rendered a hundred links at 36px and the brand at 34px, against the 44px
     both platforms document as the minimum. Nothing overlapped and nothing scrolled sideways
     — this was the only real finding — but a 36px target on a thumb is the miss that makes a
     site feel cheap, and the footer is where the licensing and legal pages live.

     Inline links INSIDE a sentence are deliberately left alone. They measured 20-22px, and
     WCAG 2.5.8 exempts them for good reason: padding a word in the middle of a paragraph
     breaks the line box around it. The rule below targets link LISTS, not running text. */
  footer .fcol a, .navlinks a, .mobile-nav nav a, a.brand {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* Focused utility surfaces use the same clean-tech tokens as the public site without
   surrounding a private status link or destructive account action with marketing clutter. */
.utility-page,.guest-wrap{min-height:100vh;background:linear-gradient(145deg,var(--bg) 0%,var(--brand-tint) 100%)}
.utility-page{padding:clamp(20px,7vw,64px) 16px}
.utility-card,.guest-card{width:min(100%,720px);margin:auto;padding:clamp(22px,5vw,40px);border:1px solid var(--line);border-radius:var(--radius-card,20px);background:var(--card);box-shadow:var(--shadow)}
.utility-brand,.guest-brand{display:inline-flex;align-items:center;min-height:44px;color:var(--brand-ink);font-weight:900;letter-spacing:.08em;text-decoration:none}
.utility-card h1{margin-top:clamp(18px,4vw,34px)}
.utility-card .btn{min-height:48px}
.guest-wrap{display:grid;place-items:center;padding:20px;color:var(--ink)}
.guest-card{max-width:520px}
.guest-status{margin:.65rem 0;font-size:clamp(1.65rem,8vw,2.25rem);line-height:1.08}
.guest-meta{color:var(--ink-2);line-height:1.65}
.guest-eta{margin:1rem 0;color:var(--ink);font-size:clamp(2.4rem,14vw,3.5rem);font-weight:900}
.guest-route{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:1rem;padding:12px 14px;border:1px solid var(--line);border-radius:999px;background:var(--surface-2)}
.guest-route b{color:var(--brand);font-size:1.25rem}
.guest-open-app{display:flex;justify-content:center;margin-top:1rem;padding:13px 18px;border-radius:999px;background:var(--brand);color:var(--on-brand,#fff);font-weight:800;text-decoration:none}
.guest-open-app[hidden]{display:none}
.guest-note{margin-top:1.2rem;padding-top:1rem;border-top:1px solid var(--line);color:var(--ink-3);font-size:.9rem;line-height:1.55}
.posticon.service-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:var(--brand-tint);color:var(--brand-ink)}
.posticon.service-mark svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media (max-width: 520px) {
  .ckrow { grid-template-columns: minmax(0, 1fr) auto; gap: .45rem .6rem; }
  .ckname { grid-column: 1 / -1; }
  .ckqty { justify-self: end; }
  .ckdel { justify-self: end; }
  .ckgood { grid-column: 1 / -1; justify-self: start; }
  .cksize { width: 100%; max-width: 100%; }
}
.ckstep, .ckdel { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); font-size: 1rem; line-height: 1; cursor: pointer; padding: 0; transition: border-color .12s, background .12s; }
.ckstep:hover, .ckdel:hover { border-color: var(--brand); }
.ckdel { color: var(--coral); border-color: color-mix(in srgb, var(--coral) 40%, var(--line)); }
/* "Still good" — the customer's claim about one item, and the only door into the reuse route.
   A word rather than a glyph: this one asks for a judgement, not an edit, and an icon would
   make it look like another stepper. */
.ckgood { display: inline-flex; align-items: center; gap: .25rem; height: 26px; padding: 0 .5rem; border-radius: 8px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink-2); font-size: .78rem; font-weight: 700; line-height: 1; cursor: pointer; white-space: nowrap; transition: border-color .12s, background .12s, color .12s; }
.ckgood:hover { border-color: var(--brand); }
.ckgood.ckgoodon { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-ink); }
/* Live price beside the list it prices (owner report 2026-09-17): priced, updating, empty, error. */
.ckprice { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .6rem; margin: .1rem 0 .7rem; padding: .6rem .75rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
.ckprice-label { font-size: .78rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--ink-2); }
.ckprice-value { font-size: 1.35rem; font-weight: 900; color: var(--ink); }
.ckprice-note { flex-basis: 100%; font-size: .86rem; color: var(--ink-2); }
/* "Where first" (owner decision 2026-10-11): the explanation above the photo buttons turns
   firm, not loud, when a customer taps a photo button before giving the address. */
#cWhereFirst.is-blocking { color: var(--danger, #c9362b); font-weight: 600; }
.ckprice.is-pricing .ckprice-value, .ckprice.is-empty .ckprice-value { font-size: 1rem; font-weight: 700; color: var(--ink-2); }
.ckprice.is-error { border-color: color-mix(in srgb, var(--coral) 45%, var(--line)); }
.ckprice.is-error .ckprice-value { font-size: 1rem; color: var(--coral); }
.ckprice #ckRetry { margin-left: auto; }
/* WHY THE PRICE MOVED (BUG-31). A quiet line under the number, never a banner: the owner's
   complaint was that a price moved in silence, not that it moved without decoration. No border,
   no colour of its own, no icon — it reads as part of the price block, which is what it explains. */
.ckprice-why { flex-basis: 100%; font-size: .86rem; line-height: 1.45; color: var(--ink-2); }
/* The same line on the public estimate page, where it sits under the breakdown. */
.price-why { font-size: .86rem; line-height: 1.45; color: var(--ink-2); margin: .4rem 0 0; }
.ckremoved { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin: .1rem 0 .6rem; }
.ckremoved .ckundo { padding: .3rem .6rem; font-size: .82rem; }
/* "Did we miss these?" — learned-unreliable rows the customer can add back in one tap. */
.cksuggest { margin: 0.2rem 0 0.6rem; padding: 0.6rem 0.7rem; border: 1px dashed var(--line); border-radius: 12px; background: transparent; }
.cksuggest .rl { margin: 0 0 0.45rem; font-size: 0.85rem; color: var(--ink-2); }
.cksug { display: block; width: 100%; text-align: left; margin: 0.25rem 0; padding: 0.4rem 0.55rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 0.9rem; color: var(--ink); cursor: pointer; }
.cksug:hover, .cksug:focus { border-color: var(--brand); }
.ckadd { display: flex; gap: 0.5rem; align-items: center; margin: 0.2rem 0 0.8rem; }
.ckadd select { flex: 1; font-family: inherit; font-size: 0.9rem; color: var(--ink); background: var(--bg-2); border: 1.5px solid var(--line); border-radius: 12px; padding: 0.55rem 0.7rem; appearance: none; }
.ckadd select:focus { border-color: var(--brand); }
/* The fleet-name box is a text input in the same row; it was a raw browser input at 1280 (QA 2026-09-17). */
.ckadd input { flex: 1 1 0; min-width: 0; font-family: inherit; font-size: 0.9rem; color: var(--ink); background: var(--bg-2); border: 1.5px solid var(--line); border-radius: 12px; padding: 0.55rem 0.7rem; }
.ckadd input:focus { border-color: var(--brand); }
/* At 390 px the select took the whole row and pushed "＋ Add item" off-screen (seen in the
   2026-09-17 live re-price walk). The select shrinks to what is left; the button never does. */
.ckadd select { flex: 1 1 0; width: auto; min-width: 0; }
.ckadd > button { flex: 0 0 auto; }
.btn.ghost, button.ghost { font-family: inherit; font-weight: 700; font-size: 0.85rem; color: var(--brand-ink); background: transparent; border: 1.5px solid var(--brand); border-radius: 12px; padding: 0.55rem 0.8rem; cursor: pointer; white-space: nowrap; }
.btn.ghost:hover, button.ghost:hover { background: var(--brand-tint); }

/* Saved properties (B2B / repeat customers) — pick-to-fill chips. */
.propchips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
/* Recurring pickups (B2B) — contract rows + the compact create form. */
.recrow { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; padding: 0.5rem 0; border-bottom: 1px solid var(--line, #eee); }
.recform { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-top: 0.7rem; }
.recform select, .recform input { padding: 0.4rem 0.5rem; }
.propchip { display: inline-flex; align-items: center; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.propchip .pick { font-family: inherit; font-size: 0.82rem; font-weight: 600; color: var(--ink); background: transparent; border: 0; padding: 0.35rem 0.2rem 0.35rem 0.7rem; cursor: pointer; max-width: 16ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.propchip .del { font-size: 0.8rem; color: var(--ink-2); background: transparent; border: 0; padding: 0.35rem 0.55rem; cursor: pointer; }
.propchip:hover { border-color: var(--brand); }
.linkbtn { font-family: inherit; font-size: 0.82rem; font-weight: 700; color: var(--brand-ink); background: transparent; border: 0; padding: 0.35rem 0; margin-top: 0.3rem; cursor: pointer; }
.linkbtn:hover { text-decoration: underline; }

/* On-site misdescription reprice — the customer's approve/decline banner. */
.repricebox { margin: 0.6rem 0; padding: 0.7rem 0.8rem; border: 1.5px solid color-mix(in srgb, var(--gold) 55%, var(--line)); background: color-mix(in srgb, var(--gold-tint) 58%, var(--bg-2)); border-radius: 12px; }
.repricebox .rptitle { font-weight: 800; font-size: 0.88rem; }
.repricebox .rpprice { margin-top: 0.25rem; font-size: 0.95rem; }
/* The scan behind a reprice. A customer being asked for more money gets to SEE the pile the
   hauler is charging for and the items the engine named in it — the same list, in the same
   words, their own photos came back in. Without this the box is a number and a sentence, and
   approving it is an act of faith at the kerb. */
.repricebox .rpscan { margin-top: 0.5rem; }
.repricebox .rpshots { display: flex; gap: 0.35rem; overflow-x: auto; padding: 0.35rem 0; }
.repricebox .rpshots img { width: 76px; height: 76px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); flex: 0 0 auto; }
.repricebox .rpitems { margin: 0.35rem 0 0; padding-left: 1.05rem; font-size: 0.84rem; opacity: 0.9; }
.repricebox .rpitems li { margin: 0.1rem 0; }
.repricebox .rpprice .was { color: var(--ink-2); text-decoration: line-through; font-size: 0.85rem; }

/* The crew's side of the same conversation (owner N16): the ticket they are re-pricing, a
   free field for the final number, and suggested amounts that each carry the rule they came
   from. A chip's title is its basis sentence, and the chosen one prints that sentence under
   the list too — a tooltip is not something you can read one-handed in a driveway. */
.rpticket { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2) 0.7rem; padding: var(--space-3); border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--bg-2); }
.rpticket .rpnow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem; flex-basis: 100%; }
.rpticket .rpnow b { font-size: 1.15rem; }
.rpsuggest { display: flex; flex-direction: column; gap: 0.4rem; }
/* SIX PRICES ARE A LIST, NOT A PARAGRAPH (owner N32). As a wrapping flex row with no track
   width the chips packed to their content and the money ran together into "$1,70 $8,80
   $4,75 …" with the basis line clipped. A grid gives every chip the same width, so the
   amount and the sentence that earns it stay on their own lines at any viewport. */
.rpchips { display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: var(--space-2); }
.rpchip { display: flex; flex-direction: column; align-items: flex-start; gap: 0.15rem; min-height: 44px; padding: var(--space-2) var(--space-3); border: 1.5px solid var(--line); border-radius: var(--radius-control); background: var(--bg); font-family: inherit; cursor: pointer; text-align: left; }
.rpchip b { font-size: 1.05rem; font-variant-numeric: tabular-nums; color: var(--ink); }
.rpchip span { font-size: 0.72rem; line-height: 1.35; color: var(--ink-2); }
.rpchip:hover { border-color: var(--brand); }
.rpchip.on { border-color: var(--brand); background: color-mix(in srgb, var(--gold-tint) 60%, var(--bg)); }

/* WHAT HE ACTUALLY RECEIVES (owner N06) — on his own job card and on the finish screen,
   never only in a payout statement he has to go and find. */
.takehome { margin-top: 0.4rem; padding: 0.45rem 0.6rem; border-left: 3px solid var(--brand); background: color-mix(in srgb, var(--gold-tint) 40%, transparent); border-radius: 0 8px 8px 0; }
.takehome b { display: block; font-size: 0.95rem; }
.takehome .meta { font-size: 0.75rem; }
.takehome-hero { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; padding: 0.9rem 0.6rem; border: 1.5px solid var(--brand); border-radius: 12px; background: color-mix(in srgb, var(--gold-tint) 55%, var(--bg-2)); }
.takehome-hero b { font-size: 2rem; line-height: 1.1; }
.takehome-rows { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.86rem; }
.takehome-rows > div { display: flex; justify-content: space-between; gap: 1rem; }
.takehome-rows .net { padding-top: 0.3rem; border-top: 1px solid var(--line); font-weight: 800; }

/* Liveness that only claims what is true — painted from the stream's own state. */
.boardhead { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.offerslive { font-size: 0.74rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.offerslive.on { color: var(--brand-ink); border-color: var(--brand); }

.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-size: 0.78rem; font-weight: 700; color: var(--ink-2); }
.field input, .field select { font-family: inherit; font-size: 0.96rem; color: var(--ink); background: var(--bg-2); border: 1.5px solid var(--line); border-radius: 12px; padding: 0.7rem 0.8rem; width: 100%; appearance: none; transition: border-color .15s; }
.field input:focus, .field select:focus { border-color: var(--brand); }
.field input::placeholder { color: var(--ink-3); }

/* ZEFT-83: the show/hide eye on every password field (frontend/js/password-reveal.js wraps the
   input so the button sits inside the field, right-aligned, using the same tokens as the input). */
.reveal-wrap { position: relative; display: block; width: 100%; }
.reveal-wrap input { padding-right: 2.9rem; }
.reveal-pass { position: absolute; top: 50%; right: 0.5rem; transform: translateY(-50%); display: inline-flex;
  align-items: center; justify-content: center; width: 2rem; height: 2rem; padding: 0; border: 0;
  border-radius: 8px; background: transparent; color: var(--ink-3); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.reveal-pass:hover { color: var(--ink-2); }
.reveal-pass:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; color: var(--ink-2); }
.reveal-pass[aria-pressed="true"] { color: var(--brand); }
.reveal-pass svg { display: block; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }

/* Two buttons where there was one — the camera and the library, added the same day as the
 * nav links and carrying the same risk. A wrapping flex row lets each child shrink below its
 * own text, and then the label breaks mid-word exactly as the masthead did. Each button keeps
 * its phrase whole and takes a full row when there is not space for two. */
.shot { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.shot .shotbtn { flex: 1 1 12rem; white-space: nowrap; text-align: center; }
.shotbtn { font-weight: 700; font-size: 0.9rem; border: 1.5px dashed var(--brand); color: var(--brand-ink); background: var(--brand-tint); padding: 0.6rem 0.9rem; border-radius: 12px; transition: all .15s; }
.shotbtn:hover { background: var(--brand); color: var(--on-brand); }
.thumbs { display:grid; grid-template-columns:repeat(auto-fit,minmax(8.5rem,1fr)); gap:.65rem; width:100%; }
.shot-card { position:relative; margin:0; overflow:hidden; border:1px solid var(--line); border-radius:12px; background:var(--card); }
.shot-card img { display:block; width:100%; height:8rem; object-fit:cover; }
.shot-card figcaption { padding:.45rem .55rem; color:var(--ink-2); font-size:.75rem; font-weight:700; }
.shot-remove { position:absolute; top:.4rem; right:.4rem; min-height:36px; border:1px solid var(--line); border-radius:999px; padding:0 .65rem; background:var(--card); color:var(--coral); font-weight:800; box-shadow:var(--elevation-1); cursor:pointer; }
.shot-remove:focus-visible { outline:2px solid var(--brand); outline-offset:2px; }
.shot-rotate { position:absolute; top:.4rem; left:.4rem; min-height:36px; border:1px solid var(--line); border-radius:999px; padding:0 .65rem; background:var(--card); color:var(--brand); font-weight:800; box-shadow:var(--elevation-1); cursor:pointer; }
.shot-rotate:focus-visible { outline:2px solid var(--brand); outline-offset:2px; }
.shot-rotate:disabled { opacity:.55; cursor:wait; }
.shot-order { min-height:44px; display:flex; align-items:center; justify-content:center; gap:.25rem; padding:0 .35rem .35rem; }
.shot-order button { width:44px; height:44px; border:1px solid var(--line); border-radius:999px; background:var(--card); color:var(--brand-ink); font-size:1.35rem; font-weight:900; cursor:pointer; }
.shot-order button:disabled { opacity:.3; cursor:default; }
.shot-order button:focus-visible { outline:2px solid var(--brand); outline-offset:2px; }
.shot-order span { min-width:3.25rem; color:var(--ink-2); font-size:.7rem; font-weight:800; text-align:center; }
#cSideBtn { width: 100%; min-height: 44px; white-space: normal; line-height: 1.35; text-wrap: balance; }
#cSideBtn small { display: inline; white-space: normal; }
.thumbs { display: flex; gap: 6px; }
.thumbs img { width: 40px; height: 40px; object-fit: contain; background: var(--card-2, var(--bg-2)); border-radius: 9px; border: 1px solid var(--line); }
.hint { font-family: inherit; font-size: 0.72rem; color: var(--ink-3); margin: 0; line-height: 1.45; flex-basis: 100%; }

.cta { width: 100%; border: 0; border-radius: 14px; padding: 0.95rem; font-weight: 800; font-size: 1.05rem; color: var(--on-brand); background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 10px 24px -10px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,.25); transition: transform .15s, box-shadow .15s; }
.cta:hover:not(:disabled) { transform: translateY(-2px); }
.cta.coral { background: linear-gradient(135deg, var(--coral), var(--coral-2)); box-shadow: 0 10px 24px -10px rgba(255,107,91,.4); }
.cta:disabled { background: var(--line); color: var(--ink-2); cursor: not-allowed; box-shadow: none; }
.fineprint { font-family: inherit; font-size: 0.72rem; color: var(--ink-3); text-align: center; margin: 0; line-height: 1.5; }

/* THE CONSOLE DID NOT OPEN.
   console-loader.js used to report a boot failure through .fineprint plus an `.err` class that
   has no rule anywhere in this file, at the very bottom of the sign-in card — measured below the
   fold at 1280x720, ~220 px under the button that had just been pressed. A terminal failure of
   the whole card is not fineprint; it is the reason nothing on the card works. Coral tokens, so
   it reads in both themes. */
.console-load-failed { display: block; text-align: left; font-family: inherit; font-size: 0.9rem; font-weight: 600; line-height: 1.45; color: var(--coral-2); background: var(--coral-tint); border: 1px solid var(--coral-2); border-radius: 12px; padding: 0.75rem 0.85rem; margin: 0 0 0.9rem; }
.console-load-failed a { color: inherit; text-decoration: underline; }
.console-load-reload { margin-top: 0.6rem; display: inline-block; border: 1px solid var(--coral-2); border-radius: 10px; background: transparent; color: var(--coral-2); font: inherit; font-weight: 700; padding: 0.4rem 0.9rem; cursor: pointer; }
.console-load-reload:hover { background: var(--coral-2); color: var(--card); }

/* trust strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); margin-top: 1rem; }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.6rem 1.35rem; }
@media (max-width: 720px) { .strip .wrap { grid-template-columns: 1fr 1fr; gap: 1.4rem; } }
.stat { text-align: center; }
.stat .big { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; display: flex; align-items: center; justify-content: center; gap: 0.4rem; }
.stat .cap { font-size: 0.82rem; color: var(--ink-2); margin-top: 0.15rem; }

/* sections */
section.band { padding: 4rem 0; }
section.band.tint { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.seclabel { display: inline-block; font-size: 0.78rem; font-weight: 800; color: var(--brand-2); background: var(--brand-tint); padding: 0.35rem 0.8rem; border-radius: 999px; margin: 0 0 0.9rem; }
h2 { font-size: clamp(1.75rem, 4.2vw, 2.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.06; margin: 0 0 0.9rem; text-wrap: balance; max-width: 20ch; }
.secsub { font-size: 1.1rem; color: var(--ink-2); margin: 0 0 2.25rem; max-width: 56ch; }
/* The two rules the content generator used to stamp as inline styles into every page —
 * the ratchet only shrinks, so they live here and the templates carry classes. */
.secsub-after-grid { margin-top: 1.5rem; }
.fcol.fbrand .brand b { font-size: 1.2rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }
.stepcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; }
.stepcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stepcard .num { width: 2.5rem; height: 2.5rem; border-radius: 12px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: var(--on-brand); font-weight: 800; font-size: 1.1rem; display: grid; place-items: center; margin-bottom: 1rem; }
.stepcard h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 0.4rem; }
.stepcard p { color: var(--ink-2); margin: 0; font-size: 0.96rem; }
.flow-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.25rem; }
.flow-card { overflow:hidden; background:var(--card); border:1px solid var(--line); border-radius:var(--r-lg); box-shadow:var(--shadow); }
.flow-card-wide { grid-column:1 / -1; display:grid; grid-template-columns:minmax(0,1.35fr) minmax(240px,.65fr); align-items:stretch; }
.flow-card picture { display:block; min-width:0; background:color-mix(in srgb, var(--gold-tint) 60%, var(--card)); }
.flow-card img { display:block; width:100%; height:auto; max-width:100%; aspect-ratio:auto; object-fit:contain; background:color-mix(in srgb, var(--gold-tint) 60%, var(--card)); }
.flow-card-wide img { width:100%; height:auto; }
.flow-copy { padding:1.2rem 1.35rem 1.35rem; }
.flow-kicker { display:inline-block; color:var(--brand); font-size:.75rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; margin-bottom:.45rem; }
.flow-copy h3 { margin:0 0 .4rem; font-size:1.25rem; }
.flow-copy p { margin:0; color:var(--ink-2); }
.flow-mobile-hint { display:none; }
@media (max-width:780px) { .flow-grid,.flow-card-wide { grid-template-columns:1fr; } .flow-card-wide { grid-column:auto; } }

/* Mobile web is a first-class surface, not the desktop page squeezed into a phone. */
@media (max-width: 780px) {
  body { font-size: 1rem; line-height: 1.55; }
  .wrap { padding-left: 1rem; padding-right: 1rem; }
  header.site .wrap { height: 64px; gap: .55rem; }
  header.site .logo { width: 34px; height: 34px; border-radius: 10px; }
  header.site .brand b { font-size: 1.08rem; }
  .mobile-nav { display: block; }
  .mobile-nav summary { display:flex; }
  #navCta { min-height: 44px; padding: .65rem .85rem; font-size: .86rem; white-space: nowrap; }
  .hero { padding: 1.75rem 0 2rem; }
  .hgrid { gap: 1.35rem; }
  .hero h1 { font-size: clamp(2.25rem, 11vw, 3rem); margin-top: .85rem; }
  .hero .sub { font-size: 1.02rem; margin-bottom: 1.1rem; }
  .seg { width: 100%; margin-bottom: 1rem; }
  .seg button { flex: 1; min-height: 46px; justify-content: center; padding: .55rem .7rem; }
  .card { border-radius: 20px; }
  .card-head { padding: .85rem 1rem; }
  .card-body { padding: 1rem; gap: 1rem; }
  .shot .shotbtn, .cta, .btn, .opt, .toggle, .geobtn { min-height: 48px; }
  .shot .shotbtn { flex-basis: 100%; white-space: normal; }
  .field input, .field select, input, select, textarea { font-size: 16px; }
  .hint, .fineprint, .bd { font-size: .78rem; line-height: 1.55; }
  section.band { padding: 2.75rem 0; }
  .secsub { font-size: 1rem; margin-bottom: 1.4rem; }
  .steps { gap: .8rem; }
  .stepcard { padding: 1.15rem; }
  .flow-mobile-hint { display:block; margin:-.7rem 0 1rem; color:var(--ink-2); font-size:.85rem; }
  .flow-grid { display:flex; gap:.85rem; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; padding:.15rem .1rem 1.25rem; overscroll-behavior-inline:contain; }
  .flow-grid::-webkit-scrollbar { display:none; }
  .flow-card, .flow-card-wide { flex:0 0 min(86vw, 350px); display:block; scroll-snap-align:center; border-radius:20px; }
  .flow-copy { padding:1rem; }
  .flow-copy h3 { font-size:1.15rem; }
  .flow-copy p { font-size:.92rem; }
  .hon { padding: 1.25rem; }
  .megacta { padding: 2rem 1.1rem; }
  footer { padding: 2.25rem 0; }
  footer .wrap { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.5rem 1rem; }
  footer .fbrand, footer .disc, footer .foot-nap { grid-column:1 / -1; max-width:none; }
  footer .fcol { min-width:0; font-size:.86rem; }
  .console { padding: 1rem .85rem 3rem; }
  .authbox { margin: 1rem auto; }
  table { display:block; max-width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }
}
@media (max-width: 340px) {
  header.site .brand b { display:none; }
  footer .wrap { grid-template-columns:1fr; }
  footer .fbrand, footer .disc, footer .foot-nap { grid-column:auto; }
}

.honesties { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem; }
@media (max-width: 780px) { .honesties { grid-template-columns: 1fr; } }
.hon { border-radius: var(--r-lg); padding: 1.8rem; box-shadow: var(--shadow); border: 1px solid var(--line); }
.hon.a { background: linear-gradient(160deg, var(--brand-tint), var(--card) 65%); }
.hon.b { background: linear-gradient(160deg, var(--coral-tint), var(--card) 65%); }
.hon .tag { display: inline-block; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: 999px; margin: 0 0 0.8rem; }
.hon.a .tag { color: var(--brand-2); background: var(--brand-tint); }
.hon.b .tag { color: var(--coral-2); background: var(--coral-tint); }
.hon h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.025em; margin: 0 0 0.9rem; }
.hon ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.65rem; }
.hon li { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.5rem; font-size: 0.96rem; color: var(--ink-2); align-items: start; }
.hon li .ck { width: 1.35rem; height: 1.35rem; border-radius: 50%; display: grid; place-items: center; font-size: 0.7rem; font-weight: 800; color: var(--on-brand); margin-top: 1px; }
.hon.a li .ck { background: var(--brand); color: var(--on-brand); }
.hon.b li .ck { background: var(--coral); }

.megacta { border-radius: var(--r-lg); background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: var(--on-brand); padding: 3rem 2.5rem; text-align: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.megacta::before { content: ""; position: absolute; top: -80px; right: -60px; width: 340px; height: 340px; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 60%); }
.megacta h2 { color: var(--on-brand); max-width: 22ch; margin: 0 auto 0.8rem; position: relative; }
.megacta p { color: var(--on-brand); max-width: 50ch; margin: 0 auto 1.6rem; position: relative; font-size: 1.08rem; }
.megacta .btn { position: relative; background: #fff; color: var(--brand-2); }

.boros { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.boros li { font-weight: 700; font-size: 0.92rem; border: 1.5px solid var(--line); border-radius: 999px; padding: 0.5rem 1rem; background: var(--bg-2); }
.boros li.live { background: var(--brand-tint); border-color: var(--brand); color: var(--brand-ink); }
.boros li.live::before { content: "● "; color: var(--brand); }
.honestnote { border-left: 3px solid var(--brand); padding: 0.4rem 0 0.4rem 1.1rem; color: var(--ink-2); max-width: 62ch; font-size: 0.98rem; }
.honestnote b { color: var(--ink); }

/* footer */
footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 3rem 0; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 2rem 3rem; align-items: flex-start; }
footer .fcol { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.9rem; color: var(--ink-2); }
footer .fcol b { color: var(--ink); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.3rem; }
footer a { color: var(--ink-2); text-decoration: none; }
footer a:hover { color: var(--brand-2); }
footer .fbrand { margin: 0 auto 0 0; max-width: 26ch; }
footer .disc { font-family: inherit; font-size: 0.72rem; color: var(--ink-3); width: 100%; border-top: 1px solid var(--line); padding-top: 1.3rem; margin-top: 0.5rem; line-height: 1.6; }
footer .foot-nap { width: 100%; margin: 0; font-size: 0.86rem; color: var(--ink-2); }

/* ============ console (app.html) ============ */
.console { max-width: 900px; margin: 0 auto; padding: 1.5rem 1.35rem 4rem; }
.authbox { max-width: 420px; margin: 2rem auto; }
/* Signed-out auth screen: value-prop hero beside the sign-in/register card. */
#auth.authbox { width: 100%; max-width: 900px; display: grid; grid-template-columns: 1fr minmax(340px, 400px); gap: 2.5rem; align-items: center; }
#auth .dv2-auth { width: 100%; min-width: 0; }
.login-live { display: flex; flex-wrap: wrap; gap: .4rem; min-height: 5.125rem; margin-bottom: .8rem; align-content: flex-start; }
.login-live .is-skeleton { width: 100%; min-height: 2.25rem; border-color: transparent; background: linear-gradient(90deg,var(--line),var(--card),var(--line)); background-size:220% 100%; animation:login-live-shift 1.4s ease-in-out infinite; }
@keyframes login-live-shift { to { background-position:-220% 0; } }
@media (prefers-reduced-motion: reduce) { .login-live .is-skeleton { animation:none; } }
@media (max-width: 760px) { #auth.authbox { grid-template-columns: 1fr; gap: 1.5rem; max-width: 420px; } }
.authhero h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 1rem 0 0.9rem; }
.authhero .sub { margin-bottom: 1.4rem; }
.authhero .chips { margin-bottom: 1.2rem; }
.authlearn { font-size: 0.92rem; color: var(--ink-2); }
.authlearn a { color: var(--brand-2); font-weight: 600; text-decoration: none; }
.authlearn a:hover { text-decoration: underline; }
.reghelp { font-size: 0.92rem; font-weight: 600; color: var(--ink-2); margin: 0 0 0.8rem; }
.tabs { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.tabs button { flex: 1; background: var(--bg-2); border: 1.5px solid var(--line); border-radius: 12px; padding: 0.6rem; font-weight: 700; color: var(--ink-2); }
.tabs button.active { background: var(--brand-tint); border-color: var(--brand); color: var(--brand-ink); }
.rolebadge { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; padding: 0.25rem 0.6rem; border-radius: 999px; background: var(--brand-tint); color: var(--brand-ink); }
.jobrow { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem; box-shadow: var(--shadow); display: grid; gap: 0.5rem; margin-bottom: 0.8rem; }
.jobrow .top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.jobrow .title { font-weight: 800; letter-spacing: -0.01em; }
.jobrow .meta { font-family: inherit; font-size: 0.8rem; color: var(--ink-2); }
.jobrow .actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.jobrow .actions button { font-size: 0.85rem; font-weight: 700; border-radius: 10px; padding: 0.45rem 0.8rem; border: 1.5px solid var(--line); background: var(--bg-2); color: var(--ink); }
.jobrow .actions button.go { background: linear-gradient(135deg,var(--brand),var(--brand-2)); color: var(--on-brand); border: 0; }
.jobrow .actions button.danger { color: var(--coral-2); border-color: color-mix(in srgb, var(--coral-2) 40%, var(--line)); background: transparent; }
.jobrow .actions button.danger:hover { background: color-mix(in srgb, var(--coral-2) 8%, transparent); }
.status { font-family: inherit; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.2rem 0.5rem; border-radius: 6px; background: var(--bg); border: 1px solid var(--line); color: var(--ink-2); }
.status.posted { color: var(--gold); } .status.matched, .status.enroute, .status.in_progress { color: var(--brand-2); }
.status.dropped { color: var(--coral-2); } .status.paid, .status.closed { color: var(--brand-2); background: var(--brand-tint); border-color: var(--brand); }
/* ZEFT-406 (QA 2026-10-02): a toast said while a sheet is open was painted UNDER the sheet's shade —
   `.chatmodal` is also z-index 100 and comes later in the document, so a refusal (no-show claim, base
   form) read dimmed and blurred. 140 clears every dialog layer: .chatmodal 100, .hauler-profile-shell
   120, and the dialog over the hauler profile at 130. The toast is pointer-events:none, so it never
   blocks a tap on the sheet beneath it. */
.toast { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 0.8rem 1.2rem; border-radius: 12px; font-weight: 700; box-shadow: var(--shadow-lg); z-index: 140; opacity: 0; transition: opacity .2s, transform .2s; pointer-events:none; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(-4px); }
.toast.err { background: var(--coral-2); }
/* EVERY MESSAGE THE CONSOLE SHOWS, WHERE THE READER IS. Measured, not reasoned about: after a
   real claim on a real board this banner sat at top:-484 (390px) and top:-542 (1280px), with
   `inView:false` at both. Nobody had seen a console toast — success or error — since it stopped
   being a floating pill, because it only ever appeared while the reader happened to be scrolled
   to the very top, which is the one place the buttons that raise a toast are not.

   THE CAUSE IS AN ANCESTOR, WHICH IS WHY THIS LOOKED CORRECT IN THE FILE. `position:sticky`
   resolves against the nearest SCROLLING ancestor, and `body.in-console` carries
   `overflow-x:hidden` — enough to make the body a scroll container. Its scrollport is its own
   content box and never scrolls; the viewport does. So the toast had a sticky reference that
   could not move and it simply travelled up the page with the document. `top:76px` was honoured
   perfectly, against the wrong box.

   `fixed` has no ancestor to be wrong about. The horizontal offsets replace what `.dv2-main`
   used to provide as a flow parent: 224px is the rail, which a fixed box no longer sits beside,
   and below 820px the rail becomes the bottom bar and the banner spans the width. Everything
   else about the banner is unchanged — same top edge under the sticky topbar, same collapse to
   height:0, same shadow and radius. z-index:140 comes from `.toast` and already clears the
   topbar's 40. */
.dv2-main > .toast { position:fixed; top:76px; left:224px; right:0; bottom:auto; width:auto; max-width:none; height:0; margin:0 22px; padding:0 1rem; border-radius:0 0 12px 12px; overflow:hidden; transform:none; box-shadow:none; transition:opacity .2s,height .2s,padding .2s; }
.dv2-main > .toast.show { height:auto; min-height:44px; display:flex; align-items:center; justify-content:center; padding:.65rem 1rem; transform:none; box-shadow:var(--shadow); }
@media (max-width:820px) {
  .dv2-main > .toast { top:68px; left:0; margin:0 12px; }
  .dv2-main > .toast.show { min-height:40px; padding:.55rem .75rem; font-size:.86rem; }
}
/* ZEFT-345: THE NEW-PICKUP BANNER IS PINNED FOR THE SAME REASON THE TOAST IS. It is inserted
   right after the sticky .dv2-topbar; left in normal flow it stayed at the top of the document,
   so a driver scrolled down Route, Payouts or a long Offers list never saw it. Fixed under the
   topbar, beside the 224px rail on desktop and full width below 820px, exactly like
   `.dv2-main > .toast` above (doubled class so it outranks .callout, defined later). z-index 90 clears the topbar (40) and sits under a toast (100). */
.callout.new-offer-alert { position:fixed; top:76px; left:224px; right:0; z-index:90; margin:0 22px; padding:.7rem 1rem; flex-direction:row; align-items:center; flex-wrap:wrap; gap:.6rem; box-shadow:var(--shadow-lg); }
.new-offer-alert-text { flex:1 1 12rem; }
@media (max-width:820px) {
  .callout.new-offer-alert { top:68px; left:0; margin:0 12px; padding:.6rem .75rem; }
}
.empty { text-align: center; color: var(--ink-3); padding: 2rem; font-family: inherit; font-size: 0.9rem; }

/* metric cards */
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 0.8rem; margin-bottom: 0.5rem; }
.metric { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0.9rem 1rem; box-shadow: var(--shadow); }
.metric .mv { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.metric .ml { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); margin-top: 0.2rem; }
/* THE ONE NUMBER THE ROW EXISTS FOR. A funnel is read by scanning for the headline rate, and the
   two that had it were spending inline styles to say so — which the ratchet counts and nobody can
   restyle. Same look, named once: the conversion metric that the block is actually about. */
.metric.z-metric-hero { border-color: var(--brand); }
.metric.z-metric-hero .mv { color: var(--brand-2); }
.metric.mt-4 { margin-top: 0.4rem; }
.metric.edge-ok { border-color: var(--brand); }
.metric.edge-warn { border-color: var(--gold); }
.btnwrap { display: flex; gap: 0.4rem; flex-wrap: wrap; }

/* job status timeline */
.tl { display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; margin: 0.1rem 0; }
.tl-step { display: inline-flex; align-items: center; gap: 0.35rem; font-family: inherit; font-size: 0.7rem; font-weight: 700; color: var(--ink-3); }
.tl-step i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: inline-block; }
.tl-step.done { color: var(--brand-2); }
.tl-step.done i { background: var(--brand); }
.tl-step.cancelled { color: var(--coral-2); }
.tl-step.cancelled i { background: var(--coral); }

/* hauler documents */
.docgrid { display: grid; gap: 0.5rem; }
.docitem { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 0.6rem 0.85rem; }
.docname { font-weight: 700; font-size: 0.92rem; margin-bottom: 0.1rem; }
/* Document status reads as a pill in the console's own type, not a monospace code string
   (production QA 2026-09-17: "verified" / "not uploaded" looked like debug output). */
.docok, .docpend, .docmiss { display: inline-flex; align-items: center; font-family: inherit; font-size: var(--type-caption-size); line-height: var(--type-caption-line); font-weight: 700; padding: 0.1rem 0.55rem; border-radius: var(--radius-pill); }
.docok { color: var(--brand-ink); background: var(--brand-tint); }
.docpend { color: var(--gold); background: var(--gold-tint); }
.docmiss { color: var(--coral-2); background: var(--coral-tint); }
.docsummary-missing { color: var(--coral-2); }
.doclink { font-family: inherit; font-size: 0.82rem; font-weight: 700; color: var(--brand-2); text-decoration: none; border-bottom: 1px solid var(--line); }
.docup { font-size: 0.82rem; font-weight: 700; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 9px; padding: 0.4rem 0.7rem; }
.docup:hover { border-color: var(--brand); }
.docactions { display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
/* At phone width the name and its actions cannot share a line: three buttons beside "Driver's license"
   squeezed the name into a two-line column (read on production at 390, 2026-09-17). Stack them. */
@media (max-width: 520px) {
  .docitem { flex-wrap: wrap; }
  .docitem > :first-child { flex: 1 1 100%; }
  .docactions { width: 100%; justify-content: flex-start; }
}

/* in-app chat modal */
.chatmodal { display: none; position: fixed; inset: 0; z-index: 100; background: rgba(10,20,15,.5); backdrop-filter: blur(3px); align-items: flex-end; justify-content: center; }
@media (min-width: 640px) { .chatmodal { align-items: center; } }
.chatbox { background: var(--card); border: 1px solid var(--line); border-radius: 20px 20px 0 0; box-shadow: var(--shadow-lg); width: 100%; max-width: 460px; height: 72vh; max-height: 620px; display: flex; flex-direction: column; overflow: hidden; }
@media (min-width: 640px) { .chatbox { border-radius: 20px; height: 560px; } }
.chathead { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.2rem; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: var(--on-brand); }
.chathead b { font-weight: 800; }
/* A form dialog is as tall as its form; the fixed 72vh belongs to the chat thread it borrows. */
.chatbox:has(> form) { height: auto; max-height: min(680px, calc(100vh - 24px)); }

/* THE SAME RULE, FOR THE DIALOGS WHOSE BODY IS A CARD RATHER THAN A FORM.
   Fourth occurrence of one defect. `.chatbox` borrows the chat thread's fixed height and clips
   with `overflow: hidden`, and what falls off the bottom is always THE PRIMARY ACTION -- the
   one control the dialog exists for. It was fixed for the signature sheet (owner walk N09,
   "after signature, buttons are not clean and clear"), then for the reprice sheet (measured at
   896px against a 678px box at 390), then generalised for `> form` above. Each of those left
   the ~60 dialogs whose body is `<div class="card-body">` exactly as broken as before.
   Owner, 2026-09-23: "confirm arrival - no button to confirm or do next things". `#arriveConfirm`
   and `#loadConfirm` were both in the markup and both below the cut, because `loadVsList` adds a
   photograph and an item list above them. Two consecutive steps of a job, dead on a phone.
   So the box grows to its content and the body scrolls -- for every card dialog, not one more. */
.chatbox:has(> .card-body) { height: auto; max-height: min(680px, calc(100vh - 24px)); }
.chatbox > .card-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.chatbox > .owner-booking-body { gap: .75rem; padding: 1rem 1.2rem max(1rem, env(safe-area-inset-bottom)); overflow-wrap: anywhere; }
.owner-booking-body p { margin: 0; }
.owner-booking-body > .dv2-act { width: 100%; min-height: 44px; white-space: normal; }
.rv-stars { display: flex; gap: .35rem; }
.rv-stars button { min-width: 44px; min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font-size: 1.9rem; line-height: 1; cursor: pointer; }
.rv-stars button:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 8px; }
/* The invoice total line had no rule at all, so the label and the money ran together: "Total$205"
   on the document a customer keeps and disputes with (L15 walk, 390 and 1280). */
.inv-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: .6rem; border-top: 1px solid var(--line); margin-top: .4rem; font-size: 1.05rem; }
.inv-total b { font-variant-numeric: tabular-nums; }
.chathead button { background: rgba(255,255,255,.2); border: 0; color: var(--on-brand); width: 30px; height: 30px; border-radius: 50%; font-size: 1rem; }
.chatbox:has(.admin-message-form),
.chatbox:has(.account-delete-form) { height: auto; max-height: min(620px, calc(100vh - 24px)); }
.admin-message-form { display: flex; min-height: 0; flex-direction: column; }
.account-delete-form { display: grid; gap: 12px; padding-bottom: 4px; }
.account-delete-form label { font-size: .86rem; font-weight: 700; }
.account-delete-form input { width: 100%; }
.account-delete-warning {
  margin: 0;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--danger, #c9362b) 42%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--danger, #c9362b) 8%, transparent);
  line-height: 1.45;
}
.account-delete-form .z-btn-danger { width: 100%; margin-top: 4px; }
.account-delete-form .linkbtn { justify-self: center; }
.chatbox:has(.money-action-form) { height: auto; max-height: min(680px, calc(100vh - 24px)); }
.money-action-form { display: grid; min-width: 0; }
.money-action-body { display: grid; gap: 12px; padding: 16px; }
.money-action-body label { font-size: .86rem; font-weight: 800; }
.money-action-body textarea { min-height: 110px; resize: vertical; }
.money-action-body .z-btn-danger { width: 100%; }
.money-action-body .linkbtn { justify-self: center; }
.money-action-summary { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.money-action-summary strong { color: var(--coral); }
.payout-transfer { display: inline-flex; flex: 1 1 320px; gap: 6px; align-items: center; }
.payout-transfer input { flex: 1 1 180px; min-width: 150px; }
/* Bank details without Stripe: the admin's "needs fixing" sentence and the proof-of-ownership row. */
.payout-review-note { margin-top: var(--space-2); padding: 10px 12px; border: 1px solid var(--coral); border-radius: 10px; background: var(--coral-tint); }
.payout-review-note p { margin: 4px 0 0; }
.payout-proof-row { margin-top: var(--space-2); }
/* The emailed code the hauler must enter before new bank details count (owner rule 2026-10-01). */
/* ZEFT-560 phase 2b: the bank form's sample check (routing first, account second, as on a check). */
.bank-sample-check { border: 1px dashed var(--line); border-radius: 12px; background: var(--bg-2); padding: 10px 12px; display: grid; gap: 6px; }
.bank-sample-check-title { font-size: .72rem; letter-spacing: .12em; font-weight: 800; color: var(--muted); }
.bank-sample-check-memo { font-size: .7rem; color: var(--muted); border-bottom: 1px solid var(--line); width: 60%; }
.bank-sample-check-line, .bank-sample-check-labels { display: flex; justify-content: space-between; gap: 8px; }
.bank-sample-check-micr { font-family: var(--mono); font-weight: 700; font-size: 1rem; font-variant-numeric: tabular-nums; }
.bank-sample-check-micr.dim { opacity: .4; }
.bank-sample-check-labels span { color: var(--brand); font-weight: 700; font-size: .78rem; }
.bank-paid-to { margin: 0 0 var(--space-2); }
.payout-code { margin-top: var(--space-2); padding: 10px 12px; border: 1px solid var(--brand); border-radius: 10px; background: var(--brand-tint); }
.payout-code p { margin: 4px 0 8px; }
.payout-code input { flex: 1 1 140px; min-width: 120px; max-width: 200px; font-size: 18px; letter-spacing: 4px; }
.payout-code-ok { margin: var(--space-2) 0 0; }
/* ZEFT-560: the hauler's week in the driver layout (range, big total, seven bars, stats) and the weekly payout batches desk. */
.earnings-week-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.earnings-week-arrow { min-width: 44px; min-height: 44px; border: 0; background: transparent; color: var(--brand); font-size: 1.5rem; font-weight: 700; cursor: pointer; border-radius: 10px; }
.earnings-week-arrow:disabled { opacity: .3; cursor: default; }
.earnings-week-range { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 12px; border-radius: 10px; font-weight: 800; font-size: 1.02rem; cursor: pointer; }
.earnings-week-range:hover { background: var(--bg-2); }
.earnings-week-select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.earnings-week-total { text-align: center; font-size: 2.4rem; font-weight: 900; letter-spacing: -0.02em; margin-top: 2px; font-variant-numeric: tabular-nums; }
.earnings-week-sub { text-align: center; margin: 0 0 var(--space-2); }
.earnings-chart { position: relative; padding-top: 18px; }
.earnings-chart-max { position: absolute; left: 0; right: 0; top: 0; border-bottom: 1px dashed var(--line-2, var(--line)); font-size: .75rem; color: var(--muted); padding-bottom: 2px; }
.earnings-bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; height: 170px; align-items: end; border-bottom: 1px solid var(--line); }
.earnings-bar { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; min-width: 0; padding: 0; border: 0; background: transparent; cursor: pointer; border-radius: 8px; }
.earnings-bar:hover { background: var(--bg-2); }
.earnings-bar-track { display: flex; align-items: flex-end; width: 60%; max-width: 28px; height: 120px; }
.earnings-bar-fill { position: relative; display: block; width: 100%; background: var(--brand); border-radius: 6px 6px 2px 2px; overflow: hidden; transition: height .2s; }
.earnings-bar-pending { position: absolute; left: 0; right: 0; top: 0; background: var(--brand-2, var(--brand)); opacity: .45; }
.earnings-bar.future .earnings-bar-fill { background: var(--line); }
.earnings-bar.selected .earnings-bar-fill { background: var(--ink); }
.earnings-bar.selected .earnings-bar-day, .earnings-bar.today .earnings-bar-day { color: var(--ink); font-weight: 700; }
.earnings-bar-day { display: flex; flex-direction: column; align-items: center; margin-top: 8px; font-size: .78rem; color: var(--muted); line-height: 1.15; }
.earnings-bar-day b { font-size: .95rem; }
.earnings-week-payout { margin: var(--space-3) 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
.earnings-week-payout[data-tone="success"] { border-color: var(--ok, #2e7d32); }
.earnings-week-payout[data-tone="warning"] { border-color: var(--coral); }
.earnings-week-payout b { display: block; }
.earnings-stats-title { font-size: 1.4rem; font-weight: 900; margin: var(--space-3) 0 var(--space-2); }
.earnings-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: var(--space-3); }
.earnings-stats .k { display: block; color: var(--muted); font-size: .95rem; }
.earnings-stats b { font-size: 1.5rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.earnings-how { margin: var(--space-3) 0; }
.earnings-how > summary { cursor: pointer; text-decoration: underline; color: var(--ink); }
.earnings-activity-btn { width: 100%; min-height: 48px; font-size: 1.05rem; }
.earnings-activity { display: grid; gap: 6px; margin-top: var(--space-2); }
.payout-batch { border-top: 1px solid var(--line); padding: var(--space-3) 0; display: grid; gap: var(--space-2); }
.payout-batch:first-of-type { border-top: 0; }
.payout-batch-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); flex-wrap: wrap; }
.payout-bank-lead { margin: .4rem 0 0; }
/* Instant Pay (ZEFT-365): the hauler card and the admin desk card. */
.instant-card { margin-bottom: 1rem; }
.instant-head { display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; }
.instant-intro { margin: .4rem 0 .6rem; }
.instant-lead { margin: .2rem 0 .5rem; }
.instant-fee { margin: .35rem 0 0; }
.instant-stats { margin: .4rem 0; }
.instant-section { margin-top: .6rem; }
.instant-setting { min-width: 12rem; }
.instant-meter { margin: 6px 0; }
.instant-meter span { display: block; font-size: .9rem; }
.instant-bar { display: block; width: 100%; height: 8px; margin-top: 4px; accent-color: var(--brand); }
/* The proof is the hauler's next step (missing, or for an account that has since changed, or too
   old): the row says so in the same coral as "needs a fix", so it reads as an ask, not a footnote. */
.payout-proof-ask { padding: 10px 12px; border: 1px solid var(--coral); border-radius: 10px; background: var(--coral-tint); }
/* The bank form's refusal sits beside the button it refers to, inside the pinned action bar. */
.sheet-actions > .hint { width: 100%; margin: 0; }
/* "Bank accounts to confirm" on the admin Payouts desk: one row per hauler waiting on a person. */
.bank-review-row { display: grid; gap: var(--space-2); padding: var(--space-3) 0; border-top: 1px solid var(--line); }
.bank-review-row:first-of-type { border-top: 0; }
.bank-review-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }
@media (max-width: 520px) {
  .payout-transfer { flex-wrap: wrap; }
  .payout-transfer input, .payout-transfer button { width: 100%; }
  .money-action-summary { align-items: flex-start; flex-direction: column; gap: 4px; }
}
.admin-message-body { display: grid; align-content: start; gap: .9rem; padding: 1.15rem; overflow-y: auto; }
.admin-message-body > label { color: var(--ink); font-size: .82rem; font-weight: 800; }
.admin-message-body textarea { width: 100%; min-height: 148px; resize: vertical; padding: .8rem; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); color: var(--ink); font: inherit; line-height: 1.45; }
.admin-message-recipient { display: flex; align-items: baseline; gap: .65rem; margin: 0; padding: .65rem .75rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); overflow-wrap: anywhere; }
.admin-message-recipient span { color: var(--ink-3); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.admin-message-delivery { display: grid; gap: .35rem; padding: .75rem; border: 1px solid var(--brand); border-radius: 12px; background: var(--brand-tint); color: var(--brand-ink); font-size: .8rem; font-weight: 700; }
.admin-message-body .cta { width: 100%; min-height: 48px; }
.admin-message-body .cta:disabled { cursor: wait; opacity: .62; }
.chatlog { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.6rem; }
.msg { max-width: 78%; align-self: flex-start; }
.msg.mine { align-self: flex-end; text-align: right; }
.msgmeta { font-family: inherit; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 0.15rem; }
.msgbody { display: inline-block; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 0.5rem 0.75rem; font-size: 0.94rem; text-align: left; }
.msg.mine .msgbody { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
/* live tracking panel (parity with mobile TrackScreen) */
.trackpanel { flex: 1; overflow-y: auto; padding: 1.2rem; display: flex; flex-direction: column; gap: 0.85rem; }
.tracketa { font-size: 1.55rem; font-weight: 800; color: var(--brand-ink); }
.trackrow { color: var(--ink); }
.track-recovery { padding:.75rem .85rem; border:1px solid var(--gold); border-radius:12px; background:var(--gold-tint); color:var(--ink); font-size:.86rem; font-weight:700; line-height:1.4; }
.track-route-summary { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:.5rem; padding:.7rem .9rem; border:1px solid var(--line); border-radius:999px; background:var(--surface-2); color:var(--ink); font-weight:700; }
.track-route-summary b { color:var(--brand); font-size:1.2rem; }
.trackmap { margin-top: 0.3rem; border: 1px solid var(--line); border-radius: 16px; background: var(--brand-tint); padding: 1.7rem 1rem; text-align: center; }
.trackmapimg { margin-top: 0.3rem; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); display: block; }
.trackmapinteractive { margin-top: 0.3rem; width: 100%; height: 300px; border-radius: 16px; border: 1px solid var(--line); overflow: hidden; background: var(--brand-tint); }
.zeft-map-marker-wrap { background: transparent; border: 0; }
.zeft-map-marker { display: block; width: 20px; height: 20px; border-radius: 50%; background: var(--marker); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
/* ZEFT-340: the customer pickup spot on the booking map (its own pin, never the address pin). */
.zeft-map-marker.is-pickup-spot { --marker: var(--coral); }
.zeft-map-marker.is-current-pickup { --marker: var(--coral); } /* ZEFT-341: the hauler's active job */
.pickup-spot-hint { margin: .6rem 0 .35rem; }
/* Handover slice D: Street View of the pickup (Google SDK only) and the access chips. */
.pin-streetview { margin-top: .5rem; width: 100%; height: 160px; border-radius: 12px; border: 1px solid var(--line); overflow: hidden; background: var(--brand-tint); }
.access-field { grid-column: 1 / -1; }
.access-chips { margin-top: .25rem; }
.access-floor { display: flex; align-items: center; gap: .5rem; margin-top: .35rem; }
.access-floor[hidden] { display: none; }
.access-floor input { width: 6rem; }
.access-hint:empty { display: none; }
/* The same pin, drawn by Google's Advanced Marker instead of Leaflet's divIcon, so the truck
   looks identical whichever renderer the page got. Transitioned so a 15-second GPS ping glides
   instead of teleporting across a block. */
.zeft-gmap-pin { display:block; width:20px; height:20px; border-radius:50%; background:var(--marker,var(--brand)); border:3px solid #fff; box-shadow:0 2px 8px rgba(0,0,0,.35); transition:transform var(--duration-base,.24s) var(--ease-standard,ease); }
/* The drive panel: the map, the arrival line and the turn list a hauler reads before pulling out. */
.drive-panel { display:grid; gap:.6rem; }
.drive-map { width:100%; height:300px; border-radius:16px; border:1px solid var(--line); overflow:hidden; background:var(--brand-tint); }
.drive-summary { display:flex; flex-wrap:wrap; align-items:baseline; gap:.5rem .9rem; font-weight:700; color:var(--ink); }
.drive-summary .drive-eta { font-size:1.35rem; color:var(--brand); }
.drive-summary .drive-sub { font-weight:600; color:var(--ink-2); font-size:.9rem; }
.drive-steps { margin:0; padding:0; list-style:none; display:grid; gap:.35rem; max-height:220px; overflow-y:auto; }
.drive-steps li { display:flex; gap:.6rem; padding:.5rem .6rem; border:1px solid var(--line); border-radius:12px; background:var(--bg-2); font-size:.9rem; color:var(--ink); }
.drive-steps li b { color:var(--ink-3); font-weight:700; white-space:nowrap; }
.drive-sharing { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.5rem; padding:.55rem .75rem; border:1px solid var(--line); border-radius:12px; background:var(--bg-2); font-size:.86rem; font-weight:600; color:var(--ink-2); }
.drive-sharing[data-state="active"] { border-color:var(--brand); color:var(--ink); }
.drive-sharing[data-state="paused"] { border-color:var(--gold); background:var(--gold-tint); color:var(--ink); }
/* In-app navigation (owner 2026-10-01): the next turn is the headline; Google Maps is a secondary link. */
.drive-next { display:grid; gap:.15rem; padding:.7rem .85rem; border-radius:14px; background:var(--brand); color:var(--on-brand,#fff); }
.drive-next small { font-size:.72rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; opacity:.85; }
.drive-next b { font-size:1.1rem; line-height:1.3; }
.drive-next span { font-size:.9rem; font-weight:700; }
.drive-steps li.is-next { border-color:var(--brand); background:var(--brand-tint); font-weight:700; }
.drive-external { align-self:center; font-size:.86rem; }
.trackmapattr { font-size: 0.68rem; color: var(--ink-3); text-align: right; margin-top: 0.15rem; opacity: 0.8; }
.map-credit { position:relative; display:flex; justify-content:flex-end; margin:.2rem 0 0; z-index:4; }
.map-credit summary { display:grid; place-items:center; width:24px; height:24px; border:1px solid var(--line); border-radius:50%; background:color-mix(in srgb,var(--card) 92%,transparent); color:var(--ink-2); font:800 12px/1 var(--font); cursor:pointer; list-style:none; box-shadow:var(--shadow-sm); }
.map-credit summary::-webkit-details-marker { display:none; }
.map-credit .trackmapattr { display:none; position:absolute; right:30px; bottom:0; width:max-content; max-width:min(280px,calc(100vw - 72px)); margin:0; padding:.35rem .5rem; border:1px solid var(--line); border-radius:8px; background:var(--card); color:var(--ink-2); box-shadow:var(--shadow); opacity:1; }
.map-credit[open] .trackmapattr { display:block; }
.trackmapicon { font-size: 2.1rem; }
.trackcoord { margin-top: 0.4rem; font-weight: 600; }
.trackhint { margin-top: 0.25rem; font-size: 0.82rem; color: var(--ink-3); }
.chatform { display: flex; gap: 0.5rem; padding: 0.75rem; border-top: 1px solid var(--line); }
.chatform input { flex: 1; font-family: inherit; font-size: 0.95rem; color: var(--ink); background: var(--bg-2); border: 1.5px solid var(--line); border-radius: 999px; padding: 0.65rem 0.9rem; }
.chatform input:focus { border-color: var(--brand); outline: none; }

/* THE THREAD'S FOOTER WAS NEVER STYLED. `.chatacts` had no rule in any stylesheet, and the `.hint`
   paragraphs are direct children of `.chatbox`, which has no padding of its own - so the two
   handoff controls and every sentence explaining them sat flush against the left edge while the
   messages above them were inset by 1rem. Owner, on the Stoop: "still old school old fashion".
   Found by reading a 390 and a 1280 screenshot; no assertion would have caught it, because the
   copy was correct and merely misplaced. */
.chatacts { display: flex; flex-wrap: wrap; gap: 0.75rem; padding: 0.25rem 1rem 0.5rem; }
.chatbox > .hint { margin: 0; padding: 0 1rem 0.65rem; font-size: 0.85rem; line-height: 1.45; color: var(--ink-3); }

/* WHO IS WHO, directly under the title. "Handoff - Neighbor 82b91e" reads identically to both
   people; this line is the asymmetric half the owner asked for, so it gets a band of its own
   instead of being a fourth grey sentence in a box that already has three. */
.chatrel { margin: 0; padding: 0.5rem 1rem; background: var(--brand-tint); color: var(--ink-2);
  font-size: 0.85rem; font-weight: 600; border-bottom: 1px solid var(--line); }

.chatsend { border: 0; border-radius: 999px; padding: 0 1.1rem; font-weight: 800; color: var(--on-brand); background: linear-gradient(135deg, var(--brand), var(--brand-2)); }

/* header identity + notification bell */
.whoami { display: flex; align-items: center; gap: 0.75rem; }
.who-name { max-width: 15rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.who-role { padding: .3rem .55rem; border-radius: 999px; background: var(--brand-tint); color: var(--brand-ink); font-size: .72rem; font-weight: 800; letter-spacing: .02em; }
.whoami #signout { min-height: 40px; padding: .55rem .8rem; border-radius: 10px; box-shadow: none; white-space: nowrap; }
.uname { font-weight: 700; }
.signout { padding: 0.5rem 1rem; font-size: 0.9rem; }
.bellwrap { position: relative; }
.bell { position: relative; background: var(--bg-2); border: 1.5px solid var(--line); border-radius: 10px; width: 44px; height: 44px; font-size: 1.05rem; }
.bell svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bell:hover { border-color: var(--brand); }
.bellcount { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--coral); color: #fff; font-size: 0.66rem; font-weight: 800; display: grid; place-items: center; }
.bellmenu { position: absolute; right: 0; top: 48px; width: min(300px, 84vw); max-height: 380px; overflow-y: auto; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); z-index: 60; padding: 0.4rem; }
/* The Inbox popover reuses the bell frame. These are its own two marks. */
.inbox-head { margin: 0.2rem 0.4rem 0.4rem; font-size: 0.86rem; }
.inbox-unread { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; margin-left: 0.3rem; border-radius: 999px; background: var(--coral); color: #fff; font-size: 0.66rem; font-weight: 800; vertical-align: middle; }
.notif { padding: 0.6rem 0.7rem; border-radius: 10px; }
.notif.unread { background: var(--brand-tint); }
.notif-actionable { cursor: pointer; }
.notif-actionable:hover { background: var(--brand-tint); }
.notif-mark-all { display: block; margin: 0 0 0.35rem auto; padding: 0.45rem 0.6rem; border: 0; border-radius: 9px; background: transparent; color: var(--brand-ink); font: inherit; font-size: 0.78rem; font-weight: 800; cursor: pointer; }
.notif-mark-all:hover, .notif-mark-all:focus-visible { background: var(--brand-tint); outline: none; }
.ntgo { color: var(--brand); font-weight: 700; }
.ntbody { font-size: 0.9rem; }
.ntjob { font-size: 0.78rem; font-weight: 600; color: var(--ink-2); margin-top: 0.2rem; line-height: 1.35; }
.notif-actionable .ntbody, .notif-actionable .ntjob, .notif-actionable .nttime { pointer-events: none; }
.nttime { font-family: inherit; font-size: 0.68rem; color: var(--ink-3); margin-top: 0.15rem; }

/* hauler availability toggle */
/* Hauler "your route today" card — the day-route stats + drive order. */
.routestat { display: flex; gap: 1.5rem; flex-wrap: wrap; margin: .3rem 0 .6rem; }
.routestat .ml { font-size: .72rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.routeorder { margin: .4rem 0 .2rem; padding-left: 1.2rem; }
.routeorder li { margin: .2rem 0; }
.routeorder .rref { font-family: var(--mono); font-size: .82rem; }
.availbar { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.availlabel { font-family: inherit; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.availtoggle { font-weight: 700; font-size: 0.9rem; border-radius: 999px; padding: 0.5rem 1rem; border: 1.5px solid var(--line); }
.availtoggle.on { background: var(--brand-tint); border-color: var(--brand); color: var(--brand-ink); }
.availtoggle.off { background: var(--bg-2); color: var(--ink-2); }

/* hauler referral */
.refbar { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.refcode { font-family: var(--mono); font-weight: 800; font-size: 1.3rem; letter-spacing: 0.05em; color: var(--brand-2); }

/* =========================================================================
   CONTENT ENGINE (Mg) — blog / articles / faq / marketing pages / subscribe
   Generated by ops/build-content.mjs. Reuses the tokens above, so light+dark
   mode work automatically.
   ========================================================================= */
.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; }
.wrap.narrow { max-width: 760px; }

/* prose / article body */
.prose { padding: 1rem 0 0; }
.pagehero { padding-top: 3rem; padding-bottom: 2rem; }
.pagehero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0.6rem 0 1rem; }
.supply-hero .wrap { display:grid; grid-template-columns:minmax(0,1fr) minmax(300px,.8fr); gap:clamp(2rem,7vw,6rem); align-items:center; }
.supply-preview { padding:1.15rem; border:1px solid var(--line); border-radius:24px; background:var(--surface); box-shadow:0 20px 60px rgb(20 39 31 / 10%); }
.supply-preview-head { display:flex; align-items:center; gap:.55rem; padding-bottom:.9rem; border-bottom:1px solid var(--line); }
.supply-preview-head span:last-child { margin-left:auto; color:var(--ink-3); font-size:.78rem; }
.status-dot { width:.65rem; height:.65rem; border-radius:50%; background:var(--brand); box-shadow:0 0 0 5px var(--brand-tint); }
.supply-preview-route { display:grid; gap:.28rem; padding:1.1rem 0; }
.supply-preview-route span,.supply-preview-route small { color:var(--ink-3); }
.supply-preview-route strong { font-size:1.12rem; }
.supply-preview-steps { display:grid; grid-template-columns:1fr 1fr; gap:.65rem; }
.supply-preview-steps span { display:flex; align-items:center; gap:.55rem; min-height:52px; padding:.65rem; border-radius:14px; background:var(--bg-2); font-size:.83rem; font-weight:650; }
.supply-preview-steps b { display:grid; place-items:center; flex:0 0 24px; height:24px; border-radius:50%; background:var(--brand); color:var(--on-brand); font-size:.72rem; }
@media (max-width: 760px) {
  .supply-hero .wrap { grid-template-columns:1fr; gap:1.25rem; }
  .supply-preview { border-radius:20px; }
}
.crumb { font-size: 0.82rem; color: var(--ink-3); margin: 1.4rem 0 1rem; }
.crumb a { color: var(--ink-2); text-decoration: none; }
.crumb a:hover { color: var(--brand-2); }
.arthead { margin: 0 0 1.6rem; }
.artcat { display: inline-block; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-2); background: var(--brand-tint); padding: 0.3rem 0.7rem; border-radius: 999px; }
.arthead h1 { font-size: clamp(2rem, 4.6vw, 3rem); line-height: 1.08; letter-spacing: -0.03em; margin: 1rem 0 0.7rem; max-width: 20ch; }
.artdek { font-size: 1.18rem; color: var(--ink-2); line-height: 1.5; margin: 0 0 0.8rem; }
.artmeta { font-size: 0.86rem; color: var(--ink-3); font-family: inherit; }
.prosebody { font-size: 1.06rem; line-height: 1.72; color: var(--ink); }
.prosebody h2 { font-size: 1.55rem; font-weight: 800; letter-spacing: -0.02em; margin: 2.4rem 0 0.9rem; scroll-margin-top: 84px; }
.prosebody h3 { font-size: 1.2rem; font-weight: 700; margin: 1.8rem 0 0.6rem; scroll-margin-top: 84px; }
.prosebody p { margin: 0 0 1.1rem; }
.prosebody ul, .prosebody ol { margin: 0 0 1.2rem; padding-left: 1.3rem; }
.prosebody li { margin: 0 0 0.5rem; }
.prosebody a { color: var(--brand-2); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.prosebody a:hover { text-decoration-thickness: 2px; }
/* A link styled as a BUTTON inside prose must keep its button look — the rule above
   was repainting the green CTA's white label green + underlined (unreadable on the
   green fill, per the founder's screenshot). Restore white text / no underline. */
.prosebody a.btn, .prosebody a.btn-primary, .prosebody a.btn-ghost, .prosebody a.cta { text-decoration: none; }
.prosebody a.btn-primary, .prosebody a.cta { color: var(--on-brand); }
.prosebody a.btn-ghost { color: var(--ink); }
.prosebody a.btn:hover { text-decoration: none; }
.prosebody code { font-family: var(--mono); font-size: 0.9em; background: var(--brand-tint); color: var(--brand-ink); padding: 0.1em 0.4em; border-radius: 6px; }
.prosebody blockquote { margin: 1.4rem 0; padding: 0.4rem 0 0.4rem 1.2rem; border-left: 3px solid var(--brand); color: var(--ink-2); font-style: italic; }
.prosebody blockquote cite { display: block; margin-top: 0.5rem; font-size: 0.85rem; color: var(--ink-3); font-style: normal; }

/* table of contents */
.toc { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.3rem; margin: 0 0 2rem; box-shadow: var(--shadow); }
.toc b { font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.toc ul { list-style: none; margin: 0.6rem 0 0; padding: 0; columns: 2; column-gap: 1.5rem; }
@media (max-width: 620px) { .toc ul { columns: 1; } }
.toc li { margin: 0 0 0.4rem; font-size: 0.92rem; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--brand-2); }

/* callouts */
.callout { display: flex; flex-direction: column; gap: 0.3rem; border-radius: var(--r); padding: 1.1rem 1.3rem; margin: 1.6rem 0; border: 1px solid var(--line); background: var(--bg-2); box-shadow: var(--shadow); }
.callout b { font-weight: 800; }
.callout-brand { border-left: 4px solid var(--brand); }
.callout-brand b { color: var(--brand-ink); }
.callout-coral { border-left: 4px solid var(--coral); }
.callout-coral b { color: var(--coral-2); }
.callout-gold { border-left: 4px solid var(--gold); }

/* tables */
.tablewrap { overflow-x: auto; margin: 1.4rem 0; border: 1px solid var(--line); border-radius: var(--r); }
.prosebody table { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
.prosebody th { text-align: left; background: var(--bg-2); font-weight: 700; padding: 0.75rem 1rem; border-bottom: 2px solid var(--line); }
.prosebody td { padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prosebody tr:last-child td { border-bottom: 0; }

/* inline CTA + article end CTA */
.inlinecta { margin: 1.8rem 0; }
.endcta { text-align: center; margin-top: 3rem; }
.endcta h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 0 auto 0.7rem; max-width: 20ch; }
.endcta .secsub { margin: 0 auto 1.5rem; }

/* related */
.related { margin: 3rem 0 0; border-top: 1px solid var(--line); padding-top: 1.6rem; }
.related h2 { font-size: 1.3rem; margin: 0 0 1rem; }
.relgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
@media (max-width: 720px) { .relgrid { grid-template-columns: 1fr; } }
.relcard { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.1rem; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem; box-shadow: var(--shadow); transition: transform .15s ease, border-color .15s ease; text-transform: capitalize; }
.relcard:hover { transform: translateY(-3px); border-color: var(--brand); }

/* faq */
.faqlist { margin: 2.4rem 0 0; }
.faqlist h2 { font-size: 1.55rem; margin: 0 0 1rem; }
.faqitem { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); margin: 0 0 0.7rem; box-shadow: var(--shadow); overflow: hidden; }
.faqitem summary { cursor: pointer; font-weight: 700; padding: 1rem 1.2rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faqitem summary::-webkit-details-marker { display: none; }
.faqitem summary::after { content: "+"; font-size: 1.4rem; color: var(--brand-2); font-weight: 400; }
.faqitem[open] summary::after { content: "−"; }
.faqitem > div { padding: 0 1.2rem 1.1rem; color: var(--ink-2); }
.faqitem a { color: var(--brand-2); }

/* blog index cards */
.postgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .postgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .postgrid { grid-template-columns: 1fr; } }
.postcard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; }
.postcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.postcat { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-2); }
.posticon { font-size: 2rem; margin: 0.5rem 0; }
.postcard h2 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 0.5rem; line-height: 1.25; }
.postcard p { color: var(--ink-2); font-size: 0.94rem; margin: 0 0 1rem; flex: 1; }
.postmeta { font-size: 0.85rem; font-weight: 700; color: var(--brand-2); }

/* subscribe band */
.subscribe { background: var(--bg-2); border-top: 1px solid var(--line); padding: 2.75rem 0; }
.subscribe .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.sub-copy h2 { font-size: 1.5rem; margin: 0 0 0.3rem; letter-spacing: -0.02em; }
.sub-copy p { color: var(--ink-2); margin: 0; font-size: 0.98rem; }
.sub-form { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.sub-form input { font-family: inherit; font-size: 1rem; padding: 0.75rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); min-width: 240px; }
.sub-form input:focus-visible { border-color: var(--brand); }
.sub-msg { width: 100%; margin: 0.2rem 0 0; font-size: 0.88rem; font-weight: 600; min-height: 1.1rem; }
.sub-msg.ok { color: var(--brand-2); }
.sub-msg.err { color: var(--coral-2); }

/* ---- cost engine (js/costengine.js): the driver's economics + the admin ledger ---- */
.ce-btn { font-size: .82rem; }
.ce-modal { position: fixed; inset: 0; background: color-mix(in srgb, var(--ink) 55%, transparent); display: flex;
  align-items: center; justify-content: center; padding: 1rem; z-index: 60; }
.ce-box { background: var(--card); border-radius: 14px; max-width: 460px; width: 100%;
  max-height: 88vh; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.ce-head { display: flex; justify-content: space-between; align-items: center;
  padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); }
.ce-x { background: none; border: 0; font-size: 1rem; cursor: pointer; padding: .2rem .4rem; }
.ce-body { padding: 1rem 1.1rem 1.3rem; overflow-y: auto; }
.ce-body h4 { margin: 1.1rem 0 .4rem; font-size: .78rem; text-transform: uppercase;
  letter-spacing: .06em; color: var(--ink-2); }
.ce-row { display: flex; justify-content: space-between; gap: 1rem; padding: .34rem 0;
  font-size: .92rem; border-bottom: 1px dashed var(--line-2); }
.ce-row.ce-sub { font-size: .84rem; color: var(--ink-2); }
/* A radio choice (the Stoop's Report reasons) is not a "what … amount" row: keep the label beside
   its radio instead of pushed to the far edge, which at 390 left the reason a screen away. */
.ce-row.ce-choice { justify-content: flex-start; align-items: center; gap: .6rem; cursor: pointer; }

/* The owner's word was "organized". In this panel every row is "<b>what</b><small>why</small>",
   and with <small> inline the why ran straight into the what: "Server errors (500s)survives a
   deploy", "POST /api/jobs/:id/documentsDatabaseError". Scoped to #aQuiet so the cost-engine
   rows that share .ce-row are untouched. */
#aQuiet .ce-row > span:first-child { display: flex; flex-direction: column; gap: .12rem; min-width: 0; }
#aQuiet .ce-row small { color: var(--ink-3); font-size: .8rem; line-height: 1.35; }
#aQuiet .se-find { margin: .2rem 0 .5rem; color: var(--ink-3); }
.ce-row.ce-total { border-bottom: 0; border-top: 2px solid var(--line);
  margin-top: .3rem; padding-top: .5rem; font-size: 1rem; }
.communication-attempt { align-items: flex-start; flex-wrap: wrap; }
.communication-attempt-copy { display: flex; flex: 1 1 210px; min-width: 0; flex-direction: column; gap: .18rem; }
.communication-attempt-copy small { color: var(--ink-2); overflow-wrap: anywhere; }
/* The number the driver actually decides on. */
.ce-hero { background: var(--brand-tint); border-radius: 11px; padding: .9rem 1rem; text-align: center; }
.ce-hero span { display: block; font-size: .78rem; color: var(--ink-2); }
.ce-hero b { display: block; font-size: 1.85rem; line-height: 1.2; }
.ce-hero small { display: block; font-size: .78rem; color: var(--ink-2); margin-top: .2rem; }
.ce-note, .ce-warn { font-size: .85rem; padding: .55rem .7rem; border-radius: 8px; margin: 0 0 .7rem; }
.ce-note { background: var(--line-2); }
.ce-warn { background: var(--coral-tint); color: var(--coral-2); }
.ce-muted { color: var(--ink-2); font-size: .83rem; margin: .35rem 0 0; }
.ce-warnings { margin-top: .9rem; font-size: .82rem; color: var(--ink-2); }
.ce-warnings ul { margin: .4rem 0 0 1.1rem; padding: 0; }

/* Truck-fill bars — how full by volume vs legal payload, whichever bites first. */
.ce-fill-row { display: flex; align-items: center; gap: .55rem; font-size: .84rem; margin: .3rem 0; }
.ce-fill-row > span:first-child { flex: 0 0 6.5rem; color: var(--ink-2); }
.ce-fill-row > b { flex: 0 0 2.4rem; text-align: right; }
.ce-fill-track { flex: 1; height: .55rem; border-radius: 999px; background: var(--line); overflow: hidden; }
.ce-fill-bar { display: block; height: 100%; border-radius: 999px; }
.ce-fill-ok { background: var(--brand); }
.ce-fill-warn { background: var(--gold); }
.ce-fill-danger { background: var(--coral); }

/* Driver compliance banner — an expired certificate is a stopped shift, so it
   is loud, at the top, and 30 days early. */
.ce-compliance { border-radius: 11px; padding: .85rem 1rem; margin: 0 0 1rem;
  background: var(--gold-tint); border: 1px solid var(--gold); font-size: .9rem; }
.ce-compliance-block { background: var(--coral-tint); border-color: var(--coral); }
.ce-compliance ul { margin: .4rem 0 0 1.1rem; padding: 0; }
.ce-creds { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.ce-cred { font-size: .75rem; padding: .18rem .5rem; border-radius: 999px; background: var(--line-2); }
.ce-cred.ce-expired { background: var(--coral-tint); }
.ce-cred.ce-expiring { background: var(--gold-tint); }
.ce-cred.ce-missing { background: var(--line); font-style: italic; }

/* Hazardous-material notice — shown at the estimate, not at the kerb. Every
   refusal carries where the item should go instead. */
.ce-hazmat { border-radius: 11px; padding: .85rem 1rem; margin: 0 0 1rem; font-size: .88rem;
  background: var(--gold-tint); border: 1px solid var(--gold); }
.ce-hazmat-block { background: var(--coral-tint); border-color: var(--coral); }
.ce-hazmat ul { margin: .4rem 0 .7rem 1.1rem; padding: 0; }
.ce-hazmat li { margin-bottom: .45rem; }
.ce-hazmat em { color: var(--ink-2); font-style: normal; }

/* Size picker on a checklist row — only rendered for items that come in sizes,
   so the common rows stay one line. */
.cksize { display: block; margin-top: .25rem; font-size: .78rem; padding: .12rem .3rem;
  max-width: 100%; border-radius: 6px; border: 1px solid var(--line);
  background: transparent; color: inherit; }

/* ---- disputes (js/disputes.js) --------------------------------------------
   Shares the .ce-modal shell so there is one dialog look in the product, not
   two. Everything below is the claim itself: the reason picker a customer taps,
   the status of what they reported, and the admin's decision form. */
.dsp-reasons { display: grid; gap: .4rem; margin: .6rem 0; }
.dsp-reason { display: flex; gap: .55rem; align-items: flex-start; padding: .55rem .6rem;
  border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.dsp-reason:hover { background: var(--line-2); }
.dsp-reason input { margin-top: .25rem; }
.dsp-reason span { display: flex; flex-direction: column; }
.dsp-reason small { opacity: .72; line-height: 1.35; }
.dsp-lbl { display: flex; flex-direction: column; gap: .25rem; margin: .6rem 0; font-weight: 600; }
.dsp-lbl textarea, .dsp-lbl input, .dsp-lbl select { font: inherit; font-weight: 400;
  padding: .45rem .55rem; border: 1px solid var(--line); border-radius: 8px; width: 100%; }
.dsp-actions { display: flex; justify-content: flex-end; margin-top: .6rem; }
/* The only button on the desk that moves money read as a disabled native control (owner 2026-10-02,
   "Apply does not work"): a real primary button with a 44px target, and a visibly disabled state. */
.dsp-actions .ce-btn { min-height: 44px; padding: 0 1.2rem; border: 0; border-radius: 10px; font-size: .95rem;
  font-weight: 800; cursor: pointer; background: linear-gradient(150deg, var(--brand), var(--brand-2)); color: var(--on-brand); }
.dsp-actions .ce-btn:disabled { opacity: .45; cursor: not-allowed; }
.dsp-msg { min-height: 1.2em; margin: .4rem 0 0; }
/* A rule the operator has not met, and a refusal from the server, are drawn as errors (ZEFT-112,
   owner 2026-10-02): `.form-error` had no style at all, so "Write at least one sentence" sat under
   the box in body grey and read as a hint, beside a greyed Apply that answered nothing. */
.dsp-lbl .form-error { color: var(--coral); font-weight: 700; font-size: .85rem; }
.dsp-msg-error { color: var(--coral); font-weight: 700; background: var(--coral-tint);
  padding: .5rem .65rem; border-radius: 8px; }
/* The admin reason dialogs (Cancel <ref>, suspend, bank fix, refund, send back) say the rule in red
   when a press cannot go yet (owner defect 2026-10-03: "Cancel pickup does nothing"). Same rule as
   ZEFT-112 above: an unmet rule must not read as a grey hint beside a button that answers nothing. */
.admin-cancel-form .form-error, .money-action-form .form-error, .provisional-review .form-error {
  color: var(--coral); font-weight: 700; font-size: .9rem; background: var(--coral-tint);
  padding: .5rem .65rem; border-radius: 8px; margin: 0; }
.reason-count { display: block; color: var(--ink-3); font-size: .8rem; text-align: right; margin-top: -.15rem; }
.reason-count.reason-count-met { color: var(--brand-ink); }
/* The open button on each operator queue card (owner 2026-10-02: "a green bar with no label").
   It borrowed the board's `.dv2-act primary` and was stretched across the whole card, so its one
   short word sat in the middle of the bar, exactly where the "Review a problem" dialog opens: with
   the dialog up, every card behind it showed a green bar with no label. Its own button now: sized
   to its label and aligned right (clear of a centred dialog on a desktop), a label that names the
   action, a 44px target, and the brand fill whose label contrast is checked in both themes. */
.dsp-review { display: flex; align-self: flex-end; margin-left: auto; width: fit-content; align-items: center;
  justify-content: center; min-height: 44px;
  margin-top: .5rem; padding: 0 1.1rem; border: 0; border-radius: 10px; cursor: pointer;
  background: var(--brand); color: var(--on-brand); font: inherit; font-size: .95rem; font-weight: 800; }
.dsp-review:hover { filter: brightness(1.06); }
.dsp-review:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 2px; }
@media (max-width: 520px) { .dsp-review { width: 100%; } }
.dsp-ok { font-size: 1.02rem; line-height: 1.45; }
.dsp-card { border: 1px solid var(--line); border-radius: 10px; padding: .6rem .7rem; margin: .5rem 0; }
.dsp-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.dsp-detail { margin: .35rem 0; opacity: .85; }
.dsp-outcome { margin: .45rem 0 0; padding: .45rem .55rem; border-radius: 8px; background: var(--line-2); }
.dsp-pill { font-size: .74rem; text-transform: uppercase; letter-spacing: .04em;
  padding: .12rem .45rem; border-radius: 999px; background: var(--line); white-space: nowrap; }
.dsp-open, .dsp-resolved { }
.dsp-pill.dsp-open { background: var(--gold-tint); }
.dsp-pill.dsp-under_review { background: var(--info-tint); }
.dsp-pill.dsp-resolved { background: var(--brand-tint); }
.dsp-pill.dsp-withdrawn { background: var(--line); }

/* Packed-space fallback: shown when the camera could only see the front of a pile,
   so we ask the customer the two things they can answer instantly. */
.spaceask { margin: .8rem 0 .2rem; padding: .8rem; border: 1px dashed var(--line);
  border-radius: 12px; background: var(--brand-tint); }
.spaceask .rl { margin: 0 0 .55rem; font-size: .9rem; }
.spaceask select { width: 100%; margin-bottom: .55rem; }
.spfulls { display: flex; flex-wrap: wrap; gap: .4rem; }
.spfulls .spfull { flex: 1 1 auto; }

/* The one question worth interrupting for. Deliberately looks like the space fallback —
   both are the estimator admitting it is unsure, and neither should feel like a form. */
.ckask { margin: .8rem 0 .2rem; padding: .8rem; border: 1px dashed var(--line);
  border-radius: 12px; background: var(--brand-tint); }
.ckask .rl { margin: 0 0 .2rem; font-size: .9rem; }
.ckask .askwhy { margin: 0 0 .55rem; font-size: .78rem; opacity: .75; }
.askopts { display: flex; flex-wrap: wrap; gap: .4rem; }
.askopts .askopt { flex: 1 1 auto; text-align: left; }
.askopts .askopt .oplbs { opacity: .6; font-size: .8em; }
/* Was a title= tooltip, i.e. invisible on the touch screens most customers use. */
.ckask .asknotes { margin: .5rem 0 0; padding-left: 1.1rem; font-size: .74rem; opacity: .8; }
.ckask .asknotes li { margin: .15rem 0; }
/* The pre-selected default, so the customer can see what we assumed if they say nothing. */
.askopts .askopt.optypical { border-color: var(--brand); }

/* Zeft Score card — the seller-side measurement, shown in full so climbing it is
   a game, never a secret. Uses the shared tokens so it themes light/dark for free. */
.scorecard { margin-bottom: 1.5rem; }
.scorecard .tierbadge { font-size: .82rem; font-weight: 700; padding: .2rem .6rem;
  border-radius: 999px; background: var(--brand-tint); color: var(--brand-ink);
  white-space: nowrap; }
.scorerow { margin: .55rem 0; }
.scorerow-top { display: flex; justify-content: space-between; gap: .5rem;
  font-size: .85rem; margin-bottom: .25rem; }
.scorebar { height: 7px; border-radius: 999px; background: var(--line); overflow: hidden; }
.scorebar > span { display: block; height: 100%; border-radius: 999px;
  background: var(--brand); transition: width .4s ease; }

/* ---- salvage box (what can skip the dump) ---- */
.spfulls .spfull { flex: 1 1 auto; }

/* ---- salvage (js/salvage.js) ----------------------------------------------
   The only screen where the customer, the driver and the platform are all paid
   by the same click: a diverted pound never crosses the scale, so it never
   attracts a tipping fee. */
.sv-box { border: 1px solid var(--line); border-radius: 12px; padding: .75rem .85rem; margin: 0 0 .75rem; }
.sv-offer strong { display: block; font-size: 1.02rem; }
.sv-offer p { margin: .35rem 0; opacity: .85; }
.sv-offer small { display: block; margin-top: .35rem; opacity: .7; line-height: 1.4; }
.sv-consent { display: flex; gap: .5rem; align-items: flex-start; padding: .5rem .6rem; margin: .5rem 0 0;
  border-radius: 9px; background: var(--brand-tint); cursor: pointer; font-weight: 600; }
/* Phone-first sign-up (js/phone-register.js): optional gender chips. Wrap, never overflow at 320px. */
.pr-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.pr-chip { min-height: 44px; padding: 0 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg-2); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.pr-chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
#phoneRegisterForm .sv-consent input { flex: 0 0 auto; }
#phoneRegisterForm .sv-consent span { min-width: 0; overflow-wrap: anywhere; }
.sv-rate { margin: .6rem 0 0; }
.sv-details { margin-top: .5rem; }
.sv-details summary { cursor: pointer; font-weight: 600; }
.sv-list { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .35rem; }
.sv-line { display: grid; grid-template-columns: auto 1fr auto; gap: .5rem; align-items: start;
  padding: .4rem .5rem; border-radius: 8px; background: var(--line-2); }
.sv-what em { font-style: normal; opacity: .7; margin-left: .3rem; }
.sv-what small { display: block; opacity: .68; line-height: 1.35; }
.sv-route { font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap;
  padding: .12rem .45rem; border-radius: 999px; background: var(--line); }
.sv-line.sv-donation { background: var(--brand-tint); }
.sv-line.sv-ewaste   { background: var(--info-tint); }
.sv-line.sv-landfill { background: var(--line-2); }
/* Earnings-first job board (Me.B). The payout is the headline a hauler reacts to. */
.jobrow .earn { color: var(--brand-2); font-weight: 800; }
.jobfilters { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center;
  margin-bottom: .9rem; font-size: .85rem; }
.jobfilters label { display: inline-flex; align-items: center; gap: .35rem; }
.jobfilters select { padding: .3rem .5rem; border: 1px solid var(--line);
  border-radius: 8px; background: var(--card); color: inherit; }
.jobfilters .jfchk { cursor: pointer; }
.offer-map-card { margin:.8rem 0 1rem; padding:.75rem; border:1px solid var(--line); border-radius:16px; background:var(--card); box-shadow:var(--shadow); }
.offer-map-head { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; margin:0 .15rem .55rem; }
.offer-map-head small { display:block; color:var(--ink-2); font-size:.72rem; margin-top:.15rem; }
.offer-map-head > span { color:var(--brand); font-weight:800; font-size:.78rem; }
.offer-map { height:320px; border-radius:12px; overflow:hidden; background:var(--brand-tint); }
.offer-map > .empty { padding:5rem 1rem; text-align:center; }
.offer-pin-wrap { background:transparent; border:0; }
.offer-pin { box-sizing:border-box; display:grid; place-items:center; width:188px; min-height:48px; padding:3px 8px; border-radius:999px; background:var(--brand); color:#fff; border:2px solid #fff; box-shadow:0 3px 10px rgba(0,0,0,.3); font-size:.72rem; font-weight:900; white-space:nowrap; line-height:1.1; }
.offer-pin--grouped { min-height:64px; padding:4px 8px; white-space:normal; text-align:center; line-height:1.1; }
.offer-pin--grouped b, .offer-pin--grouped small { max-width:100%; overflow-wrap:anywhere; }
.offer-pin--grouped b { font-size:.72rem; }
.offer-pin.offer-pin--grouped small { font-size:.62rem; }
.offer-pin small { color:inherit; font-size:.64rem; font-weight:700; }
.offer-map-pick { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.7rem .8rem; margin-top:.5rem; border:1px solid var(--brand); border-radius:10px; background:var(--brand-tint); color:var(--ink-2); font-size:.78rem; }
.offer-map-pick-copy { display:grid; gap:.2rem; min-width:0; }
.offer-map-pick-copy [role="group"] { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)); gap:.4rem; }
.offer-map-pick-copy [data-cluster-offer] { white-space:normal; text-align:left; }
.offer-map-pick b { color:var(--brand-ink); font-size:.95rem; }
.offer-map-review { flex:0 0 auto; min-height:44px; }
.dv2-task.map-selected { outline:3px solid var(--brand); outline-offset:2px; }
.day-route-map { height:300px; margin:.75rem 0; border:1px solid var(--line); border-radius:14px; overflow:hidden; background:var(--brand-tint); }
.day-route-map > .empty { padding:4.5rem 1rem; text-align:center; }
.dispatch-map-card { margin:.5rem 0 1rem; padding:.75rem; border:1px solid var(--line); border-radius:16px; background:var(--card); box-shadow:var(--shadow); }
/* TODAY SO FAR — the operator's day board, first thing on the Operations home. Same visual
   family as the pulse strip below it, one weight louder, because it answers the question the
   owner actually opens this console with. */
.operator-day { border:1px solid var(--line); border-radius:18px; background:var(--card); padding:1rem; box-shadow:var(--shadow); }
.operator-day-head { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:.75rem; }
.operator-day-head b { display:block; color:var(--ink); font-size:1.05rem; }
.operator-day-head span { display:block; color:var(--ink-3); font-size:.72rem; margin-top:.12rem; }
.operator-day-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:.55rem; }
.operator-day-tile { min-width:0; display:grid; gap:.15rem; text-align:left; padding:.8rem; border:1px solid var(--line); border-radius:14px; background:var(--bg); color:var(--ink); cursor:pointer; }
.operator-day-tile:hover,.operator-day-tile:focus-visible { border-color:var(--brand); transform:translateY(-1px); }
.operator-day-tile.live { border-color:var(--brand); background:var(--brand-tint); }
.operator-day-label { color:var(--ink-3); font-size:.66rem; font-weight:800; letter-spacing:.05em; text-transform:uppercase; }
.operator-day-tile b { color:var(--ink); font-size:1.35rem; line-height:1.1; }
.operator-day-tile.live b { color:var(--brand-2); }
.operator-day-tile small { color:var(--ink-3); font-size:.68rem; line-height:1.3; }
.operator-day-quiet,.operator-day-clear { margin:.2rem 0 0; color:var(--ink-3); font-size:.8rem; }
.operator-day-stuck { margin-top:.8rem; display:grid; gap:.4rem; }
.operator-day-stuck .eyebrow { color:var(--coral-2); }
.operator-day-stuck-row { display:flex; align-items:center; gap:.6rem; width:100%; text-align:left; padding:.6rem .7rem; border:1px solid var(--coral); border-radius:12px; background:var(--coral-tint); color:var(--ink); cursor:pointer; }
.operator-day-stuck-row b { color:var(--coral-2); font-size:1.05rem; min-width:1.6rem; }
.operator-day-stuck-row span { flex:1; font-size:.8rem; }
.operator-day-stuck-row em { font-style:normal; font-weight:800; color:var(--coral-2); font-size:.78rem; }
.operator-day-list { margin-top:.8rem; border-top:1px solid var(--line); padding-top:.6rem; }
.operator-day-list ul { list-style:none; margin:.35rem 0 .4rem; padding:0; display:grid; gap:.3rem; }
.operator-day-row { display:flex; gap:.6rem; width:100%; text-align:left; align-items:baseline; padding:.45rem .6rem; border:1px solid var(--line); border-radius:10px; background:var(--bg); color:var(--ink); cursor:pointer; }
.operator-day-row:hover,.operator-day-row:focus-visible { border-color:var(--brand); }
.operator-day-row b { font-size:.78rem; }
.operator-day-row span { color:var(--ink-3); font-size:.72rem; }
@media (max-width:820px) { .operator-day-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:600px) {
  .operator-day-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .operator-day-grid .operator-day-tile:last-child { grid-column:1/-1; }
  .operator-day-head { align-items:flex-start; flex-direction:column; gap:.5rem; }
  .operator-day-row { flex-direction:column; gap:.1rem; }
}

/* WHERE EVERY CENT WENT — one settlement, named line by line, in exact cents. */
.payout-job { margin:.45rem 0; }
.payout-breakdown { margin-top:.3rem; border:1px solid var(--line); border-radius:10px; background:var(--bg); }
.payout-breakdown > summary { cursor:pointer; padding:.4rem .6rem; color:var(--brand-2); font-size:.74rem; font-weight:800; }
.payout-breakdown ul { list-style:none; margin:0; padding:0 .6rem; }
.payout-breakdown li { display:flex; justify-content:space-between; gap:.8rem; align-items:baseline; padding:.35rem 0; border-top:1px solid var(--line); font-size:.76rem; }
.payout-breakdown li span { display:flex; flex-direction:column; color:var(--ink); }
.payout-breakdown li small { color:var(--ink-3); font-size:.68rem; }
.payout-breakdown li b { white-space:nowrap; }
.payout-breakdown li.payout-breakdown-odd b { color:var(--coral-2); }
.payout-breakdown .hint { padding:.35rem .6rem .5rem; margin:0; }

.ops-pulse { margin:0 0 1rem; min-width:0; }
.ops-pulse-head { display:flex; justify-content:space-between; align-items:end; margin-bottom:.55rem; }
.ops-pulse-head b { display:block; color:var(--ink); font-size:1rem; }
.ops-pulse-head span { display:block; color:var(--ink-3); font-size:.72rem; margin-top:.15rem; }
.ops-pulse-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.55rem; }
.ops-pulse-item { min-width:0; padding:.7rem; border:1px solid var(--line); border-radius:13px; background:var(--card); color:var(--ink); text-align:left; cursor:pointer; box-shadow:var(--shadow); }
.ops-pulse-item:hover,.ops-pulse-item:focus-visible { border-color:var(--brand); transform:translateY(-1px); }
.ops-pulse-item.urgent { border-color:var(--coral); background:var(--coral-tint); }
.ops-pulse-item span,.ops-pulse-item small { display:block; }
.ops-pulse-label { color:var(--ink-2); font-size:.68rem; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }
.ops-pulse-item b { display:block; margin:.18rem 0; font-size:1.2rem; color:var(--brand-2); }
.ops-pulse-item.urgent b { color:var(--coral-2); }
.ops-pulse-item small { color:var(--ink-3); font-size:.68rem; line-height:1.3; }
.ops-pulse-item em { display:block; margin-top:.45rem; color:var(--brand-2); font-size:.68rem; font-style:normal; font-weight:800; }
.operations-home { display:grid; gap:1rem; grid-template-columns:minmax(0,1fr); min-width:0; }
.operations-snapshot { border:1px solid var(--line); border-radius:18px; background:var(--card); padding:1rem; box-shadow:var(--shadow); }
.operations-snapshot-head { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:.75rem; }
.operations-snapshot-head b,.operations-snapshot-head span { display:block; }
.operations-snapshot-head span { color:var(--ink-3); font-size:.72rem; margin-top:.12rem; }
.operations-snapshot-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.65rem; }
.operations-snapshot-card { min-width:0; display:grid; gap:.2rem; text-align:left; padding:.9rem; border:1px solid var(--line); border-radius:14px; background:var(--bg); color:var(--ink); cursor:pointer; }
.operations-snapshot-card:hover,.operations-snapshot-card:focus-visible { border-color:var(--brand); transform:translateY(-1px); }
.operations-snapshot-card.urgent { border-color:var(--coral); background:var(--coral-tint); }
.operations-snapshot-card.urgent b { color:var(--coral-2); }
.operations-snapshot-card span { color:var(--ink-3); font-size:.68rem; font-weight:800; letter-spacing:.05em; text-transform:uppercase; }
.operations-snapshot-card b { color:var(--ink); font-size:1.1rem; }
.operations-snapshot-card small { color:var(--ink-2); line-height:1.35; }
.operations-snapshot-card em { color:var(--brand-2); font-size:.72rem; font-style:normal; font-weight:800; margin-top:.3rem; }
.dispatch-why { display:flex; justify-content:space-between; gap:.6rem; margin-top:.45rem; padding:.55rem .65rem; border-radius:10px; background:var(--surface-2); color:var(--ink-3); font-size:.72rem; }
.dispatch-why b { color:var(--ink); }
.dispatch-candidates { margin-top:.45rem; border-top:1px solid var(--line); padding-top:.4rem; }
.dispatch-candidates summary { cursor:pointer; color:var(--brand-2); font-size:.72rem; font-weight:800; }
.dispatch-candidate { display:flex; justify-content:space-between; gap:.5rem; padding:.4rem 0; border-bottom:1px solid var(--line); font-size:.7rem; }
.dispatch-candidate small { color:var(--ink-3); text-align:right; }
@media (max-width:600px) { .dispatch-why,.dispatch-candidate { flex-direction:column; } .dispatch-candidate small { text-align:left; } }
@media (max-width:600px) {
  #aMarketplaceHealth .card-head { align-items:flex-start; flex-direction:column; gap:.5rem; }
  #aMarketplaceHealth .card-head .tick { align-self:flex-start; }
}
@media (max-width:600px) { .ops-pulse-grid,.operations-snapshot-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .ops-pulse-item { min-height:92px; } .operations-snapshot-card:last-child { grid-column:1/-1; } }
.admin-dispatch-map { height:380px; border-radius:12px; overflow:hidden; background:var(--brand-tint); }
.admin-dispatch-map > .empty { padding:5.5rem 1rem; text-align:center; }
.dispatch-map-filters { display:flex; align-items:end; flex-wrap:wrap; gap:.55rem; margin:0 0 .65rem; }
.dispatch-map-filters label { color:var(--ink-2); font-size:.72rem; font-weight:700; }
.dispatch-map-filters select { display:block; margin-top:.2rem; min-width:130px; }
.dispatch-map-filters .dispatch-check { display:flex; align-items:center; gap:.35rem; min-height:38px; }
.route-next { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.75rem; margin:.55rem 0; border:1px solid var(--coral); border-radius:12px; background:var(--coral-tint); }
.route-next div { display:flex; flex-direction:column; gap:.15rem; }
.route-next small { color:var(--coral); font-weight:900; letter-spacing:.06em; }
.route-next b { color:var(--ink); }
@media (max-width:600px) { .offer-map, .admin-dispatch-map { height:260px; } .offer-map-pick { align-items:stretch; flex-direction:column; gap:.55rem; } .offer-map-review { width:100%; } }

/* Claim waterfall lock (Me.C) — a fresh job reserved for higher-tier haulers. */
.jobrow button.locked { background: var(--line); color: var(--ink-3);
  cursor: not-allowed; border: none; }

/* Public hauler profile (M2.3) — measured trust, not a résumé card. */
.wrap.narrow { max-width: 1060px; }
.hpub-page { padding: clamp(1rem,3vw,2.5rem) 0 4rem; }
.hpub-page #profile { display:grid; gap:1rem; }
.hpub-hero,.hpub-proof,.hpub-details,.hpub-reviews,.hpub-cta { border:1px solid var(--line); border-radius:24px; background:var(--card); }
.hpub-hero { display:flex; justify-content:space-between; gap:2rem; align-items:center; padding:clamp(1.25rem,4vw,2.5rem); background:linear-gradient(135deg,var(--card),var(--brand-tint)); }
.hpub-identity { display:flex; gap:1.1rem; align-items:center; min-width:0; }
.hpub-avatar { width:82px; height:82px; border-radius:24px; display:grid; place-items:center; flex:0 0 auto; background:var(--brand); color:white; font-size:2rem; font-weight:900; box-shadow:0 12px 30px color-mix(in srgb,var(--brand) 25%,transparent); }
.hpub-nameblock { min-width:0; }
.hpub-nameblock h1 { margin:.1rem 0 .35rem; font-size:clamp(1.8rem,4vw,3rem); line-height:1; }
.hpub-kicker { margin:0; color:var(--brand-ink); font-size:.72rem; font-weight:900; letter-spacing:.1em; text-transform:uppercase; }
.hpub-sub { margin:0; color:var(--ink-2); font-size:.9rem; }
.hpub-rating { min-width:150px; display:grid; justify-items:end; gap:.15rem; color:var(--ink-2); }
.hpub-rating-number { color:var(--ink); font-size:2.5rem; font-weight:900; line-height:1; }
.hpub-stars,.hpub-rstars { color:var(--gold); letter-spacing:.08em; }
.hpub-certs { display:flex; flex-wrap:wrap; gap:.45rem; margin-top:.85rem; }
.hpub-cert { border:1px solid color-mix(in srgb,var(--brand) 30%,var(--line)); border-radius:999px; padding:.28rem .65rem; background:var(--brand-tint); color:var(--brand-ink); font-size:.76rem; font-weight:800; }
.hpub-proof,.hpub-details,.hpub-reviews { padding:clamp(1.25rem,3vw,2rem); }
.hpub-section-head { display:flex; justify-content:space-between; gap:2rem; align-items:end; margin-bottom:1.1rem; }
.hpub-section-head h2,.hpub-details h2 { margin:.2rem 0 0; font-size:clamp(1.25rem,2.5vw,1.75rem); }
.hpub-section-head > p { max-width:35rem; margin:0; color:var(--ink-2); font-size:.88rem; }
.hpub-stats { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:.65rem; }
.hpub-stats .stat { min-height:132px; display:flex; flex-direction:column; justify-content:space-between; background:var(--bg-2); border:1px solid var(--line); border-radius:16px; padding:1rem; }
.hpub-stats .big { font-size:clamp(1.45rem,3vw,2.1rem); font-weight:900; color:var(--ink); }
.hpub-stats .cap { display:grid; gap:.3rem; color:var(--ink-2); font-size:.8rem; font-weight:800; }
.hpub-stats .cap small { color:var(--ink-3); font-size:.67rem; font-weight:500; line-height:1.35; }
.hpub-details { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr); gap:1.2rem; align-items:center; }
.hpub-areas { margin:1rem 0 0; color:var(--ink-2); font-size:.9rem; }
.hpub-areas b { color:var(--ink); margin-right:.35rem; }
.hpub-promise { display:flex; gap:.8rem; padding:1rem; border-radius:16px; background:var(--ink); color:var(--bg); }
.hpub-promise > span { width:28px; height:28px; display:grid; place-items:center; flex:0 0 auto; border-radius:50%; background:var(--brand); color:white; font-weight:900; }
.hpub-promise p { margin:.3rem 0 0; color:color-mix(in srgb,var(--bg) 75%,transparent); font-size:.8rem; line-height:1.45; }
.hpub-reviews { display:grid; grid-template-columns:minmax(190px,.45fr) minmax(0,1fr); gap:.7rem 1.4rem; }
/* The heading sits in column 1 and the reviews stack in column 2. This used to read
   `grid-row:1 / span 20`, which asks the grid for TWENTY rows however many reviews there
   are: with three, seventeen empty rows and their gaps left ~200px of dead white space
   under the last review at 1280 — visible in a screenshot, invisible to every test. Explicit
   placement gives exactly as many rows as there are reviews. */
.hpub-reviews .hpub-section-head { grid-column:1; grid-row:1; align-items:start; }
.hpub-reviews .hpub-review { grid-column:2; }
.hpub-review { border:1px solid var(--line); border-radius:14px; padding:1rem; background:var(--bg-2); }
.hpub-review p { margin:.45rem 0; line-height:1.5; }
.hpub-cta { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1rem 1.25rem; background:var(--ink); color:var(--bg); }
.hpub-cta > div { display:grid; gap:.15rem; }
.hpub-cta span { color:color-mix(in srgb,var(--bg) 70%,transparent); font-size:.8rem; }
/* The page with no hauler on it. Same card family as a real profile, deliberately: a visitor who
   followed a stale link should land on Zeft, not on an error. */
.hpub-empty { border:1px solid var(--line); border-radius:24px; background:var(--card); padding:clamp(1.5rem,5vw,3rem); display:grid; gap:.6rem; justify-items:start; }
.hpub-empty h1 { margin:0; font-size:clamp(1.5rem,4vw,2.25rem); line-height:1.1; }
.hpub-empty > p { margin:0; color:var(--ink-2); max-width:52ch; }
.hpub-empty .hint { color:var(--ink-3); font-size:.85rem; }
.hpub-empty-doors { display:flex; flex-wrap:wrap; gap:.6rem; margin:.6rem 0 .2rem; }
.hpub-empty-doors .btn { min-height:44px; }
.hpub-theme { position:fixed; z-index:120; top:12px; right:max(9rem,calc((100vw - 1180px)/2 + 8.5rem)); min-width:44px; min-height:44px; display:inline-flex; align-items:center; justify-content:center; gap:.35rem; border:1px solid var(--line); border-radius:999px; background:var(--card); color:var(--ink); cursor:pointer; }
.hpub-theme .z-theme-toggle__icon { width:18px; height:18px; display:grid; place-items:center; }
.hpub-theme .z-theme-icon { grid-area:1/1; width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; }
.hpub-theme .z-theme-icon-dark { display:none; }
[data-theme="dark"] .hpub-theme .z-theme-icon-light { display:none; }
[data-theme="dark"] .hpub-theme .z-theme-icon-dark { display:block; }
.hpub-theme .z-theme-toggle__label { font-size:.75rem; font-weight:800; }
@media(max-width:760px){
  .hpub-theme{top:11px;right:7.15rem}
  .hpub-page{padding-top:.5rem}.hpub-hero{align-items:flex-start}.hpub-rating{min-width:auto}.hpub-rating-number{font-size:1.8rem}
  .hpub-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.hpub-stats .stat:last-child{grid-column:1/-1}
  .hpub-details,.hpub-reviews{grid-template-columns:1fr}.hpub-reviews .hpub-section-head{grid-row:auto}.hpub-reviews .hpub-review{grid-column:1}.hpub-section-head{display:block}.hpub-section-head>p{margin-top:.65rem}
}
@media(max-width:480px){
  .hpub-hero{display:grid;gap:1rem}.hpub-rating{justify-items:start}.hpub-avatar{width:62px;height:62px;border-radius:18px;font-size:1.5rem}
  .hpub-cta{align-items:stretch;flex-direction:column}.hpub-cta .btn{width:100%;text-align:center}
  .hpub-theme .z-theme-toggle__label{display:none}
}

/* Home-page arena (Me.F) — real, published platform stats. */
.arena-live { display: inline-block; font-weight: 700; font-size: .9rem; color: var(--brand-ink);
  background: var(--brand-tint); padding: .3rem .7rem; border-radius: 999px; margin-bottom: .8rem; }
.arena-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .8rem; margin: 1rem 0; }
.arena-stats .astat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem; text-align: center; }
.arena-stats .av { font-size: 1.7rem; font-weight: 800; color: var(--ink); }
.arena-stats .av small { font-size: .6em; font-weight: 600; opacity: .6; }
.arena-stats .al { font-size: .8rem; color: var(--ink-2); margin-top: .3rem; }
.arena-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }

/* Leaderboard podium (Me.G) — local/relative hauler ranking. */
.arena-boardh { font-size: 1.05rem; margin: 1.2rem 0 .5rem; }
.arena-podium { list-style: none; margin: 0; padding: 0; }
.arena-podium li { display: flex; align-items: center; gap: .6rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.arena-podium .ap-rank { font-size: 1.1rem; min-width: 2rem; }
.arena-podium .ap-name { font-weight: 700; color: var(--brand-ink); text-decoration: none; }
.arena-podium .ap-meta { color: var(--ink-2); font-size: .82rem; margin-left: auto; }
.myrank { background: var(--brand-tint); color: var(--brand-ink);
  border-radius: 12px; padding: .6rem .9rem; font-weight: 700; margin-bottom: 1.2rem; }

/* Group Haul (§2.3) — neighborhood pooling; the progress bar IS the price dropping. */
.ghrow { padding: .7rem 0; border-top: 1px solid var(--line); }
.ghrow:first-of-type { border-top: none; }
.ghtop { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.ghsave { font-size: .75rem; font-weight: 700; color: var(--brand-ink); background: var(--brand-tint); padding: .15rem .5rem; border-radius: 999px; }
.ghbar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; margin: .4rem 0; }
.ghbar > span { display: block; height: 100%; background: var(--brand); border-radius: 999px; transition: width .4s ease; }
.ghmeta { font-size: .82rem; color: var(--ink-2); }
.ghjoined { display: inline-block; margin-top: .3rem; font-size: .82rem; font-weight: 700; color: var(--brand-ink); }
.ghjoin { margin-top: .3rem; }

/* Beat-my-quote (§2.2). */
.beatrow { display: flex; align-items: center; gap: .5rem; }
.beatrow .beatpfx { font-weight: 700; color: var(--ink-2); }
.beatrow input { flex: 1; padding: .5rem .6rem; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: inherit; }
.beatwin { margin-top: .7rem; padding: .7rem .9rem; border-radius: 12px; background: var(--brand-tint); color: var(--brand-ink); font-size: .95rem; }
.beatwin a { color: var(--brand-2); font-weight: 700; }

/* Neighborhood Cup (§3) — lbs-diverted competition. */
.cup { margin-top: .4rem; }
.cuprow { display: flex; align-items: center; gap: .6rem; padding: .35rem 0; }
.cuprow .cup-rank { min-width: 1.4rem; font-weight: 800; color: var(--brand-ink); }
.cuprow .cup-name { min-width: 6.5rem; font-weight: 600; }
.cuprow .cup-bar { flex: 1; height: 9px; border-radius: 999px; background: var(--line); overflow: hidden; }
.cuprow .cup-bar > span { display: block; height: 100%; background: var(--brand); border-radius: 999px; }
.cuprow .cup-lbs { min-width: 5rem; text-align: right; font-size: .82rem; color: var(--ink-2); }

/* Scrap-value estimator (§2.3b) — free hauler tool. */
.scrapgrid { display: grid; gap: .3rem; }
.scrapitem { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .3rem 0; border-bottom: 1px solid var(--line); }
.scrapitem .scl small { opacity: .6; }
.scrapitem .scq { display: inline-flex; align-items: center; gap: .6rem; }
.scrapitem .scq button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: inherit; font-size: 1rem; cursor: pointer; }
.scrapitem .scq b { min-width: 1.2rem; text-align: center; }

/* Waitlist-with-position (§2.6). */
.waitbox { margin-top: 1rem; }
.waitbox .rl { margin: 0 0 .4rem; font-weight: 600; }

/* Zeft Academy (§1.8). */
.acadgrid { display: grid; gap: .3rem; }
.acaditem { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .4rem 0; border-bottom: 1px solid var(--line); }
.acadearned { font-weight: 700; color: var(--brand-ink); font-size: .85rem; }
.acadopt { display: block; padding: .25rem 0; font-weight: 400; cursor: pointer; }
.hpub-certs { display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0; }
.hpub-cert { background: var(--brand-tint); color: var(--brand-ink); font-size: .8rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; }

/* Rehome board (§2.4). */
/* WRAPPING AT EVERY WIDTH, not only below 520px.
 *
 * This row was `nowrap` above 520, which was fine when it held a label and two buttons. The
 * handoff row now holds up to five — Message, Yes <the agreed time>, Suggest a time, the
 * role's own confirm, and the way out of a claim — and a non-wrapping flex row does not
 * overflow visibly, it squeezes the last child to a sliver and pushes it past the edge. That
 * is exactly how the board's own header lost its neighborhood picker and its List an item
 * button at 390 on the same day this was written: both were in the DOM, visible, opaque, and
 * a hundred and ten pixels off the screen.
 *
 * Wrapping only changes what happens when the row would otherwise overflow, so a row that
 * fits is unaffected at any width. */
.rhrow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .65rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.rhrow .rhl small { opacity: .6; }
/* The handoff row carries a NEXT MOVE under the label (stoop-handoff-state.js), so this
   column stacks. Edited in place rather than adding a second rule: .rhrow is a flex row
   that does not wrap above 520px, and two rules fighting over the same column is how a
   sentence ends up squeezed between a label and a button. */
.rhrow .rhl { flex: 1; min-width: 0; display: grid; gap: .18rem; align-content: start; }
.rhrow .rhl .rhnext { opacity: .74; font-size: .78rem; line-height: 1.4; text-wrap: pretty; }
/* THE LISTING SOMEBODY ARRIVED FOR, marked so the eye lands on it. A visitor taps "Sign in to
   claim" on one thing on the public board, registers, and is brought here; the card is scrolled
   to and announced. Without a rule this class was a highlight nobody could see — a decoration
   that exists only in the DOM is the same kind of nothing as a sentence nobody renders. A left
   border rather than a background, so it reads in both themes and does not fight the photo. */
.rh-wanted { border-left: 3px solid var(--brand, currentColor); padding-left: .55rem; background: color-mix(in srgb, var(--brand, currentColor) 6%, transparent); border-radius: 6px; }
@media (prefers-reduced-motion: no-preference) { .rh-wanted { transition: background .4s ease; } }
/* A GLOBAL UTILITY CARRYING A LAYOUT ASSUMPTION FROM SOMEWHERE ELSE.
 *
 * `.hint` is declared with `flex-basis: 100%`, which is right where it was written — a hint under
 * a wrapping form takes its own line beneath the fields. `.rhrow` was `flex-wrap: nowrap`, so the
 * same declaration asks for the whole row and CANNOT wrap to a new line. The label beside it is
 * `flex: 1 1 0%`, so it gave up everything: measured at 1280, `.rhl` computed to **0px** while the
 * hint took 961 of 971, and every listing you own rendered as a column of one word per line with
 * "your listing · withdraw" printed across it.
 *
 * Found by opening the screen, not by a test: the markup is valid, the classes are real, the row
 * had no error and nothing was red. Scoped rather than changed at the source, because the 100% is
 * correct for every form that uses it. */
.rhrow > .hint { flex: 0 1 auto; flex-basis: auto; }
.rhphoto { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 12px; object-fit: cover; border: 1px solid var(--line); background: var(--bg-2); }
.chathead > div { display: grid; gap: .12rem; }
.chathead small { display: block; color: currentColor; opacity: .82; font-size: .75rem; }
.rhpost-form { display: grid; align-content: start; gap: 1rem; padding: 1.15rem; overflow-y: auto; }
.rhpost-form label { display: grid; gap: .4rem; color: var(--ink); font-size: .86rem; font-weight: 750; }
.rhpost-form label small { color: var(--ink-2); font-size: .75rem; font-weight: 500; }
.rhpost-form input:not([type="checkbox"]), .rhpost-form select { width: 100%; min-height: 46px; padding: .72rem .8rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); color: var(--ink); font: inherit; }
.rhpost-form input[type="file"] { padding: .55rem; }
.rhpost-form input::file-selector-button { margin-right: .7rem; padding: .48rem .7rem; border: 0; border-radius: 9px; background: var(--brand-tint); color: var(--brand-ink); font: inherit; font-weight: 750; cursor: pointer; }
.rhpost-form .primary { min-height: 48px; padding: .75rem 1rem; border: 0; border-radius: 999px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: var(--on-brand); font: inherit; font-weight: 800; box-shadow: 0 10px 24px -12px var(--brand); }
.rhpost-form .primary:disabled { cursor: wait; opacity: .62; }
.rhphoto-preview { display: flex; align-items: center; gap: .75rem; padding: .65rem; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); color: var(--ink-2); font-size: .85rem; }
.rhphoto-preview img { width: 92px; height: 92px; border-radius: 12px; object-fit: cover; }
.co-review-photo { width: 88px; height: 88px; object-fit: cover; border-radius: 8px; }
.co-review-notes { white-space: pre-wrap; }
.rhpost-form .rhattach { display: flex; grid-template-columns: none; align-items: flex-start; gap: .55rem; font-weight: 500; line-height: 1.4; }
.rhattach input { margin-top: .2rem; }
@media (max-width: 520px) { .rhrow { align-items: flex-start; flex-wrap: wrap; } .rhrow .rhl { flex-basis: calc(100% - 80px); } }
/* THE EXPIRED ROW IS ALL ACTION, so it cannot live inside the 80px the rule above leaves.
 *
 * That `calc(100% - 80px)` was written for a row whose right-hand side is a short STATUS word
 * ("claimed", "handed over"). The expired row puts a BUTTON there instead, and at 390 the
 * result is wrong on production today: "Book a pickup - 5% off" renders as a 59px column, one
 * word per line, five lines tall. That button is the paid conversion this whole feature exists
 * to produce, and on a phone it reads as a broken ribbon.
 *
 * Measured in a real browser at 390/768/1280 with the console's own five stylesheets loaded.
 * Worth saying how it was nearly missed: the first harness loaded two of the five, rendered a
 * button that does not exist, and reported no overlap and no overflow. The numbers were clean
 * both times. Only the screenshot showed the crush.
 *
 * So the expired row gets its own shape on a phone: the label takes a full line and the action
 * sits beneath it at a width somebody can read and hit. Scoped to .rhexpired on purpose --
 * .rhrow is shared with the handoff and given-away lists, whose right-hand side really is a
 * short word, and a second lane is editing the handoff row right now. */
@media (max-width: 520px) {
  .rhexpired .rhrow .rhl { flex-basis: 100%; }
  .rhexpired .rhrow button { flex: 1 1 auto; }
}

/* Shareable quote button (§2.1) on the landing estimator. */
.sharebtn { margin-top: .5rem; width: 100%; padding: .55rem; border-radius: 12px;
  border: 1px dashed var(--brand-2); background: transparent;
  color: var(--brand-ink); font-weight: 600; cursor: pointer; }
.sharebtn:hover { background: var(--brand-tint); }

/* Email verification banner. */
.verifybar { margin-bottom:.65rem;border:1px solid color-mix(in srgb,var(--brand) 24%,var(--line));
  border-radius:var(--radius-control);background:var(--brand-tint);color:var(--brand-ink); }
.verifybar>summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:48px;
  padding:.55rem .8rem;cursor:pointer;list-style:none;font-size:.82rem}
.verifybar>summary::-webkit-details-marker{display:none}
.verifybar>summary b{white-space:nowrap;font-size:.78rem}.verifybar>summary b::after{content:' +';font-size:1rem}
.verifybar[open]>summary b::after{content:' −'}
.verifybar .vb-body{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;padding:0 .8rem .7rem}
.verifybar .vb-actions { display: inline-flex; gap: .4rem; align-items: center; }
.verifybar input { width: 7.5rem; padding: .35rem .5rem; border: 1px solid var(--line); border-radius: 8px; }
.verification-required main.console{min-height:100vh;display:grid;place-items:center;padding:clamp(1rem,4vw,3rem)}
.verification-required #verifyBar{width:min(100%,620px)}
.verify-gate{margin:0;padding:clamp(1.25rem,4vw,2rem);border-radius:24px;background:var(--card);box-shadow:var(--shadow-lg)}
.verify-gate-head{display:flex;flex-direction:column;align-items:center;text-align:center;gap:.5rem;margin-bottom:1.1rem}
.verify-gate-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:var(--brand-tint);color:var(--brand);font-size:1.55rem;font-weight:900}
.verify-gate-eyebrow{color:var(--brand);font-size:.72rem;font-weight:900;letter-spacing:.14em}
.verify-gate-head h1{margin:0;color:var(--ink);font-size:clamp(1.55rem,4vw,2rem);line-height:1.12}
.verify-gate-head p,.verify-gate-head small{margin:0;color:var(--ink-2);line-height:1.5}
.verify-gate-head strong{overflow-wrap:anywhere;color:var(--ink)}
.verify-gate .vb-body{display:grid;grid-template-columns:1fr;gap:.75rem;padding:0}
.verify-gate .vb-actions{display:grid;grid-template-columns:minmax(0,1fr) auto auto;width:100%}
.verify-gate input{width:100%;min-width:0;min-height:48px}
.verify-gate .docup{min-height:48px}
.verify-newwork{max-width:860px;margin:0 auto 1rem;padding:1rem;border-radius:var(--radius-card,18px);box-shadow:var(--elevation-1)}
.verify-newwork .verify-gate-head{align-items:flex-start;text-align:left;gap:.25rem;margin-bottom:.7rem}
.verify-newwork .verify-gate-icon,.verify-newwork .verify-gate-eyebrow{display:none}
.verify-newwork .verify-gate-head h1{font-size:1.15rem}
.verify-newwork .verify-gate-head p{max-width:70ch}
.verify-signout{justify-self:center;min-height:44px}
@media(max-width:520px){
  .verifybar{margin-bottom:.5rem;font-size:.78rem;line-height:1.35}
  .verifybar>summary{padding:.5rem .65rem}.verifybar>summary span{min-width:0;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
  .verifybar .vb-body{display:grid;grid-template-columns:1fr;padding:0 .65rem .65rem}
  .verifybar .vb-actions{display:grid;grid-template-columns:minmax(0,1fr) auto auto;width:100%}
  .verifybar input{width:100%;min-width:0;min-height:44px}
  .verifybar .docup{min-height:44px;padding-inline:.6rem}
  .verifybar .hint:empty{display:none}
  .verify-gate .vb-actions{grid-template-columns:1fr 1fr}
  .verify-gate .vb-actions input{grid-column:1/-1}
}

/* ── landing live funnel (public estimate + activity strip) ─────────────── */
.chip.live b{font-weight:700}
.georow{display:flex;gap:.5rem}
.georow input{flex:1;min-width:0}
.geobtn{
  white-space:nowrap;border:1.5px dashed var(--brand);background:transparent;
  color:var(--brand-ink);border-radius:10px;padding:.55rem .8rem;font-weight:600;
  font-size:.85rem;cursor:pointer;
}
.geobtn:disabled{opacity:.7;cursor:default}
.cta.alt{
  margin-top:.55rem;background:transparent;color:var(--brand-ink);
  border:2px solid var(--brand);
}

/* ── the paywall on the landing (analysed for free, priced for an account) ── */
/* What the eye recognised in the visitor's own pile — the proof, shown before signup. */
#eyeRead .chips{margin-top:.5rem}
.chip.warn{
  background:var(--coral-tint);
  border-color:color-mix(in srgb, var(--coral) 45%, var(--line));
  color:var(--coral);
}
/* The withheld price. Reads as a locked door, not a broken calculator. */
.price.locked{font-size:1.4rem;font-weight:800;letter-spacing:0;line-height:1.2;color:var(--brand-ink)}
.unlocks{list-style:none;margin:.7rem 0 0;padding:0;display:grid;gap:.35rem}
.unlocks li{position:relative;padding-left:1.5rem;font-size:.85rem;font-weight:600;color:var(--ink-2)}
.unlocks li::before{content:"🔓";position:absolute;left:0;top:0}

/* ── Lite landing (anonymous first impression) ─────────────────────────────
   The first visit is a conversion moment, not a booking form. Signed OUT, the
   quote card collapses to its smallest honest promise: show the pile → see the
   eye's range → create an account. The size picker, access, heavy-debris and
   the address/when fields are booking details — they belong AFTER sign-up, so
   js/app.js adds .lite to #jobForm while locked() and they hide here. Signed in,
   .lite is removed and the full card returns exactly as before. */
.card.lite .liteHide { display: none !important; }
.card.lite .card-body { gap: .55rem; }
.card.lite #price { margin-top: .2rem; }
/* A tighter, more modern hero: less vertical air so the card is reachable
   without a long scroll on a laptop. */
.hero { padding-top: clamp(1.5rem, 4vw, 3rem); padding-bottom: clamp(1.5rem, 4vw, 3rem); }
.hero h1 { line-height: 1.02; }

/* "Reading your pile…" — an animated spinner while the eye runs (a vision read is ~10-20s),
   at parity with the Flutter price-preview's CircularProgressIndicator. Reduced-motion safe. */
#shotHint.reading::before {
  content: ""; display: inline-block; width: .82em; height: .82em; margin-right: .45em;
  vertical-align: -1px; border: 2px solid var(--brand); border-top-color: transparent;
  border-radius: 50%; animation: shotspin .7s linear infinite;
}
@keyframes shotspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { #shotHint.reading::before { animation: none; } }

/* Reusable inline spinner for any "loading…" state (no inline CSS needed at the call site). */
.spin {
  display: inline-block; width: .8em; height: .8em; margin-right: .45em; vertical-align: -1px;
  border: 2px solid var(--brand); border-top-color: transparent; border-radius: 50%;
  animation: shotspin .7s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } }
/* Photo guidance keeps the first estimate accurate without turning the upload into a form. */
.photo-guide { display:flex; flex-direction:column; gap:.25rem; margin-top:.55rem; padding:.65rem .75rem; border:1px solid var(--line); border-radius:.65rem; background:var(--info-tint); color:var(--ink-2); font-size:.78rem; line-height:1.35; }
.photo-guide b { color:var(--ink); font-size:.8rem; }
.photo-quality-warning::after { content:' Add a wider daylight shot for a sharper estimate.'; color:var(--gold); }
/* ═══ Responsive product contract ═══
 * Shared by marketing, booking, auth and role consoles. Kept at the end of the base layer:
 * page-specific rules may choose colour or layout, but may not create untappable controls,
 * media wider than its card, or phone content wider than its viewport. */
img, video, canvas, svg { max-width: 100%; }
input, select, textarea, button { max-width: 100%; }
:where(.card,.panel,.band,.prosebody,.dv2-main,.dv2-sec,.jobrow,.flow-card) { min-width: 0; }
:where(h1,h2,h3,p,li,label,.od,.why,.from,.jobrow) { overflow-wrap: anywhere; }

@media (max-width: 780px) {
  .wrap { width: 100%; padding-inline: clamp(1rem, 4.5vw, 1.35rem); }
  header.site .wrap { height: 64px; gap: .6rem; }
  .brand { min-width: 0; }
  .brand b { font-size: 1.12rem; }
  .logo { width: 36px; height: 36px; border-radius: 11px; }
  .mobile-nav nav { top: 68px; left: 1rem; right: 1rem; max-height: calc(100dvh - 80px); }

  :where(button,.btn,.cta,.opt,.toggle,.shotbtn,.geobtn,input,select,textarea,[role="button"]) { min-height: 48px; }
  :where(.mobile-nav a,.tabs button,.jobrow .actions button,.dv2-nav) { min-height: 44px; }
  footer a { display:inline-flex; align-items:center; min-height:36px; }

  .hero { padding-block: clamp(1.5rem, 6vw, 2.25rem); }
  .hero .hgrid { gap: 1.5rem; }
  .herocopy h1, .hero h1 { max-width: 12ch; font-size: clamp(2.35rem, 11.5vw, 3.35rem); }
  .herocopy .sub { max-width: 34ch; }
  .seg { width:100%; }
  .seg button { min-width:0; }
  .card-head,.card-body { padding-inline: clamp(1rem,4vw,1.25rem); }

  /* Journey artwork is evidence, not a partially hidden carousel. Each customer, hauler and
     scan illustration stays visible in full and follows reading order in Safari and Chrome. */
  .flow-mobile-hint { display:none; }
  .flow-grid { display:grid; grid-template-columns:1fr; gap:1rem; overflow:visible; padding:0; }
  .flow-card,.flow-card-wide { width:100%; max-width:100%; display:block; }
  .ff,.ff svg { width:100%; max-width:100%; }
  .flow-copy { padding:1rem 1rem 1.15rem; }

  .newsletter .wrap, footer .footgrid { grid-template-columns:1fr; }
  .prosebody, .pagehero { max-width:100%; }
}

@media (max-width: 380px) {
  header.site .wrap { padding-inline:.75rem; }
  #navCta { padding-inline:.72rem; font-size:.8rem; }
  .mobile-nav summary { padding-inline:.62rem; }
  .card-body { padding:1rem; gap:1.1rem; }
  .chips { gap:.45rem; }
}

/* The coverage answer, given before the account exists. Green when we come to them, plain
   when we do not — never red: "we are not there yet" is not the visitor's mistake, and the
   next sentence asks them for their photos anyway. */
.hint.cover-yes { color: var(--brand); font-weight: 600; }
.hint.cover-no { color: var(--ink-2); }

/* TARGET SIZE ON A MOUSE, TOO — 24px, not 44px.
   The coarse-pointer block above raises navigation and footer links to 44px for a thumb.
   With a mouse the bar is WCAG 2.5.8's 24x24, and measured on live at 1280/1440/1920 the
   footer columns rendered a hundred links at 23px — one pixel under, on every page.
   Inline links inside a sentence are left alone: they measured 20-22px and the success
   criterion exempts them, because padding a word mid-paragraph breaks the line box. */
footer .fcol a,
.legal-entity a {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
}

/* ── Sign in with Apple / Google ──────────────────────────────────────────────
   Above the email form, because one tap beats typing an address and a password —
   and burying the fast path under the slow one is how you make people choose the
   slow one.

   Every colour here is a token. Apple's mark is the one exception the guidelines
   require: their button is black-on-white or white-on-black and nothing else, so
   it does not follow our brand and must not be "fixed" to. */
.social-auth { margin-bottom: 1rem; }

.social-auth-buttons {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  align-items: stretch;
}

/* Google renders its own button into this slot; it owns its internals. */
.social-auth-slot { display: flex; justify-content: center; }
.social-auth-slot > div { max-width: 100%; }

.social-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  /* 48px: the same minimum touch target as the primary CTA. A sign-in button that
     is harder to hit than the form below it is not a shortcut. */
  min-height: 48px;
  width: 100%;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: filter .15s ease, transform .15s ease;
}
.social-auth-btn:hover:not(:disabled) { filter: brightness(1.08); }
.social-auth-btn:active:not(:disabled) { transform: translateY(1px); }
.social-auth-btn:disabled { opacity: .6; cursor: default; }

/* Apple's prescribed treatment, not ours. */
.social-auth-apple { background: #000; color: #fff; border-color: #000; }
@media (prefers-color-scheme: dark) {
  .social-auth-apple { background: #fff; color: #000; border-color: #fff; }
}
.social-auth-apple span:first-child { font-size: 1.15em; line-height: 1; }

.social-auth-error { margin: .55rem 0 0; }
.social-auth-terms { margin: .75rem 0; padding: .75rem; border: 1px solid var(--line); border-radius: 12px; }
.social-auth-terms p { margin: 0 0 .5rem; font-weight: 700; }
.social-auth-terms button { margin: .5rem .5rem 0 0; }

/* The divider that stops the two paths reading as one form. */
.social-auth-or {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: .9rem 0 .2rem;
  color: var(--ink-3);
  font-size: .82rem;
}
.social-auth-or::before,
.social-auth-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

@media (prefers-reduced-motion: reduce) {
  .social-auth-btn { transition: none; }
  .social-auth-btn:active:not(:disabled) { transform: none; }
}

/* ── Footer link targets on a phone ──────────────────────────────────────────────────────
   Two rules fight over this and the wrong one was winning. A 44px rule lives inside the phone
   media query near line 277; the 24px WCAG-2.5.8 floor is declared above, OUTSIDE any media
   query, so at equal specificity the later rule took every width and the mobile rule had no
   effect at all. Measured on seven pages at 320/375/390/414/428: every footer link 108x24,
   which is what the 24px rule produces.

   24px is the AA minimum for a pointer. 48px is the floor this project's own primitive
   contract documents for a finger (web-primitives-spend-the-contract.test.js allows exactly
   that number and no other), and the footer is where the legal, licensing and coverage pages
   live — the links somebody hunts for when they are already unsure about us.

   Placed here rather than appended at the end of the file for two reasons: it must come after
   the 24px rule, since ordering is what decides this, and it must come BEFORE the primitives
   block, which is held to a stricter contract than page CSS. Inline links inside a sentence
   stay exempt — padding a word mid-paragraph breaks the line box around it. */
@media (max-width: 820px) {
  footer .fcol a,
  .legal-entity a {
    min-height: 48px;
    display: flex;
    align-items: center;
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
   PRIMITIVES — the web twin of src/components/ui/ in the app.
   Built only from design-system/tokens.json (contractVersion 5). No literal
   colours, no invented sizes, no ad-hoc timings.

   WHY THESE EXIST. This stylesheet still carries 163 hardcoded hex values across
   five files, written before there were tokens to spend. Converting all of them
   at once would risk a visual regression on fourteen live pages for no user-
   visible gain, so the rule is: NEW work uses these classes, and existing rules
   migrate as their screens are redesigned.

   The z-axis is the important part. Until contractVersion 5 there was no
   elevation anywhere — every surface was a flat card behind a 1px border, so
   nothing was primary and nothing could rise over anything. "A sheet over a map"
   is not a colour; it is a shadow, and there was none to spend.
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── Surfaces ─────────────────────────────────────────────────────────────────
   Levels named for what they are FOR, matching the app's SurfaceLevel exactly:
     1 a resting card · 2 a sheet at rest · 3 a sheet over a MAP · 4 a modal
   A scale nobody can read is a scale everybody guesses at. */
.z-surface   { border-radius: var(--radius-card); background: var(--card); }
.z-surface-1 { box-shadow: var(--elevation-1); }
.z-surface-2 { box-shadow: var(--elevation-2); background: var(--card-2); }
.z-surface-3 { box-shadow: var(--elevation-3); background: var(--card-2); }
.z-surface-4 { box-shadow: var(--elevation-4); background: var(--card-2); }

/* A raised surface drops the border. The old flat cards leaned on a 1px line
   because they had nothing else; keeping it once there is real elevation reads as
   a sticker over the shadow rather than an object above the page. */
.z-surface-1, .z-surface-2, .z-surface-3, .z-surface-4 { border: 0; }

/* The dim behind a sheet. Per-theme, because the right darkness over a light map
   is not the right darkness over a dark one. */
.z-scrim {
  position: fixed;
  inset: 0;
  background: var(--scrim);
  animation: z-fade var(--duration-fast) var(--ease-standard);
}

/* ── Type ramp ────────────────────────────────────────────────────────────────
   Six roles, no ad-hoc sizes. Before this, hierarchy read as "big bold" versus
   "small grey" because every screen picked its own numbers. */
.z-display { font-size: var(--type-display-size); font-weight: var(--type-display-weight); line-height: var(--type-display-line); letter-spacing: var(--type-display-tracking); }
.z-title   { font-size: var(--type-title-size);   font-weight: var(--type-title-weight);   line-height: var(--type-title-line);   letter-spacing: var(--type-title-tracking); }
.z-heading { font-size: var(--type-heading-size); font-weight: var(--type-heading-weight); line-height: var(--type-heading-line); letter-spacing: var(--type-heading-tracking); }
.z-body    { font-size: var(--type-body-size);    font-weight: var(--type-body-weight);    line-height: var(--type-body-line);    letter-spacing: var(--type-body-tracking); }
.z-label   { font-size: var(--type-label-size);   font-weight: var(--type-label-weight);   line-height: var(--type-label-line);   letter-spacing: var(--type-label-tracking); }
.z-caption { font-size: var(--type-caption-size); font-weight: var(--type-caption-weight); line-height: var(--type-caption-line); letter-spacing: var(--type-caption-tracking); }

/* Tone by intent, not by token name: `--ink-3` tells a rule nothing about when
   to reach for it. */
.z-muted  { color: var(--ink-2); }
.z-subtle { color: var(--ink-3); }

/* ── Buttons ──────────────────────────────────────────────────────────────────
   48px floor: the stricter of Apple's 44 and Material's 48. A shortcut that is
   harder to hit than the form beneath it is not a shortcut. */
.z-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0 var(--space-4);
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font: inherit;
  font-size: var(--type-heading-size);
  font-weight: var(--type-heading-weight);
  /* An <a> styled as a button must stop looking like a link. The underline survived into the
     migrated pages and read as a mistake — a control either looks pressable or looks clickable,
     not both. */
  text-decoration: none;
  cursor: pointer;
  transition: filter var(--duration-instant) var(--ease-standard),
              transform var(--duration-instant) var(--ease-standard);
}
.z-btn:hover:not(:disabled)  { filter: brightness(1.06); }
.z-btn:active:not(:disabled) { transform: translateY(1px); }
/* Not 0.4 — a disabled control still has to be readable, or somebody cannot tell
   what it is they are unable to press. */
.z-btn:disabled { opacity: 0.55; cursor: default; }

.z-btn-primary   { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.z-btn-secondary { background: transparent;  color: var(--brand);    border-color: var(--brand); }
.z-btn-ghost     { background: transparent;  color: var(--brand); }
/* Destructive never borrows the brand colour: a button that looks like "go" must
   not be the one that deletes. */
.z-btn-danger    { background: var(--coral-tint); color: var(--coral); border-color: var(--coral); }

/* One primary action, in the thumb zone. This is the single biggest structural
   difference from the products this is measured against: they put exactly one
   bright action at the bottom, reachable one-handed, and everything else is
   quiet. A form scatters its actions; a tool does not. */
.z-actionbar {
  position: sticky;
  bottom: 0;
  display: flex;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4) calc(var(--space-4) + env(safe-area-inset-bottom));
  background: var(--card);
  box-shadow: var(--elevation-3);
  border-radius: var(--radius-feature) var(--radius-feature) 0 0;
}
.z-actionbar > .z-btn { flex: 1; }

@keyframes z-fade { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .z-btn { transition: none; }
  .z-btn:active:not(:disabled) { transform: none; }
  .z-scrim { animation: none; }
}

/* ── Spacing utilities ────────────────────────────────────────────────────────
   The 4pt grid, as classes. These exist to retire the commonest inline styles in
   the markup — `margin-top:0.7rem` appeared ten times in app.html alone and
   `margin-top:1rem` five more, each one a spacing decision made at the call site
   where no token could reach it.

   Snapping 0.7rem (11.2px) to 12px and 0.9rem (14.4px) to 16px is deliberate: a
   sub-2px shift nobody can see, in exchange for spacing that comes from
   design-system/tokens.json and matches the app. A grid with three exceptions is
   not a grid. */
.z-mt-1 { margin-top: var(--space-1); }
.z-mt-2 { margin-top: var(--space-2); }
.z-mt-3 { margin-top: var(--space-3); }
.z-mt-4 { margin-top: var(--space-4); }
.z-mt-5 { margin-top: var(--space-5); }
.z-mb-3 { margin-bottom: var(--space-3); }

/* ── Editorial type (contractVersion 6) ───────────────────────────────────────
   `hero` is the one role the web needs and a phone does not: a landing headline
   that fills a laptop is unreadable at 390px, so the class interpolates between
   the display size (the phone's largest) and the hero size (the laptop's) and
   never invents a number outside that range. The app spends the same `hero`
   token as a fixed 44px, which is what a phone can actually hold. */
.z-hero {
  font-size: clamp(var(--type-display-size), 7vw, var(--type-hero-size));
  font-weight: var(--type-hero-weight);
  line-height: 1.02;
  letter-spacing: var(--type-hero-tracking);
  text-wrap: balance;
}

/* An eyebrow is a label doing a different job: it names the section without
   competing with the heading under it. Uppercase + tracking rather than a
   different size, so it stays on the ramp. */
.z-eyebrow {
  font-size: var(--type-label-size);
  font-weight: var(--type-label-weight);
  line-height: var(--type-label-line);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

/* ── Layout ───────────────────────────────────────────────────────────────────
   Measure in rem, not px, so the reading column tracks the reader's font size.
   `--wrap` in the legacy block is a fixed 1160px; this is its replacement. */
.z-wrap    { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: var(--space-5); }
.z-measure { max-width: 34rem; }

/* Section rhythm. The old page alternated a tinted band with a white band every
   time, which made nine sections read as nine equals. Space is the hierarchy:
   a section that matters gets more of it. */
.z-section       { padding-block: var(--space-8); }
.z-section-tight { padding-block: var(--space-7); }
.z-section-loose { padding-block: var(--space-9); }

.z-stack   { display: flex; flex-direction: column; }
.z-gap-2   { gap: var(--space-2); }
.z-gap-3   { gap: var(--space-3); }
.z-gap-4   { gap: var(--space-4); }
.z-gap-5   { gap: var(--space-5); }
.z-gap-6   { gap: var(--space-6); }
.z-row     { display: flex; align-items: center; }
.z-row-wrap{ flex-wrap: wrap; }
.z-items-end { align-items: end; }
.z-uppercase { text-transform: uppercase; }

/* ── Card ─────────────────────────────────────────────────────────────────────
   Padding belongs to the card, not to every call site. `.z-surface` above owns
   the shadow and the radius; this owns the inside. */
.z-card     { padding: var(--space-5); }
.z-card-lg  { padding: var(--space-6); }

/* ── Field ────────────────────────────────────────────────────────────────────
   The same 48px floor as the button: a field a thumb cannot land on is a field
   that gets mistyped. */
.z-field {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0 var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--bg-2);
  color: var(--ink);
  font: inherit;
  font-size: var(--type-body-size);
}
.z-field::placeholder { color: var(--ink-3); }
.z-field:focus-visible {
  /* 0.125rem, not 2px: past the primitives marker the only literal pixels allowed are the
     48px touch floor and hairlines, and a focus ring is neither. rem also means the ring
     grows with the reader's font size, which is the point of a focus ring. */
  outline: 0.125rem solid var(--brand);
  outline-offset: 1px;
  border-color: var(--brand);
}

/* ── Badge ────────────────────────────────────────────────────────────────────
   Tone carries the meaning; the shape is always the same, so a reader learns it
   once. Never a bare colour at the call site. */
.z-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  font-size: var(--type-label-size);
  font-weight: var(--type-label-weight);
  line-height: var(--type-label-line);
}
.z-badge-brand  { background: var(--brand-tint);  color: var(--brand-ink); }
.z-badge-info   { background: var(--info-tint);   color: var(--info); }
.z-badge-warn   { background: var(--gold-tint);   color: var(--gold); }
.z-badge-danger { background: var(--coral-tint);  color: var(--coral); }
.z-badge-quiet  { background: var(--card-2);      color: var(--ink-2); border: 1px solid var(--line); }

/* ── Commit ───────────────────────────────────────────────────────────────────
   The one warm control in an otherwise green product, reserved for the instant
   money is committed — Book and Authorize, and nothing else. It is deliberately
   NOT the danger colour: a button that borrows the error tone reads as a warning
   at the exact moment we want confidence. Twin of Button.tsx's `commit` kind. */
.z-btn-commit { background: var(--commit); color: var(--on-brand); border-color: var(--commit); }

/* ── Divider ──────────────────────────────────────────────────────────────── */
.z-rule { border: 0; border-top: 1px solid var(--line); margin-block: var(--space-5); }

/* estimate.html (the relocated landing) joined after the inline-style ratchet reached it:
   these carry the four spacing/size decisions its old style= attributes made. */
.qhead-gap { margin-top: 1.05rem; }
#wgFoot { margin-top: 1rem; }
.fbrand .brand-word { font-size: 1.2rem; }
