/* THIS FILE IS TOKENS ONLY. Structure lives in the engine sheet the shell
   links first (_engine.css, hardlinked from Divinity's site.css); read
   sites\ScienceAtlas\App_Themes\Science\site.css for the full history of
   why this file carries nothing but token blocks, including the request
   985 narrow-layout defect and the request 989 four-state theme defect.
   This file mirrors that file's final shape exactly.

   Tokens below: the neutrals, ink/muted/faint text colours, the two
   semantic colours, the font stacks, the shadow and the reading measure
   are copied verbatim from the family values every sibling atlas already
   carries, so this site reads as a sibling. Only --gold, --gold-soft and
   --gold-bg, the accent tokens, are Mathematics's own.

   THE ACCENT IS VERDIGRIS, owner ruling 647 (2026-08-22), hue 161 on the
   family wheel: the blue green patina of aged bronze and copper, the
   metal of the old compasses, astrolabes and sundials mathematics proved
   its early theorems with. Values read directly from
   sites\DivinityAtlas\images\family-identity\preview-mathematics.html's
   own WCAG-computed swatches (Option 1 of 3, Verdigris, Recommended),
   never recomputed here: dark #279b76 measures 5.55 on --ground, 5.04 on
   --panel, 4.61 on --panel2 (all clear 4.5:1); soft #32c898 measures
   9.06 / 8.23 / 7.52. Light #14523e measures 7.94 / 7.39 / 8.29; soft
   #1d7257 measures 5.09 / 4.74 / 5.32. The --gold-bg fill role: in the
   dark theme dark ink (#1a1508) on #279b76 clears at 5.23; in the light
   theme white text on #14523e clears at 9.11 (dark ink there fails at
   2.0), the same shape every other atlas's light fill already uses. */

:root{
  --ground:#0b0d1a; --panel:#141731; --panel2:#1b1f3d; --edge:#2b2f55; --edge2:#3a3f6b;
  --ink:#eae7f3; --muted:#a7a5c4; --faint:#8785a7;
  --shared:#79bcb0; --shared-bg:rgba(111,178,168,.14); --dark-c:#d27a92; --dark-bg:rgba(181,84,106,.16);
  --gold:#279b76; --gold-soft:#32c898; --gold-bg:#279b76;
  --serif:"Iowan Old Style","Palatino Linotype",Palatino,"Book Antiqua",Georgia,serif;
  --sans:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --shadow:0 12px 34px -14px rgba(0,0,0,.6);
  --measure:40.5rem;
}
@media (prefers-color-scheme: light){:root{
  --ground:#f4efe3; --panel:#eee7d6; --panel2:#f8f4ea; --edge:#ddd2ba; --edge2:#cabfa3;
  --ink:#282540; --muted:#655f74; --faint:#6d6759;
  --shared:#2f685e; --shared-bg:rgba(60,133,120,.12); --dark-c:#9c3f57; --dark-bg:rgba(162,65,90,.10);
  --gold:#14523e; --gold-soft:#1d7257; --gold-bg:#14523e;
  --shadow:0 14px 30px -18px rgba(60,48,20,.45);
}}

/* The two explicit data-theme blocks, mirroring the engine's own four-state
   shape so the header's System/Light/Dark toggle lands Mathematics's
   accent in every state; see Science's site.css request 989 comment for
   the defect these exist to close. */
:root[data-theme="dark"]{
  --ground:#0b0d1a; --panel:#141731; --panel2:#1b1f3d; --edge:#2b2f55; --edge2:#3a3f6b;
  --ink:#eae7f3; --muted:#a7a5c4; --faint:#8785a7;
  --shared:#79bcb0; --shared-bg:rgba(111,178,168,.14); --dark-c:#d27a92; --dark-bg:rgba(181,84,106,.16);
  --gold:#279b76; --gold-soft:#32c898; --gold-bg:#279b76;
  --shadow:0 12px 34px -14px rgba(0,0,0,.6);
}
:root[data-theme="light"]{
  --ground:#f4efe3; --panel:#eee7d6; --panel2:#f8f4ea; --edge:#ddd2ba; --edge2:#cabfa3;
  --ink:#282540; --muted:#655f74; --faint:#6d6759;
  --shared:#2f685e; --shared-bg:rgba(60,133,120,.12); --dark-c:#9c3f57; --dark-bg:rgba(162,65,90,.10);
  --gold:#14523e; --gold-soft:#1d7257; --gold-bg:#14523e;
  --shadow:0 14px 30px -18px rgba(60,48,20,.45);
}
