
.mw-search-progress {
  grid-column: 1 / -1;
  min-width: 0;
}
.mw-search-progress:has(.mw-action-progress[hidden]) { display: none; }
.mw-search-progress [role="status"] {
  display: block;
  margin-top: 6px;
  color: #141414;
  font-size: 13px;
}
.mw-action-progress {
  height: 4px;
  overflow: hidden;
  background: #dededb;
}
.mw-action-progress::before {
  display: block;
  width: 34%;
  height: 100%;
  background: #141414;
  content: "";
  animation: mw-action-progress 1.05s ease-in-out infinite;
}
#calculate + .mw-action-progress { display: none; margin-top: 8px; }
#calculate[aria-busy="true"] + .mw-action-progress { display: block; }
@keyframes mw-action-progress {
  from { transform: translateX(-100%); }
  to { transform: translateX(295%); }
}
@media (prefers-reduced-motion: reduce) {
  .mw-action-progress::before { animation: none; }
}
