Equity-Based Compensation - Schedule of Equity-Based Compensation (Details) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2024 |
|
| Share-Based Payment Arrangement [Abstract] | |||
| Equity-based compensation | $ 132 | $ 135 | $ 90 |
| Intrinsic value of all settled equity-based awards | 245 | 134 | 78 |
| Tax benefit on settled equity-based awards | $ 37 | $ 24 | $ 12 |
| X | ||||||||||
- Definition Amount of expense for award under share-based payment arrangement. Excludes amount capitalized. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of tax benefit for recognition of expense of award under share-based payment arrangement. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Intrinsic value of vested award under share-based payment arrangement. Excludes share and unit options. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|