.eabc-root{--eabc-blue:#005ee9;--eabc-deep:#003b91;--eabc-ink:#152236;--eabc-line:#e0e7f2;--eabc-x-desktop:25px;--eabc-y-desktop:24px;--eabc-x-mobile:16px;--eabc-y-mobile:15px;--eabc-chat-width:385px;--eabc-avatar-size:44px;--eabc-avatar-radius:12px;position:relative;font-family:inherit;color:var(--eabc-ink);z-index:2147482000}
.eabc-root *{box-sizing:border-box}
.eabc-launch{position:fixed;right:var(--eabc-x-desktop);bottom:var(--eabc-y-desktop);z-index:2147482001;display:flex;gap:10px;align-items:center;justify-content:center;min-height:54px;padding:13px 18px;border:0;border-radius:60px;color:white!important;background:var(--eabc-blue)!important;box-shadow:0 9px 35px rgba(0,61,150,.24);cursor:pointer;font-family:inherit;font-size:14px;font-weight:700;text-decoration:none!important;transition:transform .2s,box-shadow .2s}
.eabc-launch:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(0,61,150,.3)}
.eabc-launch-icon{display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;border:1px solid rgba(255,255,255,.5);border-radius:50%;font-size:17px}
.eabc-window{position:fixed;right:var(--eabc-x-desktop);bottom:calc(var(--eabc-y-desktop) + 65px);width:min(var(--eabc-chat-width),calc(100vw - var(--eabc-x-desktop) - 10px));height:min(610px,calc(100dvh - var(--eabc-y-desktop) - 88px));z-index:2147482002;display:flex;flex-direction:column;overflow:hidden;border-radius:18px;background:#fff;box-shadow:0 15px 52px rgba(9,34,79,.24);border:1px solid #dbe4f1}
.eabc-window[hidden]{display:none!important}
.eabc-head{background:linear-gradient(130deg,var(--eabc-blue),var(--eabc-deep));color:#fff;display:flex;align-items:center;gap:11px;padding:19px 18px;min-height:80px}
.eabc-avatar{flex:0 0 var(--eabc-avatar-size);width:var(--eabc-avatar-size);height:var(--eabc-avatar-size);border-radius:var(--eabc-avatar-radius);overflow:hidden;background:rgba(255,255,255,.15);display:grid;place-items:center;font-size:25px;border:1px solid rgba(255,255,255,.22)}
.eabc-head-text{display:flex;flex:1;flex-direction:column;min-width:0;gap:3px}.eabc-head-text strong{color:white;font-size:16px;font-weight:750;line-height:1.2}.eabc-head-text small{color:rgba(255,255,255,.85);font-size:12px;line-height:1.35}
.eabc-close{border:0!important;border-radius:7px!important;background:transparent!important;color:#fff!important;font-size:27px!important;line-height:1!important;padding:4px 9px!important;cursor:pointer;box-shadow:none!important}
.eabc-chatlog{min-height:0;flex:1;overflow-y:auto;overflow-wrap:anywhere;background:#f8faff;padding:20px 15px;display:flex;flex-direction:column;gap:12px;overscroll-behavior:contain}
.eabc-bubble{display:block;max-width:91%;padding:12px 14px;border:1px solid #e7ebf4;border-radius:13px 13px 13px 4px;background:#fff;align-self:flex-start;line-height:1.55;font-size:13px;box-shadow:0 1px 4px rgba(0,32,92,.035)}
.eabc-bubble-body{white-space:pre-wrap;word-break:break-word}
.eabc-bubble--user{align-self:flex-end;border-radius:13px 13px 4px 13px;border-color:#005ee9;background:var(--eabc-blue);color:white}
.eabc-bubble--loading{color:#69758b;font-style:italic}
.eabc-sources{display:flex;flex-direction:column;gap:5px;border-top:1px solid #e5eaf2;padding-top:9px;margin-top:10px;font-size:12px}
.eabc-sources-heading{font-size:11px;color:#65758b;font-weight:700;margin-bottom:2px}
.eabc-sources a{color:#005ee9!important;text-decoration:none!important;line-height:1.4;font-size:12px}.eabc-sources a:hover{text-decoration:underline!important}.eabc-sources span{color:#4f637d;font-size:12px;line-height:1.4}
.eabc-actions{padding:8px 15px;border-top:1px solid #eef1f7;background:#fff}
.eabc-book{display:flex;justify-content:center;align-items:center;gap:7px;color:var(--eabc-blue)!important;background:#edf4ff!important;border:1px solid #d6e5fc!important;border-radius:10px!important;text-decoration:none!important;padding:10px;font-size:13px;font-weight:700;transition:background .2s}
.eabc-book:hover{background:#dfeeff!important}
.eabc-form{margin:0!important;border-top:1px solid #edf0f5;display:flex;align-items:center;gap:9px;padding:10px 12px 8px;background:#fff}
.eabc-form textarea{display:block!important;flex:1;min-width:0;max-height:120px;min-height:44px;resize:vertical;margin:0!important;padding:9px 10px!important;border:1px solid #d6deea!important;background:white!important;border-radius:10px!important;color:#14213d!important;font-family:inherit!important;font-size:13px!important;line-height:1.35!important;box-shadow:none!important}
.eabc-form textarea:focus{outline:2px solid #b0d0ff!important;outline-offset:1px}.eabc-form textarea::placeholder{color:#738198}
.eabc-send{border:0!important;background:var(--eabc-blue)!important;color:white!important;border-radius:10px!important;flex:0 0 40px;min-width:40px;height:42px;display:grid!important;place-items:center;cursor:pointer;padding:0!important;font-size:19px!important;box-shadow:none!important}
.eabc-send:disabled{opacity:.55;cursor:wait}
.eabc-legal{margin:0!important;padding:0 13px 11px!important;background:#fff;color:#6b7280!important;line-height:1.45!important;font-size:10.5px!important}
.eabc-legal a{color:#005ee9!important;text-decoration:underline!important;font-size:inherit!important}
.eabc-sr-only{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%)}
.eabc-root :focus-visible{outline:3px solid #ffbb4a;outline-offset:3px}
@media(max-width:550px){.eabc-launch{right:var(--eabc-x-mobile);bottom:calc(var(--eabc-y-mobile) + env(safe-area-inset-bottom));min-height:52px;padding:11px 13px}.eabc-launch-text{font-size:12px}.eabc-window{right:var(--eabc-x-mobile);bottom:calc(var(--eabc-y-mobile) + 65px + env(safe-area-inset-bottom));width:min(calc(100vw - 20px),calc(100vw - var(--eabc-x-mobile) - 10px));max-width:calc(100vw - 10px);height:min(620px,calc(100dvh - var(--eabc-y-mobile) - 96px - env(safe-area-inset-bottom)));border-radius:15px}}
.eabc-pos-bottom-left .eabc-launch,.eabc-pos-bottom-left .eabc-window{right:auto;left:var(--eabc-x-desktop)}
@media(max-width:550px){.eabc-pos-bottom-left .eabc-launch,.eabc-pos-bottom-left .eabc-window{right:auto;left:var(--eabc-x-mobile)}}
.eabc-avatar img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.eabc-avatar-fallback{font-weight:750;font-size:14px;letter-spacing:.05em;color:#fff}

@media(prefers-reduced-motion:reduce){.eabc-root *{transition:none!important;animation:none!important}}

/* Aviso breve de estadísticas y ejercicio del derecho de oposición. */
.eabc-analytics-notice { margin: 6px 14px 4px; padding: 9px 11px; border: 1px solid #dce8f7; border-radius: 9px; background: #f7faff; color: #324763; font-size: 11px; line-height: 1.45; }
.eabc-analytics-notice small { display: block; color: #52657d; font-size: 10px; }
.eabc-analytics-notice a { color: #0753ad!important; text-decoration: underline!important; font-size: inherit!important; }
.eabc-analytics-optout { display: block; border: 0!important; background: transparent!important; box-shadow: none!important; margin: 4px 0 0!important; padding: 0!important; font-size: 10px!important; color: #0753ad!important; text-align: left; text-decoration: underline; cursor: pointer; font-weight: 600; }
.eabc-analytics-optout[hidden] { display: none!important; }
.eabc-analytics-status { font-weight: 600; color: #0753ad; min-height: 0; }
.eabc-analytics-status:empty { display: none; }

/* Four configurable corners. Top positions open the panel beneath the launcher. */
.eabc-pos-top-right .eabc-launch,.eabc-pos-top-right .eabc-window{bottom:auto;top:var(--eabc-y-desktop)}
.eabc-pos-top-left .eabc-launch,.eabc-pos-top-left .eabc-window{right:auto;left:var(--eabc-x-desktop);bottom:auto;top:var(--eabc-y-desktop)}
.eabc-pos-top-right .eabc-window,.eabc-pos-top-left .eabc-window{top:calc(var(--eabc-y-desktop) + 65px)}
@media(max-width:550px){
.eabc-pos-top-right .eabc-launch,.eabc-pos-top-right .eabc-window{right:var(--eabc-x-mobile);top:calc(var(--eabc-y-mobile) + env(safe-area-inset-top))}
.eabc-pos-top-left .eabc-launch,.eabc-pos-top-left .eabc-window{left:var(--eabc-x-mobile);top:calc(var(--eabc-y-mobile) + env(safe-area-inset-top))}
.eabc-pos-top-right .eabc-window,.eabc-pos-top-left .eabc-window{top:calc(var(--eabc-y-mobile) + 65px + env(safe-area-inset-top))}
}
