LEASES - Schedule of Supplemental Operating Cash Flow Information and Non-Cash Activity Related to Operating Leases (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2024 |
|
| Leases [Abstract] | |||
| Cash paid for amounts included in the measurement of lease liabilities | $ 44,946 | $ 46,084 | $ 48,747 |
| Right of use assets obtained in exchange for new lease liabilities | $ 0 | $ 0 | $ 235 |