cument.querySelectorAll('#cableSelectionList input[type="checkbox"]');
        checkboxes.forEach(cb => cb.checked = true);
        updateSelectionCount();
    }

    function deselectAllCables() {
        const checkboxes = document.querySelectorAll('#cableSelectionList input[type="checkbox"]');
        checkboxes.forEach(cb => cb.checked = false);
        updateSelectionCount();
    }

    function updateSelectionCount() {
        const checkboxes = document.querySelectorAll('#cableSelectionList input[typ