* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  background: #f5f5ef;
  color: #193d33;
  font:
    16px/1.5 system-ui,
    sans-serif;
}
header {
  background: #fff;
  border-bottom: 1px solid #d8dfd7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px max(5%, calc((100vw - 1100px) / 2));
  min-height: 66px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 20px;
  font-weight: 650;
}
.brand img {
  width: 58px;
  height: 48px;
  object-fit: cover;
}
.brand b {
  font-size: 14px;
  font-weight: 450;
  color: #52675e;
}
main {
  max-width: 1140px;
  margin: 40px auto;
  padding: 0 20px;
}
h1 {
  font:
    500 clamp(28px, 5vw, 41px)/1.15 Georgia,
    serif;
  margin: 0 0 12px;
}
h2 {
  font-size: 20px;
}
p {
  max-width: 60ch;
}
nav,
.heading,
.pager,
.metrics {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
nav {
  border-bottom: 1px solid #c6d4c8;
  padding-bottom: 12px;
  margin-bottom: 28px;
}
button,
input,
select {
  font: inherit;
  border-radius: 8px;
  min-height: 42px;
  border: 1px solid #b6c5bb;
  padding: 8px 12px;
  color: inherit;
  background: #fff;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.primary,
nav [aria-current='page'] {
  background: #215443;
  color: #fff;
  border-color: #215443;
}
.heading {
  justify-content: space-between;
  margin-bottom: 20px;
}
.box,
form,
#login {
  background: #fff;
  border: 1px solid #d5ded5;
  padding: 24px;
  border-radius: 14px;
}
#login {
  max-width: 470px;
  margin: 10vh auto;
}
.metrics {
  align-items: stretch;
}
.metric {
  min-width: 160px;
  flex: 1;
  background: #fff;
  padding: 16px;
  border: 1px solid #d5ded5;
  border-radius: 12px;
}
.metric b {
  font-size: 24px;
  display: block;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}
label {
  display: grid;
  gap: 4px;
  font-size: 14px;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid #ad852b;
}
form button {
  margin-top: 18px;
}
.scroll {
  overflow: auto;
  background: #fff;
  border-radius: 12px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
th,
td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid #e5e9e4;
}
th {
  background: #e5ece6;
  font-weight: 600;
}
td {
  overflow-wrap: anywhere;
}
.pager {
  margin-top: 14px;
}
#status {
  color: #674622;
}
.hint {
  color: #52675e;
  background: #f1f5ef;
  border-left: 4px solid #ad852b;
  padding: 10px 12px;
  border-radius: 8px;
}
.result {
  margin-top: 18px;
  padding: 16px;
  background: #f1f5ef;
  border: 1px solid #c6d4c8;
  border-radius: 12px;
}
.result p {
  margin: 6px 0;
}
.link {
  display: inline-block;
  margin-top: 12px;
  color: #19503e;
  font-weight: 650;
}
#lookup {
  margin-bottom: 14px;
}
