
        
        /* bootstrap-icons 1.11.3, subset to the glyphs this site uses (generated by /root/sitework/perf/bi_subset.py;
   169 icon classes + raw codepoints ['f52a']). Add a name here AND re-run the script when a new icon is used;
   the full set is one line away: swap this include for the CDN stylesheet in base.html. */
@font-face{font-display:block;font-family:bootstrap-icons;src:url("/static/vendor/bootstrap-icons/bootstrap-icons-subset.753a17a12d.woff2") format("woff2")}
.bi::before,
[class^="bi-"]::before,
[class*=" bi-"]::before {
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.bi-1-circle-fill::before{content:"\f796"}
.bi-2-circle-fill::before{content:"\f79c"}
.bi-3-circle-fill::before{content:"\f7a2"}
.bi-4-circle-fill::before{content:"\f7a8"}
.bi-archive::before{content:"\f10d"}
.bi-arrow-counterclockwise::before{content:"\f117"}
.bi-arrow-left::before{content:"\f12f"}
.bi-arrow-repeat::before{content:"\f130"}
.bi-arrow-right::before{content:"\f138"}
.bi-arrow-right-circle::before{content:"\f134"}
.bi-ban::before{content:"\f6b6"}
.bi-bandaid::before{content:"\f681"}
.bi-bank::before{content:"\f62e"}
.bi-bar-chart::before{content:"\f17e"}
.bi-bar-chart-line::before{content:"\f17c"}
.bi-bar-chart-line-fill::before{content:"\f17b"}
.bi-bar-chart-steps::before{content:"\f17d"}
.bi-bell::before{content:"\f18a"}
.bi-bell-slash::before{content:"\f631"}
.bi-book::before{content:"\f194"}
.bi-box-arrow-in-right::before{content:"\f1be"}
.bi-box-arrow-up-right::before{content:"\f1c5"}
.bi-box-seam::before{content:"\f1c7"}
.bi-browser-chrome::before{content:"\f7d4"}
.bi-building::before{content:"\f1dd"}
.bi-building-add::before{content:"\f867"}
.bi-building-check::before{content:"\f868"}
.bi-bullseye::before{content:"\f1de"}
.bi-calculator::before{content:"\f1e0"}
.bi-calendar-check::before{content:"\f1e2"}
.bi-calendar-event::before{content:"\f1e8"}
.bi-calendar-week::before{content:"\f1f3"}
.bi-calendar2-check::before{content:"\f1f8"}
.bi-calendar3::before{content:"\f214"}
.bi-camera-video::before{content:"\f21f"}
.bi-capsule::before{content:"\f7df"}
.bi-cash-coin::before{content:"\f632"}
.bi-chat-dots::before{content:"\f24a"}
.bi-chat-left-text::before{content:"\f252"}
.bi-chat-square-dots::before{content:"\f25f"}
.bi-chat-square-text::before{content:"\f264"}
.bi-check::before{content:"\f26e"}
.bi-check-circle::before{content:"\f26b"}
.bi-check-circle-fill::before{content:"\f26a"}
.bi-check2::before{content:"\f272"}
.bi-check2-circle::before{content:"\f270"}
.bi-chevron-down::before{content:"\f282"}
.bi-clipboard::before{content:"\f290"}
.bi-clipboard-check::before{content:"\f28b"}
.bi-clipboard-data::before{content:"\f28c"}
.bi-clipboard-x::before{content:"\f28f"}
.bi-clipboard2-check::before{content:"\f725"}
.bi-clipboard2-data::before{content:"\f727"}
.bi-clock::before{content:"\f293"}
.bi-clock-history::before{content:"\f292"}
.bi-code-square::before{content:"\f2c7"}
.bi-collection::before{content:"\f2cc"}
.bi-collection-fill::before{content:"\f2c9"}
.bi-cpu::before{content:"\f2d6"}
.bi-database::before{content:"\f8c4"}
.bi-diagram-3::before{content:"\f2ee"}
.bi-door-open::before{content:"\f308"}
.bi-download::before{content:"\f30a"}
.bi-droplet::before{content:"\f30d"}
.bi-droplet-half::before{content:"\f30c"}
.bi-easel::before{content:"\f310"}
.bi-easel2::before{content:"\f66d"}
.bi-emoji-dizzy::before{content:"\f319"}
.bi-emoji-frown::before{content:"\f31d"}
.bi-emoji-neutral::before{content:"\f323"}
.bi-envelope::before{content:"\f32f"}
.bi-exclamation-circle::before{content:"\f333"}
.bi-exclamation-circle-fill::before{content:"\f332"}
.bi-exclamation-diamond::before{content:"\f335"}
.bi-exclamation-triangle::before{content:"\f33b"}
.bi-exclamation-triangle-fill::before{content:"\f33a"}
.bi-eye::before{content:"\f341"}
.bi-eye-slash-fill::before{content:"\f33f"}
.bi-eyedropper::before{content:"\f342"}
.bi-facebook::before{content:"\f344"}
.bi-file-check::before{content:"\f350"}
.bi-file-earmark::before{content:"\f392"}
.bi-file-earmark-check::before{content:"\f360"}
.bi-file-earmark-excel::before{content:"\f368"}
.bi-file-earmark-lock::before{content:"\f36f"}
.bi-file-earmark-medical::before{content:"\f373"}
.bi-file-earmark-pdf::before{content:"\f63e"}
.bi-file-earmark-richtext::before{content:"\f383"}
.bi-file-earmark-ruled::before{content:"\f385"}
.bi-file-earmark-spreadsheet::before{content:"\f389"}
.bi-file-earmark-text::before{content:"\f38b"}
.bi-filetype-pdf::before{content:"\f756"}
.bi-flag::before{content:"\f3cc"}
.bi-flag-fill::before{content:"\f3cb"}
.bi-folder::before{content:"\f3d7"}
.bi-funnel::before{content:"\f3e1"}
.bi-geo-alt::before{content:"\f3e8"}
.bi-graph-up::before{content:"\f3f2"}
.bi-graph-up-arrow::before{content:"\f673"}
.bi-grid::before{content:"\f3fc"}
.bi-hdd-stack::before{content:"\f411"}
.bi-heart-pulse::before{content:"\f76f"}
.bi-heart-pulse-fill::before{content:"\f76e"}
.bi-hospital::before{content:"\f774"}
.bi-hourglass-split::before{content:"\f41f"}
.bi-house-door::before{content:"\f423"}
.bi-info-circle::before{content:"\f431"}
.bi-info-circle-fill::before{content:"\f430"}
.bi-journal-check::before{content:"\f43e"}
.bi-journal-richtext::before{content:"\f443"}
.bi-journal-text::before{content:"\f444"}
.bi-journal-x::before{content:"\f445"}
.bi-journals::before{content:"\f447"}
.bi-lightbulb::before{content:"\f46b"}
.bi-lightbulb-fill::before{content:"\f468"}
.bi-lightning-charge::before{content:"\f46d"}
.bi-link-45deg::before{content:"\f470"}
.bi-linkedin::before{content:"\f472"}
.bi-list-check::before{content:"\f473"}
.bi-list-ol::before{content:"\f475"}
.bi-list-ul::before{content:"\f478"}
.bi-lock::before{content:"\f47b"}
.bi-map::before{content:"\f47f"}
.bi-megaphone::before{content:"\f484"}
.bi-mic-fill::before{content:"\f48d"}
.bi-mortarboard::before{content:"\f6fe"}
.bi-mouse::before{content:"\f499"}
.bi-newspaper::before{content:"\f4a3"}
.bi-patch-check::before{content:"\f4b6"}
.bi-pencil-square::before{content:"\f4ca"}
.bi-people::before{content:"\f4d0"}
.bi-people-fill::before{content:"\f4cf"}
.bi-percent::before{content:"\f4d1"}
.bi-person-badge::before{content:"\f4d3"}
.bi-person-check::before{content:"\f4d6"}
.bi-person-circle::before{content:"\f4d7"}
.bi-person-lock::before{content:"\f8a8"}
.bi-person-plus::before{content:"\f4dd"}
.bi-phone::before{content:"\f4e7"}
.bi-pie-chart::before{content:"\f4e9"}
.bi-plus-circle::before{content:"\f4fa"}
.bi-printer::before{content:"\f501"}
.bi-question-circle::before{content:"\f505"}
.bi-question-circle-fill::before{content:"\f504"}
.bi-reply::before{content:"\f520"}
.bi-robot::before{content:"\f6b1"}
.bi-save::before{content:"\f525"}
.bi-search::before{content:"\f52a"}
.bi-send::before{content:"\f6c0"}
.bi-share::before{content:"\f52e"}
.bi-shield-check::before{content:"\f52f"}
.bi-shield-exclamation::before{content:"\f530"}
.bi-shield-lock::before{content:"\f538"}
.bi-shop::before{content:"\f543"}
.bi-sliders::before{content:"\f56b"}
.bi-speedometer2::before{content:"\f580"}
.bi-square::before{content:"\f584"}
.bi-sun::before{content:"\f5a2"}
.bi-table::before{content:"\f5aa"}
.bi-tags::before{content:"\f5b2"}
.bi-telephone::before{content:"\f5c1"}
.bi-tools::before{content:"\f5db"}
.bi-translate::before{content:"\f658"}
.bi-trash::before{content:"\f5de"}
.bi-trash2::before{content:"\f5e0"}
.bi-twitter-x::before{content:"\f8db"}
.bi-wrench::before{content:"\f621"}
.bi-x-circle-fill::before{content:"\f622"}
.bi-x-lg::before{content:"\f659"}
        /* IBM Plex, self-hosted (static/vendor/fonts, the Google Fonts v23/v20 latin + latin-ext files).
           The Google CSS was a render-blocking cross-origin request on every page. Plex Mono 500 was
           never rendered (measured on 14 pages, 2026-11-03), so Mono is 400 only. */
        @font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400 600; font-display: swap;
            src: url(/static/vendor/fonts/ibm-plex-sans-latin.38a3a80098.woff2) format('woff2');
            unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
        @font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400 600; font-display: swap;
            src: url(/static/vendor/fonts/ibm-plex-sans-latin-ext.ffa8ff6e33.woff2) format('woff2');
            unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
        @font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
            src: url(/static/vendor/fonts/ibm-plex-mono-400-latin.08949f728d.woff2) format('woff2');
            unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
        @font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
            src: url(/static/vendor/fonts/ibm-plex-mono-400-latin-ext.6bc0f226a5.woff2) format('woff2');
            unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
        /* ============================================================
           DIVERTGUARD - design system
           Clean white page, IBM Plex Sans 400/500/600 throughout (IBM Plex Mono
           reserved for literal code/terminal content only), 6px radii, hairline dividers,
           one soft shadow (header + dropdowns only). Every colour pair
           below is contrast-verified in /root/diversion-db/candidate_palette.py.
           ============================================================ */
        :root {
            /* surfaces */
            --paper: #FFFFFF;             /* page surface */
            --gray-50: #F4F7F9;           /* panel / band tint (1.08:1 vs page) */
            --gray-100: #EDF1F4;          /* hover / inner tint (derived, backgrounds only) */
            --gray-200: #DCE3E8;          /* decorative divider - never a control boundary */
            --rule: #DCE3E8;
            /* text */
            --ink: #16202A;               /* body + headings  16.48:1 */
            --gray-900: #16202A;
            --gray-700: #4C6272;          /* text secondary     6.37:1 */
            --gray-600: #5F6E7C;          /* text muted         5.24:1 */
            --gray-400: #5F6E7C;          /* struck-through / de-emphasised text stays readable */
            /* action */
            --primary: #0d6e6e;           /* primary action     6.05:1, white on it 6.05:1 */
            --primary-dark: #085252;      /* primary hover      8.98:1 */
            --primary-light: #e0f5f5;     /* tint for icon wells and badges (primary-dark on it 7.93:1) */
            --accent: #a05718;            /* risk / error       5.30:1 on white, 4.96:1 on --accent-light (was #aa5d19: 4.47:1 on the tint, under AA) */
            --accent-light: #fef3e7;      /* tint for risk panels */
            --confirm: #0B6B3A;           /* success            6.61:1 */
            --control-border: #7C8B99;    /* input / checkbox boundary 3.49:1 (SC 1.4.11) */
            --focus: #0B57D0;             /* focus ring         6.39:1 */
            /* type */
            --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            --font-display: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
            --radius: .375rem;            /* 6px */
            /* Bootstrap bridge */
            --bs-body-font-family: var(--font-body);
            --bs-body-font-size: 1.0625rem;   /* 17px */
            --bs-body-line-height: 1.6;
            --bs-body-color: #16202A;
            --bs-body-color-rgb: 22, 32, 42;
            --bs-body-bg: #FFFFFF;
            --bs-body-bg-rgb: 255, 255, 255;
            --bs-heading-color: #16202A;
            --bs-emphasis-color: #16202A;
            --bs-emphasis-color-rgb: 22, 32, 42;
            --bs-secondary-color: #5F6E7C;
            --bs-secondary-color-rgb: 95, 110, 124;
            --bs-secondary-bg: #F4F7F9;
            --bs-tertiary-color: #5F6E7C;
            --bs-tertiary-bg: #F4F7F9;
            --bs-link-color: #0d6e6e;
            --bs-link-color-rgb: 13, 110, 110;
            --bs-link-hover-color: #085252;
            --bs-link-hover-color-rgb: 8, 82, 82;
            --bs-code-color: #085252;
            --bs-primary: #0d6e6e;
            --bs-primary-rgb: 13, 110, 110;
            --bs-secondary-rgb: 76, 98, 114;
            --bs-success: #0B6B3A;
            --bs-success-rgb: 11, 107, 58;
            --bs-danger: #C0392B;
            --bs-danger-rgb: 192, 57, 43;
            --bs-info-bg-subtle: #E8F1FA;
            --bs-info-border-subtle: #B9D3EE;
            --bs-info-text-emphasis: #00437F;
            --bs-border-radius: .375rem;
            --bs-border-radius-sm: .375rem;
            --bs-border-radius-lg: .375rem;
            --bs-border-radius-xl: .375rem;
            --bs-border-radius-xxl: .375rem;
            --bs-border-radius-pill: 999px;
            --bs-border-color: #DCE3E8;
            --bs-border-color-translucent: #DCE3E8;
            --bs-focus-ring-color: rgba(11, 87, 208, .3);
        }

        /* ---------- type scale: sans throughout, 600 max ---------- */
        h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6,
        .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
            font-family: var(--font-display);
            font-weight: 600;
            line-height: 1.2;
            letter-spacing: -.01em;
            color: var(--ink);
            overflow-wrap: break-word;  /* a long compound word ("amphetamine/dextroamphetamine") pushed a case page to 462px at 375 */
        }
        h1, .h1 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.5rem); line-height: 1.15; }
        h2, .h2 { font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.75rem); }
        h3, .h3 { font-size: clamp(1.1rem, 1rem + .5vw, 1.25rem); line-height: 1.25; }
        h4, .h4 { font-size: 1.25rem; line-height: 1.25; }
        h5, .h5 { font-size: 1.125rem; line-height: 1.25; }
        h6, .h6 { font-size: 1rem; line-height: 1.25; }
        .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.5rem); }
        /* Weight is capped at 600 everywhere: 700/800 was the dated read. */
        .fw-bold, .fw-bolder, b, strong, th, dt, .lead strong { font-weight: 600 !important; }
        .fw-light, .fw-lighter { font-weight: 400 !important; }
        .lead { font-weight: 400; font-size: 1.125rem; line-height: 1.6; }
        /* Nothing under 14px. Bootstrap's .small is em-based and compounds; pin it in rem. */
        small, .small { font-size: .875rem; }
        .form-text { font-size: .875rem; }
        /* Literal code/terminal content stays monospace. */
        code, kbd, samp, pre {
            font-family: var(--font-mono);
            font-variant-numeric: tabular-nums;
        }
        /* Data and labels read as designed type, not typewriter text - sans, with tabular figures so numbers still align in columns. */
        .data, .mono, .badge-score, .stat-value, .eyebrow {
            font-family: var(--font-body);
            font-variant-numeric: tabular-nums;
        }
        code { background: var(--gray-50); padding: .1em .35em; border-radius: .25rem; font-size: .9em; }
        pre code { background: none; padding: 0; }
        .eyebrow {
            font-size: .875rem;
            font-weight: 500;
            letter-spacing: .08em;
            text-transform: uppercase;
            color: var(--gray-600);
        }
        /* A rule-heading: the separator is a line, not a box. */
        .rule-head {
            display: flex; align-items: center; gap: .85rem;
            margin: 3rem 0 1.5rem;
        }
        .rule-head::after {
            content: ''; flex: 1; height: 1px; background: var(--rule);
        }
        .rule-head span {
            font-family: var(--font-body); font-variant-numeric: tabular-nums; font-size: .875rem; font-weight: 500;
            letter-spacing: .08em; text-transform: uppercase; color: var(--gray-600);
            white-space: nowrap;
        }
        /* Data plate: a number that carries weight. */
        .plate { border-top: 2px solid var(--primary); padding-top: .6rem; }
        .plate .stat-value { font-size: 2rem; font-weight: 500; line-height: 1; color: var(--ink); }
        .plate .plate-label {
            font-family: var(--font-body); font-variant-numeric: tabular-nums; font-size: .875rem; letter-spacing: .06em;
            text-transform: uppercase; color: var(--gray-600); margin-top: .45rem; display: block;
        }
        blockquote {
            border-left: 3px solid var(--primary); padding-left: 1.1rem; margin-left: 0;
            font-family: var(--font-body); font-size: 1.0625rem; color: var(--gray-700);
        }
        /* Bootstrap's footer grey (#6c757d) is 4.4:1 on white; the quote source line must reach 4.5:1 */
        .blockquote-footer { color: var(--gray-700); }
        /* Long-form measure: 60-75 characters. Applied to prose containers, not globally,
           so centred and card layouts are not narrowed. */
        .article-body, .prose, .measure { max-width: 68ch; }
        .article-body p, .prose p { text-align: left; }

        body {
            font-family: var(--font-body);
            background: var(--paper);
            color: var(--ink);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            -webkit-font-smoothing: antialiased;
        }
        main { flex: 1; }

        /* ---------- focus: one visible ring, everywhere ---------- */
        a:focus-visible, button:focus-visible, [tabindex]:focus-visible, [role="button"]:focus-visible,
        summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible,
        .btn:focus-visible, .nav-link:focus-visible, .dropdown-item:focus-visible, .accordion-button:focus-visible,
        .form-control:focus-visible, .form-select:focus-visible, .form-check-input:focus-visible {
            outline: 3px solid var(--focus) !important;
            outline-offset: 2px;
            box-shadow: none !important;
        }
        /* Skip link: the first focusable element on every page; visually hidden until it has focus
           (WCAG 2.4.1 Bypass Blocks). */
        .skip-link {
            position: absolute; left: 0; top: 0; z-index: 2000;
            padding: .6rem 1rem; margin: .5rem;
            background: var(--paper); color: var(--ink); font-weight: 600;
            border: 2px solid var(--focus); border-radius: var(--radius);
            transform: translateY(-200%); transition: transform .1s;
        }
        .skip-link:focus, .skip-link:focus-visible { transform: translateY(0); color: var(--ink); }
        main:focus, main:focus-visible { outline: none !important; }

        /* ---------- masthead: white, hairline underneath, ink links ---------- */
        .navbar {
            --bs-navbar-color: #16202A;
            --bs-navbar-hover-color: #0d6e6e;
            --bs-navbar-active-color: #16202A;
            --bs-navbar-brand-color: #16202A;
            --bs-navbar-brand-hover-color: #0d6e6e;
            --bs-navbar-toggler-border-color: #7C8B99;
            --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2316202A' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
            background: var(--paper) !important;
            background-image: none !important;
            border-bottom: 1px solid var(--rule);
            box-shadow: 0 1px 2px rgba(22, 32, 42, .04);   /* the one soft header shadow */
            padding: .625rem 0;
        }
        .navbar-brand {
            font-family: var(--font-body);
            font-weight: 600;
            font-size: 1.25rem;
            letter-spacing: -.01em;
            color: var(--ink) !important;
        }
        .navbar-brand:hover { color: var(--primary) !important; }
        .navbar-brand i { display: none; }
        .navbar .nav-link {
            font-family: var(--font-body);
            font-weight: 500;
            font-size: .9375rem;
            padding: .5rem .7rem !important;
            border-radius: var(--radius);
            color: var(--ink) !important;
            white-space: nowrap;
            transition: color .12s, background-color .12s;
        }
        .navbar .nav-link:hover { background: var(--gray-50) !important; color: var(--primary) !important; }
        .navbar .nav-link.active {
            background: none !important;
            color: var(--ink) !important;
            box-shadow: inset 0 -2px 0 var(--primary);
            border-radius: 0;
        }
        .navbar .nav-link i { display: none; }
        .navbar-toggler { border-radius: var(--radius); }
        .navbar .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            white-space: nowrap;
        }
        /* The masthead's one action is the Contact button; it takes the primary blue.
           The search submit is a quiet outlined control with a glyph. */
        .navbar .form-control {
            background: var(--paper);
            border: 1px solid var(--control-border);
            color: var(--ink);
            font-size: .9375rem;
        }
        .navbar .form-control::placeholder { color: var(--gray-600); }
        .navbar .input-group .btn-accent {
            --bs-btn-color: #4C6272;
            --bs-btn-bg: #FFFFFF;
            --bs-btn-border-color: #7C8B99;
            --bs-btn-hover-color: #16202A;
            --bs-btn-hover-bg: #F4F7F9;
            --bs-btn-hover-border-color: #7C8B99;
            --bs-btn-active-bg: #EDF1F4;
            --bs-btn-active-color: #16202A;
            --bs-btn-active-border-color: #7C8B99;
        }
        .navbar .input-group .btn-accent::before {
            font-family: 'bootstrap-icons';
            content: "\f52a";
            font-size: 1rem;
            line-height: 1;
        }
        /* XL band (1200-1399px): 7 top-level items + search + About/Contact must fit on one line. */
        @media (min-width: 1200px) and (max-width: 1399.98px) {
            nav.navbar .nav-link {
                padding: .5rem .4rem !important;
                font-size: .875rem;
            }
            nav.navbar form.d-flex {
                min-width: 100px !important;
            }
            nav.navbar .btn {
                padding: .375rem .6rem;
                font-size: .875rem;
            }
        }

        /* ---------- dropdowns: the other soft shadow ---------- */
        .dropdown-menu {
            border-radius: var(--radius) !important;
            border: 1px solid var(--rule) !important;
            box-shadow: 0 8px 24px rgba(22, 32, 42, .10) !important;
            background: var(--paper);
            padding: .375rem 0;
            font-size: .9375rem;
        }
        .dropdown-item { border-radius: 0; padding: .5rem 1rem; color: var(--ink); }
        .dropdown-item:hover, .dropdown-item:focus { background: var(--gray-50); color: var(--primary); }
        /* Collapsed menu (below 1200px): long menu labels wrap instead of pushing the page sideways. */
        @media (max-width: 1199.98px) { .navbar .dropdown-item { white-space: normal; } }
        .dropdown-item i { color: var(--gray-600) !important; }
        .dropdown-divider { border-color: var(--rule); }

        /* ---------- page header: a tinted title band, not a slab ---------- */
        .page-header {
            background: var(--gray-50) !important;
            background-image: none !important;
            color: var(--ink);
            border-bottom: 1px solid var(--rule);
            padding: 2.5rem 0 2rem;
            margin-bottom: 2rem;
        }
        .page-header h1, .page-header h2 { color: var(--ink) !important; font-weight: 600; letter-spacing: -.01em; }
        .page-header p {
            color: var(--gray-700);
            opacity: 1;
            font-size: 1.0625rem;
            max-width: 68ch;
        }
        /* Legacy: 46 templates hard-code white text inside .page-header for the old dark band.
           Re-ink it here rather than editing every template. Buttons and badges keep their own colours. */
        .page-header :is(a, p, span, li, div, small, strong, em, time):where(:not(.btn):not(.badge):not(.btn *):not(.badge *)) {
            color: var(--gray-700) !important;
        }
        .page-header a:where(:not(.btn):not(.badge):not(.btn *):not(.badge *)) { color: var(--primary) !important; }
        .page-header .breadcrumb a:where(:not(.btn)) { color: var(--gray-700) !important; }
        .page-header .text-white, .page-header .btn.text-white { color: var(--ink) !important; }
        .page-header .breadcrumb { --bs-breadcrumb-divider-color: #5F6E7C !important; }
        .page-header .badge:not([class*="bg-"]):not([class*="text-bg-"]) {
            background: var(--primary-light) !important;
            color: var(--primary-dark) !important;
        }
        .page-header [style*="opacity"] { opacity: 1 !important; }

        /* ---------- cards: bordered, 6px, no shadow, no lift ---------- */
        .card {
            --bs-card-border-color: var(--rule);
            --bs-card-border-radius: var(--radius);
            --bs-card-inner-border-radius: calc(var(--radius) - 1px);
            --bs-card-cap-bg: var(--gray-50);
            --bs-card-bg: var(--paper);
            border: 1px solid var(--rule);
            border-radius: var(--radius);
            box-shadow: none;
            transition: border-color .15s;
        }
        .card:hover { box-shadow: none; transform: none; }
        a:hover > .card, a:focus-visible > .card { border-color: var(--control-border); }
        .card-header {
            background: var(--gray-50);
            border-bottom: 1px solid var(--rule);
            padding: 1rem 1.25rem;
            font-weight: 600;
        }
        .card-body { padding: 1.25rem; }
        .shadow, .shadow-sm, .shadow-lg { box-shadow: none !important; }
        .dropdown-menu.shadow-sm { box-shadow: 0 8px 24px rgba(22, 32, 42, .10) !important; }

        /* ---------- buttons ---------- */
        .btn {
            border-radius: var(--radius);
            font-family: var(--font-body);
            font-weight: 500;
            letter-spacing: 0;
            transition: background-color .12s, color .12s, border-color .12s;
        }
        .btn:hover { transform: none; box-shadow: none; }
        .btn-primary, .btn-accent {
            --bs-btn-color: #FFFFFF;
            --bs-btn-bg: #0d6e6e;
            --bs-btn-border-color: #0d6e6e;
            --bs-btn-hover-color: #FFFFFF;
            --bs-btn-hover-bg: #085252;
            --bs-btn-hover-border-color: #085252;
            --bs-btn-active-color: #FFFFFF;
            --bs-btn-active-bg: #085252;
            --bs-btn-active-border-color: #085252;
            --bs-btn-disabled-color: #FFFFFF;
            --bs-btn-disabled-bg: #0d6e6e;
            --bs-btn-disabled-border-color: #0d6e6e;
            --bs-btn-focus-shadow-rgb: 11, 87, 208;
            font-weight: 600;
            padding: .55rem 1.25rem;
        }
        .btn-outline-primary {
            --bs-btn-color: #0d6e6e;
            --bs-btn-border-color: #0d6e6e;
            --bs-btn-hover-color: #FFFFFF;
            --bs-btn-hover-bg: #0d6e6e;
            --bs-btn-hover-border-color: #0d6e6e;
            --bs-btn-active-color: #FFFFFF;
            --bs-btn-active-bg: #085252;
            --bs-btn-active-border-color: #085252;
            --bs-btn-disabled-color: #0d6e6e;
            --bs-btn-disabled-border-color: #0d6e6e;
            --bs-btn-focus-shadow-rgb: 11, 87, 208;
        }
        .btn-outline-secondary {
            --bs-btn-color: #4C6272;
            --bs-btn-border-color: #7C8B99;
            --bs-btn-hover-color: #16202A;
            --bs-btn-hover-bg: #F4F7F9;
            --bs-btn-hover-border-color: #7C8B99;
            --bs-btn-active-color: #16202A;
            --bs-btn-active-bg: #EDF1F4;
            --bs-btn-active-border-color: #7C8B99;
        }
        .btn-success {
            --bs-btn-bg: #0B6B3A; --bs-btn-border-color: #0B6B3A;
            --bs-btn-hover-bg: #08512C; --bs-btn-hover-border-color: #08512C;
            --bs-btn-active-bg: #08512C; --bs-btn-active-border-color: #08512C;
            --bs-btn-disabled-bg: #0B6B3A; --bs-btn-disabled-border-color: #0B6B3A;
        }
        .btn-danger {
            --bs-btn-bg: #C0392B; --bs-btn-border-color: #C0392B;
            --bs-btn-hover-bg: #9E2E22; --bs-btn-hover-border-color: #9E2E22;
            --bs-btn-active-bg: #9E2E22; --bs-btn-active-border-color: #9E2E22;
            --bs-btn-disabled-bg: #C0392B; --bs-btn-disabled-border-color: #C0392B;
        }
        .btn-sm { padding: .375rem .75rem; font-size: .875rem; }
        .btn-lg { padding: .75rem 1.5rem; font-size: 1.0625rem; }

        /* ---------- forms: the border IS the control, so it meets 3:1 ---------- */
        .form-control, .form-select {
            border-radius: var(--radius);
            border: 1px solid var(--control-border);
            background: var(--paper);
            color: var(--ink);
            padding: .55rem .8rem;
            font-family: var(--font-body);
            font-size: 1rem;
        }
        .form-control::placeholder { color: var(--gray-600); }
        .form-control:focus, .form-select:focus {
            border-color: var(--focus);
            box-shadow: 0 0 0 3px rgba(11, 87, 208, .25);
            background: var(--paper);
            color: var(--ink);
        }
        .form-check-input {
            border: 1px solid var(--control-border);
            background-color: var(--paper);
        }
        .form-check-input:focus { border-color: var(--focus); box-shadow: 0 0 0 3px rgba(11, 87, 208, .25); }
        .form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
        .form-label { font-weight: 500; color: var(--ink); }
        .input-group-text { border-color: var(--control-border); background: var(--gray-50); color: var(--gray-700); }

        /* ---------- badges & pills: mono, readable, never under 14px ---------- */
        .badge {
            font-family: var(--font-body);
            font-variant-numeric: tabular-nums;
            font-weight: 500;
            letter-spacing: .02em;
            padding: .3em .6em;
            font-size: .875rem !important;   /* templates set inline .68-.8rem; 14px is the floor */
            border-radius: var(--radius);
        }
        .badge.rounded-pill { border-radius: 999px; }
        .badge-score {
            display: inline-block;
            background: var(--primary-light);
            color: var(--primary-dark);
            font-weight: 500;
            font-size: .875rem;
            padding: .3rem .75rem;
            border-radius: 999px;
        }
        .progress { border-radius: 999px; background: var(--gray-200); }
        .progress-bar { border-radius: 999px; background-color: var(--primary); }
        .progress-thin { height: 6px; }

        /* ---------- links in prose: underlined, so they read as references ---------- */
        .article-body a, main p a, .prose a { text-decoration: underline; text-underline-offset: .15em; }
        a { color: var(--primary); }
        a:hover { color: var(--primary-dark); }

        /* ---------- tables ---------- */
        .table { --bs-table-border-color: var(--rule); --bs-table-striped-bg: var(--gray-50); }
        .table > :not(caption) > * > * { padding: .6rem .75rem; }
        .table thead th { font-weight: 600; color: var(--gray-700); font-size: .9375rem; letter-spacing: .02em; }

        /* ---------- alerts ---------- */
        .alert { border-radius: var(--radius); }

        /* ---------- Bootstrap utility colours that fail AA as text (measured 2026-11-03) ----------
           .text-warning (#ffc107, 1.6:1) and .text-info (#0dcaf0, 1.9:1) are used as text on white in
           a few reference tables; re-ink them to readable amber / teal. A .badge.bg-secondary carrying
           .text-dark put ink on --gray-700 (2.7:1); white on it is 6.4:1. */
        .text-warning { color: #b45309 !important; }          /* 5.02:1 on white */
        .text-info { color: #0a6e86 !important; }             /* 5.85:1 on white */
        .badge.bg-secondary.text-dark { color: #FFFFFF !important; }
        /* .text-white-50 captions on the primary band (/deck/read) measured 2.7:1; 85% white is 4.85:1. */
        .text-white-50 { color: rgba(255, 255, 255, .85) !important; }

        /* ---------- footer ---------- */
        footer {
            background: var(--gray-50);
            color: var(--gray-700);
            border-top: 1px solid var(--rule);
            padding: 3rem 0 2rem;
            margin-top: 4rem;
            font-size: .9375rem;
        }
        footer a { color: var(--ink); text-decoration: none; }
        footer a:hover { color: var(--primary); text-decoration: underline; }
        footer h6, footer strong { color: var(--ink); font-weight: 600; }
        footer .small { color: var(--gray-700); }
        /* WCAG 2.5.8 target size on desktop (axe target-size): footer link rows were 18px tall at a
           22.4px pitch, so 12 links per page failed. A 24px line box plus inline-block links makes
           every row a 24px target with no overlap; the phone rules below (<=991px) go on to 44px. */
        @media (min-width: 992px) {
            footer .list-unstyled li { line-height: 24px; }
            footer .list-unstyled a { display: inline-block; min-height: 24px; }
        }

        /* ---------- assessment components ---------- */
        .inst-selector-card {
            cursor: pointer;
            border: 1px solid var(--rule);
            transition: border-color .15s;
            height: 100%;
        }
        .inst-selector-card:hover {
            border-color: var(--primary);
            transform: none;
            box-shadow: none;
        }
        .inst-selector-card.selected {
            border-color: var(--primary);
            background: var(--primary-light);
        }
        .inst-selector-card .icon-wrap {
            width: 56px;
            height: 56px;
            border-radius: var(--radius);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            margin-bottom: .75rem;
        }
        .section-card { margin-bottom: 1.5rem; }
        .section-card .card-header {
            background: var(--gray-50);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .section-card .card-header .section-progress {
            font-family: var(--font-body);
            font-variant-numeric: tabular-nums;
            font-size: .875rem;
            color: var(--gray-600);
        }
        .checklist-item {
            padding: .625rem 0;
            border-bottom: 1px solid var(--gray-100);
        }
        .checklist-item:last-child { border-bottom: none; }
        .checklist-item .form-check {
            display: flex;
            align-items: flex-start;
            gap: .75rem;
        }
        .checklist-item .form-check-input {
            margin-top: .25rem;
            flex-shrink: 0;
            width: 1.2em;
            height: 1.2em;
        }
        .checklist-item .form-check-label {
            font-size: 1rem;
            line-height: 1.5;
            color: var(--gray-700);
        }
        .checklist-item .form-check-label.met {
            text-decoration: line-through;
            color: var(--gray-400) !important;
        }
        .resource-card { height: 100%; }
        .resource-card .card-body { display: flex; flex-direction: column; }
        .resource-card .card-body .btn { margin-top: auto; }
        .floating-score { position: sticky; top: 1rem; z-index: 100; }
        .floating-score .card { background: var(--paper); border: 1px solid var(--rule); }

        @media (max-width: 768px) {
            .page-header { padding: 1.75rem 0 1.5rem; }
            .navbar-brand { font-size: 1.125rem; }
        }
        /* Phone masthead: brand, the one action, menu toggle - on a single line down to 320px. */
        .navbar .nav-cta-mobile { flex: 0 0 auto; }
        @media (max-width: 399.98px) {
            .navbar .nav-cta-mobile { font-size: .8125rem; padding-left: .5rem; padding-right: .5rem; margin-right: .375rem !important; }
            .navbar-brand { margin-right: .25rem; }
        }
        @media (max-width: 349.98px) {
            .navbar .nav-cta-mobile { font-size: .6875rem; padding-left: .3125rem; padding-right: .3125rem; margin-right: .25rem !important; letter-spacing: 0; }
            .navbar-brand { font-size: 1rem; margin-right: 0; }
            .navbar .navbar-toggler { padding-left: .5rem; padding-right: .5rem; }
        }

        /* Mobile tap targets - 44px minimum (WCAG 2.5.5) */
        @media (max-width: 991.98px) {
            .nav-link {
                padding-top: .75rem !important;
                padding-bottom: .75rem !important;
            }
            .dropdown-item {
                padding-top: .65rem;
                padding-bottom: .65rem;
            }
            .breadcrumb-item a {
                display: inline-block;
                padding-top: .5rem;
                padding-bottom: .5rem;
            }
            footer a {
                display: inline-block;
                padding-top: .5rem;
                padding-bottom: .5rem;
            }
            .btn-sm {
                min-height: 44px;
                display: inline-flex;
                align-items: center;
                justify-content: center;
            }
            .btn {
                min-height: 44px;
                display: inline-flex;
                align-items: center;
                justify-content: center;
            }
            .navbar-toggler {
                min-height: 44px;
            }
            footer a {
                min-height: 44px;
            }
            main .card a.fw-semibold {
                display: inline-block;
                padding: .5rem 0;
            }
            main p a, main li a {
                display: inline-block;
                padding: .25rem 0;
            }
        }

        /* Checkboxes: never smaller than 20px, whatever the surrounding font size (the camera and
           policy checklists sit inside .small and were rendering at 14px). Bigger again on phones. */
        .form-check-input { width: 1.25em; height: 1.25em; min-width: 1.25rem; min-height: 1.25rem; }
        @media (max-width: 991.98px) {
            .form-check-input[type="checkbox"], .form-check-input[type="radio"]:not([role="switch"]) { min-width: 1.5rem; min-height: 1.5rem; }
            .checklist-item .form-check-input { width: 1.5rem; height: 1.5rem; margin-top: .1rem; }
            /* Text links that sit outside a paragraph (table cells, card footers, headings, "More →"
               links) get the same vertical padding the paragraph links already have, so each is at
               least 24px tall. Icon-only source links get a minimum width too. */
            main td a, main th a, main .card-body a.small, main a.small.fw-medium, main h3 a, main h4 a,
            main h5 a, main h6 a, main .h5 a, main .h6 a, main a.fw-semibold:not(.btn), main a.fw-bold:not(.btn), main small a {
                display: inline-block; padding-top: .3rem; padding-bottom: .3rem;
            }
            main a.small.ms-1[title] { min-width: 1.75rem; text-align: center; }

            /* 44px tap targets (WCAG 2.5.5) without moving the layout: the extra vertical padding is
               cancelled by an equal negative margin, so the line box stays where it was and only the
               tappable box grows. Prose links inside sentences are left alone (WCAG 2.5.8 inline
               exception): a 44px box there would swallow taps meant for the neighbouring lines. */
            .navbar-brand { display: inline-flex; align-items: center; min-height: 44px; }
            .breadcrumb-item a { padding: calc(.5rem + 3px) 3px; margin: -3px; }
            /* case page header: "<State> cases (n)" link to the state page (was 19px tall) */
            a[data-state-link] { display: inline-block; padding: 12px 0; margin: -12px 0; }
            footer a { min-width: 44px; }
            .form-select { min-height: 44px; }
            main .dgm-view-toggle .dgm-btn { min-height: 44px; margin-top: -1.4px; margin-bottom: -1.4px; }
            /* links that already had .3rem vertical padding (standalone card/heading/table/"More →" links) */
            /* 13px (not 12.5): measured 2026-12-02 at 390px, an 18px line + 25px of padding was a 43px box
               on the home page's "fw-semibold" list links. The .h5/.h6 heading classes are included because
               the registry cards title with <h2 class="h6"> (13 links at 40px on /diversion-cases). */
            main td a, main th a, main .card-body a.small, main a.small.fw-medium, main h3 a, main h4 a,
            main h5 a, main h6 a, main .h5 a, main .h6 a, main a.fw-semibold:not(.btn), main a.fw-bold:not(.btn), main small a {
                padding-top: 13px; padding-bottom: 13px;
                margin-top: calc(.3rem - 13px); margin-bottom: calc(.3rem - 13px);
            }
            /* hub/spoke list links carry Bootstrap .py-2 (8px !important): 9px makes them 45px, and the
               13px-based margin above keeps their line pitch where it was */
            main a.d-block.py-2.fw-semibold:not(.btn), main a.d-inline-block.py-2.fw-semibold:not(.btn) { padding-top: 9px !important; padding-bottom: 9px !important; }
            /* state panel "All N <state> cases and figures" link on /diversion-statistics: alone in its
               paragraph, measured 30px tall; 7px each side makes 44 with no layout shift */
            main p.dgm-case-meta > a.dgm-case-link:first-child:last-child {
                display: inline-block; padding-top: 10px; padding-bottom: 10px; margin-top: -10px; margin-bottom: -10px;
            }
            /* short filter buttons ("All" on /events measured 43px wide) */
            main .btn-sm { min-width: 44px; }
            /* .mt-auto is !important in Bootstrap, so the negative top margin cannot apply there */
            main .card a.fw-semibold.mt-auto:not(.btn) { padding-top: .3rem; padding-bottom: 13px; margin-bottom: calc(.3rem - 13px); }
            /* list links that are the only element in their item (case lists, search facets) and
               centred link rows - these had .25rem */
            main li:not(.breadcrumb-item) > a:first-child:last-child,
            main li:not(.breadcrumb-item) > a:first-child:has(+ span:last-child), main p.text-center > a {
                padding-top: 13px; padding-bottom: 13px;
                margin-top: calc(.25rem - 13px); margin-bottom: calc(.25rem - 13px);
            }
            /* a link alone in a small paragraph (chart "download the data" links): 32px measured */
            main p.small > a:first-child:last-child:not(.d-inline-block):not(.btn) {
                display: inline-block; padding-top: 10px; padding-bottom: 10px; margin-top: -10px; margin-bottom: -10px;
            }
            /* checklist: the label is the tap target for its 24px checkbox - make it span the whole row */
            .checklist-item .form-check-label { padding-top: .625rem; padding-bottom: .625rem; margin-top: -.625rem; margin-bottom: -.625rem; }
            /* Link rows that wrap onto several lines (site map, state/taxonomy indexes, "Related pages"
               rows, license-outcome example quotes): a negative margin would make neighbouring rows'
               boxes overlap, so here the rows themselves get a 44px pitch. Short labels ("p.2") get a
               44px width too. */
            main p.small > a.d-inline-block, main .dg-linkrow a {
                display: inline-flex; align-items: center; min-height: 44px; padding-top: 0; padding-bottom: 0;
            }
            main p.small > a.d-inline-block { justify-content: center; min-width: 44px; }
            main dl.lo-ex dd > a { display: inline-block; padding: 12.5px 0; }
            /* standalone links that sit alone in a block (source link under a card, "All resources",
               centred 404 links, map jump link, cost-tile links) */
            main div.small > a:first-child:last-child, main p.rs-more > a, main .page-header p > a:first-child:last-child,
            main p.dgm-jump > a, main .pa-tile p > a:first-child:last-child {
                display: inline-block; padding-top: 12.5px; padding-bottom: 12.5px; margin-top: -9px; margin-bottom: -9px;
            }
            main details > summary, main details.dg-data > summary { padding-top: 12px; padding-bottom: 12px; margin-top: -7px; margin-bottom: -7px; }
            main .form-control { min-height: 44px; }
        }

        /* Chart text on phones: the home/insights charts are drawn in a 360-unit viewBox at 10.5-11
           units, which renders at 9.4-9.8px in a 322px card. 13.5 units renders at 12.1px. The label
           gutters and line steps are sized for this (home_charts._hbars), so nothing clips. */
        @media (max-width: 575.98px) {
            .hc-svg.hc-360 .hc-tick, .hc-svg.hc-360 .hc-note, .hc-svg.hc-360 .hc-lab, .hc-svg.hc-360 .hc-val { font-size: 13.5px; }
        }

        /* Phone text floor (2026-12-02): HTML text no smaller than 15px under 576px. Bootstrap .small is
           .875em (14px in body text); max() keeps a .small that sits inside a large heading at its em
           size. Fixed-rem map, hub and badge classes are raised to the same floor. Inline SVG chart text
           is left alone: it scales with the viewBox and larger labels would overlap. */
        @media (max-width: 575.98px) {
            /* !important on purpose: several page templates size these in their own <style> blocks or
               inline, which otherwise win the cascade over this shared sheet. */
            .small, small { font-size: max(.9375rem, .875em) !important; }
            .badge { font-size: max(.9375rem, .75em) !important; }
            .btn-sm, code { font-size: max(.9375rem, .875em) !important; }
            .breadcrumb, .form-text, figcaption, .text-muted.small, .hc-cap, .rt-cat { font-size: .9375rem !important; }
            main .dgm-legend, main .dgm-legend-note, main .dgm-figure-label, main .dgm-case-meta, main .dgm-row-code,
            main .dgm-state-table, main .dgm-state-strip .dgm-sc, main .dgm-state-strip .dgm-sv, main .dgm-svg-tip,
            main .hub-states .hub-era, main .hub-era .n, main .badge-score, main .tk-ws-q, main .table-sm { font-size: .9375rem !important; }
            footer, footer .small, footer small { font-size: .9375rem !important; }
        }

        /* Phone tables: a reference table that is wider than the screen is restacked, one row per
           card, with the column heading written before each value. The script at the end of the
           page adds .dg-stack only to a table that actually overflows at the current width (and
           copies each heading into data-label), so desktop and tables that already fit are untouched.
           The case database has its own stacking; .no-stack opts a table out. */
        @media (max-width: 767.98px) {
            table.dg-stack { display: block; width: 100%; min-width: 0 !important; border: 0; }
            table.dg-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
            table.dg-stack tbody, table.dg-stack tr, table.dg-stack td, table.dg-stack th { display: block; width: 100%; min-width: 0; max-width: none; }
            table.dg-stack tr { border: 1px solid var(--rule); border-radius: var(--radius); margin-bottom: .75rem; padding: .35rem .75rem; background: var(--paper); }
            table.dg-stack tbody tr:nth-of-type(odd) { background: var(--paper); }
            table.dg-stack td, table.dg-stack tbody th { border: 0; border-bottom: 1px solid var(--gray-100); padding: .5rem 0; text-align: left !important; white-space: normal; }
            table.dg-stack td:last-child, table.dg-stack tbody th:last-child { border-bottom: 0; }
            table.dg-stack td[data-label]::before, table.dg-stack tbody th[data-label]::before {
                content: attr(data-label); display: block; font-size: .75rem; font-weight: 600; letter-spacing: .04em;
                text-transform: uppercase; color: var(--gray-600); margin-bottom: .15rem;
            }
            table.dg-stack td:empty { display: none; }
            .table-responsive:has(> table.dg-stack) { overflow-x: visible; }
        }

    /* ── Blog article typography ─────────────────────────────────────────────
       Section headings separate from body by size, a rule and weight 600 (never 700). */
    .article-body h2.h4{font-size:clamp(1.35rem, 1.1rem + 1.1vw, 1.75rem);font-weight:600;color:var(--ink);letter-spacing:-.01em;
      margin-top:2.25rem;margin-bottom:.6rem;padding-bottom:.45rem;border-bottom:1px solid var(--rule)}
    .article-body h2.h4:first-child{margin-top:.25rem}
    .article-body h2.h5{font-size:clamp(1.1rem, 1rem + .5vw, 1.25rem);font-weight:600;color:var(--ink);
      margin-top:1.6rem;margin-bottom:.35rem}
    .article-body p{line-height:1.6}
    .article-body p.lead{font-size:1.125rem;line-height:1.6;color:var(--gray-700);font-weight:400}
    .article-body li{line-height:1.6;margin-bottom:.4rem}
    .article-body ul,.article-body ol{margin-bottom:1.1rem}
    .article-body strong{color:var(--ink)}
    .article-body table{font-size:.9375rem}
    .article-body a{overflow-wrap:anywhere;word-break:break-word}