.rendi-root{--rendi-green:#1E8A5A;--rendi-dark:#145C39;--rendi-red:#D62B2B;position:fixed;right:18px;bottom:18px;z-index:99999;font-family:inherit;font-size:15px;line-height:1.45}
.rendi-root *{box-sizing:border-box}
.rendi-launcher{width:72px;height:72px;border-radius:50%;border:3px solid #fff;background:#E9F7EF;box-shadow:0 6px 18px rgba(0,0,0,.22);cursor:pointer;padding:4px;display:block;margin-left:auto;transition:transform .2s}
.rendi-launcher:hover{transform:scale(1.06)}
.rendi-launcher img{width:100%;height:100%;object-fit:contain;display:block}
.rendi-hint{position:absolute;right:84px;bottom:22px;background:#fff;color:#1d2b36;padding:8px 12px;border-radius:14px 14px 4px 14px;box-shadow:0 4px 14px rgba(0,0,0,.15);white-space:nowrap;opacity:0;transform:translateY(6px);transition:all .3s;pointer-events:none}
.rendi-hint.rendi-show{opacity:1;transform:none}
.rendi-panel{position:absolute;right:0;bottom:86px;width:360px;max-width:calc(100vw - 36px);height:520px;max-height:calc(100vh - 120px);background:#fff;border-radius:16px;box-shadow:0 10px 32px rgba(0,0,0,.25);display:flex;flex-direction:column;overflow:hidden}
.rendi-panel[hidden]{display:none}
.rendi-head{display:flex;align-items:center;gap:10px;padding:10px 12px;background:var(--rendi-green);color:#fff}
.rendi-head img{width:44px;height:44px;background:#E9F7EF;border-radius:50%;padding:2px}
.rendi-title{display:flex;flex-direction:column;flex:1}
.rendi-title span{font-size:12px;opacity:.9}
.rendi-close{background:none;border:0;color:#fff;font-size:26px;line-height:1;cursor:pointer;padding:0 4px}
.rendi-log{flex:1;overflow-y:auto;padding:12px;background:#F4F8F5;display:flex;flex-direction:column;gap:8px}
.rendi-msg{max-width:85%;padding:9px 12px;border-radius:14px;white-space:pre-wrap;word-wrap:break-word}
.rendi-assistant{background:#fff;color:#1d2b36;border:1px solid #DCEBE2;align-self:flex-start;border-bottom-left-radius:4px}
.rendi-user{background:var(--rendi-green);color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
.rendi-msg a{color:inherit;text-decoration:underline}
.rendi-typing{opacity:.6}
.rendi-chips{display:flex;gap:6px;overflow-x:auto;padding:8px 10px;border-top:1px solid #E5EEE8;background:#fff}
.rendi-chip{flex:0 0 auto;border:1px solid var(--rendi-green);color:var(--rendi-dark);background:#fff;border-radius:16px;padding:5px 10px;font-size:13px;cursor:pointer}
.rendi-chip:hover{background:#E9F7EF}
.rendi-form{display:flex;gap:6px;padding:8px 10px;background:#fff}
.rendi-form input{flex:1;min-width:0;border:1px solid #CFDCD3;border-radius:20px;padding:8px 12px;font-size:15px}
.rendi-form button{border:0;background:var(--rendi-red);color:#fff;border-radius:20px;padding:8px 14px;cursor:pointer;font-weight:600}
.rendi-form button:disabled{opacity:.6}
.rendi-note{font-size:11px;line-height:1.3;color:#5b6b63;padding:0 12px 6px;background:#fff}
.rendi-wa{display:block;text-align:center;font-size:12px;padding:6px;background:#fff;color:var(--rendi-dark);border-top:1px solid #E5EEE8}
@media (max-width:480px){.rendi-root{right:12px;bottom:12px}.rendi-panel{width:calc(100vw - 24px);height:calc(100vh - 110px)}.rendi-hint{display:none}}

/* 1.0.6: mascota animada y burbuja que se puede mover */
.rendi-launcher{width:80px;height:80px;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}
.rendi-launcher img{pointer-events:none}
.rendi-dragging .rendi-launcher{cursor:grabbing;transform:scale(1.08);box-shadow:0 10px 26px rgba(0,0,0,.3)}
.rendi-root.rendi-free{right:auto;bottom:auto}
.rendi-root.rendi-top .rendi-panel{bottom:auto;top:92px}
.rendi-root.rendi-left .rendi-panel{right:auto;left:0}
.rendi-root.rendi-left .rendi-hint{right:auto;left:92px;border-radius:14px 14px 14px 4px}
.rendi-root.rendi-top .rendi-hint{bottom:auto;top:24px}
.rendi-head img{width:48px;height:48px;object-fit:contain}
@media (max-width:480px){.rendi-root.rendi-free .rendi-panel{position:fixed;left:12px;right:12px;width:auto;top:auto;bottom:12px}}
/* EcoRend 1.1 — mascota asomada, silueta libre */
.rendi-launcher{width:96px;height:96px;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;position:relative;overflow:visible}
.rendi-launcher::before{content:"EcoRend";position:absolute;left:50%;bottom:-4px;transform:translateX(-50%);background:linear-gradient(135deg,#1E8A5A,#145C39);color:#fff;font-weight:700;font-size:13px;letter-spacing:.3px;padding:7px 16px 7px;border-radius:999px;white-space:nowrap;box-shadow:0 6px 16px rgba(20,92,57,.35);z-index:0}
.rendi-launcher img{position:relative;z-index:1;width:100%;height:100%;margin-top:-26px;filter:drop-shadow(0 6px 8px rgba(20,92,57,.35));animation:ecorend-bob 3.2s ease-in-out infinite;transform-origin:50% 90%}
.rendi-launcher:hover{transform:none}
.rendi-launcher:hover img{animation:ecorend-wave .9s ease-in-out}
.rendi-hint{right:108px;bottom:40px;border-radius:18px 18px 4px 18px;border:1px solid #DCEBE2;font-weight:600;color:#145C39}
.rendi-panel{bottom:112px;border-radius:24px}
.rendi-head{background:linear-gradient(135deg,#1E8A5A,#145C39);padding:12px 14px}
@keyframes ecorend-bob{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-6px) rotate(-2deg)}}
@keyframes ecorend-wave{0%,100%{transform:rotate(0)}30%{transform:rotate(-8deg) scale(1.05)}60%{transform:rotate(6deg) scale(1.05)}}
@media (prefers-reduced-motion:reduce){.rendi-launcher img{animation:none}}
@media (max-width:480px){.rendi-launcher{width:80px;height:80px}.rendi-panel{bottom:96px}}
