ew(wrapCursor.from(), 20);
            }
        }

        // Toggle advanced mode
        function toggleAdvancedMode() {
            const isAdvanced = document.getElementById('advancedModeToggle').checked;
            document.body.classList.toggle('advanced-mode', isAdvanced);
            localStorage.setItem('advancedMode', isAdvanced.toString());
            
            // Toggle visibility of advanced mode elements
            const advancedElements = document.querySelectorAll('.advanced-mode-only,