:root{--insuri-blue:#0755a5;--insuri-deep:#073b70;--insuri-ink:#14263d;--insuri-muted:#718096;--insuri-line:#e7edf4;--insuri-bg:#f5f8fc;--insuri-green:#13834c}
.insuri-root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--insuri-ink);z-index:999999;box-sizing:border-box}.insuri-root *{box-sizing:border-box}.insuri-floating{position:fixed;left:50%;bottom:max(22px,env(safe-area-inset-bottom));transform:translateX(-50%);width:min(410px,calc(100vw - 24px));z-index:9999999;pointer-events:none}.insuri-floating .insuri-panel,.insuri-floating .insuri-launcher{pointer-events:auto}.insuri-launcher{position:relative;display:grid;place-items:center;width:66px;height:66px;margin:0 auto;border:4px solid #fff;border-radius:50%;background:linear-gradient(145deg,#0871cf,#06478d);color:#fff;box-shadow:0 8px 28px #062e5a42,0 0 0 1px #0755a51c;cursor:pointer;transition:transform .2s,box-shadow .2s}.insuri-launcher:hover{transform:translateY(-3px);box-shadow:0 12px 32px #062e5a50}.insuri-launcher svg{width:31px;height:31px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.insuri-launcher-pulse{position:absolute;right:1px;top:1px;width:12px;height:12px;border:2px solid #fff;border-radius:50%;background:#24c879}.insuri-panel{display:flex;flex-direction:column;height:min(660px,calc(100dvh - 112px));min-height:390px;background:#fff;border:1px solid #e3eaf2;border-radius:24px;overflow:hidden;box-shadow:0 22px 70px #102b4933;animation:insuri-rise .22s ease-out}.insuri-floating .insuri-panel{margin-bottom:14px}.insuri-panel[hidden]{display:none}@keyframes insuri-rise{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
.insuri-header{display:flex;align-items:center;gap:12px;padding:17px 18px;background:linear-gradient(115deg,#064784,#0870c5);color:#fff;flex-shrink:0}.insuri-avatar{width:43px;height:43px;display:grid;place-items:center;border-radius:15px;background:#ffffff20;border:1px solid #ffffff3a}.insuri-avatar svg{width:27px;height:27px;fill:none;stroke:#fff;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.insuri-heading{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}.insuri-heading strong{font-size:17px;line-height:1.1;font-weight:750;letter-spacing:.1px}.insuri-heading small{font-size:11px;opacity:.9;display:flex;align-items:center;gap:6px}.insuri-heading small i{width:7px;height:7px;border-radius:50%;background:#45e39a;box-shadow:0 0 0 3px #45e39a2b}.insuri-close{width:34px;height:34px;border:0;border-radius:50%;background:#ffffff1c;color:#fff;font-size:25px;line-height:1;cursor:pointer}.insuri-messages{flex:1;min-height:0;overflow-y:auto;padding:22px 17px 14px;display:flex;flex-direction:column;gap:12px;background:radial-gradient(ellipse at top left,#eef6ff 0,transparent 50%),#f7f9fc;overscroll-behavior:contain}.insuri-welcome-label{font-size:9px;letter-spacing:1.35px;font-weight:800;color:#8292a6;margin:2px 0 0 2px}.insuri-message{max-width:88%;padding:12px 15px;border-radius:17px;font-size:14px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;box-shadow:0 2px 7px #18324b0b}.insuri-bot{align-self:flex-start;background:#fff;border:1px solid #e8edf3;border-bottom-left-radius:5px;color:#27384c}.insuri-user{align-self:flex-end;background:linear-gradient(135deg,#0869bd,#0755a5);color:#fff;border-bottom-right-radius:5px}.insuri-pending{opacity:.72}.insuri-error{border-color:#f1c4c4;color:#9b2525;background:#fff7f7}.insuri-quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:12px 14px 8px;background:#fff}.insuri-quick-actions a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:39px;border-radius:12px;text-decoration:none;font-size:12px;font-weight:750;transition:transform .15s,filter .15s}.insuri-quick-actions a:hover{transform:translateY(-1px);filter:brightness(.97)}.insuri-quick-actions svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.insuri-quick-wa{background:#e9f8ef;color:#087b43;border:1px solid #cceedd}.insuri-quick-call{background:#edf5ff;color:#0755a5;border:1px solid #d7e8fb}.insuri-suggestions{display:flex;gap:7px;flex-wrap:wrap;padding:7px 14px 11px;background:#fff}.insuri-suggestions button{border:1px solid #e0e8f1;background:#fff;border-radius:999px;padding:7px 11px;color:#315675;font-size:11px;font-weight:650;cursor:pointer;transition:background .15s,border .15s}.insuri-suggestions button:hover{background:#f0f7ff;border-color:#b8d5f2}.insuri-form{display:flex;align-items:flex-end;gap:9px;padding:10px 14px 11px;background:#fff;border-top:1px solid #edf1f5}.insuri-input{resize:none;flex:1;min-width:0;max-height:104px;min-height:46px;border:1px solid #e0e7ef;border-radius:15px;padding:12px 14px;background:#f8fafc;color:#172b43;font:inherit;font-size:14px;line-height:1.4;outline:none;box-shadow:inset 0 1px 2px #17304a08}.insuri-input::placeholder{color:#98a5b5}.insuri-input:focus{border-color:#6aa8e3;background:#fff;box-shadow:0 0 0 3px #0755a512}.insuri-send{flex:0 0 46px;width:46px;height:46px;display:grid;place-items:center;border:0;border-radius:50%;background:linear-gradient(145deg,#0872ce,#0755a5);color:#fff;box-shadow:0 4px 12px #0755a536;cursor:pointer;transition:transform .15s,opacity .15s}.insuri-send:hover{transform:scale(1.04)}.insuri-send svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.insuri-send:disabled{opacity:.45;cursor:wait}.insuri-disclaimer{margin:0;padding:0 15px 10px;background:#fff;color:#94a0ae;font-size:9px;line-height:1.4;text-align:center}.insuri-embedded{max-width:680px;width:100%;margin:0 auto}.insuri-embedded .insuri-panel{height:640px;max-height:78vh}.insuri-embedded .insuri-launcher{display:none}
@media(max-width:600px){.insuri-floating{left:50%;bottom:max(10px,env(safe-area-inset-bottom));width:calc(100vw - 18px)}.insuri-floating .insuri-panel{height:calc(100dvh - 104px);max-height:740px;min-height:360px;border-radius:22px;margin-bottom:10px}.insuri-launcher{width:62px;height:62px}.insuri-header{padding:14px 15px}.insuri-messages{padding:18px 13px 12px}.insuri-message{font-size:13.5px;max-width:92%}.insuri-quick-actions{padding:10px 11px 7px}.insuri-suggestions{padding:6px 11px 9px;gap:6px}.insuri-suggestions button{padding:7px 9px;font-size:10.5px}.insuri-form{padding:9px 11px}.insuri-disclaimer{font-size:8.5px;padding-bottom:8px}.insuri-embedded .insuri-panel{height:72dvh;max-height:700px;min-height:430px}}
@media(prefers-reduced-motion:reduce){.insuri-panel{animation:none}.insuri-launcher,.insuri-send,.insuri-quick-actions a{transition:none}}


/* v2.0.3 alignment hardening: isolate widget from theme and normalize controls */
.insuri-root,.insuri-root *{box-sizing:border-box!important}
.insuri-root{width:100%;text-align:left;isolation:isolate}
.insuri-floating{position:fixed!important;left:50%!important;right:auto!important;bottom:calc(14px + env(safe-area-inset-bottom,0px))!important;transform:translateX(-50%)!important;margin:0!important;padding:0!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-end!important;gap:12px!important;width:min(420px,calc(100vw - 24px))!important}
.insuri-floating .insuri-panel{width:100%!important;max-width:100%!important;margin:0!important;align-self:stretch!important}
.insuri-launcher{display:flex!important;align-items:center!important;justify-content:center!important;position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;float:none!important;padding:0!important;line-height:1!important;text-align:center!important;flex:0 0 66px!important}
.insuri-root svg{display:block!important;flex:none!important;max-width:none!important;margin:0!important;vertical-align:middle!important}
.insuri-launcher svg{width:31px!important;height:31px!important;position:static!important}
.insuri-header{width:100%!important;min-height:76px!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;text-align:left!important}
.insuri-avatar{flex:0 0 43px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;margin:0!important}
.insuri-avatar svg{width:27px!important;height:27px!important}
.insuri-heading{flex:1 1 auto!important;min-width:0!important;text-align:left!important;margin:0!important;padding:0!important}
.insuri-close{flex:0 0 36px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;margin:0!important;line-height:1!important}
.insuri-messages{width:100%!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;text-align:left!important}
.insuri-welcome-label{align-self:flex-start!important}
.insuri-message{display:block!important;float:none!important;position:relative!important;margin:0!important;text-align:left!important;max-width:88%!important}
.insuri-bot{align-self:flex-start!important;margin-right:auto!important}
.insuri-user{align-self:flex-end!important;margin-left:auto!important}
.insuri-quick-actions{width:100%!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:stretch!important;justify-items:stretch!important}
.insuri-quick-actions a{width:100%!important;min-width:0!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;text-align:center!important;margin:0!important;padding:8px 10px!important;line-height:1.2!important}
.insuri-quick-actions a svg{width:17px!important;height:17px!important}
.insuri-suggestions{width:100%!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important}
.insuri-suggestions button{display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1.2!important;margin:0!important}
.insuri-form{width:100%!important;display:flex!important;flex-direction:row!important;align-items:flex-end!important;justify-content:stretch!important;gap:9px!important}
.insuri-input{display:block!important;flex:1 1 auto!important;width:0!important;min-width:0!important;max-width:none!important;margin:0!important;float:none!important;box-sizing:border-box!important}
.insuri-send{display:flex!important;flex:0 0 46px!important;width:46px!important;height:46px!important;min-width:46px!important;align-items:center!important;justify-content:center!important;padding:0!important;margin:0!important;line-height:1!important}
.insuri-send svg{width:21px!important;height:21px!important}
.insuri-disclaimer{width:100%!important;text-align:center!important}
@media(max-width:600px){
 .insuri-floating{width:calc(100vw - 20px)!important;bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;gap:10px!important}
 .insuri-floating .insuri-panel{height:calc(100dvh - 100px)!important;min-height:340px!important;max-height:780px!important;border-radius:20px!important}
 .insuri-launcher{flex-basis:60px!important;width:60px!important;height:60px!important}
 .insuri-header{min-height:68px!important;padding:12px 13px!important;gap:10px!important}
 .insuri-avatar{flex-basis:40px!important;width:40px!important;height:40px!important}
 .insuri-messages{padding:15px 12px 12px!important}
 .insuri-message{max-width:91%!important}
 .insuri-quick-actions{padding:9px 10px 6px!important;gap:8px!important}
 .insuri-quick-actions a{min-height:40px!important;font-size:12px!important}
 .insuri-form{padding:9px 10px!important;gap:8px!important}
 .insuri-input{min-height:44px!important;padding:11px 12px!important;font-size:16px!important}
 .insuri-send{flex-basis:44px!important;width:44px!important;height:44px!important;min-width:44px!important}
}
