:root {
  color-scheme: light;
  --navy: #102c4c;
  --blue: #174c78;
  --line: #d5dde5;
  --light: #f3f6f9;
  --text: #1c2833;
  --focus: #e3a008;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font: 1rem/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  background: var(--navy);
  color: #fff;
  padding: 2.25rem 0;
}

h1,
h2 {
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0.25rem 0;
}

h2 {
  font-size: 1.45rem;
  margin: 0 0 1rem;
}

p {
  margin: 0.5rem 0 1rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0;
}

.intro {
  margin-bottom: 0;
}

main>section {
  margin-block: 2rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.stat {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 1.3rem;
  background: var(--light);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-label {
  font-size: 0.95rem;
}

.stat strong {
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  color: var(--navy);
  overflow-wrap: anywhere;
}

.report-filters {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}

.field label {
  display: block;
  font-weight: 650;
  margin-bottom: 0.4rem;
}

select {
  display: block;
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #768696;
  border-radius: 0.3rem;
  background: #fff;
  color: var(--text);
  font: inherit;
}

select:disabled {
  background: #e9edf1;
  color: #596574;
}

button {
  background: var(--blue);
  border: 2px solid var(--blue);
  color: #fff;
  padding: 0.65rem 1.1rem;
  border-radius: 0.3rem;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

button:hover {
  background: var(--navy);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -5rem;
  left: 1rem;
  background: #fff;
  color: #000;
  padding: 0.7rem;
  z-index: 10;
}

.skip-link:focus {
  top: 1rem;
}

.error {
  color: #8c1720;
  font-weight: 650;
}

.report {
  border-top: 3px solid var(--navy);
  padding-top: 1.5rem;
}

.report-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.report-heading h2 {
  margin: 0.25rem 0;
}

.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

caption {
  text-align: left;
  font-weight: 600;
  padding: 0.65rem 0;
}

th,
td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0.85rem;
}

thead {
  background: var(--navy);
  color: #fff;
}

tbody tr:nth-child(even) {
  background: var(--light);
}

tfoot {
  background: #e5edf4;
  font-weight: 700;
}

.money {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
  color: #526171;
  font-size: 0.9rem;
}

@media (max-width: 700px) {

  .stats,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .report-heading {
    flex-direction: column;
  }
}

@media print {
  .site-header {
    color: #000;
    background: none;
    padding: 0.5rem 0;
  }

  .overview,
  .report-filters,
  .print-button,
  .site-footer,
  .skip-link {
    display: none !important;
  }

  .container {
    width: 100%;
  }

  .report {
    border: 0;
    padding: 0;
    margin: 0;
  }

  .table-scroll {
    overflow: visible;
  }

  table {
    min-width: 0;
    font-size: 10pt;
  }

  thead {
    color: #000;
    background: #eee;
  }

  tr {
    break-inside: avoid;
  }
}




.report-subtitle {
  margin-top: 0.35rem;
  font-size: 1.1rem;
  color: #526173;
  line-height: 1.5;
}

.summary-label {
  line-height: 1.5;
}