{#- Shared palette, theme toggle and nav styling.
Three states, not two: system (follow the OS), light, dark. The dark rules
are guarded with :not([data-theme="light"]) so an explicit light choice wins
over a dark OS setting -- without that guard the toggle only works one way.
-#}