/* ==========================================================================
   receipt.css — "The Receipt" skin for the /cooked door (Direction A amended,
   design gate 2026-07-22). Tokens are a11y-corrected — record and rationale in
   design/degree-cooked/receipt-style-notes.md. Paper & Volt GRAMMAR (2px ink
   borders, hard-shadow press interaction, dashed source tags, details-ledger,
   mono kickers, Archivo display) carried per amendment 2; palette is the
   door's own. Volt itself never appears here — the stamp is this door's volt.
   ========================================================================== */

:root {
  --bg: #101014;            /* night backdrop */
  --slip: #FAFAF7;          /* receipt white */
  --ink: #1A1A1E;           /* thermal ink — 16.59:1 on slip */
  --faint: #6B6B70;         /* slip secondary — 5.07:1 on slip */
  --stamp: #E8442E;         /* stamp + hero swipe ONLY; always >=18px bold (large-text AA 3.79:1) */
  --durable: #147A4A;       /* 5.13:1 on slip */
  --aug: #8A6508;           /* 5.09:1 on slip */
  /* TEXT-ONLY hardened variants (2026-07-26, D2/P1 a11y pass): same hue as
     --durable/--aug (verified same HSL hue angle, darker lightness only),
     reserved for small colored TEXT sitting directly on the --slip cream
     card (the majors-wall "N tasks hold" / "thin file, we say so" strings).
     --durable/--aug at 5.13:1 / 5.09:1 already clear WCAG AA's 4.5:1 floor
     for this door's font sizes (11px, not "large text"), but both sit close
     enough to the line that a small change to either hex (or the --slip
     bg) would silently regress a wall card below AA with no test to catch
     it: the exact failure mode the style guide flags elsewhere for
     light-on-cream status colors (design/paper-volt/STYLE-GUIDE.md, 3.0-3.8:1
     on THAT door's --edge-green/--edge-purple pair, not this one). These
     two tokens buy the wall a bigger, self-documented margin instead of
     relying on the shared token staying exactly where it is. NEVER used for
     chip fills, the stamp, tag borders, or any background: those keep
     --durable/--aug unchanged. */
  --durable-text: #0F5E39;  /* 7.49:1 on slip, was 5.13:1 via --durable */
  --aug-text: #6B4E06;      /* 7.39:1 on slip, was 5.09:1 via --aug */
  /* on-dark variant of the durable-green text token (2026-07-27, compact
     directory): the majors-wall rows now sit directly on --bg rather than
     on a --slip card, and --durable-text above is tuned for cream — it
     would fail contrast here. Same hue family, lightened for the dark
     surface; verified 9.07:1 on --bg (design/mockups/cooked-wall-
     options-board.html carries the same token + rationale). NEVER used on
     --slip surfaces: those keep --durable-text unchanged. */
  --durable-ondark: #4CC98A;
  --exp: #5C5C66;           /* 6.32:1 on slip — matter-of-fact, never alarm red */
  --unch: #6B6B70;          /* uncharted: neutral + dashed */
  --chrome-body: #D8D8DC;   /* 13.36:1 on night */
  --chrome-muted: #9A9AA2;  /*  6.80:1 on night */
  --mono: "SFMono-Regular", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --bw: 2px;
  --sh-btn: 4px 4px 0 rgba(26, 26, 30, .9);
  --sh-btn-hover: 2px 2px 0 rgba(26, 26, 30, .9);
  --sh-card: 4px 4px 0 rgba(0, 0, 0, .5);
}

* { box-sizing: border-box; margin: 0; border-radius: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--chrome-body);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.55;
  padding: 20px 12px 90px;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--stamp); outline-offset: 2px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- page chrome (dark, outside the slip) ---------- */
.chrome { max-width: 480px; margin: 0 auto; }
.chrome-wide { max-width: 720px; margin: 0 auto; }
/* Desktop gutter correction (Taufiq 2026-07-27): .chrome-wide is exclusive
   to index.html (verdict.html uses .chrome, max-width 480px, above —
   confirmed no other page/class shares this rule), so it's safe to widen
   directly rather than scope a new class. One container width for the
   whole wall page at desktop means mark-row/hero/wall/free-text/footer all
   share the same left/right edges — replaces the earlier #wall-only
   breakout band, which gave the page two different gutters. Mobile
   (below 900px) is untouched. */
@media (min-width: 900px) {
  .chrome-wide { max-width: 1100px; }
}
.mark-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px; font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--chrome-muted);
}
.mark-row a { text-decoration: none; }
.mark-row a:hover { color: #fff; }
/* The site lockup (Taufiq 2026-07-27): the volt mark + volt wordmark is the
   one deliberate volt appearance on this door — brand chrome, never the
   verdict surface. */
.mark-lockup {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800; font-size: 13px; letter-spacing: .02em;
  text-transform: none; color: #D4F84C;
}
.mark-lockup img { width: 18px; height: 18px; display: block; }
.mark-lockup:hover { color: #E4FF7A; }

.fig-spot { width: 84px; height: 84px; margin: 0 auto 12px; }
.fig-spot img { width: 100%; height: 100%; object-fit: contain; }
.fig-spot-sm { width: 56px; height: 56px; margin: 0 auto 10px; }
.fig-spot-sm img { width: 100%; height: 100%; object-fit: contain; }

.hero { text-align: center; color: #fff; margin: 4px 0 22px; }
.hero h1 {
  font-family: var(--display); font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(28px, 7vw, 44px); text-transform: lowercase;
}
.hero h1 .swipe { position: relative; white-space: nowrap; z-index: 0; }
.hero h1 .swipe::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .04em;
  height: .36em; background: var(--stamp); z-index: -1; opacity: .85;
}
.hero .lede { color: var(--chrome-muted); font-size: 13px; margin-top: 10px; }

.chrome-note {
  text-align: center; font-size: 11px; color: var(--chrome-muted); margin-top: 14px;
}
.chrome-note a.footer-cross { color: var(--chrome-muted); text-decoration: underline; text-underline-offset: 2px; }
.chrome-note a.footer-cross:hover, .chrome-note a.footer-cross:focus-visible { color: #fff; }

/* sample-data banner (fixture fallback) */
.sample-banner {
  position: sticky; top: 0; z-index: 40; background: #2A2110; color: #E8B44C;
  border: 1.5px dashed #E8B44C; font-size: 11px; padding: 8px 12px;
  text-align: center; margin-bottom: 16px;
}

/* ---------- no-JS fallback wall (index.html <noscript>) ----------
   The JS-built wall moved to the compact directory below, but the
   <noscript> card list is explicitly unchanged (kept exactly as today) —
   so these two rules stay, scoped to that fallback only. */
.wall {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; list-style: none; padding: 0;
}
@media (min-width: 720px) { .wall { grid-template-columns: 1fr 1fr 1fr; } }
.wall li { display: contents; }
.wcard {
  background: var(--slip); color: var(--ink); border: var(--bw) solid var(--ink);
  box-shadow: var(--sh-btn); padding: 12px 11px; font-size: 11px;
  font-family: var(--mono); text-align: left; width: 100%; min-height: 74px;
  transition: transform .08s ease, box-shadow .08s ease; text-decoration: none;
  display: block;
}
.wcard:hover, .wcard:focus-visible { transform: translate(2px, 2px); box-shadow: var(--sh-btn-hover); }
.wcard:active { transform: translate(4px, 4px); box-shadow: 0 0 0 rgba(0,0,0,0); }
.wcard b { display: block; font-family: var(--display); font-size: 13px; margin-bottom: 4px; }
.wcard .n { color: var(--durable-text); font-weight: 800; }
.wcard .thin-flag { color: var(--aug-text); }

/* ---------- the verdict wall (landing): compact directory ----------
   Approved direction, design/mockups/cooked-wall-options-board.html
   (Taufiq 2026-07-27) — filter chips + search collapse the ~50-major wall
   into dense, scannable rows instead of a flat card grid. Tokens/selectors
   below are lifted verbatim from that mockup. Width comes from .chrome-wide
   widening at desktop (above) — #wall just fills that container normally,
   no breakout needed (superseded 2026-07-27: an earlier #wall-only
   breakout gave the page two different gutters; one container width for
   the whole door reads correctly instead). */
.dir-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; margin-bottom: 18px; flex-wrap: wrap;
}
@media (min-width: 900px) {
  /* Same row as the chips, right-aligned (approved mockup) — only reliably
     fits once #wall has real width above; below 900px it still drops
     below the chips (full-width on mobile, per the correction). */
  .dir-toolbar { flex-wrap: nowrap; }
  .chip-row { flex-wrap: nowrap; }
}
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-family: var(--mono); font-size: 11px; text-transform: lowercase;
  letter-spacing: .02em; padding: 9px 15px; min-height: 40px;
  border: 1.5px solid var(--chrome-muted); color: var(--chrome-body);
  background: transparent; transition: background .08s ease, color .08s ease, border-color .08s ease;
}
.chip:hover { border-color: var(--chrome-body); }
.chip.is-active {
  background: var(--slip); color: var(--ink); border-color: var(--ink);
  box-shadow: var(--sh-btn-hover);
}
.chip-count { opacity: .78; }
.chip.is-active .chip-count { opacity: 1; }

.dir-search { flex: 0 0 auto; }
.search-input-sm {
  font-family: var(--mono); font-size: 12px; background: var(--slip); color: var(--ink);
  border: var(--bw) solid var(--ink); padding: 9px 12px; width: 190px;
}
.search-input-sm::placeholder { color: var(--faint); }
@media (max-width: 479px) {
  .dir-toolbar { align-items: stretch; }
  .dir-search, .search-input-sm { width: 100%; }
}

.dir-legend {
  font-family: var(--mono); font-size: 10.5px; text-transform: lowercase;
  color: var(--chrome-muted); margin: 0 0 10px; line-height: 1.6;
}
.dir-count-line { font-size: 11px; color: var(--chrome-muted); margin-bottom: 12px; }
.dir-empty {
  border: 1.5px dashed #4A4A52; color: var(--chrome-body); font-size: 11.5px;
  padding: 14px; line-height: 1.6;
}

.dir-cols { margin-bottom: 4px; }
@media (min-width: 640px) {
  .dir-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
}
.dir-list { list-style: none; padding: 0; }
.dir-row {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 11px 2px; min-height: 44px; border-bottom: 1px dashed #35353c;
  text-decoration: none; transition: background .08s ease;
}
.dir-list li:last-child .dir-row { border-bottom: none; }
.dir-row:hover, .dir-row:focus-visible { background: rgba(255, 255, 255, .05); }
.dir-name {
  font-family: var(--display); font-weight: 700; font-size: 12.5px; color: #fff;
  min-width: 0;
}
.dir-count { font-size: 11px; color: var(--chrome-muted); white-space: nowrap; flex: 0 0 auto; }
.dir-count .n { color: var(--durable-ondark); font-weight: 800; font-family: var(--mono); }

.wcard-free {
  background: transparent; color: var(--chrome-body); border: 1.5px dashed #4A4A52;
  box-shadow: none; min-height: 74px; padding: 12px 11px; width: 100%; text-align: left;
  font-family: var(--mono); font-size: 11px;
}
.wcard-free b { display: block; font-family: var(--display); font-size: 13px; margin-bottom: 4px; color: #fff; }
.wcard-free:hover, .wcard-free:focus-visible { border-color: var(--chrome-muted); }

.free-wrap { margin-top: 12px; }
/* Author display rules must never defeat the hidden attribute (same guard as
   paper-volt.css:39). Without this, .free-row's display:flex overrode
   [hidden] and the free-text form rendered permanently visible, leaving the
   #free-toggle button decorative. */
[hidden] { display: none !important; }
.free-row { display: flex; gap: 8px; }
.free-row .input { flex: 1; }
.input {
  background: #fff; color: var(--ink); border: var(--bw) solid var(--ink);
  font-family: var(--mono); font-size: 13px; padding: 11px 12px; width: 100%;
}
.input::placeholder { color: var(--faint); }

/* ---------- intake (dark chrome steps) ---------- */
.step { text-align: center; }
.step-major {
  font-family: var(--display); font-size: 17px; font-weight: 800; color: #fff;
  text-transform: uppercase; letter-spacing: .01em;
}
.step-q { font-size: 11.5px; color: var(--chrome-muted); margin: 6px 0 16px; }
.pillrow { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pill {
  background: var(--slip); color: var(--ink); border: var(--bw) solid var(--ink);
  box-shadow: var(--sh-btn); font-family: var(--mono); font-size: 12px;
  padding: 10px 15px; min-height: 44px;
  transition: transform .08s ease, box-shadow .08s ease;
}
.pill:hover, .pill:focus-visible { transform: translate(2px, 2px); box-shadow: var(--sh-btn-hover); }
.pill:active { transform: translate(4px, 4px); box-shadow: 0 0 0 rgba(0,0,0,0); }
.pill[aria-pressed="true"] { background: var(--ink); color: var(--slip); }
.pill-skip {
  background: transparent; color: var(--chrome-body); border: 1.5px dashed #4A4A52;
  box-shadow: none; font-family: var(--mono); font-size: 12px; padding: 10px 15px;
  min-height: 44px; margin-top: 12px;
}
.pill-skip:hover, .pill-skip:focus-visible { border-color: var(--chrome-muted); color: #fff; }
.back-link {
  background: none; border: 0; color: var(--chrome-muted); font-family: var(--mono);
  font-size: 12px; padding: 8px 10px; margin-bottom: 8px;
}
.back-link:hover { color: #fff; }

/* ---------- printing interstitial ---------- */
.printer-head { border-bottom: 6px solid #2A2A32; margin: 0 26px; }
.printing .slip { transform-origin: top center; }
@keyframes slip-feed {
  from { transform: translateY(-46px); clip-path: inset(0 0 78% 0); }
  to   { transform: translateY(0);     clip-path: inset(0 0 0 0); }
}
.printing .slip { animation: slip-feed .9s ease-out both; }
.print-lines { font-size: 10.5px; color: var(--faint); line-height: 1.7; }
.skip-print {
  display: block; margin: 14px auto 0; background: none; border: 0;
  color: var(--chrome-muted); font-family: var(--mono); font-size: 11px;
  text-decoration: underline dotted; padding: 8px;
}

/* ---------- the slip ---------- */
.slip {
  background: var(--slip); color: var(--ink); width: min(420px, 100%);
  margin: 0 auto; padding: 26px 20px 28px; position: relative; font-size: 12.5px;
  filter: drop-shadow(0 16px 34px rgba(0, 0, 0, .55));
}
.slip::before, .slip::after {
  content: ""; position: absolute; left: 0; right: 0; height: 12px;
  background: radial-gradient(circle at 8px 0px, transparent 7px, var(--slip) 7px);
  background-size: 16px 12px;
}
.slip::before { top: -11px; transform: scaleY(-1); }
.slip::after { bottom: -11px; }

.slip .kicker {
  font-size: 10px; letter-spacing: .22em; text-align: center; color: var(--faint);
  text-transform: uppercase;
}
.slip h1.qline, .slip .qline {
  font-family: var(--display); font-size: 22px; font-weight: 800; text-align: center;
  margin: 8px 0 3px; letter-spacing: -.01em; text-transform: uppercase;
}
.slip .subline { font-size: 10.5px; text-align: center; color: var(--faint); }
.slip .yearline { font-size: 10.5px; text-align: center; color: var(--faint); margin-top: 5px; }
.rule { border: 0; border-top: 1px dashed #B9B9B4; margin: 13px 0; }

.stamp {
  position: absolute; top: 98px; right: 12px; transform: rotate(-9deg);
  border: 3px solid var(--stamp); color: var(--stamp); font-family: var(--display);
  font-weight: 800; font-size: 19px; letter-spacing: .08em; padding: 5px 12px;
  text-transform: uppercase; opacity: .92; mix-blend-mode: multiply; border-radius: 2px;
}
.stamp.stamp-thin { border-color: var(--aug); color: var(--aug); }
.stamp.stamp-unch { border-color: var(--unch); color: var(--unch); font-size: 16px; }
@keyframes stamp-hit {
  0% { transform: rotate(-9deg) scale(1.5); opacity: 0; }
  60% { transform: rotate(-9deg) scale(.94); opacity: 1; }
  100% { transform: rotate(-9deg) scale(1); opacity: .92; }
}
.stamp.hit { animation: stamp-hit .32s ease-out .55s both; }
@media (max-width: 360px) { .stamp { top: 88px; right: 8px; font-size: 16px; } }

/* thin-file guard band */
.guard {
  border: 1.5px dashed var(--aug); color: var(--aug); font-size: 10.5px;
  padding: 8px 10px; text-align: center; margin: 12px 0 4px; line-height: 1.5;
}

/* legend (amendment 4) */
.legend-title, .sect-title {
  font-size: 9.5px; letter-spacing: .16em; color: var(--faint);
  text-transform: uppercase; margin-bottom: 5px;
}
.legend .lrow { display: flex; gap: 9px; padding: 2.5px 0; align-items: baseline; font-size: 10.5px; }
/* flex-basis widened from 66px (fit "holds"/"unlisted") to fit the longest
   new tag, "no data yet"/"stays human", at this font-size/letter-spacing
   without wrapping or overflow (2026-07-27 relabel). */
.legend .lrow .tag { flex: 0 0 92px; text-align: center; }
.tag {
  font-size: 9px; letter-spacing: .12em; padding: 2px 6px; border: 1px solid currentColor;
  white-space: nowrap; text-transform: uppercase; font-family: var(--mono);
  display: inline-block;
}
.tag-durable { color: var(--durable); }
.tag-aug { color: var(--aug); }
.tag-exp { color: var(--exp); }
.tag-unch { color: var(--unch); border-style: dashed; }

/* totals (amendment 4: the whole truth) */
.totals .trow { display: flex; justify-content: space-between; padding: 3px 0; font-size: 12px; }
.totals .trow.big { font-weight: 800; font-size: 13.5px; }
.totals .trow.sum { border-top: 1px dashed #B9B9B4; margin-top: 3px; padding-top: 6px; }
.count-sentence { font-size: 10.5px; color: var(--faint); margin-top: 5px; line-height: 1.5; }

/* ledger */
.rolehead {
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint);
  margin: 12px 0 2px; display: flex; justify-content: space-between; gap: 8px;
  align-items: baseline;
}
.srctag {
  display: inline-block; font-size: 9px; color: var(--faint);
  border: 1px dashed var(--faint); padding: 4px 6px; text-decoration: none;
  font-family: var(--mono); white-space: nowrap;
}
a.srctag:hover, a.srctag:focus-visible { color: var(--ink); border-color: var(--ink); }

/* role meta row (Decision 2A further-study tag + Task 2 local-pay bridge) —
   quiet, small, same register as .srctag; never alarming (no-guilt covenant). */
.rolemeta {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline;
  margin: 0 0 6px; font-size: 9.5px; color: var(--faint);
}
.edutag {
  font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em;
  border: 1px dashed var(--faint); padding: 3px 6px; white-space: nowrap;
}
.local-sib { font-family: var(--mono); white-space: nowrap; }
.local-sib .srctag { margin-left: 2px; }

details.lrow-x { border-bottom: 1px dotted #D8D6CC; }
details.lrow-x summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between;
  gap: 10px; padding: 9px 0; align-items: baseline; min-height: 38px;
}
details.lrow-x summary::-webkit-details-marker { display: none; }
details.lrow-x .t { flex: 1; min-width: 0; font-size: 11.5px; line-height: 1.45; }
details.lrow-x .caret { color: var(--faint); font-size: 9px; flex: 0 0 auto; transition: transform .15s ease; }
details.lrow-x[open] .caret { transform: rotate(180deg); }
details.lrow-x .src-body { font-size: 10px; color: var(--faint); padding: 0 0 9px; line-height: 1.55; }
details.lrow-x .src-body a { color: var(--ink); }
.conflict { border-left: 3px solid var(--aug); padding-left: 8px; margin-top: 5px; }

/* --- R3 role folding (Taufiq, 2026-07-29) -------------------------------
   The slip prints the role that was actually asked about in full; the rest
   fold to one line carrying their own tier counts. Same collapsible idiom as
   details.lrow-x above, one level up. */
details.rolefold { border-bottom: 1px dotted #D8D6CC; }
details.rolefold > summary {
  list-style: none; cursor: pointer; display: flex; gap: 10px;
  padding: 11px 0; align-items: baseline; min-height: 40px; flex-wrap: wrap;
}
details.rolefold > summary::-webkit-details-marker { display: none; }
details.rolefold .rf-label {
  flex: 1 1 auto; min-width: 0; font-size: 11.5px; line-height: 1.45;
  text-transform: uppercase; letter-spacing: .1em; color: var(--ink);
}
details.rolefold .rf-tags { display: flex; gap: 5px; flex-wrap: wrap; flex: 0 1 auto; }
details.rolefold > summary .caret {
  color: var(--faint); font-size: 9px; flex: 0 0 auto; transition: transform .15s ease;
}
details.rolefold[open] > summary .caret { transform: rotate(180deg); }
details.rolefold .fold-body { padding-bottom: 6px; }
details.rolefold .fold-body .rolehead { margin-top: 2px; }

details.otherjobs { border-top: 1px dashed var(--hair, #D8D6CC); margin-top: 10px; }
details.otherjobs > summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between;
  gap: 10px; padding: 13px 0; align-items: baseline; min-height: 44px;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
}
details.otherjobs > summary::-webkit-details-marker { display: none; }
details.otherjobs > summary .caret {
  color: var(--faint); font-size: 9px; flex: 0 0 auto; transition: transform .15s ease;
}
details.otherjobs[open] > summary .caret { transform: rotate(180deg); }

/* delta */
.delta-item { padding: 5px 0; font-size: 11.5px; }
.delta-item b { display: block; }
.delta-why { font-size: 10px; color: var(--faint); margin-top: 2px; line-height: 1.5; }
.delta-why a { color: var(--ink); }

/* honesty box + quiet Fig (the ONE Fig allowed on the slip) */
.honesty {
  border: 1.5px solid var(--ink); padding: 11px 12px; font-size: 10.5px;
  line-height: 1.55; margin-top: 14px; position: relative;
}
.honesty b { letter-spacing: .1em; font-size: 9.5px; }
.honesty .locale-note { color: var(--faint); font-size: 10px; }
.fig-quiet {
  position: absolute; top: -15px; right: 8px; width: 28px; height: 28px;
  background: var(--slip); border: 2px solid var(--ink); border-radius: 50%;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.fig-quiet img { width: 22px; height: 22px; object-fit: contain; }

/* slip CTAs — P&V press interaction */
.cta {
  display: block; width: 100%; text-align: center; background: var(--ink);
  color: var(--slip); padding: 13px; margin-top: 12px; font-size: 11.5px;
  letter-spacing: .1em; text-decoration: none; text-transform: uppercase;
  border: var(--bw) solid var(--ink); box-shadow: var(--sh-btn);
  font-family: var(--mono); min-height: 44px;
  transition: transform .08s ease, box-shadow .08s ease;
}
.cta:hover, .cta:focus-visible { transform: translate(2px, 2px); box-shadow: var(--sh-btn-hover); }
.cta:active { transform: translate(4px, 4px); box-shadow: 0 0 0 rgba(0,0,0,0); }
.cta.ghost { background: none; color: var(--ink); }
.cta[disabled] { opacity: .55; cursor: default; transform: none; box-shadow: var(--sh-btn); }

/* ---------- the conversion crossroads (results-conversion spec) ---------- */
.exits { margin-top: 6px; }
/* ① BrainWrk — the "next step" band (2026-07-27 rebuild, matching the
   pattern approved on the hub: app/hub/css/hub.css .nextstep /
   design/mockups/hub-rev2-board.html §3). An attention-grabbing bridge, not
   just another card: a plain 2px ink border + hard shadow (door-grade,
   same --sh-card token every card on this door already uses) plus an 8px
   LEFT EDGE in --stamp. The hub uses volt for that edge; this door reserves
   volt for the brand lockup only (.mark-lockup above), so the door's own
   stamp-red carries the same "this is the one handoff" signal instead. */
.next-band {
  border: var(--bw) solid var(--ink);
  border-left: 8px solid var(--stamp);
  box-shadow: var(--sh-card);
  padding: 16px 16px 18px;
  margin-top: 4px;
}
.next-kicker {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em;
  color: var(--faint); margin-bottom: 6px;
}
.next-head {
  font-family: var(--display); font-weight: 800; font-size: 22px;
  line-height: 1.22; margin: 0 0 8px; color: var(--ink);
}
.next-body {
  font-size: 12px; line-height: 1.55; color: var(--faint); margin: 0 0 4px;
}
.next-band .cta { margin-top: 12px; }
/* ② Archetype — clearly subordinate to the primary. */
.exit-archetype { font-size: 10.5px; }
.exit-archetype-teaser { margin-top: 12px; text-align: center; }
.exit-archetype-teaser .teaser-line {
  font-size: 10.5px; color: var(--faint); line-height: 1.5; margin: 0 0 8px;
}
.notify-form { margin-top: 0; }

/* share row */
.share-row { display: flex; gap: 8px; margin-top: 12px; }
.share-row .cta { flex: 1; margin-top: 0; font-size: 10px; padding: 10px 4px; }
.share-note { font-size: 9.5px; color: var(--faint); text-align: center; margin-top: 7px; }

/* save form on the slip */
.save-form { margin-top: 10px; }
.save-status { font-size: 10.5px; margin-top: 8px; }
.save-status.ok { color: var(--durable); }
/* NOT --stamp: that hue is large-text-only (3.79:1). #B3301C = 5.98:1 on slip. */
.save-status.error { color: #B3301C; font-weight: 700; }
.save-status.info { color: var(--faint); }
.save-fine { font-size: 9.5px; color: var(--faint); margin-top: 8px; line-height: 1.5; }

/* barcode + foot */
.barcode {
  margin: 14px auto 0; height: 34px; width: 72%;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px,
    var(--ink) 5px 6px, transparent 6px 10px);
}
.slipfoot { font-size: 9.5px; text-align: center; color: var(--faint); margin-top: 10px; line-height: 1.5; }

/* uncharted slip bits */
.iou-list { font-size: 11px; line-height: 1.65; }

/* below-slip chrome (save success Fig etc.) */
.below-slip { text-align: center; margin-top: 22px; }
.below-slip .fig-spot-sm { margin-bottom: 6px; }
.below-slip p { font-size: 11px; color: var(--chrome-muted); }

/* error card (dark chrome) */
.chrome-error {
  border: 1.5px dashed var(--stamp); color: #FF8A7A; font-size: 12px;
  padding: 12px 14px; text-align: center; margin: 14px 0;
}

/* screen switcher */
.screen[hidden] { display: none; }
@keyframes screen-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.screen { animation: screen-in 200ms ease-out; }

/* reveal-on-scroll (P&V pattern) */
/* ease-out, not plain ease, matching hub.css and paper-volt.css: every other
   shared-concept animation keeps identical timing and easing across the two
   skins, and this one differing was an oversight rather than a decision
   (DESIGN.md §11.6, closed 2026-07-27). */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .3s ease-out, transform .3s ease-out; }
.reveal.in { opacity: 1; transform: none; }

/* toast (copy-link confirmation) */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%);
  background: var(--slip); color: var(--ink); border: var(--bw) solid var(--ink);
  box-shadow: var(--sh-btn); font-family: var(--mono); font-size: 11px;
  padding: 10px 16px; z-index: 60; max-width: 90vw; text-align: center;
}

/* reduced motion: everything instant (P&V rule) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  body { background: #fff; padding: 0; }
  .slip { filter: none; }
  .share-row, .skip-print, .sample-banner { display: none; }
  /* .reveal starts at opacity:0 and is only cleared by IntersectionObserver on
     a real scroll, so anything below the fold prints blank. hub.css:489-491 and
     paper-volt.css:241-243 already carry this override after that bug shipped
     once; this door defines .reveal (line 527) but nothing arms it yet, so the
     guard lands before the first use rather than after the next regression. */
  .reveal { opacity: 1 !important; transform: none !important; }
  /* R3 folds the roles the visitor did not ask about, but a printed slip has
     nobody to click them open. cooked.js opens every fold on beforeprint and
     restores it afterwards; this is the fallback for engines that never fire
     that event, so the printed receipt is always the whole ledger. */
  .slip details > summary { list-style: none; }
  .slip details:not([open]) > *:not(summary) { display: block !important; }
  details.rolefold > summary .caret,
  details.otherjobs > summary .caret,
  details.lrow-x summary .caret { display: none; }
}
