/* Todo el estilo está limitado al widget. El robot se mueve por articulaciones. */
.vjpe-ai{--vjpe-ink:#17364f;--vjpe-blue:#005b83;--vjpe-orange:#ffa848;position:fixed;right:22px;bottom:18px;z-index:1200;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--vjpe-ink);font-size:14px;line-height:1.5;text-align:left}
.vjpe-ai *{box-sizing:border-box}.vjpe-ai [hidden]{display:none!important}.vjpe-ai button,.vjpe-ai textarea{font:inherit}.vjpe-ai button{cursor:pointer}.vjpe-ai button:disabled{cursor:wait;opacity:.55}.vjpe-ai button:focus-visible,.vjpe-ai a:focus-visible{outline:3px solid #ffb555;outline-offset:3px}.vjpe-ai button{transition:background .15s,box-shadow .15s}.vjpe-ai__launcher{position:relative;display:flex;flex-direction:column;align-items:center;background:transparent;border:0;padding:0;color:var(--vjpe-ink);width:146px;box-shadow:none;border-radius:25px}.vjpe-ai__launcher:hover{background:transparent;box-shadow:none}.vjpe-ai__launcher-avatar{display:block;width:146px;height:174px;filter:drop-shadow(0 5px 8px #24465b17)}.vjpe-avatar-canvas{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}.vjpe-ai__launcher-label{display:flex;align-items:center;gap:8px;font-weight:750;font-size:14px;background:white;border:1px solid #d5e4eb;border-radius:30px;padding:8px 14px;box-shadow:0 5px 18px #163d5820;margin-top:-1px}.vjpe-ai__launcher-label::before{content:"";width:7px;height:7px;background:#ff9e35;border-radius:50%}.vjpe-ai__launcher:hover .vjpe-ai__launcher-label{background:#fff5e6}
.vjpe-ai__panel{position:absolute;right:166px;bottom:0;display:flex;flex-direction:column;width:410px;height:min(690px,calc(var(--vjpe-viewheight,100dvh) - 40px));min-height:330px;border:1px solid #d7e5ed;border-radius:25px;background:#fff;box-shadow:0 20px 65px #163a5630;overflow:hidden}.vjpe-ai__head{display:flex;align-items:center;position:relative;flex:none;padding:15px 40px 14px 9px;background:linear-gradient(125deg,#eaf6fc,#f6fbff 80%);border-bottom:1px solid #dceaf2;min-height:122px}.vjpe-ai__head-avatar{width:82px;height:98px;flex:none;margin-right:9px}.vjpe-ai__identity{min-width:0}.vjpe-ai__eyebrow{font-size:10px;letter-spacing:.12em;font-weight:750;color:#47738b;margin:0 0 3px}.vjpe-ai__identity h2{color:var(--vjpe-ink);font-size:22px;letter-spacing:-.6px;line-height:1.2;margin:0 0 5px;font-weight:750}.vjpe-ai__identity p:last-child{font-size:12px;margin:0;color:#476981}.vjpe-ai__close{position:absolute;right:12px;top:13px;width:32px;height:32px;border:0;border-radius:50%;background:#fff;color:#37566b;font-size:25px!important;line-height:1;padding:0}.vjpe-ai__close:hover{background:#dcebf4}.vjpe-ai__toolbar{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:8px 17px;border-bottom:1px solid #edf2f5;flex:none;font-size:11px;color:#587082}.vjpe-ai__toolbar button{border:0;background:transparent;color:#005b83;padding:4px 0;font-size:11px}.vjpe-ai__toolbar button:hover{text-decoration:underline}.vjpe-ai__messages{flex:1;min-height:85px;overflow:auto;overscroll-behavior:contain;padding:19px 17px;display:flex;flex-direction:column;gap:12px;scrollbar-width:thin;background:linear-gradient(#fff,#f8fbfd)}.vjpe-ai__message{max-width:91%;padding:11px 13px;border-radius:16px;font-size:13px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;flex:none}.vjpe-ai__message--assistant{align-self:flex-start;color:#28465b;background:#edf4f8;border-bottom-left-radius:4px}.vjpe-ai__message--user{align-self:flex-end;color:white;background:#005b83;border-bottom-right-radius:4px}.vjpe-ai__typing{align-self:flex-start;display:flex;gap:5px;padding:14px;background:#edf4f8;border-radius:15px}.vjpe-ai__typing i{width:6px;height:6px;background:#658ca5;border-radius:50%;animation:vjpe-typing 1s infinite}.vjpe-ai__typing i:nth-child(2){animation-delay:.15s}.vjpe-ai__typing i:nth-child(3){animation-delay:.3s}@keyframes vjpe-typing{0%,80%,100%{transform:translateY(0);opacity:.5}40%{transform:translateY(-4px);opacity:1}}.vjpe-ai__review{margin:0;color:#47766a;font-size:11px;padding-left:3px}.vjpe-ai__notice{padding:12px 14px;background:#fff4e4;border:1px solid #f0ddbc;border-radius:12px;color:#7a5125;font-size:12px}.vjpe-ai__notice p{margin:0}.vjpe-ai__notice button{background:transparent;border:0;border-bottom:1px solid currentColor;padding:2px 0;margin-top:7px;color:#664016;font-weight:650}
.vjpe-ai__quick{display:flex;gap:6px;overflow:auto;flex:none;padding:9px 15px 5px;scrollbar-width:thin}.vjpe-ai__quick button{flex:none;background:white;border:1px solid #d4e3eb;border-radius:18px;padding:6px 10px;font-size:11px;color:#426477;white-space:nowrap}.vjpe-ai__quick button:hover{border-color:#7dbad5;background:#f3fafe}.vjpe-ai__form{display:flex;align-items:flex-end;gap:8px;padding:9px 15px 5px;flex:none}.vjpe-ai__form textarea{display:block;flex:1;min-width:0;width:100%;min-height:44px;max-height:96px;resize:none;border:1px solid #d6e3eb;border-radius:14px;background:#f8fbfd;color:var(--vjpe-ink);padding:11px 12px;font-size:14px;line-height:21px;outline:none}.vjpe-ai__form textarea:focus{border-color:#3084ab;box-shadow:0 0 0 3px #3084ab15}.vjpe-ai__form textarea::placeholder{color:#718a9b}.vjpe-ai__form>button{flex:none;width:44px;height:44px;border:0;border-radius:14px;background:#005b83;color:#fff;display:grid;place-items:center;padding:10px}.vjpe-ai__form>button:hover{background:#06496a}.vjpe-ai__form svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.8;fill:none}.vjpe-ai__foot{display:flex;gap:8px;justify-content:space-between;flex-wrap:wrap;padding:5px 17px 2px;flex:none}.vjpe-ai__foot button,.vjpe-ai__foot a{border:0;background:transparent;color:#547185;text-decoration:none;padding:3px 0;font-size:10px}.vjpe-ai__foot button:hover,.vjpe-ai__foot a:hover{text-decoration:underline}.vjpe-ai__privacy{font-size:9px;line-height:1.45;color:#708595;margin:0;padding:6px 17px 12px;flex:none}.vjpe-ai__sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.up{right:auto!important;left:20px!important}
@media(max-width:650px){.vjpe-ai{right:9px;bottom:72px}.vjpe-ai__launcher{width:110px}.vjpe-ai__launcher-avatar{width:110px;height:132px}.vjpe-ai__launcher-label{font-size:12px;padding:6px 10px;gap:6px}.vjpe-ai.is-open .vjpe-ai__launcher{visibility:hidden}.vjpe-ai__panel{position:fixed;top:calc(var(--vjpe-viewtop,0px) + 8px);right:8px;left:8px;bottom:auto;width:auto;height:calc(var(--vjpe-viewheight,100dvh) - 16px);min-height:0;border-radius:20px}.vjpe-ai__head{min-height:103px;padding:8px 40px 8px 11px}.vjpe-ai__head-avatar{width:72px;height:86px}.vjpe-ai__identity h2{font-size:21px}.vjpe-ai__form textarea{font-size:16px}.vjpe-ai__messages{padding:14px}.vjpe-ai__message{font-size:14px}.vjpe-ai__privacy{padding-bottom:max(9px,env(safe-area-inset-bottom))}.up{left:12px!important}}
@media(max-height:560px){.vjpe-ai__head{min-height:75px;padding-top:4px;padding-bottom:4px}.vjpe-ai__head-avatar{width:57px;height:68px}.vjpe-ai__eyebrow{display:none}.vjpe-ai__identity h2{font-size:18px}.vjpe-ai__toolbar{padding-top:3px;padding-bottom:3px}.vjpe-ai__quick{padding-top:4px;padding-bottom:0}.vjpe-ai__privacy{padding-top:2px;padding-bottom:5px}.vjpe-ai__foot{padding-top:1px}.vjpe-ai__form{padding-top:6px}.vjpe-ai__launcher-avatar{width:95px;height:113px}.vjpe-ai__panel{max-height:calc(var(--vjpe-viewheight,100dvh) - 16px)}}
.vjpe-ai__panel{padding:0;margin:0}.vjpe-ai__messages{min-height:0}.vjpe-ai__launcher{width:160px}.vjpe-ai__launcher-avatar{width:160px;height:174px}
.vjpe-ai.is-compact .vjpe-ai__head{min-height:66px;padding-top:2px;padding-bottom:2px}.vjpe-ai.is-compact .vjpe-ai__head-avatar{width:59px;height:61px}.vjpe-ai.is-compact .vjpe-ai__eyebrow{display:none}.vjpe-ai.is-compact .vjpe-ai__identity h2{font-size:18px}.vjpe-ai.is-compact .vjpe-ai__toolbar{padding-top:2px;padding-bottom:2px}.vjpe-ai.is-compact .vjpe-ai__privacy{padding-top:2px;padding-bottom:5px}.vjpe-ai.is-compact .vjpe-ai__quick{padding-top:3px;padding-bottom:0}.vjpe-ai.is-compact .vjpe-ai__foot{padding-top:1px}
@media(max-width:650px){.vjpe-ai__launcher{width:118px}.vjpe-ai__launcher-avatar{width:118px;height:130px}}
@media(prefers-reduced-motion:reduce){.vjpe-ai *{animation:none!important;transition:none!important}}
