:root {
  --ink: #183f38;
  --teal: #116b5c;
  --line: #dce5da;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f7f8f1;
  color: var(--ink);
  font: 15px system-ui;
}
header {
  padding: 24px 4%;
  background: white;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.brand {
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -1px;
}
.brand small {
  display: block;
  font-size: 11px;
  letter-spacing: 0;
  font-weight: 400;
  margin-left: 25px;
}
main {
  display: grid;
  grid-template-columns: 210px 1fr;
  min-height: 80vh;
}
aside {
  background: white;
  padding: 30px 20px;
  border-right: 1px solid var(--line);
}
aside button {
  margin: 6px 0;
  width: 100%;
  text-align: left;
  background: #edf3e5;
  color: var(--ink);
}
aside p {
  font-size: 12px;
  line-height: 2;
  color: #708378;
  margin-top: 40px;
}
section {
  padding: 35px;
  max-width: 1300px;
  width: 100%;
}
h1 {
  font-size: 32px;
  letter-spacing: -1px;
  margin: 0 0 12px;
}
h2 {
  font-size: 20px;
}
p {
  line-height: 1.7;
  color: #5f776a;
}
button {
  font: inherit;
  border: 0;
  border-radius: 8px;
  padding: 11px 16px;
  background: var(--teal);
  color: white;
  cursor: pointer;
}
button.secondary {
  background: #eef3e7;
  color: var(--ink);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
input,
select,
textarea {
  font: inherit;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  max-width: 100%;
}
label {
  display: block;
  margin: 15px 0;
  font-size: 13px;
}
label input,
label select,
label textarea {
  display: block;
  margin-top: 6px;
  width: 100%;
}
input[type="checkbox"] {
  width: auto;
  display: inline;
}
.notice {
  background: #e9f0dd;
  padding: 12px 4%;
  font-size: 12px;
  line-height: 1.7;
}
.panel {
  background: white;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 13px;
  margin: 20px 0;
}
.row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}
.badge {
  background: #edf3e4;
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 12px;
}
.warn {
  background: #fff0d5;
  color: #94681a;
}
.red {
  background: #fce8e3;
  color: #9b4638;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
th,
td {
  padding: 15px 8px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
th {
  font-size: 11px;
  color: #718575;
}
small {
  color: #6b8174;
}
dialog {
  border: 0;
  border-radius: 16px;
  max-width: 540px;
  width: 95%;
  padding: 30px;
  color: var(--ink);
  max-height: 90vh;
}
dialog::backdrop {
  background: #163d3877;
}
.close {
  float: right;
  background: #edf3e5;
  color: var(--ink);
  padding: 7px 12px;
}
.entry {
  background: #f6f8f1;
  border-radius: 9px;
  padding: 16px;
  margin: 15px 0;
}
.token {
  overflow-wrap: anywhere;
  background: #edf3e5;
  padding: 16px;
  font: 12px monospace;
}
#status {
  color: #9b4638;
  min-height: 20px;
}
form > button {
  margin: 10px 5px 0 0;
}
.checkrow {
  display: flex;
  gap: 10px;
  align-items: center;
}
@media (max-width: 750px) {
  main {
    grid-template-columns: 1fr;
  }
  aside {
    display: flex;
    padding: 10px;
    gap: 10px;
  }
  aside p {
    display: none;
  }
  aside button {
    width: auto;
  }
  section {
    padding: 20px 14px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  header {
    flex-wrap: wrap;
  }
  .brand {
    font-size: 21px;
  }
  td,
  th {
    padding: 10px 3px;
    font-size: 11px;
  }
}
[hidden] {
  display: none !important;
}
@media (max-width: 750px) {
  aside {
    flex-wrap: wrap;
  }
  aside button {
    font-size: 12px;
    padding: 9px;
  }
}
.auth-layout {
  display: block;
  max-width: 720px;
  margin: 32px auto;
  padding: 0 20px;
}
.auth-panel {
  max-width: 520px;
  margin: auto;
}
.auth-layout nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.auth-layout .token {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.auth-layout h1 {
  margin-top: 0;
}

[aria-invalid="true"] {
  border: 2px solid #b42318;
  outline-color: #b42318;
}
.vaccination-error {
  color: #b42318;
  font-size: 0.9rem;
  margin: 0.3rem 0;
  font-weight: 500;
}
