lve, 100)); // Small delay between cells
            }
        }
        
        // Kernel management
        async function restartKernel() {
            try {
                const response = await fetch('/api/kernel/restart', { method: 'POST' });
                if (response.ok) {
                    console.log('Kernel restarted');
                    executionCount = 0;
                    // Clear all outputs
                    document.querySelectorAll('.cell-output').forEach(output => {
          