v3.26.3
INCOME TAX (Unrecognized Tax Benefits) (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2026
Aug. 31, 2025
Aug. 31, 2024
Unrecognized Tax Benefits [Roll Forward]      
Unrecognized Tax Benefits, Beginning Balance $ 44,235 $ 45,721 $ 44,165
Change for tax positions of current year 0 0 0
Change for tax positions of prior years 0 8,000 1,556
Reductions due to lapse of statute of limitations 9,814 9,486 0
Unrecognized Tax Benefits, Ending Balance $ 34,421 $ 44,235 $ 45,721