:root {
  font:
    16px/1.45 system-ui,
    sans-serif;
  color: #1e302d;
  background: #f4f6f4;
  accent-color: #13664e;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  background: #142d27;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px max(4vw, 16px);
  gap: 14px;
}
.brand {
  font-size: 21px;
  font-weight: 750;
  white-space: nowrap;
}
.brand b {
  font-weight: 400;
  color: #a8d8c3;
}
main,
#status {
  max-width: 1250px;
  margin: 28px auto;
  padding: 0 max(3vw, 16px);
}
h1,
h2,
p {
  margin: 0 0 14px;
}
h1 {
  font-size: clamp(25px, 4vw, 36px);
  line-height: 1.15;
}
h2 {
  font-size: 18px;
}
section,
dialog {
  background: #fff;
  border: 1px solid #cbd8d1;
  border-radius: 10px;
  padding: clamp(14px, 3vw, 28px);
  margin: 15px 0;
}
section.login {
  max-width: 640px;
  margin: 6vh auto;
}
button,
input,
textarea,
select {
  font: inherit;
  border: 1px solid #b5c6bd;
  border-radius: 5px;
  padding: 7px 10px;
  background: white;
  color: #162a24;
}
button {
  cursor: pointer;
}
button:hover {
  background: #e9f4ee;
}
button.primary {
  background: #166347;
  color: white;
  border-color: #166347;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
label {
  display: grid;
  gap: 4px;
}
textarea {
  resize: vertical;
  min-height: 52px;
  width: 100%;
}
.bar,
#tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.bar {
  margin: 12px 0;
}
.check {
  display: flex;
  align-items: center;
}
.scroll {
  overflow: auto;
  max-height: 60vh;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  text-align: start;
  padding: 6px;
  border-bottom: 1px solid #dce3de;
  vertical-align: top;
}
th {
  background: #edf3ef;
  position: sticky;
  top: 0;
}
td textarea {
  min-width: 150px;
}
td.missing {
  border-left: 3px solid #c18726;
}
.muted,
small {
  color: #51665c;
}
pre,
output {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
video,
canvas {
  max-width: 100%;
  height: auto;
}
video {
  display: block;
  max-height: 320px;
}
#status {
  position: sticky;
  bottom: 4px;
  width: fit-content;
  background: #183a30;
  color: white;
  border-radius: 6px;
  padding: 7px 16px;
}
#status:empty {
  display: none;
}
input[type='search'] {
  min-width: 190px;
}

.challenge-qr {
  max-width: 350px;
  margin: 12px auto;
}
