Define a conditional cell style across multiple columns

I use Grist to design student and teacher schedules for every week of the year. In particular, I use summary tables to check that the number of hours per week does not exceed a certain threshold.

In the summary tables, I use a conditional style to display any excesses: e.g., $c36 > 30.

I would like to define this conditional style for all 50 columns at once without having to do it column by column.

Is there a trick for doing this (using the API, widget, etc.)?

There’s a related issue here, but no method to do table-wide conditional styling that applies to individual cells at the moment.