/* Passkeys + email sign-in codes on /login and /signup (site/access.js, Leda 2026-09-29). Uses auth.css tokens. */
.alt-signin { display: grid; gap: 10px; margin-top: 14px; }
.alt-signin .or { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 13px; }
.alt-signin .or::before, .alt-signin .or::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.alt-btn {
  width: 100%; min-height: 50px; border-radius: 14px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--chip-bg); color: var(--text); border: 1px solid var(--line-2);
  font: 650 15.5px var(--sh-font); letter-spacing: -0.01em;
  transition: background .15s ease, border-color .15s ease, transform .1s ease;
}
.alt-btn:hover { border-color: var(--field-hover); }
.alt-btn:active { transform: translateY(1px); }
.alt-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.alt-btn svg { color: var(--blue-text); flex: none; }
.alt-btn.is-loading { opacity: .7; cursor: progress; }
.alt-btn[hidden] { display: none; }
.link-btn {
  display: inline-block; min-height: 44px; padding: 10px 6px; border: 0; background: none; cursor: pointer;
  color: var(--blue-text); font: 600 14.5px var(--sh-font); justify-self: center;
}
.link-btn:hover { text-decoration: underline; }
.link-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 8px; }

/* The code panel and the passkey offer replace the form in place. */
.card.code-mode > :not(.code-panel),
.card.offer-mode > :not(.offer-panel) { display: none !important; }
.code-panel h2, .offer-panel h2 { margin: 0; font-size: 26px; line-height: 1.15; font-weight: 800; letter-spacing: -0.03em; }
.code-panel .sub, .offer-panel .sub { margin: 10px 0 18px; color: var(--muted); font-size: 15.5px; overflow-wrap: anywhere; }
.code-panel .card-head { margin-bottom: 4px; }
.code-panel .code-input { letter-spacing: .3em; font-size: 20px; text-align: center; }
.code-panel .code-hint { margin-top: 12px; text-align: center; }
.code-panel .foot { margin-top: 8px; }
.offer-panel { text-align: center; animation: pop-in .28s var(--ease) both; }
.offer-panel .offer-icon {
  display: inline-grid; place-items: center; width: 60px; height: 60px; margin: 2px auto 16px; border-radius: 18px;
  color: #fff; background: linear-gradient(180deg, #1877F2 0%, #0866FF 100%);
  box-shadow: 0 14px 30px -14px rgba(8, 102, 255, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.offer-panel .offer-icon svg { width: 28px; height: 28px; }
.offer-panel .alt { margin: 6px 0 0; }
