.auth-pending body>aside,.auth-pending body>main,.auth-pending body>dialog,.auth-pending body>#toast{visibility:hidden!important}.auth-root{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:22px;background:#f4f6fa;color:#182033;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}.auth-root:empty{display:none}.auth-shell{display:grid;grid-template-columns:minmax(250px,380px) minmax(340px,450px);width:min(850px,100%);min-height:520px;border:1px solid #e2e6ec;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 24px 70px #17203224}.auth-brand{display:flex;flex-direction:column;padding:42px 38px;background:#172032;color:#fff}.auth-brand-logo{display:flex;align-items:center;gap:13px}.auth-brand-logo>span{display:grid;place-items:center;width:50px;height:50px;border-radius:12px;background:linear-gradient(145deg,#4d79ec,#2147a8);font-size:18px;font-weight:800}.auth-brand-logo b,.auth-brand-logo small{display:block}.auth-brand-logo small{margin-top:3px;color:#aab4ca}.auth-brand h1{margin:auto 0 8px;font-size:30px;line-height:1.15}.auth-brand p{margin:0 0 auto;color:#bdc7da;line-height:1.6}.auth-secure{padding-top:24px;border-top:1px solid #ffffff1c;color:#95a2ba;font-size:12px}.auth-card{display:flex;flex-direction:column;justify-content:center;padding:42px}.auth-card h2{margin:0 0 7px;font-size:25px}.auth-card>p{margin:0 0 25px;color:#6e7788;font-size:13px;line-height:1.5}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;margin-bottom:22px;padding:4px;border-radius:9px;background:#f0f2f6}.auth-tabs button{border:0;background:transparent;padding:9px;color:#6e7788;font-weight:700}.auth-tabs button.active{background:#fff;color:#2759d7;box-shadow:0 2px 8px #17203212}.auth-form{display:grid;gap:14px}.auth-field{display:grid;gap:6px}.auth-field label{font-size:12px;font-weight:700;color:#536074}.auth-field input{height:43px}.auth-submit{height:44px;margin-top:4px;border:1px solid #2759d7;border-radius:8px;background:#2759d7;color:#fff;font-weight:800;cursor:pointer}.auth-submit:disabled{opacity:.6;cursor:wait}.auth-message{min-height:20px;margin-top:12px;font-size:12px;color:#c83f49}.auth-message.success{color:#18805a}.auth-note{margin-top:19px;padding:10px 12px;border:1px solid #d7e2ff;border-radius:8px;background:#eef3ff;color:#315294;font-size:11px;line-height:1.5}.auth-setup{display:inline-block;margin-top:12px;color:#2759d7;font-weight:800}.auth-migrate-actions{display:grid;gap:9px;margin-top:18px}.auth-migrate-actions button{height:42px}.auth-loading{display:grid;place-items:center;min-height:180px;color:#6e7788}.auth-spinner{width:34px;height:34px;margin-bottom:14px;border:3px solid #dce3f1;border-top-color:#2759d7;border-radius:50%;animation:auth-spin .8s linear infinite}@keyframes auth-spin{to{transform:rotate(360deg)}}.auth-account{margin-top:13px;padding-top:13px;border-top:1px solid #ffffff19}.auth-account b,.auth-account small{display:block;overflow:hidden;text-overflow:ellipsis}.auth-account small{margin:3px 0 8px;color:#8f9bb2}.auth-account button{width:100%;padding:8px;border:1px solid #ffffff26;background:#ffffff0f;color:#fff}.auth-sync-status{margin-top:7px;color:#8f9bb2;font-size:10px}.auth-sync-status.error{color:#ffb4ad}@media(max-width:720px){.auth-root{place-items:start center;overflow:auto;padding:max(10px,env(safe-area-inset-top)) 10px max(10px,env(safe-area-inset-bottom))}.auth-shell{grid-template-columns:1fr;width:100%;max-width:480px;min-height:0;max-height:none;margin:auto;overflow:hidden;border-radius:14px}.auth-brand{min-height:165px;padding:22px}.auth-brand h1{margin:24px 0 6px;font-size:23px}.auth-brand p{font-size:13px;line-height:1.45}.auth-secure{display:none}.auth-card{padding:24px 20px}}@media(max-width:420px){.auth-brand{min-height:128px}.auth-brand-logo>span{width:44px;height:44px}.auth-brand h1{margin:18px 0 0;font-size:20px}.auth-brand p{display:none}.auth-card{padding:22px 18px}.auth-card h2{font-size:23px}.auth-card>p{margin-bottom:20px}.auth-form{gap:12px}.auth-field input,.auth-submit{min-height:44px}}
