
/* Scoped sign-in clarity; retain full-size, untampered Google verification. */
.ms-auth-challenge{scroll-margin-block-start:120px;scroll-margin-block-end:24px;min-width:0;max-width:100%;margin:0!important;padding:8px!important;border:1px solid #6b8878;border-radius:12px;background:#f4f7f2;box-shadow:none!important}
.ms-auth-challenge-message{margin:0 0 6px!important;font-size:14px!important;line-height:1.55!important;font-weight:600!important;color:#173f33!important}
.ms-auth-challenge .account-auth-captcha,.ms-auth-challenge #phone-recaptcha{max-width:100%;margin:0!important;padding:0;transform:none!important;transform-origin:initial!important;direction:ltr}
.ms-login-permissions{font-size:15px!important;line-height:1.55!important;margin-block:6px!important;font-weight:500!important}
.ms-login-permissions>label{font-size:15px!important;line-height:1.55!important;font-weight:500!important;min-height:44px;padding-block:3px!important;gap:8px!important;align-items:flex-start!important}
.ms-login-permissions input[type=checkbox]{margin-top:4px!important;width:20px!important;height:20px!important}
.ms-login-permissions details{margin:2px 0!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important}
.ms-login-permissions details>summary{display:flex!important;align-items:center!important;min-height:44px!important;padding:4px 0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font-size:14px!important;line-height:1.5!important;color:#174b3b!important;text-decoration:underline;text-underline-offset:3px}
.ms-login-permissions details>p{font-size:14px!important;line-height:1.65!important;margin:4px 0!important}
.ms-account-flow .ap-login{margin-block:16px!important}.ms-account-flow .ap-auth{padding:20px 24px!important}
.ms-account-flow .ap-form,.ms-account-flow .phone-auth #phone-form,.ms-account-flow .phone-auth #otp-form{gap:12px!important}
.ms-account-flow .ap-auth>.ap-note,.ms-account-flow .phone-auth>.sub{margin-bottom:12px!important;line-height:1.6!important}
.ms-account-flow .ap-auth-top,.ms-account-flow .phone-auth-top{margin-bottom:8px!important}
.ms-account-flow #main>.canvas:has(>.phone-auth){padding:20px 24px!important}
.ms-account-flow .phone-auth #phone-hint{margin:4px 0!important;font-size:14px!important;line-height:1.55!important}
.ms-account-flow .phone-auth .auth-real-note{margin-block:8px 0!important;font-size:13px!important;line-height:1.6!important}
.ms-account-flow .phone-auth #phone-form>.spaced{margin-top:0!important}
.ms-account-flow .ap-auth .ms-whatsapp-fallback,.ms-account-flow .phone-auth .ms-whatsapp-fallback{padding:12px!important;margin-top:12px!important}
.ms-account-flow :is(.ap-auth,.phone-auth) .ms-whatsapp-fallback p{margin:4px 0!important}.ms-whatsapp-fallback p:empty{display:none!important}
@media(max-width:600px){.ms-account-flow .ap-auth,.ms-account-flow #main>.canvas:has(>.phone-auth){padding:16px!important}.ms-account-flow .ap-shell{padding-block:16px 28px!important}}

/* The absolute language panel must escape its trigger wrapper. Scroll the panel only. */
html body.ms-account-flow #account-language-menu{overflow:visible!important;max-height:none!important}
html body.ms-account-flow #account-language-panel{max-height:min(560px,70vh);overflow-y:auto;overscroll-behavior:contain}
