;
        
        const isOpen = switcher.dataset.state === 'open';
        switcher.dataset.state = isOpen ? 'closed' : 'open';
        
        if (isOpen) {
          options.classList.add('hx:hidden');
          if (chevron) chevron.style.transform = 'rotate(0deg)';
        } else {
          options.classList.remove('hx:hidden');
          if (chevron) chevron.style.transform = 'rotate(180deg)';
        }
      });
      
      // Close when clicking outside
      document.addEventListener('click', fu