/* Las opciones permanecen abiertas. El avatar controla un chat independiente. */
.assistant.open{display:block}
.assistant{bottom:155px}
#agentChat{position:fixed;right:24px;bottom:150px;z-index:25;width:360px;max-width:calc(100% - 32px);background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);overflow:hidden}
.agent-chat-head{background:var(--teal);color:white;display:flex;align-items:center;justify-content:space-between;padding:14px 16px;gap:12px}
.agent-chat-head strong,.agent-chat-head small{display:block}.agent-chat-head small{font-size:11px;margin-top:4px;color:#daeeea}
.agent-chat-head button{background:transparent;color:white;font-size:25px;min-height:44px;min-width:44px}
#agentMessages{max-height:280px;overflow:auto;padding:14px;overscroll-behavior:contain}
.agent-message{background:#edf6f2;border-radius:12px;padding:10px 12px;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 20px 12px 0}
.user-message{background:#fff3d9;margin:0 0 12px 20px}
#agentChatForm{border-top:1px solid var(--line);padding:12px 14px}
#agentChatForm label{font-size:12px}#agentChatForm>div{display:flex;gap:8px;align-items:center}
#agentQuestion{min-width:0;font-size:16px;margin:6px 0 0;min-height:44px}
#agentChatForm button{padding:10px;border-radius:8px;background:var(--teal);color:white;min-height:44px;margin-top:6px}
.modal-open #agentChat{visibility:hidden}
@media(max-width:600px){
  body{padding-bottom:calc(185px + env(safe-area-inset-bottom,0px))}
  .assistant{left:12px;right:80px;bottom:calc(12px + env(safe-area-inset-bottom,0px));width:auto;max-width:none;padding:12px;border-radius:16px;max-height:36dvh}
  .dsp-help-heading{margin-bottom:8px}.dsp-help-heading h2{font-size:14px;letter-spacing:-.2px}
  .dsp-help-options{gap:7px}.dsp-help-option{min-height:44px;padding:8px;font-size:11px;gap:8px}
  .dsp-option-icon{height:26px;width:26px;font-size:15px}
  .assistant-launch,.assistant-launch.whatsapp-mode{right:12px;bottom:calc(18px + env(safe-area-inset-bottom,0px))}
  #agentChat{right:8px;bottom:calc(80px + env(safe-area-inset-bottom,0px));max-width:calc(100% - 16px);width:360px;max-height:calc(100dvh - 100px);display:flex;flex-direction:column}
  #agentMessages{max-height:35dvh;min-height:80px}
  #agentChatForm{flex-shrink:0}
}
