:root {
  color-scheme: light;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: #182b32;
  background: #f1f4f2;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
main {
  max-width: 1120px;
  margin: auto;
  padding: 40px 24px 80px;
}
header {
  position: relative;
  margin: 12px 0 32px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  color: #46766d;
}
h1 {
  font-size: 40px;
  margin: 12px 0;
}
h2 {
  font-size: 20px;
  margin: 0 0 18px;
}
p {
  color: #587078;
  line-height: 1.7;
  font-size: 14px;
}
section {
  padding: 26px;
  margin: 18px 0;
  border: 1px solid #d7e1dc;
  border-radius: 14px;
  background: white;
}
.row {
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
}
.row h2 {
  margin: 0 auto 0 0;
  align-self: center;
}
label {
  display: grid;
  gap: 8px;
  font-size: 13px;
}
input,
select,
textarea {
  padding: 10px;
  border: 1px solid #bfcec7;
  border-radius: 7px;
  background: #fff;
  color: #182b32;
  font: inherit;
}
input[type="number"] {
  width: 110px;
}
input[type="checkbox"] {
  width: auto;
}
textarea {
  width: 100%;
  margin-bottom: 12px;
}
button {
  border: 1px solid #c0d0ca;
  border-radius: 7px;
  padding: 10px 16px;
  background: #edf4f0;
  color: #18483b;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
}
button:hover {
  background: #dbece3;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.danger {
  color: #aa3636;
}
.grow {
  flex: 1;
}
video {
  display: block;
  background: #101b20;
  width: 100%;
  max-height: 570px;
  border-radius: 8px;
  margin-top: 20px;
}
pre {
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 350px;
  overflow: auto;
  font:
    13px/1.6 ui-monospace,
    monospace;
  color: #24493d;
}
#message {
  position: sticky;
  top: 0;
  background: #f1f4f2;
  padding: 8px;
  z-index: 2;
}
#logout {
  position: absolute;
  right: 0;
  top: 0;
}
.list {
  max-height: 360px;
  overflow: auto;
  margin-top: 16px;
}
.list button {
  display: block;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #edf0ee;
  border-radius: 0;
  width: 100%;
  text-align: left;
  padding: 12px;
}
.list button:hover {
  background: #edf4f0;
}
#login input {
  max-width: 600px;
  width: 100%;
}
#login button {
  margin-top: 16px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 600px) {
  main {
    padding: 18px 12px;
  }
  section {
    padding: 18px;
  }
  .row {
    align-items: stretch;
  }
  .grow {
    flex-basis: 100%;
  }
  h1 {
    font-size: 32px;
  }
}

.list button {
  overflow-wrap: anywhere;
}
