/* =========================================================================
   MODERNIZE COMPATIBILITY SHIM        ** GENERATED FILE **
   =========================================================================

   Regenerate with scratchpad/gen_compat.py. Do not hand-edit.

   Phase 3 replaced modernize/styles.css with vanilla bootstrap.min.css.
   That file bundled three things, not one: Bootstrap, the Modernize theme,
   and a set of extra utilities. This restores the third.

   Every value here is copied verbatim from the Modernize build, because
   the scale is not guessable:

       p-6 = 12px    p-7 = 30px    p-8 = 10px    p-9 = 20px

   p-8 is smaller than p-7 and p-9 is smaller than both. Writing a sensible
   ladder instead would have silently re-spaced the 62 elements using p-9
   and the 43 using px-7 — a diff no reviewer would catch and no test would
   fail on.

   Some of these OVERRIDE vanilla Bootstrap rather than adding to it:
   Bootstrap defines .fs-6 as 1rem, Modernize as 1.25rem. Dropping the
   override would shrink every heading using it.

   THIS FILE IS DEBT. Each entry marks a place where the markup depends on
   a vendor utility scale instead of the token scale. The right end state
   is markup using --rq-space-* and this file being empty. Until then it is
   an honest inventory of what is still owed.
   ========================================================================= */

.p-9{padding:20px!important}
.px-7{padding-right:30px!important;padding-left:30px!important}
.px-9{padding-right:20px!important;padding-left:20px!important}
.py-8{padding-top:10px!important;padding-bottom:10px!important}
.mx-7{margin-right:30px!important;margin-left:30px!important}
.py-6{padding-top:12px!important;padding-bottom:12px!important}
.p-6{padding:12px!important}
.py-7{padding-top:30px!important;padding-bottom:30px!important}
.mx-9{margin-right:20px!important;margin-left:20px!important}
.gap-6{gap:12px!important}
.gap-8{gap:10px!important}
.mb-9{margin-bottom:20px!important}
.mt-8{margin-top:10px!important}
.pt-8{padding-top:10px!important}
.py-9{padding-top:20px!important;padding-bottom:20px!important}
.fs-1{font-size:.625rem!important}   /* overrides Bootstrap: font-size:calc(1.375rem + 1.5vw)!important */
.fs-2{font-size:.75rem!important}   /* overrides Bootstrap: font-size:calc(1.325rem + .9vw)!important */
.fs-3{font-size:.875rem!important}   /* overrides Bootstrap: font-size:calc(1.3rem + .6vw)!important */
.fs-4{font-size:1rem!important}   /* overrides Bootstrap: font-size:calc(1.275rem + .3vw)!important */
.fs-5{font-size:1.125rem!important}   /* overrides Bootstrap: font-size:1.25rem!important */
.fs-6{font-size:1.25rem!important}   /* overrides Bootstrap: font-size:1rem!important */
.fs-7{font-size:calc(1.275rem + .3vw)!important}
.fs-8{font-size:calc(1.3125rem + .75vw)!important}
.fs-9{font-size:calc(1.35rem + 1.2vw)!important}
.fs-10{font-size:calc(1.375rem + 1.5vw)!important}
.fs-11{font-size:calc(1.40625rem + 1.875vw)!important}
.fs-12{font-size:calc(1.425rem + 2.1vw)!important}

.nav-icon-hover-bg{width:40px;height:40px;margin:0 5px;display:flex;align-items:center;justify-content:center}
.nav-icon-hover-bg:hover{background-color:var(--bs-primary-bg-subtle);color:var(--bs-primary)}
.nav-icon-hover-bg:hover .nav-link{color:var(--bs-primary)!important}

/* A row that lifts on hover. Modernize spelled this as var(--bs-light) in
   light mode and a hardcoded #333f55 inside a nine-selector dark-theme
   group; both become one role. */
.bg-hover-light-black:hover { background: var(--rq-muted); }
