NATURE OF OPERATIONS AND ACCOUNTING POLICIES - Narrative (Details) - USD ($) |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
May 31, 2026 |
May 31, 2025 |
May 31, 2026 |
May 31, 2025 |
|
| Accounting Policies [Abstract] | ||||
| Government assistance | $ 20,400,000 | $ 0 | $ 36,000,000.0 | $ 48,100,000 |