/* Selected phone-first composition, adapted to actually configured live methods. */
.auth-glass{color:#132b45;background:#ffffffe6;border:1px solid white;border-radius:28px;box-shadow:0 12px 36px #132b4515,inset 0 1px white;padding:24px;box-sizing:border-box}
@supports(backdrop-filter:blur(1px)){.auth-glass{background:#ffffffd6;backdrop-filter:blur(16px) saturate(1.1);-webkit-backdrop-filter:blur(16px) saturate(1.1)}}
.auth-brand{text-align:center;margin:0 auto 22px}.auth-brand img{display:block;width:140px;height:74px;object-fit:contain;margin:0 auto 18px}.auth-brand h2{font:700 24px/1.5 'Himoola Arabic',Arial,sans-serif;margin:0 0 6px;color:#132b45}.auth-brand p{font-size:15px;line-height:1.6;color:#52667b;margin:0}
.auth-glass input{background:#fff!important;color:#132b45;border:1px solid #cbd9e5;border-radius:16px;min-height:52px;width:100%;padding:12px;font:inherit;box-sizing:border-box}.auth-glass label{display:block;font-size:15px;line-height:1.6;margin:12px 0}.auth-glass .btn,.auth-primary{min-height:50px;border-radius:16px;background:#132b45;color:#fff;border:0;display:flex;align-items:center;justify-content:center;width:100%;font:700 16px/1.5 'Himoola Arabic',Arial,sans-serif;padding:12px;text-decoration:none;box-sizing:border-box}.auth-glass .btn:disabled{opacity:.55}.auth-glass .auth-provider{display:flex;align-items:center;justify-content:center;gap:10px;background:#fff;color:#132b45;border:1px solid #d0dce6;border-radius:16px;min-height:48px;padding:10px;font:inherit;text-decoration:none}.auth-provider svg{width:24px;height:24px;flex:none}.auth-provider-row{display:flex;justify-content:center;gap:10px;margin:14px 0;flex-wrap:wrap}.auth-browse{display:block;text-align:center;color:#52667b;font-size:14px;line-height:1.6;padding:12px;background:none;border:0;margin:8px auto 0;min-height:44px;text-decoration:none}.auth-availability{font-size:14px;line-height:1.7;text-align:center;color:#52667b}.auth-glass :focus-visible{outline:3px solid #b44b13;outline-offset:3px}
body.account-page.auth-entry-page{background:linear-gradient(#fff,#eaf2fa);min-height:100dvh}.account-page.auth-entry-page .workspace{display:block;min-height:100dvh;background:none}.account-page.auth-entry-page :is(.topbar,.pilot-note,.page-head,footer),.account-page.auth-entry-page .account-main>p:not(#account-status){display:none}.account-page.auth-entry-page .account-main{max-width:460px;padding:24px 12px 36px;margin:auto}.account-page.auth-entry-page .account-panel{margin:0;padding:24px;border:1px solid white;box-shadow:0 12px 36px #132b4515}.account-page.auth-entry-page #account-content{display:block}.account-page.auth-entry-page #account-status{font-size:14px;text-align:center}.account-page.auth-entry-page #refresh{display:block;margin:0 auto 12px;padding:5px 12px;min-height:44px;font-size:13px;background:none;color:#52667b;border:0}.account-page.auth-entry-page .account-panel>h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.account-page.auth-entry-page .account-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:16px}.account-page.auth-entry-page .account-panel>p{font-size:14px;line-height:1.6}.account-page.auth-entry-page .auth-brand h2{font-size:24px}.account-page.auth-entry-page .auth-brand p{font-size:15px}
#email-form[data-auth-phase=email] label:has([name=code]),#email-form[data-auth-phase=email] #verify-code,#email-form[data-auth-phase=otp] label:has([name=displayName]),#email-form[data-auth-phase=otp] #request-code{display:none}#email-form[data-auth-phase=email] label:has([name=displayName]){font-size:13px}#email-form[data-auth-phase=email] label:has([name=displayName]) input{min-height:42px}#email-form[data-auth-phase=otp] [name=email]{background:#f3f6fa!important}
body dialog.auth-context-dialog{position:fixed;inset:0;margin:auto;width:min(390px,calc(100% - 28px));height:max-content;max-height:calc(100dvh - 32px);padding:0;border:1px solid white;border-radius:28px;background:#ffffffd9;box-shadow:0 20px 60px #132b4533;overflow:auto;overscroll-behavior:contain;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}body dialog.auth-context-dialog::backdrop{background:#132b4548;backdrop-filter:blur(3px)}.auth-context-dialog .modal-head{background:transparent;border:0;padding:12px 14px 0;justify-content:flex-end;position:static}.auth-context-dialog .modal-head h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.auth-context-dialog .modal-body{padding:4px 20px 18px}.auth-context-dialog .auth-brand{margin-bottom:16px}.auth-context-dialog .auth-brand img{width:104px;height:55px;margin-bottom:14px}.auth-context-dialog .auth-brand h2{font-size:21px}.auth-context-dialog .auth-brand p{font-size:15px}.auth-context-dialog .auth-glass{padding:0;border:0;background:transparent;box-shadow:none;backdrop-filter:none}.auth-context-dialog .auth-provider-row a{flex:1}.auth-context-dialog .auth-browse{width:100%}.auth-phone{display:flex;direction:ltr;align-items:center;border:1px solid #cbd9e5;border-radius:16px;background:white;padding-left:14px;gap:8px}.auth-phone input{border:0;min-width:0;direction:ltr}.auth-phone span{font:16px Arial;color:#132b45}
@media(max-width:350px){.account-page.auth-entry-page .account-panel{padding:20px}.auth-brand h2{font-size:22px}}
@media(prefers-reduced-transparency:reduce){.auth-glass,body dialog.auth-context-dialog{background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none}body dialog.auth-context-dialog::backdrop{backdrop-filter:none}}

.guest-home #modal.auth-context-dialog{animation:none;transform:none}
.account-page.auth-entry-page .account-main{display:flex;flex-direction:column}.account-page.auth-entry-page #account-content{order:1}.account-page.auth-entry-page #account-status{order:2}.account-page.auth-entry-page #refresh{order:3}.account-page.auth-entry-page #email-form :is(#request-code,#verify-code),body .auth-glass .auth-primary{background:#132b45;color:white;border:0}.account-page.auth-entry-page #email-form input{border:1px solid #cbd9e5;border-radius:16px;font-weight:400}.account-page.auth-entry-page #email-form label{font-size:15px;font-weight:400}.account-page.auth-entry-page #account-security .auth-provider{flex:1;width:auto;min-width:0;background:white;border:1px solid #d0dce6;color:#132b45;font-size:14px}.account-page.auth-entry-page #email-form[data-auth-phase=otp] .auth-optional-name{display:none}body .auth-glass .auth-phone input{border:0;border-radius:16px}body .auth-glass .auth-browse{background:transparent;color:#52667b;border:0}.auth-optional-name{font-size:13px;line-height:1.6;margin:12px 0;color:#52667b}

#email-form[data-auth-phase=email] .auth-change-email{display:none}.account-page.auth-entry-page #email-form .auth-change-email{font-size:13px;background:none;border:0;color:#52667b}

.auth-glass .auth-provider[hidden]{display:none}
/* Preserve account.css's static header so focused profile controls stay reachable at zoom. */
.account-page:not(.auth-entry-page) .topbar{position:static}
.account-page.auth-entry-page #account-security{display:flex;flex-wrap:wrap;gap:10px}.account-page.auth-entry-page #account-security .auth-provider{flex:1 1 0;width:auto}

/* Auth-only provider controls: equal touch targets, readable unavailable state. */
.auth-glass .auth-provider-row,.auth-glass .journey-disabled-providers{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:14px 0}
.auth-glass .auth-provider,.account-page.auth-entry-page #account-security .auth-provider{min-height:52px;width:100%;padding:12px;gap:10px;border:1px solid #747775;background:#fff;color:#1f1f1f;opacity:1;line-height:1.5}
.auth-glass .auth-provider:disabled{cursor:not-allowed;border-style:dashed;color:#52667b;background:#fff;opacity:1}
.auth-provider small{display:block;font-size:12px;font-weight:400;color:#52667b;margin-top:2px}
.auth-provider svg,.auth-primary svg{width:20px;height:20px;flex:none;background:white;border-radius:2px}
.auth-primary{gap:10px}.auth-primary svg{background:transparent}
.auth-glass label>svg{width:20px;height:20px;vertical-align:middle;margin-inline-end:8px}
.auth-email-help{display:block;font-size:12px;line-height:1.7;color:#52667b;margin-top:6px}

.auth-glass .auth-provider,.account-page.auth-entry-page #account-security .auth-provider{min-height:64px}.auth-provider .auth-provider-mark{display:block;width:40px;height:40px;flex:none;object-fit:contain}

/* Full official circle: 24px mark plus 8px clear space on every side. */
.auth-provider .auth-provider-mark-facebook{width:24px;height:24px;margin:8px}
