/* EmuBrain cockpit tokens — verbatim from avery-command-center/src/styles.css.
   Dark-first (the real default), with the light override. The Design Library and every
   canonical design read ONLY these, so a design IS grounded in the shipped token system. */
:root{
  color-scheme:dark;
  --overlay:255,255,255; --overlay-ink:0,0,0;
  --bg:#0e0f11; --bg-deep:#0a0b0c;
  --surface-1:rgba(var(--overlay),0.03); --surface-2:rgba(var(--overlay),0.05); --surface-3:rgba(var(--overlay),0.07);
  --surface-hover:rgba(var(--overlay),0.06); --surface-active:rgba(var(--overlay),0.09); --surface-sunken:rgba(var(--overlay-ink),0.25);
  --popover-bg:#1a1c1f; --modal-bg:#16181b;
  --ink:#e7e9ec; --muted:#8b929b; --faint:#626871;
  --line:rgba(var(--overlay),0.08); --line-strong:rgba(var(--overlay),0.14);
  --shadow:0 18px 50px rgba(0,0,0,0.45); --shadow-soft:0 12px 30px rgba(0,0,0,0.35);
  --accent:#8b5cf6; --accent-soft:rgba(139,92,246,0.16);
  --green:#34d399; --green-soft:rgba(52,211,153,0.14);
  --blue:#38bdf8; --blue-soft:rgba(56,189,248,0.14);
  --orange:#fbbf24; --orange-soft:rgba(251,191,36,0.14);
  --red:#f87171; --red-soft:rgba(248,113,113,0.14);
  --radius-lg:14px; --radius-md:10px; --radius-sm:8px;
  --mono:ui-monospace,"SF Mono",Menlo,Consolas,monospace;
}
:root[data-theme="light"], .theme-light{
  color-scheme:light;
  --bg:#f6f7f9; --bg-deep:#eceef1;
  --surface-1:#fbfbfc; --surface-2:#f3f4f6; --surface-3:#eceef1;
  --surface-hover:rgba(17,24,39,0.04); --surface-active:rgba(17,24,39,0.07); --surface-sunken:#eceef1;
  --popover-bg:#ffffff; --modal-bg:#ffffff;
  --ink:#1a1d23; --muted:#5b6470; --faint:#79818d;
  --line:rgba(17,24,39,0.10); --line-strong:rgba(17,24,39,0.16);
  --shadow:0 12px 30px rgba(17,24,39,0.10); --shadow-soft:0 6px 16px rgba(17,24,39,0.08);
  --accent:#7c3aed; --accent-soft:rgba(124,58,237,0.10);
  --green:#047857; --green-soft:rgba(5,150,105,0.12);
  --red:#dc2626; --red-soft:rgba(220,38,38,0.10);
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);
  font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text",Inter,system-ui,sans-serif;
  -webkit-font-smoothing:antialiased}
