ACCOUNTING POLICIES AND RECENT ACCOUNTING PRONOUNCEMENTS - Capitalized Software (Details) - USD ($) $ in Thousands |
12 Months Ended | |
|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
|
| Property, Plant, and Equipment [Line Items] | ||
| Capitalized software development costs | $ 1,270,089 | $ 1,210,576 |
| Capitalized software development costs | ||
| Property, Plant, and Equipment [Line Items] | ||
| Capitalized software development costs | 364,100 | 283,400 |
| Additions related to capitalized software development costs | $ 81,900 | $ 32,300 |
| Minimum | ||
| Property, Plant, and Equipment [Line Items] | ||
| Amortization period (in years) | 3 years | |
| Minimum | Capitalized software development costs | ||
| Property, Plant, and Equipment [Line Items] | ||
| Amortization period (in years) | 3 years | |
| Maximum | ||
| Property, Plant, and Equipment [Line Items] | ||
| Amortization period (in years) | 5 years | |
| Maximum | Capitalized software development costs | ||
| Property, Plant, and Equipment [Line Items] | ||
| Amortization period (in years) | 5 years | |