v3.26.1
Income Taxes - Narrative (Details) - USD ($)
$ in Millions
12 Months Ended
Jun. 30, 2025
Jun. 30, 2026
Jun. 30, 2024
Valuation Allowance [Line Items]      
Undistributed foreign earnings not permanently reinvested   $ 592  
Deferred tax liability on undistributed foreign earnings not permanently reinvested   23  
Undistributed distributed foreign earnings   1,170  
Deferred tax liability on undistributed foreign earnings not permanently reinvested in their subsidiaries   18  
Valuation allowance $ 141 139  
Discrete tax benefit 180    
Deferred tax assets, operating loss carryforwards, writeoff 784    
Unrecognized tax benefits that would impact effective tax rate if recognized 104 78 $ 102
Accrued interest related to the gross unrecognized tax benefits excluded from the unrecognized tax benefits 28 22 27
Accrued penalties related to gross unrecognized tax benefits $ 2 2 $ 2
Non-Operating Entities Whose Loss Carryforward Utilization Is Considered To Be Remote      
Valuation Allowance [Line Items]      
Valuation allowance   99  
Other Deferred Tax Assets      
Valuation Allowance [Line Items]      
Valuation allowance   $ 25