/* Sweepy keeps Groupe Paco's brand plain and engineered: a navy frame (navbar, primary
   buttons) on the brand's white page, and Barlow, drawn from highway and licence-plate
   lettering, for every word and figure. Type gets its contrast from the ends of the scale:
   labels read like road signs (small tracked capitals, --text-label), key figures read like
   route numbers (--text-figure, tabular), and no size sits 2px from its neighbour. The list
   is a framed sheet: a full border, a shaded header row and shaded group rows. Colour marks
   the verdict and nothing else: every score shows in its verdict's colour (an outlined tag
   in lists), urgency and warnings are bold ink words, and nothing is filled but the New
   dot: a small navy dot on the score tag's corner, half over its border, so it reads as
   Sweepy speaking rather than as a verdict. Pages open with a shaded header band (title,
   key facts, tabs) above the white working area, and actions are buttons with an icon and
   navy text, so they never pass for filters. Spacing stays on the scale (0.75rem is the
   one half step, for dense table cells) and nothing pulls itself up with a negative margin. */

:root {
  color-scheme: light;

  --font-sans: "Barlow", ui-sans-serif, system-ui, sans-serif;

  --navy: #002133;
  --navy-hover: #0B3550;
  --blue: #1B4A7E;
  --periwinkle: #6E86B6;
  --periwinkle-soft: #E3E8F3;

  --paper: #FFFFFF;
  --surface: #FFFFFF;
  --sheet-head: #F3F6F8;
  --sheet-group: #F8FAFB;
  --hairline: #E3E7EB;
  --border: #CDD4DB;

  --ink: #0F1E2B;
  --ink-body: #2A3A48;
  --ink-muted: #5E6C79;
  --ink-faint: #7A8590;
  --on-navy: #FFFFFF;
  --on-navy-dim: rgb(255 255 255 / 0.7);
  --on-navy-hairline: rgb(255 255 255 / 0.22);
  --on-navy-field: rgb(255 255 255 / 0.1);
  --button-shadow: 0 1px 2px rgb(0 33 51 / 0.08);
  --menu-shadow: 0 10px 28px rgb(0 33 51 / 0.16), 0 1px 3px rgb(0 33 51 / 0.1);
  --backdrop: rgb(0 33 51 / 0.45);

  --salesforce: #00A1E0;

  --hot: #C8102E;
  --warm: #95590A;
  --cold: #4A6596;
  --reject: var(--ink-muted);

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;

  --label-column: 9rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-pill: 999px;

  --text-label: 0.75rem;
  --text-sm: 0.9375rem;
  --text-md: 1.0625rem;
  --text-heading: 1.3125rem;
  --text-figure: 1.75rem;
  --text-title: clamp(1.875rem, 1.4rem + 1.4vw, 2.375rem);
  --tracking-label: 0.07em;
  --tracking-display: -0.015em;

  --weight-text: 500;
  --weight-emphasis: 600;
  --weight-display: 700;

  --control-height: 2.25rem;
  --header-height: 64px;
  --page-bar-height: 3.75rem;
  --page-width: 1360px;

  --transition-fast: 120ms ease;
}

@media (max-width: 720px) {
  :root {
    --control-height: 2.75rem;
  }
}

/* Sketch-only, used by the scoring-in-the-header sketch; delete with it. */
:root {
  --sheet-band: #DCE6EE;
  --hot-wash: color-mix(in oklab, var(--hot) 8%, var(--paper));
  --warm-wash: color-mix(in oklab, var(--warm) 10%, var(--paper));
  --cold-wash: color-mix(in oklab, var(--cold) 10%, var(--paper));
  --reject-wash: color-mix(in oklab, var(--reject) 7%, var(--paper));
}
