/* Chat del asistente Cenova */
.cx-launch{position:fixed;right:calc(86px + env(safe-area-inset-right,0px));bottom:calc(22px + env(safe-area-inset-bottom,0px));z-index:31;display:flex;align-items:center;gap:10px;height:48px;padding:0 18px 0 14px;border:0;border-radius:999px;background:#58ADEC;color:#141C2B;font:600 15px "IBM Plex Sans",system-ui,sans-serif;box-shadow:0 6px 20px rgba(0,0,0,.25);cursor:pointer;transition:transform .15s ease}
.cx-launch:hover{transform:translateY(-1px)}
.cx-launch:focus-visible,.cx-x:focus-visible,.cx-send:focus-visible,.cx-chip:focus-visible{outline:2px solid #58ADEC;outline-offset:3px}
.cx-launch svg{width:22px;height:22px;flex:none}
.cx-dot{width:8px;height:8px;border-radius:50%;background:#2BD576;box-shadow:0 0 0 3px rgba(43,213,118,.25)}
.cx-panel{position:fixed;right:calc(18px + env(safe-area-inset-right,0px));bottom:calc(86px + env(safe-area-inset-bottom,0px));z-index:32;width:370px;max-width:calc(100vw - 36px);height:min(560px,calc(100vh - 120px));display:flex;flex-direction:column;background:#FFFFFF;color:#0E1726;border-radius:16px;box-shadow:0 24px 60px rgba(10,16,29,.35);overflow:hidden;font:15px/1.5 "IBM Plex Sans",system-ui,sans-serif}
.cx-panel[hidden]{display:none}
.cx-head{display:flex;align-items:center;gap:12px;padding:14px 14px 14px 16px;background:#141C2B;color:#EEF3F9}
.cx-av{width:36px;height:36px;border-radius:50%;background:#1F2A3C;display:grid;place-items:center;flex:none}
.cx-av img{width:24px;height:auto}
.cx-head b{display:block;font:600 15px "Poppins",system-ui,sans-serif}
.cx-head small{display:flex;align-items:center;gap:6px;color:#A3B0C4;font-size:12.5px}
.cx-x{margin-left:auto;background:none;border:0;color:#A3B0C4;width:36px;height:36px;border-radius:8px;cursor:pointer;display:grid;place-items:center}
.cx-x:hover{color:#fff;background:rgba(255,255,255,.08)}
.cx-log{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px;background:#F6F8FB}
.cx-msg{max-width:85%;padding:10px 13px;border-radius:14px;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:anywhere}
.cx-msg a{color:#1F7AC4;font-weight:600}
.cx-bot{align-self:flex-start;background:#FFFFFF;border:1px solid #DCE2EB;border-bottom-left-radius:4px}
.cx-me{align-self:flex-end;background:#1F7AC4;color:#fff;border-bottom-right-radius:4px}
.cx-typing{display:inline-flex;gap:4px;align-items:center}
.cx-typing i{width:6px;height:6px;border-radius:50%;background:#97A3B8;animation:cxb 1s infinite ease-in-out}
.cx-typing i:nth-child(2){animation-delay:.15s}.cx-typing i:nth-child(3){animation-delay:.3s}
@keyframes cxb{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
.cx-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:2px}
.cx-chip{background:#FFFFFF;border:1px solid #BFD9F2;color:#1F5F99;border-radius:999px;padding:6px 11px;font:500 13px "IBM Plex Sans",system-ui,sans-serif;cursor:pointer;text-align:left}
.cx-chip:hover{background:#E7F3FC}
.cx-wa{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 16px 0;padding:8px;font:600 13px "IBM Plex Sans",system-ui,sans-serif;color:#128C4A;text-decoration:none;border-top:1px solid #DCE2EB;background:#fff}
.cx-wa svg{width:16px;height:16px}
.cx-form{display:flex;gap:8px;padding:10px 12px 12px;border-top:1px solid #DCE2EB;background:#fff}
.cx-in{flex:1;min-width:0;border:1px solid #CBD5E1;border-radius:10px;padding:10px 12px;font:15px "IBM Plex Sans",system-ui,sans-serif;color:#0E1726;background:#fff;resize:none;max-height:110px;overflow-y:hidden;line-height:1.4}
.cx-in:focus{outline:2px solid #58ADEC;outline-offset:0;border-color:transparent}
.cx-send{flex:none;width:44px;border:0;border-radius:10px;background:#141C2B;color:#fff;cursor:pointer;display:grid;place-items:center}
.cx-send:disabled{opacity:.45;cursor:default}
.cx-note{padding:0 14px 10px;background:#fff;color:#7A8699;font-size:11.5px;text-align:center}
.cx-note a{color:inherit}
@media (max-width:520px){
  .cx-launch{padding:0;width:56px;height:56px;justify-content:center;right:calc(84px + env(safe-area-inset-right,0px));bottom:calc(18px + env(safe-area-inset-bottom,0px))}
  .cx-launch span{display:none}
  .cx-launch .cx-dot{position:absolute;top:8px;right:8px}
  .cx-panel{right:0;left:0;bottom:0;top:0;width:auto;max-width:none;height:auto;border-radius:0;padding-top:env(safe-area-inset-top,0px)}
}
@media (prefers-reduced-motion:reduce){.cx-typing i{animation:none}.cx-launch{transition:none}}
