/* ============================================================
   Veltar — Design Tokens
   ============================================================ */
:root {
  color-scheme: dark;
  --color-bg:#252628; --color-bg-surface:#2c2d30; --color-bg-elevated:#383a3d; --color-bg-hover:#414246;
  --color-border:#62656d; --color-border-soft:#3b3c40;
  --color-text-primary:#fafafa; --color-text-secondary:#c0c2c8; --color-text-muted:#afb1b6; --color-text-inverse:#252628;
  --color-accent:#78aaff; --color-accent-hover:#9ec2ff; --color-accent-subtle:rgba(60,131,246,.14);
  --color-positive:#80d5b0; --color-positive-subtle:rgba(52,211,153,.12);
  --color-negative:#f4a4ac; --color-negative-subtle:rgba(248,113,113,.12);
  --color-warning:#fbbf24; --color-warning-subtle:rgba(251,191,36,.12);
  --color-info:#60a5fa; --color-info-subtle:rgba(96,165,250,.12);
  --pie-1:#5fa99b;--pie-2:#7fd49b;--pie-3:#8c7cf6;--pie-4:#df6d68;--pie-5:#f3bd32;--pie-6:#e59b46;--pie-7:#86c7e8;--pie-8:#a693d6;--pie-9:#c15f91;--pie-10:#63749a;
  --font-sans:'Inter','Segoe UI',system-ui,-apple-system,sans-serif;
  --font-mono:'JetBrains Mono','Fira Code','Consolas',monospace;
  --text-xs:.70rem;--text-sm:.80rem;--text-base:.875rem;--text-md:1rem;--text-lg:1.125rem;--text-xl:1.25rem;--text-2xl:1.5rem;--text-3xl:2rem;
  --font-normal:400;--font-medium:500;--font-semibold:600;--font-bold:700;
  --leading-tight:1.25;--leading-normal:1.5;--leading-loose:1.75;
  --space-1:.25rem;--space-2:.5rem;--space-3:.75rem;--space-4:1rem;--space-5:1.25rem;--space-6:1.5rem;--space-8:2rem;--space-10:2.5rem;--space-12:3rem;--space-16:4rem;
  --radius-sm:4px;--radius-md:8px;--radius-lg:12px;--radius-xl:16px;--radius-full:9999px;
  --shadow-sm:0 1px 3px rgba(0,0,0,.25);--shadow-md:0 4px 12px rgba(0,0,0,.32);--shadow-lg:0 8px 32px rgba(0,0,0,.42);--shadow-xl:0 16px 48px rgba(0,0,0,.52);
  --sidebar-width:215px;--sidebar-collapsed:64px;--header-height:72px;--content-max-width:none;
  --transition-fast:150ms ease;--transition-base:250ms ease;--transition-slow:400ms ease;
  --z-base:1;--z-dropdown:100;--z-modal:200;--z-toast:300;
}
[data-theme="light"] {
  color-scheme: light;
  --color-bg:#f4f4f5;--color-bg-surface:#ffffff;--color-bg-elevated:#eeeeF1;--color-bg-hover:#e7e7eb;
  --color-border:#d4d4d8;--color-border-soft:#e4e4e7;
  --color-text-primary:#18181b;--color-text-secondary:#52525b;--color-text-muted:#62626c;--color-text-inverse:#ffffff;
  --color-accent:#2463d5;--color-accent-hover:#1e55bd;--color-accent-subtle:rgba(36,99,213,.10);
  --color-positive:#16734e;--color-negative:#b62e43;--color-warning:#b8860b;
  --shadow-sm:0 1px 3px rgba(34,45,80,.07);--shadow-md:0 8px 24px rgba(34,45,80,.09);--shadow-lg:0 14px 40px rgba(34,45,80,.11);
}
