.report-body {
  min-height: 100%;
  background: var(--surface-raised);
}

.report-site-header {
  background: var(--atlas-deep);
}

.report-main,
.report-archive-main,
.report-error {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: clamp(52px, 7vw, 92px) clamp(20px, 5vw, 64px) clamp(70px, 9vw, 120px);
}

.report-article {
  width: 100%;
}

.report-hero {
  max-width: 850px;
  padding-bottom: clamp(42px, 6vw, 72px);
}

.report-hero h1,
.report-archive-header h1,
.report-error h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6.4vw, 76px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
  text-wrap: balance;
}

.report-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 22px;
  color: var(--quiet-ink);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.report-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.report-badge {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.report-badge-jma { color: #55439e; background: #f0edfb; }
.report-badge-green { color: var(--green); background: #eff9f2; }
.report-badge-orange { color: var(--orange); background: #fbf0e7; }
.report-badge-red { color: var(--red); background: #fcecef; }

.report-dek {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted-ink);
  font-size: clamp(18px, 2.3vw, 24px);
  line-height: 1.5;
}

.report-overview {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(420px, 1.25fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--line);
}

.report-glance,
.report-map-panel {
  min-width: 0;
  background: #f3f5ef;
}

.report-glance {
  padding: 28px;
}

.report-main h2,
.report-archive-card h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.report-glance dl {
  margin: 19px 0 0;
}

.report-fact {
  display: grid;
  grid-template-columns: minmax(110px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.45;
}

.report-fact dt {
  color: var(--quiet-ink);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  text-transform: uppercase;
}

.report-fact dd {
  margin: 0;
  font-weight: 650;
  text-align: right;
}

.report-section-heading {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
}

.report-section-heading a,
.report-map-link,
.report-pagination a,
.report-error > a {
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  text-underline-offset: 4px;
}

#report-map {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background: #8bbdcb;
}

#report-map #map {
  position: absolute;
  inset: 0;
}

.report-map-fallback {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid rgb(182 205 196 / 48%);
  border-radius: 3px;
  color: #eef3ec;
  background: rgb(13 42 56 / 91%);
  box-shadow: 0 8px 26px rgb(3 20 29 / 22%);
  font-size: 10px;
  line-height: 1.45;
}

.report-map-fallback strong { font-size: 12px; }

.report-knowledge,
.report-updates,
.report-sources {
  padding-top: clamp(50px, 7vw, 78px);
}

.report-knowledge > h2,
.report-updates > h2,
.report-sources > h2 {
  padding-bottom: 15px;
  border-bottom: 2px solid var(--ink);
}

.report-source-section {
  display: grid;
  grid-template-columns: minmax(160px, 0.34fr) minmax(0, 0.66fr);
  gap: 14px 42px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.report-source-section h2 {
  grid-column: 2;
  grid-row: 1;
}

.report-source-section p:not(.report-source-label) {
  grid-column: 2;
  margin: 0;
  color: var(--muted-ink);
  font-size: 14px;
  line-height: 1.65;
}

.report-source-label {
  grid-row: 1 / span 5;
  margin: 2px 0 0;
  color: var(--brand-accent);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.report-updates ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.report-updates li {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 28px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.report-updates time {
  color: var(--quiet-ink);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
}

.report-updates p,
.report-sources p {
  margin: 0;
  color: var(--muted-ink);
  font-size: 13px;
  line-height: 1.6;
}

.report-sources ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 22px 0 15px;
  padding: 0;
  list-style: none;
}

.report-sources a { color: var(--ink); font-weight: 680; }

.report-map-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 48px;
}

.report-archive-header {
  max-width: 760px;
  padding-bottom: 54px;
}

.report-archive-header > p:last-child,
.report-error > p:not(.content-kicker) {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted-ink);
  font-size: 18px;
  line-height: 1.6;
}

.report-archive-list {
  display: grid;
  gap: 0;
  border-top: 2px solid var(--ink);
}

.report-archive-card {
  display: grid;
  grid-template-columns: 165px minmax(0, 1fr) auto;
  gap: 12px 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.report-archive-meta {
  display: grid;
  align-content: start;
  gap: 8px;
  color: var(--quiet-ink);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
}

.report-archive-card h2 a { color: var(--ink); text-underline-offset: 4px; }
.report-archive-card .report-badges { margin: 0; justify-content: end; }
.report-archive-card > p {
  grid-column: 2 / -1;
  margin: 0;
  color: var(--muted-ink);
  font-size: 13px;
  line-height: 1.55;
}

.report-pagination { margin-top: 32px; text-align: right; }

.report-error { min-height: calc(100dvh - 184px); }
.report-error > a { display: inline-flex; margin-top: 30px; }

@media (max-width: 760px) {
  .report-overview { grid-template-columns: 1fr; }
  .report-glance { padding: 22px; }
  #report-map { min-height: 330px; }
  .report-source-section { grid-template-columns: 1fr; gap: 10px; }
  .report-source-section h2,
  .report-source-section p:not(.report-source-label) { grid-column: 1; }
  .report-source-label { grid-row: auto; }
  .report-updates li { grid-template-columns: 1fr; gap: 8px; }
  .report-archive-card { grid-template-columns: 1fr; gap: 13px; }
  .report-archive-card .report-badges { justify-content: start; }
  .report-archive-card > p { grid-column: 1; }
}

@media (max-width: 540px) {
  .report-site-header nav a { min-width: 0; padding: 0 9px; font-size: 10px; }
  .report-site-header nav a:first-child { display: none; }
  .report-fact { grid-template-columns: 1fr; gap: 5px; }
  .report-fact dd { text-align: left; }
  #report-map { min-height: 290px; }
}
