v3.26.1
Restructuring, Transaction, and Integration Expenses, Net (Details) - USD ($)
$ in Millions
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Restructuring Cost and Reserve [Line Items]      
Restructuring Charges, Statement of Income or Comprehensive Income [Extensible Enumeration] Restructuring, transaction and integration expenses, net    
Restructuring, integration and related expenses, net $ (266) $ (97) $ (97)
Transaction and integration costs 32 169 0
Accelerated merger related compensation 0 (41) 0
Restructuring, transaction and integration expenses, net (298) (307) (97)
Restructuring charges 215 64 97
Integration expenses 51 33 0
Russia      
Restructuring Cost and Reserve [Line Items]      
Restructuring, transaction and integration expenses, net $ (266) $ (97) $ (97)