dvancedMode') === 'true';
            document.getElementById('advancedModeToggle').checked = advancedMode;
            if (advancedMode) {
                document.body.classList.add('advanced-mode');
                
                // Show advanced mode elements
                const advancedElements = document.querySelectorAll('.advanced-mode-only, .advanced-panel');
                advancedElements.forEach(element => {
                    element.style.display = 'block';
                });
           