/* Sign-in dialog, clean v1 (2026-11-12): one compact column like login.html.
   Layout and size only; markup, ids and the MFA steps are unchanged. */
/* Same width as the two-step card (mfa-code-boxes-v1.js); height is its own. */
#authDialog.auth-dialog { width: min(440px, calc(100vw - 32px)); max-width: none; border-radius: 20px; box-sizing: border-box; }
#authDialog .auth-layout { grid-template-columns: 1fr; min-height: 0; }
#authDialog .auth-brand { display: none; }
#authDialog .auth-panel { padding: 24px 28px 26px; }
#authDialog .dialog-head { align-items: center; margin-bottom: 18px; }
#authDialog .dialog-head .section-kicker { display: none; }
#authDialog #authDialogTitle { margin: 0; font: 800 22px/1.25 Manrope, sans-serif; letter-spacing: -.03em; }
#authDialog #closeAuth { width: 36px; height: 36px; min-height: 36px; border-color: transparent; border-radius: 10px; background: transparent; font-size: 20px; }
#authDialog #closeAuth:hover { background: #f2f5fc; }
#authDialog .auth-setup-note.configured { display: none; }
#authDialog .auth-setup-note { margin-bottom: 16px; }
#authDialog .apple-button,
#authDialog .google-button { min-height: 44px; font-size: 15px; font-weight: 700; }
#authDialog .google-button span { width: 20px; height: 20px; font-size: 12px; }
#authDialog .auth-divider { margin: 16px 0 14px; font-size: 12px; }
#authDialog #emailAuthForm { padding: 0; }
@media (pointer: coarse) { #authDialog #closeAuth { width: 44px; height: 44px; } }
#authDialog .auth-agreement { margin: 16px 0 0; font-size: 12px; line-height: 1.45; text-align: center; }
#authDialog .auth-message:empty { display: none; }

/* Welcome choice, clean v1: brand, one line, two clear choices. */
#welcomeDialog.welcome-dialog { width: min(400px, calc(100% - 24px)); padding: 32px 28px 22px; border-radius: 20px; text-align: center; }
#welcomeDialog .welcome-brand { justify-content: center; gap: 9px; margin-bottom: 22px; font-size: 19px; }
#welcomeDialog .welcome-brand img { width: 32px; height: 32px; border-radius: 9px; }
#welcomeDialog h2 { margin: 0; font: 800 24px/1.2 Manrope, sans-serif; letter-spacing: -.03em; }
#welcomeDialog > p { margin: 8px 0 0; font-size: 15px; line-height: 1.45; }
#welcomeDialog .welcome-options { grid-template-columns: 1fr; gap: 10px; margin: 24px 0 18px; }
#welcomeDialog .welcome-option { min-height: 48px; padding: 10px 16px; align-items: center; justify-content: center; gap: 2px; border-radius: 12px; text-align: center; }
#welcomeDialog .welcome-option strong { font-size: 15px; font-weight: 700; }
#welcomeDialog .welcome-option span { margin: 0; font-size: 12px; }
#welcomeDialog .primary-option { min-height: 50px; box-shadow: 0 1px 2px rgba(40,92,244,.25); }
#welcomeDialog .welcome-links { justify-content: center; gap: 18px; font-size: 13px; }
#welcomeDialog .welcome-links a { text-decoration: none; }
#welcomeDialog .welcome-links a:hover { text-decoration: underline; }
