/* Base Chat 1.4 — deliberately scoped, one design system, no theme inheritance. */
#svwc-root{--svwc-color:#b65c30;--svwc-ink:#182230;--svwc-muted:#77818f;position:fixed!important;inset:auto 24px calc(112px + env(safe-area-inset-bottom)) auto!important;z-index:2147483647!important;display:flex!important;flex-direction:column;align-items:flex-end;gap:14px;visibility:visible!important;opacity:1!important;isolation:isolate;max-width:calc(100vw - 32px);font:400 14px/1.55 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;letter-spacing:normal;color:var(--svwc-ink);text-align:left;pointer-events:none}
#svwc-root *,#svwc-root *:before,#svwc-root *:after{box-sizing:border-box}
#svwc-root [hidden]{display:none!important}
#svwc-root>*{pointer-events:auto}
#svwc-root button,#svwc-root textarea{font:inherit;letter-spacing:normal;text-transform:none;box-shadow:none;margin:0;outline-offset:4px;-webkit-tap-highlight-color:transparent}
#svwc-root button{appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;border:0;min-height:44px;padding:0;background:transparent;color:inherit;line-height:1.4;touch-action:manipulation}
#svwc-root button:focus-visible,#svwc-root textarea:focus-visible{outline:2px solid var(--svwc-color)}
#svwc-root button:disabled{opacity:.45;cursor:default}
#svwc-root .svwc-launcher{height:58px;min-width:168px;padding:7px 18px 7px 8px;border:1px solid #ffffff40;border-radius:18px;background:#182230;color:#fff;gap:11px;box-shadow:0 6px 20px #10182829;transition:transform .18s ease,box-shadow .18s ease}
#svwc-root .svwc-launcher svg{display:block;width:40px;height:40px;flex:0 0 40px;background:var(--svwc-color);border-radius:12px;padding:9px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#svwc-root .svwc-launcher>span{font-size:14px;font-weight:650;white-space:nowrap}
#svwc-root .svwc-launcher:hover{transform:translateY(-2px);box-shadow:0 9px 25px #10182838}
#svwc-root .svwc-launcher:active{transform:scale(.98)}
#svwc-root .svwc-teaser{position:absolute;right:0;bottom:74px;width:278px;max-width:calc(100vw - 32px);padding:18px;border:1px solid #e5e8ed;border-radius:18px;background:#fff;box-shadow:0 8px 26px #10182812;animation:svwc-enter .24s ease-out}
#svwc-root .svwc-teaser:after{content:'';position:absolute;right:30px;bottom:-5px;width:10px;height:10px;background:#fff;border-right:1px solid #e5e8ed;border-bottom:1px solid #e5e8ed;transform:rotate(45deg)}
#svwc-root .svwc-teaser>button:first-child{position:absolute;right:8px;top:5px;width:30px;min-height:30px;border-radius:8px;color:#98a2b3;font-size:20px;font-weight:400}
#svwc-root .svwc-teaser>button:first-child:hover{background:#f2f4f7;color:#344054}
#svwc-root .svwc-teaser-heading{display:block;font-weight:650;font-size:14px;padding-right:16px;margin:0 0 7px;color:#182230}
#svwc-root .svwc-teaser .svwc-teaser-copy{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;min-height:0;width:100%;text-align:left;font-size:12px;line-height:1.7;font-weight:400;color:#667085;padding-right:8px}
#svwc-root .svwc-teaser-cta{display:flex;justify-content:flex-start;min-height:36px;margin-top:8px;color:var(--svwc-color);font-size:12px;font-weight:650}
#svwc-root .svwc-box{display:flex;flex-direction:column;width:380px;height:570px;max-width:100%;max-height:calc(100vh - 210px);max-height:calc(100dvh - 210px);overflow:hidden;border:1px solid #e4e7ec;border-radius:22px;background:#fff;box-shadow:0 18px 55px #10182824,0 2px 6px #10182806;animation:svwc-enter .22s ease-out}
#svwc-root header{display:flex;align-items:center;gap:11px;flex-shrink:0;min-height:84px;padding:18px;border:0;border-bottom:1px solid #edf0f3;background:#fff;color:#182230}
#svwc-root .svwc-avatar{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;overflow:hidden;border-radius:14px;border:1px solid #e9e2db;background:#faf6f2}
#svwc-root .svwc-avatar img{display:block;width:100%;height:100%;object-fit:cover;border:0;border-radius:13px}
#svwc-root .svwc-avatar-default{display:grid;place-items:center;width:100%;height:100%;color:var(--svwc-color)}
#svwc-root .svwc-avatar-default svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#svwc-root .svwc-identity{flex:1;min-width:0}
#svwc-root .svwc-identity strong{display:block;margin:0;font-size:15px;font-weight:650;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#182230}
#svwc-root .svwc-identity span{display:block;margin-top:4px;font-size:11px;font-weight:400;color:#85909e;line-height:1.4}
#svwc-root header>button{width:34px;min-height:34px;border:1px solid #edf0f3;border-radius:10px;background:#fff;color:#667085;font-size:22px;font-weight:400}
#svwc-root header>button:hover{background:#f8fafc}
#svwc-root .svwc-transcript{flex:1;min-height:80px;overflow-y:auto;overscroll-behavior:contain;padding:20px 16px 12px;background:#f7f8fa;scroll-behavior:smooth}
#svwc-root .svwc-message{width:fit-content;max-width:88%;margin:0 28px 14px 0;padding:11px 13px;border:1px solid #e9ecf0;border-radius:15px 15px 15px 4px;background:#fff;color:#344054;font-size:13px;font-weight:400;line-height:1.75;overflow-wrap:anywhere;box-shadow:0 1px 2px #10182803}
#svwc-root .svwc-message>span{display:block;white-space:pre-wrap}
#svwc-root .svwc-user{margin-left:auto;margin-right:0;background:#eaf0f6;border-color:#e1e8f0;color:#243b53;border-radius:15px 15px 4px 15px}
#svwc-root .svwc-staff{border-left:2px solid var(--svwc-color)}
#svwc-root .svwc-time{display:block;margin-top:7px;font-size:10px;font-weight:400;line-height:1.4;color:#98a2b3}
#svwc-root .svwc-starters{display:flex;flex-wrap:wrap;flex-shrink:0;gap:7px;padding:12px 16px;border-top:1px solid #edf0f3;background:#fff;max-height:126px;overflow-y:auto}
#svwc-root .svwc-starters button{min-height:34px;max-width:100%;padding:7px 11px;border:1px solid #e1e6ec;border-radius:10px;background:#fff;color:#526174;font-size:11px;font-weight:500;text-align:left;transition:border-color .15s,background .15s}
#svwc-root .svwc-starters button:hover{border-color:var(--svwc-color);background:#faf8f5}
#svwc-root .svwc-status{flex-shrink:0;min-height:14px;margin:0;padding:8px 17px 0;color:#8b96a3;font-size:10px;line-height:1.5;background:#fff}
#svwc-root .svwc-working:before{content:'●';display:inline-block;font-size:7px;margin-right:5px;color:var(--svwc-color);animation:svwc-breathe 1.4s ease-in-out infinite}
#svwc-root form{display:flex;align-items:flex-end;flex-shrink:0;gap:8px;margin:0;padding:11px 14px 10px;background:#fff;border:0}
#svwc-root textarea{display:block;width:100%;flex:1;min-width:0;resize:none;min-height:44px;max-height:90px;border:1px solid #e4e7ec;border-radius:13px;padding:11px 12px;background:#f9fafb;color:#344054;font-size:13px;font-weight:400;line-height:1.6}
#svwc-root textarea::placeholder{color:#a0a9b5;opacity:1}
#svwc-root form>button{flex:0 0 49px;height:44px;min-height:44px;border:0;border-radius:13px;background:#182230;color:#fff;font-size:12px;font-weight:600}
#svwc-root small{display:block;flex-shrink:0;margin:0;padding:0 16px 13px;border:0;background:#fff;color:#9aa3af;font-size:9px;line-height:1.5;font-weight:400;text-align:left}
#svwc-root .svwc-pulse{animation:svwc-invite 2.5s ease-in-out 3}
@keyframes svwc-enter{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@keyframes svwc-invite{50%{transform:translateY(-3px);box-shadow:0 0 0 5px #18223009,0 9px 25px #10182829}}
@keyframes svwc-breathe{50%{opacity:.25}}
@media(max-width:767px){#svwc-root{right:12px!important;bottom:calc(112px + env(safe-area-inset-bottom))!important;max-width:calc(100vw - 24px);gap:10px}#svwc-root .svwc-launcher{height:54px;min-width:156px;border-radius:17px;padding:6px 15px 6px 7px}#svwc-root .svwc-launcher svg{width:38px;height:38px;flex-basis:38px}#svwc-root .svwc-box{width:min(380px,calc(100vw - 24px));height:560px;max-height:calc(100vh - 198px);max-height:calc(100dvh - 198px);border-radius:20px}#svwc-root header{padding:14px;min-height:74px}#svwc-root .svwc-transcript{padding:16px 13px 8px}#svwc-root .svwc-message{font-size:13px;max-width:90%}#svwc-root textarea{font-size:16px;padding:9px 11px}#svwc-root .svwc-teaser{width:260px;bottom:67px}#svwc-root .svwc-starters{padding:10px 13px;max-height:108px}}
@media(max-height:550px){#svwc-root .svwc-box{max-height:calc(100vh - 165px)}#svwc-root small{display:none}#svwc-root header{min-height:60px;padding:10px}#svwc-root .svwc-starters{max-height:70px}}
@media(prefers-reduced-motion:reduce){#svwc-root *,#svwc-root *:before{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
