/**
 * AskDegree Operator Design System (AODS) - design tokens
 * Source: guidance/ui-design-tokens.yaml (generated - do not edit by hand)
 * Spec:  docs/UI-DESIGN-SYSTEM.md
 *
 * Regenerate: python scripts/sync-design-tokens.py
 */

:root {
  color-scheme: light;

  /* Brand (contract-design-tokens.yaml → brand.primary_accent) */
  --brand: #0032eb;
  --brand-hover: #0026bd;
  --brand-soft: #eff6ff;
  --accent: #0074ff;
  --brand-gradient-start: #0b2ea8;
  --brand-gradient-mid: #0032eb;
  --brand-gradient-end: #1e40af;

  /* Surfaces */
  --bg: #ffffff;
  --bg-gradient-top: #ffffff;
  --card: #ffffff;
  --overlay: rgba(15, 23, 42, 0.45);

  /* Text */
  --text: #0f172a;
  --muted: #64748b;
  --text-inverse: #ffffff;
  --text-table-header: #1e3a8a;
  --text-table-body: #374151;

  /* Borders */
  --border: #e2e8f0;
  --border-subtle: #f1f5f9;
  --border-brand-tint: #c7d2fe;
  --border-focus: #0032eb;

  /* Semantic status */
  --error: #ef4444;
  --error-bg: #fef2f2;
  --error-border: #fecaca;
  --success: #10b981;
  --success-bg: #f0fdf4;
  --success-border: #bbf7d0;
  --warn: #f59e0b;
  --warn-bg: #fffbeb;
  --warn-border: #fde68a;
  --info: #0032eb;
  --info-bg: #eff6ff;
  --info-border: #bfdbfe;

  /* Migration aliases (autopilot dashboard) */
  --good: var(--success);
  --bad: var(--error);

  /* shadcn/ui semantic aliases (AskDegree primary) */
  --background: #ffffff;
  --foreground: #0f172a;
  --card-foreground: #0f172a;
  --primary: #0032eb;
  --primary-foreground: #ffffff;
  --secondary: #f1f5f9;
  --secondary-foreground: #0f172a;
  --muted-foreground: #64748b;
  --accent-foreground: #0032eb;
  --muted-surface: #f8fafc;
  --accent-surface: #eff6ff;
  --destructive: #ef4444;
  --destructive-foreground: #ffffff;
  --input: #e2e8f0;
  --ring: #0032eb;
  --popover: #ffffff;
  --popover-foreground: #0f172a;

  /* Typography */
  --font-head: "Montserrat", "Segoe UI", sans-serif;
  --font-body: "Roboto", "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --text-xs: 0.75rem;
  --text-xs-lh: 1.4;
  --text-sm: 0.8125rem;
  --text-sm-lh: 1.45;
  --text-base: 0.95rem;
  --text-base-lh: 1.5;
  --text-md: 1rem;
  --text-md-lh: 1.5;
  --text-lg: 1.125rem;
  --text-lg-lh: 1.4;
  --text-xl: 1.25rem;
  --text-xl-lh: 1.35;
  --text-2xl: 1.5rem;
  --text-2xl-lh: 1.3;
  --text-3xl: 2rem;
  --text-3xl-lh: 1.2;
  --letter-spacing-eyebrow: 0.08em;

  /* Spacing - 4px base grid */
  --space-0: 0;
  --space-1: 0.25rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;

  /* Layout */
  --shell-max-width: 1160px;
  --shell-padding-x: 1.25rem;
  --shell-padding-y: 2rem;
  --shell-padding-bottom: 2.5rem;
  --content-narrow: 42rem;
  --sidebar-width: 320px;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius: 0.5rem;
  --radius-lg: 0.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-focus: 0 0 0 2px #ffffff, 0 0 0 4px rgba(0, 50, 235, 0.35);

  /* Z-index */
  --z-base: 0;
  --z-dropdown: 100;
  --z-modal: 1000;
  --z-modal-backdrop: 900;
  --z-raised: 10;
  --z-sticky: 200;
  --z-toast: 1100;

  /* Breakpoints (for reference in JS / custom media queries) */
  --breakpoint-2xl: 1536px;
  --breakpoint-lg: 1024px;
  --breakpoint-md: 768px;
  --breakpoint-sm: 640px;
  --breakpoint-xl: 1280px;
}
