wire:navigate replaces the <html> attributes with the server's, which dropped the "dark" class, and the unchanged head script does not run again. Apply the stored theme again on every Livewire page swap, before the new page paints, and cover the main-menu navigation with a browser test. Co-Authored-By: Claude Opus 5.5 <[email protected]>