/* ============================================================================
   EDITIONS_SKINS.css — CANONICAL skin definitions for the CBSE Grind editions
   build. Source of truth for GO-day ("Design"). Generated 2026-07-04 against
   the launched app's FULL token surface (50 tokens; audited same day) with all
   final-pass critic fixes baked in (AA contrast, glow caps, serif discipline).

   ARCHITECTURE (proven in THEME_LAB.html):
   - Skins are a data-edition layer OVER the base light/dark themes.
   - Selector pattern html[data-edition="X"][data-edition][data-theme="…"]
     outranks the app's html[data-accent][data-theme] accent rules (0,2,1 tie →
     these blocks must sit LAST in the document).
   - Classic = no data-edition (the app's existing :root/[data-theme=dark]).
   - paintAccent()/applyAccent() inline writes must be retired (skins own
     --accent); accent dots removed from the top bar; skin picker lives in the
     PROFILE modal; themeBtn (light/dark, top-right) untouched.
   - Persistence: store.edition + store.theme, mirrored to localStorage
     (cbse_pref_edition / cbse_pref_theme) so gate.js paints the saved skin
     pre-auth. Default with no saved pref: Classic Dark.
   ============================================================================ */

/* ---------------------------------------------------------------------------
   GLOBAL (all skins, both modes) — port these once
   --------------------------------------------------------------------------- */
/* Focus visibility (keyboard-heavy exam app; critic fix — no focus token existed).
   HARD LOCK: authentic NBME surfaces excluded — they keep their own native focus. */
[data-edition] :is(a,button,input,select,textarea,[tabindex]):focus-visible{
  outline:2px solid color-mix(in srgb, var(--accent) 70%, transparent);
  outline-offset:2px;
}
[data-edition] :is(.exam-skin,.nbme-report,.nbme-review,#examOverlay,#examRoomStage,#nb-run,#cb-run) :is(a,button,input,select,textarea,[tabindex]):focus-visible{
  outline:revert;outline-offset:revert;
}
/* Form controls / scrollbars follow the mode, not the page default (critic fix) */
html[data-theme="light"]{color-scheme:light}
html[data-theme="dark"]{color-scheme:dark}
/* PORT NOTES (implement at GO):
   - Fonts: load per active skin only, with font-display:swap; ship-hardening
     option = self-host WOFF2 (preload Fraunces ital 300 for Fable) — flag to owner.
   - Scalpel serif discipline: Instrument Serif has ONE weight (400). In scalpel
     blocks add: `font-synthesis-weight:none` on headings; any heading under
     ~20px renders in var(--sans) 600 instead of the serif.
   - Scalpel micro-labels: floor mono labels at 11px (9.5-10px reads as texture).
   - Aero glass recipe: backdrop-filter ONLY on sticky chrome (topbar/overlay
     headers) at blur(14px); in-flow cards stay near-solid (--paper); cobalt
     glow ONLY on primary CTA + active states, alpha ≤ .35 everywhere.
   - Aero type gating: Sora light/tracked treatment only ≥28px; UI text 400+.
   ---------------------------------------------------------------------------- */

/* ═══════════════════════ SKIN 1 · FABLE — Ink (dark) ═══════════════════════ */
html[data-edition="fable"][data-edition][data-theme="dark"]{
  --bg:#0C0E14;--paper:#14161F;--card:var(--paper);
  --ink:#F4F2EC;--ink-soft:#A9ACB8;--ink-faint:#7E8496;--ink-rev:#0C0E14;
  --line:#20242F;--line-soft:#161923;--chip:#1F2330;--hook:#1C2230;
  --accent:#F2C14E;--accent-soft:#E7B23C;--accent-ink:#221703;--accent-2:#C98A2B;
  --red:#F26D6D;--green:#3ECF8E;--gold:#F2C14E;--indigo:#9B8CE0;--violet:#9B8CE0;
  --radius:20px;--radius-sm:12px;
  --serif:'Fraunces','Iowan Old Style',Georgia,serif;
  --sans:'Inter','Archivo',system-ui,sans-serif;
  --mono:'JetBrains Mono','Spline Sans Mono',ui-monospace,monospace;
  --lexend:var(--sans);
  --sidebar-blue:#101014;--sidebar-blue2:#17171D;--sidebar-ink-dim:rgba(255,255,255,.66);
  --sidebar-grad:linear-gradient(176deg,#101014 0%,#0B0C10 55%,#08090D 100%);
  --page-bloom:radial-gradient(1100px 560px at 78% -8%,rgba(242,193,78,.10) 0%,rgba(242,193,78,0) 58%);
  --hero-grad:radial-gradient(130% 170% at 88% -25%,rgba(242,193,78,.16) 0%,transparent 55%),
              linear-gradient(165deg,#171A26 0%,#10121B 100%);
  --hero-grad2:radial-gradient(130% 170% at 88% -25%,rgba(139,124,246,.14) 0%,transparent 55%),
              linear-gradient(165deg,#171A26 0%,#10121B 100%);
  --shadow-sm:0 1px 2px rgba(0,0,0,.30),0 1px 3px rgba(0,0,0,.24);
  --shadow-md:0 2px 6px rgba(0,0,0,.32),0 8px 22px rgba(0,0,0,.34);
  --shadow-lg:0 6px 14px rgba(0,0,0,.38),0 22px 48px rgba(0,0,0,.46);
  --shadow-hero:0 14px 38px rgba(0,0,0,.5),0 2px 10px rgba(0,0,0,.4);
  --glow-gold:rgba(242,193,78,.5);--glow-mint:rgba(62,207,142,.46);
  --glow-coral:rgba(242,109,109,.46);--glow-violet:rgba(155,140,224,.46);
  --sub-amber:#F2C14E;--sub-coral:#F26D6D;--sub-green2:#3ECF8E;
  --sub-pink:#C77BA0;--sub-purple:#9B8CE0;--sub-teal:#3FA9A0;
  --hero-ink:#F4F2EC;--hero-ink-dim:rgba(244,242,236,.28);--hero-ink-faint:rgba(244,242,236,.12);
  --hero-panel:linear-gradient(165deg,#171A26 0%,#10121B 100%);
}
/* ══════════════════════ SKIN 1 · FABLE — Cream (light) ═════════════════════ */
html[data-edition="fable"][data-edition][data-theme="light"]{
  --bg:#F4EEDF;--paper:#FCF8EE;--card:var(--paper);
  /* critic fixes: text-gold #8A5F10 (5.3:1 AA) as --accent; #AD7A16 demoted to
     fills via --accent-soft; --ink-faint darkened to #6B5E42 (5.2:1) */
  --ink:#26200F;--ink-soft:#5D5340;--ink-faint:#6B5E42;--ink-rev:#FCF8EE;
  --line:#DED5C0;--line-soft:#EAE3D1;--chip:#ECE4CF;--hook:#F0E9D8;
  --accent:#8A5F10;--accent-soft:#AD7A16;--accent-ink:#FFF9E8;--accent-2:#6E4C0C;
  --red:#C2402F;--green:#177E52;--gold:#8A5F10;--indigo:#6C5CE0;--violet:#6C5CE0;
  --radius:20px;--radius-sm:12px;
  --serif:'Fraunces','Iowan Old Style',Georgia,serif;
  --sans:'Inter','Archivo',system-ui,sans-serif;
  --mono:'JetBrains Mono','Spline Sans Mono',ui-monospace,monospace;
  --lexend:var(--sans);
  --sidebar-blue:#241C0C;--sidebar-blue2:#2B2210;--sidebar-ink-dim:rgba(243,235,215,.68);
  --sidebar-grad:linear-gradient(176deg,#241C0C 0%,#1D1709 55%,#171207 100%);
  --page-bloom:radial-gradient(1100px 560px at 78% -8%,rgba(201,138,43,.12) 0%,rgba(201,138,43,0) 58%);
  --hero-grad:radial-gradient(130% 170% at 88% -25%,rgba(232,183,80,.30) 0%,transparent 55%),
              linear-gradient(165deg,#FFFDF4 0%,#F6EFDC 100%);
  --hero-grad2:radial-gradient(130% 170% at 88% -25%,rgba(23,126,82,.10) 0%,transparent 55%),
              linear-gradient(165deg,#FFFDF4 0%,#F6EFDC 100%);
  --shadow-sm:0 1px 2px rgba(96,74,28,.08),0 1px 3px rgba(96,74,28,.06);
  --shadow-md:0 2px 4px rgba(96,74,28,.08),0 6px 16px rgba(96,74,28,.10);
  --shadow-lg:0 4px 8px rgba(96,74,28,.08),0 18px 40px rgba(96,74,28,.16);
  --shadow-hero:0 10px 30px rgba(150,110,40,.20),0 2px 8px rgba(96,74,28,.10);
  --glow-gold:rgba(173,122,22,.40);--glow-mint:rgba(23,126,82,.35);
  --glow-coral:rgba(194,64,47,.35);--glow-violet:rgba(108,92,224,.35);
  --sub-amber:#AD7A16;--sub-coral:#C2402F;--sub-green2:#177E52;
  --sub-pink:#A65E82;--sub-purple:#6C5CE0;--sub-teal:#2E7E78;
  --hero-ink:#26200F;--hero-ink-dim:rgba(38,32,15,.30);--hero-ink-faint:rgba(38,32,15,.10);
  --hero-panel:linear-gradient(165deg,#FFFDF4 0%,#F6EFDC 100%);
}

/* ═════════════════════ SKIN 2 · SCALPEL — Theater (dark) ═══════════════════ */
html[data-edition="scalpel"][data-edition][data-theme="dark"]{
  --bg:#0A0D10;--paper:#10151A;--card:var(--paper);
  /* critic fix: --ink-faint raised to #74827F (≥4.5:1 at small mono sizes) */
  --ink:#E8ECEC;--ink-soft:#9AA6A8;--ink-faint:#74827F;--ink-rev:#0A0D10;
  --line:#252E34;--line-soft:#181F25;--chip:#141B21;--hook:#132028;
  --accent:#2DD4BF;--accent-soft:#14B8A6;--accent-ink:#062A25;--accent-2:#14B8A6;
  --red:#E5484D;/* small-text crimson: use #F05B60 below 12px (recipe) */
  --green:#54C79A;--gold:#2DD4BF;--indigo:#9B8CE0;--violet:#9B8CE0;
  --radius:4px;--radius-sm:3px;
  --serif:'Instrument Serif','Iowan Old Style',Georgia,serif;
  --sans:'Space Grotesk','Archivo',system-ui,sans-serif;
  --mono:'IBM Plex Mono','Spline Sans Mono',ui-monospace,monospace;
  --lexend:var(--sans);
  --sidebar-blue:#0B0F13;--sidebar-blue2:#12171C;--sidebar-ink-dim:rgba(232,236,236,.62);
  --sidebar-grad:linear-gradient(176deg,#0B0F13 0%,#0A0D10 55%,#080B0D 100%);
  --page-bloom:radial-gradient(1100px 560px at 78% -8%,rgba(45,212,191,.07) 0%,rgba(45,212,191,0) 58%);
  --hero-grad:radial-gradient(130% 170% at 88% -25%,rgba(45,212,191,.10) 0%,transparent 55%),
              linear-gradient(165deg,#12171D 0%,#0C1013 100%);
  --hero-grad2:radial-gradient(130% 170% at 88% -25%,rgba(125,167,201,.10) 0%,transparent 55%),
              linear-gradient(165deg,#12171D 0%,#0C1013 100%);
  --shadow-sm:0 1px 2px rgba(0,0,0,.30),0 1px 3px rgba(0,0,0,.24);
  --shadow-md:0 2px 6px rgba(0,0,0,.32),0 8px 22px rgba(0,0,0,.34);
  --shadow-lg:0 12px 32px rgba(0,0,0,.5);           /* critic value */
  --shadow-hero:0 14px 38px rgba(0,0,0,.5),0 2px 10px rgba(0,0,0,.4);
  --glow-gold:rgba(45,212,191,.45);--glow-mint:rgba(84,199,154,.40);
  --glow-coral:rgba(229,72,77,.42);--glow-violet:rgba(155,140,224,.40);
  --sub-amber:#C89A3D;--sub-coral:#C25048;--sub-green2:#4E9E7E;
  --sub-pink:#A87E96;--sub-purple:#8F6E9E;--sub-teal:#3FA096;
  --hero-ink:#E8ECEC;--hero-ink-dim:rgba(232,236,236,.28);--hero-ink-faint:rgba(232,236,236,.12);
  --hero-panel:linear-gradient(165deg,#12171D 0%,#0C1013 100%);
}
/* ════════════════════ SKIN 2 · SCALPEL — Porcelain (light) ═════════════════ */
html[data-edition="scalpel"][data-edition][data-theme="light"]{
  --bg:#F5F1E8;--paper:#FBF8F1;--card:var(--paper);
  /* critic fix: --ink-faint darkened to #5F6B6B (≥4.5:1) */
  --ink:#1C2326;--ink-soft:#4E5A5D;--ink-faint:#5F6B6B;--ink-rev:#FBF8F1;
  --line:#D6CFC0;--line-soft:#E7E1D4;--chip:#EDE8DB;--hook:#EDEAE0;
  --accent:#0E7A6E;--accent-soft:#0A5F56;--accent-ink:#F5FFFC;--accent-2:#0A5F56;
  --red:#B93238;--green:#177E52;--gold:#0E7A6E;--indigo:#6C5CE0;--violet:#6C5CE0;
  --radius:4px;--radius-sm:3px;
  --serif:'Instrument Serif','Iowan Old Style',Georgia,serif;
  --sans:'Space Grotesk','Archivo',system-ui,sans-serif;
  --mono:'IBM Plex Mono','Spline Sans Mono',ui-monospace,monospace;
  --lexend:var(--sans);
  --sidebar-blue:#121517;--sidebar-blue2:#191E23;--sidebar-ink-dim:rgba(240,240,235,.62);
  --sidebar-grad:linear-gradient(176deg,#121517 0%,#0E1113 55%,#0A0D10 100%);
  --page-bloom:radial-gradient(1100px 560px at 78% -8%,rgba(14,122,110,.08) 0%,rgba(14,122,110,0) 58%);
  --hero-grad:radial-gradient(130% 170% at 88% -25%,rgba(14,122,110,.10) 0%,transparent 55%),
              linear-gradient(165deg,#FBF8F1 0%,#F0EADC 100%);
  --hero-grad2:radial-gradient(130% 170% at 88% -25%,rgba(62,108,150,.08) 0%,transparent 55%),
              linear-gradient(165deg,#FBF8F1 0%,#F0EADC 100%);
  --shadow-sm:0 1px 2px rgba(28,35,38,.07),0 1px 3px rgba(28,35,38,.05);
  --shadow-md:0 2px 4px rgba(28,35,38,.06),0 6px 16px rgba(28,35,38,.09);
  --shadow-lg:0 8px 24px rgba(28,35,38,.14);        /* critic value */
  --shadow-hero:0 10px 30px rgba(28,35,38,.16),0 2px 8px rgba(28,35,38,.08);
  --glow-gold:rgba(14,122,110,.40);--glow-mint:rgba(23,126,82,.35);
  --glow-coral:rgba(185,50,56,.35);--glow-violet:rgba(108,92,224,.35);
  --sub-amber:#9E7526;--sub-coral:#A8443C;--sub-green2:#3E8266;
  --sub-pink:#8E6680;--sub-purple:#71527E;--sub-teal:#2E7E78;
  --hero-ink:#1C2326;--hero-ink-dim:rgba(28,35,38,.30);--hero-ink-faint:rgba(28,35,38,.10);
  --hero-panel:linear-gradient(165deg,#FBF8F1 0%,#F0EADC 100%);
}

/* ══════════════════════ SKIN 3 · AERO — Midnight (dark) ════════════════════ */
html[data-edition="aero"][data-edition][data-theme="dark"]{
  --bg:#090C1A;--paper:#121838;--card:var(--paper); /* near-solid panels (critic) */
  /* critic fix: --ink-faint lightened to #7E8AB8 (≥4.5:1) */
  --ink:#EAF0FF;--ink-soft:#A6B2D8;--ink-faint:#7E8AB8;--ink-rev:#090C1A;
  --line:#232B52;--line-soft:#161C3C;--chip:#161D40;--hook:#141A38;
  --accent:#4D7CFF;--accent-soft:#6E95FF;--accent-ink:#F2F6FF;--accent-2:#2E5BFF;
  --red:#FF6B81;--green:#3DDC97;--gold:#4D7CFF;--indigo:#9B8CE0;--violet:#9B8CE0;
  --radius:24px;--radius-sm:12px;   /* card / control (critic radius scale) */
  --serif:'Sora',system-ui,sans-serif;
  --sans:'Sora','Archivo',system-ui,sans-serif;
  --mono:'DM Mono','Spline Sans Mono',ui-monospace,monospace;
  --lexend:var(--sans);
  --sidebar-blue:#0D1230;--sidebar-blue2:#141A3E;--sidebar-ink-dim:rgba(234,240,255,.62);
  --sidebar-grad:linear-gradient(176deg,#0D1230 0%,#0A0E24 55%,#070A1A 100%);
  --page-bloom:radial-gradient(1100px 560px at 78% -8%,rgba(77,124,255,.20) 0%,rgba(77,124,255,0) 58%);
  --hero-grad:radial-gradient(130% 170% at 88% -25%,rgba(77,124,255,.22) 0%,transparent 55%),
              linear-gradient(165deg,#151B44 0%,#0D1230 100%);
  --hero-grad2:radial-gradient(130% 170% at 88% -25%,rgba(126,92,255,.18) 0%,transparent 55%),
              linear-gradient(165deg,#151B44 0%,#0D1230 100%);
  /* glow budget capped (critic): neutral shadows, cobalt only on hero/CTA ≤.35 */
  --shadow-sm:0 1px 2px rgba(0,0,0,.32),0 1px 3px rgba(0,0,0,.26);
  --shadow-md:0 2px 6px rgba(0,0,0,.30),0 8px 22px rgba(0,0,0,.32);
  --shadow-lg:0 8px 24px rgba(0,0,0,.35);
  --shadow-hero:0 14px 38px rgba(10,16,60,.55),0 0 30px rgba(77,124,255,.25);
  --glow-gold:rgba(77,124,255,.35);--glow-mint:rgba(61,220,151,.35);
  --glow-coral:rgba(255,107,129,.35);--glow-violet:rgba(126,92,255,.35);
  --sub-amber:#F0B45C;--sub-coral:#FF6B81;--sub-green2:#3DDC97;
  --sub-pink:#E17BC1;--sub-purple:#7E5CFF;--sub-teal:#38C8D8;
  --hero-ink:#EAF0FF;--hero-ink-dim:rgba(234,240,255,.28);--hero-ink-faint:rgba(234,240,255,.12);
  --hero-panel:linear-gradient(165deg,#151B44 0%,#0D1230 100%);
}
/* ═══════════════════════ SKIN 3 · AERO — Frost (light) ═════════════════════ */
html[data-edition="aero"][data-edition][data-theme="light"]{
  --bg:#E9EEFA;--paper:#FAFCFF;--card:var(--paper);
  /* critic fix: --ink-faint darkened to #5A6690 (≥4.5:1) */
  --ink:#131A38;--ink-soft:#4A5578;--ink-faint:#5A6690;--ink-rev:#FAFCFF;
  --line:#D4DCF0;--line-soft:#E4EAF7;--chip:#EAF0FB;--hook:#EDF2FD;
  --accent:#2E5BFF;--accent-soft:#4D7CFF;--accent-ink:#F5F8FF;--accent-2:#1E43D8;
  --red:#C93A52;--green:#0F9D6A;--gold:#2E5BFF;--indigo:#6C5CE0;--violet:#6C5CE0;
  --radius:24px;--radius-sm:12px;
  --serif:'Sora',system-ui,sans-serif;
  --sans:'Sora','Archivo',system-ui,sans-serif;
  --mono:'DM Mono','Spline Sans Mono',ui-monospace,monospace;
  --lexend:var(--sans);
  --sidebar-blue:#151A38;--sidebar-blue2:#1C2350;--sidebar-ink-dim:rgba(234,240,255,.62);
  --sidebar-grad:linear-gradient(176deg,#151A38 0%,#10142C 55%,#0B0E20 100%);
  --page-bloom:radial-gradient(1100px 560px at 78% -8%,rgba(46,91,255,.10) 0%,rgba(46,91,255,0) 58%);
  --hero-grad:radial-gradient(130% 170% at 88% -25%,rgba(46,91,255,.14) 0%,transparent 55%),
              linear-gradient(165deg,#FBFCFF 0%,#EAF0FC 100%);
  --hero-grad2:radial-gradient(130% 170% at 88% -25%,rgba(126,92,255,.10) 0%,transparent 55%),
              linear-gradient(165deg,#FBFCFF 0%,#EAF0FC 100%);
  --shadow-sm:0 1px 2px rgba(30,50,120,.08),0 1px 3px rgba(30,50,120,.06);
  --shadow-md:0 2px 4px rgba(30,50,120,.07),0 6px 16px rgba(30,50,120,.09);
  --shadow-lg:0 8px 24px rgba(46,91,255,.10);       /* critic value */
  --shadow-hero:0 10px 30px rgba(46,91,255,.16),0 2px 8px rgba(30,50,120,.08);
  --glow-gold:rgba(46,91,255,.30);--glow-mint:rgba(15,157,106,.30);
  --glow-coral:rgba(201,58,82,.30);--glow-violet:rgba(108,92,224,.30);
  --sub-amber:#B07C2A;--sub-coral:#C93A52;--sub-green2:#0F9D6A;
  --sub-pink:#B75CA0;--sub-purple:#6C5CE0;--sub-teal:#1F8FA0;
  --hero-ink:#131A38;--hero-ink-dim:rgba(19,26,56,.30);--hero-ink-faint:rgba(19,26,56,.10);
  --hero-panel:linear-gradient(165deg,#FBFCFF 0%,#EAF0FC 100%);
}

/* ════════════════════════════════════════════════════════════════════════════
   DISCIPLINE SKINS — each vertical's own identity, derived from its discipline
   accent via DESIGN_ENGINE/DISCIPLINE_SKIN_RECIPE.md. A vertical build ships
   `<html data-edition="enamel" data-discipline="dentistry">` (static default;
   user editions still work on top). They are NOT in the medicine picker.
   ════════════════════════════════════════════════════════════════════════════ */

/* ═════════════ DISCIPLINE SKIN · ENAMEL (dentistry) — Scan (dark) ══════════ */
html[data-edition="enamel"][data-edition][data-theme="dark"]{
  --bg:#06121A;--paper:#0C1D28;--card:var(--paper);
  --ink:#E8F3F8;--ink-soft:#9FBECC;--ink-faint:#6E93A6;--ink-rev:#06121A;
  --line:#1C3242;--line-soft:#122534;--chip:#102230;--hook:#0E2130;
  --accent:#3FB6E8;--accent-soft:#2FA8DC;--accent-ink:#03222E;--accent-2:#2FA8DC;
  --red:#F26D6D;--green:#3ECF8E;--gold:#3FB6E8;--indigo:#9B8CE0;--violet:#9B8CE0;
  --radius:16px;--radius-sm:10px;
  --serif:'Lexend','Archivo',system-ui,sans-serif;
  --sans:'Inter','Archivo',system-ui,sans-serif;
  --mono:'Spline Sans Mono',ui-monospace,monospace;
  --lexend:'Lexend',var(--sans);
  --sidebar-blue:#081820;--sidebar-blue2:#0C2230;--sidebar-ink-dim:rgba(232,243,248,.64);
  --sidebar-grad:linear-gradient(176deg,#081820 0%,#06131A 55%,#040E14 100%);
  --page-bloom:radial-gradient(1100px 560px at 78% -8%,rgba(63,182,232,.12) 0%,rgba(63,182,232,0) 58%);
  --hero-grad:radial-gradient(130% 170% at 88% -25%,rgba(63,182,232,.15) 0%,transparent 55%),
              linear-gradient(165deg,#0E2432 0%,#091A24 100%);
  --hero-grad2:radial-gradient(130% 170% at 88% -25%,rgba(62,207,142,.12) 0%,transparent 55%),
              linear-gradient(165deg,#0E2432 0%,#091A24 100%);
  --shadow-sm:0 1px 2px rgba(0,0,0,.30),0 1px 3px rgba(0,0,0,.24);
  --shadow-md:0 2px 6px rgba(0,0,0,.32),0 8px 22px rgba(0,0,0,.34);
  --shadow-lg:0 10px 28px rgba(0,0,0,.44);
  --shadow-hero:0 14px 38px rgba(2,14,22,.55),0 2px 10px rgba(0,0,0,.4);
  --glow-gold:rgba(63,182,232,.42);--glow-mint:rgba(62,207,142,.38);
  --glow-coral:rgba(242,109,109,.40);--glow-violet:rgba(155,140,224,.38);
  --sub-amber:#E8B04B;--sub-coral:#F26D6D;--sub-green2:#3ECF8E;
  --sub-pink:#C77BA0;--sub-purple:#9B8CE0;--sub-teal:#38C8D8;
  --hero-ink:#E8F3F8;--hero-ink-dim:rgba(232,243,248,.28);--hero-ink-faint:rgba(232,243,248,.12);
  --hero-panel:linear-gradient(165deg,#0E2432 0%,#091A24 100%);
}
/* ═══════════ DISCIPLINE SKIN · ENAMEL (dentistry) — Chairside (light) ══════ */
html[data-edition="enamel"][data-edition][data-theme="light"]{
  --bg:#EDF3F6;--paper:#FBFDFE;--card:var(--paper);
  --ink:#132029;--ink-soft:#435A66;--ink-faint:#5B7280;--ink-rev:#FBFDFE;
  --line:#D5E2E9;--line-soft:#E4EDF2;--chip:#E2EDF2;--hook:#E8F1F5;
  --accent:#0F6E96;--accent-soft:#1187B5;--accent-ink:#F2FAFE;--accent-2:#0A5875;
  --red:#C0392B;--green:#1F7A57;--gold:#0F6E96;--indigo:#6C5CE0;--violet:#6C5CE0;
  --radius:16px;--radius-sm:10px;
  --serif:'Lexend','Archivo',system-ui,sans-serif;
  --sans:'Inter','Archivo',system-ui,sans-serif;
  --mono:'Spline Sans Mono',ui-monospace,monospace;
  --lexend:'Lexend',var(--sans);
  --sidebar-blue:#0E2330;--sidebar-blue2:#143140;--sidebar-ink-dim:rgba(235,245,250,.66);
  --sidebar-grad:linear-gradient(176deg,#0E2330 0%,#0A1B26 55%,#07141D 100%);
  --page-bloom:radial-gradient(1100px 560px at 78% -8%,rgba(17,135,181,.10) 0%,rgba(17,135,181,0) 58%);
  --hero-grad:radial-gradient(130% 170% at 88% -25%,rgba(17,135,181,.12) 0%,transparent 55%),
              linear-gradient(165deg,#FDFEFF 0%,#EAF2F6 100%);
  --hero-grad2:radial-gradient(130% 170% at 88% -25%,rgba(31,122,87,.10) 0%,transparent 55%),
              linear-gradient(165deg,#FDFEFF 0%,#EAF2F6 100%);
  --shadow-sm:0 1px 2px rgba(19,32,41,.07),0 1px 3px rgba(19,32,41,.05);
  --shadow-md:0 2px 4px rgba(19,32,41,.06),0 6px 16px rgba(19,32,41,.09);
  --shadow-lg:0 8px 24px rgba(19,32,41,.13);
  --shadow-hero:0 10px 30px rgba(15,110,150,.16),0 2px 8px rgba(19,32,41,.08);
  --glow-gold:rgba(15,110,150,.35);--glow-mint:rgba(31,122,87,.32);
  --glow-coral:rgba(192,57,43,.32);--glow-violet:rgba(108,92,224,.32);
  --sub-amber:#9E7526;--sub-coral:#A8443C;--sub-green2:#3E8266;
  --sub-pink:#8E6680;--sub-purple:#71527E;--sub-teal:#1F8FA0;
  --hero-ink:#132029;--hero-ink-dim:rgba(19,32,41,.30);--hero-ink-faint:rgba(19,32,41,.10);
  --hero-panel:linear-gradient(165deg,#FDFEFF 0%,#EAF2F6 100%);
}

/* ═════════════ DISCIPLINE SKIN · VERDANT (pharmacy) — Still (dark) ═════════ */
html[data-edition="verdant"][data-edition][data-theme="dark"]{
  --bg:#08120C;--paper:#101E15;--card:var(--paper);
  --ink:#EAF5EC;--ink-soft:#A9C4B0;--ink-faint:#7A9C86;--ink-rev:#08120C;
  --line:#20372A;--line-soft:#16291D;--chip:#132518;--hook:#122417;
  --accent:#3FBF87;--accent-soft:#2E9E6B;--accent-ink:#052517;--accent-2:#2E9E6B;
  --red:#F26D6D;--green:#3FBF87;--gold:#E8B04B;--indigo:#9B8CE0;--violet:#9B8CE0;
  --radius:14px;--radius-sm:9px;
  --serif:'Satoshi','Archivo',system-ui,sans-serif;
  --sans:'Satoshi','Archivo',system-ui,sans-serif;
  --mono:'Spline Sans Mono',ui-monospace,monospace;
  --lexend:'Satoshi',var(--sans);
  --sidebar-blue:#0A1810;--sidebar-blue2:#102418;--sidebar-ink-dim:rgba(234,245,236,.64);
  --sidebar-grad:linear-gradient(176deg,#0A1810 0%,#08130C 55%,#060E09 100%);
  --page-bloom:radial-gradient(1100px 560px at 78% -8%,rgba(63,191,135,.11) 0%,rgba(63,191,135,0) 58%);
  --hero-grad:radial-gradient(130% 170% at 88% -25%,rgba(63,191,135,.14) 0%,transparent 55%),
              linear-gradient(165deg,#12241A 0%,#0B1810 100%);
  --hero-grad2:radial-gradient(130% 170% at 88% -25%,rgba(232,176,75,.11) 0%,transparent 55%),
              linear-gradient(165deg,#12241A 0%,#0B1810 100%);
  --shadow-sm:0 1px 2px rgba(0,0,0,.30),0 1px 3px rgba(0,0,0,.24);
  --shadow-md:0 2px 6px rgba(0,0,0,.32),0 8px 22px rgba(0,0,0,.34);
  --shadow-lg:0 10px 28px rgba(0,0,0,.44);
  --shadow-hero:0 14px 38px rgba(3,16,9,.55),0 2px 10px rgba(0,0,0,.4);
  --glow-gold:rgba(232,176,75,.40);--glow-mint:rgba(63,191,135,.42);
  --glow-coral:rgba(242,109,109,.40);--glow-violet:rgba(155,140,224,.38);
  --sub-amber:#E8B04B;--sub-coral:#F26D6D;--sub-green2:#3FBF87;
  --sub-pink:#C77BA0;--sub-purple:#9B8CE0;--sub-teal:#3FA9A0;
  --hero-ink:#EAF5EC;--hero-ink-dim:rgba(234,245,236,.28);--hero-ink-faint:rgba(234,245,236,.12);
  --hero-panel:linear-gradient(165deg,#12241A 0%,#0B1810 100%);
}
/* ═══════════ DISCIPLINE SKIN · VERDANT (pharmacy) — Herbarium (light) ══════ */
html[data-edition="verdant"][data-edition][data-theme="light"]{
  --bg:#EFF2E9;--paper:#FBFCF7;--card:var(--paper);
  --ink:#1B241C;--ink-soft:#4A5C4E;--ink-faint:#5E7462;--ink-rev:#FBFCF7;
  --line:#DCE2CF;--line-soft:#E8ECDD;--chip:#E6EBDA;--hook:#EBF0DF;
  --accent:#1E7A50;--accent-soft:#26935F;--accent-ink:#F3FBF5;--accent-2:#175F3E;
  --red:#C0392B;--green:#1E7A50;--gold:#8A6A1A;--indigo:#6C5CE0;--violet:#6C5CE0;
  --radius:14px;--radius-sm:9px;
  --serif:'Satoshi','Archivo',system-ui,sans-serif;
  --sans:'Satoshi','Archivo',system-ui,sans-serif;
  --mono:'Spline Sans Mono',ui-monospace,monospace;
  --lexend:'Satoshi',var(--sans);
  --sidebar-blue:#152418;--sidebar-blue2:#1C3020;--sidebar-ink-dim:rgba(240,247,240,.66);
  --sidebar-grad:linear-gradient(176deg,#152418 0%,#101C12 55%,#0B140D 100%);
  --page-bloom:radial-gradient(1100px 560px at 78% -8%,rgba(38,147,95,.10) 0%,rgba(38,147,95,0) 58%);
  --hero-grad:radial-gradient(130% 170% at 88% -25%,rgba(38,147,95,.12) 0%,transparent 55%),
              linear-gradient(165deg,#FDFEF9 0%,#ECF0E1 100%);
  --hero-grad2:radial-gradient(130% 170% at 88% -25%,rgba(138,106,26,.10) 0%,transparent 55%),
              linear-gradient(165deg,#FDFEF9 0%,#ECF0E1 100%);
  --shadow-sm:0 1px 2px rgba(27,36,28,.07),0 1px 3px rgba(27,36,28,.05);
  --shadow-md:0 2px 4px rgba(27,36,28,.06),0 6px 16px rgba(27,36,28,.09);
  --shadow-lg:0 8px 24px rgba(27,36,28,.13);
  --shadow-hero:0 10px 30px rgba(30,122,80,.15),0 2px 8px rgba(27,36,28,.08);
  --glow-gold:rgba(138,106,26,.32);--glow-mint:rgba(30,122,80,.34);
  --glow-coral:rgba(192,57,43,.32);--glow-violet:rgba(108,92,224,.32);
  --sub-amber:#8A6A1A;--sub-coral:#A8443C;--sub-green2:#3E8266;
  --sub-pink:#8E6680;--sub-purple:#71527E;--sub-teal:#2E7E78;
  --hero-ink:#1B241C;--hero-ink-dim:rgba(27,36,28,.30);--hero-ink-faint:rgba(27,36,28,.10);
  --hero-panel:linear-gradient(165deg,#FDFEF9 0%,#ECF0E1 100%);
}
