Over four quarters combined
Your rolling four-quarter total passes $30,000, but no single quarter did it alone. You keep small-supplier status through the end of the month following the quarter in which you crossed — a built-in runway of up to a month.
Your registration is effective from your first taxable sale after that grace month, and you have 29 days from that sale to register.