Equity - Summary of Restricted Stock Share and Restricted Stock Unit Grants (Detail) - $ / shares shares in Thousands |
12 Months Ended | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
Aug. 31, 2026 |
Aug. 31, 2025 |
Aug. 31, 2024 |
||||||||
| Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Number of Shares [Roll Forward] | ||||||||||
| Beginning Balance | 850 | |||||||||
| Granted | 382 | [1] | 300 | 400 | ||||||
| Incremental shares earned for performance | [2] | 166 | ||||||||
| Vested | [3] | (565) | ||||||||
| Forfeited | (31) | |||||||||
| Ending Balance | 802 | 850 | ||||||||
| Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value [Abstract] | ||||||||||
| Beginning Balance | $ 43.71 | |||||||||
| Granted | [1] | 49.04 | ||||||||
| Incremental shares earned for performance | [2] | 19.55 | ||||||||
| Vested | [3] | 33.68 | ||||||||
| Forfeited | 46.19 | |||||||||
| Ending Balance | $ 50.13 | $ 43.71 | ||||||||
| ||||||||||