              advancedFlexElements.forEach(element => {
                    element.style.display = 'none';
                });
                
                // Hide grid containers
                const advancedGridElements = document.querySelectorAll('.advanced-mode-only-grid');
                advancedGridElements.forEach(element => {
                    element.style.display = 'none';
                });
            }
            
            // Load dark mode preference
            const darkMode = 