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

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

  /* nomgap product colors */
  --ng-stage-fed: #FF9F43;
  --ng-stage-early-fast: #FECA57;
  --ng-stage-fasted: #48DBFB;
  --ng-stage-ketosis: #5A8CFF;
  --ng-stage-deep-autophagy: #A66BFF;
  --ng-stage-extended: #FFD700;
  --ng-autophagy-meter: #5AE68C;
  --ng-hydration-reminder: #48DBFB;
  --ng-electrolyte-alert: #FF9F43;
  --ng-safety-warning: #FF6E6E;

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

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

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

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

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

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

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

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