Stock Incentive Plans - Schedule of Fair Value Information (Details) - USD ($) $ / shares in Units, $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2024 |
|
| RSU | |||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | |||
| Fair Value of Awards Vested | $ 31 | $ 30 | $ 29 |
| Weighted-Average Grant Date Fair Value (in USD per share) | $ 748.78 | $ 582.76 | $ 401.86 |
| LTIP awards | |||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | |||
| Fair Value of Awards Vested | $ 65 | $ 64 | $ 45 |
| Weighted-Average Grant Date Fair Value (in USD per share) | $ 540.23 | $ 465.01 | $ 380.97 |
| X | ||||||||||
- Definition The weighted average fair value at grant date for nonvested equity-based awards issued during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan). Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Fair value of share-based awards for which the grantee gained the right by satisfying service and performance requirements, to receive or retain shares or units, other instruments, or cash. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|