/* Palette and scale tokens. The only file allowed to contain raw colors and sizes. */
:root {
  --color-navy: #072e42;
  --color-navy-deep: #051f2d;
  --color-navy-raised: #0c3d56;
  --color-green: #76b52c;
  --color-green-light: #8dc63f;
  --color-ivory: #eef1e8;
  --color-bone: #f8faf3;
  --color-white: #ffffff;
  --color-ink: #072e42;
  --color-danger: #d64545;
  --color-on-dark: #eef1e8;
  --color-on-dark-muted: #a9bcc6;
  --color-muted: #4d6572;
  --color-border-dark: #1d516c;
  --color-border-light: #d5dbc9;
  --color-shimmer-dark: #164c67;
  --color-shimmer-light: #e3e8d8;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-7: 56px;
  --space-8: 64px;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --icon-size-sm: 16px;
  --icon-size-md: 24px;
  --icon-size-lg: 32px;
  --icon-text-gap: 8px;
  --touch-target-min: 48px;

  --font-heading: "Orbitron", sans-serif;
  --font-body: "Montserrat", sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-display: 2.25rem;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-black: 900;
  --line-height-tight: 1.2;
  --line-height-base: 1.5;
  --letter-spacing-label: 0.08em;
  --letter-spacing-heading: 0.02em;
  --transition-base: 150ms ease;
  --transition-slow: 400ms ease;
  --hairline: 1px;
  --skeleton-duration: 1.4s;

  --color-success: #38af64;
  /* Text-safe variants (WCAG 1.4.3 >= 4.5:1 on their theme surfaces) and control borders (1.4.11 >= 3:1). */
  --color-accent-text-light: #3b7208;
  --color-danger-text-light: #b42318;
  --color-danger-text-dark: #ffa0a0;
  --color-danger-strong: #c23030;
  --color-success-text-light: #1b7a40;
  --color-muted-light: #5f5f5f;
  --color-control-border-light: #767676;
  --color-control-border-dark: #7f9fb0;
  --color-edge-shadow-dark: rgba(0, 0, 0, 0.35);
  --color-edge-shadow-light: rgba(7, 46, 66, 0.18);
  --color-warning: #ffa000;
  --color-black: #000000;
  --color-sidebar: #05202f;
  --color-card-dark: #0f4863;
  --color-surface-dark: #0b3a52;
  --color-graphite: #4a4a4a;
  --on-dark-faint: rgba(255, 255, 255, 0.06);
  --on-dark-soft: rgba(255, 255, 255, 0.1);
  --on-dark-medium: rgba(255, 255, 255, 0.15);
  --text-on-dark-secondary: rgba(255, 255, 255, 0.62);
  --accent-muted-alpha: 0.12;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
  --scrim: rgba(0, 0, 0, 0.5);
  --sidebar-width: 272px;
  --sidebar-width-collapsed: 64px;
  --topbar-height: 64px;
  --transition-sidebar: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
