/* Light and dark tokens shared by every page except the home page, which
   carries the same block inline. Keep the two in step. */
  :root{
  --display:"Space Grotesk",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  --night:#070d16;--deep:#0d1c2e;--navy:#162f49;--ink:#e8eff3;--muted:#aebecd;--faint:#8193a6;--teal:#7fded1;--blue:#4f93cf;--line:#22344a;--field:#0b1726;--attention:#d9c9a6;
  --glow:#12304d;--glow-2:rgba(13,28,46,.6);--chip-bg:#0d1c2ecc;--bar:rgba(7,13,22,.72);--bar-line:rgba(43,69,96,.55);--hover:rgba(127,222,209,.07);
  --line-strong:#34506e;--line-mid:#2b4560;--line-hover:#2f5577;--alt:#09121e;--card-top:#0f2034;--card:#0b1626;--glow-arch:#0f2740;--well:#08111d;
  --node-bg:#0d1c2e;--core-bg:#0f2236;--core-line:#3a6a93;--model-bg:#10283c;--human-bg:#1f2128;--human-ink:#f1ece3;--gov-bg:#0b1a2a;--ext-line:#4f6780;
  --sand-line:#4a4030;--sand-bg:#2a251b;--sand-bg-top:#1c1a16;--sand:#cbbda4;--teal-bg:#0f2a2a;--sea-1:#0f2740;--sea-2:#0b1d31;
  --grad:linear-gradient(90deg,#4f93cf,#7fded1);--logo-dark:block;--logo-light:none;--stars:block
}
/* Light: the system setting, unless the visitor chose dark; or the switch. */
@media (prefers-color-scheme: light){:root:not([data-theme="dark"]){
  --night:#f4f8fa;--deep:#ffffff;--navy:#162f49;--ink:#0f1821;--muted:#3d5268;--faint:#4f6780;--teal:#15605b;--blue:#1d5a93;--line:#d3dee8;--field:#ffffff;--attention:#6a5a41;
  --glow:#d6e6f4;--glow-2:rgba(214,230,244,.55);--chip-bg:#ffffffcc;--bar:rgba(244,248,250,.86);--bar-line:rgba(159,180,199,.55);--hover:rgba(21,96,91,.07);
  --line-strong:#9fb4c7;--line-mid:#c3d2df;--line-hover:#8fb0cc;--alt:#eaf1f6;--card-top:#ffffff;--card:#f8fbfd;--glow-arch:#e1edf7;--well:#ffffff;
  --node-bg:#ffffff;--core-bg:#eef5fb;--core-line:#7da7cc;--model-bg:#e8f7f4;--human-bg:#faf6ee;--human-ink:#3d3324;--gov-bg:#f2f8f7;--ext-line:#9fb4c7;
  --sand-line:#cbbda4;--sand-bg:#f6f1e7;--sand-bg-top:#fbf7ef;--sand:#94805f;--teal-bg:#e5f5f2;--sea-1:#dbe7f1;--sea-2:#cddcea;
  --grad:linear-gradient(90deg,#4f93cf,#7fded1);--logo-dark:none;--logo-light:block;--stars:none
}}
:root[data-theme="light"]{
  --night:#f4f8fa;--deep:#ffffff;--navy:#162f49;--ink:#0f1821;--muted:#3d5268;--faint:#4f6780;--teal:#15605b;--blue:#1d5a93;--line:#d3dee8;--field:#ffffff;--attention:#6a5a41;
  --glow:#d6e6f4;--glow-2:rgba(214,230,244,.55);--chip-bg:#ffffffcc;--bar:rgba(244,248,250,.86);--bar-line:rgba(159,180,199,.55);--hover:rgba(21,96,91,.07);
  --line-strong:#9fb4c7;--line-mid:#c3d2df;--line-hover:#8fb0cc;--alt:#eaf1f6;--card-top:#ffffff;--card:#f8fbfd;--glow-arch:#e1edf7;--well:#ffffff;
  --node-bg:#ffffff;--core-bg:#eef5fb;--core-line:#7da7cc;--model-bg:#e8f7f4;--human-bg:#faf6ee;--human-ink:#3d3324;--gov-bg:#f2f8f7;--ext-line:#9fb4c7;
  --sand-line:#cbbda4;--sand-bg:#f6f1e7;--sand-bg-top:#fbf7ef;--sand:#94805f;--teal-bg:#e5f5f2;--sea-1:#dbe7f1;--sea-2:#cddcea;
  --grad:linear-gradient(90deg,#4f93cf,#7fded1);--logo-dark:none;--logo-light:block;--stars:none
}
body{background:var(--night);color:var(--ink)}
.logo-d{display:var(--logo-dark)!important}.logo-l{display:var(--logo-light)!important}
.themetoggle{display:grid;place-items:center;width:44px;height:44px;flex:none;border-radius:12px;border:1px solid var(--line-strong);background:transparent;color:var(--ink);padding:0;cursor:pointer}
.themetoggle:hover{border-color:var(--teal);color:var(--teal)}
.themetoggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.themetoggle .sun{display:var(--logo-dark)}.themetoggle .moon{display:var(--logo-light)}
