:root {
  font-family: system-ui, sans-serif;
  color: #e5edda;
  background: #101b17;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 5vw;
  border-bottom: 1px solid #40513e;
  font-size: 12px;
  letter-spacing: 1px;
}
a {
  color: #c5d993;
}
main {
  max-width: 1100px;
  margin: 44px auto;
  padding: 0 24px;
}
h1 {
  font-size: 42px;
  margin-bottom: 12px;
}
h2 {
  font-size: 22px;
}
p {
  color: #afbfac;
  line-height: 1.6;
}
section,
dialog {
  padding: 24px;
  background: #17231d;
  border: 1px solid #40513e;
  border-radius: 8px;
}
#adminLogin {
  max-width: 420px;
}
label {
  display: block;
  font-size: 13px;
  margin: 14px 0 8px;
}
input {
  width: 100%;
  padding: 12px;
  background: #25332b;
  color: #edf5e5;
  border: 1px solid #687c5c;
  border-radius: 3px;
  font: inherit;
  margin-top: 6px;
}
button {
  padding: 12px 18px;
  margin-top: 12px;
  background: #d2e394;
  color: #17231d;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  border-radius: 3px;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.toolbar {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
}
.toolbar label {
  flex: 1;
  margin: 0;
}
.table-scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 14px;
}
td,
th {
  padding: 14px 10px;
  border-bottom: 1px solid #40513e;
  white-space: nowrap;
}
th {
  color: #afbfac;
  font-size: 12px;
}
td button {
  margin: 0;
}
#adminStatus,
#editStatus {
  color: #f2bd8c;
}
dialog {
  color: #e5edda;
  width: min(480px, 95vw);
  max-height: 90dvh;
  overflow: auto;
}
dialog::backdrop {
  background: #000b;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
}
.check input {
  width: auto;
  margin: 0;
}
#authChoices button[aria-pressed='true'] {
  outline: 2px solid #d2e394;
}
@media (max-width: 600px) {
  header {
    flex-direction: column;
  }
  main {
    margin: 24px auto;
    padding: 0 12px;
  }
  section {
    padding: 14px;
  }
  h1 {
    font-size: 32px;
  }
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e5edda;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 1.5px;
}
.brand-lockup img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}
