CAPS Doc Generator

Pick a grade, subject, term and ATP week — the UI for Grade/Subject/ Term/Week selection, topic auto-fill, and document-type choice goes here. See app/api/generate/route.ts for the cache-then-generate flow and supabase/migrations for the schema this screen will read from.