/* VitalBridge review site: white bands (Christian, 2026-11-27: "use more white on the page maybe on 20% of the site we have
   built"). This follows his 2026-11-24 palette rule, "light blue, dark blue, infra red, and white but only use white on like 20%
   of the site". Until today white was only a surface (cards, forms, tables); now a page can set a band on white.

   How to use: give a section the classes "band-white vb-light". vb-light (vb-tokens.css) supplies the light-ground tokens and
   their stronger-contrast mode; details.css already points every detail inside vb-light to navy. This file adds the white ground,
   a hairline edge against the light-blue bands next to it, and a firmer edge for the white cards that sit on it.
   The measure is tools/qc.mjs grounds (band height) and gap-scan/tools/white_px.py (every white pixel, cards included).
   Loaded after details.css on every page (src/partials/head.html).
   Undo: delete this file and its <link>, change band-white back to the old class in each page, then run python3 tools/build.py. */

.band-white {
  background: var(--vb-white);
  color: var(--fg);
  box-shadow: inset 0 1px 0 rgba(10, 33, 82, .08), inset 0 -1px 0 rgba(10, 33, 82, .08);
}
.band-white.section { padding-top: var(--pad-paper); padding-bottom: var(--pad-paper); }

/* A white surface on a white ground: a firmer edge and a soft lift, so a card, table or form still reads as a surface */
.band-white :is(.card, .job, .tier, .form-panel, .table-scroll, .score-q, .score-result, .calc) {
  border-color: rgba(10, 33, 82, .22);
  box-shadow: 0 1px 2px rgba(10, 33, 82, .06), 0 14px 30px -20px rgba(10, 33, 82, .30);
}
html[data-vb-calm] .band-white :is(.card, .job, .tier, .form-panel, .table-scroll, .score-q, .score-result, .calc) { box-shadow: none; }
html[data-vb-contrast] .band-white :is(.card, .job, .tier, .form-panel, .table-scroll, .score-q, .score-result, .calc) { border-color: var(--vb-navy-950); }
@media (forced-colors: active) { .band-white { box-shadow: none; } }
