/* Clean single-purpose sign-in card. Only affects the signed-out screen (#authGate). */
#authGate{padding:48px 20px 24px!important;gap:22px!important;background-image:none!important;justify-content:center}
#authGate .auth-brand img{width:180px!important}
#authGate #authPanelSlot{width:min(100%,400px)}
#authGate #cloudPanel{border-top:0!important;border-radius:18px!important;padding:28px!important}
#authGate h2{font-size:24px!important;margin:0 0 6px!important}
#authGate .auth-tagline{margin:0 0 6px;color:var(--muted);font-size:15px;line-height:1.55}
#authGate #cloudStatus{margin:0 0 18px;font-size:14px;line-height:1.5}
#authGate #cloudLogin{display:grid;gap:8px}
#authGate .auth-label{font-size:13px;font-weight:600;margin:6px 0 0}
#authGate .password-field{position:relative}
#authGate .password-field input{padding-right:52px!important}
#authGate #cloudLogin .password-toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:44px!important;min-height:44px;height:44px;padding:0;display:grid;place-items:center;background:none;border:0;border-radius:10px;color:var(--muted);cursor:pointer;box-shadow:none}
#authGate .password-toggle:hover{color:var(--text)}
#authGate .password-toggle .eye-closed,#authGate .password-toggle[aria-pressed=true] .eye-open{display:none}
#authGate .password-toggle[aria-pressed=true] .eye-closed{display:block}
#authGate #cloudLogin .btn{margin-top:10px}
#authGate #cloudLogin .forgot-link{background:none;border:0;box-shadow:none;color:var(--accent);font:inherit;font-size:14px;min-height:44px;width:auto!important;justify-self:center;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.auth-footer{text-align:center;font-size:13px;color:var(--muted);display:grid;gap:6px}
.auth-footer p{margin:0}
.auth-footer a,.auth-footer .link-btn{color:var(--muted);text-decoration:underline;text-underline-offset:3px}
.auth-footer-row{display:flex;justify-content:center;align-items:center;gap:18px}
.auth-footer .link-btn{background:none;border:0;padding:0;font:inherit;cursor:pointer;min-height:44px}
.auth-footer-row a{min-height:44px;display:inline-flex;align-items:center}
.auth-powered-line{font-size:11px;letter-spacing:.12em;text-transform:uppercase}
/* Signed in: the panel moves into Workspace settings; sign-in-only pieces hide. */
#cloudPanel:has(#cloudWorkspace:not([hidden])) :is(.auth-tagline,#cloudLogin){display:none}

#cloudRetry{margin:-8px 0 18px;min-height:44px}
#cloudRetry[hidden]{display:none!important}
