/* Scoped to account-journey screens; other forms retain their existing layout. */
.auth-journey { max-width: 680px; overflow-wrap: anywhere; }
.auth-journey [hidden] { display: none !important; }
.auth-journey-intro { margin: 0 0 28px; }
.auth-journey-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; display: grid; gap: 20px; }
.auth-journey-form label { display: grid; gap: 8px; }
.auth-journey-form input { min-width: 0; width: 100%; }
.auth-journey .button { max-width: 100%; min-height: 48px; white-space: normal; overflow-wrap: anywhere; }
.auth-journey-form fieldset > .button { width: 100%; }
.auth-journey-links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 20px 0; }
.auth-journey-links a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; }
.auth-journey-links a:not(.button) { text-decoration: underline; text-underline-offset: 3px; }
.auth-journey .form-result:empty { display: none; }
.auth-journey .form-result h2 { font-size: 1.35rem; line-height: 1.5; margin-top: 0; }
.auth-journey .form-result p { font-size: 1rem; line-height: 1.8; }
.auth-support-reference { margin-top: 20px; font-size: .85rem; }
.auth-support-reference code { display: block; margin-top: 8px; overflow-wrap: anywhere; }
@media (max-width: 559px) {
  .auth-journey-links { align-items: stretch; }
  .auth-journey .page-heading { padding-top: 28px; }
}
