Additional Financial Information - Schedule of Interest Expense, Net (Details) - USD ($) $ in Millions |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Mar. 31, 2026 |
Mar. 31, 2025 |
Mar. 31, 2026 |
Mar. 31, 2025 |
|
| Organization, Consolidation and Presentation of Financial Statements [Abstract] | ||||
| Interest expense | $ (89) | $ (94) | $ (309) | $ (313) |
| Interest income | 23 | 39 | 95 | 128 |
| Total interest expense, net | $ (66) | $ (55) | $ (214) | $ (185) |
| X | ||||||||||
- Definition Amount of interest expense classified as nonoperating. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of interest income (expense) classified as nonoperating. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount before accretion (amortization) of purchase discount (premium) of interest income on nonoperating securities. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- References No definition available.
|