/* Progressive navigation enhancement. The previous page stays visible while fetching. */
body.tfe-spa-busy::before {
  content:"";
  position:fixed;
  z-index:2147483000;
  inset:0 auto auto 0;
  width:100%;
  height:3px;
  background:linear-gradient(90deg,transparent, var(--tfe-primary,#2563eb),transparent);
  background-size:42% 100%;
  background-repeat:no-repeat;
  animation:tfe-spa-progress 1.15s ease-in-out infinite;
  pointer-events:none;
}
#content.tfe-spa-enter { opacity:0.76; transition:opacity .18s ease; }
#content.site-content:not(.tfe-spa-enter) { opacity:1; transition:opacity .18s ease; }
@keyframes tfe-spa-progress { 0% {background-position:-75% 0;} 100% {background-position:175% 0;} }
@media(prefers-reduced-motion:reduce){
  body.tfe-spa-busy::before{animation:none;background:var(--tfe-primary,#2563eb);}
  #content.tfe-spa-enter,#content.site-content:not(.tfe-spa-enter){transition:none;opacity:1;}
}
