d.writeText) {
          navigator.clipboard.writeText(txt).then(() => {
            btn.textContent = 'Copied!';
            setTimeout(() => btn.textContent = 'Copy issue text', 1400);
          }).catch(() => alert('Copy failed ‚Äî please select & copy manually.'));
        } else {
          alert('Clipboard not supported ‚Äî select & copy manually.');
        }
      });
    })();

    // Chatbase loader (kept)
    (function () {
      if (!window.chatbase || window.chatbase("getSt