:root{--auth-violet:#6d43f5;--auth-violet-dark:#4b27c9;--auth-ink:#171426;--auth-muted:#777181;--auth-line:#e8e5ed}
body:has(.auth-login){min-height:100vh;min-height:100dvh;background:#f5f3fa}
body .auth-login.login-page{position:relative;isolation:isolate;min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:32px 20px;overflow:hidden;background:linear-gradient(135deg,#f4f0ff 0%,#fbfaff 48%,#eff9f5 100%)!important}
.auth-orb{position:fixed;z-index:-2;border-radius:50%;pointer-events:none;filter:blur(2px)}
.auth-orb-one{width:560px;height:560px;left:-250px;top:-280px;background:radial-gradient(circle,rgba(113,67,245,.2),rgba(113,67,245,0) 70%)}
.auth-orb-two{width:620px;height:620px;right:-290px;bottom:-330px;background:radial-gradient(circle,rgba(35,185,137,.16),rgba(35,185,137,0) 70%)}
.login-shell{position:relative;width:min(100%,1030px);display:grid;grid-template-columns:minmax(390px,.96fr) minmax(440px,1.04fr);overflow:hidden;border:1px solid rgba(55,39,95,.1);border-radius:32px;background:rgba(255,255,255,.92);box-shadow:0 40px 110px rgba(43,28,81,.18),0 4px 18px rgba(43,28,81,.06);backdrop-filter:blur(20px)}
.auth-story{position:relative;min-height:700px;display:flex;flex-direction:column;padding:43px 43px 35px;overflow:hidden;color:#fff;background:linear-gradient(145deg,#21104f 0%,#43209f 48%,#6942e7 100%)}
.auth-story:before{content:"";position:absolute;width:390px;height:390px;right:-210px;top:-155px;border:1px solid rgba(255,255,255,.16);border-radius:50%;box-shadow:0 0 0 50px rgba(255,255,255,.035),0 0 0 100px rgba(255,255,255,.02)}
.auth-story:after{content:"";position:absolute;width:280px;height:280px;left:-145px;bottom:-135px;border-radius:50%;background:linear-gradient(135deg,rgba(91,239,190,.32),rgba(91,239,190,0))}
.auth-brand,.auth-mobile-brand{position:relative;z-index:2;display:flex;align-items:center;gap:12px;font-size:19px;font-weight:850;letter-spacing:-.35px}
.auth-brand-mark{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:1px solid rgba(255,255,255,.24);border-radius:14px;background:rgba(255,255,255,.14);box-shadow:0 12px 30px rgba(14,5,44,.22);backdrop-filter:blur(10px)}
.auth-brand-mark svg{width:25px;height:25px}
.auth-copy{position:relative;z-index:2;margin:58px 0 25px}
.auth-eyebrow{display:inline-flex;align-items:center;gap:9px;margin-bottom:18px;color:rgba(255,255,255,.82);font-size:11px;font-weight:850;letter-spacing:.11em;text-transform:uppercase}
.auth-eyebrow span{width:7px;height:7px;border-radius:50%;background:#7cf0c3;box-shadow:0 0 0 5px rgba(124,240,195,.12)}
.auth-copy h2{margin:0 0 18px;color:#fff;font-size:42px;line-height:1.04;letter-spacing:-1.7px}
.auth-copy p{max-width:360px;margin:0;color:rgba(255,255,255,.7);font-size:14px;line-height:1.65}
.auth-preview{position:relative;z-index:2;margin-top:auto;padding:17px;border:1px solid rgba(255,255,255,.16);border-radius:20px;background:rgba(255,255,255,.1);box-shadow:0 18px 45px rgba(20,7,65,.18);backdrop-filter:blur(14px)}
.preview-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px;color:rgba(255,255,255,.72);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.07em}.preview-live{color:#8af2cc;text-transform:none;letter-spacing:0}
.preview-row{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:11px;padding:10px 8px;border-top:1px solid rgba(255,255,255,.1)}
.preview-row:first-of-type{border-top:0}.preview-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;font-size:14px;font-style:normal}.preview-icon.violet{background:#8061ed}.preview-icon.mint{background:#28a984}.preview-icon.amber{background:#d89339}
.preview-row b,.preview-row small{display:block}.preview-row b{color:#fff;font-size:12px}.preview-row small{margin-top:3px;color:rgba(255,255,255,.55);font-size:10px}.preview-row em{font-size:12px;font-weight:850;font-style:normal;color:rgba(255,255,255,.82)}
.auth-trust{position:relative;z-index:2;display:flex;align-items:center;gap:8px;margin-top:19px;color:rgba(255,255,255,.68);font-size:11px}.auth-trust>span:first-child{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:rgba(124,240,195,.14);color:#8af2cc;font-weight:900}
.auth-features{position:relative;z-index:2;display:grid;gap:10px;margin-top:auto}.auth-feature{display:flex;align-items:center;gap:11px;padding:11px 13px;border:1px solid rgba(255,255,255,.13);border-radius:14px;background:rgba(255,255,255,.08);color:rgba(255,255,255,.88);font-size:12px;font-weight:750;backdrop-filter:blur(8px)}.auth-feature-icon{display:grid;place-items:center;flex:0 0 29px;height:29px;border-radius:9px;background:rgba(255,255,255,.14)}
.auth-panel{position:relative;display:flex;align-items:center;padding:42px 58px 35px;background:rgba(255,255,255,.98)}
.auth-panel-inner{position:relative;width:100%;max-width:390px;margin:auto}
.auth-mobile-brand{display:none;margin-bottom:29px;color:#241a3c}.auth-mobile-brand .auth-brand-mark{color:#fff;border:0;background:linear-gradient(135deg,#5a2fd6,#7950f5);box-shadow:0 10px 25px rgba(101,57,226,.25)}
.auth-heading{margin-bottom:24px}.auth-welcome{display:block;margin-bottom:9px;color:#7658c8;font-size:10px;font-weight:850;letter-spacing:.09em;text-transform:uppercase}.auth-panel h1{margin:0 0 8px;color:var(--auth-ink);font-size:33px;line-height:1.12;letter-spacing:-1.15px}.auth-subtitle{margin:0;color:var(--auth-muted);font-size:14px;line-height:1.5}
.auth-passkey,.auth-submit{width:100%;border:0;color:#fff!important;background:linear-gradient(115deg,var(--auth-violet-dark),#7b4dff)!important;box-shadow:0 12px 28px rgba(96,53,222,.24);transition:transform .16s ease,box-shadow .16s ease,filter .16s ease}
.auth-passkey{position:relative;min-height:56px;display:flex;align-items:center;justify-content:center;gap:12px;padding:0 45px;border-radius:15px;font-size:15px;font-weight:850}.button-arrow{position:absolute;right:18px;width:20px;height:20px;opacity:.7}
.auth-passkey:hover,.auth-submit:hover{transform:translateY(-1px);filter:saturate(1.08);box-shadow:0 16px 32px rgba(96,53,222,.3)}.auth-passkey:active,.auth-submit:active{transform:translateY(0)}.auth-passkey:disabled{opacity:.62;cursor:wait;transform:none}
.face-icon{position:relative;width:26px;height:26px;border:2px solid currentColor;border-radius:8px}.face-icon:before{content:"••";position:absolute;left:4px;top:0;letter-spacing:4px;font-size:10px}.face-icon:after{content:"⌣";position:absolute;left:5px;bottom:-1px;font-size:15px;font-weight:400}
.passkey-status{display:block;min-height:18px;margin:7px 2px 0;text-align:center;color:#777080;font-size:12px;line-height:1.4}
.auth-divider{display:flex;align-items:center;gap:12px;margin:14px 0;color:#a09aa9;font-size:11px}.auth-divider:before,.auth-divider:after{content:"";height:1px;flex:1;background:var(--auth-line)}
.auth-form label{display:block;margin:11px 0 7px;color:#302a39;font-size:12px;font-weight:850}.auth-field{position:relative}.auth-field input{width:100%;height:52px;padding:0 47px 0 45px;border:1px solid #dfdbe6;border-radius:14px;background:#fbfafd;color:#211b2b;font-size:14px;outline:none;transition:border-color .16s,box-shadow .16s,background .16s}.auth-field input:hover{border-color:#c9c1d6}.auth-field input:focus{border-color:#7650e8;background:#fff;box-shadow:0 0 0 4px rgba(118,80,232,.1)}
.field-icon{position:absolute;z-index:1;left:15px;top:50%;width:18px;height:18px;transform:translateY(-50%);color:#8c8497;pointer-events:none}
.password-toggle{position:absolute;right:7px;top:7px;width:38px;height:38px;padding:0;border:0;border-radius:10px;background:transparent!important;color:#807789!important;box-shadow:none}.password-toggle:hover{background:#f0edf5!important}.password-toggle svg{position:absolute;inset:9px;width:20px;height:20px}.password-toggle .eye-closed{display:none}.password-toggle.is-visible .eye-open{display:none}.password-toggle.is-visible .eye-closed{display:block}
.auth-form-meta{display:flex;justify-content:flex-end;min-height:18px;margin-top:9px;font-size:11px}.auth-form-meta a,.auth-register-link a{color:#6537dd;font-weight:850;text-decoration:none}.auth-form-meta a:hover,.auth-register-link a:hover{text-decoration:underline}
.auth-submit{height:51px;margin-top:10px;border-radius:14px;font-size:15px;font-weight:850}.auth-submit span{margin-left:auto}.auth-submit svg{width:20px;height:20px;margin:0 16px 0 auto;opacity:.7}
.google-section{margin-top:18px;padding-top:17px;border-top:1px solid var(--auth-line)}.google-label{margin:0 0 11px;text-align:center;color:#918a99;font-size:11px}.google-login{display:flex;justify-content:center;min-height:40px;overflow:hidden}
.auth-register-link{margin:16px 0 0;text-align:center;color:#7f7887;font-size:12px}.security-note{display:flex;align-items:center;justify-content:center;gap:7px;margin:14px 0 0;color:#a09aa7;font-size:10px}.security-note>span:first-child{color:#6f45e7;font-size:8px}
.auth-passkey:focus-visible,.auth-submit:focus-visible,.password-toggle:focus-visible,.auth-form-meta a:focus-visible,.auth-register-link a:focus-visible{outline:3px solid rgba(109,67,245,.25);outline-offset:2px}
body:has(.auth-login)>.flash{position:fixed!important;z-index:80;left:50%;top:14px;transform:translateX(-50%);width:min(calc(100% - 28px),680px);margin:0!important;padding:13px 16px!important;border:1px solid #ead389!important;border-radius:13px!important;background:#fff5cf!important;box-shadow:0 12px 30px rgba(61,43,20,.13)!important;color:#5d4715!important;text-align:center;font-size:13px}
@media(max-width:860px){body .auth-login.login-page{place-items:start center;padding:18px 12px 28px}.login-shell{width:min(100%,540px);grid-template-columns:1fr;border-radius:25px}.auth-story{min-height:178px;padding:25px 26px}.auth-brand{display:none}.auth-copy{margin:auto 0}.auth-eyebrow{margin-bottom:10px}.auth-copy h2{margin-bottom:9px;font-size:29px;letter-spacing:-1px}.auth-copy h2 br{display:none}.auth-copy p{max-width:470px;font-size:12px;line-height:1.5}.auth-preview,.auth-trust,.auth-features{display:none}.auth-panel{padding:29px 34px 30px}.auth-panel-inner{max-width:430px}.auth-mobile-brand{display:flex}.auth-panel h1{font-size:29px}.auth-heading{margin-bottom:21px}}
@media(max-width:500px){body .auth-login.login-page{padding:0;background:#fff!important}.auth-orb{display:none}.login-shell{min-height:100vh;min-height:100dvh;border:0;border-radius:0;box-shadow:none}.auth-story{min-height:118px;padding:19px 20px}.auth-eyebrow{font-size:9px}.auth-copy h2{font-size:23px;margin:0}.auth-copy p{display:none}.auth-panel{align-items:flex-start;padding:23px 20px 28px}.auth-mobile-brand{margin-bottom:21px}.auth-panel h1{font-size:27px}.auth-welcome{padding-right:115px}.auth-passkey{min-height:53px}.auth-register-link{margin-top:14px}}
@media(prefers-reduced-motion:reduce){.auth-passkey,.auth-submit,.auth-field input{transition:none}}
.auth-login .auth-modern-language{top:0!important;right:0!important}.auth-login .auth-panel h1{padding-right:0!important}
@media(min-width:861px){.auth-login .auth-heading{padding-top:42px}}
.auth-register .auth-panel{padding-top:34px;padding-bottom:30px}.auth-register-note{display:flex;gap:10px;margin:16px 0 2px;padding:12px 13px;border:1px solid #e5def1;border-radius:13px;background:#faf8ff;color:#756d80;font-size:12px;line-height:1.45}.auth-register-note strong{display:block;margin-bottom:2px;color:#342c42}.auth-register-note-icon{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:9px;background:#eee8fd;color:#6738e7}.password-hint{display:block;margin:6px 2px 0;color:#8a8294;font-size:11px}.auth-back{text-align:center;margin:18px 0 0;color:#7d7589;font-size:12px}.auth-back a{color:#6534df;font-weight:800;text-decoration:none}.auth-back a:hover{text-decoration:underline}

/* Premium dark login refresh */
body:has(.auth-login){background:#080914;color:#f7f5ff}
body .auth-login.login-page{background:radial-gradient(circle at 8% 12%,rgba(113,67,245,.3),transparent 34%),radial-gradient(circle at 92% 88%,rgba(35,191,170,.18),transparent 32%),linear-gradient(145deg,#070812,#0c0d1d 55%,#080b16)!important}
body .auth-login.login-page:before{content:"";position:fixed;z-index:-3;inset:0;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.024) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.024) 1px,transparent 1px);background-size:56px 56px;mask-image:linear-gradient(#000,transparent 82%)}
.login-shell{width:min(100%,1120px);min-height:720px;border:1px solid rgba(255,255,255,.13);border-radius:36px;background:rgba(11,12,25,.72);box-shadow:0 50px 140px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.06);backdrop-filter:blur(30px)}
.auth-story{min-height:720px;padding:45px 52px 40px;background:radial-gradient(circle at 80% 15%,rgba(139,92,246,.24),transparent 34%),linear-gradient(155deg,rgba(30,22,66,.8),rgba(10,12,27,.38))}
.auth-story:before{width:480px;height:480px;border-color:rgba(255,255,255,.12);box-shadow:0 0 0 55px rgba(255,255,255,.022),0 0 0 110px rgba(255,255,255,.014)}
.auth-brand:after{content:"2026";margin-left:4px;padding:4px 7px;border:1px solid rgba(255,255,255,.12);border-radius:999px;color:rgba(255,255,255,.48);font-size:8px;letter-spacing:.12em}
.auth-brand-mark{border-color:rgba(255,255,255,.18);background:linear-gradient(145deg,rgba(255,255,255,.17),rgba(255,255,255,.06));box-shadow:0 14px 35px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.15)}
.auth-copy{margin:76px 0 30px}.auth-eyebrow{color:#65f0bd;font-size:10px;letter-spacing:.15em}.auth-eyebrow span{background:#65f0bd;box-shadow:0 0 0 5px rgba(101,240,189,.11),0 0 18px rgba(101,240,189,.8)}
.auth-copy h2{font-size:49px;line-height:1.01;letter-spacing:-2.2px}.auth-copy>p{color:rgba(238,235,255,.62)}
.auth-preview{border-color:rgba(255,255,255,.12);background:linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.035));box-shadow:0 24px 60px rgba(0,0,0,.26),inset 0 1px 0 rgba(255,255,255,.08);backdrop-filter:blur(18px)}
.preview-head{color:rgba(255,255,255,.46)}.preview-live{color:#65f0bd}.preview-row{border-color:rgba(255,255,255,.08)}.preview-row b{color:rgba(255,255,255,.92)}.preview-row small{color:rgba(255,255,255,.4)}.preview-row em{border-color:rgba(255,255,255,.1);background:rgba(255,255,255,.05);color:rgba(255,255,255,.76)}
.auth-trust{color:rgba(255,255,255,.42)}.auth-trust>span:first-child{background:rgba(101,240,189,.1);color:#65f0bd}
.auth-panel{padding:44px 58px 36px;background:linear-gradient(155deg,rgba(19,20,39,.9),rgba(9,10,21,.86))}.auth-panel:before{background:radial-gradient(circle at 100% 0,rgba(79,226,255,.055),transparent 28%)}
.auth-welcome{color:#a789ff}.auth-panel h1{color:#fff;font-size:35px}.auth-subtitle{color:#a6a3b5}
.auth-passkey,.auth-submit{background:linear-gradient(110deg,#6941e8,#8d5bff 55%,#7850f4)!important;box-shadow:0 14px 35px rgba(93,55,223,.28),inset 0 1px 0 rgba(255,255,255,.19)}
.auth-divider{color:#706d7d}.auth-divider:before,.auth-divider:after{background:linear-gradient(90deg,transparent,rgba(255,255,255,.11))}.auth-divider:after{background:linear-gradient(90deg,rgba(255,255,255,.11),transparent)}
.auth-form label{color:#d9d5e2}.auth-field input{border-color:rgba(255,255,255,.11);background:rgba(255,255,255,.045);color:#fff}.auth-field input::placeholder{color:#777383}.auth-field input:focus{border-color:rgba(151,108,255,.8);background:rgba(255,255,255,.065);box-shadow:0 0 0 4px rgba(139,92,246,.12),0 8px 25px rgba(0,0,0,.12)}.field-icon{color:#858091}
.password-toggle{color:#8b8697!important}.password-toggle:hover{background:rgba(255,255,255,.07)!important;color:#c7c1d2!important}.auth-form-meta a,.auth-register-link a{color:#aa8bff}.google-section{border-color:rgba(255,255,255,.08)}.google-label{color:#716e7d}.auth-register-link{color:#7f7a8b}.security-note{color:#5f5b6a}.security-note>span:first-child{color:#8b5cf6}
.auth-login .auth-modern-language{border-color:rgba(255,255,255,.1)!important;background:rgba(255,255,255,.055)!important;color:#ded9e8!important}.auth-login .auth-modern-language select{color:#ded9e8!important}.auth-login .auth-modern-language select option{color:#211d2a!important;background:#fff!important}
body:has(.auth-login)>.flash{border-color:rgba(255,208,91,.28)!important;background:rgba(63,48,15,.92)!important;color:#ffe7a7!important}
@media(min-width:861px){.auth-login .auth-heading{padding-top:44px}}
@media(max-width:860px){.login-shell{min-height:0;background:rgba(11,12,25,.82)}.auth-story{min-height:190px;padding:26px 28px}.auth-copy{margin:auto 0}.auth-copy h2{font-size:31px}.auth-preview,.auth-trust,.auth-features{display:none}.auth-panel{padding:30px 36px 31px}.auth-panel h1{font-size:30px}}
@media(max-width:500px){body .auth-login.login-page{background:#090a14!important}.login-shell{min-height:100vh;min-height:100dvh;border:0;border-radius:0;box-shadow:none;background:#090a14}.auth-story{min-height:127px;padding:20px}.auth-copy h2{font-size:24px}.auth-copy p{display:none}.auth-panel{padding:23px 20px 30px;background:linear-gradient(180deg,#111225,#090a14)}.auth-panel h1{font-size:28px}}
