/* ==========================================================================
   THE CHART -- nursing-homes bespoke, presentation v2 (2026-07-07 rework).
   Scope class .nh2 (set on page wrapper). Custom properties defined on .nh2
   (v2 pattern), never :root, so the WP embed can't leak tokens into the theme.

   The two-tier contrast token system is LOCKED (build plan B6, computed WCAG
   ratios, all against linen #FAF7F2): raw Okabe-Ito hues are FILL-ONLY,
   text uses the darkened variants, verdict badges are tint + dark text.
   Material surfaces added in this rework (kraft, manila, sheet) are either
   decorative (no text) or independently computed -- ratios noted inline.

   RUCSS rule: every class in this file either appears in the SERVED HTML
   (server-rendered hero chart seeds the whole chart component family) or is
   applied as INLINE styles from app.js, never as a JS-only class toggle.
   ========================================================================== */

.nh2 {
  /* --- surfaces --- */
  --nh-linen: #FAF7F2;        /* page ground (token-locked) */
  --nh-card: #FFFFFF;         /* chart / sheet fill */
  --nh-ink: #1C2B3A;          /* body ink: 13.50:1 on linen, 14.42:1 on white */
  --nh-ink-soft: #3D4C5B;     /* secondary text: 8.25:1 on linen */
  --nh-stamp: #5C6B7A;        /* sourcing stamp gray: 5.12:1 on linen */
  --nh-rule: #D6DFEA;         /* hairline clinical blue (decorative) */
  --nh-grid: #EDEAE3;         /* faint chart-form grid inside cards (decorative) */
  --nh-feint: #DCE6F0;        /* ruled form feint line (decorative) */

  /* --- material surfaces (rework; decorative or computed) --- */
  --nh-kraft: #B5905A;        /* clipboard board -- decorative, carries no text */
  --nh-kraft-dk: #97744A;     /* clipboard edge */
  --nh-manila: #F0E7D3;       /* folder stock -- ink on it 11.73:1, ink-soft 7.2:1 */
  --nh-manila-dk: #DECFAC;    /* folder edge (decorative) */
  --nh-band: #F1ECE3;         /* CTA band tint -- ink on it > 12:1 */

  /* --- rating FILL tokens (non-text UI only, all >=3:1 vs linen) --- */
  --nh-fill-1: #D55E00;       /* vermilion, 3.62 -- 1-2 stars */
  --nh-fill-3: #B87F00;       /* darkened amber, 3.24 -- 3 stars */
  --nh-fill-5: #009E73;       /* green, 3.20 -- 4-5 stars */
  --nh-fill-0: #C9CFD6;       /* unrated gray (decorative fill) */

  /* --- rating TEXT tokens (all >=4.5:1 on linen) --- */
  --nh-text-1: #9C3F00;       /* 6.29 */
  --nh-text-3: #7A5600;       /* 6.22 */
  --nh-text-5: #006B52;       /* 6.09 */

  /* --- verdict badge tints (tinted fill + dark status text) --- */
  --nh-tint-1: #F9E4D8;       /* #9C3F00 on it = 5.48; ink numeral 11.76 */
  --nh-tint-3: #F7ECD2;       /* #7A5600 on it = 5.66; ink numeral 12.28 */
  --nh-tint-5: #DDF0E8;       /* #006B52 on it = 5.49; ink numeral 12.16 */

  /* --- warnings: never a hue; striped border + icon + word --- */
  --nh-warn-ink: #6B2D00;     /* 9.82:1 on linen */
  --nh-warn-stripe: #C9AE93;

  --nh-maxw: 1200px;
  --nh-masthead: 94px;        /* default; runtime-measured into --nh-ribbon-top */

  color: var(--nh-ink);
  background: var(--nh-linen);
  font-family: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible",
    system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.nh2 *, .nh2 *::before, .nh2 *::after { box-sizing: border-box; }

/* THEME FONT BLEED counter (wp-embed-physics, 2026-07-08 font sweep): the
   wfirm theme ships element-level `body, p, ul, ol, li { font-family:
   var(--text-font) }` (Manrope), which beats wrapper-level font-family
   inheritance on staging (invisible in local previews). Force inheritance
   back inside the page scope. No p/ul/ol/li in this file carries its own
   font-family, so inherit always resolves to Atkinson Hyperlegible Next. */
.nh2 p, .nh2 ul, .nh2 ol, .nh2 li { font-family: inherit; }

.nh2 h1, .nh2 h2, .nh2 h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--nh-ink);
}

/* in-copy links: underlined, never color-alone (axe link-in-text-block) */
.nh2 p a, .nh2 li a, .nh2 figcaption a, .nh2 .nh2-stamp a, .nh2 .nh2-fact__val a {
  color: var(--nh-text-5);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.nh2 p a:hover, .nh2 li a:hover { text-decoration-thickness: 2px; }
.nh2 a:focus-visible, .nh2 button:focus-visible, .nh2 input:focus-visible,
.nh2 select:focus-visible, .nh2 summary:focus-visible {
  outline: 3px solid var(--nh-ink);
  outline-offset: 2px;
  border-radius: 2px;
}

.nh2-wrap { max-width: var(--nh-maxw); margin: 0 auto; padding: 0 clamp(16px, 4vw, 44px); }

/* n1 (Matt 2026-07-23): the pinned ribbon is position:fixed and reserves no
   flow space, so it clips over the H1/content beneath it. Reserve its
   measured height (set by JS as --nh-ribbon-h) on the side it docks to. */
@media (min-width: 780px) {
  .nh2--ribbon-pinned .nh2-wrap { padding-top: var(--nh-ribbon-h, 0px); }
}
@media (max-width: 779px) {
  .nh2--ribbon-pinned .nh2-wrap { padding-bottom: var(--nh-ribbon-h, 0px); }
}

/* printed-form label voice: used for field labels, key box titles, plate tabs */
.nh2-formlab {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--nh-stamp);
}

/* ==========================================================================
   HERO -- the chart is the pitch: copy left, clipboard artifact right
   ========================================================================== */
.nh2-hero {
  padding: clamp(30px, 5vw, 64px) 0 clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (min-width: 980px) {
  .nh2-hero { grid-template-columns: minmax(0, 58fr) minmax(360px, 42fr); }
}

/* form-header kicker: rules either side, printed voice */
.nh2-hero__kicker {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 1.1em;
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--nh-text-1);
}
.nh2-hero__kicker span { min-width: 0; }
.nh2-hero__kicker::before, .nh2-hero__kicker::after {
  content: ""; height: 2px; background: var(--nh-ink); opacity: 0.85; flex: 0 0 34px;
}
.nh2-hero__kicker::after { flex: 1 1 auto; opacity: 0.16; }

.nh2-hero h1 {
  /* merge n16: Marcellus (the legislator-scorecards display face) replaces
     Fraunces for the headline only; 400 is Marcellus's only weight */
  font-family: "Marcellus", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2.3rem, 4vw + 0.9rem, 4.1rem);
  line-height: 1.06;
  margin: 0 0 0.42em;
  max-width: 16ch;
}
.nh2-hero__dek {
  font-size: clamp(1.08rem, 1.2vw + 0.75rem, 1.3rem);
  line-height: 1.55;
  max-width: 54ch;
  color: var(--nh-ink-soft);
  margin: 0 0 1.5em;
}

/* byline: printed chart-label voice under the dek; ink on linen 13.50:1 */
.nh2-hero__byline {
  margin: -0.9em 0 1.7em;
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.13em;
  color: var(--nh-ink);
}
.nh2 .nh2-hero__byline a {
  color: var(--nh-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.nh2 .nh2-hero__byline a:hover { text-decoration-thickness: 2px; }

/* ---------- lookup as a chart-header form field ---------- */
.nh2-lookup { position: relative; max-width: 640px; margin: 0 0 1.9em; }
.nh2-lookup__lab {
  position: absolute; top: -0.62em; left: 14px; z-index: 2;
  padding: 0 8px;
  background: var(--nh-linen);
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.13em;
  color: var(--nh-ink);
}
.nh2-lookup__input {
  width: 100%; font: inherit; font-size: 1.14rem;
  padding: 0.9em 1em 0.82em;
  border: 2px solid var(--nh-ink);
  border-radius: 4px;
  background:
    linear-gradient(var(--nh-card), var(--nh-card)) padding-box;
  color: var(--nh-ink);
  box-shadow: 3px 3px 0 rgba(28, 43, 58, 0.10);
}
.nh2-lookup__input::placeholder { color: var(--nh-stamp); opacity: 1; }
.nh2-lookup__input:focus-visible { outline: 3px solid var(--nh-fill-1); outline-offset: 2px; }
.nh2-lookup__hint { font-size: 0.95rem; color: var(--nh-ink-soft); margin: 0.6em 0 0; }
.nh2-lookup__list {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px);
  list-style: none; margin: 0; padding: 4px;
  background: var(--nh-card);
  border: 1.5px solid var(--nh-ink); border-radius: 6px;
  box-shadow: 5px 6px 0 rgba(28, 43, 58, 0.12);
  display: none;             /* JS opens via inline style, never a class toggle */
  max-height: 60vh; overflow-y: auto;
}
.nh2-lookup__opt {
  display: block; width: 100%; text-align: left;
  padding: 0.55em 0.7em; border-radius: 4px; cursor: pointer;
  background: none; border: 0; font: inherit; color: var(--nh-ink);
}
.nh2-lookup__opt:hover { background: var(--nh-grid); }
.nh2-lookup__opt-name { font-weight: 700; display: block; }
.nh2-lookup__opt-meta { font-size: 0.85rem; color: var(--nh-ink-soft); display: block; }

/* ---------- hero vitals strip: ruled form cells ---------- */
.nh2-keynums {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--nh-ink);
  margin: 0;
}
.nh2-keynum {
  padding: 14px clamp(10px, 1.6vw, 22px) 4px 0;
  border-right: 1px solid var(--nh-rule);
}
.nh2-keynum:last-child { border-right: 0; }
.nh2-keynum + .nh2-keynum { padding-left: clamp(10px, 1.6vw, 22px); }
.nh2-keynum__val {
  font-family: "Fraunces", Georgia, serif; font-weight: 600;
  font-size: clamp(2.3rem, 3.4vw + 0.8rem, 4rem);
  line-height: 1; display: block; letter-spacing: -0.02em;
}
.nh2-keynum__val small {
  font-size: 0.5em; letter-spacing: 0; font-weight: 600;
}
.nh2-keynum__lab {
  display: block; font-size: 0.88rem; line-height: 1.4;
  color: var(--nh-ink-soft); margin-top: 0.5em; max-width: 24ch;
}
.nh2-keynum__dial { display: block; margin: 4px 0 2px; }
.nh2-keynum__dial svg { display: block; width: 100%; max-width: 150px; height: auto; }

/* ---------- the clipboard (hero right column) ---------- */
.nh2-clip {
  position: relative;
  background: linear-gradient(168deg, var(--nh-kraft) 0%, var(--nh-kraft-dk) 100%);
  border-radius: 10px;
  padding: clamp(30px, 3vw, 38px) clamp(12px, 1.6vw, 18px) clamp(14px, 2vw, 20px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -2px 4px rgba(60, 40, 10, 0.28),
    0 18px 34px -18px rgba(28, 43, 58, 0.45),
    0 4px 10px rgba(28, 43, 58, 0.12);
  transform: rotate(1.1deg);
}
@media (max-width: 979px) { .nh2-clip { max-width: 560px; transform: rotate(0.6deg); } }
/* the spring clip */
.nh2-clip__clip {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  width: 118px; height: 30px; z-index: 3;
  background: linear-gradient(180deg, #E8EBEF 0%, #AEB6BF 46%, #8D96A1 52%, #C6CCD3 100%);
  border-radius: 7px 7px 9px 9px;
  border: 1px solid #7A828C;
  box-shadow: 0 3px 5px rgba(28, 43, 58, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.nh2-clip__clip::after {
  content: ""; position: absolute; left: 50%; top: 7px;
  width: 34px; height: 9px; transform: translateX(-50%);
  border-radius: 5px;
  background: linear-gradient(180deg, #6E7680, #9AA2AC);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4);
}
.nh2-hero__note {
  margin: 14px 4px 0;
  font-size: 0.9rem; line-height: 1.5;
  color: var(--nh-stamp);
  max-width: 46ch;
}

/* ==========================================================================
   FACILITY CHART -- the sheet on the clipboard (also rendered by app.js)
   ========================================================================== */
.nh2-chart {
  position: relative;
  background:
    repeating-linear-gradient(transparent 0 27px, var(--nh-feint) 27px 28px),
    var(--nh-card);
  background-position: 0 84px;
  border: 1px solid #E3DED4;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(28, 43, 58, 0.12), 0 6px 16px -8px rgba(28, 43, 58, 0.22);
  overflow: hidden;
}
.nh2-chart--open {
  scroll-margin-top: calc(var(--nh-ribbon-top, var(--nh-masthead)) + 16px);
}
/* perforated top edge: punched holes */
.nh2-chart__perf {
  height: 14px;
  background:
    radial-gradient(circle at 8px 7px, rgba(28, 43, 58, 0.18) 3px, transparent 3.6px) 0 0 / 24px 14px repeat-x,
    linear-gradient(var(--nh-linen), var(--nh-linen));
  border-bottom: 1px dashed #CDC7BA;
}
.nh2-chart__head {
  display: flex; flex-wrap: wrap; gap: 14px 18px;
  align-items: flex-start; justify-content: space-between;
  padding: clamp(14px, 2.4vw, 22px) clamp(14px, 2.4vw, 22px) 0;
}
.nh2-chart__id { flex: 1 1 240px; min-width: 0; }
.nh2-chart__name { font-size: clamp(1.3rem, 2vw, 1.72rem); margin: 0.15em 0 0; line-height: 1.1; }
.nh2-chart__loc { margin: 0.35em 0 0; color: var(--nh-ink-soft); font-size: 0.95rem; }
.nh2-chart__ccn {
  display: inline-block; margin-left: 8px; padding: 0 6px;
  border: 1px solid var(--nh-rule); border-radius: 3px;
  font-size: 0.78rem; letter-spacing: 0.06em; color: var(--nh-stamp);
}

/* verdict block: the loudest thing on the sheet */
.nh2-verdict {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto;
  column-gap: 14px; align-items: center;
  padding: 12px 18px 12px 14px;
  border-radius: 4px;
  border: 1.5px solid rgba(28, 43, 58, 0.16);
  min-width: 220px;
}
.nh2-verdict__num {
  grid-row: 1 / 3;
  font-family: "Fraunces", Georgia, serif; font-weight: 600;
  font-size: 3rem; line-height: 0.95; color: var(--nh-ink);
}
.nh2-verdict__word { font-weight: 700; font-size: 1.05rem; letter-spacing: 0.02em; }
.nh2-verdict__scale { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--nh-ink-soft); }
.nh2-verdict--1, .nh2-verdict--2 { background: var(--nh-tint-1); }
.nh2-verdict--1 .nh2-verdict__word, .nh2-verdict--2 .nh2-verdict__word { color: var(--nh-text-1); }
.nh2-verdict--3 { background: var(--nh-tint-3); }
.nh2-verdict--3 .nh2-verdict__word { color: var(--nh-text-3); }
.nh2-verdict--4, .nh2-verdict--5 { background: var(--nh-tint-5); }
.nh2-verdict--4 .nh2-verdict__word, .nh2-verdict--5 .nh2-verdict__word { color: var(--nh-text-5); }
.nh2-verdict--0 { background: var(--nh-grid); }
.nh2-verdict--0 .nh2-verdict__word { color: var(--nh-ink-soft); }
/* n7 (Matt 2026-07-24): the statewide average verdict is bad news (2.7 vs
   3.0 national), not neutral -- same faint-red tint as a 1-2 star facility. */
.nh2-verdict--warn { background: var(--nh-tint-1); }
.nh2-verdict--warn .nh2-verdict__word { color: var(--nh-text-1); }

/* warning band -- striped border + icon + word, no hue */
.nh2-warnband {
  display: flex; align-items: center; gap: 12px;
  margin: 14px clamp(14px, 2.4vw, 22px) 0;
  padding: 10px 14px;
  font-weight: 700; color: var(--nh-warn-ink);
  background: var(--nh-card);
  border: 2px solid var(--nh-warn-stripe);
  border-image: repeating-linear-gradient(45deg, var(--nh-warn-stripe) 0 6px, transparent 6px 12px) 2;
}
.nh2-warnband__icon { flex: 0 0 auto; width: 22px; height: 20px; }
.nh2-warnband small { display: block; font-weight: 400; color: var(--nh-ink-soft); font-size: 0.85rem; line-height: 1.4; }

/* vitals: four printed form cells */
.nh2-vitals {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--nh-rule);
  margin: 16px clamp(14px, 2.4vw, 22px) 0;
  border: 1px solid var(--nh-rule); border-radius: 4px; overflow: hidden;
}
.nh2-vital { background: var(--nh-card); padding: 10px 4px 12px; text-align: center; }
/* ^ horizontal padding 8px -> 4px (2026-07-10 variant B): the 4-up vitals grid
   min-content (wide fines badges like $277,501, or the statewide card's tiles)
   exceeded the 360px clipboard track sum by ~20px and the container's
   overflow:hidden clipped the 4th tile. -8px per tile recovers 32px of
   min-content; both cases now fit inside the clipboard. Nothing else changed. */
.nh2-vital__lab {
  display: block; font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.11em;
  color: var(--nh-stamp); margin-bottom: 6px;
}
.nh2-vital__badge {
  display: inline-flex; align-items: baseline; gap: 4px;
  padding: 3px 10px; border-radius: 3px; font-weight: 700;
}
.nh2-vital__badge b { font-family: "Fraunces", Georgia, serif; font-size: 1.2rem; }
.nh2-vital__badge small { font-weight: 400; font-size: 0.72rem; color: var(--nh-ink-soft); }
.nh2-b1, .nh2-b2 { background: var(--nh-tint-1); color: var(--nh-text-1); }
.nh2-b3 { background: var(--nh-tint-3); color: var(--nh-text-3); }
.nh2-b4, .nh2-b5 { background: var(--nh-tint-5); color: var(--nh-text-5); }
.nh2-b0 { background: var(--nh-grid); color: var(--nh-ink-soft); }
/* n8/n9 (Matt 2026-07-24): the state-rank and abuse-warning vitals are bad
   news even though neither is a literal star rating, so nh2-b0's neutral
   gray undersold them. Faint red matches the page's existing 1-2-star tint;
   the abuse count gets the darker abuse-icon red already used on its ring
   mark elsewhere on the page, so the two stay visually distinct. */
.nh2-b0--warn { background: var(--nh-tint-1); color: var(--nh-text-1); }
.nh2-b0--danger { background: var(--nh-warn-ink); color: #fff; }
.nh2-b0--danger small { color: rgba(255, 255, 255, 0.78); }

/* minutes-of-care scale */
.nh2-minutes { padding: 18px clamp(14px, 2.4vw, 22px) 0; }
.nh2-minutes__lab {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.11em; color: var(--nh-stamp); margin: 0 0 12px;
}
.nh2-scale { position: relative; height: 52px; }
.nh2-scale__track {
  position: absolute; left: 0; right: 0; top: 32px; height: 6px;
  background: var(--nh-grid); border: 1px solid var(--nh-rule); border-radius: 3px;
}
.nh2-scale__mark { position: absolute; top: 24px; width: 2px; height: 22px; background: var(--nh-ink-soft); transform: translateX(-1px); }
.nh2-scale__mark span {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  white-space: nowrap; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.04em; color: var(--nh-ink-soft);
}
.nh2-scale__you {
  position: absolute; top: 27px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--nh-fill-1); border: 2.5px solid var(--nh-card);
  transform: translateX(-9px); box-shadow: 0 0 0 1.5px var(--nh-fill-1);
}
/* n1/n2 (Matt 2026-07-24 round 7): peach sprites, shown crisp (no blend-mode wash --
   round 6's opacity+mix-blend-mode desaturated the character art against the light
   card backgrounds). Transparent PNG crops from peach2.png sprites 4/8/1. */
.nh2-uni__callout-peach { position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%) scaleX(-1); width: 60px; height: 60px; object-fit: contain;
  pointer-events: none; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15)); }
/* Round 9 (Matt): Peachy sits in the clipboard whitespace BELOW the scale line,
   not on it; .nh2-scale--peach opens the room so he clears the dashed divider. */
.nh2-scale--peach { height: 104px; }
.nh2-scale__peach { position: absolute; width: 68px; height: 68px; object-fit: contain;
  top: 42px; left: 2px; pointer-events: none;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15)); }
.nh2-scale__you span {
  position: absolute; top: 17px; left: 50%; transform: translateX(-50%);
  white-space: nowrap; font-weight: 700; font-size: 0.82rem; color: var(--nh-text-1);
}

/* chart footer: form-field facts + stamp */
.nh2-chart__foot { padding: 18px clamp(14px, 2.4vw, 22px) clamp(14px, 2.4vw, 20px); }
.nh2-chart__facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px 20px; margin-bottom: 12px;
}
.nh2-fact { border-bottom: 1px dotted var(--nh-stamp); padding-bottom: 4px; }
.nh2-fact__lab {
  display: block; font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.11em; color: var(--nh-stamp);
}
.nh2-fact__val { font-weight: 700; font-size: 0.98rem; }
.nh2-fact--hot .nh2-fact__val { color: var(--nh-text-1); }
.nh2-chart__actions { margin: 2px 0 14px; }
.nh2-stamp {
  font-size: 0.8rem; line-height: 1.5; color: var(--nh-stamp);
  border-top: 1px solid var(--nh-rule); padding-top: 10px; margin: 0;
}
.nh2-stamp a { color: var(--nh-stamp); text-decoration: underline; text-underline-offset: 2px; }
/* the inked date stamp */
.nh2-stamp__ink {
  display: inline-block; margin: 0 6px 2px 0; padding: 1px 8px;
  border: 2px solid var(--nh-stamp); border-radius: 3px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  transform: rotate(-2deg);
}

/* pin chip / control chips */
.nh2-chip {
  font: inherit; font-size: 0.9rem; font-weight: 700;
  padding: 6px 14px;
  border: 1.5px solid var(--nh-ink); border-radius: 999px;
  background: var(--nh-card); color: var(--nh-ink); cursor: pointer;
}
.nh2-chip:hover { background: var(--nh-grid); }
.nh2-chip[aria-pressed="true"] { background: var(--nh-ink); color: var(--nh-card); }

/* ==========================================================================
   ACT SCAFFOLDING -- chart-divider plates + editorial two-column heads
   ========================================================================== */
.nh2-act { padding: clamp(44px, 7vw, 88px) 0 0; }
.nh2-act__plate {
  display: flex; align-items: center; gap: 0;
  border-bottom: 2px solid var(--nh-ink);
  margin: 0 0 clamp(18px, 3vw, 30px);
}
.nh2-act__tab {
  display: inline-block;
  background: var(--nh-manila);
  border: 1px solid var(--nh-manila-dk); border-bottom: 0;
  border-radius: 7px 7px 0 0;
  padding: 7px 18px 5px;
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--nh-ink);
  transform: translateY(1px);
}
.nh2-act__tab b { color: var(--nh-text-1); font-weight: 700; letter-spacing: 0.15em; }
.nh2-act__head {
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 3vw, 48px);
  margin-bottom: clamp(10px, 2vw, 22px);
}
@media (min-width: 920px) {
  .nh2-act__head { grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); }
}
.nh2-act h2 {
  font-size: clamp(1.8rem, 2.4vw + 0.75rem, 3rem);
  line-height: 1.08;
  margin: 0;
  max-width: 22ch;
}
.nh2-act__lede { max-width: 62ch; }
.nh2-act__follow { margin-top: 1.3em; }
.nh2-act__lede p { margin: 0 0 1em; }
.nh2-act__lede p:last-child { margin-bottom: 0; }
.nh2-act__lede b { font-weight: 700; }
.nh2-act--sober h2 { color: var(--nh-warn-ink); }
.nh2-stamp--block { margin-top: 1.3em; border-top: 0; padding-top: 0; }

/* ---------- the census sheet that artifacts sit on ---------- */
.nh2-sheet {
  background:
    repeating-linear-gradient(transparent 0 33px, var(--nh-feint) 33px 34px),
    var(--nh-card);
  border: 1px solid #E3DED4;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(28, 43, 58, 0.1),
    0 10px 22px -14px rgba(28, 43, 58, 0.25);
  padding: clamp(16px, 2.6vw, 28px);
  margin: 1.4em 0 0;
}

/* ---------- key findings: a chart-summary panel on a census sheet ---------- */
.nh2-findings { margin: 0 0 clamp(8px, 1.4vw, 16px); }
/* merge n20: the ruled "page lines" now belong to the LIST, locked to its
   34px line grid, so every line of text sits on a line. The sheet itself
   goes plain so the two rulings can't drift apart. */
.nh2-findings__sheet { margin-top: 0; background: var(--nh-card); }
.nh2-findings__head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px;
  border-bottom: 2px solid var(--nh-ink);
  padding-bottom: 10px;
}
.nh2-findings__head h2 {
  font-size: clamp(1.5rem, 1.3vw + 1rem, 1.9rem);
  margin: 0; line-height: 1.05;
}
.nh2-findings__head .nh2-formlab { margin-left: auto; align-self: center; }
.nh2-findings__list {
  list-style: none; margin: 0; padding: 0;
  line-height: 1.5;
}
.nh2-findings__list li {
  position: relative;
  padding: 11px 0 11px 40px;
  max-width: 74ch;
  font-size: 0.98rem;
  border-bottom: 1px solid var(--nh-grid);
}
.nh2-findings__list li:last-child { border-bottom: 0; }
/* n1 (Matt 2026-07-24): themed icon per finding, replacing the plain
   checkbox tick -- reuses motifs already established elsewhere on the page
   (dashed circle = abuse/SFF, stacked bars = operator portfolio tiles). */
.nh2-findings__icon {
  position: absolute; left: 0; top: 9px;
  width: 26px; height: 26px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--nh-tint-1); color: var(--nh-text-1);
}
.nh2-findings__icon svg { width: 15px; height: 15px; }
.nh2-findings__cite {
  margin: 14px 0 0;
  font-size: 0.86rem; line-height: 1.55;
  color: var(--nh-stamp);
}
.nh2-findings__cite .nh2-formlab { display: inline; margin-right: 8px; }
.nh2 .nh2-findings__cite a {
  color: var(--nh-stamp);
  text-decoration: underline; text-underline-offset: 2px;
}
@media (max-width: 700px) {
  .nh2-findings__head .nh2-formlab { margin-left: 0; order: -1; flex: 1 0 100%; }
}

/* nh2-legend__item / __sw / __ring are live (used inside .nh2-uni__legend, the
   map legend); their shared rules stay below alongside the operator tiles. */
.nh2-legend__item { display: inline-flex; align-items: center; gap: 7px; font-weight: 400; color: var(--nh-ink-soft); }
.nh2-legend__sw { width: 15px; height: 15px; border-radius: 3px; display: inline-block; box-shadow: inset 0 0 0 1px rgba(28,43,58,0.18); }
.nh2-legend__sw.nh2-r0 { background: var(--nh-fill-0); }
.nh2-legend__sw.nh2-r1 { background: var(--nh-fill-1); }
.nh2-legend__sw.nh2-r3 { background: var(--nh-fill-3); }
.nh2-legend__sw.nh2-r4 { background: var(--nh-fill-5); }

.nh2-tile {
  width: 32px; height: 32px; border: 0; border-radius: 3px; padding: 0;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-family: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, sans-serif;
  color: var(--nh-ink); position: relative;
  box-shadow: inset 0 -2px 0 rgba(28, 43, 58, 0.14);
}
.nh2-tile__r { font-size: 1.185rem; font-weight: 700; }   /* 19px bold = WCAG large */
.nh2-tile.nh2-r1, .nh2-tile.nh2-r2 { background: var(--nh-fill-1); }
.nh2-tile.nh2-r3 { background: var(--nh-fill-3); }
.nh2-tile.nh2-r4, .nh2-tile.nh2-r5 { background: var(--nh-fill-5); }
.nh2-tile.nh2-r0 { background: var(--nh-fill-0); }
.nh2-tile--flagged::after {
  content: ""; position: absolute; top: 2px; right: 2px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--nh-ink); box-shadow: 0 0 0 1.5px var(--nh-card);
}
.nh2-tile:focus-visible { outline: 3px solid var(--nh-ink); outline-offset: 2px; z-index: 2; }
/* dimming is applied inline by JS (RUCSS-safe); this rule only covers no-JS */
.nh2-tile--dim { opacity: 0.12; pointer-events: none; }

/* ==========================================================================
   ACT 2 -- minutes
   ========================================================================== */
.nh2-daybar { margin: 0; }
.nh2-daybar figcaption { font-size: 0.95rem; color: var(--nh-ink-soft); margin-top: 0.7em; }
.nh2-daybar b { color: var(--nh-ink); }
.nh2-daybar--sheeted { margin: 1.4em 0 0; }
/* ==========================================================================
   ACT 3 -- operator report cards as manila folders
   ========================================================================== */
.nh2-op-cards { margin: 1.6em 0 0; display: grid; gap: 16px; }
.nh2-op-card {
  position: relative;
  background: var(--nh-manila);
  border: 1px solid var(--nh-manila-dk);
  border-radius: 3px 10px 3px 3px;
  box-shadow: 0 1px 2px rgba(28, 43, 58, 0.1), 0 8px 18px -12px rgba(28, 43, 58, 0.3);
}
.nh2-op-card::before {         /* folder tab */
  content: ""; position: absolute; top: -9px; left: 14px;
  width: 92px; height: 10px;
  background: var(--nh-manila);
  border: 1px solid var(--nh-manila-dk); border-bottom: 0;
  border-radius: 6px 6px 0 0;
}
.nh2-op-card > summary {
  list-style: none; cursor: pointer;
  padding: 15px 18px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 4px 16px; align-items: center;
}
.nh2-op-card > summary::-webkit-details-marker { display: none; }
.nh2-op-card__rank {
  font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.5rem;
  color: var(--nh-ink-soft);
}
.nh2-op-card__name { font-weight: 700; font-size: 1.14rem; }
.nh2-op-card__sub { grid-column: 2; font-size: 0.9rem; color: var(--nh-ink-soft); }
.nh2-op-card__avg { text-align: right; }
.nh2-op-card__avg b { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.8rem; }
.nh2-op-card__avg small {
  display: block; font-size: 0.68rem; font-weight: 700; color: var(--nh-ink-soft);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.nh2-op-card__body {
  margin: 0 10px 10px; padding: 14px;
  background: var(--nh-card);
  border: 1px solid var(--nh-manila-dk); border-radius: 3px;
}
.nh2-op-portfolio { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.nh2-op-portfolio .nh2-tile { cursor: default; }
.nh2-op-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px;
  background: var(--nh-rule); border: 1px solid var(--nh-rule); border-radius: 4px; overflow: hidden; }
.nh2-op-list li { background: var(--nh-card); }
.nh2-op-list button {
  width: 100%; text-align: left; background: none; border: 0; font: inherit;
  color: var(--nh-ink); cursor: pointer; padding: 9px 12px;
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
}
.nh2-op-list button:hover { background: var(--nh-grid); }
.nh2-op-list__meta { font-size: 0.85rem; color: var(--nh-ink-soft); white-space: nowrap; }

/* ==========================================================================
   ACT 4 -- warnings (sober paper register)
   ========================================================================== */
.nh2-warn-list {
  margin: 1.6em 0 0; display: grid; gap: 1px;
  background: var(--nh-rule); border: 1px solid var(--nh-rule);
  border-radius: 3px; overflow: hidden;
}
.nh2-warn-row {
  background: var(--nh-card); display: grid;
  grid-template-columns: 1fr auto; gap: 2px 16px; padding: 12px 16px; align-items: center;
}
.nh2-warn-row__name { font-weight: 700; }
.nh2-warn-row__name a { color: var(--nh-ink); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.nh2-warn-row__loc { grid-column: 1; font-size: 0.9rem; color: var(--nh-ink-soft); }
.nh2-warn-row__tags { grid-column: 2; grid-row: 1 / 3; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.nh2-warn-tag {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--nh-warn-ink);
  border: 1.5px solid var(--nh-warn-stripe); border-radius: 3px;
  padding: 2px 8px; white-space: nowrap;
}
/* n8 (Matt 2026-07-24): the tags link out to CMS's own program explainer */
a.nh2-warn-tag { text-decoration: none; }
a.nh2-warn-tag:hover, a.nh2-warn-tag:focus-visible { background: var(--nh-warn-stripe); }

/* ==========================================================================
   CLOSE -- compare + tour questions
   ========================================================================== */
.nh2-compare { margin: 1.6em 0 0; }
.nh2-compare__pickers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nh2-compare__slot { position: relative; }
.nh2-compare__slot input {
  width: 100%; font: inherit; padding: 0.72em 0.85em;
  border: 2px solid var(--nh-ink); border-radius: 4px;
  background: var(--nh-card); color: var(--nh-ink);
  box-shadow: 2px 2px 0 rgba(28, 43, 58, 0.08);
}
.nh2-compare__slot input::placeholder { color: var(--nh-stamp); opacity: 1; }
.nh2-compare__list {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px);
  list-style: none; margin: 0; padding: 4px;
  background: var(--nh-card); border: 1.5px solid var(--nh-ink); border-radius: 5px;
  box-shadow: 4px 5px 0 rgba(28, 43, 58, 0.1);
  display: none;             /* JS opens via inline style */
  max-height: 40vh; overflow-y: auto;
}
.nh2-compare__opt {
  width: 100%; text-align: left; background: none; border: 0; font: inherit;
  color: var(--nh-ink); padding: 8px 10px; border-radius: 4px; cursor: pointer;
}
.nh2-compare__opt:hover { background: var(--nh-grid); }
.nh2-compare__grid { margin: 1.3em 0 0; border: 1px solid var(--nh-rule); border-radius: 3px; overflow: hidden; background: var(--nh-card); }
.nh2-crow { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--nh-rule); }
.nh2-crow:first-child { border-top: 0; }
.nh2-crow__lab {
  grid-column: 1 / 3; background: var(--nh-grid);
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.11em;
  color: var(--nh-stamp); padding: 6px 14px;
}
.nh2-ccell { padding: 10px 14px; background: var(--nh-card); }
.nh2-ccell:nth-child(odd) { border-right: 1px solid var(--nh-rule); }
.nh2-ccell b { font-weight: 700; }
.nh2-ccell--better::after {
  content: "better"; font-size: 0.66rem; font-weight: 700;
  color: var(--nh-text-5); text-transform: uppercase; letter-spacing: 0.06em; margin-left: 6px;
}

.nh2-tourq {
  margin: 2.4em 0 0;
  background:
    repeating-linear-gradient(transparent 0 33px, var(--nh-feint) 33px 34px),
    var(--nh-card);
  border: 1px solid #E3DED4; border-radius: 3px;
  box-shadow: 0 1px 2px rgba(28, 43, 58, 0.1);
  padding: clamp(18px, 3vw, 30px);
}
.nh2-tourq h3 { margin: 0 0 0.7em; font-size: 1.35rem; }
.nh2-tourq ol { margin: 0; padding-left: 1.3em; }
.nh2-tourq li { margin: 0 0 0.7em; }

/* ==========================================================================
   CTA band (light -- ink on linen tint)
   ========================================================================== */
.nh2-cta { margin: clamp(48px, 8vw, 96px) 0 0; }
.nh2-cta__inner {
  background: var(--nh-band);
  border: 1px solid var(--nh-manila-dk);
  border-top: 3px solid var(--nh-ink);
  border-radius: 3px;
  padding: clamp(26px, 5vw, 52px);
}
.nh2-cta h2 { font-size: clamp(1.5rem, 2.4vw + 0.5rem, 2.3rem); margin: 0 0 0.5em; max-width: 26ch; }
.nh2-cta p { max-width: 60ch; margin: 0 0 1.3em; }
.nh2-cta__placeholder { color: var(--nh-stamp); font-style: italic; }

/* ==========================================================================
   METHODOLOGY + DIRECTORY
   ========================================================================== */
.nh2-method { padding: clamp(44px, 7vw, 80px) 0 clamp(34px, 5vw, 60px); }
.nh2-method h2 { font-size: clamp(1.5rem, 2vw + 0.6rem, 2.2rem); margin: 0 0 0.8em; }
.nh2-method__body { max-width: 92ch; }
.nh2-method__body p { margin: 0 0 1em; }
.nh2-dir__h { margin: 2.2em 0 0.6em; font-size: 1.45rem; }
.nh2-directory__intro { max-width: 66ch; color: var(--nh-ink-soft); }
.nh2-dir-county { border-bottom: 1px solid var(--nh-rule); }
.nh2-dir-county > summary {
  cursor: pointer; padding: 12px 4px; font-weight: 700;
  display: flex; justify-content: space-between; gap: 10px;
}
.nh2-dir-count { color: var(--nh-stamp); font-weight: 400; }
.nh2-dir-list { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 1px;
  background: var(--nh-rule); border: 1px solid var(--nh-rule); border-radius: 4px; overflow: hidden; }
.nh2-dir-row { background: var(--nh-card); padding: 9px 12px; display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 4px 14px; align-items: baseline; }
.nh2-dir-link { font-weight: 700; color: var(--nh-ink); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.nh2-dir-meta { font-size: 0.88rem; color: var(--nh-ink-soft); }
.nh2-dir-rating.nh2-r1, .nh2-dir-rating.nh2-r2 { color: var(--nh-text-1); font-weight: 700; }
.nh2-dir-rating.nh2-r3 { color: var(--nh-text-3); font-weight: 700; }
.nh2-dir-rating.nh2-r4, .nh2-dir-rating.nh2-r5 { color: var(--nh-text-5); font-weight: 700; }
.nh2-dir-flag { font-weight: 700; color: var(--nh-warn-ink); border-bottom: 1px dashed var(--nh-warn-stripe);
  text-decoration: none; margin-left: 6px; }

/* ==========================================================================
   PINNED RIBBON -- the chart that rides the page
   ========================================================================== */
.nh2-ribbon {
  position: fixed; left: 0; right: 0; z-index: 900;
  background: var(--nh-ink); color: var(--nh-card);
  display: flex; align-items: center; gap: 12px;
  padding: 10px clamp(14px, 4vw, 32px);
  border-top: 3px solid var(--nh-fill-1);
  box-shadow: 0 -6px 22px rgba(28, 43, 58, 0.28);
}
.nh2-ribbon[hidden] { display: none; }
.nh2-ribbon__lab {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: #B9C4CF;                       /* 7.5:1 on ink (computed) */
  display: block;
}
.nh2-ribbon__name { font-weight: 700; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nh2-ribbon__badge {
  font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 1.17rem;
  width: 34px; height: 34px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: var(--nh-ink); flex: 0 0 auto;
}
.nh2-ribbon__badge.nh2-r1, .nh2-ribbon__badge.nh2-r2 { background: var(--nh-fill-1); }
.nh2-ribbon__badge.nh2-r3 { background: var(--nh-fill-3); }
.nh2-ribbon__badge.nh2-r4, .nh2-ribbon__badge.nh2-r5 { background: var(--nh-fill-5); }
.nh2-ribbon__badge.nh2-r0 { background: var(--nh-fill-0); }
.nh2-ribbon__btn {
  font: inherit; font-size: 0.9rem; font-weight: 700; background: none;
  border: 1.5px solid rgba(255, 255, 255, 0.55); color: var(--nh-card);
  border-radius: 4px; padding: 5px 12px; cursor: pointer; flex: 0 0 auto;
}
.nh2-ribbon__btn:hover { border-color: var(--nh-card); }
.nh2-ribbon__btn:focus-visible { outline: 3px solid var(--nh-card); outline-offset: 2px; }
/* mobile: bottom edge + safe area (never stacks with the masthead).
   Left padding clears the theme's fixed language-switcher pill (bottom-left). */
.nh2-ribbon { bottom: 0; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 779px) { .nh2-ribbon { padding-left: 104px; } }
/* desktop: top, just under the runtime-measured masthead */
@media (min-width: 780px) {
  .nh2-ribbon {
    bottom: auto; top: var(--nh-ribbon-top, var(--nh-masthead));
    padding-bottom: 10px;
    border-top: 0; border-bottom: 3px solid var(--nh-fill-1);
    box-shadow: 0 6px 22px rgba(28, 43, 58, 0.28);
  }
}

/* RUCSS sentinel block + specimen elements: never rendered */
.nh2-seed, .nh2-seed * { display: none !important; }
.nh2-ribbon__mid { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
/* narrow phones: the 104px pill-clear plus the two buttons crush the
   pinned-facility name to a single character. Wrap the buttons onto a
   second row so the name keeps a readable width (2026-07-11 mobile pass). */
@media (max-width: 500px) {
  .nh2-ribbon { flex-wrap: wrap; }
  .nh2-ribbon__mid { flex: 1 1 70%; }
  .nh2-ribbon__btn { flex: 1 1 auto; }
}

/* ==========================================================================
   MOTION -- honored globally; entrances are inline-styled from JS
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .nh2 *, .nh2 *::before, .nh2 *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 979px) {
  .nh2-hero h1 { max-width: 18ch; }
}
@media (max-width: 700px) {
  .nh2-keynums { grid-template-columns: 1fr; border-top: 0; }
  .nh2-keynum {
    border-right: 0; border-top: 2px solid var(--nh-ink);
    padding: 12px 0 10px; display: grid;
    grid-template-columns: auto 1fr; gap: 2px 16px; align-items: center;
  }
  .nh2-keynum + .nh2-keynum { padding-left: 0; }
  .nh2-keynum__lab { margin-top: 0; max-width: none; }
  .nh2-keynum__dial { grid-column: 1 / 3; }
}
@media (max-width: 560px) {
  .nh2-vitals { grid-template-columns: repeat(2, 1fr); }
  .nh2-verdict { min-width: 0; width: 100%; }
  .nh2-chart__head { flex-direction: column; }
  .nh2-chart__id { flex: 0 0 auto; }  /* flex-basis 240px would become HEIGHT here */
  .nh2-compare__pickers { grid-template-columns: 1fr; }
  .nh2-tile { width: 26px; height: 26px; }
  .nh2-tile__r { font-size: 0.78rem; }
  .nh2-op-card > summary { grid-template-columns: auto 1fr; }
  .nh2-op-card__avg { grid-column: 2; text-align: left; }
  .nh2-sheet { padding: 14px 12px; }
}
@media (max-width: 400px) {
  .nh2-tile { width: 22px; height: 22px; border-radius: 3px; gap: 3px; }
}

/* ===== WP-embed adjustments (nh2) -- hand-editable tail ===== */
/* Theme header is <header class="masthead"> (a CLASS, no id): position:fixed
   94px z-1000 ONLY above 1000px; relative/in-flow at <=1000px (measured on
   this theme 2026-07-07, vehicle-safety rework). These defaults match the
   theme so the pre-interaction page (Delay JS) is already correct; app.js
   re-measures into --nh-ribbon-top at runtime. */
.nh2 { --masthead-h: 0px; padding-top: 0; }
@media (min-width: 1001px) { .nh2 { --masthead-h: 94px; } }
/* U1 THEME TITLE BLEED: the theme prints its own entry-title band, which
   clips out behind the fixed masthead as stray letter fragments above the
   hero ("g" fragments at 1440; full "Georgia Nursing Home Crisis" H1 at 390).
   The page carries its own H1 -- suppress the theme's, exactly as
   workplace-injury-v2 / vehicle-safety-v2 do. */
body.research-nursing-homes-v2 .entry-header { display: none !important; }
/* entry-header used to push content below the fixed masthead; with it gone
   the hero must clear the masthead itself. */
body.research-nursing-homes-v2 .nh2 .nh2-hero { padding-top: calc(var(--masthead-h) + clamp(28px, 4vw, 56px)); }
body.research-nursing-homes-v2 .nh2 section[id] { scroll-margin-top: calc(var(--masthead-h) + 20px); }

/* ============================================================
   BLUE-DOT SWEEP (2026-07-14): neutralize theme li:before disc.
   The wfirm theme (style.css) paints a 7px brand-blue dot
   (background var(--color-2) #1d84c7, absolute, border-radius:50%)
   on EVERY <li> via a bare `li:before`. This page's own counters
   and markers override content/position, but the disc's
   background/size/border LEAK THROUGH -- a stray blue dot beside
   or under the number. Reset those five properties page-wide;
   higher-specificity page rules (e.g. real markers) re-declare
   what they need on top. No !important: this selector already
   outranks the theme's bare li:before, and staying low lets
   intentional per-list markers win.
   ============================================================ */
.nh2 li::before { background: none; border: 0; width: auto; height: auto; border-radius: 0; }

/* ==========================================================================
   RESTACK 2026-07-23 -- Chapter 1 "The map".
   A plain vertical stack of lede-then-figure blocks, replacing the sticky-
   stage crossfade Matt called disorienting (n4/n5). The map is a REAL
   Leaflet/OpenStreetMap map (matching the I-285 page); the map/one-star/
   warnings beats fold into one filter-chip control on that single map
   instead of separate panels. Ratings/operator/staffing charts are
   hand-built DOM/CSS, no runtime chart library (house rule 6). Each figure
   reveals once via IntersectionObserver as it scrolls into view;
   prefers-reduced-motion shows everything immediately (house rule 2).
   ========================================================================== */

/* n4: less air above Chapter 1 (it follows the findings panel directly) */
#nh2-universe { padding-top: clamp(20px, 3vw, 40px); }

/* hero keynums centered on desktop (kept from rev 1: n2/n3 of the first pass) */
@media (min-width: 701px) {
  .nh2-keynum { text-align: center; }
  .nh2-keynum__lab { margin-left: auto; margin-right: auto; }
  .nh2-keynum__dial { margin-left: auto; margin-right: auto; }
  .nh2-keynum__dial svg { margin: 0 auto; }
}
.nh2-vitals--three { grid-template-columns: repeat(3, 1fr); }
/* n1 (Matt 2026-07-24): bottom-align the three state badges. Each cell is a
   flex column with the badge pushed to the cell floor; the label reserves two
   lines so a one-line label ("State rank") and a two-line one ("One-star
   homes") leave their badges at the same height. */
.nh2-vitals--three { align-items: stretch; }
.nh2-vitals--three .nh2-vital { display: flex; flex-direction: column; align-items: center; }
.nh2-vitals--three .nh2-vital__lab { min-height: 2lh; margin-bottom: 6px; }
.nh2-vitals--three .nh2-vital .nh2-vital__badge { margin-top: auto; align-self: center; }
.nh2-chart__prompt {
  margin: 4px clamp(14px, 2.4vw, 22px) 2px;
  padding: 14px 0 12px;
  border-top: 1px dashed var(--nh-rule);
  font-size: 0.9rem; color: var(--nh-stamp); text-align: center;
}
.nh2-anchor { position: absolute; }

/* ---- layout: a plain vertical stack of lede + figure blocks
       (2026-07-23 rework: replaced the sticky-stage crossfade scrollytelling
       Matt called disorienting -- n4/n5). One reveal only: figures rise/fade
       and populate as they enter the viewport. No panel swapping, no pin. ---- */
.nh2-uni__block { max-width: var(--nh-maxw); padding: clamp(30px, 5vh, 64px) 0;
  border-top: 1px solid var(--nh-rule); }
.nh2-uni__block:first-child { border-top: 0; padding-top: clamp(10px, 2vh, 22px); }
.nh2-uni__lede { max-width: 62ch; margin: 0 0 clamp(18px, 2.4vw, 28px); }
.nh2-uni__lede h3 { font-size: clamp(1.3rem, 1.4vw + 0.8rem, 1.7rem); margin: 6px 0 12px; }
.nh2-uni__lede p { margin: 0 0 12px; font-size: 0.98rem; line-height: 1.6; max-width: 60ch; }
.nh2-uni__lede p:last-child { margin-bottom: 0; }
.nh2-uni__midtext { max-width: 62ch; margin: 18px 0 0; font-size: 0.94rem; line-height: 1.55;
  color: var(--nh-ink-soft); }
.nh2-uni__block--handoff { padding-bottom: clamp(20px, 4vh, 40px); }

/* n2 (Matt 2026-07-24): on desktop, the map figure sits to the right of its
   lede text instead of stacking below it. Static side-by-side placement --
   no sticky, no scroll-driven state, so it doesn't reintroduce the pin. */
@media (min-width: 861px) {
  .nh2-uni__block--split { display: grid;
    grid-template-columns: minmax(280px, 400px) minmax(0, 1fr);
    column-gap: clamp(24px, 3vw, 48px); align-items: start; }
  .nh2-uni__block--split .nh2-uni__lede { grid-column: 1; grid-row: 1; margin-bottom: 0; }
  .nh2-uni__block--split .nh2-uni__mapfig { grid-column: 2; grid-row: 1; }
  .nh2-uni__block--split .nh2-uni__midtext { grid-column: 1 / -1; }
}

/* the ONE reveal: figures rise + fade in as they cross into view */
.nh2-uni__mapfig, .nh2-uni__fig { opacity: 0; transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease; }
.nh2-uni__mapfig.is-in, .nh2-uni__fig.is-in { opacity: 1; transform: none; }

/* ---- the map figure (map / one-star / warnings folded into chips) ---- */
.nh2-uni__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.nh2-uni__chip { font: 700 0.82rem/1 "Atkinson Hyperlegible Next", sans-serif;
  background: var(--nh-card); color: var(--nh-ink-soft); border: 1.5px solid var(--nh-rule);
  border-radius: 999px; padding: 9px 15px; cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s; }
.nh2-uni__chip:hover { border-color: var(--nh-ink-soft); }
.nh2-uni__chip[aria-pressed="true"] { background: var(--nh-ink); color: #fff; border-color: var(--nh-ink); }
.nh2-uni__chip:focus-visible { outline: 3px solid var(--nh-fill-3); outline-offset: 2px; }
.nh2-uni__mapwrap { position: relative; background: var(--nh-card); border-radius: 3px; }
.nh2-uni__caption { margin: 12px 0 0; font-size: 0.92rem; line-height: 1.5;
  color: var(--nh-ink-soft); max-width: 62ch; min-height: 2.8em; }
.nh2-uni__caption b { color: var(--nh-ink); }

/* ---- the Leaflet map ---- */
.nh2-uni__map { width: 100%; height: clamp(420px, 62vh, 620px);
  border-radius: 3px; overflow: hidden; background: #eef1ee; z-index: 1; }
.nh2-uni__fallback { position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 1; transition: opacity 0.5s ease; z-index: 0; pointer-events: none; }
.nh2-uni__mapwrap.map-ready .nh2-uni__fallback { opacity: 0; }
.nh2-uni__fallback-counties path { fill: #F3EFE6; stroke: #DDD6C7; stroke-width: 0.7; }

/* Leaflet chrome, scoped so RUCSS-stripped or not it reads on-brand */
.nh2 .leaflet-container { font-family: "Atkinson Hyperlegible Next", system-ui, sans-serif;
  background: #eef1ee; }
.nh2 .leaflet-control-attribution { font-size: 9px; background: rgba(255,255,255,0.82); }
.nh2 .leaflet-bar a { color: var(--nh-ink); }
.nh2 .leaflet-bar a:hover, .nh2 .leaflet-bar a:focus { background: var(--nh-linen); }
.nh2-uni__reset { min-height: 34px; border: 1px solid var(--nh-rule); background: #fff;
  color: var(--nh-ink); padding: 5px 9px; font: 700 0.7rem/1 "Atkinson Hyperlegible Next", sans-serif;
  cursor: pointer; box-shadow: 0 2px 6px rgba(28,43,58,0.18); border-radius: 3px; }
.nh2 .leaflet-popup-content { margin: 12px 14px; }
.nh2-uni__pop b { display: block; font-family: "Fraunces", Georgia, serif; font-weight: 600;
  font-size: 1rem; line-height: 1.2; margin-bottom: 3px; }
.nh2-uni__pop span { display: block; font-size: 0.82rem; color: var(--nh-ink-soft); }
.nh2-uni__pop .nh2-uni__pop-row { margin: 6px 0 8px; font-size: 0.84rem; }
.nh2-uni__pop button { font: 700 0.72rem/1 "Atkinson Hyperlegible Next", sans-serif;
  background: var(--nh-ink); color: #fff; border: 0; border-radius: 3px; padding: 8px 10px; cursor: pointer; }

/* the rating legend chip row, over the map */
.nh2-uni__legend { position: absolute; left: 10px; bottom: 10px; z-index: 500;
  display: flex; flex-wrap: wrap; gap: 5px 12px; align-items: center;
  background: rgba(255,255,255,0.92); padding: 7px 10px; border-radius: 4px;
  box-shadow: 0 2px 10px -4px rgba(28,43,58,0.4); max-width: calc(100% - 20px); }
.nh2-uni__legend .nh2-legend__item { display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.72rem; color: var(--nh-ink-soft); }
.nh2-legend__sw { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.nh2-legend__sw.nh2-r1 { background: var(--nh-fill-1); }
.nh2-legend__sw.nh2-r3 { background: var(--nh-fill-3); }
.nh2-legend__sw.nh2-r4 { background: var(--nh-fill-5); }
.nh2-legend__sw.nh2-r0 { background: var(--nh-fill-0); }
.nh2-legend__ring { width: 12px; height: 12px; border-radius: 50%;
  border: 2px dashed var(--nh-warn-ink); display: inline-block; }

/* ---- chart figures (ratings / operators / staffing) ---- */
.nh2-uni__fig { background: var(--nh-linen); border: 1px solid var(--nh-rule); border-radius: 4px;
  padding: clamp(16px, 2.2vw, 26px) clamp(16px, 2.6vw, 32px); margin: 0; }
.nh2-uni__chart-h { font-family: "Fraunces", Georgia, serif; font-weight: 600;
  font-size: clamp(1rem, 1.1vw + 0.6rem, 1.22rem); line-height: 1.2; margin: 0 0 18px;
  padding-bottom: 12px; border-bottom: 1px solid var(--nh-rule); }

/* ratings distribution bars */
.nh2-uni__bars { display: grid; gap: 12px; }
.nh2-uni__bar { display: grid; grid-template-columns: 84px 1fr auto; align-items: center; gap: 12px; }
.nh2-uni__bar-lab { font-size: 0.82rem; color: var(--nh-ink-soft); text-align: right; }
.nh2-uni__bar-track { background: var(--nh-card); border: 1px solid var(--nh-grid); border-radius: 3px; height: 30px; overflow: hidden; }
.nh2-uni__bar-fill { display: block; height: 100%; width: var(--w); border-radius: 3px 0 0 3px;
  transform-origin: left; transform: scaleX(0); transition: transform 0.7s cubic-bezier(0.2,0.7,0.2,1); }
.nh2-uni__fig.is-in .nh2-uni__bar-fill { transform: scaleX(1); }
.nh2-uni__bar-fill.nh2-r1, .nh2-uni__bar-fill.nh2-r2 { background: var(--nh-fill-1); }
.nh2-uni__bar-fill.nh2-r3 { background: var(--nh-fill-3); }
.nh2-uni__bar-fill.nh2-r4, .nh2-uni__bar-fill.nh2-r5 { background: var(--nh-fill-5); }
.nh2-uni__bar-val { text-align: right; min-width: 60px; }
.nh2-uni__bar-val b { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.2rem; }
.nh2-uni__bar-val small { display: block; font-size: 0.72rem; color: var(--nh-stamp); }
.nh2-uni__bar--r1 .nh2-uni__bar-lab { color: var(--nh-text-1); font-weight: 700; }

/* operator one-star-rate ranked bars */
.nh2-uni__opbars { display: grid; gap: 9px; }
.nh2-uni__opbar { display: grid; grid-template-columns: 1fr; gap: 2px; }
.nh2-uni__opbar-lab { font-size: 0.86rem; font-weight: 700; }
.nh2-uni__opbar-lab small { font-weight: 400; color: var(--nh-stamp); font-size: 0.74rem; }
.nh2-uni__opbar-track { position: relative; background: var(--nh-card); border: 1px solid var(--nh-grid);
  border-radius: 3px; height: 22px; overflow: hidden; display: flex; align-items: center; }
.nh2-uni__opbar-fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w);
  background: var(--nh-fill-1); border-radius: 3px 0 0 3px;
  transform-origin: left; transform: scaleX(0); transition: transform 0.6s cubic-bezier(0.2,0.7,0.2,1); }
.nh2-uni__fig.is-in .nh2-uni__opbar-fill { transform: scaleX(1); }
.nh2-uni__opbar-val { position: relative; z-index: 1; margin-left: auto; padding-right: 8px;
  font: 700 0.74rem/1 "Atkinson Hyperlegible Next", sans-serif; color: var(--nh-ink); }
.nh2-uni__opbar-sub { font-size: 0.72rem; color: var(--nh-stamp); }
.nh2-uni__opbar.is-exception .nh2-uni__opbar-fill { background: var(--nh-fill-5); }
.nh2-uni__opbar.is-exception .nh2-uni__opbar-lab { color: var(--nh-text-5); }
.nh2-uni__opbar-gap { height: 6px; border-top: 1px dashed var(--nh-rule); margin: 4px 0 2px; }

/* staffing strip */
.nh2-uni__staffing { display: flex; flex-direction: column; justify-content: center; }
.nh2-uni__staffing-plot { position: relative; width: 100%; }
.nh2-uni__staffing-plot svg { display: block; width: 100%; height: auto; }
.nh2-uni__staff-dot { fill: var(--nh-fill-1); stroke: #fff; stroke-width: 0.6; cursor: pointer; opacity: 0; }
.nh2-uni__fig.is-in .nh2-uni__staff-dot { opacity: 1; transition: opacity 0.5s ease; }
.nh2-uni__staff-dot.r3 { fill: var(--nh-fill-3); }
.nh2-uni__staff-dot.r4 { fill: var(--nh-fill-5); }
.nh2-uni__staff-dot.r0 { fill: var(--nh-fill-0); }
.nh2-uni__staff-axis { stroke: var(--nh-rule); stroke-width: 1; }
.nh2-uni__staff-ref { stroke: var(--nh-ink-soft); stroke-width: 1; stroke-dasharray: 4 3; }
.nh2-uni__staff-lab { font: 700 12px "Atkinson Hyperlegible Next", sans-serif; fill: var(--nh-ink-soft); }
/* n11 (Matt 2026-07-24): zoom controls for the staffing beeswarm. Scroll or drag
   to zoom/pan with a mouse; the buttons work on touch. */
.nh2-uni__staff-svg { cursor: grab; touch-action: pan-y; }
.nh2-uni__staff-svg.is-panning { cursor: grabbing; }
.nh2-uni__staff-zoom { position: absolute; top: 4px; right: 4px; display: flex; gap: 4px; }
.nh2-uni__staff-zbtn {
  min-width: 26px; height: 26px; padding: 0 6px; border: 1px solid var(--nh-rule);
  border-radius: 4px; background: var(--nh-card); color: var(--nh-ink);
  font: 700 15px/1 "Atkinson Hyperlegible Next", sans-serif; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.nh2-uni__staff-zbtn--wide { font-size: 0.72rem; letter-spacing: 0.02em; }
.nh2-uni__staff-zbtn:hover { background: var(--nh-tint-1); border-color: var(--nh-fill-1); }
.nh2-uni__staff-zbtn:focus-visible { outline: 2px solid var(--nh-fill-1); outline-offset: 1px; }
/* n14 (Matt 2026-07-24): pinned-facility marker on the beeswarm. */
.nh2-uni__staff-pinring { fill: none; stroke: var(--nh-ink); stroke-width: 2; }
.nh2-uni__staff-pinlead { stroke: var(--nh-ink); stroke-width: 1.2; }
.nh2-uni__staff-pinlab { font: 700 12px "Atkinson Hyperlegible Next", sans-serif; fill: var(--nh-ink);
  paint-order: stroke; stroke: var(--nh-card); stroke-width: 4px; stroke-linejoin: round; }
.nh2-uni__staffing-fallback { display: none; }
.no-js .nh2-uni__staffing-fallback { display: table; }

/* ---- cursor tooltip (M1): appended to <body>, OUTSIDE .nh2 scope -> literal colors ---- */
.nh2-uni__tip { position: fixed; z-index: 6000; pointer-events: none;
  background: #1C2B3A; color: #fff; border-radius: 4px; padding: 7px 10px 8px;
  font: 400 0.82rem/1.35 "Atkinson Hyperlegible Next", system-ui, sans-serif;
  max-width: 250px; box-shadow: 0 6px 18px -6px rgba(28,43,58,0.5); }
.nh2-uni__tip b { display: block; font-size: 0.86rem; }
.nh2-uni__tip span { display: block; opacity: 0.85; }

/* ---- in-map mini record card (used by the search/deep-link path) ---- */
.nh2-uni__minicard { position: absolute; top: 8px; right: 8px; z-index: 550;
  width: min(300px, 86%); background: var(--nh-card); border: 1px solid var(--nh-rule);
  border-radius: 4px; box-shadow: 0 2px 4px rgba(28,43,58,0.08), 0 14px 30px -16px rgba(28,43,58,0.4);
  padding: 12px 14px; }
.nh2-uni__minicard h4 { font-family: "Fraunces", Georgia, serif; font-weight: 600;
  font-size: 1.02rem; line-height: 1.2; margin: 2px 22px 2px 0; }
.nh2-uni__minicard-loc { margin: 0 0 8px; font-size: 0.82rem; color: var(--nh-ink-soft); }
.nh2-uni__minicard-row { display: flex; flex-wrap: wrap; gap: 5px 14px; font-size: 0.84rem; margin: 0 0 10px; }
.nh2-uni__minicard-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.nh2-uni__minicard-close { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px;
  border: 0; border-radius: 3px; background: transparent; color: var(--nh-ink-soft); cursor: pointer; }
.nh2-uni__minicard-close:hover { background: var(--nh-grid); color: var(--nh-ink); }

/* ---- lede stat displays (kept verbatim from the narrative-steps version) ---- */
.nh2-uni__stat { display: flex; align-items: center; gap: 14px; margin: 12px 0; }
.nh2-uni__stat b { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 2.2rem; line-height: 1; }
.nh2-uni__stat span, .nh2-uni__pair span { font-size: 0.86rem; color: var(--nh-ink-soft); line-height: 1.4; display: block; }
.nh2-uni__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 12px; }
.nh2-uni__pair b { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.7rem; line-height: 1.1; display: block; }
.nh2-uni__handoff { display: flex; gap: 10px; flex-wrap: wrap; }
.nh2 .nh2-uni__handoff a.nh2-chip { text-decoration: none; }

/* n25: the "floor" staffing callout (vehicle-safety / legislators idiom).
   n3/n5 (Matt 2026-07-24): now sits BELOW its chart as a block-level aside
   rather than inside the narrow lede column, so it needs its own measure. */
/* n9/n12 (Matt 2026-07-24): center the exception / floor callouts in their
   block (margin auto) instead of hanging on the left edge. */
.nh2-uni__callout { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px;
  align-items: center; margin: 16px auto 0; padding: 14px 84px 14px 16px; max-width: 62ch;
  position: relative;
  background: var(--nh-tint-1); border-left: 4px solid var(--nh-fill-1); border-radius: 0 4px 4px 0; }
.nh2-uni__callout-lab { grid-column: 1 / -1; font: 700 0.68rem/1 "Atkinson Hyperlegible Next", sans-serif;
  text-transform: uppercase; letter-spacing: 0.13em; color: var(--nh-text-1); }
.nh2-uni__callout-num { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 3.2rem;
  line-height: 1; color: var(--nh-text-1); }
.nh2-uni__callout-num small { font-size: 0.3em; display: block; letter-spacing: 0.04em; }
/* n10 (Matt 2026-07-24): on the Ethica exception callout, bring the "%" up onto
   the same line as the numeral (was stacked below) so it reads "6%". */
.nh2-uni__callout--good .nh2-uni__callout-num small { display: inline; font-size: 0.34em;
  vertical-align: 0.35em; margin-left: 1px; }
.nh2-uni__callout-txt { font-size: 0.9rem; line-height: 1.5; }
/* n3/n4: Ethica is a GOOD outlier, not a warning -- green, not vermilion,
   to stay consistent with the page's rating-color language. */
.nh2-uni__callout--good { background: var(--nh-tint-5); border-left-color: var(--nh-fill-5); }
.nh2-uni__callout--good .nh2-uni__callout-lab,
.nh2-uni__callout--good .nh2-uni__callout-num { color: var(--nh-text-5); }

/* n3/n4 (Matt 2026-07-24): the abuse/SFF/candidate marks now sit inline in
   the paragraph prose instead of a separate definition-list block; same
   ring styles as the map's own warning outlines, so the two stay legible
   as one visual system. */
.nh2-uni__term-mark { display: inline-block; width: 12px; height: 12px; border-radius: 50%;
  vertical-align: -1px; margin: 0 1px; }
.nh2-uni__term-mark--abuse { border: 2px dashed var(--nh-warn-ink); }
.nh2-uni__term-mark--sff { border: 2px solid var(--nh-ink); }
.nh2-uni__term-mark--cand { border: 2px solid var(--nh-fill-3); }

/* n7/n8 (Matt 2026-07-24): federal-warning legend, line-broken -- each warning
   type on its own row (icon in a fixed gutter, description beside it). */
.nh2-uni__warnlegend { max-width: 62ch; margin: 16px 0 0; }
.nh2-uni__warnlegend-lead { font-size: 0.94rem; line-height: 1.55; margin: 0 0 8px;
  color: var(--nh-ink-soft); }
.nh2-uni__warnlegend-list { list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 7px; }
.nh2-uni__warnlegend-list li { display: grid; grid-template-columns: 16px 1fr;
  gap: 0 10px; align-items: start; font-size: 0.9rem; line-height: 1.45; }
.nh2-uni__warnlegend-list .nh2-uni__term-mark { margin: 4px 0 0; vertical-align: 0; }
.nh2-uni__warnlegend-list b { font-weight: 700; }

@media (max-width: 860px) {
  .nh2-uni__map { height: 42vh; min-height: 300px; }
  .nh2-uni__chart-h { font-size: 0.95rem; margin-bottom: 10px; }
  .nh2-uni__legend { gap: 3px 8px; padding: 5px 7px; font-size: 0.64rem; }
  .nh2-uni__legend .nh2-legend__item { font-size: 0.64rem; }
  .nh2-uni__bar { grid-template-columns: 58px 1fr auto; gap: 8px; }
  .nh2-uni__bar-track { height: 26px; }
  .nh2-uni__opbar-lab { font-size: 0.8rem; }
  .nh2-uni__minicard { width: min(280px, 92%); }
}

/* ---- reduced motion: no reveal tween, no bar-grow, everything present immediately ---- */
@media (prefers-reduced-motion: reduce) {
  .nh2-uni__mapfig, .nh2-uni__fig, .nh2-uni__bar-fill, .nh2-uni__opbar-fill, .nh2-uni__fallback,
  .nh2-uni__staff-dot { transition: none; }
  .nh2-uni__mapfig, .nh2-uni__fig { opacity: 1; transform: none; }
  .nh2-uni__bar-fill, .nh2-uni__opbar-fill, .nh2-uni__staff-dot { transform: scaleX(1); opacity: 1; }
}


/* n6: Georgia HFRD "report a problem" resource band */
.nh2-report { padding: clamp(30px, 5vw, 56px) 0; }
.nh2-report__inner { max-width: var(--nh-maxw); margin: 0 auto; padding: clamp(20px, 3vw, 32px);
  background: var(--nh-band); border: 1px solid var(--nh-rule); border-radius: 4px; }
.nh2-report h2 { font-size: clamp(1.5rem, 2vw + 0.6rem, 2.2rem); margin: 4px 0 0.5em; }
.nh2-report__lede { max-width: 76ch; color: var(--nh-ink-soft); margin: 0 0 1.4em; }
.nh2-report__ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.nh2-report__way { background: var(--nh-card); border: 1px solid var(--nh-rule); border-radius: 4px;
  padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.nh2-report__lab { font: 700 0.7rem/1 "Atkinson Hyperlegible Next", sans-serif;
  text-transform: uppercase; letter-spacing: 0.11em; color: var(--nh-stamp); }
.nh2-report__big { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.2rem;
  line-height: 1.15; word-break: break-word; }
.nh2 .nh2-report__way a.nh2-report__big { color: var(--nh-text-5); text-decoration: underline;
  text-underline-offset: 2px; text-decoration-thickness: 1px; }
.nh2-report__sub { font-size: 0.82rem; color: var(--nh-ink-soft); }
.nh2-report__note { max-width: 76ch; font-size: 0.9rem; color: var(--nh-stamp); margin: 1.3em 0 0; }
@media (max-width: 760px) { .nh2-report__ways { grid-template-columns: 1fr; } }
