/* Reset only widget HTML elements; leave SVG presentation attributes intact. */
#sgc-root,#sgc-root :where(div,section,header,form,label,input,textarea,button,p,small,strong,span,a){all:revert;box-sizing:border-box;margin:0;padding:0;border:0;font:inherit;color:inherit;text-align:inherit;letter-spacing:normal;text-transform:none;text-shadow:none;float:none}
#sgc-root{--sgc-accent:#ec398b;position:fixed;right:24px;bottom:24px;z-index:999999;display:flex;flex-direction:column;align-items:flex-end;width:max-content;max-width:calc(100vw - 24px);font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#24252d;text-align:left;letter-spacing:normal}
#sgc-root *,#sgc-root *::before,#sgc-root *::after{box-sizing:border-box}
#sgc-root [hidden]{display:none!important}
#sgc-root button,#sgc-root input,#sgc-root textarea{font:inherit;letter-spacing:normal;text-transform:none;box-shadow:none;margin:0}
#sgc-root button{cursor:pointer;min-height:40px;border:0;line-height:1.4}
#sgc-root button::before,#sgc-root button::after{content:none}
#sgc-root button:disabled{opacity:.55;cursor:wait}
#sgc-root button:focus-visible,#sgc-root a:focus-visible,#sgc-root input:focus-visible,#sgc-root textarea:focus-visible{outline:3px solid var(--sgc-accent);outline-offset:3px}
#sgc-root .sgc-launcher{position:relative;display:flex;align-items:center;justify-content:center;width:76px;height:64px;border-radius:24px;background:transparent;color:#6979a9;box-shadow:none;margin-left:auto;padding:0;isolation:isolate}
#sgc-root .sgc-launcher::before{content:"";position:absolute;inset:1px -8px -4px;border-radius:50%;background:radial-gradient(ellipse,#bdcaff66 0%,#e2deff45 38%,transparent 72%);filter:blur(6px);z-index:-1;opacity:.8}
#sgc-root .sgc-launcher.sgc-pulse::before{animation:sgc-cloud-glow 3.2s ease-in-out infinite}
#sgc-root .sgc-launcher svg{width:76px;height:58px;fill:none;stroke-linecap:round;stroke-linejoin:round;overflow:visible;filter:drop-shadow(0 6px 9px #6475ac26);transition:transform .25s ease}
#sgc-root .sgc-launcher:hover svg{transform:translateY(-3px)}
#sgc-root .sgc-launcher.sgc-pulse svg{animation:sgc-cloud-float 3.2s ease-in-out infinite}
#sgc-root .sgc-cloud-dot{fill:#8290b4;stroke:none}
#sgc-root .sgc-cloud-dot-accent{fill:var(--sgc-accent)}
#sgc-root .sgc-unread{position:absolute;right:1px;top:4px;display:flex;align-items:center;justify-content:center;min-width:21px;height:21px;padding:0 4px;border:2px solid white;border-radius:20px;background:#ff675e;color:white;font-size:11px;font-weight:700;line-height:1;box-shadow:0 2px 7px #ff675e28}
@keyframes sgc-cloud-glow{0%,100%{transform:scale(.94);opacity:.55}50%{transform:scale(1.12);opacity:1}}
@keyframes sgc-cloud-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
#sgc-root .sgc-panel{width:410px;max-width:calc(100vw - 32px);height:650px;max-height:calc(100dvh - 112px);display:flex;flex-direction:column;background:#fff;border:1px solid #e8e8ec;border-radius:24px;box-shadow:0 16px 70px #23243835;overflow:hidden;margin-bottom:14px}
#sgc-root .sgc-header{display:flex;align-items:center;gap:10px;padding:16px 20px;border-bottom:1px solid #ececf0;flex-shrink:0;background:#fff}
#sgc-root .sgc-header strong{font-size:14px;flex:1;font-weight:650;overflow-wrap:anywhere}
#sgc-root .sgc-icon{width:34px;height:34px;border:3px solid #f8c5de;border-radius:50%;background:var(--sgc-accent);color:#fff;font-size:23px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
#sgc-root .sgc-close{padding:0;width:32px;background:transparent;color:#80808a;font-size:28px;font-weight:300}
#sgc-root .sgc-reset{padding:0;width:28px;background:transparent;color:#80808a;font-size:23px;flex-shrink:0}
#sgc-root .sgc-body{padding:20px;overflow:auto;flex:1;min-height:0;overscroll-behavior:contain;background:#fff}
#sgc-root .sgc-log{display:flex;flex-direction:column;gap:14px}
#sgc-root .sgc-message{padding:13px 15px;border-radius:17px;max-width:94%;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.55}
#sgc-root .sgc-bot{background:#f4f4f6;border-bottom-left-radius:4px;align-self:flex-start}
#sgc-root .sgc-user{background:#484959;color:#fff;border-bottom-right-radius:4px;align-self:flex-end}
#sgc-root .sgc-suggestions{display:flex;flex-direction:column;gap:8px;margin:40px 0 4px 38px}
#sgc-root .sgc-suggestions button{background:#484959;color:white;border-radius:20px;text-align:left;padding:9px 14px;font-size:13px}
#sgc-root .sgc-footer{display:flex;flex-direction:column;align-items:stretch;padding:12px 20px 16px;flex-shrink:0;background:white;border-top:1px solid #f2f2f5}
#sgc-root .sgc-footer>.sgc-note{width:100%;text-align:left}
#sgc-root .sgc-compose{position:relative;display:flex;align-items:flex-end;border:1px solid #e1e1e7;border-radius:18px;padding:10px;gap:8px;background:#fff;margin:0}
#sgc-root .sgc-input{resize:none;border:0;border-radius:8px;background:#fff;color:#24252d;flex:1;min-width:0;padding:3px;min-height:48px;max-height:100px;width:auto}
#sgc-root .sgc-input::placeholder{color:#92929d}
#sgc-root .sgc-send{display:grid;place-items:center;align-self:center;width:40px;height:40px;min-width:40px;min-height:40px;flex-shrink:0;border-radius:12px;background:var(--sgc-accent);background:linear-gradient(145deg,#ffffff1f,#00000008),var(--sgc-accent);color:#fff;padding:0;line-height:1;box-shadow:0 3px 9px #24252d14;transition:filter .15s ease,box-shadow .15s ease}
#sgc-root .sgc-send svg{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;margin:0;pointer-events:none}
#sgc-root .sgc-send::before,#sgc-root .sgc-send::after{content:none}
#sgc-root .sgc-send:hover:not(:disabled){filter:brightness(1.07);box-shadow:0 4px 12px #24252d26}
#sgc-root .sgc-typing{display:flex;align-items:center;justify-content:center;gap:5px;min-height:42px;min-width:62px;white-space:normal}
#sgc-root .sgc-typing-dot{display:block;width:6px;height:6px;border-radius:50%;background:#82828f;animation:sgc-typing-bounce 1.2s ease-in-out infinite}
#sgc-root .sgc-typing-dot:nth-child(2){animation-delay:.16s}
#sgc-root .sgc-typing-dot:nth-child(3){animation-delay:.32s}
@keyframes sgc-typing-bounce{0%,60%,100%{transform:translateY(0);opacity:.45}30%{transform:translateY(-4px);opacity:1}}
#sgc-root .sgc-note{font-size:10px;line-height:1.4;color:#767681;margin:6px 0 0}
#sgc-root a{color:#414478;text-decoration:underline}
#sgc-root .sgc-inline-link{display:inline!important;float:none!important;position:static;font:inherit;white-space:inherit}
#sgc-root .sgc-contact-toggle{display:block;align-self:flex-start;max-width:100%;font-size:12px;background:transparent;color:#555562;text-decoration:underline;text-align:left;white-space:normal;padding:4px 0;min-height:32px}
#sgc-root .sgc-contact{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;border:1px solid #e5e5eb;border-radius:12px;padding:12px;margin-top:12px;position:relative;background:#fafafd}
#sgc-root .sgc-contact>*{grid-column:1/-1;min-width:0}
#sgc-root .sgc-contact .sgc-field-half{grid-column:auto}
#sgc-root .sgc-compose:focus-within{outline:2px solid var(--sgc-accent);outline-offset:0}
#sgc-root textarea.sgc-input:focus-visible{outline:0}
#sgc-root .sgc-contact strong{font-size:14px;font-weight:650}
#sgc-root .sgc-field{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#4a4a58}
#sgc-root .sgc-field input,#sgc-root .sgc-field textarea{border:1px solid #d9d9e1;border-radius:8px;padding:9px 10px;width:100%;background:white;color:#252530;min-height:40px}
#sgc-root .sgc-field textarea{resize:vertical}
#sgc-root .sgc-consent{display:flex;align-items:flex-start;gap:8px;font-size:11px;line-height:1.5;color:#5a5a68}
#sgc-root .sgc-consent input{width:16px;height:16px;min-width:16px;appearance:auto;margin-top:2px;accent-color:var(--sgc-accent)}
#sgc-root .sgc-submit{display:flex;align-items:center;justify-content:center;width:100%;min-height:40px;background:var(--sgc-accent);color:white;border-radius:10px;padding:10px 12px;font-size:13px;font-weight:600;line-height:20px;text-align:center}
#sgc-root .sgc-form-status{font-size:12px;margin:0;color:#464655;overflow-wrap:anywhere}
#sgc-root .sgc-trap{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important}
@media(max-width:480px){#sgc-root{right:12px;bottom:12px}#sgc-root .sgc-panel{width:calc(100vw - 24px);max-width:none;max-height:calc(100dvh - 100px);height:640px;border-radius:20px}#sgc-root .sgc-header{padding:12px 16px}#sgc-root .sgc-body{padding:16px}#sgc-root .sgc-footer{padding:10px 16px 12px}#sgc-root .sgc-field input,#sgc-root .sgc-field textarea,#sgc-root .sgc-input{font-size:16px}}
@media(prefers-reduced-motion:reduce){#sgc-root *{scroll-behavior:auto!important}#sgc-root .sgc-launcher::before,#sgc-root .sgc-launcher svg,#sgc-root .sgc-typing-dot{animation:none!important}#sgc-root .sgc-send,#sgc-root .sgc-launcher svg{transition:none}}

#sgc-root .sgc-contact .sgc-note{margin:0;line-height:1.35}#sgc-root .sgc-contact .sgc-field input{height:36px;min-height:36px;max-height:36px;line-height:20px;padding:7px 9px}#sgc-root .sgc-contact .sgc-consent{line-height:1.35}#sgc-root .sgc-form-status:empty{display:none}

/* Full-screen mobile dialog, including the visible viewport above the keyboard. */
@media(max-width:767px){
#sgc-root.sgc-mobile-open{top:var(--sgc-screen-top,0px);right:0;bottom:auto;left:0;width:100%;max-width:none;height:100vh;height:var(--sgc-screen-height,100dvh);align-items:stretch;overscroll-behavior:none}
#sgc-root.sgc-mobile-open .sgc-panel{width:100%;max-width:none;height:100%;max-height:none;min-height:0;margin:0;border:0;border-radius:0;box-shadow:none}
#sgc-root.sgc-mobile-open .sgc-launcher{display:none}
#sgc-root.sgc-mobile-open .sgc-header{flex-shrink:0;padding-top:max(12px,env(safe-area-inset-top));padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
#sgc-root.sgc-mobile-open .sgc-footer{flex-shrink:0;padding-bottom:max(12px,env(safe-area-inset-bottom))}
#sgc-root.sgc-mobile-open .sgc-input,#sgc-root.sgc-mobile-open .sgc-field input{font-size:16px}
}
#sgc-root .sgc-offer-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
#sgc-root .sgc-offer-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 13px;border:1px solid var(--sgc-accent);border-radius:12px;background:var(--sgc-accent);color:#fff;font:inherit;font-size:13px;line-height:1.35;cursor:pointer}
#sgc-root .sgc-offer-actions button+button{background:transparent;color:#484959;border-color:#d9dbe5}
#sgc-root .sgc-offer-actions button:focus-visible{outline:2px solid var(--sgc-accent);outline-offset:3px}
