/* SitePixa consent-aware Chatling chat launcher — isolated from existing page styles */
#spx-livechat-launcher[hidden],#spx-livechat-panel[hidden]{display:none!important}
#spx-livechat-launcher,#spx-livechat-panel{font-family:Inter,system-ui,-apple-system,'Segoe UI',Arial,sans-serif;box-sizing:border-box}
#spx-livechat-launcher *,#spx-livechat-panel *{box-sizing:border-box}
#spx-livechat-launcher{position:fixed;right:clamp(15px,2.4vw,30px);bottom:clamp(18px,2.4vw,28px);z-index:2147483200;display:inline-flex;align-items:center;gap:10px;padding:12px 19px 12px 13px;border-radius:100px;border:1px solid rgba(166,255,80,.65);background:linear-gradient(135deg,#1779f7 0%,#0755d6 100%);box-shadow:0 12px 35px #0008,0 0 0 3px rgba(23,121,247,.20);color:white;font:800 14px/1.2 Inter,system-ui,sans-serif;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease;max-width:calc(100vw - 30px)}
#spx-livechat-launcher:hover{transform:translateY(-3px);box-shadow:0 15px 45px #0009,0 0 0 4px rgba(23,121,247,.20)}
#spx-livechat-launcher:focus-visible,#spx-livechat-panel button:focus-visible,#spx-livechat-panel a:focus-visible{outline:3px solid #a4ff50;outline-offset:3px}
.spx-chat-launchicon{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#ffffff;color:#0755d6;flex:none}
.spx-chat-launchicon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
#spx-livechat-panel{position:fixed;right:clamp(12px,2.4vw,30px);bottom:105px;z-index:2147483210;width:min(378px,calc(100vw - 24px));max-height:min(590px,calc(100dvh - 124px));display:flex;flex-direction:column;overflow:hidden;border-radius:21px;border:1px solid rgba(48,230,212,.45);background:#f7fbff;box-shadow:0 20px 68px rgba(0,6,21,.55);color:#163449;text-align:left}
#spx-livechat-panel .spx-chat-header{padding:21px 19px 20px;display:flex;align-items:center;gap:12px;background:linear-gradient(115deg,#09354f 0%,#0b223c 100%);color:#fff;flex:none}
#spx-livechat-panel .spx-chat-avatar{display:grid;place-items:center;width:45px;height:45px;border:1px solid rgba(164,255,80,.45);border-radius:15px;background:rgba(164,255,80,.13);color:#a4ff50;font-size:25px;flex:none}
#spx-livechat-panel .spx-chat-headertext{min-width:0;flex:1}
#spx-livechat-panel .spx-chat-header strong{display:block;font-weight:800;font-size:16px;line-height:1.2}
#spx-livechat-panel .spx-chat-header small{display:block;font-size:12px;color:#d5edf4;margin-top:5px;line-height:1.35}
#spx-livechat-panel .spx-chat-close{border:1px solid rgba(227,246,253,.4);border-radius:50%;background:rgba(255,255,255,.08);color:white;display:grid;place-items:center;width:34px;height:34px;font-size:20px;line-height:1;flex:none;cursor:pointer}
#spx-livechat-panel .spx-chat-body{overflow:auto;padding:19px 18px 20px;min-height:0;overscroll-behavior:contain}
#spx-livechat-panel .spx-chat-status{font-weight:800;font-size:11px;color:#31647c;text-transform:uppercase;letter-spacing:.05em;margin:0 0 15px}
#spx-livechat-panel .spx-chat-bubble{max-width:95%;padding:14px 15px;border-radius:15px 15px 15px 4px;background:#e6f1f5;color:#183a50;font-size:14px;line-height:1.55;margin:0 0 13px;border:1px solid #d8e7ef}
#spx-livechat-panel .spx-chat-bubble strong{color:#0c3d58}
#spx-livechat-panel .spx-chat-bubble.spx-chat-reply{background:#e7f8df;border-color:#ccebb6;border-radius:15px 15px 4px 15px;margin-left:auto}
#spx-livechat-panel .spx-chat-actions{display:flex;flex-direction:column;gap:9px;margin-top:16px}
#spx-livechat-panel .spx-chat-actions button{border:1px solid #7bd8d1;border-radius:13px;background:white;color:#0a4457;padding:12px 13px;text-align:left;font-size:13px;font-weight:750;line-height:1.4;cursor:pointer}
#spx-livechat-panel .spx-chat-actions button:hover{background:#e9fafa;border-color:#1aa6aa}
#spx-livechat-panel .spx-chat-main-action{display:block;width:100%;border:0!important;background:#a4ff50!important;color:#0a273b!important;text-align:center!important;font-weight:800!important;border-radius:100px!important;padding:13px 15px!important;margin:12px 0 0!important;cursor:pointer}
#spx-livechat-panel .spx-chat-foot{padding:13px 18px 14px;border-top:1px solid #e1ebf1;background:#f3f8fa;color:#557082;font-size:11px;line-height:1.5;flex:none}
#spx-livechat-panel .spx-chat-foot a{color:#0c5368;font-weight:750;text-decoration:underline}
#spx-livechat-panel .spx-chat-cta-link{color:#0b526c;font-size:13px;font-weight:800;text-decoration:underline;display:inline-block;margin:13px 0 0}
#spx-livechat-panel .spx-chat-preview-note{display:inline-block;padding:5px 9px;margin-bottom:14px;border-radius:100px;font-size:11px;font-weight:800;color:#164558;background:#e0edf4}
@media(max-width:480px){#spx-livechat-panel{right:12px;bottom:90px;max-height:calc(100dvh - 104px);border-radius:18px}#spx-livechat-launcher{right:12px;bottom:12px;padding:9px 14px 9px 9px}#spx-livechat-launcher .spx-chat-launchicon{width:35px;height:35px}#spx-livechat-panel .spx-chat-body{padding:15px}}
@media(prefers-reduced-motion:reduce){#spx-livechat-launcher{transition:none}}

/* Keep SitePixa chat accessible above the existing site, but leave cookie banner usable. */
#spx-livechat-launcher{bottom:clamp(18px,2.4vw,28px)}
body:has(#spx-cookie-panel:not([hidden])) #spx-livechat-launcher{bottom:clamp(88px,11vw,110px)}
#spx-livechat-panel .spx-chat-demo-disclaimer{font-size:12px;line-height:1.5;color:#557082;margin:10px 0 0}
