Share Repurchase Program (Details) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
Apr. 30, 2025 |
Apr. 30, 2026 |
Apr. 30, 2025 |
Jul. 31, 2025 |
Jun. 04, 2025 |
Sep. 25, 2024 |
Mar. 07, 2023 |
Dec. 04, 2015 |
Jul. 16, 2008 |
Mar. 09, 2006 |
|
| Accelerated Share Repurchases [Line Items] | ||||||||||
| Number of shares authorized to repurchase | 12,600,000 | 3,000,000 | ||||||||
| Additional number of shares authorized to repurchase | 1,500,000 | 1,100,000 | 2,500,000 | 1,500,000 | 3,000,000 | |||||
| Number of shares repurchased since inception | 9,774,000 | 11,382,892 | 9,774,000 | 11,060,000 | ||||||
| Value of stock repurchased since inception | $ 1,444,400 | |||||||||
| Remaining shares available for repurchase under existing program | 1,217,108 | |||||||||
| Treasury Stock, Shares, Acquired | 186,815 | 322,709 | 403,883 | |||||||
| Payments for Repurchase of Common Stock | $ 30,000 | $ 45,000 | $ 70,000 | |||||||