                     <li>Completed jobs show successful delivery</li>
                            <li>Average duration helps with resource planning</li>
                            <li>Overdue jobs indicate potential workflow issues</li>
                        </ul>
                    </div>
                </div>
            `
        }
    ];
    
    return insights[index]?.content || '<p>No detailed information available for this metric.</p>';
}

function closeMetricDetail() {
    const overlay = wind