/* Only the supplier / buyer railway-history tables.
   Keep their existing sticky totals row and reuse the original back-to-top JS.
   Unlike the global floating button, this one never overlays banners. */
#supplier-rail-supply-table-container .company-rail-footer-action,
#buyer-shipments-table-container .company-rail-footer-action {
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

#supplier-rail-supply-table-container .scroll-top-btn.company-rail-footer-top,
#buyer-shipments-table-container .scroll-top-btn.company-rail-footer-top {
  position: static;
  inset: auto;
  transform: none;
  box-shadow: none;
}

#supplier-rail-supply-table-container .scroll-top-btn.company-rail-footer-top.is-visible,
#buyer-shipments-table-container .scroll-top-btn.company-rail-footer-top.is-visible {
  transform: none;
}
