/* WCAG 2.1 AA contrast tokens (D-041 pkt 1, axe-core audit of every screen; spec 17 OI-E10B-03).
 * Loaded right after cashflow-ui.css (the CashflowUI origin, copied byte for byte): only custom
 * property declarations (checked by splash-ui tests/it/style.rs) - the text tokens darkened (light) /
 * lightened (dark) to >= 4.5:1 on every surface they sit on (paper, paper-2/3, accent-soft,
 * amber-soft), same hues, and the fills of the dark-theme buttons with white text. Design D105
 * (handoff 3b, D-045 pkt 3) adopts these values; the fills are the DS tokens --accent-fill
 * (hover --accent-fill-hover) and --neg-fill: in the light theme the accent / danger colours, in
 * the dark theme #3366e6 / #2f5fd6 and #c43535 (white text >= 4.5:1). The --pt-hdr-* tokens are the
 * customer portal header (design D121 / 3c, stage EP): the same near-black bar in both themes. */
:root {
  --pt-hdr: #0d0e0f;
  --pt-hdr-text: #c8cad0;
  --pt-hdr-muted: #9a9ca3;
  --pt-hdr-line: #3a3d44;
  --pt-hdr-nav-line: #2a2c31;
  --pt-hdr-btn: #1d1f23;
  --pt-hdr-accent: #4976ff;
  --pt-hdr-badge: #cfd9ff;
  --pt-hdr-on: #fff;
  --ink-3: #636363;
  --ink-4: #6e6e6e;
  --pos: #167c3a;
  --neg: #cc2424;
  --amber: #a85508;
  --accent-fill: #2563eb;
  --accent-fill-hover: #1d4ed8;
  --neg-fill: #cc2424;
  --sp-on-accent: #fff;
}
:root[data-theme="dark"] {
  --ink-3: #9a9ca3;
  --ink-4: #8f9198;
  --accent-fill: #3366e6;
  --accent-fill-hover: #2f5fd6;
  --neg-fill: #c43535;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dark"]) {
    --ink-3: #9a9ca3;
    --ink-4: #8f9198;
    --accent-fill: #3366e6;
    --accent-fill-hover: #2f5fd6;
    --neg-fill: #c43535;
  }
}
