/* Front-end <-> dashboard switch. Reuses the site's own loading transition
   (logo trace + name reveal, theme assets/appearance.css "ec-search-indicator").
   The rules below mirror that transition for the stand-alone hand-off page,
   where the theme stylesheet is not loaded. */
.mr-handoff{--ink:#1d1c1a;--ground:#f2eee6;margin:0;min-height:100vh;background:var(--ground);color:var(--ink)}
@media(prefers-color-scheme:dark){.mr-handoff{--ink:#f2eee6;--ground:#191b1d}}
.mr-handoff .ec-search-indicator{position:fixed;inset:0;display:grid;place-items:center;padding:16px;color:var(--ink)}
.mr-handoff .ec-search-indicator>span:last-child{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.mr-handoff .ec-search-lockup{display:flex;align-items:center;gap:10px;max-width:calc(100vw - 32px);opacity:.68}
.mr-handoff .ec-search-symbol{display:block;flex:0 0 54px;width:54px;height:36px}
.mr-handoff .ec-search-symbol svg,.mr-handoff .ec-search-symbol img{display:block;width:100%;height:100%;overflow:visible;object-fit:contain}
.mr-handoff .ec-search-copy{display:flex;flex-direction:column;gap:8px;min-width:0}
.mr-handoff .ec-search-name{display:block;font:400 26px/1.1 Manrope,"Segoe UI",sans-serif;letter-spacing:-.7px;white-space:nowrap}
.mr-handoff .ec-search-caption{display:block;font:400 6px/1.5 Manrope,"Segoe UI",sans-serif;letter-spacing:1.2px;white-space:nowrap}
.mr-handoff .ec-search-lockup.is-entering .ec-search-symbol [data-ec-trace]{stroke-dasharray:var(--ec-trace-length);stroke-dashoffset:var(--ec-trace-length);animation:mr-ec-trace-loop 1800ms cubic-bezier(.65,0,.35,1) infinite}
.mr-handoff .ec-search-lockup.is-entering .ec-search-symbol [data-ec-trace]:nth-child(2){animation-delay:60ms}
.mr-handoff .ec-search-lockup.is-entering .ec-search-name{animation:mr-ec-name-loop 1800ms cubic-bezier(.22,1,.36,1) infinite}
.mr-handoff .ec-search-lockup.is-entering .ec-search-caption{animation:mr-ec-caption-loop 1800ms ease infinite}
@keyframes mr-ec-trace-loop{0%,5%{stroke-dashoffset:var(--ec-trace-length);opacity:0}12%{opacity:1}55%,85%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:0;opacity:0}}
@keyframes mr-ec-name-loop{0%,10%{clip-path:inset(0 100% 0 0);opacity:0}20%{opacity:1}60%,85%{clip-path:inset(0);opacity:1}100%{clip-path:inset(0);opacity:0}}
@keyframes mr-ec-caption-loop{0%,20%{opacity:0}65%,85%{opacity:1}100%{opacity:0}}
@media(max-width:640px){.mr-handoff .ec-search-lockup{gap:8px}.mr-handoff .ec-search-symbol{flex-basis:44px;width:44px;height:29px}.mr-handoff .ec-search-name{font-size:22px}.mr-handoff .ec-search-caption{font-size:5px;letter-spacing:.9px}}
/* Arrival: the new page starts covered and fades in. */
html.mr-switch-arrive::after{content:"";position:fixed;inset:0;z-index:2147483646;background:#f2eee6;pointer-events:none;animation:mr-switch-out .45s ease .05s forwards}
@media(prefers-color-scheme:dark){html.mr-switch-arrive::after{background:#191b1d}}
html[data-ec-appearance=dark].mr-switch-arrive::after{background:#191b1d}
@keyframes mr-switch-out{to{opacity:0;visibility:hidden}}
