:root {
  font-family:
    "Source Sans 3",
    -apple-system,
    BlinkMacSystemFont,
    "PingFang HK",
    sans-serif;
  color: #17352e;
  background: #f5f7f4;
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header,
nav,
main {
  padding-inline: max(5vw, calc((100vw - 1200px) / 2));
}
header {
  background: #183e34;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 70px;
  gap: 1em;
}
header a {
  color: white;
}
.brand {
  text-decoration: none;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.brand span {
  font-size: 16px;
  font-weight: 500;
  margin-left: 0.7em;
}
.account,
.bar,
.filters,
.result-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.account form {
  margin: 0;
}
nav {
  display: flex;
  gap: 22px;
  background: white;
  overflow: auto;
  border-bottom: 1px solid #cbd8d0;
}
nav a {
  padding: 16px 0;
  text-decoration: none;
  white-space: nowrap;
  color: #456457;
}
nav a[aria-current] {
  border-bottom: 3px solid #117858;
  color: #123e31;
  font-weight: bold;
}
main {
  padding-top: 30px;
  padding-bottom: 60px;
}
h1 {
  font-size: clamp(27px, 4vw, 38px);
  letter-spacing: -0.04em;
  margin: 0 0 22px;
}
h2 {
  font-size: 20px;
}
a {
  color: #076247;
  text-underline-offset: 0.18em;
}
.card,
.tile,
.list,
.metrics > div,
.filters {
  background: white;
  border: 1px solid #d4dfd8;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 16px;
}
.card > h2:first-child {
  margin-top: 0;
}
.tiles,
.metrics,
.columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(245px, 100%), 1fr));
  gap: 14px;
}
.tile {
  text-decoration: none;
  display: grid;
  gap: 8px;
  border-top: 3px solid #55916d;
}
.tile strong {
  font-size: 20px;
}
.tile small,
dt,
small {
  font-weight: 650;
  color: #50665b;
}
.metrics b {
  display: block;
  font-size: 32px;
}
.bar {
  margin: 16px 0;
}
.filters {
  align-items: end;
}
.list article {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  flex-wrap: wrap;
  border-bottom: 1px solid #e1e9e3;
  padding: 12px 0;
}
.list article:last-child {
  border: 0;
}
.list p {
  margin: 0;
}
.status {
  background: #e6f1e9;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.9rem;
}
button,
.button {
  display: inline-block;
  background: #17634b;
  border: 1px solid #17634b;
  color: white;
  border-radius: 6px;
  font: inherit;
  font-weight: 600;
  padding: 9px 16px;
  text-decoration: none;
  cursor: pointer;
}
button.quiet {
  background: #eff5f1;
  color: #174533;
}
.card form {
  margin-block: 12px;
}
label {
  display: block;
  font-weight: 600;
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid #a8bbb0;
  border-radius: 5px;
  padding: 9px;
  background: white;
  color: #213d33;
  font: inherit;
  margin: 4px 0 12px;
}
input[type="checkbox"] {
  width: auto;
}
fieldset {
  border: 0;
  padding: 0;
  min-width: 0;
}
.editor fieldset {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 0 20px;
}
.full {
  grid-column: 1/-1;
}
.result-row {
  flex-wrap: nowrap;
}
.result-row input {
  min-width: 0;
}
pre,
code {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
dd {
  margin: 4px 0 14px;
}
td {
  padding: 5px 14px;
  border: 1px solid #d5e0d8;
}
table {
  border-collapse: collapse;
}
.errorlist,
[role="alert"] {
  color: #932e22;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #d39924;
}
.guide li {
  margin: 14px 0;
}
.narrow {
  max-width: 500px;
}
@media (max-width: 650px) {
  header {
    align-items: center;
  }
  .brand span {
    display: block;
    margin: 0;
    font-size: 13px;
  }
  .account {
    gap: 6px;
  }
  .card,
  .filters,
  .list {
    padding: 14px;
  }
  .filters label {
    width: 100%;
  }
  nav {
    gap: 16px;
  }
  .list article {
    display: grid;
    gap: 3px;
  }
  .metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
  }
  .metrics > div {
    padding: 10px;
    font-size: 13px;
  }
}
