/* redesign-2026.css — the Zeft design layer.
 *
 * WHAT THIS FILE IS. styles.css holds the component vocabulary the pages were built
 * from; this file is the layer that decides how that vocabulary LOOKS. It loads last,
 * so it is the last word on the visual system, and it spends only tokens from
 * design-system/tokens.json — the same contract the app's theme.ts generates from.
 *
 * WHAT IT USED TO BE, AND WHY THAT CHANGED. Until contractVersion 6 this file was an
 * override sheet: about 140 declarations ending in !important, retuning a light system
 * into a dark marketing skin. Its own comment admitted the result — "two competing
 * design systems" — and the cost was real. A rule could not be reasoned about locally
 * because some other rule was shouting over it, so every new screen was written by
 * trial: change it, reload, add another !important.
 *
 * The rule now is that this file wins by ORDER, not by volume. It is loaded last on
 * every page (see ops/build-content.mjs), so an ordinary selector is enough. There is
 * exactly one !important left in the file and it is labelled.
 *
 * THE DIRECTION: consumer premium. A stranger deciding whether to let a crew into
 * their apartment is not reading a dashboard. So:
 *   · Paper ground, not mint. Colour is spent on actions, never on backgrounds.
 *   · One decision per screen. The photo box is the only loud thing in the hero.
 *   · Space is the hierarchy. The page had nine sections of identical weight; a
 *     section that matters now gets more room rather than a different tint.
 *   · Green means go, and the ONE warm control means money is about to move.
 */

@import url("./design-tokens.generated.css?v=65383e1a");

:root{
  /* The two things a token file cannot express: a font stack, and the spring the
     brand moves with. Everything else on this page comes from the contract. */
  --z-display-font:var(--zeft-head-font); /* css/fonts.css, via styles.css */
  --h-spring:cubic-bezier(.2,.9,.25,1);
  /* Kept because legacy rules in styles.css still reference them. They now derive
     from the contract instead of carrying their own hexes. */
  --brand-glow:color-mix(in srgb,var(--brand) 30%,transparent);
  --coral-2:var(--coral);
  --shadow-sm:var(--elevation-1);
  --shadow:var(--elevation-2);
  --shadow-lg:var(--elevation-4);
}

body{ background:var(--bg); color:var(--ink); font-size:var(--type-body-size); line-height:var(--type-body-line); }

/* ═══ TYPE ═══════════════════════════════════════════════════════════════════
   One ramp, shared with the app. The old page had an h1 at 4.4rem and then
   everything else at roughly 16px, so there was a headline and there was text —
   no steps in between for a reader to climb. */
h1,h2,h3{ font-family:var(--z-display-font); }
h1{
  /* clamp between the phone's largest (display) and the laptop's (hero). A headline
     that fills a 1440px window hyphenates at 390px; one sized for the phone looks
     timid on the laptop. Same two tokens, interpolated. */
  font-size:clamp(var(--type-display-size),6.4vw,var(--type-hero-size));
  font-weight:var(--type-hero-weight);
  line-height:1.02;
  letter-spacing:var(--type-hero-tracking);
  text-wrap:balance;
  margin:var(--space-4) 0 var(--space-4);
}
h2{
  font-size:clamp(var(--type-title-size),3.6vw,var(--type-display-size));
  font-weight:var(--type-display-weight);
  line-height:1.1;
  letter-spacing:var(--type-display-tracking);
  text-wrap:balance;
  margin:var(--space-2) 0 var(--space-3);
}
h3{
  font-size:var(--type-heading-size); font-weight:var(--type-heading-weight);
  line-height:var(--type-heading-line); letter-spacing:var(--type-heading-tracking);
}
/* THE HEADLINE WAS WHITE ON PAPER. styles.css:169 carries `.herocopy h1 { color:#fff }`
   from when the hero was a dark marketing skin, and a bare `h1` in this layer loses to
   it on specificity — so the h1 rule above set the size correctly and the text stayed
   invisible. Caught by reading the computed style off a real browser, not by reading
   the CSS: `color=rgb(255,255,255)` on a #FAF9F7 ground. Matching specificity is the
   fix; deleting the legacy rule is not, because .authhero still depends on it.

   The gradient-filled headline word goes with it. It is a 2021 tell, and on a light
   ground it lowered contrast for the one word the sentence leans on. */
.herocopy h1, .hero h1{ color:var(--ink); }
h1 .hl, .herocopy h1 .hl{
  background:none; color:var(--brand);
  -webkit-background-clip:border-box; background-clip:border-box;
  -webkit-text-fill-color:var(--brand);
}

/* A section label is an eyebrow: it names the section without competing with the
   heading beneath it. Uppercase and tracking, not another size. */
.seclabel{
  display:inline-block; margin-bottom:var(--space-3);
  font-size:var(--type-label-size); font-weight:var(--type-label-weight);
  letter-spacing:.1em; text-transform:uppercase; color:var(--brand);
}
.secsub{ color:var(--ink-2); max-width:52ch; font-size:var(--type-body-size); line-height:var(--type-body-line); }

/* Microcopy stops being terminal output. `.mono` was applied to photo tips, the
   join-free line and the footer disclaimer — three places a customer reads to decide
   whether to trust us, set in a typeface that says "log file". */
.hint,.fineprint,.cap,.flow-kicker,.bd{
  /* font-family is the point. styles.css sets `font-family:var(--mono)` on .hint and
     .fineprint, so the photo tips, the "free to join" line and the price fine print —
     three things a stranger reads while deciding whether to trust us — were set in a
     typeface that says "log file". */
  font-family:inherit;
  font-size:var(--type-caption-size); line-height:var(--type-caption-line); color:var(--ink-2);
}
.mono:not(.tick):not(.buildstamp){ font-family:inherit; }

/* ═══ HEADER ═════════════════════════════════════════════════════════════════ */
header.site { background:color-mix(in srgb,var(--bg) 88%,transparent); backdrop-filter:blur(14px); border-bottom:1px solid var(--line); }
header.site .brand, header.site .brand b{ color:var(--ink); }
header.site .navlinks a{ color:var(--ink-2); font-weight:600; font-size:var(--type-label-size); }
header.site .navlinks a:hover{ color:var(--ink); }
header.site .logo{ background:var(--brand); box-shadow:none; border-radius:var(--radius-control); }

/* ═══ BUTTONS ════════════════════════════════════════════════════════════════
   Flat brand, not a gradient. A gradient on a pill reads as a 2020 SaaS button and
   it fights the paper ground; the deep green is the brand and it can carry itself. */
.btn.btn-primary,.btn-primary,.btn.primary{
  background:var(--brand); color:var(--on-brand); border:0;
  border-radius:var(--radius-pill); font-weight:700;
  box-shadow:var(--elevation-1);
}
.btn.btn-ghost,.btn-ghost{ background:var(--bg-2); color:var(--ink); border:1px solid var(--line); box-shadow:none; }
.btn.btn-ghost:hover{ border-color:var(--brand); color:var(--brand); }
@media (prefers-reduced-motion:no-preference){
  .btn{ transition:transform var(--duration-instant) var(--h-spring),filter var(--duration-fast),box-shadow var(--duration-fast); }
  .btn.btn-primary:hover,.btn-primary:hover{ filter:brightness(1.08); box-shadow:var(--elevation-2); transform:translateY(-1px); }
  .btn:active{ transform:translateY(0) scale(.98); }
}
:focus-visible{ outline:2px solid var(--brand); outline-offset:2px; }

/* ═══ HERO ═══════════════════════════════════════════════════════════════════
   Public booking happens outdoors on a phone, so the hero keeps the active theme's
   ground rather than forcing a marketing skin over it. One soft brand wash instead
   of two radial glows and a dot screen — the old hero had three background layers
   competing behind the only form that earns anything. */
.hero{
  position:relative; overflow:hidden; color:var(--ink);
  padding-block:var(--space-8) var(--space-7);
  background:
    radial-gradient(76% 58% at 88% -6%, color-mix(in srgb,var(--brand) 10%,transparent), transparent 70%),
    var(--bg);
}
.hero::before,.hero::after{ content:none; }
.hero .wrap{ position:relative; z-index:1; }
/* The hero is one column now. It used to be a two-column grid whose right half was the
   estimator, which on a phone stacked a 1,904px form directly under the headline — more
   than two screens before a stranger met a single reason to trust us. */
.herocopy{ max-width:34rem; }
.heroact{ margin:var(--space-5) 0 var(--space-4); }
.herocopy .sub,.hero .herocopy .sub{ color:var(--ink-2); font-size:calc(var(--type-body-size) + 2px); line-height:1.5; max-width:38ch; margin-bottom:var(--space-5); }
.herocopy .pill{
  background:var(--brand-tint); color:var(--brand-ink); border:0;
  font-size:var(--type-label-size); font-weight:var(--type-label-weight);
  padding:var(--space-1) var(--space-3); border-radius:var(--radius-pill);
}
.herocopy .chip{ background:transparent; border:1px solid var(--line); color:var(--ink-2); box-shadow:none; font-size:var(--type-label-size); }
/* A TABLIST WITH ONE VISIBLE TAB IS NOT A CHOICE, IT IS A SECOND BUTTON.
   #tab-haul carries `hidden`, so the segmented control rendered as a lone green pill
   reading "Get junk gone" directly above the hero's actual call to action — two
   primary-looking controls, one of which does nothing a visitor wants. The seg is not
   deleted, because app.js still drives it and unhides the driver tab in the hauler
   context: it simply does not show while there is nothing to choose between. */
.herocopy .seg:has(button[role="tab"][hidden]){ display:none; }
.herocopy .seg{ background:var(--card-2); border:1px solid var(--line); box-shadow:none; }
.herocopy .seg button{ color:var(--ink-2); font-size:var(--type-label-size); }
.herocopy .seg button[aria-selected="true"]{ color:var(--on-brand); background:var(--brand); box-shadow:none; }

/* ═══ THE ESTIMATOR CARD ═════════════════════════════════════════════════════
   This is the product. Everything else on the page exists to get someone to it, so
   it is the only surface that rises off the page — elevation 3, the level the token
   contract reserves for "a sheet over a map".

   The green header bar is gone. It coloured a strip that said "Get your price" and
   then left the actual price, six inches lower, in plain ink — the loudest thing on
   the card was its own label. */
#estimate .card{
  background:var(--card); color:var(--ink); border:1px solid var(--line-2);
  border-radius:var(--radius-feature); box-shadow:var(--elevation-3); overflow:hidden;
}
#estimate .card .card-head{
  background:var(--card); color:var(--ink);
  border-bottom:1px solid var(--line-2);
  padding:var(--space-4) var(--space-5);
}
#estimate .card .card-head b{ color:var(--ink); font-size:var(--type-heading-size); font-weight:var(--type-heading-weight); }
#estimate .card .card-head .tick{ background:var(--card-2); color:var(--ink-3); font-size:var(--type-caption-size); border-radius:var(--radius-pill); padding:var(--space-1) var(--space-3); }
#estimate .card .card-body{ padding:var(--space-5); gap:var(--space-5); }
.qhead{ font-size:var(--type-label-size); font-weight:var(--type-label-weight); color:var(--ink); letter-spacing:0; }
.qhead small{ color:var(--ink-3); font-weight:500; }
/* Same class of bug the note at the top of this file describes: styles.css:185 keeps
   `.herocopy .qhead` white for the OLD green hero. This file repaints the hero on paper but
   only redefined the low-specificity `.qhead` above, which loses to that selector — so the
   "Live on Zeft right now" label rendered white-on-white and vanished. Match its specificity. */
.herocopy .qhead{ color:var(--ink); }
.herocopy .qhead small{ color:var(--ink-3); }

/* The one obvious move. A stranger who lands here has exactly one thing to do, and
   the drop zone is the only element on the page allowed to breathe. */
#estimate .card .shotbtn{
  display:block; width:100%; padding:var(--space-5) var(--space-4);
  border-radius:var(--radius-card);
  border:2px dashed color-mix(in srgb,var(--brand) 45%,transparent);
  background:color-mix(in srgb,var(--brand) 6%,transparent);
  color:var(--brand-ink); font-weight:700; font-size:var(--type-heading-size); cursor:pointer;
}
#estimate .card .shotbtn-alt{
  border-style:solid; border-color:var(--line);
  background:var(--card-2); color:var(--ink-2);
  padding:var(--space-3) var(--space-4); font-size:var(--type-label-size);
}
@media (prefers-reduced-motion:no-preference){
  #estimate .card .shotbtn{ transition:background var(--duration-fast),border-color var(--duration-fast),transform var(--duration-instant) var(--h-spring); }
  #estimate .card .shotbtn:hover{ background:color-mix(in srgb,var(--brand) 12%,transparent); border-color:var(--brand); transform:translateY(-1px); }
  #estimate .card .shotbtn:active{ transform:scale(.99); }
}

/* The photo tips sat on --info-tint, a pale BLUE panel in the middle of a green
   product's only earning surface. info means "here is something you need to know
   about this job" — a status colour — and photo framing advice is not a status. It
   is help, and help is quiet. */
#estimate .card .photo-guide{ background:var(--card-2); border-color:var(--line-2); border-radius:var(--radius-control); }

/* The price is the answer the whole card is for. It was the same size as the
   question above it. */
#estimate .card .price{ font-size:clamp(var(--type-display-size),8vw,var(--type-hero-size)); font-weight:var(--type-hero-weight); letter-spacing:var(--type-hero-tracking); line-height:1.05; color:var(--ink); }
#estimate .card .price.empty,
#estimate .card .price.locked{
  /* The locked and empty states hold a SENTENCE, not a number. At the hero size a
     number reads as the answer and a sentence reads as a headline shouting at you —
     "Free with an account" set in 44px extrabold is louder than the price will ever
     be. Same slot, different job, different size. */
  font-size:var(--type-heading-size); font-weight:var(--type-heading-weight);
  color:var(--ink-2); letter-spacing:0; line-height:var(--type-heading-line);
}
#estimate .card .rl{ font-size:var(--type-label-size); font-weight:var(--type-label-weight); color:var(--ink-2); letter-spacing:.08em; text-transform:uppercase; }

/* ═══ COMMIT ═════════════════════════════════════════════════════════════════
   The one warm control in an otherwise green product, and the only place --commit
   is spent. It marks the instant money moves — Book, Authorize — and it is
   deliberately NOT the danger colour: a button that borrows the error tone reads as
   a warning at exactly the moment we want confidence. Twin of Button.tsx kind
   'commit' and .z-btn-commit in styles.css.

   The one !important in this file. #bookBtn.cta in styles.css carries an id, and an
   id outranks any class this layer can write; without it the commit colour simply
   does not apply and the rule is dead code that looks alive. */
.btn-commit,
#bookBtn.btn-commit{
  background:var(--commit) !important;
  color:var(--on-brand);
  box-shadow:var(--elevation-2);
}

/* ═══ THE ESTIMATOR, AS ITS OWN STEP ═════════════════════════════════════════
   It is the product, so it gets the page to itself: a single centred column at a
   width a form is actually readable in, and the only surface that rises off the
   page (elevation 3 — the level the contract reserves for a sheet over a map). */
#estimate{ background:var(--card-2); border-block:1px solid var(--line-2); padding-block:var(--space-8); scroll-margin-top:var(--space-8); }
#estimate .estimator{ max-width:36rem; }
#estimate .seg{ display:flex; margin-bottom:var(--space-5); }

/* The two links under the sign-in card are a link ROW, not a sentence, so the WCAG
   inline exception does not cover them — they measured 113x20 and 46x20 against a
   44px floor. They are also the only route out of the auth page for somebody who
   arrived unsure, which makes them the worst two links on the site to make hard to
   hit. Padding rather than font-size: the text stays the size it should be. */
.authlearn{ display:flex; flex-wrap:wrap; align-items:center; gap:var(--space-2); }
.authlearn a{ display:inline-flex; align-items:center; min-height:44px; padding:0 var(--space-2); }

/* ═══ THE PRICE LIST ═════════════════════════════════════════════════════════
   A price list is read by scanning DOWN the money column, not across rows, so the
   numbers are right-aligned and set in the heading weight while the names stay
   quiet. The old page offered one range — $235 to $3,275 — which is a 14x spread
   and reads as a refusal rather than an answer. */
#priceTable{ margin-block:var(--space-7); }
.pricelist{ list-style:none; margin:var(--space-5) 0 var(--space-4); padding:0; }
.pricerow{
  display:flex; align-items:baseline; justify-content:space-between;
  gap:var(--space-5); padding:var(--space-4) 0;
  border-bottom:1px solid var(--line-2);
}
.pricerow:last-child{ border-bottom:0; }
.pricename{ font-size:var(--type-body-size); color:var(--ink); }
.priceval{
  font-size:var(--type-heading-size); font-weight:var(--type-heading-weight);
  color:var(--ink); white-space:nowrap; font-variant-numeric:tabular-nums;
}

/* ═══ NAMED FACILITIES ═══════════════════════════════════════════════════════
   The replacement for a band that published two zeros and a fabricated haul. A
   young company cannot show volume; it can show paperwork. Set as a list of
   facts, not a grid of cards — a card implies a thing to click, and these are
   names to read and, if you like, to look up. */
.faclist{ list-style:none; margin:var(--space-5) 0 0; padding:0; display:grid; grid-template-columns:repeat(auto-fill,minmax(19rem,1fr)); gap:var(--space-2) var(--space-5); }
.facrow{
  display:flex; align-items:baseline; justify-content:space-between; gap:var(--space-4);
  padding:var(--space-3) 0; border-bottom:1px solid var(--line-2);
}
.facname{ font-size:var(--type-label-size); font-weight:var(--type-label-weight); color:var(--ink); }
/* The kind is the qualifier, not the headline: it says what KIND of licensed site
   this is, which matters, but the name is the checkable thing. */
.fackind{ font-size:var(--type-caption-size); color:var(--ink-3); white-space:nowrap; }

/* ═══ THE VALUE STRIP ════════════════════════════════════════════════════════ */
.strip{ border-block:1px solid var(--line); background:var(--bg-2); padding-block:var(--space-6); }
.strip .stat .big{ font-size:var(--type-heading-size); font-weight:var(--type-heading-weight); color:var(--ink); }
.strip .stat .cap{ color:var(--ink-2); }

/* ═══ SECTION RHYTHM ═════════════════════════════════════════════════════════
   The page alternated a tinted band with a plain one, every single time, for nine
   sections. Alternation is not hierarchy — it makes nine things read as nine
   equals. Space carries the ranking now, and exactly one band is tinted. */
.band{ padding-block:var(--space-9); }
.band.tint{ background:transparent; }
#trust{ background:var(--card-2); }
/* A section whose only child is still hidden must not spend a section's worth of
   padding. #arena stays empty until /api/public/activity answers, and on a failed or
   slow fetch it left a 90px band of nothing between the value strip and "How it
   works" — a gap a reader reads as a broken page. */
#arena:has(#arenaBox[hidden]),
#wheregoes[hidden]{ display:none; }
#trust,#flow-visuals{ border-top:1px solid var(--line-2); }

/* ═══ HOW IT WORKS ═══════════════════════════════════════════════════════════ */
.steps{ gap:var(--space-5); }
.stepcard{ background:var(--card); border:1px solid var(--line-2); border-radius:var(--radius-card); padding:var(--space-5); box-shadow:none; }
.stepcard .num{ border-radius:var(--radius-control); width:var(--space-6); height:var(--space-6); display:grid; place-items:center; font-size:var(--type-label-size); }
.stepcard h3{ margin:var(--space-3) 0 var(--space-2); }
.stepcard p{ color:var(--ink-2); margin:0; }

/* ═══ THE FLOW FIGURES ═══════════════════════════════════════════════════════
   Nineteen percent of the mobile page was three stacked illustrations. On a phone
   they become one swipeable row: the same three steps, in a fifth of the scroll,
   and the gesture matches what the copy already says ("swipe through"). */
.flow-grid{ gap:var(--space-5); }
.flow-card{ background:var(--card); border:1px solid var(--line-2); border-radius:var(--radius-card); overflow:hidden; box-shadow:none; }
.flow-copy{ padding:var(--space-5); }
.flow-kicker{ display:block; text-transform:uppercase; letter-spacing:.1em; font-weight:var(--type-label-weight); color:var(--brand); margin-bottom:var(--space-2); }
.flow-copy h3{ margin:0 0 var(--space-2); }
.flow-copy p{ color:var(--ink-2); margin:0; }

/* ═══ WHERE IT GOES ══════════════════════════════════════════════════════════ */
.wherelist{ display:grid; gap:var(--space-2); }
.whererow{
  display:grid; grid-template-columns:var(--space-6) 1fr; gap:var(--space-3); align-items:start;
  padding:var(--space-3) var(--space-4); border-radius:var(--radius-control);
  background:var(--card); border:1px solid var(--line-2);
}
.whereicon{ font-size:var(--type-heading-size); line-height:1.35; }
.whererow b{ display:block; font-size:var(--type-label-size); color:var(--ink); }
.whererow span{ display:block; font-size:var(--type-caption-size); color:var(--ink-2); line-height:1.5; margin-top:1px; }
.whererow .wherelaw, #wgFoot{ color:var(--ink-2); }

/* ═══ THE PROMISE ════════════════════════════════════════════════════════════ */
.hon{ background:var(--card); border:1px solid var(--line-2); border-radius:var(--radius-card); padding:var(--space-5); }
.hon h3{ margin:var(--space-3) 0 var(--space-3); }
.hon.a .tag{ color:var(--brand-ink); }
.hon.b .tag{ color:var(--gold); }

/* ═══ THE HAULER CTA ═════════════════════════════════════════════════════════
   Deep forest, the one place on the page that goes dark. It earns it by being the
   only section addressed to a different reader. */
.megacta{
  background:linear-gradient(135deg,var(--brand-2),color-mix(in srgb,var(--brand-2) 55%,black));
  border:0; border-radius:var(--radius-feature);
  box-shadow:var(--elevation-3); padding:var(--space-8) var(--space-6);
  color:var(--on-brand);
}
.megacta h2,.megacta p{ color:var(--on-brand); }
.megacta .btn{ background:var(--accent); color:var(--accent-ink); border:0; }

/* ═══ FOOTER ═════════════════════════════════════════════════════════════════
   Sixteen percent of the mobile page. Six single-file columns of links under a
   landing page is a sitemap, not a footer. */
footer{ background:var(--bg-2); border-top:1px solid var(--line); padding-block:var(--space-8) var(--space-6); }
footer .fcol b{ font-size:var(--type-label-size); letter-spacing:.08em; text-transform:uppercase; color:var(--ink); }
footer .fcol a{ color:var(--ink-2); font-size:var(--type-label-size); }
footer .fcol a:hover{ color:var(--brand); }
footer .disc{ color:var(--ink-2); }
footer .disc{ font-size:var(--type-caption-size); line-height:var(--type-caption-line); max-width:80ch; }
footer .foot-nap{ margin:0; color:var(--ink-2); font-size:var(--type-label-size); }

/* ═══ CARDS ELSEWHERE ════════════════════════════════════════════════════════ */
main .card, section .card:not(#estimate .card){ border-radius:var(--radius-card); border:1px solid var(--line-2); box-shadow:var(--elevation-1); }
@media (prefers-reduced-motion:no-preference){
  main .card, section .card:not(#estimate .card){ transition:box-shadow var(--duration-base),transform var(--duration-base) var(--h-spring); }
  main .card:hover, section .card:not(#estimate .card):hover{ transform:translateY(-2px); box-shadow:var(--elevation-2); }
}

/* ═══ PHONE ══════════════════════════════════════════════════════════════════
   The mobile landing measured 8,012px — about twenty-one screens, with no action
   reachable after the first one scrolled away. Every rule below is here because a
   number said so, not because it looked tight. */
@media (max-width:940px){
  .hgrid{ grid-template-columns:1fr; gap:var(--space-6); }
}
@media (max-width:780px){
  .hero{ padding-block:var(--space-6) var(--space-5); }
  .band{ padding-block:var(--space-7); }
  .megacta{ padding:var(--space-6) var(--space-5); }

  /* Three tall figure cards become one swipeable row. */
  .flow-grid{
    display:grid;
    /* `none` is load-bearing. styles.css sets an explicit grid-template-columns for
       the desktop layout, and grid-auto-COLUMNS only sizes IMPLICIT tracks — so with
       the template still in force the three cards were placed into it and the first
       collapsed to 2px, which grew the section from 1,520px to 3,199px. Measured,
       not guessed. */
    grid-template-columns:none;
    grid-auto-flow:column; grid-auto-columns:86%;
    overflow-x:auto; scroll-snap-type:x mandatory;
    gap:var(--space-4); padding-bottom:var(--space-3);
    scrollbar-width:none;
  }
  /* The figures are drawn as SVG at a fixed intrinsic width; without this they spill
     out of a narrow card instead of scaling down inside it. */
  .flow-card .ff, .flow-card svg{ max-width:100%; height:auto; }
  .flow-grid::-webkit-scrollbar{ display:none; }
  .flow-card{ scroll-snap-align:start; }
  .flow-copy{ padding:var(--space-4); }

  /* Two columns of links instead of six stacked ones. */
  footer .wrap{ display:grid; grid-template-columns:1fr 1fr; gap:var(--space-5) var(--space-4); }
  footer .fbrand{ grid-column:1 / -1; }
  footer .disc{ grid-column:1 / -1; }
  footer .foot-nap{ grid-column:1 / -1; }

  /* The action follows the reader down the page. Without this the only way to book
     from the bottom of the page was to scroll seven thousand pixels back up. The
     page also gains bottom padding, or the bar covers the last link in the footer. */
  /* Clearance for the fixed bar, computed rather than eyeballed: its own 48px, plus the
     space-4 gap under it, plus the space-4 above, plus the home indicator. --space-8 (64)
     was NOT enough — the audit caught a.z-mobilecta covering a footer link at 414px, which
     is precisely the "layers on top of each other" the owner reported. A fixed element that
     hides a link is a link that does not exist. */
  body{ padding-bottom:calc(48px + var(--space-4) + var(--space-5) + env(safe-area-inset-bottom)); }
  .z-mobilecta{
    position:fixed; left:var(--space-4); right:var(--space-4);
    bottom:calc(var(--space-4) + env(safe-area-inset-bottom));
    z-index:50; display:flex; align-items:center; justify-content:center;
    min-height:48px; border-radius:var(--radius-pill);
    background:var(--brand); color:var(--on-brand);
    font-weight:700; font-size:var(--type-heading-size); text-decoration:none;
    box-shadow:var(--elevation-4);
  }
}
/* On a laptop the header CTA is always visible, so the bar would be redundant chrome. */
@media (min-width:781px){ .z-mobilecta{ display:none; } }

/* ═══ THE EYE ════════════════════════════════════════════════════════════════
   A price that simply appears reads as invented; the same number after a visible
   scan reads as MEASURED. That difference is the product — the customer is buying
   our reading of their pile, so the reading has to be something they can watch.

   Every effect here decorates a result that already exists: the scan runs while the
   real request is in flight and never gates it, and the count-up lands on the exact
   figure the server returned. Skip the animation — reduced motion, an old browser —
   and the customer sees the same price, instantly. */
.eyestage{ position:relative; width:100%; aspect-ratio:4/3; max-height:460px; border:1px solid var(--line); border-radius:var(--radius-control); overflow:hidden; margin-top:var(--space-3); background:color-mix(in srgb,var(--ink) 92%,var(--card-2)); transition:border-color var(--duration-fast) ease,box-shadow var(--duration-fast) ease; }
.eyestage img{ display:block; width:100%; height:100%; object-fit:contain; }
.eyestage.scanning{ border-color:var(--brand); box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 18%,transparent); }
.eyephase{ position:absolute; left:var(--space-2); right:var(--space-2); bottom:var(--space-2); z-index:4; display:flex; align-items:center; gap:var(--space-2); width:max-content; max-width:calc(100% - var(--space-4)); padding:.55rem .7rem; border:1px solid rgba(255,255,255,.2); border-radius:var(--radius-control); background:rgba(5,31,61,.88); color:#fff; box-shadow:0 8px 24px rgba(0,0,0,.22); backdrop-filter:blur(8px); }
.eyephase>span:last-child{ display:grid; gap:1px; min-width:0; }
.eyephase b{ font-size:var(--type-caption-size); line-height:1.2; }
.eyephase small{ color:rgba(255,255,255,.74); font-size:.68rem; line-height:1.25; }
.eyephase-dot{ width:9px; height:9px; flex:0 0 auto; border-radius:50%; background:var(--brand); box-shadow:0 0 0 0 color-mix(in srgb,var(--brand) 55%,transparent); animation:eyephasepulse 1.4s ease-out infinite; }
.eyephase-check,.eyephase-alert{ display:grid; place-items:center; width:21px; height:21px; flex:0 0 auto; border-radius:50%; background:var(--brand); color:var(--on-brand); font-weight:900; }
.scan-failed .eyephase-alert{ background:var(--coral); }
@keyframes eyephasepulse{ 70%{ box-shadow:0 0 0 8px transparent } 100%{ box-shadow:0 0 0 0 transparent } }
.eyescan{
  position:absolute; left:0; right:0; top:0; height:3px;
  background:linear-gradient(90deg,transparent,var(--brand),transparent);
  box-shadow:0 0 22px 4px color-mix(in srgb,var(--brand) 35%,transparent);
  opacity:0;
}
.eyestage.scanning .eyescan{
  opacity:1;
  animation:eyesweep var(--duration-sweep) var(--ease-decelerate) infinite;
}
@keyframes eyesweep{ from{ top:0 } to{ top:100% } }
.eyebox{
  position:absolute; border:2px solid var(--brand); border-radius:var(--radius-control);
  opacity:0; transform:scale(.9);
  transition:opacity var(--duration-base) var(--ease-standard),transform var(--duration-base) var(--ease-overshoot);
}
.eyebox.on{ opacity:1; transform:scale(1); }
.eyebox .tag{
  position:absolute; top:0; left:0; max-width:min(220px, 100%); min-height:22px;
  background:transparent; color:#fff;
  text-shadow:0 1px 2px #000, 0 0 3px #000;
  font-size:var(--type-caption-size); font-weight:900; line-height:22px; text-align:center;
  padding:0 6px; border-radius:4px; white-space:normal; overflow-wrap:anywhere; text-align:left;
}
.eyebox .eyex{
  position:absolute; top:-9px; right:-9px; width:20px; height:20px;
  border:0; border-radius:var(--radius-pill);
  background:var(--commit); color:var(--on-brand);
  font-size:var(--type-caption-size); line-height:1; cursor:pointer;
  display:grid; place-items:center; box-shadow:var(--elevation-2);
  opacity:0; transition:opacity var(--duration-fast) var(--ease-standard);
}
.eyebox.on .eyex{ opacity:1; }
/* Touch has no hover, so the control must never depend on one to be reachable. */
@media (hover:none){ .eyebox .eyex{ opacity:1; } }

/* The proof, attached to the claim it supports. A chip that says only "Bed frame" is
   indistinguishable from a guess, and one wrong noun is enough for a reader to stop
   trusting the other three — which is the whole product. */
.chip.live{ flex-direction:column; align-items:flex-start; gap:2px; line-height:1.35; }
#eyeRead .chips{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--space-2); }
#eyeRead .chip.live,
#eyeRead .chip.warn{
  width:100%; min-width:0; border-radius:var(--radius-control);
  box-shadow:0 5px 16px color-mix(in srgb, var(--ink) 8%, transparent);
  padding:var(--space-3);
}
#eyeRead .chip.live .why{ max-width:none; }
@media (max-width:520px){ #eyeRead .chips{ grid-template-columns:1fr; } }
.chip.live .why{ display:block; opacity:.78; font-size:var(--type-caption-size); font-weight:500; max-width:30ch; }
.chip.live .from{ display:block; font-size:var(--type-caption-size); font-weight:var(--type-label-weight); opacity:.55; text-transform:uppercase; letter-spacing:.04em; }
/* The visitor's list controls (2026-09-17): ✕ on a found item, tap-to-add offers, undo. */
#eyeRead .chip.live{ position:relative; padding-right:calc(var(--space-3) + 30px); }
.chip-x{ position:absolute; top:var(--space-2); right:var(--space-2); display:inline-grid; place-items:center; width:28px; height:28px; padding:0; border-radius:8px; border:1.5px solid var(--line); background:var(--bg); color:var(--ink); font:inherit; font-size:.95rem; line-height:1; cursor:pointer; }
.chip-x:hover, .chip-x:focus-visible{ border-color:var(--brand); }
#eyeRead .chip.suggest, #eyeRead .chip.removed{ width:100%; min-width:0; justify-content:flex-start; border-radius:var(--radius-control); padding:var(--space-2) var(--space-3); font:inherit; font-weight:600; cursor:pointer; background:transparent; color:var(--ink); border:1.5px dashed var(--line); }
#eyeRead .chip.removed{ color:var(--ink-2); }
#eyeRead .chip.suggest:hover, #eyeRead .chip.removed:hover{ border-color:var(--brand); }

/* Pay-first guests correct the photographed list before they hold a card. */
#eyeRead .chip-qty{ display:inline-flex; align-items:center; gap:.25rem; margin-top:.45rem; border:1px solid var(--line); border-radius:999px; background:var(--bg); }
#eyeRead .chip-qty button{ display:grid; place-items:center; min-width:2.75rem; min-height:2.75rem; border:0; border-radius:999px; background:transparent; color:var(--brand); font:inherit; font-size:1.25rem; font-weight:750; cursor:pointer; }
#eyeRead .chip-qty b{ min-width:2ch; text-align:center; font-variant-numeric:tabular-nums; }
#eyeRead .chip-qty button:hover,#eyeRead .chip-qty button:focus-visible{ background:var(--brand-tint,var(--bg-2)); outline-color:var(--brand); }
#eyeRead .eye-catalog{ margin-top:var(--space-3); padding:var(--space-3); border:1px solid var(--line); border-radius:var(--radius-control); background:var(--bg-2); }
#eyeRead .eye-catalog label{ display:block; margin-bottom:.45rem; font-weight:750; }
#eyeRead .eye-catalog-row{ display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.5rem; }
#eyeRead .eye-catalog select,#eyeRead .eye-catalog button{ box-sizing:border-box; min-width:0; min-height:2.75rem; border:1px solid var(--line); border-radius:var(--radius-control); padding:.55rem .75rem; font:inherit; }
#eyeRead .eye-catalog select{ width:100%; background:var(--bg); color:var(--ink); }
#eyeRead .eye-catalog button{ background:var(--brand); color:var(--on-brand,#fff); font-weight:750; cursor:pointer; }
#eyeRead .eye-catalog button:hover,#eyeRead .eye-catalog button:focus-visible{ filter:brightness(.94); outline-color:var(--brand); }
#eyeRead .eye-catalog .hint{ margin:.55rem 0 0; }
@media(max-width:520px){ #eyeRead .eye-catalog-row{ grid-template-columns:1fr; } #eyeRead .eye-catalog button{ width:100%; } }

/* The dashboard read — five photos, each scanned, each carrying its own findings.
   The landing shows one because a stranger has given us one; here the customer has
   up to five and is about to spend real money. */
.eyestages{ display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:var(--space-2); }
.eyestages .eyestage{ margin-top:0; }
.eyestages .eyenum{
  position:absolute; top:6px; left:6px; z-index:2; width:19px; height:19px;
  border-radius:var(--radius-pill); background:var(--scrim); color:var(--brand-ink);
  font-size:var(--type-caption-size); font-weight:var(--type-label-weight);
  display:grid; place-items:center;
}
.eyestages .eyecell{ display:flex; flex-direction:column; gap:var(--space-1); }
.eyecap{ margin:0; font-size:var(--type-caption-size); line-height:1.45; color:var(--ink-2); padding:0 2px; }
.eyecap.muted{ color:var(--ink-3); font-style:italic; }
.eyelegend{ display:grid; gap:var(--space-1); }
.eyelegend-items{ display:flex; flex-wrap:wrap; gap:var(--space-1); }
.eyelegend-item{
  display:inline-flex; align-items:center; gap:var(--space-1); max-width:100%;
  padding:5px 8px; border-radius:var(--radius-pill); background:var(--brand-tint);
  color:var(--ink); font-weight:var(--type-label-weight);
}
.eyelegend-item i{
  display:grid; place-items:center; flex:0 0 18px; width:18px; height:18px;
  border-radius:var(--radius-pill); background:var(--brand); color:var(--on-brand);
  font-size:10px; font-style:normal; font-weight:900; line-height:1;
}

/* ═══ WHAT STANDS BETWEEN A HAULER AND THEIR FIRST JOB ════════════════════════
   Said before they tap. A driver used to find out their insurance had lapsed by
   tapping Accept on a job they wanted and getting a 403 — the worst possible
   moment, on the one action that pays them. */
.cbl  { border-color:var(--coral); margin-bottom:var(--space-5); }
.cwarn{ border-color:var(--gold);  margin-bottom:var(--space-5); }
.cprovisional{ border-color:var(--gold); background:var(--gold-tint); margin-bottom:var(--space-5); }
.cblist{ margin:var(--space-1) 0 var(--space-2); padding-left:var(--space-4); display:grid; gap:var(--space-1); }
.cblist li{ font-size:var(--type-label-size); line-height:1.45; }

/* Deliberately NOT red like .cbl: an unfinished application is a normal state for
   somebody who signed up two minutes ago, and painting it as a fault greets every
   new driver with an alarm. Brand-tinted = "here is your next step". */
.capply{ border-color:var(--brand); margin-bottom:var(--space-5); max-width:56rem; }
.application-next{ display:grid; gap:var(--space-2); padding:var(--space-4); margin-top:var(--space-2); border-radius:var(--radius-card); background:var(--brand-tint); border:1px solid var(--brand); }
.application-next h3,.application-next p{ margin:0; }
.application-next em{ color:var(--ink-2); font-size:var(--type-label-size); font-style:normal; }
.application-next .applygo{ justify-self:start; margin-top:var(--space-1); }
.application-wait{ color:var(--brand-ink); font-weight:700; }
.application-plan{ margin-top:var(--space-3); }
.application-plan>summary{ cursor:pointer; color:var(--ink-2); font-size:var(--type-label-size); font-weight:700; min-height:44px; display:flex; align-items:center; }
.vehicle-actions,.vehicle-plate-fields{ display:flex; gap:var(--space-2); align-items:center; flex-wrap:wrap; }
.vehicle-card-title{ display:flex; justify-content:space-between; align-items:center; gap:var(--space-2); }
/* A vehicle card: the truck and its actions on top, then one row per paper with its status. */
.vehicle-docitem{ flex-direction:column; align-items:stretch; }
/* A truck card stacks its head and its document rows. The phone-width rule in styles.css gives every
   .docitem wrap and a full-basis first child; in a column that made the head take the whole height
   and pushed the rows into a second column off the right edge at 390 (QA 2026-10-12). Never wrap here. */
.vehicle-docitem{ flex-wrap:nowrap; }
.vehicle-docitem > :first-child{ flex:0 0 auto; }
.vehicle-docitem-head,.vehicle-doc{ display:flex; justify-content:space-between; align-items:center; gap:var(--space-2); flex-wrap:wrap; }
.vehicle-docs{ display:grid; gap:var(--space-2); }
.vehicle-doc{ border-top:1px solid var(--line); padding-top:var(--space-2); }
#secRoute>#hSetup,#secRoute>#haulerTools{ display:none; }
#secRoute.setup-mode>.route-only{ display:none; }
#secRoute.setup-mode>#hSetup{ display:block; margin-top:0; }
.vehicle-plate-fields>.field{ min-width:10rem; }
.applysteps{ margin:var(--space-2) 0 0; padding:0; list-style:none; display:grid; gap:var(--space-2); }
.applysteps li{ display:grid; gap:2px; padding:var(--space-2) var(--space-3); border-radius:var(--radius-control); border:1px solid var(--line); background:var(--card); }
.applysteps li b{ font-size:var(--type-label-size); }
.applysteps li span{ font-size:var(--type-label-size); line-height:1.45; color:var(--ink-2); }
.applysteps li em{ font-size:var(--type-caption-size); font-style:normal; color:var(--ink-3); }
/* Done steps recede (quiet fill, no border emphasis); they are receipts, not instructions. They must stay
   readable: lowering the whole row's opacity put the title at 2.6:1 and the reason at 3.0:1. */
.applysteps li.is-done{ background:var(--card-2); }
.applysteps li.is-done b{ color:var(--brand-ink); }
/* Ours to finish, not theirs — no button, and it must not look like an outstanding task. */
.applysteps li.is-ours{ border-style:dashed; }
.applysteps li.is-todo{ border-color:var(--brand); }
.applysteps .applygo{ margin-top:var(--space-1); justify-self:start; min-height:40px; }

.load-measurement-truth{
  display:grid; gap:2px; margin-top:var(--space-2); padding:var(--space-2) var(--space-3);
  border:1px solid var(--info); border-radius:var(--radius-control);
  background:var(--info-tint); color:var(--ink); font-size:var(--type-caption-size);
}
.load-measurement-truth small{ color:var(--ink-2); }

/* ═══ MOTION ═════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion:no-preference){
  .hero .herocopy{ animation:h-rise var(--duration-slow) var(--h-spring) both; }
  @keyframes h-rise{ from{ opacity:0; transform:translateY(12px) } to{ opacity:1; transform:none } }
}
@media (prefers-reduced-motion:reduce){
  .eyestage.scanning .eyescan{ animation:none; opacity:0; }
  .eyephase-dot{ animation:none; }
  .eyebox{ transition:none; }
  .hero .herocopy{ animation:none; }
  .btn,main .card,section .card{ transition:none; }
}

/* ═══ PRINT ══════════════════════════════════════════════════════════════════
   The invoice is printed straight from the browser (window.print() in dashboard.js)
   and until now there was no @media print rule anywhere in frontend/css — so
   whatever ground the screen used went onto the paper, along with the header, the
   sticky action bar and every navigation link. Paper is white and ink is black; a
   customer printing a receipt should get the receipt. */
@media print{
  :root{ --bg:#fff; --bg-2:#fff; --card:#fff; --card-2:#fff; --ink:#000; --ink-2:#333; --ink-3:#555; --line:#bbb; --line-2:#ddd; }
  body{ background:#fff; color:#000; }
  header.site,footer,.z-mobilecta,.megacta,.strip,.seg,.shotbtn,.btn,.cta{ display:none; }
  main .card,section .card,#estimate .card{ box-shadow:none; border:1px solid #bbb; }
  .band{ padding-block:0; }
  a[href]::after{ content:""; }
}

/* ── Funnel stage header (Q03) — the web twin of the app's StageFrame ─────────────────── */
.funnel-stage{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--space-2);margin-bottom:var(--space-4)}
.fs-indicator{list-style:none;margin:0 0 var(--space-2);padding:0;display:flex;align-items:center;gap:var(--space-2)}
.fs-step{display:flex;align-items:center;gap:var(--space-2);flex:1 1 0;min-width:0;color:var(--ink-3);font-weight:700;font-size:var(--type-label-size)}
.fs-step:last-child{flex:0 0 auto}
.fs-label{white-space:nowrap}
.fs-step:not(:last-child)::after{min-width:var(--space-2)}
.fs-step:not(:last-child)::after{content:"";flex:1;height:0.125rem;background:var(--line);margin-left:var(--space-2)}
.fs-step.on:not(:last-child)::after{background:var(--brand)}
.fs-step.current{color:var(--ink)}
.fs-dot{flex:0 0 auto;width:1.75rem;height:1.75rem;border-radius:var(--radius-pill);border:0.125rem solid var(--line);display:grid;place-items:center;background:var(--card);color:var(--ink-3);font-size:var(--type-caption-size);font-weight:800}
.fs-step.on .fs-dot{background:var(--brand);border-color:var(--brand);color:var(--on-brand)}
.fs-step.current .fs-dot{border-color:var(--brand-2)}
.fs-eyebrow{color:var(--brand-ink);letter-spacing:0.12em;text-transform:uppercase;margin:0}
.fs-title{margin:0}
.fs-body{color:var(--ink-2);margin:0}

/* ── Hauler offer card (Q08) — payout first, four facts, one Accept; units behind Load details ── */
.dv2-task .price.offer-hero{font-size:var(--type-display-size);line-height:var(--type-display-line);font-weight:var(--type-display-weight);color:var(--brand-ink);letter-spacing:-0.02em}
.offer-hero-label{font-size:var(--type-caption-size);color:var(--ink-3);font-weight:600;letter-spacing:0.06em;text-transform:uppercase}
.offer-facts{display:flex;flex-wrap:wrap;gap:var(--space-2);margin:var(--space-2) 0}
.offer-fact{border:0.0625rem solid var(--line);border-radius:var(--radius-pill);padding:var(--space-1) var(--space-3);background:var(--card-2);color:var(--ink);font-size:var(--type-caption-size);font-weight:700}
.offer-load{margin:var(--space-2) 0}
.offer-load>summary{cursor:pointer;color:var(--brand-ink);font-weight:700;min-height:2.75rem;display:flex;align-items:center}

/* ── Admin history table (Q10) — an operator compares rows; cards are for the record under investigation ── */
.admin-jobs-scroll{overflow-x:auto;border:0.0625rem solid var(--line);border-radius:var(--radius-control);background:var(--card);margin-top:var(--space-3)}
.admin-jobs-table{border-collapse:collapse;width:100%;min-width:40rem;font-size:var(--type-label-size);font-variant-numeric:tabular-nums}
.admin-jobs-table th,.admin-jobs-table td{text-align:left;vertical-align:top;padding:var(--space-2) var(--space-3);border-top:0.0625rem solid var(--line-2)}
.admin-jobs-table thead th{border-top:0;background:var(--card-2);color:var(--ink-2);font-size:var(--type-caption-size);font-weight:700;letter-spacing:0.06em;text-transform:uppercase}
.admin-jobs-table td.num,.admin-jobs-table th.num{text-align:right;white-space:nowrap}
.admin-jobs-table td.what small{display:block;color:var(--ink-3)}
.admin-jobs-table td.ref code{font-size:var(--type-caption-size)}
.admin-jobs-table tr.qa td{color:var(--ink-3)}
.admin-jobs-table td.act .dv2-act{min-height:2.75rem;padding:var(--space-1) var(--space-3)}
/* Stuck-job actions must stay on-screen in the mobile admin desk. */
@media(max-width:720px){
  #aStuckJobs .admin-jobs-scroll{overflow:visible;border:0;background:transparent}
  #aStuckJobs .admin-jobs-table,#aStuckJobs .admin-jobs-table tbody{display:block;min-width:0;width:100%}
  #aStuckJobs .admin-jobs-table thead{display:none}
  #aStuckJobs .admin-jobs-table tr{display:grid;gap:var(--space-2);min-width:0;margin-bottom:var(--space-2);padding:var(--space-3);border:0.0625rem solid var(--line);border-radius:var(--radius-control);background:var(--card)}
  #aStuckJobs .admin-jobs-table td{display:block;min-width:0;padding:0;border:0;overflow-wrap:anywhere}
  #aStuckJobs .admin-jobs-table td::before{content:attr(data-label);display:block;margin-bottom:var(--space-1);color:var(--ink-3);font-size:var(--type-caption-size);font-weight:700}
  #aStuckJobs .admin-jobs-table td.act{display:flex;flex-wrap:wrap;gap:var(--space-2)}
  #aStuckJobs .admin-jobs-table td.act::before{flex-basis:100%}
}

/* ── Work Now home (Q08) — one Online control, the job in flight, the offers waiting ── */
.worknow-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));gap:var(--space-3);margin:var(--space-3) 0}
.worknow-card{display:grid;gap:var(--space-2);padding:var(--space-4);border:0.0625rem solid var(--line);border-radius:var(--radius-card);background:var(--card)}
.worknow-card.current{border-color:var(--brand);background:var(--brand-tint)}
.worknow-card>b{font-size:var(--type-title-size);line-height:var(--type-title-line);font-weight:var(--type-title-weight);color:var(--ink)}
.worknow-card>.meta{color:var(--ink-2)}
.worknow-card .dv2-act{justify-self:start;min-height:2.75rem}

/* ── Proof of work (Q09) — route line + three evidence slots with a readable state ── */
.proof-stage{display:grid;gap:var(--space-2);margin:var(--space-3) 0;padding:var(--space-3);border:0.0625rem solid var(--line);border-radius:var(--radius-card);background:var(--card)}
.proof-route{display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--space-2)}
.proof-route>b{color:var(--ink)}
.proof-route>.linkbtn{margin-inline-start:auto;min-height:2.75rem;display:inline-flex;align-items:center}
.proof-slots{list-style:none;margin:0;padding:0;display:grid;gap:var(--space-1)}
.proof-slot{display:grid;grid-template-columns:1.5rem auto 1fr;align-items:baseline;gap:var(--space-2);min-height:2.75rem;color:var(--ink-2)}
.proof-slot .proof-label{font-weight:600;color:var(--ink)}
.proof-slot[data-state="done"] .proof-mark{color:var(--brand)}
.proof-slot[data-state="done"] .proof-detail{color:var(--brand)}
.proof-slot[data-state="saved"]{background:var(--brand-tint);border-radius:var(--radius-card);padding-inline:var(--space-2)}
.proof-slot[data-state="saved"] .proof-detail{color:var(--ink)}
/* N32: on a phone the third track squeezed the detail into two ragged lines ("Recommended ·
   may / be skipped"). Stack it under its label instead of racing it for the same row. */
@media(max-width:30rem){.proof-slot{grid-template-columns:1.5rem 1fr;grid-template-rows:auto auto;align-items:start;padding-block:var(--space-1)}.proof-slot .proof-detail{grid-column:2;text-align:start}}
@media(min-width:768px){.proof-slots{grid-template-columns:repeat(3,1fr)}.proof-slot{grid-template-columns:1.5rem 1fr;grid-template-rows:auto auto}.proof-slot .proof-detail{grid-column:2}}
.proof-route>.eyebrow{flex-basis:100%;font-size:.75rem;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-2)}
.proof-signoff{display:grid;flex:1 1 100%;gap:.35rem;text-align:start}.proof-signoff>span{font-weight:700;color:var(--ink)}.proof-signoff>input{box-sizing:border-box;width:100%;min-height:2.75rem;padding:.7rem .8rem;border:1px solid var(--line);border-radius:.75rem;background:var(--card);color:var(--ink);font:inherit}.proof-signoff>input:focus{outline:3px solid color-mix(in srgb,var(--brand) 24%,transparent);border-color:var(--brand)}.proof-signoff>small{color:var(--ink-2);line-height:1.35}
/* ── Admin action queue (Q42) — what needs a human, systemic first ── */
.admin-alerts{display:grid;gap:var(--space-2);margin:0 0 var(--space-3);padding:var(--space-3);border:0.0625rem solid var(--line);border-radius:var(--radius-card);background:var(--card);min-width:0}
.admin-alerts>.eyebrow{font-size:.75rem;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-2)}
.admin-alerts-list{list-style:none;margin:0;padding:0;display:grid;gap:var(--space-1)}
.admin-alert{display:grid;grid-template-columns:2.75rem minmax(0,1fr) auto;align-items:center;gap:var(--space-2);min-height:2.75rem;padding-inline:var(--space-2);border-radius:var(--radius-card);color:var(--ink)}
.admin-alert>span:not(.admin-alert-count){min-width:0;overflow-wrap:anywhere}
.admin-alert[data-severity="high"]{background:var(--coral-tint,var(--brand-tint));border-inline-start:0.25rem solid var(--coral)}
.admin-alert[data-severity="info"]{border-inline-start:0.25rem solid var(--line)}
.admin-alert-count{font-weight:700;font-variant-numeric:tabular-nums;text-align:center}
.admin-alerts-clear,.admin-alerts-supply{margin:0;color:var(--ink-2)}

/* ── Stale desk (Q29) — under the dispatch board; dormant state says so ── */
/* 2026-10-02: the admin cancel dialog, the crew's "I can't finish" sheet and the delete dialog's blockers. */
.admin-cancel-form,.cant-finish-form{display:grid;gap:var(--space-2)}
.radio-list{display:grid;gap:var(--space-2);margin:0;padding:0;border:0}
.radio-list legend{font-weight:700;margin-bottom:var(--space-1)}
.radio-list label{display:flex;gap:var(--space-2);align-items:flex-start;padding:var(--space-2) var(--space-3);border:0.0625rem solid var(--line);border-radius:var(--radius-control);background:var(--card);cursor:pointer}
.radio-list label small{display:block;color:var(--ink-3)}
.radio-list input{margin-top:0.2rem;flex:0 0 auto;width:auto}
.radio-list input:disabled+span{opacity:.55}
.admin-cancel-fee{margin:0}
.account-delete-blockers{display:grid;gap:var(--space-2)}
.account-delete-blocker{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:var(--space-2);align-items:center;padding:var(--space-2) var(--space-3);border:0.0625rem solid var(--line);border-radius:var(--radius-control);background:var(--card)}
.account-delete-blocker small{display:block;color:var(--ink-3)}
.account-delete-blocker>button{justify-self:end;white-space:nowrap;min-height:2.5rem;padding:0.45rem 0.9rem;border:0.0625rem solid var(--line);border-radius:var(--radius-control);background:var(--card);color:var(--brand);font:inherit;font-weight:700;cursor:pointer}
.account-delete-blocker>button:hover{border-color:var(--brand)}
/* The dialog's body sits inside the card's edge, not flush with it; the green header stays full width. */
.account-delete-form>:not(.chathead){margin-inline:var(--space-3)}
.account-delete-form>button:not(.linkbtn){width:auto;justify-self:stretch}
@media (max-width:30rem){.account-delete-blocker{grid-template-columns:minmax(0,1fr)}.account-delete-blocker>button{justify-self:stretch;width:100%}}
/* The delete dialog's password and DELETE boxes, the cancel reason and the crew's sheet: the same
   shape as the console's .field input (review 2026-10-02: they rendered browser-default). */
.account-delete-form input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.admin-cancel-form textarea,.cant-finish-form textarea,.cant-finish-form select,input.stuck-hours{font-family:inherit;font-size:1rem;color:var(--ink);background:var(--bg-2);border:0.09375rem solid var(--line);border-radius:var(--radius-control);padding:0.7rem 0.8rem;box-sizing:border-box}
.admin-cancel-form textarea,.cant-finish-form textarea,.cant-finish-form select{width:100%}
/* Inset by margin inside the grid, so the boxes stretch to the inset rather than a 100% that overflows it. */
.account-delete-form input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]){width:auto;justify-self:stretch;min-width:0}
.account-delete-form input:focus,.admin-cancel-form textarea:focus,.cant-finish-form textarea:focus{border-color:var(--brand)}
.stuck-hours{width:5rem;display:inline-block;margin:0 var(--space-1)}
.release-request{border-left:0.25rem solid var(--line-2);padding-left:var(--space-2)}
.stale-desk{display:grid;min-width:0;gap:var(--space-2);margin:var(--space-3) 0;padding:var(--space-3);border:0.0625rem solid var(--line);border-radius:var(--radius-card);background:var(--card)}
.stale-desk [data-stuck-list]{min-width:0}
.stale-desk>.eyebrow{font-size:.75rem;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-2)}
.stale-desk-line{margin:0;color:var(--ink)}
.stale-desk .row{display:flex;flex-wrap:wrap;gap:var(--space-2)}
.stale-desk .dv2-act{min-height:2.75rem}

/* Q10 exception-first: the door that clears an alert sits on the row; the age is an aside. */
.admin-alert-door{justify-self:end;white-space:nowrap;font-size:.8125rem;font-weight:600;color:var(--brand-ink);text-decoration:none;padding:var(--space-1) var(--space-2);border-radius:var(--radius-pill);border:0.0625rem solid var(--line)}
.admin-alert-door:hover,.admin-alert-door:focus-visible{background:var(--brand-tint)}
.admin-alert-age{display:block;color:var(--ink-3);font-size:.75rem}
@media (max-width:40rem){.admin-alert{grid-template-columns:2.75rem minmax(0,1fr)}.admin-alert-door{grid-column:2;justify-self:start}}
/* Owner defect 2026-10-02: no dead end on a stuck pickup. The customer's "Your hauler hasn't
   finished this pickup" block, the operator's inline refusal with Cancel, and the exit switch. */
.stuck-start{display:grid;gap:var(--space-1);margin:var(--space-2) 0;padding:var(--space-3);border:0.0625rem solid color-mix(in srgb,var(--coral) 55%,var(--line));border-radius:var(--radius-card);background:color-mix(in srgb,var(--coral) 7%,var(--card))}
.stuck-start>b{color:var(--ink)}
.stuck-start>span,.stuck-start>small{color:var(--ink-2);line-height:1.4}
.stuck-start>.row{display:flex;flex-wrap:wrap;gap:var(--space-2)}
.admin-card-refusal{display:grid;gap:var(--space-2);margin-top:var(--space-2);padding:var(--space-2) var(--space-3);border:0.0625rem solid color-mix(in srgb,var(--coral) 55%,var(--line));border-radius:var(--radius-control);background:color-mix(in srgb,var(--coral) 7%,var(--card))}
.admin-card-refusal.hidden{display:none}
.admin-card-refusal p{margin:0;color:var(--ink);overflow-wrap:anywhere}
.admin-card-refusal .row{display:flex;flex-wrap:wrap;gap:var(--space-2)}
.stuck-exit-toggle{display:flex;gap:var(--space-2);align-items:flex-start;color:var(--ink)}
.stuck-exit-toggle small{color:var(--ink-3)}
.dsp-closed-head{margin:.6rem 0 .3rem}
.status.dsp-urgent{color:var(--coral-2);border-color:var(--coral-2)}
.dsp-urgent-line{margin:.3rem 0;color:var(--coral-2)}
.ops-timers{display:flex;flex-wrap:wrap;gap:var(--space-2);align-items:center;margin:.4rem 0 .8rem}
.ops-timers label{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-1)}
.dsp-closed-card{margin-bottom:.5rem}
.dsp-closed-top{display:flex;justify-content:space-between;gap:.5rem;flex-wrap:wrap;align-items:baseline}
.dsp-closed-note{margin:.3rem 0;overflow-wrap:anywhere}
.customer-job-fold-copy .stuck-start-flag{display:block;color:var(--coral);font-weight:700}

/* embedded-estimator.js — the content-page twin of the price readout, ZEFT-217 sprint C5 */
.embed-estimator{max-width:360px;margin-top:1rem}
.embed-estimator .ee-pick{display:block;cursor:pointer}
.embed-estimator .ee-pick input{position:absolute;width:1px;height:1px;opacity:0}
.embed-estimator .ee-result:empty{display:none}
.embed-estimator .ee-row{margin-top:.75rem;padding:1rem;border-radius:var(--r-lg);background:var(--bg-2);border:1px solid var(--line)}
.embed-estimator .ee-reading{display:flex;align-items:center;gap:.5rem;color:var(--ink-2)}
.embed-estimator .ee-spin{width:1rem;height:1rem;border-radius:50%;border:2px solid var(--line);border-top-color:var(--brand);animation:ee-spin .8s linear infinite}
@keyframes ee-spin{to{transform:rotate(360deg)}}
.embed-estimator .ee-items{list-style:none;margin:0 0 .5rem;padding:0;font-size:.9rem;color:var(--ink-2)}
.embed-estimator .ee-items li{padding:.15rem 0}
.embed-estimator .ee-price{font-weight:800;font-size:1.6rem;letter-spacing:-.02em;color:var(--ink);margin:0 0 .35rem}
.embed-estimator .ee-fine{font-size:.78rem;color:var(--ink-2);margin:0 0 .75rem}
.embed-estimator .ee-head{font-weight:700;margin:0 0 .25rem}
.embed-estimator .ee-retry p{margin:0 0 .5rem;color:var(--ink-2)}
@media (prefers-reduced-motion: reduce){.embed-estimator .ee-spin{animation:none}}
