                case 'ArrowUp':
                        e.preventDefault();
                        const prevCell = document.querySelector(`[data-cell-id="${currentCellId}"]`)?.previousElementSibling;
                        if (prevCell) selectCell(prevCell.dataset.cellId);
                        break;
                    case 'ArrowDown':
                        e.preventDefault();
                        const nextCell = document.querySelector(`[data-cell-id="${currentCellId}"]`)?.nextElementSibling;
