/* A code from Share (signincode.js): a quiet link under Clerk's form that
 * opens a two-step form; for an Apple address it sits above Clerk's form,
 * open, under a note saying why. Its fields and buttons match Clerk's
 * flattened ones (auth.js clerkAppearance): square, 48px, a quiet hairline. */
.gate-code {
  display: grid;
  gap: var(--sv-space-2);
  color: var(--sv-ink-secondary);
  font-size: 13px;
  text-align: center;
}
.gate-code-link {
  min-height: 44px;
  padding: 0 var(--sv-space-2);
  color: var(--sv-ink-secondary);
  background: none;
  border: 0;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.gate-code-link:hover { color: var(--sv-ink); }
.gate-code-apple {
  margin: 0;
  color: var(--sv-ink);
  font-size: 14px;
  text-align: left;
}
.gate-code-panel,
.gate-code-step {
  display: grid;
  gap: var(--sv-space-3);
  text-align: left;
}
.gate-code-step input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid var(--sv-hairline);
  border-radius: 0;
}
.gate-code-step .primary {
  min-height: 48px;
  border-radius: 0;
}
.gate-code-step .primary:disabled { opacity: .6; cursor: progress; }
.gate-code-digits {
  font-family: var(--sv-font-mono);
  font-size: 1.25rem;
  letter-spacing: .3em;
}
.gate-code :is(input, button):focus-visible {
  outline: 2px solid var(--sv-ink-secondary);
  outline-offset: 2px;
}
.gate-code-step p,
.gate-code-status { margin: 0; }
.gate-code-status:empty { display: none; }
.gate-code-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 var(--sv-space-4);
}
