/* Mehrabi Fix6: progress INSIDE quick-navigation background, never over menus.
   Lightweight: no new scroll listeners, transforms, animations or layout changes. */
html body .scroll-progress,
html body .scroll-progress > *,
html body .scroll-progress::before,
html body .scroll-progress::after {
  display: none !important;
}
html body .section-quick-nav::after {
  content: none !important;
  display: none !important;
}
html body .section-quick-nav {
  /* Background layers are rendered underneath every nav label and dropdown. */
  background-color: #f4f7f9;
  background-image: linear-gradient(90deg, #8fc2df, #d2e8f3);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: calc(100% * var(--page-progress, 0)) 2px;
}
@media (max-width:760px), (prefers-reduced-motion: reduce) {
  html body .section-quick-nav { background-image: none; }
}
