/* Shared stylesheet for every site (docs/design/design-system.md). It uses only tokens; each site's theme.css sets the
   colours and typefaces from configs/design/themes.yaml. Mobile first: phone sizes are the defaults, then 768 and 1280 px. */
:root {
  /* Fallbacks; theme.css overrides every colour. */
  --bg: #f7f6f2; --surface: #ffffff; --text: #16181d; --muted: #585e66; --line: #dedad0; --link: #0f5e4a;
  --brand: #0f5e4a; --ink: #14181f; --on-ink: #f3f1ea; --muted-on-ink: #b9bec6; --accent: #f2c14e; --accent-ui: #b07d12;
  --caveat-bg: #fff8e6; --caveat-line: #e8c770; --notice-bg: #fdecec; --notice-line: #d77a7a;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: var(--font-body);
  --font-num: var(--font-body);
  /* Type scale, phones (design-system.md 2.3). Body text never goes below 16 px. */
  --fs-xs: 13px; --fs-sm: 14px; --fs-body: 16px; --fs-lead: 16px; --fs-h3: 17px; --fs-h2: 18px; --fs-h1: 21px;
  --fs-figure: 28px; --fs-figure-lg: 36px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  --radius: 8px; --card-pad: 12px 14px;
  color-scheme: light dark;
}
@media (min-width: 768px) {
  :root { --fs-sm: 14.5px; --fs-body: 17px; --fs-lead: 18px; --fs-h3: 18px; --fs-h2: 20px; --fs-h1: 26px;
    --fs-figure: 32px; --fs-figure-lg: 44px; --card-pad: 16px 20px; }
}
@media (min-width: 1280px) {
  :root { --fs-h3: 19px; --fs-h2: 21px; --fs-h1: 30px; --fs-figure: 34px; --fs-figure-lg: 48px; }
}
@media (prefers-color-scheme: dark) {
  :root { --caveat-bg: #2b2616; --caveat-line: #8a7230; --notice-bg: #321c1c; --notice-line: #8d4444; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.5;
}
@media (min-width: 768px) { body { line-height: 1.6; } }
.wrap { max-width: 46rem; margin: 0 auto; padding: 0 16px; }
a { color: var(--link); text-underline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.25; }
h1 { font-size: var(--fs-h1); margin: var(--s1) 0 var(--s2); }
h2 { font-size: var(--fs-h2); margin: var(--s5) 0 var(--s2); }
h3 { font-size: var(--fs-h3); }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }

.draft-banner { background: #b00020; color: #fff; text-align: center; padding: 14px 16px; font-size: 1rem; border-bottom: 4px solid #6d0014; }
.draft-banner strong { display: block; font-size: 1.5rem; letter-spacing: 0.04em; }
.preview-banner { background: #8a2d00; color: #fff; text-align: center; padding: 8px 16px; font-weight: 600; font-size: var(--fs-sm); }
.site-header { border-top: 5px solid var(--brand); border-bottom: 1px solid var(--line); background: var(--surface); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 24px; padding-top: 4px; padding-bottom: 4px; }
.brand { font-weight: 700; font-size: 1.05rem; color: var(--text); text-decoration: none; }
nav { display: flex; gap: 18px; font-size: 0.95rem; }
nav a { color: var(--muted); text-decoration: none; }
nav a[aria-current="page"], nav a:hover { color: var(--text); text-decoration: underline; }
main { padding-top: var(--s4); padding-bottom: var(--s6); }
@media (min-width: 768px) { main { padding-top: var(--s5); } }

caption { caption-side: top; text-align: left; font-size: var(--fs-sm); color: var(--muted); padding-bottom: 6px; }
.subtitle { font-size: calc(var(--fs-lead) + 1px); font-weight: 600; margin: 0 0 var(--s2); }
.lead { font-size: var(--fs-lead); color: var(--muted); margin: var(--s2) 0; }
.meta { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
.badge { display: inline-block; background: #8a2d00; color: #fff; border-radius: 4px; padding: 0 6px; font-size: var(--fs-xs); font-weight: 600; }
.badge-live { background: var(--brand); }
.empty { color: var(--muted); }

/* Freshness and trust (design-system.md 4.1, 4.2). fresh.js adds the relative time in a .rel span. */
.freshness, .trust, .built { font-size: var(--fs-xs); color: var(--muted); margin: var(--s1) 0; }
.trust .reviewed { font-weight: 600; color: var(--text); }
.rel { white-space: nowrap; }

/* Cards: one link per card, stretched over the whole card; secondary links sit outside the card. */
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--card-pad); margin: 10px 0; min-height: 44px; }
.card h2, .card h3 { margin: 0 0 var(--s1); font-size: var(--fs-h3); }
.card-link { color: var(--text); text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card:hover { border-color: var(--link); }
.card:hover .card-link { text-decoration: underline; }
.card-link:focus-visible { outline: none; }
.card:focus-within { outline: 3px solid var(--link); outline-offset: 2px; }
.card .summary { margin: var(--s1) 0 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.card .meta { margin-bottom: var(--s1); }
.card p:last-child { margin-bottom: 0; }

.table-wrap { overflow-x: auto; margin: 1rem 0; }
table { border-collapse: collapse; width: 100%; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
th, td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { font-weight: 600; border-bottom-width: 2px; }
th.num, td.num { text-align: right; white-space: nowrap; font-family: var(--font-num); }

.caveats { background: var(--caveat-bg); border-left: 4px solid var(--caveat-line); border-radius: 4px; padding: 4px 16px 12px; margin: var(--s5) 0; }
.caveats h2, .caveats h3 { margin-top: 0.8rem; font-size: var(--fs-h3); }
.notice { background: var(--notice-bg); border-left: 4px solid var(--notice-line); border-radius: 4px; padding: 8px 16px; margin: 1rem 0; }
.notice h2 { margin-top: 0.5rem; }
blockquote { background: var(--notice-bg); border: 1px solid var(--notice-line); border-left-width: 4px; border-radius: 4px; margin: 1.25rem 0; padding: 4px 16px; }
code { font-size: 0.9em; }

.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: var(--fs-sm); padding: 16px 0 32px; }

.signup { background: var(--surface); border-top: 1px solid var(--line); padding: 8px 0 24px; }
.signup h2 { margin-top: 1rem; font-size: var(--fs-h3); }
.signup p { color: var(--muted); font-size: var(--fs-sm); }
.signup-form { display: grid; gap: 6px; max-width: 26rem; }
.signup-form label { font-weight: 600; font-size: var(--fs-sm); margin-top: 6px; }
.signup-form .optional { font-weight: 400; color: var(--muted); }
.signup-form input, .signup-form select { font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--text); width: 100%; }
.signup-form button { justify-self: start; margin-top: 10px; font: inherit; font-weight: 600; padding: 8px 18px; border: 0; border-radius: 6px; background: var(--brand); color: #fff; cursor: pointer; }
.signup-form button:hover { filter: brightness(1.1); }

/* Mobile-first touch targets (CLAUDE.md): at least 44 x 44 px for navigation, buttons and form fields; inputs 16 px+. */
nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.signup-form input, .signup-form select { min-height: 44px; font-size: max(16px, 1rem); }
.signup-form button, .button { min-height: 44px; min-width: 44px; }
.button { display: inline-flex; align-items: center; padding: 0 18px; border-radius: 6px; background: var(--brand); color: #fff; font-weight: 600; text-decoration: none; }
.button:hover { filter: brightness(1.1); }
/* Navigation: a disclosure menu on phones (works by keyboard, screen reader and touch, no JavaScript), inline above 720 px. */
.nav-wide { display: none; }
.nav-menu summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 600; padding: 0 4px; }
.nav-menu nav { flex-direction: column; gap: 0; padding-bottom: 8px; }
@media (min-width: 720px) { .nav-wide { display: flex; } .nav-menu { display: none; } }

.products { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.products .card { margin: 0; }
@media (min-width: 768px) { .products { grid-template-columns: 1fr 1fr; } }
.product .badge { margin-right: var(--s1); }
img, video { max-width: 100%; height: auto; }

/* Part B components (docs/design/design-system.md 4). */
.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; }
.figure { white-space: nowrap; font-family: var(--font-num); font-variant-numeric: tabular-nums; font-size: var(--fs-figure); font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }
.figure-lg { font-size: var(--fs-figure-lg); }
.change { font-family: var(--font-num); font-weight: 600; white-space: nowrap; }
.section-label { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: var(--s5) 0 var(--s1); }

/* Depth switch: three in-page links, each a 44 px target. */
.depth-switch { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin: var(--s3) 0 var(--s2); }
.depth-label { font-size: var(--fs-sm); color: var(--muted); width: 100%; }
.depth-switch a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); }
.depth-switch a:hover { border-color: var(--link); }
.depth { scroll-margin-top: var(--s3); }
.depth-heading { font-size: var(--fs-h2); border-top: 2px solid var(--line); padding-top: var(--s3); margin-top: var(--s5); }
.finding { color: var(--text); font-weight: 500; }

/* The signal: the number is the headline. */
.the-signal { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent-ui); border-radius: var(--radius); padding: var(--card-pad); margin: var(--s4) 0; }
.the-signal .section-label { margin-top: 0; }
.signal-figure { margin: 0; }
.signal-label { margin: var(--s1) 0; font-weight: 600; }
.compare { font-weight: 400; color: var(--muted); }
.by-the-numbers { display: grid; gap: var(--s2); margin: var(--s2) 0; }
.by-the-numbers div { display: grid; grid-template-columns: minmax(7.5rem, auto) 1fr; gap: var(--s3); align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: var(--s2); }
.by-the-numbers dt { font-family: var(--font-num); font-variant-numeric: tabular-nums; font-weight: 700; }
.by-the-numbers dd { margin: 0; }

/* Charts drawn at build time; the values are printed as text next to them. */
.bar-list { margin: var(--s3) 0 0; }
.bar-list figcaption { font-size: var(--fs-sm); color: var(--muted); margin-bottom: var(--s1); }
.bar-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.bar-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px var(--s2); font-size: var(--fs-sm); }
.bar-value { font-family: var(--font-num); font-variant-numeric: tabular-nums; font-weight: 600; }
.bar { grid-column: 1 / -1; width: 100%; height: 6px; }
.bar rect { fill: var(--accent-ui); }
.sparkline { display: inline-block; vertical-align: middle; }
.sparkline polyline { stroke: var(--accent-ui); }
.sparkline circle { fill: var(--accent-ui); }

/* Signal card. */
.signal-card .signal-figure { margin-bottom: var(--s1); }
.signal-facts { display: grid; gap: 2px; margin: var(--s2) 0; font-size: var(--fs-sm); }
.signal-facts div { display: flex; gap: var(--s2); }
.signal-facts dt { color: var(--muted); min-width: 6.5rem; }
.signal-facts dd { margin: 0; }
.components { font-size: var(--fs-sm); color: var(--muted); margin: var(--s1) 0; }

/* Evidence, sharing and watch. */
.evidence { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin: var(--s4) 0; }
.evidence summary { min-height: 44px; display: flex; align-items: center; padding: 0 var(--s4); cursor: pointer; font-weight: 600; }
.evidence dl, .evidence ul { margin: 0; padding: 0 var(--s4) var(--s3); font-size: var(--fs-sm); }
.evidence dl div { display: flex; gap: var(--s2); padding: 2px 0; }
.evidence dt { color: var(--muted); min-width: 8.5rem; }
.evidence dd { margin: 0; }
.evidence-sources { list-style: none; }
.evidence-sources li { margin: var(--s1) 0; }
.share { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s5) 0 var(--s2); }
.share-link { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--text); font: inherit; font-weight: 600; font-size: var(--fs-sm); text-decoration: none; cursor: pointer; }
.share-link:hover { border-color: var(--link); }
.share-whatsapp { background: var(--brand); border-color: var(--brand); color: #fff; }
.watch { margin: var(--s2) 0; }
.watch summary { min-height: 44px; display: inline-flex; align-items: center; cursor: pointer; font-weight: 600; color: var(--link); }
.watch p { font-size: var(--fs-sm); color: var(--muted); }

/* Part C/D: the Kenya bid desk, Open tenders and the hub launcher. */
.band { background: var(--ink); color: var(--on-ink); border-radius: var(--radius); padding: var(--s4); margin: 0 0 var(--s4); }
.band a { color: var(--accent); }
.band .lead, .band .freshness, .band .trust, .band .meta, .band dt, .band .sub, .band .eyebrow { color: var(--muted-on-ink); }
.band .section-label { color: var(--accent); margin-top: var(--s3); }
.band .figure { color: var(--on-ink); }
.band .sparkline polyline { stroke: var(--accent); }
.band .sparkline circle { fill: var(--accent); }
.band .notice-inline { color: var(--on-ink); border-left: 3px solid var(--accent); padding-left: var(--s2); }
.band h1 { margin-top: 0; }
.eyebrow { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 var(--s1); }
.desk-hero .module { margin: 0; }
.stat-strip { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3) var(--s4); margin: var(--s2) 0; }
.stat-strip div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.stat-strip dt { font-size: var(--fs-sm); }
.stat-strip dd { margin: 0; }
.stat-strip .sub { font-size: var(--fs-xs); order: -1; }
@media (min-width: 768px) { .stat-strip { grid-template-columns: repeat(4, 1fr); } }
.series { display: flex; align-items: center; gap: var(--s2); font-size: var(--fs-sm); margin: var(--s2) 0; }
.series > span:first-child { color: var(--muted-on-ink); }
.module { margin: var(--s5) 0; }
.module h2 { margin-top: 0; }
.est { color: var(--muted); font-size: var(--fs-xs); }
.band .est { color: var(--muted-on-ink); }

/* Closing soon: a strip that scrolls sideways inside its own box, never the page. */
.scroller { list-style: none; margin: var(--s2) 0; padding: 0 0 var(--s2); display: grid; grid-auto-flow: column; grid-auto-columns: minmax(16rem, 82%); gap: var(--s3); overflow-x: auto; scroll-snap-type: x mandatory; }
.scroller > li { scroll-snap-align: start; margin: 0; }
@media (min-width: 768px) { .scroller { grid-auto-columns: minmax(16rem, 1fr); } }
.closes { font-family: var(--font-num); font-weight: 700; font-size: var(--fs-sm); margin: 0 0 var(--s1); }
.tender-card h3, .tender-title { font-size: var(--fs-body); font-weight: 600; margin: 0 0 var(--s1); overflow-wrap: anywhere; }
.range { font-size: var(--fs-sm); margin: var(--s1) 0 0; }
/* Closed since the page was built (fresh.js): marked in words, greyed with colours that keep their contrast. */
.is-closed { background: var(--bg); border-style: dashed; }
.is-closed .closes { color: var(--muted); }
.is-closed .closes::before { content: "Closed · "; color: var(--text); }

/* Leaderboard, sector pulse, recent awards, calendar. */
.leaderboard, .pulse, .awards, .calendar, .ranked, .tenders { list-style: none; margin: var(--s2) 0; padding: 0; }
.leaderboard li, .pulse li, .calendar li, .ranked li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px var(--s3); padding: var(--s2) 0; border-bottom: 1px solid var(--line); }
.lb-name, .pulse-name { flex: 1 1 12rem; font-weight: 600; overflow-wrap: anywhere; }
.lb-sub, .pulse-note { font-size: var(--fs-sm); color: var(--muted); width: 100%; }
.pulse-counts { font-family: var(--font-num); font-variant-numeric: tabular-nums; color: var(--muted); }
.awards li { display: grid; gap: 2px; padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.award-title { font-weight: 600; overflow-wrap: anywhere; }
.award-compare { font-size: var(--fs-sm); }
.tenders li { padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.tender-source { font-size: var(--fs-sm); margin: var(--s1) 0 0; overflow-wrap: anywhere; }
.tenders .meta, .tender-card .meta { overflow-wrap: anywhere; }
.tender-source a { display: inline-flex; align-items: center; min-height: 44px; }
.pager { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s4) 0; }
.pager a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; }
.pager a[aria-current="page"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.more summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; color: var(--link); font-weight: 600; }

/* County grid: 47 equal squares; the ranked list beside it is the text alternative. */
.county-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 3px; max-width: 26rem; margin: var(--s3) 0 var(--s2); }
.sq { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 3px; font-size: 10px; font-weight: 700; color: var(--text); background: var(--line); }
.q1 { background: color-mix(in srgb, var(--accent-ui) 20%, var(--surface)); }
.q2 { background: color-mix(in srgb, var(--accent-ui) 35%, var(--surface)); }
.q3 { background: color-mix(in srgb, var(--accent-ui) 50%, var(--surface)); }
.q4 { background: color-mix(in srgb, var(--accent-ui) 65%, var(--surface)); }
/* Dark mode: lighter steps, so the light labels keep at least 4.5:1 on every shade. */
@media (prefers-color-scheme: dark) {
  .q1 { background: color-mix(in srgb, var(--accent-ui) 8%, var(--surface)); }
  .q2 { background: color-mix(in srgb, var(--accent-ui) 15%, var(--surface)); }
  .q3 { background: color-mix(in srgb, var(--accent-ui) 22%, var(--surface)); }
  .q4 { background: color-mix(in srgb, var(--accent-ui) 29%, var(--surface)); }
}
.legend { display: flex; align-items: center; gap: 3px; font-size: var(--fs-xs); color: var(--muted); }
.legend .sq { width: 14px; height: 14px; }
.g-c0 { grid-column: 1; } .g-c1 { grid-column: 2; } .g-c2 { grid-column: 3; } .g-c3 { grid-column: 4; } .g-c4 { grid-column: 5; } .g-c5 { grid-column: 6; } .g-c6 { grid-column: 7; } .g-c7 { grid-column: 8; } 
.g-r0 { grid-row: 1; } .g-r1 { grid-row: 2; } .g-r2 { grid-row: 3; } .g-r3 { grid-row: 4; } .g-r4 { grid-row: 5; } .g-r5 { grid-row: 6; } .g-r6 { grid-row: 7; } .g-r7 { grid-row: 8; } 

/* Hub launcher: a compact grid, 2 columns on phones, 3 from tablet up. */
.product-grid { grid-template-columns: 1fr 1fr; gap: var(--s2); }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 359px) { .product-grid { grid-template-columns: 1fr; } }
.product-grid .card { padding: var(--s3); }
.product-grid h3 { font-size: var(--fs-body); overflow-wrap: anywhere; hyphens: auto; }
.product-grid .summary { font-size: var(--fs-sm); -webkit-line-clamp: 3; line-clamp: 3; }
.tile-icon { display: inline-flex; color: var(--accent-ui); margin-bottom: var(--s1); }
.tile-metric { margin: 0; font-size: var(--fs-sm); }
.tile-metric .figure { font-size: var(--fs-h2); }
.product-live { border-color: var(--accent-ui); }
.signal-list { display: grid; gap: var(--s3); }
@media (min-width: 768px) { .signal-list { grid-template-columns: 1fr 1fr; } }
.signal-list.scroller { grid-template-columns: none; }
.signal-list.scroller .card { margin: 0; }

/* Part E: coming-soon pages. Every preview sits in a frame labelled "Layout preview, not real data". */
.cs-hero { margin: 0 0 var(--s4); }
.cs-hero:not(.band) { border-left: 5px solid var(--accent-ui); padding-left: var(--s3); }
.cs-hero .badge { vertical-align: middle; }
.preview-frame { position: relative; border: 2px dashed var(--line); border-radius: var(--radius); padding: var(--s4) var(--s3) var(--s3); margin: var(--s5) 0; background: var(--surface); }
.preview-frame h2 { margin-top: var(--s2); }
.preview-label { display: inline-block; margin: 0; padding: 2px 8px; border-radius: 4px; background: var(--text); color: var(--bg); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.pv-card { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--card-pad); margin: var(--s3) 0; background: var(--bg); }
.pv-kicker { font-weight: 700; margin: 0 0 var(--s1); }
.pv-big { font-family: var(--font-num); font-size: var(--fs-figure); font-weight: 700; margin: 0; }
.pv-unit { font-size: var(--fs-sm); font-weight: 400; color: var(--muted); }
.pv-facts { display: grid; gap: 2px; margin: var(--s2) 0 0; font-size: var(--fs-sm); }
.pv-facts div { display: flex; justify-content: space-between; gap: var(--s3); border-bottom: 1px solid var(--line); padding: 4px 0; }
.pv-facts dt { color: var(--muted); }
.pv-facts dd { margin: 0; font-family: var(--font-num); text-align: right; }
.pv-chips { display: flex; flex-wrap: wrap; gap: var(--s1); margin: var(--s2) 0; }
.pv-chip { border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; font-size: var(--fs-sm); background: var(--bg); }
.pv-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.pv-board { font-family: var(--font-num); }
.pv-board th[scope="row"] { text-transform: uppercase; letter-spacing: 0.04em; }
.pv-map, .pv-bubbles { width: 100%; height: auto; margin: var(--s2) 0; }
.pv-land ellipse { fill: var(--line); }
.pv-flow path { stroke: var(--accent-ui); stroke-width: 2; stroke-dasharray: 4 4; }
.pv-node circle, .pv-bubble circle { fill: var(--accent-ui); opacity: 0.6; }
.pv-axis path { stroke: var(--muted); }
.pv-axis-label text { fill: var(--muted); font-size: 11px; font-family: var(--font-body); }
.pv-gauges { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); text-align: center; }
.pv-gauge svg { width: 100%; max-width: 6rem; }
.pv-gauge path { stroke: var(--accent-ui); }
.pv-gauge .pv-kicker { font-size: var(--fs-sm); }
.pv-gauge .meta { font-size: var(--fs-xs); }
.pv-example { font-size: var(--fs-sm); color: var(--muted); }
.pv-tiles { display: grid; grid-template-columns: repeat(8, 1fr); gap: 3px; margin: var(--s2) 0; }
.pv-tile { aspect-ratio: 1; border-radius: 2px; background: var(--line); }
.pv-t1 { background: color-mix(in srgb, var(--accent-ui) 20%, var(--surface)); }
.pv-t2 { background: color-mix(in srgb, var(--accent-ui) 40%, var(--surface)); }
.pv-t3 { background: color-mix(in srgb, var(--accent-ui) 60%, var(--surface)); }
.pv-lanes { list-style: none; margin: var(--s2) 0; padding: 0; font-family: var(--font-num); }
.pv-lanes li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2); padding: var(--s2) 0; border-bottom: 1px solid var(--line); }
.pv-alert { background: var(--accent-ui); color: #111; font-weight: 700; padding: 0 6px; border-radius: 3px; }
.pv-note { margin-top: var(--s3); }
.cs-sections { columns: 2 12rem; padding-left: 1.2rem; }
.data-cutoff { font-weight: 600; font-size: var(--fs-sm); border-left: 3px solid var(--accent-ui); padding-left: var(--s2); margin: var(--s2) 0; }
.band .data-cutoff { color: var(--on-ink); border-left-color: var(--accent); }
.data-warning { font-weight: 700; font-size: var(--fs-sm); background: var(--caveat-bg); color: var(--text); border-left: 4px solid var(--caveat-line); border-radius: 4px; padding: var(--s2) var(--s3); margin: var(--s2) 0; }
