/* Public pages of the Kavalactone Ledger. Tokens and fonts live in tokens.css (loaded first).
   No inline styles: the CSP blocks them, so sizes set from data go through applySizes() in js/site.js. */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  font-variant-numeric: lining-nums tabular-nums;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
/* Pages filled by script keep the footer below the fold until the content arrives (no layout shift). */
main { flex: 1; }
main.dynamic { min-height: 100vh; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: var(--text-3xl); letter-spacing: -.02em; }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-lg); }
p { margin: 0 0 1em; text-wrap: pretty; }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--space-4); }
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: -.01em; }
.muted { color: var(--muted); }
.small { font-size: var(--text-sm); }
.lede { color: var(--ink-soft); font-size: var(--text-lg); max-width: 60ch; }
.lede.small { font-size: var(--text-md); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 14px; border-radius: var(--r-sm); z-index: 20; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-head { background: var(--card); color: var(--ink); border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.site-head .wrap { display: flex; align-items: center; gap: var(--space-3) var(--space-5); min-height: 68px; }
.brand { color: var(--navy-900); text-decoration: none; display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-text { display: grid; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; white-space: nowrap; }
.brand-sub { font-size: var(--text-xs); color: var(--muted); letter-spacing: .02em; white-space: nowrap; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { color: var(--ink-soft); text-decoration: none; padding: 8px 12px; border-radius: var(--r-pill); font-size: .95rem; transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.nav a:hover { color: var(--blue-800); background: var(--blue-50); }
.nav a[aria-current='page'] { color: var(--blue-800); background: var(--blue-50); font-weight: 600; }

/* Illustrated hero (pilot and partner pages). The kava plants stand on a ground band whose top
   edge is 20px above the figures card, so the plants look as if they grow out of the ledger. */
.hero { --ground: 20px; --card-overlap: 72px; position: relative; color: #fff; background: radial-gradient(120% 90% at 85% 100%, var(--navy-800) 0%, var(--navy-900) 60%); isolation: isolate; overflow: hidden; }
.hero::before { content: ''; position: absolute; left: 0; right: 0; bottom: calc(var(--card-overlap) + var(--ground) + 96px); height: 1px; z-index: -1; background: linear-gradient(90deg, rgba(140, 192, 245, 0), rgba(140, 192, 245, .32) 30%, rgba(140, 192, 245, .32) 70%, rgba(140, 192, 245, 0)); }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--card-overlap) + var(--ground)); z-index: -1; background: var(--navy-800); border-top: 1px solid rgba(140, 192, 245, .32); }
.hero-inner { position: relative; padding: var(--space-8) var(--space-4) calc(var(--card-overlap) + var(--ground) + 120px); }
.hero h1 { color: #fff; max-width: 15ch; font-size: clamp(2.2rem, 5vw, 3.5rem); }
.hero .lede { color: #d5e2f2; max-width: 46ch; }
.hero-art { position: absolute; right: var(--space-4); bottom: calc(var(--card-overlap) + var(--ground)); width: min(74%, 820px); height: auto; display: block; }
.hero.compact .hero-inner { min-height: 560px; padding-bottom: calc(var(--card-overlap) + var(--ground) + 72px); }
.hero.compact .hero-art { width: min(60%, 680px); }
@media (max-width: 960px) {
  .hero-inner { padding-bottom: calc(var(--card-overlap) + var(--ground)); }
  .hero.compact .hero-inner { min-height: 0; padding-bottom: calc(var(--card-overlap) + var(--ground)); }
  #partner-lede { min-height: 4.8em; }
  .hero-art, .hero.compact .hero-art { position: static; width: min(100%, 560px); margin: var(--space-5) 0 0 auto; }
  .hero::before { bottom: calc(var(--card-overlap) + var(--ground) + 60px); }
  .hero { background: var(--navy-900); }
}

/* Figures that overlap the hero */
.figures { position: relative; margin: -72px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-2); overflow: hidden; }
.figure { padding: var(--space-5); border-left: 1px solid var(--line); min-width: 0; }
.figure:first-child { border-left: 0; }
.figure dt { font-size: var(--text-sm); font-weight: 500; color: var(--muted); }
.figure dd { margin: 6px 0 0; font-weight: 600; font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.05; color: var(--navy-900); }
.figure dd small { font-family: var(--sans); font-size: var(--text-sm); color: var(--muted); margin-left: 4px; font-weight: 500; }
.figure.minor dd { font-size: clamp(1.3rem, 2.6vw, 1.6rem); padding-top: 6px; }
.figure-note { display: block; margin-top: 6px; font-size: var(--text-sm); color: var(--muted); }
.figures.loading { min-height: 132px; }

/* Front page: stats strip, price board beside the plant map, then the stage and partner tables. */
.ticker-bar { border-bottom: 1px solid var(--line); background: var(--page-2); min-height: 41px; }
.ticker { display: flex; gap: var(--space-2) var(--space-6); margin: 0; padding: 10px 0; font-size: var(--text-sm); overflow-x: auto; white-space: nowrap; }
.ticker div { display: flex; gap: 6px; }
.ticker dt { color: var(--muted); }
.ticker dd { margin: 0; font-weight: 600; color: var(--navy-900); }
.front-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-5); align-items: end; padding: var(--space-6) 0 0; }
.front-art { display: block; width: 100%; height: auto; }
.front-head h1 { font-size: clamp(2.4rem, 4.6vw, 3.75rem); max-width: 16ch; margin-bottom: var(--space-4); }
.front-head h1 span { color: var(--blue-700); }
.front-head .lede { font-size: var(--text-lg); max-width: 58ch; margin: 0; }
.board-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-5); align-items: start; margin-top: var(--space-5); min-height: 420px; }
.board-stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); min-width: 0; }
.board h2 { font-size: var(--text-xl); margin: 0 0 var(--space-3); }
.board .panel { padding: var(--space-4); }
.board-note { margin: var(--space-3) 0 0; font-size: var(--text-sm); color: var(--muted); max-width: 62ch; }
.row-sub { display: none; }
.price-cell { font-weight: 600; color: var(--navy-900); }
td.empty-row { white-space: normal; color: var(--muted); padding: var(--space-6) var(--space-4); text-align: center; }
.row-name { display: flex; align-items: center; gap: var(--space-3); color: var(--ink); font-weight: 600; text-decoration: none; }
a.row-name:hover { color: var(--link); text-decoration: underline; }
.stage-bar.in-row { min-width: 120px; }
@media (max-width: 960px) {
  .board-grid, .front-head { grid-template-columns: minmax(0, 1fr); }
  .board-grid { min-height: 0; }
  .front-art { max-width: 560px; }
}
@media (min-width: 961px) and (max-width: 1120px) { .cell-since { display: none; } }
@media (max-width: 375px) { .front-head h1 { font-size: 2.1rem; } }
@media (max-width: 560px) {
  .cell-since, .cell-range, .cell-mix, .cell-basis { display: none; }
  .cell-product { white-space: normal; }
  .row-sub { display: block; font-size: var(--text-sm); color: var(--muted); }
  th, td { padding: 10px 12px; }
  .board th, .row-name { white-space: normal; }
}

/* Plain page head (nodes, market) */
.page-head { padding: var(--space-7) 0 var(--space-5); }
.page-head h1 { margin-bottom: var(--space-3); }
.crumbs { font-size: var(--text-sm); color: var(--muted); margin: 0 0 var(--space-4); }
.crumbs a { color: var(--ink-soft); }

/* Sections and panels */
main > .wrap { padding-bottom: var(--space-8); }
.section { margin-top: var(--space-7); }
.section-head { margin-bottom: var(--space-4); }
.section-head h2 { margin: 0; }
.section-head p { margin: var(--space-2) 0 0; color: var(--ink-soft); max-width: 62ch; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--space-5); }
.panel.note { background: var(--blue-50); box-shadow: none; border: 1px solid var(--blue-200); }
.panel.note p { max-width: 62ch; }
.panel.note p:last-child { margin-bottom: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.grid-2 > *, .grid-3 > * { min-width: 0; }

/* Tags and chips */
.chip { display: inline-flex; align-items: center; gap: 7px; font-size: var(--text-sm); white-space: nowrap; }
.swatch { width: 11px; height: 11px; border-radius: 3px; display: inline-block; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.health-watch { color: var(--watch); font-weight: 600; font-size: var(--text-sm); }
.health-lost { color: var(--bad); font-weight: 600; font-size: var(--text-sm); }
.health-ok { color: var(--ok); font-size: var(--text-sm); }

/* Allocation map: one slot per allocated node, filled once the node is logged */
.alloc + .alloc { margin-top: var(--space-5); padding-top: var(--space-5); border-top: 1px solid var(--line); }
.alloc-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px var(--space-4); margin-bottom: var(--space-3); }
.alloc-head h3 { font-size: var(--text-md); margin: 0; }
.alloc-head h3 a { color: var(--ink); text-decoration: none; }
.alloc-head h3 a:hover { color: var(--link); text-decoration: underline; }
.alloc-head .range { font-size: var(--text-sm); color: var(--muted); }
.alloc-head .count { margin-left: auto; font-size: var(--text-sm); color: var(--ink-soft); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, 22px); gap: 5px; }
.slot { width: 22px; height: 22px; border-radius: 5px; display: block; position: relative; transition: transform var(--dur) var(--ease); }
.slot.open { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
a.slot:hover { transform: scale(1.18); z-index: 2; }
.slot.watch::after { content: ''; position: absolute; inset: 32%; border-radius: 50%; background: #fff; }
.slot.s0.watch::after, .slot.s1.watch::after, .slot.s2.watch::after { background: var(--navy-900); }
.slot.lost { background: var(--card); box-shadow: inset 0 0 0 2px var(--bad); }
@media (hover: hover) {
  a.slot[data-tip]:hover::before { content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: var(--navy-950); color: #fff; font: 500 var(--text-xs)/1.4 var(--sans); padding: 6px 10px; border-radius: 6px; white-space: nowrap; pointer-events: none; box-shadow: var(--shadow-1); }
}
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--line); font-size: var(--text-sm); color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend .slot { width: 12px; height: 12px; border-radius: 3px; }
.progress { height: 6px; border-radius: 3px; background: var(--page-2); overflow: hidden; display: flex; }
.progress span { display: block; height: 100%; }
.progress .fill { background: var(--blue-500); }

/* Partner cards */
.partner-card { display: flex; flex-direction: column; gap: var(--space-3); color: inherit; text-decoration: none; background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-1); padding: var(--space-5); transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.partner-card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.partner-card h2, .partner-card h3 { margin: 0; font-size: var(--text-lg); }
.partner-top { display: flex; align-items: center; gap: var(--space-3); }
.monogram { width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-800); font: 600 .78rem/1 var(--sans); }
.partner-card .range { font-size: var(--text-sm); color: var(--muted); margin: 2px 0 0; }
.partner-card .meta { display: flex; justify-content: space-between; gap: var(--space-3); font-size: var(--text-sm); color: var(--ink-soft); margin: 0; }
.partner-card .go { margin-top: auto; font-size: var(--text-sm); font-weight: 600; color: var(--link); }
.stage-bar { height: 8px; border-radius: 4px; background: var(--page-2); overflow: hidden; display: flex; }
.stage-bar span { display: block; height: 100%; }

/* Stage steps on the pilot page: one ruled strip read left to right, each stage keyed by the
   same colour square the allocation map uses. */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-1); overflow: hidden; }
.steps li { padding: var(--space-4) var(--space-5) var(--space-5); border-left: 1px solid var(--line); min-width: 0; }
.steps li:first-child { border-left: 0; }
.steps .name { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: var(--text-sm); }
.steps .name::before { content: ''; width: 11px; height: 11px; border-radius: 3px; flex: none; background: var(--step-colour, var(--line)); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.steps .n { display: block; margin-top: var(--space-3); font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--navy-900); }
.steps .k { display: block; margin-top: 4px; font-size: var(--text-sm); color: var(--muted); }
.steps .st0 { --step-colour: var(--s0); } .steps .st1 { --step-colour: var(--s1); } .steps .st2 { --step-colour: var(--s2); }
.steps .st3 { --step-colour: var(--s3); } .steps .st4 { --step-colour: var(--s4); } .steps .st5 { --step-colour: var(--s5); }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 var(--text-md)/1.2 var(--sans); border-radius: var(--r-pill); padding: 12px 22px; min-height: 46px; border: 1px solid var(--blue-700); background: var(--blue-700); color: #fff; text-decoration: none; cursor: pointer; transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.btn:hover { background: var(--blue-800); border-color: var(--blue-800); box-shadow: var(--shadow-1); }
.btn.secondary { background: transparent; color: var(--blue-700); }
.btn.secondary:hover { background: var(--card); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Tables */
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--muted); font-weight: 600; font-size: var(--text-sm); background: var(--card); position: sticky; top: 0; }
tbody tr { transition: background var(--dur) var(--ease); }
tbody tr:hover { background: #f4f8fd; }
tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; }
.node-link { font-family: var(--mono); font-weight: 500; color: var(--ink); text-decoration: none; }
.node-link:hover { color: var(--link); text-decoration: underline; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: end; margin: 0 0 var(--space-4); }
.filters label { display: grid; gap: 4px; font-size: var(--text-sm); font-weight: 600; color: var(--ink-soft); }
select, input, textarea {
  font: inherit; font-size: .95rem; color: var(--ink); background: var(--card);
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 9px 12px; min-height: 44px;
  text-transform: none; letter-spacing: 0;
}
.filters .count { margin-left: auto; color: var(--muted); font-size: var(--text-sm); align-self: center; }

/* Market */
.index-label { margin: 0 0 6px; color: var(--muted); font-size: var(--text-sm); }
.index-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.index-price { font-weight: 600; font-size: clamp(2.4rem, 6vw, 3.4rem); line-height: 1; color: var(--navy-900); }
.index-change { font-size: var(--text-md); color: var(--ink-soft); }
.chart-box { position: relative; }
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart text { font: 12px var(--sans); fill: var(--muted); }
.chart-label { position: absolute; transform: translate(-50%, calc(-100% - 14px)); background: var(--navy-950); color: #fff; font-size: var(--text-xs); padding: 6px 10px; border-radius: 6px; white-space: nowrap; pointer-events: none; box-shadow: var(--shadow-1); }
.chart-label[hidden] { display: none; }
.chart-empty { display: grid; place-items: center; text-align: center; min-height: 200px; color: var(--muted); background: repeating-linear-gradient(0deg, transparent 0 47px, var(--line) 47px 48px); border-radius: var(--r-md); padding: var(--space-5); }
.chart-empty p { background: var(--card); padding: 8px 14px; border-radius: var(--r-pill); margin: 0; }

/* States */
.empty { text-align: center; padding: var(--space-7) var(--space-5); }
.error-box { background: var(--bad-bg); border: 1px solid var(--bad-line); border-radius: var(--r-md); padding: var(--space-4) var(--space-5); margin-top: var(--space-6); }
.skeleton { background: linear-gradient(90deg, var(--page-2) 0%, #f8fbfe 50%, var(--page-2) 100%) 0 0 / 200% 100%; border-radius: var(--r-md); animation: shimmer 1.4s linear infinite; }
.skeleton.block { height: 320px; margin-top: var(--space-7); }
.skeleton.line { height: 18px; width: 60%; margin: 10px 0; }
@keyframes shimmer { to { background-position: -200% 0; } }
.reveal { animation: rise .45s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }

/* Footer */
.site-foot { background: var(--page-2); color: var(--ink-soft); font-size: var(--text-sm); padding: var(--space-7) 0 var(--space-6); margin-top: var(--space-7); }
.site-foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-5) var(--space-7); }
.foot-brand p { max-width: 46ch; }
.foot-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px var(--space-5); align-content: start; }
.foot-links a { color: var(--ink-soft); text-decoration: none; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }
.foot-note { grid-column: 1 / -1; margin: 0; padding-top: var(--space-4); border-top: 1px solid var(--line-strong); color: var(--muted); font-size: var(--text-xs); }

/* Long-form page (how verification works) */
.prose { max-width: 62ch; }
.prose h2 { margin-top: var(--space-6); }
.prose ol, .prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.chain-figure { margin: var(--space-5) 0; }
.chain-figure svg { width: 100%; height: auto; display: block; }
.chain-figure figcaption { font-size: var(--text-sm); color: var(--muted); margin-top: var(--space-2); max-width: 66ch; }


/* Figures inside a panel (market) */
.figures.inset { margin: var(--space-5) 0 0; box-shadow: none; border-radius: 0; background: none; border-top: 1px solid var(--line); }
.figures.inset .figure { padding: var(--space-4) var(--space-5) 0; }
.figures.inset .figure:first-child { padding-left: 0; }
.figures.inset .figure dd { font-size: clamp(1.2rem, 2.4vw, 1.45rem); }

/* Node list: stacked rows on phones */
@media (max-width: 640px) {
  table.stack thead { display: none; }
  table.stack, table.stack tbody { display: block; }
  table.stack tr { display: grid; grid-template-columns: 1fr auto; grid-template-areas: 'id stage' 'partner health'; gap: 2px 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); align-items: center; }
  table.stack tr:last-child { border-bottom: 0; }
  table.stack td { display: block; padding: 0; border: 0; white-space: normal; text-align: left; }
  table.stack .cell-id { grid-area: id; font-size: var(--text-lg); }
  table.stack .cell-stage { grid-area: stage; justify-self: end; }
  table.stack .cell-partner { grid-area: partner; font-size: var(--text-sm); color: var(--muted); }
  table.stack .cell-health { grid-area: health; justify-self: end; }
  table.stack .cell-planted, table.stack .cell-days, table.stack .cell-value, table.stack .cell-last { display: none; }
  table.stack tr.none { display: block; }
}

@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li:nth-child(3n + 1) { border-left: 0; }
  .steps li:nth-child(n + 4) { border-top: 1px solid var(--line); }
}
@media (max-width: 820px) {
  .figures { grid-template-columns: 1fr 1fr; }
  .figure:nth-child(3) { border-left: 0; }
  .figure:nth-child(n+3) { border-top: 1px solid var(--line); }
  .figures.inset .figure:nth-child(3) { padding-left: 0; }
  .figures.inset .figure:nth-child(n+3) { margin-top: var(--space-4); }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .site-foot .wrap { grid-template-columns: 1fr; }
  .hero-inner { padding-top: var(--space-7); }
}
@media (max-width: 560px) {
  .brand-sub { display: none; }
  .brand { gap: 8px; }
  .brand-name { font-size: .92rem; overflow: hidden; text-overflow: ellipsis; }
  .brand-mark { width: 26px; height: 26px; }
  .site-head .wrap { min-height: 60px; gap: var(--space-2); }
  .nav { flex: none; }
  .nav a { padding: 6px 6px; font-size: .85rem; }
  .hero-inner { padding-top: var(--space-6); }
  .figure { padding: var(--space-4); }
  .panel { padding: var(--space-4); }
  .slots { grid-template-columns: repeat(auto-fill, 20px); gap: 4px; }
  .slot { width: 20px; height: 20px; border-radius: 4px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li { padding: var(--space-4); border-left: 1px solid var(--line); }
  .steps li:nth-child(odd) { border-left: 0; }
  .steps li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .filters label { flex: 1 1 140px; }
  .filters .count { margin-left: 0; width: 100%; }
}
@media (max-width: 370px) {
  .nav a { padding: 6px 6px; }
  .brand-name { font-size: .88rem; }
}

@media print {
  .site-head, .site-foot, .no-print, .skip { display: none !important; }
  body { background: #fff; font-size: 11pt; display: block; }
  .panel, .table-wrap, .partner-card { border: 1px solid #ccc; }
  .hero { background: none; color: var(--ink); }
  .hero::before, .hero::after, .hero-art { display: none; }
}
