/* ViaLayer design system tokens — light and dark themes. */
:root, [data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #343438;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --control-border: #86868b;
  --accent: #0066cc;
  --on-accent: #ffffff;
  --accent-tint: #eaf2fb;
  --focus: var(--accent);
  --pass: #176a30;
  --pass-tint: #e8f5ec;
  --partial: #9a5b00;
  --partial-tint: #fff4e0;
  --fail: #b42318;
  --fail-tint: #fdecea;
  --layer-1: #1d1d1f;
  --layer-2: #86868b;
  --layer-3: var(--accent);
  --shadow-overlay: 0 8px 24px rgba(0,0,0,.16);
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1d1d1f;
  --surface: #2a2a2d;
  --ink: #ffffff;
  --ink-2: #d2d2d7;
  --muted: #a1a1a6;
  --line: #424245;
  --control-border: #8e8e93;
  --accent: #2997ff;
  --on-accent: #1d1d1f;
  --accent-tint: #12263d;
  --focus: var(--accent);
  --pass: #4cc38a;
  --pass-tint: #14301f;
  --partial: #e3b341;
  --partial-tint: #33270a;
  --fail: #ff7b72;
  --fail-tint: #3a1512;
  --layer-1: #f5f5f7;
  --layer-2: #8e8e93;
  --layer-3: var(--accent);
}
:root {
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px; --space-10: 128px;
  --radius-sm: 6px; --radius-md: 10px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
