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

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

  /* peakpulse product colors */
  --pp-activity-hike: #34D399;
  --pp-activity-ski: #5A8CFF;
  --pp-speed-zone-slow: #34D399;
  --pp-speed-zone-fast: #FFD166;
  --pp-speed-zone-danger: #FF6E6E;
  --pp-elevation-gain: #2EE6D6;
  --pp-elevation-loss: #FF9F43;
  --pp-personal-best: #FFD700;
  --pp-streak-active: #34D399;
  --pp-streak-broken: #FF6E6E;

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

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

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

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

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

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

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

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