/* Keep the live cost summary within the supply dialog's scroll viewport. */
@media(min-width:1101px){
 #productSupplyModal.xw-supply-v2.xw-supply-dual.xws-clean:not(.xw-global-profit-mode) #productSupplyProfitCalculator>.xw-supply-costs{
  position:sticky!important;top:0!important;align-self:start!important;
  box-sizing:border-box!important;max-height:calc(var(--xw-supply-scroll-height,100dvh - 140px) - 16px)!important;
  overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-y:auto;
 }
}

/* Keep missing procurement feedback beside its section heading, without adding a row. */
#productSupplyModal.xw-supply-v2.xw-supply-dual.xws-clean:not(.xw-global-profit-mode) .xw-dual-fee-group>.xws-fee-heading{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:nowrap!important}
#productSupplyModal .xws-missing-price-hint{font-size:11px!important;font-weight:400!important;line-height:inherit!important;color:#b7791f!important;white-space:nowrap!important}
#productSupplyModal .xws-missing-price-hint[hidden],#productSupplyModal.xw-global-profit-mode .xws-missing-price-hint{display:none!important}

/* The procurement table may scroll horizontally; let vertical wheel input reach the modal. */
#productSupplyModal.xw-supply-v2.xw-supply-dual.xws-clean:not(.xw-global-profit-mode) .product-supply-children{overscroll-behavior-y:auto!important}
