.project-detail .page-hero h1 {
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.5;
  text-wrap: balance;
}
.project-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
  margin: 24px 0;
}
.project-facts dt {
  color: var(--muted);
  font-size: 12px;
}
.project-facts dd {
  margin: 5px 0 0;
  color: var(--primary);
  font-size: 15px;
}
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
  margin-top: 20px;
}
.report-toc {
  padding: 24px;
  margin-bottom: 40px;
  border: 1px solid var(--line);
}
.report-toc h2 { margin: 0 0 12px; font-size: 18px; }
.report-toc ol { margin: 0; padding-left: 22px; line-height: 2; }
.report-toc a { color: var(--primary); text-underline-offset: 4px; }
.report-toc p { margin: 12px 0 0; color: var(--muted); font-size: 12px; }
.report-content h2 { scroll-margin-top: 110px; }
.report-content h4 { font-size: 19px; line-height: 1.7; margin: 28px 0 14px; }
.report-page .report-figure { margin: 28px 0 36px; }
.report-figure-scroll {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  background: #fff;
  border: 1px solid var(--line);
}
.report-figure-scroll:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.report-page .article-body .report-chart {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}
.report-page .report-figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.report-references { font-size: 14px; line-height: 1.9; }
.report-references p { overflow-wrap: anywhere; }
.report-page .article-body h2:first-child {
  margin-top: 0;
}
.report-page .article-body .detail-actions a {
  text-decoration: none;
}
.report-page .report-related {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
@media (max-width: 640px) {
  .project-facts {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .report-toc { padding: 20px; }
  .report-content h2 { font-size: 24px; }
  .report-content h3 { font-size: 21px; }
  .report-content h4 { font-size: 18px; }
  .report-page .article-body .report-chart { min-width: 620px; }
  .report-page .article-body .report-chart-wide { min-width: 900px; }
}
