/* Auth-only appearance layer. Shared bootstrap resolves System before first paint. */
.auth-icon-light{display:none}
.auth-pending-status{font-size:13px;line-height:1.5;overflow-wrap:anywhere}
:root[data-theme="light"] .auth-icon-dark{display:none}
:root[data-theme="light"] .auth-icon-light{display:block}
:root[data-theme="light"] body{background:#f3f6fa;color:#172b3a}
:root[data-theme="light"] main{background:#fff;border-color:#cbd5e1;box-shadow:0 24px 80px #18324718}
:root[data-theme="light"] .brand{color:#263e4c}:root[data-theme="light"] .close{color:#526472}:root[data-theme="light"] .close:hover{background:#edf2f7;color:#172b3a}
:root[data-theme="light"] p,:root[data-theme="light"] .intro{color:#425466}
:root[data-theme="light"] button,:root[data-theme="light"] a.provider{background:#fff;color:#172b3a;border-color:#81909e}
:root[data-theme="light"] .google-provider{background:#fff;color:#1f1f1f;border-color:#747775}
:root[data-theme="light"] button:hover,:root[data-theme="light"] a.provider:hover{background:#edf3f7;border-color:#526777}:root[data-theme="light"] button:active,:root[data-theme="light"] a.provider:active{background:#e0eaf1}
:root[data-theme="light"] a,:root[data-theme="light"] .secondary{color:#185576}
:root[data-theme="light"] .email-form input{background:#fff;color:#172b3a;border-color:#81909e}:root[data-theme="light"] .email-form input::placeholder{color:#607080}
:root[data-theme="light"] .email-form .email-continue{background:#245d76;color:#f5fbff;border-color:#57899f}:root[data-theme="light"] .email-form .email-continue:hover{background:#2d708c;border-color:#78abc2}:root[data-theme="light"] .email-form .email-continue:active{background:#1b4c63}
:root[data-theme="light"] .divider,:root[data-theme="light"] .code-hint,:root[data-theme="light"] small{color:#526472}:root[data-theme="light"] .divider:before,:root[data-theme="light"] .divider:after{background:#c5ced6}
:root[data-theme="light"] .code-error{color:#a32432}:root[data-theme="light"] .sandbox-note{color:#795900}
:root[data-theme="light"] .legal{border-color:#cbd5e1;color:#526472}:root[data-theme="light"] .legal a{color:#185576}
:root[data-theme="light"] .beta-notice{background:#f2f7fa;border-color:#b2c5d1;color:#263e4c}:root[data-theme="light"] .beta-notice strong{color:#172b3a}:root[data-theme="light"] .beta-notice p{color:#425466}:root[data-theme="light"] .beta-notice a{color:#185576}
:root[data-theme="light"] .phone-icon-bubble{fill:#fff}:root[data-theme="light"] .provider:hover .phone-icon-bubble{fill:#edf3f7}
.auth-appearance{display:flex;justify-content:center;margin-top:24px}.auth-appearance[hidden]{display:none}

.auth-pending-status[data-auth-state=pending]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.providers form[aria-busy=true] button,.email-form[aria-busy=true] button{opacity:.7;cursor:progress}

/* Keep authentication controls ahead of notices, with room for email. */
body{padding:20px 12px}
main{padding:28px 28px 24px}
.brand{margin-bottom:18px}
.intro{margin:12px auto 18px}
.providers{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin:18px 0}
.providers button,.providers a.provider{height:100%;min-height:48px;padding:10px 12px;gap:8px;font-size:14px}
.providers form{min-width:0;flex:none}
.divider{margin:16px 0}
.email-form{gap:10px;margin-top:14px}
.email-form input,.email-form button{min-height:48px;padding:10px 16px}
.legal{margin-top:18px;padding-top:14px}
.auth-appearance{margin-top:18px}
@media(max-width:420px){main{padding:30px 18px 22px}.providers{gap:8px}}

/* Symbol buttons retain full action labels for assistive technology and hover. */
.providers .provider-symbol{position:relative;inline-size:48px;block-size:48px;min-height:48px;padding:0;flex:none}
.provider-symbol .provider-label{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.providers .microsoft-provider{inline-size:auto;padding:10px 14px}
.microsoft-signin{display:flex;justify-content:center;margin:0 0 18px}
.microsoft-signin button{width:auto;min-height:48px;padding:10px 18px;gap:10px;font-size:14px}
.microsoft-signin[aria-busy=true] button{opacity:.7;cursor:progress}
.auth-sr-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

/* Keep the shared wordmark readable within the sign-in card. */
main>a.brand{font-size:18px;line-height:1.4;gap:9px}main>a.brand .brand-mark{width:32px;height:32px}
