Leases, Cash Flow and Other Information Related to Leases (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Aug. 31, 2026 |
Aug. 31, 2025 |
Aug. 31, 2024 |
|
| Cash paid for amounts included in the measurement of lease liabilities: | |||
| Operating cash outflows from operating leases | $ 55,711 | $ 48,649 | $ 47,508 |
| Operating cash outflows from finance leases | 9,220 | 7,690 | 5,712 |
| Financing cash outflows from finance leases | 48,971 | 40,567 | 34,508 |
| ROU assets obtained in exchange for lease obligations: | |||
| Operating leases | 102,176 | 38,263 | 57,746 |
| Finance leases | $ 84,467 | $ 59,102 | $ 79,841 |
| X | ||||||||||
- Definition Cash Flow, Leases No definition available.
|
| X | ||||||||||
- Definition Right-of-use Assets Obtained in Exchange for Lease Obligations No definition available.
|
| X | ||||||||||
- Definition Amount of interest paid on finance lease liability. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of cash outflow for principal payment on finance lease. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of cash outflow from operating lease, excluding payments to bring another asset to condition and location necessary for its intended use. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of increase in right-of-use asset obtained in exchange for finance lease liability. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of increase in right-of-use asset obtained in exchange for operating lease liability. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|