         case 'e':
                    e.preventDefault();
                    exportData('csv');
                    break;
            }
        }
    });
    
    // Add tooltips and interactions to metric cards
    document.querySelectorAll('.rc-metric-card').forEach((card, index) => {
        // Skip metric cards inside device analytics modal
        if (card.closest('#deviceAnalyticsModal')) {
            return;
        }
        
        card.title = 'Click to view detailed breakdown';
        card.