.auth-body{padding:28px 28px 0;background:var(--ws-bg)}
.auth-layout{max-width:1440px;min-height:min(800px,calc(100svh - 110px));margin:0 auto;padding:0;display:grid;grid-template-columns:1fr 1.12fr;gap:0;border-radius:26px;overflow:hidden;background:var(--ws-surface);border:1px solid var(--ws-border);box-shadow:0 18px 70px #132c3910}
.auth-body .auth-panel{display:flex;align-items:center;margin:0;padding:48px clamp(30px,5vw,80px);background:var(--ws-surface);border:0;border-radius:0;box-shadow:none;min-width:0}
.auth-form-content{width:100%;max-width:385px;margin:auto}
.auth-brand{display:block;width:175px;margin:0 0 34px}.auth-brand img{width:100%;height:auto;display:block}
.auth-kicker{color:var(--ws-muted);font-size:10px;letter-spacing:2px;font-weight:600;margin:0 0 12px}
.auth-panel h1{font-size:30px;letter-spacing:.025em;margin:0 0 12px;line-height:1.4}
.auth-description{font-size:12px;line-height:1.8;color:var(--ws-muted);margin:0 0 24px}
.auth-body .auth-panel label{font-size:12px;margin:20px 0 0;gap:10px}
.auth-body .auth-panel input{min-height:48px;padding:12px 14px;border:1px solid var(--ws-border);border-radius:9px;font-size:14px;background:var(--ws-surface);color:var(--ws-text)}
.auth-body .auth-panel form>.button{margin-top:28px;min-height:48px;border-radius:9px;font-size:14px;box-shadow:0 5px 12px #132c3912;transition:filter .2s,transform .2s}
.auth-panel form>.button:hover{filter:brightness(1.12);transform:translateY(-1px)}
.auth-register{font-size:12px;text-align:center;margin:24px 0 0!important}.auth-register span{margin-left:6px}
.auth-panel .micro{font-size:10px;line-height:1.8;margin-top:12px;color:var(--ws-muted)}
.auth-scene{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(145deg,var(--auth-accent),var(--auth-bright));display:flex;flex-direction:column;min-height:680px;padding:32px;color:white}
.auth-scene:before{content:'';position:absolute;width:620px;height:620px;border-radius:50%;background:#ffffff0d;bottom:-210px;right:-230px;z-index:-1}
.scene-window{position:absolute;inset:28% 9% 15%;border:1px solid #ffffff38;border-radius:100px 100px 22px 22px;background:linear-gradient(150deg,#ffffff15,#ffffff03);z-index:-1;overflow:hidden;display:flex;justify-content:space-evenly}
.scene-window span{width:1px;height:100%;background:#ffffff1c}.scene-window:after{content:'';position:absolute;top:43%;width:100%;height:1px;background:#ffffff28}
.scene-top,.scene-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:10px;letter-spacing:1.3px}.scene-tag{border:1px solid #ffffff50;border-radius:100px;padding:8px 12px}.scene-indicator{font-size:10px;letter-spacing:0}
.scene-copy{position:relative;z-index:1;margin:44px 16px 0}.scene-eyebrow{font-size:10px;letter-spacing:2px;margin:0 0 13px;opacity:.8}.auth-body .scene-copy h2{font-size:clamp(26px,2.6vw,38px);line-height:1.5;letter-spacing:.04em;color:white!important;margin:0 0 12px}.scene-copy>p:last-child{font-size:12px;line-height:1.8;color:#fff;margin:0;max-width:340px}
.scene-art{flex:1;display:flex;align-items:center;justify-content:center;min-height:260px;margin:-45px -26px -35px;pointer-events:none}.scene-art img{display:block;width:100%;height:auto;max-height:560px;object-fit:contain;filter:drop-shadow(0 20px 20px #102b3320)}
.scene-bottom{margin:0 16px;opacity:.85}.scene-bottom>span:last-child{font-size:23px}
.auth-footer{max-width:1440px;margin:auto;min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 6px}
.auth-footer-brand{font-size:11px;color:var(--ws-muted)}.auth-footer-brand span{font-size:10px;margin-left:14px}
.auth-footer .auth-appearance{gap:14px;margin:0;flex-wrap:wrap}.auth-footer .auth-palette{display:flex;align-items:center;gap:10px}.auth-footer .auth-palette legend{float:left;margin:0 10px 0 0;line-height:36px;font-size:10px}
.auth-footer .auth-color-status{font-size:10px;min-width:65px;color:var(--ws-muted)}
.auth-body .auth-footer .auth-swatches{display:flex;align-items:center;gap:4px}
.auth-body .auth-footer .auth-swatches button{appearance:none;box-sizing:border-box;display:grid;place-items:center;flex:0 0 36px;min-width:36px;max-width:36px;width:36px;min-height:36px;max-height:36px;height:36px;aspect-ratio:1;padding:0;border-radius:50%!important;line-height:1}
.auth-body .auth-footer .auth-swatches button span{display:block;box-sizing:border-box;flex:none;min-width:22px;max-width:22px;width:22px;min-height:22px;max-height:22px;height:22px;aspect-ratio:1;border-radius:50%!important;margin:0;padding:0}
html[data-theme=dark] .auth-body{background:var(--ws-bg)}
html[data-theme=dark] .auth-body .auth-scene{background:linear-gradient(145deg,var(--auth-night),var(--auth-accent));color:#fff}
html[data-theme=dark] .auth-body .auth-scene :is(p,span,h2){color:#fff!important}
@media(min-width:1600px){.auth-body{padding-top:5vh}.auth-layout{min-height:780px}}
@media(max-width:1000px){.auth-body{padding:18px 18px 0}.auth-layout{max-width:none;grid-template-columns:1fr 1fr;gap:0}.auth-body .auth-panel{padding:35px 25px}.auth-scene{padding:25px 18px;min-height:630px}.scene-copy{margin:35px 5px 0}.scene-top{font-size:8px;letter-spacing:.7px}.scene-indicator{display:none}.scene-art{margin:-15px -12px}.scene-bottom{margin:0 5px}.auth-footer-brand span{display:none}}
@media(max-width:700px){.auth-layout{display:flex;flex-direction:column;min-height:0;border-radius:20px}.auth-body .auth-panel{order:1;padding:32px 25px}.auth-scene{order:0;min-height:240px;height:240px;flex:none;display:block;padding:18px}.scene-top,.scene-eyebrow,.scene-copy>p:last-child,.scene-bottom{display:none}.scene-copy{margin:0;width:55%;padding:10px 0;position:relative}.auth-body .scene-copy h2{font-size:18px;line-height:1.6}.scene-art{position:absolute;right:-5px;bottom:-24px;width:74%;height:245px;min-height:0;margin:0}.scene-art img{width:100%;max-height:none}.scene-window{inset:10% 8% 8% 38%;border-radius:55px 55px 18px 18px}.auth-brand{width:138px;margin-bottom:24px}.auth-panel h1{font-size:26px}.auth-footer{flex-direction:column;align-items:center;gap:12px;padding:20px 0}.auth-footer-brand{order:1}.auth-footer .auth-appearance{justify-content:center;gap:8px}.auth-footer .auth-color-status{display:none}.auth-footer .auth-palette legend{font-size:9px;margin-right:5px}.auth-footer .auth-mode{font-size:10px;padding:9px}.auth-description{font-size:11px}}
@media(prefers-reduced-motion:reduce){.auth-panel form>.button{transition:none}}
/* Keep white scene captions readable in all five light palettes. */
html:not([data-theme=dark]) .auth-body .auth-scene{background:linear-gradient(145deg,var(--auth-accent),color-mix(in srgb,var(--auth-accent) 85%,var(--auth-bright)))}
@media(max-width:700px){.auth-scene{min-height:320px;height:320px}.scene-copy{width:100%}.scene-art{width:100%;height:275px;right:0;bottom:-30px}.scene-window{inset:25% 8% 8%;border-radius:55px 55px 18px 18px}}

/* Keep both columns flush and prevent narrow flex children on phones. */
.auth-layout{align-items:stretch}.auth-panel,.auth-scene{min-width:0}
.auth-panel label>input{margin-top:0}
@media(max-width:700px){
 .auth-body{padding:12px 12px 0}.auth-layout{width:100%;align-items:stretch;max-width:520px;margin-inline:auto}
 .auth-body .auth-panel,.auth-body .auth-scene{width:100%;box-sizing:border-box}
 .auth-body .auth-panel{padding:28px 22px}.auth-form-content{min-width:0;max-width:none}
 .auth-scene{min-height:0;height:auto;display:flex;flex-direction:column;align-items:stretch;padding:20px 20px 10px}
 .scene-copy{padding:0;margin:0;width:auto}.auth-body .scene-copy h2{font-size:20px;margin:0;line-height:1.5}
 .scene-art{position:relative;inset:auto;flex:none;width:100%;height:auto;min-height:0;margin:-20px 0 -22px}
 .scene-art img{width:100%;height:auto;aspect-ratio:1;max-height:none;object-fit:contain}
 .scene-window{inset:25% 8% 10%}.auth-footer{max-width:520px;box-sizing:border-box}
 .auth-footer .auth-appearance{width:100%;display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}
 .auth-footer .auth-palette{display:block;min-width:0}.auth-footer .auth-palette legend{float:none;line-height:1.5;margin:0 0 4px 5px}
 .auth-footer .auth-mode{margin-top:17px}.auth-footer .auth-swatches{gap:3px}.auth-footer-brand{text-align:center}
 .auth-body .auth-panel input{font-size:16px}
}
