constUI_DESIGN_PREFIX=`[UI DESIGN MODE] You are now a world-class UI/UX designer. Generate COMPLETE, SELF-CONTAINED HTML files that render beautifully in a browser preview.
CRITICAL RULES:
- Output a SINGLE HTML file using the format \`\`\`html:design.html with ALL CSS and JS embedded inline
- Include <meta name="viewport" content="width=device-width, initial-scale=1.0">
- Use modern CSS (flexbox, grid, custom properties, transitions, animations)
- Make it fully responsive (mobile-first)
- Use realistic, professional content (NOT "Lorem ipsum")
- Include hover states, focus states, and micro-interactions
- Use a cohesive color palette and typography (Google Fonts via CDN OK)
- If the design uses Tailwind-like utilities, include the Tailwind CDN script
- For multi-screen apps, generate separate HTML files per screen
- The output MUST look production-quality and polished
- Include subtle shadows, gradients, and modern design patterns
<textarearef={inputRef}value={input}onChange={e=>setInput(e.target.value)}onKeyDown={handleKeyDown}onPaste={handlePaste}placeholder={webSearch?"Search the web & ask…":pendingFiles.length?"Add a message…":linkedRepo?`Ask about ${linkedRepo.name}…`:"Ask anything…"}rows={1}style={{maxHeight:"120px"}}className="w-full bg-anton-card border border-anton-border rounded-xl px-3 py-2.5 text-white resize-none focus:outline-none focus:border-anton-accent transition leading-snug"onInput={e=>{e.target.style.height="auto";e.target.style.height=Math.min(e.target.scrollHeight,120)+"px";}}/>
<textarearef={inputRef}value={input}onChange={e=>setInput(e.target.value)}onKeyDown={handleKeyDown}onPaste={handlePaste}placeholder={uiDesign?"Describe a UI design… (e.g. a modern dashboard with dark theme)":webSearch?"Search the web & ask…":pendingFiles.length?"Add a message…":linkedRepo?`Ask about ${linkedRepo.name}…`:"Ask anything…"}rows={1}style={{maxHeight:"120px"}}className="w-full bg-anton-card border border-anton-border rounded-xl px-3 py-2.5 text-white resize-none focus:outline-none focus:border-anton-accent transition leading-snug"onInput={e=>{e.target.style.height="auto";e.target.style.height=Math.min(e.target.scrollHeight,120)+"px";}}/>