:root{--brand:#155eef;--ink:#182230;--muted:#596579;--border:#ccd3df;--font:"Helvetica Neue","PingFang SC","Microsoft YaHei",sans-serif}
*{box-sizing:border-box}html{background:#f7f7f8;color:var(--ink);font-family:var(--font);-webkit-font-smoothing:antialiased}body{margin:0;min-width:320px;padding:40px 24px;min-height:100svh;display:grid;place-items:center}button,input{font:inherit}
.login-layout{display:grid;grid-template-columns:1fr 1fr;width:min(960px,100%);background:#fff;border:1px solid #dfe3e9;min-height:560px}
.brand-pane{padding:48px;display:flex;flex-direction:column;justify-content:space-between;border-right:1px solid #dfe3e9;background:#fff}.brand-header{display:flex;align-items:center;gap:14px}.brand-logo{display:block;width:58px;flex:none}.brand-logo img{width:100%;height:auto;display:block}.brand-header p{font-size:14px;line-height:1.6;margin:0;font-weight:600}.brand-visual{padding:70px 0 36px}.brand-visual h1{font-size:38px;line-height:1.4;letter-spacing:-.03em;margin:0 0 24px;font-weight:650}.brand-visual p{font-size:14px;color:var(--muted);line-height:1.8;margin:0;padding-top:24px;border-top:2px solid var(--brand)}
.auth-pane{display:flex;flex-direction:column;justify-content:center;padding:48px}.auth-heading h2{font-size:26px;line-height:1.4;margin:0 0 8px}.auth-heading p{font-size:14px;color:var(--muted);line-height:1.7;margin:0}.login-form{display:grid;gap:20px;margin-top:32px}.login-form label{display:grid;gap:8px}.login-form label>span:first-child{font-size:14px;font-weight:600;line-height:1.5}.login-form input{background:#fff;border:1px solid var(--border);border-radius:8px;color:var(--ink);height:48px;padding:0 14px;width:100%;outline:none;font-size:15px}.login-form input::placeholder{color:#707b8d}.login-form input:hover{border-color:#8995a8}.login-form input:focus{border-color:var(--brand);box-shadow:0 0 0 3px #155eef20}.password-field{display:block;position:relative}.password-field input{padding-right:52px}.password-toggle{position:absolute;right:6px;top:6px;width:36px;height:36px;border:0;border-radius:6px;background:transparent;color:var(--muted);cursor:pointer;display:grid;place-items:center}.password-toggle:hover{background:#f7f7f8}.password-toggle:focus-visible{outline:2px solid var(--brand)}.password-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.password-toggle .eye-closed,.password-toggle.is-visible .eye-open{display:none}.password-toggle.is-visible .eye-closed{display:block}
.login-error{color:#b42318;background:#fff4f2;border:1px solid #fecdca;padding:10px 12px;border-radius:6px;font-size:13px;line-height:1.6;margin:0}.login-form.has-error input[aria-invalid=true]{border-color:#b42318}.login-submit{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:48px;margin-top:4px;background:var(--brand);color:#fff;border:1px solid var(--brand);border-radius:8px;font-size:16px;font-weight:600;cursor:pointer}.login-submit:hover{background:#0b4ac5}.login-submit:focus-visible{outline:3px solid #155eef40;outline-offset:3px}.login-submit:disabled{opacity:.7;cursor:wait}.submit-spinner{display:none;width:16px;height:16px;border:2px solid #ffffff80;border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}.is-loading .submit-spinner{display:block}.login-help{font-size:13px;line-height:1.7;color:var(--muted);margin:20px 0 0}.auth-pane footer{font-size:11px;color:var(--muted);line-height:1.6;margin-top:36px}
@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.submit-spinner{animation:none}}
@media(max-width:720px){body{padding:20px 16px}.login-layout{grid-template-columns:1fr;max-width:440px;min-height:0}.brand-pane{padding:24px 28px;border-right:0;border-bottom:1px solid #dfe3e9}.brand-logo{width:44px}.brand-header p{font-size:13px}.brand-visual{padding:20px 0 0}.brand-visual h1{font-size:22px;margin:0}.brand-visual h1 br{display:none}.brand-visual p{display:none}.auth-pane{padding:28px}.auth-heading h2{font-size:23px}.login-form{margin-top:24px}.auth-pane footer{margin-top:24px}}@media(max-width:360px){body{padding:12px}.brand-pane,.auth-pane{padding:24px 20px}.brand-header{gap:10px}}
