#acb-root{--acb-orange:#F7931E;--acb-orange-d:#D96A05;--acb-ink:#1f2328;--acb-muted:#6b7280;position:fixed;right:22px;bottom:22px;z-index:99999;font-family:inherit;font-size:15px;line-height:1.45}
#acb-root *{box-sizing:border-box}
.acb-launcher{position:relative;width:84px;height:96px;border:0;background:none;padding:0;cursor:pointer;filter:drop-shadow(0 8px 14px rgba(217,106,5,.35));animation:acb-float 3.2s ease-in-out infinite}
.acb-launcher img{width:100%;height:100%;display:block}
.acb-launcher:focus-visible{outline:3px solid var(--acb-orange);outline-offset:4px;border-radius:12px}
.acb-bubble{position:absolute;right:92px;bottom:46px;white-space:nowrap;background:#fff;color:var(--acb-ink);padding:8px 12px;border-radius:14px 14px 4px 14px;box-shadow:0 6px 20px rgba(0,0,0,.12);font-size:14px}
#acb-root.acb-open .acb-bubble{display:none}
@keyframes acb-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@media (prefers-reduced-motion:reduce){.acb-launcher{animation:none}}

.acb-panel{position:absolute;right:0;bottom:110px;width:380px;max-width:calc(100vw - 28px);height:560px;max-height:calc(100vh - 140px);background:#fff;border-radius:18px;box-shadow:0 18px 50px rgba(0,0,0,.22);display:none;flex-direction:column;overflow:hidden}
#acb-root.acb-open .acb-panel{display:flex}
.acb-head{display:flex;align-items:center;gap:10px;padding:12px 14px;background:linear-gradient(135deg,#FFB45A,var(--acb-orange) 45%,var(--acb-orange-d));color:#fff}
.acb-head img{width:40px;height:46px;background:rgba(255,255,255,.25);border-radius:12px;padding:3px}
.acb-head b{display:block;font-size:16px}
.acb-head small{opacity:.9;font-size:12.5px}
.acb-close{margin-left:auto;background:rgba(255,255,255,.2);border:0;color:#fff;width:32px;height:32px;border-radius:50%;font-size:20px;line-height:1;cursor:pointer}
.acb-close:hover{background:rgba(255,255,255,.35)}

.acb-msgs{flex:1;overflow-y:auto;padding:14px;background:#FFF8F0;display:flex;flex-direction:column;gap:10px}
.acb-msg{max-width:88%;padding:9px 12px;border-radius:14px;word-wrap:break-word;color:var(--acb-ink)}
.acb-msg p{margin:0 0 6px}.acb-msg p:last-child{margin:0}
.acb-msg ul,.acb-msg ol{margin:4px 0 6px 18px;padding:0}
.acb-bot{align-self:flex-start;background:#fff;border:1px solid #F5DEC4;border-bottom-left-radius:4px}
.acb-user{align-self:flex-end;background:var(--acb-orange);color:#fff;border-bottom-right-radius:4px}
.acb-src{margin-top:8px;padding-top:6px;border-top:1px dashed #F5DEC4;font-size:13px;color:var(--acb-muted)}
.acb-src a{display:block;color:var(--acb-orange-d);text-decoration:none}
.acb-src a:hover{text-decoration:underline}
.acb-typing span{display:inline-block;width:7px;height:7px;margin:0 2px;border-radius:50%;background:var(--acb-orange);animation:acb-dot 1s infinite}
.acb-typing span:nth-child(2){animation-delay:.15s}.acb-typing span:nth-child(3){animation-delay:.3s}
@keyframes acb-dot{0%,80%,100%{opacity:.25}40%{opacity:1}}

.acb-chips{display:flex;flex-wrap:wrap;gap:6px}
.acb-chip{border:1px solid var(--acb-orange);background:#fff;color:var(--acb-orange-d);border-radius:999px;padding:5px 10px;font-size:13px;cursor:pointer}
.acb-chip:hover{background:var(--acb-orange);color:#fff}

.acb-form{display:flex;gap:8px;padding:10px;border-top:1px solid #f0e2d2;background:#fff}
.acb-form textarea{flex:1;resize:none;border:1px solid #e5d3bf;border-radius:12px;padding:9px 11px;font:inherit;max-height:110px;min-height:42px}
.acb-form textarea:focus{outline:none;border-color:var(--acb-orange);box-shadow:0 0 0 3px rgba(247,147,30,.2)}
.acb-send{border:0;background:var(--acb-orange);color:#fff;border-radius:12px;width:46px;cursor:pointer;font-size:18px}
.acb-send:disabled{opacity:.5;cursor:default}
.acb-foot{font-size:11.5px;color:var(--acb-muted);text-align:center;padding:0 10px 8px;background:#fff}

@media (max-width:480px){#acb-root{right:12px;bottom:12px}.acb-panel{position:fixed;right:8px;left:8px;bottom:110px;width:auto;height:auto;top:12px;max-height:none}}

/* Aislamiento de estilos del tema */
#acb-root button{margin:0!important;text-transform:none!important;letter-spacing:normal!important;box-shadow:none!important;min-height:0!important;line-height:1.2!important;font-family:inherit!important}
#acb-root .acb-launcher,#acb-root .acb-launcher:hover,#acb-root .acb-launcher:focus{background:transparent!important;border:0!important;padding:0!important;width:84px!important;height:96px!important;border-radius:0!important}
#acb-root .acb-close,#acb-root .acb-close:hover{padding:0!important;width:32px!important;height:32px!important;border:0!important;border-radius:50%!important;color:#fff!important;display:flex!important;align-items:center;justify-content:center;font-size:22px!important}
#acb-root .acb-close{background:rgba(255,255,255,.2)!important}#acb-root .acb-close:hover{background:rgba(255,255,255,.35)!important}
#acb-root .acb-send{padding:0!important;width:46px!important;height:42px!important;align-self:flex-end;border:0!important;border-radius:12px!important;background:var(--acb-orange)!important;color:#fff!important;display:flex!important;align-items:center;justify-content:center;font-size:18px!important}
#acb-root .acb-send:hover{background:var(--acb-orange-d)!important}
#acb-root .acb-chip{padding:5px 10px!important;border:1px solid var(--acb-orange)!important;border-radius:999px!important;background:#fff!important;color:var(--acb-orange-d)!important;font-size:13px!important;font-weight:400!important;width:auto!important;height:auto!important}
#acb-root .acb-chip:hover{background:var(--acb-orange)!important;color:#fff!important}
#acb-root .acb-form textarea{height:42px;min-height:42px!important;max-height:110px!important;margin:0!important;padding:9px 11px!important;font-size:15px!important;line-height:1.4!important;background:#fff!important;color:var(--acb-ink)!important;width:auto!important}
#acb-root .acb-head b,#acb-root .acb-head small{color:#fff!important}
#acb-root .acb-head img{margin:0!important;max-width:none!important}
