/* NTT DATA brand tokens (brand reference 2026-11-13, Basecoat 5.2.10 values).
   Two official themes only: dark is the default for registered-user tools, light is the user's choice.
   Do not add colours here that are not in the brand reference. */
:root {
  /* brand */
  --future-blue: #0072BC;
  --future-blue-150: #005B96;
  --future-blue-50: #19A3FC;
  --smart-navy: #070F26;
  --turquoise: #00DFED;
  --turquoise-100: #009AA4;

  /* dark theme (default) */
  --ground: #040914;
  --ground-2: #151D2C;
  --panel: #1F2A3A;
  --panel-2: #213543;
  --line: #374956;
  --text: #E8E8E8;
  --text-2: #ABB3B8;
  --muted: #949494;        /* brand grey; #828C94 was 4.2:1 on panels (WCAG AA 4.5, Part N contrast check) */
  --action: #0072BC;
  --action-hover: #005B96;
  --on-action: #FFFFFF;
  --link: #19A3FC;
  --field: #1F2A3A;
  --field-line: #828C94;   /* field borders need 3:1 (WCAG 1.4.11); #374956 was 1.6:1 */
  --row-hover: #213543;
  --stripe: #151D2C;
  --toast: #000000;
  --disabled: #374956;
  --disabled-text: #828C94;

  /* action (status) colours: always shown with a text label */
  --ok: #00CB5D;
  --warn: #FFC400;
  --alert: #FF7A00;
  --danger: #E42600;
  --info: #19A3FC;
  --danger-text: #FF7A00;   /* Orange: "requires attention" on dark grounds */
  --ok-text: #00CB5D;

  /* data colours from the official chart palette: tiers (Mbps) and engines */
  --tier-80: #0072BC;
  --tier-40: #19A3FC;
  --tier-4: #00DFED;
  --tier-1: #80B9DE;
  --engine-a: #005B96;
  --engine-b: #009AA4;
  --engine-c: #80B9DE;
  --no-data: #586671;

  /* type */
  --font: "Noto Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --size: 14px;
  --line-height: 1.5;
  --h1: 28px;
  --h2: 22px;
  --h3: 18px;

  /* shape and space */
  --radius: 0;
  --gap-1: 4px;
  --gap-2: 8px;
  --gap-3: 16px;
  --gap-4: 32px;
  --control: 36px;
  --menu-width: 216px;
  --bar-height: 52px;
}

:root[data-theme="light"] {
  --ground: #F8F8F8;
  --ground-2: #FFFFFF;
  --panel: #FFFFFF;
  --panel-2: #ECECEC;
  --line: #D5D9DB;
  --text: #2E404D;
  --text-2: #586671;
  --muted: #586671;
  --link: #005B96;
  --field: #F8F8F8;
  --field-line: #828C94;   /* 3.2:1 on the field (WCAG 1.4.11); #ABB3B8 was 2.0:1 */
  --row-hover: #ECECEC;
  --stripe: #F8F8F8;
  --disabled: #D5D9DB;
  --disabled-text: #586671;
  --danger-text: #E42600;   /* Orange 100: "requires attention" on White */
  --ok-text: #068941;
}
