
    /* B-7, 9 Oct 2026 - 1 Bootstrap literal(s) on this page
       became a var(). The ones in script blocks and in style
       attributes are converted because the browser reads them
       as CSS in the end; a colour handed to a chart library as
       DATA is not converted and never will be by a round of
       this shape - see apply_brights.py. */
      :root {
        --alv-accent:        #0e7c8b;
        --alv-accent-ink:    #0a5e6a;   /* hover / pressed                  */
        --alv-accent-soft:   #e4f3f5;   /* tint: hover rows, selected chips */
        --alv-accent-line:   #a8d8de;   /* borders on tinted surfaces       */
    --alv-accent-ring: rgba(14, 124, 139, 0.12);  /* the focus halo */
        --alv-on-accent:     #ffffff;   /* text on a filled accent          */
      }

      .btn-info,
      .btn-info:disabled,
      .btn-info.disabled {
        background-color: var(--alv-accent);
        border-color: var(--alv-accent);
        color: var(--alv-on-accent);
      }
      .btn-info:hover,
      .btn-info:focus,
      .btn-info:active,
      .btn-info.active,
      .show > .btn-info.dropdown-toggle {
        background-color: var(--alv-accent-ink);
        border-color: var(--alv-accent-ink);
        color: var(--alv-on-accent);
      }
      .btn-info:focus,
      .btn-info.focus {
        box-shadow: 0 0 0 .2rem rgba(14, 124, 139, .38);
      }

      .btn-outline-info {
        color: var(--alv-accent);
        border-color: var(--alv-accent);
      }
      .btn-outline-info:hover,
      .btn-outline-info:focus,
      .btn-outline-info:active {
        background-color: var(--alv-accent);
        border-color: var(--alv-accent);
        color: var(--alv-on-accent);
      }

      .bg-info { background-color: var(--alv-accent) !important; }
      .text-info { color: var(--alv-accent) !important; }
      .border-info { border-color: var(--alv-accent) !important; }
      .badge-info { background-color: var(--alv-accent); color: var(--alv-on-accent); }

      /* ===== ALV MUTED TEXT v1 ===== 26 Sep 2026
         Bootstrap's .text-muted is #6c757d, used 260 times across 68
         templates, and base never had an opinion about it. It measures
         4.69 on white - a pass, barely - and 3.95 on #e9ecef, which is
         what the cards and rows it sits on are actually painted. It was
         262 of the 565 elements the rendered survey found below their
         bar: forty-six per cent of the whole problem, in one colour.
         Pointed at --alv-neutral so the house has ONE muted ink rather
         than two opinions about the same idea. !important because
         Bootstrap's own utility carries it. */
      .text-muted { color: var(--alv-neutral) !important; }
      .alert-info {
        background-color: var(--alv-accent-soft);
        border-color: var(--alv-accent-line);
        color: var(--alv-accent-ink);
      }
      .list-group-item-info { background-color: var(--alv-accent-soft); color: var(--alv-accent-ink); }
      a.text-info:hover, a.text-info:focus { color: var(--alv-accent-ink) !important; }

      /* ===== ALV SUCCESS AND WARNING v1 ===== 28 Sep 2026
         The last two Bootstrap families that carry a MEANING, answered
         the same way INFO is answered above. #28a745 measures 3.13 on
         white and 2.64 on the #e9ecef wash the panels are painted;
         #ffc107 measures 1.63 and 1.37. Six card heads make it worse by
         adding text-white - wcim_results heads a whole tier with white
         on #ffc107, which is 1.63 and unreadable.

         A COLOUR IS SET ON EVERY FILL, not only a background. Bootstrap
         gives .badge-warning DARK ink because its yellow demands it;
         repainting only the background would have left #212529 on
         #8e6207.

         THE BUTTON FAMILIES ARE ABSENT ON PURPOSE. btn-success 40,
         btn-warning 8, btn-outline-success 4, and read out, every one is
         an action - Save, Add, Create, Generate, Email, Continue, Edit.
         The page-header action bar's standard below already settles
         that: colour on an action is by WEIGHT, not by verb.
         (Its marker name is not written out here - test_action_standard
         counts that token and expects to find it once, at the standard
         itself. Prose naming a marker is the same family as prose shaped
         like a CSS declaration, which base already warns about two
         blocks down.) Painting them here would make
         52 buttons look deliberate while still being drift, and hide
         them from Show-ButtonDrift. They want .action-primary and
         .action-secondary, in a round that can weigh which control on a
         page is the main one. test_good_warn.py fails if a
         btn-*success or btn-*warning selector ever appears in base. */
      .bg-success { background-color: var(--alv-good) !important; }
      .text-success { color: var(--alv-good) !important; }
      .border-success { border-color: var(--alv-good) !important; }
      .badge-success { background-color: var(--alv-good); color: var(--alv-on-accent); }
      .alert-success {
        background-color: var(--alv-good-soft);
        border-color: var(--alv-good-line);
        color: var(--alv-good-ink);
      }
      /* THE ONE THAT WAS MISSING - 29 Sep. info, success and warning were
         all brought onto the tokens; danger was left as Bootstrap's own,
         and M1 makes it the commonest bar on the system. */
      .alert-danger {
        background-color: var(--alv-bad-soft);
        border-color: var(--alv-bad-line);
        color: var(--alv-bad-ink);
      }
      .list-group-item-success { background-color: var(--alv-good-soft); color: var(--alv-good-ink); }
      a.text-success:hover, a.text-success:focus { color: var(--alv-good-ink) !important; }

      .bg-warning { background-color: var(--alv-warn) !important; }
      /* AND .bg-light, PH-2, 14 Oct 2026 - A RENAME, NOT A RECOLOUR.
         Bootstrap's value is #f8f9fa and --alv-surface is #f8f9fa, so this
         declaration moves no pixel anywhere. What it moves is OWNERSHIP:
         seven sites across five pages were using a Bootstrap utility whose
         value happened to match the house token, and a value that matches
         by coincidence stops matching the day the token is tuned.
         The same move this file already made for its three siblings above. */
      .bg-light { background-color: var(--alv-surface) !important; }
      .text-warning { color: var(--alv-warn) !important; }
      .border-warning { border-color: var(--alv-warn) !important; }
      .badge-warning { background-color: var(--alv-warn); color: var(--alv-on-accent); }
      .alert-warning {
        background-color: var(--alv-warn-soft);
        border-color: var(--alv-warn-line);
        color: var(--alv-warn-ink);
      }
      .list-group-item-warning { background-color: var(--alv-warn-soft); color: var(--alv-warn-ink); }
      a.text-warning:hover, a.text-warning:focus { color: var(--alv-warn-ink) !important; }
    