--- phase: 12-dark-mode-visibility-fixes plan: 02 type: execute wave: 1 depends_on: [] files_modified: - src/components/ui/FieldRenderer.tsx autonomous: true requirements: [DARK-03] must_haves: truths: - "Select dropdowns in FieldRenderer are readable in dark mode (proper background and text color)" artifacts: - path: "src/components/ui/FieldRenderer.tsx" provides: "select element with bg-surface-container and text-on-surface classes" contains: "bg-surface-container" key_links: - from: "src/components/ui/FieldRenderer.tsx" to: "src/index.css" via: "semantic token classes on select element" pattern: "bg-surface-container.*text-on-surface" --- Fix FieldRenderer select element dark mode visibility by adding background and text color semantic tokens. Purpose: The `` element's className array (lines 69-71) to include `bg-surface-container text-on-surface` in the first string of the array: Change: ```tsx 'w-full rounded-md border px-3 py-2 text-sm focus:outline-none focus-visible:ring-2', ``` To: ```tsx 'w-full rounded-md border px-3 py-2 text-sm bg-surface-container text-on-surface focus:outline-none focus-visible:ring-2', ``` This is a single-line className addition. Do not modify the error/border conditional, the register spread, or the option elements. Do not attempt to style the `