:root{--bg:#f6f7fb;--surface:#fff;--text:#14172b;--muted:#5b6078;--border:#e2e5f0;--primary:#5b4bff;--primary-h:#4638e0;--primary-t:#fff;--accent:#12b8a6;--danger:#d92d4a;--danger-bg:#fdecef;--ok:#0f8a5f;--ok-bg:#e3f6ee;--warn:#9a6700;--warn-bg:#fff4d6;--ring:rgba(91,75,255,.35);--shadow:0 10px 30px rgba(20,23,43,.08)}
[data-theme=dark]{--bg:#0d0f1c;--surface:#171a2e;--text:#eef0fb;--muted:#a1a7c4;--border:#2a2e4a;--primary:#8a7dff;--primary-h:#a094ff;--primary-t:#0d0f1c;--accent:#3fd8c6;--danger:#ff7088;--danger-bg:#3a1621;--ok:#4fd8a1;--ok-bg:#12332a;--warn:#f2c14e;--warn-bg:#3a2f12;--ring:rgba(138,125,255,.45);--shadow:0 10px 30px rgba(0,0,0,.4)}
*{box-sizing:border-box}html{color-scheme:light dark}
body{margin:0;font:16px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;background:var(--bg);color:var(--text)}
[data-theme=light]{color-scheme:light}[data-theme=dark]{color-scheme:dark}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
:focus-visible{outline:3px solid var(--ring);outline-offset:2px}
.logo{display:inline-flex;align-items:center;gap:.6rem;font-weight:700;font-size:1.25rem;letter-spacing:-.01em;color:inherit;text-decoration:none}
.logo svg{width:32px;height:32px}.logo small{font-weight:500;opacity:.8}
.icon-btn{background:transparent;border:1px solid var(--border);color:var(--text);width:40px;height:40px;border-radius:12px;cursor:pointer;display:inline-grid;place-items:center}
.icon-btn:hover{background:var(--surface)}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
