INCOME TAXES - Schedule of Income Taxes Paid, Net of Refund (Details) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2024 |
|
| Income Tax Paid, by Individual Jurisdiction [Line Items] | |||
| U.S. Federal | $ 13 | ||
| Income taxes paid, net of refunds | 104 | $ 264 | $ 347 |
| California | |||
| Income Tax Paid, by Individual Jurisdiction [Line Items] | |||
| U.S. state and local: | 7 | ||
| Other | |||
| Income Tax Paid, by Individual Jurisdiction [Line Items] | |||
| U.S. state and local: | 11 | ||
| Canada | |||
| Income Tax Paid, by Individual Jurisdiction [Line Items] | |||
| Foreign: | 37 | ||
| Ireland | |||
| Income Tax Paid, by Individual Jurisdiction [Line Items] | |||
| Foreign: | 11 | ||
| Saudi Arabia | |||
| Income Tax Paid, by Individual Jurisdiction [Line Items] | |||
| Foreign: | 10 | ||
| Other | |||
| Income Tax Paid, by Individual Jurisdiction [Line Items] | |||
| Foreign: | $ 15 | ||