#stc-root{--stc-color:#2563eb;position:fixed;bottom:22px;right:22px;z-index:999999;font:14px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#17243a;text-align:left}#stc-root *{box-sizing:border-box}#stc-root [hidden]{display:none!important}#stc-root button,#stc-root input,#stc-root textarea{font:inherit;letter-spacing:normal;text-transform:none}#stc-root button{cursor:pointer;border:0;border-radius:12px;background:var(--stc-color);color:#fff;padding:11px 16px;line-height:1.4}#stc-root button:disabled{opacity:.55;cursor:wait}#stc-root button:focus-visible,#stc-root input:focus-visible,#stc-root textarea:focus-visible,#stc-root a:focus-visible{outline:3px solid #f59e0b;outline-offset:3px}#stc-root .stc-launch{box-shadow:0 8px 30px #10204a30;font-weight:600}#stc-root #stc-panel{position:absolute;bottom:62px;right:0;width:370px;max-width:calc(100vw - 32px);max-height:min(740px,calc(100dvh - 110px));display:flex;flex-direction:column;background:#fff;border:1px solid #dce3ed;border-radius:20px;overflow:auto;box-shadow:0 18px 60px #10204a30}#stc-root header{display:flex;align-items:center;justify-content:space-between;padding:16px;background:var(--stc-color);color:white;gap:12px}#stc-root header strong{font-size:16px}#stc-root .stc-close{font-size:26px;padding:0 9px;background:transparent;flex-shrink:0}#stc-root .stc-log{padding:16px;min-height:90px;max-height:240px;overflow-y:auto;flex:1 0 auto;background:#f6f8fc}#stc-root .stc-bubble{margin:0 24px 10px 0;padding:10px 12px;border-radius:13px;background:white;border:1px solid #e3e8f1;white-space:pre-wrap;overflow-wrap:anywhere}#stc-root .stc-bubble small{display:block;font-size:10px;color:#65728a;margin-bottom:3px}#stc-root .stc-visitor{margin:0 0 10px 24px;background:#e9efff}#stc-root .stc-operator{border-color:var(--stc-color)}#stc-root .stc-questions{display:flex;flex-wrap:wrap;gap:6px;padding:12px 16px}#stc-root .stc-questions button{background:#eef2f8;color:#253b60;padding:7px 10px;font-size:12px;text-align:left}#stc-root .stc-questions .stc-operator{color:var(--stc-color);font-weight:600}#stc-root .stc-status{font-size:12px;color:#5b6579;padding:0 16px}#stc-root form{margin:0;padding:12px 16px;display:grid;gap:10px}#stc-root form p{margin:0;font-weight:600}#stc-root label{display:block;font-size:12px}#stc-root input:not([type=checkbox]),#stc-root textarea{display:block;width:100%;margin:4px 0 0;padding:10px 12px;background:white;color:#17243a;border:1px solid #ccd5e3;border-radius:9px;box-shadow:none;min-height:40px}#stc-root .stc-consent{display:flex;align-items:flex-start;gap:8px;font-size:11px;color:#5b6579}#stc-root input[type=checkbox]{margin:3px 0 0;flex-shrink:0;appearance:auto;width:16px;height:16px}#stc-root form a{font-size:11px;color:var(--stc-color)}#stc-root textarea{resize:vertical;max-height:140px}#stc-root footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 16px;border-top:1px solid #edf0f5;font-size:10px;color:#64748b}#stc-root footer button{background:transparent;color:#64748b;padding:0;font-size:10px;text-decoration:underline}#stc-root .stc-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:480px){#stc-root{right:16px;bottom:16px}#stc-root #stc-panel{width:calc(100vw - 32px);bottom:60px}#stc-root input:not([type=checkbox]),#stc-root textarea{font-size:16px}}
/* 1.1 — rounded launcher, soft motion, coordinated chat surface. */
#stc-root{--stc-color:#2563eb;bottom:max(26px,env(safe-area-inset-bottom));right:26px}
#stc-root button{transition:background-color .2s,box-shadow .2s,transform .2s}
#stc-root .stc-launch{position:relative;display:grid;place-items:center;width:88px;height:88px;padding:23px;border-radius:50%;border:3px solid #ffffff65;outline:2px solid #ffffff40;outline-offset:-7px;background:var(--stc-color);box-shadow:0 7px 26px #1646b52d;color:white;isolation:isolate;transition:transform .25s,box-shadow .25s}
#stc-root .stc-launch:before,#stc-root .stc-launch:after{content:"";position:absolute;inset:-4px;z-index:-1;border:2px solid var(--stc-color);border-radius:50%;pointer-events:none;animation:stc-ring 3.6s ease-out infinite}
#stc-root .stc-launch:after{animation-delay:1.8s}
#stc-root .stc-launch:hover{transform:translateY(-3px);box-shadow:0 12px 34px #1646b540}
#stc-root .stc-launch:active{transform:scale(.94)}
#stc-root .stc-chat-icon{display:block;width:40px;height:40px;overflow:visible;transition:transform .3s,opacity .2s;animation:stc-hello 7s ease-in-out infinite;transform-origin:50% 70%}
#stc-root .stc-launch-cross{position:absolute;font-size:42px;font-weight:300;line-height:1;opacity:0;transform:rotate(-70deg) scale(.5);transition:opacity .2s,transform .3s}
#stc-root.stc-is-open .stc-chat-icon{animation:none;opacity:0;transform:scale(.6)}
#stc-root.stc-is-open .stc-launch-cross{opacity:1;transform:rotate(0) scale(1)}
#stc-root.stc-is-open .stc-launch:before,#stc-root.stc-is-open .stc-launch:after{animation:none;opacity:0}
#stc-root #stc-panel{bottom:108px;width:380px;max-height:calc(100dvh - 160px);border:1px solid #dce5f4;border-radius:24px;box-shadow:0 24px 80px #1832672b;transform-origin:bottom right;animation:stc-open .28s cubic-bezier(.2,.8,.2,1) both}
#stc-root header{padding:20px;background:var(--stc-color);background:linear-gradient(120deg,var(--stc-color),color-mix(in srgb,var(--stc-color) 78%,#1741a1));min-height:80px}
#stc-root header strong{max-width:280px;line-height:1.4}
#stc-root .stc-close{width:32px;height:32px;display:grid;place-items:center;padding:0;border-radius:50%;background:#ffffff20;line-height:1}
#stc-root .stc-close:hover{background:#ffffff35}
#stc-root .stc-log{background:#f6f8fc;padding:18px;max-height:220px}
#stc-root .stc-bubble{border-color:#e1e8f3;border-radius:16px 16px 16px 4px;box-shadow:0 2px 6px #18326704;animation:stc-message .22s ease-out both}
#stc-root .stc-visitor{background:#edf3ff;background:color-mix(in srgb,var(--stc-color) 8%,white);border-radius:16px 16px 4px 16px}
#stc-root .stc-bubble small{font-size:10px;letter-spacing:.02em}
#stc-root .stc-questions{gap:8px;padding:14px 18px}
#stc-root .stc-questions button{border:1px solid #e0e7f2;background:white;border-radius:20px;color:#34445e;padding:8px 12px}
#stc-root .stc-questions button:hover{border-color:var(--stc-color);transform:translateY(-1px)}
#stc-root .stc-questions .stc-operator{background:#edf3ff;background:color-mix(in srgb,var(--stc-color) 7%,white);border-color:transparent}
#stc-root form{padding:12px 18px;gap:12px}
#stc-root input:not([type=checkbox]),#stc-root textarea{background:#fbfcfe;border-color:#dce4ef;border-radius:12px;padding:11px 13px;transition:border-color .2s,box-shadow .2s}
#stc-root input:not([type=checkbox]):focus,#stc-root textarea:focus{border-color:var(--stc-color);box-shadow:0 0 0 3px #2563eb0c}
#stc-root input[type=checkbox]{accent-color:var(--stc-color)}
#stc-root form>button{border-radius:13px;font-weight:600;min-height:44px}
#stc-root form>button:hover{box-shadow:0 5px 16px #1646b526;transform:translateY(-1px)}
#stc-root .stc-status{padding:0 18px}
#stc-root footer{padding:12px 18px;border-color:#e9eef7}
@keyframes stc-ring{0%{transform:scale(1);opacity:.35}65%,100%{transform:scale(1.35);opacity:0}}
@keyframes stc-hello{0%,76%,100%{transform:rotate(0)}80%{transform:rotate(-10deg)}84%{transform:rotate(8deg)}88%{transform:rotate(-5deg)}92%{transform:rotate(0)}}
@keyframes stc-open{from{opacity:0;transform:translateY(14px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes stc-message{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:480px){#stc-root{right:20px;bottom:max(20px,env(safe-area-inset-bottom))}#stc-root .stc-launch{width:72px;height:72px;padding:17px}#stc-root .stc-chat-icon{width:34px;height:34px}#stc-root #stc-panel{bottom:92px;width:calc(100vw - 40px);max-width:calc(100vw - 40px);max-height:calc(100dvh - 140px)}#stc-root header{min-height:70px;padding:16px}}
@media(prefers-reduced-motion:reduce){#stc-root *,#stc-root *:before,#stc-root *:after{animation:none!important;transition:none!important}}
