/* Tokens de design do ecossistema Genera: claro, escuro, raios e pilhas de fonte.
   Gerado por tokens/build.mjs a partir de tokens.json — não edite à mão. */

:root {
  color-scheme: light;
  --bg: #f6f6f3;
  --surface: #ffffff;
  --side: #fbfbf9;
  --subtle: #f1f0ec;
  --border: #e5e4de;
  --border-soft: #efeeea;
  --border-strong: #c9c7bf;
  --text: #14161c;
  --text-soft: #3a3e48;
  --muted: #5f6573;
  --faint: #a3a9b5;
  --accent: #2743d8;
  --on-accent: #ffffff;
  --accent-soft: #edf0fe;
  --accent-text: #2743d8;
  --scrim: rgba(20, 22, 28, 0.35);
  --ok-bg: #e4f3ea;
  --ok-fg: #17603b;
  --warn-bg: #fbeedb;
  --warn-fg: #8a4b06;
  --neu-bg: #edeef1;
  --neu-fg: #454b57;
  --bad-bg: #fbe4e1;
  --bad-fg: #a01f14;
  --info-bg: #edf0fe;
  --info-fg: #1f36b0;
  --tip-bg: #14161c;
  --tip-fg: #ffffff;
  --shadow: 0 1px 2px rgba(20, 22, 28, 0.05), 0 8px 24px -12px rgba(20, 22, 28, 0.12);
  --shadow-lg: 0 2px 4px rgba(20, 22, 28, 0.06), 0 20px 48px -16px rgba(20, 22, 28, 0.18);
  --shadow-pop: 0 18px 48px rgba(0, 0, 0, 0.18);
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --ff-ui: system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-display: system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-mono: ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f1116;
  --surface: #171a21;
  --side: #13161c;
  --subtle: #1e222a;
  --border: #272b34;
  --border-soft: #1f232b;
  --border-strong: #3a3f4a;
  --text: #eceef2;
  --text-soft: #c9cdd5;
  --muted: #9aa0ac;
  --faint: #5c6270;
  --accent: #8493ff;
  --on-accent: #0f1116;
  --accent-soft: #1f2548;
  --accent-text: #a7b1ff;
  --scrim: rgba(0, 0, 0, 0.55);
  --ok-bg: #12301f;
  --ok-fg: #7fd6a2;
  --warn-bg: #35260f;
  --warn-fg: #f0b863;
  --neu-bg: #262a33;
  --neu-fg: #c2c7d0;
  --bad-bg: #3a1714;
  --bad-fg: #ff9c90;
  --info-bg: #1f2548;
  --info-fg: #a7b1ff;
  --tip-bg: #eceef2;
  --tip-fg: #14161c;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px -12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.35), 0 20px 48px -16px rgba(0, 0, 0, 0.6);
  --shadow-pop: 0 18px 48px rgba(0, 0, 0, 0.45);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0f1116;
    --surface: #171a21;
    --side: #13161c;
    --subtle: #1e222a;
    --border: #272b34;
    --border-soft: #1f232b;
    --border-strong: #3a3f4a;
    --text: #eceef2;
    --text-soft: #c9cdd5;
    --muted: #9aa0ac;
    --faint: #5c6270;
    --accent: #8493ff;
    --on-accent: #0f1116;
    --accent-soft: #1f2548;
    --accent-text: #a7b1ff;
    --scrim: rgba(0, 0, 0, 0.55);
    --ok-bg: #12301f;
    --ok-fg: #7fd6a2;
    --warn-bg: #35260f;
    --warn-fg: #f0b863;
    --neu-bg: #262a33;
    --neu-fg: #c2c7d0;
    --bad-bg: #3a1714;
    --bad-fg: #ff9c90;
    --info-bg: #1f2548;
    --info-fg: #a7b1ff;
    --tip-bg: #eceef2;
    --tip-fg: #14161c;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px -12px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.35), 0 20px 48px -16px rgba(0, 0, 0, 0.6);
    --shadow-pop: 0 18px 48px rgba(0, 0, 0, 0.45);
  }
}
