:root {
  color-scheme: light;
  --page: #ffffff;
  --band: #f5f8fc;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --ink: #071832;
  --muted: #526176;
  --faint: #7f8da3;
  --rule: #d8e2ef;
  --rule-strong: #acbbcf;
  --navy: #08245a;
  --blue: #075fd8;
  --blue-soft: #eaf2ff;
  --cyan: #08798a;
  --green: #14834d;
  --green-soft: #e8f6ee;
  --amber: #d77800;
  --amber-soft: #fff3df;
  --red: #c7352b;
  --red-soft: #fdeceb;
  --purple: #7051b8;
  --shadow: 0 18px 44px rgba(7, 24, 50, 0.08);
  --shadow-soft: 0 12px 26px rgba(7, 24, 50, 0.06);
  --radius: 8px;
  --font: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--page);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  background:
    linear-gradient(180deg, #ffffff 0, #ffffff 86px, #f7faff 86px, #ffffff 620px),
    var(--page);
}

a {
  color: var(--navy);
  text-decoration: none;
}

a:hover {
  color: var(--blue);
}

button,
input,
select {
  font: inherit;
}

svg {
  display: block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 20;
  padding: 8px 12px;
  color: var(--surface);
  background: var(--ink);
  border-radius: var(--radius);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  min-height: 68px;
  padding: 0 32px;
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
}

.site-header > * {
  min-width: 0;
}

.brand {
  color: var(--ink);
  font-size: 24px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-width: 0;
  min-height: 68px;
  max-width: 100%;
  overflow-x: auto;
}

.site-nav a {
  display: flex;
  align-items: center;
  padding: 0 17px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  border-bottom: 2px solid transparent;
}

.site-nav a.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 15px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  background: var(--surface);
  border: 1px solid #92b7fb;
  border-radius: 7px;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(7, 95, 216, 0.08);
}

.download-button:hover {
  color: var(--surface);
  background: var(--blue);
  border-color: var(--blue);
}

.download-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.page-shell {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 22px 28px 46px;
}

.narrow-page {
  width: min(100%, 1180px);
}

.risk-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.risk-main {
  min-width: 0;
  padding: 30px 32px 28px;
}

.risk-main h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: 42px;
  font-weight: 850;
  line-height: 1.06;
}

.risk-copy {
  max-width: 720px;
  margin: 12px 0 24px;
  color: #27364d;
  font-size: 18px;
  line-height: 1.55;
}

.risk-summary-row {
  display: grid;
  grid-template-columns: minmax(190px, 0.55fr) minmax(220px, 1fr);
  gap: 20px;
  align-items: end;
  margin-bottom: 22px;
}

.section-label,
.eyeline {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.risk-score strong {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 6px;
  color: var(--amber);
  font-size: 64px;
  font-weight: 900;
  line-height: 0.95;
}

.risk-score small {
  color: var(--ink);
  font-size: 24px;
  font-weight: 850;
}

.risk-state strong {
  display: block;
  margin-top: 6px;
  color: var(--amber);
  font-size: 34px;
  font-weight: 850;
  line-height: 1.05;
}

.risk-state span:last-child {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
}

body[data-risk="low"] .risk-state strong,
body[data-risk="low"] .risk-score strong {
  color: var(--green);
}

body[data-risk="high"] .risk-state strong,
body[data-risk="high"] .risk-score strong {
  color: var(--red);
}

.risk-scale {
  max-width: 760px;
}

.meter {
  position: relative;
  margin: 0 8px 12px;
  padding-top: 14px;
}

.meter-track {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  height: 14px;
  overflow: hidden;
  background: var(--rule);
  border-radius: 999px;
}

.meter-zone {
  border-right: 2px solid rgba(255, 255, 255, 0.9);
}

.meter-zone:last-child {
  border-right: 0;
}

.meter-zone.low {
  background: linear-gradient(90deg, #33a966, var(--green));
}

.meter-zone.elevated {
  background: linear-gradient(90deg, #e5b200, #f28a00);
}

.meter-zone.high {
  background: linear-gradient(90deg, #ef5b34, var(--red));
}

.meter-marker {
  position: absolute;
  top: 6px;
  left: clamp(0%, var(--score), 100%);
  width: 18px;
  height: 18px;
  background: var(--navy);
  border: 3px solid var(--surface);
  border-radius: 999px;
  box-shadow: 0 0 0 2px rgba(8, 36, 90, 0.18), 0 8px 18px rgba(8, 36, 90, 0.22);
  transform: translateX(-50%);
}

body[data-risk="low"] .meter-marker {
  background: var(--green);
}

body[data-risk="high"] .meter-marker {
  background: var(--red);
}

.meter-labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  color: var(--muted);
}

.meter-labels span {
  display: grid;
  gap: 1px;
}

.meter-labels strong {
  font-size: 14px;
  line-height: 1.2;
}

.meter-labels small {
  color: var(--muted);
  font-size: 12px;
}

.low-text {
  color: var(--green);
}

.elevated-text {
  color: var(--amber);
}

.high-text {
  color: var(--red);
}

.risk-side {
  display: grid;
  align-content: start;
  gap: 22px;
  min-width: 0;
  padding: 30px 30px 28px;
  background:
    linear-gradient(145deg, rgba(234, 242, 255, 0.9), rgba(255, 255, 255, 0.82)),
    var(--band);
  border-left: 1px solid var(--rule);
}

.risk-freshness strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 850;
  line-height: 1.22;
}

.risk-freshness p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.risk-freshness small {
  display: block;
  margin-top: 7px;
  color: var(--faint);
  font-size: 12px;
  text-transform: capitalize;
}

.freshness {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.freshness span:first-child {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  background: var(--green);
  border-radius: 999px;
}

.risk-updates {
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}

.risk-updates h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.risk-updates ul {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding-left: 18px;
  color: #26364d;
  font-size: 14px;
  line-height: 1.45;
}

.pillar-section {
  margin-top: 24px;
}

.section-heading,
.toolbar-row,
.dashboard-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading {
  margin-bottom: 12px;
}

.section-heading h2,
.toolbar-row h1,
.dashboard-toolbar h2 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 850;
  line-height: 1.18;
}

.section-heading p,
.toolbar-row p,
.dashboard-toolbar p {
  max-width: 850px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.text-link,
.card-head a {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

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

.pillar-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  min-height: 214px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.pillar-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  background: var(--blue-soft);
  border: 1px solid #d5e5ff;
  border-radius: 999px;
}

.pillar-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 850;
  line-height: 1.22;
}

.pillar-card p {
  min-height: 42px;
  margin: 8px 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.mini-metric {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}

.mini-metric span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.mini-metric strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-size: 30px;
  font-weight: 850;
  line-height: 1;
}

.mini-metric small {
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.state-chip {
  display: inline-flex;
  width: max-content;
  margin-top: 14px;
  padding: 5px 9px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 850;
  background: rgba(8, 121, 138, 0.09);
  border: 1px solid rgba(8, 121, 138, 0.18);
  border-radius: 999px;
}

.dashboard-toolbar {
  align-items: center;
  margin: 26px 0 12px;
  padding-top: 8px;
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.toolbar-actions > span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  background: var(--green-soft);
  border: 1px solid #c6e8d3;
  border-radius: 999px;
}

.toolbar-actions > span.is-degraded {
  color: var(--amber);
  background: var(--amber-soft);
  border-color: #f2cd96;
}

.segmented-control {
  display: inline-flex;
  padding: 3px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: 0 8px 18px rgba(7, 24, 50, 0.04);
}

.segmented-control button {
  min-width: 48px;
  min-height: 32px;
  padding: 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  background: transparent;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
}

.segmented-control button:hover {
  color: var(--blue);
}

.segmented-control button.active {
  color: var(--surface);
  background: var(--blue);
}

.signal-table-card {
  margin-top: 12px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: 0 10px 22px rgba(7, 24, 50, 0.045);
}

.signal-table-wrap {
  border: 0;
  border-radius: 0;
}

.signal-table {
  min-width: 960px;
}

.signal-table th,
.signal-table td {
  padding: 12px 16px;
  vertical-align: middle;
}

.signal-table thead th {
  color: var(--ink);
  font-size: 12px;
  text-transform: none;
}

.signal-table tbody th {
  width: 28%;
  background: var(--surface);
}

.signal-table tbody th strong,
.signal-table tbody th small,
.signal-table td strong,
.signal-table td small {
  display: block;
}

.signal-table tbody th strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.signal-table tbody th small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.signal-table td {
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}

.signal-table td small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.range-cell {
  display: grid;
  grid-template-columns: minmax(46px, auto) minmax(120px, 1fr) minmax(46px, auto);
  gap: 8px;
  align-items: center;
  min-width: 220px;
}

.range-cell span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.range-cell span:last-child {
  text-align: right;
}

.range-bar {
  position: relative;
  display: block;
  height: 7px;
  overflow: visible;
}

.range-bar i {
  position: absolute;
  inset: 1px 0;
  background: #cdd8e6;
  border-radius: 999px;
}

.range-bar b {
  position: absolute;
  top: -2px;
  left: clamp(0%, var(--pos), 100%);
  width: 11px;
  height: 11px;
  background: var(--blue);
  border: 2px solid var(--surface);
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(7, 95, 216, 0.2);
  transform: translateX(-50%);
}

.trend-spark {
  display: block;
  width: 86px;
  height: 28px;
  overflow: visible;
}

.trend-spark path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  vector-effect: non-scaling-stroke;
}

.table-note {
  margin: 0;
  padding: 10px 16px 13px;
  color: var(--muted);
  font-size: 12px;
  border-top: 1px solid var(--rule);
}

.key-charts-section {
  margin-top: 24px;
}

.key-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 14px;
  align-items: stretch;
}

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

.key-chart-grid {
  display: contents;
  margin-top: 0;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.key-chart-grid .chart-card,
.key-grid .regime-card {
  display: grid;
  min-width: 0;
  height: 100%;
}

.key-chart-grid .chart-card {
  grid-template-rows: auto minmax(220px, 1fr) auto;
}

.key-grid .regime-card {
  grid-template-rows: auto minmax(0, 1fr);
}

.chart-card,
.regime-card,
.interpretation-card,
.sources-card,
.catalog-card,
.method-panels article,
.download-strip a,
.blog-card,
.timeline article {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.chart-card {
  min-width: 0;
  padding: 16px 16px 12px;
  box-shadow: 0 10px 22px rgba(7, 24, 50, 0.045);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.chart-card:hover {
  border-color: var(--rule-strong);
  box-shadow: 0 16px 30px rgba(7, 24, 50, 0.075);
  transform: translateY(-1px);
}

.chart-card.is-fallback {
  border-color: #f0c98c;
}

.chart-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
}

.chart-head > * {
  min-width: 0;
}

.chart-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 850;
  line-height: 1.22;
  overflow-wrap: break-word;
}

.chart-head p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: break-word;
}

.chart-latest {
  flex: 0 0 auto;
  display: grid;
  justify-items: end;
  gap: 2px;
  color: var(--ink);
  text-align: right;
  white-space: nowrap;
}

.chart-latest strong {
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
}

.chart-latest span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.chart-plot {
  position: relative;
  min-height: 220px;
}

.chart-svg {
  width: 100%;
  height: 218px;
  margin-top: 8px;
  overflow: visible;
}

.axis-label {
  fill: var(--ink);
  font-size: 11px;
  font-weight: 800;
}

.tick-label {
  fill: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.grid-line {
  stroke: #dce5f0;
  stroke-dasharray: 2 5;
  stroke-width: 1;
}

.axis-line {
  stroke: #8292a8;
  stroke-width: 1;
}

.series-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.7;
}

.series-area {
  pointer-events: none;
}

.latest-point,
.focus-point {
  stroke: var(--surface);
  stroke-width: 2;
}

.crosshair {
  stroke: #1d2e46;
  stroke-dasharray: 3 4;
  stroke-width: 1;
  pointer-events: none;
}

.reference-line {
  stroke: rgba(82, 97, 118, 0.65);
  stroke-dasharray: 5 5;
  stroke-width: 1;
}

.reference-label {
  fill: var(--faint);
  font-size: 9px;
  font-weight: 800;
}

.chart-hit-area {
  fill: transparent;
  cursor: crosshair;
}

.chart-tooltip {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  display: grid;
  gap: 1px;
  min-width: 92px;
  padding: 8px 10px;
  color: var(--ink);
  pointer-events: none;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--rule-strong);
  border-radius: 7px;
  box-shadow: 0 14px 30px rgba(7, 24, 50, 0.14);
  opacity: 0;
  transform: translate(-50%, calc(-100% - 10px));
  visibility: hidden;
}

.chart-tooltip.visible {
  opacity: 1;
  visibility: visible;
}

.chart-tooltip strong {
  font-size: 13px;
  line-height: 1.1;
}

.chart-tooltip span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.chart-empty {
  display: grid;
  place-items: center;
  min-height: 210px;
  color: var(--muted);
  font-size: 13px;
  border: 1px dashed var(--rule);
  border-radius: var(--radius);
}

.chart-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}

.chart-foot a {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chart-foot span:last-child {
  text-align: right;
  white-space: nowrap;
}

.bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 14px;
  align-items: start;
  margin-top: 16px;
}

.regime-card,
.interpretation-card,
.sources-card {
  padding: 20px;
  box-shadow: 0 10px 22px rgba(7, 24, 50, 0.045);
}

.card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 14px;
}

.card-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 850;
  line-height: 1.2;
}

.card-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.regime-map {
  position: relative;
  height: 282px;
  margin-left: 54px;
  margin-bottom: 36px;
  border-left: 1px solid var(--navy);
  border-bottom: 1px solid var(--navy);
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), #aec0d5 calc(50% - 1px), #aec0d5 calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(0deg, transparent calc(50% - 1px), #aec0d5 calc(50% - 1px), #aec0d5 calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(180deg, #ffffff, #fbfdff);
}

.quad {
  position: absolute;
  width: 50%;
  min-height: 50%;
  padding: 14px 16px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.22;
  overflow-wrap: break-word;
}

.quad span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.2;
}

.q1 {
  top: 0;
  left: 0;
  color: var(--amber);
}

.q2 {
  top: 0;
  right: 0;
  color: var(--red);
}

.q3 {
  bottom: 0;
  left: 0;
  color: var(--green);
}

.q4 {
  right: 0;
  bottom: 0;
  color: var(--amber);
}

.axis-x,
.axis-y {
  position: absolute;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
}

.axis-x {
  right: 0;
  bottom: -32px;
}

.axis-y {
  top: 92px;
  left: -84px;
  transform: rotate(-90deg);
}

.current-dot {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: 13px;
  height: 13px;
  background: var(--blue);
  border: 2px solid var(--surface);
  border-radius: 999px;
  box-shadow: 0 0 0 2px var(--blue), 0 8px 16px rgba(7, 95, 216, 0.22);
  transform: translate(-50%, -50%);
}

.current-dot span {
  position: absolute;
  top: -46px;
  left: -36px;
  min-width: 72px;
  padding: 4px 6px;
  color: var(--navy);
  text-align: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--rule);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.08;
  box-shadow: 0 8px 16px rgba(7, 24, 50, 0.08);
}

.interpretation-card p:not(.card-head p) {
  margin: 0 0 18px;
  color: #26364d;
  font-size: 15px;
  line-height: 1.68;
}

.source-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.sources-card .source-list {
  grid-template-columns: 1fr;
}

.source-list li {
  display: grid;
  gap: 1px;
  min-width: 0;
  padding: 9px 10px;
  background: var(--surface-soft);
  border: 1px solid var(--rule);
  border-radius: 7px;
}

.source-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-bottom: 2px;
  background: var(--red);
  border-radius: 999px;
}

.source-list li.ok::before {
  background: var(--green);
}

.source-list span,
.source-list small {
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}

.source-list span {
  color: var(--ink);
  font-size: 11px;
  font-weight: 850;
}

.source-list small {
  color: var(--muted);
  font-size: 11px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 18px 28px 34px;
  color: var(--muted);
  font-size: 12px;
}

.page-intro {
  margin: 14px 0 22px;
  padding: 28px 0 10px;
}

.page-intro h1 {
  margin: 0;
  color: var(--ink);
  font-size: 42px;
  font-weight: 850;
  line-height: 1.08;
}

.page-intro p {
  width: min(820px, 100%);
  margin: 12px 0 0;
  color: #27364d;
  font-size: 17px;
  line-height: 1.6;
}

.legend-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--ink);
  font-size: 13px;
}

.legend {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 850;
}

.legend.low,
.threshold.low {
  color: var(--green);
  background: var(--green-soft);
  border-color: #bde2c9;
}

.legend.amber,
.threshold.amber {
  color: var(--amber);
  background: var(--amber-soft);
  border-color: #f1ce94;
}

.legend.red,
.threshold.red {
  color: var(--red);
  background: var(--red-soft);
  border-color: #f3b9b9;
}

.method-table-section {
  margin-bottom: 18px;
}

.method-table-section h2,
.catalog-toolbar h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 850;
}

.method-note {
  max-width: 900px;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}

th,
td {
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
}

th {
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  background: var(--surface-soft);
}

td {
  color: #26364d;
  font-size: 13px;
}

td small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

tr:last-child td {
  border-bottom: 0;
}

code {
  padding: 2px 5px;
  color: var(--navy);
  font-family: var(--mono);
  font-size: 0.92em;
  background: #edf4ff;
  border-radius: 4px;
}

.method-panels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.method-panels article {
  min-height: 190px;
  padding: 17px;
  border: 0;
  border-right: 1px solid var(--rule);
  border-radius: 0;
}

.method-panels article:last-child {
  border-right: 0;
}

.method-panels h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 850;
}

.method-panels p,
.tight-list {
  margin: 0;
  color: #26364d;
  font-size: 14px;
}

.tight-list {
  display: grid;
  gap: 8px;
  padding-left: 18px;
}

.threshold-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.threshold {
  display: block;
  padding: 12px 8px;
  text-align: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
}

.threshold small {
  color: currentColor;
  font-weight: 650;
}

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

.download-strip a {
  display: grid;
  gap: 7px;
  min-height: 128px;
  padding: 18px;
  box-shadow: 0 10px 22px rgba(7, 24, 50, 0.045);
}

.download-strip a:hover {
  border-color: #94b9f8;
  box-shadow: 0 16px 30px rgba(7, 95, 216, 0.09);
}

.download-strip strong {
  color: var(--navy);
  font-size: 17px;
  font-weight: 850;
}

.download-strip span {
  color: var(--muted);
  font-size: 14px;
}

.catalog-card {
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 12px;
}

.catalog-toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.filter-row {
  display: flex;
  gap: 12px;
  align-items: end;
}

.filter-row label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.filter-row input,
.filter-row select {
  min-width: 190px;
  height: 40px;
  padding: 0 11px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
}

.filter-row input:focus,
.filter-row select:focus,
.segmented-control button:focus-visible,
.download-button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(7, 95, 216, 0.22);
  outline-offset: 2px;
}

.file-links {
  display: inline-flex;
  gap: 8px;
}

.file-links a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  border: 1px solid #b6cdf4;
  border-radius: 4px;
}

.blog-card {
  max-width: 720px;
  min-height: 260px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.blog-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.blog-card h2 {
  margin: 10px 0;
  color: var(--ink);
  font-size: 26px;
  font-weight: 850;
  line-height: 1.2;
}

.blog-card p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline article {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.timeline time {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.timeline h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 850;
  line-height: 1.2;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: minmax(190px, auto) minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 60px;
    padding: 0 22px;
  }

  .brand {
    font-size: 21px;
  }

  .site-nav {
    grid-column: auto;
    order: initial;
    justify-content: center;
    min-height: 60px;
    overflow-x: visible;
  }

  .site-nav a {
    padding: 0 8px;
    font-size: 13px;
  }

  .download-button {
    gap: 7px;
    min-height: 36px;
    padding: 0 11px;
    font-size: 13px;
  }

  .download-button svg {
    width: 17px;
    height: 17px;
  }

  .risk-hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  }

  .risk-main {
    padding: 24px 30px 24px;
  }

  .risk-main h1 {
    font-size: 36px;
    line-height: 1.08;
  }

  .risk-copy {
    max-width: 680px;
    margin: 10px 0 18px;
    font-size: 16px;
    line-height: 1.48;
  }

  .risk-summary-row {
    grid-template-columns: minmax(165px, 0.42fr) minmax(220px, 1fr);
    gap: 18px;
    margin-bottom: 16px;
  }

  .risk-score strong {
    font-size: 56px;
  }

  .risk-state strong {
    font-size: 30px;
  }

  .risk-scale {
    max-width: 700px;
  }

  .meter {
    margin-bottom: 10px;
    padding-top: 12px;
  }

  .meter-track {
    height: 12px;
  }

  .risk-side {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 28px;
    border-top: 0;
    border-left: 1px solid var(--rule);
  }

  .risk-freshness strong {
    font-size: 20px;
  }

  .risk-updates {
    padding-top: 16px;
    border-top: 1px solid var(--rule);
  }

  .risk-updates ul {
    gap: 6px;
    font-size: 13px;
    line-height: 1.35;
  }

  .key-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    align-items: stretch;
  }

  .key-chart-grid {
    display: contents;
  }

  .key-grid .regime-card {
    height: 100%;
  }

  .pillar-grid,
  .chart-grid,
  .key-chart-grid,
  .download-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .method-panels article:nth-child(2) {
    border-right: 0;
  }

  .method-panels article:nth-child(3),
  .method-panels article:nth-child(4) {
    border-top: 1px solid var(--rule);
  }
}

@media (max-width: 960px) {
  .signal-table {
    min-width: 0;
  }

  .signal-table thead {
    display: none;
  }

  .signal-table tbody,
  .signal-table tr,
  .signal-table th,
  .signal-table td {
    display: block;
  }

  .signal-table tr {
    padding: 14px 16px;
    border-bottom: 1px solid var(--rule);
  }

  .signal-table tr:last-child {
    border-bottom: 0;
  }

  .signal-table tbody th,
  .signal-table td {
    width: 100%;
    padding: 0;
    border-bottom: 0;
    white-space: normal;
  }

  .signal-table tbody th {
    margin-bottom: 12px;
  }

  .signal-table td {
    display: grid;
    grid-template-columns: minmax(80px, 0.42fr) minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    margin-top: 10px;
  }

  .signal-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
  }

  .range-cell {
    grid-template-columns: minmax(40px, auto) minmax(0, 1fr) minmax(40px, auto);
    gap: 6px;
    min-width: 0;
  }

  .trend-spark {
    width: 86px;
    max-width: 100%;
    justify-self: start;
  }
}

@media (max-width: 880px) {
  .risk-hero {
    grid-template-columns: 1fr;
  }

  .risk-side {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .risk-updates {
    padding-top: 0;
    border-top: 0;
  }
}

@media (max-width: 820px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    font-size: 14px;
    background: var(--page);
  }

  .site-header {
    position: static;
    grid-template-columns: 1fr;
    padding: 14px 18px 0;
  }

  .brand {
    order: 1;
    font-size: 23px;
  }

  .site-nav {
    grid-column: 1;
    order: 3;
    justify-content: start;
    min-height: 46px;
    margin: 0 -18px;
    padding: 0 18px;
    overflow-x: auto;
  }

  .site-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .download-button {
    order: 2;
    width: 100%;
  }

  .page-shell {
    width: 100%;
    max-width: 100%;
    padding: 18px 16px 28px;
  }

  .risk-main,
  .risk-side {
    padding: 24px 20px;
  }

  .risk-main h1,
  .page-intro h1 {
    font-size: 34px;
  }

  .risk-copy,
  .page-intro p {
    font-size: 16px;
  }

  .risk-summary-row,
  .risk-side,
  .pillar-grid,
  .chart-grid,
  .key-grid,
  .key-chart-grid,
  .bottom-grid,
  .method-panels,
  .download-strip,
  .source-list {
    grid-template-columns: 1fr;
  }

  .key-grid {
    grid-auto-rows: auto;
    align-items: start;
  }

  .key-chart-grid {
    display: grid;
  }

  .key-grid .regime-card {
    height: auto;
  }

  .risk-updates {
    padding-top: 20px;
    border-top: 1px solid var(--rule);
  }

  .risk-score strong {
    font-size: 58px;
  }

  .meter {
    margin-right: 2px;
    margin-left: 2px;
  }

  .meter-labels {
    gap: 8px;
  }

  .section-heading,
  .toolbar-row,
  .dashboard-toolbar,
  .catalog-toolbar,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .toolbar-row,
  .dashboard-toolbar {
    display: grid;
  }

  .toolbar-actions {
    display: grid;
    min-width: 0;
  }

  .segmented-control {
    width: 100%;
  }

  .segmented-control button {
    flex: 1;
    min-width: 0;
  }

  .method-panels article,
  .method-panels article:nth-child(2),
  .method-panels article:nth-child(3),
  .method-panels article:nth-child(4) {
    border-top: 1px solid var(--rule);
    border-right: 0;
  }

  .method-panels article:first-child {
    border-top: 0;
  }

  .filter-row {
    display: grid;
  }

  .filter-row input,
  .filter-row select {
    width: 100%;
    min-width: 0;
  }

  .timeline article {
    grid-template-columns: 1fr;
  }

  .chart-svg {
    height: 225px;
  }

  .chart-head {
    gap: 8px;
  }

  .chart-latest strong {
    font-size: 14px;
  }

  .chart-foot {
    display: grid;
  }

  .chart-foot span:last-child {
    text-align: left;
    white-space: normal;
  }

  .regime-map {
    height: 250px;
    margin-left: 36px;
  }
}

@media (max-width: 430px) {
  .site-header {
    padding-right: 14px;
    padding-left: 14px;
  }

  .site-nav {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .site-nav a {
    flex: 1 1 auto;
    justify-content: center;
    min-height: 38px;
    padding: 0 9px;
    font-size: 13px;
  }

  .risk-main,
  .risk-side {
    padding-right: 16px;
    padding-left: 16px;
  }

  .risk-main h1,
  .page-intro h1 {
    font-size: 31px;
  }

  .risk-score strong {
    font-size: 50px;
  }

  .risk-score small {
    font-size: 20px;
  }

  .regime-card {
    padding-right: 16px;
    padding-left: 16px;
  }

  .regime-map {
    height: 230px;
    margin-left: 32px;
  }

  .axis-x,
  .axis-y {
    font-size: 10px;
  }

  .axis-y {
    left: -70px;
  }

  .meter-labels strong {
    font-size: 13px;
  }

  .quad {
    padding: 8px 7px;
    font-size: 9.5px;
    line-height: 1.12;
  }

  .quad span {
    display: none;
  }

  .current-dot span {
    top: -42px;
    left: -30px;
    min-width: 62px;
    padding: 3px 5px;
    font-size: 10px;
    line-height: 1.05;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
