| v COLOR_MODE_KEY | localStorage key for the reader's explicit choice. Absent means "follow the OS". |
| v COLOR_MODE_SCRIPT | Inline `<head>` script. Pins the stored mode on <html> before first paint so dark readers never see a light flash. Without a stored mode the OS decides through `color-scheme: light dark`. |
| v COLOR_MODE_SCRIPT_HASH | CSP source for `COLOR_MODE_SCRIPT`. A host with a Content Security Policy adds it to `script-src` so the script can run; `color-mode.test.ts` keeps it in sync. |
| v COLOR_MODE_TAG | `COLOR_MODE_SCRIPT` as a `<script>` element. It lives here rather than in `ColorModeToggle.svelte` because Vite's dependency scanner reads any `<script>` text in a `.svelte` file as the component's script and fails. |