.account-pending .topbar,.account-pending .app-shell{visibility:hidden;pointer-events:none}
#account-gate{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:24px;background:#181a1d}
#account-gate[hidden]{display:none}
#account-gate-content{width:min(100%,360px)}
.account-brand{display:grid;place-items:center;width:44px;height:44px;margin-bottom:24px;border:1px solid #467386;border-radius:6px;color:#96d4f4;background:#193440;font-size:28px}
#account-gate h1{font-size:24px;line-height:1.3;margin:0 0 12px;font-weight:550}
#account-gate p{font-size:13px;line-height:1.7;color:#abb4be;overflow-wrap:anywhere}
#account-gate label,#account-dialog label{display:block;margin:18px 0;color:#bfc8d1;font-size:12px}
#account-gate input,#account-dialog input,#account-dialog select{display:block;width:100%;height:40px;margin-top:8px;padding:8px 10px;border:1px solid #525a64;border-radius:4px;background:#191c20;color:#e1e7ed;font:inherit}
.account-primary,.account-secondary,.account-danger{display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 14px;border-radius:4px;font-size:12px;text-decoration:none;cursor:pointer}
.account-primary{width:100%;background:#c0dceb;color:#172a35;border:1px solid #c0dceb}
.account-secondary{background:#30373f;color:#d9e4ed;border:1px solid #535e69}
.account-danger{background:transparent;color:#e8a8a8;border:1px solid #775b60}
#account-gate .account-secondary{margin-top:16px}
.account-primary:disabled,.account-secondary:disabled{opacity:.5;cursor:wait}
.account-primary svg,.account-secondary svg,.account-danger svg{width:16px;height:16px;flex-shrink:0}
.account-button{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;padding:0;border:1px solid #687d87;border-radius:50%;background:#34454c;color:#dce8ea;font-size:13px}
#account-dialog{width:430px;padding:22px}
#account-dialog h2{font-size:17px;margin:0}
#account-dialog h3{font-size:12px;margin:22px 0 12px}
.account-identity{display:flex;flex-direction:column;gap:7px;margin:20px 0;color:#d5e2ea}
.account-identity span{color:#9aa9b5;font-size:12px;overflow-wrap:anywhere}
.account-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}
#account-dialog .account-fields label{margin:0}
.account-storage{margin-top:24px;padding-top:1px;border-top:1px solid #454d56}
.account-storage p{font-size:12px;line-height:1.7}
.account-storage button{width:100%;margin-top:12px}
.account-muted{color:#9da8b5}
.account-message{min-height:18px;font-size:12px;line-height:1.6;color:#bdd9eb}
.account-error{color:#efb2ad!important}
.account-signout{width:100%;margin-top:12px}
#account-gate{overflow-y:auto}
.auth-tabs{display:flex;gap:20px;border-bottom:1px solid #41474f;margin:20px 0 8px}
.auth-tabs button{padding:10px 0;color:#929da9;font-size:14px;border-bottom:2px solid transparent}
.auth-tabs [aria-selected=true]{color:#c0dceb;border-bottom-color:#c0dceb}
.auth-link{display:block;margin:16px auto;color:#b3c9da;font-size:12px;text-decoration:underline}
.auth-subtitle{font-size:16px;margin:20px 0 0}
.account-password{margin-top:20px;border-top:1px solid #454d56;padding-top:16px;font-size:12px}
.account-password summary{cursor:pointer}
#copy-status,#password-status{font-size:12px;line-height:1.6}
#recovery-code{font-family:monospace;font-size:12px}
@media(max-height:740px){#account-gate{place-items:start center;padding:20px}#account-gate .account-brand{margin-bottom:12px}#account-gate label{margin:12px 0}#account-gate h1{font-size:22px}.auth-tabs{margin-top:12px}}
@media(max-width:600px){.top-actions{gap:6px}.account-button{width:29px;height:29px}#account-dialog{padding:18px}.account-primary,.account-secondary,.account-danger{min-height:44px}}
@media(max-width:350px){.brand{font-size:14px;gap:5px}.topbar{padding:0 9px}.top-actions{gap:3px}.export-button{padding:7px 8px}}
