/* NC M&R preview — design tokens (light).
   Mapped from input/design/assets/mnr-tokens.css v1.3.0. Values that differ are
   deliberate preview decisions recorded in DESIGN.md §2. One owner file. */
:root {
  /* Frame */
  --frame: #1c3a50;
  --frame-deep: #152d40;
  --frame-text: #eef4f8;
  --frame-muted: #b9cad8;
  --frame-selected: #2e5878;
  --frame-indicator: #9bcaff;
  --frame-hover: rgba(255, 255, 255, .07);
  --frame-rule: rgba(255, 255, 255, .14);
  --open-dot: #35e5a6;
  --open-halo: rgba(53, 229, 166, .18);

  /* Work surface */
  --canvas: #eef2f6;
  --surface: #ffffff;
  --surface-sunken: #f6f8fa;
  --text: #0d2443;
  --text-2: #4b6480;
  --text-3: #5d7189;
  --border: #d3dde6;
  --border-strong: #b7c6d4;
  --control-border: #7c8fa0;

  /* Tables */
  --table-border: #a7bacb;
  --table-head-bg: #eaf0f5;
  --table-head-border: #91a7bb;
  --table-row-border: #d6dfe7;
  --table-stripe: #f7f9fb;
  --row-hover: #eaf2f8;
  --row-selected: #ddeff5;

  /* Action & identity */
  --accent: #2454bd;
  --accent-hover: #1d47a3;
  --accent-tint: #e8effc;
  --key-link: #244fd1;
  --focus: #15638c;
  --focus-ring: 0 0 0 2px #fff, 0 0 0 4px var(--focus);

  /* Domain accents — identify the business area, never severity */
  --dom-insp: #087f8c;      --dom-insp-bg: #e3f4f5;
  --dom-maint: #3d55b8;     --dom-maint-bg: #eaedfb;
  --dom-lease: #984a26;     --dom-lease-bg: #fcf1e9;
  --dom-tele: #22618f;      --dom-tele-bg: #e6f0f8;
  --dom-fleet: #1c3a50;     --dom-fleet-bg: #e7eef4;

  /* Severity / state */
  --danger: #b4261b;        --danger-text: #9b241c;  --danger-bg: #fff0ee;  --danger-line: #e3a59f;
  --warning: #c98a00;       --warning-text: #775000; --warning-bg: #fff5d9; --warning-line: #e6c56f;
  --review: #6a43a0;        --review-text: #603b91;  --review-bg: #f3edff;  --review-line: #c8b4e6;
  --success: #24834f;       --success-text: #216c46; --success-bg: #edf8f0; --success-line: #a9d6b9;
  --info-text: #225d91;     --info-bg: #eaf2fc;
  --neutral-text: #4b6480;  --neutral-bg: #eef2f6;   --neutral-line: #b7c6d4;

  /* Type */
  --font: Inter, "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-xs: 12px; --fs-sm: 13px; --fs-md: 14px; --fs-lg: 16px;
  --fs-title: 22px; --fs-metric: 32px; --fs-value: 26px; --fs-entity: 32px;
  --lh: 1.4; --lh-table: 1.35;

  /* Space & size */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px;
  --header-h: 52px; --tabs-h: 34px;
  --sidebar-w: 224px; --sidebar-w-collapsed: 56px;
  --control-h: 34px; --row-h: 38px; --head-h: 34px;
  --r-control: 6px; --r-panel: 8px; --r-pill: 999px;
  /* Fixed component sizes (R4): the same role keeps the same box whatever its value or state. */
  --badge-h: 22px; --chip-h: 24px; --ic-badge: 13px; --ic-ctl: 16px; --ic-nav: 18px; --btn-sm-h: 28px; --truck-h: 26px; --truck-min-w: 76px; --ic-truck: 15px;
  --shadow-panel: 0 1px 2px rgba(13, 36, 67, .06), 0 0 0 1px rgba(13, 36, 67, .02);
  --shadow-pop: 0 10px 28px rgba(13, 36, 67, .18), 0 2px 6px rgba(13, 36, 67, .10);
  --motion: 140ms;
}
@media (prefers-reduced-motion: reduce) { :root { --motion: 0ms; } }
@media (pointer: coarse) { :root { --control-h: 44px; --row-h: 44px; } }
