/* APTAVIA 2.0 · the Gatehouse · help. GENERATED by scripts/dev/w10/build-help.mjs from the mock-up build's own CSS order; never hand-edit. */
/* ==== shared/form-kit.css ==== */
/* =============================================================================
   APTAVIA 2.0 · walk · THE FORM KIT (round 6 kit, 6 Oct 2026) — ONE set of fields and buttons for the front door
   (sign in, sign up), First Light (onboarding), the Gatehouse (settings) and the money pages. Behaviour: shared/form-kit.js.
   Manual: shared/ROUND6-KIT.md §3. Tokens and oklch() only, no hex. Labels ≥ 12 px; every target ≥ 44 px.
   The grammar: INK for everything; ONE VIOLET that means "now" (the one primary button, the focused field's ring, the
   chosen segment's edge); ROSE only for an error ("this costs you": a field that will not go through); a success is
   an INK tick, never green. Fields are glass read by their edges; light mode is white fields with an ink edge and a
   crisp shadow, no glow. Nothing here ever sends anything: a walk form is local (form-kit.js fires fk:submit).
   ============================================================================= */
:is(.fk, [data-liquid]) {
  --fk-font: var(--font-ui, var(--sp-font, system-ui, sans-serif));
  --fk-ink: var(--ink, var(--sp-ink));
  --fk-body: var(--body, var(--sp-body));
  --fk-muted: var(--muted, var(--sp-muted));
  --fk-page: var(--page, var(--sp-page));
  --fk-now: var(--sp-primary);
  --fk-action: var(--gradient-action, var(--sp-action));
  --fk-on-action: var(--on-action, oklch(1 0 0));
  --fk-field: color-mix(in srgb, var(--fk-ink) 6%, transparent);
  --fk-field-hover: color-mix(in srgb, var(--fk-ink) 9%, transparent);
  --fk-edge: color-mix(in srgb, var(--fk-ink) 22%, transparent);
  --fk-edge-strong: color-mix(in srgb, var(--fk-ink) 46%, transparent);
  --fk-spec: color-mix(in srgb, var(--fk-ink) 16%, transparent);
  --fk-card: linear-gradient(180deg, color-mix(in srgb, var(--fk-ink) 9%, transparent), color-mix(in srgb, var(--fk-ink) 4%, transparent));
  --fk-drop: 0 18px 36px -22px oklch(0.04 0.01 40 / .95), 0 2px 4px -2px oklch(0.04 0.01 40 / .5);
  --fk-rose-ink: oklch(0.82 0.1 6);
  --fk-rose-edge: oklch(0.72 0.12 6 / .8);
  --fk-rose-wash: oklch(0.62 0.13 6 / .16);
}
/* the tokens live on every page root ([data-liquid] = .spine-page) so a kit control works anywhere in a page; a .fk wrapper
   also sets the kit's text colour and font for a block of its own */
.fk { color: var(--fk-ink); font: 400 16px/1.5 var(--fk-font); -webkit-font-smoothing: antialiased; }
html:not(.dark) :is(.fk, [data-liquid]) {
  --fk-field: oklch(1 0 0);
  --fk-field-hover: oklch(0.99 0.003 300);
  --fk-edge: color-mix(in srgb, var(--fk-ink) 24%, transparent);
  --fk-edge-strong: color-mix(in srgb, var(--fk-ink) 55%, transparent);
  --fk-spec: oklch(1 0 0);
  --fk-card: linear-gradient(180deg, oklch(1 0 0), oklch(0.988 0.004 300));
  --fk-drop: 0 1px 1px color-mix(in srgb, var(--fk-ink) 10%, transparent), 0 10px 22px -16px color-mix(in srgb, var(--fk-ink) 45%, transparent);
  --fk-rose-ink: oklch(0.45 0.15 6);
  --fk-rose-edge: oklch(0.55 0.15 6 / .7);
  --fk-rose-wash: oklch(0.93 0.045 6);
}
:is(.fk, [data-liquid]) :is([class^="fk-"], [class*=" fk-"]), :is(.fk, .fk-card, .fk-field, .fk-sitting, .fk-btn, .fk-seg, .fk-cards, .fk-chips, .fk-range, .fk-code, .fk-note) :is(*, *::before, *::after) { box-sizing: border-box; }
:is(.fk, [data-liquid]) .fk-vh{ position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------------------------------------------------------------- the card (a form's one surface) */
:is(.fk, [data-liquid]) .fk-card{ position: relative; border-radius: 20px; padding: 26px 26px 24px; background: var(--fk-card);
  box-shadow: inset 0 0 0 1px var(--fk-edge), inset 1px 1px 0 var(--fk-spec), var(--fk-drop); }
:is(.fk, [data-liquid]) .fk-card > h2, :is(.fk, [data-liquid]) .fk-title{ margin: 0 0 4px; font: 750 26px/1.15 var(--fk-font); letter-spacing: -.02em; color: var(--fk-ink); }
:is(.fk, [data-liquid]) .fk-sub{ margin: 0 0 20px; font: 450 15.5px/1.5 var(--fk-font); color: var(--fk-body); }
:is(.fk, [data-liquid]) .fk-stack{ display: grid; gap: 16px; }
:is(.fk, [data-liquid]) .fk-row{ display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
:is(.fk, [data-liquid]) .fk-row-between{ justify-content: space-between; }

/* ---------------------------------------------------------------- a field: label · input · hint · inline error */
:is(.fk, [data-liquid]) .fk-field{ display: grid; gap: 6px; min-width: 0; }
:is(.fk, [data-liquid]) .fk-label{ display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font: 650 14px/1.3 var(--fk-font); color: var(--fk-ink); }
:is(.fk, [data-liquid]) .fk-label small{ font: 500 13px/1.3 var(--fk-font); color: var(--fk-muted); }
:is(.fk, [data-liquid]) .fk-label a, :is(.fk, [data-liquid]) .fk-label .fk-quiet{ font-size: 13.5px; }
:is(.fk, [data-liquid]) .fk-input, :is(.fk, [data-liquid]) .fk-select, :is(.fk, [data-liquid]) .fk-textarea{
  display: block; width: 100%; min-height: 48px; margin: 0; padding: 12px 14px; border: 0; border-radius: 12px; appearance: none;
  font: 500 16px/1.3 var(--fk-font); color: var(--fk-ink); background: var(--fk-field);
  box-shadow: inset 0 0 0 1px var(--fk-edge), inset 1px 1px 0 var(--fk-spec);
  transition: box-shadow .18s linear, background-color .18s linear;
}
:is(.fk, [data-liquid]) .fk-textarea{ min-height: 96px; resize: vertical; line-height: 1.5; }
:is(.fk, [data-liquid]) .fk-input::placeholder, :is(.fk, [data-liquid]) .fk-textarea::placeholder{ color: var(--fk-muted); opacity: .85; }
:is(.fk, [data-liquid]) .fk-input:hover, :is(.fk, [data-liquid]) .fk-select:hover, :is(.fk, [data-liquid]) .fk-textarea:hover{ background: var(--fk-field-hover); box-shadow: inset 0 0 0 1px var(--fk-edge-strong), inset 1px 1px 0 var(--fk-spec); }
:is(.fk, [data-liquid]) .fk-input:focus-visible, :is(.fk, [data-liquid]) .fk-select:focus-visible, :is(.fk, [data-liquid]) .fk-textarea:focus-visible{ outline: none; box-shadow: inset 0 0 0 1.5px var(--fk-now), 0 0 0 3px color-mix(in srgb, var(--fk-now) 28%, transparent); }
:is(.fk, [data-liquid]) .fk-input[type="date"]{ font-variant-numeric: tabular-nums; }
html.dark :is(.fk, [data-liquid]) .fk-input[type="date"]{ color-scheme: dark; }
:is(.fk, [data-liquid]) .fk-select{ padding-right: 42px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
:is(.fk, [data-liquid]) .fk-input-wrap{ position: relative; }
:is(.fk, [data-liquid]) .fk-input-wrap .fk-input{ padding-right: 56px; }
:is(.fk, [data-liquid]) .fk-adorn{ position: absolute; right: 4px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: none; color: var(--fk-body); cursor: pointer; }
:is(.fk, [data-liquid]) .fk-adorn svg{ width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:is(.fk, [data-liquid]) .fk-adorn:hover{ color: var(--fk-ink); background: color-mix(in srgb, var(--fk-ink) 7%, transparent); }
:is(.fk, [data-liquid]) .fk-adorn:focus-visible{ outline: 3px solid var(--sp-focus); outline-offset: -2px; }
:is(.fk, [data-liquid]) .fk-adorn .fk-eye-off, :is(.fk, [data-liquid]) .fk-adorn[aria-pressed="true"] .fk-eye-on{ display: none; }
:is(.fk, [data-liquid]) .fk-adorn[aria-pressed="true"] .fk-eye-off{ display: block; }
:is(.fk, [data-liquid]) .fk-hint{ margin: 0; font: 450 13.5px/1.45 var(--fk-font); color: var(--fk-muted); }
/* an error: rose words under the field and a rose edge on it — never only colour: the words say what to do */
:is(.fk, [data-liquid]) .fk-error{ display: none; margin: 0; font: 600 13.5px/1.45 var(--fk-font); color: var(--fk-rose-ink); }
:is(.fk, [data-liquid]) .fk-error::before{ content: "\2715\00a0"; font-weight: 700; }
:is(.fk, [data-liquid]) .fk-field[data-fk-invalid] .fk-error{ display: block; }
:is(.fk, [data-liquid]) .fk-field[data-fk-invalid] :is(.fk-input, :is(.fk, [data-liquid]) .fk-select, :is(.fk, [data-liquid]) .fk-textarea){ box-shadow: inset 0 0 0 1.5px var(--fk-rose-edge), inset 1px 1px 0 var(--fk-spec); }

/* ---------------------------------------------------------------- buttons: ONE primary; secondary; quiet; danger */
:is(.fk, [data-liquid]) .fk-btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 14px; cursor: pointer;
  font: 700 16px/1 var(--fk-font); letter-spacing: -.005em; text-decoration: none; white-space: nowrap; color: var(--fk-ink);
  transition: translate .18s ease, box-shadow .18s linear, background-color .18s linear, opacity .18s linear;
}
:is(.fk, [data-liquid]) .fk-btn svg{ width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:is(.fk, [data-liquid]) .fk-btn:focus-visible{ outline: 3px solid var(--sp-focus); outline-offset: 3px; }
:is(.fk, [data-liquid]) .fk-btn[disabled], :is(.fk, [data-liquid]) .fk-btn[aria-disabled="true"]{ cursor: not-allowed; opacity: .5; }
:is(.fk, [data-liquid]) .fk-block{ width: 100%; }
/* kit 2.6 (G1, the brightest-object law): in dark the ONE primary is the brightest object on its page, at least as bright as
   Today's accepted Start row (mean linear luminance 0.166 measured on the 6 Oct screenshot). The old fill (the route's
   --gradient-action, the two route violets) measured 0.11, so every scene light out-shone it. The same two hues, lifted:
   oklch(0.575 0.215 296) → oklch(0.565 0.15 276) is Y 0.168 / 0.172 under the sheen and the white label (white on either
   end is 4.7–4.8 : 1, AA for 16 px bold); the button measures about 0.20. Scene lights in dark are capped BELOW it:
   a lantern, a lamp shade or a lit cover reads ≤ 0.15 mean (ROUND6-KIT §3 · "the brightest object"). */
:is(.fk, [data-liquid]) .fk-primary{ color: var(--fk-on-action);
  background: linear-gradient(180deg, oklch(1 0 0 / .18) 0, oklch(1 0 0 / .04) 45%, transparent 60%), linear-gradient(110deg, oklch(0.575 0.215 296), oklch(0.565 0.15 276));
  box-shadow: inset 0 0 0 1px oklch(0.86 0.09 296 / .55), inset 1px 1.5px 0 oklch(1 0 0 / .36), 0 0 0 1px oklch(0.62 0.2 292 / .35), 0 10px 26px -12px oklch(0.6 0.21 292 / .6), 0 14px 24px -14px oklch(0.04 0.01 40 / .95); }
:is(.fk, [data-liquid]) .fk-primary:hover:not([disabled]):not([aria-disabled="true"]){ translate: 0 -1px;
  background: linear-gradient(180deg, oklch(1 0 0 / .22) 0, oklch(1 0 0 / .06) 45%, transparent 60%), linear-gradient(110deg, oklch(0.6 0.215 296), oklch(0.585 0.15 276)); }
html:not(.dark) :is(.fk, [data-liquid]) .fk-primary{ background: var(--sp-primary); box-shadow: 0 1px 0 oklch(0 0 0 / .12), 0 8px 16px -10px color-mix(in srgb, var(--sp-primary) 70%, transparent); }
html:not(.dark) :is(.fk, [data-liquid]) .fk-primary:hover:not([disabled]):not([aria-disabled="true"]){ background: var(--sp-primary); }
/* kit 2.6 (G4): a HELD or disabled primary (Confirm email before six digits, Save before a change) is an ink outline in both
   themes, never a 50 % violet wash: the same rule as the question card's disabled Submit. A BUSY primary (data-fk-busy,
   "Signing in…") stays the full violet: it is the action under way, not a held one. */
:is(.fk, [data-liquid]) .fk-primary:is([disabled], [aria-disabled="true"]):not([data-fk-busy]),
html:not(.dark) :is(.fk, [data-liquid]) .fk-primary:is([disabled], [aria-disabled="true"]):not([data-fk-busy]){
  opacity: 1; translate: none; color: var(--fk-muted); background: color-mix(in srgb, var(--fk-ink) 7%, transparent); box-shadow: inset 0 0 0 1px var(--fk-edge-strong); }
:is(.fk, [data-liquid]) .fk-primary[data-fk-busy]{ opacity: 1; }
:is(.fk, [data-liquid]) .fk-secondary{ background: var(--fk-field); box-shadow: inset 0 0 0 1px var(--fk-edge-strong), inset 1px 1px 0 var(--fk-spec); }
:is(.fk, [data-liquid]) .fk-secondary:hover:not([disabled]){ background: var(--fk-field-hover); box-shadow: inset 0 0 0 1px var(--fk-ink), inset 1px 1px 0 var(--fk-spec); }
:is(.fk, [data-liquid]) .fk-quiet{ min-height: 44px; padding: 0 4px; border-radius: 8px; background: none; font: 650 14.5px/1 var(--fk-font); color: var(--fk-ink);
  text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--fk-ink) 32%, transparent); text-underline-offset: .25em; }
:is(.fk, [data-liquid]) .fk-quiet:hover{ text-decoration-color: currentColor; }
:is(.fk, [data-liquid]) .fk-danger{ background: none; color: var(--fk-rose-ink); box-shadow: inset 0 0 0 1.5px var(--fk-rose-edge); }
:is(.fk, [data-liquid]) .fk-danger:hover:not([disabled]){ background: var(--fk-rose-wash); }
/* the Google door: the provider's own mark, the words the live page uses; never violet (it is not the "now") */
:is(.fk, [data-liquid]) .fk-google{ background: var(--fk-field); box-shadow: inset 0 0 0 1px var(--fk-edge-strong), inset 1px 1px 0 var(--fk-spec); font-weight: 650; }
:is(.fk, [data-liquid]) .fk-google:hover:not([disabled]){ background: var(--fk-field-hover); }
:is(.fk, [data-liquid]) .fk-g{ width: 18px; height: 18px; flex: none; }
:is(.fk, [data-liquid]) .fk-g .g-b{ fill: oklch(0.63 0.19 259); } :is(.fk, [data-liquid]) .fk-g .g-g{ fill: oklch(0.65 0.16 147); } :is(.fk, [data-liquid]) .fk-g .g-y{ fill: oklch(0.83 0.17 85); } :is(.fk, [data-liquid]) .fk-g .g-r{ fill: oklch(0.63 0.21 28); }
:is(.fk, [data-liquid]) .fk-or{ display: flex; align-items: center; gap: 12px; margin: 2px 0; font: 600 13px/1 var(--fk-font); color: var(--fk-muted); }
:is(.fk, [data-liquid]) .fk-or::before, :is(.fk, [data-liquid]) .fk-or::after{ content: ""; flex: 1; height: 1px; background: var(--fk-edge); }
:is(.fk, [data-liquid]) .fk-btn[data-fk-busy]{ cursor: progress; }
:is(.fk, [data-liquid]) .fk-btn[data-fk-busy] .fk-spin{ display: inline-block; }
:is(.fk, [data-liquid]) .fk-spin{ display: none; width: 16px; height: 16px; aspect-ratio: 1; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: fk-turn .8s linear 3; }
@keyframes fk-turn { to { rotate: 1turn; } }

/* ---------------------------------------------------------------- choices: checkbox · switch · segmented · chips · range */
:is(.fk, [data-liquid]) .fk-check{ display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font: 550 15px/1.3 var(--fk-font); color: var(--fk-ink); }
:is(.fk, [data-liquid]) .fk-check input{ appearance: none; margin: 0; width: 22px; height: 22px; aspect-ratio: 1; flex: none; border-radius: 6px; cursor: pointer;
  background: var(--fk-field); box-shadow: inset 0 0 0 1.5px var(--fk-edge-strong); display: grid; place-items: center; }
:is(.fk, [data-liquid]) .fk-check input::after{ content: ""; width: 10px; height: 5.5px; border-left: 2.4px solid var(--fk-page); border-bottom: 2.4px solid var(--fk-page); rotate: -45deg; translate: 0 -1px; opacity: 0; }
:is(.fk, [data-liquid]) .fk-check input:checked{ background: var(--fk-ink); box-shadow: inset 0 0 0 1.5px var(--fk-ink); }
:is(.fk, [data-liquid]) .fk-check input:checked::after{ opacity: 1; }
:is(.fk, [data-liquid]) .fk-check input:focus-visible{ outline: 3px solid var(--sp-focus); outline-offset: 2px; }
/* the switch: role="switch"; the thumb is a true circle that slides once (a translate, never a scale) */
:is(.fk, [data-liquid]) .fk-switch{ display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer; font: 550 15px/1.3 var(--fk-font); color: var(--fk-ink); text-align: left; }
:is(.fk, [data-liquid]) .fk-switch .fk-track{ position: relative; flex: none; width: 46px; height: 28px; border-radius: 999px; background: color-mix(in srgb, var(--fk-ink) 14%, transparent); box-shadow: inset 0 0 0 1px var(--fk-edge-strong); transition: background-color .2s linear; }
:is(.fk, [data-liquid]) .fk-switch .fk-thumb{ position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; aspect-ratio: 1; border-radius: 50%; background: var(--fk-ink); transition: translate .2s cubic-bezier(.3,.6,.2,1), background-color .2s linear; }
:is(.fk, [data-liquid]) .fk-switch[aria-checked="true"] .fk-track{ background: var(--fk-ink); box-shadow: inset 0 0 0 1px var(--fk-ink); }
:is(.fk, [data-liquid]) .fk-switch[aria-checked="true"] .fk-thumb{ translate: 18px 0; background: var(--fk-page); }
:is(.fk, [data-liquid]) .fk-switch:focus-visible{ outline: 3px solid var(--sp-focus); outline-offset: 3px; border-radius: 12px; }
:is(.fk, [data-liquid]) .fk-switch small{ display: block; font: 450 13.5px/1.4 var(--fk-font); color: var(--fk-muted); }
/* segmented: one choice of a few (role="radiogroup"); the chosen one is an ink well with a violet edge, like the strip's step */
:is(.fk, [data-liquid]) .fk-seg{ display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 16px; background: color-mix(in srgb, var(--fk-ink) 5%, transparent); box-shadow: inset 0 0 0 1px var(--fk-edge); }
html:not(.dark) :is(.fk, [data-liquid]) .fk-seg{ background: oklch(0.975 0.004 300); }
:is(.fk, [data-liquid]) .fk-seg button{ min-height: 44px; padding: 0 16px; border: 0; border-radius: 12px; background: none; cursor: pointer; font: 650 15px/1 var(--fk-font); color: var(--fk-body); white-space: nowrap; }
:is(.fk, [data-liquid]) .fk-seg button:hover{ color: var(--fk-ink); background: color-mix(in srgb, var(--fk-ink) 6%, transparent); }
:is(.fk, [data-liquid]) .fk-seg button[aria-checked="true"]{ color: var(--fk-ink); background: var(--sp-well, var(--fk-page)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--fk-now) 60%, var(--fk-edge)), 0 1px 2px oklch(0 0 0 / .18); }
:is(.fk, [data-liquid]) .fk-seg button:focus-visible{ outline: 3px solid var(--sp-focus); outline-offset: 1px; }
:is(.fk, [data-liquid]) .fk-seg-block{ display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); width: 100%; }
:is(.fk, [data-liquid]) .fk-seg-block button{ white-space: normal; line-height: 1.2; padding: 8px 10px; }
/* choice cards: a bigger segmented choice with a line under each title (onboarding's "Where are you starting?") */
:is(.fk, [data-liquid]) .fk-cards{ display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
:is(.fk, [data-liquid]) .fk-cards button{ display: grid; gap: 4px; min-height: 72px; padding: 12px 14px; border: 0; border-radius: 14px; text-align: left; cursor: pointer; background: var(--fk-field); box-shadow: inset 0 0 0 1px var(--fk-edge); color: var(--fk-ink); }
:is(.fk, [data-liquid]) .fk-cards button b{ font: 700 15.5px/1.25 var(--fk-font); } :is(.fk, [data-liquid]) .fk-cards button span{ font: 450 13.5px/1.35 var(--fk-font); color: var(--fk-muted); }
:is(.fk, [data-liquid]) .fk-cards button:hover{ box-shadow: inset 0 0 0 1px var(--fk-edge-strong); }
:is(.fk, [data-liquid]) .fk-cards button[aria-checked="true"]{ box-shadow: inset 0 0 0 1.5px var(--fk-now), 0 0 0 1px color-mix(in srgb, var(--fk-now) 25%, transparent); background: color-mix(in srgb, var(--fk-now) 8%, var(--fk-field)); }
:is(.fk, [data-liquid]) .fk-cards button:focus-visible{ outline: 3px solid var(--sp-focus); outline-offset: 2px; }
/* chips: tap any (aria-pressed); chosen = ink, never a section colour */
:is(.fk, [data-liquid]) .fk-chips{ display: flex; flex-wrap: wrap; gap: 8px; }
:is(.fk, [data-liquid]) .fk-chips button{ min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer; background: var(--fk-field); box-shadow: inset 0 0 0 1px var(--fk-edge); font: 600 14.5px/1 var(--fk-font); color: var(--fk-body); }
:is(.fk, [data-liquid]) .fk-chips button:hover{ color: var(--fk-ink); box-shadow: inset 0 0 0 1px var(--fk-edge-strong); }
:is(.fk, [data-liquid]) .fk-chips button[aria-pressed="true"]{ color: var(--fk-page); background: var(--fk-ink); box-shadow: inset 0 0 0 1px var(--fk-ink); }
:is(.fk, [data-liquid]) .fk-chips button[aria-pressed="true"]::before{ content: "\2713\00a0"; }
:is(.fk, [data-liquid]) .fk-chips button:focus-visible{ outline: 3px solid var(--sp-focus); outline-offset: 2px; }
/* range: a slider with its value printed beside the label (never a progress fill in violet) */
:is(.fk, [data-liquid]) .fk-range{ display: grid; gap: 8px; }
:is(.fk, [data-liquid]) .fk-range output{ font: 750 22px/1 var(--fk-font); color: var(--fk-ink); font-variant-numeric: tabular-nums; }
:is(.fk, [data-liquid]) .fk-range output small{ font: 600 13px/1 var(--fk-font); color: var(--fk-muted); margin-left: 4px; }
:is(.fk, [data-liquid]) .fk-range input[type="range"]{ -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: none; cursor: pointer; }
:is(.fk, [data-liquid]) .fk-range input[type="range"]::-webkit-slider-runnable-track{ height: 6px; border-radius: 999px; background: color-mix(in srgb, var(--fk-ink) 18%, transparent); }
:is(.fk, [data-liquid]) .fk-range input[type="range"]::-moz-range-track{ height: 6px; border-radius: 999px; background: color-mix(in srgb, var(--fk-ink) 18%, transparent); }
:is(.fk, [data-liquid]) .fk-range input[type="range"]::-webkit-slider-thumb{ -webkit-appearance: none; width: 24px; height: 24px; aspect-ratio: 1; margin-top: -9px; border-radius: 50%; background: var(--fk-ink); box-shadow: 0 0 0 4px var(--fk-page), 0 2px 6px oklch(0 0 0 / .35); }
:is(.fk, [data-liquid]) .fk-range input[type="range"]::-moz-range-thumb{ width: 24px; height: 24px; border: 0; border-radius: 50%; background: var(--fk-ink); box-shadow: 0 0 0 4px var(--fk-page); }
:is(.fk, [data-liquid]) .fk-range input[type="range"]:focus-visible{ outline: 3px solid var(--sp-focus); outline-offset: 2px; border-radius: 8px; }
:is(.fk, [data-liquid]) .fk-range-scale{ display: flex; justify-content: space-between; font: 500 12.5px/1 var(--fk-font); color: var(--fk-muted); }

/* ---------------------------------------------------------------- a 6-digit code (an authenticator, an email change) */
:is(.fk, [data-liquid]) .fk-code{ display: flex; gap: 8px; }
:is(.fk, [data-liquid]) .fk-code input{ width: 48px; height: 56px; padding: 0; border: 0; border-radius: 12px; text-align: center; font: 700 22px/1 var(--fk-font); color: var(--fk-ink); font-variant-numeric: tabular-nums;
  background: var(--fk-field); box-shadow: inset 0 0 0 1px var(--fk-edge), inset 1px 1px 0 var(--fk-spec); }
:is(.fk, [data-liquid]) .fk-code input:focus-visible{ outline: none; box-shadow: inset 0 0 0 1.5px var(--fk-now), 0 0 0 3px color-mix(in srgb, var(--fk-now) 28%, transparent); }
@media (max-width: 380px) { :is(.fk, [data-liquid]) .fk-code{ gap: 6px; } :is(.fk, [data-liquid]) .fk-code input{ width: 42px; height: 52px; } }

/* ---------------------------------------------------------------- notes: information · a warning · done */
:is(.fk, [data-liquid]) .fk-note{ display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; padding: 12px 14px; border-radius: 12px; font: 500 14.5px/1.5 var(--fk-font); color: var(--fk-body);
  background: color-mix(in srgb, var(--fk-ink) 5%, transparent); box-shadow: inset 0 0 0 1px var(--fk-edge); }
:is(.fk, [data-liquid]) .fk-note svg{ width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--fk-ink); }
:is(.fk, [data-liquid]) .fk-note b{ color: var(--fk-ink); }
:is(.fk, [data-liquid]) .fk-note[data-tone="warn"]{ color: var(--fk-ink); background: var(--fk-rose-wash); box-shadow: inset 0 0 0 1px var(--fk-rose-edge); }
:is(.fk, [data-liquid]) .fk-note[data-tone="warn"] svg{ color: var(--fk-rose-ink); }
:is(.fk, [data-liquid]) .fk-note[data-tone="done"] svg{ color: var(--fk-ink); }
:is(.fk, [data-liquid]) .fk-note[hidden]{ display: none; }

/* ---------------------------------------------------------------- the sitting picker (First Light · the Gatehouse) */
:is(.fk, [data-liquid]) .fk-sitting{ margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 12px; }
:is(.fk, [data-liquid]) .fk-sitting legend{ padding: 0; margin: 0 0 4px; font: 700 17px/1.3 var(--fk-font); color: var(--fk-ink); }
:is(.fk, [data-liquid]) .fk-exact{ display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
:is(.fk, [data-liquid]) .fk-exact[hidden]{ display: none; }
:is(.fk, [data-liquid]) .fk-lanterns{ display: flex; flex-wrap: wrap; gap: 8px 10px; }
:is(.fk, [data-liquid]) .fk-lan{ display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 14px 6px 8px; border-radius: 999px; font: 550 14px/1.25 var(--fk-font); color: var(--fk-body);
  background: color-mix(in srgb, var(--fk-ink) 5%, transparent); box-shadow: inset 0 0 0 1px var(--fk-edge); }
:is(.fk, [data-liquid]) .fk-lan b{ color: var(--fk-ink); font-weight: 720; }
:is(.fk, [data-liquid]) .fk-lan .spine-orb{ --s: 34px; font-size: 12px; }
:is(.fk, [data-liquid]) .fk-lan .spine-orb[data-s="13"]{ font-size: 12px; letter-spacing: -.02em; }
:is(.fk, [data-liquid]) .fk-lan .fk-days{ font: 750 15px/1 var(--fk-font); color: var(--fk-ink); font-variant-numeric: tabular-nums; }
:is(.fk, [data-liquid]) .fk-lan[data-status="estimate"]{ font-style: italic; }
:is(.fk, [data-liquid]) .fk-lan[data-status="unset"] .spine-orb{ color: var(--fk-muted); background: none; border: 1.5px dotted var(--fk-edge-strong); box-shadow: none; }
:is(.fk, [data-liquid]) .fk-lan[data-status="unset"] .spine-orb[data-s="13"]{ background: none; }

/* reduced motion / Pause: instant */
html[data-spn-paused="true"] [class^="fk-"], html[data-spn-paused="true"] [class*=" fk-"], .spine-page[data-paused="true"] :is([class^="fk-"], [class*=" fk-"]) { transition: none !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) { [class^="fk-"], [class*=" fk-"], .spine-page[data-paused="true"] :is([class^="fk-"], [class*=" fk-"]) { transition: none !important; animation: none !important; } }
@media (prefers-reduced-motion: reduce) { :is([class^="fk-"], [class*=" fk-"]) { transition: none !important; animation: none !important; } }
/* the base CSS colours every <p> in a page ([data-liquid] p, 0,1,1): inside a kit card a paragraph takes the card's ink */
:is(.fk, [data-liquid]) :is(.fk-card, .fk-sitting, .fk-field) p:not([class]) { color: inherit; }

/* ==== settings/_src/gatehouse.css ==== */
/* =============================================================================
   APTAVIA 2.0 · walk · THE GATEHOUSE · the family's own pieces (round 6, 6 Oct 2026 · the account designer)
   Inlined by the four account pages (settings · refer · help · receipts) at build time. Not a shared kit: a family file.
   The world (redo6/WORLDS.md §1): a quiet stone gatehouse at the edge of her grounds, near-unlit and calm — one desk,
   one ledger, one desk lamp (warm and small) and one window onto her horizon. Ink plus ONE violet that means "now";
   rose only where something costs her. Tokens and oklch() only, no hex. Light mode: ink and shadow, no glow.
   ============================================================================= */
.gh{
  --gh-font: var(--font-ui, var(--sp-font));
  --gh-serif: Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  /* stone: a warm grey limestone, dimmed into the lamp's light in dark mode */
  --gh-stone-hi: oklch(0.235 0.007 70);
  --gh-stone: oklch(0.205 0.006 68);
  --gh-stone-lo: oklch(0.178 0.006 64);
  --gh-mortar: oklch(0.10 0.006 60 / .55);
  --gh-mortar-lit: oklch(0.70 0.010 75 / .07);
  /* paper (the Studio family's cream, essay-review/_src/studio-ink.css): dimmed a little in dark mode */
  --gh-paper: oklch(0.875 0.03 84);
  --gh-paper-lit: oklch(0.925 0.026 84);
  --gh-paper-deep: oklch(0.83 0.032 82);
  --gh-paper-edge: oklch(0.72 0.035 80);
  --gh-pink: oklch(0.26 0.022 60);          /* ink on paper */
  --gh-pink-2: oklch(0.40 0.022 60);
  --gh-pink-3: oklch(0.50 0.020 60);
  --gh-rule: oklch(0.32 0.02 60 / .30);
  --gh-rule-strong: oklch(0.32 0.02 60 / .55);
  /* brass and the lamp */
  --gh-brass: oklch(0.62 0.075 78);
  --gh-brass-hi: oklch(0.80 0.08 82);
  --gh-brass-lo: oklch(0.38 0.05 70);
  --gh-bulb: oklch(0.96 0.05 88);
  --gh-pool: oklch(0.86 0.09 72);
  /* rose: only where it costs her */
  --gh-rose-ink: oklch(0.82 0.10 6);
  --gh-rose-edge: oklch(0.72 0.12 6 / .8);
  --gh-rose-wash: oklch(0.62 0.13 6 / .16);
  --gh-rose-on-paper: oklch(0.45 0.15 6);
  --gh-rose-paper-wash: oklch(0.85 0.08 6);
  /* rows on the desk (glass read by its edges) */
  --gh-row: color-mix(in srgb, var(--ink) 5%, transparent);
  --gh-row-edge: color-mix(in srgb, var(--ink) 14%, transparent);
  --gh-line: color-mix(in srgb, var(--ink) 11%, transparent);
  --gh-shadow: oklch(0.04 0.01 40 / .9);
  font-family: var(--gh-font);
}
html:not(.dark) .gh{
  --gh-stone-hi: oklch(0.985 0.004 85);
  --gh-stone: oklch(0.972 0.005 84);
  --gh-stone-lo: oklch(0.962 0.006 82);
  --gh-mortar: color-mix(in srgb, var(--ink) 7%, transparent);
  --gh-mortar-lit: oklch(1 0 0 / .8);
  --gh-paper: oklch(0.982 0.012 85);
  --gh-paper-lit: oklch(0.995 0.006 85);
  --gh-paper-deep: oklch(0.955 0.016 84);
  --gh-paper-edge: oklch(0.84 0.02 80);
  --gh-brass: oklch(0.55 0.07 76);
  --gh-brass-hi: oklch(0.72 0.07 80);
  --gh-brass-lo: oklch(0.36 0.04 70);
  --gh-rose-ink: oklch(0.45 0.15 6);
  --gh-rose-edge: oklch(0.55 0.15 6 / .7);
  --gh-rose-wash: oklch(0.93 0.045 6);
  --gh-rose-paper-wash: oklch(0.9 0.062 6);
  --gh-row: oklch(1 0 0);
  --gh-row-edge: color-mix(in srgb, var(--ink) 20%, transparent);
  --gh-line: color-mix(in srgb, var(--ink) 12%, transparent);
  --gh-shadow: color-mix(in srgb, var(--ink) 30%, transparent);
}

/* the captured app CSS makes every [data-liquid] root overflow:hidden, which turns the page into a scroll container that
   never scrolls (so nothing inside can stay sticky). clip keeps the same clipping without being a scroll container. */
.spine-page:has(> .gh){ overflow: clip; }

/* ---------------------------------------------------------------- the stone wall (ashlar: big quiet blocks, still) */
.gh-stone{
  background:
    radial-gradient(70% 60% at 6% 0%, oklch(0.80 0.10 66 / .07), transparent 70%),
    repeating-linear-gradient(180deg, transparent 0 63px, var(--gh-mortar) 63px 64px, var(--gh-mortar-lit) 64px 65px, transparent 65px 128px),
    linear-gradient(180deg, var(--gh-stone-hi), var(--gh-stone) 40%, var(--gh-stone-lo));
}
html:not(.dark) .gh-stone{
  background:
    repeating-linear-gradient(180deg, transparent 0 63px, var(--gh-mortar) 63px 64px, transparent 64px 128px),
    var(--sp-ground);
}

/* ---------------------------------------------------------------- small words */
.gh :is(.gh-eyebrow){ margin: 0; font: 700 12px/1.3 var(--gh-font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.gh :is(.gh-tick){ display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 7px; border-radius: 999px; font: 650 12.5px/1.2 var(--gh-font); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--gh-row-edge); white-space: nowrap; }
.gh .gh-tick svg{ width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.gh :is(.gh-rose){ display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font: 650 12.5px/1.2 var(--gh-font);
  color: var(--gh-rose-ink); background: var(--gh-rose-wash); box-shadow: inset 0 0 0 1px var(--gh-rose-edge); white-space: nowrap; }
.gh :is(.gh-quiet-link){ color: var(--ink); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--ink) 40%, transparent); text-underline-offset: 3px; font-weight: 600; }
.gh :is(.gh-quiet-link):hover{ text-decoration-color: var(--sp-primary); }
.gh :is(.gh-quiet-link):focus-visible{ outline: 2px solid var(--sp-focus); outline-offset: 2px; border-radius: 3px; }

/* ---------------------------------------------------------------- THE DESK LAMP: one per page, warm and small. A brass
   banker's lamp drawn in SVG (shade, arm, base). Its light is a soft pool on the desk below it (dark only, ≤ 10 %);
   by day it is drawn in ink and casts a crisp shadow. Decoration: aria-hidden, never a control. */
.gh-lamp{ position: absolute; display: block; width: 74px; height: 84px; pointer-events: none; z-index: 2; }
.gh-lamp svg{ display: block; width: 100%; height: 100%; overflow: visible; }
.gh-lamp .l-shade{ fill: var(--gh-brass); stroke: var(--gh-brass-lo); stroke-width: 1; }
.gh-lamp .l-shade-hi{ fill: none; stroke: var(--gh-brass-hi); stroke-width: 1.2; stroke-linecap: round; opacity: .7; }
.gh-lamp .l-under{ fill: var(--gh-bulb); }
.gh-lamp .l-arm{ fill: none; stroke: var(--gh-brass-lo); stroke-width: 3; stroke-linecap: round; }
.gh-lamp .l-arm-hi{ fill: none; stroke: var(--gh-brass); stroke-width: 1.2; stroke-linecap: round; }
.gh-lamp .l-base{ fill: var(--gh-brass-lo); }
.gh-lamp .l-base-top{ fill: var(--gh-brass); }
.gh-lamp .l-chain{ fill: none; stroke: var(--gh-brass-hi); stroke-width: 1; stroke-dasharray: 1.5 1.6; }
.gh-lamp .l-cast{ fill: oklch(0 0 0 / .35); }
html:not(.dark) .gh-lamp .l-shade{ fill: oklch(0.99 0.004 85); stroke: color-mix(in srgb, var(--ink) 72%, transparent); stroke-width: 1.3; }
html:not(.dark) .gh-lamp .l-shade-hi{ stroke: color-mix(in srgb, var(--ink) 25%, transparent); }
html:not(.dark) .gh-lamp .l-under{ fill: oklch(0.93 0.06 85); }
html:not(.dark) .gh-lamp .l-arm{ stroke: color-mix(in srgb, var(--ink) 72%, transparent); stroke-width: 2.2; }
html:not(.dark) .gh-lamp .l-arm-hi{ stroke: none; }
html:not(.dark) .gh-lamp .l-base{ fill: color-mix(in srgb, var(--ink) 72%, transparent); }
html:not(.dark) .gh-lamp .l-base-top{ fill: color-mix(in srgb, var(--ink) 50%, transparent); }
html:not(.dark) .gh-lamp .l-cast{ fill: color-mix(in srgb, var(--ink) 10%, transparent); }
/* its pool of light: a still radial on the desk (dark only; light mode draws no light, only the lamp and its shadow) */
.gh-pool{ position: absolute; pointer-events: none; z-index: 0; border-radius: 50%;
  background: radial-gradient(closest-side, oklch(0.86 0.09 72 / .10), oklch(0.86 0.09 72 / .045) 55%, transparent 100%); }
html:not(.dark) .gh-pool{ display: none; }

/* ---------------------------------------------------------------- a sheet (a dialog on the desk): status, fair use, feedback */
.gh-sheet-back{ position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: oklch(0.05 0.01 40 / .62); }
html:not(.dark) .gh-sheet-back{ background: color-mix(in srgb, var(--ink) 28%, transparent); }
.gh-sheet-back[hidden]{ display: none; }
.gh-sheet{ position: relative; width: min(620px, 100%); max-height: min(86vh, 760px); overflow: auto; border-radius: 20px; padding: 24px 24px 22px;
  background: linear-gradient(180deg, oklch(0.215 0.008 68), oklch(0.185 0.007 64)); color: var(--ink);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 16%, transparent), inset 1px 1px 0 color-mix(in srgb, var(--ink) 14%, transparent), 0 30px 60px -24px oklch(0 0 0 / .9); }
html:not(.dark) .gh-sheet{ background: oklch(1 0 0); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 22%, transparent), 0 18px 40px -20px color-mix(in srgb, var(--ink) 45%, transparent); }
.gh-sheet-h{ display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 0 0 14px; }
.gh-sheet-h h2{ margin: 0; font: 750 22px/1.2 var(--gh-font); letter-spacing: -.015em; color: var(--ink); }
.gh-sheet-x{ flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin: -10px -10px 0 0; border: 0; border-radius: 12px; background: none; color: var(--body); cursor: pointer; }
.gh-sheet-x:hover{ background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); }
.gh-sheet-x:focus-visible{ outline: 2px solid var(--sp-focus); outline-offset: 0; }
.gh-sheet-x svg{ width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.gh-sheet[data-on]{ animation: gh-rise .32s var(--spine-ease) both; }
@keyframes gh-rise{ from{ opacity: 0; translate: 0 8px; } to{ opacity: 1; translate: 0 0; } }
html[data-spn-paused="true"] .gh-sheet[data-on], .spine-page[data-paused="true"] .gh-sheet[data-on]{ animation: none; }
@media (prefers-reduced-motion: reduce) { .gh-sheet[data-on], .spine-page[data-paused="true"] .gh-sheet[data-on]{ animation: none; } }
@media (prefers-reduced-motion: reduce){ .gh-sheet[data-on]{ animation: none; } }

/* ---------------------------------------------------------------- one SETTLE beat (≤ 400 ms, opacity + 8 px, once) */
.gh-settle{ animation: gh-rise .36s var(--spine-ease) both; }
html[data-spn-paused="true"] .gh-settle, .spine-page[data-paused="true"] .gh-settle{ animation: none; }
@media (prefers-reduced-motion: reduce) { .gh-settle, .spine-page[data-paused="true"] .gh-settle{ animation: none; } }
@media (prefers-reduced-motion: reduce){ .gh-settle{ animation: none; } }

/* ---------------------------------------------------------------- the visually-hidden helper */
.gh .gh-vh{ position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------------------------------------------------------------- the review bar's selects (never product UI) */
.gh-tb{ display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--font-ui); }
.gh-tb select{ font: 600 12px/1 var(--font-ui); min-height: 30px; border-radius: 8px; padding: 0 6px; }

/* ==== help/_src/help.css ==== */
/* =============================================================================
   APTAVIA 2.0 · walk · HELP · "The notice board" — the page's own CSS (tokens and oklch() only, no hex)
   The gatehouse's public desk (door frame): a wood-framed cork board on the stone wall under the one lamp; the status
   line on its top rail; the five live answers pinned as paper cards; the promise as a printed notice with the ONE
   violet button (Send feedback). Paper stays paper; brass pins are true circles; light mode is ink and shadow.
   ============================================================================= */
.gh-help{ display: block; box-sizing: border-box; max-width: 1180px; margin: 0 auto; padding: calc(var(--spn-th-h, 56px) + 28px) var(--sp-gutter, 48px) 72px; }
.gh .hp-head{ max-width: 820px; }
.gh .hp-h1{ margin: 0; font: 700 clamp(30px, 2.9vw, 42px)/1.08 var(--font-display, var(--font-ui)); letter-spacing: -.02em; color: var(--ink); }
.gh .hp-lede{ margin: 10px 0 0; font: 500 16px/1.55 var(--font-ui); color: var(--body); }
.gh .hp-h2{ margin: 0 0 12px; font: 750 21px/1.2 var(--font-ui); letter-spacing: -.015em; color: var(--ink); }
.gh .hp-p{ margin: 0 0 10px; font: 500 15px/1.55 var(--font-ui); color: var(--body); }
.gh .hp-small{ font-size: 13.5px; color: var(--muted); }

/* ---------------------------------------------------------------- the wall, the lamp, the board
   fix round: the board sits 64 px under the intro so the lamp (66 x 75, top -44 px) stands 20 px clear of its last line
   (it overlapped "fixes it." by 20 px; round 5 ruled a lamp drawn on text a must-fix). Phones hide the lamp. */
.gh .hp-board-wrap{ position: relative; margin-top: 64px; padding: 26px 28px 30px; border-radius: 20px; isolation: isolate;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 10%, transparent), 0 22px 40px -30px oklch(0 0 0 / .9); }
html:not(.dark) .gh .hp-board-wrap{ box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 20%, transparent), 3px 4px 0 color-mix(in srgb, var(--ink) 5%, transparent); }
.gh .hp-lamp{ left: 30px; top: -44px; z-index: 5; width: 66px; height: 75px; }
.gh .hp-pool{ left: -120px; top: 0; width: 700px; height: 420px; }
.gh .hp-board{ position: relative; z-index: 1; border-radius: 12px; padding: 12px;
  background: linear-gradient(180deg, oklch(0.37 0.045 60), oklch(0.31 0.04 56));
  box-shadow: inset 0 1px 0 oklch(0.70 0.06 70 / .4), inset 0 -2px 0 oklch(0.12 0.02 50 / .6), 0 14px 26px -16px oklch(0 0 0 / .9); }
html:not(.dark) .gh .hp-board{ background: oklch(0.86 0.04 72); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 55%, transparent), 3px 4px 0 color-mix(in srgb, var(--ink) 9%, transparent); }
/* the top rail: an enamel sign and the status plaque */
.gh .hp-rail{ display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 4px 6px 12px; }
.gh .hp-enamel{ display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-width: 0; padding: 9px 14px; border-radius: 8px;
  background: linear-gradient(180deg, oklch(0.25 0.012 70), oklch(0.21 0.01 68)); color: oklch(0.95 0.01 85);
  box-shadow: inset 0 0 0 1px oklch(0.70 0.04 75 / .35), 0 2px 4px -2px oklch(0 0 0 / .7); }
html:not(.dark) .gh .hp-enamel{ background: oklch(1 0 0); color: var(--ink); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 50%, transparent); }
.gh .hp-enamel b{ font: 750 15px/1.2 var(--font-ui); }
.gh .hp-enamel-s{ font: 500 13.5px/1.3 var(--font-ui); opacity: .82; }
.gh .hp-plaque{ position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; cursor: pointer; font: 650 14.5px/1 var(--font-ui); }
.gh .hp-plaque .sp-arrow{ width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gh .hp-plaque:hover{ transform: translateY(-4px); }
html[data-spn-paused="true"] .gh .hp-plaque:hover{ transform: none; }
@media (prefers-reduced-motion: reduce) { .gh .hp-plaque:hover{ transform: none; } }
/* the state dot (a true circle; words always beside it): ink when operational, dashed when unknown, rose only when down */
.gh .hp-dot{ display: inline-block; flex: none; width: 12px; height: 12px; aspect-ratio: 1; border-radius: 50%; box-sizing: border-box; }
.gh .hp-dot[data-state="ok"]{ background: currentColor; }
.gh .hp-dot[data-state="degraded"]{ background: linear-gradient(90deg, currentColor 0 50%, transparent 50%); box-shadow: inset 0 0 0 1.5px currentColor; }
.gh .hp-dot[data-state="down"]{ background: var(--gh-rose-ink); }
.gh .hp-dot[data-state="unknown"]{ border: 1.5px dashed currentColor; }
/* the cork */
.gh .hp-cork{ position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; padding: 22px; border-radius: 6px;
  background:
    radial-gradient(circle at 20% 30%, oklch(0.30 0.04 60 / .55) 0 1px, transparent 1.6px) 0 0 / 9px 11px,
    radial-gradient(circle at 70% 60%, oklch(0.55 0.06 70 / .35) 0 1px, transparent 1.6px) 0 0 / 13px 7px,
    linear-gradient(180deg, oklch(0.47 0.06 66), oklch(0.43 0.055 62));
  box-shadow: inset 0 2px 6px oklch(0 0 0 / .45); }
html.dark .gh .hp-cork{ filter: brightness(.78); }
html:not(.dark) .gh .hp-cork{ background:
    radial-gradient(circle at 20% 30%, oklch(0.55 0.05 62 / .5) 0 1px, transparent 1.6px) 0 0 / 9px 11px,
    linear-gradient(180deg, oklch(0.78 0.06 70), oklch(0.75 0.06 68));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 35%, transparent); }
.gh .hp-cards{ list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 16px; align-content: start; }
.gh .hp-card{ position: relative; rotate: var(--tilt, 0deg); }
.gh .hp-card-a{ position: relative; display: grid; gap: 6px; min-height: 158px; box-sizing: border-box; padding: 20px 16px 14px; border-radius: 3px; text-decoration: none; color: var(--gh-pink);
  background: linear-gradient(180deg, var(--gh-paper-lit), var(--gh-paper)); box-shadow: 0 1px 0 var(--gh-paper-edge), 0 10px 16px -10px oklch(0 0 0 / .75); outline: none; transition: translate .2s var(--spine-ease); }
html.dark .gh .hp-card-a{ background: linear-gradient(180deg, oklch(0.86 0.026 84), oklch(0.82 0.03 83)); }
html:not(.dark) .gh .hp-card-a{ box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 45%, transparent), 2px 3px 0 color-mix(in srgb, var(--ink) 9%, transparent); }
.gh .hp-card-a:hover{ translate: 0 -4px; }
.gh .hp-card-a:focus-visible{ box-shadow: 0 0 0 3px var(--sp-focus), 0 10px 16px -10px oklch(0 0 0 / .75); }
html[data-spn-paused="true"] .gh .hp-card-a:hover{ translate: none; }
@media (prefers-reduced-motion: reduce) { .gh .hp-card-a:hover{ translate: none; } }
.gh .hp-card-g svg{ width: 22px; height: 22px; fill: none; stroke: var(--gh-pink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.gh .hp-card-q{ font: 750 15.5px/1.3 var(--font-ui); color: var(--gh-pink); }
.gh .hp-card-f{ font: 600 13px/1.35 var(--font-ui); color: var(--gh-pink-2); }
.gh .hp-card-go{ display: inline-flex; align-items: center; gap: 5px; margin-top: auto; padding-top: 4px; font: 700 13px/1 var(--font-ui); color: var(--gh-pink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: oklch(0.32 0.02 60 / .4); }
.gh .hp-card-go svg{ width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.gh .hp-card-n{ min-height: 0; background: var(--gh-paper-deep); }
html.dark .gh .hp-card-n{ background: oklch(0.78 0.03 82); }
.gh .hp-card-n:hover{ translate: none; }
.gh .hp-card-n a{ color: var(--gh-pink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
@media (max-width: 1080px){ .gh .hp-card-still{ grid-column: 1 / -1; } }
/* brass pins: true circles, never rotated out of round (the card rotates; the pin is drawn on top unrotated in shape) */
.gh .hp-pin{ position: absolute; z-index: 3; left: calc(50% - 7px); top: -6px; width: 14px; height: 14px; aspect-ratio: 1; border-radius: 50%; box-sizing: border-box;
  background: radial-gradient(circle at 38% 34%, oklch(0.92 0.06 86) 0 22%, oklch(0.70 0.08 78) 55%, oklch(0.48 0.06 70) 100%); box-shadow: 0 3px 3px -1px oklch(0 0 0 / .55); }
html:not(.dark) .gh .hp-pin{ background: oklch(0.85 0.07 82); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ink) 65%, transparent), 1px 2px 0 color-mix(in srgb, var(--ink) 15%, transparent); }
/* the promise: a printed notice, larger, with the one button */
.gh .hp-promise{ position: relative; align-self: start; padding: 22px 20px 18px; border-radius: 3px; color: var(--gh-pink);
  background: linear-gradient(180deg, var(--gh-paper-lit), var(--gh-paper)); box-shadow: 0 1px 0 var(--gh-paper-edge), 0 12px 18px -12px oklch(0 0 0 / .8); }
html.dark .gh .hp-promise{ background: linear-gradient(180deg, oklch(0.88 0.024 84), oklch(0.84 0.028 83)); }
html:not(.dark) .gh .hp-promise{ box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 45%, transparent), 2px 3px 0 color-mix(in srgb, var(--ink) 9%, transparent); }
.gh .hp-promise-k{ margin: 0 0 6px; font: 700 12px/1.3 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--gh-pink-3); }
.gh .hp-promise-w{ margin: 0 0 8px; font: 700 21px/1.3 var(--gh-serif); color: var(--gh-pink); }
.gh .hp-promise-p{ margin: 0 0 10px; font: 500 14px/1.5 var(--font-ui); color: var(--gh-pink-2); }
.gh .hp-promise-act[hidden]{ display: none; }
.gh .hp-send{ width: 100%; min-height: 48px; margin: 6px 0 10px; }
.gh .hp-mail, .gh .hp-promise a:not(.fk-btn){ color: var(--gh-pink); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* ---------------------------------------------------------------- under the board: the promise in full and the five answers */
.gh .hp-below{ display: grid; gap: 30px; margin-top: 34px; max-width: 840px; }
.gh .hp-sec p{ margin: 0 0 10px; font: 500 15.5px/1.6 var(--font-ui); color: var(--body); }
.gh .hp-sec a, .gh .hp-still a, .gh .hp-linkbtn{ color: var(--ink); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--ink) 40%, transparent); }
.gh .hp-sec a:hover, .gh .hp-still a:hover{ text-decoration-color: var(--sp-primary); }
.gh .hp-sec strong{ color: var(--ink); }
.gh .hp-big{ font: 700 19px/1.4 var(--font-ui) !important; color: var(--ink) !important; }
.gh .hp-muted{ color: var(--muted) !important; font-size: 14.5px !important; }
.gh .hp-answers{ display: grid; gap: 0; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--gh-row-edge); background: color-mix(in srgb, var(--ink) 2.5%, transparent); }
html:not(.dark) .gh .hp-answers{ background: oklch(1 0 0); }
.gh .hp-ans{ padding: 20px 22px; border-top: 1px solid var(--gh-line); scroll-margin-top: 90px; outline: none; transition: box-shadow .3s linear; }
.gh .hp-ans:first-child{ border-top: 0; }
.gh .hp-ans[data-lit]{ box-shadow: inset 3px 0 0 var(--ink); }
.gh .hp-ans h3{ display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font: 700 17px/1.3 var(--font-ui); color: var(--ink); }
.gh .hp-ans-g svg{ display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.gh .hp-ans-b p{ font-size: 15px; }
.gh .hp-go{ margin-top: 4px !important; }
.gh .hp-go a{ display: inline-flex; align-items: center; min-height: 44px; }
.gh .hp-still{ margin: 0; font: 500 15px/1.6 var(--font-ui); color: var(--body); }
.gh [data-hp-signed][hidden]{ display: none; }

/* ---------------------------------------------------------------- the sheets */
.gh .hp-kinds{ margin: 0 0 4px; padding: 0; border: 0; }
.gh .hp-kinds legend{ margin-bottom: 8px; font: 650 14px/1.3 var(--font-ui); color: var(--ink); }
.gh .hp-kinds .fk-seg{ flex-wrap: wrap; }
.gh .hp-fb{ display: grid; gap: 12px; }
.gh .hp-fb-act{ justify-content: flex-end; }
.gh .hp-fb-act .fk-btn{ min-height: 44px; }
.gh .hp-sent-w{ margin: 4px 0 10px; font: 650 17px/1.4 var(--font-ui); }
.gh .hp-sent-w .gh-tick{ font-size: 15px; padding: 6px 12px 6px 9px; }
.gh .hp-st-head{ display: flex; align-items: center; gap: 10px; margin: 0 0 6px; color: var(--ink); }
.gh .hp-st-hl{ margin: 0; font: 750 18px/1.3 var(--font-ui); color: var(--ink); }
.gh .hp-caveat{ margin: 8px 0 14px; padding: 12px 14px; border-radius: 12px; font: 500 14px/1.5 var(--font-ui); color: var(--ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 30%, transparent); }
.gh .hp-st-k{ margin: 16px 0 8px; font: 700 12px/1.3 var(--font-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.gh .hp-checks{ list-style: none; margin: 0; padding: 0; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--gh-row-edge); }
.gh .hp-check{ display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 4px 12px; align-items: start; padding: 12px 14px; border-top: 1px solid var(--gh-line); color: var(--ink); }
.gh .hp-check:first-child{ border-top: 0; }
.gh .hp-check .hp-dot{ margin-top: 4px; }
.gh .hp-check b{ font: 700 14.5px/1.35 var(--font-ui); }
.gh .hp-check p{ margin: 2px 0 0; font: 500 13.5px/1.45 var(--font-ui); color: var(--body); }
.gh .hp-check small{ display: block; margin-top: 3px; font: 500 12.5px/1.3 var(--font-ui); color: var(--muted); }
.gh .hp-check-w{ font: 700 13.5px/1.35 var(--font-ui); white-space: nowrap; }
.gh .hp-check[data-state="down"] .hp-check-w{ color: var(--gh-rose-ink); }
.gh .hp-not{ margin: 0 0 12px 18px; padding: 0; display: grid; gap: 6px; font: 500 14px/1.5 var(--font-ui); color: var(--body); }
.gh .hp-not b{ color: var(--ink); }
.gh .hp-note-posted{ margin: 10px 0; padding: 12px 14px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--gh-rose-edge); background: var(--gh-rose-wash); }
.gh .hp-note-posted[hidden]{ display: none; }
.gh .hp-note-posted .hp-st-k{ margin-top: 0; color: var(--gh-rose-ink); }
.gh .hp-note-posted .hp-p{ color: var(--ink); }
.gh .hp-linkbtn{ border: 0; padding: 0; background: none; font: inherit; cursor: pointer; }
.gh .hp-table{ width: 100%; border-collapse: collapse; margin: 6px 0 14px; font: 500 14px/1.3 var(--font-ui); color: var(--ink); }
.gh .hp-table th, .gh .hp-table td{ padding: 9px 10px; border-top: 1px solid var(--gh-line); text-align: right; font-variant-numeric: tabular-nums; }
.gh .hp-table th[scope="row"], .gh .hp-table thead th:first-child{ text-align: left; font-weight: 600; }
.gh .hp-table thead th{ border-top: 0; font: 700 12px/1.2 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------------------------------------------------------------- narrower */
@media (max-width: 1080px){
  .gh .hp-cork{ grid-template-columns: minmax(0, 1fr); }
  .gh .hp-promise{ order: -1; }
  .gh .hp-cards{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px){
  .gh-help{ padding: calc(var(--spn-th-h, 92px) + 16px) 16px 48px; }
  .gh .hp-h1{ font-size: 27px; }
  .gh .hp-lede{ font-size: 15px; }
  .gh .hp-board-wrap{ padding: 16px 10px 14px; border-radius: 16px; margin-top: 18px; }
  .gh .hp-lamp, .gh .hp-pool{ display: none; }
  .gh .hp-board{ padding: 8px; }
  .gh .hp-rail{ flex-direction: column; align-items: stretch; }
  .gh .hp-cork{ padding: 14px 10px; gap: 14px; }
  .gh .hp-cards{ grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .gh .hp-card{ rotate: none; }
  .gh .hp-card-a{ min-height: 0; grid-template-columns: 26px minmax(0, 1fr); column-gap: 10px; padding: 16px 14px 12px; }
  .gh .hp-card-g{ grid-row: 1 / span 3; }
  .gh .hp-card-a.hp-card-n{ grid-template-columns: minmax(0, 1fr); }
  .gh .hp-promise-w{ font-size: 19px; }
  .gh .hp-ans{ padding: 16px 14px; }
}

/* ==== run 29 (port note) ==== */
/* run 29 · port note · the promise heading read Georgia (the mock-up's --gh-serif fallback); every other room sets its serif in the brand face the frame declares (--r31-read, Newsreader) */
.gh .hp-promise-w{ font-family: var(--r31-read, 'Newsreader 2', 'Newsreader', Georgia, serif); }

/* ==== r21-foot (walk-r21) ==== */
/* round 21 (ruling r21-3): the page carries its own ACER line, so the app's footer steps aside under it, as on Essay */
[data-liquid] .liquid-shell-main:has(.gh-help) > .liquid-trust{ display: none; }
/* r21 foot (walk-r21/help/_src/r21.css) */
.gh .r21-foot{ margin: 34px 0 44px; padding-top: 18px; border-top: 1px solid var(--gh-line); max-width: 64ch; }
.gh .r21-foot p{ margin: 0; font: 500 13px/1.5 var(--font-ui); color: var(--body); }


/* ---------------------------------------------------------------- the token bridge (run 1): the mock-up's shell tokens are the app's --spn-* (same values) */
[data-liquid] {
  --sp-page: var(--spn-page); --sp-card: var(--spn-card); --sp-raised: var(--spn-raised); --sp-wash: var(--spn-wash);
  --sp-ink: var(--spn-ink); --sp-body: var(--spn-body); --sp-muted: var(--spn-muted); --sp-line: var(--spn-line);
  --sp-primary: var(--spn-primary); --sp-sign: var(--spn-sign); --sp-focus: var(--spn-focus); --sp-well: var(--spn-well);
  --sp-spec: var(--spn-spec); --sp-shade: var(--spn-shade); --sp-contact: var(--spn-contact); --sp-gutter: var(--spn-gutter);
  --sp-ground: var(--spn-ground); --sp-font: var(--spn-font); --sp-action: var(--spn-action, linear-gradient(110deg, var(--spn-primary), var(--spn-primary)));
  --sp-edge: var(--spn-edge); --sp-opaque: var(--spn-opaque); --sp-on-action: var(--spn-on-action, #fff);
  --r7-12: 12px; --r7-14: 14px; --r7-16: 16px; --r7-20: 20px; --r7-30: 30px;
  --r7-w-read: 400; --r7-w-body: 500; --r7-w-label: 650; --r7-w-title: 760;
  --r7-ui: var(--sp-font); --r7-serif: 'Newsreader', 'Newsreader Fallback', Georgia, serif;
  --sp-dock-h: 56px;                                           /* walk/shared/spine.css l.56 (the app's phone dock) */
  /* r1-kit.css §0 "MISSING TOKEN": the action's two stops (the app declares them only under [data-r1-kit]); the same two colours, in oklch */
  --action-violet: oklch(0.4650 0.2261 294.48); --action-indigo: oklch(0.4581 0.1525 276.77);
}
/* spine.css §15 · her reading material is serif */
:where([data-reading]:not([data-reading="sans"])) { font-family: var(--r7-serif); font-weight: var(--r7-w-read); }
/* spine.css §14b · the phone action bar (its pin is components/essay/v2/small/actbar.ts) */
.sp-actbar-l { font: 600 12px/1.3 var(--sp-font); color: var(--sp-muted); font-variant-numeric: tabular-nums; }
@media (max-width: 767px) {
  .sp-actbar[data-sp-actbar-pinned] {
    position: fixed; z-index: 60; left: 10px; right: 10px; bottom: calc(var(--sp-dock-h) + env(safe-area-inset-bottom, 0px) + 8px);
    display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; margin: 0; padding: 8px; box-sizing: border-box;
    border: 1px solid var(--sp-line); border-radius: 18px; background: var(--sp-card);
    box-shadow: inset 1px 1px 0 var(--sp-spec), 0 -1px 0 color-mix(in srgb, var(--sp-ink) 6%, transparent), 0 12px 28px -10px rgba(0, 0, 0, .55);
  }
  /* r7 kit fix (7 Oct): a neutral ink shadow (chroma ≈ 0); the old rgba(34, 20, 70, .35) at 20 px read as violet smoke to Spine.audit (hue 257) at 375 light */
  html:not(.dark) .sp-actbar[data-sp-actbar-pinned] { box-shadow: 0 1px 1px oklch(0.2 0.004 290 / .12), 0 8px 20px -10px oklch(0.2 0.004 290 / .38); }
  .sp-actbar[data-sp-actbar-pinned] > :is(a, button):not(.sp-actbar-l) { flex: 1 1 auto; min-height: 48px; margin: 0; }
  .sp-actbar[data-sp-actbar-pinned] .sp-actbar-l { flex: 0 1 auto; max-width: 34%; padding-left: 6px; }
  /* the page's last words stay above the bar */
  html[data-sp-actbar-on] .spine-page { padding-bottom: calc(var(--sp-dock-h) + env(safe-area-inset-bottom, 0px) + var(--sp-actbar-h, 64px) + 16px); }
      /* no dock under a door or setup page */
  /* a running clock hides the dock (C9): the bar sits on the edge */
  html:is(.r1k-clock-running, :has([data-clock-running="true"]), :has([data-pr-focus="set"])) .sp-actbar[data-sp-actbar-pinned] { bottom: calc(env(safe-area-inset-bottom, 0px) + 10px); }
}
/* the why sheet lives on <body>, outside the shell's [data-liquid]: it carries the same tokens itself */
.why-sheet, .why-btn {
  /* shell inks and glass (light, the default) */
  --spn-page: #F7F5FC; --spn-card: #FFFFFF; --spn-raised: #EEE8F6; --spn-wash: #EDE4FF;
  --spn-ink: #211B37; --spn-body: #4A4560; --spn-muted: #655E79; --spn-line: #DDD5E8;
  --spn-primary: #6824C7; --spn-sign: #211B37; --spn-lit: #211B37; --spn-focus: #6824C7;
  --spn-well: #FFFFFF; --spn-opaque: #F4EFF9; --spn-edge: #D1CBE5;
  /* the ONE ground: every world stands on it by day (near-white, a 2 % violet tint) */
  --spn-ground: #F7F5FC;
  /* the Colonnade's light */
  --spn-door-light: #211B37; --spn-door-soft: #CBC7D3; --spn-door-pale: #E7E4EC;
  --spn-font: var(--font-ui, 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif);
  --spn-pill-bg: rgba(255, 255, 255, .94);
  --spn-spec: rgba(255, 255, 255, 1);               /* glass reads by its edges */
  --spn-shade: rgba(34, 20, 70, .14);               /* … and a darker edge bottom-right */
  --spn-contact: 0 1px 1px rgba(34, 20, 70, .10), 0 2px 5px -2px rgba(34, 20, 70, .22);
  --spn-gutter: 48px;
  --spn-hgap: 12px;                                 /* the gap between the row's pieces */
  --spn-th-h: 56px;                                 /* pages pad their first words below this */

  /* section colours (SPINE §4) */
  --sec-1: #A8338E;    /* Section I · the Gallery (orchid) */
  --sec-2: #6824C7;    /* Section II · the Studio (violet = --primary) */
  --sec-3: #2F6ABF;    /* Section III · the Lab (cobalt) */
  --sec-on: #FFFFFF;   /* numerals on a filled section body */
  --sec-wash-mix: 12%;
  --sec-room-mix: 16%;

  /* gold is EARNED ONLY: light is ink on a paper plate, never a glow */
  --spn-gold: #85601F; --spn-gold-plate: #FFF5DC; --spn-gold-edge: #C9A55A;

  /* the derived tokens resolve where they are declared */
  --sec-1-wash: color-mix(in oklch, var(--sec-1) var(--sec-wash-mix), transparent);
  --sec-2-wash: color-mix(in oklch, var(--sec-2) var(--sec-wash-mix), transparent);
  --sec-3-wash: color-mix(in oklch, var(--sec-3) var(--sec-wash-mix), transparent);
  --sec-1-room: color-mix(in oklch, var(--sec-1) var(--sec-room-mix), transparent);
  --sec-2-room: color-mix(in oklch, var(--sec-2) var(--sec-room-mix), transparent);
  --sec-3-room: color-mix(in oklch, var(--sec-3) var(--sec-room-mix), transparent);
  --sec-1-rim: var(--sec-1); --sec-2-rim: var(--sec-2); --sec-3-rim: var(--sec-3);
  --sec-1-deep: color-mix(in oklch, var(--sec-1) 35%, #08070C);
  --sec-2-deep: color-mix(in oklch, var(--sec-2) 35%, #08070C);
  --sec-3-deep: color-mix(in oklch, var(--sec-3) 35%, #08070C);
  /* I·III: two-tone, a hard stop, never a smeared gradient */
  --sec-13: linear-gradient(90deg, var(--sec-1) 0 50%, var(--sec-3) 50% 100%);
}
html.dark :is(.why-sheet, .why-btn) {
  --spn-page: #08070C; --spn-card: #17131F; --spn-raised: #231A30; --spn-wash: #31203F;
  --spn-ink: #F5F1FA; --spn-body: #DDD5E7; --spn-muted: #B6ABC6; --spn-line: #40324F;
  --spn-primary: #BC94FF; --spn-sign: oklch(0.80 0.09 84); --spn-lit: oklch(0.80 0.09 84); --spn-focus: #CCACFF;
  --spn-well: #100D17; --spn-opaque: #1D1527; --spn-edge: #564366;
  --spn-ground: #08070C;
  --spn-door-light: #F2EEF8; --spn-door-soft: #D9D5E0; --spn-door-pale: #ECE8F1;
  --spn-pill-bg: rgba(23, 19, 31, .90);
  --spn-spec: rgba(230, 206, 255, .20);
  --spn-shade: rgba(0, 0, 0, .55);
  --spn-contact: 0 1px 0 rgba(0, 0, 0, .5), 0 6px 16px -8px rgba(0, 0, 0, .8);

  --sec-1: #DC73C1;    /* dark: light, not ink */
  --sec-2: #BC94FF;
  --sec-3: #A2C7F8;
  --sec-on: #120E1A;
  --sec-wash-mix: 22%;
  --sec-room-mix: 38%; /* rooms, floors and buildings at rest read in their own hue */

  --spn-gold: #EAC862; --spn-gold-plate: transparent; --spn-gold-edge: #EAC862;
}
:is(.why-sheet, .why-btn) {
  --sp-page: var(--spn-page); --sp-card: var(--spn-card); --sp-raised: var(--spn-raised); --sp-ink: var(--spn-ink); --sp-body: var(--spn-body);
  --sp-muted: var(--spn-muted); --sp-primary: var(--spn-primary); --sp-focus: var(--spn-focus); --sp-font: var(--spn-font);
  --r7-12: 12px; --r7-14: 14px; --r7-16: 16px; --r7-20: 20px; --r7-w-body: 500; --r7-w-label: 650; --r7-w-title: 760; --r7-ui: var(--sp-font);
}

/* ---------------------------------------------------------------- the page's own tokens (run 2, w10 fix 2): the walk's base names on the root (the shell's --spn-* come from spine-shell.css through the layout's [data-liquid] wrapper) */
/* the walk's old Liquid base (legacy-liquid.css values and its element rules), on the [data-liquid] element, where the mock-up has them (the form kit's --fk-on-action reads --on-action THERE, not on the root): the sheets read these bare */
[data-liquid] { --page: #F7F5FC; --ink: #211B37; --body: #4A4560; --muted: #655E79; --card: #FFFFFF; --focus: #6824c7; --ease: cubic-bezier(.22,1,.36,1); --gradient-action: linear-gradient(110deg,#6824C7,#4549AA); --on-action: #FFFFFF; --ease-draw: cubic-bezier(.65,0,.35,1); --focus-width: 3px; --focus-offset: 4px; --weight-heading: 600; --type-body: 16px; --type-heading: 22px; --type-subheading: 18px; --font-ui: var(--font-schibsted, 'Schibsted Grotesk'), 'Schibsted Grotesk Fallback', Arial, sans-serif; --font-numeral: var(--font-ui); --spine-ease: cubic-bezier(.3, .6, .2, 1); color: var(--ink); font-family: var(--font-ui); }
html.dark [data-liquid] { --page: #08070C; --ink: #F5F1FA; --body: #DDD5E7; --muted: #B6ABC6; --card: #17131F; --focus: #CCACFF; --ease: cubic-bezier(.22,1,.36,1); --gradient-action: linear-gradient(110deg,#6824C7,#4549AA); --on-action: #FFFFFF; }
.gh-help, [data-liquid] *:where(.gh-help *) { box-sizing: border-box; }
[data-liquid] :is(button, input, select, textarea):where(.gh-help *) { font: inherit; }
[data-liquid] :is(button, a):where(.gh-help *) { -webkit-tap-highlight-color: transparent; }
[data-liquid] button:where(.gh-help *) { cursor: pointer; }
[data-liquid] a:where(.gh-help *) { color: inherit; text-decoration: none; }
[data-liquid] button:disabled:where(.gh-help *) { cursor: not-allowed; }
[data-liquid] :is(button, summary, a):where(.gh-help *) { touch-action: manipulation; }
[data-liquid] :is(button, a, summary, input, select, textarea):focus-visible:where(.gh-help *) { outline: var(--focus-width) solid var(--focus); outline-offset: var(--focus-offset); }
[data-liquid] [hidden]:where(.gh-help *) { display: none !important; }
[data-liquid] :is(h1, h2, h3, p):where(.gh-help *) { margin: 0; }
[data-liquid] :is(h1, h2, h3):where(.gh-help *) { font-weight: var(--weight-heading); letter-spacing: -.02em; }
[data-liquid] h2:where(.gh-help *) { font-size: var(--type-heading); line-height: 1.2; }
[data-liquid] h3:where(.gh-help *) { font-size: var(--type-subheading); line-height: 1.35; }
[data-liquid] p:where(.gh-help *) { font-size: var(--type-body); line-height: 1.6; color: var(--body); }

/* ---------------------------------------------------------------- the beat engine (run 1; PORT-CONTRACT §4): r1-kit.js's arrival as CSS.
   The server writes data-r1-beat="<kind>" and --r1-at; fill mode BACKWARDS holds the first frame until --r1-at and lets go at the end (every keyframe set is a from-only set, so the
   end is the element's own style). Never both or forwards: a finished-but-held transform animation makes its element the containing block
   of every position:fixed descendant, and the phone action bar (a fixed bar inside a beat) then sits mid-page instead of on the screen's edge. Played on a cold load
   only (a page entered by a move rests; the spine's sheet lands its data-spn-land words). Nothing loops. */
:where(.gh-help [data-r1-beat]) { --r1-dur: .7s; --r1-curve: var(--ease, cubic-bezier(.22, 1, .36, 1)); }
:where(.gh-help [data-r1-beat="fade"]) { --r1-dur: .5s; --r1-curve: linear; }
:where(.gh-help [data-r1-beat="draw"]) { --r1-dur: 1.3s; --r1-curve: var(--ease-draw, cubic-bezier(.65, 0, .35, 1)); }
:where(.gh-help [data-r1-beat="grow"]) { --r1-dur: 1.2s; --r1-curve: var(--ease-draw, cubic-bezier(.65, 0, .35, 1)); transform-origin: var(--r1-origin, 0 50%); }
:where(.gh-help [data-r1-beat="grow-y"]) { --r1-dur: .6s; transform-origin: var(--r1-origin, 50% 100%); }
:where(.gh-help [data-r1-beat="pop"]) { --r1-dur: .5s; transform-origin: var(--r1-origin, 50% 50%); }
:where(.gh-help svg [data-r1-beat]) { transform-box: fill-box; }
@keyframes r1k-rise   { from { opacity: 0; transform: translateY(14px); } }
@keyframes r1k-fade   { from { opacity: 0; } }
@keyframes r1k-grow   { from { transform: scaleX(0); } }
@keyframes r1k-grow-y { from { transform: scaleY(0); } }
@keyframes r1k-pop    { from { opacity: 0; transform: scale(.6); } }
@keyframes r1k-draw   { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: no-preference) {
  html:not(.spn-continued):not([data-spn-paused="true"]) .gh-help [data-r1-beat] { animation-duration: var(--r1-dur); animation-timing-function: var(--r1-curve); animation-delay: var(--r1-at, 0ms); animation-fill-mode: backwards; animation-iteration-count: 1; }
  html:not(.spn-continued):not([data-spn-paused="true"]) .gh-help [data-r1-beat="rise"]   { animation-name: r1k-rise; }
  html:not(.spn-continued):not([data-spn-paused="true"]) .gh-help [data-r1-beat="fade"]   { animation-name: r1k-fade; }
  html:not(.spn-continued):not([data-spn-paused="true"]) .gh-help [data-r1-beat="grow"]   { animation-name: r1k-grow; }
  html:not(.spn-continued):not([data-spn-paused="true"]) .gh-help [data-r1-beat="grow-y"] { animation-name: r1k-grow-y; }
  html:not(.spn-continued):not([data-spn-paused="true"]) .gh-help [data-r1-beat="pop"]    { animation-name: r1k-pop; }
  html:not(.spn-continued):not([data-spn-paused="true"]) .gh-help [data-r1-beat="draw"]   { animation-name: r1k-draw; stroke-dasharray: 1 1; }
}

/* ---------------------------------------------------------------- THE APP SEAM (run 1 · rooms): the page owns the full width of <main>, as the mock's .spine-page does in its .spine-main */
[data-liquid] .liquid-shell-main:has(.gh-help) { padding: 0; }
[data-liquid] .liquid-shell-main:has(.gh-help) > *, [data-liquid] .liquid-shell-main:has(.gh-help) > [data-liquid-motion-scope] > * { max-width: none; margin-inline: 0; }
[data-liquid] .liquid-shell-main:has(.gh-help) > .liquid-trust { padding-inline: var(--spn-gutter); }
