The solution doesn't make sense to me either. I think the best thing to do would be to add a css class name or a css styles input for the customizer via the section schema. For instance: <section class="{{ section.settings.css_class }}">
{% schema ...