Income Taxes - Narrative (Details) - USD ($) $ in Millions |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Apr. 30, 2026 |
Apr. 30, 2025 |
Apr. 30, 2026 |
Apr. 30, 2025 |
|
| Income Tax Disclosure [Abstract] | ||||
| Effective income tax rate reconciliation, percent | 19.40% | 18.60% | ||
| Federal statutory tax rate (as a percent) | 21.00% | 21.00% | ||
| Tax benefits | $ 1.7 | $ 6.3 | $ 7.5 | $ 34.8 |
| X | ||||||||||
- Definition Percentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Percentage of domestic federal statutory tax rate applicable to pretax income (loss). Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of tax benefit for recognition of expense of award under share-based payment arrangement. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- References No definition available.
|