/* ============================================================================
   THE LIGHT LOOK. web/bd-light.css. App-owned, NOT generated: declared in
   scripts/check-design-sync.sh's APP_OWNED list beside bd-bridge.css and
   bd-editorial.css. Plan: docs/Light-Look.md. Specification: the light mock,
   docs/mocks/light/light.css, the Greys direction (Brock, 19 Oct 2026: "build it
   as a theme, not a replacement").

   EVERY RULE HERE IS UNDER html[data-look="light"]. bdLookApply (index.html,
   beside bdRigApplyShell) sets the attribute before first paint, and only for a
   person the Light look sub-item (organisation/look) is open to who picked Light,
   or System on a device set to light. Without the attribute this sheet matches
   nothing and the dark Rig is exactly as it was.

   bd-tokens.css and bd-rig.css are generated (check-design-sync.sh): the look
   never edits them. Its lever is re-pointing tokens by zone (docs/Light-Look.md
   §4.5). Each slice adds its own block below, so each can come out on its own.
   ============================================================================ */

/* ---- S0 · THE SWITCH: the token block ---------------------------------------
   The grey ladder, warm-neutral so it sits beside hickory ink (light.css, the Greys
   block, seventh pass), and the one set of state washes (ninth pass). Nothing in the
   app reads these names yet; the later slices spend them. Contrast as measured
   (WCAG): grey ink 5.43:1 on white, 5.21:1 on grey-50; faint ink 3.25:1 on white;
   good 13.34:1, attention 5.62:1, risk 5.53:1. */
html[data-look="light"] {
  --n-50:  #FBFAF8;     /* every background; a well inside a card */
  --n-100: #F7F6F3;     /* a quiet button, chip, tag or tick box */
  --n-200: #F0EEEA;     /* a hover, a track behind a mint fill, the level strip */
  --n-300: #E6E3DE;     /* the hairline */
  --n-400: #D2CEC8;     /* a field's resting border (focus stays hickory, the field law) */
  --n-ink-2: #6E6964;   /* kickers, meta, secondary rows, glyphs at rest */
  --n-ink-3: #938E88;   /* decoration only, never a run of text */
  --st-good-bg: var(--mint-300);  --st-good-ink: var(--hickory-700);
  --st-attn-bg: #FBF1D6;          --st-attn-ink: #8A5300;
  --st-risk-bg: #F9E3DC;          --st-risk-ink: var(--danger-deep);
  /* (S1) the dark tokens as the root holds them, kept under their own names before the
     shell's zones re-point them, so a dark island inside a light zone can take them back
     without restating a single value (see "DARK ISLANDS" below) */
  --dk-canvas: var(--canvas); --dk-surface-invert: var(--surface-invert);
  --dk-ink-1: var(--ink-dark-1); --dk-ink-2: var(--ink-dark-2); --dk-ink-3: var(--ink-dark-3); --dk-hair: var(--hair-dark);
}
/* the ground: the Rig's own fill under every zone (bd-rig.css's .bd-rig, which is on
   body.bd-rig and #bdRig; the mock's .mk-rig.mk-light background). The zones painted
   over it (rail, band, menu, stage, drawer) are S1's and S3's, so this is the only
   fill the switch moves. */
html[data-look="light"] .bd-rig { background: var(--n-50); }

/* ---- S1 · THE SHELL -----------------------------------------------------------
   Rail, band, content menu, drawer and level strip on the one ground (light.css, the
   Greys block: one background "for the frame, the menu and the tools too"), each told
   from the next by the grey-300 hairline on its inner edge. The lever is the dark
   zones' own tokens, re-pointed per zone, so the canon's rules and the app's flip
   without being named; what paints with a literal, or with --accent-2 (never
   re-pointed: it is ink on hickory as often as a fill), is restated after them. The
   pages keep today's creams until S3 and the drawer's tools theirs until S4. The
   shell's own pop-ups (the search dropdown, the history menu, the rail's flyout, the
   level's reveal) take the floating material: hickory no longer floats. */

/* the zones' tokens. --ink-dark-3 takes the grey ink, not the faint one: on the
   light ground the faint ink is decoration only, and these carry glyphs at rest
   and the menu's labels (light.css "the rail", "the band", "the content menu") */
html[data-look="light"] body.bd-rig .bd-rail,
html[data-look="light"] body.bd-rig .bd-band,
html[data-look="light"] body.bd-rig .bd-index {
  --canvas: var(--n-50);
  --surface-invert: var(--n-50);
  --ink-dark-1: var(--hickory-700);
  --ink-dark-2: var(--n-ink-2);
  --ink-dark-3: var(--n-ink-2);
  --hair-dark: var(--n-300);
}
/* the menu's docked panels read the app's legacy inks through the dark-ground
   palette (index.html §4, core/side-panel.js), so re-pointing the palette flips
   every panel's --text, --bg-soft and checkbox at once */
html[data-look="light"] body.bd-rig .bd-index {
  --gnd-dark-ink: var(--hickory-700);
  --gnd-dark-ink-soft: var(--n-ink-2);
  --gnd-dark-ink-faint: var(--n-ink-2);
  --gnd-dark-fill: var(--n-100);
  --gnd-dark-cb: var(--gnd-light-cb);
  --gnd-dark-cb-hover: var(--gnd-light-cb-hover);
}
html[data-look="light"] body.bd-rig .bd-drawer { --surface-quiet: var(--n-50); }
html[data-look="light"] body.bd-rig .bd-xp { --surface-invert: var(--n-200); }   /* the track behind the mint fill */

/* the hairlines, each on its zone's inner edge (light.css: rail and menu inset
   -1px 0 0, band inset 0 -1px 0, drawer inset 1px 0 0) */
html[data-look="light"] body.bd-rig #bdRig > .bd-rail { box-shadow: inset -1px 0 0 var(--n-300); }
html[data-look="light"] body.bd-rig #bdRig > .bd-rig__main > .topbar { box-shadow: inset 0 -1px 0 var(--n-300); }
html[data-look="light"] body.bd-rig #bdRig > .bd-index { box-shadow: inset -1px 0 0 var(--n-300); }
html[data-look="light"] body.bd-rig #bdRig .bd-rig__panes > .pane-right { box-shadow: inset 1px 0 0 var(--n-300); }

/* the rail: grey glyphs, hickory under the pointer, the lit tile mint with hickory;
   the mark is the hickory arch (the mint mark is for hickory ground only) */
html[data-look="light"] body.bd-rig .bd-rail-item:hover { color: var(--hickory-700); }
html[data-look="light"] body.bd-rig .bd-rail-item.on { background: var(--mint-400); color: var(--hickory-700); }
html[data-look="light"] body.bd-rig .bd-rail__brand .bd-rail__mark--dark { display: none; }
html[data-look="light"] body.bd-rig .bd-rail__brand .bd-rail__mark--light { display: block; }

/* the band: its controls grey, hickory under the pointer (those rules read
   --ink-dark-1 already); a disabled back or forward goes faint; the menu toggle
   held closed and the open tool are lit, mint with hickory */
html[data-look="light"] body.bd-rig #workspace .topbar .band-btn:disabled { color: var(--n-ink-3); }
html[data-look="light"] body.bd-rig #bdRig[data-index="closed"] > .bd-rig__main > .topbar > #toggleLeftPane { background: var(--mint-400); color: var(--hickory-700); }
html[data-look="light"] body.bd-rig #workspace .bd-band__tools .ag-tabs [data-rv] { color: var(--n-ink-2); }
html[data-look="light"] body.bd-rig #workspace .bd-band__tools .ag-tabs [data-rv]:hover { color: var(--hickory-700); }
html[data-look="light"] body.bd-rig #bdRig:not([data-drawer="closed"]) .bd-band__tools .ag-tabs [data-rv].on { color: var(--hickory-700); }
html[data-look="light"] body.bd-rig #bdRig:not([data-drawer="closed"]) .bd-band__tools .ag-tabs [data-rv].on .bd-rail-tile { background: var(--mint-400); }

/* THE SEARCH BOX IS THE EXCEPTION (light.css, fifth pass): crisp white, an 8px
   radius and a soft warm shadow, the resting line grey-300, as wide as what is
   typed into it (220 to 380px), the glyph faint inside it, the shortcut a keycap.
   The field law holds: hover swells it to 2px in the resting ink, the caret brings
   2px of hickory. The band's centring (bdBandSearchCentre) measures the new width
   on bd-look-change. */
html[data-look="light"] body.bd-rig .band-search {
  width: clamp(220px, 22vw, 380px); padding: 0 10px; gap: 8px;
  background: #FFFFFF; border: 1px solid var(--n-300); border-radius: 8px;
  box-shadow: 0 1px 2px rgba(36,23,19,.06), 0 2px 8px rgba(36,23,19,.05);
  color: var(--n-ink-2);
  transition: border-color var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard);
}
html[data-look="light"] body.bd-rig .band-search:hover:not(:focus-within) { background: #FFFFFF; color: var(--n-ink-2); box-shadow: inset 0 0 0 1px var(--n-300), 0 1px 2px rgba(36,23,19,.06), 0 2px 8px rgba(36,23,19,.05); }
html[data-look="light"] body.bd-rig .band-search:focus-within { border-color: var(--hickory-700); box-shadow: inset 0 0 0 1px var(--hickory-700), 0 1px 2px rgba(36,23,19,.06), 0 2px 8px rgba(36,23,19,.05); }
html[data-look="light"] body.bd-rig .band-search svg { color: var(--n-ink-3); }
html[data-look="light"] body.bd-rig .band-search input::placeholder,
html[data-look="light"] body.bd-rig .band-search:hover input::placeholder { color: var(--n-ink-2); }
html[data-look="light"] body.bd-rig .band-search .bs-kbd {
  font-size: 10.5px; letter-spacing: .02em; padding: 2px 5px;
  background: #FFFFFF; border: 1px solid var(--n-300); color: var(--n-ink-2);
}

/* the content menu: the canon's literal creams, restated (light.css "the content
   menu"); the selected row stays the one mint block, with its own inks */
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .bd-index__title,
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .bd-index-item__t,
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .bd-index-item:hover .bd-index-item__t { color: var(--hickory-700); }
/* an unselected row greys on hover, the ladder's hover step (Brock, 19 Oct 2026: "let menu items unselected get a
   slight on hover background colour"): the shared menu row and its twin, Ambit's queue (the Dashboard's queue retired
   for head tabs the same day; the Manual tree's .row already greys, below); the selected row keeps its mint */
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) :is(.bd-index-item, .amb-qrow) { transition: background var(--dur-fast) var(--ease-standard); }
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) :is(.bd-index-item:not([aria-current="true"]), .amb-qrow:not(.is-sel)):hover { background: var(--n-200); }
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .bd-index-item__src { background: var(--n-100); color: var(--n-ink-2); }
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .bd-index-item[aria-current="true"] .bd-index-item__src { background: rgba(56,37,30,.14); color: rgba(56,37,30,.75); }
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .bd-index__statement { color: var(--n-ink-2); }
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) { --field-line-dark: var(--n-400); }   /* a field's resting line in the menu */

/* THE MENUS' OWN INKS. Four docked menus paint literal creams (measured by a pass over
   every page's menu, 19 Oct 2026): the Manual's tree, the Dashboard's queue, Ambit's
   queue and Relations' count, plus the Settings rail's hover and open-folder inks. Each
   rule is restated under the menu zone, its states with it, so the family keeps its own
   cascade. One mapping throughout, the ladder's: full or .85 cream to hickory-700;
   secondary cream (.4 to .75) to the grey ink; a resting wash to grey-100, hover and
   open to grey-200; a mint glyph that marked a state to the pressed tile (mint-400 with
   hickory); the selected row, already mint, keeps its own inks. Ambit's light values
   follow its own board (.amb-board), the queue already drawn on a light ground. */
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .row,
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .label,
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .manual-row .label,
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .tree .manual-row.selected :is(.label, .nav-word, .twist, .car),
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .manual-children .row:is([data-kind="dir"], [data-kind="file"]) .label { color: var(--hickory-700); }
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) :is(.ic, .twist, .grip, .mn-caret),
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .row .ic.folder,
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .manual-row .mn-ico,
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .manual-search :is(.ms-ic, .mn-find-x),
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .manual-search input::placeholder { color: var(--n-ink-2); }
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .row:hover { background: var(--n-200); }
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .tree .row.selected :is(.label, .ic, .twist, .grip, .mn-num),
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .manual-children .row.selected :is(.label, .ic, .twist, .grip, .mn-num) { color: var(--accent); }
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .row.fsel :is(.label, .ic, .twist, .grip) { color: var(--accent-2); }   /* the multi-select block stays dark with cream */
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .tree .status-dot.dev { background: var(--n-400); }
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .manual-children .row.selected .status-dot.dev { background: rgba(56,37,30,.35); }
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .row-check.on { background: var(--hickory-700); color: var(--cream-100); }
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .tree .row.selected .row-check.on { background: var(--accent); color: var(--accent-2); }
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .manual-row .mn-ico:hover,
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .mn-act-txt:hover,
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .manual-search .mn-find-x:hover,
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .manual-search input { color: var(--hickory-700); }
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .manual-row .mn-ico#unlockBtn.active,
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .manual-row .mn-ico#unlockBtn.active svg { background: var(--mint-400); color: var(--hickory-700); }
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .manual-search .mn-fieldwrap { border-bottom-color: var(--n-400); }
/* Ambit's queue */
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) :is(.amb-qhead-count, .amb-qgroup, .amb-qgroup .amb-foldcar, .amb-qgo, .amb-qfocus-clear, .amb-qrow-num, .amb-qrow-sub, .amb-qempty, .amb-qfoot, .amb-qmore-n) { color: var(--n-ink-2); }
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) :is(.amb-qrow-name, .amb-qmore, .amb-qgo:hover) { color: var(--hickory-700); }
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .amb-qmore:hover { background: var(--n-200); color: var(--hickory-700); }
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .amb-qhead-mine { background: var(--n-100); color: var(--hickory-700); }
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .amb-qhead-mine.is-on { background: var(--mint-400); color: var(--hickory-700); }
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .amb-fld-ctl { background: var(--n-100); color: var(--hickory-700); }
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) :is(.amb-fld-ctl:hover, .amb-fld-ctl.bd-menu-open) { background: var(--n-200); }
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .amb-lvrow .amb-fld-ctl[aria-pressed="true"] { background: var(--n-300); }
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .amb-fld-sq { background: var(--n-100); color: var(--n-ink-2); }
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) :is(.amb-fld-sq:hover, .amb-fld-sq.bd-menu-open) { background: var(--n-200); color: var(--hickory-700); }
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .amb-fld-sq[aria-pressed="true"] { background: var(--mint-400); color: var(--hickory-700); }
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .amb-qgroup.amb-foldhead:focus-visible { background: var(--n-200); }
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .amb-qnew { color: var(--n-ink-2); border-color: var(--n-400); }
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .amb-qnew:hover { color: var(--hickory-700); border-color: var(--hickory-700); }
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .amb-qrow-stage { background: var(--n-100); color: var(--n-ink-2); }
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .amb-qrow-stage.is-draft { background: var(--n-100); color: var(--hickory-700); }
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .amb-qrow.is-sel :is(.amb-qrow-num, .amb-qrow-sub) { color: rgba(56,37,30,.6); }
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .amb-qrow.is-sel .amb-qrow-name { color: var(--hickory-700); }
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .amb-qrow.is-sel .amb-qrow-stage { background: rgba(56,37,30,.14); color: rgba(56,37,30,.75); }
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .amb-qrow.is-sel .amb-qrow-stage.is-draft { color: rgba(56,37,30,.8); }
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) :is(.amb-qrow-stage.is-test, .amb-qrow.is-sel .amb-qrow-stage.is-test) { background: var(--warning); color: var(--hickory-700); }   /* the marks bring their own paper */
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) :is(.amb-qrow-stage.is-internal, .amb-qrow.is-sel .amb-qrow-stage.is-internal) { background: var(--hickory-700); color: var(--cream-100); }
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .amb-queue :is(input, textarea, select):focus { border-color: var(--hickory-700); box-shadow: inset 0 0 0 1px var(--hickory-700); }   /* the field law on a light ground: hickory, not mint */
/* Relations' count */
html[data-look="light"] :is(body.bd-rig .bd-index, body.bd-shell .pane-left) .rel2-ixcount { color: var(--n-ink-2); }
/* DARK ISLANDS: a dark or hickory count tile inside a light zone stays a dark block ("the
   pressed and featured tiles" keep hickory, light.css), so it takes the root's own dark tokens
   back, kept on html as --dk-* by the token block above */
html[data-look="light"] body.bd-rig :is(.bd-rail, .bd-band, .bd-index, .bd-drawer) :is(.bd-stat--dark, .bd-stat--hickory) {
  --canvas: var(--dk-canvas); --surface-invert: var(--dk-surface-invert);
  --ink-dark-1: var(--dk-ink-1); --ink-dark-2: var(--dk-ink-2); --ink-dark-3: var(--dk-ink-3); --hair-dark: var(--dk-hair);
}
/* the Settings rail: hover and the open folder in full ink, the foot's rule a hairline, and
   the to-set badge back to its own mint paper (on hickory it was mint words) */
html[data-look="light"] body.bd-rig #bdRig > .bd-index > .sts-rail :is(.sts-item-btn:hover, .sts-sub-btn:hover, .sts-logout:hover, .sts-item--live > .sts-item-btn) { color: var(--hickory-700); }
html[data-look="light"] body.bd-rig #bdRig > .bd-index > .sts-rail .sts-rail-foot { border-top-color: var(--n-300); }
html[data-look="light"] body.bd-rig #bdRig > .bd-index > .sts-rail .sts-sub-badge { background: var(--mint-400); padding: 2px 6px; color: var(--hickory-700); }
/* Settings v2.1's index (core/settings-shell.js): a row's hover went cream-100 on grey-50 (the
   words vanished), so it takes full ink as the old rail's did. The user chip at the foot was a
   hickory-800 slab with grey-ink meta (Brock, 20 Oct 2026: "Fix this little tag for light mode"):
   it sits on the index's own ground under the hairline the old rail's foot wore, hickory ink,
   meta and glyph in grey ink (5.21:1), hover grey-100 as a menu row's, the focus ring hickory.
   The avatar keeps its mint square. */
html[data-look="light"] body:is(.bd-rig, .bd-shell) .sv2-ix .sv2-row:hover:not([aria-current="true"]), html[data-look="light"] body:is(.bd-rig, .bd-shell) .sv2-ix .sv2-row:hover:not([aria-current="true"]) svg { color: var(--hickory-700); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .sv2-ix .sv2-me { background: var(--n-50); color: var(--hickory-700); box-shadow: inset 0 1px 0 var(--n-300); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .sv2-ix .sv2-me:hover { background: var(--n-100); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .sv2-ix .sv2-me:focus-visible { outline-color: var(--hickory-700); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .sv2-ix :is(.sv2-me__r, .sv2-me > svg) { color: var(--n-ink-2); }
/* Settings: EVERY ROW IS A TILE (Brock, 20 Oct 2026). First Connections ("make all of these options on
   the connections page appear like modern buttons"), then every page ("Yes, give the rows on every
   Settings page the same button look in the light look"). A row's ground was the stage's
   --surface-quiet, grey-50, on the page's own grey-50, so the rows drew as bare words. Every .bd-setting
   on a Settings page or workbench (both live in .sv2-stage, core/settings-shell.js) now wears the look's
   one crisp white control, the search box's material: white, the grey-300 line as an inset shadow (so
   nothing reflows), an 8px radius, the soft warm shadow, the icon square rounded to 6px, the rows 12 px
   apart. A row that presses as a whole (.bd-setting--click, and Connections' data-sv2me-tile-go) steps
   its line to grey-400 and its shadow to the floating layer's under the pointer, lifts a pixel, and
   settles when pressed; a row whose control sits at its end does not lift. On the white, a quiet chip
   takes grey-100 (it was set to the row's grey-50 well, manual/settings-personal.js) and a file dragged
   over the photo row shows grey-100 (it was cream-50, which is white here). The dark look is untouched. */
html[data-look="light"] body:is(.bd-rig, .bd-shell) .sv2-stage .bd-setting-grid { gap: var(--space-3); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .sv2-stage .bd-setting { background: #FFFFFF; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--n-300), 0 1px 2px rgba(36,23,19,.06), 0 2px 8px rgba(36,23,19,.05); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .sv2-stage .bd-setting__ic { border-radius: 6px; }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .sv2-stage :is(.bd-setting--click, [data-sv2me-tile-go]) { transition: box-shadow var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .sv2-stage :is(.bd-setting--click, [data-sv2me-tile-go]):hover { background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--n-400), 0 1px 2px rgba(36,23,19,.06), 0 8px 24px rgba(36,23,19,.10); transform: translateY(-1px); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .sv2-stage :is(.bd-setting--click, [data-sv2me-tile-go]):active { box-shadow: inset 0 0 0 1px var(--n-400), 0 1px 2px rgba(36,23,19,.06); transform: none; }
@media (prefers-reduced-motion: reduce) { html[data-look="light"] body:is(.bd-rig, .bd-shell) .sv2-stage :is(.bd-setting--click, [data-sv2me-tile-go]):hover { transform: none; } }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .sv2-stage .bd-setting .bd-chip:not([aria-pressed="true"]) { background: var(--n-100); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .sv2-stage .bd-setting.sv2me-drop { background: var(--n-100); }

/* THE FLOATING LAYER (light.css, ninth pass): white, the hairline, an 8px radius
   and a deeper shadow; rows hover grey-100 at a 6px radius. The search dropdown
   hangs 6px under the band with no scrim; the history menu, the rail's flyout
   and the level's reveal wear the same. */
html[data-look="light"] body.bd-rig .bd-search-back.is-band { background: transparent; }
html[data-look="light"] body.bd-rig .bd-search-back.is-band .bd-search-panel,
html[data-look="light"] body.bd-rig .band-hist-menu,
html[data-look="light"] body.bd-rig .bd-rail-flyout,
html[data-look="light"] body.bd-rig .bd-xp__tip {
  background: #FFFFFF; color: var(--hickory-700); border: 1px solid var(--n-300); border-radius: 8px;
  box-shadow: 0 1px 2px rgba(36,23,19,.06), 0 8px 24px rgba(36,23,19,.10);
}
/* the results panel as the mock hangs it: 6px under the search BOX (not the band's foot, so
   it sits just over the band's hairline), the box's width with 380px as its floor */
html[data-look="light"] body.bd-rig .bd-search-back.is-band .bd-search-panel { margin-top: calc(6px - (var(--u-band) - var(--u-sq-s)) / 2); width: 380px; padding: 14px 8px; }
html[data-look="light"] body.bd-rig .bd-search-panel .bds-row { gap: 12px; }
html[data-look="light"] body.bd-rig .bd-search-panel .bds-title { font-size: var(--u-fs-row); font-weight: var(--fw-medium); }
html[data-look="light"] body.bd-rig .bd-search-panel :is(.bds-sub, .bds-price) { font-size: var(--u-fs-mini); }
html[data-look="light"] body.bd-rig .band-hist-menu,
html[data-look="light"] body.bd-rig .bd-rail-flyout { padding: 14px 8px; }   /* the room at the top (S4 d): 14px above the first row and below the last */
html[data-look="light"] body.bd-rig .bd-search-panel .bds-results { padding: 0; }
html[data-look="light"] body.bd-rig .bd-search-panel .bds-kick { padding: 8px 10px 4px; color: var(--n-ink-2); }
html[data-look="light"] body.bd-rig .bd-search-panel .bds-row,
html[data-look="light"] body.bd-rig .band-hist-menu button,
html[data-look="light"] body.bd-rig .bd-rail-flyout button { padding: 8px 10px; border-radius: 6px; color: var(--hickory-700); transition: background-color var(--dur-fast) var(--ease-standard); }
html[data-look="light"] body.bd-rig .bd-search-panel .bds-row:hover,
html[data-look="light"] body.bd-rig .bd-search-panel .bds-row.kb,
html[data-look="light"] body.bd-rig .band-hist-menu button:hover,
html[data-look="light"] body.bd-rig .bd-rail-flyout button:hover { background: var(--n-100); }
html[data-look="light"] body.bd-rig .bd-search-panel .bds-sub,
html[data-look="light"] body.bd-rig .bd-search-panel .bds-hint { color: var(--n-ink-2); }
html[data-look="light"] body.bd-rig .bd-search-panel .bds-hint.bds-note { padding: 4px 10px 8px; }   /* a group's line (core/search.js h.note), on the rows' 10px edge */
/* an action's row (core/search.js, THE SEARCH THAT ACTS): the white dropdown's own grammar, the mark on an n-200 square (the lit row is n-100) at the rows'
   6 px corners, the words carried in the meta ink, the day read the canon's mint tag on the same n-200, in hickory (a solid mint
   tag is loud on the white). The white dropdown under the band only: the phone's full-screen search stays dark, with index.html's */
html[data-look="light"] body.bd-rig .bd-search-back.is-band .bd-search-panel .bds-ic { border-radius: 6px; background: var(--n-200); color: var(--hickory-700); }
html[data-look="light"] body.bd-rig .bd-search-back.is-band .bd-search-panel .bds-q { color: var(--n-ink-2); }
html[data-look="light"] body.bd-rig .bd-search-back.is-band .bd-search-panel .bds-row.is-act .bd-tag.bd-tag--mint { background: var(--n-200); color: var(--hickory-700); }
html[data-look="light"] body.bd-rig .bd-search-back.is-band .bd-search-panel .bds-row.is-ans .bds-ansp { color: var(--hickory-700); }   /* ASK AMBIT's answer, in the row's own ink */
html[data-look="light"] body.bd-rig .bd-search-panel .bds-price,
html[data-look="light"] body.bd-rig .bd-search-panel .bds-skel { color: var(--hickory-700); }
/* a row's presses (core/search.js PRESSES ON A ROW: Open, Research and Book): the floating layer's buttons, in the
   values Ambit's own bar wore in its .amb-pop (THE BUTTON READS AS A BUTTON IN THE TOOLS AND THE POPS TOO, below). The white
   dropdown under the band only: the phone's full-screen search stays dark, with index.html's */
html[data-look="light"] body.bd-rig .bd-search-back.is-band .bd-search-panel .bds-acts .bd-btn {
  border-radius: 6px; background: #FFFFFF; color: var(--hickory-700);
  box-shadow: inset 0 0 0 1px var(--n-400), 0 1px 2px rgba(36,23,19,.08);
  transition: background var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard);
}
html[data-look="light"] body.bd-rig .bd-search-back.is-band .bd-search-panel .bds-acts .bd-btn:hover { background: var(--n-50); box-shadow: inset 0 0 0 1px var(--hickory-500), 0 1px 2px rgba(36,23,19,.10); }
html[data-look="light"] body.bd-rig .bd-search-back.is-band .bd-search-panel .bds-acts .bd-btn:active { transform: translateY(1px); box-shadow: inset 0 0 0 1px var(--hickory-500); }
html[data-look="light"] body.bd-rig .bd-search-back.is-band .bd-search-panel .bds-acts .bd-btn--primary { background: var(--hickory-700); color: var(--cream-100); box-shadow: inset 0 0 0 1px var(--hickory-800), 0 1px 2px rgba(36,23,19,.18); }
html[data-look="light"] body.bd-rig .bd-search-back.is-band .bd-search-panel .bds-acts .bd-btn--primary:hover { background: var(--hickory-900); color: var(--cream-100); box-shadow: inset 0 0 0 1px var(--hickory-900), 0 1px 2px rgba(36,23,19,.2); }
html[data-look="light"] body.bd-rig .bd-xp__tip i { color: var(--n-ink-2); }

/* ---- S3 · THE PAGES (a): the ground, the cards, the quiet inks -------------------------
   The page zone (.bd-stage) on the ladder, as light.css's Greys block re-points it inside the
   rig: the head and the body one grey-50 surface with no line under the head, a card or tile
   white with its grey-300 line, the context column grey-50, the quiet inks grey and
   cream-200/300/400 on the ladder. --cream-100, --mint-400 and --hickory-700 are untouched, so a
   calm note stays cream-100 and a primary stays hickory. The app's raised tone, cream-50
   (--surface-raised, "cards on cream", and --white, which the canon flip pointed at cream-50),
   is the light look's white; the legacy GROUND aliases (--bg, --bg-panel) are the grey-50 ground.
   A custom property is computed where it is declared, so the root's aliases of these tokens
   (--btn-bg, --card-bg, --field-fill and the rest: 21, read from bd-tokens.css, bd-bridge.css and
   index.html) are declared again here with their own formulas, or they would keep the creams.
   --hickory-400 takes the grey ink, not the mock's faint one: pages run text in it (the
   Dashboard's kicker), and the faint ink cannot carry text (the accessibility floor, as in S1). */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) {
  --cream-50: #FFFFFF; --cream-200: var(--n-100); --cream-300: var(--n-200); --cream-400: var(--n-400);
  --hickory-500: var(--n-ink-2); --hickory-400: var(--n-ink-2); --hickory-300: var(--n-400);
  --surface-page: var(--n-50); --surface-raised: #FFFFFF; --surface-sunken: var(--n-50); --surface-body: var(--n-100); --surface-quiet: var(--n-50);
  --white-base: #FFFFFF; --white: #FFFFFF; --bg-base: var(--n-50); --bg: var(--n-50); --bg-soft-base: var(--n-100); --bg-soft: var(--n-100); --bg-panel: var(--n-50);
  --text-soft: var(--n-ink-2); --text-faint: var(--n-ink-2); --border: var(--n-300); --border-strong: var(--n-400); --field-line: var(--n-400);
  --border-default: var(--cream-400); --border-subtle: var(--cream-300); --line: var(--cream-300);
  --btn-bg: var(--bg-soft); --btn-dis-bg: color-mix(in srgb, var(--accent) 12%, var(--bg-soft)); --btn-hover: color-mix(in srgb, var(--white) 45%, var(--bg-soft));
  --card-bg: var(--white); --card-meta: var(--text-faint); --cat-item-bg: var(--bg-soft); --cat-item-meta: var(--text-faint);
  --ctrl-off: color-mix(in srgb, var(--accent) 15%, var(--white)); --field-cap: var(--text-soft); --field-fill: var(--white); --field-ph: var(--text-faint);
  --pill-ink-neutral: color-mix(in srgb, var(--text-soft) 80%, var(--accent)); --seg-ground: var(--bg-soft); --seg-ink: var(--text-soft); --tab-body: var(--white);
  --text-muted: var(--hickory-500); --text-subtle: var(--hickory-400); --wash-card: color-mix(in srgb, var(--hickory-700) 4%, var(--cream-50));
}
/* the one surface: the stage, the work pane and the head on grey-50; the context column too, with
   the hairline on its inner edge (light.css "the page") */
html[data-look="light"] body.bd-rig #bdRig .bd-rig__panes > .pane-centre,
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.bd-work, .bd-stage__head) { background: var(--n-50); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .bd-context { background: var(--n-50); box-shadow: inset -1px 0 0 var(--n-300); }
/* a card or a tile is white with its line; the accented, highlighted, mint, dark and hickory ones keep their own */
/* (Projects' first two tiles are its mint and hickory ones, drawn on .bd-card by their own .pj-t1 / .pj-t2) */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.bd-card:not(.bd-card--accent):not(.bd-card--highlight):not(.pj-t1):not(.pj-t2), .bd-stat:not(.bd-stat--mint):not(.bd-stat--dark):not(.bd-stat--hickory)) { background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--n-300); }
/* each page's own ground. The pages name their creams directly, so the token block does not reach
   them: measured in the harness at 1680 by 1000 (19 Oct 2026), the bodies paint var(--cream-200)
   (.dh-main, .mn-ov-body, .amb-main), the heads var(--cream-50) (.dh-shead, .mn-ov-head, .amb-head),
   the masts and Relations' view var(--accent-2), the Projects, Workshop and Ambit views var(--white)
   (Production's and Media's left with both packages, deleted 26 Oct 2026), and the Studio tools var(--surface-body). All of it is the one grey-50 surface. The Quote Builder's
   Catalogue head (.qbw-head) and a quote's Build head (.qbk-head, shared by its Diary's month head) paint var(--cream-50),
   which the zone makes white; they join the list too (Brock, 19 Oct 2026: "give the Catalogue's head and a quote's Build
   head the grey-50 ground every other head has"). */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(
  #dashboardView, .dh-stage, .dh-main, .dh-shead,
  .mn-ov-head, .mn-ov-body,
  #shoppeView, .shoppe-page,
  #companyView, .settings-shell, .sts-panel,
  #appraisalView, .appr-shell, .appr-body, #apprAmbitHost, .amb-head, .amb-main,
  #quotesView, .qb-page, .qbw-head, .qbk-head,
  #toolkitView, .toolkit-page, .tk-body, .bd-headunit,
  #contactsView, .rel2-page,
  #interiorView, .ia-deskwrap, .bd-photo-empty, .bd-stage,
  #floorplanView, #flightdeckView, #shopOfficeView, #studioStatsView, #storyboardView, #diaryView,
  #projectsView, .pj-page, .pj-lens,
  #workshopView, .ws-page, .ws-body, .ws-head, .ws-tabs,
  .org-wrap, .bd-mast.bd-theme--light) { background: var(--n-50); }
/* the pages' own cards and tiles: white with the line (light.css: a card "white with its line"). The
   accented ones keep their fills: the mint and dark tiles, the now tiles. Production's and Media's grounds, cards,
   tracks and hover rows left this sheet with both packages, deleted 26 Oct 2026 (Harley) */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(
  .dh-frame .dh-tile:not(.is-mint):not(.is-dark):not(.is-risk),
  .mn-ov-stat--quiet, .mn-ov-stat--raised, .cl-empty,
  .amb-ovmapwrap,
  .ed-fig:not(.ed-fig--now), .sh-pc, .fd-tl:not(.fd-tl--now)) { background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--n-300); }
/* the ones already white by the token block (cream-50 is the light look's white) take the line alone */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.ed-row, .qb-req, .ws-item) { box-shadow: inset 0 0 0 1px var(--n-300); }
/* the Manual overview's NEEDS REVIEW rows are white bars with the tiles' grey-300 line, 8px apart as the light look's
   other lined lists are (Brock, 19 Oct 2026: "Can you give these need review bars a white background instead of the
   cream"; then yes to the tiles' outline, and to 8px apart over their 2px, where the two lines doubled into a heavier
   rule). They paint --cream-100, the calm notes' cream the zone keeps, so nothing above reached them. Their own hover
   went to cream-50, which the zone makes white, so they take hover life instead: the line one step darker and a lift,
   on the house timing */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .mn-ov-rows { gap: var(--space-2); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .mn-ov-row { background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--n-300); transition: box-shadow var(--dur-base) var(--ease-standard), background-color var(--dur-base) var(--ease-standard); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .mn-ov-row:hover { box-shadow: inset 0 0 0 1px var(--n-400), 0 2px 8px rgba(36,23,19,.07); }
/* the map's legend: white with the line and no shadow, as the mock's legend */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .amb-maplegend { background: #FFFFFF; border-color: var(--n-300); box-shadow: none; }
/* a calm note stays cream-100 with the brand's own brown as its quiet ink (light.css .mk-soft):
   the Dashboard's All clear, Relations' Nothing waiting */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.dh-frame .dh-allclear, .rel2-exempty) { --hickory-500: #5F4639; --text-soft: #5F4639; --text-faint: #5F4639; }
/* Studio's tool rows: the icon square on grey-100 with a hickory glyph (light.css .mk-row__ic) */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .tk-row__ic { background: var(--n-100); color: var(--hickory-700); }
/* the sub-views met on the way, measured the same way: the Dashboard's Health Check rows and its empty
   notes, Settings' groups and its Quote Builder pages, the job card's folds */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(
  .dh-frame .dh-row:not(.dh-rowset > .dh-row), :is(.dh-frame, .dh-devhost) .dh-cc-quiet,
  .set-grp, .a11y-stmt, .pw-item,
  .qbs-rs:not(.tot), .qbs-tile, .qbs-row, .qbs-bar, .qbs-base, .qbs-lad:not(.dk), .qbs-tipt:not(.dk), .qbs-every, .qbs-lv:not(.dk), .qbw-svc:not(.on),
  .amb-dropbody, .amb-dsec:not(.is-open) > .amb-drophead, .amb-needrow) { background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--n-300); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .pw-item.cur { box-shadow: inset 3px 0 0 var(--hickory-700), inset 0 0 0 1px var(--n-300); }
/* the job card's checklist column and the Quote Builder catalogue's aside: the context column's grey-50 with
   the hairline on the edge that faces the work (light.css .bd-context) */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .amb-aside { background: var(--n-50); box-shadow: inset -1px 0 0 var(--n-300); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qbw-aside { background: var(--n-50); box-shadow: inset 0 0 0 1px var(--n-300); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qbs-main, .qbw-main) { background: var(--n-50); }
/* the quiet buttons that painted cream-100 are grey-100; a mark or a code is a tag (grey-100), a track behind a
   fill is grey-200 (the ladder), and a drop zone is the ground with its line (light.css .mk-drop-zone). The step tracks
   (Production's and Media's) went with both packages, deleted 26 Oct 2026 (Harley) */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qbs-b2, .qbw-b2, .dh-row-mark:not(.is-warn), .amb-needmark:not(.is-risk)) { background: var(--n-100); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.pw-bar, .bill-meter) { background: var(--n-200); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .prof-photo:not(.drop) { background: var(--n-50); }
/* Relations' empty notes and Ambit's "needs you" empty line are calm notes, as Nothing waiting and All clear */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.rp-empty, .amb-needempty) { --hickory-500: #5F4639; --text-soft: #5F4639; --text-faint: #5F4639; }

/* ---- S3 · THE PAGES (b): breathing room, the labels, the washes, hover life --------------------
   light.css "BREATHING ROOM": cards and tiles sit apart (--u-gap, 18px at 1680), stacked rows take
   --space-2 (8px), and the Quote Builder's hickory lintels and NOW band become labels in grey ink ("a dark
   band over a light page was the heaviest thing on it"). The editorial kit's closing band
   (.ed-band--close) is the same rule as its NOW band (bd-editorial.css), so Studio's, the Storyboard's
   and Floorplan's take the label too. The containers are the ones measured at a 0 or 2px seam. */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.mn-ov-stats, .ed-strip, .qb-reqs, .pj-dash, .sh-shelf__row, .fd-top) { gap: var(--u-gap); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.ed-rows, .dh-needslist, .qbs-recipe, .qbs-rows, .amb-needs) { gap: var(--space-2); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .ed-lintel { background: transparent; color: var(--n-ink-2); padding: 0 0 2px; }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.ed-band--now, .ed-band--close) { background: transparent; color: var(--hickory-700); padding: 0; }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.ed-band--now, .ed-band--close) .ed-band__n { color: var(--hickory-700); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.ed-band--now, .ed-band--close) :is(.ed-band__label, .ed-band__words, .ed-band__end) { color: var(--n-ink-2); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.ed-band--now, .ed-band--close):focus-visible { outline-color: var(--hickory-700); }
/* one set of state washes (light.css "ONE SET OF STATE WASHES"): the tiles, rows and cards that carry risk,
   attention or good today take the three washes, each with its deep ink; their own reds, ambers and mints
   were mixes over cream */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.amb-slab.is-risk, .amb-wk-status.is-risk, .ed-row--late, .ed-entry--late, .qb-req.is-late, .fd-ev--overdue, .fd-tl-line--overdue, .fd-day.is-risk .fd-dsl) { background: var(--st-risk-bg); color: var(--st-risk-ink);
  --hickory-500: var(--st-risk-ink); --hickory-400: var(--st-risk-ink); --text-soft: var(--st-risk-ink); --text-faint: var(--st-risk-ink); }   /* its quiet words take the deep ink too (.mk-risk .mk-stat__sub): grey ink is 4.4:1 on the wash */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.ed-row--approved, .fd-ev--golive) { background: var(--st-attn-bg); color: var(--st-attn-ink); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.ed-row--live, .fd-ev--live) { background: var(--st-good-bg); color: var(--st-good-ink); }
/* the job card's status chip darkens on hover and while its menu is open, as it does in the dark look (8 % more red) */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.amb-wk-status.is-risk:not(.is-static):hover, .amb-wk-status.is-risk.bd-menu-open) { background: color-mix(in srgb, var(--danger) 8%, var(--st-risk-bg)); }
/* hover life (light.css "HOVER LIFE"): what you can press darkens its line one step and lifts, on the house
   timing; its ground stays. A note, a group or an empty state stays still. The mint, dark and hickory tiles
   lift alone. */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.bd-stat, .bd-card.is-clickable, .bd-card--clickable, .dh-frame .dh-tile.is-clickable, .dh-frame .dh-row, button.ed-row, button.ed-fig, .qb-req, .sh-pc, .ws-item, .fd-tl, .qbs-rs, .qbw-svc, .amb-drophead, .amb-needrow) { transition: box-shadow var(--dur-base) var(--ease-standard), background-color var(--dur-base) var(--ease-standard); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(
  .bd-stat:not(.bd-stat--mint):not(.bd-stat--dark):not(.bd-stat--hickory),
  .bd-card.is-clickable:not(.bd-card--highlight):not(.bd-card--accent):not(.pj-t2), .bd-card--clickable:not(.bd-card--highlight):not(.bd-card--accent),
  .dh-frame .dh-row:not(.dh-rowset > .dh-row),
  button.ed-row, button.ed-fig:not(.ed-fig--now), .qb-req, .sh-pc, .ws-item, .fd-tl:not(.fd-tl--now),
  .qbs-rs:not(.tot), .qbw-svc:not(.on), .amb-dsec:not(.is-open) > .amb-drophead, .amb-needrow):hover {
  box-shadow: inset 0 0 0 1px var(--n-400), 0 2px 8px rgba(36,23,19,.07); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.bd-card.is-clickable, .bd-card--clickable, .sh-pc, .ws-item, .qbw-svc:not(.on), .amb-dsec:not(.is-open) > .amb-drophead):not(.bd-card--highlight):not(.bd-card--accent):not(.pj-t2):hover { background: #FFFFFF; }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.bd-stat--mint, .bd-stat--dark, .bd-stat--hickory, .dh-frame .dh-tile.is-clickable.is-mint, .dh-frame .dh-tile.is-clickable.is-dark, button.ed-fig--now, .fd-tl--now, .pj-t2):hover { box-shadow: 0 2px 8px rgba(36,23,19,.12); }

/* ---- S3 · THE PAGES (c): the Ambit address field: retired 31 Oct 2026 with the field (the top nav finds and books,
   packages/appraisal/find-bar.js) ---- */

/* ---- S3 · THE PAGES (d): a page's own search ---------------------------------------------------------
   light.css "SEARCH BOXES ... One shape everywhere: as wide as what you would type into it, never the pane; the glyph
   inside the box", then "THE SEARCH BOX IS THE EXCEPTION": a page that filters its own list does so in the canon's
   search row (.bd-search) at the top of its work pane (the filter row the masts' searches moved to in S2 (b),
   bdFilterRowHtml), and in the light look that row is the search box: 240 to 360px, the glyph inside at 11px in the
   faint ink, white, an 8px radius, the grey-300 line and the soft shadow, the field law's 2px hickory under the caret. */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .bd-search { position: relative; flex: 0 0 auto; width: clamp(240px, 24vw, 360px); max-width: 100%; }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .bd-search .bd-search__glyph {
  position: absolute; left: 11px; top: 50%; transform: translateY(-50%); margin: 0; z-index: 1; pointer-events: none;
  font-size: 15px; color: var(--n-ink-3); display: inline-flex;
}
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .bd-search .bd-input {
  padding-left: 34px; background: #FFFFFF; border-color: var(--n-300); border-radius: 8px;
  box-shadow: 0 1px 2px rgba(36,23,19,.06), 0 2px 8px rgba(36,23,19,.05);
}
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .bd-search .bd-input:hover:not(:focus) { box-shadow: inset 0 0 0 1px var(--n-300), 0 1px 2px rgba(36,23,19,.06), 0 2px 8px rgba(36,23,19,.05); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .bd-search .bd-input:focus { border-color: var(--hickory-700); box-shadow: inset 0 0 0 1px var(--hickory-700), 0 1px 2px rgba(36,23,19,.06), 0 2px 8px rgba(36,23,19,.05); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .bd-search .bd-input::placeholder { color: var(--n-ink-2); }
/* a field and the square that rides it are one control (the pairing law: flush, the same height), so in a filter row
   the pair shares the box's 8px outer corners and its shadow: Projects' + create square (S2 (b)) */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .bd-filterrow .bd-search .bd-input:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .bd-filterrow .bd-search .bd-input ~ button { border-radius: 0 8px 8px 0; box-shadow: 0 1px 2px rgba(36,23,19,.06), 0 2px 8px rgba(36,23,19,.05); }

/* ---- S3 · THE PAGES (e): the Quote Builder --------------------------------------------------------------
   Brock, 19 Oct 2026, of a quote's Build tab beside the light shell (22 Edgewood St): "Lets ovrhaul the Quote builder to be a
   bit of a sexier light mode styling to suite the rest of the site". The walk, the deck, the options page and the Quote tab
   were drawn for the cream page (walk.js "the boards' own values", view.js, qmap.js), so the zone's tokens (S3 a) reached their
   cream-50 and cream-200 and left what they name as cream-100 or as hex: the area and the plan's steps stayed peach, the quote
   beside the walk a peach column, the work column grey-100 under a grey-50 head, and the trades and services sat on a hickory
   table. Each takes the light look's own grammar, nothing new: the one grey-50 ground; the quote beside the walk a context
   column, the hairline on the edge that faces the work; a card, a panel or a row white with its grey-300 line, rows 8px apart
   and cards and tiles --u-gap apart; a well inside a card grey-50; a quiet button, a tag or a step's number grey-100; an icon
   square grey-100 with its hickory glyph (Studio's .tk-row__ic); the quiet inks grey; hover life on a card you can press; the
   table's cards on the ground with its caption a grey label (S3 b's rule for the lintels and the NOW band).
   PICKED IS MINT (D10 of docs/Light-Look.md, for the Quote Builder; Brock, 19 Oct 2026: "Make the picked cards and tiles
   mint"): a picked option card, a picked tile (the machine, how it gets there, the map's type), the phone's picked row and a
   picked colour swatch are the pressed tile, mint-400 with hickory, their quiet words hickory at 75 % as the selected menu row's
   (light.css .bd-index-item[aria-current]), a card's tick the canon's filled square (hickory, a mint check) so it still shows
   on the mint. KEPT (Brock, 19 Oct 2026: "keep the cream on the Quote tab's 'Not on their page' parts, and keep the crumb, READ
   AS, the access and the current step hickory"): hickory for the crumb you are on, READ AS, the picked access, the step you are
   on, Open the map, the Add square, an item's number and the total; mint for the words the reader read, the accent buttons and a
   turned card; and what the owners never see keeps its cream (the Quote tab's lines and internal note, view.js "BD Ready's own
   parts on cream-100"), its quiet ink the brand's brown as a calm note's.
   THE PHONE (S6 brought the light look to it): the same rules reach its page (.pane-centre), and its own walk pieces join them:
   the quote's bar a page head on the ground (it was hickory-900 under the light top bar), its tabs on the ground, a choice a
   white row with its line, the step's note a card, the foot the ground with the tab bar's hairline over it (light.css .mk-tabbar).
   A card whose art well runs to its edges covers the card's own line (an inset shadow paints under its children), so the
   well draws the line along its own three sides; --qbk-line carries the line's step so hover life darkens both at once. */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qbk-wk, .qbk-ofoot, .qb-foot) { background: var(--n-50); }
/* the quote beside the walk: the context column's ground and hairline. The row wraps on a narrow stage and the quote drops
   under the walk, so the line sits OUTSIDE the column on its left and its top: the scroller clips whichever of the two
   falls past its edge (the top one beside the walk, the left one under it) */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qbk-qa { background: var(--n-50); box-shadow: -1px 0 0 0 var(--n-300), 0 -1px 0 0 var(--n-300); }
/* the picks you can go back to, the way you go in, the steps you can add, Type it instead: quiet buttons */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qbk-crumb:not(.on), .qbk-acc button:not(.on), .qbk-chipa:not(.on), .qbk-stp button, .qbm-ghost, .qb-sw:not(.on), .qb-skel) { background: var(--n-100); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qbk-foot, .qbk-ofoot, .qbk-ph-acts) .bd-btn:not(.bd-btn--accent) { background: var(--n-100); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qbk-foot, .qbk-ofoot, .qbk-ph-acts) .bd-btn:not(.bd-btn--accent):hover { background: var(--n-200); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qb-pick { background: var(--n-100); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qb-pick:hover { background: var(--n-200); }
/* the cards, panels and rows: white with the line */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qbk-req, .qbk-meas, .qbk-pl:not(.is-drag), .qbk-typ, .qbk-note, .qbk-pnl, .qbk-blkc, .qbk-mrow, .qbk-own, .qbk-rr, .qbk-hold, .qbk-asked,
  .qbk-st:not(.now), .qbk-tl:not(.on), .qbm-qi, .qb-onpage, .qb-ndm, .qb-optart .qb-art) { background-color: #FFFFFF; box-shadow: inset 0 0 0 1px var(--n-300); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qbk-pl.is-drag { background: #FFFFFF; }   /* its 2px hickory ring kept */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qb-item { margin-bottom: var(--space-2); box-shadow: inset 0 0 0 1px var(--n-300); }   /* white by the zone */
/* inside a white card: the step's number, the panel's icon square, an extra's tick row and the plan's own tag on the quiet grey */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qbk-pl .num { background: var(--n-100); color: var(--hickory-700); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qbk-pnl .ic, .qbk-pl .qbk-tg.yp, .qbk-ox, .qbm-qi .h i) { background: var(--n-100); color: var(--hickory-700); }
/* breathing room: rows 8px apart, cards and tiles --u-gap */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qbk-rows, .qbk-strip, .qbk-mrows) { gap: var(--space-2); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qbk-opts, .qbk-tiles) { gap: var(--u-gap); }
/* the cards with an art well: the option cards, the trade and service cards, a style's card */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qbk-op:not(.on), .qbk-cd, .qbk-flip .face, .qb-deal) { --qbk-line: var(--n-300); background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--qbk-line); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qbk-op:not(.on) .art, .qbk-cd .art, .qbk-flip .face .art, .qb-deal .qb-art) { background-color: var(--n-50); box-shadow: inset 0 1px 0 var(--qbk-line), inset 1px 0 0 var(--qbk-line), inset -1px 0 0 var(--qbk-line); }
/* hover life (S3 b): what you can press darkens its line one step and lifts; a picked one stays still */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qbk-op, .qbk-cd, .qbk-flip .face, .qb-deal, .qbk-tl, .qbk-st) { transition: box-shadow var(--dur-base) var(--ease-standard), background-color var(--dur-base) var(--ease-standard); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qbk-op:not(.on), .qbk-cd, .qb-deal):hover,
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .bd-card.qbk-flip:not(.up):hover .face { --qbk-line: var(--n-400); box-shadow: inset 0 0 0 1px var(--qbk-line), 0 2px 8px rgba(36,23,19,.07); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qbk-tl:not(.on):not(.off), .qbk-st:not(.now)):hover { box-shadow: inset 0 0 0 1px var(--n-400), 0 2px 8px rgba(36,23,19,.07); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qb-deal:hover { filter: none; }
/* a service card rang mint on hover and focus, for the hickory table; on the ground it takes hover life, and the keyboard's
   ring is the app's own on a light surface, hickory (index.html, the focus law) */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qbk-cd:hover { outline: none; }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qbk-cd:focus-visible { outline: 2px solid var(--hickory-700); outline-offset: 1px; }
/* the table (DeckTrades, DeckServices): the cards on the ground, its caption a label in the grey ink, the way back hickory on
   its mint square */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qbk-deck { background: transparent; padding: 0; }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qbk-deck__cap { color: var(--n-ink-2); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qbk-tback { color: var(--hickory-700); }
/* the map's words on the walk and the Quote tab: the quiet ink grey (qmap.js writes the brand's brown as hex), its thumbnail
   framed by the hairline */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qbm-dv > span, .qbk-pl .pk .qbm-sw, .qbm-qi p, .qbm-wait) { color: var(--n-ink-2); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qbm-thumb { box-shadow: inset 0 0 0 1px var(--n-300); }
/* what the owners never see keeps its cream, its quiet ink the brand's brown (a calm note's, S3 a) */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qb-lines, .qb-ours, .qb-armline) { --hickory-500: #5F4639; --text-soft: #5F4639; --text-faint: #5F4639; }
/* the accessibility floor (the one standing exception, as S3 a's mint tile and S4 b's week times): an option's second line
   (view.js .qb-optsub, "Through a side gate") dims the segment's grey ink to 80 %, 3.46:1 on the ground, measured in the
   harness; in the light look it takes the grey ink whole (5.21:1). The dark look keeps its 80 %. */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qb-optsub { opacity: 1; }
/* PICKED IS MINT: the pressed tile, mint-400 with hickory; its quiet words hickory at 75 % (6.1:1 on the mint), its art and icon
   squares the card's own mint with a hickory glyph, a card's tick the filled square */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qbk-op.on, .qbk-tl.on, .qbk-prow.on, .qb-sw.on) { background: var(--mint-400); color: var(--hickory-700); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qbk-op.on .art, .qbk-prow.on .ic) { background: transparent; color: var(--hickory-700); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qbk-op.on .s, .qbk-op.on .pr span, .qbk-tl.on span span, .qbk-mt.on .pr small, .qbk-prow.on span.s) { color: rgba(56,37,30,.75); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qbk-tl.on svg { color: var(--hickory-700); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qbk-op.on .tick { background: var(--hickory-700); color: var(--mint-400); }
/* THE PHONE's own walk pieces (walk.js WalkPhone): the quote's bar and tabs on the ground, its back square the desk's light one,
   its state a quiet tag; a choice a white row with its line, 8px apart, its icon on grey; the note a card; the foot the ground
   under the tab bar's hairline */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qbk-phone, .qbk-pbar, .qbk-ptabs) { background: var(--n-50); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qbk-pbar .s { color: var(--hickory-700); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qbk-pbar .qbk-ptag { background: var(--n-100); color: var(--hickory-700); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qbk-pbar .qbk-back { box-shadow: inset 0 0 0 1px var(--n-400); color: var(--hickory-700); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qbk-pbar .qbk-back:hover { background: var(--n-100); color: var(--hickory-700); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qbk-ph-note, .qbk-prow:not(.on)) { background-color: #FFFFFF; box-shadow: inset 0 0 0 1px var(--n-300); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qbk-prow:not(.on) .ic { background: var(--n-100); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qbk-prows { gap: var(--space-2); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qbk-ph-foot { background: var(--n-50); box-shadow: inset 0 1px 0 var(--n-300); }

/* ---- S3 · THE PAGES (f): the Catalogue and the BD Ready Diary ------------------------------------------------------
   Brock, 19 Oct 2026, once S3 (e) was live, of the two Quote Builder screens it left out: "Catalogue and Diary", to bring them
   into the same light treatment. The Catalogue (catalogue.js), the Map types page that opens from it (maptypes.js) and the Diary
   (diary.js) were drawn for the cream page, so the zone's tokens (S3 a) reached their cream-50, cream-200 and cream-300 and left
   what they name as cream-100: the Catalogue's card art and its add-a-step box, Map types' trades and its open row, the Diary's
   people, its skills heads, its booking panel and every second hour of a day stayed peach. S3 (a)'s rule for the Quote Builder's
   rows reached the picked step row too and painted it white under the dark look's muted cream (the step rows are this block's
   now); Map types' head was white over a grey-100 body, the Diary's page grey-100, and its pop dimmed the page under hickory-900
   at 55 %. S3 (e)'s grammar, nothing new:
     the one grey-50 ground; a card, a panel, a row or a note white with its grey-300 line, rows 8px apart and cards and tiles
     --u-gap apart; an art well grey-50, drawing the card's line on its own three sides; a quiet button, a tag or a skeleton
     grey-100; an editor beside or under the work (the Diary's booking panel, Map types' open row) the Catalogue's aside, the
     ground with its line (S3 a); hover life on what you can press;
     the Diary's calendars (the week, the month, a day, the skills) are white tables with hairline seams: each cell draws its
     line OUTSIDE itself, in a gap of the same 1px, so two cells share one line, and the corner, a closed day, a day of another
     month and a day on leave draw none and stay holes in the ground; a day's grid paints its seams from its own ground (diary.js
     places the band's times and grips for a 2px seam: at 1px, measured in the harness, the times' tag sits 9px into its column
     where it sat 8px, and the grips half a pixel off centre); a person's head and a skills head grey-100 against the white
     cells, as the dark look steps them from cream-50 to cream-100; every second hour grey-100 (diary.js names that tone
     --qd-hour, else cream-100); a pencilled block hatched white and grey-200; and the pop the floating material over the
     mock's 16 % scrim (S4 b, S6 a).
   PICKED IS MINT for what you pick from a set of cards, tiles or rows: a service, a step, a card, a map type's sign, a way it
   fits, a time. KEPT hickory, as Brock kept the crumb, READ AS, the picked access and the current step (S3 e): the pick of a
   segment, a tab or a chip (the Diary's views, a day or a range, Why, Map types' trades and its segments, A new step), the day
   you are on in a strip of days, the primary buttons, a booked works day, today's date, a ticked box and a switch that is on. */
/* the grounds: the Diary's page, its phone head and full sheets, Map types' head and body; the phone's foot under the tab bar's
   hairline (S3 e's .qbk-ph-foot) */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qd-root, .qd-r5, .qd-phd, .qd-phone .qd-full, .qmt-hd, .qmt-body) { background: var(--n-50); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qd-ph-bar { background: var(--n-50); box-shadow: inset 0 1px 0 var(--n-300); }
/* an editor beside or under the work: the Catalogue's aside (S3 a) */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qd-panel, .qmt-edit) { background: var(--n-50); box-shadow: inset 0 0 0 1px var(--n-300); }
/* the cards, panels, rows and notes: white with the line; the grey ones keep their grey and take the line */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qbw-addbox, .qbw-fg, .qbw-hist span, .qbw-chips .bd-chip:not(.qbw-add), .qmt-tr,
  .qd-wsum, .qd-need, .qd-sug:not(.qd-on), .qd-msg5, .qd-noteq, .qd-olist .qd-row, .qd-wr:not(.qd-no), .qd-rqt, .qd-skr, .qd-dstrip button:not(.qd-on):not(:disabled),
  .qd-pw, .qd-pday, .qd-pmr:not(.qd-hol), .qd-prq, .qd-phone .qd-ph-b > .qd-sw) { background-color: #FFFFFF; box-shadow: inset 0 0 0 1px var(--n-300); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qbw-chips .bd-chip.qbw-add, .qbw-ph, .qbw-b4, .qd-wr.qd-no, .qd-clash) { box-shadow: inset 0 0 0 1px var(--n-300); }
/* the quiet buttons and tiles: Map types' trades not picked, its segments' other picks, a sign and a fill not picked, the Diary's
   arrows, its views not on, a time not picked, the skeletons */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qmt-tab:not(.on), .qmt-edit .qbs-seg button:not(.on), .qmt-gl:not(.on), .qmt-fl, .qd-sq, .qd-seg button:not(.qd-on), .qd-tlist button:not(.qd-on), .qd-sk:not(.qd-s)) { background: var(--n-100); }
/* breathing room: rows 8px apart, cards and tiles --u-gap; the asks were 1px apart, where their lines would double: the words' 4px */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qbw-rows, .qbw-blk, .qbw-hist, .qmt-tbl, .qd-rqs, .qd-olist, .qd-dstrip) { gap: var(--space-2); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qbw-svcs, .qbw-cards, .qd-sgrid, .qd-dayw) { gap: var(--u-gap); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .bd-chip-group.qbw-asks { gap: 4px; }
/* the Catalogue's step rows (S3 a's until now): white with the line; one being dragged keeps its mint ring, on white */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qbw-srow:not(.on):not(.is-drag) { background-color: #FFFFFF; box-shadow: inset 0 0 0 1px var(--n-300); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qbw-srow.is-drag { background-color: #FFFFFF; }
/* the Catalogue's cards: white with the line, the art well grey-50 with the card's line on its own three sides (S3 e); the Add
   card a quiet grey slot with the line */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qbw-cd:not(.on):not(.add) { --qbk-line: var(--n-300); background-color: #FFFFFF; }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qbw-cd:not(.on):not(.add):not(.is-drag) { box-shadow: inset 0 0 0 1px var(--qbk-line); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qbw-cd:not(.on):not(.add) .art { background-color: var(--n-50); box-shadow: inset 0 1px 0 var(--qbk-line), inset 1px 0 0 var(--qbk-line), inset -1px 0 0 var(--qbk-line); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qbw-cd.add .art { background-color: var(--n-100); box-shadow: inset 0 0 0 1px var(--n-300); }
/* the Diary's calendars: white tables with hairline seams, each cell's line outside it in a 1px gap; a day's grid seams from its
   own ground; a person's head and a skills head grey-100; every second hour grey-100; a pencilled block hatched white and grey-200 */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qd-rota, .qd-mcal, .qd-skg) { gap: 1px; }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qd-rh:not(.qd-corner), .qd-rp, .qd-rc:not(.qd-na), .qd-mcd:not(.qd-hol):not(.qd-out), .qd-skh, .qd-skp, .qd-skc) { box-shadow: 0 0 0 1px var(--n-300); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qd-rp, .qd-skh, .qd-skp) { background: var(--n-100); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qd-dg { box-shadow: 0 0 0 1px var(--n-300); }   /* its rows cover an inset line, so it is drawn outside */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qd-dgh, .qd-dgb) { gap: 1px; background: var(--n-300); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qd-col { --qd-hour: var(--n-100); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qd-ev.qd-pen, .qd-jc.qd-pen) { background: repeating-linear-gradient(135deg, #FFFFFF 0 6px, var(--n-200) 6px 12px); }
/* hover life (S3 b): what you can press darkens its line one step and lifts; a picked one stays still. A calendar's cell raises
   itself over its neighbours' lines; the mint free day lifts alone */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qbw-srow, .qbw-cd, .qbw-cd.add .art, .qd-sug, .qd-dstrip button, button.qd-rh, button.qd-rp, button.qd-rc, button.qd-mcd) { transition: box-shadow var(--dur-base) var(--ease-standard), background-color var(--dur-base) var(--ease-standard); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qbw-srow:not(.on):not(.is-flat):not(.is-drag), .qd-sug:not(.qd-on), .qd-dstrip button:not(.qd-on):not(:disabled)):hover { box-shadow: inset 0 0 0 1px var(--n-400), 0 2px 8px rgba(36,23,19,.07); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qbw-cd:not(.on):not(.add):not(.is-drag):hover { --qbk-line: var(--n-400); box-shadow: inset 0 0 0 1px var(--qbk-line), 0 2px 8px rgba(36,23,19,.07); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qbw-cd.add:hover .art { box-shadow: inset 0 0 0 1px var(--n-400), 0 2px 8px rgba(36,23,19,.07); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(button.qd-rh, button.qd-rp, button.qd-mcd):hover { box-shadow: 0 0 0 1px var(--n-400), 0 2px 8px rgba(36,23,19,.07); z-index: 1; }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) button.qd-rc.qd-fr:hover { box-shadow: 0 0 0 1px var(--n-300), 0 2px 8px rgba(36,23,19,.12); z-index: 1; }
/* the pop: the floating material over the mock's 16 % scrim */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qd-scrim { background: rgba(36,23,19,.16); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qd-pop5 { border: 1px solid var(--n-300); border-radius: 8px; box-shadow: 0 1px 2px rgba(36,23,19,.06), 0 8px 24px rgba(36,23,19,.10); }
/* PICKED IS MINT: the pressed tile, mint-400 with hickory; its quiet words hickory at 75 % (S3 e); a step's number and a tag on a
   picked card the filled square, hickory with mint; a picked card's well its own mint; a meter's empty cells hickory at 16 % */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qbw-svc.on, .qbw-srow.on, .qbw-cd.on, .qd-sug.qd-on, .qmt-gl.on, .qd-tlist button.qd-on, .qd-tl2 button.qd-on) { background: var(--mint-400); color: var(--hickory-700); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qbw-svc.on span, .qbw-srow.on .nm > span, .qbw-srow.on .c, .qbw-srow.on .st, .qbw-srow.on .g, .qbw-cd.on .st, .qd-sug.qd-on .qd-st, .qd-sug.qd-on .qd-sf) { color: rgba(56,37,30,.75); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qd-sug.qd-on .qd-sc { color: var(--hickory-700); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qbw-srow.on .num, .qbw-cd.on .art .qbw-tg, .qd-sug.qd-on .qd-tg5) { background: var(--hickory-700); color: var(--mint-400); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qbw-cd.on .art { background-color: transparent; color: var(--hickory-700); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qbw-srow.on, .qbw-cd.on) .qbw-meter i { background: rgba(56,37,30,.16); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.qbw-srow.on, .qbw-cd.on) .qbw-meter i.y { background: var(--hickory-700); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .qd-tl2 button.qd-on svg { color: var(--hickory-700); }

/* ---- S3 · THE PAGES (g): THE BUTTON READS AS A BUTTON ------------------------------------------------------------
   Brock, 21 Oct 2026, on the v5 job-card mock: "make the buttons look more like buttons on this new design - it's too
   easy for them to look like Tags. That start button for example", then "Make these button values the light look's
   canon for every .bd-btn on a light page, Settings included". The canon .bd-btn (bd-blocks.css 146) is square and
   flat, which on the light ground reads as a tag beside the light card's rounded corners and shadows (S3 a). On a
   light page every .bd-btn takes the mock's values (docs/mocks/ambit-tabs/v5/v5.css, "BUTTONS THAT READ AS BUTTONS"):
   6px corners, a 1px line and a soft shadow, and it presses down 1px. Quiet: white on the grey-400 line, hover the
   n-50 ground on the hickory-500 line. Primary: hickory-700 with cream ink on its own darker line, hover hickory-900.
   Accent (mint) and danger keep their fill and take the corners, a line of their own colour and the shadow. Ghost
   and on-dark stay flat (a ghost is a word, not a box; on-dark sits on the Rig's dark zones, which the look does not
   paint). Padding is the canon's, so nothing reflows: only the box around the words changes. The dark Rig is untouched.
   The page zone only (the S3 law, test-light-look.js: the shell and the tools are never touched by S3); a button in a pop or
   the drawer is S4's, and follows when Brock asks. */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .bd-btn:not(.bd-btn--ghost):not(.bd-btn--on-dark) {
  border-radius: 6px;
  background: #FFFFFF; color: var(--hickory-700);
  box-shadow: inset 0 0 0 1px var(--n-400), 0 1px 2px rgba(36,23,19,.08);
  transition: background var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard),
    box-shadow var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard);
}
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .bd-btn:not(.bd-btn--ghost):not(.bd-btn--on-dark):hover {
  background: var(--n-50); box-shadow: inset 0 0 0 1px var(--hickory-500), 0 1px 2px rgba(36,23,19,.10); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .bd-btn:not(.bd-btn--ghost):not(.bd-btn--on-dark):active {
  transform: translateY(1px); box-shadow: inset 0 0 0 1px var(--hickory-500); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .bd-btn--primary:not(.bd-btn--ghost):not(.bd-btn--on-dark) {
  background: var(--hickory-700); color: var(--cream-100);
  box-shadow: inset 0 0 0 1px var(--hickory-800), 0 1px 2px rgba(36,23,19,.18); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .bd-btn--primary:not(.bd-btn--ghost):not(.bd-btn--on-dark):hover {
  background: var(--hickory-900); color: var(--cream-100); box-shadow: inset 0 0 0 1px var(--hickory-900), 0 1px 2px rgba(36,23,19,.2); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .bd-btn--accent:not(.bd-btn--ghost):not(.bd-btn--on-dark) {
  background: var(--mint-400); color: var(--hickory-700); box-shadow: inset 0 0 0 1px var(--mint-500), 0 1px 2px rgba(36,23,19,.10); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .bd-btn--accent:not(.bd-btn--ghost):not(.bd-btn--on-dark):hover {
  background: var(--mint-500); color: var(--hickory-700); box-shadow: inset 0 0 0 1px var(--mint-500), 0 1px 2px rgba(36,23,19,.12); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .bd-btn--danger:not(.bd-btn--ghost):not(.bd-btn--on-dark) {
  background: var(--danger); color: var(--cream-100); box-shadow: inset 0 0 0 1px var(--danger), 0 1px 2px rgba(36,23,19,.18); }
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .bd-btn--danger:not(.bd-btn--ghost):not(.bd-btn--on-dark):hover { background: var(--danger-deep); color: var(--cream-100); box-shadow: inset 0 0 0 1px var(--danger-deep), 0 1px 2px rgba(36,23,19,.2); }
/* THE FILLED KINDS OUTRANK THE QUIET BOX (found 23 Oct 2026, measured in the dev harness): the box above carries two :not()s, so
   a bare .bd-btn--primary / --accent / --danger rule lost to it and every primary, mint and danger button on a light page drew
   white with hickory ink, against the values a5fefec45 and this block name. Each kind carries the same two :not()s, so the
   kinds win by order, as written. The drawer's and the pops' (S4 b) carry them too. */
/* the Quote Builder's foot buttons (S3 e, above) keep their n-100 ground (that rule is the more specific) and take the corners, the line and the shadow from here */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .bd-btn[disabled] { transform: none; }
/* the press under reduced motion is switched off in S5's own reduced-motion block (S3 holds no @media: the suite's zone check reads selectors alone) */

/* ---- S3 · THE PAGES (h): Ambit's tabs, the map's ground and the hollow dots ----------------------------------------
   The tabs' map pane and its hollow / to-do dots are white on the light look (the v4 mock's values, docs/Ambit-Tabs.md);
   tabs.js paints them var(--white), the Rig's cream, so the dark look keeps no white surface (check-drawer-ink.sh). The open
   enquiry's pane (S3, the v3 mock's .amb2-detail: #FFFFFF) and the open book's (S4) are white the same way. */
html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) :is(.amb-tabs-map, .amb-tabs-dot--hollow, .amb-tabs-dot--todo, .amb-tabs-detail, .pgx-amb__col) { background: #FFFFFF; }

/* ---- S4 · THE TOOLS (a): the drawer on the ladder, Notes and Build light ---------------------------
   The drawer zone re-points the tokens the page zone does (S3), so a tool's quiet buttons, chips, fields and
   inks land on the ladder (measured in the harness: the Agenda's Retry and Build's fields painted cream-200).
   Notes' Walnut sheet is the dark look's alone since this slice (notes.js opens every Walnut selector with
   :where(html:not([data-look])) (it named light alone until 1 Nov 2026), so the light look draws Notes from its own light sheet, on this
   ground. Build's hickory pane is restated here, as the mock draws its tool: the drawer's ground, hickory
   ink, grey labels and the field law's boxes. */
html[data-look="light"] body.bd-rig .bd-drawer {
  --cream-50: #FFFFFF; --cream-200: var(--n-100); --cream-300: var(--n-200); --cream-400: var(--n-400);
  --hickory-500: var(--n-ink-2); --hickory-400: var(--n-ink-2); --hickory-300: var(--n-400);
  --surface-page: var(--n-50); --surface-raised: #FFFFFF; --surface-sunken: var(--n-50); --surface-body: var(--n-100);
  --white-base: #FFFFFF; --white: #FFFFFF; --bg-base: var(--n-50); --bg: var(--n-50); --bg-soft-base: var(--n-100); --bg-soft: var(--n-100); --bg-panel: var(--n-50);
  --text-soft: var(--n-ink-2); --text-faint: var(--n-ink-2); --border: var(--n-300); --border-strong: var(--n-400); --field-line: var(--n-400);
  --border-default: var(--cream-400); --border-subtle: var(--cream-300); --line: var(--cream-300);
  --btn-bg: var(--bg-soft); --btn-dis-bg: color-mix(in srgb, var(--accent) 12%, var(--bg-soft)); --btn-hover: color-mix(in srgb, var(--white) 45%, var(--bg-soft));
  --card-bg: var(--white); --card-meta: var(--text-faint); --cat-item-bg: var(--bg-soft); --cat-item-meta: var(--text-faint);
  --ctrl-off: color-mix(in srgb, var(--accent) 15%, var(--white)); --field-cap: var(--text-soft); --field-fill: var(--white); --field-ph: var(--text-faint);
  --pill-ink-neutral: color-mix(in srgb, var(--text-soft) 80%, var(--accent)); --seg-ground: var(--bg-soft); --seg-ink: var(--text-soft); --tab-body: var(--white);
  --text-muted: var(--hickory-500); --text-subtle: var(--hickory-400); --wash-card: color-mix(in srgb, var(--hickory-700) 4%, var(--cream-50));
}
/* Notes' search is the search box (light.css "THE SEARCH BOX IS THE EXCEPTION"): white, an 8px radius, the grey-300
   line and the soft shadow, the glyph inside at 11px in the faint ink as the band's (S1), the field law's 2px hickory
   under the caret. Notes draws no glyph of its own, so it rides the box as an image: the band's own glyph, 14px, 11px in. */
html[data-look="light"] body.bd-rig .bd-drawer .bdn-search input {
  border-color: var(--n-300); border-radius: 8px; padding-left: 34px;
  background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23938E88' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3C/svg%3E") no-repeat 11px 50% / 14px 14px;
  box-shadow: 0 1px 2px rgba(36,23,19,.06), 0 2px 8px rgba(36,23,19,.05);
}
html[data-look="light"] body.bd-rig .bd-drawer .bdn-search input:hover:not(:focus) { box-shadow: inset 0 0 0 1px var(--n-300), 0 1px 2px rgba(36,23,19,.06), 0 2px 8px rgba(36,23,19,.05); }
html[data-look="light"] body.bd-rig .bd-drawer .bdn-search input:focus { border-color: var(--hickory-700); box-shadow: inset 0 0 0 1px var(--hickory-700), 0 1px 2px rgba(36,23,19,.06), 0 2px 8px rgba(36,23,19,.05); }
html[data-look="light"] body.bd-rig .bd-drawer .bdn-search input::placeholder { color: var(--n-ink-2); }
/* a tool's text box sits on the drawer's ground (light.css: .bd-drawer .bd-input on the page's grey-50); a composer
   stays square */
html[data-look="light"] body.bd-rig .bd-drawer :is(.bdn-compose-in, .bdn-frename) { background: var(--n-50); }
/* a row you can press greys on hover (light.css .mk-trow:hover), where the light sheet washed it 4 % hickory */
html[data-look="light"] body.bd-rig .bd-drawer :is(.bdn-frow, .bdn-nrow):hover { background: var(--n-100); }

/* ---- S4 · THE TOOLS (b): the floating layer --------------------------------------------------------
   light.css "THE FLOATING LAYER wears the search box's material: white, the hairline, an 8px radius and a soft warm
   shadow, a little deeper than the search box's ... hickory-900 no longer floats on a light page." Its rows hover
   grey-100 at a 6px radius (.mk-pop__item). A pop can open over any zone, so these name no zone. Ambit's own pop
   (.amb-pop, ambit-view.js "the dark popover, the one floating surface") first: its picks, its marks, the address
   suggestions. */
/* THE BUTTON READS AS A BUTTON IN THE TOOLS AND THE POPS TOO (S3 g's values, Brock, 21 Oct 2026: "Make these button values
   the light look's canon for every .bd-btn on a light page, Settings included"): S3 (g) holds the page zone, so the drawer and
   the floating layer, both light on the light look, take the same box here. Ghost and on-dark stay flat. */
html[data-look="light"] body:is(.bd-rig, .bd-shell) :is(.bd-drawer, .amb-pop, .bd-pop) .bd-btn:not(.bd-btn--ghost):not(.bd-btn--on-dark) {
  border-radius: 6px; background: #FFFFFF; color: var(--hickory-700);
  box-shadow: inset 0 0 0 1px var(--n-400), 0 1px 2px rgba(36,23,19,.08);
  transition: background var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard);
}
html[data-look="light"] body:is(.bd-rig, .bd-shell) :is(.bd-drawer, .amb-pop, .bd-pop) .bd-btn:not(.bd-btn--ghost):not(.bd-btn--on-dark):hover { background: var(--n-50); box-shadow: inset 0 0 0 1px var(--hickory-500), 0 1px 2px rgba(36,23,19,.10); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) :is(.bd-drawer, .amb-pop, .bd-pop) .bd-btn:not(.bd-btn--ghost):not(.bd-btn--on-dark):active { transform: translateY(1px); box-shadow: inset 0 0 0 1px var(--hickory-500); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) :is(.bd-drawer, .amb-pop, .bd-pop) .bd-btn--primary:not(.bd-btn--ghost):not(.bd-btn--on-dark) { background: var(--hickory-700); color: var(--cream-100); box-shadow: inset 0 0 0 1px var(--hickory-800), 0 1px 2px rgba(36,23,19,.18); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) :is(.bd-drawer, .amb-pop, .bd-pop) .bd-btn--primary:not(.bd-btn--ghost):not(.bd-btn--on-dark):hover { background: var(--hickory-900); color: var(--cream-100); box-shadow: inset 0 0 0 1px var(--hickory-900), 0 1px 2px rgba(36,23,19,.2); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) :is(.bd-drawer, .amb-pop, .bd-pop) .bd-btn--accent:not(.bd-btn--ghost):not(.bd-btn--on-dark) { background: var(--mint-400); color: var(--hickory-700); box-shadow: inset 0 0 0 1px var(--mint-500), 0 1px 2px rgba(36,23,19,.10); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) :is(.bd-drawer, .amb-pop, .bd-pop) .bd-btn--danger:not(.bd-btn--ghost):not(.bd-btn--on-dark) { background: var(--danger); color: var(--cream-100); box-shadow: inset 0 0 0 1px var(--danger), 0 1px 2px rgba(36,23,19,.18); }
/* a danger button's own hover: without it the quiet box's white hover above took the fill and left the cream words on it (Quote Builder's Cancel pop, Confirm unreadable) */
html[data-look="light"] body:is(.bd-rig, .bd-shell) :is(.bd-drawer, .amb-pop, .bd-pop) .bd-btn--danger:not(.bd-btn--ghost):not(.bd-btn--on-dark):hover { background: var(--danger-deep); color: var(--cream-100); box-shadow: inset 0 0 0 1px var(--danger-deep), 0 1px 2px rgba(36,23,19,.2); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) :is(.bd-drawer, .amb-pop, .bd-pop) .bd-btn[disabled] { transform: none; }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .amb-pop {
  background: #FFFFFF; color: var(--hickory-700); border: 1px solid var(--n-300); border-radius: 8px; padding: 14px 8px;
  box-shadow: 0 1px 2px rgba(36,23,19,.06), 0 8px 24px rgba(36,23,19,.10);
}
html[data-look="light"] body:is(.bd-rig, .bd-shell) .amb-pop :is(.amb-pop-opt, .appr-sr) { color: var(--hickory-700); border-radius: 6px; transition: background-color var(--dur-fast) var(--ease-standard); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .amb-pop :is(.amb-pop-opt, .appr-sr):hover { background: var(--n-100); color: var(--hickory-700); }
/* the pick in force rests on grey-100, as the mock marks its own (.mk-pop__item.on); its mark keeps the mint */
html[data-look="light"] body:is(.bd-rig, .bd-shell) .amb-pop .amb-pop-opt.is-on { color: var(--hickory-700); background: var(--n-100); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .amb-pop .amb-pop-mark { background: var(--n-300); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .amb-pop .amb-pop-done { color: var(--hickory-700); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .amb-pop .appr-sr-loading { color: var(--n-ink-2); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .amb-pop .appr-sr-manual { border-top-color: var(--n-300); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .amb-pop .appr-sr-manual b { color: var(--hickory-700); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .amb-pop .appr-sr-manual .sub { color: var(--n-ink-2); }
/* THE INBOX, as the mock draws it (Brock, 19 Oct 2026, of its unread rows: "Do the mock"). An unread row is the unread
   wash, mint-400 at 38 % into the drawer's ground (furniture .mk-trow--unread), its line 1 still the weight it was; a
   row greys on hover; the open row is the lifted white card (light.css .mk-trow--open: white, the line and the floating
   shadow, an 8px radius, 4px clear of its neighbours, set on the content edge with 10px by 12px inside); its acts are
   quiet words in the grey ink and the first act, the one that finishes the row, is the mock's armed act: hickory,
   semibold, no fill. */
html[data-look="light"] body:is(.bd-rig, .bd-shell) #notifBack .notif-row.unread { background: color-mix(in srgb, var(--mint-400) 38%, var(--n-50)); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) #notifBack .notif-row:hover { background: var(--n-100); }
/* the open card's right margin is 22px less the scrollbar's room the list keeps for good (index.html THE SCROLLBAR'S ROOM), so a row's ⋯ line never narrows it */
html[data-look="light"] body:is(.bd-rig, .bd-shell) #notifBack :is(.notif-row.open, .notif-row.open:hover) {
  background: #FFFFFF; margin: 4px var(--notif-in-r, 22px) 4px 22px; padding: 16px 12px; border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--n-300), 0 1px 2px rgba(36,23,19,.06), 0 8px 24px rgba(36,23,19,.10);
}
html[data-look="light"] body:is(.bd-rig, .bd-shell) #notifBack .notif-row.open .notif-act:not(.notif-act--first):not(.notif-act--lead) { color: var(--n-ink-2); }
/* THE THREE COUNTS (admin.js notifCountsHtml): the canon segmented control's light face, as the task form's When and the add-address
   choice draw it: grey-100 parts, the number hickory, a part with nothing waiting in the grey ink, the open part hickory with cream words */
html[data-look="light"] body:is(.bd-rig, .bd-shell) #notifBack .notif-count:not(.on) { background: var(--n-100); color: var(--hickory-700); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) #notifBack .notif-count:not(.on):hover { background: var(--n-200); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) #notifBack .notif-count.is-zero:not(.on) { color: var(--n-ink-2); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) #notifBack .notif-count.on { background: var(--hickory-700); color: var(--cream-100); }
/* THE PLAY IN THE TOP NAV (manual/inbox-band.js; index.html's own block holds the measure): the light band's face. At rest the Play is the What
   to show pill's face in the band's hickory; out and lit it keeps the band's mint pair (mint with the hickory glyph, the pair the band's + wore
   until it went on 13 Nov 2026); its ring is hickory, as mint
   would not show on the light band; the track and its parts wear the
   light face THE THREE COUNTS wears above (grey-100 ground, hickory numbers, the open part hickory with cream words) */
html[data-look="light"] body:is(.bd-rig, .bd-shell) #workspace .topbar > #bandPlay {
  --bp-ring: var(--hickory-700); --bp-track: var(--n-100); --bp-ink: var(--hickory-700); --bp-zero: var(--n-ink-2);
  --bp-on-bg: var(--hickory-700); --bp-on-fg: var(--cream-100); --bp-hover: var(--n-200);
}
html[data-look="light"] body:is(.bd-rig, .bd-shell) #notifBack .notif-row.open .notif-acts-row :is(.notif-act--first, .notif-act--lead),
html[data-look="light"] body:is(.bd-rig, .bd-shell) #notifBack .notif-row.open .notif-acts-row :is(.notif-act--first, .notif-act--lead):hover { background: transparent; color: var(--hickory-700); font-weight: var(--fw-semibold); }
/* the tools' own pop-ups wear the floating material (the Inbox's Show and Later menus, Ask's conversation switcher, Notes'
   move picker, its Styles and Writing tools cards, its table bar and share list): THE POP's tokens are re-pointed on the
   pop itself, so every ink it spends follows, and the pick in force rests on grey-100 (.mk-pop__item.on) */
html[data-look="light"] body:is(.bd-rig, .bd-shell) :is(.menu.notif-srcpop, .menu.notif-laterpop, .menu.chat-convpop, .menu.bdn-movepop, .bdn-stylecard, .bdn-ai-card, .bdn-tablebar, .bd-mast-menu.bdn-sharepop, .bd-pop-surface) {
  --pop-fill: #FFFFFF; --pop-ink: var(--hickory-700); --pop-ink-2: var(--n-ink-2); --pop-armed: var(--hickory-700); --pop-press: var(--n-100);
  --pop-shadow: 0 1px 2px rgba(36,23,19,.06), 0 8px 24px rgba(36,23,19,.10);
  border: 1px solid var(--n-300); border-radius: 8px;
}
html[data-look="light"] body:is(.bd-rig, .bd-shell) .menu.notif-srcpop .notif-srcmark { background: var(--n-300); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .menu.notif-srcpop .notif-srcrow.on { background: var(--n-100); }
/* the Agenda's hours as the mock draws them (furniture .mk-hour__b: a line on each hour across the day's column, in the
   drawer's field line), beside the hour's label rather than through it: the day timeline sets its labels at 0 to 36px and
   its events from 50px (measured in the harness). The desk drawer's dark look hides these rules. */
html[data-look="light"] body.bd-rig .bd-drawer .ag-tl .ag-hr { display: block; left: 50px; background: var(--field-line); }
/* the accessibility floor (the one standing exception): the week's event times are hickory at 55 %, 3.49:1 on their white
   rows, measured in the harness; in the light look they take the grey ink (5.43:1) */
html[data-look="light"] body.bd-rig .bd-drawer :is(.ag-row-when, .ag-row--addr .ag-row-when) { color: var(--n-ink-2); }

/* ---- S4 · THE TOOLS (c): the Phone ----------------------------------------------------------------------
   Brock, 19 Oct 2026, with the Phone tool open beside the light page: "Build light look for the phone". S4 (b) left
   Phone unmeasured (the harness has no Aircall); it was drawn for the dark drawer: a hickory sheet, head, tab row and
   dialer pane, cream inks, a mint underline. In the light look the hosted dock (packages/aircall/phone.js) stands on the
   drawer's ground like the other tools: no line under its head (none of the other drawer heads draws one in light), the
   title hickory, the status words grey and the connected dot the status green (--success: mint is 1.1:1 on grey-50),
   the tabs the light tab strip's (grey words, the selected one hickory with a hickory underline), the dialer pane and
   the sheet below the panel on the ground. The badge is already the light badge (mint, hickory ink). Aircall's own
   panel inside the pane is its page, left alone; a thread's head in Calls and Messages is the same light head; the
   primary buttons and a sent message stay hickory. */
html[data-look="light"] body.bd-rig #aircallDock.rp-hosted :is(.acl-sheet, .acl-head, .acl-tabs, .acl-pane-dialer, .acl-th-head) { background: var(--n-50); }
html[data-look="light"] body.bd-rig #aircallDock.rp-hosted .acl-title { color: var(--hickory-700); }
html[data-look="light"] body.bd-rig #aircallDock.rp-hosted .acl-status-txt { color: var(--n-ink-2); }
html[data-look="light"] body.bd-rig #aircallDock.rp-hosted .acl-dot { background: var(--n-400); }
html[data-look="light"] body.bd-rig #aircallDock.rp-hosted .acl-dot.on { background: var(--success); }
html[data-look="light"] body.bd-rig #aircallDock.rp-hosted .acl-x { color: var(--hickory-700); }
html[data-look="light"] body.bd-rig #aircallDock.rp-hosted .acl-x:hover { background: var(--n-100); }
html[data-look="light"] body.bd-rig #aircallDock.rp-hosted .acl-tab { color: var(--n-ink-2); }
html[data-look="light"] body.bd-rig #aircallDock.rp-hosted .acl-tab:hover { color: var(--hickory-700); }
html[data-look="light"] body.bd-rig #aircallDock.rp-hosted .acl-tab.on { color: var(--hickory-700); box-shadow: inset 0 -2px 0 var(--hickory-700); }
html[data-look="light"] body.bd-rig #aircallDock.rp-hosted .acl-th-head { color: var(--hickory-700); }
html[data-look="light"] body.bd-rig #aircallDock.rp-hosted :is(.acl-th-person, .acl-th-name-t, .acl-back) { color: var(--hickory-700); }
html[data-look="light"] body.bd-rig #aircallDock.rp-hosted .acl-th-sub { color: var(--n-ink-2); }

/* ---- S4 · THE TOOLS (d): every pop menu floats --------------------------------------------------------
   Brock, 19 Oct 2026, with Ambit's Lifecycle menu open beside the Inbox's open card: "Make these POP menus (old cream
   style) updated to the new style (rounded edges, subtle drop shadow etc) as seen in the screen shots. The only thing is
   I want a little more padding at the top of the new pop menus before the content, it feels slightly squished".
   The floating material (S1, S4 b; light.css .mk-pop): white, the grey-300 hairline, an 8px radius, the float shadow; a
   row greys on hover at a 6px radius and the pick in force rests on grey-100, its tick kept. THE ROOM AT THE TOP: the
   material's inset goes from 8px to 14px above the first row and below the last, the sides staying 8px; the S1 and S4 (b)
   panels take it where they are written, the Inbox's open card goes from 10px to 16px, and a panel with its own inset
   (the reference pop, the To-do date and proof pops) gains 6px top and bottom.
   The old cream menus hang off <body> (position: fixed) or a field, outside the page zone's re-pointing (S3 a), so they
   kept its creams (measured at body level in the harness: --bg cream-50, --bg-soft cream-300). Each re-points the same
   quiet tokens on itself, with its own ground white, so its rows' cream fills and quiet inks follow; the growing
   underline, a cream menu's only hover signal, gives way to the grey row. The hickory menus outside the tools (THE POP's
   hickory-900 rows: Relations' menus, Enquiries' Assign, the Dashboard's period, Commercials' packages, the address
   suggestions, the Manual's document pops, the booking hero's suggestions, the Measure step's dark pop) take the same
   material, their cream inks hickory and their mint picks hickory on grey-100. The contact pop card (.crm-pop),
   Prospecting's filter form (.pgx-fpop) and the canon's .bd-pop, cards and forms with inks of their own, follow in
   S4 (e). */
html[data-look="light"] body:is(.bd-rig, .bd-shell) :is(.bd-mast-menu, .menu, .mention-menu, .ce-linkmenu, .ref-pop, .todo-due-pop, .todo-intent-menu, .todo-mention-menu, .todo-move-pop, .todo-proof-pop, .todo-share-menu, .pj-menu, .pj-mat-supmenu, .pj-pf-drop, .appr-sl-menu, .appr-suggest-menu:not([data-cmenu]), .appr-search-results, .appr-hero-results, .crm-addr-results, .acl-menu, .acl-linkmenu, .orm-sup-menu, .bk-dd-menu, .sv2-me__pop, .bd-menu) {
  --cream-50: #FFFFFF; --cream-200: var(--n-100); --cream-300: var(--n-200); --cream-400: var(--n-400);
  --hickory-500: var(--n-ink-2); --hickory-400: var(--n-ink-2); --hickory-300: var(--n-400);
  --surface-raised: #FFFFFF; --surface-sunken: var(--n-50); --surface-body: var(--n-100); --surface-quiet: #FFFFFF;
  --white-base: #FFFFFF; --white: #FFFFFF; --bg-base: #FFFFFF; --bg: #FFFFFF; --bg-soft-base: var(--n-100); --bg-soft: var(--n-100); --bg-panel: #FFFFFF;
  --text-soft: var(--n-ink-2); --text-faint: var(--n-ink-2); --border: var(--n-300); --border-strong: var(--n-400); --field-line: var(--n-400);
  --field-fill: #FFFFFF; --field-ph: var(--n-ink-2);
}
html[data-look="light"] body:is(.bd-rig, .bd-shell) :is(.bd-mast-menu, .menu, .mention-menu, .ce-linkmenu, .ref-pop, .todo-due-pop, .todo-intent-menu, .todo-mention-menu, .todo-move-pop, .todo-proof-pop, .todo-share-menu, .pj-menu, .pj-mat-supmenu, .pj-pf-drop, .appr-sl-menu, .appr-suggest-menu:not([data-cmenu]), .appr-search-results, .appr-hero-results, .crm-addr-results, .acl-menu, .acl-linkmenu, .orm-sup-menu, .bk-dd-menu, .sv2-me__pop, .bd-menu, .ex-sel-menu, .dh-cc-pop, .amc-pkgmenu, .bd-addr-drop, .bd-mast-menu.rp-menu, .menu.mn-statuspop, .menu.mn-docpop, .amb-book .appr-suggest-menu, .appr-sl-menu.axm-darkpop) {
  background: #FFFFFF; color: var(--hickory-700); border: 1px solid var(--n-300); border-radius: 8px;
  box-shadow: 0 1px 2px rgba(36,23,19,.06), 0 8px 24px rgba(36,23,19,.10);
}
html[data-look="light"] body:is(.bd-rig, .bd-shell) :is(.bd-mast-menu, .menu, .mention-menu, .ce-linkmenu, .todo-intent-menu, .todo-mention-menu, .todo-move-pop, .todo-share-menu, .pj-menu, .pj-mat-supmenu, .pj-pf-drop, .appr-sl-menu, .appr-suggest-menu:not([data-cmenu]), .appr-search-results, .appr-hero-results, .crm-addr-results, .acl-menu, .acl-linkmenu, .orm-sup-menu, .bk-dd-menu, .sv2-me__pop, .bd-menu, .ex-sel-menu, .dh-cc-pop, .amc-pkgmenu, .bd-addr-drop, .bd-mast-menu.rp-menu, .amb-book .appr-suggest-menu, .appr-sl-menu.axm-darkpop) { padding: 14px 8px; }
/* a row: a 6px radius, grey on hover, no underline; the pick in force rests on grey-100 */
html[data-look="light"] body:is(.bd-rig, .bd-shell) :is(.bmm-it, .menu button, .mention-opt, .ce-linkmenu button, .tim-opt, .tmo, .tsm-opt, .tmp-listrow, .tmp-cat, .pj-menu-it, .pj-mat-sup-opt, .pj-pf-opt, .appr-sl-menu button, .appr-suggest-menu button, .appr-sr, .crm-addr-opt, .crm-match-opt, .acl-menu-row, .acl-lm-row, .orm-sup-opt, .bk-dd-opt, .sv2-me__pop button, .bd-menu-item, .ex-smi, .dh-cc-opt, .amc-pkgrow, .bd-addr-row) { border-radius: 6px; background-image: none; }
html[data-look="light"] body:is(.bd-rig, .bd-shell) :is(.bmm-it, .menu button, .mention-opt, .ce-linkmenu button, .tim-opt, .tmo, .tsm-opt, .tmp-listrow, .tmp-cat, .pj-menu-it, .pj-mat-sup-opt, .pj-pf-opt, .appr-sl-menu button, .appr-suggest-menu button, .appr-sr, .crm-addr-opt, .crm-match-opt, .acl-menu-row, .acl-lm-row, .orm-sup-opt, .bk-dd-opt, .sv2-me__pop button, .bd-menu-item, .ex-smi, .dh-cc-opt, .amc-pkgrow, .bd-addr-row):hover:not(.is-dis):not(.locked):not(:disabled) { background-color: var(--n-100); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) :is(.bmm-it.sel, .menu button.selected, .mention-opt.active, .tim-opt.sel, .tmo.active, .tsm-opt.active, .pj-menu-it.selected, .pj-pf-opt.selected, .crm-addr-opt.kb, .orm-sup-opt.active, .bd-menu-item.sel, .menu.chat-conv .conv-row.current, .amc-pkgrow.sel, .dh-cc-opt.is-on, .bd-addr-row.hi) { background-color: var(--n-100); }
/* View as's pressed chip (core/settings-shell.js, THE VIEW AS PANEL) keeps its hickory fill under the pointer: the row hover above
   greys every button in the menu, which would leave the chip's cream words on grey */
html[data-look="light"] body:is(.bd-rig, .bd-shell) .sv2-me__pop .sv2-va button.sv2-va__chip[aria-pressed="true"]:hover:not(:disabled) { background-color: var(--hickory-700); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) :is(.pj-pf-opt .pf-nm, .tim-l, .tmo-name) { background-image: none; }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .menu.chat-conv .conv-row { border-radius: 6px; }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .menu.chat-conv .conv-row:hover { background: var(--n-100); }
/* the fills a row painted for its pick or its hover: hickory and mint become the grey row, hickory ink */
html[data-look="light"] body:is(.bd-rig, .bd-shell) :is(.bk-dd-opt.on, .appr-sl-menu button.on, .appr-sl-menu button:hover, .todo-move-pop .tmp-cat:hover) { background: var(--n-100); color: var(--hickory-700); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .appr-sl-menu button.danger:hover { background: var(--n-100); color: var(--danger); }
/* a sticky search at a menu's top keeps the menu's inset and its white */
html[data-look="light"] body:is(.bd-rig, .bd-shell) .bd-mast-menu .bmm-search { top: -14px; margin: -14px -8px 4px; padding: 14px 8px 5px; background: #FFFFFF; }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .bd-menu .bd-menu-search { margin: -14px -8px 2px; padding: 14px 8px 2px; background: #FFFFFF; }
/* the panels with an inset of their own: 6px more at the top and the bottom */
html[data-look="light"] body:is(.bd-rig, .bd-shell) .ref-pop { padding: 0; overflow: hidden; }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .ref-pop-head { padding: 18px 14px 12px; }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .ref-pop-foot { padding: 10px 14px 16px; }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .todo-due-pop { padding: 18px 12px; }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .todo-proof-pop { padding: 20px 14px; }
/* the To-do date pop's fields and its Clear lay white on white: they take the quiet grey */
html[data-look="light"] body:is(.bd-rig, .bd-shell) .todo-due-pop :is(input[type=date], input[type=time], .tdp-clear) { background-color: var(--n-100); }
/* Aircall's number band at the top of its call menu: a grey band at the row radius */
html[data-look="light"] body:is(.bd-rig, .bd-shell) .acl-menu .acl-menu-num { border-radius: 6px; }
/* the hickory menus' inks (b). Relations' menu and Enquiries' Assign: the dark zone's inks re-pointed on the menu, and
   the rows' literal creams and mints named */
html[data-look="light"] body:is(.bd-rig, .bd-shell) :is(.bd-mast-menu.rp-menu, .ex-sel-menu) { --ink-dark-1: var(--hickory-700); --ink-dark-2: var(--n-ink-2); --ink-dark-3: var(--n-ink-2); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .bd-mast-menu.rp-menu .bmm-it, html[data-look="light"] body:is(.bd-rig, .bd-shell) .ex-sel-menu .ex-smi, html[data-look="light"] body:is(.bd-rig, .bd-shell) .dh-cc-pop .dh-cc-opt, html[data-look="light"] body:is(.bd-rig, .bd-shell) .amc-pkgmenu .amc-pkgrow .n, html[data-look="light"] body:is(.bd-rig, .bd-shell) .bd-addr-drop .bd-addr-row, html[data-look="light"] body:is(.bd-rig, .bd-shell) .amb-book .appr-suggest-menu button { color: var(--hickory-700); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) :is(.bd-mast-menu.rp-menu .bmm-it.sel, .bd-mast-menu.rp-menu .bmm-it .bmm-ck, .dh-cc-pop .dh-cc-opt.is-on, .dh-cc-pop .dh-cc-mark, .amc-pkgmenu .amc-pkgrow.sel .n, .amb-book .appr-suggest-menu button:hover) { color: var(--hickory-700); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .bd-mast-menu.rp-menu .bmm-it.sel { background-color: var(--n-100); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .bd-mast-menu.rp-menu .bmm-it.is-danger { color: var(--danger); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) :is(.bd-mast-menu.rp-menu .bmm-it.is-dis, .amc-pkgmenu .amc-pkgrow.locked .n) { color: var(--n-ink-2); }   /* as a cream menu's disabled row (--text-faint, the grey ink): the faint ink is 3.25:1 on white */
html[data-look="light"] body:is(.bd-rig, .bd-shell) :is(.amc-pkgmenu .amc-pkgrow .p, .bd-addr-drop .bd-addr-note, .amb-book .appr-suggest-menu .sub) { color: var(--n-ink-2); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .bd-addr-drop .bd-addr-row + .bd-addr-row { box-shadow: inset 0 1px 0 var(--n-200); }
/* the Manual's document pops (THE POP's tokens, as the tools' pops in S4 b) and the Measure step's dark pop (its own) */
html[data-look="light"] body:is(.bd-rig, .bd-shell) :is(.menu.mn-statuspop, .menu.mn-docpop) {
  --pop-fill: #FFFFFF; --pop-ink: var(--hickory-700); --pop-ink-2: var(--n-ink-2); --pop-armed: var(--hickory-700); --pop-press: var(--n-100);
}
html[data-look="light"] body:is(.bd-rig, .bd-shell) .menu.mn-statuspop .mn-popmark { background: var(--n-300); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .appr-sl-menu.axm-darkpop { --axm-ink-hi: var(--hickory-700); --axm-wash: var(--n-100); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .appr-sl-menu.axm-darkpop button.on { color: var(--hickory-700); }

/* ---- S4 · THE TOOLS (e): the last three pops float -------------------------------------------------------
   Brock, 19 Oct 2026: "the three dark popovers converted as a later job". S4 (d) left three hickory-900 pops dark, each
   with inks of its own: the contact pop card (.crm-pop, contacts/pop-card.js, with Ambit's Contact preferences section
   from title-truth.js), Prospecting's filter form (.pgx-fpop, view-prospecting.js) and the canon's .bd-pop (bd-blocks.css,
   worn by the Workshop's two pops, the Quote Builder's service menu and pass and cancel pops, Storyboard's listing pick,
   the import book's Filter, and the Shoppe's Invoice to menu, option list and listing hits). Each takes S4 (d)'s material:
   white, the grey-300 hairline, an 8px radius, the float shadow; and its rule for a panel with an inset of its own, 6px
   more at the top and the bottom (the card's head 14 to 20px and foot 14 to 20px, the form 16 to 22px, a .bd-pop its
   --u-pad-s plus 6px, the Shoppe's two lists 8 to 14px).
   Their dark-ground inks are translated as the walk's panels were (THE MENU (b)): full cream is hickory-700, a cream at
   45 to 75 % that carries words or a glyph is the grey ink (#6E6964), a 7 to 10 % wash is grey-100 and a 12 to 16 % wash
   grey-200, a word in mint is hickory. Mint stays where it marks a pick (a pressed chip, the loud tag, the switch that is
   on, the card's Open and Save); a field takes the field law (a 1px grey-400 line, 2px on hover, 2px hickory while the
   caret is in it); a focus ring is hickory, not mint (mint is 1.1:1 on white). The on-dark helpers inside them
   (.bd-on-dark's tag and switch, .bd-seg--on-dark, .bd-input--on-dark) take their light canon face.
   A .bd-pop inside a console (.bd-console__pop: Interior's console, Storyboard's close bar) stays THE POP: the console
   under it is one of the dark bands that stay hickory in this look, and its pops write mint inks of their own. */
/* the contact pop card */
html[data-look="light"] body:is(.bd-rig, .bd-shell) .crm-pop,
html[data-look="light"] body:is(.bd-rig, .bd-shell) .crm-pop:is(:focus, :focus-visible) {
  background: #FFFFFF; color: var(--hickory-700); border: 1px solid var(--n-300); border-radius: 8px;
  box-shadow: 0 1px 2px rgba(36,23,19,.06), 0 8px 24px rgba(36,23,19,.10);
}
html[data-look="light"] body:is(.bd-rig, .bd-shell) .crm-pop__head { padding-top: 20px; }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .crm-pop__foot { padding-bottom: 20px; }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .crm-pop__body { scrollbar-color: var(--n-400) transparent; }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .crm-pop__av { background: var(--n-200); color: var(--n-ink-2); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .crm-pop :is(.crm-pop__kick, .crm-pop__k, .crm-pop__secl, .crm-pop__secn, .crm-pop__v.is-empty, .crm-pop__lock, .crm-pop__locknote, .crm-pop__addrnote, .crm-pop__lt .r, .crm-pop__lc, .amb-pp-note) { color: var(--n-ink-2); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .crm-pop :is(.crm-pop__sub, .crm-pop__v, .crm-pop__v a:hover, .crm-pop__link, .crm-pop__btn:not(.is-open), .crm-pop__editbtn) { color: var(--hickory-700); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .crm-pop .bd-tag:not(.is-loud) { background: var(--n-100); color: var(--n-ink-2); }
/* a relationship is a row of the card: grey-100 at a 6px radius, grey-200 under the pointer */
html[data-look="light"] body:is(.bd-rig, .bd-shell) .crm-pop .crm-pop__link { background: var(--n-100); border-radius: 6px; }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .crm-pop :is(.crm-pop__btn:not(.is-open), .crm-pop__editbtn) { background: var(--n-100); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .crm-pop :is(.crm-pop__link, .crm-pop__btn:not(.is-open), .crm-pop__editbtn):hover { background: var(--n-200); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .crm-pop :is(.crm-pop__btn, .crm-pop__editbtn):focus-visible { outline-color: var(--hickory-700); }
/* the pencil's fields: the field law */
html[data-look="light"] body:is(.bd-rig, .bd-shell) .crm-pop .crm-pop__inp { background: #FFFFFF; color: var(--hickory-700); border: 1px solid var(--n-400); padding: 9px;
  transition: border-color var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .crm-pop .crm-pop__inp:hover:not(:focus):not(:disabled) { box-shadow: inset 0 0 0 1px var(--n-400); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .crm-pop .crm-pop__inp:is(:focus, :focus-visible) { outline: none; border-color: var(--hickory-700); box-shadow: inset 0 0 0 1px var(--hickory-700); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .crm-pop .crm-pop__inp::placeholder { color: var(--n-ink-2); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .crm-pop .crm-pop__inp[disabled] { color: var(--n-ink-2); }
/* Add address or Lives at the property: the canon segmented choice's light face (bd-blocks.css .bd-seg) */
html[data-look="light"] body:is(.bd-rig, .bd-shell) .crm-pop .bd-seg--on-dark .bd-seg-btn:not(.on) { background: var(--n-100); color: var(--n-ink-2); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .crm-pop .bd-seg--on-dark .bd-seg-btn:not(.on):hover { color: var(--hickory-700); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .crm-pop .bd-seg--on-dark .bd-seg-btn.on { background: var(--hickory-700); color: var(--cream-100); }
/* Ambit's Contact preferences (title-truth.js): an unpressed choice on grey-100, a switch that is off on grey-200 */
html[data-look="light"] body:is(.bd-rig, .bd-shell) .crm-pop .amb-pp .bd-chip:not([aria-pressed="true"]) { background: var(--n-100); color: var(--n-ink-2); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .crm-pop .bd-switch:not(.on):not(:checked) { background: var(--n-200); }
/* Prospecting's filter form */
html[data-look="light"] body:is(.bd-rig, .bd-shell) .pgx-fpop {
  background: #FFFFFF; color: var(--hickory-700); border: 1px solid var(--n-300); border-radius: 8px; padding: 22px 16px;
  box-shadow: 0 1px 2px rgba(36,23,19,.06), 0 8px 24px rgba(36,23,19,.10);
}
html[data-look="light"] body:is(.bd-rig, .bd-shell) .pgx-fpop .pgx-fpop__k { color: var(--n-ink-2); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .pgx-fpop .bd-input { color: var(--hickory-700); border-color: var(--n-400); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .pgx-fpop .bd-input:hover:not(:focus) { box-shadow: inset 0 0 0 1px var(--n-400); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .pgx-fpop .bd-input:focus { border-color: var(--hickory-700); box-shadow: inset 0 0 0 1px var(--hickory-700); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .pgx-fpop .bd-input::placeholder { color: var(--n-ink-2); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .pgx-fpop select.bd-input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E6964' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .pgx-fpop select.bd-input option { color: var(--hickory-700); background: #FFFFFF; }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .pgx-fpop .bd-chip:not([aria-pressed="true"]) { background: var(--n-100); color: var(--hickory-700); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .pgx-fpop .bd-chip:not([aria-pressed="true"]):hover { background: var(--n-200); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .pgx-fpop :is(.pgx-fpop__done, .pgx-fpop__done svg) { color: var(--hickory-700); }
/* the canon's .bd-pop: THE POP's tokens and S4 (d)'s quiet tokens re-pointed on the pop (a quiet control's fill is
   grey-100 here, so a segment and a button in the pass pop stay visible on the white), the material, and the room */
html[data-look="light"] body:is(.bd-rig, .bd-shell) .bd-pop:not(.bd-console__pop) {
  --pop-fill: #FFFFFF; --pop-ink: var(--hickory-700); --pop-ink-2: var(--n-ink-2); --pop-armed: var(--hickory-700); --pop-press: var(--n-100);
  --pop-shadow: 0 1px 2px rgba(36,23,19,.06), 0 8px 24px rgba(36,23,19,.10);
  --cream-50: #FFFFFF; --cream-200: var(--n-100); --cream-300: var(--n-200); --cream-400: var(--n-400);
  --hickory-500: var(--n-ink-2); --hickory-400: var(--n-ink-2); --hickory-300: var(--n-400);
  --surface-raised: #FFFFFF; --surface-sunken: var(--n-50); --surface-body: var(--n-100); --surface-quiet: var(--n-100);
  --white-base: #FFFFFF; --white: #FFFFFF; --bg-base: #FFFFFF; --bg: #FFFFFF; --bg-soft-base: var(--n-100); --bg-soft: var(--n-100); --bg-panel: #FFFFFF;
  --text-soft: var(--n-ink-2); --text-faint: var(--n-ink-2); --border: var(--n-300); --border-strong: var(--n-400); --field-line: var(--n-400);
  --field-fill: #FFFFFF; --field-ph: var(--n-ink-2);
  border: 1px solid var(--n-300); border-radius: 8px;
  padding-top: calc(var(--u-pad-s) + 6px); padding-bottom: calc(var(--u-pad-s) + 6px);
}
html[data-look="light"] body:is(.bd-rig, .bd-shell) .bd-pop:is(.sh-select-panel, .sh-jobhits) { padding-top: 14px; padding-bottom: 14px; }
/* a row: its words where they were, a grey-100 ground reaching 10px either side at a 6px radius, under the pointer and
   when it is the pick in force (its tick kept) */
html[data-look="light"] body:is(.bd-rig, .bd-shell) .bd-pop:not(.bd-console__pop) :is(.bd-pop__item, .sb-pick__hit) { margin-left: -10px; margin-right: -10px; padding-left: 10px; padding-right: 10px; border-radius: 6px;
  transition: background-color var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .bd-pop:not(.bd-console__pop) .bd-pop__item { width: calc(100% + 20px); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .bd-pop:not(.bd-console__pop) :is(.bd-pop__item:hover, .bd-pop__item.on, .sb-pick__hit:hover, .sb-pick__hit.is-kb) { background: var(--n-100); }
/* a pressed chip keeps its mint (THE POP armed it in the pop's own ink, which is hickory here) */
html[data-look="light"] body:is(.bd-rig, .bd-shell) .bd-pop:not(.bd-console__pop) .bd-chip[aria-pressed="true"] { background: var(--mint-400); color: var(--hickory-700); }

/* ---- S4 · THE TOOLS (f): the quick add in the drawer ------------------------------------------------
   Brock, 27 Oct 2026: "Can you make the Single Task have the light mode option too". The desk's quick add (the plain
   one, and the one a job's + Task binds to its job: todo/board.js bdQuickAddOpen) opens in the drawer, where it painted
   its own hickory card (.qa-pop:not(.qa-sheet) .qa-card) with cream words on a light drawer. Drawn as Build is (S4 a):
   the drawer's ground, hickory ink, the grey ink on the kicker and the labels. The fields need nothing: the drawer
   re-points --bg-soft, so they already sit on the ladder. The phone's sheet is S6 (b)'s. */
html[data-look="light"] body:is(.bd-rig, .bd-shell) .pane-right .qa-pop.rp-hosted .qa-card { background: transparent; color: var(--hickory-700); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .pane-right .qa-pop.rp-hosted :is(.qa-kick, .qa-dlbl) { color: var(--n-ink-2); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .pane-right .qa-pop.rp-hosted :is(.qa-dlead, .qa-reset) { color: var(--hickory-700); }
/* Add task is the bridge's .bd-btn--mint, which the drawer's button rule (S4 b) would draw white like a quiet button: it
   keeps its mint, as that rule draws .bd-btn--accent */
html[data-look="light"] body:is(.bd-rig, .bd-shell) .pane-right .qa-pop.rp-hosted .bd-btn--mint:not([disabled]) { background: var(--mint-400); color: var(--hickory-700); box-shadow: inset 0 0 0 1px var(--mint-500), 0 1px 2px rgba(36,23,19,.10); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .pane-right .qa-pop.rp-hosted .bd-btn--mint:not([disabled]):hover { background: var(--mint-500); box-shadow: inset 0 0 0 1px var(--mint-500), 0 1px 2px rgba(36,23,19,.10); }
/* THE WHEN on the light drawer (Brock, 29 Oct 2026, the Single Task Redesign walk; todo/board.js todoWhenHtml): its words take
   the drawer's ink, and the picked segment is hickory, as on every light ground (the mint pick is the hickory card's) */
html[data-look="light"] body:is(.bd-rig, .bd-shell) .pane-right .qa-pop.rp-hosted :is(.tw-lbl, .tw-land) { color: var(--n-ink-2); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .pane-right .qa-pop.rp-hosted :is(.tw-link, .tw-land b) { color: var(--hickory-700); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .pane-right .qa-pop.rp-hosted .tw-days { box-shadow: inset 2px 0 0 var(--n-300); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .pane-right .qa-pop.rp-hosted .tw-seg .bd-seg-btn.on { background: var(--hickory-700); color: var(--cream-100); }

/* ---- S6 · THE PHONE (a): the frame ---------------------------------------------------------------------
   Brock, 19 Oct 2026: "Yes, also build the light look for mobile phones (S6 of the plan)". The mock's three 390 by 844
   frames (light.css THE PHONE, the greys theme): a grey-50 top bar with a hairline under it, the page between on grey-50
   with its cards white, nothing dark but the pressed tiles and the primary buttons. The phone runs the old shell
   (body.bd-shell, 1024px and under), whose page is .pane-centre and whose menu is the .pane-left drawer: S3's page rules
   and S1's menu rules name both zones (the desk's .bd-stage and .bd-index, the phone's .pane-centre and .pane-left), so
   the phone's page and drawer take them at the same weight. What only the phone has is here:
     the top bar (index.html's phone tier: hickory, 69px), grey-50 with the hairline, its mark the hickory one
       (core/boot.js bdBrandmark: the sage and cream marks are for dark grounds only);
     the drawer's own frame: its ground, the hairline on its edge, the search band, the foot (the level square, the
       name, the level's bar), and the scrim behind it at the mock's 16 % (it was 42 % hickory);
     the floating controls (core/bd-lens.js: the back or home square, the menu square, the Lens and its menu), which
       "float ALWAYS and NEVER hide" over the page (chrome-collapse.js): THE POP's hickory-900 no longer floats on a light
       page (light.css), so they take the floating material as every pop did (S4 b, d); the drawer's open square and the
       Lens's live fill are the pressed tile, mint with hickory.
   The mock's tab bar has no counterpart: the phone's footer is hidden and the Lens stands in for it (bd-lens.js, "the
   glass chrome IS the mobile experience"). Nothing here touches the capture doors. */
@media (max-width: 1024px) {
  html[data-look="light"] body.bd-shell #workspace .topbar { background: var(--n-50); color: var(--hickory-700); box-shadow: inset 0 -1px 0 var(--n-300); }
  html[data-look="light"] body.bd-shell #workspace .topbar :focus-visible { outline-color: var(--hickory-700); }
  html[data-look="light"] body.bd-shell .pane-centre { background: var(--n-50); }
  /* (the Dashboard's phone section switcher retired for the head's tabs, 19 Oct 2026: the canon .bd-tab, every width) */
  /* the drawer: the menu zone's tokens (S1), its ground and the hairline on the edge that faces the page */
  html[data-look="light"] body.bd-shell .pane-left {
    --canvas: var(--n-50); --surface-invert: var(--n-50);
    --ink-dark-1: var(--hickory-700); --ink-dark-2: var(--n-ink-2); --ink-dark-3: var(--n-ink-2); --hair-dark: var(--n-300);
    --gnd-dark-ink: var(--hickory-700); --gnd-dark-ink-soft: var(--n-ink-2); --gnd-dark-ink-faint: var(--n-ink-2); --gnd-dark-fill: var(--n-100);
    --gnd-dark-cb: var(--gnd-light-cb); --gnd-dark-cb-hover: var(--gnd-light-cb-hover);
    background: var(--n-50); box-shadow: inset -1px 0 0 var(--n-300);
  }
  html[data-look="light"] body.bd-shell .pane-left :is(.tree, .pane-head) { background: transparent; }
  html[data-look="light"] body.bd-shell .m-drawer-back { background: rgba(36,23,19,.16); }
  html[data-look="light"] body.bd-shell .drawer-search { background: var(--n-100); color: var(--n-ink-2); }
  html[data-look="light"] body.bd-shell .drawer-search:active { background: var(--n-200); }
  html[data-look="light"] body.bd-shell .drawer-search svg { color: var(--n-ink-2); }
  html[data-look="light"] body.bd-shell #paneFoot .pane-xp:hover { background: var(--n-100); }
  html[data-look="light"] body.bd-shell #paneFoot #userTrigger, html[data-look="light"] body.bd-shell #paneFoot #userTrigger #userName, html[data-look="light"] body.bd-shell #paneFoot #userTrigger > svg { color: var(--hickory-700); }
  html[data-look="light"] body.bd-shell #paneFoot .ut-xp-next { color: var(--n-ink-2); }
  html[data-look="light"] body.bd-shell #paneFoot .px-bar-m { background: var(--n-200); }
  html[data-look="light"] body.bd-shell #paneFoot .user-acc-item { background: var(--n-100); }
  html[data-look="light"] body.bd-shell #paneFoot .user-acc-item:hover { background: var(--n-200); }
  /* the floating controls: the floating material; the drawer's open square and the Lens's live fill the pressed tile */
  html[data-look="light"] body.bd-shell.bd-lens :is(.m-lib-head, .m-menu-btn).bdl-navglass {
    background: #FFFFFF; color: var(--hickory-700); border: 1px solid var(--n-300); border-radius: 8px;
    box-shadow: 0 1px 2px rgba(36,23,19,.06), 0 8px 24px rgba(36,23,19,.10);
  }
  html[data-look="light"] body.bd-shell.bd-lens.m-drawer .m-menu-btn.bdl-navglass { background: var(--mint-400); color: var(--hickory-700); }
  /* THE PLAY IN THE PHONE'S BAR (the One Inbox walk's 8 b; index.html, manual/inbox-band.js): its held parts on the floating material the bar's
     floating controls wear above, their ink hickory */
  html[data-look="light"] body.bd-shell.bd-lens #bandPlay {
    --pop-fill: #FFFFFF; --pop-ink: var(--hickory-700); --pop-shadow: 0 1px 2px rgba(36,23,19,.06), 0 8px 24px rgba(36,23,19,.10);
  }
  html[data-look="light"] body.bd-shell.bd-lens #bandPlay .band-play__kinds { border: 1px solid var(--n-300); border-radius: 8px; }
  html[data-look="light"] body.bd-shell #bdLens {
    --pop-fill: #FFFFFF; --pop-ink: var(--hickory-700); --pop-ink-2: var(--n-ink-2); --pop-press: var(--n-100); --pop-armed: var(--mint-400);
    --pop-shadow: 0 1px 2px rgba(36,23,19,.06), 0 8px 24px rgba(36,23,19,.10);
  }
  html[data-look="light"] body.bd-shell #bdLens .bdl-glass { border: 1px solid var(--n-300); border-radius: 8px; }
  html[data-look="light"] body.bd-shell :is(#bdLens.open, #bdLens.slider-open) .bdl-orb .bdl-arch { background-color: var(--hickory-700); }
  html[data-look="light"] body.bd-shell #bdLens .bdl-mi:active { color: var(--hickory-700); }
  /* the Lens's menu is a pop menu: the room at the top (S4 d) and the rounded rows */
  html[data-look="light"] body.bd-shell #bdLens .bdl-menu { padding: 14px 8px; }
  html[data-look="light"] body.bd-shell #bdLens .bdl-mi { border-radius: 6px; }
}

/* ---- S6 · THE PHONE (b): the sheets ----------------------------------------------------------------------
   The mock's third frame: a tool rises as a sheet in the floating material, white, a 12px top radius, lifted by a
   shadow above it (light.css .mk-phone__sheet; the mock's pull handle is gone, below). The phone's sheets are the
   .notif-sheet chassis (the Inbox, and every sheet built on it), the assistant's pane (.pane-right under body.m-ai: Ask,
   the Agenda, Notes, Build), the quick add (.qa-pop) and the Phone (#aircallDock). Their dark look is the phone tier's own
   (index.html "DARK tiers": the dark-ground palette, --shell-panel, cream literals), so each sheet re-points the drawer's
   quiet tokens (S4 a) and the dark-ground palette on itself, its own ground white, and its literal creams are named.
   NO BAR, A GRAB ANYWHERE (Brock, 19 Oct 2026: "Can we overhaul the sheet grip so you can see any extra bar but you
   can more easily grab and vertical section of the sheet to drag and re-size?"; his answers: nothing visible, a drag
   anywhere with the list scrolling first, the light look only). Every pull bar is gone and the head sits at the top
   under the radius; core/sheet-grab.js resizes the sheet from a press anywhere on it. The dark look keeps the sheet
   law's recessed bar and its grip (the pullhandle skill). */
@media (max-width: 1024px) {
  html[data-look="light"] body.bd-shell :is(.notif-sheet, .pane-right, .qa-pop .qa-card, #aircallDock .acl-sheet) {
    --cream-50: #FFFFFF; --cream-200: var(--n-100); --cream-300: var(--n-200); --cream-400: var(--n-400);
    --hickory-500: var(--n-ink-2); --hickory-400: var(--n-ink-2); --hickory-300: var(--n-400);
    --surface-page: #FFFFFF; --surface-raised: #FFFFFF; --surface-sunken: var(--n-50); --surface-body: var(--n-100); --surface-quiet: #FFFFFF;
    --white-base: #FFFFFF; --white: #FFFFFF; --bg-base: #FFFFFF; --bg: #FFFFFF; --bg-soft-base: var(--n-100); --bg-soft: var(--n-100); --bg-panel: #FFFFFF;
    --text-soft: var(--n-ink-2); --text-faint: var(--n-ink-2); --border: var(--n-300); --border-strong: var(--n-400); --field-line: var(--n-400);
    --field-fill: #FFFFFF; --field-ph: var(--n-ink-2); --shell-panel: #FFFFFF; --field-line-dark: var(--n-400);
    --ink-dark-1: var(--hickory-700); --ink-dark-2: var(--n-ink-2); --ink-dark-3: var(--n-ink-2); --hair-dark: var(--n-300);
    --gnd-dark-ink: var(--hickory-700); --gnd-dark-ink-soft: var(--n-ink-2); --gnd-dark-ink-faint: var(--n-ink-2); --gnd-dark-fill: var(--n-100);
    --gnd-dark-cb: var(--gnd-light-cb); --gnd-dark-cb-hover: var(--gnd-light-cb-hover);
  }
  /* the material: white, the 12px top radius, the shadow above and the hairline */
  html[data-look="light"] body.bd-shell .notif-sheet, html[data-look="light"] body.bd-shell.m-ai .pane-right, html[data-look="light"] body.bd-shell #aircallDock .acl-sheet {
    background: #FFFFFF; color: var(--hickory-700); border-radius: 12px 12px 0 0; overflow: hidden;
    box-shadow: 0 -8px 24px rgba(36,23,19,.12), inset 0 0 0 1px var(--n-300);
  }
  /* no bar: the sheet itself is the handle (core/sheet-grab.js) */
  html[data-look="light"] body.bd-shell :is(.notif-handle, .m-ai-handle, .acl-handle, .qa-handle, .profile-handle, .pj-sheet-handle, .fb-handle) { display: none; }
  html[data-look="light"] body.bd-shell :is(.notif-head, .pane-right .chat-head) { background: transparent; }
  /* Ask: the head's words and glyphs hickory; the assistant's words, links, code and the caret on the light ladder;
     the composer a quiet grey field. The user's own bubble and the send square stay as they are (a primary). */
  html[data-look="light"] body.bd-shell .pane-right .chat-head :is(.chat-title, .chat-icon-btn) { color: var(--hickory-700); }
  html[data-look="light"] body.bd-shell .pane-right .chat-head .chat-title:hover { background: var(--n-100); }
  html[data-look="light"] body.bd-shell .pane-right :is(.chat-msg.assistant, .chat-actlink, .chat-md a, .chat-done) { color: var(--hickory-700); }
  html[data-look="light"] body.bd-shell .pane-right .type-caret { background: var(--hickory-700); }
  html[data-look="light"] body.bd-shell .pane-right .chat-md :is(code, pre) { background: var(--n-100); color: var(--hickory-700); }
  html[data-look="light"] body.bd-shell .pane-right .chat-md blockquote { background: var(--n-100); box-shadow: inset 3px 0 0 var(--n-400); }
  html[data-look="light"] body.bd-shell .pane-right .chat-md tbody tr:nth-child(even) { background: var(--n-100); }
  html[data-look="light"] body.bd-shell .pane-right .composer { background: var(--n-100); }
  html[data-look="light"] body.bd-shell .pane-right .composer:focus-within { background: var(--n-200); }
  html[data-look="light"] body.bd-shell .pane-right .composer textarea { color: var(--hickory-700); }
  html[data-look="light"] body.bd-shell .pane-right .composer .model-select:hover { background-color: var(--n-200); }
  /* the Inbox: its own phone design (17 Oct 2026) is cream at the id's weight; the sheet, its bar, head and body white */
  html[data-look="light"] body.bd-shell #notifBack :is(.notif-sheet, .notif-head, .notif-body) { background: #FFFFFF; }
  /* Notes, as the desk's drawer draws it (S4 a), on the sheet's white */
  html[data-look="light"] body.bd-shell .pane-right .notes-pane { background: transparent; color: var(--hickory-700); }
  html[data-look="light"] body.bd-shell .pane-right :is(.bdn-compose-in, .bdn-frename) { background: #FFFFFF; }
  html[data-look="light"] body.bd-shell .pane-right :is(.bdn-frow, .bdn-nrow):hover { background: var(--n-100); }
  /* the quick add rises as a sheet too: its card the material, its bar and head the sheet's white */
  html[data-look="light"] body.bd-shell .qa-pop.qa-sheet .qa-card { background: #FFFFFF; color: var(--hickory-700); border-radius: 12px 12px 0 0; overflow: hidden; box-shadow: 0 -8px 24px rgba(36,23,19,.12), inset 0 0 0 1px var(--n-300); }
  html[data-look="light"] body.bd-shell .qa-pop.qa-sheet .qa-head { background: transparent; color: var(--hickory-700); }
  html[data-look="light"] body.bd-shell .qa-pop.qa-sheet .qa-head .qa-reset { color: var(--hickory-700); }
  /* the Phone, as the desk's hosted dock draws it (S4 c), on the sheet's white */
  html[data-look="light"] body.bd-shell #aircallDock :is(.acl-head, .acl-tabs, .acl-pane-dialer, .acl-th-head) { background: transparent; }
  html[data-look="light"] body.bd-shell #aircallDock :is(.acl-title, .acl-x, .acl-th-head, .acl-th-person, .acl-th-name-t, .acl-back) { color: var(--hickory-700); }
  html[data-look="light"] body.bd-shell #aircallDock :is(.acl-status-txt, .acl-th-sub) { color: var(--n-ink-2); }
  html[data-look="light"] body.bd-shell #aircallDock .acl-dot { background: var(--n-400); }
  html[data-look="light"] body.bd-shell #aircallDock .acl-dot.on { background: var(--success); }
  html[data-look="light"] body.bd-shell #aircallDock .acl-x:hover { background: var(--n-100); }
  html[data-look="light"] body.bd-shell #aircallDock .acl-tab { color: var(--n-ink-2); }
  html[data-look="light"] body.bd-shell #aircallDock .acl-tab.on { color: var(--hickory-700); box-shadow: inset 0 -2px 0 var(--hickory-700); }
}

/* ---- S5 · MOTION ------------------------------------------------------------------------------------
   Brock, 19 Oct 2026: "The light look is running for me, can you now introduce the little animations we made". The
   mock's MOTION block (light.css), on the house tokens only: --dur-fast/base/slow, --ease-out for what arrives,
   --ease-standard for a change of state; a fade is shorter than the move it rides with, nothing bounces or scales, and
   an entrance moves only transform and opacity. core/look-motion.js marks what arrives (once per page shown, never on
   a repaint):
     a page arrives    lk-enter: the head rises 10px and fades in, each section 35ms after the one before (--lk-i, to 6)
     the menu arrives  lk-enter-row: the content menu's rows cascade 25ms apart (to 10)
     a tool arrives    lk-enter-drawer: the drawer slides in 24px from the right and fades
   A search wakes (it grows one clamp step and lifts while the caret is in it) and a ground cross-fades its fill, here
   alone. Hover stays shadow-only (S3 b): the entrance owns transform. Reduced motion switches all of it off.
   The fill mode is backwards where the mock's is both: the same paint (each keyframe's other end is the element's own
   value), and nothing stays applied once an entrance ends, so chrome-collapse keeps its hold on the head unit. */
@keyframes lkRise { from { transform: translateY(10px); } }
@keyframes lkFade { from { opacity: 0; } }
@keyframes lkSlideIn { from { transform: translateX(24px); } }
html[data-look="light"] body.bd-rig .lk-enter { animation: lkRise var(--dur-slow) var(--ease-out) backwards, lkFade var(--dur-base) linear backwards; animation-delay: calc(var(--lk-i, 0) * 35ms); }
html[data-look="light"] body.bd-rig .lk-enter-row { animation: lkRise var(--dur-base) var(--ease-out) backwards, lkFade var(--dur-base) linear backwards; animation-delay: calc(var(--lk-i, 0) * 25ms); }
html[data-look="light"] body.bd-rig .lk-enter-drawer { animation: lkSlideIn var(--dur-slow) var(--ease-out) backwards, lkFade var(--dur-base) linear backwards; }
/* a search wakes: one clamp step wider while the caret is in it, and a deeper shadow; it settles back on blur */
html[data-look="light"] body.bd-rig .bd-stage .bd-search { transition: width var(--dur-base) var(--ease-out); }
html[data-look="light"] body.bd-rig .bd-stage .bd-search:focus-within { width: clamp(280px, 28vw, 420px); }
html[data-look="light"] body.bd-rig .band-search { transition: width var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard); }
html[data-look="light"] body.bd-rig .band-search:focus-within { width: clamp(260px, 26vw, 440px); }
html[data-look="light"] body.bd-rig .bd-stage .bd-search .bd-input { transition: border-color var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard); }
html[data-look="light"] body.bd-rig .bd-stage .bd-search .bd-input:focus,
html[data-look="light"] body.bd-rig .band-search:focus-within { border-color: var(--hickory-700); box-shadow: inset 0 0 0 1px var(--hickory-700), 0 1px 2px rgba(36,23,19,.08), 0 6px 16px rgba(36,23,19,.08); }
/* a ground changes: every pane cross-fades its fill (a pick of the look applies live). The menu keeps its reveal and
   the drawer its push, each restated with the fade beside it in both of its states, and a drag of either edge stays
   uneased (index.html, the Rig's own rules) */
html[data-look="light"] body.bd-rig :is(#bdRig > .bd-rail, #bdRig .bd-band, .bd-stage, .bd-stage__head, .bd-work, .bd-context, .bd-xp) { transition: background-color var(--dur-slow) var(--ease-standard), box-shadow var(--dur-slow) var(--ease-standard); }
html[data-look="light"] body.bd-rig #bdRig > .bd-index { transition: margin-left var(--dur-base) var(--ease-standard), clip-path var(--dur-base) var(--ease-standard), background-color var(--dur-slow) var(--ease-standard), box-shadow var(--dur-slow) var(--ease-standard); }
html[data-look="light"] body.bd-rig #bdRig[data-index="closed"] > .bd-index { transition: margin-left var(--dur-base) var(--ease-standard), clip-path var(--dur-base) var(--ease-standard), visibility 0s linear var(--dur-base), background-color var(--dur-slow) var(--ease-standard), box-shadow var(--dur-slow) var(--ease-standard); }
html[data-look="light"] body.bd-rig #bdRig .bd-rig__panes > .pane-right { transition: margin-right var(--dur-base) var(--ease-standard), background-color var(--dur-slow) var(--ease-standard), box-shadow var(--dur-slow) var(--ease-standard); }
html[data-look="light"] body.bd-rig #bdRig[data-drawer="closed"] > .bd-rig__main .bd-drawer { transition: margin-right var(--dur-base) var(--ease-standard), visibility 0s linear var(--dur-base), background-color var(--dur-slow) var(--ease-standard), box-shadow var(--dur-slow) var(--ease-standard); }
html[data-look="light"] body.rsz-drag.bd-rig #bdRig .bd-rig__panes > .pane-right,
html[data-look="light"] body.rsz-drag.bd-rig #bdRig > .bd-index { transition: none; }
@media (prefers-reduced-motion: reduce) {
  html[data-look="light"] body.bd-rig :is(.lk-enter, .lk-enter-row, .lk-enter-drawer) { animation: none; }
}
/* S3 (g): a button's press never moves under reduced motion (its own block: the block above is the suite's anchor) */
@media (prefers-reduced-motion: reduce) {
  html[data-look="light"] :is(body.bd-rig .bd-stage, body.bd-shell .pane-centre) .bd-btn:not(.bd-btn--ghost):not(.bd-btn--on-dark):active { transform: none; }
  html[data-look="light"] body:is(.bd-rig, .bd-shell) :is(.bd-drawer, .amb-pop, .bd-pop) .bd-btn:not(.bd-btn--ghost):not(.bd-btn--on-dark):active { transform: none; }
}

/* ---- THE MENU (b): THE WALK'S STEP PANELS ------------------------------------------------------------
   Brock, 19 Oct 2026, of the Measure step's Findings: "in the Left Hand Nav content this needs to be upgraded to the
   light look too", then of the Features step's: "Woah too light needs work". The walk's four step panels dock into
   the menu (core/index-dock.js: Findings .axm-ix, Features .axf-ix, Comparables .axc-ix, Commercials .amc-commix) and
   were drawn for the dark menu. Measured in the harness: Findings painted its own hickory-700 (the light look's grey
   labels on it at 2.66:1); Features docks without a ground, so the menu's grey-50 showed through its cream inks (35
   inks at 1.04 to 1.06:1). In the light look each panel stands on the menu's ground, and the dark design is
   translated step for step onto the ladder: each panel's own on-dark inks (--axm-*, --axf-*, --axc-*) and the zone's
   dark tokens go to hickory and the grey inks, its 6 % and 12 % washes to grey-100 and grey-200, its hairlines to
   grey-300, a field's line to the light field law's. Where a rule writes cream-100 as its ink it is named and given
   hickory (cream itself is never re-pointed: a shape's number, the capture button and a selected segment keep their
   cream ground, and the dark emphasis bars their cream ink). A drop menu floats white, a word in mint (selected,
   matched, hovered, a rise) is hickory, a field's focus is the field law's hickory, and the washes are the light
   look's own (S3). */
html[data-look="light"] body.bd-rig #bdRig > .bd-index > :is(.axm-ix, .axf-ix, .axc-ix, .amc-commix) { background: transparent; color: var(--hickory-700);
  --ink-dark-1: var(--hickory-700); --ink-dark-2: var(--n-ink-2); --ink-dark-3: var(--n-ink-2); --hair-dark: var(--n-300); --field-line-dark: var(--field-line);
  --axm-ink-hi: var(--hickory-700); --axm-wash: var(--n-100); --axm-wash-2: var(--n-200); --axm-wash-3: var(--n-200); --axm-rule: var(--n-300); --axm-quiet: var(--n-ink-2); --axm-row-bg: var(--n-100);
  --axf-row: var(--n-100); --axf-row-open: var(--n-200); --axf-ink: var(--hickory-700); --axf-ink-hi: var(--hickory-700); --axf-ink-2: var(--n-ink-2); --axf-ink-3: var(--n-ink-2); --axf-ink-q: var(--n-ink-2); --axf-ink-ic: var(--n-ink-2); --axf-hair: var(--n-300); --axf-neg: var(--st-attn-ink);
  --axc-lb: var(--n-ink-2); --axc-ink-85: var(--hickory-700); --axc-ink-8: var(--hickory-700); --axc-ink-75: var(--hickory-700); --axc-ink-7: var(--n-ink-2); --axc-ink-6: var(--n-ink-2); --axc-ink-55: var(--n-ink-2); --axc-ink-5: var(--n-ink-2); --axc-ink-45: var(--n-ink-2); --axc-ink-4: var(--n-ink-2);
  --axc-wash: var(--n-100); --axc-wash-2: var(--n-100); --axc-wash-3: var(--n-200); --axc-hair: var(--n-300); --axc-neg: var(--st-risk-ink); --axc-down: var(--st-risk-ink); --axc-pop: #FFFFFF; }
/* the words the panels write in cream-100 (read from their sheets: measure-view.js, estimate-view.js, comps-view.js,
   ambit-view.js), outside a dark or red block */
html[data-look="light"] body.bd-rig #bdRig > .bd-index > :is(.axm-ix, .axf-ix, .axc-ix, .amc-commix) :is(.appr-panel-title, .appr-shape-label, .appr-shape-val, .appr-dwell-head-val, .appr-pending-lbl, .axm-drop-custom input, .axm-drop-toolpick,
  .axm-fund-lbl, .axm-step, .axm-fund-val, .axm-fund-year, .axm-fund-ptre:hover, .axm-cap-cancel, .axm-cap-x:hover, .appr-find-lbl, .appr-find-val,
  .appr-misc-row, .appr-kw input, .appr-plan-year, .appr-tot b, .appr-empty b, .appr-mw-prov-t, .axf-ix-title, .axc-ix-title, .axc-row-price, .axc-ddv,
  .axc-lunit:hover, .axc-hide:hover, .amc-commix-title, .amc-total .l, .amc-cr .r, .amc-cr .in input) { color: var(--hickory-700); }
/* a drop menu floats white (the floating material, S4 b) */
html[data-look="light"] body.bd-rig #bdRig > .bd-index > :is(.axm-ix, .axf-ix, .axc-ix, .amc-commix) :is(.axm-drop-pop, .axf-sub-menu, .axc-ddp) { background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--n-300), 0 1px 2px rgba(36,23,19,.06), 0 8px 24px rgba(36,23,19,.10); border-radius: 8px; }
html[data-look="light"] body.bd-rig #bdRig > .bd-index > :is(.axm-ix, .axf-ix, .axc-ix, .amc-commix) .axm-drop-custom { background: #FFFFFF; box-shadow: 0 -1px 0 var(--n-300); }
html[data-look="light"] body.bd-rig #bdRig > .bd-index > :is(.axm-ix, .axf-ix, .axc-ix, .amc-commix) :is(.axf-sub-opt:hover, .axf-sub-opt:focus-visible) { background: var(--n-100); }
/* a word in mint is hickory: selected, matched, hovered, a rise */
html[data-look="light"] body.bd-rig #bdRig > .bd-index > :is(.axm-ix, .axf-ix, .axc-ix, .amc-commix) :is(.appr-leg-type:hover, .appr-rowmenu-btn:hover, .appr-wrongprop:hover, .appr-feat-presets .bd-chip:hover, .axm-drop-row.on, .axm-drop-hint.on, .axm-drop-tick,
  .axm-drop-custom button, .axm-drop-match, .axm-drop-toolpick:hover, .appr-mw-prov-b, .axm-flash .axm-psec, .axf-sub-opt.on .axf-sub-optl, .axf-row-edit:hover, .axf-amt.is-pos,
  .axc-lunit.on, .axc-ddi.on, .axc-grp-l.done, .axc-row-mv, .axc-row-map, .axc-row-map .cmp.up, .axc-measure.mapped, .amc-total .now, .amc-cr.total .l, .amc-cr.total .r) { color: var(--hickory-700); }
html[data-look="light"] body.bd-rig #bdRig > .bd-index > :is(.axm-ix, .axf-ix, .axc-ix, .amc-commix) :is(.axm-drop-row.on, .axf-sub-opt.on .axf-sub-optl, .axc-ddi.on, .axc-lunit.on, .amc-cr.total .l) { font-weight: var(--fw-semibold); }
/* the field law on light: a field's focus is hickory, 2px */
html[data-look="light"] body.bd-rig #bdRig > .bd-index > :is(.axm-ix, .axf-ix, .axc-ix, .amc-commix) :is(input, select, textarea):focus { border-color: var(--hickory-700); box-shadow: inset 0 0 0 1px var(--hickory-700); }
html[data-look="light"] body.bd-rig #bdRig > .bd-index > :is(.axm-ix, .axf-ix, .axc-ix, .amc-commix) .axf-row-in:focus { border-bottom-color: var(--hickory-700); box-shadow: none; }
html[data-look="light"] body.bd-rig #bdRig > .bd-index > :is(.axm-ix, .axf-ix, .axc-ix, .amc-commix) .axf-row-in::placeholder { color: var(--n-ink-3); }
/* the controls and the faint words the panels write in literal cream alphas */
html[data-look="light"] body.bd-rig #bdRig > .bd-index > :is(.axm-ix, .axf-ix, .axc-ix, .amc-commix) .axf-tick { background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--n-400); }
html[data-look="light"] body.bd-rig #bdRig > .bd-index > :is(.axm-ix, .axf-ix, .axc-ix, .amc-commix) :is(.axf-opt, .axc-measure, .axc-featb, .amc-commix-empty, .amc-cr, .amc-cseg button) { background: var(--n-100); }
html[data-look="light"] body.bd-rig #bdRig > .bd-index > :is(.axm-ix, .axf-ix, .axc-ix, .amc-commix) :is(.amc-commix-count, .amc-commix-kick, .amc-commix-empty, .amc-commix-basis, .amc-commix-disc, .amc-cg-h .c, .amc-cg-h .t, .amc-cr .l i, .amc-cseg button:not(.on)) { color: var(--n-ink-2); }
html[data-look="light"] body.bd-rig #bdRig > .bd-index > :is(.axm-ix, .axf-ix, .axc-ix, .amc-commix) .amc-cr .l { color: var(--hickory-700); }
html[data-look="light"] body.bd-rig #bdRig > .bd-index > :is(.axm-ix, .axf-ix, .axc-ix, .amc-commix) .axc-ghost:not(.req) { border-color: var(--n-300); }
/* the washes are the light look's own (S3): a total and a rise are good, a fall is risk */
html[data-look="light"] body.bd-rig #bdRig > .bd-index > :is(.axm-ix, .axf-ix, .axc-ix, .amc-commix) .amc-cr.total { background: var(--st-good-bg); }
html[data-look="light"] body.bd-rig #bdRig > .bd-index > :is(.axm-ix, .axf-ix, .axc-ix, .amc-commix) .amc-cr.total .l i { color: var(--hickory-700); }
html[data-look="light"] body.bd-rig #bdRig > .bd-index > :is(.axm-ix, .axf-ix, .axc-ix, .amc-commix) .amc-cr.neg .r { color: var(--st-risk-ink); }
html[data-look="light"] body.bd-rig #bdRig > .bd-index > :is(.axm-ix, .axf-ix, .axc-ix, .amc-commix) :is(.axc-grade.none, .axc-row-now[data-tone="up"] .bd-tag) { background: var(--st-good-bg); color: var(--st-good-ink); }
html[data-look="light"] body.bd-rig #bdRig > .bd-index > :is(.axm-ix, .axf-ix, .axc-ix, .amc-commix) .axc-row-now[data-tone="down"] .bd-tag { background: var(--st-risk-bg); color: var(--st-risk-ink); }

/* THE COUNT BADGE (Brock, 19 Oct 2026: "the Numbers show on outstanding items … look a lot nicer and match the light
   theme. Maybe round and drop shadow"). In the light look the Inbox count (#notifBadgeDesktop / #notifBadge, every home:
   the top band, the Rig rail, the phone foot) is a round pill lifted by a soft shadow, not the square chip. Fill and ink
   are unchanged: mint with hickory for unread, hickory with cream when quiet. Deviates from the canon's "only a popover
   casts a shadow" on Brock's word. overflow: hidden stays, so the odometer's rolling digits clip to the pill. */
html[data-look="light"] .notif-badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  box-shadow: 0 1px 2px rgba(36, 23, 19, .20), 0 2px 6px rgba(36, 23, 19, .18); }

/* ---- THE QUOTE MAP ------------------------------------------------------------------------------------
   The Quote Builder's last screen (S3 e is the rest). The quote's map is Ambit's (packages/appraisal/quote-map.js), drawn for the
   dark menu and a cream page: THE LAYERS dock into the menu on a hickory ground of their own (#2E1E18, which quote-map.js scopes to
   the dark look since this slice, so the menu's grey-50 shows through here), and THE DRAW PANEL sat in the map's right column on
   cream-200. As the walk's step panels (THE MENU b), each stands on its zone's ground with the hickory and grey inks: a layer a quiet
   grey-100 row, the open layer a white card with its line and its steps grey-100 rows inside it, the new layer's box white, the
   hairlines grey-300; the draw panel's type tiles, rows and the narrowest point white with the line, its trades and the imagery's
   segments quiet grey. The legend is Ambit's own legend in light (S3 a: white with the line, no shadow); an item made on the map
   hangs white in its mint ring. A picked type is a picked tile, so it is mint like the walk's (S3 e, PICKED IS MINT: Brock, 19 Oct
   2026, "Make the picked cards and tiles mint"). KEPT: hickory for the step and the shape's row being drawn and the imagery's pick,
   the lit layer's number and the NEW and FROM THE MAP tags in mint, an item's number on its hickory square, what the drawing fills
   in its hickory block with the mint figure (as the walk's total), and what floats on the aerial (the toolbar and the shapes'
   tags), dark over a photo as Ambit's own map controls are. */
html[data-look="light"] body.bd-rig #bdRig > .bd-index > .axm-ix > .qm-l { background: transparent; color: var(--hickory-700); }
html[data-look="light"] body.bd-rig #bdRig > .bd-index > .axm-ix > .qm-l :is(.hd .mi, .hd p, .lyb .s, .lysh .r.nc .v, .ft, .stl:not(.on) .stb span.s, .stnone, .nwbox .mi, .nwbox small, .lyr .eye.off, .stl:not(.on) .eye.off) { color: var(--n-ink-2); }
html[data-look="light"] body.bd-rig #bdRig > .bd-index > .axm-ix > .qm-l h2 { color: var(--hickory-700); }
html[data-look="light"] body.bd-rig #bdRig > .bd-index > .axm-ix > .qm-l .lys { gap: var(--space-2); }
html[data-look="light"] body.bd-rig #bdRig > .bd-index > .axm-ix > .qm-l .ly { background: var(--n-100); }
html[data-look="light"] body.bd-rig #bdRig > .bd-index > .axm-ix > .qm-l .ly.on { background: #FFFFFF; color: var(--hickory-700); box-shadow: inset 0 0 0 1px var(--n-300); }
html[data-look="light"] body.bd-rig #bdRig > .bd-index > .axm-ix > .qm-l .stl:not(.on) { background: var(--n-100); color: var(--hickory-700); }
html[data-look="light"] body.bd-rig #bdRig > .bd-index > .axm-ix > .qm-l .addly { box-shadow: inset 0 0 0 1px var(--n-400); color: var(--hickory-700); }
html[data-look="light"] body.bd-rig #bdRig > .bd-index > .axm-ix > .qm-l :is(.addly[aria-expanded="true"], .nwbox) { background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--n-300); }
html[data-look="light"] body.bd-rig #bdRig > .bd-index > .axm-ix > .qm-l .nwc:not(.on) { background: var(--n-100); color: var(--hickory-700); }
html[data-look="light"] body.bd-rig #bdRig > .bd-index > .axm-ix > .qm-l .ft { border-top-color: var(--n-300); }
/* the draw panel, on the stage's ground */
html[data-look="light"] body.bd-rig .bd-stage .qm-r { background: transparent; }
html[data-look="light"] body.bd-rig .bd-stage .qm-r :is(.mi, small, .onl .r .s, .onl .r.nc .v):not(.fills *) { color: var(--n-ink-2); }
html[data-look="light"] body.bd-rig .bd-stage .qm-r :is(.tys, .onl) { gap: var(--space-2); }
html[data-look="light"] body.bd-rig .bd-stage .qm-r :is(.ty:not(.on), .onl .r, .acs) { background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--n-300); }
html[data-look="light"] body.bd-rig .bd-stage .qm-r .onl .r.on { box-shadow: inset 0 0 0 2px var(--hickory-700); }
html[data-look="light"] body.bd-rig .bd-stage .qm-r .ty.on { background: var(--mint-400); color: var(--hickory-700); }
html[data-look="light"] body.bd-rig .bd-stage .qm-r :is(.mg:not(.on), .img button:not(.on)) { background: var(--n-100); }
html[data-look="light"] body.bd-rig .bd-stage .qm-rfoot { color: var(--n-ink-2); }
/* the legend and an item made on the map */
html[data-look="light"] body.bd-rig .bd-stage .qm-leg { background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--n-300); }
html[data-look="light"] body.bd-rig .bd-stage .qm-leg :is(.mi, .dis, .cr, .r.nc .v) { color: var(--n-ink-2); }
html[data-look="light"] body.bd-rig .bd-stage .qm-hint.qm-made { background: #FFFFFF; }
html[data-look="light"] body.bd-rig .bd-stage .qm-hint.qm-made span { color: var(--n-ink-2); }
/* THE MAP ON A PHONE (quote-map.js, board QMapPhone, 820px and under), in the phone's light materials as S6 drew them: the bar over
   the map the phone's top bar (grey-50, hickory, the hairline under it), Done still the accent; the layer chip, the Legend button
   and the legend the floating material; the draw sheet and the layers sheet the phone's sheet (white, a 12px top radius, the
   shadow above it and the hairline), the layers' scrim the mock's 16 %; a type tile white with its line and the picked one mint; a
   layer and a step quiet grey rows, the lit layer and the step being drawn kept hickory as on the desk; the quiet words grey */
@media (max-width: 1024px) {
  html[data-look="light"] body.bd-shell .qm-ph .bar { background: var(--n-50); color: var(--hickory-700); box-shadow: inset 0 -1px 0 var(--n-300); }
  html[data-look="light"] body.bd-shell .qm-ph .bar button:not(.done) { color: var(--hickory-700); }
  html[data-look="light"] body.bd-shell .qm-ph :is(.lay, .lgb, .lg) { background: #FFFFFF; color: var(--hickory-700); border: 1px solid var(--n-300); border-radius: 8px; box-shadow: 0 1px 2px rgba(36,23,19,.06), 0 8px 24px rgba(36,23,19,.10); }
  html[data-look="light"] body.bd-shell .qm-ph :is(.sheet, .lsb) { background: #FFFFFF; border-radius: 12px 12px 0 0; box-shadow: 0 -8px 24px rgba(36,23,19,.12), inset 0 0 0 1px var(--n-300); }
  html[data-look="light"] body.bd-shell .qm-ph .ls { background: rgba(36,23,19,.16); }
  html[data-look="light"] body.bd-shell .qm-ph :is(.sheet .mi, .lsb .mi, .dis, .slnone, .lay small, .lr:not(.on) .eye.off, .sl:not(.on) .eye.off) { color: var(--n-ink-2); }
  html[data-look="light"] body.bd-shell .qm-ph .ty:not(.on):not(.more) { background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--n-300); }
  html[data-look="light"] body.bd-shell .qm-ph .ty.on { background: var(--mint-400); color: var(--hickory-700); }
  html[data-look="light"] body.bd-shell .qm-ph .ty.more { box-shadow: inset 0 0 0 1px var(--n-400); }
  html[data-look="light"] body.bd-shell .qm-ph :is(.lr:not(.on), .sl:not(.on), .nwc:not(.on), .drw .u) { background: var(--n-100); color: var(--hickory-700); }
  html[data-look="light"] body.bd-shell .qm-ph .nl { box-shadow: inset 0 0 0 1px var(--n-400); color: var(--hickory-700); }
  html[data-look="light"] body.bd-shell .qm-ph .nwbox { background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--n-300); }
  html[data-look="light"] body.bd-shell .qm-ph .nwbox :is(.mi, small) { color: var(--n-ink-2); }
  /* the accessibility floor: a step's second line sits in two nested spans that each take quote-map.js's 80 % (.slb span), 64 %
     of hickory, 4.41:1 on the quiet row, measured in the harness; here it takes the grey ink whole (5.02:1) */
  html[data-look="light"] body.bd-shell .qm-ph .sl:not(.on) .slb span { opacity: 1; }
  html[data-look="light"] body.bd-shell .qm-ph .sl:not(.on) .slb span span { color: var(--n-ink-2); }
}


/* ============================================================================
   TODAY, SIMPLIFIED (Brock, 31 Oct 2026, the Simplify Today walk; docs/Today-Simplified.md). The light look's half of
   each screen's change, one block per area so the three can land apart. Every rule stays under html[data-look="light"].
   ============================================================================ */

/* ---- TODAY, SIMPLIFIED · THE INBOX ---- */
/* ---- end · THE INBOX ---- */

/* ---- TODAY, SIMPLIFIED · TASKS (the task page, its menus, New task, the guard, photo proof, Slack) ---- */
/* The light look draws every .bd-btn in the drawer (S4 b) and on a page (S3 g) with 6px corners, which out-ranks the
   packages' own sheets. Today's buttons are pills (decision 5), so the two that are .bd-btn on those grounds take the pill
   back here, at a rank above S4 b's and S3 g's: New task's Add task in the drawer (the light look's hickory primary, S4 b,
   keeps its fill, line and shadow), and the task page's Open the email on the desk's stage (the task page is a .bd-stage,
   S3 g's page zone), named by the page itself (.tr-task) so it holds wherever the page is drawn. */
html[data-look="light"] body:is(.bd-rig, .bd-shell) .pane-right .qa-pop.rp-hosted .qa-dactions .bd-btn { border-radius: var(--radius-control); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .tr-task .tr-mh-acts .bd-btn:not(.bd-btn--ghost):not(.bd-btn--on-dark) { border-radius: var(--radius-control); }
/* ---- end · TASKS ---- */

/* ---- TODAY, SIMPLIFIED · NOTES ---- */
/* notes.js draws Notes' half from tokens, so most of it lands here by itself. Two things do not. On the desk the drawer's
   button rule (S4 b) draws every .bd-btn in the drawer as the light look's box at a 6px radius, Notes' head glyphs, its
   toolbar and its cards' buttons included, so the corners the walk decided (D5) are restated over it at a greater weight.
   And the phone's sheet sits outside that zone while Writing tools' card is white on both shells, so the primary (D3) is
   restated on both: the hickory primary on this white, and cream on the deleted note's hickory banner. */
/* the head's icon buttons are round */
html[data-look="light"] body.bd-rig .bd-drawer .bdn-nav .bd-btn.bd-btn-icon:not(.bd-btn--ghost):not(.bd-btn--on-dark) { border-radius: var(--radius-control); }
/* the toolbar's four stay one flush group: its outer ends round, the squares between square */
html[data-look="light"] body.bd-rig .bd-drawer .bdn-toolbar .bd-btn-group > .bd-btn.bd-btn-icon:not(.bd-btn--ghost):not(.bd-btn--on-dark) { border-radius: 0; }
html[data-look="light"] body.bd-rig .bd-drawer .bdn-toolbar .bd-btn-group > .bd-btn.bd-btn-icon:first-child:not(.bd-btn--ghost):not(.bd-btn--on-dark) { border-radius: var(--radius-control) 0 0 var(--radius-control); }
html[data-look="light"] body.bd-rig .bd-drawer .bdn-toolbar .bd-btn-group > .bd-btn.bd-btn-icon:last-child:not(.bd-btn--ghost):not(.bd-btn--on-dark) { border-radius: 0 var(--radius-control) var(--radius-control) 0; }
/* Join, Restore and Writing tools' Replace: the hickory primary, a pill; the deleted note's banner is hickory, so its
   Restore is the cream one */
html[data-look="light"] body:is(.bd-rig, .bd-shell) :is(.notes-pane, .bdn-ai-card) .bd-btn.bd-btn--primary:not(.bd-btn--ghost):not(.bd-btn--on-dark) { background: var(--btn-primary-bg); color: var(--btn-primary-ink); border-radius: var(--radius-control); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) :is(.notes-pane, .bdn-ai-card) .bd-btn.bd-btn--primary:not(.bd-btn--ghost):not(.bd-btn--on-dark):hover { background: var(--hickory-600); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .notes-pane .bdn-banner-del .bd-btn.bd-btn--primary:not(.bd-btn--ghost):not(.bd-btn--on-dark) { background: var(--accent-2); color: var(--hickory-700); }
html[data-look="light"] body:is(.bd-rig, .bd-shell) .notes-pane .bdn-banner-del .bd-btn.bd-btn--primary:not(.bd-btn--ghost):not(.bd-btn--on-dark):hover { background: var(--cream-200); }
/* Writing tools' other verbs are pills too */
html[data-look="light"] body.bd-rig .bd-drawer .bdn-ai-card .bdn-ai-foot .bd-btn:not(.bd-btn--ghost):not(.bd-btn--on-dark) { border-radius: var(--radius-control); }
/* ---- end · NOTES ---- */
