{"agent":"codex","input":"Add a dark mode toggle to this Phoenix LiveView app. Read config/config.exs, assets/tailwind.config.js, assets/js/app.js, the layouts under lib/live_beats_web/components/layouts, core_components.ex and the live views first. Switch Tailwind to class-based dark mode, add an inline script in the root layout that applies the saved or system preference before the stylesheet loads so there is no flash, add a toggle in the account dropdown that dispatches a JS event handled in app.js and remembers the choice in localStorage, and add dark variants across the sidebars, sign-in page, settings form, profile page, title bar, flash and modal. Keep the player's existing dark classes working. Start the app with a local database and placeholder GitHub OAuth values, screenshot the sign-in and profile pages in both themes, run mix test, and open a pull request with the screenshots.","resources":[{"url":"https://github.com/your-org/your-app"}]}