v3.23.2
Stock-based Compensation - Summary of Changes in Nonvested Restricted Shares and Restricted Stock Units (Detail)
12 Months Ended
Jul. 01, 2023
$ / shares
shares
2015 Incentive Plan [Member]  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]  
Nonvested as of July 3, 2021 | shares 1,688,339
Granted | shares 686,586
Vested | shares (610,242)
Forfeited | shares (112,554)
Nonvested as of July 2, 2022 | shares 1,652,129
Nonvested as of July 3, 2021 | $ / shares $ 41.64
Fair Value of Awards Granted | $ / shares 54.99
Vested | $ / shares 41.48
Forfeited | $ / shares 48.72
Nonvested as of July 2, 2022 | $ / shares $ 46.76
2019 Long Term Incentive Plan [Member] | Core-Mark 2010  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]  
Nonvested as of July 3, 2021 | shares 246,850
Vested | shares (167,111)
Forfeited | shares (6,157)
Nonvested as of July 2, 2022 | shares 73,582
Nonvested as of July 3, 2021 | $ / shares $ 49.55
Vested | $ / shares 49.55
Forfeited | $ / shares 49.55
Nonvested as of July 2, 2022 | $ / shares $ 49.55