/* VitalBridge review site: white details (Christian, 2026-11-24: "Turn all of the orange details white on the vital bridge site",
   then "But keep the hero image intact"). Token level, loaded after site.css (and before any page stylesheet) on every page:
   - on navy grounds every infrared detail token is white (rules, underlines, dots, eyebrow dash, focus rings, active marks,
     chip dots, "sample" and "to confirm" tags, hairlines);
   - on light grounds (sky-50, sky-100 and the white surfaces) the same detail is navy-900, so it never vanishes.
   The infrared hues stay defined in vb-tokens.css (the dashboards still use them); this file only re-points them for the site.
   The hero photograph and its CSS are untouched: a photo is not a detail. The error crimson is unchanged.
   Undo: delete this file and its <link> in src/partials/head.html, then run python3 tools/build.py. */

/* Dark-ground tokens (ir-200 to ir-500) -> white; light-ground tokens (ir-700, ir-800) -> navy */
:root {
  --vb-ir-200: var(--vb-white); --vb-ir-300: var(--vb-white); --vb-ir-400: var(--vb-white); --vb-ir-500: var(--vb-white);
  --vb-ir-700: var(--vb-navy-900); --vb-ir-800: var(--vb-navy-950);
  --gold: var(--vb-white); --brass: var(--vb-white); --gold-text: var(--vb-navy-900); --brass-text: var(--vb-navy-900);
  --focus-halo: rgba(10, 33, 82, .35);
}
.vb-dark, [data-theme="dark-shell"] { --focus-halo: rgba(255, 255, 255, .35); }
.vb-light, [data-theme="work-surface"] { --focus-halo: rgba(10, 33, 82, .35); }

/* Light grounds that use a dark-ground token directly: the detail falls back to navy-900 (listed in the Mason's QC record) */
:is(.card, .job, .tier, .form-panel, .table-scroll, .score-q, .score-result, .tier-panel ul, .form-status, .skip-link, .book-bar, .calc, .vb-light, [data-theme="work-surface"]) {
  --vb-ir-200: var(--vb-navy-900); --vb-ir-300: var(--vb-navy-900); --vb-ir-400: var(--vb-navy-900); --vb-ir-500: var(--vb-navy-900);
  --gold: var(--vb-navy-900); --brass: var(--vb-navy-900);
}
/* ...and back to white on a navy panel inside a light surface (the calculators' result panel) */
:is(.calc-out, .vb-dark, [data-theme="dark-shell"]) {
  --vb-ir-200: var(--vb-white); --vb-ir-300: var(--vb-white); --vb-ir-400: var(--vb-white); --vb-ir-500: var(--vb-white);
  --gold: var(--vb-white); --brass: var(--vb-white);
}

/* A detail drawn outside its light card, on the navy ground around it, stays white: the home divisions rail (.vb-span and its
   drop) is positioned 20 px above each .job card, over the navy band (qc-grader round 2, 2026-11-24) */
.vb-span { --gold: var(--vb-white); --brass: var(--vb-white); }
