/* Shared invitation/sign-in composition. Local Manrope and tokens from portal.css. */
.auth-page { background:var(--paper); }
.auth-layout { max-width:1560px; min-height:100svh; padding:24px; display:grid; grid-template-columns:1.1fr 1fr; gap:0; }
.auth-story { background:var(--deep); color:#f5f3eb; border-radius:16px; padding:42px 48px 28px; display:flex; flex-direction:column; min-width:0; position:relative; overflow:hidden; }
.auth-wordmark .brand { width:205px; margin:0; filter:brightness(0) invert(94%) sepia(8%) saturate(270%); }
.auth-story-copy { position:relative; z-index:1; margin-top:66px; }
.auth-eyebrow { font-size:.68rem; letter-spacing:.16em; font-weight:800; }
.auth-story .auth-eyebrow { color:#d9bb7c; }
.auth-story h2 { color:var(--paper); font-size:clamp(2.2rem,3.8vw,3.9rem); letter-spacing:-.055em; line-height:1.12; margin:20px 0; font-weight:650; }
.auth-story-copy>p:last-child { color:#d4dfd6; font-size:1rem; }
.auth-track { width:calc(100% + 64px); margin:-10px -32px -16px; position:relative; }
.auth-track svg { width:100%; display:block; }
.auth-lanes { stroke:#8fa782; stroke-opacity:.38; stroke-width:1.3; }
.auth-track-caption { position:absolute; top:48%; left:0; right:0; text-align:center; color:#c3d2c5; font-size:.6rem; letter-spacing:.17em; }
.auth-runner { offset-rotate:0deg; animation:auth-orbit linear infinite; animation-play-state:paused; fill:#f5f3eb; }
.runner-one { offset-path:path('M200 61 H400 A149 149 0 0 1 400 359 H200 A149 149 0 0 1 200 61'); animation-duration:20s; animation-delay:-5s; }
.runner-two { offset-path:path('M200 83 H400 A127 127 0 0 1 400 337 H200 A127 127 0 0 1 200 83'); animation-duration:26s; animation-delay:-16s; fill:#d9bb7c; }
.runner-three { offset-path:path('M200 105 H400 A105 105 0 0 1 400 315 H200 A105 105 0 0 1 200 105'); animation-duration:18s; animation-delay:-8s; fill:#afc6a5; }
.runner-four { offset-path:path('M200 127 H400 A83 83 0 0 1 400 293 H200 A83 83 0 0 1 200 127'); animation-duration:24s; animation-delay:-20s; }
.auth-motion-on .auth-runner { animation-play-state:running; }
@keyframes auth-orbit { to { offset-distance:100%; } }
.auth-story-footer { margin-top:auto; padding-top:20px; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px; font-size:.7rem; color:#d4dfd6; }
.auth-story-footer button { padding:8px 12px; min-height:40px; font-size:.7rem; color:var(--paper); border:1px solid #8fa782; background:transparent; margin:0; }
.auth-story a:focus-visible,.auth-story button:focus-visible { outline-color:#ecd8a7; }
.auth-form-panel { display:flex; flex-direction:column; justify-content:center; padding:60px clamp(32px,5vw,92px) 24px; min-width:0; }
.auth-form-content { max-width:410px; width:100%; margin:auto; padding:48px 0; }
.auth-form-content h1 { font-size:clamp(2.25rem,3.3vw,3.3rem); margin:18px 0; letter-spacing:-.055em; }
.auth-intro { color:var(--muted); margin-bottom:32px; }
.auth-form-content form { max-width:none; }
.auth-form-content label { margin:20px 0; font-size:.85rem; }
.auth-form-content input { background:var(--surface); min-height:52px; margin-top:8px; }
.auth-form-content button { width:100%; min-height:52px; margin-top:12px; }
.auth-help { font-size:.78rem; color:var(--muted); line-height:1.75; margin-top:22px; }
.auth-error { background:var(--error-bg); color:var(--error); border-left:3px solid var(--error); padding:16px; border-radius:6px; }
.auth-footer { border-top:1px solid var(--line); padding-top:24px; display:flex; flex-wrap:wrap; gap:16px 26px; justify-content:center; font-size:.72rem; }
.auth-mobile-brand { display:none; }
@media(min-width:1450px) { .auth-layout { min-height:min(100svh,1100px); } }
@media(max-width:820px) {
 .auth-layout { grid-template-columns:1fr; padding:0; }
 .auth-story { display:none; }
 .auth-form-panel { min-height:100svh; padding:32px 24px 24px; }
 .auth-mobile-brand { display:block; }.auth-mobile-brand .brand { width:175px; margin:0; }
 .auth-form-content { padding:44px 0; }.auth-form-content h1 { font-size:2.7rem; }
 .auth-footer { margin-top:auto; }
}
@media(prefers-reduced-motion:reduce) { .auth-motion-on .auth-runner { animation-play-state:paused; } #motion-toggle { display:none; } }

.runner-extra-one { animation-delay:-15s; } .runner-extra-two { animation-delay:-3s; } .runner-extra-three { animation-delay:-17s; }
