/* GUIAPRONTA_HUMAN_SUPPORT_V1 */
.gp-human-tabs{display:flex;gap:8px;padding:9px 13px;background:#edf4ef;border-bottom:1px solid #d3e1d8}
.gp-human-tabs button{flex:1;min-width:0;min-height:38px;border:1px solid #bfd4c5;border-radius:11px;background:#fff;color:#183c32;font-size:13px;font-weight:700}
.gp-human-tabs button[aria-current="page"]{background:#164c40;color:white;border-color:#164c40;box-shadow:0 3px 10px #184c4033}
.gp-human-area{display:flex;flex-direction:column;min-height:0;flex:1;background:#f6faf6}
.gp-human-area[hidden]{display:none!important}
.gp-human-company-label{font-size:12px;font-weight:750;padding:9px 14px 0}
.gp-human-area select{margin:3px 14px 9px;min-height:40px;width:calc(100% - 28px);border:1px solid #c7d9cb;border-radius:10px;background:white;color:#194235;padding:8px;font:inherit}
.gp-human-messages{padding:12px;overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1;display:flex;flex-direction:column;gap:11px}
.gp-human-message{max-width:90%;width:fit-content;border:1px solid #d8e6dc;border-radius:17px;padding:10px 13px;background:white;box-shadow:0 2px 8px #1b41280b;color:#173d34;overflow-wrap:anywhere}
.gp-human-client{align-self:flex-end;background:#dff0e6;border-color:#b7dac5;border-bottom-right-radius:6px}
.gp-human-team{align-self:flex-start;border-bottom-left-radius:6px}
.gp-human-message strong{display:block;font-size:12px;color:#19624c;margin-bottom:4px}
.gp-human-message p{white-space:pre-wrap;font-size:14px;margin:0}
.gp-human-message img{max-width:100%;max-height:250px;object-fit:contain;border-radius:9px;display:block;margin-top:7px}
.gp-human-message time{display:block;font-size:10px;opacity:.65;text-align:right;margin-top:6px}
.gp-human-status{font-size:12px;padding:0 14px;margin:0 0 4px;min-height:16px;color:#476a5a}.gp-human-error{color:#ae3535}
.gp-human-form{border-top:1px solid #d9e8de;background:white;padding:10px 12px}
.gp-human-form textarea{resize:vertical;min-height:60px;max-height:150px;width:100%;border-radius:12px;border:1px solid #b8cdbf;padding:10px;font:inherit;font-size:14px;color:#163b30}
.gp-human-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:7px}
.gp-human-upload{position:relative;display:inline-flex;align-items:center;justify-content:center;border:1px solid #bcd2c0;border-radius:10px;padding:8px 11px;font-size:12px;font-weight:650;color:#225945;cursor:pointer;min-height:40px}
.gp-human-upload input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}
.gp-human-actions button{border:0;border-radius:10px;background:#124638;color:white;padding:10px 12px;font-weight:700;min-height:40px}
.gp-human-form small{display:block;margin-top:6px;color:#61786c;font-size:11px}
.gp-human-area :focus-visible,.gp-human-tabs :focus-visible{outline:3px solid #a4b832;outline-offset:2px}


/* GUIAPRONTA_HUMAN_SUPPORT_V2 — janela sólida, cabeçalho/rodapé fixos, mensagens roláveis */
.gp-help.gp-human-fullview{
  position:fixed!important;left:var(--gp-hs-left,0px)!important;
  top:var(--gp-hs-top,0px)!important;right:auto!important;bottom:auto!important;
  width:var(--gp-hs-width,100vw)!important;max-width:none!important;
  height:var(--gp-hs-height,100dvh)!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  padding:clamp(7px,1.6vh,16px)!important;box-sizing:border-box!important;
  z-index:15110!important;overflow:hidden!important;pointer-events:none;
}
.gp-help.gp-human-fullview .gp-help-launch{display:none!important}
.gp-help.gp-human-fullview #gp-help-panel:not([hidden]){
  pointer-events:auto;width:min(620px,100%)!important;max-width:100%!important;
  height:100%!important;max-height:100%!important;min-height:0!important;
  margin:0!important;display:flex!important;flex-direction:column!important;
  overflow:hidden!important;border-radius:20px;
  box-shadow:0 20px 60px rgba(6,48,37,.26);
}
.gp-help.gp-human-fullview .gp-help-head,
.gp-help.gp-human-fullview .gp-human-tabs,
.gp-help.gp-human-fullview .gp-help-form,
.gp-help.gp-human-fullview .gp-help-note,
.gp-help.gp-human-fullview .gp-human-form,
.gp-help.gp-human-fullview .gp-human-company-label,
.gp-help.gp-human-fullview .gp-human-area select{flex-shrink:0}
.gp-help.gp-human-fullview .gp-help-feed,
.gp-help.gp-human-fullview .gp-human-area,
.gp-help.gp-human-fullview .gp-human-messages{min-height:0!important}
.gp-help.gp-human-fullview .gp-help-feed,
.gp-help.gp-human-fullview .gp-human-messages{flex:1 1 0!important;overflow-y:auto!important;overscroll-behavior:contain;
  scrollbar-gutter:stable;scroll-behavior:smooth}
.gp-help.gp-human-fullview .gp-human-tabs{padding:10px 14px;gap:10px}
.gp-help.gp-human-fullview .gp-human-tabs button{min-height:42px;border-radius:13px}
.gp-help.gp-human-fullview .gp-human-area{overflow:hidden!important;flex:1 1 0!important}
.gp-help.gp-human-fullview .gp-human-company-label{padding-top:9px}
.gp-help.gp-human-fullview .gp-human-area select{margin-bottom:7px}
.gp-help.gp-human-fullview .gp-human-form{padding:10px 13px calc(10px + env(safe-area-inset-bottom,0px));
  position:relative;box-sizing:border-box;width:100%;background:#fff;box-shadow:0 -8px 22px rgba(13,64,47,.055)}
.gp-help.gp-human-fullview .gp-human-form textarea{display:block;box-sizing:border-box;min-height:58px;
  max-height:95px;height:60px;resize:none;outline-offset:0}
.gp-help.gp-human-fullview .gp-human-form textarea:focus{border-color:#17664e;box-shadow:0 0 0 3px #1c74501e;outline:0}
.gp-help.gp-human-fullview .gp-human-actions{min-width:0;flex-wrap:wrap}
.gp-help.gp-human-fullview .gp-human-actions button{white-space:nowrap}
.gp-human-selected[hidden],.gp-human-message img[hidden]{display:none!important}
.gp-human-selected{display:flex;gap:9px;align-items:center;min-width:0;padding:7px 9px;margin-bottom:8px;
  border:1px solid #afdbc1;border-radius:12px;background:#effaf3;color:#184c39}
.gp-human-selected img{width:42px;height:42px;flex:0 0 42px;object-fit:cover;border-radius:8px}
.gp-human-selected-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700;font-size:12px;flex:1}
.gp-human-selected .gp-human-remove{border:0!important;background:#d9f0e2!important;color:#134b35!important;
  width:32px;height:32px;padding:0;flex:0 0 32px;border-radius:50%;font-size:23px;line-height:1}
.gp-human-image-holder{display:flex;align-items:center;min-height:45px;margin-top:6px;
  color:#5d7669;font-size:12px;background:#edf4ee;border-radius:9px;padding:9px}
.gp-help.gp-human-fullview .gp-human-message{max-width:88%;min-width:0}
.gp-human-keyboard .gp-human-form small{display:none!important}
.gp-human-keyboard .gp-help-head{padding:9px 14px!important}
.gp-human-keyboard .gp-human-tabs{padding:5px 12px!important}
.gp-human-keyboard .gp-human-tabs button{min-height:37px!important}
.gp-human-keyboard .gp-human-form{padding:7px 10px 8px!important}
.gp-human-keyboard .gp-human-form textarea{height:48px!important;min-height:48px!important}
.gp-human-keyboard .gp-human-area select{min-height:34px!important;margin-top:1px!important;margin-bottom:3px!important}
.gp-human-keyboard .gp-human-company-label{padding-top:4px!important}
@media(max-width:520px){
 .gp-help.gp-human-fullview{padding:5px!important}
 .gp-help.gp-human-fullview #gp-help-panel:not([hidden]){border-radius:16px!important}
 .gp-help.gp-human-fullview .gp-human-messages{padding:12px}
 .gp-help.gp-human-fullview .gp-human-form{padding-left:12px;padding-right:12px}
}

/* V3: imagem fiel ao anexo com fallback seguro e sem deslocar a conversa. */
.gp-human-image-canvas{display:block;max-width:100%;width:auto;height:auto;max-height:350px;object-fit:contain;margin-top:8px;border-radius:10px;background:#e8efe9}
.gp-human-retry{appearance:none;border:1px solid #a6bdb0;border-radius:7px;color:#195442;background:#fff;font:inherit;font-weight:700;padding:5px 8px;cursor:pointer;margin-left:4px}
