:root{color-scheme:light;font-family:"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,Arial,sans-serif;font-size:16px;line-height:1.5;color:#19364f;background:#f3f7fb;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-width:280px}button,input{font:inherit}a{color:#246fc5;text-decoration:none}a:hover{text-decoration:underline}button{cursor:pointer}button:disabled{cursor:wait;opacity:.7}h1,h2,p{margin-top:0}:focus-visible{outline:2px solid #246fc5;outline-offset:3px}
.login-topbar{min-height:76px;display:flex;align-items:center;padding:14px clamp(18px,4vw,64px);background:#fff;border-bottom:1px solid #dce5ef}
.login-topbrand{display:flex;align-items:center;gap:14px;min-width:0;color:#19364f;text-decoration:none!important}.login-topbrand img{display:block;width:min(205px,48vw);height:44px;object-fit:contain}.login-brand-divider{height:32px;width:1px;background:#d8e0e9;flex:none}.login-topbrand strong{font-size:20px;line-height:1.25;white-space:nowrap}
.login-main{min-height:calc(100svh - 77px);display:grid;place-items:center;padding:36px 24px}.login-panel{width:min(100%,940px);min-height:500px;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);background:#fff;border:1px solid #dde7f0;border-radius:18px;overflow:hidden;box-shadow:0 12px 36px #16345217}
.login-intro{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 32px;text-align:center;background:#dceafa;border-right:1px solid #cbddec;min-width:0}.login-eyebrow{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:28px;color:#3974ad;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.login-eyebrow span{width:24px;height:2px;background:#76a9db;flex:none}
.login-intro h1{margin:0;font-size:clamp(32px,3vw,42px);font-weight:700;line-height:1.2;letter-spacing:-.025em;color:#173b5b}.login-nowrap{white-space:nowrap}.login-intro p{max-width:350px;margin:28px 0 0;color:#526c85;font-size:16px;line-height:1.55}.login-form-panel{display:flex;flex-direction:column;justify-content:center;padding:48px clamp(28px,4vw,58px);min-width:0}.login-form-copy{margin-bottom:28px}.login-form-copy h2{margin:0 0 10px;font-size:28px;line-height:1.25;font-weight:700;letter-spacing:-.02em}.login-form-copy p{margin:0;color:#526c85;font-size:15px;line-height:1.5}.formrow{margin-bottom:20px}.label,.auth-card label{display:block;margin-bottom:8px;font-size:14px;line-height:1.5;font-weight:600;color:#26384c}
.input{display:block;width:100%;min-width:0;height:52px;border:1px solid #bdcede;border-radius:9px;padding:11px 13px;background:#fff;color:#19364f;font-size:16px;line-height:1.5}.input::placeholder{color:#6b7f92;opacity:1}.input:focus{outline:2px solid #4387d5;outline-offset:2px;border-color:#4387d5}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:11px 18px;border:1px solid transparent;border-radius:9px;font-size:16px;line-height:1.5;font-weight:600;text-align:center;white-space:normal}.btn.blue{background:#246fc5;color:#fff}.btn.blue:hover{background:#1d61ae}.btn.gray{background:#edf3f9;color:#244d73;border-color:#cbdcec}.login-submit{width:100%;margin-top:4px;min-height:52px}.alert{padding:12px 14px;margin:0 0 20px;border-radius:8px;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.alert.err{background:#fff0f0;color:#9d2e2e;border:1px solid #f0c5c5}
.auth-card{width:min(100%,480px);padding:30px;background:#fff;border:1px solid #dce5ef;border-radius:16px;box-shadow:0 12px 36px #16345212}.auth-card h1{margin:0 0 18px;font-size:26px;line-height:1.25;font-weight:700;letter-spacing:-.015em;overflow-wrap:break-word}.auth-card p{margin:0 0 16px;font-size:15px;line-height:1.6;overflow-wrap:anywhere}.auth-card .hint{color:#526c85;font-size:14px}.auth-card .btn{width:100%;margin-top:16px}.auth-card .resend-form{margin-top:0}.auth-card .auth-code{font-size:24px;font-variant-numeric:tabular-nums;letter-spacing:.15em}.auth-card .auth-exit{margin-top:20px;margin-bottom:0}
@media(max-width:800px){.login-topbar{min-height:68px;padding:12px 18px}.login-topbrand{gap:10px}.login-topbrand img{height:36px;max-width:190px}.login-topbrand strong{font-size:18px}.login-brand-divider{height:28px}.login-main{min-height:calc(100svh - 69px);padding:24px 16px}.login-panel{grid-template-columns:minmax(0,1fr);min-height:0}.login-intro{padding:28px 20px;border-right:0;border-bottom:1px solid #cbddec}.login-eyebrow{margin-bottom:14px;font-size:11px}.login-intro h1{font-size:29px}.login-intro p{display:none}.login-form-panel{padding:30px 24px 34px}.login-form-copy h2{font-size:26px}.auth-card{padding:24px}.auth-card h1{font-size:24px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
