
    /* LINE ONLY BY DEFAULT (owner, 15 Nov 2026).
       Every drawing carries a soft fill on its main shape. On a TILE that fill is the point: the
       panel sets --mi-soft to a brand tint and the shape reads as part of the tile. On a bare icon
       it had nothing to belong to — a 32% wash of the icon's own slate — and at 14px it closed the
       briefcase, the calendar and the documents into filled blocks and turned check-circle into a
       grey disc with a tick on it. The owner read the whole set as cartoonish because of it.
       Compared four treatments at the real sizes before choosing this one.

       So: transparent here, and the tiles keep theirs. MenuIcons::svg() draws tile icons with
       class="mi", which this rule never touches, and the line below covers the case of an x-icon
       being dropped inside a tile later — it takes the tile's tint by inheritance instead of this
       default, because a custom property set on the element itself would otherwise win. */
    .bx-ic { --mi-soft: transparent; }
    .sp-tile .bx-ic, .mi-tile .bx-ic { --mi-soft: inherit; }

    /* WHERE AN ICON SITS ON THE LINE, AND HOW FAR IT STANDS OFF ITS LABEL.
       Both belong here rather than at the call site, because the utilities the call sites were
       using DO NOT EXIST IN THE BUILT STYLESHEET (tickets #73 and #89, 15 Nov 2026):

         - `align-[-0.125em]`, `align-[-0.15em]`, `align-[-0.2em]` — 168 of them across the
           templates, and the bundle contains only align-top/middle/bottom/super. Every one was a
           no-op, so every icon took Tailwind preflight's `svg { vertical-align: middle }` and sat
           high against lowercase text. That is the misalignment the testers photographed.
         - `me-1` and `me-0.5` are likewise absent (`ms-1` and `mr-1` are there), so icons that
           asked for a gap were rendered flush against their own label.

       The bundle is from 10 Oct and those classes entered the templates afterwards; it needs a
       rebuild, which is a production asset and the owner's call. Until then this file ships its
       own CSS in the head, so these two rules are guaranteed to arrive. Defining `.me-1` scoped to
       `.bx-ic` is safe either way: a rebuild would generate the identical declaration.

       -0.15em, not -0.125em: compared at 13/14/15px text, `middle` is visibly high and -0.125em
       still a little high; -0.15em puts the icon's optical centre on the x-height. */
    .bx-ic { vertical-align: -0.15em; }

    /* A WAVE THAT ACTUALLY WAVES (owner, 16 Nov 2026: "some animated hello that appears like it is
       waving towards the user"). Twice on arrival and then still — a greeting, not a thing flapping
       at someone for the whole session. The pivot is the heel of the hand, so it swings from the
       wrist rather than spinning about its middle.

       Honoured for people who have asked their system for less motion: an animation that ignores
       that setting is a problem for anyone it makes dizzy, and it costs one media query. */
    /* KEEPS WAVING, with a pause between waves (owner, 16 Nov: "is it possible to keep it in
       animated form... only if it does not make the page heavy"). It is not heavy: one transform
       on one inline SVG is composited by the GPU and never touches layout or paint, so the cost
       does not grow with the page. The rest between waves is the point — a hand that never stops
       moving stops reading as a greeting and becomes something flapping in the corner of the eye.
       Roughly one second of waving, two of stillness. */
    @keyframes bx-wave {
          0%, 36%, 100% { transform: rotate(0deg); }
         6%, 18%, 30%   { transform: rotate(15deg); }
        12%, 24%        { transform: rotate(-8deg); }
    }
    .bx-wave { transform-origin: 70% 80%; animation: bx-wave 3.2s ease-in-out .3s infinite; }
    @media (prefers-reduced-motion: reduce) { .bx-wave { animation: none; } }
    .bx-ic.me-1 { margin-inline-end: 0.25rem; }
    .bx-ic.me-0\.5 { margin-inline-end: 0.125rem; }
    .bx-ic.ms-1 { margin-inline-start: 0.25rem; }

    /* THE TONES. Five meanings, named rather than coloured at the call site, so the platform can
       be restyled from here and both themes stay in step. Each tone is one ink and one wash; the
       wash is only used by a chip. Values are the Tailwind steps already used for badges across
       the site, so a toned icon sits correctly next to one. */
    :root {
        --bx-ic-danger: #e11d48; --bx-ic-danger-wash: #ffe4e6;
        --bx-ic-warn:   #d97706; --bx-ic-warn-wash:   #fef3c7;
        --bx-ic-ok:     #059669; --bx-ic-ok-wash:     #d1fae5;
        /* INFO IS BLUE, NOT THE BRAND. Keyed to --brand-600 it was the same green as `ok` on this
           theme, and two tones that cannot be told apart carry no meaning between them. Blue is
           also what a reader already expects "for your information" to look like. */
        --bx-ic-info:   #1d4ed8; --bx-ic-info-wash: #dbeafe;
        --bx-ic-mute:   #64748b; --bx-ic-mute-wash:   rgb(var(--slate-100-rgb, 241 245 249));
        --bx-ic-solid:  #0f172a; --bx-ic-solid-ink:   rgb(var(--white-rgb, 255 255 255));
    }
    html.dark {
        /* Lifted a step or two: the same hue has to carry on a dark panel without glowing. */
        --bx-ic-danger: #fb7185; --bx-ic-danger-wash: rgba(225,29,72,.18);
        --bx-ic-warn:   #fbbf24; --bx-ic-warn-wash:   rgba(217,119,6,.20);
        --bx-ic-ok:     #34d399; --bx-ic-ok-wash:     rgba(5,150,105,.20);
        --bx-ic-info:   #60a5fa; --bx-ic-info-wash: rgba(37,99,235,.22);
        --bx-ic-mute:   rgb(var(--slate-400-rgb)); --bx-ic-mute-wash:   rgba(148,163,184,.16);
        --bx-ic-solid:  rgb(var(--slate-200-rgb)); --bx-ic-solid-ink:   rgb(var(--slate-900-rgb));
    }
    .bx-ic--danger { color: var(--bx-ic-danger); }
    .bx-ic--warn   { color: var(--bx-ic-warn); }
    .bx-ic--ok     { color: var(--bx-ic-ok); }
    .bx-ic--info   { color: var(--bx-ic-info); }
    .bx-ic--mute   { color: var(--bx-ic-mute); }

    /* THE DECORATIVE ONE. A disc behind the drawing, for the head of a panel or a feature row.
       `soft` is the tone's wash with the tone's ink; `solid` is the ink with the page behind it,
       which is the "dark background, white foreground" the owner asked for. The disc sizes itself
       from the icon it holds, so one chip works at 14px and at 24px. */
    .bx-chip { display: inline-flex; align-items: center; justify-content: center;
               padding: .45em; border-radius: 9999px; line-height: 0; vertical-align: -0.35em; }
    .bx-chip--soft   { background: var(--bx-ic-mute-wash); color: var(--bx-ic-mute); }
    .bx-chip--soft.bx-ic--danger { background: var(--bx-ic-danger-wash); color: var(--bx-ic-danger); }
    .bx-chip--soft.bx-ic--warn   { background: var(--bx-ic-warn-wash);   color: var(--bx-ic-warn); }
    .bx-chip--soft.bx-ic--ok     { background: var(--bx-ic-ok-wash);     color: var(--bx-ic-ok); }
    .bx-chip--soft.bx-ic--info   { background: var(--bx-ic-info-wash);   color: var(--bx-ic-info); }
    .bx-chip--solid { background: var(--bx-ic-solid); color: var(--bx-ic-solid-ink); }
    .bx-chip--solid.bx-ic--danger { background: var(--bx-ic-danger); color: #fff; }
    .bx-chip--solid.bx-ic--warn   { background: var(--bx-ic-warn);   color: #fff; }
    .bx-chip--solid.bx-ic--ok     { background: var(--bx-ic-ok);     color: #fff; }
    .bx-chip--solid.bx-ic--info   { background: var(--bx-ic-info);   color: #fff; }
