.cc-chat{--chat-bg:#101c2e;--chat-card:#192a3f;--chat-text:#f4fbff;--chat-muted:#a9bdcc;position:fixed;right:18px;bottom:18px;z-index:15000;font-family:Inter,system-ui,sans-serif;color:var(--chat-text)}
.cc-chat[hidden],.cc-chat [hidden]{display:none!important}.cc-chat *{box-sizing:border-box}
.cc-chat__launcher{border:0;border-radius:999px;background:linear-gradient(125deg,#007e79,#286ad6);color:#fff;font-family:inherit;font-size:13px;font-weight:700;line-height:1.1;padding:12px 16px;box-shadow:0 12px 32px #10223c55;cursor:pointer}
.cc-chat__panel{width:min(340px,calc(100vw - 24px));height:min(440px,calc(100dvh - 40px));display:flex;flex-direction:column;background:var(--chat-bg);border:1px solid #ffffff25;border-radius:18px;box-shadow:0 18px 55px #0006;overflow:hidden}
.cc-chat__header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 14px;background:#182d43;border-bottom:1px solid #ffffff18}.cc-chat__header strong{font-size:15px}.cc-chat__header small{display:block;color:var(--chat-muted);font-size:10px;margin-top:4px}.cc-chat__actions{display:flex;align-items:center;gap:3px}.cc-chat__close,.cc-chat__sound{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0;border:0;background:transparent;color:var(--chat-text);font-size:22px;cursor:pointer;border-radius:8px}.cc-chat__sound{font-size:18px}.cc-chat__sound.is-muted{opacity:.4}.cc-chat__close:hover,.cc-chat__sound:hover{background:#8099a72b}
.cc-chat__history{flex:1 1 auto;min-height:0;overflow-y:auto!important;overflow-x:hidden;padding:12px;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:none;-ms-overflow-style:none}.cc-chat__history::-webkit-scrollbar{width:0;height:0;display:none}.cc-chat__history select{width:100%;margin:0 0 10px;padding:7px;border-radius:9px;background:var(--chat-card);color:var(--chat-text);border:1px solid #ffffff30}.cc-chat__messages{display:flex;flex-direction:column;gap:8px}.cc-chat__message{max-width:92%;padding:9px 11px;border-radius:13px;background:var(--chat-card);font-size:13px;line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere}.cc-chat__message a{color:inherit;text-decoration:underline}.cc-chat__message--visitor{align-self:flex-end;background:#176964;color:#fff}.cc-chat__message--system{align-self:center;background:transparent;color:var(--chat-muted);text-align:center;font-size:11px}.cc-chat__message small{display:block;margin-bottom:3px;color:var(--chat-muted);font-size:10px}.cc-chat__message--visitor small{color:#d0f5ee}.cc-chat__loading{font-size:11px;color:var(--chat-muted);padding:10px 3px}
.cc-chat__form{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;flex:0 0 auto;min-height:0;align-content:start;align-items:end;gap:6px!important;margin:0!important;padding:8px 10px!important;border-top:1px solid #ffffff18}.cc-chat__form textarea{min-width:0;width:100%;height:52px;min-height:52px;max-height:52px;resize:none!important;overflow-x:hidden;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none;background:var(--chat-card)!important;color:var(--chat-text)!important;border:1px solid #ffffff30;border-radius:10px;padding:8px;font-family:inherit;font-size:13px;line-height:1.35}.cc-chat__form textarea::-webkit-scrollbar{width:0;height:0;display:none}.cc-chat__form button{height:42px;border:0;border-radius:10px;background:#007e79!important;color:#fff!important;font-size:12px;font-weight:700;padding:0 11px;cursor:pointer}.cc-chat__form .cc-chat__attach{width:36px;height:42px;padding:0;font-size:17px;background:var(--chat-card)!important;color:var(--chat-text)!important}.cc-chat__attachment{display:block;margin-top:5px;word-break:break-word}.cc-chat__form button:disabled{opacity:.55;cursor:wait}.cc-chat__form small{grid-column:1/-1;color:var(--chat-muted);line-height:1.35;font-size:10px}.cc-chat__sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
[data-theme=light] .cc-chat{--chat-bg:#fff;--chat-card:#edf4f8;--chat-text:#142534;--chat-muted:#617585}[data-theme=light] .cc-chat__panel{border-color:#19354422;box-shadow:0 18px 55px #304b6735}[data-theme=light] .cc-chat__header{background:#eaf7f6;border-color:#19354422}[data-theme=light] .cc-chat__form{border-color:#19354422}[data-theme=light] .cc-chat__message--visitor{color:#fff}
@media(max-width:560px){.cc-chat{right:12px;bottom:calc(68px + env(safe-area-inset-bottom));}.cc-chat__panel{width:min(340px,calc(100vw - 24px));height:min(440px,calc(100dvh - 100px));}.cc-chat__form textarea{font-size:16px}}
.cc-chat__launcher.has-new::after{content:'';display:inline-block;width:8px;height:8px;margin-left:7px;border-radius:50%;background:#fff;box-shadow:0 0 0 3px #ffffff44}

/* Override global input rules without exposing the file picker. */
.cc-chat__form input[type=file]{display:none!important}.cc-chat__form small{margin:0!important;padding:0!important}.cc-chat__form textarea{outline:none;overscroll-behavior:contain}

.cc-chat__contacts{flex:0 0 auto;display:grid;grid-template-columns:1fr;gap:5px!important;margin:0!important;padding:8px 10px!important;border-top:1px solid #ffffff18;align-content:start}
.cc-chat__contacts strong{font-size:12px;line-height:1.2}.cc-chat__contacts input{height:33px;min-height:0;width:100%;margin:0;padding:6px 9px;border-radius:8px;border:1px solid #ffffff30;background:var(--chat-card)!important;color:var(--chat-text)!important;font-family:inherit;font-size:13px;line-height:1.2;backdrop-filter:none}.cc-chat__contacts-actions{display:flex;gap:6px;justify-content:flex-end}.cc-chat__contacts button{height:32px;border:0;border-radius:8px;background:#007e79;color:#fff!important;padding:0 11px;font-size:12px;font-weight:700;cursor:pointer}.cc-chat__contacts button[data-contacts-skip]{background:var(--chat-card);color:var(--chat-text)!important}.cc-chat__contacts small{font-size:10px;line-height:1.2;color:var(--chat-muted)}
[data-theme=light] .cc-chat__contacts{border-color:#19354422}[data-theme=light] .cc-chat__contacts input{border-color:#19354433}
@media(max-width:560px){.cc-chat__contacts input{font-size:16px}}

.cc-chat__attach svg{display:block;width:20px;height:20px;margin:auto}.cc-chat__loading{display:flex;align-items:center;gap:5px}.cc-chat__loading[hidden]{display:none!important}.cc-chat__dots{display:inline-flex;gap:3px}.cc-chat__dots i{width:4px;height:4px;border-radius:50%;background:currentColor;animation:cc-chat-dot 1.1s infinite ease-in-out}.cc-chat__dots i:nth-child(2){animation-delay:.15s}.cc-chat__dots i:nth-child(3){animation-delay:.3s}.cc-chat__loading.is-paused .cc-chat__dots{display:none}@keyframes cc-chat-dot{0%,60%,100%{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}
.cc-chat__consent{flex:0 0 auto;margin:0!important;padding:0 10px 9px!important;color:var(--chat-muted);font-size:10px;line-height:1.35}.cc-chat__consent a{color:inherit;text-decoration:underline}.cc-chat__consent a:hover{color:var(--chat-text)}@media(prefers-reduced-motion:reduce){.cc-chat__dots i{animation:none}}

/* v005: override site-wide section rules inside the chat. */
#lead-chat-widget-001 #lead-chat-panel-001{padding:0!important;margin:0!important;overflow:hidden!important;background:var(--chat-bg)!important;background-image:none!important;height:min(620px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);border-radius:18px;isolation:isolate}
#lead-chat-widget-001 .cc-chat__header{flex:0 0 auto;overflow:hidden;border-radius:17px 17px 0 0}
#lead-chat-widget-001 .cc-chat__history{flex:1 1 0;min-height:0}
#lead-chat-widget-001 .cc-chat__unread{display:inline-grid;place-items:center;min-width:20px;height:20px;margin-left:7px;padding:0 5px;border-radius:999px;background:#fff;color:#126c71;font-size:11px;font-weight:800;line-height:1}
#lead-chat-widget-001 .cc-chat__unread[hidden]{display:none!important}
.cc-chat__launcher.has-new::after{display:none}
@media(max-width:560px){#lead-chat-widget-001 #lead-chat-panel-001{height:min(590px,calc(100dvh - 100px));max-height:calc(100dvh - 100px)}}

@supports not (height:100dvh){#lead-chat-widget-001 #lead-chat-panel-001{height:min(620px,calc(100vh - 40px));max-height:calc(100vh - 40px)}@media(max-width:560px){#lead-chat-widget-001 #lead-chat-panel-001{height:min(590px,calc(100vh - 100px));max-height:calc(100vh - 100px)}}}
