.gb-chat{position:relative;z-index:140}
.gb-chat-launcher{position:fixed;inset-inline-end:22px;bottom:calc(22px + env(safe-area-inset-bottom));z-index:142;width:62px;height:62px;border:0;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#d3a849,#f0d184);color:#071828;box-shadow:0 18px 42px rgba(7,24,40,.28);transition:transform .2s,box-shadow .2s}
.gb-chat-launcher:hover{transform:translateY(-3px);box-shadow:0 22px 48px rgba(7,24,40,.34)}
.gb-chat-launcher svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.gb-chat-launcher .gb-chat-close-icon{display:none}
.gb-chat-launcher[aria-expanded="true"] .gb-chat-open-icon{display:none}
.gb-chat-launcher[aria-expanded="true"] .gb-chat-close-icon{display:block}
.gb-chat-launcher:after{content:"";position:absolute;top:2px;right:2px;width:12px;height:12px;border-radius:50%;background:#2caf74;border:2px solid #fff}
.gb-chat-panel{position:fixed;inset-inline-end:22px;bottom:calc(96px + env(safe-area-inset-bottom));z-index:141;width:min(400px,calc(100vw - 44px));max-height:min(650px,calc(100dvh - 125px));display:grid;grid-template-rows:auto minmax(150px,1fr) auto auto;background:#fff;color:#14202a;border:1px solid rgba(7,24,40,.12);border-radius:24px;overflow:hidden;box-shadow:0 28px 75px rgba(7,24,40,.3)}
.gb-chat-panel[hidden]{display:none}
.gb-chat-head{display:flex;align-items:center;gap:12px;padding:16px 17px;background:#071828;color:#fff}
.gb-chat-head img{width:44px;height:44px;object-fit:contain;padding:3px;background:#fff;border-radius:12px;flex:none}
.gb-chat-heading{min-width:0;flex:1;line-height:1.35}
.gb-chat-heading strong{display:block;font-size:.96rem}
.gb-chat-heading span{display:block;margin-top:3px;color:rgba(255,255,255,.64);font-size:.76rem}
.gb-chat-head-actions{display:flex;align-items:center;gap:4px}
.gb-chat-icon-btn{width:44px;height:44px;border:0;border-radius:11px;display:grid;place-items:center;background:transparent;color:#fff;transition:background .2s}
.gb-chat-icon-btn:hover{background:rgba(255,255,255,.12)}
.gb-chat-icon-btn:disabled{opacity:.45;cursor:wait}
.gb-chat-icon-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.gb-chat-log{min-height:190px;overflow-y:auto;overscroll-behavior:contain;padding:18px 16px;background:linear-gradient(180deg,#f7f8f6,#fff);scrollbar-width:thin;scrollbar-color:#c7d0d6 transparent}
.gb-chat-message{display:flex;margin:0 0 12px}
.gb-chat-message:last-child{margin-bottom:0}
.gb-chat-message.user{justify-content:flex-end}
.gb-chat-message.assistant{justify-content:flex-start}
.gb-chat-bubble{max-width:86%;padding:11px 13px;border-radius:16px;font-size:.88rem;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
.gb-chat-message.assistant .gb-chat-bubble{background:#fff;border:1px solid #dce3e8;border-start-start-radius:5px;box-shadow:0 5px 16px rgba(7,24,40,.05)}
.gb-chat-message.user .gb-chat-bubble{background:#0a2237;color:#fff;border-start-end-radius:5px}
.gb-chat-typing .gb-chat-bubble{display:flex;align-items:center;gap:5px;padding-block:15px}
.gb-chat-typing i{width:6px;height:6px;border-radius:50%;background:#84929c;animation:gb-chat-bounce 1.1s infinite ease-in-out}
.gb-chat-typing i:nth-child(2){animation-delay:.15s}.gb-chat-typing i:nth-child(3){animation-delay:.3s}
@keyframes gb-chat-bounce{0%,60%,100%{transform:translateY(0);opacity:.45}30%{transform:translateY(-4px);opacity:1}}
.gb-chat-topics{display:flex;gap:7px;overflow-x:auto;padding:10px 14px;border-top:1px solid #e2e7eb;background:#fff;scrollbar-width:none}
.gb-chat-topics::-webkit-scrollbar{display:none}
.gb-chat-topic{flex:none;min-height:38px;padding:7px 11px;border:1px solid #c9d3da;border-radius:99px;background:#fff;color:#263643;font-size:.76rem;font-weight:700;white-space:nowrap;transition:.2s}
.gb-chat-topic:hover{border-color:#9a721c;background:#fff9ec;color:#6b4c08}
.gb-chat-compose{padding:12px 14px 13px;border-top:1px solid #e2e7eb;background:#fff}
.gb-chat-form{display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:8px;align-items:end}
.gb-chat-input{width:100%;min-height:48px;max-height:116px;resize:none;border:1px solid #c9d3da;border-radius:13px;padding:11px 12px;background:#fff;color:#14202a;font-size:.88rem;line-height:1.55;outline:0}
.gb-chat-input:focus{border-color:#76540d;box-shadow:0 0 0 3px rgba(118,84,13,.17)}
.gb-chat-send{width:48px;height:48px;border:0;border-radius:13px;display:grid;place-items:center;background:#d3a849;color:#071828;transition:.2s}
.gb-chat-send:hover{background:#f0d184}.gb-chat-send:disabled{opacity:.48;cursor:wait}
.gb-chat-send svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.gb-chat-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:9px;color:#64717b;font-size:.72rem;line-height:1.5}
.gb-chat-meta span{min-width:0}
.gb-chat-whatsapp{flex:none;color:#176a45;font-weight:800;text-decoration:underline;text-underline-offset:3px}
.gb-chat button:focus-visible,.gb-chat a:focus-visible,.gb-chat textarea:focus-visible{outline:3px solid #76540d;outline-offset:3px}
@media(max-width:640px){.gb-chat-launcher{inset-inline-end:14px;bottom:calc(14px + env(safe-area-inset-bottom));width:56px;height:56px}.gb-chat-panel{inset-inline:12px;width:auto;bottom:calc(82px + env(safe-area-inset-bottom));max-height:calc(100dvh - 98px);border-radius:20px}.gb-chat-bubble{max-width:90%}.gb-chat-head{padding:13px 14px}.gb-chat-log{padding:15px 13px}.gb-chat-compose{padding-inline:12px}}
@media(max-width:380px){.gb-chat-panel{inset-inline:8px}.gb-chat-heading span{font-size:.7rem}.gb-chat-head img{width:40px;height:40px}.gb-chat-meta{align-items:flex-start;flex-direction:column;gap:4px}}
@media(max-height:540px){.gb-chat-panel{grid-template-rows:auto minmax(48px,1fr) auto}.gb-chat-log{min-height:0;padding-block:10px}.gb-chat-topics{display:none}.gb-chat-head{padding-block:9px}.gb-chat-head img{width:36px;height:36px}.gb-chat-compose{padding-block:8px}}
@media(max-height:360px){.gb-chat-heading span,.gb-chat-meta{display:none}}
@media(prefers-reduced-motion:reduce){.gb-chat-launcher,.gb-chat-topic,.gb-chat-send{transition:none}.gb-chat-typing i{animation:none}}
