/* ʻĀina to Table — public surface layout.
   Role-named tokens only; the colour-named aliases were removed at this build.
   Single-theme by deliberate choice: the palette is measured, not guessed, and a
   page that recoloured to the viewer's OS would not be the thing that was measured. */

@font-face{font-family:"Inter";font-weight:400;font-display:swap;src:url("fonts/Inter-400.woff2") format("woff2")}
@font-face{font-family:"Inter";font-weight:500;font-display:swap;src:url("fonts/Inter-500.woff2") format("woff2")}
@font-face{font-family:"Inter";font-weight:600;font-display:swap;src:url("fonts/Inter-600.woff2") format("woff2")}
@font-face{font-family:"Inter";font-weight:700;font-display:swap;src:url("fonts/Inter-700.woff2") format("woff2")}
@font-face{font-family:"Noto Serif";font-weight:600;font-display:swap;src:url("fonts/NotoSerif-600.woff2") format("woff2")}
@font-face{font-family:"Noto Serif";font-weight:700;font-display:swap;src:url("fonts/NotoSerif-700.woff2") format("woff2")}

*{box-sizing:border-box}
html{color-scheme:light}
body{margin:0;background:var(--panel);color:var(--ink);
     font-family:"Inter","Segoe UI",-apple-system,sans-serif;font-size:17px;line-height:1.55;
     -webkit-font-smoothing:antialiased}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:10;background:var(--page)}
.wrap{max-width:800px;margin:0 auto;
      padding-left:max(16px,env(safe-area-inset-left,0px));
      padding-right:max(16px,env(safe-area-inset-right,0px))}
.wide{max-width:1240px}
h1,h2,h3{font-family:"Noto Serif",Georgia,serif;text-wrap:balance;line-height:1.2;margin:0}
h1{font-size:1.953rem;font-weight:700}
h2{font-size:1.563rem;font-weight:600}
h3{font-size:1.25rem;font-family:"Inter","Segoe UI",sans-serif;font-weight:600}
p,ul,ol{margin:0}
a{color:var(--accent)}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.skip{position:absolute;left:-9999px}
.skip:focus{position:static;display:block;padding:8px 16px;background:var(--accent);color:var(--page)}
/* Content for a screen reader only -- unlike .skip, never meant to become
   visible on focus. Used on the hero-tabs <legend>, which needs no sighted
   label (the tab buttons already say what they do) but does need a group
   name a screen reader can announce. */
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0}

.band{background:var(--page);border-bottom:1px solid var(--line)}
.band>.wrap{padding-block:48px}
.stack{display:flex;flex-direction:column;gap:16px}
.eyebrow{font-size:.8125rem;letter-spacing:.06em;text-transform:uppercase;color:var(--brand-green);font-weight:600}
.src{font-size:.8125rem;color:var(--ink-soft)}

nav{position:sticky;top:env(safe-area-inset-top,0px);z-index:9;background:var(--page);border-bottom:1px solid var(--line)}
nav>.wrap{display:flex;align-items:center;gap:24px;padding-block:14px;flex-wrap:wrap}
.lockup{display:flex;align-items:center;gap:11px;color:var(--accent);flex:0 0 auto;text-decoration:none}
.lockup svg{width:34px;height:34px;display:block}
.lockup span{font-family:"Noto Serif",Georgia,serif;font-weight:600;font-size:1.25rem;color:var(--header-green);white-space:nowrap}
nav ul{display:flex;gap:18px;list-style:none;margin:0;padding:0;flex-wrap:wrap;font-size:.9375rem}
nav a{color:var(--ink-soft);text-decoration:none}
nav a[aria-current]{color:var(--accent);font-weight:600}

/* Round-five panel, 2026-11-22: the hero's buttons and the rest of the
   site's accent language had drifted apart -- these still carried the
   retired "Earthen Wall" amber/gold (--accent-warm, #F8B500) from before
   2026-11-21's palette reversal, the one page nobody had rechecked since
   (Adrian's own carve-out, 2026-11-21: "extend the kalshi treatment
   throughout except the home page," which exempted the DOLLAR-FORWARD
   stat-tile reframe specifically, not an indefinite exemption from the
   rest of the site's own accent colours). Top bar added to match every
   other section's own green accent (Market's .market-floor>.wrap carries
   the identical pattern); kept green rather than blue here specifically
   -- blue (#0B5ED7) measures 2.68 against --surface-dark, below even the
   3:1 non-text minimum, so it cannot do this job on this dark a ground,
   confirmed by computing it rather than assumed from vibe. */
.hero{background:var(--surface-dark);color:var(--on-dark-soft);position:relative;overflow:hidden;
      border-top:4px solid var(--brand-green)}
.hero>.wrap{padding-block:64px;position:relative;z-index:2}
.hero h1{font-size:2.441rem;color:var(--on-dark)}
.hero .eyebrow{color:var(--on-dark-soft)}
.hero p{color:var(--on-dark-soft);max-width:60ch}
.hero .mk{width:52px;height:52px;color:var(--on-dark);margin-bottom:8px}
.hero a{color:var(--on-dark)}

/* Content & presentation panel, 2026-11-25: retires the darkened full-bleed
   crossfade (11 photos under a fixed rgba(14,18,24,.62-.78) overlay, which
   is what made every one of them read as "faded" -- confirmed from the CSS
   itself, not guessed) in favour of pairing ONE specific, full-quality,
   captioned photo with the hero's own opening argument -- the panel's
   "never let a photo go to waste as a mood-setter" finding, applied to the
   first and most-seen photo on the site. The other 10 slideshow images are
   NOT discarded -- CREDITS.md keeps their provenance record, and the
   content plan names them as the raw material for the four content bands
   and Buyers/Growers, not for the hero a second time. */
.hero-intro{display:grid;grid-template-columns:1.15fr 1fr;gap:32px;align-items:start}
.hero-photo{margin:0}
.hero-photo img{width:100%;height:100%;object-fit:cover;display:block;border-radius:var(--radius)}
.hero-photo figcaption{font-size:.75rem;color:var(--on-dark-soft);margin-top:8px}
@media (max-width:640px){
  .hero-intro{grid-template-columns:1fr}
  .hero-photo img{max-height:320px}
}

/* Hero's three CTA buttons, converted from flat buttons to a small tabbed
   chooser -- the interaction-design seat's own recommendation, since these
   three are genuinely parallel either-or choices (unlike the five sequential
   argument sections below, which stay sequential, not tabbed). Native
   radio+label: zero JavaScript, keyboard-operable (arrow keys cycle a named
   radio group) and screen-reader-understandable by default, the same
   "accessible by construction, not a review step" discipline .acc already
   uses -- the first radio's `checked` attribute is what makes the first
   panel visible with no JS at all, not a script-set default. */
.hero-tabs{border:0;margin:0;padding:0}
.hero-tabs input[type=radio]{position:absolute;opacity:0;width:1px;height:1px;overflow:hidden}
.hero-tabs label{display:inline-block;cursor:pointer;font-weight:600;font-size:.875rem;
  padding:8px 14px;margin:0 8px 8px 0;border-radius:var(--radius);border:1px solid var(--brand-green);
  color:var(--on-dark)}
.hero-tabs input:checked + label{background:var(--brand-green)}
.hero-tabs input:focus-visible + label{outline:2px solid var(--on-dark);outline-offset:2px}
.hero-tabs .tab-panel{display:none;padding-top:4px}
#hs-crop:checked ~ .panel-crop,
#hs-buyer:checked ~ .panel-buyer,
#hs-grower:checked ~ .panel-grower{display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.btn{display:inline-block;font-weight:600;font-size:.9375rem;padding:10px 18px;border-radius:var(--radius);
     text-decoration:none;background:var(--accent);color:var(--page);border:0}
/* Institutional-green palette, 2026-11-22: white/on-dark text on
   --brand-green as a fill measures 5.09 -- passes normal body text, not
   borderline the way the old bright teal's white-text case (4.11) was,
   which is why that one needed black text specifically. This fill can
   just use the token system's own on-dark role instead. */
.hero .btn{background:var(--brand-green);color:var(--on-dark)}
.btn.ghost{background:transparent;color:var(--on-dark);border:1px solid var(--brand-green)}

/* Motion, round-one VFX panel 2026-11-22: every effect here responds to a
   real user action (a cursor arriving, a row being hovered) -- never
   decorative motion that plays on its own. Gated behind prefers-reduced-
   motion so a user who has asked for less motion gets the same functional
   hover state (colour/shadow) with no transform and no animated transition,
   not a degraded experience. */
@media (prefers-reduced-motion: no-preference) {
  .btn{transition:transform .15s ease, box-shadow .15s ease}
  .btn:hover{transform:translateY(-1px);box-shadow:0 2px 8px rgba(28,35,43,.18)}
  tbody tr{transition:background-color .15s ease}
}

/* Scroll reveal, round-one VFX panel 2026-11-22. Progressive enhancement,
   not a risk to content: the .js class only exists if the inline <script>
   in <head> ran, so without JS (or with it disabled) .card/.blk are never
   hidden in the first place -- there is no state where this can leave real
   content invisible. Responds to real scrolling, the same "is this motion
   attached to something real" test every other effect this round passed. */
@media (prefers-reduced-motion: no-preference) {
  .js .card, .js .blk{opacity:0;transform:translateY(10px);
    transition:opacity .4s ease, transform .4s ease}
  .js .card.in-view, .js .blk.in-view{opacity:1;transform:translateY(0)}
}

/* Consistency pass, round-one VFX/web-design panel 2026-11-22, outside-
   analog seat: .card and .note/.blk used two different hard-coded paddings
   (20px vs 16px) for no reason tied to their content -- unified to the same
   --sp-4 token every other 16px padding in this file already uses, so a
   future spacing change moves all three together instead of needing three
   separate edits. */
/* Content & presentation panel, 2026-11-25: one specific, captioned photo
   beside each content band's own lead argument -- the light-ground sibling
   of .hero-intro, same grid shape, reused rather than redeclared, since both
   are "text beside one photo." Used on Buyers/Growers too (see those pages'
   own call sites), closing the real content gap the panel named: those two
   pages carried zero imagery while Home carried eleven. */
.media-row{display:grid;grid-template-columns:1.15fr 1fr;gap:32px;align-items:start}
.media-row figure{margin:0}
.media-row img{width:100%;height:100%;object-fit:cover;display:block;border-radius:var(--radius)}
.media-row figcaption{font-size:.75rem;color:var(--ink-soft);margin-top:8px}
@media (max-width:640px){
  .media-row{grid-template-columns:1fr}
  .media-row img{max-height:320px}
}

.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
.card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:var(--sp-4);
      display:flex;flex-direction:column;gap:10px}
.card p{font-size:.9375rem;color:var(--ink-soft)}
.note{background:var(--panel);border:1px solid var(--border-soft);border-radius:var(--radius);padding:var(--sp-4);
      font-size:.9375rem;display:flex;flex-direction:column;gap:10px}
/* A note raised onto the dark hero. Added 2026-11-04 for Home's premium
   figure, re-verified 2026-11-21 against the reversed cool palette:
     --on-dark      on --surface-dark-2  11.88  passes body
     --on-dark-soft on --surface-dark-2   7.38  passes body
     --ink          on --surface-dark-2   never inherit it here
   --border-soft-dark is 3.37 against --surface-dark-2, clearing the 3:1
   non-text threshold the same way --sage (3.20) did before it. */
.hero .note{background:var(--surface-dark-2);border-color:var(--border-soft-dark);color:var(--on-dark-soft)}
.hero .note strong{color:var(--on-dark)}
/* Round-nine verification pass, 2026-11-22, after the institutional-green
   palette shipped: checked the FULL contrast matrix this time, not just
   the pairings already spot-checked -- found .src citation lines inside
   the hero (both standalone and nested in .hero .note) were still
   rendering in --ink-soft, a colour tuned for LIGHT grounds, because .src
   itself has no dark-ground override the way .eyebrow and .note already
   do. Measured against what it actually sits on: 2.09 against
   --surface-dark-2 (inside a note), 2.42 against --surface-dark directly
   -- both real failures, confirmed live on the deployed site (screenshot
   showed the UNESCO and USDA citation lines were genuinely hard to read),
   not a theoretical gap caught only by the arithmetic. */
.hero .src{color:var(--on-dark-soft)}

.spec{border-left:3px solid var(--accent);padding-left:16px;display:flex;flex-direction:column;gap:4px}

/* Accordions, round-one VFX/web-design panel 2026-11-22. Native
   <details>/<summary> -- no JS, works with the keyboard and a screen reader
   by default. The custom +/- replaces the native marker in both the modern
   (list-style) and older WebKit (::-webkit-details-marker) cases, so no
   browser shows two markers or none. */
.acc{border-bottom:1px solid var(--line);padding-block:14px}
.acc summary{cursor:pointer;font-family:"Noto Serif",Georgia,serif;font-weight:600;font-size:1.25rem;
             list-style:none;display:flex;align-items:center;gap:10px}
.acc summary::-webkit-details-marker{display:none}
.acc summary::before{content:"+";color:var(--brand-green);font-weight:700;width:.7em;flex:0 0 auto}
.acc[open] summary::before{content:"\2212"}
.acc .acc-body{padding-top:12px;display:flex;flex-direction:column;gap:16px}

/* catalogue */
.tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:.875rem}
.tools label{color:var(--ink-soft);font-weight:600}
.tools label.chk{display:inline-flex;align-items:center;gap:6px;cursor:pointer}
.tools label.chk input{margin:0;cursor:pointer}
.tools select{font:inherit;font-size:.875rem;padding:6px 10px;border:1px solid var(--line);
              border-radius:var(--radius);background:var(--page);color:var(--ink)}
table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums;font-size:.9375rem;min-width:620px}
/* Contains a wide table's own overflow -- without this, a table whose
   content (bold price text, nowrap chip tags) exceeds its box pushes the
   whole PAGE wider instead of scrolling within itself, which throws off
   margin:auto centering for everything on the page, not just the table. */
.tbl{overflow-x:auto}
/* Round-three VFX panel, 2026-11-22: confirmed at an actual 375px screenshot
   -- never checked across six prior rounds, all of which verified only at
   desktop widths -- that .tbl's own overflow-x:auto was reachable (not a
   dead end) but meant reading any of this site's three data tables on a
   phone was swiping a wide table sideways one row at a time. Below the
   breakpoint, every .tbl table becomes a stack of bordered cards instead:
   the browser's own table layout algorithm turns off (display:block on
   every table element), the first column keeps its existing look as the
   card's own title, and data-label (set once per column in build.py,
   alongside each <th> it names) supplies every other cell's label via a
   generated ::before -- no JS, no new markup shape, same cells the desktop
   table already renders. */
@media (max-width: 640px){
  .tbl{overflow-x:visible}
  .tbl table{min-width:0;width:100%}
  .tbl table,.tbl thead,.tbl tbody,.tbl tr,.tbl th,.tbl td{display:block}
  .tbl thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .tbl tr{border:1px solid var(--line);border-radius:var(--radius);padding:12px;margin-bottom:12px}
  .tbl td{border-bottom:0;height:auto;padding:4px 0}
  .tbl td.mk-name{font-size:1.0625rem;padding-bottom:10px;margin-bottom:8px;border-bottom:1px solid var(--line)}
  .tbl td[data-label]::before{content:attr(data-label);display:block;font-size:.75rem;
    text-transform:uppercase;letter-spacing:.03em;color:var(--ink-soft);margin-bottom:2px}
}
/* Chart headers / header-row highlight, Adrian's #5A4F74 -- light-ground
   tables only. Verified: --on-dark on --highlight is 6.93. Market's own
   dark trading-floor table keeps its existing on-dark header treatment
   below (--highlight measures 2.09 on --surface-dark, which fails). */
th{position:sticky;top:0;background:var(--emphasis);font-size:.8125rem;letter-spacing:.04em;text-transform:uppercase;
   text-align:left;font-weight:600;color:var(--on-dark);padding:10px 12px;border-bottom:1px solid var(--line)}
td{padding:8px 12px;border-bottom:1px solid var(--line);vertical-align:middle;height:48px}
tr:last-child td{border-bottom:0}
tbody tr:hover{background:var(--panel)}
td a{font-weight:600}
.aka{color:var(--ink-soft);font-size:.8125rem;display:block;font-weight:400}
.chip{display:inline-block;font-size:.8125rem;padding:2px 8px;border-radius:var(--radius);
      border:1px solid var(--line);color:var(--ink-soft);white-space:nowrap}
.chip.named{border-color:var(--ink-soft)}
.chip.residual{border-color:var(--brand-green);color:var(--ink-soft);font-weight:600}
.chip.absent{border-color:var(--accent);color:var(--accent);font-weight:600}
.chip.gap{border-color:var(--accent-warm-deep);color:var(--accent-warm-deep);font-weight:600}
/* crop_class chips. Colour never carries the meaning on its own — each chip
   ships its own text label, which is why the class name is also the word. */
.chip.commodity{border-color:var(--ink-soft);color:var(--ink-soft)}
.chip.specialty{border-color:var(--brand-green);color:var(--ink-soft);font-weight:600}
/* Market page: pack/origin/date/region surfaced as stamped tags (Rungis
   reference, Decision Log 2026-11-06) instead of read as a sentence. Same
   neutral chip, no new colour — only the stencil-mark register (uppercase,
   spaced) distinguishes it from a semantic chip above. */
.chips{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}
/* Build-time SVG range bars (viz.py, round-one VFX panel 2026-11-22) --
   decorative and supplementary only, the real numbers already ship as text
   right beside every one of these. */
.range-bar{display:block;margin-top:4px}
.chip.market{text-transform:uppercase;letter-spacing:.03em;font-size:.75rem}

/* Market page table — REVERSED 2026-11-21, Adrian, after seeing the first
   pass: "The Market chart is too dark... I would rather use a brighter green
   tone then the dark blue tone you've applied... I want the site to
   eventually have the sterile look of Kalshi with the pops of colors."
   Checked kalshi.com directly rather than guess at "sterile": it is almost
   entirely white, with a vivid green used only as small pops (the brand
   mark, buy buttons, up-indicators, a thin accent bar) and thin light-gray
   horizontal dividers between rows — never a large dark fill. This retires
   the 2026-11-06 "Chalkboard Stall" dark trading-floor surface in favour of
   that same light-plus-pop pattern. The bounded-card structure that pass
   introduced — the floor lives on the INNER wrap, not the full-bleed
   section, so it reads as a centered card on a wide viewport — stays; only
   its fill and accents go light. th needs no override here any more: the
   ordinary light-ground rule (--highlight fill, on-dark text) already
   applies once the floor itself is light, which is also why every table on
   the site now shares one header treatment instead of Market carrying its
   own exception. */
.market-floor{background:var(--page);border-bottom:none;padding-block:32px}
.market-floor>.wrap{background:var(--panel);border-top:4px solid var(--brand-green);
                     border-radius:var(--radius);padding:32px}
/* A hard rule between the toolbar and the table -- without it the toolbar's
   label/field pairs and the table's own header cells read as one confused
   grid stacked on top of itself, which is exactly the complaint. */
.market-floor .tools{padding-bottom:20px;margin-bottom:12px;border-bottom:1px solid var(--line)}
.market-floor table{border-top:1px solid var(--line)}
.market-floor td{border-bottom-color:var(--line);color:var(--ink)}
.market-floor tbody tr:nth-child(even){background:var(--page)}
.market-floor tbody tr:hover{background:var(--brand-green-tint)}
.market-floor .crop{color:var(--ink);font-weight:600}
.market-floor .data{font-family:"Noto Serif",Georgia,serif;font-weight:700;
                     font-size:1.25rem;color:var(--brand-green)}
.market-floor .chip{border-color:var(--line);color:var(--ink-soft)}
.market-floor .src{color:var(--ink-soft)}
.market-floor tr[hidden]{display:none}
/* Title and toolbar live ON the floor, not in a separate band above it --
   the whole thing (title, controls, table) is one bounded surface. */
.market-floor h1{color:var(--ink)}
.market-floor .tools label{color:var(--ink-soft)}

.market-title{font-size:3.052rem;margin:0}
.market-title+.tools{margin-top:4px}

/* Filter toolbar sits on the normal page ground, above the dark floor —
   same .tools component the catalogue page already uses, not a new one. */
.tools input[type=text]{font:inherit;font-size:.875rem;padding:6px 10px;border:1px solid var(--line);
      border-radius:var(--radius);background:var(--page);color:var(--ink)}
/* .strip / .win REMOVED 2026-11-21, round-six panel: styled season_cell()'s
   dot strip, which build.py's main() never called -- see the one-line
   record left in build.py next to where that function was. Left here too
   rather than silently vanishing from history.
   Market page range bar — REMOVED 2026-11-05, Adrian: the dollar range
   already speaks for itself as text. See Brand Decision Log,
   "Market Page Range Bar Dropped". Left here as a one-line record rather
   than silently vanishing from history. */
@media(max-width:640px){table{min-width:0}}

/* product page */
.crop-head{display:flex;flex-direction:column;gap:6px}
.bot{font-style:italic;color:var(--ink-soft)}
.blocks{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.blk{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:var(--sp-4);
     display:flex;flex-direction:column;gap:6px}
.blk .lbl{font-size:.75rem;letter-spacing:.04em;text-transform:uppercase;color:var(--brand-green);font-weight:600}
.blk .val{font-size:1.0625rem;font-weight:600}
.blk .cav{font-size:.8125rem;color:var(--ink-soft)}
.absent-note{border-left:3px solid var(--accent);padding-left:16px;display:flex;flex-direction:column;gap:6px}

footer{background:var(--surface-dark);color:var(--on-dark-soft)}
footer>.wrap{padding-block:36px;font-size:.9375rem;display:flex;flex-direction:column;gap:12px}
footer a{color:var(--accent-warm)}
footer strong{color:var(--on-dark)}
/* Same gap as .hero .src above, caught by the same full-matrix pass --
   this one is worse, since it ships on every single page's footer, not
   just Home's. */
footer .src{color:var(--on-dark-soft)}

/* registration form — the MVP capture mechanism, added 2026-11-11 */
.register{display:flex;flex-direction:column;gap:14px;max-width:560px}
.register label{display:flex;flex-direction:column;gap:5px;font-size:.9375rem;font-weight:600;
                 color:var(--ink-soft)}
.register label.chk{flex-direction:row;align-items:flex-start;gap:8px;font-weight:400;cursor:pointer}
.register label.chk input{margin:3px 0 0}
.register input[type=text],.register input[type=email],.register input[type=tel],
.register textarea{font:inherit;font-size:.9375rem;padding:8px 10px;border:1px solid var(--line);
                    border-radius:var(--radius);background:var(--page);color:var(--ink);
                    font-weight:400;resize:vertical}
.register .btn{align-self:flex-start;border:0;cursor:pointer;font:inherit}
.ing-group{border:1px solid var(--line);border-radius:var(--radius);padding:12px 14px;margin:0}
.ing-group legend{font-size:.8125rem;letter-spacing:.04em;text-transform:uppercase;
                   color:var(--ink-soft);font-weight:600;padding:0 4px}
.ing-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:6px 12px;
          max-height:220px;overflow-y:auto;font-size:.875rem}
.ing-grid label.chk{align-items:center}
#register-buyer-fallback textarea,#register-grower-fallback textarea{width:100%;font:inherit;
     font-size:.875rem;padding:8px;border:1px solid var(--line);border-radius:var(--radius);
     background:var(--page);color:var(--ink)}

/* Round-seven panel, 2026-11-22: printed buyers.html with Chrome's own
   --print-to-pdf (not assumed, read the actual output) before writing any
   of this. Found real content loss, not a styling nicety: every one of
   round one's accordions (.acc) prints in whatever state it happened to be
   in on screen -- collapsed by default -- so all three of Buyers' later
   sections printed as a bare "+ heading" with their entire body missing,
   silently, with no "..." or note that anything was cut. The ingredient
   checklist (.ing-grid, max-height:220px + overflow-y:auto on screen) print
   the same way: clipped mid-list with a visible scrollbar baked into the
   page, the rest of the checkboxes gone. Neither is a screen bug; both are
   real on paper, and a site built around being a citable, printable
   reference should not silently drop a third of a page when printed. */
@media print {
  /* A collapsed <details>'s body is NOT just CSS display:none on its
     content -- tested a `details.acc:not([open]) > .acc-body
     {display:block!important}` rule directly against real print output
     here first, and it had no effect while every other rule in this same
     block did. The actual, working fix is in page()'s own closing
     script: toggle the real `open` attribute on beforeprint, restore it
     on afterprint. Nothing left to do here for that specific problem --
     this comment exists so a future edit doesn't re-add a rule already
     proven not to work. */
  .acc summary::before { display: none } /* the +/- toggle glyph means nothing once nothing can be clicked */

  /* The checklist must show every option, not just what fit in 220px on a screen. */
  .ing-grid { max-height: none; overflow: visible }

  /* Round seven's own finding, repeated: the hero-tabs chooser (2026-11-25)
     hides two of its three panels exactly the way a collapsed accordion
     hid its body -- and unlike <details>, a radio-driven display:none IS a
     plain CSS rule, so overriding it here (verified against real
     --print-to-pdf output, not assumed) is enough on its own; no
     beforeprint/afterprint JS toggle needed this time. Every tab button's
     content ships on paper, not just whichever one was selected on screen. */
  .hero-tabs .tab-panel { display: flex !important; flex-direction: column; gap: 12px }
  .hero-tabs label { border-color: #999 !important; background: none !important }

  /* Real pre-existing bug, found while verifying the fix above against
     actual print output (confirmed independently with pdftoppm, not just
     one viewer): the broad `.hero{color:#000!important}` rule several
     lines up never actually reaches hero's own children. A child
     selector's own non-important color declaration always wins over an
     inherited value, regardless of `!important` on the ancestor -- CSS
     inheritance is resolved per element, and `.hero p`/`.hero h1`/etc. set
     color directly on themselves. Hero's on-dark/on-dark-soft tokens
     (#F2F5F1, #AEBBAF -- built for the near-black screen surface) were
     printing nearly invisible on the forced-white print page as a result;
     not introduced by today's hero rebuild, surfaced by actually testing
     rather than assuming the broader rule already covered it. */
  .hero h1, .hero p, .hero .eyebrow, .hero .note, .hero .note strong,
  .hero .src, .hero a, .hero-photo figcaption, .hero-tabs label { color: #000 !important }

  /* Interactive-only chrome: a nav link, a filter control, a submit
     button, none of them do anything on paper. */
  nav, footer, .skip, .tools, .btn { display: none }

  /* Ink-friendly: a reader printing a reference page is paying for the
     ink. Flat white background, black text, no accent fills -- the exact
     opposite instinct from every screen round this project has run, and
     exactly why nobody had checked it until this one did. */
  body, .band, .panel, .card, .blk, .note, .market-floor, .market-floor > .wrap, .hero {
    background: #fff !important; color: #000 !important; border-color: #999 !important;
  }
  .hero { border-top: none !important }

  /* Defensive, not a bug found in practice this round: the scroll-reveal
     animation (round one) must never leave anything sitting at the
     pre-reveal opacity on a medium with no scrolling to trigger it. */
  .card, .blk { opacity: 1 !important; transform: none !important }
}
