* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f4f6f5;
  color: #192d29;
  font:
    15px/1.5 "Inter",
    "Segoe UI",
    sans-serif;
}
aside {
  position: fixed;
  inset: 0 auto 0 0;
  width: 227px;
  background: #112d29;
  color: white;
  padding: 30px 18px;
  display: flex;
  flex-direction: column;
}
.brand {
  font-size: 25px;
  font-weight: 720;
  letter-spacing: -1.4px;
  color: white;
  text-decoration: none;
}
.brand b {
  display: inline-grid;
  place-items: center;
  background: #c5ee8c;
  width: 34px;
  height: 34px;
  color: #163c2c;
  border-radius: 9px;
}
.caption,
.eyebrow,
th,
label {
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 650;
}
.caption {
  margin: 48px 9px 14px;
  color: #a2beb1;
}
nav a {
  display: block;
  color: #dbe7e3;
  padding: 10px 12px;
  margin: 3px 0;
  text-decoration: none;
  border-radius: 7px;
}
nav a.active {
  background: #325449;
  color: #d5f6af;
}
nav i {
  font-style: normal;
  display: inline-block;
  width: 30px;
  color: #a8c5b5;
}
nav {
  overflow-y: auto;
}
footer {
  margin-top: auto;
  font-size: 12px;
  color: #b2c9bf;
}
main {
  margin-left: 227px;
}
header {
  display: flex;
  justify-content: space-between;
  background: white;
  border-bottom: 1px solid #d9e2dc;
  padding: 19px 4.5%;
  font-size: 13px;
}
header span:last-child {
  color: #557169;
}
#screen {
  padding: 35px 4.5% 65px;
  max-width: 1600px;
  margin: auto;
}
.eyebrow {
  color: #527363;
  text-transform: uppercase;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(30px, 4vw, 49px);
  font-weight: 625;
  letter-spacing: -2.4px;
  line-height: 1.2;
  margin: 6px 0 10px;
}
h2 {
  font-size: 21px;
  letter-spacing: -0.6px;
}
h3 {
  font-size: 16px;
}
p {
  color: #60716a;
}
.bar,
.actions,
.pager {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.bar {
  justify-content: space-between;
  margin-bottom: 24px;
}
.hero {
  background: #deecd9;
  border: 1px solid #cbddc7;
  padding: 30px;
  border-radius: 13px;
  margin-bottom: 22px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 18px 0 26px;
}
.stat,
.panel {
  background: white;
  border: 1px solid #dae2dc;
  border-radius: 12px;
}
.stat {
  padding: 20px;
  text-decoration: none;
  color: inherit;
}
.stat strong {
  display: block;
  font-size: 32px;
  font-weight: 600;
}
.panel {
  padding: 22px;
  margin: 18px 0;
  overflow: auto;
}
button,
.button {
  display: inline-block;
  border: 1px solid #c5d3c8;
  background: white;
  border-radius: 6px;
  padding: 9px 15px;
  color: #234237;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
button:hover,
.button:hover {
  background: #eaf2e8;
}
.primary {
  background: #21553f;
  color: white;
  border-color: #21553f;
}
.primary:hover {
  background: #183f30;
}
input,
select,
textarea {
  padding: 10px;
  border: 1px solid #bdcbc1;
  border-radius: 5px;
  font: inherit;
  width: 100%;
  color: inherit;
  background: white;
}
label {
  display: block;
  color: #475c51;
  letter-spacing: 0.02em;
  font-size: 13px;
}
label input,
label select {
  margin-top: 5px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 14px;
  margin: 18px 0;
}
.scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
td,
th {
  text-align: left;
  padding: 12px 9px;
  border-bottom: 1px solid #e3eae4;
  vertical-align: top;
}
th {
  color: #62796b;
  text-transform: uppercase;
  background: #f8faf7;
  white-space: nowrap;
}
.empty {
  padding: 35px;
  text-align: center;
}
.tag {
  background: #e8f1e4;
  color: #3c6145;
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
}
.pager {
  justify-content: flex-end;
  margin-top: 15px;
}
.search {
  width: min(100%, 300px);
}
dialog {
  width: min(830px, 94vw);
  max-height: 90vh;
  border: 1px solid #b6c7ba;
  padding: 26px;
  border-radius: 12px;
  color: inherit;
}
dialog::backdrop {
  background: #0f251c80;
}
.close {
  float: right;
  font-size: 20px;
}
.error {
  color: #912e29;
  white-space: pre-wrap;
  margin: 10px 0;
}
#notice:empty {
  display: none;
}
#notice {
  position: fixed;
  bottom: 18px;
  right: 18px;
  max-width: 85vw;
  padding: 12px 20px;
  background: #163c30;
  color: white;
  border-radius: 7px;
  z-index: 5;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
.rowcard {
  padding: 14px 0;
  border-bottom: 1px solid #ccd8cc;
}
.rowcard summary {
  cursor: pointer;
  font-weight: 650;
}
.details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.details small {
  display: block;
  color: #627568;
}
@media (max-width: 800px) {
  aside {
    position: static;
    width: 100%;
    padding: 12px 16px;
  }
  .caption,
  footer {
    display: none;
  }
  nav {
    display: flex;
    overflow-x: auto;
  }
  nav a {
    white-space: nowrap;
    font-size: 12px;
    padding: 6px;
  }
  nav i {
    display: none;
  }
  main {
    margin: 0;
  }
  .stats {
    gap: 6px;
  }
  .stat {
    padding: 12px;
  }
  .stat strong {
    font-size: 23px;
  }
  #screen {
    padding: 20px 4%;
  }
  .panel,
  .hero {
    padding: 15px;
  }
}
@media print {
  body,
  main {
    background: white;
    margin: 0;
  }
  aside,
  header,
  button,
  .actions,
  dialog form,
  #notice,
  .pager {
    display: none !important;
  }
  body:has(dialog[open]) main {
    display: none;
  }
  dialog[open] {
    position: static;
    display: block;
    border: none;
    width: 100%;
    max-height: none;
  }
  .panel {
    border: none;
    overflow: visible;
  }
  .scroll {
    overflow: visible;
  }
}
