/* Auth shares the public header/footer. Form styles never leak into navigation. */
.lm-auth-page{margin:0;background:#080e18;color:#f4f3ef;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.lm-auth-page *{box-sizing:border-box}
.lm-auth-page .shell{min-height:100vh;display:flex;flex-direction:column}
.lm-auth-page .main{--auth-card:#101a29;--auth-line:#ffffff26;--auth-text:#f4f3ef;--auth-muted:#bec5d0;--auth-input:#ffffff06;--auth-accent:#dcc180;width:min(1320px,calc(100% - 48px));margin:0 auto;padding:44px 0 56px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:center;flex:1;color:var(--auth-text)}
html[data-lm-theme="light"] .lm-auth-page{background:#f4f1eb;color:#192333}
html[data-lm-theme="light"] .lm-auth-page .main{--auth-card:#fff;--auth-line:#18253526;--auth-text:#192333;--auth-muted:#536070;--auth-input:#f8f7f3;--auth-accent:#77551e}
.lm-auth-page .visual-panel,.lm-auth-page .form-panel{border:1px solid var(--auth-line);border-radius:24px;min-width:0;overflow:hidden;background:var(--auth-card)}
.lm-auth-page .visual-panel{position:relative;min-height:0;aspect-ratio:4/5;align-self:center;width:100%}
.lm-auth-page .auth-brand-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:40px;background:#0b1019;color:#dcc180;padding:48px;text-align:center}
.lm-auth-page .auth-brand-panel img{width:min(280px,100%);height:auto;object-fit:contain}
.lm-auth-page .auth-brand-panel p{font-size:clamp(26px,3vw,44px);line-height:1.15;letter-spacing:-.04em;margin:0}
.lm-auth-page .auth-promotion{display:flex;flex-direction:column;justify-content:center;background:#05080d;color:#fff}
.lm-auth-page .auth-promotion img,.lm-auth-page .auth-promotion video{width:100%;height:100%;min-height:0;object-fit:contain;display:block}.lm-auth-page .auth-promotion>img,.lm-auth-page .auth-promotion>video{flex:1;min-height:0}
.lm-auth-page .promotion-art{display:block;flex:1;min-height:0}
.lm-auth-page .promotion-label{flex:none;padding:12px 20px;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#c2c7cf}
.lm-auth-page .promotion-caption{flex:none;padding:20px 24px}.lm-auth-page .promotion-caption p{margin:0 0 16px}
.lm-auth-page .form-head{padding:32px 32px 22px;border-bottom:1px solid var(--auth-line)}
.lm-auth-page .form-head h1{margin:0 0 12px;font-size:clamp(30px,3.4vw,46px);font-weight:650;letter-spacing:-.04em;line-height:1.08;color:var(--auth-text)}
.lm-auth-page .form-head h1:focus{outline:none}
.lm-auth-page .form-head p{margin:0;color:var(--auth-muted);font-size:14px;line-height:1.6}
.lm-auth-page .form-body{padding:24px 32px 32px;display:grid;gap:18px;align-content:start}
.lm-auth-page .form-body form{display:grid;gap:18px}
.lm-auth-page .field{display:grid;gap:8px}
.lm-auth-page .form-body label{font-size:13px;font-weight:600;line-height:1.5;color:var(--auth-text)}
.lm-auth-page .form-body input:not([type="checkbox"]),.lm-auth-page .form-body select{font:inherit;width:100%;min-width:0;border:1px solid var(--auth-line);background:var(--auth-input);color:var(--auth-text);border-radius:10px;padding:13px 14px;outline:0;min-height:48px}
.lm-auth-page .form-body input:focus,.lm-auth-page .form-body select:focus{border-color:var(--auth-accent);box-shadow:0 0 0 3px #c09d5030}
.lm-auth-page .form-body select option{background:var(--auth-card);color:var(--auth-text)}
.lm-auth-page .grid.two{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.lm-auth-page .phone-row{display:grid;grid-template-columns:112px minmax(0,1fr);gap:10px}
.lm-auth-page .helper{color:var(--auth-muted);font-size:12px;line-height:1.6;margin:0}
.lm-auth-page .btn{font:inherit;display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:13px 20px;border-radius:10px;font-weight:650;font-size:14px;line-height:1.3;text-decoration:none;text-align:center;cursor:pointer;width:100%;border:1px solid transparent}
.lm-auth-page .btn-primary{background:#dcc180;color:#17130b}.lm-auth-page .btn-primary:hover{background:#e9d29e}
.lm-auth-page .btn-ghost{background:transparent;border-color:var(--auth-line);color:var(--auth-text)}
.lm-auth-page .auth-promotion .btn-ghost{border-color:#ffffff40;color:#fff}
.lm-auth-page .btn:disabled{cursor:wait;opacity:.5}
.lm-auth-page .main a:focus-visible,.lm-auth-page .main button:focus-visible{outline:3px solid var(--auth-accent);outline-offset:3px}
.lm-auth-page .text-link,.lm-auth-page .secondary-links a:not(.btn){color:var(--auth-accent);text-decoration:underline;text-underline-offset:3px;font-size:13px}
.lm-auth-page .secondary-links{display:grid;gap:14px;margin-top:18px}
.lm-auth-page .row{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.lm-auth-page .between{justify-content:space-between}
.lm-auth-page .toggle-field{display:flex;align-items:flex-start;gap:12px;font-size:13px;font-weight:400}
.lm-auth-page .switch{position:relative;display:inline-flex;width:44px;height:26px;flex:0 0 auto}
.lm-auth-page .switch input{position:absolute;opacity:0;inset:0;margin:0}
.lm-auth-page .slider{position:absolute;inset:0;border-radius:999px;background:#737f8b45;border:1px solid var(--auth-line);pointer-events:none}
.lm-auth-page .slider:before{content:"";position:absolute;width:18px;height:18px;left:3px;top:3px;border-radius:50%;background:#fff;transition:transform .15s ease}
.lm-auth-page .switch input:checked+.slider{background:#9b772f}.lm-auth-page .switch input:checked+.slider:before{transform:translateX(18px)}
.lm-auth-page .switch input:focus-visible+.slider{outline:3px solid var(--auth-accent);outline-offset:3px}
.lm-auth-page .password-wrap{position:relative}.lm-auth-page .password-wrap input{padding-right:56px!important}
.lm-auth-page .icon-btn{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:36px;height:36px;border:0;background:transparent;color:var(--auth-text);display:grid;place-items:center;cursor:pointer}
.lm-auth-page .icon-btn svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.6}
.lm-auth-page .otp-single{font-size:30px!important;letter-spacing:.4em;text-align:center;font-variant-numeric:tabular-nums}
.lm-auth-page .notice{color:var(--auth-muted);font-size:14px;line-height:1.6;margin:0}.lm-auth-page .auth-error{color:#ffb4ac;font-size:14px;line-height:1.6;margin:0}
html[data-lm-theme="light"] .lm-auth-page .auth-error{color:#a62323}
.lm-auth-page .account-list{list-style:none;padding:0;display:grid;gap:16px}.lm-auth-page .account-list li{padding:18px;border:1px solid var(--auth-line);border-radius:12px}.lm-auth-page .account-email{overflow-wrap:anywhere}
.lm-auth-page [hidden]{display:none!important}
@media(max-width:1000px){.lm-auth-page .main{grid-template-columns:minmax(0,.8fr) minmax(0,1fr);gap:20px}.lm-auth-page .form-head{padding:26px 24px 20px}.lm-auth-page .form-body{padding:22px 24px 26px}}
@media(max-width:760px){.lm-auth-page .main{width:calc(100% - 28px);padding:24px 0 32px;grid-template-columns:1fr;gap:24px}.lm-auth-page .form-panel{grid-row:1}.lm-auth-page .visual-panel{min-height:0}.lm-auth-page .auth-brand-panel{display:none}.lm-auth-page .auth-promotion{grid-row:2}.lm-auth-page .grid.two{grid-template-columns:1fr}.lm-auth-page .form-head h1{font-size:34px}}
@media(prefers-reduced-motion:reduce){.lm-auth-page .main *{transition:none!important}}
.lm-auth-page .screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

.lm-auth-page .form-panel{align-self:center;width:100%}
.lm-auth-page .eye-slash{display:none}.lm-auth-page .is-visible .eye-slash{display:block}
.lm-auth-page .otp-group{margin:0;padding:0;border:0;min-width:0}.lm-auth-page .otp-group legend{font-size:13px;font-weight:600;margin-bottom:14px}
.lm-auth-page .otp-boxes{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.lm-auth-page .form-body input.otp-digit{padding:10px 0;height:68px;font-size:30px;font-weight:600;text-align:center;background:#ffffff0d;font-variant-numeric:tabular-nums}
html[data-lm-theme="light"] .lm-auth-page .form-body input.otp-digit{background:#f1eee8}
.lm-auth-page .password-checks{list-style:none;margin:0;padding:0;display:grid;gap:8px;font-size:13px;color:var(--auth-muted)}
.lm-auth-page .password-checks span{display:inline-block;width:18px}.lm-auth-page .password-checks [data-met="true"]{color:#8ddcb5}
html[data-lm-theme="light"] .lm-auth-page .password-checks [data-met="true"]{color:#16683d}
@media(max-width:400px){.lm-auth-page .otp-boxes{gap:6px}.lm-auth-page .form-body input.otp-digit{height:54px;font-size:25px}}
