.dispatch-signup-required {
  overflow: hidden;
}

.dispatch-signup-required .app-shell {
  pointer-events: none;
  user-select: none;
}

.dispatch-signup {
  position: fixed;
  inset: 0;
  z-index: 5200;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 24px 18px;
  background: linear-gradient(rgba(18, 36, 28, 0.42), rgba(18, 36, 28, 0.56)),
    url("signup-preview.png") center / cover no-repeat;
}

.dispatch-signup-card {
  width: min(460px, 100%);
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.dispatch-signup-card h2 {
  margin: 8px 0 12px;
  font-size: 26px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.dispatch-signup-copy {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.dispatch-signup-card label {
  display: block;
  margin: 14px 0 6px;
  font-size: 13px;
  font-weight: 700;
}

.dispatch-signup-card input {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 9px 11px;
  border: 1px solid #bfcac3;
  border-radius: 4px;
  background: #ffffff;
  color: var(--ink);
}

.dispatch-signup-card button {
  width: 100%;
  min-height: 44px;
  margin-top: 22px;
  padding: 10px 14px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.dispatch-signup-card button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.dispatch-signup-card :is(input, button):focus-visible {
  outline: 2px solid #236c9b;
  outline-offset: 3px;
}

.dispatch-signup-error {
  min-height: 18px;
  margin-top: 12px;
  color: #a33024;
  font-size: 13px;
  line-height: 1.4;
}

@media (max-width: 480px) {
  .dispatch-signup-card {
    padding: 22px;
  }
}
