/* Base typography, masthead, width, colors, table and footer come from the app bundle. */
.monthly-report .report-heading {
  padding: 16px 0 24px;
}
.monthly-report .report-breadcrumb {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
}
.monthly-report .report-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.monthly-report .report-breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.monthly-report .report-heading h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.35;
  letter-spacing: -0.7px;
  font-weight: 550;
  overflow-wrap: anywhere;
  margin-bottom: 12px;
}
.monthly-report .site-intro {
  margin-bottom: 14px;
}
.monthly-report .gap-notice {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin: 10px 0 0;
}
.monthly-report .monthly-leaders {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
  padding: 20px 0 24px;
  border-top: 1px solid var(--line);
}
.monthly-report .monthly-leaders.combined {
  grid-template-columns: minmax(0, 1fr);
}
.monthly-report .leader {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.monthly-report .leader-label {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 8px;
}
.monthly-report main h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.4px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  margin-bottom: 8px;
}
.monthly-report .leader h3 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0;
}
.monthly-report .leader h3 a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.monthly-report .monthly-video-meta {
  color: var(--muted);
  font-size: 12px;
  margin: 3px 0 0;
  overflow-wrap: anywhere;
}
.monthly-report .leader-scores {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
  margin-top: auto;
  padding-top: 14px;
}
@media (pointer: coarse) {
  .monthly-report .leader h3 a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
}
.monthly-report .leader-score {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 7px;
}
.monthly-report .score-value {
  font-size: 34px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
}
.monthly-report .score-label {
  color: var(--muted);
  font-size: 13px;
}
.monthly-report .ranking-section {
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
}
.monthly-report .caption {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 14px;
}
.monthly-report .caption a {
  color: var(--accent);
}
.monthly-report .caption a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.monthly-report .static-table td {
  vertical-align: baseline;
}
.monthly-report .ranking th[aria-sort="descending"] {
  color: var(--accent);
}
.monthly-report .ranking .sort-indicator:empty {
  display: none;
}
.monthly-report .coverage {
  padding: 24px 0 0;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}
.monthly-report .coverage-summary {
  font-size: 13px;
  line-height: 1.6;
  margin: 12px 0;
  text-wrap: pretty;
}
.monthly-report .archive-year {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.monthly-report .archive-months {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.monthly-report .archive-months a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  color: var(--accent);
  font-size: 14px;
}
.monthly-report .archive-months a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 650px) {
  .monthly-report .archive-months {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
  }
  .monthly-report .monthly-leaders {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .monthly-report .leader-scores {
    gap: 16px 28px;
  }
  .monthly-report .score-value {
    font-size: 30px;
  }
  /* A combined leader puts its two scores side by side, labelled above. */
  .monthly-report .combined .leader-scores {
    flex-wrap: nowrap;
    gap: 0 28px;
    padding-top: 10px;
  }
  .monthly-report .combined .leader-score {
    flex: 1 1 0;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 2px;
  }
  .monthly-report .combined .score-label {
    font-size: 12px;
  }
  .monthly-report .combined .score-label::first-letter {
    text-transform: uppercase;
  }
}
