/* familysmash design system v1.1.0 — generated 2026-07-07 — DO NOT EDIT, update from D:\dev\smash\design_system */

:root {
  /* ─── Typography ─── */
  --fs-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --fs-font-body: var(--fs-font-family);
  --fs-font-display: 'Nunito', var(--fs-font-family);
  --fs-text-xs: 0.75rem;
  --fs-text-sm: 0.875rem;
  --fs-text-base: 1rem;
  --fs-text-lg: 1.25rem;
  --fs-text-xl: 1.75rem;
  --fs-text-2xl: 2.25rem;
  --fs-text-3xl: 3rem;
  --fs-text-4xl: 4rem;
  --fs-weight-normal: 400;
  --fs-weight-medium: 600;
  --fs-weight-bold: 700;
  --fs-weight-heavy: 800;
  --fs-weight-black: 900;
  --fs-heading-xl-size: 2rem;
  --fs-heading-xl-weight: 900;
  --fs-heading-lg-size: 1.5rem;
  --fs-heading-lg-weight: 800;
  --fs-heading-md-size: 1.1rem;
  --fs-heading-md-weight: 700;
  --fs-body-size: 0.95rem;
  --fs-body-weight: 400;
  --fs-body-bold-weight: 700;
  --fs-caption-size: 0.8rem;
  --fs-caption-weight: 500;
  --fs-button-size: 0.95rem;
  --fs-button-weight: 700;
  --fs-chip-size: 0.85rem;
  --fs-chip-weight: 600;

  /* ─── Spacing (strict 4px grid) ─── */
  --fs-space-1: 4px;
  --fs-space-2: 8px;
  --fs-space-3: 12px;
  --fs-space-4: 16px;
  --fs-space-5: 20px;
  --fs-space-6: 24px;
  --fs-space-8: 32px;
  --fs-space-10: 40px;
  --fs-space-12: 48px;
  --fs-space-16: 64px;

  /* ─── Radii ─── */
  --fs-radius-sm: 8px;
  --fs-radius-md: 12px;
  --fs-radius-lg: 16px;
  --fs-radius-full: 9999px;
  --fs-radius-card: 14px;
  --fs-radius-button: 12px;
  --fs-radius-chip: 24px;
  --fs-radius-icon: 22%;
  --fs-radius-input: 12px;

  /* ─── Status, suite, and badge colors ─── */
  --fs-success: #10B981;
  --fs-warning: #D97706;
  --fs-warning-bright: #F59E0B;
  --fs-danger: #DC2626;
  --fs-secondary: #0D9488;
  --fs-tertiary: #7C3AED;
  --fs-gold: #FFD23F;
  --fs-gold-rgb: 255, 210, 63;
  --fs-badge-coral: #FF6B35;
  --fs-badge-teal: #0D9488;
  --fs-badge-violet: #7C3AED;
  --fs-badge-blue: #3B82F6;
  --fs-badge-accent: #FFD23F;
  --fs-badge-rose: #F43F5E;
  --fs-badge-success: #10B981;
  --fs-badge-gray: #8A8A99;

  /* ─── Surfaces & borders (light) ─── */
  --fs-bg: #F5F5F7;
  --fs-surface: #FFFFFF;
  --fs-surface-hover: #F0F0F3;
  --fs-border: rgba(0, 0, 0, 0.08);
  --fs-border-strong: #D4D4D8;

  /* ─── Text hierarchy (light, AA-verified) ─── */
  --fs-text-primary: #1A1A2E;
  --fs-text-secondary: #3F3F50;
  --fs-text-muted: #5C5C6E;
  --fs-text-faint: #6E6E80;

  /* ─── Shadows (light) ─── */
  --fs-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --fs-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  --fs-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);

  /* ─── Layout & motion ─── */
  --fs-touch-min: 44px;
  --fs-bottom-nav-height: calc(56px + env(safe-area-inset-bottom, 0px));
  --fs-docked-footer-height: 72px;
  --fs-transition-press: transform 0.12s ease;
  --fs-transition-fast: 120ms ease;
  --fs-transition-normal: 200ms ease;
  --fs-scale-press: scale(0.97);

  /* ─── App accent slots (defaults; per-app overlay overrides) ─── */
  --fs-accent: #FF6B35;
  --fs-accent-rgb: 255, 107, 53;
  --fs-accent-text: #CE3700;
  --fs-accent-text-dark: #FF6B35;
  --fs-accent-contrast: #FFFFFF;
  --fs-accent-contrast-rgb: 255, 255, 255;
  --fs-accent-shade: #FF4D0C;
  --fs-accent-tint: #FF895E;
  --fs-accent-gradient: linear-gradient(135deg, var(--fs-accent), var(--fs-accent-shade));
  --fs-shadow-elevated: 0 4px 16px rgba(var(--fs-accent-rgb), 0.15);
  --fs-shadow-glow: 0 0 0 3px rgba(var(--fs-accent-rgb), 0.15);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --fs-bg: #0F0F1A;
    --fs-surface: rgba(255, 255, 255, 0.035);
    --fs-surface-hover: rgba(255, 255, 255, 0.06);
    --fs-border: rgba(255, 255, 255, 0.06);
    --fs-border-strong: rgba(255, 255, 255, 0.14);
    --fs-text-primary: #E4E4E7;
    --fs-text-secondary: #B0B0BE;
    --fs-text-muted: #8E8E9E;
    --fs-text-faint: #8E8E9E;
    --fs-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.20), 0 1px 2px rgba(0, 0, 0, 0.14);
    --fs-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.28), 0 2px 4px rgba(0, 0, 0, 0.18);
    --fs-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.40), 0 4px 12px rgba(0, 0, 0, 0.24);
    --fs-accent-text: var(--fs-accent-text-dark);
  }
}
