/* CÓDICE ERP · Asistente de IA en el sitio (CISTI) 1.1.0. Abajo a la derecha: CIVIA y, junto, el botón de WhatsApp. */
.cx-aw{position:fixed;right:20px;bottom:20px;z-index:2147483000;font:15px/1.4 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:#0f172a}
.cx-aw *{box-sizing:border-box}
.cx-aw [hidden]{display:none!important}
.cx-aw-btn{display:flex;align-items:center;gap:10px;height:60px;padding:0 18px 0 8px;border:0;border-radius:999px;background:#6D28D9;color:#fff;font:inherit;font-weight:700;cursor:pointer;box-shadow:0 10px 24px -8px rgba(109,40,217,.55)}
.cx-aw-fila{display:flex;align-items:center;gap:10px;justify-content:flex-end}
.cx-aw-wab{width:60px;height:60px;border-radius:50%;display:grid;place-items:center;background:#25D366;color:#fff!important;text-decoration:none;box-shadow:0 10px 24px -8px rgba(37,211,102,.6);flex:none}
.cx-aw-wab:hover,.cx-aw-wab:focus-visible{background:#1EBE5B;outline:none}
.cx-aw-con-wa .tn-wam,.cx-aw-con-wa .cm-wa{display:none!important}
.cx-aw-con-wa .tn-subir{bottom:96px!important}
.cx-aw-btn:hover,.cx-aw-btn:focus-visible{background:#5B21B6;outline:none}
.cx-aw.on .cx-aw-btn-t{display:none}
.cx-aw.on .cx-aw-btn{padding:0 8px}
.cx-aw-cara{width:44px;height:44px;border-radius:50%;overflow:hidden;background:#0E1B33;flex:none;box-shadow:0 0 0 2px #C4B5FD;display:inline-block}
.cx-aw-cara img{width:100%;height:100%;object-fit:cover;display:block}
.cx-aw-hola{position:absolute;right:0;bottom:74px;width:min(330px,calc(100vw - 40px));background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:16px;box-shadow:0 20px 50px -12px rgba(15,23,42,.35);animation:cxAwIn .25s ease-out}
.cx-aw-hola-h{display:flex;gap:10px;align-items:center;margin-bottom:8px}
.cx-aw-hola-h div{display:flex;flex-direction:column;line-height:1.2}
.cx-aw-hola-h small{color:#64748b;font-size:12px}
.cx-aw-hola-h small i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#16a34a;margin-right:4px}
.cx-aw-hola p{margin:4px 0 10px;font-size:16px;font-weight:600}
.cx-aw-ops{display:flex;flex-direction:column;gap:6px}
.cx-aw-ops button,.cx-aw-ops a{display:block;width:100%;text-align:left;border:1px solid #6D28D9;color:#6D28D9;background:#fff;border-radius:12px;padding:9px 12px;font:inherit;font-size:14px;cursor:pointer;text-decoration:none}
.cx-aw-ops button:hover,.cx-aw-ops a:hover{background:#6D28D9;color:#fff}
.cx-aw-ops a{border-color:#16a34a;color:#15803d}
.cx-aw-ops a:hover{background:#16a34a;color:#fff}
.cx-aw-legal{display:block;margin-top:10px;font-size:11.5px;color:#64748b}
.cx-aw-legal a{color:#6D28D9}
.cx-aw-x{position:absolute;top:8px;right:10px;width:30px;height:30px;border:0;background:transparent;font-size:22px;line-height:1;color:#64748b;cursor:pointer;border-radius:8px}
.cx-aw-x:hover{background:#f1f5f9}
.cx-aw-panel{position:absolute;right:0;bottom:74px;width:min(400px,calc(100vw - 40px));height:min(620px,calc(100dvh - 110px));background:#fff;border:1px solid #e2e8f0;border-radius:18px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 24px 60px -12px rgba(15,23,42,.45);animation:cxAwIn .2s ease-out}
.cx-aw-barra{position:relative;display:flex;align-items:center;gap:8px;padding:8px 46px 8px 14px;background:#0E1B33;color:#fff;font-size:13px;font-weight:600}
.cx-aw-barra span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cx-aw-barra .cx-aw-x{color:#cbd5e1;top:3px;right:6px}
.cx-aw-barra .cx-aw-x:hover{background:rgba(255,255,255,.12)}
.cx-aw-wa{display:inline-block;background:#25D366;color:#fff!important;border-radius:999px;padding:4px 12px;font-size:12.5px;font-weight:700;text-decoration:none}
.cx-aw-cuerpo{flex:1;min-height:0;display:flex}
.cx-aw-cuerpo iframe{flex:1;width:100%;height:100%;border:0;display:block}
.cx-aw-off{padding:24px;text-align:center}
@keyframes cxAwIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media (max-width:600px){
  .cx-aw{right:14px;bottom:14px}
  .cx-aw-btn{height:56px}
  .cx-aw-wab{width:56px;height:56px}
  .cx-aw-btn-t{display:none}
  .cx-aw-btn{padding:0 6px}
  .cx-aw-panel{position:fixed;inset:0;width:auto;height:auto;border-radius:0;border:0}
  .cx-aw-hola{bottom:68px}
}
@media print{.cx-aw{display:none}}
