/* Shared by the sizing calculator, Double-S Lab and the design board.
 * Keep colour values here; see ../../design.md for roles and exceptions. */
:root {
  --brand-blue: #0b78b6;
  --brand-navy: #094a78;
  --brand-bright: #189dd4;
  --brand-coral: #f65b62;
  --brand-rose: #c91d45;
  --brand-gradient: linear-gradient(110deg, var(--brand-blue), var(--brand-bright) 35%, var(--brand-coral) 75%);

  --color-text: #17364d;
  --color-muted: #596b7a;
  --color-background: #f5f8fb;
  --color-surface: #ffffff;
  --color-surface-alt: #edf3f8;
  --color-border: #d9e3eb;
  --color-control-border: #7d94a5;
  --color-primary: var(--brand-blue);
  --color-primary-hover: var(--brand-navy);
  --color-on-primary: #ffffff;
  --color-selected: #e7f3fb;
  --color-selected-border: #a6cde5;
  --color-focus: var(--brand-blue);
  --color-disabled-text: #637582;
  --color-disabled-bg: var(--color-surface-alt);
  --color-dark-surface: #142d40;
  --color-on-dark: #edf3f8;
  --color-muted-on-dark: #b8cbd9;

  --color-info: #095e91;
  --color-info-bg: #edf7fd;
  --color-info-border: #b3d5e9;
  --color-review: #805414;
  --color-review-bg: #fff7e8;
  --color-review-border: #c49a53;
  --color-error: #ae2444;
  --color-error-bg: #fff1f4;
  --color-error-border: #dba0af;
  --color-success: #23644d;
  --color-success-bg: #edf7f1;
  --color-success-border: #a8caba;

  /* Measurement colours retain their existing meanings and line patterns.
   * These are separate from action and status tokens. */
  --source-native: #648e9c;
  --source-capsule: #c19b63;
  --source-capsule-ink: #795620;
  --source-capsule-bg: #fff6e9;
  --source-frame: #b56870;
  --source-frame-ink: #8e3d56;
  --source-frame-bg: #fff7f9;
  --source-frame-selected: #faeaf0;
  --source-frame-border: #e4cbd2;
  --source-truth: #874f88;
  --source-intersection: #527f64;

  --shadow-subtle: 0 1px 3px rgb(23 54 77 / 7%);
  --shadow-panel: 0 3px 12px rgb(23 54 77 / 6%);
  --radius-control: 6px;
  --radius-panel: 9px;
}
