/* #774 — static "Signing you in…" overlay for the cross-origin handoff
   redirect (apex /login → tenant /, platform impersonation → tenant /).
   Paints in the gap between page unload and React mount so the destination
   origin never reads as a broken white screen. Removed once the router
   resolves a route (#3393). Tokens kept here (no dependency on the CSS bundle
   which loads later) and matched to the `--background` / `--muted-foreground`
   light-mode values in src/styles.css.

   #5139 — a file, not an inline <style>, so the page's Content-Security-Policy
   can say style-src 'self' about the shell. Served as-is from public/. */
#boot-handoff-loader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 0.875rem;
  color: hsl(240, 3.8%, 46.1%);
  background: hsl(0, 0%, 100%);
  z-index: 9999;
}
#boot-handoff-loader .spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: boot-spin 0.8s linear infinite;
}
#boot-handoff-loader .boot-handoff-failed {
  max-width: 22rem;
  text-align: center;
  line-height: 1.5;
}
#boot-handoff-loader .boot-handoff-failed a {
  color: inherit;
}
@keyframes boot-spin {
  to { transform: rotate(360deg); }
}
