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

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

  /* chronomind product colors */
  --cm-urgency-critical: #FF6E6E;
  --cm-urgency-important: #FFD166;
  --cm-urgency-standard: #5A8CFF;
  --cm-urgency-gentle: #34D399;
  --cm-urgency-passive: #A5B1C7;
  --cm-focus-mode: #7C6BFF;
  --cm-pomodoro-work: #34D399;
  --cm-pomodoro-break: #5A8CFF;
  --cm-cascade-warning: #FF9F43;
  --cm-timer-complete: #34D399;

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

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

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

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

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

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

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

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