/* 14.1.59 Suporte: botão flutuante circular, painel dentro da área visível e sem ultrapassar teclado */
body:has(#app:not(.glw-home-active)) #gl56Support{display:none!important}
#gl56Support[hidden],#gl56SupportPanel[hidden],#gl59VoicePreview[hidden],#gl59Prompts[hidden],#gl56SupportThreads[hidden]{display:none!important}
#gl56Support{--sup-bg:#101f2c;--sup-border:#335166;--sup-accent:#13bfa4;position:fixed;right:18px;bottom:18px;z-index:25010;color:#f3faf9;font:inherit}
#gl56Support *{box-sizing:border-box}
#gl56SupportToggle{position:relative;width:54px;height:54px;display:grid;place-items:center;border-radius:50%;border:1px solid #0c957f;background:linear-gradient(140deg,#10cbac,#07947e);box-shadow:0 7px 25px #0008;color:#fff;cursor:pointer}
#gl56SupportToggle svg{display:block}#gl56SupportToggle .gl59-dot{position:absolute;width:10px;height:10px;border:2px solid var(--sup-bg);border-radius:50%;right:3px;top:3px;background:#e6f86d}
#gl56Support :is(button,input,textarea,select):focus-visible{outline:2px solid #e8e78e;outline-offset:2px}
#gl56SupportPanel{position:fixed;right:18px;bottom:82px;display:flex;flex-direction:column;overflow:hidden;width:min(420px,calc(100vw - 28px));height:min(610px,calc(100dvh - 118px));max-height:calc(100dvh - 118px);background:var(--sup-bg);border:1px solid var(--sup-border);border-radius:20px;box-shadow:0 19px 65px #000b;isolation:isolate}
#gl56SupportPanel .gl59-head{display:flex;align-items:center;gap:11px;padding:13px 15px;background:#0d5d53;border-bottom:1px solid #46867f;flex:0 0 auto}
#gl56SupportPanel .gl59-headtext{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
#gl56SupportPanel .gl59-headtext strong{font-size:15px}#gl56SupportPanel .gl59-headtext small{font-size:11px;color:#d4efea;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#gl56SupportPanel .gl59-avatar{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:#19c2a2;color:#062721;font-weight:900;font-size:13px;flex:0 0 40px}
#gl56SupportPanel .gl59-online{color:#75ffb5}#gl56SupportClose{border:none;background:transparent;color:inherit;font-size:23px;cursor:pointer;padding:3px 6px}
#gl56SupportThreads{padding:8px 12px;background:#102e39;flex:0 0 auto}#gl56SupportThreads label{font-size:11px;color:#b7e4da}
#gl56SupportAccount{display:block;width:100%;padding:7px;border-radius:8px;background:#152d3d;color:#f4fcff;border:1px solid #477089}
#gl56SupportMessages{flex:1 1 0;min-height:80px;overflow:auto;display:flex;flex-direction:column;gap:10px;padding:14px;overscroll-behavior:contain;background:radial-gradient(#193243 1px,transparent 1px) 0 0/20px 20px,#101f2c}
#gl56SupportMessages .gl56-empty{padding:12px;border:1px solid #355867;border-radius:10px;background:#173143;color:#cfe7e4}
.gl56-bubble{align-self:flex-start;max-width:88%;min-width:65px;display:flex;flex-direction:column;gap:5px;padding:10px 12px;border-radius:14px 14px 14px 3px;background:#21384c;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.45}
.gl56-bubble.mine{align-self:flex-end;background:#0d6255;border-radius:14px 14px 3px 14px}
.gl56-bubble small{font-size:10px;opacity:.75;align-self:flex-end}
.gl56-bubble img{width:min(260px,100%);height:auto;max-height:210px;border-radius:8px;object-fit:contain}.gl56-bubble audio{width:min(270px,100%);max-width:100%;height:40px}
#gl56SupportPanel .gl59-prepared{flex:0 0 auto;padding:5px 12px;border-top:1px solid #2d4555}
#gl59TogglePrompts{background:#17384a;border:1px solid #315668;padding:7px 11px;border-radius:20px;color:#bce8dd;font-size:11px;cursor:pointer}
#gl59Prompts{display:flex;flex-wrap:wrap;gap:6px;padding:8px 0;max-height:120px;overflow:auto}
#gl59Prompts button{border:1px solid #356071;border-radius:15px;background:#193d43;color:#e6faf3;padding:5px 8px;font-size:11px;text-align:left;cursor:pointer}
#gl59VoicePreview{flex:0 0 auto;display:flex;flex-direction:column;gap:7px;padding:9px 13px;background:#0f303d;border-top:1px solid #3c5965}
#gl59VoicePreview strong{font-size:12px}#gl59VoicePreview audio{width:100%;height:40px}#gl59VoicePreview>div{display:flex;justify-content:flex-end;gap:8px}
#gl59VoicePreview button{border-radius:10px;background:#123e4a;color:white;border:1px solid #345e69;padding:7px 12px;cursor:pointer}#gl59SendAudio{background:#10bc9d!important;color:#052622!important;font-weight:700}
#gl56SupportForm{display:flex;gap:7px;align-items:flex-end;flex:0 0 auto;padding:9px 11px 6px;background:#132532;border-top:1px solid #334e5f;min-height:62px}
#gl56SupportForm .gl59-attachment{width:34px;height:39px;flex:0 0 34px;display:grid;place-items:center;font-size:24px;border-radius:8px;cursor:pointer;color:#d3e7ed}
#gl56SupportText{flex:1;min-width:0;min-height:44px;max-height:105px;resize:vertical;font:inherit;font-size:13px;line-height:1.4;padding:11px;border-radius:12px;border:1px solid #405d6c;background:#1b303f;color:#fff}
#gl56SupportForm button{border:0;min-width:40px;height:44px;cursor:pointer;border-radius:50%;font-size:18px}
#gl59Mic{background:#274757;color:#eff;flex:0 0 40px}#gl59Mic.gl59-recording{background:#c53348;color:white;animation:gl59pulse 1s ease-in-out infinite}
#gl59Send{background:#13c6a3;color:#003129;font-weight:800;flex:0 0 40px}
#gl56SupportStatus{display:block;flex:0 0 auto;padding:5px 13px 8px;min-height:24px;font-size:10px;color:#afccd0;background:#132532;overflow-wrap:anywhere}
#gl56Support .sr-only{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
@keyframes gl59pulse{50%{opacity:.6}}
@media(max-width:650px){#gl56Support{right:12px;bottom:max(12px,env(safe-area-inset-bottom))}#gl56SupportPanel{right:0;left:0;top:auto;bottom:0;width:100vw;max-width:100vw;height:min(100dvh,740px);max-height:100dvh;border-radius:18px 18px 0 0;border-bottom:0}#gl56SupportPanel .gl59-head{padding-top:max(13px,env(safe-area-inset-top))}#gl56SupportText{font-size:16px}#gl56SupportForm{padding-bottom:max(9px,env(safe-area-inset-bottom))}}
html.gl20-keyboard-open #gl56Support:not(:has(#gl56SupportPanel:not([hidden]))){display:none!important}
