/*!
 * bootstrap-parity.css — WIGOV.DOT.DriverRecordSuiteAdditional.Web.Mvc
 * ============================================================================
 * DO NOT DELETE THIS FILE. It is not dead weight.
 *
 * Targets: Bootstrap 4.6.2 (stock). Sections 1-7 were authored at pre-hop P-1 against 3.4.1
 *          and remain valid; sections 8+ were added at Hop 2.
 * Plan:    BOOTSTRAP_MIGRATION_PLAN.md — pre-hop P-1. State: BOOTSTRAP_MIGRATION_STATE.md.
 *
 * WHY THIS EXISTS
 * ---------------
 * Until pre-hop P-1 this application served TWO Bootstrap stylesheets:
 *
 *   1. lib/bootstrap/dist/css/bootstrap.css          stock 3.4.1
 *   2. lib/bootstrap/dist/css/bootstrap_styles.css   a FUSED file: stock Bootstrap 3.1.1
 *                                                    (lines 1-6200) with a third-party docs
 *                                                    template appended (lines 6202-8873)
 *
 * (2) loaded LAST, so it won every tie and the app's EFFECTIVE framework was 3.1.1 plus the
 * template's overrides — 8,873 lines, 2,214 selectors. P-1 deletes it so stock 3.4.1 is the
 * only Bootstrap.
 *
 * This file carries forward the part of that overlay the application actually depends on, and
 * it sits in the EXACT cascade position the overlay occupied — immediately after bootstrap.css,
 * before styles.css and bulk-records.css. That position is load-bearing: styles.css deliberately
 * overrides many rules below, and moving this file later would break those overrides.
 *
 * At Hop 2 it took on a second job: bootstrap-theme.css was deleted (Bootstrap 4 ships no theme
 * file) and its live contributions were measured and carried into section 13.
 *
 * HOW THE CONTENTS WERE CHOSEN — measured, not guessed
 * ----------------------------------------------------
 * A selector-match measurement (tools/livesel.js + tools/hoprisk.js) intersected the
 * fused-vs-3.4.1 rule diff against the 200 selectors this app actually renders across all 6
 * captured routes. That reduced 2,214 served selectors to an actionable set of:
 *
 *   21 live + REMOVED  (in the overlay, absent from 3.4.1)  -> carried forward here
 *   50 live + CHANGED  (different value in 3.4.1)           -> triaged; real ones carried here
 *    5 live + ADDED    (new in 3.4.1)                       -> no action (see notes)
 *
 * Declarations are copied VERBATIM out of the overlay rather than reconstructed, and any
 * @media gate is reproduced — a pin lifted out of its media query is wrong on one side of the
 * breakpoint, and the pixels MOVE rather than disappear, so it reads as progress.
 *
 * DO NOT ADD A RULE HERE without a measured delta behind it. Every rule below cites its cause.
 */


/* ============================================================================
 * 1. body — INVARIANT 2 (fonts cannot change), plus the footer's containing block
 * ============================================================================
 * The overlay's own `body` rule (fused:8071) is the single most important thing in this file.
 *
 * font-family: measured baseline is 'Open Sans', ... on all 26 route-states at every viewport.
 *   Stock 3.4.1's body is "Helvetica Neue", Helvetica, Arial, sans-serif. Losing this changes
 *   the body font stack on every page.
 *
 * !important is REQUIRED and is not decoration. styles.css:15 declares
 *   `h1,h2,h3,h4,h5,p { font-family: "Lato-Regular",... !important }`. For a heading the
 *   contest is decided by specificity BEFORE source order, so see section 2 — but for body
 *   itself the overlay's !important is what holds the stack against nothing else. Carried
 *   verbatim so the cascade behaves exactly as it does today.
 *
 * color: measured rgb(67,74,84) = #434a54 everywhere. Stock 3.4.1 is #333333.
 *
 * position: relative — NOT a typography concern and easy to miss. styles.css:292 sets
 *   `.site-footer { position: absolute; bottom: 0; width: 100% }`. An absolutely positioned
 *   element resolves against its nearest POSITIONED ancestor; with body static it would
 *   instead resolve against the initial containing block and the footer would move. Stock
 *   3.4.1 does not set position on body.
 */
body {
  position: relative;
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  color: #434a54;
}


/* ============================================================================
 * 2. Headings — INVARIANT 2, via a specificity interaction
 * ============================================================================
 * This is the subtlest item in P-1 and it is a sitewide font change.
 *
 * MEASURED: `<h1 class="h4">` — the dominant heading, used in 8 of 12 views — computes
 * font-family 'Open Sans',... in the baseline, NOT the "Lato-Regular" that styles.css:16
 * declares with !important.
 *
 * WHY: the overlay's rule (fused:8076) is
 *   `.h1,.h2,.h3,.h4,.h5,.h6,h1,...,h6 { font-family: 'Open Sans',... !important }`
 * For `<h1 class="h4">` it matches via `.h4` at specificity (0,0,1,0). styles.css matches via
 * `h1` at (0,0,0,1). Both are !important, so SPECIFICITY decides first and the class wins —
 * even though styles.css loads later.
 *
 * Delete the overlay and styles.css's !important rule becomes the only !important declaration,
 * so it wins by default: heading fonts flip from Open Sans to "Lato-Regular", Verdana, ... and
 * because neither family is loaded via @font-face, they resolve to different INSTALLED faces
 * (Verdana is present on Windows). That is a visible font change on 8 of 12 views.
 *
 * Verified in the other direction too: a BARE `h3`/`h5` already computes
 * "Lato-Regular, Verdana, ..." today, because there the contest is `h3` (0,0,0,1) vs `h3`
 * (0,0,0,1) — a tie that source order gives to styles.css. So only the `.hN` class case
 * changes, and carrying the element half is inert-but-faithful.
 *
 * font-weight/font-size/margins: the overlay restyles the whole scale (fused:8076 + the
 * per-level rules). Stock 3.4.1 is 500 weight and 36/30/24/18/14/12px.
 */
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-weight: 700;
}

h1, h2, h3 {
  margin-top: 30px;
  margin-bottom: 15px;
}

h4, h5, h6 {
  margin-top: 15px;
  margin-bottom: 15px;
}

h6 {
  font-weight: 400;
}

.h1, h1 { font-size: 51px; }
.h2, h2 { font-size: 43px; }
.h3, h3 { font-size: 30px; }
.h4, h4 { font-size: 19px; }
.h5, h5 { font-size: 18px; }
.h6, h6 { font-size: 14px; }


/* ============================================================================
 * 3. Links
 * ============================================================================
 * Stock 3.4.1 gives a:hover/a:focus `color:#23527c; text-decoration:underline`. The overlay
 * suppresses the underline and uses the template's blue. The base `a` colour is NOT carried:
 * styles.css:432 sets `a { color:#1D7696 }` and wins on source order, so an `a { color }` rule
 * here would have no delta.
 *
 * DELIBERATELY NOT CARRIED: the overlay's `a:focus { outline: 0 }` (fused:8+). Authoring a
 * focus-indicator SUPPRESSION into a brand-new stylesheet is on the do-not-pin list
 * (invariant 7). It is also INERT: styles.css:20 sets `a:focus { outline: 2px solid #8cc63f }`
 * and wins on source order, which the baseline confirms (measured outline none -> 2px solid
 * rgb(140,198,63) on focus). Note this is a separate question from 3a below, which restores the
 * outline's POSITION and does not touch whether an outline is drawn.
 *
 * NOTE: :hover is not covered by any capture in this baseline — no screenshot holds a pointer
 * state. This rule is justified by the stylesheet delta, not by a pixel delta, and belongs on
 * the manual-QA list.
 */
a:focus,
a:hover {
  color: #4fc1e9;
  text-decoration: none;
}

/* ----------------------------------------------------------------------------
 * 3a. `outline-offset` on focused links — OPERATOR EXCEPTION to invariant 7.
 * ----------------------------------------------------------------------------
 * ⚠️ This rule exists by explicit operator decision (2026-09-15), recorded in
 * BOOTSTRAP_MIGRATION_PLAN.md §10.C as the resolution of the delta that was provisionally
 * tabled as AD-8. The skill's seven invariants are non-negotiable "unless the plan records an
 * operator exception"; this is that exception, and it is the only one in this stylesheet.
 *
 * WHAT CHANGED. Bootstrap 3 declared `a:focus { outline: 5px auto -webkit-focus-ring-color;
 * outline-offset: -2px }` (`bootstrap.css:1109-1111`). The app's own `styles.css:20`
 * `a:focus { outline: 2px solid #8cc63f }` ties at (0,0,1,1) and wins on source order, so it
 * replaced the OUTLINE — but it never declared `outline-offset`, so Bootstrap 3's `-2px` still
 * applied to the app's green outline. Bootstrap 4 drops it (its only `outline-offset` is on
 * `[type="search"]`), so the outline moves 2px outward. Verified there is no other declarant:
 * zero `outline-offset` occurrences in styles.css, bulk-records.css or styles.min.css.
 *
 * WHY THIS IS NOT THE do-not-pin LIST'S CONCERN. That list exists because "a parity rule written
 * from an unfocused diff can leave `outline: 0` with nothing replacing it — no visible focus
 * indicator sitewide (WCAG 2.4.7, AA)." Nothing of that kind happens here: the indicator remains
 * drawn, 2px, solid, #8cc63f, at full width. Sampled #8cc63f on BOTH sides of the diff — the
 * colour is unchanged and only the position differs. WCAG 2.4.7 passes either way, so this is
 * geometry parity, not the restoration of an accessibility defect.
 *
 * WHAT IS GIVEN UP, STATED PLAINLY. A negative offset draws the outline 2px inside the border
 * box, where it overlaps the link text rather than sitting clear of it. Under WCAG 2.4.11 Focus
 * Appearance (2.2, AA) that is marginally the weaker of the two renderings. Bootstrap 4's flush
 * outline is the better one; the operator chose measured pixel parity over that improvement.
 *
 * SCOPE — checked deliberately, per the trap recorded in the Stage 1 completion entry §8 (an
 * accepted delta scoped to a pseudo-class must be checked against the app's own rule scope):
 *   - plain `<a>` and the skip link (`.skip-to-content-link`) DO take the offset. Correct — both
 *     took it in the baseline, and they are exactly the `focus-link` / `focus-skiplink` captures.
 *   - `<a class="btn">` (12 occurrences) does NOT. Bootstrap 4's `.btn:focus { outline: 0 }` at
 *     (0,0,2,0) outranks `a:focus` at (0,0,1,1), so there is no outline to offset. Those are
 *     governed by AD-7 and are unaffected by this rule.
 *
 * DOES NOT EXTEND TO HOP 3. AD-6 (`.form-control` focus) is a different element and a different
 * mechanism and still needs its own sign-off. Do not read this rule as a standing ruling.
 *
 * ⚠️ The computed-style gate CANNOT see this. Its 34 recorded properties include outlineWidth,
 * outlineStyle and outlineColor but NOT outlineOffset, so the baseline `.styles.json` dumps hold
 * no value to derive this pin from. It is therefore the one pin in this file derived from the
 * declaration plus a proof-of-no-other-declarant rather than from a baseline measurement; the
 * pixel gate on the 32 focus captures is its only real confirmation. Treat those 32 captures
 * closing as the verification, and see the beta-feedback entry.
 */
a:focus {
  outline-offset: -2px;
}

/* ----------------------------------------------------------------------------
 * 3b. OE-1b — the SAME Bootstrap 3 rule, on radios and checkboxes
 * ----------------------------------------------------------------------------
 * Operator decision 2026-09-15, extending OE-1 (plan §10.C.1) to form controls after the gate
 * measured the delta. **It is the same specific mechanism, which is why extending the ruling was
 * legitimate rather than a new judgement call**: Bootstrap 3 declares one rule at
 * `bootstrap.css:2645-2649` —
 *
 *   input[type="file"]:focus, input[type="radio"]:focus, input[type="checkbox"]:focus {
 *     outline: 5px auto -webkit-focus-ring-color; outline-offset: -2px; }
 *
 * — and Bootstrap 4 drops it, leaving Chrome's 1px UA default. Measured on
 * `files_choose-file-focus-radio@1920`, the focused radio:
 *
 *   baseline  outline: 5px auto rgb(16, 16, 16)      rect 401,404.77 13x13
 *   candidate outline: 1px auto rgb(16, 16, 16)      rect 401,404.77 13x13  (identical box)
 *
 * So the ring is present on BOTH sides, same colour, same position — only the width changes.
 * WCAG 2.4.7 passes either way; only 2.4.11 Focus Appearance (thickness) is marginally weaker
 * under Bootstrap 4, the same shape of trade-off OE-1 records for links. 4,480 px over 16
 * captures, all in one cluster per capture.
 *
 * `input[type="file"]` is DELIBERATELY OMITTED — censused at **zero** occurrences in the app
 * (radio 1, checkbox 9, file 0). Carrying it would add a selector that can never match, which
 * `parity-shim.md` forbids.
 *
 * Bootstrap 4 declares nothing for these selectors (it deleted the rule), so at (0,0,2,1) there
 * is no framework rule to outrank — only Chrome's UA default, which any author rule beats.
 *
 * ⚠️ Does NOT touch `.btn:focus`. Bootstrap 3 declares the same 5px ring there too
 * (`bootstrap.css:3125-3131`), but the button focus ring is governed by **AD-7**, which the
 * operator accepted at P-1 as a permanent improvement. Leave it alone.
 */
input[type="radio"]:focus,
input[type="checkbox"]:focus {
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}


/* ============================================================================
 * 4. Form controls
 * ============================================================================
 * Stock 3.4.1: `.form-control { color:#555; box-shadow: inset 0 1px 1px rgba(0,0,0,.075) }`
 * and `.form-control:focus { border-color:#66afe9; box-shadow: inset ..., 0 0 8px rgba(102,175,233,.6) }`.
 * The overlay flattens both states.
 *
 * ⚠ This preserves the app's PRE-EXISTING missing focus indicator on text inputs
 * (WCAG 2.4.7 AA, plan §9.2). That is correct AT THIS HOP: invariant 1 requires parity and
 * invariant 5 scopes pre-existing violations out. It is addressed at Hop 3 as accepted delta
 * AD-6, whose scope note is explicit — carry `.form-control { border-color:#aab2bd }` forward
 * and drop ONLY the `:focus` half, because this single rule covers both states and dropping it
 * wholesale would also move the UNFOCUSED border on every input.
 *
 * DELIBERATELY NOT CARRIED: the overlay's placeholder rule
 *   `.form-control:-ms-input-placeholder, .form-control::-moz-placeholder,
 *    .form-control::-webkit-input-placeholder { color:#e6e9ed }`
 * A selector LIST containing a pseudo-element the engine does not recognise invalidates the
 * ENTIRE rule, so Chromium drops all of it and the placeholder falls through to Bootstrap's
 * own #999 — which stock 3.4.1 also supplies, so there is no delta. Carrying it forward would
 * be inert; "fixing" it by splitting the selectors would make #e6e9ed apply for the first time,
 * which is a regression, not parity.
 */
.form-control {
  color: #434a54;
  border-color: #aab2bd;
  /* ------------------------------------------------------------------------
   * `background-clip` — an ARRIVING rule, and the cause of a residual that
   * three capture passes reported and none attributed.
   * ------------------------------------------------------------------------
   * Bootstrap 4 adds `.form-control { background-clip: padding-box }`
   * (`bootstrap.css:2014`). Bootstrap 3 declares `background-clip` on exactly
   * three selectors -- `.modal-content`, `.dropdown-menu` and `.popover` --
   * and NOT on `.form-control`, so inputs used the initial `border-box`.
   *
   * With `border-radius: 4px` and a 1px border, `padding-box` stops the white
   * background painting underneath the border, so the antialiased blend at
   * each ROUNDED CORNER changes by a few 1/255 steps. Measured on
   * `account_login-error-alert@1920`: an 8 px cluster at (405,392) 4x4 with a
   * max per-channel delta of **3**, e.g. rgb(182,189,199) -> rgb(181,188,198).
   *
   * The arithmetic is what confirmed it: the login form has 2 `.form-control`
   * inputs x 4 corners x ~8 px = **64 px per capture**, which is exactly the
   * measured per-capture total on every `account_login*` state.
   *
   * ⚠️ Why it went unattributed for three passes: EVERY recorded property is
   * identical on both sides -- rect (to the 391.56 fraction), border-radius,
   * border widths, box-shadow, background-color, color -- because
   * `background-clip` is **not among the computed-style gate's 34 recorded
   * properties**. And at a max delta of 3 it is fully absorbed by the default
   * `-Tolerance 8`, so only a `-Strict` run reports it at all. It reads as
   * sub-perceptual noise right up until the cause is named. */
  background-clip: border-box;
}

/* 🔴 HOP 3 — the `:focus` half of this rule was REMOVED, executing AD-6.
 *
 * P-1 extracted the fused overlay's `.form-control, .form-control:focus { border-color:#aab2bd;
 * box-shadow:none }` and Hop 2 carried both halves. At Bootstrap 5 the `:focus` half suppresses
 * `.form-control:focus { box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25) }` — **a focus indicator,
 * the first entry on `parity-shim.md`'s do-not-pin list**, which invariant 7 forbids restoring the
 * absence of. AD-6 pre-approved Bootstrap 5's ring appearing (operator decision B.3) and its own
 * scope note says it in as many words: *"Carry `.form-control { border-color:#aab2bd }` forward;
 * drop only the `:focus` half."* Until this hop that had not been done.
 *
 * ⚠️ The `border-color: #3bafda` pin below is KEPT, and that is not a contradiction. Plan §9.2
 * recorded that focusing a text input "changes nothing"; measured against the Stage 1 PNGs — which
 * predate this file entirely — it does:
 *
 *     input region @1200, account_login -> account_login-focus-username
 *       BASELINE    606 differing px    562 x  170,178,189 -> 59,175,218
 *       CANDIDATE   606 differing px    562 x  170,178,189 -> 59,175,218    byte-identical
 *
 * So the baseline has its own focus indicator (`#aab2bd` -> `#3bafda`) and pinning it is PARITY.
 * Suppressing Bootstrap 5's *additional* ring is suppression. Keeping the border pin and dropping
 * the shadow pin yields the baseline's indicator PLUS Bootstrap 5's, which is strictly better than
 * either — and it is needed, because `#3bafda` on white is 2.16:1, below WCAG 1.4.11's 3:1 for a
 * focus indicator. §9.2's conclusion was right at the wrong criterion: 2.4.7 is met, 1.4.11 fails.
 *
 * 🔴 No gate caught this. `pin-probe` passed it 79/79 — the pin DOES win its cascade; the probe has
 * no opinion on whether a pin should exist. Second time that limitation has bitten this migration
 * (first: the `.d-grid` placement defects). **A pin correct at one hop can become a do-not-pin
 * violation at the next with no edit to the rule**, so the list must be re-checked every hop.
 *
 * Exempted captures are as AD-6 recorded: `account_login-focus-username@*` (16). No other capture
 * focuses a `.form-control` — `files_confirmation-focus-payment` focuses a `<button>` and
 * `files_choose-file-focus-radio` focuses `.form-check-input`. */
.form-control {
  box-shadow: none;
}

.form-control:focus {
  border-color: #3bafda;

  /* 🔴 HOP 3 — the focused input's TEXT changes colour, and it is the whole of
   * `account_login-focus-username` (51,974px over 16 captures).
   *
   *   BS 3.4.1   .form-control:focus  { border-color; outline; box-shadow }   — no `color`
   *   BS 4.6.2   .form-control:focus  { color: #495057; ... }                 (0,0,2,0)
   *   BS 5.3.8   .form-control:focus  { color: var(--bs-body-color); ... }    (0,0,2,0)  = #212529
   *
   * `.form-control:focus` at (0,0,2,0) outranks section 4's `.form-control { color: #434a54 }` at
   * (0,0,1,0), so the pin covers the resting state only. Measured on
   * `account_login-focus-username@1920` — and note the SECOND input on the same form is the
   * control:
   *
   *   div[1]/div[1]/input  (focused)    rgb(67,74,84)  ->  rgb(33,37,41)
   *   div[1]/div[2]/input  (unfocused)  rgb(67,74,84)  ->  rgb(67,74,84)   section 4's pin holds
   *
   * ⚠️ WHY THIS WAS INVISIBLE AT HOP 2, and it is a tolerance trap worth recording. Bootstrap 4
   * introduced the same rule, at `#495057` — which differs from `#434a54` by (6,6,3) per channel,
   * **every channel at or under the harness's default `-Tolerance 8`.** It was already wrong at
   * Hop 2 and could only have been seen on a `-Strict` run. Bootstrap 5 moves the value to
   * `#212529`, a delta of (34,37,43), which clears any tolerance. Same defect, two hops, visible
   * only when the value drifted far enough — the third such case this migration after §23's
   * stripe and section 4's `background-clip`.
   *
   * ⚠️ INVARIANT 7 CONSIDERED, and this is deliberately NOT treated as a pre-approved
   * accessibility win. On white, `#212529` is 16.1:1 and `#434a54` is 8.6:1, so Bootstrap 5's
   * value is higher-contrast — but:
   *   - 8.6:1 passes WCAG 1.4.3 AA (4.5:1) AND 1.4.6 AAA (7:1), so no conformance level changes;
   *   - the do-not-pin list protects focus INDICATORS, and the indicator here is untouched — the
   *     ring and `border-color: #3bafda` above are both still in force;
   *   - this is not Bootstrap deliberately improving an affordance, which is what invariant 7 is
   *     about. It is `--bs-body-color` leaking into the focus state, and it only looks like an
   *     improvement because this app's body colour happens to be lighter than Bootstrap's
   *     default. The same input is `#434a54` when not focused, as is every other piece of text on
   *     the site, so the BS5 behaviour is text that darkens while you type in it.
   * Pinning restores consistency at no conformance cost. (0,0,2,0) ties Bootstrap 5 and wins on
   * source order. */
  color: #434a54;
}

/* NOTE: the P-1 rule here was `.input-group-addon { color; background-color; border-color }`,
 * covering 77 live elements (75 on files_weekly-crash-filters, 2 on files_annual-crash-years).
 * Hop 2 renamed that class out of the markup — Bootstrap 4 replaced it with `.input-group-text`
 * inside an `.input-group-prepend` wrapper — so the selector is dead and has been removed
 * rather than left as cruft. Section 9 re-declares the same three colours for the new class,
 * alongside the sizing pins it also needs. */


/* ============================================================================
 * 5. Buttons
 * ============================================================================
 * The overlay gives every `.btn` a grey fill and WHITE text. styles.css:151-159 independently
 * re-declares the same greys, so only the `color:#fff` half is carried here — the fill is
 * already app-supplied and a rule for it would have no delta.
 *
 * .btn-primary / .btn-success and their :focus/:hover/:active states are NOT carried: the app
 * overrides all of them (styles.css:247-264) at equal specificity and later source order, so
 * the overlay's template colours are already dead.
 *
 * .btn-block padding is a genuine stock 3.1.1 -> 3.4.1 REGRESSION, not a template override:
 * 3.1.1 shipped `.btn-block { padding-left:0; padding-right:0 }` and 3.4.1 removed both. Without
 * this the content box of every block button narrows by 24px and at 320px the label re-wraps
 * and the glyphicon shifts. Independently confirmed as the ONLY parity rule a sibling app's
 * identical 3.1.1 -> 3.4.1 decomposition required.
 */
/* ----------------------------------------------------------------------------
 * P1-1 — the overlay was suppressing bootstrap-theme.css's button GRADIENTS,
 *        and it did so by winning a source-order tie.
 * ----------------------------------------------------------------------------
 * MEASURED: this single missing declaration caused 176 of the 208 failing captures on the
 * first P-1 pass. Diagnosed from a colour-pair histogram of the flagged cluster:
 *   baseline  flat rgb(0,133,75)      (styles.css:249 `.btn-success{background-color:#00854B}`)
 *   candidate gradient 89,180,89 -> 67,153,67
 * which is bootstrap-theme.css's `linear-gradient(to bottom,#5cb85c 0,#419641 100%)`.
 *
 * MECHANISM — this is a source-order tie, not a value change and not a rename, so no census,
 * class map or selector-value diff can see it:
 *
 *   1. bootstrap.css         .btn         { background-image: none }
 *   2. bootstrap-theme.css   .btn-primary { background-image: linear-gradient(...) }
 *   3. the fused overlay     .btn         { background-image: none }   <-- AFTER the theme
 *
 * `.btn` and `.btn-primary` both score (0,0,1,0). Specificity ties, so SOURCE ORDER decides,
 * and step 3 won — meaning stock Bootstrap 3's own `.btn { background-image: none }`, arriving
 * a second time after the theme, is what has been flattening every themed button for this
 * application's entire life. Delete the overlay and the theme becomes the last word again.
 *
 * An audit of all 41 theme gradient selectors against all 27 `background-image:none` selectors
 * in the overlay found exactly 9 suppressed: the 6 `.btn-*` variants (this rule) and 3
 * `.navbar .navbar-nav .open .dropdown-menu > .active > a` rules, which are inside the
 * display:none navbar and therefore unobservable. The other 32 — including every `.alert-*`,
 * `.panel-*`, `.list-group-item.active`, `.progress*` and `.well` gradient — were never
 * suppressed and are unaffected, which is independently confirmed by the alert captures
 * passing on the first pass.
 *
 * This rule must stay in a stylesheet that loads AFTER bootstrap-theme.css. Moving the parity
 * layer earlier in the cascade silently reinstates all six gradients.
 */
.btn {
  background-image: none;
}

.btn {
  color: #fff;
}

.btn.active,
.btn:active,
.btn:focus,
.btn:hover {
  color: #fff;
}

/* Stock 3.4.1 deepens this to `inset 0 3px 5px rgba(0,0,0,.125)`. */
.btn.active,
.btn:active {
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .125);
}

/* 🔴 RE-POINTED AT HOP 3 from `.btn-block`, which Bootstrap 5 deletes outright (0 occurrences in
 * 5.3.8). Per plan decision B.1 as amended, the 18 controls were rewritten to Bootstrap 5's
 * prescribed shape — `.d-grid` on the PARENT, a clean `.btn` on the control. Every one of them was
 * already the sole child of a column `<div>`, so `.d-grid` went onto that existing column and no
 * wrapper elements were inserted.
 *
 * `.d-grid` is just `display: grid !important`. A single grid item stretches to fill its track by
 * default (`justify-items: stretch`), which reproduces Bootstrap 4's `.btn-block { display: block;
 * width: 100% }` without either declaration. So the width is NOT pinned here — that would be a
 * rule with no delta.
 *
 * What IS pinned is the padding this rule always carried: a genuine stock 3.1.1 -> 3.4.1 removal,
 * carried since P-1, and the third app in the portfolio to need it.
 *
 * ⚠️ `min-width: 0` is the class-map's named grid-item trap, and it is NOT cosmetic. A grid item
 * defaults to `min-width: auto`, which floors at min-content — so where a `width: 100%` block was
 * clamped by its container and wrapped its label, a grid item instead OVERFLOWS its column.
 * Measured on a sibling app as several px of overflow at narrow widths. This app's buttons carry
 * labels plus a glyphicon ("Make Payment", "Next", "Download"), so they are exactly the shape
 * that overflows. Verify at 320/375 rather than trusting this pin sight-unseen.
 *
 * NOTE the two app rules re-pointed to this same selector, because they are easy to miss:
 *   bulk-records.css  `position: relative`  — 🔴 the #btnDownload spinner's containing block
 *   styles.css        `margin-top: 30px`
 */
.d-grid > .btn {
  padding-right: 0;
  padding-left: 0;
  min-width: 0;
}


/* ============================================================================
 * 6. Alerts
 * ============================================================================
 * Stock 3.4.1: `.alert-warning { background-color:#fcf8e3 }`, `.alert-danger { background-color:#f2dede }`.
 * The overlay uses the template's saturated fills. Live on files_choose-file (warning, via
 * TempData) and files_annual-crash-years / files_weekly-crash-filters (danger/warning).
 *
 * `border: <colour>` with no width or style is carried VERBATIM because that is what the
 * overlay declares. It is not a mistake being propagated blindly: the shorthand resets
 * border-style to `none`, which suppresses the 1px border `.alert` would otherwise draw, and
 * that suppression is part of the current rendering.
 */
.alert-warning {
  background-color: #ffdd87;
  border: #ffce54;
}

.alert-danger {
  background-color: #f2838f;
  border: #ed5565;
}

/* NOTE: the P-1 rule here was `.alert-dismissable .close { color: #000 }`, using the Bootstrap 2
 * spelling the markup carried. Hop 2 renamed the markup to `.alert-dismissible`, so that
 * selector is now dead and has been removed rather than left as cruft. Section 12 re-declares
 * it for the new spelling, together with the positioning Bootstrap 4 changes. */


/* ============================================================================
 * 7. Page chrome — the 21 live + REMOVED selectors
 * ============================================================================
 * These exist ONLY in the overlay. Absent, they become undefined and the entire site header
 * and footer lose their layout. This is the extraction list, copied verbatim WITH its media
 * gates.
 *
 * Rules the app fully shadows are deliberately omitted, each verified declaration by
 * declaration against styles.css:
 *   .docs-header        — styles.css:25 border-top, :115 padding-top, :116-117 background +
 *                         background-color !important. Every declaration is overridden. (Its
 *                         `url(../img/wild_flowers.png)` also references a file that does not
 *                         exist anywhere in wwwroot — that background has always 404'd.)
 *   .footer             — styles.css:286-289 supplies padding and background-color.
 *   .footer-copyright   — styles.css:314 supplies color:#fff.
 *   .footer-nav .nav-item > a  — styles.css:304 supplies color:#fff.
 *   .topic h3           — styles.css:215-220 supplies margin-top, color, font-size, font-weight.
 */

/* `width:20%` is overridden by styles.css:301 (33% !important) and :421 (100% !important below
 * 768px), so only float and padding are carried. */
.footer-logo,
.footer-nav {
  float: left;
  padding: 0 20px;
}

.footer-logo {
  margin-top: -5px;
  height: 32px;
  line-height: 32px;
}

/* Media gate reproduced exactly as the overlay declared it. */
@media (max-width: 768px) {
  .footer-logo {
    margin-bottom: 20px;
  }

  .footer-logo,
  .footer-nav {
    float: none;
    display: block;
  }
}

.footer-logo img {
  margin-right: 10px;
}

.footer-logo a {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.footer-logo a:active,
.footer-logo a:hover {
  text-decoration: none;
}

/* styles.css:409 sets 22px but only inside @media (max-width:768px), so the overlay's 28px is
 * live at every wider viewport. */
.footer-nav .nav-item {
  line-height: 28px;
}

.footer-nav .nav-item > a:active,
.footer-nav .nav-item > a:hover {
  color: #ccd1d9;
  text-decoration: none;
}

/* styles.css:96 overrides the padding with !important; position:relative is not overridden and
 * establishes the containing block for `.topic .container`. */
.topic {
  position: relative;
}

/* styles.css:101-105 supplies color, font-weight and font-family; margin-top is not overridden. */
.topic h4 {
  margin-top: 15px;
}

.topic .container {
  position: relative;
  color: rgba(255, 255, 255, .8);
}

.topic .container a {
  padding: 0;
  font-weight: 400;
  color: #fff;
  text-decoration: underline;
  filter: alpha(opacity=100);
  opacity: 1;
}

.documents {
  margin-top: 40px;
}

/* `.example` wraps the login form; the descendant rule styles its six columns. Both are
 * template-only. The descendant rule was invisible to the first measurement pass because of a
 * selector-normalisation defect in hoprisk.js (attribute-operator quoting) — fixed, and this is
 * the 21st extraction item it revealed. */
.example {
  margin-bottom: 20px;
}

.example [class*="col-"] {
  margin-bottom: 10px;
}


/* ############################################################################
 * ############################################################################
 * HOP 2 — Bootstrap 3.4.1 -> 4.6.2
 * ############################################################################
 * ############################################################################
 *
 * Bootstrap 4.6.2 has NO `--bs-*` custom properties at all — its `:root` block is unprefixed
 * (`--blue`, `--font-family-sans-serif`, `--breakpoint-*`) and `body` is compiled literals. So
 * everything below is plain CSS. A `--bs-*` block on this hop does literally nothing.
 */


/* ============================================================================
 * 8. STEP 0 — restore Bootstrap 3's FLOAT grid model
 * ============================================================================
 * This must land before any value pin is testable. Bootstrap 4 makes `.row` a flex container,
 * which is a LAYOUT-MODEL change, not a value change — so no census, class map or
 * selector-value diff counts it, and the value pins in the sections below cannot be evaluated
 * while the layout underneath them is wrong. On a sibling app, landing the value pins first
 * produced 82 of 83 captures failing at once.
 *
 * Five failure modes this prevents, none of which a value pin can fix:
 *
 *  1. Margins stop collapsing through columns. A flex item establishes a block formatting
 *     context, so a child's bottom margin is trapped inside and compounds up the tree. Appears
 *     ONLY below each column's tier breakpoint, so a desktop capture passes while every narrow
 *     viewport fails. There is no declaration that makes a flex item collapse its children's
 *     margins.
 *  2. `.container:before { display: table }` was a margin-collapse barrier, not a clearfix.
 *     Bootstrap 4 deletes it, so an `<h1>`'s top margin collapses out through `main` and the
 *     whole page shifts vertically.
 *  3. **`float` is silently INERT on a flex item.** This app has 12 `pull-right`/`pull-left`
 *     conversions to `.float-right`/`.float-left` — including `_Layout`'s `p.pull-right.wi-links`
 *     and `#nextDiv` on two views. The class still exists, still says `float:right!important`,
 *     and does nothing inside a flex row. Restoring the float model is what makes those 12
 *     renames actually work.
 *  4. A wrapper element between `.row` and its columns breaks column sizing, because
 *     `flex: 0 0 X%` is inert unless the PARENT is the flex container.
 *  5. A non-column child of `.row` shrink-to-fits instead of being a full-width block.
 *
 * Bootstrap 4's own per-tier width rules still supply the widths, so this reuses the framework's
 * breakpoint table rather than restating it — which is what makes it ~10 rules instead of the
 * ~450 a generated-CSS approach would need. It carries forward to Hop 3 unchanged, because
 * Bootstrap 5 is still flexbox.
 */
.row {
  display: block;
}

/* Bootstrap 3's own clearfix on .row, which the float model requires and BS4 dropped.
 *
 * 🔴 `.container` IS INCLUDED DELIBERATELY, and omitting it was a real defect in the first Hop 2
 * build. Bootstrap 3 declares this on `.container`, `.container-fluid` AND `.row` in one rule
 * (`bootstrap.css:6542-6547`); the first build implemented only `.row`.
 *
 * Failure mode 2 in the comment above -- written before any of this was measured -- names it
 * exactly: **`.container::before { display: table }` is a margin-collapse BARRIER, not a
 * clearfix.** With no in-flow first/last child of its own, `main.container`'s first child's top
 * margin and last child's bottom margin collapse straight out through it.
 *
 * Measured on `/body/main [container documents]` after the heading fix:
 *     height  366.484px -> 336.484px   (-30px)
 *     first child y  233.08 -> 223.08   (-10px)
 * which is exactly `styles.css:237 .form-content { margin: 10px 0 20px 0 }` -- 10px escaping the
 * top and 20px the bottom. The page shifted up and `main` shrank by the sum on every route.
 *
 * `.clearfix` IS INCLUDED for the same reason, and it was the second half of the same defect.
 * Bootstrap 3 declares the barrier on a long list of selectors in ONE rule
 * (`bootstrap.css:6538-6571`); Bootstrap 4 keeps only `.clearfix::after` and makes it
 * `display: block` instead of `display: table`, which does not trap a trailing margin.
 * Measured on `_Layout.cshtml:117`'s `<div class="col-lg-12 clearfix">`, the footer's first
 * column:
 *     /body/footer/div/div[1]  height 231 -> 211   (-20px)
 * which is `dl.footer-nav`'s own `margin-bottom: 20px` escaping. It shows up ONLY at 320-500px,
 * because at wider viewports the footer columns float side by side and the tallest one sets the
 * height, masking it -- so this is also a case a desktop-only matrix would never have seen.
 *
 * Of Bootstrap 3's full barrier list, only these three have live markup. NOT included, all
 * measured at zero occurrences: `.container-fluid`, `.dl-horizontal dd`, `.btn-toolbar`,
 * `.btn-group-vertical > .btn-group`, `.pager`, `.panel-body`, `.modal-header`,
 * `.modal-footer`. `.nav`/`.navbar`/`.navbar-header`/`.navbar-collapse` exist only inside the
 * `display: none` navbar, and `.form-horizontal .form-group` has no live combination -- this hop
 * removed the single `.form-horizontal`, and Login carries no `.form-group`.
 * `.container` has four occurrences, all in `_Layout.cshtml` (:70, :88, :102, :116);
 * `.clearfix` has one (:117). */
.clearfix::before,
.clearfix::after,
.container::before,
.container::after,
.row::before,
.row::after {
  display: table;
  content: " ";
}

.clearfix::after,
.container::after,
.row::after {
  clear: both;
}

/* The bare (infix-less) columns always float — they have no breakpoint. */
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
.col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
  float: left;
}

/* Per-tier floats, gated at Bootstrap 4's OWN breakpoints so the framework keeps supplying the
 * widths. Written with `.98px`-free min-widths to match Bootstrap 4's own `min-width` values
 * exactly — these are `min-width`, so the bare-integer CDP rounding hazard does not apply. */
@media (min-width: 576px) { [class*="col-sm-"] { float: left; } }
@media (min-width: 768px) { [class*="col-md-"] { float: left; } }
@media (min-width: 992px) { [class*="col-lg-"] { float: left; } }
@media (min-width: 1200px) { [class*="col-xl-"] { float: left; } }

/* Bootstrap 3 shipped this guard precisely because its grid floated anything matching
 * [class*="col-"], and BS4 deleted the guard along with the floats. This app declares 8
 * semantic `col-*` classes on th/td in styles.css (col-purchase, col-crash-date, col-county,
 * col-municipality, col-document-number, col-accident-number, col-price, col-remove) with ZERO
 * markup currently using them — so this is cheap insurance rather than load-bearing here. It
 * stays because restoring floats without it is how a sibling app nearly destroyed five tables,
 * and because the day someone adds one of those classes to a cell it would float. */
table td[class*="col-"],
table th[class*="col-"] {
  display: table-cell;
  float: none;
}

/* ----------------------------------------------------------------------------
 * 8a. A FLOATED column below its own breakpoint must shrink-wrap, not fill
 * ----------------------------------------------------------------------------
 * Bootstrap 4's base column rule (`bootstrap.css:1104`, the giant selector list covering every
 * `.col-*` through `.col-xl-auto`) declares **`width: 100%`**. Bootstrap 3's base column rule
 * declares padding and `min-height` and **no width at all**. Above the column's own breakpoint
 * this is invisible, because the tier rule then supplies the width in both versions. BELOW it,
 * Bootstrap 3 left `width: auto` — and on a FLOATED element `auto` means shrink-to-fit, while
 * `100%` means fill.
 *
 * So this is the `float` half of the same "arriving rule" family as AD-5 (§12.A) and §15: for a
 * normal block column, `auto` and `100%` render identically and the delta is genuinely inert —
 * which is why it went unnoticed through three capture passes. It is only visible where a column
 * is ALSO floated, and then it is a right-aligned element jumping to the left.
 *
 * Measured on `/body/main/div[1]/div` (`_Layout.cshtml:106`), present on EVERY page:
 *
 *   viewport   baseline                    candidate (before this rule)
 *   320        x=247.17  w= 72.83  right   x=  0.00  w=320  full width
 *   768        x=686.17  w= 72.83  right   x=  9.00  w=750  full width
 *   992        x=908.17  w= 72.83  right   x= 11.00  w=970  full width
 *   1199       x=1011.67 w= 72.83  right   x=114.50  w=970  full width
 *   1200       x=1087.50 w= 97.50          x=1087.50 w=97.50   <- identical, tier rule active
 *   1920       x=1447.50 w= 97.50          x=1447.50 w=97.50   <- identical
 *
 * That is why every capture at 1200 and above passed at EXACTLY 0 px while every capture below
 * 1200 failed by ~500 px on three unrelated routes with an identical total — the tell that it was
 * one shared element in the layout, not a per-view regression.
 *
 * SCOPED TO `.col-xl-1`, deliberately, and this is the load-bearing part. Eight of the app's ten
 * `float-*` elements also carry a column class, but seven of them carry an ALWAYS-ACTIVE one
 * (`col-6` on AnnualCrashYears:82/85 and WeeklyCrashFilters:145/148, `col-12` on
 * FileConfirmation:118/122/131), so a tier rule supplies their width at every viewport and
 * `width: auto` would BREAK them by letting them shrink-wrap out of their 50%/100% column.
 * `_Layout.cshtml:106` is the only floated element in the app with no always-active column class.
 * A general `[class*="col-"].float-right { width: auto }` rule would have been a regression.
 *
 * The media gate uses Bootstrap's own `.98px` boundary rather than a bare integer: the capture
 * matrix includes both 1199 and 1200, and `harness/README.md` records a live case where a bare
 * `max-width: 1199px` failed to match at a CDP-overridden width of exactly 1199.
 */
@media (max-width: 1199.98px) {
  /* Hop 3: re-pointed from `.float-right`/`.float-left`, which Bootstrap 5 renames to the
   * logical `.float-end`/`.float-start`. Leaving the Bootstrap 4 names here would have silently
   * orphaned this rule — nothing in the markup would carry them any more, so the floated header
   * column would go full-width again below 1200px and cause 13 would reappear with no stale
   * class name anywhere to grep for. One of the 10 parity rules Hop 3 put at orphan risk. */
  .col-xl-1.float-end,
  .col-xl-1.float-start {
    width: auto;
  }
}


/* ============================================================================
 * 9. Typography and sizing — the root font-size reverts, so px pins are mandatory
 * ============================================================================
 * Bootstrap 3 ships a 10px root (`html{font-size:62.5%}` in 3.0-3.1, `10px` in 3.2-3.4.1).
 * Bootstrap 4 and 5 set NO root font-size, so the root correctly reverts to the browser's 16px
 * at this hop. **That revert is correct and must be allowed** — pinning `html { font-size }`
 * would rescale every rem-sized Bootstrap 4/5 control by 37.5% and is on the do-not-write list.
 *
 * Consequence: every Bootstrap 4 `rem` value now computes against 16px. The padding values
 * happen to be identical (`0.375rem 0.75rem` = 6px 12px, exactly Bootstrap 3's
 * `@padding-base-vertical/horizontal`), so padding needs no pin. Only `font-size` and
 * `line-height` genuinely diverge — and they are what drive control HEIGHT.
 *
 * The app's own four `rem` values were pinned to px in styles.css rather than here, because
 * styles.css loads AFTER this file and would win.
 *
 * Headings need no size pin: sections 2's px values are absolute and already win. Bootstrap 4
 * does change heading line-height 1.1 -> 1.2, which is pinned below.
 */
body {
  font-size: 14px;
  line-height: 1.428571429;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  line-height: 1.1;
}

/* Bootstrap 4 drops `.btn { white-space: nowrap }`, so button labels can re-wrap. This app has
 * 18 full-width buttons carrying an icon span, which is exactly the shape that re-wraps. */
.btn {
  font-size: 14px;
  line-height: 1.428571429;
  white-space: nowrap;
}

/* Worked example, and the highest-volume geometry delta on a data-entry site:
 *   BS 3.4.1  explicit height: 34px
 *   BS 4.6.2  calc(1.5em + 0.75rem + 2px) = 1.5x16 + 12 + 2   = 38px
 * The 4px compounds down every stacked form.
 *
 * CORRECTED at Hop 2 after `pin-probe.js` measured 35px, not the 34px this comment used to
 * claim. The original reasoning -- pin font-size and line-height and the content height follows
 * -- was wrong about WHICH property decides: Bootstrap 4 sets an EXPLICIT `height`, and the
 * `calc()` re-resolves against the pinned font-size to `1.5 x 14 + 12 + 2 = 35px`. Pinning the
 * inputs to the calc without pinning the calc's output leaves a 1px error on every control on
 * every form, which is exactly the size of error a threshold-based pixel gate is worst at
 * reporting clearly. Bootstrap 3's own value was an explicit 34px, so that is what is pinned.
 *
 * `height` alone would be enough for the geometry, but font-size and line-height are still
 * required: they drive the TEXT inside the box, not just the box. */
/* 🔴 HOP 3 — restore the guard that stops the height pin below reaching a multi-row select.
 *
 * Bootstrap 4 shipped `select.form-control[size], select.form-control[multiple] { height: auto }`
 * (bootstrap.css:2150) at (0,0,2,1), which outranked the `.form-control { height: 34px }` pin
 * below at (0,0,1,0). **Bootstrap 5 has no `select.form-control` rule of any kind** — its only
 * `[multiple]` height rule is on `.form-select`, which this app does not use. So the guard
 * Bootstrap 4 was quietly supplying disappears, and the 34px pin would apply unopposed to any
 * `<select multiple class="form-control">`, collapsing a list box to a single row.
 *
 * ⚠️ INSURANCE, NOT LOAD-BEARING — and this corrects a Hop 2 note that implied otherwise. The
 * Hop 2 record says the pin was "verified not to leak onto the two `<select multiple>` on
 * WeeklyCrashFilters". Those two selects are **inside a Razor comment** (`WeeklyCrashFilters.cshtml`
 * lines 103-127, opened by `@*`), so they have never rendered: they appear in ZERO of the 416
 * baseline style dumps. The Hop 2 verification was reasoning about commented-out markup, and the
 * guard came free from Bootstrap 4 either way.
 *
 * So this rule has no measurable delta today, which `parity-shim.md` normally forbids. It is kept
 * on exactly the same basis as section 8's `table td[class*="col-"]` float guard, which is
 * documented there as cheap insurance rather than load-bearing: the disabled filter block is a
 * feature someone may re-enable, and the failure mode if they do is severe and silent. It is also
 * what `pin-probe.js`'s synthetic `select[multiple]` assertion tests — that assertion was passing
 * on Bootstrap 4's guard, and without this it would start failing for a real reason.
 * If the commented block is ever deleted outright, delete this too. */
select.form-control[multiple],
select.form-control[size] {
  height: auto;
}

/* 🔴 HOP 3 — another guard Bootstrap 4 was quietly supplying, and it was in the LIVE+REMOVED list.
 *
 * Bootstrap 4 shipped `.input-group-text input[type="radio"], .input-group-text
 * input[type="checkbox"] { margin-top: 0 }` at (0,0,2,1), which outranked the
 * `input[type="checkbox"] { margin: 4px 0 0 }` pin below at (0,0,1,1). Bootstrap 5 drops it, so
 * the 4px suddenly applies to every checkbox sitting inside a chip's `.input-group-text` and the
 * control drops ~2px (the flex container absorbs half of it).
 *
 * Measured on `files_annual-crash-years@1920`, the chip checkbox:
 *   baseline  y=405.27  marginTop=0px
 *   candidate y=407.27  marginTop=4px
 *
 * The colour-pair histogram over the cluster corroborated it before the cause was named:
 * `255,255,255 -> 170,178,189` and `118,118,118 -> 170,178,189`, i.e. white checkbox fill and
 * Chrome's native `#767676` checkbox border both giving way to `#aab2bd` — which is the addon's
 * own background from section 9. A control moving 2px over a coloured background, not a recolour.
 *
 * ⚠️ This is the THIRD time this hop that a Hop 2 "no pin needed" conclusion stopped being true
 * because Bootstrap 5 deleted the rule that was doing the work (see also `.form-check
 * .form-check-input` and `.alert-dismissible .close`'s `float: right`). Section 9's pin was
 * always correct; what changed is what was standing in front of it. */
.input-group-text input[type="radio"],
.input-group-text input[type="checkbox"] {
  margin-top: 0;
}

.form-control {
  height: 34px;
  font-size: 14px;
  line-height: 1.428571429;
}

/* No pin needed for the two `<select multiple>` on WeeklyCrashFilters: Bootstrap 4's
 * `select.form-control[size], select.form-control[multiple] { height: auto }` (bootstrap.css:2150)
 * is (0,0,2,1) and outranks the (0,0,1,0) pin above, matching Bootstrap 3's own arrangement.
 * Verified rather than assumed -- `pin-probe.js` asserts it, because a `height: 34px` leaking
 * onto a multi-select would collapse both filter lists to one row. */

/* BS4 `.input-group-text` is the successor to `.input-group-addon`. Same sizing argument.
 * Section 4's colour pins target `.input-group-addon`; the markup rename means the colours are
 * re-declared here for the new class. */
.input-group-text {
  font-size: 14px;
  line-height: 1.428571429;
  color: #fff;
  background-color: #aab2bd;
  border-color: #96a0ad;
}

/* BS3 `label { margin-bottom: 5px; font-weight: 700 }`; BS4 keeps a margin (0.5rem = 8px) and
 * DROPS font-weight entirely. `@Html.LabelFor` emits a bare `label`, so every MVC form is
 * exposed. styles.css:193 overrides both for `.form-label`/`.form-checkmark`, which is why the
 * app's own labels are unaffected — this covers the rest. */
label {
  margin-bottom: 5px;
  font-weight: 700;
}

/* BS3 `legend`: 21px, margin-bottom 20px, a #e5e5e5 bottom border and color #333.
 * BS4: 1.5rem (24px), margin-bottom .5rem (8px), NO border. The app's one `<legend>` is in
 * _FileListPartial and contains only a .visually-hidden span, so the border is the visible part. */
legend {
  margin-bottom: 20px;
  font-size: 21px;
  line-height: inherit;
  color: #333333;
  border-bottom: 1px solid #e5e5e5;
  /* 🔴 HOP 3 ADDITION — `class-map-4-to-5.md` item 5: Bootstrap 5 replaces
   * `legend { display: block }` with `float: left`, so a legend stops contributing to its
   * fieldset's height and shrink-wraps to its content.
   *
   * On this app that is not a subtle spacing change, it DELETES A DIVIDER. The baseline measures
   * `_FileListPartial`'s legend at `display: block, float: none, 1150 x 1px` with a 1x1 `<span>`
   * inside — i.e. the legend has no visible text and exists purely as a full-width horizontal
   * rule drawn by the `border-bottom` above. Floated, it would shrink to its 1px content and the
   * rule would disappear.
   *
   * `max-width: 100% -> absent`, `white-space: normal -> absent` and `color: inherit -> absent`
   * are also in the LIVE+CHANGED entry for this selector and are deliberately NOT pinned:
   * `color` is already pinned above, and the other two are the initial values for a block element
   * whose content is 1px wide. Measured, not assumed. */
  display: block;
  float: none;
}

/* BS3 15px; BS4 1rem = 16px. */
.form-group {
  margin-bottom: 15px;
}

/* BS4's Reboot drops BS3's `input[type=checkbox] { margin: 4px 0 0; line-height: normal }`, so
 * the bare native control moves. This is legitimately pinnable geometry and is NOT the
 * do-not-pin `.form-check-input` affordance — that one is Bootstrap restyling the control, this
 * is the browser's own control being re-positioned. */
input[type="checkbox"],
input[type="radio"] {
  margin: 4px 0 0;
  line-height: normal;
}


/* ============================================================================
 * 10. Containers — Bootstrap 4 adds a tier Bootstrap 3 never had
 * ============================================================================
 *   tier     BS 3.4.1 (width)   BS 4.6.2 (max-width)
 *   >=576    (no such tier)     540px      <-- NEW, and a visible change
 *   >=768    750px              720px
 *   >=992    970px              960px
 *   >=1200   1170px             1140px
 *
 * The 576-767px band is the dangerous one: a full-width content column becomes a 540px centred
 * box with side gutters, at exactly the mobile-landscape widths a 375/768/1920 matrix cannot
 * see. The baseline captures 575/576 specifically for this.
 *
 * `max-width` is used rather than BS3's `width` because BS4's own rule is `max-width` and an
 * equal-specificity later declaration only needs to beat the value, not the property.
 */
@media (min-width: 576px) {
  .container {
    max-width: none;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 750px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 970px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1170px;
  }
}


/* ============================================================================
 * 11. Tables
 * ============================================================================
 * BS4 `.table` GAINS `color: #212529`, which overrides the inherited body colour on every cell.
 * This app's body is #434a54, so every table cell would shift colour. `inherit` is correct here
 * rather than a hard value — the app's body colour is pinned in section 1 and should flow.
 *
 * Cell padding goes 8px -> 0.75rem (12px) and the border colour #ddd -> #dee2e6, both of which
 * compound by row count. The `>`-chained selectors are re-declared VERBATIM in Bootstrap 3's
 * shape: their (0,0,1,3) specificity outranks BS4's `.table th, .table td` at (0,0,1,1)
 * regardless of source order, AND it preserves the app's own per-column overrides at
 * styles.css:279-281 and :333-367, which are written against the same `>`-chained shape.
 * Rewriting these as `.table th` would collide with those.
 */
.table {
  color: inherit;
  /* 20px -> 1rem (16px). Three tables, all on the receipt/confirmation views. */
  margin-bottom: 20px;
}

.table > thead > tr > th,
.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td {
  padding: 8px;
  border-top: 1px solid #ddd;
}

.table > thead > tr > th {
  border-bottom: 2px solid #ddd;
}

/* ----------------------------------------------------------------------------
 * 11a. The first header row carries NO top border.
 * ----------------------------------------------------------------------------
 * Bootstrap 3 cancels the generic cell `border-top` on the table's first row
 * (`bootstrap.css:2392-2399`). That rule is in hoprisk's LIVE+REMOVED list and section 11 above
 * implemented the other two table rules but not this one, so every first header row gained a 1px
 * border. Measured in the BASELINE's own dumps (not from the stylesheet diff):
 * `borderTopWidth: 0px` on all three `thead > tr > th` at every viewport; the candidate reported
 * 1px. That single 1px propagated UP three levels, and is the source of the +1px `rect`/`height`
 * growth on `[container documents]`, `[row product-select]` and the `[footer]` margin.
 *
 * Bootstrap 3 declares SIX selectors here; five are orphans in this app and are deliberately
 * omitted — censused, not assumed: `<caption>` = 0, `<colgroup>` = 0, and `<td>` inside `<thead>`
 * = 0 across all three tables (`FileConfirmation:22`, `FileReceipt:24`, `FileReceiptNoPay:16`).
 * Carrying them would put selectors with no possible delta into a brand-new stylesheet.
 *
 * (0,0,3,3) outranks both section 11's `.table > thead > tr > th` (0,0,1,3) and Bootstrap 4's
 * `.table thead th` (0,0,1,2), so this wins on specificity and does not depend on source order.
 */
.table > thead:first-child > tr:first-child > th {
  border-top: 0;
}

/* ----------------------------------------------------------------------------
 * 11b. `.table-striped` — one rule, three simultaneous changes.
 * ----------------------------------------------------------------------------
 * Bootstrap 3: `.table-striped > tbody > tr:nth-of-type(odd) { background-color: #f9f9f9 }`
 * Bootstrap 4: `.table-striped tbody tr:nth-of-type(odd) { background-color: rgba(0,0,0,.05) }`
 *
 * The value moves, the child combinators become descendants, and `rgba(0,0,0,.05)` over white
 * computes to rgb(242,242,242) against the baseline's measured rgb(249,249,249) — a flat 7/255
 * shift over a large area. That is BELOW `Compare-Screenshots.ps1`'s default tolerance of 8, so
 * it is invisible to a triage run and only the `-Strict` gate reports it. harness/README.md uses
 * this exact rule as its worked example of why tolerance 8 is not a gate.
 *
 * Value taken from the baseline dumps: `/table/tbody/tr` = `rgb(249, 249, 249)` on the ROW.
 * Note the striping is row-level in the baseline, so pinning the row (not the cells) is what
 * reproduces it — the same arrangement P-1 closed at 0 px.
 *
 * Specificity TIES with Bootstrap 4's rule at (0,0,2,2), so this wins on source order only —
 * which is safe because this stylesheet's position immediately after Bootstrap is fixed by the
 * placement rule, and Bootstrap 3 relied on precisely the same arrangement. No app stylesheet
 * declares a background on these rows (verified in styles.css and bulk-records.css).
 */
.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: #f9f9f9;
}


/* ============================================================================
 * 12. Alerts — the rename is not enough, and the pin value moves again at Hop 3
 * ============================================================================
 * `.alert-dismissable` (the Bootstrap 2 spelling) was kept as a deprecated alias through
 * Bootstrap 3 — 3.4.1 defines BOTH spellings, which is the only reason this app's markup worked
 * before the rename. Bootstrap 4 defines only `-dismissible`, AND at a different value:
 *
 *   BS 3.4.1  .alert-dismissable/-dismissible { padding-right: 35px }
 *             .alert-dismissable .close       { position: relative; top: -2px; right: -21px }
 *   BS 4.6.2  .alert-dismissible              { padding-right: 4rem = 64px }
 *             .alert-dismissible .close       { position: absolute; top: 0; right: 0;
 *                                               padding: .75rem 1.25rem }
 *
 * So it is a rename PLUS two pins. Measured live on this app: padding-right 35px.
 * Note the value moves a THIRD time at Bootstrap 5 (3rem = 48px), so re-verify at Hop 3.
 */
/* `.alert` itself also moves, and styles.css:127-131 does NOT shield it: that rule sets
 * `border`, `background-color` and `color` -- which between them DO mask Bootstrap 4's whole
 * `.alert-warning`/`.alert-danger` recolour, since they are equal specificity and load later --
 * but it sets no padding and no margin.
 *   padding        15px -> .75rem 1.25rem  (12px 20px)
 *   margin-bottom  20px -> 1rem            (16px)
 *   border-radius  4px  -> .25rem          (4px -- identical, so not pinned)
 * All 7 alerts in the app are `.alert-dismissible`, which is why the ORDER below matters:
 * `padding` is a shorthand at the same (0,0,1,0) specificity as `.alert-dismissible`, so it
 * MUST precede it or it resets padding-right from 35px back to 15px. Bootstrap 3 relies on
 * exactly the same source-order arrangement. Do not reorder these two rules.
 * `.alert`'s newly arriving `position: relative` is deliberately not pinned -- no descendant is
 * absolutely positioned once `.close` is pinned back to `relative` below, so it is inert. */
.alert {
  padding: 15px;
  margin-bottom: 20px;
}

.alert-dismissible {
  padding-right: 35px;
}

/* ----------------------------------------------------------------------------
 * 12 (Hop 3) — re-pointed from `.close` to `.btn-close`, and AD-3's pinned geometry
 * ----------------------------------------------------------------------------
 * Bootstrap 5 renames `.close` to `.btn-close`, so every rule below WAS one of the 10 parity
 * rules Hop 3 put at orphan risk. Re-pointing them is not optional bookkeeping: the markup no
 * longer carries `.close` anywhere, so a stale selector here would go silently dead and take
 * AD-3's pinned geometry with it — with no old class name left in the markup to grep for.
 *
 * AD-3 (plan §10.C.2) was signed off at MINIMAL SCOPE. Accepted as irreducible: the SVG glyph,
 * the loss of `text-shadow`/`font-weight`, the `1em` content-box square, and the focus ring
 * appearing. Everything below is the part that was PINNED back to Bootstrap 3.
 *
 * Bootstrap 5's own values, read from `bootstrap.css` 5.3.8:
 *   .alert-dismissible                { padding-right: 3rem }                    (35 -> 64 -> 48px)
 *   .alert-dismissible .btn-close     { position:absolute; top:0; right:0;
 *                                       z-index:2; padding:1.25rem 1rem }        (0,0,2,0)
 *   .btn-close                        { --bs-btn-close-opacity: .5 }
 *   .btn-close:hover                  { opacity: var(--bs-btn-close-hover-opacity) }   = .75
 *   .btn-close:focus                  { opacity: var(--bs-btn-close-focus-opacity) }   = 1
 *
 * The descendant pin ties Bootstrap 5's `.alert-dismissible .btn-close` at (0,0,2,0) and wins on
 * source order. `color` is retained: `.btn-close` reads `--bs-btn-close-color` for its own colour
 * and the SVG is a fixed `fill='%23000'`, but the declaration is harmless and keeps the rule's
 * intent legible.
 *
 * 🔴 `font-size: 21px` was DELETED, not re-pointed — and this is the trap worth naming.
 * `.btn-close` is `width: 1em; height: 1em; box-sizing: content-box`, so a font-size does not
 * resize a glyph: it inflates the WHOLE BUTTON. Carrying the old pin forward would have been
 * strictly worse than dropping it. `class-map-4-to-5.md` flags this explicitly.
 */
/* 🔴 `float: right` ADDED after measurement — the pin was incomplete without it, and the failure
 * mode was not the button but the TEXT BESIDE IT.
 *
 * Bootstrap 3 AND Bootstrap 4 both gave `.close` `float: right`, and that is what put it at the
 * alert's right edge; `position: relative; top: -2px; right: -21px` only nudged it from there.
 * **Bootstrap 5's `.btn-close` has no float at all** — it relies on
 * `.alert-dismissible .btn-close { position: absolute; top: 0; right: 0 }`, which this pin
 * overrides back to `relative`. So the pin restored Bootstrap 3's OFFSETS while silently dropping
 * the mechanism that made them mean anything, and the button collapsed to its natural inline
 * position at the START of the alert.
 *
 * Measured on `files_annual-crash-years-alert@1920`:
 *
 *   button   baseline  x=1112.73  12.27x21   (right edge)
 *            candidate x=427      14x14      (inline, before the text)
 *   strong   baseline  x=406   -> candidate x=423.89    pushed right by the button
 *   span     baseline  x=451   -> candidate x=469.34    pushed right
 *
 * `class-map-4-to-5.md` warns about exactly this and it is worth restating: *"losing the old
 * `float:right` can rewrap neighbouring text that used to be narrowed by the floated glyph —
 * check the sibling text box, not just the button."* The button itself was only ~200 px of the
 * cluster; the displaced `<strong>` and `<span>` were the rest. Measuring the button alone would
 * have understated it, which is the standing note on AD-3.
 *
 * This is also another instance of the hop's dominant pattern: Bootstrap 4 was quietly supplying
 * `float: right`, so Hop 2 never needed to pin it. */
.alert-dismissible .btn-close {
  float: right;
  position: relative;
  top: -2px;
  right: -21px;
  padding: 0;
  color: #000;
}

/* AD-3's opacity pins, via the component tokens rather than a blunt `opacity` declaration.
 *
 * Rule zero, verified in 5.3.8: every `--bs-btn-close-*-opacity` token is declared ON
 * `.btn-close` itself and consumed by `.btn-close:hover` / `:focus` / `:disabled`. So (a) the
 * tokens are genuinely consumed, (b) a `:root` override would be INERT because the element
 * re-declares them on itself, and (c) setting them on `.btn-close` DOES reach the state rules,
 * because those rules read the token off the same element.
 *
 * Why tokens and not `opacity: .2`: a blunt declaration would have to out-specify
 * `.btn-close:hover`/`:focus` and would therefore flatten ALL THREE states, suppressing the focus
 * behaviour AD-3 explicitly ACCEPTS. Overriding two tokens leaves the third alone.
 *
 * Resting .5 -> .2 and hover .75 -> .5 are Bootstrap 3's values. **Focus is deliberately NOT
 * pinned** — AD-3 accepts Bootstrap 5's focus ring and its opacity of 1 as an invariant-7
 * improvement.
 *
 * ⚠️ No capture verifies the HOVER half — the route matrix holds no pointer state — so that pin
 * is justified by the declaration, not by a pixel, and belongs on the manual-QA list. Same basis
 * as section 3's `a:hover` pin. `opacity` is also not among the computed-style gate's 34 recorded
 * properties, so the pixel diff on the four `*-focus-close` captures is the only automated check.
 */
.btn-close {
  --bs-btn-close-opacity: .2;
  --bs-btn-close-hover-opacity: .5;
}

/* ----------------------------------------------------------------------------
 * 12a — REMOVED at Hop 3, and deliberately not re-pointed.
 * ----------------------------------------------------------------------------
 * This section pinned `.close:not(:disabled):not(.disabled):hover/:focus { opacity: .5 }` to
 * beat Bootstrap 4's `:not()` chain at (0,0,4,0). Bootstrap 5 replaces that whole mechanism
 * with component tokens on `.btn-close`, so re-pointing the selector would have produced a
 * rule fighting a rule that no longer exists. The hover value is now pinned via
 * `--bs-btn-close-hover-opacity` in section 12 above, and focus is intentionally left to
 * Bootstrap 5 per AD-3.
 *
 * Recorded rather than silently deleted because the `:not()`-specificity finding it documented
 * is still true and still worth knowing: `:not()` contributes its argument's specificity, so a
 * plain `.close:focus` (0,0,2,0) LOST to Bootstrap 4's (0,0,4,0). That is why Hop 2 needed the
 * chain reproduced. Bootstrap 5 simply moved the contest to tokens.
 */


/* ============================================================================
 * 13. Carried forward from the deleted bootstrap-theme.css
 * ============================================================================
 * Bootstrap 4 ships no theme file, so `bootstrap-theme.css` was deleted at this hop. It was not
 * inert: measured against the live DOM, 15 of its 196 selectors matched, and of those the
 * declarations below are live AND not already overridden by the app.
 *
 * Its `border-color` and `background-color` declarations are NOT carried: styles.css:247-264
 * overrides both for `.btn-primary`/`.btn-success` at equal specificity and later source order.
 * Its navbar rules are not carried either — `.navbar-default { display:none }` (styles.css:45)
 * means the navbar renders nowhere at any viewport.
 *
 * NOTE the interaction with P1-1: the theme's button GRADIENTS were already suppressed by
 * `.btn { background-image: none }`, so losing them costs nothing. What would have been lost is
 * the shadows and the alert gradients — which is exactly what is pinned here.
 */
.btn-primary,
.btn-success {
  text-shadow: 0 -1px 0 rgba(0, 0, 0, .2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
}

.alert {
  text-shadow: 0 1px 0 rgba(255, 255, 255, .2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05);
}

/* Measured in the baseline: the danger alert renders a vertical gradient from rgb(241,220,220)
 * to rgb(232,197,197) — i.e. the theme's gradient painting over styles.css:125's flat #fff.
 * Section 6's `background-color` pins are underneath this and remain for the no-gradient case. */
.alert-warning {
  background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%);
  background-repeat: repeat-x;
}

.alert-danger {
  background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%);
  background-repeat: repeat-x;
}


/* ============================================================================
 * NOTES — deltas considered and deliberately NOT pinned
 * ============================================================================
 * Recorded so the next reader does not "helpfully" add them back.
 *
 * html { font-size }      DO-NOT-WRITE. The root measures 10px today because BOTH stylesheets
 *                         set it (overlay `62.5%`, stock 3.4.1 `10px` — the same computed
 *                         value). Bootstrap 4 and 5 set no root font-size at all, so the root
 *                         correctly reverts to the browser's 16px at the 3->4 hop. Pinning
 *                         10px there would rescale every rem-sized BS4/5 control by 37.5%.
 *                         This app has four `rem` values of its own that must be pinned to px
 *                         at Hop 2 instead (styles.css:201-202, :468, bulk-records.css:484).
 *
 * Glyphicons @font-face   AT P-1: not carried. The overlay declared eot/woff/ttf/svg and no
 *                         woff2 while stock 3.4.1 declares woff2 first, and both font
 *                         directories hold identical files — so P-1 simply let 3.4.1's own rule
 *                         win, fetching woff2 instead of woff. Same typeface, different
 *                         container, pixel-identical; carrying it would have been a rule with no
 *                         visual delta. The gate confirmed 0 glyphicon pixels moved.
 *                         AT HOP 2: **now carried in full** (section 14), because Bootstrap 4
 *                         deletes all 272 glyphicon selectors and there is no longer any rule to
 *                         inherit. What is carried is 3.4.1's list verbatim — the one the
 *                         baseline was captured against.
 *
 * navbar rules            The overlay restyles .navbar-default and friends, but styles.css:45
 *                         sets `.navbar-default { display:none }` and the navbar renders
 *                         nowhere at any viewport — measured height 0. Not carried, and the
 *                         navbar's correctness at later hops is verified BY INSPECTION, not by
 *                         the pixel gate (plan decision B.4).
 *
 * input[type=checkbox]    The overlay/stock delta is `margin-top: 1px \9` — an IE9 hack that is
 * input[type=radio]       invalid CSS in every supported browser and therefore a no-op.
 *
 * table / .table          Stock 3.4.1 moved `max-width:100%` off `table` and onto `.table`.
 *                         Every table in this app carries `.table`, so the net effect is nil.
 *
 * .btn-primary:active:hover / :focus, .btn-success:active:hover / :focus, .navbar-brand > img
 *                         The 5 live+ADDED selectors. The button ones are already overridden by
 *                         styles.css at equal specificity and later source order; the
 *                         navbar-brand one is inside the display:none navbar.
 */

/* ============================================================================
 * 14. Glyphicons — VENDORED. Bootstrap 4 deletes the icon font entirely.
 * ============================================================================
 * 272 glyphicon selectors in 3.4.1; ZERO in 4.6.2. This app renders 47 glyphicon references
 * across its views, so the font and its CSS have to come with us.
 *
 * Everything below is copied VERBATIM from the Bootstrap 3.4.1 bootstrap.css this hop replaced,
 * including the @font-face src list. Two reasons not to "improve" it:
 *
 *  - The src list order decides which file the browser fetches. This is 3.4.1s own list, which
 *    puts woff2 first, and it is what the baseline was captured against. Adding, removing or
 *    reordering a source changes which file is picked - that is a change, not parity.
 *  - The paths are ABSOLUTE (/fonts/...), so they resolve from the web root and are independent
 *    of this stylesheets location. They were hand-edited to that form in the file this replaced;
 *    the files live at wwwroot/fonts/ and are unchanged by this hop.
 *
 * ALL 263 icon rules are carried, not just the 4 distinct icons the markup currently uses
 * (chevron-right, chevron-left, ok, plus). A live-DOM reduction under-carries an icon font the
 * moment any class name is computed rather than literal - and it costs ~8 KB to be safe.
 *
 * Licensing: Glyphicons Halflings is granted free of charge FOR BOOTSTRAP PROJECTS. Continuing
 * to ship it after Bootstrap 3 is removed is a grey area. Flagged in the plan (11.3) and
 * unresolved - CONFIRM BEFORE PUBLIC RELEASE. Vendoring also preserves icon-font accessibility
 * problems (PUA codepoints in the accessibility tree; tofu under user font-substitution
 * stylesheets), though with only decorative icons inside labelled controls the exposure is small.
 */

@font-face {
  font-family: "Glyphicons Halflings";
  src: url("/fonts/glyphicons-halflings-regular.eot");
  src: url("/fonts/glyphicons-halflings-regular.eot?#iefix") format("embedded-opentype"), url("/fonts/glyphicons-halflings-regular.woff2") format("woff2"), url("/fonts/glyphicons-halflings-regular.woff") format("woff"), url("/fonts/glyphicons-halflings-regular.ttf") format("truetype"), url("/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular") format("svg");
}
.glyphicon {
  position: relative;
  top: 1px;
  display: inline-block;
  font-family: "Glyphicons Halflings";
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.glyphicon-asterisk:before {
  content: "\002a";
}
.glyphicon-plus:before {
  content: "\002b";
}
.glyphicon-euro:before,
.glyphicon-eur:before {
  content: "\20ac";
}
.glyphicon-minus:before {
  content: "\2212";
}
.glyphicon-cloud:before {
  content: "\2601";
}
.glyphicon-envelope:before {
  content: "\2709";
}
.glyphicon-pencil:before {
  content: "\270f";
}
.glyphicon-glass:before {
  content: "\e001";
}
.glyphicon-music:before {
  content: "\e002";
}
.glyphicon-search:before {
  content: "\e003";
}
.glyphicon-heart:before {
  content: "\e005";
}
.glyphicon-star:before {
  content: "\e006";
}
.glyphicon-star-empty:before {
  content: "\e007";
}
.glyphicon-user:before {
  content: "\e008";
}
.glyphicon-film:before {
  content: "\e009";
}
.glyphicon-th-large:before {
  content: "\e010";
}
.glyphicon-th:before {
  content: "\e011";
}
.glyphicon-th-list:before {
  content: "\e012";
}
.glyphicon-ok:before {
  content: "\e013";
}
.glyphicon-remove:before {
  content: "\e014";
}
.glyphicon-zoom-in:before {
  content: "\e015";
}
.glyphicon-zoom-out:before {
  content: "\e016";
}
.glyphicon-off:before {
  content: "\e017";
}
.glyphicon-signal:before {
  content: "\e018";
}
.glyphicon-cog:before {
  content: "\e019";
}
.glyphicon-trash:before {
  content: "\e020";
}
.glyphicon-home:before {
  content: "\e021";
}
.glyphicon-file:before {
  content: "\e022";
}
.glyphicon-time:before {
  content: "\e023";
}
.glyphicon-road:before {
  content: "\e024";
}
.glyphicon-download-alt:before {
  content: "\e025";
}
.glyphicon-download:before {
  content: "\e026";
}
.glyphicon-upload:before {
  content: "\e027";
}
.glyphicon-inbox:before {
  content: "\e028";
}
.glyphicon-play-circle:before {
  content: "\e029";
}
.glyphicon-repeat:before {
  content: "\e030";
}
.glyphicon-refresh:before {
  content: "\e031";
}
.glyphicon-list-alt:before {
  content: "\e032";
}
.glyphicon-lock:before {
  content: "\e033";
}
.glyphicon-flag:before {
  content: "\e034";
}
.glyphicon-headphones:before {
  content: "\e035";
}
.glyphicon-volume-off:before {
  content: "\e036";
}
.glyphicon-volume-down:before {
  content: "\e037";
}
.glyphicon-volume-up:before {
  content: "\e038";
}
.glyphicon-qrcode:before {
  content: "\e039";
}
.glyphicon-barcode:before {
  content: "\e040";
}
.glyphicon-tag:before {
  content: "\e041";
}
.glyphicon-tags:before {
  content: "\e042";
}
.glyphicon-book:before {
  content: "\e043";
}
.glyphicon-bookmark:before {
  content: "\e044";
}
.glyphicon-print:before {
  content: "\e045";
}
.glyphicon-camera:before {
  content: "\e046";
}
.glyphicon-font:before {
  content: "\e047";
}
.glyphicon-bold:before {
  content: "\e048";
}
.glyphicon-italic:before {
  content: "\e049";
}
.glyphicon-text-height:before {
  content: "\e050";
}
.glyphicon-text-width:before {
  content: "\e051";
}
.glyphicon-align-left:before {
  content: "\e052";
}
.glyphicon-align-center:before {
  content: "\e053";
}
.glyphicon-align-right:before {
  content: "\e054";
}
.glyphicon-align-justify:before {
  content: "\e055";
}
.glyphicon-list:before {
  content: "\e056";
}
.glyphicon-indent-left:before {
  content: "\e057";
}
.glyphicon-indent-right:before {
  content: "\e058";
}
.glyphicon-facetime-video:before {
  content: "\e059";
}
.glyphicon-picture:before {
  content: "\e060";
}
.glyphicon-map-marker:before {
  content: "\e062";
}
.glyphicon-adjust:before {
  content: "\e063";
}
.glyphicon-tint:before {
  content: "\e064";
}
.glyphicon-edit:before {
  content: "\e065";
}
.glyphicon-share:before {
  content: "\e066";
}
.glyphicon-check:before {
  content: "\e067";
}
.glyphicon-move:before {
  content: "\e068";
}
.glyphicon-step-backward:before {
  content: "\e069";
}
.glyphicon-fast-backward:before {
  content: "\e070";
}
.glyphicon-backward:before {
  content: "\e071";
}
.glyphicon-play:before {
  content: "\e072";
}
.glyphicon-pause:before {
  content: "\e073";
}
.glyphicon-stop:before {
  content: "\e074";
}
.glyphicon-forward:before {
  content: "\e075";
}
.glyphicon-fast-forward:before {
  content: "\e076";
}
.glyphicon-step-forward:before {
  content: "\e077";
}
.glyphicon-eject:before {
  content: "\e078";
}
.glyphicon-chevron-left:before {
  content: "\e079";
}
.glyphicon-chevron-right:before {
  content: "\e080";
}
.glyphicon-plus-sign:before {
  content: "\e081";
}
.glyphicon-minus-sign:before {
  content: "\e082";
}
.glyphicon-remove-sign:before {
  content: "\e083";
}
.glyphicon-ok-sign:before {
  content: "\e084";
}
.glyphicon-question-sign:before {
  content: "\e085";
}
.glyphicon-info-sign:before {
  content: "\e086";
}
.glyphicon-screenshot:before {
  content: "\e087";
}
.glyphicon-remove-circle:before {
  content: "\e088";
}
.glyphicon-ok-circle:before {
  content: "\e089";
}
.glyphicon-ban-circle:before {
  content: "\e090";
}
.glyphicon-arrow-left:before {
  content: "\e091";
}
.glyphicon-arrow-right:before {
  content: "\e092";
}
.glyphicon-arrow-up:before {
  content: "\e093";
}
.glyphicon-arrow-down:before {
  content: "\e094";
}
.glyphicon-share-alt:before {
  content: "\e095";
}
.glyphicon-resize-full:before {
  content: "\e096";
}
.glyphicon-resize-small:before {
  content: "\e097";
}
.glyphicon-exclamation-sign:before {
  content: "\e101";
}
.glyphicon-gift:before {
  content: "\e102";
}
.glyphicon-leaf:before {
  content: "\e103";
}
.glyphicon-fire:before {
  content: "\e104";
}
.glyphicon-eye-open:before {
  content: "\e105";
}
.glyphicon-eye-close:before {
  content: "\e106";
}
.glyphicon-warning-sign:before {
  content: "\e107";
}
.glyphicon-plane:before {
  content: "\e108";
}
.glyphicon-calendar:before {
  content: "\e109";
}
.glyphicon-random:before {
  content: "\e110";
}
.glyphicon-comment:before {
  content: "\e111";
}
.glyphicon-magnet:before {
  content: "\e112";
}
.glyphicon-chevron-up:before {
  content: "\e113";
}
.glyphicon-chevron-down:before {
  content: "\e114";
}
.glyphicon-retweet:before {
  content: "\e115";
}
.glyphicon-shopping-cart:before {
  content: "\e116";
}
.glyphicon-folder-close:before {
  content: "\e117";
}
.glyphicon-folder-open:before {
  content: "\e118";
}
.glyphicon-resize-vertical:before {
  content: "\e119";
}
.glyphicon-resize-horizontal:before {
  content: "\e120";
}
.glyphicon-hdd:before {
  content: "\e121";
}
.glyphicon-bullhorn:before {
  content: "\e122";
}
.glyphicon-bell:before {
  content: "\e123";
}
.glyphicon-certificate:before {
  content: "\e124";
}
.glyphicon-thumbs-up:before {
  content: "\e125";
}
.glyphicon-thumbs-down:before {
  content: "\e126";
}
.glyphicon-hand-right:before {
  content: "\e127";
}
.glyphicon-hand-left:before {
  content: "\e128";
}
.glyphicon-hand-up:before {
  content: "\e129";
}
.glyphicon-hand-down:before {
  content: "\e130";
}
.glyphicon-circle-arrow-right:before {
  content: "\e131";
}
.glyphicon-circle-arrow-left:before {
  content: "\e132";
}
.glyphicon-circle-arrow-up:before {
  content: "\e133";
}
.glyphicon-circle-arrow-down:before {
  content: "\e134";
}
.glyphicon-globe:before {
  content: "\e135";
}
.glyphicon-wrench:before {
  content: "\e136";
}
.glyphicon-tasks:before {
  content: "\e137";
}
.glyphicon-filter:before {
  content: "\e138";
}
.glyphicon-briefcase:before {
  content: "\e139";
}
.glyphicon-fullscreen:before {
  content: "\e140";
}
.glyphicon-dashboard:before {
  content: "\e141";
}
.glyphicon-paperclip:before {
  content: "\e142";
}
.glyphicon-heart-empty:before {
  content: "\e143";
}
.glyphicon-link:before {
  content: "\e144";
}
.glyphicon-phone:before {
  content: "\e145";
}
.glyphicon-pushpin:before {
  content: "\e146";
}
.glyphicon-usd:before {
  content: "\e148";
}
.glyphicon-gbp:before {
  content: "\e149";
}
.glyphicon-sort:before {
  content: "\e150";
}
.glyphicon-sort-by-alphabet:before {
  content: "\e151";
}
.glyphicon-sort-by-alphabet-alt:before {
  content: "\e152";
}
.glyphicon-sort-by-order:before {
  content: "\e153";
}
.glyphicon-sort-by-order-alt:before {
  content: "\e154";
}
.glyphicon-sort-by-attributes:before {
  content: "\e155";
}
.glyphicon-sort-by-attributes-alt:before {
  content: "\e156";
}
.glyphicon-unchecked:before {
  content: "\e157";
}
.glyphicon-expand:before {
  content: "\e158";
}
.glyphicon-collapse-down:before {
  content: "\e159";
}
.glyphicon-collapse-up:before {
  content: "\e160";
}
.glyphicon-log-in:before {
  content: "\e161";
}
.glyphicon-flash:before {
  content: "\e162";
}
.glyphicon-log-out:before {
  content: "\e163";
}
.glyphicon-new-window:before {
  content: "\e164";
}
.glyphicon-record:before {
  content: "\e165";
}
.glyphicon-save:before {
  content: "\e166";
}
.glyphicon-open:before {
  content: "\e167";
}
.glyphicon-saved:before {
  content: "\e168";
}
.glyphicon-import:before {
  content: "\e169";
}
.glyphicon-export:before {
  content: "\e170";
}
.glyphicon-send:before {
  content: "\e171";
}
.glyphicon-floppy-disk:before {
  content: "\e172";
}
.glyphicon-floppy-saved:before {
  content: "\e173";
}
.glyphicon-floppy-remove:before {
  content: "\e174";
}
.glyphicon-floppy-save:before {
  content: "\e175";
}
.glyphicon-floppy-open:before {
  content: "\e176";
}
.glyphicon-credit-card:before {
  content: "\e177";
}
.glyphicon-transfer:before {
  content: "\e178";
}
.glyphicon-cutlery:before {
  content: "\e179";
}
.glyphicon-header:before {
  content: "\e180";
}
.glyphicon-compressed:before {
  content: "\e181";
}
.glyphicon-earphone:before {
  content: "\e182";
}
.glyphicon-phone-alt:before {
  content: "\e183";
}
.glyphicon-tower:before {
  content: "\e184";
}
.glyphicon-stats:before {
  content: "\e185";
}
.glyphicon-sd-video:before {
  content: "\e186";
}
.glyphicon-hd-video:before {
  content: "\e187";
}
.glyphicon-subtitles:before {
  content: "\e188";
}
.glyphicon-sound-stereo:before {
  content: "\e189";
}
.glyphicon-sound-dolby:before {
  content: "\e190";
}
.glyphicon-sound-5-1:before {
  content: "\e191";
}
.glyphicon-sound-6-1:before {
  content: "\e192";
}
.glyphicon-sound-7-1:before {
  content: "\e193";
}
.glyphicon-copyright-mark:before {
  content: "\e194";
}
.glyphicon-registration-mark:before {
  content: "\e195";
}
.glyphicon-cloud-download:before {
  content: "\e197";
}
.glyphicon-cloud-upload:before {
  content: "\e198";
}
.glyphicon-tree-conifer:before {
  content: "\e199";
}
.glyphicon-tree-deciduous:before {
  content: "\e200";
}
.glyphicon-cd:before {
  content: "\e201";
}
.glyphicon-save-file:before {
  content: "\e202";
}
.glyphicon-open-file:before {
  content: "\e203";
}
.glyphicon-level-up:before {
  content: "\e204";
}
.glyphicon-copy:before {
  content: "\e205";
}
.glyphicon-paste:before {
  content: "\e206";
}
.glyphicon-alert:before {
  content: "\e209";
}
.glyphicon-equalizer:before {
  content: "\e210";
}
.glyphicon-king:before {
  content: "\e211";
}
.glyphicon-queen:before {
  content: "\e212";
}
.glyphicon-pawn:before {
  content: "\e213";
}
.glyphicon-bishop:before {
  content: "\e214";
}
.glyphicon-knight:before {
  content: "\e215";
}
.glyphicon-baby-formula:before {
  content: "\e216";
}
.glyphicon-tent:before {
  content: "\26fa";
}
.glyphicon-blackboard:before {
  content: "\e218";
}
.glyphicon-bed:before {
  content: "\e219";
}
.glyphicon-apple:before {
  content: "\f8ff";
}
.glyphicon-erase:before {
  content: "\e221";
}
.glyphicon-hourglass:before {
  content: "\231b";
}
.glyphicon-lamp:before {
  content: "\e223";
}
.glyphicon-duplicate:before {
  content: "\e224";
}
.glyphicon-piggy-bank:before {
  content: "\e225";
}
.glyphicon-scissors:before {
  content: "\e226";
}
.glyphicon-bitcoin:before {
  content: "\e227";
}
.glyphicon-btc:before {
  content: "\e227";
}
.glyphicon-xbt:before {
  content: "\e227";
}
.glyphicon-yen:before {
  content: "\00a5";
}
.glyphicon-jpy:before {
  content: "\00a5";
}
.glyphicon-ruble:before {
  content: "\20bd";
}
.glyphicon-rub:before {
  content: "\20bd";
}
.glyphicon-scale:before {
  content: "\e230";
}
.glyphicon-ice-lolly:before {
  content: "\e231";
}
.glyphicon-ice-lolly-tasted:before {
  content: "\e232";
}
.glyphicon-education:before {
  content: "\e233";
}
.glyphicon-option-horizontal:before {
  content: "\e234";
}
.glyphicon-option-vertical:before {
  content: "\e235";
}
.glyphicon-menu-hamburger:before {
  content: "\e236";
}
.glyphicon-modal-window:before {
  content: "\e237";
}
.glyphicon-oil:before {
  content: "\e238";
}
.glyphicon-grain:before {
  content: "\e239";
}
.glyphicon-sunglasses:before {
  content: "\e240";
}
.glyphicon-text-size:before {
  content: "\e241";
}
.glyphicon-text-color:before {
  content: "\e242";
}
.glyphicon-text-background:before {
  content: "\e243";
}
.glyphicon-object-align-top:before {
  content: "\e244";
}
.glyphicon-object-align-bottom:before {
  content: "\e245";
}
.glyphicon-object-align-horizontal:before {
  content: "\e246";
}
.glyphicon-object-align-left:before {
  content: "\e247";
}
.glyphicon-object-align-vertical:before {
  content: "\e248";
}
.glyphicon-object-align-right:before {
  content: "\e249";
}
.glyphicon-triangle-right:before {
  content: "\e250";
}
.glyphicon-triangle-left:before {
  content: "\e251";
}
.glyphicon-triangle-bottom:before {
  content: "\e252";
}
.glyphicon-triangle-top:before {
  content: "\e253";
}
.glyphicon-console:before {
  content: "\e254";
}
.glyphicon-superscript:before {
  content: "\e255";
}
.glyphicon-subscript:before {
  content: "\e256";
}
.glyphicon-menu-left:before {
  content: "\e257";
}
.glyphicon-menu-right:before {
  content: "\e258";
}
.glyphicon-menu-down:before {
  content: "\e259";
}
.glyphicon-menu-up:before {
  content: "\e260";
}

/* ============================================================================
 * 15. AD-5 — the classes this app was ALREADY using that Bootstrap 4 defines
 * ============================================================================
 * The app's markup was written with Bootstrap-4/5 names (`.form-check`,
 * `.form-check-input`, `.form-check-label`, bare `.col-sm`) while running Bootstrap 3, where
 * every one of them was an UNDEFINED class doing nothing. They are not renames; they are rules
 * ARRIVING under markup that never asked for them. A grep for stale BS3 tokens reports zero,
 * which is why the plan carried this as accepted delta AD-5 pending measurement.
 *
 * Measured: all five are plain geometry with an exact BS3 value (namely "none"), so they are
 * pinnable and AD-5 needs no visual sign-off. None is on the parity-shim do-not-pin list --
 * these are layout side effects, not control affordances or focus indicators.
 */

/* `_FileListPartial` wraps ALL FIVE radio options in ONE `.form-check`, not one each.
 * BS4 `.form-check { position: relative; padding-left: 1.25rem }` therefore indents the whole
 * file list by 20px and narrows every `.col-*` inside it. `position: static` restores BS3's
 * containing block for `.ajax-loader` and for the radios below. `display: block` is not pinned
 * -- the element is a `<div>`, so that declaration is a no-op. */
.form-check {
  position: static;
  padding-left: 0;
  /* 🔴 HOP 3 ADDITION. Bootstrap 5's `.form-check` arrives with three declarations Bootstrap 4
   * did not have: `padding-left: 1.5em` (already beaten by the 0 above), `min-height: 1.5rem`
   * and `margin-bottom: 0.125rem`.
   *
   * Only the margin is pinned, and the distinction is measured rather than assumed:
   *   min-height: 1.5rem = 24px, on an element the baseline measures at **329.22px tall**
   *     (it wraps all five file rows) -- so it can never bind. Pinning it would be a rule with
   *     no delta, which parity-shim forbids.
   *   margin-bottom: 0.125rem = 2px, where the baseline measures **0px** -- a real 2px gain
   *     below the whole radio group. */
  margin-bottom: 0;
}

/* The one that would have been hardest to read off a screenshot: `position: absolute` takes
 * each radio OUT OF FLOW, collapsing its `.col-1` to zero height while the float and 8.33%
 * width remain. The accompanying `margin-top: .3rem` / `margin-left: -1.25rem` are already
 * neutralised by section 9's `input[type="radio"]` pin -- (0,0,1,1) beats (0,0,1,0) -- which is
 * why only `position` is restated here. */
.form-check-input {
  position: static;
}

/* 🔴 HOP 3 — Bootstrap 5 FLOATS the control and pulls it out of its box, at a specificity that
 * defeats the Hop 2 arrangement.
 *
 *   BS 4.6.2  .form-check-input        { position:absolute; margin-top:.3rem; margin-left:-1.25rem }  (0,0,1,0)
 *   BS 5.3.8  .form-check .form-check-input { float: left; margin-left: -1.5em }                      (0,0,2,0)
 *
 * At Hop 2 the margin needed NO pin: section 9's `input[type="radio"] { margin: 4px 0 0 }` is a
 * SHORTHAND, so it set margin-left to 0, and at (0,0,1,1) it outranked Bootstrap 4's (0,0,1,0).
 * The Hop 2 record says exactly that, and it was right. **Bootstrap 5 moved the rule to
 * (0,0,2,0), which beats (0,0,1,1) — so the same declaration that was harmless now gets
 * through.** `pin-probe` caught it as `marginLeft: got -24px want 0px`; nothing else would have,
 * because the baseline dumps record `marginLeft` but the gate compares by DOM path and this
 * element's path is unchanged, so it would have shown up only as unexplained pixels.
 *
 * `float: left` is also new and also pinned: the baseline measures the radio as
 * `display: inline-block`, unfloated, at `401,404.77 13x13`, sitting inside `.form-check-label`'s
 * 15px padding. Floated and pulled 24px left it leaves that box entirely.
 *
 * ⚠️ SCOPE vs AD-10, and the split is deliberate. AD-10 accepts Bootstrap 5's control
 * APPEARANCE — `appearance: none`, 16x16, white fill, 1px border, `border-radius: 50%`, the
 * `#0d6efd` checked state. It does NOT accept a POSITION change; that is ordinary geometry
 * parity. Same division as AD-3, which accepts the `.btn-close` glyph and pins its geometry.
 *
 * (0,0,2,0) ties Bootstrap 5 and wins on source order.
 *
 * --- `vertical-align`, and the 1px that cost 35px on the print capture ---
 *
 * The same BS5 rule block (`bootstrap.css:4460 .form-check-input`) also sets
 * `vertical-align: top`, where the baseline measured `baseline`. Also positioning, also pinned —
 * but pinning it ALONE overshoots, and the arithmetic is worth writing down because it is the
 * only place in this file where an accepted APPEARANCE delta has a geometric consequence.
 *
 * The sibling text columns (`col-4`, `col-6`) measure 22.84px in BOTH builds, so the text strut
 * is ascent 16.0 + descent 6.84. An `<input>` is a replaced element, so under
 * `vertical-align: baseline` its BOTTOM MARGIN EDGE sits on the text baseline and the box
 * extends `height + margin-top` above it:
 *
 *   baseline    13px box + 4px margin = 17 above baseline;  17 > 16, so line box = 17 + 6.84 = 23.84
 *   candidate   16px box, vertical-align: top = 20 contribution;  20 < 22.84, line box = 22.84
 *   pin v-align only, keep 4px margin:  4 + 16 = 20 above baseline -> 20 + 6.84 = 26.84  (+3, WORSE)
 *   pin v-align AND margin-top: 1px:    1 + 16 = 17 above baseline -> 23.84  ✅ exact
 *
 * So the margin absorbs AD-10's 3px size increase. That is not a magic number: `4 - (16 - 13)`
 * keeps the control's BOTTOM EDGE on the text baseline at 425.7px, byte-identical to the
 * baseline build — the box simply grows upward, which is what a taller replaced element sitting
 * on a baseline does. Appearance changes; position does not. It is carved out of section 9's
 * `input[type="radio"] { margin: 4px 0 0 }` for this reason and ONLY inside `.form-check`; the
 * chip checkboxes (section 19a) keep 4px because their box is unchanged.
 *
 * Shrinking the control back to 13x13 would also fix the row height and was REJECTED: invariant 7
 * puts form-control affordances and target sizes on the do-not-pin list, so where BS5's control
 * is larger, BS5 wins. That is what AD-10 accepted in the first place.
 *
 * 🔴 Why 1px per row mattered: 5 rows x 1px = 5px off `main`, and on
 * `files_choose-file-print@992/@1199` that produced a **35px** page delta — 7x the cause.
 * `wwwroot/js/footer.js` is a sticky footer that runs once on `window.load` and, when
 * `window.height - footer.top - footer.height > 0`, sets an INLINE `margin-top` that REPLACES
 * `styles.css:296 .footer { margin-top: 30px }`. The baseline's content was tall enough that the
 * test failed and the 30px stood; 5px shorter content made it pass by 0.09375px, so the script
 * fired and overwrote 30px with 0.09375px. 30 + 5 = 34.9.
 *
 * That amplifier is PRE-EXISTING app behaviour, not a hop regression — the script should add to
 * the base margin rather than replace it — but it means any content-height change within ~5px of
 * the fold is multiplied by 7 on that route. Non-print captures are immune only because their
 * content is far from the threshold, so the inline margin just absorbs the difference and the
 * footer does not move at all. Worth an app-side bug report; out of scope for this migration. */
.form-check .form-check-input {
  float: none;
  margin-left: 0;
  vertical-align: baseline;
  margin-top: 1px;
}

/* `.form-check-label { margin-bottom: 0 }` (0,0,1,0) outranks BS3's `label { margin-bottom:
 * 5px }` (0,0,0,1), so 5px of separation disappears between all five file rows.
 * `bulk-records.css:137 .BROption label` does NOT shield this -- it sets padding, background,
 * border, width, font-size and transition, and no margin. */
.form-check-label {
  margin-bottom: 5px;
}

/* Bootstrap 3 has NO bare-infix column classes, so `class="col-sm"` was inert. Bootstrap 4
 * lists bare `.col-md` in the shared column group at bootstrap.css:599-606, which hands the
 * file-list wrapper `position: relative` and 15px of padding on each side -- 30px of content
 * width, on the most-visited authenticated page. The per-tier `flex-basis/flex-grow` rule at
 * bootstrap.css:1056 is inert: the wrapper's parent is the `<form>`, not a flex container. */
.col-md {
  position: static;
  padding-right: 0;
  padding-left: 0;
}

/* ============================================================================
 * 16. Print — plan B.2, the decision AD-2 was withdrawn on
 * ============================================================================
 * Plan §5.12 measured the print reset shrinking monotonically across versions, and §10.B.2
 * recorded the operator's decision to RESTORE it in the parity layer rather than accept the
 * delta -- which is why AD-2 was withdrawn and all `*-print@*` captures are held to FULL
 * parity. This section is that decision; it was missing from the first Hop 2 build.
 *
 * Bootstrap 4.6.2 DOES ship a print reset (`bootstrap.css:10257`) -- it is not gone until 5.3.8.
 * So this is a rule-by-rule diff against BS 3.4.1's block, not a wholesale restore. Rules
 * Bootstrap 4 still carries identically (`text-shadow`/`box-shadow` none, `tr, img
 * page-break-inside`, `orphans`/`widows`, `h2,h3 page-break-after`, `.navbar display:none`,
 * `.table border-collapse`, `.table td/th background #fff`) are NOT restated here.
 *
 * Deliberately NOT restored, because each would be an orphan rule:
 *   `abbr[title]`, `pre`, `blockquote`, `.table-bordered`, `.label`/.badge`, `.btn > .caret`
 *      -- all measured at ZERO markup occurrences.
 *   `thead { display: table-header-group }` -- that is already the UA default for `<thead>` and
 *      nothing in Bootstrap 4 overrides it, so restoring it would change nothing. Bootstrap 3
 *      carried it defensively.
 *   `.navbar { display: none }` -- Bootstrap 4 keeps it, and `styles.css:45 .navbar-light
 *      { display: none }` already hides it in every medium anyway.
 */
@media print {

  /* THE consequential pair, per §5.12. Bootstrap 4 keeps `text-shadow`/`box-shadow` but DROPS
   * `color` and `background`. Without `color`, `.topic h3/h4/h5 { color:#fff }` applies in print
   * and the site header's printed text flips black -> white on a site whose entire purpose is
   * purchasing printable records. Restoring it also removes a baseline 1.89:1 `color-contrast`
   * violation (#000 on #043c73) that §9.1 recorded across 70 captures.
   * `background` is the shorthand deliberately -- it is what suppresses section 13's restored
   * theme alert gradients in print, exactly as Bootstrap 3 did. */
  *,
  *::before,
  *::after {
    color: #000 !important;
    background: transparent !important;
  }

  /* 🔴 REMOVED. This section originally restored `a, a:visited { text-decoration: underline }`
   * here, reasoning that Bootstrap 4 narrows the selector to `a:not(.btn)` and the app's 12
   * `<a class="btn">` would lose their printed underline.
   *
   * **They never had one.** Measured on the print captures: the restored rule ADDED underlines
   * the baseline did not have, showing up as ~8 one-pixel black lines per page, every one a pure
   * white -> black addition with no offsetting removal.
   *
   * The cause is a Bootstrap 3 bug. Its print block sits near the TOP of the file (line 195),
   * and its own `a { text-decoration: none }` comes later at line 1099 — equal specificity
   * (0,0,0,1), later source order, so `none` wins **even in print**. Bootstrap 3's print
   * underline was dead code for the life of the framework. Bootstrap 4 fixed it by moving the
   * print block to the END of the file (line 10257) and raising the selector to `a:not(.btn)`
   * at (0,0,1,1) — which is why the underline appears for the first time at this hop.
   *
   * So this is a Bootstrap 4 *fix* arriving, not a Bootstrap 3 behaviour being lost, and under
   * invariant 1 it has to be suppressed. That suppression is in section 20, because it must
   * outrank Bootstrap 4's own `a:not(.btn)` and therefore cannot live here.
   *
   * The lesson: diffing the two print blocks rule-by-rule was the right method, but I compared
   * DECLARATIONS rather than effective computed values. A rule present in both versions can
   * still be inert in one of them. */

  /* Dropped outright at Bootstrap 4, and the single most visible print change after the colour
   * flip: Bootstrap 3 appends the target URL after every link in print. The 12 anchor-buttons
   * above print their full `@Url.Action` output inside the button. The baseline print captures
   * were taken with this active, so it is required for parity, not optional polish. */
  a[href]::after {
    content: " (" attr(href) ")";
  }

  /* The offsetting half of the rule above -- without it, `_Layout.cshtml:51` (the skip link,
   * `href="#content-area"`) and `:128` (`href="#"`) print a useless " (#...)" suffix. Equal
   * specificity to the rule above (0,0,1,1), so source order decides and it must stay second --
   * which is the order Bootstrap 3 used. */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  /* Dropped at Bootstrap 4. Five `<img>` elements, all in the site header/footer chrome. */
  img {
    max-width: 100% !important;
  }

  /* --- Three rules ARRIVING at Bootstrap 4 that Bootstrap 3 never had. Same category as AD-5
   * (§12.A): the Bootstrap 3 value is "none", so they are pinnable rather than acceptable.
   *
   * `body`/`.container { min-width: 992px !important }` is the dangerous one and it is NOT
   * visible in any default-media capture: under `emulateMedia('print')` it forces the body to
   * 992px at every viewport, so all 8 sub-992px print captures would overflow horizontally and
   * relayout wholesale. Both need `!important` at equal specificity to beat Bootstrap's own
   * `!important`; the parity layer's later source order carries it. */
  /* 🔴 HOP 3 ADDITION — Bootstrap 4 was quietly supplying these and Bootstrap 5 is not.
   *
   * Bootstrap 3's print block carried `* { text-shadow: none !important; box-shadow: none
   * !important }`, so the baseline printed flat. Bootstrap 4 carried it too, which is exactly why
   * section 16 did not need to restore it at Hop 2. Bootstrap 5 ships **one** `@media print`
   * block containing **only** the `.d-print-*` display utilities — verified by reading 5.3.8 —
   * so the suppression disappears entirely.
   *
   * That matters here because this parity layer itself introduced shadows: section 13 carried
   * `.btn` and `.alert` `text-shadow` + `box-shadow` forward from the deleted
   * `bootstrap-theme.css`. Without this rule those would print for the first time, on exactly the
   * receipt and confirmation views users actually print. The textbook case of
   * `class-map-4-to-5.md`'s "Bootstrap 5 deletes rules Bootstrap 4 was quietly supplying" — no
   * rename, no census hit, and invisible to a screen-media capture. */
  * {
    text-shadow: none !important;
    box-shadow: none !important;
  }

  /* ⚠️ The two rules below are NOW NO-OPS and are retained deliberately as regression guards.
   * They were written at Hop 2 to suppress rules Bootstrap 4 ADDED: `@page { size: a3 }` and
   * `body`/`.container { min-width: 992px !important }`. Bootstrap 5 has neither — its print
   * block is only `.d-print-*`. `size: auto` and `min-width: 0` are the initial values, so these
   * declare what would already be true.
   *
   * Kept rather than deleted for one reason: `pin-probe.js` asserts `body { min-width: 0px }`
   * under print media, and that assertion is the only automated thing standing between this app
   * and a future Bootstrap reintroducing a print `min-width` — which under `emulateMedia('print')`
   * would silently relayout every sub-992px print capture. A rule with no delta normally violates
   * parity-shim's "no unjustified rules"; these are justified as *assertions*, and this comment is
   * the justification. If that reasoning ever stops being true, delete both. */
  @page {
    size: auto;
  }

  body,
  .container {
    min-width: 0 !important;
  }

  /* NOTE: `.text-danger`'s print override is NOT here -- it is at the very END of this file,
   * in section 20, and it has to be. See the comment there. */
}

/* ============================================================================
 * 17. Block-level vertical rhythm — Reboot's margin reset
 * ============================================================================
 * Found by finally reading `hoprisk-auth-hop2.txt`'s **LIVE + CHANGED** section, not just its
 * REMOVED and ADDED sections. Bootstrap 4's Reboot rewrites the vertical margins of every block
 * element to a `1rem` idiom against a 16px root, where Bootstrap 3 used a 10px/20px idiom. None
 * of it is a rename and none of it is greppable; the selectors are unchanged and only the values
 * moved. It compounds down every stacked block on the page.
 *
 * Every selector below was censused against live markup first, so there are no orphan rules:
 * h1 x10, h2 x1, h3 x1, h4 x1, `.h4` x8, h5 x6, p x8, ul x1, dl x1, dd x2. **h6 and the
 * `.h1/.h2/.h3/.h5/.h6` class forms have ZERO occurrences and are deliberately omitted.**
 *
 * Where the app's own stylesheet already supplies a value it is NOT restated here, because
 * styles.css loads after this file and wins regardless: `h1.h4 { margin-bottom: 20px }`
 * (styles.css:476) and `h4 { margin-bottom: 25px }` (:234).
 */

/* 🔴 CORRECTED. This section originally also carried element-selector heading rules pinning
 * `h1,h2,h3` to 20px/10px and `h4,h5` to 10px/10px -- stock Bootstrap 3's values, taken off
 * `hoprisk`'s FROM side. **That was wrong and it caused a regression.**
 *
 * `hoprisk`'s FROM side is stock 3.4.1. The visual contract is stock 3.4.1 **plus the
 * decomposed 3.1.1 overlay**, and section 2 already pins the overlay's measured heading scale:
 *   section 2   h1,h2,h3 { margin-top: 30px; margin-bottom: 15px }
 *               h4,h5,h6 { margin-top: 15px; margin-bottom: 15px }
 * Those beat Bootstrap 4's Reboot at equal (0,0,0,1) specificity on source order, so element
 * headings were **already correct and needed no pin here at all**. Appending stock Bootstrap 3's
 * values after section 2 simply overrode it: the baseline's `h3`/`h5` `margin-bottom: 15px`
 * became 10px on every page, because the site header carries an `h3` and an `h5`.
 *
 * Measured from the baseline's own `.styles.json` dumps rather than from stock Bootstrap:
 *   <h3>      base mt=-20px mb=15px    (margin-top from styles.css `.topic h3`)
 *   <h5>      base mt=25px  mb=15px    (margin-top from styles.css `.topic h5`)
 *   <h4>      base mt=15px  mb=25px    (margin-bottom from styles.css `h4`)
 *   <h1.h4>   base mt=10px  mb=20px    (margin-bottom from styles.css `h1.h4`)
 *
 * Only the CLASS form still needs a rule. Bootstrap 3 defined `.h1`-`.h6` margins and Bootstrap
 * 4 does not, and `.h4` at (0,0,1,0) outranks section 2's `h1` at (0,0,0,1) -- which is how the
 * baseline's page title gets 10px rather than the 30px section 2 would otherwise give it. All 8
 * `class="h4"` usages are on an `<h1>`, and every page title in the app is one of them. */
.h4 {
  margin-top: 10px;
  margin-bottom: 10px;
}

/* `margin: 0 0 10px` -> `margin-top: 0; margin-bottom: 1rem`. 6px per paragraph, and
 * `_SmallPrintPartial`/`_SmallPrintChargePartial` stack several. */
p {
  margin: 0 0 10px;
}

/* The footer's `<dl class="footer-nav">` / `<ul class="footer-nav">` block. `.footer-nav`
 * (styles.css:310-321, :418-423) sets width, colour, font and line-height but NO margins, so
 * these are genuinely uncovered.
 *   ul  10px -> 1rem (16px)
 *   dl  20px -> 1rem (16px)
 *   dd  Bootstrap 4 ADDS `margin-bottom: .5rem`; Bootstrap 3 had none. Two `<dd>` elements.
 * `dt`/`dd`'s dropped `line-height: 1.42857143` is NOT pinned -- it now inherits from `body`,
 * which section 9 pins to the identical 1.428571429, so the computed value is unchanged. */
ul {
  margin-bottom: 10px;
}

dl {
  margin-bottom: 20px;
}

dd {
  margin-bottom: 0;
}

/* #a94442 -> #dc3545, and Bootstrap 4 adds `!important`, so the pin needs `!important` to reach
 * it. Live on `@Html.ValidationMessageFor` output (Login x3) and `Error.cshtml` x2.
 * No invariant-7 conflict: against white, Bootstrap 3's #a94442 is 5.15:1 and Bootstrap 4's
 * #dc3545 is 4.53:1, so the parity value is also the more accessible one. */
.text-danger {
  color: #a94442 !important;
}

/* ============================================================================
 * 18. Computed-value parity with NO pixel effect — to keep the style gate usable
 * ============================================================================
 * These two rules change no rendering whatsoever. They exist because the computed-style gate
 * (`cmpstyles.js`) is a real gate, and without them it carries a permanent noise floor that
 * buries the findings that matter: the first Hop 2 comparison reported **37,536 `textAlign`
 * deltas**, 90% of its entire output, from one inherited value.
 *
 * Flagged explicitly as NOT load-bearing geometry, so nobody later reads them as such.
 */

/* Bootstrap 4's Reboot adds `body { text-align: left }`; Bootstrap 3 declared nothing, leaving
 * the initial value `start`. In an LTR document -- and this app is `lang="en"` with no `dir`
 * anywhere -- `start` and `left` are the same used value, so every one of those 37,536 deltas
 * was rendering-identical. Pinned rather than taught to the comparator, because restoring the
 * value the baseline actually computed is the more honest of the two fixes. */
body {
  text-align: start;
}

/* Bootstrap 4's normalize adds `html { line-height: 1.15 }`; Bootstrap 3 left it `normal`.
 * Invisible in practice -- section 9 pins `body { line-height: 1.428571429 }`, so every
 * rendered element inherits from `body`, never from `html`. Pinned only so the root element
 * stops appearing in the delta list beside the root `font-size` change, which is AD-1 and
 * MUST be allowed through. */
html {
  line-height: normal;
}

/* ============================================================================
 * 19. `.input-group` used as a bare layout wrapper — measured, then scoped
 * ============================================================================
 * `.input-group` goes `display: table` -> `display: flex` AND gains `width: 100%`, which
 * Bootstrap 3 never declared. The app uses the class in **two unrelated shapes**, and only one
 * of them regressed -- so this rule is scoped rather than global. Both were measured from the
 * baseline's `.styles.json` before anything was written:
 *
 *   .selectAll.input-group   base display=table width=125.516px  ->  cand flex 340px   REGRESSED
 *   .select-item.input-group base display=table width=344px      ->  cand flex 344px   UNCHANGED
 *
 * Shape A (`.selectAll.input-group`, 3 sites: AnnualCrashYears:34, WeeklyCrashFilters:32 and
 * :71) has NO addon at all -- a bare `<input type="checkbox">` and a `<span class="BRSelection">`
 * being laid out by `.input-group`. Under `display: table` with no width, the two inline
 * children are absorbed into one anonymous table cell and the table shrink-wraps to 125.5px.
 * Bootstrap 4's arriving `width: 100%` stretches it to the full 340px column.
 *
 * Shape B, the per-year/severity/county chips, is **NOT pinned** -- and the reason is worth
 * recording, because the prediction going in was that these chips shrink-wrapped and would
 * become full-width bars. They did not: the baseline already measured 344px, the full width of
 * `.select-box`, so the flex switch costs nothing. The chips are the app's most visible
 * repeated element and a global `display: table` pin would have been written for a regression
 * that does not exist. Measuring both shapes separately is what avoided that.
 *
 * `width: auto` alone would not be enough: a block-level flex container with `width: auto`
 * still fills its parent. Restoring `display: table` is what brings back shrink-to-fit. */
.selectAll.input-group {
  display: table;
  width: auto;
}

/* ----------------------------------------------------------------------------
 * 19a. Shape B's INTERNAL geometry — two 1px shifts the §19 analysis missed
 * ----------------------------------------------------------------------------
 * 🔴 Section 19 concluded shape B was "UNCHANGED, not pinned" on the strength of the chip
 * WRAPPER measuring 344px -> 344px. That was right about the wrapper and wrong about the chip:
 * the wrapper's width says nothing about where its CHILDREN sit inside it, and the
 * `.input-group-addon` -> `.input-group-prepend > .input-group-text` rewrite inserts a whole div
 * level. Measured on `files_weekly-crash-filters@1920`, baseline vs candidate:
 *
 *   addon/prepend  386,458.77 37x30   ->  386,458.77 37x30   (identical)
 *   .BRSelection   423,458.77         ->  422,458.77          1px LEFT
 *   checkbox       398,466.27         ->  398,467.27          1px DOWN
 *
 * That is ~306 px of subpixel-shifted text per chip across ~20 chips = ~6,000 px per capture, at
 * EVERY viewport, on `files_weekly-crash-filters*` (all 5 states) and `files_annual-crash-years*`.
 *
 * ⚠️ Why the computed-style gate could not see it, which is the reusable part: `cmpstyles.js`
 * keys element identity on DOM PATH, and the rewrite moved this label from `div[3]/span[2]` to
 * `div[3]/span`. Different path, so it landed in the baseline-only / candidate-only buckets and
 * was NEVER COMPARED -- this route reported 163 compared against 225 baseline-only and 300
 * candidate-only. The gate is weakest exactly where the markup was restructured, which is
 * exactly where the risk is. Found by taking the diff cluster's coordinates and asking which
 * element occupied that box, in both dumps.
 *
 * --- Cause 1: the horizontal 1px. Bootstrap 4's border-collapse trick. ---
 * `bootstrap.css:3700` declares `.input-group-prepend { margin-right: -1px }`. It exists so an
 * addon's 1px border overlaps the adjacent control's instead of doubling. Here there is nothing
 * to collapse: the sibling is a `.BRSelection` span with `border-left-width: 0`, and
 * `bulk-records.css:104` explicitly sets `border: none` on this chip's `.input-group-text`. So
 * the negative margin only drags the label 1px left. 386 + 37 - 1 = 422, against 423 in the
 * baseline.
 *
 * Scoped, not global: censused all 3 `.input-group-prepend` sites (AnnualCrashYears:48,
 * WeeklyCrashFilters:44 and :83) and every one is inside `.select-item.input-group`.
 * `.selectAll.input-group` has no addon at all. So there is no shape in this app where the -1px
 * is doing its intended job -- but keeping the scope narrow means a future bordered
 * `.input-group` still gets Bootstrap 4's correct behaviour. (0,0,3,0) beats (0,0,1,0).
 *
 * --- Cause 2: the vertical 1px. Two different things are being centred. ---
 * Bootstrap 3's addon was `display: table-cell; vertical-align: middle; line-height: 1`, so it
 * centred a **14px line box** holding a baseline-aligned 13px inline-block checkbox -> 7.5px from
 * the box top. Bootstrap 4's `.input-group-text` is `display: flex; align-items: center`, which
 * centres the **13px box itself** -> (30 - 12 - 13) / 2 + 6 = 8.5px. Padding is 6px on both
 * sides and `margin-top` is 0px on both sides (verified in both dumps), so neither is involved.
 *
 * Four candidate fixes were measured live against the baseline as a third column, not A/B'd:
 *   line-height: 1 (Bootstrap 3's own value)   -> dy 8.5  INERT on a centred flex item, so
 *                                                  writing it would be a rule with no delta
 *   .input-group-text { display: block }        -> dy 6.0  overshoots; the extra prepend div
 *                                                  means BS3's line box cannot be restored
 *   checkbox { margin-top: -1px }               -> dy 8.0  flex centring HALVES a margin change
 *   padding-top 5px / padding-bottom 7px        -> dy 7.5  ✅ chosen
 *
 * The padding form is preferred over the equally-matching `margin-top: -2px` because it keeps
 * `align-items: center` (so it still re-centres if the chip's content height ever changes) and
 * leaves total vertical padding at 12px, so the addon contributes the same height. A -2px margin
 * that produces a -1px shift is a trap for the next reader, who would "correct" it to -1px.
 *
 * Verified safe at every viewport: the chip is **32px tall at all 16 captured widths** in the
 * baseline (only x and width vary), so this is not a pin tuned at one breakpoint.
 */
/* 🔴 RE-POINTED AT HOP 3, and Bootstrap 5 did NOT remove this problem — it MOVED it.
 *
 * The Hop 2 rule here was `.select-item.input-group .input-group-prepend { margin-right: 0 }`,
 * neutralising Bootstrap 4's border-collapse trick on the prepend wrapper. Bootstrap 5 deletes
 * `.input-group-prepend` entirely (the wrapper is gone from the markup as of Hop 3), so that
 * selector would now match nothing — one of the 10 orphan-risk rules. But the SAME 1px shift
 * recurs through a different mechanism:
 *
 *   BS 4.6.2  .input-group-prepend { margin-right: -1px }                            (0,0,1,0)
 *   BS 5.3.8  .input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip)
 *               :not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback)
 *             { margin-left: calc(-1 * var(--bs-border-width)) }                     (0,0,7,0)
 *
 * With the wrapper gone the chip's children are `.input-group-text` (first) and `.BRSelection`
 * (non-first) — so `.BRSelection` now takes a **`margin-left: -1px`** and shifts 1px LEFT, which
 * is cause 11 from Hop 2 reappearing in a new form. Same visible defect, different selector.
 *
 * 🔴 SPECIFICITY IS THE WHOLE DIFFICULTY, and it is `parity-shim.md` rule zero's worked warning
 * made real: `:not()` contributes its ARGUMENT's specificity, so Bootstrap 5's selector is
 * **(0,0,7,0)** — one class plus six `:not()` arguments. The obvious pins all LOSE:
 *
 *   .select-item.input-group > .BRSelection              (0,0,2,0)   loses
 *   .select-item.input-group > span.BRSelection          (0,0,2,1)   loses (2 < 7 on classes)
 *   .select-item.input-group > :not(:first-child)        (0,0,3,0)   loses
 *
 * So the chain is reproduced, scoped to the chip, giving **(0,0,8,0)** — it wins on SPECIFICITY
 * alone and is therefore independent of source order, which is the more robust outcome. Verbose,
 * but honest: it says exactly which Bootstrap rule it is countering.
 *
 * Rejected alternative: `.select-item.input-group { --bs-border-width: 0 }`, which would make the
 * `calc()` resolve to zero in one line. It works, but it relies on a survey of everything inside
 * the chip that might also read that token, and it would silently change meaning if the chip ever
 * gains a token-driven border. The chip's own border is a literal `1px solid #909090` in
 * `bulk-records.css`, so the trick is safe TODAY and fragile tomorrow. Explicit beats clever here.
 */
/* 🔴 SCOPE WIDENED after measurement — BOTH input-group shapes need this at Hop 3, where only
 * one needed the Hop 2 equivalent.
 *
 * Section 19 established that this app uses `.input-group` in two unrelated shapes. Hop 2's
 * cause 11 was `.input-group-prepend { margin-right: -1px }`, which existed only *inside* the
 * `.select-item` chips — `.selectAll` has no addon and therefore no prepend wrapper, so scoping
 * the Hop 2 fix to `.select-item` was correct and `.selectAll` genuinely needed nothing.
 *
 * **Bootstrap 5 generalised the selector**, and that invalidated the scoping. Its replacement
 * targets *any* non-first child of *any* `.input-group`, so it reaches shape A as well, where the
 * children are a bare `<input type="checkbox">` (first) and `.BRSelection` (non-first). Measured
 * on `files_annual-crash-years@1920`:
 *
 *   .selectAll.input-group > .BRSelection    baseline x=413 marginLeft=0
 *                                            candidate x=412 marginLeft=-1px
 *
 * That is a 245 px cluster on EVERY state of both filter views — it showed up as the one cluster
 * size shared by all five route-states, which is what distinguished it from AD-3's alert-only
 * clusters.
 *
 * > **The lesson, and it is the same one as the `.form-check-input` specificity flip: a scoping
 * > decision is only valid for the selector shape that existed when it was made.** Hop 2 scoped
 * > this to one shape for a good, measured reason. Bootstrap 5 widened its own selector and the
 * > reason evaporated. Every "scoped deliberately to X" comment in this file deserves re-reading
 * > at each hop against the framework's new selector, not just its new values.
 *
 * Still listed as two explicit selectors rather than a bare `.input-group`, so a future
 * *bordered* input-group would keep Bootstrap 5's intended border-collapse behaviour. Both are
 * (0,0,8,0), beating Bootstrap 5's (0,0,7,0) on specificity alone. */
.select-item.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback),
.selectAll.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
  margin-left: 0;
}

.select-item.input-group .input-group-text {
  padding-top: 5px;
  padding-bottom: 7px;
}

/* ############################################################################
 * ############################################################################
 * HOP 3 — Bootstrap 4.6.2 -> 5.3.8
 * ############################################################################
 * ############################################################################
 *
 * Unlike Hop 2, `--bs-*` custom properties DO exist here — Bootstrap 5 is the first version to
 * ship them. But rule zero still applies to every one: confirm the token is declared AND
 * consumed in 5.3.8's own stylesheet, and check whether a consumer re-declares it on itself, in
 * which case a `:root` override is inert. Both tokens used below were verified that way.
 *
 * 🔢 NUMBERING, so it does not read as a mistake: the Hop 3 sections are numbered 21 upward but
 * sit PHYSICALLY BEFORE section 20. Section 20 must remain the last block in the file — that is
 * its entire reason for existing (it patches the hole an `!important` colour pin punches in the
 * print reset, which only works from the very end). Its number is also cited throughout
 * BOOTSTRAP_MIGRATION_PLAN.md and BOOTSTRAP_MIGRATION_STATE.md, so renumbering it would
 * invalidate those references. Section order in this file is cascade-significant; section
 * NUMBERS are just labels. Anything added after this point goes before section 20.
 *
 * Scope note, recorded because the zeros are load-bearing: RFS needed NO new rules at this hop.
 * Bootstrap 5 applies fluid `calc()` font-sizes to `h1`-`h4`, `.h1`-`.h4`, `legend`,
 * `.display-1..6` and `.fs-1..4`. Parity section 2 already pins `.h1,h1` through `.h6,h6` flat in
 * px and section 9 already pins `legend`, all at equal-or-better specificity and later source
 * order, so they beat both the base rule and its `@media (min-width:1200px)` companion at every
 * viewport. `.display-*` and `.fs-*` are censused at ZERO. P-1's overlay decomposition paid for
 * RFS in advance. Same story for the container's new `xxl` tier: Bootstrap 5 adds
 * `@media (min-width:1400px) { .container { max-width: 1320px } }`, and section 10's
 * `max-width: 1170px` at the 1200 tier still matches at 1400+ and wins on source order.
 * ============================================================================
 * 21. Grid gutters — Bootstrap 5 relocates column padding onto `.row > *`
 * ============================================================================
 * `out-of-guide-breaks.md` 26a, and it is the Bootstrap 5 analogue of section 8's float/flex
 * change: nothing is renamed, so no census counts it. Measured in 5.3.8:
 *
 *   base `.col-*` rule          DELETED ENTIRELY (4.6.2 had position/width/padding on it)
 *   `.row > *`  (bootstrap.css:800)   flex-shrink:0; width:100%; max-width:100%;
 *                                     padding-right/left: calc(var(--bs-gutter-x) * .5);
 *                                     margin-top: var(--bs-gutter-y)
 *   `.row`                            --bs-gutter-x: 1.5rem  -> 12px per side, -12px margins
 *   `.col-xl-1`                       flex: 0 0 auto; width: 8.333%   (was flex-basis + max-width)
 *
 * TWO separate deltas, and they need different fixes.
 *
 * --- (a) the VALUE: 15px -> 12px, on every column and every container ---
 * Bootstrap 3 and 4 both used a 30px gutter (15px per side, `.row` margins -15px). Bootstrap 5's
 * `1.5rem` is 24px, i.e. 12px per side. Pinning the token restores the whole family at once —
 * column padding, `.row`'s negative margins, and `.container`'s own padding, which also reads it.
 *
 * ⚠️ Rule zero, verified: `--bs-gutter-x` is declared on `.row` AND on the `.container*` group,
 * each **on themselves**. So a `:root` override would be INERT — an own-element declaration beats
 * an inherited one. The pin must name those elements, exactly as `parity-shim.md` Step 4 says.
 * `--bs-gutter-y` is 0 in both versions, so `.row`'s `margin-top` and `.row > *`'s `margin-top`
 * are both 0 and need no pin.
 */
.row,
.container,
.container-fluid,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
  --bs-gutter-x: 30px;
}

/* --- (b) the LOCATION: `.row > *` is UNIVERSAL, and Bootstrap 3/4 padded `.col-*` only ---
 *
 * This is the half that bites in both directions. Bootstrap 5 pads *every* direct child of a
 * `.row`, column or not. Censused with a real tag-tree walk over the views (a regex cannot do
 * it — `.row` elements nest, so "the line after" reports the nested row): **56 direct children
 * are columns and 10 are NOT.** The non-columns would each gain 15px of padding per side that
 * they have never had:
 *
 *   .select-item.input-group  x3   THE CHIPS — the app's most-repeated visible element, and the
 *                                  thing section 19a already governs. 30px of content width each
 *   .form-check               x1   _FileListPartial's radio wrapper. Section 15 pins its
 *                                  padding-LEFT to 0 and ties with `.row > *` at (0,0,1,0),
 *                                  winning on source order — but padding-RIGHT is unpinned, so it
 *                                  would gain 15px on the right only. A half-visible asymmetry
 *   div.row                   x3   nested rows (FileConfirmation x2, _SmallPrintPartial x1)
 *   legend                    x1   _FileListPartial
 *   br                        x2   inert — no box to pad meaningfully
 *
 * So 8 of the 10 are real. The reset is justified rather than speculative.
 *
 * 🔴 ORDER IS LOAD-BEARING. `.row > *` and a bare column class are BOTH (0,0,1,0), so for a
 * column that IS a direct `.row` child they tie and source order decides. The reset must come
 * FIRST; written the other way round, every column ends up with no padding at all. 26a states
 * this explicitly and it is the documented way to get this wrong.
 */
.row > * {
  padding-right: 0;
  padding-left: 0;
}

/* --- (c) the SAME rule also introduces `width: 100%; max-width: 100%` ---
 *
 * 🔴 (b) above relocated the PADDING off `.row > *` and missed that `bootstrap.css:800` declares
 * three more properties in the same block, none of which Bootstrap 3 or 4 had on a row's children:
 *
 *   .row > * {  flex-shrink: 0;  width: 100%;  max-width: 100%;  padding-*: ...  }
 *
 * `width: 100%` and `width: auto` compute the SAME used width for an ordinary block child, so
 * 8 of the 10 censused non-columns show no delta — and `.input-group` (BS5) and `legend` (Reboot)
 * each declare `width: 100%` on themselves regardless. The two values diverge only when the child
 * has horizontal MARGINS, because `auto` resolves against the containing block *after* margins
 * while `100%` ignores them. That is exactly the 3 nested `.row` elements, which carry §8's
 * restored `margin: 0 -15px`:
 *
 *   FileConfirmation @320   div.row  (nested in .row.product-select)
 *       width  320 -> 290      (auto = 290 + 30; 100% = 290)
 *     the col-12 inside inherits it, and its 15px gutters leave the paragraph 260 instead of 290:
 *       p[2]   rect 15,672.3,290,100  ->  15,672.3,260,120
 *     one extra wrapped line = +20px of page height, which propagated to `/` and every element
 *     below it. 14.2% of the viewport at 320, and the whole `files_confirmation*` height delta
 *     at 320/375/499/500.
 *
 * Scoped to `.row > .row` (0,0,2,0) rather than reset on `.row > *`: a blanket `width: auto`
 * there would outrank every `.col-*` width rule (0,0,1,0, and this file loads last), collapsing
 * the entire grid — the same order trap (b) documents for padding, in its other form.
 * `flex-shrink: 0` is inert under §8's float model and is left alone. */
.row > .row {
  width: auto;
  max-width: none;
}


/* ============================================================================
 * 22. Bare `a` loses its `text-decoration: none` — every link, every page
 * ============================================================================
 * Bootstrap 5 UNDERLINES links by default. Bootstrap 3 and Bootstrap 4 both did not:
 *
 *   BS 3.4.1 / 4.6.2   a { text-decoration: none }
 *   BS 5.3.8           a { text-decoration: underline }
 *
 * This is sitewide and highly visible — every link in the header, footer, alerts, tables and
 * forms — and it is NOT in `class-map-4-to-5.md` or `out-of-guide-breaks.md`. (Item 24a covers
 * the PRINT link-underline rule, which is a different thing entirely.) The re-derived
 * `hoprisk` report caught it in LIVE + CHANGED, which is the section session 1 recorded as the
 * one that gets skipped and where most actionable items live:
 *
 *   a
 *       color: #007bff -> rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1))
 *       text-decoration: none -> underline
 *       background-color: transparent -> (absent)
 *
 * Neither of the app's own two `a` rules (`styles.css:18` and `:442`) declares
 * `text-decoration`, so nothing downstream would have caught it. Parity §3 pins `a:hover` and
 * `a:focus` but deliberately not the resting state, so it does not reach this either.
 *
 * `color` is NOT pinned: `styles.css:442 a { color: #1D7696 }` loads after both Bootstrap and
 * this file, so the app already wins that one and a pin here would be a rule with no delta.
 * `background-color: transparent` disappearing is the initial value, so also inert.
 */
a {
  text-decoration: none;
}


/* ============================================================================
 * 23. Tables — Bootstrap 5 moves striping onto the CELLS, and adds a bottom border
 * ============================================================================
 * `out-of-guide-breaks.md` item 14 and `class-map-4-to-5.md`'s `.table` rows, both confirmed by
 * reading 5.3.8:
 *
 *   .table > :not(caption) > * > *                  padding: .5rem .5rem;
 *                                                   background-color: var(--bs-table-bg);
 *                                                   border-bottom-width: var(--bs-border-width);
 *                                                   box-shadow: inset 0 0 0 9999px
 *                                                     var(--bs-table-bg-state,
 *                                                       var(--bs-table-bg-type, ...))
 *   .table-striped > tbody > tr:nth-of-type(odd) > *   --bs-table-bg-type: var(--bs-table-striped-bg)
 *
 * 🔴 **Section 11b's row-level stripe pin is DEFEATED by this and had to be re-expressed.** At
 * Hop 2 the stripe lived on the `<tr>` and section 11b pinned `#f9f9f9` there. Bootstrap 5 paints
 * every CELL with an opaque `background-color` plus a 9999px inset box-shadow, so a row-level
 * background is simply covered over. This is the documented mechanism that silently breaks every
 * app doing `tr.status-overdue { background-color: ... }`.
 *
 * The fix works WITH Bootstrap 5's mechanism rather than against it: pin the token the striping
 * rule already reads, and Bootstrap's own box-shadow paints the right colour. Rule zero checked —
 * `--bs-table-striped-bg` is declared on `.table` and consumed by the `nth-of-type(odd) > *` rule,
 * so setting it on `.table` reaches the cells. Fighting the box-shadow directly would have meant
 * out-specifying a (0,0,1,1) universal-descendant selector and then also neutralising the opaque
 * `background-color` underneath it — more rules, same result.
 *
 * Value is the baseline's measured `rgb(249, 249, 249)`, unchanged from section 11b. Note
 * Bootstrap 5's own default is `rgba(var(--bs-emphasis-color-rgb), 0.05)`, i.e. the same
 * 7/255-below-tolerance trap section 11b documents — it would again read as clean on a
 * default-tolerance run and only show under `-Strict`.
 */
.table {
  --bs-table-striped-bg: #f9f9f9;
  /* Bootstrap 5 also makes every cell's background OPAQUE: the cell rule declares
   * `background-color: var(--bs-table-bg)` and `--bs-table-bg` defaults to `var(--bs-body-bg)`,
   * i.e. white. Bootstrap 3 and 4 left cells TRANSPARENT and let the container show through.
   *
   * `pin-probe` caught this as `got rgb(255,255,255) want rgba(0,0,0,0)`. It is very nearly
   * invisible — the container behind these tables is white, so white-on-white renders the same —
   * which is precisely why it is pinned rather than accepted: `class-map-4-to-5.md` warns the
   * difference becomes visible "the moment the table OVERFLOWS its container at a narrow
   * viewport, where the overflow used to show the page background through a transparent cell".
   * The page background here is `#f1f2f6` (styles.css `body`), not white, so an overflow would
   * show white cells against grey — at exactly the narrow widths a desktop eye never checks.
   * Restoring the baseline's transparent cells removes the hazard for one declaration.
   *
   * Striping is unaffected: the stripe is painted by the cell rule's `box-shadow`, which reads
   * `--bs-table-bg-type` / `--bs-table-accent-bg`, not `--bs-table-bg`. Verified by the probe
   * assertions on odd and even rows. */
  --bs-table-bg: transparent;

  /* 🔴 Bootstrap 5 also moves `color` onto the CELL rule, which defeats section 11's pin the same
   * way the stripe defeated 11b — and this one is plainly visible, not white-on-white.
   *
   *   BS 3.4.1   cells inherit; `.table` has no colour at all
   *   BS 4.6.2   .table { color: #212529 }                     -> section 11 pins `.table`, cells INHERIT it
   *   BS 5.3.8   .table > :not(caption) > * > * { color: ... }  -> set ON THE CELL, inheritance never happens
   *
   * So section 11's `.table { color: #434a54 }` still wins on the `<table>` element — the dumps
   * confirm `.table` is `rgb(67,74,84)` in both builds — and is then irrelevant, because every
   * `<td>` has its own colour. Measured on `home_no-pay@1920`:
   *
   *   table            rgb(67,74,84)  ->  rgb(67,74,84)    (pin holds, and does nothing)
   *   tbody/tr/td[1-3] rgb(67,74,84)  ->  rgb(0,0,0)       #434a54 -> #000 on all body text
   *
   * That is the whole of `home_no-pay`'s ~2,450px per capture: word-sized clusters (55x13, 59x13,
   * 75x13) scattered through the table, which is what a text-COLOUR change looks like versus the
   * page-wide displacement a geometry change produces. `thead th` is unaffected — styles.css
   * paints those white at higher specificity.
   *
   * Pinned the same way as the stripe: set the token Bootstrap's own rule reads, rather than
   * out-specifying `(0,0,1,1)` on a universal-descendant selector. `inherit` restores exactly the
   * BS3 behaviour (cells inherit from the table, which section 11 pins) instead of restating
   * `#434a54` in a second place.
   *
   * BOTH tokens are required, because the cell rule's fallback chain is
   * `var(--bs-table-color-state, var(--bs-table-color-type, var(--bs-table-color)))` and
   * `.table-striped > tbody > tr:nth-of-type(odd) > *` sets
   * `--bs-table-color-type: var(--bs-table-striped-color)` — so on ODD rows the striped token
   * governs and pinning only `--bs-table-color` would fix the even rows alone. All three tables in
   * the app are `.table-striped` (FileConfirmation:22, FileReceipt:24, FileReceiptNoPay:16), and
   * `home_no-pay`'s table has a single row, which is odd — so the striped token is the one that
   * was actually painting black there. `--bs-table-active-color` / `--bs-table-hover-color` are
   * NOT pinned: no `.table-hover` or `.table-active` exists in any view, so they are inert. */
  --bs-table-color: inherit;
  --bs-table-striped-color: inherit;
}

/* Bootstrap 5 adds `border-bottom-width` to every cell. Bootstrap 3 and 4 separated rows with
 * border-TOP only and never set a bottom border, so this is an arriving rule that would put a
 * second line under every row — and doubled lines between rows, since the row below still has
 * its border-top.
 *
 * 🔴 ORDER MATTERS, and `class-map-4-to-5.md` says so explicitly: this reset must be placed
 * BEFORE any rule that re-establishes a header underline. Section 11's
 * `.table > thead > tr > th { border-bottom: 2px solid #ddd }` is such a rule, and it lives
 * EARLIER in this file — so it would be overridden by a later reset. Hence the selector below is
 * deliberately scoped to `tbody`/`tfoot` cells only and leaves `thead` alone, rather than
 * resetting everything and re-adding the header rule here. That keeps section 11 as the single
 * owner of the header underline.
 *
 * Specificity: (0,0,1,3) beats Bootstrap 5's `.table > :not(caption) > * > *` at (0,0,1,1). */
.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th {
  border-bottom-width: 0;
}


/* ============================================================================
 * 24. `--bs-border-radius` — one token, 45 consuming rules, 2px on every corner
 * ============================================================================
 * Bootstrap 3 and Bootstrap 4 both used a **4px** (`0.25rem`) default corner radius.
 * Bootstrap 5 raised it to **6px** (`0.375rem`). That is a sitewide change to every rounded
 * element the app does not already override — and it surfaced from the smallest cluster in the
 * hop, a **6x6 box with 13 differing pixels** at a chip's top-left corner:
 *
 *   .input-group-text  baseline  border-radius: 4px 0px 0px 4px   bg rgb(170,178,189)
 *                      candidate border-radius: 6px 0px 0px 6px   same bg, same rect
 *
 * (The right-hand corners are 0 in both because Bootstrap zeroes them on a non-last child of an
 * `.input-group`; only the left pair is visible, which is why the cluster is 6x6 and not a full
 * border.) The addon has a background from section 9, so its corner actually paints — that is the
 * only reason a 2px radius change shows up at all.
 *
 * ⚠️ Rule zero, and this is the token that BEHAVES WELL, unlike `--bs-gutter-x`:
 *   declared  ONCE, at `bootstrap.css:108`, inside the `:root, [data-bs-theme=light]` block
 *   consumed  by **45** rules
 *   re-declared on a lower element?  **NO**
 * So a `:root` override genuinely reaches all 45 — `parity-shim.md` names this exact token as the
 * effective case. An author `:root {}` TIES on specificity with Bootstrap's
 * `:root, [data-bs-theme=light]` and wins on source order, which this file's placement guarantees.
 *
 * One declaration instead of chasing `--bs-btn-border-radius`, `--bs-alert-border-radius`,
 * `--bs-card-border-radius` and the rest individually — they all default to
 * `var(--bs-border-radius)`, so pinning the root token flows to every component that has not been
 * overridden by the app. (`styles.css` already pins `.btn` and `.navbar`/`.dropdown-menu` to 1px
 * independently, so those are unaffected either way.)
 */
:root {
  --bs-border-radius: 4px;
}

/* Then give it back to real columns only. Selector shape deliberately mirrors section 8's float
 * list, which is already proven on this app's markup — bare `.col-N` plus an attribute match per
 * tier. No `col-xxl-*` entry: censused at zero, and adding one would be a selector that can
 * never match. */
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
.col-7, .col-8, .col-9, .col-10, .col-11, .col-12,
[class*="col-sm-"],
[class*="col-md-"],
[class*="col-lg-"],
[class*="col-xl-"] {
  padding-right: 15px;
  padding-left: 15px;
}


/* ============================================================================
 * 20. Print overrides that MUST come last in this file
 * ============================================================================
 * This section exists purely for source order, and it must remain the final section.
 *
 * Section 17 pins `.text-danger { color: #a94442 !important }`. Bootstrap 4 changed that value
 * AND added `!important`, so the pin had to carry `!important` to reach it at all. The side
 * effect: at (0,0,1,0) with `!important`, it now BEATS section 16's print `* { color: #000
 * !important }` at (0,0,0,0). In the baseline the print reset won this, because Bootstrap 3's
 * `.text-danger` was not `!important`.
 *
 * Measured on the print captures: the validation spans printed `rgb(169,68,66)` where the
 * baseline printed `rgb(0,0,0)`. So restoring the print reset is not enough on its own -- any
 * `!important` colour pin added later in the cascade punches a hole through it, and the hole has
 * to be patched per selector.
 *
 * Putting this inside section 16 does NOT work: section 16 precedes section 17, so at equal
 * specificity and equal `!important` the later rule wins and section 17 would still take it.
 * That was the first attempt, and the probe caught it.
 *
 * **If another `!important` colour pin is ever added to this file, add its print counterpart
 * here.** `.text-danger` is currently the only one.
 */
@media print {
  .text-danger {
    color: #000 !important;
  }

  /* ⚠️ HOP 3 — the `a:not(.btn)` print suppression that lived here has been DELETED, not
   * re-pointed, and the distinction matters.
   *
   * It existed to suppress Bootstrap 4's `@media print { a:not(.btn) { text-decoration:
   * underline } }`. Bootstrap 5 ships exactly ONE `@media print` block and it contains only the
   * `.d-print-*` display utilities — verified by reading 5.3.8 — so the rule it was fighting no
   * longer exists. Re-pointing the selector would have produced a rule with no delta, which
   * `parity-shim.md` forbids; keeping it as-is would have been the same thing wearing a Hop 2
   * label.
   *
   * Print links still print WITHOUT underlines, matching the baseline, because section 22's
   * `a { text-decoration: none }` is not media-gated and therefore applies in print too. The
   * operator judgment call recorded here at Hop 2 — parity says suppress, though an underline
   * is arguably the only remaining link cue once print forces `color: #000` — now rides on that
   * one rule instead. Section 16's restored `a[href]::after` still prints every target URL in
   * parentheses either way, so no information is lost. To let print underlines through, add
   * `@media print { a { text-decoration: underline } }` here rather than editing section 22. */
}
