/* Account-only layout; checkout keeps its own stepped layout. */
body { min-height: 100vh; display: flex; flex-direction: column; }
.account-shell { flex: 1; padding-top: 72px; padding-bottom: 72px; }
.account-shell .account-signin {
  max-width: 460px; margin: 0 auto; padding: 40px 32px;
  border: 1px solid var(--site-line); border-radius: 14px;
  background: var(--site-white); text-align: center;
}
.account-signin .step-title { justify-content: center; margin-bottom: 28px; }
.account-signin h1 { font-size: 32px; letter-spacing: -1px; margin: 0; }
.account-signin #google-login { display: flex; justify-content: center; min-height: 44px; }
/* Google's markup can arrive before its stylesheet. Bound the logo immediately. */
.account-shell #google-login svg, .account-shell #rebind-google svg,
.account-shell #google-login img, .account-shell #rebind-google img {
  width: 20px; height: 20px; max-width: 20px; max-height: 20px; flex-shrink: 0;
}
.account-signin .status { margin: 20px 0 0; }
.signin-divider { display: flex; align-items: center; gap: 16px; margin: 26px 0; font-size: 14px; color: var(--site-muted); }
.signin-divider::before, .signin-divider::after { content: ''; flex: 1; height: 1px; background: var(--site-line); }
#email-signin form { text-align: left; }
#email-signin input { box-sizing: border-box; width: 100%; min-width: 0; padding: 12px; border: 1px solid var(--site-line); border-radius: var(--checkout-radius); background: var(--site-white); color: var(--site-ink); font: inherit; }
#email-signin .btn { width: 100%; justify-content: center; margin-top: 16px; }
#email-signin button:disabled { opacity: .55; cursor: not-allowed; }
#email-signin .email-actions { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; }
#email-signin .text-button { margin-left: 0; }
#email-destination { overflow-wrap: anywhere; }
#signin-code { letter-spacing: .3em; }
.auth-link { display: block; text-align: center; margin-top: 16px; font-size: 14px; text-underline-offset: 3px; }
.secondary-link { color: var(--site-muted); font-size: 13px; }
#registration-form > label:not(.show-password), #password-form > label { margin-top: 16px; }
#registration-form > label:first-child, #password-form > label:first-child { margin-top: 0; }
.password-label-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin-top: 16px; }
.password-label-row > label { margin-bottom: 8px; }
#email-signin #register-submit { margin-top: 40px; }
#registration-form > .auth-link { margin-top: 28px; }
#signin-choices { max-width: 320px; margin: 0 auto; }
#email-signin #signin-choices > .btn { min-height: 44px; font-size: 14px; padding: 12px; border-radius: 4px; }
#email-signin #signin-choices > .auth-link { margin-top: 24px; }
#email-signin .show-password { display: flex; align-items: center; gap: 8px; font-weight: 400; font-size: 13px; }
#email-signin .show-password input { width: auto; }
#password-guidance { margin: 10px 0; }
#email-link-form .btn { width: 100%; justify-content: center; }
.account-shell.is-registering { padding-top: 32px; }
.account-shell.is-signed-in { padding-top: 40px; }
.is-signed-in .account-signin { max-width: none; padding: 0 0 24px; border: 0; border-bottom: 1px solid var(--site-line); border-radius: 0; background: transparent; text-align: left; }
.is-signed-in .account-signin .step-title { justify-content: space-between; margin-bottom: 12px; }
.is-signed-in #user-name { margin-bottom: 0; }
.site-footer { margin-top: 0; }
@media (max-width: 600px) {
  .account-shell { padding-top: 40px; padding-bottom: 48px; }
  .account-shell .account-signin { padding: 32px 20px; }
  .is-signed-in .account-signin { padding: 0 0 24px; }
}
