v3.26.1
Significant Accounting Policies - Schedule of Long-lived Asset Impairment (Details) - USD ($)
$ in Millions
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Long-Lived Asset, Held and Used, Impairment [Line Items]      
Impairment of long-lived assets to be disposed of $ 59 $ 8 $ 12
Location, Statement of Income, Balance [Axis]: us-gaap:OtherOperatingIncomeExpenseNet      
Long-Lived Asset, Held and Used, Impairment [Line Items]      
Impairment of long-lived assets to be disposed of 6 0 0
Location, Statement of Income, Balance [Axis]: us-gaap:RestructuringCostsAndAssetImpairmentCharges      
Long-Lived Asset, Held and Used, Impairment [Line Items]      
Impairment of long-lived assets to be disposed of $ 53 $ 8 $ 12