/* Authentication has its own shell, including while the session is checked. */
body:not([data-auth="authenticated"])>.portal-nav,body:not([data-auth="authenticated"])>.portal-sidebar,body:not([data-auth="authenticated"])>.environment,body:not([data-auth="authenticated"])>footer.shell{display:none!important}
body:not([data-auth="authenticated"])>main.shell{margin:0!important;padding:0!important;width:100%;min-height:100svh;max-width:none}
.auth-layout{min-height:100svh;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:var(--bg)}
.auth-story{position:relative;overflow:hidden;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;padding:48px clamp(32px,5vw,88px);background:#1e235c;color:#fff;border-bottom:4px solid #e72e5b}
.auth-story::before,.auth-story::after{content:"";position:absolute;z-index:-1;width:560px;height:560px;right:-270px;bottom:-200px;border:1px solid #ffffff18;border-radius:50%;box-shadow:0 0 0 65px #ffffff04,0 0 0 130px #ffffff03}
.auth-story::after{width:150px;height:150px;top:21%;right:-95px;background:#e72e5b;box-shadow:none;border:none}
.auth-logo{width:225px;max-width:75%;filter:brightness(0) invert(1)}
.auth-story-copy{padding:80px 0;max-width:520px}.auth-kicker{display:block;font-size:11px;font-weight:650;letter-spacing:.15em;margin-bottom:22px;color:var(--muted)}.auth-story .auth-kicker{color:#b8bee4}
.auth-story h2{font-size:clamp(36px,4vw,62px);letter-spacing:-.045em;line-height:1.08;font-weight:650;margin:0 0 28px;color:white}.auth-story-copy p{font-size:17px;color:#d4d8ed;line-height:1.8;max-width:370px;margin:0}.auth-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:34px}.auth-tags span{border:1px solid #ffffff30;border-radius:30px;padding:7px 15px;font-size:12px;color:#e2e5f7}.auth-story-foot{color:#b8bee4;font-size:12px}
.auth-entry{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:64px clamp(24px,5vw,80px);position:relative}.auth-card{width:100%;max-width:420px;padding:20px 0}.auth-card .auth-kicker{color:var(--pink)}.auth-card h1{font-size:clamp(30px,3vw,42px)!important;line-height:1.16;letter-spacing:-.04em;color:var(--navy);font-weight:650;margin:0 0 24px}.auth-intro{font-size:15px;line-height:1.8;color:var(--muted);margin:0 0 36px;max-width:380px}
a.auth-signin{display:flex;align-items:center;justify-content:center;gap:13px;min-height:54px;padding:14px 20px;background:var(--white);color:var(--ink);border:1px solid var(--line);border-radius:9px;font-size:14px;font-weight:600;text-decoration:none;box-shadow:0 3px 12px #1e235c06;transition:border-color .15s,box-shadow .15s}a.auth-signin>span:last-child{margin-left:auto;color:var(--pink);font-size:20px}a.auth-signin:hover{border-color:var(--pink);box-shadow:0 5px 20px #1e235c10}.auth-signin svg{flex-shrink:0}.auth-access{display:flex;gap:8px;align-items:flex-start;color:var(--muted);font-size:11px;margin:18px 0 0}.auth-access svg{flex-shrink:0;margin-top:2px}.auth-entry-foot{position:absolute;bottom:28px;font-size:11px;color:var(--muted)}.auth-entry-foot span{font-family:Georgia,serif;font-style:italic}.auth-error{padding:14px;border:1px solid var(--line);border-radius:8px;color:var(--ink);font-size:13px}.auth-retry{margin-bottom:16px}
.auth-loading{min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;background:#1e235c;color:#d4d8ed;font-size:13px}.auth-loading img{width:220px;filter:brightness(0) invert(1);margin-bottom:20px}.auth-spinner{width:22px;height:22px;border:2px solid #ffffff25;border-top-color:#e72e5b;border-radius:50%;animation:auth-spin 1s linear infinite}@keyframes auth-spin{to{transform:rotate(360deg)}}
@media(max-width:800px){.auth-layout{grid-template-columns:1fr}.auth-story{padding:28px 28px 34px;min-height:auto}.auth-logo{width:190px}.auth-story-copy{padding:42px 0 0;max-width:480px}.auth-story h2{font-size:36px}.auth-story-copy p,.auth-tags,.auth-story-foot{display:none}.auth-entry{padding:40px 28px 84px;min-height:420px}.auth-card{max-width:440px;padding:0}.auth-card h1{font-size:31px!important}.auth-intro{margin-bottom:26px}.auth-entry-foot{bottom:20px}}
@media(prefers-reduced-motion:reduce){.auth-spinner{animation:none}.auth-signin{transition:none}}
