(function() {
    document.querySelectorAll('.paintops-situational-chip .scope-situational-check').forEach(function(cb) {
        cb.addEventListener('change', function() {
            cb.closest('.paintops-situational-chip').classList.toggle('checked', cb.checked);
        });
    });
})();
