:root {
  --ink: #10234f;
  --ink-2: #183b78;
  --paper: #eef4fc;
  --card: #ffffff;
  --line: #dbe5f4;
  --muted: #6a7891;
  --quiet: #8d9bb0;
  --blue: #2864dc;
  --blue-bright: #408cf5;
  --blue-soft: #e8f0fb;
  --rail: 244px;
  --content-max: 1560px;
  --topbar-height: 58px;
  --suite-sticky-top: var(--topbar-height);
  --suite-top-gap: 18px;
  --suite-card-height: 78px;
  --suite-bottom-clearance: 14px;
  --serif: "Songti SC", "Source Han Serif SC", "Noto Serif CJK SC", Georgia, serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid #4a8df4; outline-offset: 3px; }

/* Left navigation: aligned with h2-recovery-monitor */
.rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  display: flex;
  width: var(--rail);
  flex-direction: column;
  padding: 30px 22px;
  overflow-y: auto;
  color: var(--ink);
  background: #fff;
  border-right: 1px solid #dce6f5;
  box-shadow: 10px 0 32px rgba(38, 79, 145, 0.12);
}
.brand {
  display: grid;
  justify-items: start;
  gap: 16px;
  padding: 0 4px 30px;
  border-bottom: 1px solid #e1e9f6;
}
.brand img {
  display: block;
  width: 188px;
  height: auto;
  object-fit: contain;
}
.brand b,
.brand small {
  display: block;
}
.brand b {
  color: #1454a9;
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.08em;
}
.brand small {
  margin-top: 4px;
  color: #8190aa;
  font-size: 9px;
  letter-spacing: 0.18em;
}
.rail-label {
  margin: 28px 10px 10px;
  color: #9aa7bb;
  font-size: 10px;
  letter-spacing: 0.18em;
}
.rail-nav {
  display: grid;
  gap: 8px;
}
.nav-link {
  display: flex;
  min-height: 50px;
  gap: 14px;
  align-items: center;
  padding: 0 15px;
  border-radius: 12px;
  color: #273957;
  font-size: 13px;
  font-weight: 600;
  transition: 180ms ease;
}
.nav-index {
  color: #8493aa;
  font: 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
}
.nav-link:hover {
  color: #174eaa;
  background: #eff5ff;
}
.nav-link.active {
  color: #fff;
  background: linear-gradient(118deg, #2855d6, #408cf5);
  box-shadow: 0 12px 28px rgba(40, 95, 213, 0.24);
}
.nav-link.active .nav-index { color: #dfeaff; }
.rail-status {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-top: auto;
  padding: 15px 12px;
  border: 1px solid #dfe8f5;
  border-radius: 12px;
  background: #f6f9fe;
}
.rail-status b,
.rail-status small { display: block; }
.rail-status b { font-size: 12px; }
.rail-status small {
  margin-top: 4px;
  color: #8090a8;
  font-size: 10px;
}
.pulse {
  position: relative;
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4ec69a;
  box-shadow: 0 0 0 5px rgba(78, 198, 154, 0.1);
}
.pulse::after {
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(78, 198, 154, 0.44);
  border-radius: 50%;
  content: "";
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70%, 100% { opacity: 0; transform: scale(1.8); }
}
.rail-foot {
  padding: 15px 6px 0;
  color: #8a98ad;
  font-size: 9px;
}
.mobile-menu-toggle { display: none; }

.main {
  min-width: 0;
  min-height: 100vh;
  margin-left: var(--rail);
  background: var(--paper);
}

/* Header and future top-level monitors */
.topbar {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  height: var(--topbar-height);
  align-items: center;
  justify-content: space-between;
  padding: 0 4.4vw;
  border-bottom: 1px solid #dce6f5;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 3px 18px rgba(39, 79, 144, 0.06);
  backdrop-filter: blur(10px);
}
.breadcrumbs {
  color: #354563;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.breadcrumbs span {
  margin: 0 8px;
  color: #2a67d9;
}
.freshness {
  display: grid;
  gap: 3px;
  color: var(--muted);
  font-size: 9px;
  text-align: right;
}
.freshness time { color: #8c979f; }

.monitor-suite {
  position: sticky;
  top: var(--suite-sticky-top);
  z-index: 18;
  display: grid;
  width: min(calc(100% - 4.4vw), var(--content-max));
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 14px;
  margin: 0 auto;
  padding-top: var(--suite-top-gap);
  border-radius: 0 0 18px 18px;
  background: rgba(238, 244, 252, 0.94);
  box-shadow: 0 18px 26px -26px rgba(20, 55, 110, 0.72);
  backdrop-filter: blur(14px) saturate(1.08);
}
.suite-heading,
.suite-grid {
  min-width: 0;
  border: 1px solid #d9e5f6;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(36, 78, 139, 0.06);
}
.suite-heading {
  display: grid;
  align-content: center;
  padding: 16px 20px;
  background: linear-gradient(135deg, #f9fbff, #eaf3ff);
}
.suite-heading span {
  color: #3775df;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.suite-heading strong {
  margin-top: 6px;
  color: #17366e;
  font: 600 18px/1.2 var(--serif);
}
.suite-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: #dfe8f5;
}
.suite-item {
  position: relative;
  display: grid;
  min-height: 78px;
  align-content: center;
  padding: 12px 18px;
  background: #fff;
}
.suite-item small,
.suite-item b,
.suite-item span { display: block; }
.suite-item small {
  color: #91a0b6;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.13em;
}
.suite-item b {
  margin-top: 2px;
  color: #1b3970;
  font: 600 20px/1.25 var(--serif);
}
.suite-item span {
  margin-top: 2px;
  color: #8795aa;
  font-size: 8px;
  letter-spacing: 0.08em;
}
.suite-item.is-active {
  color: #fff;
  background: linear-gradient(118deg, #2855d6, #408cf5);
}
.suite-item.is-active small,
.suite-item.is-active span { color: #dceaff; }
.suite-item.is-active b { color: #fff; }
.suite-item.is-active::after {
  position: absolute;
  top: 50%;
  right: 18px;
  color: rgba(255, 255, 255, 0.78);
  content: "→";
  transform: translateY(-50%);
}
.suite-item.is-reserved {
  background:
    repeating-linear-gradient(135deg, transparent 0 8px, rgba(47, 96, 173, 0.018) 8px 16px),
    #fbfdff;
}

/* H2-style overview */
.hero {
  position: relative;
  display: grid;
  width: min(calc(100% - 4.4vw), var(--content-max));
  min-height: 350px;
  grid-template-columns: minmax(340px, 0.9fr) minmax(460px, 1.1fr);
  gap: 5vw;
  align-items: center;
  margin: 18px auto 0;
  padding: 32px 3.2vw 30px;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background:
    linear-gradient(104deg, rgba(7, 26, 71, 0.95) 0%, rgba(18, 50, 110, 0.91) 57%, rgba(23, 73, 150, 0.84) 100%),
    var(--hero-background-image) center 48% / cover no-repeat;
  box-shadow: 0 22px 50px rgba(22, 62, 127, 0.16);
}
.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, rgba(6, 21, 54, 0.64) 0%, transparent 56%, rgba(93, 164, 255, 0.17) 100%);
  backdrop-filter: blur(1.5px);
}
.hero::after {
  position: absolute;
  top: -230px;
  right: -140px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(114, 168, 255, 0.19);
  border-radius: 50%;
  box-shadow:
    0 0 0 75px rgba(118, 170, 255, 0.04),
    0 0 0 150px rgba(139, 186, 255, 0.03);
  content: "";
}
.hero-copy,
.signal-grid {
  position: relative;
  z-index: 1;
}
.eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #b7cfff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
}
.eyebrow span {
  width: 32px;
  height: 2px;
  background: #5fa8ff;
}
.hero h1 {
  margin: 18px 0 12px;
  font: 500 clamp(42px, 3.7vw, 56px)/1.05 var(--serif);
  letter-spacing: -0.04em;
}
.hero h1 em {
  color: #74b4ff;
  font-style: normal;
}
.hero-copy > p {
  max-width: 560px;
  margin: 0;
  color: #c5d4ee;
  font-size: 14px;
  line-height: 1.9;
}
.hero-meta {
  display: flex;
  gap: 32px;
  margin-top: 22px;
  padding-top: 15px;
  border-top: 1px solid rgba(219, 232, 255, 0.17);
}
.hero-meta div { display: grid; }
.hero-meta b {
  font: 600 24px/1 var(--serif);
  white-space: nowrap;
}
.hero-meta span {
  margin-top: 8px;
  color: #9fb3d4;
  font-size: 9px;
}
.signal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.signal {
  display: flex;
  min-height: 125px;
  flex-direction: column;
  padding: 17px 20px;
  border: 1px solid rgba(169, 199, 255, 0.13);
  border-top: 3px solid #5aa2ff;
  border-radius: 14px;
  background: rgba(12, 38, 91, 0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  transition: 200ms ease;
}
.signal:hover {
  background: #123b7d;
  box-shadow: 0 12px 28px rgba(6, 22, 55, 0.4);
  transform: translateY(-3px);
}
.signal small {
  color: #9bb7e7;
  font-size: 8px;
  letter-spacing: 0.12em;
}
.signal strong {
  margin-top: 10px;
  font: 500 29px/1 var(--serif);
}
.signal span {
  margin-top: 8px;
  font-size: 11px;
}
.signal i {
  margin-top: auto;
  color: #9bb7e7;
  font-size: 9px;
  font-style: normal;
}
.signal-grid--dense .signal {
  min-height: 96px;
  padding: 13px 18px;
}
.signal-grid--dense .signal strong {
  margin-top: 7px;
  font-size: 25px;
}
.signal-grid--dense .signal span {
  margin-top: 6px;
  font-size: 10px;
}
.signal-b { border-top-color: #82b9ff; }
.signal-c { border-top-color: #4b86e6; }
.signal-d { border-top-color: #b1d3ff; }
.signal-e { border-top-color: #65a7ff; }
.signal-f { border-top-color: #9bc8ff; }

/* About panel retained from h2 monitor */
.about-page {
  position: relative;
  display: grid;
  width: min(calc(100% - 4.4vw), var(--content-max));
  grid-template-columns: minmax(240px, 0.56fr) minmax(420px, 1.44fr) auto;
  gap: 28px;
  align-items: center;
  margin: 18px auto 0;
  padding: 24px 26px;
  overflow: hidden;
  border: 1px solid #d8e4f4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(36, 78, 139, 0.06);
}
.about-page::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(#2668d9, #66b6ff);
  content: "";
}
.about-page__heading h2 {
  margin: 0;
  color: #1d64c8;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0.04em;
}
.about-page__heading h2 span {
  margin: 0 5px;
  color: #9badc8;
}
.about-page__heading small {
  display: block;
  margin-top: 7px;
  color: #8b98aa;
  font-size: 9px;
  letter-spacing: 0.08em;
}
.about-page p {
  margin: 0;
  color: #586983;
  font-size: 12px;
  line-height: 1.85;
}
.about-page__action {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid #b8d2f6;
  border-radius: 999px;
  color: #1c62c5;
  background: #f4f9ff;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  transition: 180ms ease;
}
.about-page__action:hover {
  color: #fff;
  border-color: #276bd7;
  background: #276bd7;
  transform: translateY(-1px);
}

/* Data modules */
.section-anchor {
  scroll-margin-top: calc(
    var(--suite-sticky-top) +
    var(--suite-top-gap) +
    var(--suite-card-height) +
    var(--suite-bottom-clearance)
  );
}
.module-section {
  padding: 68px 2.2vw;
}
.module-section:nth-child(even) { background: #e8f0fb; }
.section-head {
  display: flex;
  width: min(100%, var(--content-max));
  gap: 40px;
  align-items: end;
  justify-content: space-between;
  margin: 0 auto 28px;
}
.eyebrow.dark { color: #3270d7; }
.eyebrow.dark span { background: #3270d7; }
.section-head h2 {
  margin: 13px 0 0;
  color: #112c60;
  font: 500 clamp(27px, 3vw, 42px)/1.2 var(--serif);
}
.section-head > p {
  margin: 0;
  color: var(--muted);
  font: 10px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.08em;
}
.module-intro {
  display: grid;
  width: min(100%, var(--content-max));
  grid-template-columns: 150px 1fr auto;
  gap: 28px;
  align-items: center;
  margin: 0 auto 22px;
  padding: 22px 26px;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(110deg, #10285b, #1d54a6);
  box-shadow: 0 12px 25px rgba(32, 75, 137, 0.13);
}
.module-number {
  color: #bbd2f6;
  font: 10px ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.13em;
}
.module-thesis {
  font: 500 19px/1.5 var(--serif);
}
.module-proof {
  padding: 8px 12px;
  border: 1px solid rgba(185, 213, 255, 0.22);
  border-radius: 999px;
  color: #bbd2f6;
  font-size: 10px;
  font-style: normal;
}
.chart-group {
  width: min(100%, var(--content-max));
  margin: 30px auto 0;
}
.module-subhead {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
  margin: 30px 0 14px;
  padding: 15px 18px;
  border-left: 4px solid #1e62b6;
  background: linear-gradient(90deg, #edf5ff 0%, #f8fbff 70%, transparent 100%);
}
.module-subhead span {
  color: #3974bc;
  font: 700 9px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.12em;
}
.module-subhead h3 {
  margin: 0;
  color: #153c75;
  font: 600 18px/1.45 var(--serif);
}
.chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.module-section > .chart-grid {
  width: min(100%, var(--content-max));
  margin-right: auto;
  margin-left: auto;
}

/* Seasonal chart cards */
.chart-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d9e4f3;
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 10px 28px rgba(23, 61, 123, 0.07);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.chart-card--wide {
  grid-column: 1 / -1;
}
.chart-card:hover {
  border-color: #b8ceed;
  box-shadow: 0 14px 36px rgba(23, 61, 123, 0.11);
  transform: translateY(-2px);
}
.chart-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 20px 22px 8px;
}
.chart-title {
  margin: 0;
  color: #142f62;
  font: 600 18px/1.32 var(--serif);
}
.unit-badge {
  max-width: 132px;
  padding: 3px 8px;
  border: 1px solid #d4e0f1;
  border-radius: 7px;
  color: #71819a;
  background: #f5f8fd;
  font-size: 8px;
  font-style: normal;
  line-height: 1.5;
  text-align: right;
}
.chart-legend {
  display: flex;
  min-height: 31px;
  flex-wrap: wrap;
  gap: 7px 14px;
  align-items: center;
  padding: 0 22px 4px;
}
.legend-item {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: #687993;
  font-size: 9px;
  white-space: nowrap;
}
.legend-swatch {
  display: block;
  width: 24px;
  height: 8px;
  overflow: visible;
}
.legend-marker {
  width: 6px;
  height: 6px;
  margin-left: -18px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--series);
  transform: rotate(45deg);
}
.legend-marker--circle { transform: none; }
.legend-marker--square { border-radius: 0; }
.chart-plot {
  position: relative;
  min-height: 0;
  padding: 2px 14px 0 8px;
  touch-action: pan-y;
}
.chart-plot > svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.grid,
.month-grid {
  stroke: #e4ebf6;
  stroke-width: 1;
  shape-rendering: crispEdges;
}
.month-grid { stroke: #edf2f8; }
.zero {
  stroke: #93a8c7;
  stroke-width: 1;
  stroke-dasharray: 4 4;
}
.axis-label,
.month-label {
  fill: #8090a8;
  font: 9px var(--sans);
}
.axis-label--left { text-anchor: end; }
.axis-label--right {
  text-anchor: start;
  fill: #2c69a9;
  font-weight: 700;
}
.month-label { text-anchor: middle; }
.right-axis-line {
  stroke: #87a5ca;
  stroke-width: 1;
  shape-rendering: crispEdges;
}
.right-axis-title {
  fill: #2c69a9;
  font: 700 8px var(--sans);
  text-anchor: end;
}
.series-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.seasonal-bar { opacity: 0.32; }
.seasonal-bar--right { opacity: 0.46; }
.right-zero {
  stroke: #5e83b6;
  stroke-width: 1.15;
}
.series-marker { vector-effect: non-scaling-stroke; }
.hover-line {
  stroke: #44618c;
  stroke-width: 1;
  stroke-dasharray: 3 3;
  pointer-events: none;
}
.hover-layer { cursor: crosshair; }
.chart-tooltip {
  position: absolute;
  z-index: 3;
  display: none;
  min-width: 205px;
  max-width: 265px;
  padding: 11px 13px;
  border: 1px solid rgba(145, 184, 255, 0.24);
  border-radius: 10px;
  color: #fff;
  background: rgba(16, 42, 90, 0.95);
  box-shadow: 0 8px 25px rgba(9, 31, 70, 0.25);
  font-size: 10px;
  line-height: 1.55;
  pointer-events: none;
}
.chart-tooltip:not([hidden]) { display: block; }
.chart-tip-head {
  display: flex;
  gap: 18px;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 7px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}
.chart-tip time {
  display: block;
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
}
.chart-tip-head small {
  color: #9eb6dd;
  font-size: 8px;
  white-space: nowrap;
}
.chart-tip-rows > span {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  gap: 6px;
  align-items: center;
  margin-top: 4px;
}
.chart-tip-rows > span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--series);
}
.chart-tip-rows > span b {
  overflow: hidden;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chart-tip-rows > span strong {
  margin-left: 7px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-weight: 700;
  white-space: nowrap;
}
.chart-tip-rows > span.is-missing { opacity: 0.48; }
.chart-tip-foot {
  overflow: hidden;
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: #819bc5;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chart-card-foot {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 10px 22px 13px;
  border-top: 1px solid #e4ebf5;
  color: #8b99ad;
  font-size: 8px;
}
.chart-source {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chart-update {
  flex: none;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
.empty-chart {
  display: grid;
  min-height: 220px;
  place-items: center;
  color: var(--quiet);
}
.data-load-error {
  max-width: 760px;
  margin: 40px auto;
  padding: 22px;
  border: 1px solid #efb7b0;
  border-radius: 14px;
  color: #8f2f25;
  background: #fff5f3;
}
.data-load-error strong,
.data-load-error span { display: block; }
.data-load-error span { margin-top: 8px; font-size: 12px; }

.page-footer {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 25px 4.4vw;
  color: #a9bde0;
  background: #0c2452;
  font-size: 9px;
  letter-spacing: 0.08em;
}

@media (max-width: 1180px) {
  :root { --rail: 205px; }
  .brand img { width: 160px; }
  .monitor-suite { grid-template-columns: 160px minmax(0, 1fr); }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 50px;
  }
  .hero-copy { max-width: 760px; }
  .signal-grid { max-width: 800px; }
  .chart-grid { grid-template-columns: 1fr; }
  .about-page {
    grid-template-columns: minmax(210px, 0.55fr) minmax(0, 1.45fr);
    gap: 18px 24px;
  }
  .about-page__action {
    grid-column: 2;
    width: max-content;
  }
}

@media (max-width: 760px) {
  :root {
    --rail: 0px;
    --suite-top-gap: 12px;
    --suite-card-height: 68px;
    --suite-bottom-clearance: 12px;
  }
  .rail {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    width: 100%;
    height: auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid #dce6f5;
    box-shadow: 0 6px 22px rgba(38, 79, 145, 0.09);
  }
  .brand {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 0;
    border: 0;
  }
  .brand img { width: 156px; }
  .brand span {
    padding-left: 12px;
    border-left: 1px solid #dce6f5;
  }
  .brand b { font-size: 14px; }
  .brand small { font-size: 7px; }
  .rail-label,
  .rail-status,
  .rail-foot { display: none; }
  .mobile-menu-toggle {
    position: relative;
    z-index: 22;
    display: grid;
    width: 42px;
    height: 42px;
    align-content: center;
    gap: 5px;
    padding: 10px;
    border: 0;
    border-radius: 10px;
    color: #12356c;
    background: #f1f6fd;
    cursor: pointer;
  }
  .mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: 180ms ease;
  }
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .rail .rail-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 12px;
    left: auto;
    display: grid;
    width: min(270px, calc(100vw - 24px));
    gap: 4px;
    padding: 10px;
    visibility: hidden;
    opacity: 0;
    border: 1px solid #d8e4f4;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(23, 61, 123, 0.2);
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    transition: 180ms ease;
  }
  .rail .rail-nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
  .rail .rail-nav a {
    min-height: 44px;
    border-radius: 9px;
  }
  .main { margin-left: 0; }
  .topbar { display: none; }
  .monitor-suite {
    width: auto;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 0 12px;
    padding-top: var(--suite-top-gap);
    border-radius: 0 0 14px 14px;
  }
  .suite-heading { display: none; }
  .suite-grid { grid-template-columns: repeat(4, minmax(105px, 1fr)); overflow-x: auto; }
  .suite-item { min-height: 68px; padding: 10px 13px; }
  .suite-item.is-active::after { display: none; }
  .hero {
    width: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    margin: 12px;
    padding: 30px 22px 24px;
    border-radius: 18px;
    background-position: 43% center;
  }
  .hero h1 { margin: 20px 0 14px; font-size: 38px; }
  .hero-copy > p { font-size: 12px; line-height: 1.75; }
  .hero-meta {
    gap: 20px;
    margin-top: 24px;
    padding-top: 18px;
  }
  .hero-meta b { font-size: 20px; }
  .signal-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .signal { min-height: 112px; padding: 15px; }
  .signal strong { margin-top: 10px; font-size: 25px; }
  .signal span { margin-top: 8px; font-size: 10px; }
  .signal i { font-size: 8px; }
  .about-page {
    width: auto;
    grid-template-columns: 1fr;
    gap: 13px;
    margin: 12px;
    padding: 20px 20px 18px;
  }
  .about-page__heading {
    display: flex;
    gap: 14px;
    align-items: start;
    justify-content: space-between;
  }
  .about-page__heading small {
    margin: 1px 0 0;
    white-space: nowrap;
  }
  .about-page p { font-size: 12px; line-height: 1.9; }
  .about-page__action {
    grid-column: auto;
    width: max-content;
  }
  .module-section { padding: 54px 16px; }
  .section-head {
    display: block;
    margin-bottom: 22px;
  }
  .section-head > p { margin-top: 12px; }
  .module-intro {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .module-proof { width: max-content; }
  .module-subhead {
    grid-template-columns: 1fr;
    gap: 5px;
    margin-top: 24px;
    padding: 13px 14px;
  }
  .module-subhead h3 { font-size: 15px; }
  .chart-grid { grid-template-columns: 1fr; gap: 14px; }
  .chart-card-head { padding: 18px 15px 7px; }
  .chart-title { font-size: 16px; }
  .chart-legend { gap: 6px 11px; padding-inline: 15px; }
  .chart-plot { padding-inline: 1px 7px; }
  .chart-card-foot { padding-inline: 15px; }
  .page-footer {
    display: grid;
    gap: 10px;
    padding-inline: 18px;
  }
}

@media (max-width: 430px) {
  .brand img { width: 140px; }
  .brand span { display: none; }
  .suite-grid { grid-template-columns: repeat(4, 92px); }
  .suite-item b { font-size: 17px; }
  .hero h1 { font-size: 35px; }
  .hero .eyebrow { font-size: 8px; letter-spacing: 0.14em; }
  .hero-meta { gap: 13px; }
  .hero-meta b { font-size: 17px; }
  .hero-meta span { font-size: 8px; }
  .signal { min-height: 105px; }
  .signal small { font-size: 7px; }
  .signal strong { font-size: 23px; }
  .signal span { font-size: 9px; }
  .unit-badge { max-width: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse::after { animation: none; }
  .signal,
  .chart-card,
  .about-page__action,
  .nav-link { transition: none; }
}
