XML 18 R4.htm IDEA: XBRL DOCUMENT v3.25.1
Condensed Consolidated Statements of Comprehensive Income (Parenthetical) - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
Apr. 30, 2025
Apr. 30, 2024
Apr. 30, 2025
Apr. 30, 2024
Statement of Comprehensive Income [Abstract]        
Pension adjustments, tax (expense) benefit $ (3) $ (1) $ (5) $ (3)