v3.26.3
INCOME TAXES (Reconciliation of Unrecognized Tax Benefits) (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2026
Aug. 31, 2025
Aug. 31, 2024
Unrecognized Tax Benefits [Roll Forward]      
Balance at beginning of fiscal year $ 2,668 $ 4,294 $ 4,745
Gross increase - tax positions in prior period 0 0 11
Gross decrease - tax positions in prior period (285) (3) 0
Additions based on tax positions related to the current year 1,374 0 7
Expiration of the statute of limitations for the assessment of taxes (2,464) (1,623) (469)
Balance at end of fiscal year $ 1,293 $ 2,668 $ 4,294