/* Design tokens for the redesign. Every color, font, radius and spacing value used by
   base.css, components.css and page styles should come from here. */
:root {
  /* Brand */
  --brand: #C4161C;
  --brand-strong: #A5131C;      /* links, header search field, current nav text */
  --brand-stronger: #7A0E14;    /* link hover */
  --brand-soft: #FBE9EA;        /* current nav item, selected choice */
  --brand-line: #E0777B;        /* outlines on the red header */

  /* Surfaces */
  --bg: #F6F6F7;
  --surface: #FFFFFF;
  --surface-sunken: #F7F7F8;    /* table headers, inset notes */
  --surface-faint: #FCFCFD;
  --border: #E4E4E7;
  --divider: #F0F0F2;
  --control-border: #CED4DA;

  /* Text */
  --text: #212529;
  --text-2: #3A3D42;
  --text-muted: #5B5F66;
  --text-subtle: #6B6F76;
  --text-disabled: #9AA0A6;
  --on-brand: #FFFFFF;

  /* Status tones: background / foreground pairs (all pass 4.5:1) */
  --warn-bg: #FDF1E7;     --warn-fg: #8A3B06;     /* needs decision */
  --info-bg: #E6F0FB;     --info-fg: #1D4F91;     /* awaiting agent, agent content */
  --success-bg: #EAF4EC;  --success-fg: #25632F;  /* healthy, healed, verifying */
  --danger-bg: #F8E9E9;   --danger-fg: #9E2A2A;   /* denied, didn't heal */
  --neutral-bg: #F0F0F2;  --neutral-fg: #3A3D42;  /* closed, inactive */
  --caution-bg: #FFF1BF;  --caution-fg: #6B4E00;  /* on time 90-95% */
  --detail: #A94A0C;      /* "ask for more detail" action */
  --danger-line: #E8B4B4;
  --warn-line: #F0C9A8;
  --timeline-dot: #C9CCD1;

  /* Type */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --fs-xs: 11px;
  --fs-sm: 12px;
  --fs-md: 13px;
  --fs-base: 14px;
  --fs-lg: 16px;
  --fs-xl: 18px;
  --fs-2xl: 20px;
  --fs-3xl: 24px;

  /* Shape and space */
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 8px;
  --radius-pill: 999px;
  --header-h: 56px;
  --sidebar-w: 248px;
  --focus: #1D4F91;
}
