Edit

// All passes complete
                daProgress.textContent = 'Complete (5/5)';
                document.getElementById('loading-message').textContent = 'Deep Analysis complete!';

                // Add summary header
                var summaryDiv = document.createElement('div');
                summaryDiv.style.cssText = 'margin-top:15px;padding:15px;background:linear-gradient(135deg,#f0fdf4,#ecfeff);border-radius:8px;border:1px solid #86efac;';
                summaryDiv.innerHTML = 'Deep Analysis Complete
' +
                    '5 passes completed with ' + selectedProvidersList.length + ' provider(s). Results saved to AI responses. Use "Generate Chart" on any pass for visualization.';

// All passes complete
                daProgress.textContent = 'Complete (' + passes.length + '/' + passes.length + ')';
                document.getElementById('loading-message').textContent = '"' + playbook.name + '" complete!';

                // Add summary header
                var summaryDiv = document.createElement('div');
                summaryDiv.style.cssText = 'margin-top:15px;padding:15px;background:linear-gradient(135deg,#f0fdf4,#ecfeff);border-radius:8px;border:1px solid #86efac;';
                summaryDiv.innerHTML = '' + escapeHtml(playbook.name) + ' — Complete
' +
                    '' + passes.length + ' passes completed with ' + selectedProvidersList.length + ' provider(s). Results saved to AI responses. Use "Generate Chart" on any pass for visualization.';