LEASES - Additional Information (Details) - USD ($) $ in Thousands |
Aug. 31, 2026 |
Aug. 31, 2025 |
|---|---|---|
| Leases [Abstract] | ||
| Weighted average remaining lease term for operating leases | 6 years 4 months 24 days | 6 years 6 months |
| Weighted average discount rate for operating leases | 4.60% | 4.30% |
| Future lease payments for leases that have not yet commenced | $ 403,911 | |
| Lease terms for leases that have not yet commenced | 13 years |
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Term of lessee's operating lease not yet commenced, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Weighted average discount rate for operating lease calculated at point in time. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Weighted average remaining lease term for operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of unrecorded obligation to transfer funds in future for fixed or minimum amount or quantity of product and service at fixed or minimum price. Includes, but is not limited to, lease not yet commenced and take-or-pay and throughput contracts. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|