.auth-shell, .auth-shell > *, .auth-panel, .google-auth, .google-auth-button { min-width: 0; }
.auth-panel { max-width: 100%; }
.auth-panel h1 { font-size: 26px; letter-spacing: -.04em; line-height: 1.25; margin-bottom: 8px; }
.auth-copy h2 { font-size: clamp(34px, 4vw, 49px); letter-spacing: -.055em; line-height: 1.13; max-width: 490px; }
.google-auth { width: 100%; margin-top: 8px; }
.google-auth-button { display: flex; justify-content: center; width: 100%; min-height: 44px; }
.google-auth-button, .google-auth-button iframe { color-scheme: light; background: transparent; }
.google-auth-note { margin-top: 16px; color: var(--text-muted); font-size: 13px; line-height: 1.6; }
.google-auth-status { color: var(--text-mid); font-size: 13px; line-height: 1.6; margin: 12px 0; }
.google-auth-status.is-error { color: var(--danger); }
.auth-legacy { border-top: 1px solid var(--border); margin-top: 25px; padding-top: 18px; }
.auth-legacy summary { color: var(--text-mid); cursor: pointer; font-size: 13px; font-weight: 600; padding: 4px 0; }
.auth-legacy[open] summary { margin-bottom: 18px; }
.google-account-shell { max-width: 500px; margin: 40px auto 70px; padding: 0 20px; }
.google-readonly { background: var(--surface-alt); color: var(--text-mid); }
.google-account-email, .google-link-account { overflow-wrap: anywhere; }
.google-account-email { background: var(--accent-soft); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; color: var(--text); font-weight: 600; }
.google-link-account { margin-bottom: 22px; color: var(--text-muted); font-size: 13px; }
.google-link-account strong { display: block; color: var(--text); font-size: 14px; margin-top: 3px; }
@media (max-width: 540px) {
  .google-account-shell { margin-top: 20px; padding: 0 18px; }
  .auth-panel h1 { font-size: 24px; }
}
