/* Smooth the emergency hard-navigation fallback when the shared runtime cannot take over. */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: 110ms ease-out both emy-customer-shell-out;
}

::view-transition-new(root) {
  animation: 170ms ease-out both emy-customer-shell-in;
}

@keyframes emy-customer-shell-out {
  from { opacity: 1; }
  to { opacity: 0.94; }
}

@keyframes emy-customer-shell-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 0.01ms;
  }
}
