/* FluxCore dashboard design tokens — Apple-like, minimal, customizable.
   Light is the default; dark applies only via [data-theme="dark"], which
   app.js resolves from the stored choice (light | dark | auto→OS). */
:root {
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, system-ui, sans-serif;
  --text-13: 0.8125rem; --text-15: 0.9375rem; --text-17: 1.0625rem;
  --text-22: 1.375rem; --text-28: 1.75rem; --text-34: 2.125rem;
  --w-regular: 400; --w-medium: 500; --w-semibold: 600;
  --r-control: 10px; --r-card: 14px; --r-sheet: 20px;
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px; --s-8: 32px; --s-12: 48px;
  --shadow-card: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.06);
  --shadow-sheet: 0 12px 48px rgba(0,0,0,.28);
  --accent: #0A84FF;
  --green: #30D158; --orange: #FF9F0A; --red: #FF453A;
  --bg: #F5F5F7; --surface: #FFFFFF; --raised: #FFFFFF;
  --text: #1D1D1F; --text-2: #6E6E73;
  --separator: rgba(0,0,0,.08);
  --fill: rgba(120,120,128,.14);
  --accent-text: #FFFFFF;
}
:root[data-theme="dark"] {
  --bg: #17171A; --surface: #242426; --raised: #303032;
  --text: #F5F5F7; --text-2: #98989D;
  --separator: rgba(255,255,255,.12);
  --fill: rgba(120,120,128,.24);
  --shadow-card: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.4);
}
