.report-page {
  padding-top: 2rem;
  padding-bottom: var(--section-space);
}
.report-breadcrumb {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 2rem;
}
.report-breadcrumb a {
  color: var(--forest);
}
.report-intro {
  max-width: 780px;
}
.report-intro h1 {
  margin: 0.9rem 0 1.25rem;
  font-size: clamp(2rem, 1.65rem + 1.4vw, 2.8rem);
}
.report-intro > p:last-child {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 60ch;
}
.report-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}
.report-toolbar p {
  font-size: 0.8rem;
  color: var(--muted);
}
.report-group-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 1.2rem;
}
.report-group-heading h2 {
  font-size: 1.4rem;
}
.report-group-heading p {
  font-size: 0.8rem;
  color: var(--muted);
}
.report-source {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr 0.9fr auto;
  align-items: center;
  gap: 0.75rem 1.7rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}
.report-checks {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.report-check-count {
  font-size: 0.75rem;
  color: var(--muted);
}
.report-check-content {
  min-width: 0;
}
.report-check-strip {
  display: flex;
  overflow-x: auto;
  padding: 2px;
  gap: 0;
  scrollbar-width: thin;
}
.report-check-button {
  flex: 0 0 24px;
  width: 24px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  touch-action: manipulation;
}
.report-check-button:hover {
  background: #e9eee6;
}
.report-check-button:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: -2px;
}
.report-check-square {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 0;
  border: 1px solid #00000012;
  flex-shrink: 0;
}
.check-passed {
  background: #287a4a;
  color: white;
}
.check-failed {
  background: #bd493f;
  color: white;
}
.check-checking {
  background: #e8c069;
  color: #49370e;
}
.check-unconfirmed {
  background: #dce1da;
  color: #515e53;
}
.report-check-button[aria-pressed="true"] .report-check-square {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.report-check-detail,
.report-check-empty {
  font-size: 0.75rem;
  color: var(--muted);
  min-height: 1.4em;
  font-variant-numeric: tabular-nums;
}
.report-check-detail {
  padding-left: 4px;
}
.report-check-empty {
  padding-block: 0.5rem;
}
.report-identity h3 {
  font-size: 1rem;
}
.report-identity p {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.3rem;
  max-width: 34ch;
}
.report-date {
  display: grid;
  gap: 0.25rem;
}
.report-date-label {
  font-size: 0.73rem;
  color: var(--muted);
}
.report-date strong {
  font-size: 1rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.report-state {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}
.report-badge {
  font-size: 0.72rem;
  padding: 0.2rem 0.65rem;
  border-radius: 30px;
  background: #f0f2ed;
  color: #55644e;
}
.report-current {
  background: #e4efd2;
  color: #365420;
}
.report-notice {
  background: #f4ecd8;
  color: #765620;
}
.report-state small {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 27ch;
}
.report-original {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.75rem;
  color: var(--forest);
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.report-weekly {
  margin-top: 2.7rem;
  padding: 1.5rem;
  background: var(--cream);
  border-radius: 3px;
}
.report-note {
  margin-top: 3.5rem;
  max-width: 800px;
  border-left: 2px solid var(--forest);
  padding-left: 1.5rem;
}
.report-note h2 {
  font-size: 1.2rem;
}
.report-note p {
  font-size: 0.9rem;
  margin: 0.8rem 0 1.2rem;
}
.report-note a {
  font-size: 0.9rem;
}
@media (max-width: 900px) {
  .report-source {
    grid-template-columns: 1fr 1fr;
    gap: 1rem 2rem;
  }
  .report-original {
    justify-self: end;
  }
  .report-group-heading {
    display: block;
  }
  .report-group-heading p {
    margin-top: 0.4rem;
  }
  .report-state small {
    max-width: 36ch;
  }
}
@media (max-width: 480px) {
  .report-checks {
    display: block;
  }
  .report-check-count {
    display: block;
    margin-top: 0.25rem;
  }
  .report-breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.72rem;
    gap: 1rem;
    justify-content: space-between;
  }
  .report-intro > p:last-child {
    font-size: 1.05rem;
  }
  .report-source {
    gap: 1rem;
  }
  .report-date {
    text-align: right;
  }
  .report-date-label {
    font-size: 0.66rem;
  }
  .report-date strong {
    font-size: 0.88rem;
  }
  .report-identity p {
    font-size: 0.72rem;
  }
  .report-weekly {
    padding: 1rem;
  }
  .report-group-heading h2 {
    font-size: 1.2rem;
  }
  .report-toolbar {
    margin-top: 2rem;
  }
  .report-note {
    padding-left: 1rem;
  }
  .report-state small {
    font-size: 0.68rem;
  }
}
