.aa-launch{position:fixed;right:18px;bottom:18px;z-index:1000;display:flex;align-items:center;gap:9px;padding:11px 16px;border:0;border-radius:999px;background:#163f53;color:#fff;font:700 15px/1.2 Arial,sans-serif;box-shadow:0 7px 24px #09253545;cursor:pointer}
.aa-launch:hover,.aa-launch:focus-visible{background:#0f536b;outline:2px solid #f5a34c;outline-offset:2px}
.aa-launch img{width:22px;height:22px;object-fit:contain}
.aa-panel{position:fixed;right:18px;bottom:76px;z-index:1001;width:min(370px,calc(100vw - 40px));max-height:min(550px,calc(100dvh - 96px));display:flex;flex-direction:column;overflow:hidden;background:#fff;color:#183747;border:1px solid #b5c8d0;border-radius:16px;box-shadow:0 15px 45px #08212c55;font:14px/1.45 Arial,sans-serif}
.aa-panel[hidden]{display:none}
.aa-top{display:flex;align-items:center;gap:10px;padding:12px 14px;background:#163f53;color:#fff}
.aa-top img{width:30px;height:30px;object-fit:contain;background:#fff;border-radius:6px;padding:2px}
.aa-top strong{flex:1;font-size:16px}
.aa-close{border:0;background:transparent;color:#fff;font:26px/1 Arial,sans-serif;cursor:pointer;padding:0 4px}
.aa-log{min-height:90px;flex:1;overflow:auto;padding:14px;background:#f5f8f9}
.aa-bubble{padding:9px 11px;margin:0 0 10px;border-radius:10px;background:#e4edf0;white-space:pre-wrap;overflow-wrap:anywhere}
.aa-bubble-user{margin-left:15%;background:#d8eaf4}
.aa-bubble a,.aa-privacy a{color:#075a76;text-decoration:underline}
.aa-privacy{padding:8px 14px 0;font-size:12px;color:#334d5b}
.aa-consent{display:flex;gap:7px;align-items:flex-start;padding:8px 14px;font-size:12px;line-height:1.35}
.aa-consent input{margin:2px 0 0;flex:none}
.aa-form{display:flex;gap:7px;padding:9px 14px 14px}
.aa-form input{flex:1;min-width:0;border:1px solid #93aab4;border-radius:8px;padding:9px;font:inherit}
.aa-form button{border:0;border-radius:8px;background:#dc7616;color:#fff;font:700 13px Arial,sans-serif;padding:9px 11px;cursor:pointer}
.aa-form button:disabled{opacity:.55;cursor:wait}
.aa-status{min-height:18px;padding:0 14px 8px;font-size:12px;color:#3f5b6b}
.aa-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:480px){.aa-launch{right:12px;bottom:12px;padding:10px 13px}.aa-panel{right:12px;bottom:65px;max-height:calc(100dvh - 82px)}}

/* WEB004: visibilidad naranja y más espacio útil; texto de consentimiento WEB002 intacto */
.aa-launch{background:#a4460b;color:#fff;max-width:min(360px,calc(100vw - 24px));font-size:14px;line-height:1.2;text-align:left;box-shadow:0 9px 26px #52270b66}
.aa-launch:hover,.aa-launch:focus-visible{background:#803506;outline:3px solid #173f62;outline-offset:3px}
.aa-launch img{display:none}
.aa-chat-icon{font-size:22px;line-height:1;flex:none}
.aa-launch .aa-new{margin-left:0;flex:none}
.aa-launch[aria-expanded="true"]{visibility:hidden}
.aa-panel{width:min(440px,calc(100vw - 24px));max-height:min(720px,calc(100dvh - 96px))}
.aa-log{min-height:170px}
.aa-privacy{margin:0;padding:9px 14px 0;font-size:11.5px;line-height:1.35}
.aa-consent{padding:8px 14px;font-size:11.5px}
.aa-aid-link{color:#fff;text-decoration:underline;font-weight:bold;white-space:nowrap}
.aa-new{display:inline-block;background:#fff3cf;color:#733704;padding:3px 6px;border-radius:4px;font:800 10px/1 Arial,sans-serif;text-transform:uppercase}
@media(max-width:480px){.aa-launch{right:10px;bottom:10px;padding:10px 12px;max-width:min(320px,calc(100vw - 20px));font-size:12.5px}.aa-panel{right:10px;bottom:68px;max-height:calc(100dvh - 82px)}}
@media(max-height:650px){.aa-panel{max-height:calc(100dvh - 76px)}.aa-log{min-height:76px}}
