:root {
  --index-page: #fcfcfc;
  --index-surface: #ffffff;
  --index-surface-subtle: #f5f7fb;
  --index-text: #1a1a1a;
  --index-text-muted: #6b7780;
  --index-text-soft: #8b959c;
  --index-blue: #0c26ff;
  --index-blue-hover: #267fff;
  --index-navy: #0e1b3d;
  --index-navy-secondary: #172b66;
  --index-positive: #37a4af;
  --index-negative: #c84a35;
  --index-orange: #ffb000;
  --index-border: #eaeceb;
  --index-border-blue: #e5eaf5;
  --index-control-border: #dce0e3;
  --index-font: "Helvetica Neue", Arial, Helvetica, sans-serif;
  --index-content-width: 1360px;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--index-page);
  color: var(--index-text);
  font-family: var(--index-font);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--index-blue);
  text-decoration: none;
  border-bottom: 0;
}

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

.page-shell {
  min-width: 0;
  background: var(--index-page);
}

.site-header {
  background: var(--index-surface);
  border-bottom: 1px solid var(--index-border);
}

.site-header-main {
  max-width: var(--index-content-width);
  margin: 0 auto;
  padding: 18px 40px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
}

.brand-lockup {
  height: 34px;
  width: auto;
  display: block;
}

.header-emphasis {
  color: #111;
  font-weight: 700;
}

.series-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--index-text-muted);
  font: 700 12px/1.4 var(--index-font);
  cursor: pointer;
  white-space: nowrap;
}

.series-link:hover {
  color: var(--index-text);
}

.series-link.utility-link {
  padding: 7px 9px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.series-link.utility-link:hover,
.series-link.utility-link:focus-visible {
  background: var(--index-surface-subtle);
  color: var(--index-text-muted);
}

.header-dates {
  text-align: right;
  font-size: 11.5px;
  color: var(--index-text-muted);
  line-height: 1.6;
}

.primary-nav-wrap {
  border-top: 1px solid #f0f2f3;
  background: var(--index-surface);
}

.primary-nav {
  max-width: var(--index-content-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-series {
  margin-left: auto;
  flex: none;
  display: flex;
  align-items: center;
  gap: 20px;
}

.primary-nav::-webkit-scrollbar {
  display: none;
}

.powered-label {
  font-size: 12px;
  color: var(--index-text-muted);
  white-space: nowrap;
}

.powered-label .series-link {
  margin-left: 2px;
}

.page-wrap {
  max-width: var(--index-content-width);
  margin: 0 auto;
  padding: 40px 40px 80px;
}

.index-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 20px;
}

.index-intro-inner {
  width: 100%;
}

.index-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--index-text-muted);
  margin-bottom: 8px;
}

.index-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-bottom: 8px;
}

.index-title {
  margin: 0;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.beta-badge {
  flex: none;
  padding: 4px 8px 3px;
  border: 1px solid #b9c7dc;
  background: #eef2f8;
  color: var(--index-navy);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.09em;
}

.index-deck {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #3d4750;
  text-wrap: pretty;
}

.index-inline-link {
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
}

.hero-metrics {
  background: var(--index-navy);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  margin-bottom: 0;
}

.hero-main {
  padding: 28px 34px;
}

.hero-pair {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-number {
  font-size: 110px;
  line-height: 0.86;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}

.hero-arrow {
  font-size: 34px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.35);
  padding-bottom: 15px;
}

.hero-spread {
  margin-left: auto;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 28px;
  padding-bottom: 2px;
}

.hero-meta {
  background: rgba(255, 255, 255, 0.09);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  font-size: 12px;
  line-height: 1.5;
}

.hero-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 10px;
}

.hero-label-forward {
  color: #9ee4ec;
}

.hero-spread-label,
.hero-meta-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
}

.hero-spread-label {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 7px;
}

.hero-spread-number {
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  color: var(--index-orange);
}

.hero-direction {
  font-size: 12.5px;
  font-weight: 700;
  margin-top: 7px;
  color: #fff;
}

.hero-meta-value {
  font-size: 16px;
  font-weight: 700;
}

.hero-meta-detail {
  color: rgba(255, 255, 255, 0.7);
}

.hero-meta-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.share-strip {
  background: var(--index-surface);
  border: 1px solid var(--index-border);
  padding: 13px 18px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.subscribe-panel {
  background: #f4f7fc;
  border: 1px solid #dce3f2;
  border-top: 0;
  padding: 14px 18px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.share-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.share-title {
  font-size: 13px;
  font-weight: 700;
  color: #111;
}

.share-description {
  font-size: 11.5px;
  color: var(--index-text-soft);
  margin-top: 2px;
}

.action-button {
  background: var(--index-surface);
  border: 1px solid var(--index-control-border);
  color: #485c6b;
  padding: 9px 14px;
  font: 700 12px/1 var(--index-font);
  cursor: pointer;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.action-button svg {
  width: 14px;
  height: 14px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.action-button.primary {
  background: var(--index-blue);
  border-color: var(--index-blue);
  color: #fff;
}

.action-button:not(.primary):hover,
.action-button:not(.primary):focus-visible {
  background: var(--index-surface-subtle);
  border: 1px solid var(--index-control-border);
  color: #485c6b;
}

.action-button.primary:hover,
.action-button.primary:focus-visible {
  background: var(--index-blue-hover);
  border: 1px solid var(--index-blue);
  color: #fff;
}

.info-tip {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 5px;
  vertical-align: middle;
}

.info-tip > button {
  width: 17px;
  height: 17px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  padding: 0;
  font: 700 10px/1 var(--index-font);
  cursor: help;
  opacity: 0.8;
}

.info-bubble {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 9px);
  z-index: 20;
  width: 230px;
  transform: translateX(-50%);
  background: #111;
  color: #fff;
  padding: 10px 12px;
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.45;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  text-align: left;
}

.info-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border: 5px solid transparent;
  border-top-color: #111;
}

.info-tip:hover .info-bubble,
.info-tip:focus-within .info-bubble {
  opacity: 1;
  visibility: visible;
}

.short-card .info-bubble {
  left: auto;
  right: -10px;
  transform: none;
}

.short-card .info-bubble::after {
  left: auto;
  right: 13px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 1fr);
  gap: 20px;
  margin-top: 24px;
  margin-bottom: 30px;
}

.history-card {
  background: var(--index-surface);
  border: 1px solid var(--index-border);
  padding: 22px 26px 16px;
  display: flex;
  flex-direction: column;
}

.short-card {
  background: var(--index-surface-subtle);
  color: var(--index-text);
  border: 1px solid var(--index-border-blue);
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.reference-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--index-border);
}

.driver-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  margin-bottom: 2px;
}

.weight-track {
  height: 7px;
  background: var(--index-border);
  margin: 5px 0 16px;
  overflow: hidden;
}

.weight-fill {
  height: 100%;
  background: var(--index-blue);
}

.table-label-mobile {
  display: none;
}

.monthly-reading {
  background: var(--index-surface);
  border: 1px solid var(--index-border);
  padding: 28px 32px 26px;
  margin: 36px 0;
}

.interpretation-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 18px 0 20px;
  max-width: 900px;
}

.interpretation-item {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.interpretation-check {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #e8ecff;
  color: var(--index-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  margin-top: 4px;
}

.closing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  margin-top: 36px;
}

.closing-card {
  background: var(--index-surface);
  border: 1px solid var(--index-border);
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.question-table {
  background: var(--index-surface);
  border: 1px solid var(--index-border);
}

.question-detail {
  background: #fafafa;
  border-top: 1px solid var(--index-border);
  padding: 26px 26px 26px 236px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 44px;
}

.method-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.methodology-intro {
  max-width: 820px;
  margin-bottom: 44px;
}

.page-title {
  margin: 0 0 14px;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-intro {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #3d4750;
  text-wrap: pretty;
}

.ai-disclosure {
  margin-top: 24px;
  background: var(--index-surface-subtle);
  border: 1px solid var(--index-border-blue);
  padding: 20px 22px;
}

.ai-disclosure-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--index-blue);
  margin-bottom: 9px;
}

.ai-disclosure-copy {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--index-text);
  text-wrap: pretty;
}

.ai-disclosure-copy:last-child {
  margin-bottom: 0;
  color: #3d4750;
}

.methodology-contents {
  position: sticky;
  top: 20px;
  font-size: 13px;
  line-height: 2.1;
}

.methodology-contents-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--index-text-soft);
  margin-bottom: 8px;
}

.methodology-contents-links {
  display: flex;
  flex-direction: column;
}

.methodology-body {
  max-width: 820px;
}

.methodology-section-title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.methodology-section-copy {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.7;
  color: #3d4750;
  text-wrap: pretty;
}

.movement-table {
  border: 1px solid var(--index-border);
  background: var(--index-surface);
  margin-bottom: 48px;
}

.movement-row {
  display: grid;
  grid-template-columns: 130px 8px minmax(0, 1fr);
  align-items: stretch;
  border-bottom: 1px solid var(--index-border-soft);
}

.movement-row:last-child {
  border-bottom: 0;
}

.movement-range {
  padding: 14px 20px;
  align-self: center;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.movement-row > div:last-child {
  padding: 12px 20px;
  align-self: center;
  font-size: 14px;
  line-height: 1.45;
  color: #3d4750;
}

.movement-row strong {
  display: block;
  color: var(--index-text);
}

.movement-row span {
  display: block;
  font-size: 12.5px;
  color: var(--index-text-muted);
}

.background-source-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 12.5px;
  font-weight: 700;
}

.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.three-col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.footer-inner {
  max-width: var(--index-content-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.site-footer {
  background: var(--index-navy-secondary);
  color: rgba(255, 255, 255, 0.75);
  padding: 34px 40px;
  font-size: 12px;
  line-height: 1.7;
}

.footer-note {
  max-width: 560px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #bfd0ff;
  border-bottom: 0;
}

.footer-links a:hover {
  color: #fff;
  border-bottom: 0;
}

.footer-powered {
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

/* Permanent edition archive */
.archive-main {
  max-width: 1060px;
  margin: 0 auto;
  padding: 64px 40px 88px;
}

.archive-kicker {
  margin-bottom: 12px;
  color: var(--index-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.archive-title {
  max-width: 820px;
  margin: 0 0 18px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.archive-deck {
  max-width: 760px;
  margin: 0 0 48px;
  color: var(--index-text-muted);
  font-size: 18px;
  line-height: 1.65;
}

.archive-card {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) repeat(3, minmax(100px, 0.55fr)) auto;
  align-items: center;
  gap: 24px;
  padding: 26px 28px;
  border: 1px solid var(--index-border);
  background: var(--index-surface);
}

.archive-card:hover {
  border-color: #cfd6e7;
  box-shadow: 0 8px 28px rgba(14, 27, 61, 0.06);
}

.archive-card-title {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.25;
}

.archive-card-note,
.archive-label {
  color: var(--index-text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.archive-value {
  margin-top: 5px;
  font-size: 25px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.archive-link {
  color: var(--index-blue);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.edition-banner {
  margin-bottom: 36px;
  padding: 14px 18px;
  border-left: 4px solid var(--index-blue);
  background: var(--index-surface-subtle);
  color: var(--index-text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.edition-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 48px;
  border: 1px solid var(--index-border);
  background: var(--index-navy);
  color: #fff;
}

.edition-metric {
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

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

.edition-metric .archive-label {
  color: rgba(255, 255, 255, 0.7);
}

.edition-metric-value {
  margin-top: 7px;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.edition-section {
  margin-top: 52px;
}

.edition-section h2 {
  margin: 0 0 18px;
  font-size: 28px;
  letter-spacing: -0.025em;
}

.edition-prose {
  max-width: 820px;
  color: #3d4750;
  font-size: 16px;
  line-height: 1.7;
}

.edition-prose p {
  margin: 0 0 14px;
}

.edition-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--index-border);
  background: #fff;
}

.edition-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 13px;
}

.edition-table th,
.edition-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--index-border);
  text-align: left;
  vertical-align: top;
}

.edition-table th {
  background: var(--index-surface-subtle);
  color: var(--index-text-muted);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

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

.edition-table .number {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.edition-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 22px;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 760px) {
  .archive-main {
    padding: 42px 20px 64px;
  }

  .archive-card {
    grid-template-columns: 1fr 1fr;
    gap: 22px 16px;
  }

  .archive-card > :first-child,
  .archive-card > :last-child {
    grid-column: 1 / -1;
  }

  .edition-metrics {
    grid-template-columns: 1fr;
  }

  .edition-metric {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .edition-metric:last-child {
    border-bottom: 0;
  }
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(38, 127, 255, 0.4);
  outline-offset: 3px;
}

svg [stroke="#385AAF"] {
  stroke: var(--index-blue);
}

svg [fill="#385AAF"] {
  fill: var(--index-blue);
}

svg [stroke="#37A4AF"] {
  stroke: var(--index-blue-hover);
}

svg [fill="#37A4AF"] {
  fill: var(--index-blue-hover);
}

@media (max-width: 1020px) {
  .hero-metrics {
    grid-template-columns: 1fr 250px;
  }

  .hero-number {
    font-size: 88px;
  }

  .hero-spread {
    margin-left: 0;
  }

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

  .driver-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .question-detail {
    padding: 24px;
    grid-template-columns: 1fr;
  }

  .method-layout {
    grid-template-columns: 1fr;
  }

  .method-layout > div:first-child {
    position: static !important;
    display: none;
  }

  .three-col-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .site-header-main {
    padding: 14px 18px 12px;
    align-items: flex-start;
  }

  .site-header-main img {
    height: 29px !important;
  }

  .site-header-right {
    gap: 0;
  }

  .header-dates {
    display: none;
  }

  .primary-nav {
    padding: 0 8px;
    display: flex;
    flex-wrap: wrap;
  }

  .nav-series {
    order: -1;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding: 7px 3px 0;
  }

  .nav-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    overflow: visible;
  }

  .nav-tabs button {
    margin-right: 0 !important;
    padding: 9px 3px !important;
    font-size: 10.5px !important;
    line-height: 1.15 !important;
    white-space: normal;
  }

  .series-link {
    font-size: 10.5px;
  }

  .page-wrap {
    padding: 28px 18px 56px;
  }

  .index-intro {
    display: block;
  }

  .index-intro h1 {
    font-size: 31px !important;
  }

  .index-intro p {
    font-size: 15px !important;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-main {
    padding: 25px 22px;
  }

  .hero-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 18px 22px;
  }

  .hero-number {
    font-size: 72px;
  }

  .hero-pair {
    gap: 14px;
  }

  .hero-arrow {
    font-size: 22px;
    padding-bottom: 9px;
  }

  .hero-spread {
    width: 100%;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding: 14px 0 0;
    margin-top: 2px;
    display: flex;
    align-items: baseline;
    gap: 12px;
  }

  .info-bubble {
    left: auto;
    right: -10px;
    transform: none;
    width: min(230px, calc(100vw - 52px));
  }

  .info-bubble::after {
    left: auto;
    right: 13px;
  }

  .share-strip {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px;
  }

  .share-actions {
    width: 100%;
  }

  .action-button {
    flex: 1;
    text-align: center;
  }

  .subscribe-panel {
    align-items: stretch;
    flex-direction: column;
    padding: 14px;
  }

  .subscribe-panel input {
    width: auto !important;
  }

  .subscribe-panel .action-button {
    width: 100%;
  }

  .history-card {
    padding: 20px 14px 12px;
  }

  .history-card > div:first-child {
    align-items: flex-start !important;
    flex-direction: column;
  }

  .short-card {
    padding: 25px 22px;
  }

  .reference-grid,
  .closing-grid,
  .two-col-grid,
  .three-col-grid,
  .calc-guide {
    grid-template-columns: 1fr !important;
  }

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

  .reference-grid > div {
    padding: 22px !important;
  }

  .monthly-reading {
    padding: 24px 22px;
  }

  .monthly-reading > div:first-child {
    display: block !important;
  }

  .monthly-reading button {
    display: none;
  }

  .question-table {
    border-left: 0;
    border-right: 0;
  }

  .question-header {
    display: none !important;
  }

  .question-row {
    grid-template-columns: 40px 1fr !important;
    padding: 16px 18px !important;
    gap: 12px 14px;
  }

  .question-row > div {
    display: block !important;
    text-align: left !important;
  }

  .question-row > div:nth-child(1) {
    grid-column: 1;
  }

  .question-row > div:nth-child(2) {
    grid-column: 2;
  }

  .question-row > div:nth-child(n + 3) {
    grid-column: 1 / -1;
  }

  .table-label-mobile {
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #a6afb5;
    margin-bottom: 3px;
  }

  .driver-total {
    display: block !important;
  }

  .driver-total > div {
    margin-top: 8px;
    text-align: left !important;
  }

  .question-detail {
    padding: 20px 18px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .question-detail > * {
    min-width: 0;
  }

  .background-risk-grid {
    grid-template-columns: 1fr !important;
  }

  .movement-row {
    grid-template-columns: 108px 7px minmax(0, 1fr);
  }

  .movement-range,
  .movement-row > div:last-child {
    padding-left: 14px;
    padding-right: 14px;
  }

  .footer-inner {
    display: block;
  }

  .footer-inner > div:last-child {
    margin-top: 18px;
    flex-wrap: wrap;
  }

  .math-table {
    overflow-x: auto;
  }

  .math-table > div {
    min-width: 1060px;
  }
}

@media print {
  .site-header-right,
  .primary-nav-wrap,
  .share-strip,
  .chart-controls,
  .monthly-reading button,
  .footer-inner > div:last-child {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .page-wrap {
    padding: 24px 0;
  }

  .hero-metrics,
  .short-card {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .hero-grid {
    break-before: page;
  }

  .history-card,
  .short-card,
  .reference-section {
    break-inside: avoid;
  }

  .site-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 5px 24px;
    background: #fff;
    color: #6B7780;
    border-top: 1px solid #EAECEB;
    font-size: 8px;
    line-height: 1.4;
  }

  .footer-inner {
    display: block;
  }

  .footer-note {
    max-width: none;
  }

  .driver-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .closing-grid {
    break-before: page;
  }

  .page-shell {
    background: #fff;
  }
}
