/* Session handoff: a signal finds its path. Copy follows actual auth state;
   the decorative path is indeterminate and never delays navigation. */
.handoff-page {min-height:100svh;padding:48px 24px;background:var(--brand-paper)}
.app-shell:not(.is-authenticated) .handoff-page {min-height:100svh}
.handoff {display:flex;flex-direction:column;align-items:center;width:min(440px,100%);text-align:center}
.handoff-wordmark {display:block;width:96px;height:auto;margin-bottom:36px}
.handoff-route {display:block;width:240px;max-width:100%;height:64px;margin-bottom:28px;overflow:visible}
.handoff-track {stroke:var(--brand-ink);stroke-opacity:.12;stroke-width:1.5}
.handoff-trace {stroke:var(--brand-pink);stroke-width:2;stroke-linecap:round;stroke-dasharray:18 100;animation:session-signal 2.8s cubic-bezier(.22,1,.36,1) infinite}
.handoff-node {fill:var(--brand-ink)}
.handoff-destination {fill:var(--brand-blue)}
.handoff .loader {display:block;margin:0;min-height:72px;max-width:400px;font-family:var(--portal-display);font-size:28px;line-height:1.25;font-weight:500;letter-spacing:-.035em;color:var(--brand-ink);text-wrap:balance}
.handoff .loader::before {display:none}
.handoff-caption {margin:12px 0 0;max-width:290px;min-height:42px;color:var(--brand-muted);font-size:13px;line-height:1.6;text-wrap:balance}
.handoff .error-panel {width:100%;padding:0;border:0;background:transparent;box-shadow:none;border-radius:0}
.handoff .error-panel h1 {margin:0;font-family:var(--portal-display);font-size:28px;line-height:1.2;font-weight:500;letter-spacing:-.035em;color:var(--brand-ink);text-wrap:balance}
.handoff .error-panel p {max-width:340px;margin:16px auto 24px;font-size:14px;line-height:1.6}
.handoff .error-panel p:last-child {margin:20px 0 0;font-size:13px}
.handoff .primary-button {min-height:44px;padding:11px 22px;border:0}
@keyframes session-signal {0% {stroke-dashoffset:18;opacity:0} 15% {opacity:1} 75%,100% {stroke-dashoffset:-100;opacity:0}}
.session-paused .handoff-trace {animation-play-state:paused}
@media(prefers-reduced-motion:reduce) {.handoff-trace {animation:none;stroke-dashoffset:-42;opacity:1}}
@media(max-width:480px) {.handoff-page {padding:40px 24px} .handoff-wordmark {margin-bottom:28px} .handoff .loader {min-height:70px}}
