How to apply a CSS rule on a frontend product view page to the configurable products only

Magento 2 core adds the page-product-configurable CSS class to the HTML body elementform the configurable products on the fronend product views: