/**
 * Minimal host geometry retained for the live notify, identity,
 * pending-grant, and Stripe overlays during the shell cutover.
 * Product-facing shell panels use their own stylesheets.
 */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
}

#notify-backdrop {
  z-index: 13000;
}

.modal {
  width: 420px;
  max-width: 95vw;
  padding: 18px;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.modal h3 {
  margin: 0 0 12px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.field {
  margin: 10px 0;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted-text);
  font-size: 13px;
  text-transform: uppercase;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  color: var(--muted-text);
  font-size: 22px;
  cursor: pointer;
}

.danger-note {
  margin-top: 6px;
  color: var(--danger);
  font-size: 12px;
  font-style: italic;
  font-weight: 700;
}

.availability {
  margin-top: 6px;
  font-size: 12px;
}

.availability.ok {
  color: #81c784;
}

.availability.bad {
  color: var(--danger);
}

.lobby-overlay-host {
  position: fixed;
  inset: 0;
  z-index: 1250;
  overflow: visible;
  pointer-events: none;
}
