/* Design tokens (ARCHITECTURE.md 3.3). Owner: WP0, later WP7.
   Light is the default. [data-theme="light"] also forces light inside a dark page (the kitchen uses both). */
:root,[data-theme="light"]{--bg:#f5f7f8;--surface:#ffffff;--ink:#17262b;--muted:#5f6f75;--line:#dbe3e5;
 --accent:#0b7a63;--accent-soft:#dff2ea;--ok:#1f8a4c;--ok-soft:#e3f5ea;--warn:#b7791f;--warn-soft:#fff3dc;
 --danger:#b23a3a;--danger-soft:#fde8e8;--info:#2f5fa8;--info-soft:#e4ecfa;
 --code-bg:#0f1720;--code-ink:#d8e2e8;--code-green:#7ee2b8;--code-red:#ff8b8b;--code-yellow:#ffd479;
 --radius:10px;--radius-sm:6px;--shadow:0 6px 20px rgba(23,38,43,.08);
 --font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
 --mono:ui-monospace,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;
 --fs:15px;--lh:1.6;--sp-1:4px;--sp-2:8px;--sp-3:12px;--sp-4:16px;--sp-5:24px;--sp-6:32px;
 color-scheme:light}
[data-theme="dark"]{--bg:#0f1517;--surface:#161d20;--ink:#e6edf0;--muted:#97a6ac;--line:#263136;
 --accent:#3ccf9f;--accent-soft:#143a31;--ok:#52c57f;--ok-soft:#163626;--warn:#e0a84a;--warn-soft:#3a2d12;
 --danger:#ff7b7b;--danger-soft:#3b1b1b;--info:#7aa7ef;--info-soft:#1c2a44;--code-bg:#0a0e11;--shadow:none;
 color-scheme:dark}

/* Boot phase colors, the same in both themes (they sit on light fills). */
:root{--ph-power:#8a8f98;--ph-sec:#7060bc;--ph-pei:#0b7a63;--ph-dxe:#2f5fa8;--ph-bds:#b7791f;--ph-os:#1f8a4c;--ph-err:#b23a3a}
