:root {
  --ink: #1d2b38;
  --muted: #687788;
  --line: #d7dee6;
  --soft: #f5f7fa;
  --navy: #002b55;
  --red: #d13447;
  --red-dark: #a51f34;
  --red-mid: #bd293d;
  --header-red-top: #5e001a;
  --header-red-mid: #68001f;
  --header-red-bottom: #730026;
  --orange: #ff6048;
  --rose: #f4a193;
  --teal: #2f70b7;
  --paper: #ffffff;
  --gain: #2c9f6f;
}

body.publication #regionProjectionResult {
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 0.65rem;
  row-gap: 0.25rem;
  min-width: 0;
}

body.publication #regionProjectionResult > b:first-of-type {
  grid-column: 1;
  grid-row: 1;
}

body.publication #regionProjectionResult > span:first-of-type {
  grid-column: 2;
  grid-row: 1;
}

body.publication #regionProjectionResult > b:nth-of-type(2) {
  grid-column: 1;
  grid-row: 2;
}

body.publication #regionProjectionResult > span:last-child {
  grid-column: 2;
  grid-row: 2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #edf1f5;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.5;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
  padding: 34px 44px 28px;
  color: white;
  background: linear-gradient(
    180deg,
    var(--header-red-top) 0%,
    var(--header-red-mid) 64%,
    var(--header-red-bottom) 100%
  );
}

.eyebrow {
  margin: 0 0 8px;
  color: #ffd5cd;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 8px;
  font-size: 44px;
  line-height: 1.03;
  letter-spacing: 0;
}

h1 span,
h1 small {
  display: block;
}

h1 span {
  font-size: 48px;
  letter-spacing: 0.03em;
}

h1 small {
  margin-top: 2px;
  font-size: 24px;
  font-weight: 600;
}

h2 {
  margin-bottom: 4px;
  font-size: 24px;
  line-height: 1.22;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.lede {
  max-width: 850px;
  margin-bottom: 0;
  color: #f7dce0;
  font-size: 18px;
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.actions a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  color: white;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}

main {
  width: min(1480px, calc(100vw - 40px));
  margin: 22px auto 44px;
}

.dashboard-view-nav {
  position: sticky;
  top: 8px;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(980px, 100%);
  margin: 0 auto 22px;
  padding: 5px;
  border: 1px solid #cbd4dd;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 5px 18px rgba(29, 43, 56, 0.12);
  backdrop-filter: blur(10px);
}

.dashboard-view-nav button {
  min-height: 48px;
  padding: 8px 12px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.2;
  text-wrap: balance;
  cursor: pointer;
}

.dashboard-view-nav button:hover {
  background: #f4f6f8;
  color: var(--ink);
}

.dashboard-view-nav button[aria-selected="true"] {
  background: var(--red-dark);
  color: white;
}

.view-intro {
  max-width: 960px;
  margin: 0 0 18px;
}

.view-intro h2 {
  margin-bottom: 7px;
  font-size: 32px;
}

.view-intro > p:last-child {
  max-width: 920px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

body[data-dashboard-view="findings"] [data-dashboard-views]:not([data-dashboard-views~="findings"]),
body[data-dashboard-view="participation"] [data-dashboard-views]:not([data-dashboard-views~="participation"]),
body[data-dashboard-view="scaling"] [data-dashboard-views]:not([data-dashboard-views~="scaling"]),
body[data-dashboard-view="subject-mix"] [data-dashboard-views]:not([data-dashboard-views~="subject-mix"]),
body[data-dashboard-view="methods"] [data-dashboard-views]:not([data-dashboard-views~="methods"]) {
  display: none !important;
}

.view-boundary {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 190px minmax(0, 1fr);
  gap: 12px 16px;
  margin: 0 0 18px;
  padding: 14px 18px;
  border-left: 5px solid #6e7d8c;
  background: white;
  color: var(--muted);
  font-size: 15px;
}

.view-boundary strong {
  color: var(--ink);
}

.grid.two.single-visible {
  grid-template-columns: minmax(0, 1fr);
}

.insight-summary {
  margin: 18px 0 14px;
  padding: 24px 0 0;
  border-top: 5px solid var(--red-dark);
  background: white;
}

.insight-summary-head {
  padding: 0 24px 16px;
}

.insight-summary-head h2 {
  max-width: 900px;
  margin-bottom: 0;
  font-size: 30px;
}

.insight-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.insight-list article {
  min-width: 0;
  padding: 20px 24px;
  background: white;
}

.insight-list strong {
  display: block;
  margin-bottom: 7px;
  color: var(--red-dark);
  font-size: 18px;
}

.insight-list p {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.48;
}

.learner-takeaway {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 24px;
  background: #fff4f5;
}

.learner-takeaway strong {
  color: var(--red-dark);
  font-size: 19px;
}

.learner-takeaway p {
  margin: 0;
  font-size: 17px;
}

.question-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}

.question-paths button {
  min-height: 102px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.question-paths button:hover {
  border-color: var(--red-mid);
  box-shadow: 0 4px 14px rgba(29, 43, 56, 0.09);
}

.question-paths strong,
.question-paths span {
  display: block;
}

.question-paths strong {
  margin-bottom: 4px;
  color: var(--red-dark);
  font-size: 19px;
}

.question-paths span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.evidence-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.evidence-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-transform: uppercase;
}

.evidence-badge.direct {
  background: #e5f2ea;
  color: #176642;
}

.evidence-badge.derived {
  background: #e8f1fb;
  color: #245f9c;
}

.evidence-badge.exploratory {
  background: #fff3ca;
  color: #775b00;
}

.evidence-badge.scenario {
  background: #fff0df;
  color: #965000;
}

.evidence-badge.boundary {
  background: #eceff2;
  color: #51606f;
}

.evidence-legend {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 16px;
  border: 1px solid var(--line);
  background: var(--line);
}

.evidence-legend span {
  padding: 12px 14px;
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.evidence-legend b {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
}

.control-band {
  display: grid;
  grid-template-columns: minmax(390px, 1.35fr) 30px minmax(280px, 0.95fr) 30px minmax(240px, 0.8fr) 96px;
  gap: 12px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.control-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 850;
}

.control-group legend {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
  margin: 0 0 9px;
  padding: 0;
}

.compare-control {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-content: start;
  align-items: center;
}

.compare-control select {
  grid-column: 1 / -1;
}

.control-title {
  display: block;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-pill {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 42px;
  padding: 7px 10px;
  border: 2px solid #c6d0da;
  border-radius: 6px;
  background: white;
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.15;
  cursor: pointer;
}

.choice-pill:has(input:checked) {
  border-color: var(--red);
  background: #fff1f3;
  color: var(--red-dark);
}

.choice-pill input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--red);
}

.flow-arrow {
  align-self: center;
  color: var(--red);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.step {
  width: fit-content;
  padding: 2px 7px;
  border-radius: 999px;
  background: #ffe4df;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

select {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 2px solid #c6d0da;
  border-radius: 6px;
  background: white;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}

.go-button {
  min-height: 48px;
  align-self: center;
  border: 0;
  border-radius: 6px;
  background: var(--red);
  color: white;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.go-button:hover {
  background: var(--red-dark);
}

.measurement-key {
  display: grid;
  grid-template-columns: 180px repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
  margin: 12px 0 14px;
  padding: 14px 16px;
  border-left: 5px solid var(--red);
  background: #fff9fa;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.measurement-key > strong {
  color: var(--ink);
  font-size: 17px;
}

.measurement-key b {
  color: var(--ink);
}

.kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0;
}

.kpi {
  min-height: 146px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.kpi span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.type-cell,
.region-cell {
  white-space: nowrap;
}

.kpi > span:first-child {
  min-height: 2.6em;
  line-height: 1.3;
  text-wrap: balance;
}

.kpi > .evidence-badge:first-child {
  display: inline-flex;
  min-height: 24px;
  margin-bottom: 10px;
  font-size: 11px;
}

.kpi > .evidence-badge + span {
  min-height: 2.6em;
  line-height: 1.3;
  text-wrap: balance;
}

.kpi strong {
  display: block;
  margin: 10px 0 6px;
  color: var(--red);
  font-size: 38px;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.kpi small {
  color: var(--muted);
  font-size: 15px;
}

.grid {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.grid.two {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.grid.two > .panel {
  min-width: 0;
}

.school-panel {
  min-width: 0;
}

.panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.panel-head p,
.sources p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.panel-details {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.panel-details summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  color: var(--red-dark);
  font-size: 16px;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.panel-details summary::-webkit-details-marker {
  display: none;
}

.panel-details summary::after {
  content: "+";
  font-size: 22px;
  line-height: 1;
}

.panel-details[open] summary::after {
  content: "−";
}

.panel-details p {
  max-width: 920px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.chart {
  min-height: 330px;
}

.chart.tall {
  min-height: 430px;
}

.chart svg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.axis,
.legend text {
  fill: #5d6b7a;
  font-size: 15px;
}

.chart-unit,
.chart-footnote {
  font-size: 14px;
  font-weight: 700;
}

.chart-footnote {
  fill: #7d8a98;
}

.stack-segment {
  transition: opacity 140ms ease, filter 140ms ease;
}

.stack-segment:hover {
  filter: brightness(1.08);
  opacity: 0.88;
}

.legend-label {
  fill: #263341;
  font-size: 14px;
  font-weight: 700;
}

.legend-label.emphasis {
  font-weight: 900;
}

.grid-line {
  stroke: #e2e8ef;
  stroke-width: 1;
}

.benchmark-line {
  stroke: #8795a3;
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
}

.benchmark-label {
  fill: #596778;
  font-weight: 800;
}

.axis-line {
  stroke: #9aa8b6;
  stroke-width: 1;
}

.observed-line {
  fill: none;
  stroke-width: 3;
}

.projected-line {
  fill: none;
  stroke-width: 3;
  stroke-dasharray: 7 6;
}

.point {
  stroke: white;
  stroke-width: 1.5;
}

.map-panel {
  overflow: hidden;
}

.map-wrap {
  display: grid;
  grid-template-columns: 48% minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-height: 330px;
}

.region-map-column {
  position: relative;
  min-width: 0;
}

.region-map-frame {
  position: relative;
}

.region-heatmap figure {
  margin: 0;
}

.region-heatmap img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #f3d8d3;
  border-radius: 6px;
  background: white;
}

.region-hotspot {
  position: absolute;
  z-index: 1;
  width: 10%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  overflow: visible;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.region-hotspot::before,
.region-hotspot::after {
  display: none;
}

.region-hotspot::after {
  border-color: rgba(255, 255, 255, 0.9);
}

.postcode-ostinato-trigger {
  padding: 1px 2px;
  color: inherit;
  font: inherit;
  font-weight: 850;
  white-space: nowrap;
  background: transparent;
  border: 0;
  border-bottom: 2px dotted currentColor;
}

.postcode-ostinato-trigger:hover,
.postcode-ostinato-trigger:focus-visible,
.postcode-ostinato-trigger.is-selected {
  color: var(--publication-red);
}

.postcode-school-popover {
  position: fixed;
  z-index: 120;
  width: min(360px, calc(100vw - 28px));
  max-height: min(420px, calc(100vh - 110px));
  padding: 16px 18px 14px;
  overflow: auto;
  color: var(--ink);
  background: rgba(255, 252, 248, 0.98);
  border: 1px solid rgba(194, 19, 55, 0.35);
  border-top: 5px solid var(--publication-red);
  box-shadow: 0 18px 42px rgba(17, 27, 38, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(5px) scale(0.985);
  transform-origin: left center;
  transition: opacity 160ms ease, transform 180ms ease;
}

.postcode-school-popover.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.postcode-school-popover-heading {
  margin: 0 0 10px;
  color: #596777;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.postcode-school-popover-heading strong {
  margin-left: 4px;
  color: var(--publication-burgundy);
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.postcode-school-popover ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.postcode-school-popover li {
  display: grid;
  gap: 3px;
  padding: 9px 0;
  border-top: 1px solid rgba(89, 103, 119, 0.2);
}

.postcode-school-popover li strong {
  font-size: 15px;
  line-height: 1.25;
}

.postcode-school-popover li span,
.postcode-school-popover-empty {
  color: #596777;
  font-size: 12px;
  line-height: 1.35;
}

.region-hotspot:hover,
.region-hotspot:focus-visible,
.region-hotspot.active-region {
  outline: 0;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.region-hotspot:hover::before,
.region-hotspot:focus-visible::before {
  animation: region-hotspot-ripple 1700ms cubic-bezier(0.12, 0.7, 0.2, 1) infinite;
}

.region-hotspot:hover::after,
.region-hotspot:focus-visible::after {
  animation: region-hotspot-ripple 1700ms 560ms cubic-bezier(0.12, 0.7, 0.2, 1) infinite;
}

@keyframes region-hotspot-ripple {
  0% {
    opacity: 0.88;
    transform: translate(-50%, -50%) scale(0.42);
  }
  42% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(3.6);
  }
}

@media (prefers-reduced-motion: reduce) {
  .region-hotspot:hover::before,
  .region-hotspot:hover::after,
  .region-hotspot:focus-visible::before,
  .region-hotspot:focus-visible::after {
    animation: none;
    opacity: 0.72;
    transform: translate(-50%, -50%) scale(1.7);
  }
}

/* One compact methods gateway; technical subsections remain nested disclosures. */
body.publication details.methods-overview {
  width: 100vw;
  max-width: none;
  margin: 0 calc(50% - 50vw);
  border: 0;
  border-top: 7px solid var(--publication-yellow);
  background: var(--publication-burgundy);
}

body.publication .methods-overview > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 160px;
  padding: 34px max(42px, calc((100vw - 1180px) / 2));
  color: #fff;
  cursor: pointer;
  list-style: none;
}

body.publication .methods-overview > summary::-webkit-details-marker {
  display: none;
}

body.publication .methods-overview > summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--publication-yellow);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
}

body.publication .methods-overview[open] > summary::after {
  content: "−";
}

body.publication .methods-overview-heading {
  display: grid;
  gap: 10px;
  min-width: 0;
}

body.publication .methods-overview .chapter-number {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

body.publication .methods-overview-title {
  display: block;
  color: #fff;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 950;
  line-height: 1.02;
}

body.publication .methods-overview-content {
  padding: 0 max(42px, calc((100vw - 1180px) / 2)) 12px;
  background: #fff;
}

body.publication .methods-overview-intro {
  max-width: 880px;
  margin: 0;
  padding: 28px 0 32px;
  color: #4d5d6f;
  font-size: 19px;
  line-height: 1.55;
}

body.publication .methods-overview-content > .method-drawer {
  width: 100%;
}

body.publication .methods-overview-content > .method-drawer:first-of-type {
  margin-top: 0;
}

@media (max-width: 720px) {
  body.publication .methods-overview > summary {
    min-height: 126px;
    gap: 18px;
    padding: 24px 22px;
  }

  body.publication .methods-overview > summary::after {
    font-size: 34px;
  }

  body.publication .methods-overview .chapter-number {
    font-size: 14px;
    line-height: 1.25;
  }

  body.publication .methods-overview-title {
    font-size: clamp(30px, 8.2vw, 38px);
    line-height: 1.05;
  }

  body.publication .methods-overview-content {
    padding: 0 22px 10px;
  }

  body.publication .methods-overview-intro {
    padding: 24px 0 26px;
    font-size: 17px;
    line-height: 1.5;
  }

  body.publication .methods-overview-content > .method-drawer > summary {
    min-height: 62px;
    padding: 16px 0;
    font-size: clamp(21px, 5.7vw, 26px);
  }
}

.region-heatmap figcaption {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.region-heatmap text {
  fill: #21303d;
  font-size: 15px;
  font-weight: 800;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.75);
  stroke-width: 4px;
}

.region-heatmap .svg-title {
  font-size: 19px;
  stroke: none;
}

.region-heatmap .svg-note {
  font-size: 14px;
  font-weight: 600;
  fill: #5c6874;
  stroke: none;
}

.region-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.region-legend span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.region-listening-note {
  max-width: 820px;
  margin: 9px 0 0;
  padding-left: 12px;
  border-left: 3px solid var(--publication-yellow);
  color: #495968;
  font-size: 14px;
  line-height: 1.42;
}

.legend-swatch {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}

.legend-swatch.arts {
  background: var(--red);
}

.legend-swatch.compare {
  background: var(--teal);
}

.legend-swatch.gain {
  background: var(--gain);
}

.mini-bars {
  display: grid;
  gap: 10px;
}

.region-detail {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: grid;
  gap: 4px;
  width: min(45%, 285px);
  min-height: 112px;
  align-content: start;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #edc5bd;
  border-left: 5px solid var(--red);
  border-radius: 4px;
  background: rgba(255, 250, 249, 0.96);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  box-shadow: 0 8px 22px rgba(50, 25, 30, 0.12);
  pointer-events: none;
}

.region-detail strong {
  color: var(--ink);
  font-size: 17px;
}

.region-detail span {
  display: block;
}

.regional-comparison-control {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
  margin: 4px 0 18px;
  padding: 14px 0;
  border-top: 1px solid #cbd2d9;
  border-bottom: 1px solid #cbd2d9;
  color: var(--publication-black);
  font-size: 16px;
  font-weight: 900;
}

.regional-comparison-control select {
  width: min(360px, 100%);
  min-height: 44px;
  padding: 8px 38px 8px 12px;
  border: 2px solid var(--publication-blue);
  border-radius: 3px;
  background: #fff;
  color: var(--publication-black);
  font: inherit;
}

.bar-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  grid-template-areas:
    "name values"
    "name tracks";
  gap: 3px 10px;
  align-items: center;
  padding: 4px 5px;
  font-size: 15px;
}

.bar-row > span {
  grid-area: name;
}

.bar-row .dual-track {
  grid-area: tracks;
}

.bar-row.active-region {
  border-radius: 6px;
  background: #fff0f2;
}

.bar-row strong {
  grid-area: values;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  font-variant-numeric: tabular-nums;
}

.dual-track {
  display: grid;
  gap: 5px;
}

.signed-track {
  position: relative;
  height: 14px;
  background: #eef2f6;
  border-radius: 999px;
  overflow: hidden;
}

.signed-track .zero-axis {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 50%;
  width: 1px;
  background: #8896a4;
  z-index: 2;
}

.signed-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  display: block;
}

.signed-fill.left {
  right: 50%;
}

.signed-fill.right {
  left: 50%;
}

.signed-fill.arts {
  background: var(--red);
}

.signed-fill.compare {
  background: var(--teal);
}

.signed-fill.gain {
  background: var(--gain);
}

.compare-text {
  color: var(--teal);
}

.panel-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.table-wrap {
  max-width: 100%;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.table-wrap.short {
  max-height: 420px;
}

.subject-table-wrap {
  max-height: 520px;
}

.subject-table-wrap table {
  table-layout: fixed;
}

.subject-table-wrap th {
  white-space: normal;
  line-height: 1.2;
}

.subject-table-wrap th:nth-child(1),
.subject-table-wrap td:nth-child(1) {
  width: 25%;
}

.subject-table-wrap th:nth-child(2),
.subject-table-wrap td:nth-child(2) {
  width: 10%;
}

.subject-table-wrap th:nth-child(3),
.subject-table-wrap td:nth-child(3),
.subject-table-wrap th:nth-child(4),
.subject-table-wrap td:nth-child(4) {
  width: 13%;
}

.subject-table-wrap th:nth-child(5),
.subject-table-wrap td:nth-child(5) {
  width: 17%;
}

.subject-table-wrap th:nth-child(6),
.subject-table-wrap td:nth-child(6) {
  width: 22%;
}

.subject-table-wrap th:nth-child(n + 3),
.subject-table-wrap td:nth-child(n + 3) {
  text-align: right;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  table-layout: auto;
}

.school-panel table {
  table-layout: fixed;
}

.school-panel th:nth-child(1),
.school-panel td:nth-child(1) {
  width: 34%;
}

.school-panel th:nth-child(2),
.school-panel td:nth-child(2) {
  width: 27%;
}

.school-panel th:nth-child(3),
.school-panel td:nth-child(3) {
  width: 29%;
}

.school-panel th:nth-child(4),
.school-panel td:nth-child(4) {
  width: 10%;
}

.school-panel th {
  white-space: normal;
}

.postcode-table {
  table-layout: fixed;
}

.postcode-table th {
  white-space: normal;
  line-height: 1.2;
}

.postcode-table th:nth-child(1),
.postcode-table td:nth-child(1) {
  width: 18%;
}

.postcode-table th:nth-child(1) {
  white-space: nowrap;
}

.postcode-table th:nth-child(2),
.postcode-table td:nth-child(2) {
  width: 16%;
}

.postcode-table th:nth-child(3),
.postcode-table td:nth-child(3) {
  width: 24%;
}

.postcode-table th:nth-child(4),
.postcode-table td:nth-child(4),
.postcode-table th:nth-child(5),
.postcode-table td:nth-child(5) {
  width: 21%;
}

.selected-postcode-display {
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin-top: 14px;
  color: #596777;
}

.selected-postcode-display span {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.selected-postcode-display strong {
  color: var(--publication-burgundy);
  font-size: 38px;
  font-weight: 950;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 901px) {
  body.publication .school-postcode-grid > .panel > .panel-head {
    min-height: 206px;
    margin-bottom: 12px;
  }
}

.postcode-table tbody tr.postcode-heat-row {
  background: var(--postcode-row-heat);
  transition: background-color 130ms ease, box-shadow 130ms ease;
}

.postcode-table tbody tr.postcode-heat-row.loss:hover {
  box-shadow: inset 4px 0 0 var(--red-dark);
}

.postcode-table tbody tr.postcode-heat-row.gain:hover {
  box-shadow: inset 4px 0 0 #176d4b;
}

/*
 * The postcode evidence needs five fields on desktop, but forcing those fields
 * into five narrow columns makes values collide on portrait and mid-width
 * screens. Below 900px, retain the table semantics while laying each row out as
 * a compact evidence card.
 */
@media (max-width: 900px) {
  body.publication .postcode-table {
    table-layout: auto;
  }

  body.publication .postcode-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  body.publication .postcode-table,
  body.publication .postcode-table tbody {
    display: block;
    width: 100%;
  }

  body.publication .postcode-table tbody tr.postcode-heat-row {
    display: grid;
    grid-template-columns: minmax(118px, 0.8fr) minmax(0, 1.2fr);
    width: 100%;
    padding: 12px 14px 14px;
    column-gap: 22px;
    row-gap: 10px;
    border-bottom: 1px solid rgba(41, 74, 93, 0.2);
  }

  body.publication .postcode-table tbody tr.postcode-heat-row td {
    display: block;
    width: auto;
    min-width: 0;
    padding: 0;
    border: 0;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  body.publication .postcode-table tbody tr.postcode-heat-row td::before {
    display: block;
    margin-bottom: 3px;
    color: #5c6876;
    content: attr(data-label);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.055em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  body.publication .postcode-table tbody tr.postcode-heat-row td:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
    padding-right: 34px;
  }

  body.publication .postcode-table tbody tr.postcode-heat-row td:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    padding-left: 8px;
  }

  body.publication .postcode-table tbody tr.postcode-heat-row td:nth-child(3) {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  body.publication .postcode-table tbody tr.postcode-heat-row td:nth-child(4) {
    grid-column: 1;
    grid-row: 3;
  }

  body.publication .postcode-table tbody tr.postcode-heat-row td:nth-child(5) {
    grid-column: 2;
    grid-row: 3;
  }

  body.publication .postcode-table .postcode-ostinato-trigger {
    display: block;
    width: 100%;
    padding: 2px 0;
    text-align: left;
  }

  body.publication .postcode-table .postcode-ostinato-trigger > .sound-click-cue {
    top: 50%;
    right: -27px;
    width: 48px;
    height: 48px;
    opacity: 0.5;
    transform: translateY(-50%);
  }
}

@media (max-width: 480px) {
  body.publication .postcode-table tbody tr.postcode-heat-row {
    grid-template-columns: minmax(98px, 0.75fr) minmax(0, 1.25fr);
    padding-inline: 11px;
    column-gap: 16px;
  }

  body.publication .postcode-table tbody tr.postcode-heat-row td:nth-child(4),
  body.publication .postcode-table tbody tr.postcode-heat-row td:nth-child(5) {
    grid-column: 1 / -1;
  }

  body.publication .postcode-table tbody tr.postcode-heat-row td:nth-child(4) {
    grid-row: 3;
  }

  body.publication .postcode-table tbody tr.postcode-heat-row td:nth-child(5) {
    grid-row: 4;
  }
}

.school-name {
  display: block;
  color: var(--ink);
  line-height: 1.3;
}

.cell-meta {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #294a5d;
  color: white;
  text-align: left;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}

th::after {
  content: "↕";
  margin-left: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  font-weight: 900;
}

th.sort-asc::after {
  content: "↑";
  color: white;
}

th.sort-desc::after {
  content: "↓";
  color: white;
}

th,
td {
  padding: 8px 9px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  overflow-wrap: anywhere;
}

tbody tr:nth-child(even) {
  background: #f7f9fb;
}

.subject-table-wrap tbody tr.subject-heat-row {
  background: var(--subject-row-heat);
  transition: background-color 130ms ease, box-shadow 130ms ease;
}

.subject-table-wrap tbody tr.subject-heat-row:hover {
  box-shadow: inset 4px 0 0 #7d8a98;
}

.subject-table-wrap tbody tr.subject-heat-row.loss:hover {
  box-shadow: inset 4px 0 0 var(--red-dark);
}

.subject-table-wrap tbody tr.subject-heat-row.gain:hover {
  box-shadow: inset 4px 0 0 #176d4b;
}

.school-table-wrap tbody tr.school-heat-row {
  background: var(--school-row-heat);
  transition: background-color 130ms ease, box-shadow 130ms ease;
}

.school-table-wrap tbody tr.school-heat-row:hover {
  box-shadow: inset 4px 0 0 var(--red-dark);
}

.school-table-wrap tbody tr.school-heat-row.no-arts td:nth-child(3) {
  color: #9f1230;
  font-weight: 850;
}

td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.change-cell {
  min-width: 0;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.change-content {
  display: grid;
  grid-template-columns: 44px 54px;
  gap: 3px;
  align-items: center;
  justify-content: end;
}

.delta-line {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 12px;
  vertical-align: -1px;
  background: #eef2f6;
  border-radius: 999px;
}

.delta-axis {
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: 50%;
  width: 1px;
  background: #7d8a98;
}

.delta-fill {
  position: absolute;
  top: 2px;
  bottom: 2px;
  border-radius: 999px;
}

.delta-fill.loss {
  right: 50%;
  background: var(--red);
}

.delta-fill.gain {
  left: 50%;
  background: var(--gain);
}

.negative {
  color: var(--red);
  font-weight: 700;
}

.positive {
  color: #18724e;
  font-weight: 700;
}

.arts-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--red);
}

.arts-dot.after {
  margin-right: 0;
  margin-left: 6px;
  vertical-align: 1px;
}

.sources {
  margin-top: 14px;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.source-links {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 15px;
}

.source-links a {
  color: var(--red);
  font-weight: 700;
}

.scaling-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(540px, 0.9fr);
  gap: 28px;
  align-items: end;
  margin-top: 22px;
  padding: 26px;
  border-top: 6px solid var(--red-dark);
  border-radius: 8px;
  background: #fff;
}

.scaling-intro-copy h2 {
  max-width: 760px;
  margin-bottom: 8px;
  font-size: 32px;
}

.scaling-intro-copy p:last-child {
  max-width: 850px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.section-kicker {
  margin-bottom: 5px;
  color: var(--red-dark);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.scaling-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.scaling-controls label > span,
.scaling-controls legend,
.inline-select span {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
}

.scaling-controls fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-row.compact {
  flex-wrap: nowrap;
  gap: 6px;
}

.choice-row.compact .choice-pill {
  flex: 1;
  justify-content: center;
  min-width: 52px;
  padding-inline: 6px;
}

.scaling-grid .panel {
  min-width: 0;
}

.scaling-gap-panel {
  margin-top: 14px;
}

.scaling-gap-wrap {
  max-height: 580px;
}

.scaling-gap-wrap table {
  min-width: 980px;
}

.formula-drawer {
  margin: 12px 0 14px;
  border: 1px solid #d9c2c8;
  border-left: 5px solid var(--red);
  border-radius: 6px;
  background: #fff8f9;
}

.formula-drawer > summary {
  padding: 14px 16px 8px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
  cursor: pointer;
}

.formula-drawer > p {
  max-width: 1180px;
  margin: 0;
  padding: 2px 16px 16px;
  color: var(--muted);
  font-size: 16px;
}

.scaling-grid th {
  padding-inline: 7px;
  white-space: normal;
  line-height: 1.2;
}

.scaling-grid th small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 650;
}

.stacked-cell span {
  display: block;
  white-space: nowrap;
}

.stacked-cell span + span {
  margin-top: 3px;
}

.stacked-cell b {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.quality-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 2px 0 8px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

.quality-strip span {
  padding: 0 12px;
  border-right: 1px solid var(--line);
}

.quality-strip span:first-child {
  padding-left: 0;
}

.quality-strip span:last-child {
  border-right: 0;
}

.quality-strip b {
  color: var(--ink);
}

.quality-strip .quality-ok {
  color: #18724e;
}

.quality-strip .quality-missing {
  color: var(--red-dark);
}

.scaling-history-wrap {
  max-height: 430px;
}

.association-head {
  align-items: end;
}

.inline-select {
  width: min(250px, 42%);
  flex: 0 0 auto;
}

.inline-select select {
  min-height: 42px;
  font-size: 15px;
}

.correlation-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 2px 0 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.persistent-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.correlation-metric {
  min-width: 0;
  padding: 0 12px;
  border-right: 1px solid var(--line);
}

.correlation-metric:first-child {
  padding-left: 0;
}

.correlation-metric:last-child {
  border-right: 0;
}

.correlation-metric span,
.correlation-metric small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}

.correlation-metric strong {
  display: block;
  margin: 2px 0;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.1;
}

.compact-analysis-table {
  margin-top: 8px;
}

.compact-analysis-table table {
  table-layout: fixed;
}

.compact-analysis-table th,
.compact-analysis-table td {
  padding-block: 6px;
}

.method-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 0.75fr;
  gap: 28px;
}

.method-callout {
  margin-top: 22px;
  padding: 16px 18px;
  border-left: 5px solid var(--red);
  background: #fff5f6;
}

.method-callout h3 {
  margin-bottom: 5px;
}

.method-callout p {
  max-width: 1100px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.method-drawer {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  overflow: clip;
}

.method-drawer > summary {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  min-height: 58px;
  padding: 14px 18px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.method-drawer > summary::-webkit-details-marker {
  display: none;
}

.method-drawer > summary::after {
  content: "+";
  color: var(--red-dark);
  font-size: 24px;
  line-height: 1;
}

.method-drawer[open] > summary::after {
  content: "−";
}

.method-drawer > .panel,
.method-drawer > .measurement-key {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
}

.source-distinction {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  background: var(--line);
}

.source-distinction article {
  padding: 20px;
  background: white;
}

.source-distinction .student-source {
  box-shadow: inset 0 5px 0 var(--publication-yellow);
}

.source-distinction h3 {
  color: var(--red-dark);
}

.source-distinction p,
.limitations-list p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.limitations-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  padding: 6px 20px 18px;
}

.limitations-list p {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.limitations-list p:last-child {
  border-bottom: 0;
}

.limitations-list strong {
  color: var(--ink);
}

.method-list {
  margin: 0;
}

.method-list div {
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.method-list dt {
  color: var(--ink);
  font-weight: 800;
}

.method-list dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.qa-list {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  margin: 0;
}

.qa-list dt {
  color: var(--muted);
}

.qa-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
  text-align: right;
}

.report-source-band {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.report-source-band h3 {
  margin: 0;
}

.report-links {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.report-links a {
  display: block;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--red-dark);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.fit-line {
  fill: none;
  stroke-width: 2.4;
}

.fit-line.highlight {
  stroke-width: 4;
}

.published-point {
  stroke: white;
  stroke-width: 1.8;
}

.zero-line {
  stroke: #657485;
  stroke-width: 1.4;
  stroke-dasharray: 5 4;
}

.selected-raw-line {
  stroke: var(--red-dark);
  stroke-width: 1.5;
  stroke-dasharray: 3 4;
}

.scatter-point {
  stroke: white;
  stroke-width: 1.3;
}

.coverage-low {
  color: var(--red-dark);
  font-weight: 750;
}

@media (max-width: 1180px) {
  .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .insight-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 980px) {
  .topbar,
  .grid.two,
  .control-band,
    .measurement-key,
    .source-grid,
    .map-wrap,
    .scaling-intro,
    .scaling-controls,
    .method-columns,
    .source-distinction,
    .report-source-band {
    grid-template-columns: 1fr;
  }

  .topbar {
    display: grid;
    padding: 28px 20px;
  }

  .learner-takeaway {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .view-boundary {
    grid-template-columns: 170px minmax(0, 1fr);
  }

  h1 {
    font-size: 34px;
  }

  /*
   * When the evidence sources stack, frame the student polychorus vertically.
   * Inset rules keep the shared column width intact and avoid side overflow.
   */
  .source-distinction .student-source {
    box-shadow:
      inset 5px 0 0 var(--publication-yellow),
      inset -5px 0 0 var(--publication-yellow);
  }

  .choice-row {
    max-width: 720px;
  }

  .choice-row.compact {
    flex-wrap: wrap;
  }

  .inline-select {
    width: 100%;
  }

  .association-head {
    display: grid;
  }

  .correlation-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 14px;
  }

  .persistent-summary {
    grid-template-columns: 1fr;
  }

  .persistent-summary .correlation-metric {
    padding: 10px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .persistent-summary .correlation-metric:last-child {
    border-bottom: 0;
  }

  .correlation-metric:nth-child(2) {
    border-right: 0;
  }

  .report-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .flow-arrow {
    display: none;
  }

  main {
    width: min(100vw - 24px, 760px);
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .dashboard-view-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    top: 4px;
    margin-bottom: 18px;
  }

  .dashboard-view-nav button {
    min-height: 54px;
    padding-inline: 6px;
    font-size: 15px;
  }

  .view-intro h2,
  .insight-summary-head h2 {
    font-size: 26px;
  }

  .view-intro > p:last-child {
    font-size: 17px;
  }

  .insight-summary-head,
  .insight-list article,
  .learner-takeaway {
    padding-inline: 18px;
  }

  .insight-list {
    grid-template-columns: 1fr;
  }

  .insight-list article,
  .insight-list article:nth-child(2) {
    border: 0;
  }

  .question-paths,
  .view-boundary {
    grid-template-columns: 1fr;
  }

  .kpis {
    grid-template-columns: 1fr;
  }

  .kpi > span:first-child {
    min-height: 0;
  }

  .subject-table-wrap table {
    min-width: 600px;
  }
}

/* Integrated publication: STORY · EXPLORE · METHODS */
body.publication {
  --publication-black: #15191f;
  --publication-yellow: #f2c94c;
  --publication-burgundy: #b10f32;
  --publication-burgundy-dark: #8b0926;
  --publication-blue: #245f83;
  --publication-grey: #f1f3f5;
  --reading-next-height: 56px;
  background: #fff;
  color: #1b232c;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.56;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

/* Phone-safe scroll fix only: on narrow/touch viewports, async re-renders of
   report sections above the viewport (charts, listening landscape, etc.)
   were tripping the browser's automatic scroll-anchoring, which yanked the
   page back up toward an earlier anchor instead of holding position at the
   bottom of the page. Disabling it below 820px leaves desktop untouched. */
@media (max-width: 820px) {
  html {
    overflow-anchor: none;
  }
}

body.publication .topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 42px;
  background: var(--publication-black);
  color: #fff;
  box-shadow: 0 3px 0 var(--publication-burgundy);
}

.publication-mark a {
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
}

.publication-return {
  color: var(--publication-yellow);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
}

.publication-return:hover,
.publication-return:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--publication-yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}

.publication-nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 30px;
}

.publication-nav a {
  display: inline-flex;
  align-items: center;
  border-bottom: 4px solid transparent;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.publication-nav a:hover,
.publication-nav a:focus-visible,
.publication-nav a[aria-current="page"] {
  border-bottom-color: var(--publication-yellow);
  color: var(--publication-yellow);
}

body.publication main {
  width: 100%;
  margin: 0;
  padding-bottom: var(--reading-next-height);
}

html.is-guided-scrolling {
  scroll-behavior: auto;
}

.reading-next-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 98;
  display: grid;
  place-items: center;
  height: var(--reading-next-height);
  background: var(--publication-black);
  box-shadow:
    0 -3px 0 var(--publication-burgundy),
    0 -12px 28px rgba(11, 15, 20, 0.14);
  color: #fff;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 320ms ease,
    transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reading-next-button {
  position: relative;
  display: grid;
  place-items: center;
  align-self: stretch;
  min-width: min(240px, 48vw);
  margin: 0;
  padding: 0 36px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: 900 14px/1 Arial, Helvetica, sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.reading-next-button::after {
  position: absolute;
  right: 36px;
  bottom: 12px;
  left: 36px;
  height: 2px;
  background: var(--publication-yellow);
  content: "";
  opacity: 0.72;
  transform: scaleX(0.34);
  transition:
    opacity 180ms ease,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reading-next-button:hover,
.reading-next-button:focus-visible {
  background: rgba(255, 255, 255, 0.045);
  color: var(--publication-yellow);
  outline: none;
}

.reading-next-button:hover::after,
.reading-next-button:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.reading-next-button:focus-visible {
  box-shadow: inset 0 0 0 2px var(--publication-yellow);
}

.reading-next-button:disabled {
  color: rgba(255, 255, 255, 0.32);
  cursor: default;
}

.reading-next-button:disabled::after {
  opacity: 0.18;
  transform: scaleX(0.2);
}

html.listening-locked .reading-next-bar {
  pointer-events: none;
  opacity: 0;
  transform: translateY(100%);
}

body.publication main > :not(.story-opening):not(.story-chapter):not(.explore-opening):not(.methods-opening):not(.methods-overview):not(.closing-coda) {
  width: min(1480px, calc(100% - 80px));
  margin-right: auto;
  margin-left: auto;
}

body.publication [data-dashboard-views] {
  display: block !important;
}

body.publication .grid.two,
body.publication .kpis,
body.publication .control-band,
body.publication .scaling-intro,
body.publication .scaling-controls,
body.publication .source-grid,
body.publication .source-distinction,
body.publication .method-columns,
body.publication .map-wrap {
  display: grid !important;
}

body.publication .dashboard-view-nav,
body.publication .view-intro,
body.publication .view-boundary,
body.publication .insight-summary,
body.publication .question-paths {
  display: none !important;
}

.story-opening {
  background: #fff;
}

.story-title-band {
  min-height: 330px;
  padding: 78px max(42px, calc((100% - 1480px) / 2));
  background: var(--publication-burgundy);
  color: #fff;
}

.story-title-band .eyebrow {
  margin: 28px 0 0;
  color: var(--publication-yellow);
  font-size: 15px;
  letter-spacing: 0;
}

.story-title-rule {
  display: block;
  width: 150px;
  height: 9px;
  margin-bottom: 30px;
  background: var(--publication-yellow);
}

.story-title-band h1 {
  margin: 0;
  font-size: 92px;
  line-height: 0.92;
  letter-spacing: 0;
}

.story-subtitle {
  max-width: 820px;
  margin: 22px 0 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.18;
}

.opening-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(480px, 1.05fr);
  gap: 70px;
  width: min(1480px, calc(100% - 80px));
  margin: 0 auto;
  padding: 58px 0 42px;
  align-items: center;
}

.opening-map {
  margin: 0;
}

.opening-map-instrument {
  position: relative;
  isolation: isolate;
}

button.opening-map-instrument {
  display: block;
  width: 100%;
  padding: 0;
  color: inherit;
  text-align: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

button.opening-map-instrument:focus-visible {
  outline: 5px solid var(--publication-yellow);
  outline-offset: 7px;
}

button.opening-map-instrument img {
  display: block;
  transform-origin: 48% 52%;
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  backface-visibility: hidden;
  will-change: filter, transform;
  transition: filter 520ms ease, transform 700ms cubic-bezier(0.22, 0.72, 0.18, 1);
}

button.opening-map-instrument:hover img {
  filter: saturate(1.58) hue-rotate(-8deg) contrast(1.1);
}

button.opening-map-instrument:focus-visible img {
  filter: saturate(1.58) hue-rotate(-8deg) contrast(1.1);
  transform: translate3d(0, -7px, 0) scale(1.018);
}

@media (prefers-reduced-motion: reduce) {
  button.opening-map-instrument img {
    transition: filter 180ms ease;
  }

  button.opening-map-instrument:hover img,
  button.opening-map-instrument:focus-visible img {
    transform: none;
  }
}

.opening-map img {
  display: block;
  width: 100%;
  max-height: 980px;
  object-fit: contain;
  object-position: center;
}

.opening-map figcaption,
.wide-evidence-figure figcaption,
.scaling-reference-grid figcaption {
  margin-top: 12px;
  color: #596573;
  font-size: 15px;
  line-height: 1.42;
}

.mobile-region-summary {
  display: none;
}

.opening-map a,
.wide-evidence-figure a,
.story-chart-link a,
.scaling-reference-grid a {
  color: var(--publication-burgundy);
  font-weight: 800;
  text-underline-offset: 3px;
}

.chapter-number {
  margin: 0 0 14px;
  color: var(--publication-burgundy);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.opening-argument h2,
.story-chapter h2,
.explore-opening h2,
.methods-opening h2 {
  max-width: 850px;
  margin: 0 0 22px;
  color: var(--publication-black);
  font-size: 52px;
  line-height: 1.03;
  letter-spacing: 0;
  text-wrap: balance;
}

.argument-lede,
.story-chapter .chapter-copy > p:not(.chapter-number):not(.chapter-reading),
.explore-opening > p:last-child,
.methods-opening > p:last-child {
  max-width: 850px;
  color: #45515f;
  font-size: 21px;
  line-height: 1.48;
}

.finding-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 36px 0 28px;
  border-top: 2px solid var(--publication-black);
  border-bottom: 2px solid var(--publication-black);
}

.finding-strip div {
  min-width: 0;
  padding: 20px 18px 22px 0;
}

.finding-strip div + div {
  padding-left: 18px;
  border-left: 1px solid #b8bec6;
}

.finding-strip dt {
  color: #475362;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.finding-strip dd {
  margin: 5px 0 4px;
  color: var(--publication-burgundy);
  font-size: 39px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.finding-strip small {
  display: block;
  color: #596573;
  font-size: 14px;
  line-height: 1.28;
}

.scope-statement {
  max-width: 860px;
  margin: 0;
  padding-left: 18px;
  border-left: 4px solid var(--publication-yellow);
  color: #3e4956;
  font-size: 17px;
}

.student-voice {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  column-gap: 24px;
  width: min(1160px, calc(100% - 80px));
  margin: 20px auto 74px;
  padding: 22px 0;
  border: 0;
}

.student-voice > span {
  grid-row: 1 / span 2;
  background: var(--publication-yellow);
}

.student-voice p {
  max-width: 980px;
  margin: 0;
  color: var(--publication-black);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
}

.student-voice cite {
  margin-top: 10px;
  color: #66717e;
  font-size: 14px;
  font-style: normal;
}

.chapter-voice {
  margin-top: 34px;
  margin-bottom: 34px;
}

.scaling-voice {
  width: 100%;
  margin: 44px 0 0;
}

.map-reading-key {
  display: grid;
  gap: 5px;
  margin-top: 18px;
  padding: 17px 0 0 18px;
  border-top: 1px solid #bcc3ca;
  border-left: 5px solid var(--publication-yellow);
  color: #465260;
  font-size: 15px;
  line-height: 1.38;
}

.map-reading-key strong {
  color: var(--publication-burgundy);
  font-size: 17px;
}

.story-chapter,
.explore-opening,
.methods-opening {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
  gap: 70px;
  align-items: end;
  padding: 76px max(42px, calc((100% - 1480px) / 2));
  border-top: 1px solid #d6dbe1;
}

.story-chapter.pale-band {
  background: var(--publication-grey);
}

.story-chart-link {
  display: grid;
  gap: 0;
  border-top: 2px solid var(--publication-black);
}

.story-chart-link a {
  padding: 16px 0;
  border-bottom: 1px solid #bbc2ca;
  text-decoration: none;
}

.story-chart-link a::after {
  content: " →";
  color: var(--publication-yellow);
}

.chapter-reading {
  max-width: 800px;
  margin: 28px 0 0;
  padding-top: 16px;
  border-top: 1px solid #b9c0c8;
  color: #26313c;
  font-size: 18px;
}

.burgundy-band {
  background: var(--publication-burgundy);
  color: #fff;
}

.burgundy-band .chapter-number,
.burgundy-band h2,
.burgundy-band .chapter-copy > p,
.burgundy-band .chapter-reading,
.burgundy-band .story-chart-link a {
  color: #fff !important;
}

.burgundy-band .chapter-reading,
.burgundy-band .story-chart-link,
.burgundy-band .story-chart-link a {
  border-color: rgba(255, 255, 255, 0.35);
}

.scaling-story {
  display: block;
  padding-bottom: 90px;
}

.scaling-story .chapter-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  column-gap: 70px;
  align-items: end;
}

.scaling-story .chapter-copy .chapter-number,
.scaling-story .chapter-copy h2 {
  grid-column: 1;
}

.scaling-story .chapter-copy > p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.wide-evidence-figure {
  margin: 50px 0 0;
}

.wide-evidence-figure img,
.scaling-reference-grid img {
  display: block;
  width: 100%;
  height: auto;
}

.scaling-reference-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 52px;
}

.scaling-reference-grid figure {
  min-width: 0;
  margin: 0;
}

.explore-opening,
.methods-opening {
  display: block;
  background: var(--publication-black);
  color: #fff;
}

.explore-opening h2,
.methods-opening h2 {
  color: #fff;
}

.explore-opening .chapter-number,
.methods-opening .chapter-number {
  color: var(--publication-yellow);
}

.explore-opening > p:last-child,
.methods-opening > p:last-child {
  color: #d7dde3;
}

body.publication .control-band {
  grid-template-columns: minmax(300px, 1.15fr) auto minmax(260px, 0.9fr) auto minmax(260px, 0.9fr) auto;
  gap: 18px;
  align-items: end;
  margin-top: 40px;
  margin-bottom: 30px;
  padding: 25px 0 28px;
  border: 0;
  border-bottom: 4px solid var(--publication-yellow);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.publication .control-group,
body.publication .scaling-controls label,
body.publication .scaling-controls fieldset {
  border-radius: 0;
}

body.publication .go-button {
  min-width: 92px;
  min-height: 52px;
  border: 0;
  border-radius: 0;
  background: var(--publication-burgundy);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

body.publication .flow-arrow {
  color: var(--publication-burgundy);
  font-size: 28px;
}

body.publication .kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 30px;
  margin-bottom: 44px;
  border-top: 2px solid var(--publication-black);
  border-bottom: 2px solid var(--publication-black);
}

body.publication .kpi {
  min-width: 0;
  padding: 24px 26px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

body.publication .kpi + .kpi {
  border-left: 1px solid #c9cfd6;
}

body.publication .kpi strong {
  color: var(--publication-burgundy);
  white-space: nowrap;
}

body.publication .grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 54px;
  margin-top: 0;
  margin-bottom: 16px;
}

body.publication .panel-head {
  position: relative;
}

body.publication [id] {
  scroll-margin-top: 82px;
}

[data-tooltip] {
  position: relative;
  cursor: help;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 0;
  bottom: calc(100% + 9px);
  z-index: 30;
  width: min(330px, 78vw);
  padding: 12px 14px;
  border: 1px solid #303841;
  background: #15191f;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 120ms ease, transform 120ms ease;
}

[data-tooltip]:hover::after,
[data-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

[data-tooltip].tooltip-align-left::after {
  right: auto;
  left: -8px;
}

.inline-info {
  display: inline-grid;
  width: 22px;
  height: 22px;
  margin-left: 7px;
  padding: 0;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  vertical-align: 2px;
}

.inline-info:hover,
.inline-info:focus-visible {
  background: var(--publication-burgundy);
  color: #fff;
  outline: none;
}

.enlargeable-chart {
  cursor: zoom-in;
}

.chart-lightbox {
  width: min(1500px, calc(100vw - 48px));
  max-width: none;
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 0;
  background: #fff;
  color: var(--publication-black);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.4);
}

.chart-lightbox::backdrop {
  background: rgba(14, 18, 22, 0.82);
}

.chart-lightbox-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 26px;
  border-top: 7px solid var(--publication-yellow);
  background: #15191f;
  color: #fff;
}

.chart-lightbox-head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 3vw, 42px);
}

.chart-lightbox-head button {
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
}

.chart-lightbox-content {
  padding: 28px 34px 38px;
  overflow: auto;
}

.chart-lightbox-content .enlargeable-chart {
  width: 100%;
  max-width: none;
  cursor: default;
}

body.publication .secondary-analysis {
  display: none !important;
}

body.publication .grid.two.secondary-analysis {
  display: none !important;
}

.wide-evidence-figure {
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
}

.scaling-reference-grid.stacked-evidence {
  grid-template-columns: 1fr;
  max-width: 1050px;
  margin-right: auto;
  margin-left: auto;
  gap: 64px;
}

body.publication .control-band,
body.publication .scaling-intro {
  padding: 38px 0;
  background: var(--publication-black);
  color: #fff;
  box-shadow: 0 0 0 100vmax var(--publication-black);
  clip-path: inset(0 -100vmax);
}

body.publication .scaling-controls {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.publication .control-band legend,
body.publication .control-band .control-title,
body.publication .scaling-intro h2,
body.publication .scaling-intro-copy p:last-child,
body.publication .scaling-controls label > span,
body.publication .scaling-controls legend {
  color: #fff;
}

body.publication .control-band .step,
body.publication .scaling-intro .section-kicker {
  color: var(--publication-yellow);
}

body.publication .scaling-grid:not(.secondary-analysis) {
  grid-template-columns: 1fr;
  max-width: 1080px;
  margin-right: auto;
  margin-left: auto;
}

body.publication .scaling-enrolment-panel {
  max-width: 1080px;
  margin: 16px auto 34px;
}

#scalingCurveChart,
#commonScoreChart,
#scalingEnrollmentChart {
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
}

.raw-score-slider {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 56px;
  gap: 14px;
  align-items: center;
  min-height: 48px;
}

.raw-score-slider input {
  width: 100%;
  accent-color: #e02145;
}

.raw-score-slider output {
  display: grid;
  place-items: center;
  min-height: 44px;
  background: #fff;
  color: var(--publication-burgundy);
  font-size: 21px;
  font-weight: 900;
}

.endpoint-value {
  font-size: 16px;
  font-weight: 900;
}

body.publication .panel,
body.publication .scaling-intro,
body.publication .method-drawer,
body.publication .limitations-list {
  border: 0;
  border-top: 2px solid var(--publication-black);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

body.publication .panel {
  padding: 26px 0 38px;
}

body.publication .panel h2,
body.publication .scaling-intro h2,
body.publication .methods-opening + .method-drawer summary {
  font-size: 30px;
  line-height: 1.14;
}

body.publication .panel-head p,
body.publication .panel-note,
body.publication .chart-footnote,
body.publication .chart-unit {
  font-size: 16px;
}

body.publication .panel-details {
  margin-top: 16px;
  border-top: 1px solid #ccd2d9;
}

body.publication .panel-details summary,
body.publication .method-drawer summary {
  color: var(--publication-burgundy);
  font-weight: 900;
}

body.publication .chart {
  min-height: 390px;
}

body.publication .chart svg {
  overflow: visible;
}

body.publication .chart text,
body.publication .region-heatmap text {
  font-family: Arial, Helvetica, sans-serif;
}

body.publication .table-wrap {
  border: 1px solid #c7cdd4;
  border-radius: 0;
}

body.publication table th {
  font-size: 15px;
}

body.publication table td {
  font-size: 15px;
}

body.publication .scaling-intro {
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: 54px;
  margin-top: 60px;
  padding: 32px 0;
}

body.publication .method-drawer {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
}

body.publication .method-drawer > summary {
  min-height: 68px;
  padding: 20px 0;
  font-size: 21px;
}

body.publication .source-links a,
body.publication .report-links a {
  color: var(--publication-burgundy);
}

body.publication :focus-visible {
  outline: 4px solid var(--publication-yellow);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .opening-grid,
  .story-chapter,
  .scaling-story .chapter-copy {
    grid-template-columns: 1fr;
  }

  .scaling-story .chapter-copy .chapter-number,
  .scaling-story .chapter-copy h2,
  .scaling-story .chapter-copy > p:last-child {
    grid-column: 1;
    grid-row: auto;
  }

  body.publication .control-band {
    grid-template-columns: 1fr 1fr;
  }

  body.publication .flow-arrow {
    display: none;
  }

  body.publication .grid.two,
  body.publication .scaling-intro {
    grid-template-columns: 1fr;
  }

  body.publication .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.publication .kpi:nth-child(3) {
    border-left: 0;
    border-top: 1px solid #c9cfd6;
  }

  body.publication .kpi:nth-child(4) {
    border-top: 1px solid #c9cfd6;
  }
}

@media (max-width: 720px) {
  body.publication {
    font-size: 17px;
  }

  body.publication .topbar {
    min-height: 62px;
    padding: 0 18px;
  }

  .publication-nav {
    gap: 16px;
  }

  .publication-nav a {
    font-size: 13px;
  }

  .publication-mark a {
    font-size: 16px;
  }

  .publication-return {
    font-size: 13px;
  }

  body.publication main > :not(.story-opening):not(.story-chapter):not(.explore-opening):not(.methods-opening):not(.methods-overview):not(.closing-coda) {
    width: min(100% - 28px, 680px);
  }

  .story-title-band,
  .story-chapter,
  .explore-opening,
  .methods-opening {
    padding: 50px 22px;
  }

  .story-title-band {
    min-height: 280px;
  }

  .story-title-band h1 {
    font-size: 60px;
  }

  .story-subtitle {
    font-size: 22px;
  }

  .opening-grid {
    grid-template-columns: 1fr;
    width: calc(100% - 32px);
    gap: 40px;
    padding: 34px 0 26px;
  }

  .mobile-region-summary {
    display: grid;
    margin: 22px 0 0;
    border-top: 2px solid var(--publication-black);
  }

  .mobile-region-summary div {
    display: grid;
    grid-template-columns: minmax(112px, 0.75fr) minmax(0, 1.25fr);
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #d0d5db;
  }

  .mobile-region-summary dt,
  .mobile-region-summary dd {
    margin: 0;
    font-size: 14px;
    line-height: 1.3;
  }

  .mobile-region-summary dt {
    font-weight: 800;
  }

  .mobile-region-summary dd {
    color: var(--publication-burgundy);
    font-weight: 800;
    text-align: right;
  }

  .opening-argument h2,
  .story-chapter h2,
  .explore-opening h2,
  .methods-opening h2 {
    font-size: 38px;
  }

  .argument-lede,
  .story-chapter .chapter-copy > p:not(.chapter-number):not(.chapter-reading),
  .explore-opening > p:last-child,
  .methods-opening > p:last-child {
    font-size: 19px;
  }

  .finding-strip,
  .scaling-reference-grid,
  body.publication .control-band,
  body.publication .kpis {
    grid-template-columns: 1fr;
  }

  .finding-strip div + div,
  body.publication .kpi + .kpi {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid #c9cfd6;
  }

  .student-voice {
    width: calc(100% - 32px);
    margin-bottom: 46px;
  }

  .student-voice p {
    font-size: 27px;
  }

  body.publication .kpi:nth-child(2),
  body.publication .kpi:nth-child(3),
  body.publication .kpi:nth-child(4) {
    border-top: 1px solid #c9cfd6;
  }

  body.publication .scaling-intro {
    display: block !important;
  }

  body.publication .scaling-controls {
    grid-template-columns: 1fr !important;
  }

  body.publication .chart {
    min-height: 330px;
  }

  body.publication .map-wrap {
    grid-template-columns: 1fr !important;
  }

  body.publication .report-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Deliberate listening entrance */
.listening-entry {
  display: none;
}

html.listening-locked,
html.listening-locked body {
  overflow: hidden;
  overscroll-behavior: none;
}

html.listening-locked .listening-header-toggle {
  visibility: hidden;
  pointer-events: none;
}

html.listening-locked main > *:not(.story-opening),
html.listening-locked .story-opening > *:not(.story-title-band):not(.listening-entry) {
  visibility: hidden !important;
  pointer-events: none !important;
}

html.listening-locked .listening-entry {
  visibility: visible !important;
  display: grid;
  place-items: center;
  min-height: max(370px, calc(100svh - 396px));
  padding: 42px 24px 54px;
  color: #fff;
  background: #000;
}

.listening-entry-control {
  display: grid;
  justify-items: center;
  gap: 26px;
}

.listening-entry-button {
  display: block;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.listening-entry-mark {
  --audio-load-progress: 0turn;
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(190px, 27vw, 280px);
  aspect-ratio: 1;
  color: #fff;
  background: #11151b;
  border: clamp(8px, 1.1vw, 12px) solid var(--publication-yellow);
  border-radius: 50%;
  box-shadow: inset 0 0 0 clamp(9px, 1.2vw, 13px) #11151b,
    inset 0 0 0 clamp(12px, 1.55vw, 17px) #fff;
  transition: transform 180ms ease;
}

.listening-entry-mark::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -14px;
  border-radius: 50%;
  background: conic-gradient(
    var(--publication-yellow) var(--audio-load-progress),
    rgba(242, 201, 76, 0.15) 0
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 0);
  mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 0);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.listening-entry-mark > * {
  position: relative;
  z-index: 1;
}

.listening-entry-button.is-loading .listening-entry-mark::before {
  opacity: 1;
}

.listening-entry-button.is-loading .listening-entry-mark {
  animation: listening-entry-load-pulse 1.15s ease-in-out infinite;
}

.listening-entry-button:disabled {
  cursor: wait;
  opacity: 1;
}

@keyframes listening-entry-load-pulse {
  0%,
  100% {
    transform: scale(0.985);
    filter: drop-shadow(0 0 0 rgba(242, 201, 76, 0));
  }
  50% {
    transform: scale(1.025);
    filter: drop-shadow(0 0 12px rgba(242, 201, 76, 0.36));
  }
}

.listening-entry-core {
  display: grid;
  place-items: center;
  width: 68%;
  aspect-ratio: 1;
  border: clamp(2px, 0.32vw, 4px) solid #fff;
  border-radius: 50%;
}

.listening-entry-mark .listening-wave {
  gap: clamp(5px, 0.7vw, 8px);
  height: clamp(44px, 7vw, 66px);
}

.listening-entry-mark .listening-wave i {
  width: clamp(4px, 0.55vw, 7px);
  height: clamp(17px, 2.6vw, 25px);
  border-radius: 8px;
}

.listening-entry-mark .listening-wave i:nth-child(2),
.listening-entry-mark .listening-wave i:nth-child(4) {
  height: clamp(32px, 4.8vw, 46px);
}

.listening-entry-mark .listening-wave i:nth-child(3) {
  height: clamp(44px, 7vw, 66px);
}

.listening-entry-instruction {
  margin: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-align: center;
}

.listening-entry-button:hover .listening-entry-mark {
  transform: scale(1.055);
}

.listening-entry-button:focus-visible {
  outline: 5px solid var(--publication-yellow);
  outline-offset: 8px;
}

html.listening-entered .listening-entry {
  display: none;
}

.opening-listening-landscape {
  transform-origin: 50% 0;
}

.closing-listening-landscape {
  margin-top: 0;
  border-top: 8px solid var(--publication-yellow);
  transform-origin: 50% 100%;
}

html.listening-entered .opening-listening-landscape {
  animation: reveal-listening-landscape 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes reveal-listening-landscape {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.992);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.listening-entered .opening-listening-landscape {
    animation: none;
  }
}

@media (max-width: 720px) {
  html.listening-locked .listening-entry {
    min-height: max(330px, calc(100svh - 360px));
    padding-top: 28px;
  }

  .listening-entry-control {
    gap: 20px;
  }
}

@media (max-width: 720px) {
  html.listening-locked body.publication {
    height: 100dvh;
    min-height: 0;
  }

  html.listening-locked body.publication main {
    height: calc(100dvh - 62px - var(--reading-next-height));
    min-height: 0;
    padding-bottom: 0;
    overflow: hidden;
  }

  html.listening-locked .story-opening {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    height: 100%;
    min-height: 0;
  }

  html.listening-locked main > *:not(.story-opening),
  html.listening-locked .story-opening > *:not(.story-title-band):not(.listening-entry) {
    display: none !important;
  }

  html.listening-locked .story-title-band {
    min-height: 0;
    padding: clamp(18px, 3dvh, 28px) max(22px, env(safe-area-inset-right))
      clamp(18px, 3dvh, 26px) max(22px, env(safe-area-inset-left));
  }

  html.listening-locked .story-title-rule {
    width: 82px;
    height: 5px;
    margin-bottom: 12px;
  }

  html.listening-locked .story-title-band h1 {
    font-size: clamp(40px, 12vw, 54px);
  }

  html.listening-locked .story-subtitle {
    margin-top: 12px;
    font-size: clamp(17px, 5vw, 21px);
  }

  html.listening-locked .story-title-band .eyebrow {
    margin-top: 12px;
    font-size: 11px;
  }

  html.listening-locked .listening-entry {
    min-height: 0;
    height: 100%;
    padding: 10px max(18px, env(safe-area-inset-right))
      max(12px, env(safe-area-inset-bottom))
      max(18px, env(safe-area-inset-left));
  }

  html.listening-locked .listening-entry-control {
    gap: clamp(12px, 2.2dvh, 18px);
  }

  html.listening-locked .listening-entry-mark {
    width: clamp(128px, 39vw, 176px);
    max-width: 22dvh;
    min-width: 128px;
  }

  html.listening-locked .listening-entry-instruction {
    min-height: 1.2em;
    font-size: 10px;
  }
}

@media print {
  html.listening-locked,
  html.listening-locked body {
    overflow: visible;
  }

  html.listening-locked main > *:not(.story-opening),
  html.listening-locked .story-opening > *:not(.story-title-band):not(.listening-entry) {
    visibility: visible !important;
  }

  .listening-entry {
    display: none !important;
  }
}

@media print {
  body.publication .topbar,
  body.publication .control-band,
  body.publication .go-button,
  body.publication .panel-details,
  body.publication .method-drawer:not([open]) {
    display: none !important;
  }

  body.publication main > *,
  .story-opening,
  .story-chapter,
  .explore-opening,
  .methods-opening {
    width: 100% !important;
  }

  .story-title-band,
  .burgundy-band,
  .explore-opening,
  .methods-opening {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}

body.publication section.scaling-intro {
  border-top: 0;
  background: var(--publication-black) !important;
}

/* 2026 public-story rebuild */
body.publication {
  --publication-burgundy: #c4143d;
  --publication-burgundy-dark: #8e002a;
  --publication-red-light: #f7d9df;
  --publication-blue: #276b96;
}

.story-title-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 380px;
  border-bottom: 8px solid var(--publication-yellow);
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 73, 89, 0.28), transparent 30%),
    linear-gradient(135deg, #63001e 0%, #94002d 52%, #ca1740 100%);
}

.story-title-band::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -18% -5%;
  background: url("assets/subject-region-shards.svg") center / cover no-repeat;
  opacity: 0.52;
  pointer-events: none;
}

.story-title-band::after { content: none; }

.future-workforce-frame {
  display: grid;
  grid-template-columns: minmax(420px, 1.05fr) minmax(380px, 0.95fr);
  gap: 70px;
  width: min(100% - 72px, 1180px);
  margin: 0 auto 92px;
  padding: 68px 66px 64px;
  border-top: 8px solid var(--publication-yellow);
  background: var(--publication-black);
  color: #fff;
}

.future-workforce-frame .chapter-number {
  color: var(--publication-yellow);
}

.future-workforce-frame h2 {
  max-width: 720px;
  margin: 8px 0 26px;
  color: #fff;
  font-size: clamp(42px, 4.7vw, 68px);
  line-height: 0.98;
}

.workforce-lede {
  max-width: 700px;
  margin: 0;
  color: #eef1f4;
  font-size: 21px;
  line-height: 1.48;
}

.workforce-timeline {
  display: grid;
  grid-template-columns: minmax(96px, auto) minmax(46px, 1fr) minmax(96px, auto) minmax(46px, 1fr) minmax(110px, auto);
  gap: 10px;
  align-items: start;
  width: 100%;
  max-width: 540px;
  margin: 38px auto 0;
}

.workforce-timeline div {
  position: relative;
  display: grid;
  grid-template-rows: 76px auto;
  gap: 7px;
  justify-items: center;
  text-align: center;
  isolation: isolate;
}

.workforce-milestone strong,
.workforce-milestone .workforce-year,
.workforce-milestone .workforce-stage {
  position: relative;
  z-index: 1;
}

.workforce-timeline strong {
  display: grid;
  place-items: center;
  justify-self: center;
  width: 96px;
  height: 76px;
  margin: 0;
  isolation: isolate;
  cursor: pointer;
}

.workforce-timeline .workforce-year {
  z-index: 2;
  color: var(--publication-yellow);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.workforce-timeline .workforce-stage {
  justify-self: center;
  width: 100%;
  max-width: 122px;
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.18;
  white-space: normal;
}

.workforce-timeline i {
  position: relative;
  align-self: start;
  margin-top: 37px;
  height: 3px;
  background: var(--publication-yellow);
}

.workforce-timeline i::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1px;
  width: 9px;
  height: 9px;
  border-top: 3px solid var(--publication-yellow);
  border-right: 3px solid var(--publication-yellow);
  transform: translateY(-50%) rotate(45deg);
}

.ripple-explainer {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 540px;
  box-sizing: border-box;
  margin: 24px auto 0;
  padding: 15px 18px;
  border: 2px solid rgba(255, 211, 61, 0.72);
  color: #fff;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
  font-size: 17px;
  font-weight: 760;
  line-height: 1.32;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 320ms ease,
    transform 320ms ease,
    visibility 0s linear 320ms;
}

.ripple-explainer.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

.ripple-explainer strong {
  color: var(--publication-yellow);
  font-weight: 950;
}

.ripple-explainer-mark {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      #fff 0 3px,
      transparent 3.5px 10px,
      rgba(255, 211, 61, 0.9) 10.5px 12.5px,
      transparent 13px 19px,
      rgba(255, 255, 255, 0.58) 19.5px 21.5px,
      transparent 22px 25px,
      rgba(255, 211, 61, 0.3) 25.5px 26px
    );
}

.future-workforce-argument > p {
  margin: 0 0 18px;
  color: #dfe4e8;
  font-size: 17px;
  line-height: 1.52;
}

.future-workforce-argument .policy-callout {
  margin: 30px 0;
  padding: 22px 0 22px 25px;
  border-left: 6px solid var(--publication-yellow);
  color: var(--publication-yellow);
  font-size: 27px;
  font-weight: 900;
  line-height: 1.18;
}

.future-workforce-argument .policy-sources {
  margin-bottom: 0;
  padding-top: 18px;
  border-top: 1px solid #4f565e;
  color: #bac3cb;
  font-size: 14px;
}

.policy-sources a {
  color: var(--publication-yellow);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.opening-grid {
  grid-template-columns: minmax(420px, 0.88fr) minmax(520px, 1.12fr);
  align-items: start;
}

.opening-map img {
  filter: saturate(1.48) hue-rotate(-8deg) contrast(1.08);
}

.opening-map figcaption {
  max-width: 620px;
  padding-top: 12px;
  border-top: 2px solid var(--publication-burgundy);
  color: #37414c;
  font-weight: 700;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 36px 0 28px;
  border-top: 3px solid var(--publication-black);
}

.hero-facts div {
  min-width: 0;
  padding: 20px 18px 22px 0;
  border-bottom: 1px solid #b9c0c7;
}

.hero-facts div:nth-child(even) {
  padding-left: 20px;
  border-left: 1px solid #b9c0c7;
}

.hero-facts dt {
  min-height: 2.6em;
  color: #44505d;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero-facts > div:not(.hero-direction) dt {
  min-height: 1.25em;
  white-space: nowrap;
}

.hero-facts dd {
  margin: 8px 0 5px;
  color: var(--publication-burgundy);
  font-size: clamp(42px, 4.2vw, 68px);
  font-weight: 950;
  line-height: 0.95;
  white-space: nowrap;
}

.hero-facts small {
  display: block;
  color: #5d6874;
  font-size: 14px;
  line-height: 1.3;
}

.hero-facts .hero-direction {
  grid-column: 1 / -1;
  padding-right: 0;
  border-left: 0;
}

.hero-facts .hero-direction dt {
  min-height: 0;
  margin-bottom: 15px;
}

.hero-facts .direction-comparison {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2px minmax(0, 1fr);
  gap: 13px;
  align-items: end;
  margin: 0;
  font-size: inherit;
  white-space: normal;
}

.direction-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 12px;
  align-items: center;
}

button.direction-side {
  width: 100%;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

button.direction-side:focus-visible {
  outline: 4px solid var(--publication-yellow);
  outline-offset: 5px;
}

button.right-hand-chapter-trigger {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  width: auto;
  padding: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

button.right-hand-chapter-trigger .listening-wave {
  height: 13px;
  opacity: 0.58;
}

button.right-hand-chapter-trigger .listening-wave i {
  height: 5px;
}

button.right-hand-chapter-trigger .listening-wave i:nth-child(2),
button.right-hand-chapter-trigger .listening-wave i:nth-child(4) {
  height: 9px;
}

button.right-hand-chapter-trigger .listening-wave i:nth-child(3) {
  height: 13px;
}

button.right-hand-chapter-trigger:hover .listening-wave,
button.right-hand-chapter-trigger.is-counting .listening-wave {
  opacity: 1;
}

button.right-hand-chapter-trigger:focus-visible {
  outline: 4px solid var(--publication-yellow);
  outline-offset: 6px;
}

.right-hand-data-trigger {
  cursor: pointer;
}

.right-hand-data-trigger:focus-visible {
  outline: 4px solid var(--publication-yellow);
  outline-offset: 5px;
}

.right-hand-data-trigger.is-counting {
  filter: saturate(1.08) brightness(1.025);
}

[data-right-hand-melody] {
  position: relative;
}

.sound-click-cue {
  position: absolute;
  z-index: 8;
  top: 3px;
  right: 3px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  opacity: 0.54;
  pointer-events: none;
  transform: scale(1);
  transform-origin: center;
  filter: drop-shadow(0 0 4px rgba(196, 20, 61, 0.16));
  background:
    radial-gradient(
      circle,
      rgba(196, 20, 61, 0.86) 0 2px,
      transparent 2.4px 18%,
      rgba(196, 20, 61, 0.48) 19% 22%,
      transparent 23% 34%,
      rgba(196, 20, 61, 0.28) 35% 39%,
      transparent 40% 47%,
      rgba(196, 20, 61, 0.15) 48% 50%,
      transparent 51%
    );
  transition: opacity 180ms ease;
}

[data-right-hand-melody]:hover > .sound-click-cue,
[data-right-hand-melody]:focus-visible > .sound-click-cue {
  opacity: 0.86;
}

.sound-click-cue.is-audible {
  animation: sound-click-ripple 1850ms cubic-bezier(0.14, 0.7, 0.2, 1);
}

.listening-trace > .sound-click-cue {
  display: none;
}

.listening-trace-ripple,
.listening-final-memory-ripple {
  display: none !important;
}

.opening-map-instrument > .sound-click-cue {
  top: 3%;
  right: 3%;
  width: 76px;
  height: 76px;
  opacity: 0.72;
}

#storyTrendChart > .sound-click-cue:not(.sound-click-cue--graph-start),
#completionCheckChart > .sound-click-cue:not(.sound-click-cue--graph-start),
#storySubjectChart > .sound-click-cue:not(.sound-click-cue--subject-start) {
  display: none;
}

#sectorIntensityChart > .sound-click-cue {
  top: 39%;
  right: auto;
  left: 18%;
  width: 112px;
  height: 112px;
  opacity: 0.68;
  transform: translate(-50%, -50%) scale(1);
}

#sectorIntensityChart:hover > .sound-click-cue,
#sectorIntensityChart:focus-visible > .sound-click-cue {
  opacity: 0.94;
}

#sectorIntensityChart > .sound-click-cue.is-audible {
  animation: chart-field-sound-ripple 2100ms cubic-bezier(0.12, 0.72, 0.2, 1);
}

.story-trend-svg-cue {
  pointer-events: none;
  opacity: 0.7;
  filter: drop-shadow(0 0 6px rgba(196, 20, 61, 0.2));
}

.story-trend-svg-cue-ring {
  fill: none;
  stroke: rgba(196, 20, 61, 0.5);
  stroke-width: 1.8;
}

.story-trend-svg-cue-ring-2 {
  stroke-opacity: 0.78;
}

.story-trend-svg-cue-ring-3 {
  stroke-opacity: 0.48;
}

.story-trend-svg-cue-ring-4 {
  stroke-opacity: 0.26;
}

#storyTrendChart:hover .story-trend-svg-cue,
#storyTrendChart:focus-visible .story-trend-svg-cue {
  opacity: 1;
}

.story-trend-svg-cue.is-audible {
  animation: story-trend-svg-ripple 2150ms cubic-bezier(0.12, 0.72, 0.2, 1);
}

@keyframes story-trend-svg-ripple {
  0% {
    opacity: 1;
  }
  36% {
    opacity: 0.76;
  }
  100% {
    opacity: 0.18;
  }
}

.completion-svg-cue {
  pointer-events: none;
  opacity: 0.74;
  filter: drop-shadow(0 0 7px rgba(255, 255, 255, 0.22));
}

.completion-svg-cue-ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 2;
}

.completion-svg-cue-ring-2 {
  stroke-opacity: 0.78;
}

.completion-svg-cue-ring-3 {
  stroke-opacity: 0.48;
}

.completion-svg-cue-ring-4 {
  stroke-opacity: 0.28;
}

#completionCheckChart:hover .completion-svg-cue,
#completionCheckChart:focus-visible .completion-svg-cue {
  opacity: 1;
}

.completion-svg-cue.is-audible {
  animation: completion-svg-ripple 2150ms cubic-bezier(0.12, 0.72, 0.2, 1);
}

@keyframes completion-svg-ripple {
  0% {
    opacity: 1;
  }
  36% {
    opacity: 0.76;
  }
  100% {
    opacity: 0.2;
  }
}

#storyScalingComparison > .sound-click-cue {
  display: none;
}

#storyScalingComparison .score-start > .sound-click-cue--scaling-start {
  z-index: 5;
  top: 50%;
  right: auto;
  left: 50%;
  width: 112px;
  height: 112px;
  opacity: 0.78;
  transform: translate(-50%, -50%) scale(1);
  filter: drop-shadow(0 0 9px rgba(196, 20, 61, 0.2));
}

#storyScalingComparison:hover .score-start > .sound-click-cue--scaling-start,
#storyScalingComparison:focus-visible .score-start > .sound-click-cue--scaling-start {
  opacity: 0.96;
}

#storyScalingComparison .score-start > .sound-click-cue--scaling-start.is-audible {
  animation: scaling-start-sound-ripple 2100ms cubic-bezier(0.12, 0.72, 0.2, 1);
}

.policy-svg-cue {
  pointer-events: none;
  opacity: 0.72;
  filter: drop-shadow(0 0 7px rgba(196, 20, 61, 0.2));
}

.policy-svg-cue-ring {
  fill: none;
  stroke: rgba(196, 20, 61, 0.5);
  stroke-width: 1.65;
}

.policy-svg-cue-ring-2 {
  stroke-opacity: 0.72;
}

.policy-svg-cue-ring-3 {
  stroke-opacity: 0.42;
}

.policy-svg-cue-ring-4 {
  stroke-opacity: 0.22;
}

.policy-svg-cue-core {
  fill: #fff;
  stroke: #c4143d;
  stroke-width: 1.8;
}

#policyHorizonChart:hover .policy-svg-cue,
#policyHorizonChart:focus-visible .policy-svg-cue {
  opacity: 1;
}

.policy-svg-cue.is-audible {
  animation: policy-svg-ripple 2150ms cubic-bezier(0.12, 0.72, 0.2, 1);
}

#subjectChangeChart > .sound-click-cue {
  top: 64%;
  right: auto;
  left: 84%;
  width: 112px;
  height: 112px;
  opacity: 0.72;
  transform: translate(-50%, -50%) scale(1);
  filter: drop-shadow(0 0 8px rgba(38, 143, 99, 0.2));
  background:
    radial-gradient(
      circle,
      rgba(38, 143, 99, 0.98) 0 3px,
      transparent 3.5px 14px,
      rgba(38, 143, 99, 0.64) 14.5px 17px,
      transparent 17.5px 27px,
      rgba(38, 143, 99, 0.58) 27.5px 30px,
      transparent 30.5px 40px,
      rgba(38, 143, 99, 0.4) 40.5px 43px,
      transparent 43.5px 52px,
      rgba(38, 143, 99, 0.3) 52.5px 55px,
      transparent 55.5px
    );
}

#subjectChangeChart:hover > .sound-click-cue,
#subjectChangeChart:focus-visible > .sound-click-cue {
  opacity: 1;
}

#subjectChangeChart > .sound-click-cue.is-audible {
  animation: subject-change-sound-ripple 2300ms cubic-bezier(0.1, 0.72, 0.18, 1);
}

#scalingCurveChart > .sound-click-cue {
  top: 43%;
  right: auto;
  left: 80%;
  width: 96px;
  height: 96px;
  opacity: 0.76;
  transform: translate(-50%, -50%) scale(1);
  filter: drop-shadow(0 0 8px rgba(196, 20, 61, 0.2));
}

#scalingCurveChart:hover > .sound-click-cue,
#scalingCurveChart:focus-visible > .sound-click-cue {
  opacity: 1;
}

#scalingCurveChart > .sound-click-cue.is-audible {
  animation: scaling-curve-sound-ripple 2200ms cubic-bezier(0.1, 0.72, 0.18, 1);
}

#scalingEnrollmentChart > .sound-click-cue {
  top: 46%;
  right: auto;
  left: 12%;
  width: 86px;
  height: 86px;
  opacity: 0.76;
  transform: translate(-50%, -50%) scale(1);
  filter: drop-shadow(0 0 8px rgba(196, 20, 61, 0.2));
}

#scalingEnrollmentChart:hover > .sound-click-cue,
#scalingEnrollmentChart:focus-visible > .sound-click-cue {
  opacity: 1;
}

#scalingEnrollmentChart > .sound-click-cue.is-audible {
  animation: scaling-enrolment-sound-ripple 2200ms cubic-bezier(0.1, 0.72, 0.18, 1);
}

.scaling-path-svg-cue {
  pointer-events: none;
  opacity: 0.72;
  filter: drop-shadow(0 0 7px rgba(196, 20, 61, 0.18));
}

.scaling-path-svg-cue circle {
  fill: none;
  stroke: rgba(196, 20, 61, 0.48);
  stroke-width: 1.7;
}

.scaling-path-svg-cue circle:nth-child(2) {
  opacity: 0.78;
}

.scaling-path-svg-cue circle:nth-child(3) {
  opacity: 0.52;
}

.scaling-path-svg-cue circle:nth-child(4) {
  opacity: 0.3;
}

.scaling-path-svg-cue--blue {
  filter: drop-shadow(0 0 7px rgba(47, 112, 183, 0.2));
}

.scaling-path-svg-cue--blue circle {
  stroke: rgba(47, 112, 183, 0.5);
}

#scalingPathChart:hover .scaling-path-svg-cue,
#scalingPathChart:focus-visible .scaling-path-svg-cue {
  opacity: 1;
}

.scaling-path-svg-cue.is-audible {
  animation: scaling-path-svg-ripple 2300ms cubic-bezier(0.1, 0.72, 0.18, 1);
}

@keyframes scaling-path-svg-ripple {
  0% {
    opacity: 1;
  }
  34% {
    opacity: 0.72;
  }
  100% {
    opacity: 0.18;
  }
}

@keyframes scaling-path-sound-ripple {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.52);
  }
  34% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(4.35);
  }
}

@keyframes scaling-enrolment-sound-ripple {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.52);
  }
  34% {
    opacity: 0.68;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(4.2);
  }
}

@keyframes scaling-curve-sound-ripple {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.52);
  }
  34% {
    opacity: 0.68;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(4.2);
  }
}

@keyframes subject-change-sound-ripple {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.5);
  }
  32% {
    opacity: 0.72;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(4.4);
  }
}

@keyframes policy-svg-ripple {
  0% {
    opacity: 1;
  }
  36% {
    opacity: 0.72;
  }
  100% {
    opacity: 0.18;
  }
}

@keyframes scaling-start-sound-ripple {
  0% {
    opacity: 0.96;
    transform: translate(-50%, -50%) scale(0.54);
  }
  34% {
    opacity: 0.64;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(4);
  }
}

@keyframes subject-start-sound-ripple {
  0% {
    opacity: 0.98;
    transform: translate(-50%, -50%) scale(0.54);
  }
  34% {
    opacity: 0.68;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(4);
  }
}

.region-intensity-row[data-right-hand-melody="region-c-fall"] {
  cursor: pointer;
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.region-intensity-row[data-right-hand-melody="region-c-fall"]:hover,
.region-intensity-row[data-right-hand-melody="region-c-fall"]:focus-visible {
  background: rgba(255, 228, 123, 0.13);
  box-shadow: inset 3px 0 0 rgba(196, 20, 61, 0.72);
  outline: none;
}

.region-intensity-row[data-right-hand-melody="region-c-fall"] > :not(.sound-click-cue) {
  position: relative;
  z-index: 2;
}

.region-intensity-row[data-right-hand-melody="region-c-fall"] > .sound-click-cue {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: auto;
  left: 78.5%;
  width: 96px;
  height: 96px;
  padding: 0;
  pointer-events: none;
  opacity: 0.76;
  transform: translate(-50%, -50%) scale(1);
  filter:
    drop-shadow(0 0 5px rgba(255, 255, 255, 0.24))
    drop-shadow(0 0 8px rgba(196, 20, 61, 0.2));
  background:
    radial-gradient(
      circle,
      rgba(196, 20, 61, 0.98) 0 2.8px,
      transparent 3.2px 12px,
      rgba(255, 228, 123, 0.78) 12.5px 15px,
      transparent 15.5px 25px,
      rgba(196, 20, 61, 0.58) 25.5px 28px,
      transparent 28.5px 39px,
      rgba(196, 20, 61, 0.34) 39.5px 42px,
      transparent 42.5px
    );
}

.region-intensity-row[data-right-hand-melody="region-c-fall"]:hover > .sound-click-cue,
.region-intensity-row[data-right-hand-melody="region-c-fall"]:focus-visible > .sound-click-cue {
  opacity: 0.98;
}

.region-intensity-row[data-right-hand-melody="region-c-fall"] > .sound-click-cue.is-audible {
  animation: regional-cell-sound-ripple 2100ms cubic-bezier(0.12, 0.72, 0.2, 1);
}

@keyframes regional-cell-sound-ripple {
  0% {
    opacity: 0.98;
    transform: translate(-50%, -50%) scale(0.58);
  }
  36% {
    opacity: 0.68;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(3.8);
  }
}

@keyframes chart-field-sound-ripple {
  0% {
    opacity: 0.96;
    transform: translate(-50%, -50%) scale(0.56);
  }
  36% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(3.8);
  }
}

@keyframes sound-click-ripple {
  0% {
    opacity: 0.88;
    transform: scale(0.72);
  }
  38% {
    opacity: 0.48;
  }
  100% {
    opacity: 0;
    transform: scale(3.2);
  }
}

.workforce-milestone > [data-right-hand-melody] > .sound-click-cue {
  display: block;
  z-index: 1;
  top: 50%;
  right: auto;
  left: 50%;
  width: 110px;
  height: 110px;
  opacity: 0.38;
  transform: translate(-50%, -50%) scale(1);
  filter:
    drop-shadow(0 0 6px rgba(255, 255, 255, 0.2))
    drop-shadow(0 0 11px rgba(255, 211, 61, 0.16));
  background:
    radial-gradient(
      circle,
      rgba(255, 255, 255, 1) 0 3px,
      transparent 3.5px 18%,
      rgba(255, 214, 72, 0.96) 19% 23%,
      transparent 24% 35%,
      rgba(255, 255, 255, 0.76) 36% 40%,
      transparent 41% 48%,
      rgba(255, 211, 61, 0.52) 49% 51%,
      transparent 52%
    );
}

.workforce-milestone > [data-right-hand-melody]:hover > .sound-click-cue,
.workforce-milestone > [data-right-hand-melody]:focus-visible > .sound-click-cue {
  opacity: 0.62;
}

.workforce-milestone > [data-right-hand-melody] > .sound-click-cue.is-audible {
  animation: workforce-sound-ripple 2200ms cubic-bezier(0.14, 0.7, 0.2, 1);
}

@keyframes workforce-sound-ripple {
  0% {
    opacity: 0.84;
    transform: translate(-50%, -50%) scale(0.62);
  }
  30% {
    opacity: 0.56;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(4.8);
  }
}

@media (prefers-reduced-motion: reduce) {
  .workforce-milestone > [data-right-hand-melody] > .sound-click-cue.is-audible {
    animation: none;
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(1);
  }
}

.postcode-ostinato-trigger > .sound-click-cue {
  top: calc(50% - 29px);
  right: -62px;
  width: 58px;
  height: 58px;
  opacity: 0.64;
  pointer-events: auto;
  cursor: pointer;
  touch-action: manipulation;
}

#regionBars .bar-row.right-hand-data-trigger > .sound-click-cue {
  top: 50%;
  right: auto;
  left: 18%;
  width: 66px;
  height: 66px;
  opacity: 0.72;
  transform: translate(-50%, -50%) scale(1);
}

#regionBars .bar-row.right-hand-data-trigger:hover > .sound-click-cue,
#regionBars .bar-row.right-hand-data-trigger:focus-visible > .sound-click-cue {
  opacity: 0.96;
}

#regionBars .bar-row.right-hand-data-trigger > .sound-click-cue.is-audible {
  animation: regional-cell-sound-ripple 2100ms cubic-bezier(0.12, 0.72, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  .sound-click-cue {
    transition: none;
  }

  .sound-click-cue.is-audible {
    animation: none;
    opacity: 0.74;
  }
}

.direction-side small {
  grid-column: 1 / -1;
  color: #333e49;
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
}

.direction-side i {
  display: block;
  height: 15px;
}

.direction-side b {
  color: var(--publication-black);
  font-size: 19px;
  line-height: 1;
  white-space: nowrap;
}

.direction-side em {
  grid-column: 1 / -1;
  color: #5d6874;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.25;
}

.direction-side.stopped i {
  position: relative;
  z-index: 2;
  background: var(--publication-burgundy);
  clip-path: polygon(0 50%, 11px 0, 100% 0, 100% 100%, 11px 100%);
}

button.direction-side.stopped > .sound-click-cue {
  z-index: 1;
  top: 20px;
  right: 24%;
  width: 76px;
  height: 76px;
  opacity: 0.68;
  transform: translate(50%, -50%) scale(1);
  background:
    radial-gradient(
      circle,
      rgba(196, 20, 61, 0.94) 0 2.4px,
      transparent 2.8px 11px,
      rgba(196, 20, 61, 0.58) 11.4px 13px,
      transparent 13.4px 22px,
      rgba(196, 20, 61, 0.34) 22.4px 24px,
      transparent 24.4px 31px,
      rgba(196, 20, 61, 0.2) 31.4px 32px,
      transparent 32px
    );
}

button.direction-side.stopped:hover > .sound-click-cue,
button.direction-side.stopped:focus-visible > .sound-click-cue {
  opacity: 0.94;
}

button.direction-side.stopped > .sound-click-cue.is-audible {
  animation: stopped-all-sound-ripple 2100ms cubic-bezier(0.12, 0.72, 0.2, 1);
}

@keyframes stopped-all-sound-ripple {
  0% {
    opacity: 0.96;
    transform: translate(50%, -50%) scale(0.55);
  }
  34% {
    opacity: 0.62;
  }
  100% {
    opacity: 0;
    transform: translate(50%, -50%) scale(3.7);
  }
}

.direction-side.began i {
  width: 23.5%;
  min-width: 15px;
  background: var(--gain);
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 50%, calc(100% - 11px) 100%, 0 100%);
}

.direction-side {
  transition: filter 180ms ease, transform 180ms ease;
}

.direction-side i,
.direction-side b {
  transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.direction-side.is-counting {
  filter: brightness(1.08) saturate(1.16);
  transform: translateY(-1px);
}

.direction-side.is-counting i {
  opacity: 1;
  transform: scaleY(1.22);
}

.direction-side.stopped.is-counting i {
  filter: drop-shadow(0 0 7px var(--publication-burgundy));
}

.direction-side.began.is-counting i {
  filter: drop-shadow(0 0 7px var(--gain));
}

.direction-side.is-counting b {
  transform: scale(1.055);
  transform-origin: left center;
}

@media (prefers-reduced-motion: reduce) {
  .direction-side,
  .direction-side i,
  .direction-side b {
    transition: none;
  }
}

.direction-zero {
  width: 2px;
  height: 54px;
  background: var(--publication-black);
}

.general-arts-scope {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: 72px max(42px, calc((100vw - 1180px) / 2));
  border-top: 8px solid var(--publication-yellow);
  background: var(--publication-black);
  color: #fff;
}

.general-arts-scope .scope-copy {
  width: min(100%, 980px);
  margin: 0 auto;
}

.scope-marker {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}

.scope-marker strong {
  color: var(--publication-yellow);
  font-size: clamp(84px, 9vw, 132px);
  font-weight: 950;
  line-height: 0.8;
}

.scope-marker span {
  max-width: 180px;
  color: #fff;
  font-size: 20px;
  font-weight: 850;
  line-height: 1.15;
}

.general-arts-scope .chapter-number {
  color: var(--publication-yellow);
}

.general-arts-scope h2 {
  max-width: 860px;
  margin: 8px 0 28px;
  color: #fff;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.02;
}

.scope-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.scope-columns p {
  margin: 0;
  color: #e2e6ea;
  font-size: 18px;
  line-height: 1.55;
}

.scope-tooltip {
  margin-top: 24px;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 2px solid var(--publication-yellow);
  border-radius: 0;
  background: transparent;
  color: var(--publication-yellow);
  font: inherit;
  font-weight: 850;
  cursor: help;
}

body.publication .primary-explore-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

body.publication .panel[data-dashboard-views="subject-mix"] {
  display: none !important;
}

.pull-quote {
  position: relative;
  display: block;
  width: min(1180px, calc(100% - 80px));
  margin: 12px auto 72px;
  padding: 34px 70px 30px 54px;
  background: linear-gradient(100deg, #f4c93d 0%, #ffe98e 100%);
  color: var(--publication-black);
}

.pull-quote::before {
  content: "“";
  position: absolute;
  top: 4px;
  left: 14px;
  color: rgba(142, 0, 42, 0.35);
  font-size: 82px;
  font-weight: 900;
  line-height: 1;
}

.pull-quote::after {
  content: "”";
  position: absolute;
  right: 15px;
  bottom: -10px;
  color: rgba(142, 0, 42, 0.35);
  font-size: 82px;
  font-weight: 900;
  line-height: 1;
}

.pull-quote p {
  max-width: 1020px;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.13;
}

.pull-quote cite {
  color: #4a4140;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.evidence-band {
  width: 100% !important;
  margin: 0 !important;
  padding: 88px max(42px, calc((100% - 1320px) / 2));
  border-top: 1px solid #cfd4da;
}

.evidence-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.72fr);
  gap: 18px 80px;
  align-items: end;
  margin-bottom: 44px;
}

.evidence-copy .chapter-number,
.evidence-copy h2 {
  grid-column: 1;
}

.evidence-copy > p:not(.chapter-number):not(.baseline-note) {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  color: #46515e;
  font-size: 21px;
}

.evidence-copy h2,
.availability-head h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(42px, 4.6vw, 70px);
  line-height: 0.98;
  text-wrap: balance;
}

.evidence-band .chapter-number,
.opening-argument .chapter-number,
.explore-opening .chapter-number {
  font-size: clamp(18px, 1.7vw, 25px);
  line-height: 1.05;
}

.pale-band {
  background: #f2f3f4;
}

.baseline-note {
  grid-column: 2;
  grid-row: 3;
  display: block;
  margin-top: 16px !important;
  padding-top: 14px;
  border-top: 1px solid #aeb6bf;
  color: #596573 !important;
  font-size: 15px !important;
}

.story-chart {
  width: 100%;
  min-height: 360px;
}

.story-chart svg {
  display: block;
  width: 100%;
  height: auto;
}

.story-chart .axis {
  fill: #596573;
  font-size: 15px;
}

.story-chart .chart-unit {
  fill: #27313a;
  font-size: 16px;
  font-weight: 900;
}

.story-chart .direct-label {
  font-size: 17px;
  font-weight: 900;
}

.story-chart .direct-value {
  font-size: 16px;
  font-weight: 800;
}

.statewide-chart-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 36px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto 34px;
}

#storyTrendChart {
  min-height: 0;
}

.statewide-gap-stat {
  padding: 28px 0 30px 28px;
  border-left: 2px solid #b9c1c9;
}

.statewide-gap-stat strong,
.statewide-gap-stat span,
.statewide-gap-stat b,
.statewide-gap-stat small {
  display: block;
}

.statewide-gap-stat strong {
  color: #c4143d;
  font-size: clamp(58px, 6vw, 86px);
  font-weight: 950;
  line-height: 0.88;
}

.statewide-gap-stat span {
  margin-top: 12px;
  color: #18212b;
  font-size: 20px;
  font-weight: 900;
}

.statewide-gap-stat b {
  margin-top: 3px;
  color: #c4143d;
  font-size: 18px;
}

.statewide-gap-stat small {
  margin-top: 16px;
  color: #596573;
  font-size: 13px;
  line-height: 1.35;
}

@media (max-width: 820px) {
  .statewide-chart-row {
    grid-template-columns: 1fr;
  }

  .statewide-gap-stat {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 18px;
    align-items: center;
    padding: 22px 0;
    border-top: 1px solid #b9c1c9;
    border-left: 0;
  }

  .statewide-gap-stat strong {
    grid-row: 1 / 5;
  }

  .statewide-gap-stat span,
  .statewide-gap-stat b,
  .statewide-gap-stat small {
    margin-top: 0;
  }
}

.availability-band {
  background: #fff;
}

.availability-head {
  max-width: 1120px;
  margin-bottom: 50px;
}

.availability-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.68fr);
  gap: 64px;
  align-items: center;
}

.impact-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 4px solid var(--publication-burgundy);
}

.impact-stack div {
  padding: 24px 24px 26px 0;
  border-bottom: 1px solid #b8c0c8;
}

.impact-stack div:nth-child(even) {
  padding-left: 24px;
  border-left: 1px solid #b8c0c8;
}

.impact-stack dd {
  margin: 0 0 10px;
  color: var(--publication-burgundy);
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 950;
  line-height: 0.9;
}

.impact-stack dt {
  color: #2e3943;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.35;
}

.side-quote {
  width: 100%;
  margin: 0;
}

.side-quote p {
  font-size: 31px;
}

.what-if {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr) minmax(290px, 0.72fr);
  gap: 24px 30px;
  align-items: center;
  margin-top: 76px;
  padding: 34px;
  border-top: 8px solid var(--publication-yellow);
  background: #15191f;
  color: #fff;
}

.what-if-label {
  color: var(--publication-yellow);
  font-size: 25px;
  font-weight: 950;
  line-height: 1;
}

.what-if h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 27px;
  line-height: 1.12;
}

.what-if p {
  margin: 0;
  color: #dce1e6;
  font-size: 17px;
}

.what-if label {
  color: #fff;
  font-size: 15px;
  font-weight: 850;
}

.what-if select {
  margin-top: 7px;
  border-color: #747d86;
}

.region-what-if {
  grid-template-columns: 126px minmax(340px, 1fr) minmax(240px, 0.55fr) minmax(280px, 0.7fr);
  margin-top: 40px;
}

.region-what-if > strong {
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  gap: 8px;
  align-items: baseline;
  color: #fff;
  font-size: 21px;
  line-height: 1.2;
}

.region-what-if > strong b {
  color: var(--publication-yellow);
  font-size: 34px;
}

.region-what-if > strong span {
  color: #fff;
  font-size: 21px;
}

.school-range-chart {
  max-width: 1180px;
  margin: -8px auto 52px;
  padding-bottom: 18px;
  border-bottom: 1px solid #cbd1d7;
}

.threshold-control {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  color: #fff;
  font-weight: 800;
}

.threshold-control input {
  grid-column: 1 / -1;
  width: 100%;
  accent-color: var(--publication-yellow);
}

.threshold-control output {
  color: var(--publication-yellow);
  font-size: 26px;
  font-weight: 950;
}

.threshold-sector-chart {
  display: grid;
  gap: 12px;
  grid-column: 3;
  grid-row: 2;
}

.threshold-key {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  color: #dce1e6;
  font-size: 12px;
  font-weight: 800;
}

.threshold-key span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.threshold-key i {
  width: 22px;
  height: 5px;
}

.threshold-key .baseline,
.threshold-pair .baseline {
  background: #8d99a5;
}

.threshold-key .current,
.threshold-pair .current {
  background: var(--publication-yellow);
}

.sector-explainer {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  color: #fff !important;
  font-size: 16px !important;
  line-height: 1.45;
}

.threshold-row {
  display: grid;
  grid-template-columns: 94px minmax(110px, 1fr) 88px 62px;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}

.threshold-row .threshold-pair {
  display: grid;
  gap: 4px;
  height: auto;
  background: transparent;
}

.threshold-pair i {
  display: block;
  height: 6px;
}

.threshold-row b,
.threshold-row small {
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.threshold-row small {
  color: #aeb7c0;
}

.what-if-note {
  grid-column: 2 / -1;
  grid-row: 3;
  padding-top: 15px;
  border-top: 1px solid #4f565e;
  font-size: 14px !important;
}

.viability-test {
  grid-column: 2 / -1;
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(420px, 1fr);
  gap: 24px;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #4f565e;
}

.viability-test p {
  color: #fff;
  font-size: 17px;
}

.red-band {
  background: linear-gradient(145deg, #93002d 0%, #c4143d 65%, #df294f 100%);
  color: #fff;
}

.red-band .chapter-number,
.red-band h2,
.red-band .evidence-copy > p {
  color: #fff !important;
}

.subject-loss-chart {
  min-height: 0;
  padding: 10px 0 24px;
}

.subject-loss-head,
.subject-loss-row {
  display: grid;
  grid-template-columns: minmax(210px, 0.8fr) minmax(360px, 1.6fr) 100px;
  gap: 24px;
  align-items: center;
}

.subject-loss-head {
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  color: #ffe8ec;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.subject-loss-row {
  min-height: 76px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.subject-loss-row strong,
.subject-loss-row b {
  color: #fff;
  font-size: 20px;
}

.subject-loss-row b {
  text-align: right;
}

.loss-track {
  position: relative;
  height: 34px;
  overflow: visible;
  background: rgba(76, 0, 23, 0.58);
}

.loss-track > .loss-fill {
  display: block;
  height: 100%;
  background: #fff;
  opacity: 0.92;
}

.subject-join-ripple {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 88px;
  height: 88px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.38);
  border-radius: 50%;
  filter: drop-shadow(0 0 10px rgba(255, 242, 184, 0.42));
  background:
    radial-gradient(
      circle,
      rgba(255, 255, 255, 1) 0 3px,
      transparent 3.5px 13px,
      rgba(255, 225, 94, 0.96) 13.5px 15.5px,
      transparent 16px 25px,
      rgba(255, 255, 255, 0.82) 25.5px 27.5px,
      transparent 28px 36px,
      rgba(255, 219, 77, 0.52) 36.5px 38px,
      transparent 38.5px
    );
}

.subject-join-ripple[data-subject-pulse-index="0"] {
  opacity: 0.62;
  transform: translate(-50%, -50%) scale(0.78);
}

#storySubjectChart:hover .subject-join-ripple[data-subject-pulse-index="0"],
#storySubjectChart:focus-visible .subject-join-ripple[data-subject-pulse-index="0"] {
  opacity: 0.9;
  transform: translate(-50%, -50%) scale(0.9);
}

.subject-join-ripple.is-pulsing {
  animation: subject-join-ripple-flash 1250ms cubic-bezier(0.12, 0.72, 0.2, 1);
}

@keyframes subject-join-ripple-flash {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.38);
  }
  10% {
    opacity: 1;
  }
  48% {
    opacity: 0.88;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.48);
  }
}

.loss-track i {
  position: absolute;
  top: 5px;
  left: 12px;
  color: #65001e;
  font-size: 15px;
  font-style: normal;
  font-weight: 900;
}

.inverted-quote {
  margin-top: 54px;
  margin-bottom: 0;
}

.scaling-story {
  display: block;
  padding-bottom: 90px;
}

.scaling-copy {
  margin-bottom: 42px;
}

.story-scaling-comparison {
  border-top: 3px solid var(--publication-black);
}

.scaling-matrix-head,
.scaling-matrix-row {
  display: grid;
  grid-template-columns: minmax(210px, 0.8fr) repeat(3, minmax(210px, 1fr));
  gap: 22px;
  align-items: center;
}

.scaling-matrix-head {
  min-height: 64px;
  color: #4a5663;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.scaling-matrix-row {
  min-height: 68px;
  border-top: 1px solid #d0d5db;
}

.scaling-matrix-row.comparison-start {
  margin-top: 14px;
  border-top: 5px solid var(--publication-blue);
}

.scaling-matrix-row > strong {
  font-size: 16px;
  line-height: 1.18;
}

.scaling-matrix-row.arts > strong {
  color: var(--publication-burgundy);
}

.scaling-matrix-row.comparison > strong {
  color: var(--publication-blue);
}

.score-cell,
.enrolment-cell {
  position: relative;
  height: 44px;
}

.score-cell::before,
.enrolment-cell::before {
  content: "";
  position: absolute;
  top: 17px;
  right: 0;
  left: 0;
  height: 2px;
  background: #d9dee3;
}

.score-line {
  position: absolute;
  top: 15px;
  z-index: 1;
  height: 9px;
  background: currentColor;
}

.score-start,
.score-end {
  position: absolute;
  top: 10px;
  z-index: 2;
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  transform: translateX(-50%);
  border: 3px solid currentColor;
  border-radius: 50%;
  background: #fff;
}

.score-end {
  background: currentColor;
}

.score-cell.arts,
.enrolment-cell.arts {
  color: var(--publication-burgundy);
}

.score-cell.comparison,
.enrolment-cell.comparison {
  color: var(--publication-blue);
}

.score-cell b,
.enrolment-cell b {
  position: absolute;
  right: 0;
  bottom: -1px;
  padding-left: 6px;
  background: #fff;
  color: currentColor;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.enrolment-cell .zero-line {
  position: absolute;
  top: 7px;
  z-index: 2;
  width: 2px;
  height: 23px;
  background: #3f4851;
}

.enrolment-cell > i {
  position: absolute;
  top: 13px;
  z-index: 1;
  height: 11px;
  background: currentColor;
}

.enrolment-cell.falls > i {
  clip-path: polygon(0 50%, 7px 15%, 7px 0, 100% 0, 100% 100%, 7px 100%, 7px 85%);
}

.enrolment-cell.grows > i {
  clip-path: polygon(0 0, calc(100% - 7px) 0, calc(100% - 7px) 15%, 100% 50%, calc(100% - 7px) 85%, calc(100% - 7px) 100%, 0 100%);
}

.matrix-key {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  margin-top: 22px;
  color: #596573;
  font-size: 14px;
  font-weight: 800;
}

.matrix-key span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.open-dot,
.filled-dot {
  width: 14px;
  height: 14px;
  border: 3px solid var(--publication-black);
  border-radius: 50%;
  background: #fff;
}

.filled-dot {
  background: var(--publication-black);
}

.arts-key {
  color: var(--publication-burgundy);
}

.comparison-key {
  color: var(--publication-blue);
}

.scaling-quote {
  margin-top: 58px;
  margin-bottom: 0;
}

.compare-what-if {
  grid-template-columns: 126px minmax(0, 1fr);
  margin-top: 38px;
}

body.publication .control-band {
  grid-template-columns: minmax(360px, 1fr) minmax(280px, 0.72fr);
  align-items: start;
  width: 100%;
  margin: 0;
  padding: 38px max(42px, calc((100vw - 1180px) / 2));
  border-top: 4px solid var(--publication-yellow);
}

body.publication main > section.control-band {
  width: 100% !important;
  margin: 0 !important;
}

body.publication .explore-opening,
body.publication .scaling-intro {
  border-top: 8px solid var(--publication-yellow);
}

body.publication .explore-opening {
  padding-top: 62px;
  padding-bottom: 54px;
}

body.publication .explore-opening > .control-band {
  grid-template-columns: minmax(390px, 1fr) minmax(320px, 0.76fr) max-content;
  gap: 34px;
  align-items: end;
  width: 100%;
  margin: 24px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid #59616a;
  border-bottom: 0;
  background: transparent;
  box-shadow: none;
  clip-path: none;
}

body.publication .explore-opening > .control-band .control-group {
  display: grid;
  align-content: end;
  min-height: 88px;
}

body.publication .explore-opening > .control-band legend,
body.publication .explore-opening > .control-band .control-title {
  min-height: 26px;
  margin-bottom: 12px;
  color: #fff;
}

body.publication .explore-opening > .control-band select,
body.publication .explore-opening > .control-band .choice-row {
  min-height: 46px;
}

.measurement-help {
  align-self: end;
  min-height: 46px;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 2px solid var(--publication-yellow);
  border-radius: 0;
  background: transparent;
  color: var(--publication-yellow);
  font: inherit;
  font-size: 15px;
  font-weight: 850;
  cursor: pointer;
  white-space: nowrap;
}

.measurement-help:hover,
.measurement-help:focus-visible {
  color: #fff;
}

.measurement-dialog {
  width: min(960px, calc(100vw - 40px));
  max-width: none;
  padding: 0;
  border: 0;
  background: #fff;
  color: var(--publication-black);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.measurement-dialog::backdrop {
  background: rgba(14, 18, 22, 0.82);
}

.measurement-dialog-head {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-top: 7px solid var(--publication-yellow);
  background: var(--publication-black);
  color: #fff;
}

.measurement-dialog-head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 3vw, 40px);
}

.measurement-dialog-head button {
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.measurement-dialog-body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 34px 32px 38px;
}

.measurement-dialog-body article {
  padding-top: 16px;
  border-top: 5px solid var(--publication-burgundy);
}

.measurement-dialog-body h3 {
  margin: 0 0 10px;
  color: var(--publication-burgundy);
  font-size: 20px;
  line-height: 1.15;
}

.measurement-dialog-body p {
  margin: 0;
  color: #44505c;
  font-size: 16px;
  line-height: 1.5;
}

body.publication .scaling-grid:not(.secondary-analysis) {
  grid-template-columns: minmax(0, 1.22fr) minmax(380px, 0.78fr);
  max-width: 1320px;
  align-items: start;
}

body.publication .scaling-grid:not(.secondary-analysis) > .panel {
  min-width: 0;
}

body.publication .scaling-grid:not(.secondary-analysis) #scalingCurveChart {
  max-width: none;
}

body.publication .scaling-grid:not(.secondary-analysis) .raw-score-focus-control {
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 8px 0 12px;
  padding: 12px 16px;
  font-size: 16px;
}

body.publication .scaling-grid:not(.secondary-analysis) .raw-score-slider {
  grid-template-columns: minmax(130px, 1fr) 52px;
  gap: 10px;
  min-height: 40px;
}

body.publication .scaling-grid:not(.secondary-analysis) .raw-score-focus-control .raw-score-slider output {
  min-height: 38px;
  font-size: 25px;
}

body.publication .scaling-grid:not(.secondary-analysis) .same-score-row {
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  min-height: 76px;
  padding: 8px 0;
}

body.publication .scaling-grid:not(.secondary-analysis) .same-score-row > strong,
body.publication .scaling-grid:not(.secondary-analysis) .score-change {
  grid-column: 1 / -1;
}

body.publication .scaling-grid:not(.secondary-analysis) .score-change {
  text-align: left;
  font-size: 15px;
}

body.publication .scaling-grid:not(.secondary-analysis) .same-score-row > strong {
  font-size: 20px;
}

body.publication .scaling-grid:not(.secondary-analysis) .raw-result {
  padding: 6px 8px;
  font-size: 15px;
}

body.publication .scaling-grid:not(.secondary-analysis) .score-arrow {
  font-size: 27px;
}

body.publication .scaling-grid:not(.secondary-analysis) .scaled-result b {
  font-size: 35px;
}

body.publication .scaling-grid:not(.secondary-analysis) .scaled-result small {
  margin-top: 2px;
  font-size: 11px;
}

body.publication .scaling-grid:not(.secondary-analysis) .same-score-takeaway {
  margin-top: 12px;
  padding: 13px 15px;
  border-left-width: 4px;
  font-size: 16px;
  line-height: 1.4;
}

body.publication .scaling-grid:not(.secondary-analysis) > .panel:nth-child(2) .panel-details {
  margin-top: 10px;
}

body.publication .scaling-path-panel {
  width: min(1120px, calc(100% - 72px));
  margin: 38px auto 56px;
  padding: 0;
  border-top: 4px solid var(--publication-black);
}

body.publication .scaling-path-panel .panel-head {
  max-width: 920px;
  padding-top: 26px;
}

body.publication .scaling-path-chart {
  min-height: 420px;
  margin-top: 14px;
}

body.publication .path-raw-score-control {
  max-width: 720px;
  margin: 20px 0 8px;
  padding: 13px 18px;
  border-top-width: 4px;
  grid-template-columns: minmax(150px, 0.42fr) minmax(280px, 1fr);
  gap: 18px;
  font-size: 16px;
}

body.publication .path-raw-score-control .raw-score-slider output {
  min-height: 40px;
  font-size: 26px;
}

.scaling-path-chart svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.scaling-path-line {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scaling-path-line.comparison {
  stroke-width: 4;
}

.scaling-path-point {
  stroke: #fff;
  stroke-width: 2.5;
}

.path-zero-line {
  stroke: #465361;
  stroke-width: 1.5;
  stroke-dasharray: 4 5;
}

.path-baseline-line {
  stroke: #788694;
  stroke-width: 1.5;
  stroke-dasharray: 7 5;
}

.path-year-label,
.path-series-label {
  font-family: inherit;
  font-weight: 800;
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 4px;
  stroke-linejoin: round;
}

.path-year-label {
  font-size: 12px;
}

.path-series-label {
  font-size: 15px;
}

.path-year-label.arts,
.path-series-label.arts {
  fill: var(--publication-burgundy);
}

.path-year-label.comparison,
.path-series-label.comparison {
  fill: var(--publication-blue);
}

.scaling-path-chart .axis-title {
  font-size: 14px;
  font-weight: 800;
  fill: var(--publication-black);
}

.scaling-path-chart .baseline-label {
  font-weight: 700;
}

body.publication .scaling-path-reading {
  margin: 18px 0 0;
  padding: 17px 20px;
  border-left: 5px solid var(--publication-yellow);
  background: #f1f3f5;
  color: var(--publication-black);
  font-size: 16px;
}

.try-another-comparison {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 38px;
  align-items: center;
  width: min(1180px, calc(100% - 72px));
  margin: 18px auto 0;
  padding: 42px 0;
  border-top: 8px solid var(--publication-yellow);
  background: var(--publication-black);
  color: #fff;
  box-shadow: 0 0 0 100vmax var(--publication-black);
  clip-path: inset(0 -100vmax);
}

.try-another-comparison .chapter-number {
  margin: 0 0 10px;
  color: var(--publication-yellow);
}

.try-another-comparison h2 {
  max-width: 780px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.98;
}

.try-another-comparison p:not(.chapter-number) {
  max-width: 820px;
  margin: 18px 0 0;
  color: #d7dde3;
  font-size: 19px;
  line-height: 1.45;
}

.try-another-link {
  display: inline-grid;
  min-height: 54px;
  padding: 0 24px;
  place-items: center;
  border: 2px solid var(--publication-yellow);
  color: var(--publication-yellow);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.try-another-link:hover,
.try-another-link:focus-visible {
  background: var(--publication-yellow);
  color: var(--publication-black);
  outline: none;
}

@media (max-width: 760px) {
  .try-another-comparison {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 24px;
    margin-top: 10px;
    padding: 36px 24px 40px;
  }

  .try-another-link {
    justify-self: start;
    white-space: normal;
  }

  body.publication .scaling-path-panel {
    width: calc(100% - 32px);
  }

  body.publication .scaling-path-chart {
    min-height: 0;
    overflow: hidden;
  }

  .scaling-path-chart svg {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: auto;
  }

  body.publication .path-raw-score-control {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .scaling-path-chart .axis {
    font-size: 11px;
  }

  .scaling-path-chart .axis-title {
    font-size: 12px;
  }

  .scaling-path-chart .path-series-label {
    font-size: 13px;
  }
}

@media (max-width: 600px) {
  body.publication .methods-opening + .method-drawer summary,
  body.publication .method-drawer summary {
    font-size: clamp(22px, 5.8vw, 27px);
    line-height: 1.14;
  }
}

.raw-score-focus-control {
  display: grid;
  grid-template-columns: minmax(170px, 0.35fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: center;
  max-width: 980px;
  margin: 20px auto 26px;
  padding: 18px 22px;
  border-top: 5px solid var(--publication-yellow);
  background: #171b20;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.raw-score-focus-control .raw-score-slider output {
  color: var(--publication-burgundy-dark);
  font-size: 30px;
}

.same-score-comparison {
  max-width: 980px;
  margin: 0 auto;
  border-top: 2px solid var(--publication-black);
}

.same-score-row {
  display: grid;
  grid-template-columns: minmax(190px, 0.9fr) 100px 42px minmax(170px, 0.7fr) minmax(120px, 0.55fr);
  gap: 16px;
  align-items: center;
  min-height: 112px;
  border-bottom: 1px solid #c8ced4;
}

.same-score-row > strong {
  font-size: 23px;
  line-height: 1.16;
}

.same-score-row.red > strong,
.same-score-row.red .scaled-result b {
  color: var(--publication-burgundy);
}

.same-score-row.blue > strong,
.same-score-row.blue .scaled-result b {
  color: var(--publication-blue);
}

.raw-result {
  padding: 8px 10px;
  border: 2px solid #7e8994;
  color: #394550;
  font-size: 17px;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

.same-score-row.red .raw-result {
  border-color: #cf7488;
  background-color: #fde8ed;
  color: var(--publication-burgundy);
}

.same-score-row.blue .raw-result {
  border-color: #6f9fcf;
  background-color: #e8f1fa;
  color: var(--publication-blue);
}

.score-arrow {
  color: #7a8590;
  font-size: 34px;
  font-weight: 900;
  text-align: center;
}

.scaled-result b,
.scaled-result small {
  display: block;
}

.scaled-result b {
  font-size: 43px;
  line-height: 0.95;
}

.scaled-result small {
  margin-top: 5px;
  color: #66727e;
  font-size: 13px;
  line-height: 1.2;
}

.score-change {
  font-size: 17px;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}

.same-score-takeaway {
  margin: 24px 0 0;
  padding: 20px 22px;
  border-left: 6px solid var(--publication-yellow);
  background: #f2f3f4;
  color: #2f3943;
  font-size: 20px;
}

.score-missing {
  padding: 24px 0;
  color: #65717d;
}

.same-score-row.unavailable {
  background: #f4f5f6;
}

.same-score-row .scaled-result.score-missing {
  padding: 0;
}

.same-score-row .scaled-result.score-missing b {
  color: #7a8590;
}

body.publication .go-button,
body.publication .flow-arrow,
body.publication .impact-kpis {
  display: none !important;
}

body.publication .control-band legend,
body.publication .control-band .control-title {
  margin-bottom: 10px;
  color: var(--publication-black);
  font-size: 18px;
  font-weight: 900;
}

@media (max-width: 1050px) {
  body.publication .scaling-grid:not(.secondary-analysis) {
    grid-template-columns: minmax(0, 1fr);
    max-width: 860px;
    gap: 42px;
  }

  body.publication .scaling-grid:not(.secondary-analysis) > .panel {
    width: 100%;
  }

  body.publication .explore-opening > .control-band {
    grid-template-columns: 1fr 1fr;
  }

  .measurement-help {
    grid-column: 1 / -1;
    justify-self: end;
  }

  .future-workforce-frame,
  .opening-grid,
  .evidence-copy,
  .availability-grid {
    grid-template-columns: 1fr;
  }

  .future-workforce-frame {
    gap: 42px;
  }

  .evidence-copy > p:not(.chapter-number):not(.baseline-note) {
    grid-column: 1;
    grid-row: auto;
    max-width: 780px;
  }

  .baseline-note {
    grid-column: 1;
    grid-row: auto;
  }

  .what-if {
    grid-template-columns: 100px 1fr 1fr;
  }

  .threshold-sector-chart {
    grid-column: 2 / -1;
    grid-row: 3;
  }

  .sector-explainer {
    grid-column: 2 / -1;
    grid-row: 2;
  }

  .what-if-note {
    grid-row: 4;
  }

  .region-what-if {
    grid-template-columns: 100px 1fr 1fr;
  }

  .region-what-if > strong {
    grid-column: 2 / -1;
  }

  .scaling-matrix-head,
  .scaling-matrix-row {
    grid-template-columns: minmax(170px, 0.8fr) repeat(3, minmax(180px, 1fr));
    gap: 14px;
  }
}

@media (max-width: 760px) {
  body.publication main {
    overflow-x: hidden;
  }

  body.publication .evidence-copy {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.publication .evidence-copy > p:not(.chapter-number) {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  .hero-facts > div:not(.hero-direction) dt {
    white-space: normal;
  }

  .regional-comparison-control {
    display: grid;
    justify-content: stretch;
  }

  .regional-comparison-control select {
    width: 100%;
  }

  body.publication .region-detail {
    position: static;
    width: 100%;
    min-height: 0;
    margin-top: 10px;
    box-shadow: none;
  }

  body.publication .explore-opening > .control-band {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 26px;
    padding-top: 24px;
  }

  body.publication .explore-opening > .control-band .control-group {
    min-height: 0;
  }

  .measurement-help {
    grid-column: 1;
    justify-self: start;
  }

  .measurement-dialog-body {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 26px 22px 30px;
  }

  .future-workforce-frame {
    width: 100%;
    margin-bottom: 64px;
    padding: 50px 24px;
  }

  .future-workforce-frame h2 {
    font-size: 43px;
  }

  .workforce-lede {
    font-size: 18px;
  }

  .workforce-timeline {
    gap: 8px;
  }

  .workforce-timeline strong {
    font-size: 23px;
  }

  .workforce-timeline span {
    font-size: 11px;
  }

  .future-workforce-argument .policy-callout {
    font-size: 24px;
  }

  .general-arts-scope,
  .scope-columns {
    grid-template-columns: 1fr;
  }

  .general-arts-scope {
    gap: 34px;
    padding: 54px 24px;
  }

  .scope-marker {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .scope-marker strong {
    font-size: 82px;
  }

  .hero-facts .direction-comparison {
    grid-template-columns: minmax(0, 1fr) 2px minmax(0, 1fr);
    gap: 9px;
  }

  .direction-side {
    grid-template-columns: 1fr;
  }

  .direction-side b {
    font-size: 16px;
  }

  .story-title-band {
    min-height: 320px;
  }

  .story-title-band h1 {
    font-size: 62px;
  }

  .opening-grid,
  .evidence-band {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero-facts,
  .impact-stack,
  body.publication .control-band {
    grid-template-columns: 1fr;
  }

  body.publication main > .control-band {
    padding: 30px 20px;
  }

  .hero-facts div:nth-child(even),
  .impact-stack div:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .pull-quote {
    width: calc(100% - 32px);
    padding: 30px 52px 26px 44px;
  }

  .pull-quote p {
    font-size: 28px;
  }

  .what-if {
    grid-template-columns: 1fr;
    padding: 26px 20px;
  }

  .what-if > * {
    min-width: 0;
  }

  .threshold-control input {
    min-width: 0;
  }

  .threshold-row {
    grid-template-columns: 80px minmax(90px, 1fr) 82px;
  }

  .threshold-row small {
    grid-column: 2 / -1;
  }

  .threshold-sector-chart,
  .what-if-note,
  .viability-test,
  .region-what-if > strong {
    grid-column: 1;
    grid-row: auto;
  }

  .sector-explainer {
    grid-column: 1;
    grid-row: auto;
  }

  .viability-test {
    grid-template-columns: 1fr;
  }

  .raw-score-focus-control {
    grid-template-columns: 1fr;
  }

  .same-score-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    padding: 18px 0;
  }

  .same-score-row > strong,
  .score-change {
    grid-column: 1 / -1;
  }

  .score-change {
    text-align: left;
  }

  .subject-loss-head {
    display: none;
  }

  .subject-loss-row {
    grid-template-columns: 1fr 72px;
    gap: 10px;
    padding: 14px 0;
  }

  .loss-track {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .story-scaling-comparison {
    overflow: hidden;
  }

  .scaling-matrix-head {
    display: none;
  }

  .scaling-matrix-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    min-width: 0;
    padding: 15px 0 12px;
  }

  .scaling-matrix-row > strong {
    grid-column: 1 / -1;
    font-size: 17px;
  }

  .scaling-matrix-row .score-cell,
  .scaling-matrix-row .enrolment-cell {
    padding-top: 19px;
  }

  .scaling-matrix-row .score-cell::after,
  .scaling-matrix-row .enrolment-cell::after {
    position: absolute;
    top: 0;
    left: 0;
    color: #5d6875;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .scaling-matrix-row .score-cell:nth-child(2)::after {
    content: "Raw 80";
  }

  .scaling-matrix-row .score-cell:nth-child(3)::after {
    content: "Raw 95";
  }

  .scaling-matrix-row .enrolment-cell::after {
    content: "Enrolments";
  }

  .scaling-matrix-row .score-cell b,
  .scaling-matrix-row .enrolment-cell b {
    font-size: 10px;
  }

  .matrix-key {
    flex-wrap: wrap;
  }
}

/* Compact corroboration: two independent checks on the main participation result. */
.corroboration-story {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 0;
  width: min(100% - 72px, 1180px);
  margin: 0 auto 72px;
  border-top: 8px solid var(--publication-yellow);
  border-bottom: 2px solid var(--publication-black);
}

.corroboration-panel {
  padding: 36px 38px 34px;
}

.corroboration-panel + .corroboration-panel {
  border-left: 1px solid #bcc5cd;
}

.corroboration-panel .chapter-number {
  margin: 0 0 8px;
  color: #c4143d;
}

.corroboration-panel h2 {
  margin: 0 0 10px;
  color: var(--publication-black);
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.04;
}

.corroboration-panel > p:not(.chapter-number) {
  margin: 0 0 24px;
  color: #465464;
  font-size: 16px;
  line-height: 1.45;
}

.region-intensity-head,
.region-intensity-row {
  display: grid;
  grid-template-columns: minmax(130px, 1.15fr) minmax(190px, 1.45fr) minmax(98px, 0.7fr);
  align-items: stretch;
}

.region-intensity-head {
  border-bottom: 2px solid var(--publication-black);
  color: #4b5866;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.region-intensity-head span,
.region-intensity-row > * {
  padding: 8px 10px;
}

.region-intensity-head span:last-child,
.region-intensity-row b {
  text-align: right;
}

.region-intensity-row {
  border-bottom: 1px solid #d8dde2;
  font-size: 14px;
}

.region-intensity-row strong {
  color: var(--publication-black);
}

.region-intensity-row span {
  color: #465464;
  font-variant-numeric: tabular-nums;
}

.region-intensity-row span i {
  padding: 0 5px;
  color: #8a95a0;
  font-style: normal;
}

.region-intensity-row b {
  background: rgba(196, 20, 61, var(--heat));
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.region-intensity-note {
  margin: 12px 0 0;
  color: #657383;
  font-size: 12px;
  line-height: 1.4;
}

.completion-check-chart {
  position: relative;
  padding-top: 54px;
}

.completion-impact {
  position: absolute;
  top: -2px;
  right: 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.completion-impact strong {
  color: #c4143d;
  font-size: 44px;
  font-weight: 950;
  line-height: 1;
}

.completion-impact span {
  color: #4b5866;
  font-size: 14px;
  font-weight: 800;
}

.completion-check-chart svg {
  display: block;
  width: 100%;
  height: auto;
}

.completion-check-chart .completion-bar {
  transform-box: fill-box;
  transform-origin: center;
}

.completion-check-chart .completion-bar.is-pulsing {
  animation: completion-bar-note-flicker 680ms ease-out;
}

@keyframes completion-bar-note-flicker {
  0%,
  100% {
    filter: brightness(1);
  }
  16% {
    filter:
      brightness(1.72)
      drop-shadow(0 0 5px rgba(255, 213, 71, 0.9));
  }
  38% {
    filter: brightness(1.08);
  }
  56% {
    filter:
      brightness(1.42)
      drop-shadow(0 0 3px rgba(255, 255, 255, 0.7));
  }
}

@media (prefers-reduced-motion: reduce) {
  .completion-check-chart .completion-bar.is-pulsing {
    animation: none;
    filter: brightness(1.3);
  }
}

.completion-check-chart .completion-value {
  fill: var(--publication-black);
  font-size: 15px;
  font-weight: 900;
}

.completion-check-chart .axis {
  fill: #566575;
  font-size: 13px;
  font-weight: 700;
}

.completion-check-chart > p {
  margin: -4px 0 0;
  color: #566575;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.policy-horizon {
  width: min(100% - 72px, 1180px);
  margin: 76px auto 82px;
  padding: 48px 52px 34px;
  border-top: 8px solid var(--publication-yellow);
  background: var(--publication-black);
  color: #fff;
}

.policy-horizon-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  column-gap: 52px;
  align-items: start;
}

.policy-horizon-copy .chapter-number {
  grid-column: 1 / -1;
  margin-bottom: 10px;
  color: var(--publication-yellow);
}

.policy-horizon-copy h2 {
  grid-row: span 4;
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.01;
}

.policy-horizon-copy .policy-now {
  padding-left: 16px;
  border-left: 4px solid var(--publication-yellow);
  color: #fff;
  font-weight: 850;
}

.policy-horizon-copy > p:not(.chapter-number) {
  margin: 0 0 16px;
  color: #dce2e7;
  font-size: 17px;
  line-height: 1.5;
}

.policy-horizon-copy .policy-pressure-note strong {
  color: var(--publication-yellow);
  white-space: nowrap;
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.policy-links a {
  border-bottom: 2px solid var(--publication-yellow);
  color: #fff;
  font-weight: 850;
  text-decoration: none;
}

.policy-horizon-chart {
  margin-top: 38px;
  padding: 22px 16px 10px;
  background: #fff;
  overflow: hidden;
}

.policy-horizon-chart svg {
  display: block;
  width: 100%;
  height: auto;
  min-width: 0;
  max-width: 100%;
}

.policy-horizon-chart .horizon-grid {
  stroke: #dfe4e8;
  stroke-width: 1;
}

.policy-horizon-chart .horizon-axis {
  fill: #526171;
  font-size: 14px;
  font-weight: 750;
}

.policy-horizon-chart .horizon-axis.future {
  fill: #8d1734;
  font-weight: 900;
}

.policy-horizon-chart .horizon-observed,
.policy-horizon-chart .horizon-continuation {
  fill: none;
  stroke: #d61542;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.policy-horizon-chart path.horizon-observed {
  stroke-width: 6;
}

.policy-horizon-chart path.horizon-continuation {
  stroke-width: 5;
  stroke-dasharray: 10 8;
}

.policy-horizon-chart .horizon-dot {
  stroke: #fff;
  stroke-width: 3;
}

.policy-horizon-chart .horizon-dot.observed {
  fill: #d61542;
}

.policy-horizon-chart .horizon-dot.projected {
  fill: #fff;
  stroke: #d61542;
  stroke-width: 4;
}

.policy-horizon-chart .milestone-line {
  stroke: #e3b91e;
  stroke-width: 2;
  stroke-dasharray: 4 5;
}

.policy-horizon-chart .milestone-title {
  fill: #151a20;
  font-size: 13px;
  font-weight: 950;
}

.policy-horizon-chart .milestone-detail {
  fill: #657383;
  font-size: 11px;
  font-weight: 700;
}

.policy-horizon-chart .horizon-value {
  fill: #b30f36;
  font-size: 15px;
  font-weight: 950;
}

.policy-horizon-chart .horizon-key line.horizon-observed,
.policy-horizon-chart .horizon-key line.horizon-continuation {
  stroke-width: 4;
}

.policy-horizon-chart .horizon-key line.horizon-continuation {
  stroke-dasharray: 8 6;
}

.policy-horizon-caveat {
  margin: 14px 0 0;
  color: #cbd3da;
  font-size: 13px;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .corroboration-story,
  .policy-horizon-copy {
    grid-template-columns: 1fr;
  }

  .corroboration-story {
    width: calc(100% - 40px);
  }

  .corroboration-panel + .corroboration-panel {
    border-top: 1px solid #bcc5cd;
    border-left: 0;
  }

  .policy-horizon {
    width: calc(100% - 40px);
    padding: 42px 30px 30px;
  }

  .policy-horizon-copy h2 {
    grid-row: auto;
    margin-bottom: 24px;
  }
}

@media (max-width: 620px) {
  .corroboration-story,
  .policy-horizon {
    width: 100%;
  }

  .corroboration-panel {
    padding: 34px 22px;
  }

  .region-intensity-head,
  .region-intensity-row {
    grid-template-columns: minmax(100px, 1fr) minmax(112px, 1fr) minmax(82px, 0.75fr);
  }

  .region-intensity-head span,
  .region-intensity-row > * {
    padding: 7px 5px;
  }

  .region-intensity-row {
    font-size: 12px;
  }

  .completion-impact {
    position: static;
    margin-bottom: 6px;
  }

  .completion-check-chart {
    padding-top: 0;
  }

  .policy-horizon {
    margin: 58px 0 64px;
    padding: 38px 18px 26px;
  }

  .policy-horizon-chart {
    margin-right: -10px;
    margin-left: -10px;
    padding: 16px 4px 8px;
    overflow: hidden;
  }

  .policy-horizon-chart svg {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
}

body.publication .availability-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 34px 48px;
  margin: 0 0 78px;
  padding: 58px max(42px, calc((100% - 1180px) / 2)) 72px;
  border-top: 8px solid var(--publication-yellow);
  background: #fff;
}

body.publication .availability-copy {
  display: block;
  max-width: 880px;
  margin: 0;
}

body.publication .availability-copy .chapter-number,
body.publication .availability-copy h2,
body.publication .availability-copy > p:not(.chapter-number) {
  grid-column: auto;
  grid-row: auto;
}

body.publication .availability-copy .right-hand-chapter-trigger .listening-wave {
  color: var(--publication-black);
  opacity: 0.72;
}

body.publication .scaling-copy .right-hand-chapter-trigger .listening-wave {
  color: var(--publication-black);
  opacity: 0.72;
}

body.publication .availability-copy h2 {
  max-width: 850px;
  margin: 0 0 18px;
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 0.98;
}

body.publication .availability-copy .availability-alert {
  display: block;
  margin: 0.08em 0;
  color: var(--publication-burgundy);
  font-weight: 950;
  letter-spacing: 0;
}

body.publication .availability-copy > p:last-child {
  grid-column: auto;
  grid-row: auto;
  max-width: 780px;
  margin: 0;
  font-size: 19px;
}

.availability-impact {
  align-self: center;
  padding: 24px 0 20px 28px;
  border-left: 2px solid #c8d0d8;
}

.availability-impact strong,
.availability-impact span,
.availability-impact b,
.availability-impact small {
  display: block;
}

.availability-impact strong {
  color: #c4143d;
  font-size: 82px;
  font-weight: 950;
  line-height: 0.86;
}

.availability-impact span {
  margin-top: 13px;
  color: #18212b;
  font-size: 17px;
  font-weight: 850;
}

.availability-impact b {
  margin-top: 4px;
  color: #c4143d;
  font-size: 19px;
}

.availability-impact small {
  margin-top: 4px;
  color: #687788;
  font-size: 14px;
  font-weight: 800;
}

.sector-availability-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid #18212b;
  border-bottom: 1px solid #c8d0d8;
}

.sector-availability-strip > div {
  min-width: 0;
  padding: 20px 22px 22px;
}

.sector-availability-strip > div + div {
  border-left: 1px solid #c8d0d8;
}

.sector-availability-strip span,
.sector-availability-strip strong,
.sector-availability-strip small {
  display: block;
}

.sector-availability-strip span {
  margin-bottom: 5px;
  color: #687788;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.sector-availability-strip strong {
  color: #c4143d;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1;
}

.sector-availability-strip small {
  margin-top: 8px;
  color: #34404c;
  font-size: 14px;
}

.sector-story-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, 0.88fr);
  gap: 48px;
  align-items: start;
}

.sector-story-grid article {
  min-width: 0;
}

.sector-story-grid h3 {
  margin: 0 0 8px;
  color: #18212b;
  font-size: 25px;
  line-height: 1.08;
}

.sector-story-grid article > p {
  min-height: 48px;
  margin: 0 0 14px;
  color: #59697a;
  font-size: 15px;
}

.sector-intensity-chart svg {
  display: block;
  width: 100%;
  height: auto;
}

.sector-intensity-chart .sector-direct-label {
  font-size: 14px;
  font-weight: 900;
}

.sector-intensity-chart .sector-direct-value {
  font-size: 12px;
  font-weight: 800;
}

.sector-intensity-chart .sector-legend-label {
  font-size: 12px;
  font-weight: 850;
}

.region-sector-heatmap {
  border-top: 2px solid #18212b;
}

.heatmap-head,
.heatmap-row {
  display: grid;
  grid-template-columns: minmax(145px, 1.4fr) repeat(3, minmax(78px, 1fr));
  gap: 5px;
  align-items: stretch;
}

.heatmap-head b {
  padding: 10px 5px 8px;
  color: #34404c;
  font-size: 12px;
  line-height: 1.05;
  text-align: center;
}

.heatmap-head b:first-child {
  text-align: left;
}

.heatmap-row {
  border-top: 1px solid #e0e5ea;
}

.heatmap-row strong {
  padding: 10px 6px 9px 0;
  color: #263442;
  font-size: 13px;
  line-height: 1.05;
}

.heatmap-row span {
  display: grid;
  min-height: 36px;
  place-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.heatmap-row .withheld {
  background: #eef1f4;
  color: #85909b;
}

.heatmap-key {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 14px;
  color: #59697a;
  font-size: 12px;
}

.heatmap-key span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.heatmap-key i {
  width: 18px;
  height: 10px;
}

.heatmap-key .decline { background: rgba(196, 20, 61, 0.86); }
.heatmap-key .light { background: rgba(196, 20, 61, 0.28); }
.heatmap-key .growth { background: rgba(45, 159, 111, 0.7); }

.availability-reading {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  padding: 20px 24px;
  border-left: 5px solid var(--publication-yellow);
  background: #f1f3f5;
  color: #263442;
  font-size: 18px;
}

@media (max-width: 900px) {
  body.publication .availability-story {
    grid-template-columns: 1fr;
    padding-right: 24px;
    padding-left: 24px;
  }

  .availability-impact {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 18px;
    align-items: center;
    padding-left: 0;
    border-left: 0;
  }

  .availability-impact strong {
    grid-row: 1 / 5;
  }

  .sector-story-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body.publication .availability-story {
    padding: 44px 24px 0;
  }

  .sector-availability-strip {
    grid-template-columns: 1fr;
  }

  .sector-availability-strip > div + div {
    border-top: 1px solid #c8d0d8;
    border-left: 0;
  }

  .heatmap-head,
  .heatmap-row {
    grid-template-columns: minmax(110px, 1.35fr) repeat(3, minmax(58px, 1fr));
  }

  .heatmap-head b,
  .heatmap-row strong,
  .heatmap-row span {
    font-size: 11px;
  }
}

/* Scaling chooser: match the publication's WHAT IF? scenario treatment. */
body.publication section#atar-scaling.scaling-intro {
  grid-template-columns: 120px minmax(300px, 0.82fr) minmax(540px, 1.18fr);
  gap: 28px;
  align-items: center;
  width: 100vw;
  max-width: none;
  margin: 28px calc(50% - 50vw) 18px;
  padding: 34px max(42px, calc((100vw - 1180px) / 2)) 36px;
  border-top: 8px solid var(--publication-yellow);
  border-bottom: 0;
  border-radius: 0;
  background: var(--publication-black) !important;
  color: #fff;
  box-shadow: none;
  clip-path: none;
}

body.publication #atar-scaling > .what-if-label {
  align-self: start;
  padding-top: 35px;
  color: var(--publication-yellow);
  font-size: 25px;
  font-weight: 950;
  line-height: 1;
}

body.publication #atar-scaling .section-kicker {
  margin: 0 0 8px;
  color: var(--publication-yellow);
}

body.publication #atar-scaling h2 {
  max-width: 650px;
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.04;
}

body.publication #atar-scaling .scaling-intro-copy p:last-child {
  max-width: 660px;
  margin: 0;
  color: #d7dde3;
  font-size: 17px;
  line-height: 1.5;
}

body.publication #atar-scaling .scaling-controls {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
}

body.publication #atar-scaling .scaling-controls label > span {
  margin-bottom: 7px;
  color: #fff;
  font-size: 14px;
}

body.publication #atar-scaling .scaling-controls select {
  min-height: 48px;
  border: 1px solid #8795a3;
  border-radius: 4px;
  background-color: #fff;
  color: var(--publication-black);
  font-size: 16px;
}

body.publication #atar-scaling #scalingSubject {
  border-color: #cf7488;
  background-color: #fde8ed;
}

body.publication #atar-scaling #scalingComparison {
  border-color: #6f9fcf;
  background-color: #e8f1fa;
}

body.publication #atar-scaling #scalingSubject:focus-visible {
  outline: 3px solid rgba(209, 52, 71, 0.42);
  outline-offset: 2px;
}

body.publication #atar-scaling #scalingComparison:focus-visible {
  outline: 3px solid rgba(47, 112, 183, 0.42);
  outline-offset: 2px;
}

body.publication .method-tooltip-row {
  justify-content: flex-end;
  min-height: 22px;
  margin: 0 0 4px;
}

body.publication .method-tooltip-row .inline-info {
  margin: 0;
  color: #687788;
}

body.publication .closing-quote {
  margin-bottom: 32px;
}

body.publication section#methods.methods-opening {
  width: 100%;
  margin: 0;
  padding: 76px max(42px, calc((100% - 1480px) / 2));
  border-top: 0;
  background: var(--publication-burgundy);
  color: #fff;
}

body.publication section#methods.methods-opening + .method-drawer {
  margin-top: 34px;
}

@media (max-width: 1180px) {
  body.publication .scaling-copy {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px;
  }

  body.publication .scaling-copy > p:not(.chapter-number):not(.baseline-note) {
    grid-column: 1 !important;
    grid-row: auto !important;
    max-width: 820px;
  }
}

@media (orientation: portrait) and (min-width: 1051px) {
  .evidence-copy {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.55fr);
    column-gap: 56px;
  }

  .story-chapter,
  .explore-opening,
  .methods-opening {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.55fr);
    gap: 56px;
  }

  .future-workforce-frame {
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.7fr);
    gap: 52px;
  }

  .policy-horizon-copy {
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.65fr);
  }
}

body.publication #methods .chapter-number {
  margin-bottom: 12px;
  color: #fff;
}

body.publication #methods h2 {
  margin-bottom: 22px;
  color: #fff;
}

body.publication #methods .methods-overview-content h2 {
  color: var(--publication-black);
}

body.publication #methods .methods-overview-content #sources #sources-title {
  color: var(--publication-black) !important;
}

body.publication #methods > p:last-child {
  color: rgba(255, 255, 255, 0.92);
}

body.publication .region-what-if {
  width: 100vw;
  max-width: none;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding-right: max(42px, calc((100vw - 1180px) / 2));
  padding-left: max(42px, calc((100vw - 1180px) / 2));
}

@media (max-width: 1250px) {
  body.publication .region-what-if {
    grid-template-columns: 100px minmax(0, 1fr) minmax(230px, 0.72fr);
  }

  body.publication .region-what-if > * {
    min-width: 0;
  }

  body.publication #regionProjectionResult {
    grid-column: 2 / -1;
    width: 100%;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }
}

@media (max-width: 900px) {
  body.publication section#atar-scaling.scaling-intro {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 24px;
    width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    margin-top: 32px;
    padding: 30px 24px 32px;
  }

  body.publication #atar-scaling .scaling-controls {
    grid-column: 2;
    grid-template-columns: 1fr;
  }

  body.publication #atar-scaling > .what-if-label {
    padding-top: 32px;
    font-size: 21px;
  }

  body.publication section#methods.methods-opening {
    width: 100%;
    padding: 50px 24px 46px;
  }

  body.publication .region-what-if {
    width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding-right: 24px;
    padding-left: 24px;
    grid-template-columns: 1fr;
  }

  body.publication #regionProjectionResult {
    grid-column: 1;
  }
}

@media (max-width: 620px) {
  body.publication section#atar-scaling.scaling-intro {
    grid-template-columns: 1fr;
  }

  body.publication #atar-scaling > .what-if-label {
    padding-top: 0;
  }

  body.publication #atar-scaling .scaling-controls {
    grid-column: 1;
  }
}

.school-range-chart .year-label {
  fill: var(--publication-black);
  font-size: 21px;
  font-weight: 950;
}

.school-range-chart .flow-label {
  fill: #34404c;
  font-size: 15px;
}

.school-range-chart .legend-label {
  fill: #34404c;
  font-size: 14px;
  font-weight: 800;
}

.net-loss-statement {
  display: grid;
  grid-template-columns: minmax(190px, 0.34fr) minmax(0, 1fr);
  gap: 46px;
  align-items: center;
  width: min(100% - 72px, 1180px);
  margin: 0 auto 74px;
  padding: 42px 48px 44px;
  border-top: 8px solid var(--publication-yellow);
  background: var(--publication-black);
  color: #fff;
}

/*
 * These are full-width dark chapter fields, not dark cards. Keep each
 * chapter's readable inner measure while carrying its background through the
 * report gutters at every viewport width.
 */
body.publication .future-workforce-frame,
body.publication .policy-horizon,
body.publication .net-loss-statement,
body.publication .what-if {
  box-shadow: 0 0 0 100vmax var(--publication-black);
  clip-path: inset(0 -100vmax);
}

.net-loss-statement > strong {
  color: #f02a50;
  font-size: clamp(62px, 7vw, 102px);
  font-weight: 950;
  line-height: 0.82;
}

.net-loss-statement .chapter-number {
  margin-bottom: 9px;
  color: var(--publication-yellow);
}

.net-loss-statement h2 {
  max-width: 820px;
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(29px, 3.1vw, 43px);
  line-height: 1.05;
}

.net-loss-statement p:last-child {
  max-width: 850px;
  margin: 0;
  color: #d7dde3;
  font-size: 17px;
}

.net-loss-statement .inline-info {
  color: var(--publication-yellow);
}

/* Reflexive disclosure before the technical methods */
.interpretive-disclosure {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(44px, 6vw, 92px);
  margin-top: 58px;
  margin-bottom: 58px;
  padding: 68px 0 62px;
  border-top: 8px solid var(--publication-yellow);
  border-bottom: 3px solid var(--publication-black);
  color: var(--publication-black);
}

.interpretive-disclosure header {
  align-self: start;
}

.interpretive-disclosure h2 {
  max-width: 650px;
  margin: 12px 0 32px;
  font-size: clamp(42px, 4.5vw, 68px);
  line-height: 0.98;
}

.interpretive-lead {
  margin: 0;
  padding: 24px 26px;
  border-left: 6px solid var(--publication-yellow);
  background: linear-gradient(105deg, #f8c62d 0%, #ffe990 100%);
  font-size: clamp(22px, 2vw, 29px);
  font-weight: 750;
  line-height: 1.2;
}

.interpretive-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: start;
  border-top: 3px solid var(--publication-black);
}

.interpretive-body article {
  padding: 26px 26px 28px 0;
  border-bottom: 1px solid #b7bec6;
}

.interpretive-body article:nth-child(even) {
  padding-right: 0;
  padding-left: 26px;
  border-left: 1px solid #b7bec6;
}

.interpretive-body h3 {
  margin: 0 0 10px;
  color: var(--publication-red);
  font-size: 24px;
  line-height: 1.05;
}

.interpretive-body p {
  margin: 0;
  font-size: 17px;
  line-height: 1.52;
}

.interpretive-link {
  grid-column: 2;
  justify-self: start;
  margin-top: -40px;
  color: var(--publication-red);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid var(--publication-yellow);
}

@media (max-width: 760px) {
  .net-loss-statement {
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
    margin-bottom: 54px;
    padding: 38px 24px 42px;
  }
}

@media (max-width: 720px) {
  .interpretive-disclosure {
    grid-template-columns: 1fr;
    gap: 34px;
    width: 100%;
    margin-top: 42px;
    margin-bottom: 42px;
    padding: 46px 0 42px;
  }

  .interpretive-disclosure h2 {
    font-size: 41px;
  }

  .interpretive-lead {
    font-size: 22px;
  }

  .interpretive-body {
    grid-template-columns: 1fr;
  }

  .interpretive-body article,
  .interpretive-body article:nth-child(even) {
    padding: 23px 0;
    border-left: 0;
  }

  .interpretive-link {
    grid-column: 1;
    margin-top: 0;
  }
}

/* The listening landscape uses red for decline; yellow remains the time/navigation cue. */
.publication .listening-impact:not(.is-growth) strong {
  color: #ff5f78;
  text-shadow: 0 0 18px rgba(255, 67, 99, 0.24);
}

.publication .listening-trace-path {
  stroke: #ff5f78;
  filter: drop-shadow(0 0 4px rgba(255, 67, 99, 0.34));
}

.publication .listening-trace-points circle:not(.listening-trace-ripple) {
  fill: #ff5f78;
}

.publication .listening-trace-points .listening-trace-moving {
  fill: #fff2f4;
  filter:
    drop-shadow(0 0 5px rgba(255, 255, 255, 0.82))
    drop-shadow(0 0 9px rgba(255, 67, 99, 0.54));
}

/* Closing question: a full-viewport coda after the final listening landscape. */
.closing-coda {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto auto 1fr;
  width: 100%;
  height: calc(100svh - 68px - var(--reading-next-height));
  min-height: 620px;
  margin: 0;
  padding: clamp(36px, 5vh, 74px) clamp(28px, 6vw, 104px) clamp(24px, 4vh, 52px);
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 22%, rgba(239, 75, 105, 0.42), transparent 34%),
    linear-gradient(132deg, #870923 0%, #b80e38 48%, #d21c49 100%);
  color: #fff;
}

.closing-coda-fall {
  position: absolute;
  inset: -32vh -8vw;
  z-index: -1;
  overflow: hidden;
  opacity: 0.48;
  pointer-events: none;
}

.closing-coda-fall::before,
.closing-coda-fall::after {
  position: absolute;
  inset: -20%;
  content: "";
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.54) 0 2px, transparent 2.8px),
    radial-gradient(circle, rgba(242, 201, 76, 0.42) 0 1.4px, transparent 2.2px),
    linear-gradient(to bottom, transparent 0 16%, rgba(255, 255, 255, 0.16) 16% 47%, transparent 47% 100%);
  background-position: 14px 0, 72px 84px, 14px -18px;
  background-size: 132px 184px, 176px 238px, 132px 184px;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  animation: closing-coda-fall 36s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
}

.closing-coda-fall::after {
  inset: -36% -25%;
  opacity: 0.56;
  background-position: 72px 0, 15px 64px, 72px -18px;
  animation-duration: 52s;
  animation-delay: -21s;
}

.closing-coda-kicker {
  margin: 0 0 clamp(14px, 2vh, 24px);
  color: var(--publication-yellow);
  font-size: clamp(0.8rem, 1.1vw, 1rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.closing-coda-kicker a {
  padding: 2px 3px;
  color: #fff;
  text-decoration: none;
}

.closing-coda-kicker a:hover,
.closing-coda-kicker a:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  color: var(--publication-yellow);
  outline: none;
}

.closing-coda-kicker a:focus-visible {
  box-shadow: 0 0 0 2px var(--publication-yellow);
}

.closing-coda h2 {
  max-width: 22ch;
  margin: 0;
  color: #fff;
  font-size: clamp(2.25rem, 4.2vw, 4.8rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
  text-wrap: balance;
}

.closing-coda-words {
  position: relative;
  min-height: 0;
}

.closing-coda-word,
.closing-coda-final {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  color: #fff;
  letter-spacing: 0;
  opacity: 0;
  filter: blur(12px);
  transform: translate3d(0, calc(-50% + 22px), 0) scale(0.985);
  will-change: opacity, filter, transform;
}

.closing-coda-word h3 {
  margin: 0 0 clamp(14px, 2vh, 24px);
  color: #fff;
  font-size: clamp(3.3rem, 7vw, 8.8rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.88;
  text-transform: uppercase;
}

.closing-coda-word p {
  max-width: 24ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.35rem, 2.3vw, 2.7rem);
  font-weight: 700;
  line-height: 1.08;
  text-wrap: balance;
}

.closing-coda-word strong,
.closing-coda-final strong {
  color: var(--publication-yellow);
  font-weight: 950;
}

.closing-coda-word--curiosity {
  --coda-delay: 0s;
}

.closing-coda-word--curation {
  --coda-delay: 5s;
}

.closing-coda-word--compassion {
  --coda-delay: 10s;
}

.closing-coda-word--story {
  --coda-delay: 15s;
}

.closing-coda-active .closing-coda-word {
  animation: closing-coda-prompt 30s cubic-bezier(0.42, 0, 0.3, 1) var(--coda-delay) infinite both;
}

.closing-coda-final {
  max-width: 19ch;
  font-size: clamp(2.15rem, 4.5vw, 5.4rem);
  font-weight: 850;
  line-height: 0.98;
  text-wrap: balance;
}

.closing-coda-active .closing-coda-final {
  animation: closing-coda-finale 30s cubic-bezier(0.42, 0, 0.3, 1) 20s infinite both;
}

@media (min-width: 1050px) {
  .closing-coda {
    grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1.12fr);
    grid-template-rows: auto 1fr;
    column-gap: clamp(54px, 7vw, 118px);
  }

  .closing-coda-kicker {
    grid-column: 1;
    grid-row: 1;
  }

  .closing-coda h2 {
    grid-column: 1;
    grid-row: 2;
    max-width: 14ch;
  }

  .closing-coda-words {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: stretch;
    width: 100%;
  }

  .closing-coda-word,
  .closing-coda-final {
    max-width: 100%;
  }
}

@keyframes closing-coda-prompt {
  0%,
  1% {
    opacity: 0;
    filter: blur(10px);
    transform: translate3d(0, calc(-50% + 14px), 0) scale(0.988);
  }
  3%,
  13% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, -50%, 0) scale(1);
  }
  16.667%,
  100% {
    opacity: 0;
    filter: blur(7px);
    transform: translate3d(0, calc(-50% - 12px), 0) scale(1.008);
  }
}

@keyframes closing-coda-finale {
  0%,
  2% {
    opacity: 0;
    filter: blur(10px);
    transform: translate3d(0, calc(-50% + 14px), 0) scale(0.988);
  }
  5%,
  29% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, -50%, 0) scale(1);
  }
  33.333%,
  100% {
    opacity: 0;
    filter: blur(7px);
    transform: translate3d(0, calc(-50% - 12px), 0) scale(1.008);
  }
}

@keyframes closing-coda-fall {
  from {
    transform: translate3d(0, -12%, 0);
  }
  to {
    transform: translate3d(0, 12%, 0);
  }
}

@media (max-width: 720px) {
  body.publication {
    --reading-next-height: 52px;
  }

  .reading-next-button {
    min-width: min(220px, 64vw);
    font-size: 13px;
  }

  .closing-coda {
    height: calc(100svh - 62px - var(--reading-next-height));
    min-height: 560px;
    padding: 28px 22px 22px;
  }

  .closing-coda h2 {
    max-width: none;
    font-size: clamp(1.9rem, 7.4vw, 3rem);
  }

  .closing-coda-word h3 {
    font-size: clamp(2.8rem, 12vw, 5.7rem);
  }

  .closing-coda-word p {
    font-size: clamp(1.25rem, 5.3vw, 2rem);
  }

  .closing-coda-final {
    font-size: clamp(2rem, 8.3vw, 3.4rem);
  }

}

@media (prefers-reduced-motion: reduce) {
  .closing-coda {
    height: auto;
    overflow: visible;
  }

  .closing-coda-fall::before,
  .closing-coda-fall::after {
    animation: none;
  }

  .closing-coda-words {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-content: center;
    gap: 18px 24px;
  }

  .closing-coda-word,
  .closing-coda-active .closing-coda-word,
  .closing-coda-final,
  .closing-coda-active .closing-coda-final {
    position: static;
    opacity: 1;
    filter: none;
    transform: none;
    animation: none;
  }

  .closing-coda-word h3 {
    margin-bottom: 8px;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
  }

  .closing-coda-word p {
    font-size: clamp(0.95rem, 1.6vw, 1.25rem);
  }

  .closing-coda-final {
    grid-column: 1 / -1;
    max-width: 28ch;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.38);
    font-size: clamp(1.4rem, 2.8vw, 2.4rem);
  }
}

/* Let the scaling reflection hand directly into the policy horizon. */
#scaling-story {
  padding-bottom: clamp(28px, 3vw, 42px);
}

#scaling-story + #policy-horizon {
  margin-top: 10px;
}

@media (max-width: 620px) {
  #scaling-story {
    padding-bottom: 26px;
  }

  #scaling-story + #policy-horizon {
    margin-top: 0;
  }
}
