Restructuring and Employee Severance (Liabilities Associated with Restructuring and Employee Severance Activities) (Details) - USD ($) $ in Millions |
12 Months Ended | |
|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
|
| Restructuring Reserve [Roll Forward] | ||
| Beginning Balance | $ 79 | $ 97 |
| Additions | 46 | 40 |
| Payments and other adjustments | (70) | (58) |
| Ending Balance | 55 | 79 |
| Employee- Related Costs | ||
| Restructuring Reserve [Roll Forward] | ||
| Beginning Balance | 79 | 92 |
| Additions | 46 | 40 |
| Payments and other adjustments | (70) | (53) |
| Ending Balance | 55 | 79 |
| Facility Exit and Other Costs | ||
| Restructuring Reserve [Roll Forward] | ||
| Beginning Balance | 0 | 5 |
| Additions | 0 | 0 |
| Payments and other adjustments | 0 | (5) |
| Ending Balance | $ 0 | $ 0 |