CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS) (unaudited) (Parenthetical) - USD ($) $ in Millions |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
May 02, 2026 |
May 03, 2025 |
May 02, 2026 |
May 03, 2025 |
|
| Statement of Comprehensive Income [Abstract] | ||||
| Recognition of interest rate swap cash flow hedges, tax expense (benefit) | $ 1 | $ (1) | $ 1 | $ 0 |
| Recognition of other cash flow derivatives, tax expense | $ 1 | $ 0 | $ 1 | $ 0 |