/* Shared presentation for report navigation and data views. */
.report-page {
  padding-bottom: 3rem;
}

.report-wide-container {
  padding-left: clamp(1rem, 2vw, 2.5rem);
  padding-right: clamp(1rem, 2vw, 2.5rem);
}

.report-hero {
  background: var(--bs-primary);
  color: #fff;
  margin-bottom: 2rem;
  padding: 2rem 0;
}

.report-hero .eyebrow {
  color: var(--bs-yellow);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.report-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 0.65rem;
}

.report-hero p {
  color: #d9e2ee;
  max-width: 52rem;
}

.report-hero-link {
  align-items: center;
  color: var(--bs-yellow);
  display: inline-flex;
  font-weight: 800;
  gap: 0.45rem;
  margin-top: 0.85rem;
  text-decoration: none;
}

.report-hero-link:hover,
.report-hero-link:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.report-list,
.report-table-shell {
  background: #fff;
  border: 1px solid var(--bs-border-color);
  box-shadow: 0 8px 24px rgba(18, 22, 67, 0.06);
}

.report-list {
  display: grid;
}

.report-list-item {
  align-items: center;
  border-bottom: 1px solid var(--bs-border-color);
  display: grid;
  gap: 1rem;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  padding: 1.1rem 1.35rem;
  text-decoration: none;
}

.report-list-item:last-child {
  border-bottom: 0;
}

.report-list-item:hover,
.report-list-item:focus-visible {
  background: #f4fbfc;
}

.report-list-icon {
  align-items: center;
  background: #dff7fa;
  border-radius: 50%;
  color: var(--bs-primary);
  display: flex;
  font-size: 1.15rem;
  height: 2.75rem;
  justify-content: center;
  width: 2.75rem;
}

.report-list-title {
  color: var(--bs-primary);
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.report-list-copy {
  color: var(--bs-secondary-color);
  display: block;
  font-size: 0.9rem;
}

.report-list-arrow {
  color: var(--bs-primary);
  font-size: 1.25rem;
}

.report-table-wrap {
  overflow-x: auto;
}

.report-table {
  margin-bottom: 0;
  min-width: 52rem;
}

.report-table thead th {
  background: var(--bs-primary);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.report-table tbody tr:nth-child(even) {
  background: #f7fafb;
}

.report-table .report-number,
.report-table .report-date {
  white-space: nowrap;
}

.report-table .report-number {
  text-align: right;
}

.report-table .report-status {
  font-size: 1rem;
  text-align: center;
}

.report-table .report-status.is-complete {
  color: #086746;
}

.report-table .report-status.is-pending {
  color: #8e1b2a;
}

.all-items-table {
  font-size: 0.84rem;
  min-width: 100rem;
}

.all-items-table td,
.all-items-table th {
  padding: 0.72rem 0.6rem;
  vertical-align: middle;
}

.all-items-table td {
  white-space: nowrap;
}

.all-items-table th:nth-child(3),
.all-items-table th:nth-child(4),
.all-items-table th:nth-child(9),
.all-items-table th:nth-child(10),
.all-items-table th:nth-child(11),
.all-items-table th:nth-child(15),
.all-items-table td:nth-child(3),
.all-items-table td:nth-child(4),
.all-items-table td:nth-child(9),
.all-items-table td:nth-child(10),
.all-items-table td:nth-child(11),
.all-items-table td:nth-child(15) {
  text-align: center;
}

.all-items-table th:nth-child(7),
.all-items-table th:nth-child(14),
.all-items-table th:nth-child(17),
.all-items-table td:nth-child(7),
.all-items-table td:nth-child(14),
.all-items-table td:nth-child(17) {
  text-align: right;
}

.report-empty {
  background: #fff;
  border-left: 5px solid var(--bs-yellow);
  box-shadow: 0 8px 24px rgba(18, 22, 67, 0.06);
  padding: 1.5rem;
}

.report-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  margin-top: 1.25rem;
}

.section-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

@media (max-width: 575.98px) {
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .report-list-item {
    grid-template-columns: 2.5rem minmax(0, 1fr) auto;
    padding: 1rem;
  }

  .report-list-icon {
    font-size: 1rem;
    height: 2.35rem;
    width: 2.35rem;
  }

  .report-list-copy {
    font-size: 0.84rem;
  }
}
