/* THIS FILE IS TOKENS ONLY. Structure lives in the engine sheet the shell
   links first.

   _engine.css is the shared structural stylesheet, one copy on disk, hard
   linked from the engine theme: layout, components, base element rules.
   The shell (Site.master.vb) emits it as its own versioned link BEFORE
   this file's link, so this file's job is only to re-declare the accent
   tokens after the engine's own, landing this atlas's own hue on top of
   shared structure. Same mechanism Science's and Political's own site.css
   already document (owner request 985).

   Tokens below: the neutrals, ink/muted/faint text colours, the two
   semantic colours, the serif and sans stacks, the shadow and the reading
   measure are copied verbatim from sites\DivinityAtlas\App_Themes\
   Divinity\site.css, dark :root and prefers-color-scheme: light
   blocks, so this atlas reads as a sibling of every other atlas.

   INTERIM ACCENT, w-busfound-2157, 2026-08-24. Business and Industry
   Atlas, ruling 656 (the twenty-first atlas), owner request 1167: the
   owner has not yet picked the atlas's final identity, so this founding
   ships the interim proposed pair from docs\identity_palette_20260823.md
   (Business and Industry Atlas section) rather than holding the atlas
   hostage to a logo decision, same precedent as Psychology's founding.
   SWAP THESE VALUES, in every block below, once the owner picks the
   atlas's real accent; nothing else in this file needs to change.

   Dark theme accent #CD6985 (5.48:1 ground, 4.98:1 panel, 4.55:1 panel2),
   dark theme soft/hover #E1A6B6. Light theme accent #B33C5E (4.91:1
   ground, 4.57:1 panel, 5.13:1 panel2), light theme soft/hover #C34B6D.
   Ratios independently verified against docs\identity_palette_20260823.md's
   own stated method (HSL binary search against the family's --ground/
   --panel/--panel2 in each theme, search target 4.55:1) before shipping,
   per the founding process's own standing "verify arithmetically, never
   trust the page" instruction.

   --gold-bg-ink (ruling 643): the engine's ~60 --gold-bg fill rules
   (buttons, active tabs and similar) read ink as
   var(--gold-bg-ink, #1a1508). Per docs\identity_palette_20260823.md's own
   worked ratios for this hue: dark ink (#1a1508) on the DARK theme accent
   clears at 5.16:1 (kept); dark ink on the LIGHT theme accent reads only
   3.23:1 (fails), so the light theme block below uses white (#fff)
   instead, which clears 5.64:1, the same shape Science, Political and
   Society already use for their own light theme fills. */

: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:#CD6985; --gold-soft:#E1A6B6; --gold-bg:#CD6985; --gold-bg-ink:#1a1508;
  --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:#B33C5E; --gold-soft:#C34B6D; --gold-bg:#B33C5E; --gold-bg-ink:#fff;
  --shadow:0 14px 30px -18px rgba(60,48,20,.45);
}}

/* Explicit theme-toggle blocks, same shape and same reason as Science's and
   Political's own (owner request 989): these carry an attribute selector so
   they outrank the engine sheet's own bare :root when a visitor picks a
   theme by hand rather than leaving it on System. */
: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:#CD6985; --gold-soft:#E1A6B6; --gold-bg:#CD6985; --gold-bg-ink:#1a1508;
  --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:#B33C5E; --gold-soft:#C34B6D; --gold-bg:#B33C5E; --gold-bg-ink:#fff;
  --shadow:0 14px 30px -18px rgba(60,48,20,.45);
}
