/* Login layout and light identity adapter; original glass source stays preserved. */
@font-face{font-family:'Uber Move';src:url('/login/medium.woff2') format('woff2');font-weight:400 500;font-display:swap}
@font-face{font-family:'Uber Move';src:url('/login/bold.woff2') format('woff2');font-weight:600 800;font-display:swap}
:root{color-scheme:light;background:#fff;color:#3b2f79}
body{margin:0;background:#fff;font-family:'Uber Move',Arial,sans-serif}button,input{font:inherit}button{cursor:pointer}a,button{-webkit-tap-highlight-color:transparent}
.shell{--bg:#fff;--surface:#fff;--raised:#faf7fe;--field:#fff;--line:#e0d6ed;--line-strong:#b9a1d4;--accent:#3b2f79;--accent-hi:#7d4fb4;--teal:#7d4fb4;--text:#3b2f79;--muted:#655875;--faint:#71617f;--err:#a61220;--err-bg:#fff2f2;--orange:#fb0000;background:#fff;color:var(--text)}
.shell::before,.shell::after,.rain{display:none!important}
.header{min-height:92px;padding:12px clamp(20px,4vw,56px);justify-content:flex-start;background:#ffffffd9;border-color:#ded2ee;backdrop-filter:blur(14px)}
.header .brand{display:grid;grid-template-columns:minmax(0,.65fr) auto minmax(0,1fr);align-items:center;gap:clamp(12px,1.8vw,24px);width:min(470px,100%);min-width:0}
.header .hai-logo,.header .header-kds{display:block;width:100%;height:auto;max-width:100%;object-fit:contain}
.header .brand-cross{font-size:26px;line-height:1;color:#7d4fb4;font-weight:500;text-shadow:none}
.main{width:100%;max-width:1280px;min-height:calc(100dvh - 162px);grid-template-columns:minmax(0,1fr) minmax(340px,440px);gap:clamp(36px,6vw,88px);padding:clamp(36px,6vh,72px) clamp(20px,4vw,56px);align-items:center}
.welcome{min-width:0;max-width:600px}.welcome .eyebrow{font-size:11px;letter-spacing:.12em;color:#7d4fb4;margin:0 0 16px}
.welcome .title{font-size:clamp(34px,3.5vw,48px);line-height:1.13;letter-spacing:-.035em;margin:0 0 22px;color:#3b2f79}
.welcome .title span{display:inline-block;max-width:100%;background:linear-gradient(100deg,#6d38a7 0%,#7540b0 42%,#aa47a5 60%,#ed6c02 85%,#f47716 100%);background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.welcome .lead{font-size:clamp(15px,1.4vw,18px);line-height:1.6;color:#655875;margin:0 0 28px;max-width:500px}
.card,.visual{background:linear-gradient(145deg,#fffffff5,#f8f3fce8);border-color:#d6c4e9;border-top-color:#eee5f6;border-left-color:#e4d6ef;box-shadow:0 18px 48px #3b2f790c,0 3px 8px #3b2f7907,inset 0 2px 2px #fff;backdrop-filter:blur(18px) saturate(115%)}
.card::before,.card::after,.visual::before,.visual::after,.visualCard::after{background:conic-gradient(from var(--research-border-angle),#cbb7e5 0deg,#cbb7e5 220deg,#9b6cca 265deg,#fff 292deg,#b795dc 312deg,#cbb7e5 350deg)}
.card::after,.visual::after{filter:blur(3px);opacity:.12}
.access-card{width:100%;max-width:440px;justify-self:end;align-self:center;padding:clamp(24px,3vw,36px);border-radius:22px}
.cardEyebrow{font-size:10px;letter-spacing:.13em;color:#7d4fb4;margin:0 0 12px}.cardTitle{font-size:clamp(26px,2.6vw,32px);line-height:1.15;color:#3b2f79;margin:0 0 14px}.cardLead{font-size:15px;line-height:1.55;color:#655875;margin:0 0 24px}
.form{gap:14px}.field{gap:9px}.field label{font-size:14px;line-height:1.4;color:#3b2f79}
.password-wrap{position:relative}.field input{height:50px;min-height:50px;padding:0 72px 0 14px;font-size:16px;border-radius:11px;color-scheme:light;background:#ffffffeb;color:#3b2f79;border-color:#b49acc;box-shadow:inset 0 1px 3px #3b2f7905}
.field input:focus,.field input:focus-visible{border-color:#7d4fb4;box-shadow:0 0 0 4px #7d4fb41c}
.password-wrap button{position:absolute;right:4px;top:3px;bottom:3px;min-height:44px;min-width:60px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:#3b2f79;font-size:12px}.password-wrap button:hover{background:#f2ebfa}
.primary.submit{width:100%;height:52px;min-height:52px;padding:0 18px;justify-content:space-between;gap:12px;border-radius:11px;background:#fb0000;border:1px solid #fb0000;color:#fff;font-size:19px;line-height:1.1;font-weight:700;box-shadow:0 8px 22px #fb000016}.primary.submit span{font-size:22px;line-height:1}.primary.submit:hover{background:#dc0000;border-color:#dc0000;box-shadow:0 8px 24px #fb000024}.primary.submit:disabled{opacity:.6;cursor:wait}
#error{min-height:0;margin:0;color:#a61220;font-size:13px;line-height:1.5}#error:empty{display:none}
.access-note{font-size:12px;line-height:1.5;color:#71617f;border-top:1px solid #dfd2ed;padding-top:18px;margin:22px 0 0}
.visual{padding:15px;max-width:510px;border-radius:18px}.visualTop{font-size:9px;letter-spacing:.09em;min-height:34px}.visualCards{gap:10px}.visualCard{padding:16px 10px;min-height:76px;gap:8px;font-size:13px;font-weight:500;counter-increment:none}.visualCard::before{content:none}.visualTop,.visualCard,.visualCard:nth-child(3){background:linear-gradient(145deg,#fff,#f5effc);color:#3b2f79;border-color:#dfd0ed;box-shadow:0 5px 14px #3b2f7907,inset 0 1px 0 #fff}.visualCard small{font-size:10px;line-height:1.4;color:#655875}.visualDot{width:5px;height:5px;background:#fb0000;box-shadow:0 0 10px #fb000020}
.footer{min-height:70px;padding:12px clamp(20px,4vw,56px);font-size:11px;color:#71617f;background:#ffffffb8;border-color:#e0d6ed;backdrop-filter:blur(12px)}.footer .motion{min-height:44px;padding:0 14px;border:1px solid #bda7d5;border-radius:10px;background:#ffffffa6;color:#3b2f79;font-size:11px}.footer .motion:hover,.footer .motion[aria-pressed=true]{background:#f7f2fc;border-color:#7d4fb4}.skip{background:#3b2f79;color:#fff}.shell button:focus-visible,.shell a:focus-visible{outline-color:#7d4fb4}
/* Visible, slow moving color fields and a fine drifting texture, never falling glyphs. */
.login-atmosphere{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:0;background:linear-gradient(135deg,#fbf8ff,#fff 48%,#fff8f2)}
.login-atmosphere::after{content:'';position:absolute;inset:-40px;background-image:radial-gradient(#7d4fb437 .8px,transparent .9px);background-size:28px 28px;opacity:.4;mask-image:linear-gradient(110deg,#0009,transparent 50%,#0007);animation:kdsTexture 22s linear infinite}
.login-atmosphere span{position:absolute;display:block;width:min(75vw,950px);aspect-ratio:1;border-radius:44%;filter:blur(46px);opacity:.75;will-change:transform;animation:kdsAtmosphereDrift 18s ease-in-out infinite alternate;background:radial-gradient(ellipse,#b992ef73,transparent 68%)}
.login-atmosphere span:nth-child(1){top:-32%;right:-22%}.login-atmosphere span:nth-child(2){bottom:-48%;left:-26%;animation-duration:23s;animation-delay:-8s;background:radial-gradient(ellipse,#ffab6863,transparent 68%)}.login-atmosphere span:nth-child(3){top:21%;left:30%;width:min(50vw,620px);opacity:.48;animation-duration:26s;animation-delay:-14s;background:radial-gradient(ellipse,#d3b5f85e,transparent 70%)}
@keyframes kdsAtmosphereDrift{from{transform:translate3d(-8%,-6%,0) scale(.9) rotate(-12deg)}to{transform:translate3d(15%,14%,0) scale(1.14) rotate(16deg)}}@keyframes kdsTexture{to{transform:translate3d(28px,28px,0)}}
.shell[data-motion=paused] .login-atmosphere span,.shell[data-motion=paused] .login-atmosphere::after{animation-play-state:paused}
@media(max-width:960px){.main{grid-template-columns:1fr;gap:34px;min-height:calc(100dvh - 162px);max-width:690px;padding-block:34px}.access-card{max-width:440px;justify-self:center;order:1}.welcome{order:2;max-width:540px;justify-self:center;width:100%}.welcome .title{font-size:40px}.welcome .visual{display:none}.header .brand{width:min(430px,100%)}.cardLead{max-width:340px}}
@media(max-width:600px){.header{min-height:76px;padding:10px 20px}.header .brand{width:min(310px,100%);gap:12px}.header .brand-cross{font-size:22px}.main{gap:30px;padding:26px 20px 34px;min-height:0}.access-card{padding:26px 24px;max-width:420px;border-radius:20px}.cardTitle{font-size:28px}.cardLead{font-size:14px;margin-bottom:22px}.welcome .title{font-size:clamp(31px,7vw,38px);margin-bottom:18px}.welcome .lead{font-size:15px;margin-bottom:0}.welcome .eyebrow{font-size:10px}.footer{padding:12px 20px;font-size:10px}.login-atmosphere span{width:125vw;filter:blur(28px)}.login-atmosphere span:nth-child(1){right:-55%;top:-12%}.login-atmosphere span:nth-child(2){left:-50%;bottom:-16%}.login-atmosphere span:nth-child(3){width:95vw;left:12%;top:25%}}
@media(max-width:360px){.header .brand{gap:10px}.access-card{padding:23px 20px}.cardTitle{font-size:26px}.primary.submit{font-size:19px;padding-inline:14px}.welcome .title{font-size:31px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}.login-atmosphere span,.login-atmosphere::after{animation:none;will-change:auto}.card::before,.card::after,.visual::before,.visual::after,.visualCard::after{animation:none}}
