.view-hidden {
  display: none;
}

.admin-login {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}

.admin-login-brand {
  min-height: 96px;
  display: grid;
  place-items: center;
}

.admin-login-logo {
  width: 96px;
  height: 96px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.admin-login-name {
  margin: 0;
  font-size: var(--fs-brand-login);
  line-height: var(--lh-tight);
  font-weight: 600;
  color: var(--ink);
}

.salon-admin .layout {
  min-height: 80vh;
}

.admin-shell-header {
  margin: 30px 0;
}

.salon-admin .admin-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 16px;
  min-height: 70vh;
  align-items: start;
}

.admin-sidebar-title {
  margin: 0;
}

.admin-sidebar-brand {
  place-items: start;
  min-height: 0;
}

.admin-sidebar-brand .admin-login-logo {
  width: 84px;
  height: 84px;
}

.admin-sidebar-brand .admin-login-name {
  font-size: var(--fs-brand-sidebar);
}

#balance-status {
  margin: 0;
  min-height: 0;
  color: var(--ink);
  font-weight: 600;
  line-height: var(--lh-tight);
}

.salon-admin .label {
  color: var(--ink);
  font-weight: 600;
}

.layout.service-disabled {
  opacity: 0.52;
  pointer-events: none;
  user-select: none;
}

.content {
  min-width: 0;
}

.qr-box {
  width: min(360px, 100%);
  aspect-ratio: 1 / 1;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
}

#qr-list .qr-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
}

#audit-list .audit-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
}

.attempt-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.attempt-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.photo-btn {
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  display: inline-grid;
  place-items: center;
}

.result-modal[hidden] {
  display: none;
}

.result-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: grid;
  place-items: center;
  padding: 16px;
  z-index: 3000;
}

.result-modal-card {
  width: min(520px, 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: var(--field-bg);
}

#result-img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

@media (max-width: 860px) {
  .salon-admin .admin-shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .admin-shell-header {
    margin: 30px 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
  }

}
