/** Login module: compact form + optional visual panel. */
.login-page{min-height:100vh;background:#eef1f5;color:#20242a}.login-stage{min-height:100vh;display:grid;grid-template-columns:minmax(320px,34%) 1fr}.login-layout-left .login-form-panel{order:1}.login-layout-left .login-brand-panel{order:2}.login-layout-right .login-brand-panel{order:1}.login-layout-right .login-form-panel{order:2}.login-brand-panel{position:relative;min-width:0;background:linear-gradient(145deg,var(--secondary),color-mix(in srgb,var(--secondary) 78%,var(--primary)));background-size:cover;background-position:center;overflow:hidden}.login-brand-panel:after{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(0,0,0,.06),rgba(0,0,0,.18));pointer-events:none}.login-brand-fallback{position:absolute;left:clamp(32px,5vw,80px);bottom:clamp(34px,6vw,86px);z-index:1;color:#fff;display:grid;gap:8px}.login-brand-fallback span{font-size:12px;font-weight:850;letter-spacing:.18em}.login-brand-fallback strong{font-size:clamp(30px,4vw,54px);line-height:1.05}.login-form-panel{display:grid;place-items:center;padding:30px 26px;background:#f3f6f9}.login-card{width:min(420px,100%);padding:32px;border:1px solid #e3e7ec;border-radius:24px;background:#fff;box-shadow:0 24px 64px rgba(25,32,42,.11)}.login-card-logo{height:62px;display:flex;align-items:center;margin-bottom:18px}.login-card-logo img{max-width:220px;max-height:58px;object-fit:contain;object-position:left center}.login-card-head{margin-bottom:22px}.login-card-head h2{margin:7px 0 8px;font-size:30px;letter-spacing:-.025em}.login-alert{margin-bottom:18px;padding:12px 14px;border:1px solid #ffd0cc;border-radius:12px;background:#fff4f2;color:#9d241b;font-weight:650}.math-challenge{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:8px 0 18px;padding:13px 14px;border:1px solid #e2e6eb;border-radius:14px;background:#f8f9fb}.math-challenge strong,.math-challenge small{display:block}.math-challenge small{margin-top:4px;color:#737b86}.math-input{display:flex!important;align-items:center;gap:8px;white-space:nowrap;font-weight:800}.math-input input{width:64px!important;text-align:center}.login-submit{width:100%;min-height:46px;display:flex;align-items:center;justify-content:center;gap:10px;border-radius:12px;font-size:14px}.login-security-note{display:flex;gap:12px;margin-top:20px;padding-top:17px;border-top:1px solid #eceff2;color:#747c87;font-size:11px;line-height:1.5}.login-security-note p{margin:0}.security-icon{flex:0 0 28px;width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:var(--tertiary);color:var(--primary);font-weight:800}
@media(max-width:900px){.login-stage{grid-template-columns:minmax(310px,45%) 1fr}.login-card{padding:28px}.login-form-panel{padding:24px 18px}}
@media(max-width:720px){.login-stage{display:block;min-height:100vh}.login-brand-panel{display:none}.login-form-panel{min-height:100vh;padding:24px 16px}.login-card{padding:26px 22px;border-radius:20px}.login-card-head h2{font-size:28px}}
@media(max-width:480px){.math-challenge{align-items:flex-start;flex-direction:column}.math-input{width:100%;justify-content:space-between}.login-card-logo{height:54px}.login-card-logo img{max-height:50px;max-width:190px}}
