.auth-page {
  min-height: 100vh;
  background: #f2f2f2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 48px;
}
.auth-brand {
  align-self: stretch;
  background: #1a1a1a;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 32px;
  color: #e9dbff;
  min-height: 500px;
}
.auth-card {
  max-width: 480px;
  width: 100%;
  padding: 32px;
}
.auth-card label {
  margin-top: 24px;
}
.auth-card h1 {
  font-size: 30px;
}
.auth-card .muted {
  font-size: 14px;
}
.result-modal {
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  width: min(600px, 94vw);
  padding: 24px;
  max-height: 90vh;
  color: #1a1a1a;
  font-family: Lexend, system-ui, sans-serif;
}
.result-modal::backdrop {
  background: #0008;
}
.result-modal textarea {
  width: 100%;
  font: inherit;
  font-size: 13px;
  padding: 12px;
  border: 1px solid #c9c9c9;
  border-radius: 8px;
  resize: vertical;
}
.qr-display {
  width: min(280px, 100%);
  margin: auto;
}
.qr-display svg {
  display: block;
  width: 100%;
  height: auto;
}
.customer-shell {
  max-width: 760px;
  margin: auto;
  display: grid;
  gap: 24px;
}
.customer-shell > .header {
  margin: 0;
}
.totem-shell .main {
  max-width: 1440px;
}
.totem-shell #tap-picker {
  pointer-events: none;
  background: #f2f2f2;
}
.section-gap {
  margin-top: 24px;
}
.check-label {
  display: flex;
  align-items: center;
  gap: 12px;
}
.check-label input {
  width: 20px;
  height: 20px;
  min-height: 20px;
  accent-color: #6929c2;
}
.row-actions {
  display: flex;
  gap: 8px;
}
.row-actions button {
  font-size: 11px;
  padding: 8px;
  min-height: 36px;
  white-space: nowrap;
}
.device-choice {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}
.row-actions + .row-actions {
  margin-top: 8px;
}
.main > .panel + .panel {
  margin-top: 24px;
}
.side {
  overflow-y: auto;
}
.side .nav {
  margin-bottom: 4px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.side .brand {
  flex-shrink: 0;
  margin-bottom: 16px;
}
.side .operator-button {
  flex-shrink: 0;
}
.topbar .logout-top {
  margin-left: auto;
  background: #e9dbff;
  color: #1a1a1a;
  font-size: 12px;
  min-height: 36px;
}
.totem-shell .kioskcontent {
  min-height: 640px;
}
@media (max-width: 760px) {
  .auth-page {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 24px;
    align-content: center;
  }
  .auth-brand {
    min-height: 160px;
    border-radius: 16px;
    gap: 12px;
  }
  .auth-brand p {
    font-size: 13px;
  }
  .auth-card {
    max-width: none;
    padding: 24px;
  }
  .side {
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
  }
  .side .nav {
    min-width: 76px;
    width: 76px;
    flex: 0 0 76px;
    font-size: 9px;
    padding: 4px 2px;
    margin: 0;
  }
  .side .nav span:last-child {
    max-width: 74px;
  }
  .side .brand {
    display: none;
  }
  .main {
    padding-bottom: 120px;
  }
  .totem-shell .main {
    padding-bottom: 24px;
  }
  .result-modal {
    padding: 16px;
  }
  .check-label {
    font-size: 12px;
  }
  .auth-card h1 {
    font-size: 26px;
  }
  .fields {
    grid-template-columns: 1fr;
  }
  .topbar .logout-top {
    padding: 8px;
  }
  .totem-shell .kioskcontent {
    min-height: 0;
  }
}
.operator-button + .operator-button {
  margin-top: 8px;
}
