/* One week of spend, and the response it leaves behind. The impulse never moves;
   the carryover tail is revealed through a clip window whose right edge runs out
   from the impulse, so the stroke tip and its sampled weeks arrive together
   rather than drifting apart. */

.pulsar-attributionmdl-adstock .attributionmdl-adstock-window {
  transform-box: fill-box;
  transform-origin: left center;
  animation-name: attributionmdl-adstock-window;
  animation-duration: 5000ms;
  animation-timing-function: cubic-bezier(0.35, 0, 0.3, 1);
  animation-iteration-count: infinite;
}

@keyframes attributionmdl-adstock-window {
  0%,
  16% {
    transform: scaleX(1);
  }
  46%,
  58% {
    transform: scaleX(0.05);
  }
  90%,
  100% {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pulsar-attributionmdl-adstock .attributionmdl-adstock-window {
    animation: none;
    transform: scaleX(1);
  }
}
