v3.25.2
Summary of Changes in Accumulated Other Comprehensive Income (Loss) by Component (Parenthetical) (Detail) - USD ($)
$ in Millions
12 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Jun. 30, 2023
Derivatives      
Accumulated Other Comprehensive Income (Loss) [Line Items]      
Unrealized gains (losses), net of tax $ 20 $ (4) $ 9
Net change related to other comprehensive income (loss), tax (1) 6 (4)
Investments      
Accumulated Other Comprehensive Income (Loss) [Line Items]      
Unrealized gains (losses), net of tax 411 247 (393)
Net change related to other comprehensive income (loss), tax 414 258 (373)
Translation adjustments and other      
Accumulated Other Comprehensive Income (Loss) [Line Items]      
Net change related to other comprehensive income (loss), tax $ 8 $ 0 $ 0