They reset after the quarterfinals.
by NDBass (2022-11-29 17:56:42)

In reply to: I believe they reset after round of 16....but still shouldnt  posted by fourputtmd


"If a player receives one yellow card in the group stage and another in the Round of 16, they are ineligible for their team’s quarterfinal matchup. However, there is a “clean slate” from the quarterfinals into the semifinals where all previous cautions are wiped, so no players in the semifinals will be at risk of missing the final matches due to accumulated yellow cards from earlier in the tournament."