cument.querySelector(`[data-cell-id="${cellId}"]`);
            if (cell && cell.previousElementSibling) {
                cell.parentNode.insertBefore(cell, cell.previousElementSibling);
            }
        }
        
        function moveDown(cellId) {
            const cell = document.querySelector(`[data-cell-id="${cellId}"]`);
            if (cell && cell.nextElementSibling) {
                cell.parentNode.insertBefore(cell.nextElementSibling, cell);
            }
        }
        
        functio