Leases - Schedule of Lease Costs and Supplemental Cash Flows Information (Details) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2024 |
|
| Lease costs | |||
| Total lease costs | $ 146 | $ 146 | $ 147 |
| Supplemental cash flows information | |||
| Operating cash flows from operating leases | 82 | 125 | 126 |
| ROU assets obtained in exchange for operating lease liabilities | 147 | 19 | 36 |
| Sublease income | $ 5 | $ 15 | $ 15 |
| X | ||||||||||
- Definition Amount of lease cost recognized by lessee for lease contract. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of cash outflow from operating lease, excluding payments to bring another asset to condition and location necessary for its intended use. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of increase in right-of-use asset obtained in exchange for operating lease liability. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of sublease income excluding finance and operating lease expense. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- References No definition available.
|