v3.26.3
LEASES (Summary of Components of Total Lease Costs) (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2026
Aug. 31, 2025
Leases [Abstract]    
Operating lease cost $ 18,872 $ 15,375
Short-term lease cost 345 374
Variable lease cost 7,112 6,200
Finance lease costs:    
Amortization of right-of-use assets 302 0
Operating cash flows paid for finance leases 960 0
Sublease income (104) (111)
Total lease costs $ 27,487 $ 21,838