v3.26.1
Financial Instruments (Schedule of Gain/(Loss) Reclassified from AOCI into Earnings for Derivative Instruments Designated as Cash Flow Hedges) (Details) - Cash Flow Hedging - USD ($)
$ in Millions
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Foreign Currency Contracts | Income Statement Location [Axis]: us-gaap:CostOfGoodsAndServicesSold      
Derivative [Line Items]      
Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), Reclassification, after Tax $ 16 $ (6) $ 4
Foreign Currency Contracts | Income Statement Location [Axis]: us-gaap:Revenues      
Derivative [Line Items]      
Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), Reclassification, after Tax 0 3 1
Foreign Currency Contracts | Income Statement Location [Axis]: us-gaap:SellingGeneralAndAdministrativeExpense      
Derivative [Line Items]      
Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), Reclassification, after Tax (1) (1) 0
Forward Contracts [Member]      
Derivative [Line Items]      
Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), Reclassification, after Tax $ 2 $ 2 $ 2