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 |
| X | ||||||||||
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. No definition available.
|
| X | ||||||||||
- Definition Amount of unrecognized tax benefits. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of increase in unrecognized tax benefits resulting from tax positions that have been or will be taken in current period tax return. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of increase in unrecognized tax benefits resulting from tax positions taken in prior period tax returns. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of decrease in unrecognized tax benefits resulting from lapses of applicable statutes of limitations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|