v3.26.1
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