/* Authentication only. Independent from workspace density and legacy portal. */
.auth-page{--auth-bg:#f9fafc;--auth-ink:#142033;--auth-muted:#526174;--auth-line:#d8dfe9;--auth-input:#fff;--auth-accent:#2859df;--auth-link:#2453c6;--auth-hover:#eef2f8;display:block;min-height:100vh;min-height:100dvh;background:var(--auth-bg);color:var(--auth-ink);font:14px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
:root[data-theme=dark] .auth-page{--auth-bg:#10151e;--auth-ink:#eef3fb;--auth-muted:#aab8ca;--auth-line:#344154;--auth-input:#171f2c;--auth-accent:#315fe5;--auth-link:#9ebaff;--auth-hover:#1e2939}
.auth-page a{color:var(--auth-link);text-decoration:none;font-weight:600}.auth-page a:hover{text-decoration:underline;text-underline-offset:3px}
.auth-page :is(a,button,input,select):focus-visible{outline:2px solid var(--auth-link);outline-offset:3px}
.auth-shell{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);min-height:100vh;min-height:100dvh}
.auth-brand-panel{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;padding:clamp(28px,4vw,64px);background:radial-gradient(ellipse at 90% 15%,#294c99 0,transparent 55%),radial-gradient(ellipse at 10% 100%,#1d386d 0,transparent 60%),#101d37;color:#f5f8ff;min-width:0}
.auth-brand-panel::before{content:"";position:absolute;inset:0;z-index:-1;background-image:linear-gradient(#c0d4ff0b 1px,transparent 1px),linear-gradient(90deg,#c0d4ff0b 1px,transparent 1px);background-size:44px 44px;mask-image:linear-gradient(135deg,transparent 10%,#000 85%);pointer-events:none}
.auth-page .auth-wordmark{display:inline-block;align-self:start;font-size:26px;font-weight:830;letter-spacing:-1.6px;color:inherit;line-height:1;text-decoration:none}.auth-wordmark span{color:#7c9dff}.auth-mobile-brand{display:none}
.auth-brand-content{max-width:560px;margin:48px 0}.auth-eyebrow,.auth-kicker{display:flex;align-items:center;gap:8px;font-size:10px;font-weight:750;letter-spacing:1.6px}.auth-eyebrow{color:#b4c8f2}.auth-dot{height:7px;width:7px;border-radius:50%;background:#83a6ff}.auth-brand-content h2{font-size:clamp(36px,4.7vw,72px);font-weight:730;letter-spacing:-.055em;line-height:1.04;margin:22px 0 16px}.auth-brand-content p{color:#c1d0e9;max-width:390px;font-size:15px;margin:0 0 36px}
.auth-preview{border:1px solid #6f91d955;border-radius:15px;overflow:hidden;background:#142442;box-shadow:0 24px 70px #080f265e;max-width:485px}.auth-preview-top{height:43px;display:flex;align-items:center;gap:9px;padding:0 13px;border-bottom:1px solid #637eab44;font-size:11px;color:#dbe5f8}.auth-preview-logo{display:grid;place-items:center;width:22px;height:22px;border-radius:6px;background:#416df1;font-weight:800}.auth-preview-live{margin-left:auto;color:#afbdd8;font-size:10px}.auth-preview-live i{display:inline-block;background:#65d5aa;width:6px;height:6px;border-radius:50%;margin-right:4px}.auth-preview-body{display:grid;grid-template-columns:minmax(0,112px) minmax(0,1fr)}.auth-preview-nav{display:grid;align-content:start;gap:13px;border-right:1px solid #637eab44;padding:16px 10px;color:#b9c9e6;font-size:10px}.auth-preview-nav b{font-size:9px;letter-spacing:.5px;color:#8098c2;text-transform:uppercase}.auth-preview-main{padding:18px 16px;min-width:0;background:#1a2c4d}.auth-preview-kicker{font-size:8px;letter-spacing:1px;color:#a6badb;display:block}.auth-preview-main>strong{font-size:18px;display:block;margin:4px 0 14px}.auth-preview-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.auth-preview-tiles>div{padding:10px;border:1px solid #637eab55;background:#22375a;border-radius:7px;min-width:0}.auth-preview-tiles span{font-size:10px;color:#c6d5f1}.auth-preview-tiles i{display:block;height:4px;background:#7d9de66a;border-radius:5px;width:70%;margin-top:9px}.auth-preview-tiles i:last-child{width:45%;background:#627ba6}.auth-preview-chart{height:78px;border:1px solid #637eab55;background:#22375a;border-radius:7px;margin-top:8px;display:flex;gap:8px;align-items:end;padding:12px}.auth-preview-chart span{flex:1;background:linear-gradient(#8aa6ff,#4268d4);border-radius:3px 3px 0 0;height:38%}.auth-preview-chart span:nth-child(2n){height:60%}.auth-preview-chart span:nth-child(3n){height:80%}.auth-preview-chart span:nth-child(7){height:95%}.auth-brand-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:10px;color:#a4b9df}.auth-brand-bottom span{letter-spacing:1px}
.auth-main{display:flex;flex-direction:column;min-width:0;padding:clamp(24px,4vw,64px);gap:26px}.auth-main-top{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--auth-muted);font-size:11px;letter-spacing:.8px}.auth-main-top a{letter-spacing:0;font-size:12px}.auth-content{width:100%;max-width:410px;margin:auto;overflow-wrap:anywhere}.auth-intro{margin:0 0 28px}.auth-kicker{color:var(--auth-link);margin:0 0 12px}.auth-intro h1{font-size:clamp(30px,3.2vw,42px);line-height:1.13;font-weight:740;letter-spacing:-.045em;margin:0 0 10px}.auth-intro p{font-size:14px;color:var(--auth-muted);margin:0;line-height:1.6}.auth-form{display:grid;gap:17px}.auth-field{display:grid;gap:7px;min-width:0}.auth-field label{font-size:13px;font-weight:650;color:var(--auth-ink);margin:0}.auth-field input{width:100%;min-height:48px;border:1px solid var(--auth-line);background:var(--auth-input);color:var(--auth-ink);border-radius:9px;padding:10px 13px;font-size:16px}.auth-field small{color:var(--auth-muted)}.auth-password{display:flex;position:relative;min-width:0}.auth-password:has(button:not([hidden])) input{padding-right:86px}.auth-password-toggle{position:absolute;right:5px;top:5px;bottom:5px;min-width:72px;border:0;border-radius:6px;padding:5px;background:transparent;color:var(--auth-link);font-size:12px;font-weight:600}.auth-password-toggle:hover{background:var(--auth-hover)}.auth-page .auth-button{display:flex;width:100%;min-height:48px;align-items:center;justify-content:center;gap:10px;font-size:14px;font-weight:650;padding:11px 15px;border-radius:9px;border:1px solid var(--auth-line);background:var(--auth-input);color:var(--auth-ink);text-decoration:none;text-align:center}.auth-page .auth-button:hover{background:var(--auth-hover);text-decoration:none}.auth-page .auth-primary{background:var(--auth-accent);color:#fff;border-color:transparent}.auth-page .auth-primary:hover{background:#234cc6}.auth-google svg{flex:none}.auth-page .auth-secondary{justify-content:space-between}.auth-divider{display:flex;align-items:center;gap:12px;color:var(--auth-muted);font-size:11px;margin:21px 0}.auth-divider::before,.auth-divider::after{content:"";height:1px;background:var(--auth-line);flex:1}.auth-links{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:17px;font-size:12px}.auth-forgot{justify-self:end;font-size:12px;margin-top:-7px}.auth-note{color:var(--auth-muted);font-size:12px;text-align:center;margin:24px 0 0}.auth-back{display:inline-block;margin-top:24px;font-size:13px}.auth-notice{border:1px solid var(--auth-line);border-radius:9px;background:var(--auth-input);padding:14px;color:var(--auth-muted);margin:0 0 20px;overflow-wrap:anywhere}.auth-error{border-color:#b94a59;color:#a62438}:root[data-theme=dark] .auth-error{color:#ffa3af}.auth-footer{display:flex;gap:10px;align-items:center;justify-content:center;flex-wrap:wrap;color:var(--auth-muted);font-size:12px}.auth-footer label{margin:0;color:inherit;font-size:12px}.auth-footer select,.auth-install{min-height:36px;border:1px solid var(--auth-line);background:var(--auth-input);color:var(--auth-ink);border-radius:7px;padding:6px 9px;font-size:12px}.auth-install:hover{background:var(--auth-hover)}
@media(max-width:850px){.auth-shell{grid-template-columns:1fr}.auth-brand-panel{display:none}.auth-mobile-brand{display:block}.auth-main{min-height:100dvh;max-width:600px;width:100%;margin:auto;padding:calc(24px + env(safe-area-inset-top,0px)) clamp(20px,6vw,48px) calc(20px + env(safe-area-inset-bottom,0px));gap:24px}.auth-main-top{justify-content:flex-end}.auth-main-top>span{display:none}.auth-main-top:has(>span:only-child){display:none}.auth-content{margin:auto;max-width:420px}.auth-footer select,.auth-install{min-height:44px}.auth-password-toggle{min-width:74px}}
@media(max-width:360px){.auth-links{justify-content:flex-start}.auth-footer{justify-content:flex-start}.auth-main{gap:18px}}
