#authShell{position:fixed;inset:0;width:100%;min-height:100dvh;background:#080808;color:#fff;padding:32px;overflow:auto;display:grid;place-items:center;z-index:900}
#authShell .auth-stage{width:min(1440px,100%);height:min(820px,calc(100dvh - 64px));min-height:580px;display:grid;grid-template-columns:1fr 1fr;gap:0;background:#000;border:1px solid #202020;border-radius:32px;overflow:hidden;box-shadow:0 24px 90px #0008;isolation:isolate;color:#fff}
#authShell .auth-stage:before{display:none}
#authShell .auth-visual{position:relative;display:grid;place-items:center;order:0;height:auto;min-width:0;background:#000;overflow:hidden;inset:auto;border:0;border-right:1px solid #151515}
#authShell .auth-grid-lines{position:absolute;inset:0;background:linear-gradient(90deg,transparent calc(50% - .5px),#171717 50%,transparent calc(50% + .5px)),linear-gradient(transparent calc(50% - .5px),#171717 50%,transparent calc(50% + .5px));opacity:.9}
#authShell .auth-grid-lines:before,#authShell .auth-grid-lines:after{content:'';position:absolute;left:50%;top:50%;width:125%;height:1px;background:linear-gradient(90deg,transparent,#1a1a1a,transparent);transform:translate(-50%,-50%) rotate(45deg)}
#authShell .auth-grid-lines:after{transform:translate(-50%,-50%) rotate(-45deg)}
#authShell .auth-symbol{width:clamp(175px,20vw,285px);color:#fff;position:relative;animation:atlasLoginSymbol 1.4s cubic-bezier(.22,.9,.24,1) both}
#authShell .auth-symbol svg{display:block;width:100%;height:auto;overflow:visible}
#authShell .auth-symbol .atlas-logo-path{stroke:currentColor;stroke-width:.9;stroke-dasharray:1;animation:atlasLoginDraw 1.5s ease both;animation-delay:var(--logo-delay,0ms)}
#authShell .auth-visual-caption{position:absolute;bottom:30px;left:30px;font-size:10px;letter-spacing:.02em;color:#666}
#authShell .auth-panel{order:1;position:relative;display:flex;align-items:center;padding:clamp(30px,4vw,64px);margin:24px;background:linear-gradient(135deg,#131313,#0e0e0e);color:#fff;border:1px solid #191919;border-radius:24px;min-width:0;overflow:visible}
#authShell .auth-back{position:absolute;top:26px;right:26px;left:auto;bottom:auto;margin:0;padding:0;height:auto;border:0;border-radius:0;background:none;color:#999;font-size:10px;display:flex;gap:7px;backdrop-filter:none;transform:none}
#authShell .auth-back:hover{color:#fff;background:none;transform:none}
#authShell .auth-card{position:static;display:block;padding:0;width:100%;max-width:none;text-align:left;animation:authIn .7s .15s both}
#authShell .auth-eyebrow{font-size:10px;letter-spacing:.15em;text-transform:uppercase;color:#888;margin:0 0 14px}
#authShell .auth-title{font-size:clamp(38px,3.8vw,60px);font-weight:400;line-height:1.1;letter-spacing:-.055em;color:#f8f8f8;margin:0 0 44px}
#authShell .auth-form{display:block;margin:0}
#authShell .auth-fields-row{display:grid;grid-template-columns:1fr 1fr;gap:24px}
#authShell .auth-field{display:block;margin:0;min-width:0;color:#fff;text-align:left}
#authShell .auth-field-label{display:block;margin-bottom:12px;font-size:10px;font-weight:500;color:#aaa}
#authShell .auth-input-wrap,#authShell .password-wrap{position:relative;display:flex;align-items:center;padding:0;border:0;border-bottom:1px solid #666;border-radius:0;background:transparent;box-shadow:none;min-height:0}
#authShell .auth-input-wrap:focus-within,#authShell .password-wrap:focus-within{border-color:#a76bf2;box-shadow:0 1px 0 #a76bf2}
#authShell input[type=email],#authShell input[type=password],#authShell input[type=text]{display:block;width:100%;min-width:0;height:38px;border:0;border-radius:0;background:transparent;box-shadow:none;color:#fff;padding:0 0 8px;font-size:14px;outline:none}
#authShell #passwordInput{padding-right:30px}
#authShell input::placeholder{color:#777;font-size:12px}
#authShell input:-webkit-autofill{-webkit-text-fill-color:#fff;transition:background-color 9999s ease-in-out}
#authShell .eye-btn{position:absolute;right:0;top:0;width:25px;height:30px;padding:3px;border:0;background:none;color:#999;border-radius:0;display:grid;place-items:center}
#authShell .eye-btn svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5}
#authShell .auth-assist{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 0;font-size:10px;color:#888}
#authShell .auth-assist>a{color:#999;font-size:10px}
#authShell .auth-remember{display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-size:10px;color:#aaa;white-space:nowrap}
#authShell .auth-remember input{appearance:none;width:13px;height:13px;padding:0;margin:0;border:1px solid #666;border-radius:50%;display:grid;place-content:center;background:transparent;cursor:pointer}
#authShell .auth-remember input:checked{border-color:#fff;background:#fff}
#authShell .auth-remember input:checked:after{content:'';width:5px;height:3px;border-left:1.5px solid #111;border-bottom:1.5px solid #111;transform:translateY(-.5px) rotate(-45deg)}
#authShell :focus-visible{outline:2px solid #aa78eb;outline-offset:5px}
#authShell .auth-submit{position:absolute;bottom:28px;right:28px;width:90px;height:90px;border-radius:50%;padding:0;border:0;background:#f7f7f7;color:#111;display:flex;align-items:center;justify-content:center;gap:5px;font-size:11px;font-weight:600;letter-spacing:0;box-shadow:none;transition:transform .25s,background .25s}
#authShell .auth-submit svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5}
#authShell .auth-submit:hover{transform:translateY(-3px);background:#e6d7ff}
#authShell .auth-submit:disabled{opacity:.5;cursor:wait;transform:none}
#authShell .auth-error{margin-top:18px;min-height:24px;font-size:12px;line-height:1.5;color:#f2a5a5;text-align:left}
#authShell .auth-foot{position:absolute;bottom:30px;left:32px;color:#666;font-size:10px;margin:0;max-width:50%;line-height:1.5}
#loaderLayer.atlas-login-transition{background:#050505;color:#fff;z-index:1000;backdrop-filter:none;overflow:hidden;transition:opacity .45s ease,visibility .45s ease;display:grid;place-items:center;position:fixed;inset:0}
#loaderLayer .loader-inner{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:24px;text-align:center}
#loaderLayer .login-transition-grid{position:absolute;inset:0;opacity:.75;background:linear-gradient(90deg,transparent calc(50% - .5px),#202020 50%,transparent calc(50% + .5px)),linear-gradient(transparent calc(50% - .5px),#202020 50%,transparent calc(50% + .5px));transform:scale(.85);transition:transform 1.2s ease}
#loaderLayer.active .login-transition-grid{transform:scale(1)}
#loaderLayer .login-transition-symbol{width:210px;color:#fff}
#loaderLayer .login-transition-symbol svg{display:block;width:100%;height:auto}
#loaderLayer .login-transition-symbol .atlas-logo-path{fill:transparent;stroke:currentColor;stroke-width:1.7;stroke-dasharray:1;stroke-dashoffset:1}
#loaderLayer.active .login-transition-symbol .atlas-logo-path{animation:atlasLoginDraw 1.05s ease forwards;animation-delay:var(--logo-delay,0ms)}
#loaderLayer.confirmed .login-transition-symbol{color:#fff;filter:drop-shadow(0 0 35px #7f00ff42);transition:filter .6s}
#loaderLayer .loader-copy{font-size:13px;font-weight:400;letter-spacing:.02em;color:#bbb;margin:0}
#loaderLayer .login-transition-line{width:120px;height:1px;background:#333;overflow:hidden;position:relative}
#loaderLayer .login-transition-line:after{content:'';position:absolute;inset:0;background:#aaa;transform:translateX(-100%);animation:atlasLoginProgress 1.4s ease-in-out infinite}
#loaderLayer.confirmed .login-transition-line:after{background:#a367ec}
@keyframes atlasLoginDraw{0%{stroke-dashoffset:1;fill:transparent}65%{fill:transparent}100%{stroke-dashoffset:0;fill:currentColor}}
@keyframes atlasLoginSymbol{from{opacity:0;transform:translateY(10px) scale(.96)}to{opacity:1;transform:none}}
@keyframes atlasLoginProgress{to{transform:translateX(100%)}}
@media(max-width:1000px){#authShell{padding:18px}#authShell .auth-stage{height:calc(100dvh - 36px);grid-template-columns:.85fr 1.15fr}#authShell .auth-panel{margin:18px;padding:30px}#authShell .auth-fields-row{grid-template-columns:1fr;gap:26px}#authShell .auth-title{margin-bottom:32px;font-size:42px}}
@media(max-width:650px){#authShell{padding:0;align-items:start}#authShell .auth-stage{display:flex;flex-direction:column;min-height:100dvh;height:auto;border:0;border-radius:0}#authShell .auth-visual{flex:0 0 185px;width:100%;border-right:0;border-bottom:1px solid #171717}#authShell .auth-symbol{width:108px}#authShell .auth-visual-caption{display:none}#authShell .auth-panel{margin:12px;min-height:480px;padding:60px 25px 120px;flex:1}#authShell .auth-title{font-size:40px;margin-bottom:32px}#authShell .auth-submit{width:75px;height:75px;bottom:23px;right:23px}#authShell .auth-foot{bottom:28px;left:25px}#loaderLayer .login-transition-symbol{width:160px}}
@media(prefers-reduced-motion:reduce){#authShell *,#loaderLayer *{animation:none!important;transition:none!important}#loaderLayer .login-transition-symbol .atlas-logo-path{fill:currentColor;stroke-dashoffset:0}}

#authShell.leaving{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .45s ease,visibility .45s ease}
#authShell .auth-card.shake{animation:atlasLoginShake .3s ease}
#loaderLayer.atlas-login-transition{opacity:0;visibility:hidden;pointer-events:none}
#loaderLayer.atlas-login-transition.active{opacity:1;visibility:visible;pointer-events:auto}
@keyframes atlasLoginShake{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
body:has(#authShell:not([hidden])) .atlas-theme-fallback,body:has(#loaderLayer.active) .atlas-theme-fallback{display:none!important}
