/* Quote Craft design tokens — Direction C "Split Mode" (chosen 2026-10-12).
 * Binding for Claude Design wireframes and the build. Brand: brand/BRAND.md.
 * Two modes from one token set: office (light, dense) and station (dark navy, large targets).
 */
@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@600;700;800&family=Inter:wght@400;500;600&display=swap");

:root {
  /* Brand */
  --kpc-navy: #04065a;
  --kpc-grey: #737373;
  --kpc-white: #ffffff;

  /* Office mode (default) */
  --bg: #f4f5f8;
  --surface: #ffffff;
  --surface-sunken: #eceef3;
  --ink: #0d0f2b;
  --ink-muted: #626778;
  --line: #dfe2ea;
  --primary: var(--kpc-navy);
  --primary-ink: #ffffff;
  --primary-hover: #12157a;
  --accent: var(--kpc-grey);
  --focus: color-mix(in srgb, var(--kpc-navy) 35%, transparent);

  /* Status (always paired with a text label; stations add an icon) */
  --pass: #117c3a;
  --pass-soft: #e3f3e9;
  --warn: #995a00;
  --warn-soft: #fbf0dc;
  --fail: #c42b2b;
  --fail-soft: #f9e3e3;
  --info: #1f4fbf;
  --info-soft: #e3ebfb;
  --neutral-soft: #eceef3;

  /* Modal scrim: KPC navy at 50 % opacity, behind every dialog and sheet in both modes (R6-04) */
  --scrim: rgba(4, 6, 90, 0.5);

  /* Type */
  --font-head: "Inter Tight", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --text-xs: 12px;
  --text-sm: 13px;
  --text-md: 14px;   /* office body */
  --text-lg: 16px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 30px;

  /* Spacing (4px grid) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;

  /* Shape and elevation */
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;
  --shadow-1: 0 1px 2px rgba(4, 6, 90, 0.06), 0 1px 3px rgba(4, 6, 90, 0.06);
  --shadow-2: 0 4px 12px rgba(4, 6, 90, 0.10);

  /* Density — office */
  --row-h: 34px;
  --control-h: 36px;
  --rail-w: 220px;
  --tap-min: 44px;
}

/* Station mode: apply class="mode-station" on <body> for tablet station screens */
.mode-station {
  --bg: #04065a;
  --surface: #0d1170;
  --surface-sunken: #03044a;
  --ink: #ffffff;
  --ink-muted: #c3c6ef;
  --line: rgba(255, 255, 255, 0.22);
  --primary: #ffffff;
  --primary-ink: #04065a;
  --primary-hover: #e6e7ff;
  --focus: rgba(255, 255, 255, 0.55);

  --text-md: 18px;   /* station body */
  --text-lg: 20px;
  --text-xl: 24px;
  --text-2xl: 30px;
  --text-3xl: 38px;

  --row-h: 56px;
  --control-h: 56px;
  --tap-min: 64px;   /* primary station actions */
}
