const statusEl = document.getElementById('status');
setTimeout(() => {
  chrome.runtime.sendMessage({type:'ping'}, resp => {
    statusEl.textContent = resp.connected ? '● Connected to Hermes Node' : '○ Not connected (node agent not running)';
    statusEl.style.background = resp.connected ? '#e8f5e9' : '#fff3e0';
    statusEl.style.color = resp.connected ? '#2e7d32' : '#ef6c00';
  });
}, 500);
