/* Shared design tokens for the Jarvis pages.
 *
 * This block was previously copy-pasted, byte for byte, into index.html,
 * dashboard.html and overhead-calculator.html. overhead-calculator.html even
 * carried a comment noting the copy was deliberate — which is exactly how a
 * rebrand becomes a three-file edit with no source of truth.
 *
 * login.html and jarvis-view.html intentionally do NOT use this file: they have
 * their own Orbitron/neon palette, and folding them in would be a false shared
 * abstraction rather than a real one.
 */
:root{
  /* Brand theme 2026-08-22 (Michael): black / yellow / white. Lifted off pure
     black on 14 Sept 2026 ("i dont want white but i dont want black ... a bit
     brighter"): the names are kept so every rule still resolves, the values are
     the "slate" palette. The four surfaces step up in even lightness so a
     panel always reads as sitting ON the page, not cut into it. */
  /* LIGHT THEME, 14 Sept 2026 (Michael: "change the colour to an off white ...
     do white black and yellow as the theme but try and brighten it all up").
     The names below are the ones every page reads, so they are kept; the
     VALUES are the light theme: --brand-black is the off-white page,
     --brand-white is the near-black text. Same palette as the quote builder. */
  --brand-black:#f3f3f1;          /* page / app background — off-white */
  --brand-black-2:#ffffff;        /* panels / cards — white */
  --brand-black-3:#f8f8f6;        /* raised surfaces / inputs */
  --brand-black-4:#ebebe8;        /* hover surface */
  /* The same two surfaces as r,g,b triplets, for the translucent glass
     (rgba(var(--bg-0-rgb), 0.7) etc). Pages used to hard-code these numbers,
     which is why a page background could not change without a hunt through
     every file. Keep them equal to --brand-black / --brand-black-2. */
  --bg-0-rgb: 243,243,241;
  --bg-1-rgb: 255,255,255;
  --brand-yellow:#f5c400;         /* primary accent: highlights, active states, links, primary buttons */
  --brand-yellow-hover:#ffd21f;
  --brand-yellow-dim: rgba(245,196,0,0.35);
  /* Text on the yellow (an active tab, a primary button). The yellow is the same in
     both themes, so this is too - it was a literal #111 in each page that used it. */
  --on-accent:#111111;
  --brand-white:#111111;          /* primary text (on the light page) */
  --brand-white-2:#3f3f46;        /* secondary text */
  --brand-white-3: var(--silver);        /* muted text */
  --line: rgba(0,0,0,0.08);       /* hairlines on the light page: depth comes from shadow, not edges */

  /* ---- Apple layer (Michael, 14 Sept 2026: "premium Apple product software —
     sleek, modern, minimal, high-precision"). Read by public/shared/ui.css. ---- */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Inter, Roboto, sans-serif;
  --live:#1f9d48;        /* active / connected / on — green that reads on white */
  --focus:#0a84ff;       /* interactive / focus ring */
  --warn:#b8860b;        /* warning / ready — amber as text on white */
  --critical:#d93025;    /* halt / error */
  --tentative:#e8731a;   /* hoped-for money, not won yet - orange (Michael, 5 Nov 2026) */
  --silver:#6b6b70;      /* muted text */
  --gold:#b38f00;        /* yellow as TEXT: pure yellow is unreadable on white */
  --radius-card:8px;
  --radius-pill:999px;
  --shadow-card: 0 10px 30px rgba(0,0,0,0.08);
  --inner-glow: inset 0 1px 0 rgba(255,255,255,0.85);
  --glass-blur: blur(14px) saturate(140%);
  --glow: 0 0 8px currentColor;
  /* Existing tokens re-mapped onto the brand palette — names kept so every
     rule and inline style below still resolves. Status colours (teal = ok /
     connected, amber = warning, danger = error) deliberately keep their
     meaning and are NOT yellow. */
  --bg-0: var(--brand-black);
  --bg-1: var(--brand-black-2);
  --panel: var(--brand-black-3);
  --cyan: var(--gold);
  --cyan-dim: rgba(179,143,0,0.35);
  --accent: var(--brand-yellow);
  --teal: var(--live);
  --amber: var(--warn);
  --grey: var(--brand-white-3);
  --text-0: var(--brand-white);
  --text-1: var(--brand-white-2);
  --text-2: var(--brand-white-3);
  --biz: var(--brand-yellow);
  --life: var(--brand-white-2);
  --danger: var(--critical);

  /* Legacy names. Six pages (sales, brief, job-costing, pricing-sync, furniture,
     bay-bonus) were written against --bg / --text / --border / --muted with a
     DARK literal as the fallback, and nothing ever defined those names — so
     under the light theme they fell back to navy panels on an off-white page.
     Defining them here makes them follow the theme; a page that declares its
     own :root copy still wins, exactly as before. */
  --bg: var(--bg-0);
  --text: var(--text-0);
  --border: var(--line);
  --muted: var(--text-2);

  /* The rest of the same family. Michael, 22 Sept 2026: "i do want the shop floor
     theme to be present throughout the system because the whole of jarvis is one
     system - the shop floor department looks a bit different to the rest of it."
     Measured across the pages that evening, nine of them read --raised, --hover,
     --accent-hover, --ok, --info or --accent-dim and NOTHING defined them, so each
     fell back to a literal of its own - which is exactly why the system looked like
     several systems. Defined once here, in both themes, they follow the switch. */
  --raised: var(--brand-black-3);
  --hover: var(--brand-black-4);
  --accent-hover: var(--brand-yellow-hover);
  --accent-dim: var(--brand-yellow-dim);
  --ok: var(--live);
  --info: var(--focus);
  --bad: var(--critical);
  /* The Shop Floor's shapes, so a card is a card everywhere: an 8px corner on a
     panel, 6px on a control. --radius-card was 14px, which is what made the
     dashboard's cards read as a different family from the workshop screens. */
  --radius: 8px;
  --radius-control: 6px;

  /* ---- Glass look tokens (2026-11-18). Flat values here so a page that
     references them still resolves with no look set; the real values are in the
     :root[data-look="glass"] and :root[data-look="light"] blocks at the end of
     this file. ---- */
  --light-a:#f5c400;              /* key light */
  --glyph-accent: var(--light-a); /* yellow icons and glyphs; Light overrides with the dark gold */
  --light-b:#ffd21f;              /* second light */
  --light-c:#ebebe8;              /* third light */
  --stage:#f3f3f1;                /* the page behind the glass */
  --glass-fill: rgba(255,255,255,0.85);
  --glass-hi: rgba(255,255,255,1);
  --glass-edge: rgba(0,0,0,0.08);
  --stage-a: 28%;                 /* stage-light strengths; the two glass looks set their own */
  --stage-b: 18%;
  --stage-c: 22%;
  --glass-text-glow: transparent;       /* bloom behind the big home figure */
  --glass-text-glow-soft: transparent;
  --glass-radius: 8px;
  --glass-shadow: 0 10px 30px rgba(0,0,0,0.08);
  --glass-shadow-hover: 0 14px 36px rgba(0,0,0,0.12);

  /* Shared-sheet tokens (ui.css, desk.css): the washes, hairlines and status tints
     those sheets used to hard-code. Light values are the old literals. */
  --on-primary:#0b0b0c;           /* text on a primary ui-btn */
  --focus-ring: rgba(10,132,255,0.45);
  --wash: rgba(0,0,0,0.06);       /* pill fill, quiet-button hover */
  --wash-soft: rgba(0,0,0,0.03);  /* table row hover */
  --line-soft: rgba(0,0,0,0.05);  /* table row divider */
  --scrim: rgba(0,0,0,0.5);
  --shadow-modal: 0 30px 80px rgba(0,0,0,0.55);
  --live-wash: rgba(48,209,88,0.12);
  --live-edge: rgba(48,209,88,0.28);
  --focus-wash: rgba(10,132,255,0.12);
  --focus-edge: rgba(10,132,255,0.28);
  --warn-wash: rgba(255,214,10,0.12);
  --warn-edge: rgba(255,214,10,0.28);
  --critical-wash: rgba(255,69,58,0.12);
  --critical-edge: rgba(255,69,58,0.28);
  --danger-edge: rgba(255,69,58,0.35);
  --brand-wash: rgba(245,196,0,0.12);
  --brand-edge: rgba(245,196,0,0.30);
  --glass-rim: rgba(255,255,255,0.25);    /* inner rim of a glowing button */
  --glass-rim-hi: rgba(255,255,255,0.4);  /* the same, hovered */
  --glass-well: rgba(0,0,0,0.35);         /* dark glass input fill */
  --glass-glow: rgba(255,255,255,0.10);   /* cursor-following stage-light centre */
  --glass-sheen: rgba(255,255,255,0.55);  /* the sweep across a primary button */
  --glass-track: rgba(255,255,255,0.07);  /* empty meter track */
  --shadow-float: 0 12px 40px rgba(0,0,0,0.35);  /* floating panel (Sarah) */
  --on-critical: #ffffff;                 /* text on a critical-coloured button */

  /* Categorical set (18 Nov 2026): six hues that tell things apart where status
     colours would mislead (channels, kinds, departments). Never a status. */
  --cat-1:#7c3aed;  --cat-1-wash:rgba(124,58,237,0.12);   /* purple */
  --cat-2:#2563eb;  --cat-2-wash:rgba(37,99,235,0.12);    /* blue */
  --cat-3:#0f766e;  --cat-3-wash:rgba(15,118,110,0.12);   /* teal */
  --cat-4:#be185d;  --cat-4-wash:rgba(190,24,93,0.12);    /* pink */
  --cat-5:#c2410c;  --cat-5-wash:rgba(194,65,12,0.12);    /* orange */
  --cat-6:#15803d;  --cat-6-wash:rgba(21,128,61,0.12);    /* green */

  /* Tells the browser which way round this page is, so form controls,
     scrollbars and the caret follow without a rule each. */
  color-scheme: light;
}

/* ---------------------------------------------------------------------------
   DARK THEME. Michael, 22 Sept 2026: "give me a dark and light mode for the
   main platform ... i quite like the dark view".

   ADDITIVE. Not one value above is changed - flipping the light values in place
   is exactly the 14 Sept move that left the Shop Floor's "Dark" unreadable for
   a week (white panels under near-white text). Here the same NAMES take a
   second set of values under one attribute, so every page that reads the names
   follows, and a page with its own :root copy still wins the way it always did.

   The surfaces are the Shop Floor's proven slate set (#0f172a / #1e293b /
   #334155) so the workshop screen and the platform read as one system.

   The attribute goes on <html>, never <body>: the page's own scrollbar and
   anything else drawn from the root element only sees what <html> carries.
   Contrast, measured, on the panel surface: text 15.8:1, secondary 9.4:1,
   muted 5.4:1, live 5.6:1, warn 8.4:1, critical 5.3:1, gold 8.9:1.
   --------------------------------------------------------------------------- */
html[data-theme="dark"] {
  color-scheme: dark;

  --brand-black:#0f172a;          /* page / app background */
  --brand-black-2:#1e293b;        /* panels / cards */
  --brand-black-3:#172033;        /* raised surfaces / inputs */
  --brand-black-4:#334155;        /* hover surface */
  --bg-0-rgb: 15,23,42;
  --bg-1-rgb: 30,41,59;

  /* The accent is the brand yellow in both themes - it reads on slate. */
  --brand-white:#f8fafc;          /* primary text */
  --brand-white-2:#cbd5e1;        /* secondary text */
  --line: rgba(255,255,255,0.10); /* hairlines: light on a dark page */

  /* Status colours re-tuned for a dark surface. The light values were each
     chosen "to read on white" (see the comments above) and go muddy here. */
  --live:#4ade80;
  --focus:#60a5fa;
  --warn:#fbbf24;
  --critical:#f87171;
  --tentative:#fb923c;
  --silver:#94a3b8;
  --gold:#f5c400;                 /* on slate the brand yellow IS readable as text */

  --shadow-card: 0 10px 30px rgba(0,0,0,0.45);
  /* The aliases the pages read resolve through the brand-* values above, so they
     follow this theme without being repeated. These two are the exceptions: the
     dim wash and the hairline-soft read differently on slate. */
  --accent-dim: rgba(245,196,0,0.22);
  --inner-glow: inset 0 1px 0 rgba(255,255,255,0.06);

  /* Glass-era tokens (18 Nov 2026) that the Light :root values left pale in Dark.
     Same slate palette as above: surfaces dark, washes and edges light at low
     alpha, status tints taken from the dark status hues. */
  --cyan-dim: rgba(245,196,0,0.35);
  --light-c:#334155;
  --stage:#0f172a;
  --glass-fill: rgba(30,41,59,0.85);
  --glass-hi: rgba(255,255,255,0.06);
  --glass-edge: rgba(255,255,255,0.10);
  --glass-shadow: 0 10px 30px rgba(0,0,0,0.45);
  --glass-shadow-hover: 0 14px 36px rgba(0,0,0,0.55);
  --wash: rgba(255,255,255,0.08);
  --wash-soft: rgba(255,255,255,0.04);
  --line-soft: rgba(255,255,255,0.06);
  --live-wash: rgba(74,222,128,0.14);
  --live-edge: rgba(74,222,128,0.30);
  --focus-wash: rgba(96,165,250,0.14);
  --focus-edge: rgba(96,165,250,0.30);
  --warn-wash: rgba(251,191,36,0.14);
  --warn-edge: rgba(251,191,36,0.30);
  --glass-glow: rgba(255,255,255,0.10);
  --glass-sheen: rgba(255,255,255,0.55);
  --glass-track: rgba(255,255,255,0.07);
  --stage-a: 28%;
  --stage-b: 18%;
  --stage-c: 22%;
  --glass-text-glow: color-mix(in srgb, var(--light-a) 60%, transparent);
  --glass-text-glow-soft: color-mix(in srgb, var(--light-a) 25%, transparent);
  --shadow-float: 0 12px 40px rgba(0,0,0,0.55);
  --on-critical: #ffffff;

  --cat-1:#c084fc;  --cat-1-wash:rgba(192,132,252,0.14); /* purple */
  --cat-2:#60a5fa;  --cat-2-wash:rgba(96,165,250,0.14);   /* blue */
  --cat-3:#2dd4bf;  --cat-3-wash:rgba(45,212,191,0.14);   /* teal */
  --cat-4:#f472b6;  --cat-4-wash:rgba(244,114,182,0.14);  /* pink */
  --cat-5:#fb923c;  --cat-5-wash:rgba(251,146,60,0.14);   /* orange */
  --cat-6:#4ade80;  --cat-6-wash:rgba(74,222,128,0.14);   /* green */
}

/* ---------------------------------------------------------------------------
   GLASS LOOK (design: docs/superpowers/specs/2026-11-18-glass-look-design.md,
   visual spec: docs/design/2026-11-18-glass-mockup.html, "Subtle" palette).
   Same names again under one attribute, set on <html> by public/shared/look.js.
   ADDITIVE: nothing above changes. This block comes last and has higher
   specificity than html[data-theme="dark"], so it wins when both are present.
   The effects (stage lights, lit edge, glow) live in glass.css.
   --------------------------------------------------------------------------- */
:root[data-look="glass"]{
  color-scheme: dark;

  --brand-black:#05060a;          /* the stage */
  --brand-black-2:#0d1018;        /* panels */
  --brand-black-3:#131722;        /* raised surfaces / inputs */
  --brand-black-4:#1c2230;        /* hover surface */
  --bg-0-rgb: 5,6,10;
  --bg-1-rgb: 13,16,24;
  --brand-yellow:#ffc928;
  --brand-yellow-hover:#ffd75a;
  --brand-yellow-dim: rgba(255,201,40,0.35);
  --on-accent:#140d00;
  --brand-white:#f4f5f8;
  --brand-white-2:#aab0bd;
  --brand-white-3: var(--silver);
  --line: rgba(255,255,255,0.10);

  --font-sans: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --live:#36f29a;
  --focus:#6aa9ff;
  --warn:#ffb020;
  --critical:#ff4d5e;
  --tentative:#ff9a3c;
  --silver:#8d94a5;
  --gold:#ffc928;
  --radius-card:16px;
  --radius-pill:999px;
  --shadow-card: 0 30px 60px -20px rgba(0,0,0,0.7);
  --inner-glow: inset 0 1px 0 rgba(255,255,255,0.18);
  --glass-blur: blur(26px) saturate(180%);
  --glow: 0 0 12px currentColor;
  --bg-0: var(--brand-black);
  --bg-1: var(--brand-black-2);
  --panel: var(--brand-black-3);
  --cyan: var(--gold);
  --cyan-dim: rgba(255,201,40,0.35);
  --accent: var(--brand-yellow);
  --teal: var(--live);
  --amber: var(--warn);
  --grey: var(--brand-white-3);
  --text-0: var(--brand-white);
  --text-1: var(--brand-white-2);
  --text-2: var(--brand-white-3);
  --biz: var(--brand-yellow);
  --life: var(--brand-white-2);
  --danger: var(--critical);
  --bg: var(--bg-0);
  --text: var(--text-0);
  --border: var(--line);
  --muted: var(--text-2);
  --raised: var(--brand-black-3);
  --hover: var(--brand-black-4);
  --accent-hover: var(--brand-yellow-hover);
  --accent-dim: var(--brand-yellow-dim);
  --ok: var(--live);
  --info: var(--focus);
  --bad: var(--critical);
  --radius: 16px;
  --radius-control: 12px;

  /* the lights and the glass surface (Subtle palette, approved) */
  --light-a:#ffc928;
  --glyph-accent: var(--light-a); /* Glass keeps the bright yellow glyph */
  --light-b:#d08a2a;
  --light-c:#34405a;
  --stage:#05060a;
  --stage-a: 28%;                 /* how strongly each light glows on the stage */
  --stage-b: 18%;
  --stage-c: 22%;
  --glass-fill: rgba(255,255,255,0.055);
  --glass-hi: rgba(255,255,255,0.14);
  --glass-edge: rgba(255,255,255,0.10);
  --glass-radius: 22px;
  --glass-shadow: inset 0 1px 0 rgba(255,255,255,0.18), inset 0 -1px 0 rgba(0,0,0,0.4), 0 30px 60px -20px rgba(0,0,0,0.7);
  --glass-shadow-hover: inset 0 1px 0 rgba(255,255,255,0.25), 0 40px 80px -20px rgba(0,0,0,0.8), 0 0 60px -10px color-mix(in srgb, var(--light-a) 35%, transparent);
  --glass-text-glow: color-mix(in srgb, var(--light-a) 60%, transparent);       /* bloom behind the big figure */
  --glass-text-glow-soft: color-mix(in srgb, var(--light-a) 25%, transparent);  /* behind the smaller ones */

  /* shared-sheet tokens, tuned to the glass colours above */
  --on-primary:#140d00;
  --focus-ring: rgba(106,169,255,0.55);
  --wash: rgba(255,255,255,0.07);
  --wash-soft: rgba(255,255,255,0.04);
  --line-soft: rgba(255,255,255,0.06);
  --scrim: rgba(2,3,6,0.62);
  --shadow-modal: 0 40px 90px -20px rgba(0,0,0,0.8);
  --live-wash: rgba(54,242,154,0.12);
  --live-edge: rgba(54,242,154,0.30);
  --focus-wash: rgba(106,169,255,0.12);
  --focus-edge: rgba(106,169,255,0.30);
  --warn-wash: rgba(255,176,32,0.12);
  --warn-edge: rgba(255,176,32,0.30);
  --critical-wash: rgba(255,77,94,0.12);
  --critical-edge: rgba(255,77,94,0.30);
  --danger-edge: rgba(255,77,94,0.38);
  --brand-wash: rgba(255,201,40,0.12);
  --brand-edge: rgba(255,201,40,0.32);
  --glass-rim: rgba(255,255,255,0.25);
  --glass-rim-hi: rgba(255,255,255,0.4);
  --glass-well: rgba(0,0,0,0.35);
  --glass-glow: rgba(255,255,255,0.10);
  --glass-sheen: rgba(255,255,255,0.55);
  --glass-track: rgba(255,255,255,0.07);
  --shadow-float: 0 12px 40px rgba(0,0,0,0.35);
  --on-critical: #ffffff;

  --cat-1:#c084fc;  --cat-1-wash:rgba(192,132,252,0.12);  /* purple */
  --cat-2:#7cb4ff;  --cat-2-wash:rgba(124,180,255,0.12);  /* blue */
  --cat-3:#2ee6d0;  --cat-3-wash:rgba(46,230,208,0.12);   /* teal */
  --cat-4:#ff7ac0;  --cat-4-wash:rgba(255,122,192,0.12);  /* pink */
  --cat-5:#ff9a3c;  --cat-5-wash:rgba(255,154,60,0.12);   /* orange */
  --cat-6:#36f29a;  --cat-6-wash:rgba(54,242,154,0.12);   /* green */
}

/* ---------------------------------------------------------------------------
   LIGHT GLASS (Michael, 18 Nov 2026: "the light view should also have the same
   glass features just lighter ... light looks very flat i want the glass to be
   copied just in a light format"). The twin of the block above: the SAME names
   and the same effects (glass.css is scoped :root[data-look], so it applies to
   both), turned the other way. An off-white stage with faint warm-gold and cool
   glows, frosted white panels with a bright rim, soft cool shadows, and the same
   yellow lit edge and glowing primary button, softer. The names this block does
   not mention (status hues, categorical set, text-on-yellow) keep the Light
   values in the bare :root above, which were chosen to read on white.
   Contrast, measured on the frosted panel over the gold glow (the worst case):
   ink 16.0:1, secondary 8.9:1, muted 5.6:1, live 4.8, focus 4.9, warn 5.1,
   critical 5.0, gold 5.0 (all at or above WCAG AA 4.5:1).
   --------------------------------------------------------------------------- */
:root[data-look="light"]{
  color-scheme: light;

  --brand-black:#f4f1ea;          /* the stage: warm off-white */
  --brand-black-2:#fbfaf6;        /* panels (the glass fill sits over this) */
  --brand-black-3:#f7f5ef;        /* raised surfaces / inputs */
  --brand-black-4:#ece8de;        /* hover surface */
  --bg-0-rgb: 244,241,234;
  --bg-1-rgb: 251,250,246;
  --brand-yellow:#f5c400;
  --brand-yellow-hover:#ffd21f;
  --brand-yellow-dim: rgba(245,196,0,0.35);
  --on-accent:#1a1300;
  --brand-white:#14161d;          /* ink */
  --brand-white-2:#3b4252;        /* secondary text */
  --silver:#4a5163;               /* muted text */
  --line: rgba(30,40,70,0.10);
  /* Status and accent hues darkened a step so each one, used as TEXT on the frosted
     panel, clears WCAG AA 4.5:1 (the bare Light values were chosen for white and
     fell to 2.7-3.7:1 on the warm stage). */
  --live:#0d5f28;
  --focus:#0a52a6;
  --warn:#7f4500;                 /* amber, hue 33 */
  --critical:#a81f16;
  --tentative:#963008;            /* orange, hue 17 */
  --gold:#645600;                 /* olive gold, hue 52 */                /* all of these clear 4.5:1 on the stage at its brightest, three glows stacked */

  --font-sans: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --radius-card:16px;
  --shadow-card: 0 24px 50px -22px rgba(40,56,100,0.30);
  --inner-glow: inset 0 1px 0 rgba(255,255,255,0.95);
  --glass-blur: blur(26px) saturate(170%);
  --glow: 0 0 12px currentColor;
  --radius: 16px;
  --radius-control: 12px;

  /* the lights and the glass surface */
  --light-a:#ffcf2e;              /* key light: warm gold */
  --glyph-accent: var(--gold);    /* yellow icons and glyphs: bright yellow is 1.5:1 on this stage, so the dark gold */
  --light-b:#f0a63a;              /* second light: amber */
  --light-c:#8fb4f0;              /* third light: cool blue */
  --stage:#f4f1ea;
  --stage-a: 56%;                 /* a light stage needs stronger lights to show, but text sits on it */
  --stage-b: 34%;
  --stage-c: 42%;
  --glass-fill: rgba(255,255,255,0.55);
  --glass-hi: rgba(255,255,255,0.82);
  --glass-edge: rgba(60,76,120,0.14);
  --glass-radius: 22px;
  --glass-shadow: inset 0 1px 0 rgba(255,255,255,1), inset 0 -1px 0 rgba(60,76,120,0.06), 0 22px 44px -20px rgba(40,56,100,0.28), 0 2px 6px rgba(40,56,100,0.05);
  --glass-shadow-hover: inset 0 1px 0 rgba(255,255,255,1), 0 30px 60px -22px rgba(40,56,100,0.36), 0 0 50px -12px color-mix(in srgb, var(--light-a) 55%, transparent);

  /* shared-sheet tokens, tuned to the light glass */
  --on-primary:#1a1300;
  --focus-ring: rgba(10,132,255,0.45);
  --wash: rgba(30,40,70,0.06);
  --wash-soft: rgba(30,40,70,0.035);
  --line-soft: rgba(30,40,70,0.07);
  --scrim: rgba(40,48,76,0.38);
  --shadow-modal: 0 40px 90px -20px rgba(30,44,90,0.40);
  --glass-rim: rgba(255,255,255,0.75);
  --glass-rim-hi: rgba(255,255,255,0.95);
  --glass-well: rgba(255,255,255,0.62);
  --glass-glow: rgba(255,214,90,0.40);
  --glass-sheen: rgba(255,255,255,0.75);
  --glass-track: rgba(30,40,70,0.09);
  --shadow-float: 0 14px 40px rgba(40,56,100,0.20);
  --glass-text-glow: color-mix(in srgb, var(--light-a) 30%, transparent);       /* bloom behind the big figure */
  --glass-text-glow-soft: color-mix(in srgb, var(--light-a) 0%, transparent);   /* behind the smaller ones: none */
}
