:root{color-scheme:dark;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#f4f3f8;background:#19191f;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}
body{display:grid;place-items:center;min-height:100vh;min-height:100svh;margin:0;padding:24px;background:radial-gradient(ellipse at top left,#302b3d6e 0,transparent 56%),#19191f}
button,input{font:inherit}
button{cursor:pointer}
button:disabled{cursor:wait;opacity:.65}
svg{display:block;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
[hidden]{display:none!important}
.login-card{width:min(420px,100%);padding:36px;border:1px solid #47434f;border-radius:24px;background:linear-gradient(145deg,#2c2933 0%,#242328 52%,#222226 100%);box-shadow:0 26px 65px -22px #000b,inset 0 1px #ffffff04}
.login-brand{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:650;line-height:20px;color:#ece8f6}
.login-brand-icon{display:grid;place-items:center;width:35px;height:35px;border:1px solid #b9a3dd5c;border-radius:11px;background:linear-gradient(150deg,#8973ac,#5a496f);box-shadow:inset 0 1px #ffffff1a;color:#e9ddff}
.login-brand-icon svg{width:22px;height:22px;stroke-width:1.5}
h1{margin:26px 0 28px;font-size:32px;font-weight:700;line-height:1.2;letter-spacing:-.05em;color:#f7f6fa}
#login-form{display:grid;gap:18px}
.login-field{display:grid;gap:7px;min-width:0;font-size:13px;line-height:17px;font-weight:600;color:#dcd9e6}
.login-input{display:flex;align-items:center;gap:10px;min-width:0;height:45px;border:1px solid #45424e;border-radius:10px;background:#1c1b21;color:#aaa3ba;box-shadow:inset 0 1px 2px #0c0a1026}
.login-input:focus-within{border-color:#b7a3fa;box-shadow:0 0 0 3px #b7a3fa20}
.input-icon{flex:none;width:17px;height:17px;margin-left:13px}
.login-input input{width:100%;min-width:0;height:43px;padding:8px 12px 8px 0;border:0;border-radius:0;outline:0;background:transparent;color:#f3f1f8;font-size:13px;font-weight:400;line-height:20px;caret-color:#b8a5ff}
.login-input input:-webkit-autofill{-webkit-text-fill-color:#f3f1f8;box-shadow:0 0 0 1000px #1c1b21 inset}
.password-toggle{display:grid;place-items:center;flex:none;width:40px;height:41px;padding:0;margin-left:-9px;border:0;border-radius:8px;background:transparent;color:#aaa3ba}
.password-toggle svg{width:17px;height:17px}
.password-toggle:hover{color:#e4dcf5}
.password-toggle:focus-visible,.login-button:focus-visible{outline:2px solid #c5b5ff;outline-offset:3px}
.login-error{margin:-2px 0 -5px;color:#ffb1bd;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.login-button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:44px;margin-top:2px;padding:10px 16px;border:1px solid #c8baff70;border-radius:9px;background:linear-gradient(180deg,#b9a8fb,#a493ef);color:#241b3c;box-shadow:inset 0 1px #ffffff26;font-size:14px;line-height:20px;font-weight:600}
.login-button svg{width:17px;height:17px;stroke-width:1.6}
.login-button:hover:enabled{background:#c1b0ff}
@media(max-width:480px){body{padding:20px}}
@media(max-width:380px){.login-card{padding:28px 24px}h1{font-size:28px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
