/* Auto-generated flowmonk tokens from bytelyst.tokens.json — do not edit manually */

:root {
  --fm-bg-canvas: #06070A;
  --fm-bg-elevated: #0E1118;
  --fm-surface-card: #121725;
  --fm-surface-muted: #1A2335;
  --fm-border-default: rgba(255,255,255,0.12);
  --fm-border-strong: rgba(255,255,255,0.22);
  --fm-text-primary: #EFF4FF;
  --fm-text-secondary: #A5B1C7;
  --fm-text-tertiary: #6C7C98;
  --fm-accent-primary: #5A8CFF;
  --fm-accent-secondary: #2EE6D6;
  --fm-success: #34D399;
  --fm-warning: #F59E0B;
  --fm-danger: #FF6E6E;
  --fm-focus-ring: rgba(90,140,255,0.45);
  --fm-overlay-scrim: rgba(5,8,18,0.72);

  /* flowmonk product colors */
  --fm-bg: #07111F;
  --fm-surface: #0F1B2D;
  --fm-surface-elevated: #152338;
  --fm-border: #24344D;
  --fm-text: #EFF4FF;
  --fm-text-muted: #A8B4C8;
  --fm-primary: #5A8CFF;
  --fm-accent: #5AE68C;
  --fm-warning: #F59E0B;
  --fm-zonework: #5A8CFF;
  --fm-zone-personal: #5AE68C;
  --fm-zone-health: #FF6B6B;
  --fm-zone-admin: #FECA57;
  --fm-zone-learning: #A66BFF;
  --fm-urgent-badge: #FF6E6E;
  --fm-schedule-entry: #5A8CFF;
  --fm-overflow-warning: #F59E0B;
  --fm-recommendation-info: #5A8CFF;
  --fm-recommendation-warning: #F59E0B;
  --fm-recommendation-critical: #FF6E6E;

  --fm-font-display: "Space Grotesk", "SF Pro Display", sans-serif;
  --fm-font-body: "DM Sans", "SF Pro Text", sans-serif;
  --fm-font-mono: "IBM Plex Mono", "SF Mono", monospace;

  --fm-fs-xs: 12px;
  --fm-fs-sm: 14px;
  --fm-fs-md: 16px;
  --fm-fs-lg: 18px;
  --fm-fs-xl: 22px;
  --fm-fs-2xl: 28px;
  --fm-fs-3xl: 36px;

  --fm-space-0: 0;
  --fm-space-1: 4px;
  --fm-space-2: 8px;
  --fm-space-3: 12px;
  --fm-space-4: 16px;
  --fm-space-5: 20px;
  --fm-space-6: 24px;
  --fm-space-7: 28px;
  --fm-space-8: 32px;
  --fm-space-10: 40px;
  --fm-space-12: 48px;
  --fm-space-16: 64px;

  --fm-radius-xs: 8px;
  --fm-radius-sm: 12px;
  --fm-radius-md: 16px;
  --fm-radius-lg: 20px;
  --fm-radius-xl: 24px;
  --fm-radius-pill: 999px;

  --fm-elevation-sm: 0 4px 12px rgba(0,0,0,0.12);
  --fm-elevation-md: 0 12px 28px rgba(0,0,0,0.18);
  --fm-elevation-lg: 0 20px 48px rgba(0,0,0,0.24);

  --fm-motion-fast: 140ms;
  --fm-motion-base: 220ms;
  --fm-motion-slow: 320ms;
  --fm-easing-standard: cubic-bezier(0.2, 0.0, 0.2, 1);

  /* ── @bytelyst/ui alias layer (--bl-* → --fm-*) ──────────────── */
  --bl-bg-canvas: var(--fm-bg-canvas);
  --bl-bg-elevated: var(--fm-bg-elevated);
  --bl-surface-card: var(--fm-surface-card);
  --bl-surface-muted: var(--fm-surface-muted);
  --bl-surface-highlight: color-mix(in oklab, var(--fm-surface-muted) 82%, white);
  --bl-surface-overlay: color-mix(in oklab, var(--fm-bg-canvas) 88%, transparent);
  --bl-input: color-mix(in oklab, var(--fm-surface-muted) 76%, var(--fm-bg-canvas));
  --bl-border: var(--fm-border-default);
  --bl-border-strong: var(--fm-border-strong);
  --bl-border-subtle: color-mix(in oklab, var(--fm-border-default) 62%, transparent);
  --bl-text-primary: var(--fm-text-primary);
  --bl-text-secondary: var(--fm-text-secondary);
  --bl-text-tertiary: var(--fm-text-tertiary);
  --bl-text-quiet: color-mix(in oklab, var(--fm-text-secondary) 78%, var(--fm-bg-canvas));
  --bl-accent: var(--fm-accent-primary);
  --bl-accent-foreground: var(--fm-bg-canvas);
  --bl-accent-muted: color-mix(in oklab, var(--fm-accent-primary) 16%, transparent);
  --bl-info: var(--fm-accent-primary);
  --bl-info-muted: color-mix(in oklab, var(--fm-accent-primary) 14%, transparent);
  --bl-success: var(--fm-success);
  --bl-success-muted: color-mix(in oklab, var(--fm-success) 14%, transparent);
  --bl-warning: var(--fm-warning);
  --bl-warning-muted: color-mix(in oklab, var(--fm-warning) 14%, transparent);
  --bl-danger: var(--fm-danger);
  --bl-danger-muted: color-mix(in oklab, var(--fm-danger) 14%, transparent);
  --bl-danger-foreground: var(--fm-bg-canvas);
  --bl-focus-ring: var(--fm-focus-ring);
  --bl-focus-ring-muted: color-mix(in oklab, var(--fm-accent-primary) 18%, transparent);
  --bl-overlay-scrim: var(--fm-overlay-scrim);
}

[data-theme="light"] {
  --fm-bg-canvas: #F6F8FC;
  --fm-bg-elevated: #EEF2FA;
  --fm-surface-card: #FFFFFF;
  --fm-surface-muted: #F3F5FA;
  --fm-border-default: rgba(14,19,32,0.12);
  --fm-border-strong: rgba(14,19,32,0.24);
  --fm-text-primary: #0E1320;
  --fm-text-secondary: #55637A;
  --fm-success: #13956A;
  --fm-warning: #B87504;
  --fm-danger: #D24242;
  --fm-focus-ring: rgba(90,140,255,0.35);
  --fm-overlay-scrim: rgba(10,13,23,0.5);
}
