/* ═══════════════════════════════════════════════════
   JACQUARD DESIGN SYSTEM — Design Tokens
   Version 5.4.0 · generated at build time
   ═══════════════════════════════════════════════════
   GENERATED FROM /tokens by `npm run build:tokens`.
   Do not edit by hand — your changes will be overwritten.
   ═══════════════════════════════════════════════════

   @font-face rules live in src/css/fonts.css — import that
   alongside tokens.css to load the Syne / DM Sans variable fonts.
   The --ff-* family tokens below reference them by name only. */

:root {
  /* ── Brand (theme) ── */
  --color-theme-100: #dfddf6;
  --color-theme-500: #8080e0;
  --color-theme-700: #4845b5;

  /* ── Status Colours ── */
  --color-error-100: #fcdfe4;
  --color-error-500: #af6a73;
  --color-error-700: #a54855;
  --color-warning-100: #fdf0c8;
  --color-warning-500: #a07900;
  --color-warning-700: #8c6800;
  --color-info-100: #d8eaf8;
  --color-info-500: #6082a4;
  --color-info-700: #286ca6;
  --color-success-100: #d4f2e6;
  --color-success-500: #468b71;
  --color-success-700: #027959;

  /* ── Neutrals ── */
  --color-neutral-0: #f8fcff;
  --color-neutral-100: #f8f8f9;
  --color-neutral-200: #eaebef;
  --color-neutral-300: #dddfe5;
  --color-neutral-400: #bfc1c6;
  --color-neutral-500: #a4a7b0;
  --color-neutral-600: #84868d;
  --color-neutral-700: #656870;
  --color-neutral-800: #3d4047;
  --color-neutral-900: #1a1b20;
  --color-neutral-1000: #010103;

  --color-rule: #c5c7cd;

  /* ── Semantic foregrounds ── */
  --fg-1: var(--color-neutral-900);
  --fg-2: var(--color-neutral-700);
  --fg-3: var(--color-neutral-500);
  --fg-brand: var(--color-theme-700);
  --fg-on-dark: var(--color-neutral-100);
  --fg-code: var(--color-theme-700);

  /* ── Semantic surfaces (opaque) ── */
  /*
   * Surface ramp — 3 tiers, lighting from above (ADR-009).
   *   --surface-0  ground / page background.            DARKEST.
   *                 Also: sunken / inset content (form fields, inputs, code blocks)
   *                 inside a raised container — the "punched into the card" look.
   *   --surface-1  raised cards, panels, AND modal/sheet panels.
   *                 Modals do NOT escalate to a brighter surface — the scrim on
   *                 the layer beneath provides the elevation signal. Stacking a
   *                 modal on surface-2 would double-count the lift.
   *   --surface-2  floating + nested-content surface.   LIGHTEST.
   *                 Use for (a) detached floating elements (popovers, dropdowns,
   *                 menus, tooltips) regardless of where they appear; (b) nested
   *                 content blocks (callouts, sub-cards, summary chips) sitting on
   *                 top of a surface-1 card.
   *   --surface-inverse  high-contrast inverted surface (e.g., system overlays).
   */
  --surface-0: var(--color-neutral-300);
  --surface-1: var(--color-neutral-200);
  --surface-2: var(--color-neutral-100);
  --surface-above: var(--color-neutral-0);
  --surface-below: var(--color-neutral-400);
  --surface-inverse: var(--color-neutral-900);

  /* ── Role tokens (Tier 3.5 — ADR-029) ── */
  /*
   * Layer-aware role tokens. Container primitives (Card, Modal, Popover,
   * Menu, Tooltip) redeclare these for their subtree so descendants paint
   * against the correct surface without hard-coding --surface-N. Adopters
   * override role tokens at any selector scope.
   *   --layer          current container bg (defaults to ground / --surface-0).
   *                    Card scope → --surface-1; Popover/Menu scope → --surface-2.
   *   --layer-container surface a container PRIMITIVE paints (Card, Panel, Modal
   *                    sheet) when it sits on the current --layer. Defaults to
   *                    --surface-1 — lifts one tier above --layer. Distinct from
   *                    --layer-elevated (which is the brighter in-layer affordance
   *                    tier used by hover bgs / active pills). Inside a Card,
   *                    --layer-container re-resolves to --surface-2 so a nested
   *                    Card lifts; inside a Modal sheet / Popover, re-resolves to
   *                    the color-mix overlay (3-tier ramp has no surface-3). Added
   *                    by the ADR-029 2026-05-21 amendment to fix the v5.1.0 Card
   *                    cascade-collapse bug.
   *   --layer-elevated surface used to elevate a control above --layer
   *                    (e.g., Card interactive-hover bg). Defaults to --surface-2.
   *                    Container scopes (Card, Modal sheet, Popover, Menu) override
   *                    to --surface-above (ADR-037) — the real top-tier sentinel
   *                    shipped in the v5.4 11-tier ladder — restoring lift = brighter
   *                    in both themes (replaced the old theme-flipping color-mix overlay).
   *   --layer-recess   ADR-042 (finalized; was the #126 prototype). Symmetric mirror to
   *                    --layer-elevated — surface a primitive paints to recess
   *                    its content one tier BELOW the current --layer. :root
   *                    default is a color-mix(--surface-0 88%, --on-layer 12%)
   *                    overlay (hand-emitted below). Dark mode mixes toward
   *                    black instead because --on-layer is light in dark mode.
   *                    Per-container "one tier below" table (post-#195 paint
   *                    tiers — the v5.2.1 HOTFIX moved Card/Panel role-token
   *                    redeclarations to descendant scope, so both now paint
   *                    --surface-1 via inherited :root --layer-container, not
   *                    --surface-2 via same-element override):
   *                      :root            (--layer=--surface-0) → recess overlay
   *                      .j-card          (--layer=--surface-1) → --surface-0
   *                      .j-panel         (--layer=--surface-1) → --surface-0
   *                      .j-popover       (--layer=--surface-2) → --surface-1
   *                      .j-menu          (--layer=--surface-2) → --surface-1
   *                      .j-modal-sheet   (--layer=--surface-1) → --surface-0
   *                    First adopter: Segmented control tray.
   *   --field-bg          form input bg. v5.1 default = --surface-2 (floating
   *                       tier — bare Field pops above the --surface-0 page
   *                       bg). Restores the ADR §1 contract; v5.0.1 hardcoded
   *                       --surface-0 which collapsed against the page surface.
   *                       Card / Modal scope → --surface-0 (recessed below the
   *                       surface-1 container); Popover / Menu scope →
   *                       --surface-1 (recessed below the floating panel).
   *   --field-bg-disabled disabled form input bg. v5.1 default =
   *                       --color-neutral-100 (preserves v5.0.1 visual). Card /
   *                       Modal / Popover / Menu scope → color-mix(--field-bg
   *                       88%, --on-layer 12%) so disabled fields never collide
   *                       with --surface-1 (the dark-mode Card bg).
   *   --rule-on-layer     divider / border visible on the current layer.
   *                       Container scope → color-mix(--layer 80%, --on-layer
   *                       20%) per ADR-029 v5.1 amendment.
   *   --on-layer          primary fg on the layer (text / icons).
   *   --on-layer-2        secondary fg on the layer (muted text / minor icons).
   *                       Modal-sheet scope → --fg-1 (stronger, required for
   *                       the close-button contrast fix).
   *   --hover-on-layer    hover bg derived from --layer + --on-layer via
   *                       color-mix (15% recipe per ADR-029 §1).
   *   --on-layer-3        tier-3 fg on the layer — dimmer than --on-layer-2.
   *                       Used for subtle on-surface affordances (drag handles,
   *                       secondary metadata). Derived from --on-layer at 30%
   *                       via color-mix so container --on-layer overrides re-tone
   *                       tier-3 automatically.
   * v5.1 shipped a partial kit.css sweep — see ADR-029 shipped-state record.
   * The remaining consumer sweep + Tier-3-retargeting codemod is governed
   * by the latest ADR-029 migration amendment.
   */
  --layer: var(--surface-0);
  --layer-container: var(--surface-1);
  --layer-elevated: var(--surface-2);
  --layer-recess: var(--surface-0);
  --field-bg: var(--surface-2);
  --field-bg-disabled: var(--color-neutral-200);
  --rule-on-layer: var(--color-rule);
  --on-layer: var(--fg-1);
  --on-layer-2: var(--fg-2);

  /* ── Fonts ── */
  --font-display: Syne, ui-sans-serif, system-ui, sans-serif;
  --font-body: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* ── Tracking (letter-spacing) ── */
  --track-display: -0.03em;
  --track-heading: -0.02em;
  --track-compact: -0.01em;
  --track-label: 0.12em;
  --track-label-loose: 0.2em;

  /* ── Spacing (4px base) ── */
  --sp-zero: 0;
  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-sm-p: 12px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 32px;
  --sp-2xl: 40px;
  --sp-3xl: 48px;
  --sp-4xl: 60px;

  /* ── Semantic spacing ── */
  --page-margin: 20px;
  --section-top-pad: var(--sp-xl);
  --section-gap: var(--sp-xl);
  --grid-gap: 6px;

  /* ── Corner Radii ── */
  --r-mini: 1px;
  --r-micro: 2px;
  --r-tiny: 4px;
  --r-checkbox: 6px;
  --r-compact: 8px;
  --r-image: 10px;
  --r-control: 12px;
  --r-button: 14px;
  --r-card: 18px;
  --r-sheet: 28px;
  --r-pill: 100px;

  /* ── Elevation ── */
  --shadow-rest: 0 1px 3px rgba(26, 27, 32, 0.06), 0 1px 2px rgba(26, 27, 32, 0.04);
  --shadow-floating: 0 4px 12px rgba(26, 27, 32, 0.08), 0 2px 4px rgba(26, 27, 32, 0.04);
  --shadow-fab-hover: 0 6px 16px rgba(26, 27, 32, 0.1), 0 3px 6px rgba(26, 27, 32, 0.06);
  --shadow-modal: 0 12px 32px rgba(26, 27, 32, 0.14), 0 4px 8px rgba(26, 27, 32, 0.06);
  --shadow-thumb: 0 1px 2px rgba(26, 27, 32, 0.08), 0 1px 1px rgba(26, 27, 32, 0.04);

  /* ── Motion ── */
  --ease-snap: cubic-bezier(0.2, 0.8, 0.3, 1);
  --ease-out: cubic-bezier(0.2, 0.6, 0.3, 1);
  --ease-inout: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-decelerate: cubic-bezier(0.2, 0, 0, 1);
  --dur-micro: 60ms;
  --dur-pop: 100ms;
  --dur-quick: 150ms;
  --dur-standard: 200ms;
  --dur-breathe: 300ms;
  --dur-settle: 450ms;
  --dur-celebrate: 600ms;

  /* ── Semantic motion (ADR-010) ── */
  --motion-feedback-button-press: var(--dur-micro);
  --motion-feedback-switch-flip: var(--dur-pop);
  --motion-feedback-field-focus: var(--dur-micro);
  --motion-feedback-field-success: var(--dur-pop);
  --motion-feedback-focus-ring: var(--dur-micro);
  --motion-feedback-confidence: var(--dur-breathe);
  --motion-feedback-segmented-slide: var(--dur-quick);
  --motion-feedback-fab-hover: var(--dur-quick);
  --motion-feedback-hover: var(--dur-quick);
  --motion-feedback-state: var(--dur-pop);
  --motion-layout-list-reorder: var(--dur-standard);
  --motion-layout-page-transition: var(--dur-standard);
  --motion-layout-skeleton-morph: var(--dur-breathe);
  --motion-layout-fab-scroll-hide: var(--dur-quick);
  --motion-transition-modal-enter: var(--dur-standard);
  --motion-transition-modal-exit: var(--dur-quick);
  --motion-transition-toast-enter: var(--dur-quick);
  --motion-transition-toast-exit: var(--dur-quick);
  --motion-transition-popover-enter: var(--dur-quick);
  --motion-transition-popover-exit: var(--dur-micro);
  --motion-transition-sheet-present: var(--dur-settle);
  --motion-transition-sheet-dismiss: var(--dur-breathe);
  --motion-celebrate-success: var(--dur-celebrate);
  --motion-celebrate-milestone: var(--dur-celebrate);
  --motion-celebrate-onboarding-step: var(--dur-celebrate);
  --motion-celebrate-confidence: var(--dur-breathe);
  --motion-physics-drag-pickup: var(--dur-pop);
  --motion-physics-drag-drop: var(--dur-breathe);

  /* ── Opacity tokens ── */
  --op-wash: 0.08;
  --op-tint: 0.1;
  --op-pressed: 0.16;
  --op-faded: 0.3;
  --op-muted: 0.32;
  --op-scrim: 0.4;
  --op-secondary: 0.56;
  --op-dimmed: 0.7;
  --op-press-fb: 0.75;
  --op-prominent: 0.8;

  /* ── Control sizes ── */
  --touch-min: 44px;
  --touch-compact: 32px;
  --touch-large: 56px;
  --fab: 52px;
  --switch-track-w: 48px;
  --switch-track-h: 28px;
  --switch-thumb: 22px;
  --checkbox-sz: 20px;

  /* ── Z-index scale ── */
  --z-fab: 50;

  /* ── Type sizes ── */
  --type-display: 80px;
  --type-title: 28px;
  --type-heading: 20px;
  --type-compact: 18px;
  --type-small: 13px;
  --type-eyebrow: 12px;
  --type-body: 15px;
  --type-compact-body: 14px;
  --type-caption: 12px;
  --type-label: 11px;
  --type-micro: 10px;
  --type-nano: 9px;

  /* ── Line height ── */
  --lh-display: 0.95;
  --lh-tight: 1;
  --lh-prose-title: 1.05;
  --lh-title: 1.1;
  --lh-heading: 1.2;
  --lh-compact: 1.25;
  --lh-small: 1.3;
  --lh-field: 1.4;
  --lh-caption: 1.5;
  --lh-dense: 1.55;
  --lh-compact-body: 1.6;
  --lh-body: 1.7;
  --lh-prose: 1.75;

  /* ── Semantic typography (ADR-013 §7 — composite bundles) ── */
  /*
   * One bundle per ramp slot (10 slots × 5 properties = 50 vars). Each slot
   * composes font + size + weight + line-height + tracking. Components
   * consume --type-<slot>-{family,size,weight,line-height,tracking} instead
   * of reference-tier --font-N / --type-N / --lh-N / --track-N directly.
   * v5.0 committed this tier under tokens/semantic/; PR (memo Path A,
   * 2026-05-21) closed the load-bearing gap so the ADR-013 §3 lint rule
   * ("primitive access in components = lint error") can be enforced.
   * Slot names mirror ADR-013 §1 ramp + Z1 tokens-contract Z1_TOKENS:
   *   display, title, heading, subheading, body, eyebrow, label,
   *   caption, micro, code.
   * fontWeight tokens emit as raw integers (no foundation weight ramp);
   * tracking emits as em literal or {track.N} ref per ADR-013 §1 ramp table.
   */
  --type-display-family: var(--font-display);
  --type-display-size: var(--type-display);
  --type-display-weight: 800;
  --type-display-line-height: var(--lh-display);
  --type-display-tracking: var(--track-display);
  --type-title-family: var(--font-display);
  --type-title-size: var(--type-title);
  --type-title-weight: 800;
  --type-title-line-height: var(--lh-title);
  --type-title-tracking: var(--track-heading);
  --type-heading-family: var(--font-body);
  --type-heading-size: var(--type-heading);
  --type-heading-weight: 600;
  --type-heading-line-height: var(--lh-heading);
  --type-heading-tracking: var(--track-heading);
  --type-subheading-family: var(--font-body);
  --type-subheading-size: var(--type-compact);
  --type-subheading-weight: 500;
  --type-subheading-line-height: var(--lh-compact);
  --type-subheading-tracking: var(--track-compact);
  --type-body-family: var(--font-body);
  --type-body-size: var(--type-body);
  --type-body-weight: 400;
  --type-body-line-height: var(--lh-body);
  --type-body-tracking: 0em;
  --type-eyebrow-family: var(--font-body);
  --type-eyebrow-size: var(--type-eyebrow);
  --type-eyebrow-weight: 500;
  --type-eyebrow-line-height: var(--lh-small);
  --type-eyebrow-tracking: 0.08em;
  --type-label-family: var(--font-body);
  --type-label-size: var(--type-label);
  --type-label-weight: 500;
  --type-label-line-height: var(--lh-field);
  --type-label-tracking: 0em;
  --type-caption-family: var(--font-body);
  --type-caption-size: var(--type-caption);
  --type-caption-weight: 400;
  --type-caption-line-height: var(--lh-caption);
  --type-caption-tracking: 0em;
  --type-micro-family: var(--font-body);
  --type-micro-size: var(--type-micro);
  --type-micro-weight: 400;
  --type-micro-line-height: var(--lh-caption);
  --type-micro-tracking: 0em;
  --type-code-family: var(--font-mono);
  --type-code-size: var(--type-body);
  --type-code-weight: 400;
  --type-code-line-height: var(--lh-body);
  --type-code-tracking: 0em;

  /* ── Border widths ── */
  --bw-hairline: 1px;
  --bw-standard: 2px;
  --bw-selection: 2px;

  /* ── Layer / surface bounds ── */
  --max-modal-width: 720px;

  /* ── Breakpoints (ADR-011; PostCSS @custom-media resolves these) ── */
  --bp-xs: 480px;
  --bp-sm: 640px;
  --bp-md: 768px;
  --bp-lg: 1024px;
  --bp-xl: 1280px;
  --bp-2xl: 1536px;

  /* ── Focus ring ── */
  --focus-ring-color: var(--color-neutral-900);
  --focus-ring: 0 0 0 var(--bw-selection) var(--color-theme-100), 0 0 0 4px var(--color-theme-500);
  --focus-ring-inset: inset 0 0 0 var(--bw-selection) var(--color-theme-500);

  /* Role hover (ADR-029; color-mix is not DTCG-encodable) */
  --hover-on-layer: color-mix(in srgb, var(--layer) 85%, var(--on-layer) 15%);
  /* Role edge cue (ADR-041; kit-internal carve-out, transparent until a scope activates it) */
  --edge-cue: transparent;
  /* Role edge-cue-strong (ADR-041 conformance: >=3:1 focused-option boundary, default mode) */
  --edge-cue-strong: var(--color-neutral-700);
  /* Role recess (ADR-042 finalized; color-mix is not DTCG-encodable) */
  --layer-recess: color-mix(in srgb, var(--surface-0) 88%, var(--on-layer) 12%);
  /* Role on-layer-3 (color-mix is not DTCG-encodable) */
  --on-layer-3: color-mix(in srgb, var(--on-layer) 30%, transparent);
  /* Back-compat aliases */
  --display: var(--font-display);
  --body: var(--font-body);
}

/* ── Dark Mode ──
   Scoped with :not([data-theme]) so it only fires when JS hasn't set
   an explicit theme. Once an app writes data-theme="light" | "dark"
   on <html>, the explicit-theme selectors below win and user choice
   overrides OS preference. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-theme-100: #1a1828;
    --color-theme-500: #c5c0fa;
    --color-theme-700: #b5b0f0;
    --color-error-100: #221a1e;
    --color-error-500: #f2a7b0;
    --color-error-700: #f0bbc2;
    --color-warning-100: #221f16;
    --color-warning-500: #f0c840;
    --color-warning-700: #f5d98a;
    --color-info-100: #161e2c;
    --color-info-500: #9fc3e8;
    --color-info-700: #b4d4f0;
    --color-success-100: #142220;
    --color-success-500: #8fd5b8;
    --color-success-700: #a8e0ca;
    --color-neutral-0: #010103;
    --color-neutral-100: #111215;
    --color-neutral-200: #181920;
    --color-neutral-300: #24252e;
    --color-neutral-400: #434750;
    --color-neutral-500: #787a82;
    --color-neutral-600: #83868f;
    --color-neutral-700: #9496a0;
    --color-neutral-800: #bbbec7;
    --color-neutral-900: #e8e9ee;
    --color-neutral-1000: #f8fcff;
    --color-rule: #3a3b46;
    --shadow-rest: 0 1px 3px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.15);
    --shadow-floating: 0 4px 12px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2);
    --shadow-fab-hover: 0 6px 16px rgba(0, 0, 0, 0.35), 0 3px 6px rgba(0, 0, 0, 0.25);
    --shadow-modal: 0 12px 32px rgba(0, 0, 0, 0.4), 0 4px 8px rgba(0, 0, 0, 0.25);
    --shadow-thumb: 0 1px 2px rgba(0, 0, 0, 0.25), 0 1px 1px rgba(0, 0, 0, 0.15);
    --fg-1: var(--color-neutral-900);
    --fg-2: var(--color-neutral-700);
    --fg-3: var(--color-neutral-500);
    --fg-brand: var(--color-theme-700);
    --fg-on-dark: var(--color-neutral-100);
    --fg-code: var(--color-theme-700);
    --layer: var(--surface-0);
    --layer-container: var(--surface-1);
    --layer-elevated: var(--surface-2);
    --layer-recess: var(--surface-0);
    --field-bg: var(--surface-2);
    --field-bg-disabled: var(--color-neutral-200);
    --rule-on-layer: var(--color-rule);
    --on-layer: var(--fg-1);
    --on-layer-2: var(--fg-2);
    --surface-0: var(--color-neutral-100);
    --surface-1: var(--color-neutral-200);
    --surface-2: var(--color-neutral-300);
    --surface-above: var(--color-neutral-400);
    --surface-below: var(--color-neutral-0);
    --surface-inverse: var(--color-neutral-900);
    /* Role recess dark override (ADR-042 finalized; mirrors :root recipe but
       mixes toward black so the recess sits BELOW dark --surface-0 */
    --layer-recess: color-mix(in srgb, var(--surface-0) 88%, #000 12%);
    /* Role edge-cue-strong dark override (ADR-041 conformance: lighter step for the dark fill) */
    --edge-cue-strong: var(--color-neutral-800);
  }
}

/* Explicit theme overrides (set via <html data-theme="…">).

   Why the [data-theme='light'] block carries only `color-scheme: light`
   and does NOT redeclare light-mode token values:

   The dark media query above is selector-scoped with
   `:root:not([data-theme])`. Once any explicit `data-theme` attribute
   is present on the matched element (typically <html>), the media-query
   rule's selector simply does not match — the :root light defaults
   from the block at the top of this file remain in effect for
   `<html data-theme='light'>` without any redeclaration here.

   This means the kit does NOT rely on the browser behavior where
   `color-scheme: light` suppresses `prefers-color-scheme: dark`
   (which is a recent + uneven behavior across browsers). The cascade
   wins purely on selector specificity / matching, not on color-scheme.
   `color-scheme: light` is still declared so form controls, scrollbars,
   and other UA-rendered chrome render in light mode.

   Regression guard: src/test/dist-shape.test.ts asserts both halves of
   this contract (the `:not([data-theme])` scope on the dark media query,
   and the presence of the `[data-theme='light']` block with
   `color-scheme: light`). See ADR-029 §"Explicit-theme cascade contract"
   for the architectural decision. */
[data-theme='light'] {
  color-scheme: light;
}
[data-theme='dark'] {
  color-scheme: dark;
  --color-theme-100: #1a1828;
  --color-theme-500: #c5c0fa;
  --color-theme-700: #b5b0f0;
  --color-error-100: #221a1e;
  --color-error-500: #f2a7b0;
  --color-error-700: #f0bbc2;
  --color-warning-100: #221f16;
  --color-warning-500: #f0c840;
  --color-warning-700: #f5d98a;
  --color-info-100: #161e2c;
  --color-info-500: #9fc3e8;
  --color-info-700: #b4d4f0;
  --color-success-100: #142220;
  --color-success-500: #8fd5b8;
  --color-success-700: #a8e0ca;
  --color-neutral-0: #010103;
  --color-neutral-100: #111215;
  --color-neutral-200: #181920;
  --color-neutral-300: #24252e;
  --color-neutral-400: #434750;
  --color-neutral-500: #787a82;
  --color-neutral-600: #83868f;
  --color-neutral-700: #9496a0;
  --color-neutral-800: #bbbec7;
  --color-neutral-900: #e8e9ee;
  --color-neutral-1000: #f8fcff;
  --color-rule: #3a3b46;
  --shadow-rest: 0 1px 3px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.15);
  --shadow-floating: 0 4px 12px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-fab-hover: 0 6px 16px rgba(0, 0, 0, 0.35), 0 3px 6px rgba(0, 0, 0, 0.25);
  --shadow-modal: 0 12px 32px rgba(0, 0, 0, 0.4), 0 4px 8px rgba(0, 0, 0, 0.25);
  --shadow-thumb: 0 1px 2px rgba(0, 0, 0, 0.25), 0 1px 1px rgba(0, 0, 0, 0.15);
  --fg-1: var(--color-neutral-900);
  --fg-2: var(--color-neutral-700);
  --fg-3: var(--color-neutral-500);
  --fg-brand: var(--color-theme-700);
  --fg-on-dark: var(--color-neutral-100);
  --fg-code: var(--color-theme-700);
  --layer: var(--surface-0);
  --layer-container: var(--surface-1);
  --layer-elevated: var(--surface-2);
  --layer-recess: var(--surface-0);
  --field-bg: var(--surface-2);
  --field-bg-disabled: var(--color-neutral-200);
  --rule-on-layer: var(--color-rule);
  --on-layer: var(--fg-1);
  --on-layer-2: var(--fg-2);
  --surface-0: var(--color-neutral-100);
  --surface-1: var(--color-neutral-200);
  --surface-2: var(--color-neutral-300);
  --surface-above: var(--color-neutral-400);
  --surface-below: var(--color-neutral-0);
  --surface-inverse: var(--color-neutral-900);
  /* Role recess dark override (ADR-042 finalized; see :root:not([data-theme]) block above) */
  --layer-recess: color-mix(in srgb, var(--surface-0) 88%, #000 12%);
  /* Role edge-cue-strong dark override (ADR-041 conformance; see block above) */
  --edge-cue-strong: var(--color-neutral-800);
}
