nav a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 12px;
  margin: 4px 0;
  text-decoration: none;
  color: #b7bac3;
  font-weight: 600;
  border-radius: 9px;
}
nav a[aria-current] {
  background: linear-gradient(90deg, #d7b77727, #d7b77710);
  color: #e5c484;
  box-shadow: inset 3px 0 #d7b777;
}
.button {
  display: inline-block;
  text-decoration: none;
  color: var(--ink);
  background: white;
  border: 1px solid #d6d9df;
  border-radius: 8px;
  padding: 9px 13px;
  font-weight: 600;
}
.button.primary {
  background: #202631;
  color: #f6d99d;
  border-color: #202631;
}
.button:focus-visible,
a:focus-visible {
  outline: 2px solid #987536;
  outline-offset: 2px;
}
.formgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.edit {
  max-width: 960px;
}
.event {
  white-space: normal;
  overflow-wrap: anywhere;
  text-decoration: none;
}
.state-1 {
  background: #e3e4e7;
  color: #41444a;
}
.state-2 {
  background: #eee8f6;
  color: #55466c;
}
.state-3 {
  background: #e4edf8;
  color: #354f75;
}
.state-4 {
  background: #e2eeee;
  color: #335c59;
}
.state-5 {
  background: #faf0d6;
  color: #705729;
}
.state-6 {
  background: #f4e5e3;
  color: #7e4d47;
}
.state-7 {
  background: #e3efe6;
  color: #385a43;
}
#sync:empty {
  display: none;
}
output {
  padding: 11px;
  background: #f3f5f8;
  border-radius: 8px;
}
header form {
  margin: 0;
}
@media (max-width: 800px) {
  nav a {
    flex-shrink: 0;
    white-space: nowrap;
  }
  .admin {
    gap: 6px;
  }
  .avatar {
    width: 32px;
    height: 32px;
  }
}
@media (max-width: 600px) {
  .formgrid {
    grid-template-columns: 1fr;
  }
  header .avatar {
    display: none;
  }
  .customer-filters label {
    min-width: 0;
    flex-basis: 100%;
  }
}
.otp-qr {
  display: block;
  width: 200px;
  max-width: 100%;
  margin: 12px auto;
}
.login-card code {
  overflow-wrap: anywhere;
}
.login-card details {
  margin: 12px 0;
}
.login-card form + .button {
  margin-top: 12px;
}

.round-result {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
