/* SCWUB colour palette: every colour the app's screens use, named by what it is for. Change colours here, not in the
   page styles. base.html loads this before every other stylesheet.
   The look: a royal-blue app under a sky header bar (owner's choice, 30 October 2026).
   Kept elsewhere: the logo, an image in its own colours (static/brand/), the downloadable reports' light palette
   (reporting/templates/), and the select-box arrows, drawn in --muted inside data URIs that cannot read these values
   (app.css, site.html, bulk_triage.html). Tints are mixed from these colours where they are used (color-mix). */
:root {
  /* the header bar: sky, which also marks the active tab and sits behind the logo */
  --header:#BDD8E9;
  --on-header:#001D39;       /* the logo name and menu */
  --on-header-muted:#2f5a82; /* the tagline */

  /* surfaces: royal blue */
  --bg:#0A4174;              /* the page */
  --panel:#12508a;           /* panels and cards */
  --sunken:#062f57;          /* fields, code, stat boxes, tooltips */
  --line:#2b6299;            /* borders and dividers */
  --line-strong:#7fa9d1;     /* hovered borders */
  --shadow:rgba(0,0,0,.35);
  --shot-bg:#fff;            /* behind mobile screenshots */

  /* text */
  --text:#f2f8fc;
  --text-strong:#fff;        /* the active tab */
  --soft:#d6e8f3;            /* quieter than text: low-severity counts, status pill text */
  --muted:#BDD8E9;           /* labels, hints, secondary text */
  --faint:#8fb6d3;           /* placeholders, ignored and superseded */
  --dim:#BDD8E9;             /* a site's reasons on the portfolio */

  /* actions */
  --accent:#a6d5f5;          /* links, notices */
  --cta:#BDD8E9;             /* calls to action: buttons, Scan now */
  --cta-hover:#d6e8f3;
  --on-cta:#001D39;          /* text on --cta */
  --active:#4ade80;          /* a scan in progress: the scanning button, progress bar and text */
  --on-active:#04210f;
  --on-badge:#0b1220;        /* text on coloured badges */
  --secondary:#1d5d98;       /* secondary buttons */
  --focus:#fff;              /* keyboard focus rings, selected rows */
  --danger:#b91c1c;          /* destructive actions */
  --on-fill:#fff;            /* text on danger and on the dark labelled fills below */

  /* findings: severity, and the outcome of a change */
  --high:#f87171;
  --medium:#ffb07a;
  --low:#facc15;
  --info:#60a5fa;
  --ok:#4ade80;              /* fixed, passed, accepted */
  --new:#c084fc;             /* new findings */
  --high-text:#ffabab;       /* red text: errors, regressions, high counts, text on a --high tint */
  --ok-text:#86efac;         /* text on an --ok tint */
  --new-text:#d8b4fe;        /* text on a --new tint */
  --attention-text:#ffb27f;  /* "needs attention" counts (red is kept for high severity) */
  --warn-text:#fcd068;       /* "review" counts, historical causes */

  /* finding icons (_finding_icons.html); the low and info icons use --low and --info */
  --icon-high:#ff8080;
  --icon-on-high:#2a0505;    /* the high icon's mark */
  --icon-medium:#f59e0b;
  --icon-on-medium:#1b1300;
  --icon-flag:#f472b6;       /* needs attention */
  --icon-eye:#a5b4fc;        /* for review */

  /* dark labelled fills with --on-fill text: site states, overview reasons, manual verification states */
  --fill-attention:#7f1d1d;
  --fill-review:#92400e;
  --fill-neutral:#475569;
  --fill-quiet:#1d5d98;      /* with --text, not --on-fill */
  --fill-human:#9f1239;      /* a person found it broken */
  --fill-verify:#001D39;
  --fill-open:#7c2d12;

  /* the success notice */
  --notice-bg:#ecfdf5;
  --notice-line:#6ee7b7;
  --notice-text:#065f46;
}
