v3.26.3
STOCK BASED COMPENSATION (Summary of Excess Tax Benefit (Deficiency) on Stock-based Compensation) (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2026
Aug. 31, 2025
Aug. 31, 2024
Share-Based Payment Arrangement [Abstract]      
Excess tax benefit (deficiency) on stock-based compensation (in thousands) $ 430 $ (919) $ (588)