/* GENERATED FILE — do not edit by hand.
 * Source of truth: DESIGN.md frontmatter (colors / themes / typography / rounded / spacing).
 * Regenerate: python3 scripts/build_tokens.py  (runs as part of `npm run build:css`).
 */

:root {
  /* Palette (theme-invariant) */
  --t7-athletic-orange: #f97316;
  --t7-athletic-orange-deep: #ea580c;
  --t7-athletic-orange-light: #fb923c;
  --t7-athletic-orange-dark: #c2410c;
  --t7-result-blue: #2563eb;
  --t7-result-blue-hover: #1d4ed8;
  --t7-result-blue-light: #60a5fa;
  --t7-result-blue-dark: #1e40af;
  --t7-sprint-blue: #2563eb;
  --t7-sprint-blue-light: #60a5fa;
  --t7-sprint-blue-dark: #1e40af;
  --t7-jump-green: #059669;
  --t7-jump-green-light: #34d399;
  --t7-jump-green-dark: #047857;
  --t7-throw-orange: #f97316;
  --t7-throw-orange-light: #fb923c;
  --t7-throw-orange-dark: #c2410c;
  --t7-distance-purple: #7c3aed;
  --t7-distance-purple-light: #a78bfa;
  --t7-distance-purple-dark: #6d28d9;
  --t7-ahead-green: #16a34a;
  --t7-behind-red: #ef4444;
  --t7-whatif-purple: #7c3aed;
  --t7-day1-rose: #f43f5e;
  --t7-day1-rose-light: #fb7185;
  --t7-day2-indigo: #6366f1;
  --t7-day2-indigo-light: #818cf8;
  --t7-standings-blue: #3b82f6;
  --t7-forecast-amber: #d97706;
  --t7-paper: #f8fafc;
  --t7-card-white: #ffffff;
  --t7-ink: #0f172a;
  --t7-ink-mid: #475569;
  --t7-ink-soft: #94a3b8;
  --t7-ink-mute: #64748b;
  --t7-ink-deep: #1a1f2e;
  --t7-rule: #e2e8f0;
  --t7-rule-strong: #cbd5e1;
  --t7-night: #0f172a;
  --t7-night-card: #1e293b;
  --t7-night-text: #f1f5f9;
  --t7-night-text-soft: #94a3b8;
  --t7-night-rule: #334155;
  --t7-night-rule-strong: #475569;

  /* Semantic surfaces — light theme */
  --t7-bg: #f8fafc;
  --t7-surface: #ffffff;
  --t7-text: #0f172a;
  --t7-text-secondary: #475569;
  --t7-text-muted: #94a3b8;
  --t7-border: #e2e8f0;
  --t7-border-strong: #cbd5e1;
  --t7-hover: #f8fafc;
  --t7-input-bg: #ffffff;
  --t7-input-readonly-bg: #f8fafc;
  --t7-input-readonly-border: rgba(37, 99, 235, 0.3);
  --t7-shadow: rgba(0, 0, 0, 0.1);

  /* Typography families */
  --t7-font-display: Outfit, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --t7-font-body: Inter, system-ui, sans-serif;
  --t7-font-mono: JetBrains Mono, SF Mono, Consolas, monospace;

  /* Radius scale */
  --t7-radius-sm: 0.25rem;
  --t7-radius-md: 0.5rem;
  --t7-radius-lg: 0.75rem;
  --t7-radius-xl: 1rem;
  --t7-radius-pill: 9999px;
  --t7-radius-logo: 10px;

  /* Spacing scale */
  --t7-space-xs: 0.25rem;
  --t7-space-sm: 0.5rem;
  --t7-space-md: 0.75rem;
  --t7-space-lg: 1rem;
  --t7-space-xl: 1.5rem;
  --t7-space-2xl: 2rem;
  --t7-space-3xl: 3rem;
}

[data-theme="dark"] {
  /* Semantic surfaces — dark theme */
  --t7-bg: #0f172a;
  --t7-surface: #1e293b;
  --t7-text: #f1f5f9;
  --t7-text-secondary: #94a3b8;
  --t7-text-muted: #94a3b8;
  --t7-border: #334155;
  --t7-border-strong: #475569;
  --t7-hover: #334155;
  --t7-input-bg: #0f172a;
  --t7-input-readonly-bg: #1e293b;
  --t7-input-readonly-border: rgba(37, 99, 235, 0.4);
  --t7-shadow: rgba(0, 0, 0, 0.4);
}
