v3.23.2
Retirement Plans - Additional Information (Detail) - USD ($)
$ in Millions
12 Months Ended
Jul. 01, 2023
Jul. 02, 2022
Jul. 03, 2021
401 (k) Plan [Member]      
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]      
Employees participating for internal revenue code, maximum 50.00%    
Employees participating for internal revenue code, minimum 1.00%    
Employees matching contribution 100.00%    
Employees first contribution 3.50%    
Retirement contribution $ 52.0 $ 42.3 $ 36.4
Defined-contribution plans [Member]      
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]      
Retirement contribution   $ 4.2