/*
 * МЕСТО — Design tokens (CSS custom properties).
 *
 * Mirror of the live :root block in app/globals.css (deployed mp-llc.ru).
 * Brand Navy: hsl(229 82% 15%) ≈ #071246.
 *
 * Single source of truth. If you change a token here, also update
 * app/globals.css to keep prod and design system aligned.
 *
 * Last sync: 2026-05-09.
 */

:root {
  /* Surface */
  --background: 228 33% 99%;
  --foreground: 226 33% 18%;
  --card: 0 0% 100%;
  --card-foreground: 226 33% 18%;
  --popover: 0 0% 100%;
  --popover-foreground: 226 33% 18%;

  /* Brand primary */
  --primary: 229 82% 15%;            /* #071246 — Brand Navy */
  --primary-foreground: 0 0% 100%;

  /* Secondary / muted / accent */
  --secondary: 227 32% 88%;
  --secondary-foreground: 226 33% 18%;
  --muted: 225 31% 95%;
  --muted-foreground: 228 32% 53%;
  --accent: 225 33% 93%;
  --accent-foreground: 229 82% 15%;

  /* Functional */
  --destructive: 0 82% 65%;
  --destructive-foreground: 0 0% 100%;

  /* Hairlines / focus */
  --border: 227 30% 91%;
  --input: 227 30% 91%;
  --ring: 229 82% 15%;

  /* Charts (5-step navy ramp) */
  --chart-1: 229 82% 15%;
  --chart-2: 228 82% 28%;
  --chart-3: 228 83% 66%;
  --chart-4: 228 82% 78%;
  --chart-5: 226 32% 71%;

  /* Sidebar */
  --sidebar-background: 228 33% 99%;
  --sidebar-foreground: 226 33% 18%;
  --sidebar-primary: 229 82% 15%;
  --sidebar-primary-foreground: 0 0% 100%;
  --sidebar-accent: 225 33% 93%;
  --sidebar-accent-foreground: 229 82% 15%;
  --sidebar-border: 227 30% 91%;
  --sidebar-ring: 229 82% 15%;

  /* Geometry */
  --radius: 0.375rem;                /* 6 px — rounded-md */
}

/* Brand selection */
::selection {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}
