/* Design tokens — the single place to change colours, type, spacing, radii.
   Every portal uses these; components reference roles (e.g. --surface-1), never raw hex. */
:root {
  /* brand */
  --brand-900: #0f2142;
  --brand-800: #162d57;
  --brand-700: #1d3b72;
  --brand-600: #24499a;
  --brand-500: #2a5bb8;
  --brand-100: #e6eefb;
  --brand-50: #f2f6fd;
  --saffron: #e8711a;
  --india-green: #138808;

  /* neutrals & surfaces */
  --surface-0: #f4f3f0;
  --surface-1: #ffffff;
  --surface-2: #faf9f7;
  --border: #e2e0da;
  --border-strong: #c9c6bd;
  --text-primary: #111111;
  --text-secondary: #4f4e4a;
  --text-muted: #85847e;
  --text-on-brand: #ffffff;

  /* status — reserved for state, always paired with an icon/label */
  --good: #0c8a0c;   --good-bg: #e8f5e8;
  --warning: #b77900; --warning-bg: #fff5dc;
  --serious: #c4561f; --serious-bg: #fdeee6;
  --critical: #c22f2f; --critical-bg: #fbeaea;
  --info: #24499a;   --info-bg: #e6eefb;

  /* service groups (categorical: identity) */
  --grp-passport: #2a78d6;
  --grp-oci: #eb6834;
  --grp-other: #1baf7a;
  --grp-coll: #6250d6;

  /* type */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", "Noto Sans TC", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --fs-xs: 12px; --fs-sm: 13px; --fs-md: 15px; --fs-lg: 18px; --fs-xl: 22px; --fs-2xl: 28px; --fs-3xl: 40px;

  /* spacing, radius, shadow */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px;
  --radius-sm: 6px; --radius: 10px; --radius-lg: 16px;
  --shadow-1: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow-2: 0 8px 24px rgba(16, 24, 40, .14);
  --focus: 0 0 0 3px rgba(42, 91, 184, .35);

  --header-h: 60px;
  --content-max: 1200px;
}
