v3.26.3
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