<button class="assistant-launcher" id="assistant-launcher" aria-haspopup="dialog" aria-expanded="false" aria-controls="assistant-panel">
  <svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true">
    <rect x="4" y="7" width="16" height="11" rx="3" stroke="currentColor" stroke-width="1.6"/>
    <path d="M12 4v3M9 12h.01M15 12h.01" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
  </svg>
  Ask 19K-RGP
</button>

<section class="assistant-panel" id="assistant-panel" role="dialog" aria-modal="false" aria-labelledby="assistant-title" data-mode="concierge">
  <header class="assistant-panel__head">
    <svg width="18" height="18" viewBox="0 0 24 24" fill="none" aria-hidden="true"><rect x="4" y="7" width="16" height="11" rx="3" stroke="currentColor" stroke-width="1.6"/><path d="M12 4v3" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/></svg>
    <span class="title" id="assistant-title">19K-RGP Assistant</span>
    <button class="icon-btn" data-assistant-expand aria-label="Expand assistant" style="margin-left:auto">
      <svg class="icon-expand" width="16" height="16" viewBox="0 0 24 24" fill="none" aria-hidden="true"><path d="M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3M3 16v3a2 2 0 0 0 2 2h3m13-5v3a2 2 0 0 1-2 2h-3" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg>
      <svg class="icon-collapse" width="16" height="16" viewBox="0 0 24 24" fill="none" aria-hidden="true"><path d="M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3M3 16h3a2 2 0 0 1 2 2v3m13-5h-3a2 2 0 0 0-2 2v3" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg>
    </button>
    <button class="icon-btn" data-assistant-close aria-label="Close assistant">
      <svg width="18" height="18" viewBox="0 0 24 24" fill="none" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18" stroke="currentColor" stroke-width="1.7" stroke-linecap="round"/></svg>
    </button>
  </header>
  <div class="assistant-panel__msgs" id="assistant-msgs" aria-live="polite"></div>
  <div class="achips" id="assistant-chips"></div>
  <form class="assistant-panel__input" id="assistant-form">
    <input type="text" id="assistant-input" placeholder="Ask about accessing the data…" autocomplete="off" aria-label="Ask the assistant" />
    <button class="btn btn--primary" type="submit">Send</button>
  </form>
  <p class="assistant-foot">Answers link to the official platforms — always verify on the source.</p>
</section>
