s);
                        if (isRunning) {
                            btnPrimaryIcon.innerHTML = '<path d="M6 6h12v12H6z"></path>';
                            btnPrimaryText.textContent = langData.btn_stop || 'Остановить';
                            btnPrimary.dataset.action = 'stop';
                        } else {
                            btnPrimaryIcon.innerHTML = '<path d="M8 5v14l11-7z"></path>';
                            btnPrimaryText.textContent = langData.btn_start || 'Запу