Gains were capped by late weakness in markets, foreign fund outflows, and uncertainty over the India–US trade tariff dispute.