  :root{
    color-scheme:light dark;
    --bg:#ffffff;
    --bg-soft:#f8f7f4;
    --surface:#f5f3ee;
    --surface-hover:#ece9e2;
    --text:#191918;
    --muted:#4b4944;
    --dim:#6f6c65;
    --line:rgba(25,25,24,0.13);
    --line-strong:rgba(25,25,24,0.24);
    --rule:rgba(25,25,24,0.26);
    --accent:#c84b31;
    --accent-soft:#b84027;
    --green:#1f7a3f;
    --green-soft:#1f7a3f;
    --pill-bg:rgba(25,25,24,0.035);
    --pill-border:rgba(25,25,24,0.16);
    --toggle-hover:rgba(25,25,24,0.06);
    --diagram-node:#c7c1b5;
    --diagram-arrow:#747068;
    --diagram-text:#272623;
    --diagram-text-strong:#191918;
    --diagram-accent:#c84b31;
    --diagram-surface:#faf9f6;
    --diagram-code:#272623;
    --sans:'Source Serif 4', ui-serif, Georgia, 'Times New Roman', serif;
    --display:'Source Serif 4', ui-serif, Georgia, 'Times New Roman', serif;
    --mono:'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  @media (prefers-color-scheme:dark){
    :root:not([data-theme="light"]){
      color-scheme:dark;
      --bg:#0d0d0c;
      --bg-soft:#141412;
      --surface:#181815;
      --surface-hover:#20201c;
      --text:#ece9e1;
      --muted:#b7b1a6;
      --dim:#918b80;
      --line:rgba(236,233,225,0.13);
      --line-strong:rgba(236,233,225,0.24);
      --rule:rgba(236,233,225,0.28);
      --accent:#e06b50;
      --accent-soft:#e06b50;
      --green:#56d364;
      --green-soft:#8fd6a9;
      --pill-bg:rgba(236,233,225,0.045);
      --pill-border:rgba(236,233,225,0.16);
      --toggle-hover:rgba(236,233,225,0.08);
      --diagram-node:#3b3833;
      --diagram-arrow:#878176;
      --diagram-text:#d7d0c4;
      --diagram-text-strong:#ece9e1;
      --diagram-accent:#e06b50;
      --diagram-surface:#131311;
      --diagram-code:#d2ccc0;
    }
  }
  :root[data-theme="light"]{
    color-scheme:light;
  }
  :root[data-theme="dark"]{
    color-scheme:dark;
    --bg:#0d0d0c;
    --bg-soft:#141412;
    --surface:#181815;
    --surface-hover:#20201c;
    --text:#ece9e1;
    --muted:#b7b1a6;
    --dim:#918b80;
    --line:rgba(236,233,225,0.13);
    --line-strong:rgba(236,233,225,0.24);
    --rule:rgba(236,233,225,0.28);
    --accent:#e06b50;
    --accent-soft:#e06b50;
    --green:#56d364;
    --green-soft:#8fd6a9;
    --pill-bg:rgba(236,233,225,0.045);
    --pill-border:rgba(236,233,225,0.16);
    --toggle-hover:rgba(236,233,225,0.08);
    --diagram-node:#3b3833;
    --diagram-arrow:#878176;
    --diagram-text:#d7d0c4;
    --diagram-text-strong:#ece9e1;
    --diagram-accent:#e06b50;
    --diagram-surface:#131311;
    --diagram-code:#d2ccc0;
  }

  :root[data-season="summer"]{
    --bg:#fdf6e7;--bg-soft:#f6eedb;--surface:#f1e7d0;--surface-hover:#e7dbc0;
    --text:#221c13;--muted:#524634;--dim:#6e5f4a;
    --line:rgba(34,28,19,0.13);--line-strong:rgba(34,28,19,0.23);--rule:rgba(34,28,19,0.24);
    --accent:#cf5628;--accent-soft:#cf5628;
    --diagram-surface:#faf1df;--diagram-node:#c7b89c;--diagram-text:#2c2419;--diagram-text-strong:#221c13;--diagram-code:#2c2419;
    --sky-glow:rgba(230,163,24,0.13);--horizon-glow:rgba(216,95,37,0.08);
  }
  :root[data-season="monsoon"]{
    --bg:#eef3f7;--bg-soft:#e4ecf2;--surface:#dce6ee;--surface-hover:#d0dde7;
    --text:#141c24;--muted:#3c4a57;--dim:#4f5f6e;
    --line:rgba(20,28,36,0.13);--line-strong:rgba(20,28,36,0.22);--rule:rgba(20,28,36,0.22);
    --accent:#9f5244;--accent-soft:#9f5244;
    --diagram-surface:#e9eff5;--diagram-node:#aebcc9;--diagram-text:#1c2630;--diagram-text-strong:#141c24;--diagram-code:#1c2630;
    --sky-glow:rgba(58,117,173,0.14);--horizon-glow:rgba(72,125,88,0.07);
  }
  :root[data-season="autumn"]{
    --bg:#faf1eb;--bg-soft:#f3e7df;--surface:#ecddd3;--surface-hover:#e2d0c4;
    --text:#221714;--muted:#54403a;--dim:#6e5750;
    --line:rgba(34,23,20,0.13);--line-strong:rgba(34,23,20,0.23);--rule:rgba(34,23,20,0.23);
    --accent:#b8442a;--accent-soft:#b8442a;
    --diagram-surface:#f6ebe4;--diagram-node:#c8b4aa;--diagram-text:#2b1f1b;--diagram-text-strong:#221714;--diagram-code:#2b1f1b;
    --sky-glow:rgba(217,142,38,0.10);--horizon-glow:rgba(199,83,40,0.08);
  }
  @media (prefers-color-scheme:dark){
    :root:not([data-theme="light"])[data-season="summer"]{
      --bg:#16110b;--bg-soft:#1d170f;--surface:#231b12;--surface-hover:#2d2318;
      --text:#f4ead7;--muted:#ccbda4;--dim:#b09b7e;
      --line:rgba(244,234,215,0.13);--line-strong:rgba(244,234,215,0.24);--rule:rgba(244,234,215,0.26);
      --accent:#ea7846;--accent-soft:#ea7846;
      --diagram-surface:#1b150e;--diagram-node:#45392a;--diagram-text:#e2d4be;--diagram-text-strong:#f4ead7;--diagram-code:#e2d4be;
      --sky-glow:rgba(242,183,56,0.11);--horizon-glow:rgba(234,120,70,0.08);
    }
    :root:not([data-theme="light"])[data-season="monsoon"]{
      --bg:#0a1118;--bg-soft:#101923;--surface:#14202c;--surface-hover:#1a2836;
      --text:#e2ebf3;--muted:#b2c2d1;--dim:#8497aa;
      --line:rgba(226,235,243,0.13);--line-strong:rgba(226,235,243,0.24);--rule:rgba(226,235,243,0.24);
      --accent:#bf7363;--accent-soft:#bf7363;
      --diagram-surface:#0f1720;--diagram-node:#2d3d4e;--diagram-text:#c8d6e3;--diagram-text-strong:#e2ebf3;--diagram-code:#c8d6e3;
      --sky-glow:rgba(89,149,204,0.13);--horizon-glow:rgba(95,153,112,0.08);
    }
    :root:not([data-theme="light"])[data-season="autumn"]{
      --bg:#150e0c;--bg-soft:#1c1310;--surface:#221814;--surface-hover:#2b1f1a;
      --text:#f2e5df;--muted:#cbb5ab;--dim:#ad9187;
      --line:rgba(242,229,223,0.13);--line-strong:rgba(242,229,223,0.24);--rule:rgba(242,229,223,0.24);
      --accent:#d46246;--accent-soft:#d46246;
      --diagram-surface:#1a120f;--diagram-node:#42312b;--diagram-text:#deccc4;--diagram-text-strong:#f2e5df;--diagram-code:#deccc4;
      --sky-glow:rgba(229,163,60,0.10);--horizon-glow:rgba(217,108,62,0.09);
    }
  }
  :root[data-theme="dark"][data-season="summer"]{
    --bg:#16110b;--bg-soft:#1d170f;--surface:#231b12;--surface-hover:#2d2318;
    --text:#f4ead7;--muted:#ccbda4;--dim:#b09b7e;
    --line:rgba(244,234,215,0.13);--line-strong:rgba(244,234,215,0.24);--rule:rgba(244,234,215,0.26);
    --accent:#ea7846;--accent-soft:#ea7846;
    --diagram-surface:#1b150e;--diagram-node:#45392a;--diagram-text:#e2d4be;--diagram-text-strong:#f4ead7;--diagram-code:#e2d4be;
    --sky-glow:rgba(242,183,56,0.11);--horizon-glow:rgba(234,120,70,0.08);
  }
  :root[data-theme="dark"][data-season="monsoon"]{
    --bg:#0a1118;--bg-soft:#101923;--surface:#14202c;--surface-hover:#1a2836;
    --text:#e2ebf3;--muted:#b2c2d1;--dim:#8497aa;
    --line:rgba(226,235,243,0.13);--line-strong:rgba(226,235,243,0.24);--rule:rgba(226,235,243,0.24);
    --accent:#bf7363;--accent-soft:#bf7363;
    --diagram-surface:#0f1720;--diagram-node:#2d3d4e;--diagram-text:#c8d6e3;--diagram-text-strong:#e2ebf3;--diagram-code:#c8d6e3;
    --sky-glow:rgba(89,149,204,0.13);--horizon-glow:rgba(95,153,112,0.08);
  }
  :root[data-theme="dark"][data-season="autumn"]{
    --bg:#150e0c;--bg-soft:#1c1310;--surface:#221814;--surface-hover:#2b1f1a;
    --text:#f2e5df;--muted:#cbb5ab;--dim:#ad9187;
    --line:rgba(242,229,223,0.13);--line-strong:rgba(242,229,223,0.24);--rule:rgba(242,229,223,0.24);
    --accent:#d46246;--accent-soft:#d46246;
    --diagram-surface:#1a120f;--diagram-node:#42312b;--diagram-text:#deccc4;--diagram-text-strong:#f2e5df;--diagram-code:#deccc4;
    --sky-glow:rgba(229,163,60,0.10);--horizon-glow:rgba(217,108,62,0.09);
  }
  body::before{
    content:"";position:fixed;inset:0;pointer-events:none;z-index:0;
    box-shadow:inset 0 140px 170px -90px var(--sky-glow, rgba(222,176,56,0.04)), inset 0 -160px 180px -100px var(--horizon-glow, rgba(105,155,86,0.04));
  }
  *{margin:0;padding:0;box-sizing:border-box;}
  html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;}
  body{
    background:var(--bg);
    color:var(--text);
    font-family:var(--sans);
    font-optical-sizing:auto;
    font-size:17px;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
    transition:background-color .2s ease,color .2s ease;
  }
  ::selection{background:rgba(200,75,49,.2);color:var(--text);}
  @media (prefers-color-scheme:dark){
    :root:not([data-theme="light"]) ::selection{background:rgba(224,107,80,.28);}
  }
  :root[data-theme="dark"] ::selection{background:rgba(224,107,80,.28);}
  a{color:inherit;}
  button{font:inherit;}
  img{max-width:100%;}
  :focus-visible{outline:1.5px solid var(--accent);outline-offset:3px;border-radius:2px;}
  .sr-only{
    position:absolute;width:1px;height:1px;padding:0;margin:-1px;
    overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
  }
  .skip-link{
    position:fixed;left:-9999px;top:14px;z-index:40;
    padding:6px 12px;border:1px solid var(--pill-border);border-radius:999px;
    background:var(--bg);color:var(--text);font-family:var(--mono);font-size:11px;
    line-height:1.3;letter-spacing:.02em;text-decoration:none;
  }
  .skip-link:focus,.skip-link:focus-visible{
    left:16px;outline:1.5px solid var(--accent);outline-offset:2px;
  }
