/* Shared login and registration design. Scoped to avoid changing other pages. */
body:has(.auth-v2){background:#f7f8fa}
.auth-shell.auth-v2{--auth-bg:#f7f8fa;--auth-panel:#fff;--auth-ink:#15171e;--auth-muted:#80838d;--auth-border:#e1e4e9;display:flex;align-items:stretch;justify-content:center;min-height:100svh;width:100%;max-width:none;margin:0;padding:0;background:var(--auth-bg);color:var(--auth-ink);font-family:"Segoe UI Variable Text","Segoe UI",-apple-system,BlinkMacSystemFont,Arial,sans-serif;-webkit-font-smoothing:antialiased}
.auth-shell.auth-v2[data-theme=dark]{--auth-bg:#101218;--auth-panel:#191c24;--auth-ink:#f3f5fb;--auth-muted:#a0a7b8;--auth-border:#343945}
.auth-v2 .auth-card{display:grid;grid-template-columns:1fr 1fr;width:100%;min-height:100svh;overflow:hidden;border:0;border-radius:0;background:var(--auth-panel);box-shadow:none}
.auth-shell.auth-v2 .auth-aside{isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;position:relative;min-height:100%;padding:40px;border:0;border-radius:0;background:#061435;box-shadow:none;overflow:hidden}
.auth-shell.auth-v2 .auth-aside:before{display:none}
.auth-art{position:absolute;inset:0;z-index:-1;overflow:hidden;background:radial-gradient(ellipse at 90% 5%,#b3f1ff 0,rgba(95,210,255,.8) 10%,transparent 36%),radial-gradient(ellipse at 20% 0%,#1c58b3 0,transparent 50%),linear-gradient(145deg,#071330 10%,#02102e 60%,#103a88)}
.auth-ribbon{position:absolute;inset:-5%;background:radial-gradient(ellipse 105% 95% at -14% -8%,#080e20 15%,#0b2152 45%,#1350a9 61%,#2c91f0 67%,#a2eaff 69%,#4cb5f4 70%,#134c9f 75%,transparent 83%);filter:blur(13px)}
.auth-art:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(1,9,25,.8),transparent 38%),radial-gradient(ellipse at 58% 85%,rgba(33,100,227,.52),transparent 40%)}
.auth-grain{position:absolute;inset:0;opacity:.07;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.5' d='M0 0h180v180H0z'/%3E%3C/svg%3E");mix-blend-mode:screen}
.auth-visual-brand{display:flex;align-items:center;justify-content:space-between;gap:16px}
.auth-v2 .auth-brand{display:inline-flex;align-items:center;justify-content:center;gap:12px;width:auto;height:44px;flex:none;color:#fff;text-decoration:none}
.auth-v2 .auth-brand-name{margin:0;padding:0;background:none;border-radius:0;color:inherit;font-family:inherit;font-size:25px;font-weight:650;line-height:1;letter-spacing:-.8px}
.auth-v2 .mobile-brand .auth-brand{color:var(--auth-ink)}
.auth-v2 .mobile-brand .auth-brand-name{margin:0;padding:0;background:none;color:inherit;font-size:25px;font-weight:650}
.auth-v2 .auth-brand img{display:block;width:40px;height:40px;object-fit:contain}
.auth-v2 .mobile-brand .auth-brand img{filter:brightness(0)}
.auth-v2[data-theme=dark] .mobile-brand .auth-brand img{filter:none}
.auth-story{position:relative;z-index:1;margin-top:220px;max-width:620px;color:#f4f7ff}
.auth-story-slides{display:grid}
.auth-story-slide{grid-area:1/1;align-self:end}
.auth-story-slide[hidden]{display:block;visibility:hidden;pointer-events:none}
.auth-story-slide:not([hidden]){animation:authStoryIn .65s cubic-bezier(.2,.7,.2,1) both}
.auth-shell.auth-v2 .auth-story-label{margin:0 0 16px;color:#d4e0f3;font-size:17px;font-weight:400;line-height:1.4;letter-spacing:-.25px}
.auth-shell.auth-v2 .auth-story h2{margin:0;color:#f4f7ff;font-size:clamp(24px,2.55vw,38px);font-weight:600;line-height:1.18;letter-spacing:-1.15px;text-wrap:balance}
.auth-story-controls{display:flex;align-items:center;justify-content:space-between;margin-top:25px}
.auth-story-dots{display:flex;align-items:center;gap:5px}
.auth-story-dots button{position:relative;width:25px;height:24px;padding:0;border:0;background:transparent;cursor:pointer}
.auth-story-dots button:after{content:"";position:absolute;top:10px;left:4px;width:17px;height:3px;border-radius:4px;background:#ffffff40;transition:background .3s}
.auth-story-dots button[aria-pressed=true]:after{background:#edf6ff}
@keyframes authStoryIn{from{opacity:0;transform:translateY(10px);filter:blur(3px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}
.auth-v2 .auth-aside .brand{color:#fff;font-size:24px;gap:10px;letter-spacing:-1px}
.auth-v2 .auth-aside .brand-mark{width:34px;height:34px;background:transparent;box-shadow:none}
.auth-v2 .auth-aside .brand-mark img{filter:brightness(0) invert(1)!important}
.auth-v2 .auth-aside .brand-dot{color:#c2dcff}
.auth-shell.auth-v2 .auth-panel{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-height:100svh;padding:clamp(168px,28svh,320px) clamp(32px,6vw,96px) 100px;border:0;border-radius:0;background:var(--auth-panel);box-shadow:none}
.auth-shell.auth-v2 .auth-top{position:absolute;inset:28px 30px auto;display:flex;justify-content:space-between;align-items:center;gap:16px}
.auth-shell.auth-v2 .auth-back{display:inline-flex;align-items:center;gap:8px;padding:0;height:30px;border:0;border-radius:0;background:none;box-shadow:none;color:var(--auth-muted);font-size:11px!important;font-weight:450;text-decoration:none}
.auth-v2 .auth-back span{font-size:17px}
.auth-shell.auth-v2 .page-theme-toggle.auth-theme-button{position:static;display:grid;place-items:center;width:40px;height:40px;min-height:40px;padding:9px;border:1px solid var(--auth-border);border-radius:50%;background:transparent;color:var(--auth-ink);box-shadow:none;cursor:pointer;transition:background .2s,border-color .2s}
.auth-shell.auth-v2 .auth-theme-button:hover{background:var(--auth-bg);border-color:var(--auth-muted)}
.auth-theme-button svg{grid-area:1/1;display:block;width:20px;height:20px;transition:opacity .2s,transform .3s}
.auth-theme-button .auth-theme-sun{opacity:0;transform:rotate(-60deg) scale(.6)}
.auth-theme-button[aria-checked=true] .auth-theme-sun{opacity:1;transform:rotate(0) scale(1)}
.auth-theme-button[aria-checked=true] .auth-theme-moon{opacity:0;transform:rotate(40deg) scale(.6)}
.auth-shell.auth-v2 .form-wrap{width:100%;max-width:420px;margin:0}
.auth-shell.auth-v2 .mobile-brand{display:none}
.auth-shell.auth-v2 .form-heading{display:block;width:100%;margin:0 0 32px;text-align:center}
.auth-shell.auth-v2 .form-heading>div{width:100%;max-width:none}
.auth-shell.auth-v2 .form-heading h1,.auth-shell.auth-v2 .form-heading>div>p{width:100%;max-width:none;text-align:center!important}
.auth-v2 .form-heading h1{margin:0;color:var(--auth-ink);font-size:36px;line-height:1.2;font-weight:600;letter-spacing:-1.1px}
.auth-shell.auth-v2 .form-heading>div>p:last-child{margin:12px 0 0;color:var(--auth-muted)!important;font-size:14px!important;line-height:1.6!important}
.auth-shell.auth-v2 .auth-form{display:grid;gap:19px}
.auth-shell.auth-v2 .auth-form label{display:block;color:var(--auth-ink);font-size:14px!important;line-height:1.5;font-weight:500;letter-spacing:0;text-transform:none}
.auth-shell.auth-v2 .auth-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]){display:block;width:100%;height:49px;min-height:0;margin-top:8px;padding:0 14px;border:1px solid var(--auth-border);border-radius:8px;background:var(--auth-panel);color:var(--auth-ink);font-family:inherit;font-size:15px!important;font-weight:400;box-shadow:0 1px 2px #10182804;outline:none;transition:border-color .2s,box-shadow .2s}
.auth-shell.auth-v2 .auth-form input::placeholder{color:#9b9ea8;opacity:1}
.auth-shell.auth-v2 .auth-form input:not([type=checkbox]):focus{border-color:#6099ed;box-shadow:0 0 0 3px #2879ea18}
.auth-shell.auth-v2 .auth-form label small{display:block;margin:8px 3px 0;color:var(--auth-muted)!important;font-size:12px!important;line-height:1.5;font-weight:400;letter-spacing:0}
.auth-shell.auth-v2 .auth-password-field{margin-top:8px}
.auth-shell.auth-v2 .auth-password-field input{margin-top:0!important;padding-right:65px!important}
.auth-shell.auth-v2 .auth-password-toggle{right:7px;height:32px;padding:0 9px;color:var(--auth-muted);font-family:inherit;font-size:12px;font-weight:500;letter-spacing:0;text-transform:none}
.auth-shell.auth-v2 .auth-remember{display:flex!important;align-items:center;gap:9px;margin:0;color:var(--auth-muted)!important}
.auth-shell.auth-v2 .auth-remember span{color:var(--auth-muted)!important;font-size:13px!important;font-weight:400!important}
.auth-shell.auth-v2 .auth-remember input[type=checkbox]{width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;flex-basis:16px;margin:0!important;border-radius:4px!important}
.auth-shell.auth-v2 .auth-remember input[type=checkbox]:checked{border-color:#1a4f9f!important;background:#1a4f9f!important}
.auth-shell.auth-v2 .auth-remember input[type=checkbox]:checked:after{left:4px;top:1px}
.auth-shell.auth-v2 .auth-form .primary{display:flex;justify-content:center;position:relative;width:100%;height:50px;margin:4px 0 0;padding:0 45px;border:1px solid #15171e;border-radius:8px;background:#15171e;color:#fff;font-size:14px!important;font-weight:500!important;letter-spacing:0;box-shadow:0 2px 3px #1018280a;transition:background .2s,transform .2s,box-shadow .2s}
.auth-shell.auth-v2 .auth-form .primary b{position:absolute;right:16px;width:auto;height:auto;background:none;font-size:19px;font-weight:400;opacity:.65}
.auth-shell.auth-v2 .auth-form .primary:hover{background:#254b85;border-color:#254b85;transform:translateY(-1px);box-shadow:0 5px 15px #18345920}
.auth-shell.auth-v2 .auth-form .primary:active{transform:translateY(0)}
.auth-v2 .auth-divider{display:flex;align-items:center;gap:15px;margin:28px 0 20px;color:var(--auth-muted);font-size:11px}
.auth-v2 .auth-divider:before,.auth-v2 .auth-divider:after{content:"";height:1px;flex:1;background:var(--auth-border)}
.auth-v2 .auth-secondary{display:flex;align-items:center;justify-content:center;gap:14px;width:100%;min-height:47px;border:1px solid var(--auth-border);border-radius:8px;color:var(--auth-ink);font-size:13px;font-weight:500;text-decoration:none;transition:background .2s,border-color .2s}
.auth-v2 .auth-secondary:hover{background:var(--auth-bg);border-color:#8e9fb9}
.auth-shell.auth-v2 .switch{margin:23px 0 0;color:var(--auth-muted)!important;font-size:12px!important;line-height:1.6}
.auth-shell.auth-v2 .switch a{margin-left:3px;color:var(--auth-ink);font-weight:600!important;text-decoration:none}
.auth-v2 .switch a:hover,.auth-v2 .auth-legal a:hover{text-decoration:underline}
.auth-v2 .auth-legal{position:absolute;bottom:25px;left:25px;right:25px;margin:0;color:var(--auth-muted);font-size:12px;line-height:1.8;text-align:center}
.auth-v2 .auth-legal a{color:var(--auth-muted);text-decoration:none}
.auth-v2 .auth-legal span{padding:0 7px}
.auth-v2 :is(a,button):focus-visible{outline:3px solid #79b1ff;outline-offset:4px}
.auth-v2[data-theme=dark] .auth-form .primary{background:#e4edfb;border-color:#e4edfb;color:#16213a}
.auth-v2[data-theme=dark] .auth-form .primary b{color:#16213a}
.auth-v2[data-theme=dark] .auth-form .primary:hover{background:#c5dcff}
.auth-v2 .slammed-captcha{max-width:100%}
@media(max-width:1100px){.auth-v2 .auth-card{grid-template-columns:1fr 1fr}.auth-shell.auth-v2 .auth-aside{padding:32px}.auth-shell.auth-v2 .auth-panel{padding-left:36px;padding-right:36px}}
@media(max-width:760px){.auth-v2 .auth-card{display:block}.auth-shell.auth-v2 .auth-aside{display:none}.auth-shell.auth-v2 .auth-panel{min-height:100svh;padding:100px 28px 100px}.auth-shell.auth-v2 .auth-top{inset:24px 28px auto}.auth-shell.auth-v2 .mobile-brand{display:flex;height:auto;margin:0 0 36px;justify-content:center}.auth-shell.auth-v2 .mobile-brand .brand{color:var(--auth-ink);font-size:23px;gap:9px}.auth-shell.auth-v2 .mobile-brand .brand-mark{width:32px;height:32px;background:none;box-shadow:none}.auth-shell.auth-v2 .mobile-brand .brand-mark img{width:32px;height:32px}.auth-shell.auth-v2 .mobile-brand .brand-word{display:inline;margin:0;padding:0;background:none;font-size:23px;color:var(--auth-ink)}.auth-shell.auth-v2 .mobile-brand .brand-dot{margin:0;padding:0;background:none;color:#3679d7;font-size:inherit}}
@media(max-width:420px){.auth-shell.auth-v2 .auth-panel{padding-left:24px;padding-right:24px}.auth-v2 .form-heading h1{font-size:32px}.auth-shell.auth-v2 .auth-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]){font-size:16px!important}}
/* Compact form styling shared by login and registration. */
.auth-shell.auth-v2 .auth-panel{font-family:Arial,Helvetica,sans-serif}
.auth-shell.auth-v2 .auth-field-name{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.auth-shell.auth-v2 .auth-form{gap:14px}
.auth-shell.auth-v2 .auth-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]){height:50px;margin-top:0;padding:0 20px;border-color:#e3e3e3!important;border-radius:14px;background:#f9f9f9!important;font-family:Arial,Helvetica,sans-serif;font-size:18px!important;font-weight:400;letter-spacing:-.4px;box-shadow:0 0 0 1px #00000002}
.auth-shell.auth-v2 .auth-form input::placeholder{color:#929596!important;font-family:Arial,Helvetica,sans-serif;font-size:18px!important;font-weight:400;letter-spacing:-.4px}
.auth-shell.auth-v2 .auth-password-field{margin-top:0}
.auth-shell.auth-v2 .auth-password-field input{padding-right:54px!important}
.auth-shell.auth-v2 .auth-password-toggle{display:grid;place-items:center;right:12px;width:32px;height:32px;padding:0;color:#929596;border-radius:8px}
.auth-eye-slash{display:none}
.auth-password-toggle[aria-pressed=true] .auth-eye-slash{display:block}
.auth-shell.auth-v2 .auth-remember{gap:9px;margin:7px 0 8px}
.auth-shell.auth-v2 .auth-remember span{font-family:Arial,Helvetica,sans-serif;font-size:15px!important;color:var(--auth-ink)!important;letter-spacing:-.35px}
.auth-shell.auth-v2 .auth-remember input[type=checkbox]{width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;flex-basis:20px;border-radius:5px!important}
.auth-shell.auth-v2 .auth-remember input[type=checkbox]:checked{background:#202121!important;border-color:#202121!important}
.auth-shell.auth-v2 .auth-remember input[type=checkbox]:checked:after{left:6px;top:3px}
.auth-shell.auth-v2 .auth-form .primary{height:50px;margin-top:0;padding:0 20px;border-radius:14px;background:#202121;border-color:#202121;font-family:Arial,Helvetica,sans-serif;font-size:20px!important;font-weight:400!important;letter-spacing:-.5px;box-shadow:none}
.auth-shell.auth-v2 .auth-form .primary:hover{background:#343535;border-color:#343535;box-shadow:none}
.auth-v2 .auth-secondary{border-radius:14px;font-size:15px;font-weight:400}
.auth-shell.auth-v2[data-theme=dark] .auth-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]){background:#20232b!important;border-color:#373b45!important}
.auth-shell.auth-v2[data-theme=dark] .auth-form .primary{background:#e4edfb;border-color:#e4edfb;color:#16213a}
.auth-shell.auth-v2[data-theme=dark] .auth-form .primary:hover{background:#c5dcff;border-color:#c5dcff}
.auth-shell.auth-v2 .auth-form input:not([type=checkbox]):focus{border-color:#6099ed!important}
.auth-options{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:6px 0 8px}
.auth-shell.auth-v2 .auth-options .auth-remember{margin:0}
.auth-forgot{color:#747878;font-size:14px;line-height:1.4;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.auth-forgot:hover{color:var(--auth-ink)}
.auth-v2[data-theme=dark] .auth-forgot{color:var(--auth-muted)}
.auth-recovery-help,.auth-recovery-notice{color:var(--auth-muted);font-size:14px;line-height:1.65;text-align:center;margin:22px 0}
.auth-recovery-help a{color:var(--auth-ink);text-underline-offset:3px}
.auth-recovery-notice{padding:16px;border:1px solid var(--auth-border);border-radius:12px;background:var(--auth-bg)}
@media(max-width:360px){.auth-shell.auth-v2 .auth-options .auth-remember span,.auth-forgot{font-size:13px!important}.auth-options{gap:8px}}
/* Match the reference's larger desktop UI without changing the 50/50 split. */
@media(min-width:1800px) and (min-height:900px){
  .auth-shell.auth-v2 .auth-panel{padding-top:clamp(200px,28svh,400px);padding-bottom:125px}
  .auth-shell.auth-v2 .form-wrap{zoom:1.25}
  .auth-shell.auth-v2 .auth-aside{padding:50px}
  .auth-v2 .auth-visual-brand,.auth-v2 .auth-story,.auth-v2 .auth-top,.auth-v2 .auth-legal{zoom:1.25}
}
@media(prefers-reduced-motion:reduce){.auth-v2 *{transition:none!important;animation:none!important}}
/* A restrained highlight for the feature carousel. */
.auth-shell.auth-v2 .auth-story h2{line-height:1.2;letter-spacing:-1.25px;text-shadow:0 2px 18px #00122c20}
.auth-story-accent{color:#bbdeff;background:linear-gradient(100deg,#f0f7ff 0%,#b7dcff 55%,#81b9f8 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.auth-story-controls{margin-top:30px;padding-top:16px;border-top:1px solid #b8d6ff20}
.auth-story-dots{gap:7px}
.auth-story-dots button{width:26px;height:28px;transition:width .3s ease}
.auth-story-dots button:after{top:12px;left:4px;right:4px;width:auto;height:3px;background:#b7d0f24a;transition:background .3s,box-shadow .3s}
.auth-story-dots button[aria-pressed=true]{width:42px}
.auth-story-dots button[aria-pressed=true]:after{background:#d4ebff;box-shadow:0 0 10px #73b7ff45}
.auth-story-dots button:hover:after{background:#d4ebff}
@media(prefers-reduced-motion:reduce){.auth-story-dots button{transition:none}}
@media(forced-colors:active){.auth-story-accent{-webkit-text-fill-color:currentColor;background:none}}
