v3.26.3
STOCK BASED COMPENSATION (Summary of Other Information Related to Stock-Based Compensation) (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2026
Aug. 31, 2025
Aug. 31, 2024
Share-Based Payment Arrangement [Abstract]      
Remaining unrecognized compensation cost $ 46,712 $ 37,448 $ 43,490
Weighted average period of time over which this cost will be recognized (years) 2 years 3 years 3 years