Derivative Instruments - Narrative (Details) - USD ($) $ in Millions |
9 Months Ended | |
|---|---|---|
Apr. 30, 2026 |
Jul. 31, 2025 |
|
| Derivative [Line Items] | ||
| Hedged liability, fair value hedge, cumulative increase (decrease) | $ 7.2 | |
| Long-term Debt | ||
| Derivative [Line Items] | ||
| Hedged liability, fair value hedge | 746.9 | |
| Foreign currency contracts | Not Designated as Hedging Instrument | ||
| Derivative [Line Items] | ||
| Notional amount | 494.3 | $ 549.5 |
| Foreign currency contracts | Designated as Hedging Instrument | ||
| Derivative [Line Items] | ||
| Notional amount | 793.0 | $ 693.1 |
| Interest Rate Swap | ||
| Derivative [Line Items] | ||
| Notional amount | $ 750.0 | |
| Minimum | Foreign currency contracts | Not Designated as Hedging Instrument | ||
| Derivative [Line Items] | ||
| Term of derivative | 1 month | |
| Maximum | ||
| Derivative [Line Items] | ||
| Term of derivative | 21 months | |
| Maximum | Foreign currency contracts | Not Designated as Hedging Instrument | ||
| Derivative [Line Items] | ||
| Term of derivative | 4 months |