.totem-kiosk-close {
  position: fixed;
  top: 8px;
  right: 8px;
  z-index: 2147483600;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: rgba(26, 38, 37, 0.08);
  color: #5c6e70;
  font: 20px/1 Inter, Montserrat, system-ui, sans-serif;
  cursor: pointer;
  user-select: none;
  touch-action: none;
}

.totem-kiosk-close:active {
  background: rgba(26, 38, 37, 0.16);
}

.totem-kiosk-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483700;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 26px;
  text-align: center;
  font-family: Inter, Montserrat, system-ui, sans-serif;
}

.totem-kiosk-overlay.is-open {
  display: flex;
}

.totem-kiosk-hold {
  flex-direction: column;
  background: rgba(10, 68, 68, 0.92);
}

.totem-kiosk-hold__count {
  color: #ffffff;
  font-size: 88px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.totem-kiosk-hold p {
  max-width: 320px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 1.4;
}

.totem-kiosk-closed {
  z-index: 2147483800;
  flex-direction: column;
  gap: 14px;
  background: #0a0f0f;
  overflow-y: auto;
}

.totem-admin-panel {
  width: min(100%, 560px);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: #132122;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
  color: #ffffff;
  text-align: left;
}

.totem-admin-panel__eyebrow {
  margin: 0;
  color: #a9c92d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.totem-admin-panel h2 {
  margin: 6px 0 8px;
  color: #ffffff;
  font-size: 26px;
  font-weight: 800;
}

.totem-admin-panel__intro {
  margin: 0 0 20px;
  color: #bdccca;
  font-size: 14px;
  line-height: 1.45;
}

.totem-admin-form {
  display: grid;
  gap: 11px;
}

.totem-admin-form label {
  color: #dce8e7;
  font-size: 13px;
  font-weight: 800;
}

.totem-admin-form input {
  width: 100%;
  border: 1px solid #506364;
  border-radius: 10px;
  padding: 12px 13px;
  background: #ffffff;
  color: #17282c;
  font: 600 15px/1.35 Inter, Montserrat, system-ui, sans-serif;
  user-select: text;
  -webkit-user-select: text;
}

.totem-admin-form input:focus {
  outline: 3px solid rgba(169, 201, 45, 0.34);
  border-color: #a9c92d;
}

.totem-admin-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 8px;
}

.totem-admin-button {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 11px 14px;
  background: #244143;
  color: #ffffff;
  font: 800 14px/1.25 Inter, Montserrat, system-ui, sans-serif;
  cursor: pointer;
}

.totem-admin-button--primary {
  border-color: #a9c92d;
  background: #687f13;
}

.totem-admin-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.totem-admin-status {
  min-height: 20px;
  margin: 0;
  color: #bdd0ce;
  font-size: 13px;
  line-height: 1.4;
}

.totem-admin-status.is-error {
  color: #ffb8b8;
}

.totem-admin-status.is-success {
  color: #cfe890;
}

.totem-kiosk-reopen {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.07);
  color: #8fb0ae;
  font: 700 12.5px/1.2 Inter, Montserrat, system-ui, sans-serif;
  cursor: pointer;
}

@media (max-width: 560px) {
  .totem-admin-panel { padding: 22px; }
  .totem-admin-actions { grid-template-columns: 1fr; }
}

.totem-kiosk-idle {
  background: rgba(26, 38, 37, 0.72);
}

.totem-kiosk-idle__box {
  width: min(100%, 340px);
  padding: 26px;
  border-radius: 16px;
  background: #ffffff;
}

.totem-kiosk-idle__count {
  color: #5e6b26;
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.totem-kiosk-idle h2 {
  margin: 12px 0 6px;
  color: #17282c;
  font-size: 19px;
}

.totem-kiosk-idle p {
  margin: 0;
  color: #5c6e70;
  font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
  .totem-kiosk-overlay,
  .totem-kiosk-close {
    transition: none !important;
  }
}
