Now add the HTML - the two-round checkbox and timeout option before the submit button:


Edit

                    <!-- Token Estimation -->
                    <div class="token-estimate ok" id="token-estimate">
                        Estimated: ~0 tokens
                    </div>

                    <!-- Submit Button -->
                    <button class="btn btn-primary" id="submit-ai-btn" onclick="submitToAI()" style="width: 100%;">
                        Send to AI
                    </button>

                        Estimated: ~0 tokens

                            <input type="checkbox" id="two-round-mode">

                                Auto Two-Round AI

Round 1: all providers answer independently. Round 2: all providers receive everyone's Round 1 answers and produce a unified summary.

                                Provider timeout:
                                <select id="provider-timeout" style="padding:3px 6px;border-radius:4px;border:1px solid #ccc;font-size:0.9em;">
                                    <option value="60">60s</option>
                                    <option value="90">90s</option>
                                    <option value="120" selected>120s</option>
                                    <option value="180">180s</option>
                                    <option value="300">300s</option>
                                </select>
                                (skip slow providers after this)

                    <button class="btn btn-primary" id="submit-ai-btn" onclick="submitToAI()" style="width: 100%;">
                        Send to AI
                    </button>