:root{font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:#1f2329;background:#f8faff;font-synthesis:none}
*{box-sizing:border-box}
body{margin:0}
[hidden]{display:none!important}
.login-shell{width:min(100% - 40px,400px);margin:0 auto;padding:clamp(40px,12vh,110px) 0 40px}
.brand{display:inline-block;margin:0 0 40px;font-weight:750;font-size:28px;letter-spacing:-1px;text-decoration:none;color:#1f2329}
.brand span{color:#246bff}
.login-panel{background:#fff;border:1px solid #e7ecf3;border-radius:20px;padding:32px;box-shadow:0 12px 40px #1d4c9510}
.workspace-label{display:inline-block;background:#edf4ff;color:#155bd4;border-radius:999px;padding:5px 11px;font-size:12px;font-weight:600}
h1{font-size:25px;line-height:1.4;margin:18px 0 28px;font-weight:700}
.field{margin-bottom:20px}
.field label{display:block;font-size:14px;font-weight:600;margin-bottom:9px}
.field input{display:block;width:100%;height:44px;border:1px solid #dce1e8;border-radius:8px;padding:0 12px;color:#1f2329;background:#fff;font:inherit;font-size:14px;outline:0}
.field input:focus{border-color:#246bff;box-shadow:0 0 0 3px #eaf2ff}
.remember{display:flex;align-items:center;gap:8px;font-size:13px;margin:4px 0 26px;cursor:pointer}
.remember input{width:16px;height:16px;accent-color:#246bff;margin:0}
.remember span{background:#edf4ff;color:#155bd4;font-size:11px;border-radius:999px;padding:3px 8px}
button{width:100%;height:44px;border:0;border-radius:999px;font:inherit;font-weight:650;font-size:14px;background:#246bff;color:#fff;cursor:pointer;transition:background .16s,transform .16s}
button:hover{background:#155bd4}
button:active{transform:scale(.985)}
button:disabled{opacity:.6;cursor:wait}
button:focus-visible,a:focus-visible{outline:3px solid #9dbfff;outline-offset:4px}
.error{color:#ac2b32;background:#fff3f3;border-radius:8px;padding:10px 12px;font-size:13px;line-height:1.7;overflow-wrap:anywhere}
#login-loading{font-size:13px;color:#344054;line-height:1.8}
@media(max-width:480px){.login-shell{padding-top:48px}.brand{margin-bottom:28px}.login-panel{padding:26px 22px}}
@media(prefers-reduced-motion:reduce){button{transition:none}}
