/* VML company palette; semantic colors preserve meaning in both modes. */
:root{color-scheme:light;--bg:#f3f3f0;--panel:#fff;--surface:#fafaf8;--soft:#eaeae6;--text:#202024;--muted:#626269;--line:#d8d8d3;--line-soft:#e8e8e4;--red:#c62922;--red-text:#b4221c;--red-soft:#fcece9;--green:#c62922;--accent:#ededeb;--good-bg:#e5f3e9;--good-text:#22623e;--warn-bg:#fff1d9;--warn-text:#805913;--error-bg:#fae9e6;--error-text:#a72e24;--hero:#101013;--hero-text:#ededeb;--hero-muted:#b8b8bf;--shadow:0 4px 18px #14141606;--body:'IBM Plex Sans','Segoe UI',sans-serif;--display:Rajdhani,'Arial Narrow','Segoe UI',sans-serif;--mono:'IBM Plex Mono',Consolas,monospace}
:root[data-theme=dark]{color-scheme:dark;--bg:#0a0a0b;--panel:#141416;--surface:#101012;--soft:#202024;--text:#ededeb;--muted:#aaaab2;--line:#34343a;--line-soft:#26262b;--red:#c93128;--red-text:#ff8278;--red-soft:#321c1d;--green:#c93128;--good-bg:#173025;--good-text:#83d9a3;--warn-bg:#332a1b;--warn-text:#efc473;--error-bg:#351e1c;--error-text:#ffaaa1;--shadow:none}
.theme-switch{display:inline-flex;gap:3px;border:1px solid var(--line);background:var(--surface);padding:3px;border-radius:6px;flex-shrink:0}
.theme-switch button{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:auto;padding:7px 9px;border:0;border-radius:3px;background:transparent;color:var(--muted);font:500 11px var(--body);cursor:pointer}
.theme-switch button[aria-pressed=true]{background:var(--soft);color:var(--text)}
.theme-switch svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
:focus-visible{outline:2px solid var(--red-text);outline-offset:3px}
::selection{background:var(--red);color:#fff}
