/* Backstage design tokens, shared by the dashboard (React) and the backstage account pages.
   Light is "Studio", dark is "Stage"; the browser picks (prefers-color-scheme). Never the act's colours.
   Static files are served immutable: change a value by copying this to tokens-2.css. */
:root {
  color-scheme: light dark;
  --bg: #fbfbfd;
  --fg: #1d1d1f;
  --mut: #6e6e73;
  --pane: #f2f2f5;
  --line: #e5e5ea;
  --sel: #e3e3e8;
  --card: #fff;
  --key: #0a66ff;
  --ok: #248a3d;
  --warn: #b25000;
  --radius-s: 7px;
  --radius-m: 12px;
  --t-fast: 150ms;
  --t: 220ms;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1c1e;
    --fg: #f5f5f7;
    --mut: #98989d;
    --pane: #161618;
    --line: #2c2c2e;
    --sel: #3a3a3c;
    --card: #2c2c2e;
    --key: #0a84ff;
    --ok: #30d158;
    --warn: #ff9f0a;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root { --t-fast: 0ms; --t: 0ms; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 15px/1.47 var(--font);
  -webkit-font-smoothing: antialiased;
}
