* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f3f6f5;
  color: #1c3440;
  font:
    15px Arial,
    Helvetica,
    sans-serif;
}
header {
  background: #1b303c;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 4vw;
  gap: 20px;
}
header a {
  color: #d0e5dc;
  text-decoration: none;
  font-size: 13px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand img {
  width: 150px;
}
.brand span {
  font-size: 10px;
  letter-spacing: 3px;
  border-left: 1px solid #657a7e;
  padding-left: 20px;
}
main {
  max-width: 1440px;
  margin: auto;
  padding: 48px 4vw 24px;
}
.heading,
.section-heading,
.filter-footer,
.pagination,
.detail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: bold;
  color: #517969;
}
h1 {
  font-size: 44px;
  letter-spacing: -1.8px;
  margin: 16px 0;
}
h2 {
  font-size: 22px;
  margin: 0 0 8px;
}
.intro {
  color: #64777d;
  font-size: 16px;
  line-height: 1.6;
}
button {
  border: 1px solid #315e4f;
  background: #315e4f;
  color: white;
  border-radius: 8px;
  padding: 12px 16px;
  font: 600 13px Arial;
  cursor: pointer;
}
button:hover {
  filter: brightness(0.94);
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
button.secondary {
  background: white;
  color: #345c4e;
  border-color: #cbdad3;
}
.text-button {
  border: 0;
  background: none;
  color: #365f50;
  padding: 6px;
}
.continue-link {
  color: #245b43;
  font-weight: bold;
  text-decoration: none;
}
.continue-link:hover {
  text-decoration: underline;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #509b81;
  outline-offset: 3px;
}
.notice {
  background: #fff1cf;
  border: 1px solid #ead9a5;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.6;
}
#message {
  line-height: 1.6;
  color: #62766e;
}
#message.error {
  color: #9b362b;
  background: #ffefea;
  padding: 16px;
  border-radius: 8px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.metrics article {
  background: white;
  border: 1px solid #dbe5e0;
  border-radius: 12px;
  padding: 24px;
}
.metrics span {
  font-size: 13px;
  color: #61736f;
}
.metrics strong {
  font-size: 38px;
  display: block;
  margin: 12px 0;
}
.metrics small {
  font-size: 11px;
  color: #768782;
}
.records {
  background: white;
  border: 1px solid #dbe5e0;
  border-radius: 14px;
  padding: 24px;
}
.section-heading p {
  font-size: 12px;
  color: #788882;
  margin: 0;
}
.filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 14px;
  margin: 28px 0 18px;
  max-width: 620px;
}
label {
  font-size: 12px;
  font-weight: bold;
  color: #496057;
}
input,
select {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 1px solid #c9d7d0;
  border-radius: 7px;
  padding: 12px;
  background: #fff;
  color: #223b34;
  font: 14px Arial;
}
.check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: normal;
}
.check input {
  width: 16px;
  margin: 0;
}
.explanation,
.footnote {
  font-size: 12px;
  color: #718279;
  line-height: 1.7;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #6e8178;
  background: #f5f8f6;
  padding: 15px 12px;
}
td {
  padding: 18px 12px;
  border-bottom: 1px solid #e7eeea;
  font-size: 13px;
}
td small {
  display: block;
  color: #7c8b84;
  margin-top: 5px;
  font-size: 11px;
}
td strong {
  font-size: 13px;
}
.badge {
  display: inline-block;
  padding: 6px 9px;
  border-radius: 20px;
  font-size: 11px;
  background: #eef2f0;
  color: #6b7a73;
}
.badge.complete {
  background: #dff1e7;
  color: #245a43;
}
.badge.in-progress {
  background: #fff0ce;
  color: #806026;
}
progress {
  display: block;
  width: 125px;
  height: 6px;
  accent-color: #3e8767;
  margin-top: 7px;
}
.pagination {
  margin-top: 22px;
  color: #6e8178;
  font-size: 12px;
}
.pagination > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
#empty {
  padding: 36px;
  text-align: center;
  color: #667b70;
}
.footnote {
  max-width: 960px;
  margin-top: 22px;
}
footer {
  max-width: 1440px;
  margin: auto;
  padding: 20px 4vw 32px;
  font-size: 11px;
  color: #72877d;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
dialog {
  width: min(1000px, 94vw);
  max-height: 90vh;
  border: 1px solid #d1dfd7;
  border-radius: 16px;
  padding: 28px;
  color: #203b31;
}
dialog::backdrop {
  background: #0f273b99;
}
.detail-top {
  margin-bottom: 20px;
}
.detail-summary {
  padding: 16px;
  background: #eff6f1;
  border-radius: 8px;
  line-height: 1.8;
}
.history {
  padding-left: 22px;
  font-size: 13px;
  line-height: 1.8;
}
.history time {
  color: #718279;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
[hidden] {
  display: none !important;
}
@media (max-width: 900px) {
  .filters {
    grid-template-columns: repeat(2, 1fr);
  }
  .filters label:first-child {
    grid-column: 1/-1;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .heading {
    align-items: flex-start;
  }
  .heading button {
    white-space: nowrap;
  }
  h1 {
    font-size: 36px;
  }
}
@media (max-width: 550px) {
  header {
    padding: 20px;
  }
  .brand img {
    width: 115px;
  }
  .brand span {
    font-size: 8px;
    padding-left: 12px;
  }
  .brand {
    gap: 12px;
  }
  header > a:last-child {
    font-size: 11px;
  }
  main {
    padding: 26px 16px;
  }
  .heading,
  .section-heading {
    display: block;
  }
  .heading > button,
  .section-heading > button {
    margin-top: 12px;
  }
  .metrics {
    gap: 10px;
  }
  .metrics article {
    padding: 16px;
  }
  .metrics strong {
    font-size: 30px;
  }
  .records {
    padding: 16px;
  }
  .pagination {
    align-items: flex-start;
    flex-direction: column;
  }
  .filter-footer {
    gap: 8px;
  }
  .filter-footer label {
    font-size: 11px;
  }
  footer {
    display: block;
    padding: 20px;
  }
  footer span {
    display: block;
    margin-top: 10px;
  }
  dialog {
    padding: 18px;
  }
}
