.qm-launcher{position:fixed;left:0;top:38%;z-index:850;display:grid;place-items:center;width:50px;height:54px;padding:12px;border:1px solid #b8d8e4;border-left:0;border-radius:0 15px 15px 0;background:#007ca8;color:#fff;box-shadow:0 5px 20px #12334226;cursor:pointer}.qm-launcher svg{width:25px;height:25px}.qm-launcher:hover{background:#005e83}.qm-overlay[hidden]{display:none!important}.qm-overlay{position:fixed;inset:0;z-index:9000;background:#0b2d4080;display:flex;align-items:stretch}.qm-drawer{box-sizing:border-box;background:#fff;color:#103344;width:min(440px,100%);height:100dvh;overflow:auto;box-shadow:10px 0 40px #001b3433;font-family:inherit}.qm-head{position:sticky;top:0;z-index:2;background:#fff;display:flex;justify-content:space-between;align-items:center;padding:25px 24px 20px;border-bottom:1px solid #dce9ef}.qm-head p{font-size:10px;font-weight:800;letter-spacing:1.4px;color:#007ba7;margin:0 0 7px}.qm-head h2{margin:0;font-size:23px;line-height:1.2}.qm-head>button{border:1px solid #d5e4eb;background:#fff;border-radius:9px;width:38px;height:38px;font-size:25px;color:#123342;cursor:pointer}.qm-body{padding:20px 24px 30px}.qm-intro{margin:0 0 20px;color:#607b8f;font-size:13px;line-height:1.6}.qm-body label,.qm-settings-form label{display:block;font-size:12px;font-weight:700;margin:0 0 15px}.qm-body input,.qm-body textarea,.qm-settings-form input,.qm-settings-form textarea{box-sizing:border-box;display:block;width:100%;border:1px solid #c5dce6;border-radius:9px;background:#fff;color:#123342;padding:11px 12px;font:inherit;font-weight:400;font-size:14px;margin-top:7px;line-height:1.5}.qm-body textarea,.qm-settings-form textarea{resize:vertical}.qm-body button:focus-visible,.qm-launcher:focus-visible,.qm-settings-form button:focus-visible,.qm-body input:focus-visible,.qm-body textarea:focus-visible{outline:3px solid #22a8d7;outline-offset:2px}.qm-course-list{padding:5px;margin:-10px 0 15px;list-style:none;border:1px solid #c5dce6;border-radius:9px;max-height:220px;overflow:auto;background:#fff}.qm-course-list button{width:100%;text-align:left;padding:10px;border:0;background:#fff;color:#123342;cursor:pointer;font:inherit;font-size:13px;border-radius:5px}.qm-course-list button:hover,.qm-course-list button:focus{background:#e6f5fb}.qm-no-results{padding:10px;font-size:13px;color:#607b8f}.qm-message-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:24px}.qm-message-heading h3{font-size:15px;margin:0}.qm-message-heading button{font:inherit;font-size:11px;background:none;border:0;color:#007ba7;text-decoration:underline;cursor:pointer;padding:8px 0}.qm-slots{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:12px 0 20px}.qm-slots button{display:flex;align-items:center;gap:8px;text-align:left;padding:12px 10px;border:1px solid #d0e4e6;background:#f6fbfa;border-radius:10px;font:inherit;font-size:12px;font-weight:700;color:#176249;cursor:pointer;overflow-wrap:anywhere;min-height:54px}.qm-slots button span{display:grid;place-items:center;background:#e0f2eb;border-radius:7px;min-width:23px;height:23px;font-size:11px}.qm-slots button[aria-pressed=true]{border-color:#00876b;background:#e5f5ef;box-shadow:0 0 0 1px #00876b}.qm-preview-label textarea{background:#f5f9fb;font-size:13px;min-height:140px}.qm-feedback{font-size:12px;line-height:1.6;color:#9c3a1e;min-height:18px}.qm-send,.qm-settings-actions button[type=submit]{display:block;width:100%;border:0;border-radius:10px;background:#008363;color:white;padding:13px;font:inherit;font-size:14px;font-weight:800;cursor:pointer}.qm-send:disabled{opacity:.5;cursor:wait}.qm-footnote{font-size:11px;color:#6b8291;line-height:1.6;margin-bottom:0}.qm-settings-form{padding:20px 24px}.qm-settings-form>p{font-size:13px;color:#607b8f;line-height:1.7}.qm-settings-form code{display:inline-block;padding:3px 6px;margin:2px;border:1px solid #d7e7ef;border-radius:5px;background:#f5fafc;color:#006a91;font-size:11px}.qm-settings-form fieldset{border:1px solid #dce9ef;border-radius:12px;padding:18px;margin:18px 0}.qm-settings-form legend{font-size:12px;font-weight:800;color:#007ba7;padding:0 7px}.qm-settings-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.qm-settings-actions button[type=submit]{width:auto;padding:12px 18px}.qm-settings-actions button[type=button]{font:inherit;font-size:12px;border:1px solid #c5dce6;border-radius:9px;background:#fff;color:#375e72;padding:12px;cursor:pointer}@media(max-width:700px){.qm-launcher{top:auto;bottom:calc(82px + env(safe-area-inset-bottom));width:44px;height:48px}.qm-body{padding:18px}.qm-head{padding:20px 18px}.qm-settings-form{padding:16px}.qm-settings-form fieldset{padding:12px}}@media(prefers-reduced-motion:reduce){.qm-overlay *{scroll-behavior:auto!important}}
.qm-insert-tokens{display:flex;flex-wrap:wrap;gap:6px}.qm-insert-tokens button{font:inherit;font-size:10px;padding:5px 7px;border:1px solid #c5dce6;border-radius:5px;background:#f5fafc;color:#006a91;cursor:pointer}.qm-insert-tokens button:hover{background:#e6f5fb}

.qm-remove{margin-top:14px;font:inherit;font-size:12px;padding:7px 10px;border:1px solid #e4c7c0;border-radius:7px;background:#fff;color:#9a4935;cursor:pointer}.qm-remove:disabled{opacity:.4;cursor:default}.qm-model-count{font-size:12px;color:#607b8f}

/* Painel compacto com ação permanentemente fora da área de scroll. */
.qm-drawer{display:flex;flex-direction:column;overflow:hidden;min-height:0}
.qm-head{position:static;flex:0 0 auto;padding:18px 22px 16px}
.qm-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:16px 22px}
.qm-intro{margin-bottom:16px;font-size:12px}
.qm-contact-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
.qm-contact-row label{min-width:0;font-size:11px}
.qm-contact-row input{font-size:13px;padding:10px}
.qm-message-heading{margin-top:15px}
.qm-slots{gap:6px;margin:9px 0 15px}
.qm-slots button{padding:7px 9px;gap:6px;min-height:36px;font-size:11px;border-radius:8px}
.qm-slots button span{min-width:18px;height:18px;font-size:10px;border-radius:5px}
.qm-preview-label textarea{min-height:105px;font-size:12px}
.qm-footer{flex:0 0 auto;background:#fff;border-top:1px solid #dce9ef;padding:12px 22px max(12px,env(safe-area-inset-bottom));box-shadow:0 -5px 18px #12334208}
.qm-footer .qm-feedback{font-size:11px;line-height:1.4;margin:0 0 8px;min-height:0}
.qm-footer .qm-feedback:empty{display:none}
.qm-footer .qm-footnote{margin:6px 0 0;font-size:10px;text-align:center}
.qm-footer .qm-send{padding:12px}
@media(max-width:700px){.qm-head{padding:16px 18px}.qm-body{padding:15px 18px}.qm-footer{padding-left:18px;padding-right:18px}}

/* v1.3.73: footer stays outside the sole scrolling content track. */
.qm-overlay { top: var(--qm-viewport-top, 0px); bottom: auto; height: var(--qm-viewport-height, 100dvh); }
#qm-drawer { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; max-height: 100%; min-height: 0; overflow: hidden; }
#qm-drawer > .qm-head { position: static; min-height: 0; }
#qm-drawer > .qm-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
#qm-drawer > .qm-footer { min-height: 0; background: #fff; }
.qm-footer .qm-feedback { max-height: min(84px, 18dvh); overflow-y: auto; }
