EARNINGS PER SHARE - Schedule of Awards Excluded from Diluted EPS (Details) - shares shares in Thousands |
12 Months Ended | ||
|---|---|---|---|
Aug. 31, 2026 |
Aug. 31, 2025 |
Aug. 31, 2024 |
|
| Stock options | |||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | |||
| Antidilutive securities excluded from computation of earnings per share (in shares) | 1,599 | 791 | 381 |
| Restricted Stock Awards | |||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | |||
| Antidilutive securities excluded from computation of earnings per share (in shares) | 256 | 87 | 88 |