Leases - Schedule of Supplemental Cash Flow Information (Details) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2024 |
|
| Cash paid for amounts included in the measurement of lease liabilities: | |||
| Operating cash outflows - payments on operating leases | $ 65 | $ 64 | $ 65 |
| Operating cash outflows - interest payments on finance leases | 5 | 5 | 5 |
| Financing cash outflows - payments on finance lease obligations | 6 | 5 | 5 |
| Right-of-use assets obtained in exchange for operating lease obligations | 46 | 18 | 42 |
| Right-of-use assets obtained in exchange for finance lease obligations | $ 4 | $ 2 | $ 4 |
| X | ||||||||||
- Definition Cash Flow, Lessee No definition available.
|
| X | ||||||||||
- Definition Amount of interest paid on finance lease liability. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of cash outflow for principal payment on finance lease. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| 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 finance lease liability. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| 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
|