.report-controls {
  display: flex;
  align-items: center;
  gap: 18px;
}

.section-count {
  color: #686868;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.stage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #d0d0d0;
  border-right: 1px solid #d0d0d0;
}

.stage-card {
  min-height: 320px;
  padding: 24px 20px;
  border-bottom: 1px solid #d0d0d0;
  border-left: 1px solid #d0d0d0;
  background: #ffffff;
}

.stage-card.current {
  background: #0a0a0a;
  color: #ffffff;
}

.stage-top {
  display: grid;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid #d0d0d0;
}

.stage-card.current .stage-top {
  border-bottom-color: #444444;
}

.stage-top > span {
  color: #767676;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
}

.stage-top strong {
  min-height: 48px;
  font-family: "Alimama ShuHeiTi", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.25;
}

.stage-top b {
  color: #767676;
  font-size: 12px;
}

.stage-card.current .stage-top b,
.stage-card.current p,
.stage-card.current .stage-metrics span {
  color: #ababab;
}

.stage-card > p {
  min-height: 70px;
  margin: 18px 0;
  color: #5f5f5f;
  font-size: 13px;
  line-height: 1.65;
}

.stage-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 8px;
}

.stage-metrics span {
  color: #767676;
  font-size: 10px;
}

.stage-metrics b {
  display: block;
  margin-bottom: 3px;
  color: inherit;
  font-size: 16px;
}

.stage-card.current .stage-metrics b {
  color: #ffffff;
}

.stage-callout,
.product-rule {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: center;
  margin-top: 16px;
  padding: 28px;
  border: 1px solid #d0d0d0;
  background: #ffffff;
}

.stage-callout > span {
  color: #767676;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.stage-callout p,
.product-rule p {
  margin: 0;
  color: #444444;
  font-size: 14px;
  line-height: 1.8;
}

.product-rule h3 {
  margin: 10px 0 0;
  font-size: 22px;
  line-height: 1.4;
}

.ring {
  cursor: help;
}

.methodology {
  scroll-margin-top: 180px;
}

.source-review {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e2e2e2;
}

.source-review summary {
  color: #767676;
  cursor: pointer;
  font-size: 11px;
  letter-spacing: .06em;
}

.source-review p {
  margin: 10px 0 0;
  color: #666666;
  font-size: 12px;
  line-height: 1.7;
}

.stars.unrated {
  color: #686868;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  letter-spacing: .05em;
}

.chart-card,
.heat-card {
  overflow-x: auto;
}

.column-chart,
.heatmap {
  min-width: 760px;
}

.column-year small {
  display: block;
  margin-top: 3px;
  color: #767676;
  font-size: 8px;
  white-space: nowrap;
}

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

@media (max-width: 760px) {
  .stage-grid {
    grid-template-columns: 1fr;
  }

  .stage-card {
    min-height: auto;
  }

  .stage-card > p,
  .stage-top strong {
    min-height: 0;
  }

  .stage-callout,
  .product-rule {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px;
  }
}

@media (max-width: 640px) {
  .report-controls {
    gap: 10px;
  }

  .section-count {
    font-size: 10px;
  }

  .column-chart,
  .heatmap {
    min-width: 700px;
  }

  .hero h1 {
    overflow-wrap: anywhere;
  }
}
