.ws-chat-panel,.ws-chat-invite{font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif;color:#102d45}
.ws-chat-panel{position:fixed;right:24px;bottom:104px;z-index:19;display:flex;width:min(400px,calc(100vw - 32px));max-height:calc(100vh - 128px);overflow:hidden;flex-direction:column;border:1px solid #d4e9f3;border-radius:22px;background:#fff;box-shadow:0 26px 70px rgba(5,45,72,.28)}
.ws-chat-panel[hidden],.ws-chat-invite[hidden],.ws-chat-qr-wrap[hidden]{display:none}
.ws-chat-panel>header{display:flex;align-items:flex-start;justify-content:space-between;padding:16px 18px 14px;border-bottom:1px solid #dcebf2;background:linear-gradient(135deg,#eefaff,#f9fdff)}
.ws-chat-panel header strong,.ws-chat-panel header span{display:block}.ws-chat-panel header strong{font-size:17px}.ws-chat-panel header span{margin-top:4px;color:#668096;font-size:12px}.ws-chat-panel header span i{display:inline-block;width:7px;height:7px;margin-right:4px;border-radius:50%;background:#12a26f}
.ws-chat-panel header .ws-chat-service-hours{display:block;margin-top:4px;color:#4f7086;font-size:11px;line-height:1.4}
.ws-chat-panel header button{width:34px;height:34px;border:0;border-radius:50%;background:#fff;color:#47677c;cursor:pointer;font-size:22px}
.ws-chat-body{min-height:0;max-height:min(570px,calc(100vh - 230px));overflow:auto;flex:1 1 auto;background:#f8fcfe}
.ws-chat-agent-avatar{display:grid;width:38px;height:38px;flex:0 0 38px;place-items:center;border-radius:13px;background:linear-gradient(145deg,#0ba1e4,#087ac8);color:#fff;font-weight:800}.ws-chat-agent-avatar.has-logo{overflow:hidden;padding:4px;border:1px solid #d7e9f2;background:#fff}.ws-chat-agent-avatar img{display:block;width:100%;height:100%;object-fit:contain}.ws-chat-empty{margin:0;color:#668096;font-size:13px;line-height:1.55}
.ws-chat-auto-messages{display:flex;flex-direction:column;gap:10px;padding:18px 20px 8px}.ws-chat-auto-row{display:flex;align-items:flex-end;gap:10px;opacity:0;transform:translateY(7px);animation:ws-chat-message-in .32s ease-out forwards}.ws-chat-auto-row:nth-child(2){animation-delay:.55s}.ws-chat-auto-row:nth-child(3){animation-delay:1.1s}.ws-chat-auto-row p{max-width:calc(100% - 48px);margin:0;padding:10px 12px;border:1px solid #e1edf3;border-radius:14px 14px 14px 4px;background:#fff;box-shadow:0 3px 12px rgba(9,62,91,.08);color:#173951;font-size:13px;line-height:1.55}.ws-chat-auto-row .ws-chat-agent-avatar{width:34px;height:34px;flex-basis:34px;border-radius:11px}@keyframes ws-chat-message-in{to{opacity:1;transform:none}}
.ws-chat-quick{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px 20px 4px}.ws-chat-quick button{min-height:38px;padding:7px 9px;border:1px solid #b9dfea;border-radius:12px;background:#fff;color:#176d98;cursor:pointer;font-weight:650;text-align:left}.ws-chat-quick button:hover{border-color:#0b91d4;background:#eefaff;color:#087bc0}
.ws-chat-start{display:grid;grid-template-columns:1fr auto;gap:9px;padding:12px 20px 20px}.ws-chat-start textarea,.ws-chat-reply textarea{display:block;width:100%;padding:11px 12px;border:1px solid #cfe3ed;border-radius:11px;outline:none;background:#fff;color:#102d45;font:inherit;box-sizing:border-box}.ws-chat-start textarea:focus,.ws-chat-reply textarea:focus{border-color:#0a91d4;box-shadow:0 0 0 3px rgba(10,145,212,.12)}.ws-chat-start textarea{grid-column:1/-1;min-height:82px;resize:vertical}.ws-chat-contact-tip{grid-column:1/-1;margin:0;color:#71899a;font-size:12px;line-height:1.5}
.ws-chat-primary{min-height:42px;padding:0 18px;border:0;border-radius:99px;background:#0b91d4;color:#fff;cursor:pointer;font-weight:750}.ws-chat-primary:disabled{cursor:wait;opacity:.55}.ws-chat-start .ws-chat-primary{grid-column:1/-1;width:100%}.ws-chat-error{min-height:0;margin:0;color:#c92a2a;font-size:12px}.ws-chat-start .ws-chat-error{grid-column:1/-1}
.ws-chat-loading,.ws-chat-error-state{padding:50px 20px;color:#668096;text-align:center}.ws-chat-messages{display:flex;min-height:280px;max-height:390px;flex-direction:column;gap:12px;overflow:auto;padding:18px}.ws-chat-message{align-self:flex-start;max-width:82%}.ws-chat-message.visitor{align-self:flex-end}.ws-chat-message span,.ws-chat-message time{display:block;margin:0 4px 4px;color:#7890a0;font-size:11px}.ws-chat-message.visitor span,.ws-chat-message.visitor time{text-align:right}.ws-chat-message p{margin:0;padding:10px 12px;border-radius:13px 13px 13px 4px;background:#fff;box-shadow:0 2px 9px rgba(9,62,91,.08);line-height:1.55;overflow-wrap:anywhere}.ws-chat-message.visitor p{border-radius:13px 13px 4px 13px;background:#0b91d4;color:#fff}.ws-chat-message time{margin-top:4px}
.ws-chat-reply{display:grid;grid-template-columns:1fr auto;gap:9px;padding:10px 16px 14px;border-top:1px solid #dcebf2;background:#fff}.ws-chat-reply-tip{grid-column:1/-1;margin:0;color:#71899a;font-size:12px}.ws-chat-reply textarea{min-height:42px;max-height:92px;margin:0;resize:none}.ws-chat-reply .ws-chat-error{grid-column:1/-1}.ws-chat-closed{padding:18px;border-top:1px solid #dcebf2;background:#fff;text-align:center}.ws-chat-closed p{margin:0 0 9px;color:#668096;font-size:13px}.ws-chat-closed button{border:0;background:transparent;color:#0788ca;cursor:pointer;font-weight:700}
.ws-chat-footer{padding:11px 16px 13px;border-top:1px solid #dcebf2;background:#fff;flex:0 0 auto;text-align:center}.ws-chat-footer>strong{display:block;margin-bottom:7px;color:#173951;font-size:13px}.ws-chat-qr-wrap{text-align:center}.ws-chat-qr-grid{display:grid;grid-template-columns:repeat(2,86px);justify-content:center;gap:12px}.ws-chat-qr-grid[data-qr-count="1"]{grid-template-columns:86px}.ws-chat-qr-item{display:block}.ws-chat-footer .ws-chat-qr-item img{display:block;width:86px;height:86px;padding:3px;border:1px solid #d9eaf2;border-radius:10px;object-fit:contain}.ws-chat-qr-wrap small{display:block;margin-top:5px;color:#168bc8}
.ws-chat-invite{position:fixed;right:24px;bottom:182px;z-index:18;width:min(310px,calc(100vw - 32px));padding:17px 42px 16px 18px;border:1px solid #bfe4f3;border-radius:18px;background:#fff;box-shadow:0 18px 45px rgba(5,75,116,.2);animation:ws-chat-rise .28s ease-out}.ws-chat-invite:after{position:absolute;right:27px;bottom:-9px;width:16px;height:16px;border-right:1px solid #bfe4f3;border-bottom:1px solid #bfe4f3;background:#fff;content:"";transform:rotate(45deg)}.ws-chat-invite strong,.ws-chat-invite span{display:block}.ws-chat-invite strong{font-size:15px;line-height:1.45}.ws-chat-invite span{margin-top:4px;color:#668096;font-size:12px;line-height:1.5}.ws-chat-invite-close{position:absolute;top:8px;right:9px;width:28px;height:28px;border:0;border-radius:50%;background:#f2f8fb;color:#587488;cursor:pointer;font-size:18px}.ws-chat-invite-action{margin-top:11px;padding:8px 17px;border:0;border-radius:99px;background:#0b91d4;color:#fff;cursor:pointer;font-weight:750}@keyframes ws-chat-rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.ws-chat-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.wecom-float[data-ws-chat-toggle]{overflow:visible}.wecom-float[data-ws-chat-toggle]:hover{width:64px!important;height:64px!important}.wecom-float[data-ws-chat-toggle]:hover .wecom-flip{transform:none!important}.wecom-float .ws-chat-icon-unread{position:absolute;top:-7px;right:-7px;z-index:3;display:grid;min-width:23px;height:23px;place-items:center;padding:0 5px;border:2px solid #fff;border-radius:99px;background:#f03e3e;color:#fff;font-size:11px;font-style:normal}
@media(prefers-reduced-motion:reduce){.ws-chat-auto-row{opacity:1;transform:none;animation:none}}
@media(max-width:600px){.ws-chat-panel{right:10px;bottom:76px;width:calc(100vw - 20px);max-height:calc(100vh - 88px)}.ws-chat-body{max-height:calc(100vh - 190px)}.ws-chat-invite{right:12px;bottom:154px;width:calc(100vw - 48px)}.ws-chat-auto-messages{padding:14px 16px 6px}.ws-chat-quick{padding:8px 16px 4px}.ws-chat-start{padding:10px 16px 16px}.ws-chat-messages{min-height:220px}.ws-chat-quick button{font-size:12px}}
.ws-chat-message-image{display:block;margin-top:8px}.ws-chat-message-image img{display:block;max-width:220px;max-height:220px;border-radius:12px;object-fit:contain;background:#fff}.ws-chat-image-button{display:inline-flex;align-items:center;justify-content:center;width:max-content;padding:7px 12px;border:1px solid #c9e2ef;border-radius:9px;color:#087fbd;background:#f5fbfe;cursor:pointer;font-size:13px}.ws-chat-image-button input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.ws-chat-image-preview{grid-column:1/-1;display:flex;align-items:center;gap:10px;padding:8px;border-radius:10px;background:#eef8fc}.ws-chat-image-preview[hidden]{display:none}.ws-chat-image-preview img{width:64px;height:64px;object-fit:cover;border-radius:8px}.ws-chat-image-preview button{border:0;background:transparent;color:#cf3345;cursor:pointer}.ws-chat-send-hint{grid-column:1/-1;color:#7892a2;font-size:12px}
.ws-chat-panel,.ws-chat-panel *{box-sizing:border-box}
/* One bounded panel; only the conversation track scrolls. */
.ws-chat-panel{z-index:1300;width:min(420px,calc(100vw - 32px));height:min(700px,calc(100dvh - 120px));max-height:none;border-radius:18px;box-shadow:0 16px 56px #163a5426;font-size:14px;line-height:1.5}
.ws-chat-panel>header{position:static;flex:0 0 auto;padding:14px 18px;background:#fff;gap:12px}
.ws-chat-panel>header button{flex:0 0 34px;background:#f3f7f9}
.ws-chat-body{display:flex;flex-direction:column;flex:1 1 0;min-height:0;max-height:none;overflow:hidden;background:#f5f8fa}
.ws-chat-messages,.ws-chat-history{flex:1 1 0;min-height:0;max-height:none;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#bdd0dc transparent;scrollbar-gutter:stable}
.ws-chat-messages{padding:16px;gap:16px}
.ws-chat-message{flex:0 0 auto;max-width:86%;min-width:0}
.ws-chat-message p,.ws-chat-auto-row p{box-shadow:none;border:1px solid #e5edf2}
.ws-chat-message.visitor p{background:#e4f3fc;border-color:#d6ebf8;color:#173951}
.ws-chat-message-image img{max-width:min(240px,100%);max-height:180px;height:auto;border:1px solid #e5edf2;border-radius:10px}
.ws-chat-start,.ws-chat-reply,.ws-chat-closed{flex:0 0 auto;margin:0;padding:12px 16px;background:#fff;border-top:1px solid #e6edf2;gap:8px;grid-template-columns:minmax(0,1fr) auto}
.ws-chat-start textarea,.ws-chat-reply textarea{grid-column:1;grid-row:1;min-height:58px;height:58px;max-height:58px;resize:none;font-size:14px;line-height:1.5;background:#f8fafc}
.ws-chat-start .ws-chat-primary,.ws-chat-reply .ws-chat-primary{grid-column:2;grid-row:1;width:auto;align-self:stretch;min-height:40px;border-radius:10px;padding:0 15px}
.ws-chat-contact-tip,.ws-chat-reply-tip{display:none}
.ws-chat-send-hint{font-size:11px;line-height:1.4}
.ws-chat-error:empty{display:none}
.ws-chat-image-preview{grid-row:2;margin:0;padding:6px;font-size:12px}
.ws-chat-image-preview img{width:36px;height:36px}
.ws-chat-panel>.ws-chat-footer{position:static;display:block;margin:0;padding:11px 16px 13px;border-top:1px solid #e6edf2;text-align:center}
.ws-chat-footer>strong{margin:0 0 7px;font-size:13px;font-weight:700}
.ws-chat-qr-grid{grid-template-columns:repeat(2,86px);gap:12px}
.ws-chat-qr-grid[data-qr-count="1"]{grid-template-columns:86px}
.ws-chat-footer .ws-chat-qr-item img{width:86px;height:86px;padding:3px;border-radius:10px}
.ws-chat-qr-wrap small{font-size:13px;color:#168bc8;margin-top:5px}
.ws-chat-quick{padding-bottom:16px}
.ws-chat-panel button:focus-visible,.ws-chat-messages:focus-visible,.ws-chat-history:focus-visible{outline:2px solid #0b91d4;outline-offset:-2px}
@media(max-width:600px){
 .ws-chat-panel{right:8px;bottom:max(8px,env(safe-area-inset-bottom));width:calc(100vw - 16px);height:min(700px,calc(100dvh - 16px));border-radius:16px}
 .ws-chat-panel>header{padding:12px 14px}
 .ws-chat-start textarea,.ws-chat-reply textarea{font-size:16px}
 .ws-chat-panel>.ws-chat-footer{padding:10px 16px}
}
@media(max-height:560px){
 .ws-chat-panel{bottom:8px;height:calc(100dvh - 16px)}
 .ws-chat-panel>header{padding:8px 14px}
 .ws-chat-panel header span{display:none}
 .ws-chat-panel>.ws-chat-footer{padding:6px 16px}
 .ws-chat-start,.ws-chat-reply{padding:8px 12px;gap:4px}
 .ws-chat-start textarea,.ws-chat-reply textarea{height:44px;min-height:44px;max-height:44px;padding:8px}
 .ws-chat-send-hint{display:none}
 .ws-chat-image-preview{padding:2px 6px}
 .ws-chat-image-preview img{width:24px;height:24px}
}
.wecom-float.ws-chat-universal-launch{position:fixed;right:24px;bottom:24px;z-index:1090;display:grid;place-items:center;width:64px;height:64px;padding:5px;border:0;border-radius:20px;background:#fff;box-shadow:0 8px 32px #12314826;cursor:pointer}
.wecom-float.ws-chat-universal-launch img{display:block;width:100%;height:100%;object-fit:contain}
@media(max-width:600px){.wecom-float.ws-chat-universal-launch{right:14px;bottom:18px}}

/* Approved WhaleShot chat interface, isolated from site styles. */
#wsChatPanel{--blue:#2475b5;--ink:#16324c;--muted:#7c8d9c;--line:#e7edf3;--pale:#edf4fa}#wsChatPanel *{box-sizing:border-box}#wsChatPanel{margin:0;background:#edf3f8;font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;color:var(--ink);font-size:14px}#wsChatPanel button,#wsChatPanel input,#wsChatPanel textarea{font:inherit}#wsChatPanel button{cursor:pointer}#wsChatPanel button:focus-visible,#wsChatPanel textarea:focus-visible,#wsChatPanel input:focus-visible{outline:2px solid #2475b5;outline-offset:3px}#wsChatPanel button{color:inherit}#wsChatPanel .preview-bar{height:62px;max-width:1040px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:0 24px;color:#667e91;font-size:12px}#wsChatPanel .preview-bar strong{font-size:13px;color:#36576e;font-weight:500}#wsChatPanel .preview-bar button{border:0;background:transparent;color:#2475b5;padding:8px}#wsChatPanel .scene{display:flex;justify-content:center;padding:10px 20px 30px}#wsChatPanel{width:440px;height:min(810px,calc(100dvh - 100px));min-height:600px;display:flex;flex-direction:column;background:#f4f7fa;border:1px solid #dde7ef;border-radius:24px;overflow:hidden;box-shadow:0 24px 65px #173f5b16}#wsChatPanel .chat-header{padding:23px 22px 20px;background:linear-gradient(120deg,#e4f2fd,#f8fbff);display:flex;align-items:center;gap:12px;border-bottom:1px solid #e3edf5}#wsChatPanel .brand-logo{width:48px;height:48px;border-radius:50%;background:white;padding:3px;flex-shrink:0}#wsChatPanel .brand-text{flex:1;min-width:0}#wsChatPanel .brand-text h1{font-size:20px;line-height:1.4;margin:0 0 4px;letter-spacing:.3px}#wsChatPanel .brand-text p{margin:0;color:#71899c;font-size:12px}#wsChatPanel .header-action{background:#ffffff9c;border:1px solid #d9e7f2;width:32px;height:32px;display:grid;place-items:center;border-radius:50%}#wsChatPanel .header-action svg{width:16px;height:16px}#wsChatPanel svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}#wsChatPanel .body{flex:1;min-height:0;overflow:auto;padding:18px 18px 22px;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:#cedde8 transparent}#wsChatPanel .service-card{background:#fff;border:1px solid #e8eff5;border-radius:16px;padding:16px;margin-bottom:20px}#wsChatPanel .service-heading{font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}#wsChatPanel .service-heading span:last-child{font-size:11px;font-weight:400;color:#8a9caa}#wsChatPanel .services{display:grid;grid-template-columns:1fr 1fr;gap:7px 10px}#wsChatPanel .service{display:flex;align-items:center;gap:7px;color:#506e84;font-size:12px;padding:3px 0}#wsChatPanel .service svg{width:15px;height:15px;color:var(--blue)}#wsChatPanel .service-foot{border-top:1px solid #eef2f6;padding-top:11px;margin-top:13px;color:#7c8d9b;font-size:11px;display:flex;align-items:center;justify-content:space-between}#wsChatPanel .service-foot button{font-size:11px;border:0;background:transparent;color:var(--blue);padding:0}#wsChatPanel .timestamp{font-size:11px;color:#9aa8b3;text-align:center;margin:0 0 17px}#wsChatPanel .message{display:flex;align-items:flex-start;gap:8px;margin-bottom:16px}#wsChatPanel .avatar{width:30px;height:30px;border-radius:50%;background:#fff;padding:3px;flex-shrink:0;border:1px solid #e7eef4}#wsChatPanel .bubble{background:#fff;border:1px solid #eaf0f5;border-radius:3px 16px 16px 16px;padding:13px 14px;font-size:14px;line-height:1.8;max-width:calc(100% - 38px);white-space:pre-line;overflow-wrap:anywhere}#wsChatPanel .bubble strong{font-weight:600}#wsChatPanel .bubble .hello{font-size:15px;display:block;margin-bottom:7px}#wsChatPanel .message.user{justify-content:flex-end;margin-left:34px}#wsChatPanel .message.user .bubble{background:#ddebfa;border:0;border-radius:16px 3px 16px 16px;max-width:100%;padding:10px 15px}#wsChatPanel .quick-title{margin:2px 0 9px 38px;color:#91a0ad;font-size:11px}#wsChatPanel .quick-options{margin:0 0 18px 38px;display:grid;grid-template-columns:1fr 1fr;gap:8px}#wsChatPanel .quick-options button{display:flex;align-items:center;justify-content:space-between;text-align:left;background:white;border:1px solid #dce8f2;border-radius:9px;padding:11px 10px;font-size:12px;color:#365e7d;transition:background .2s}#wsChatPanel .quick-options button:hover{background:#eaf3fc;border-color:#b1cfe6}#wsChatPanel .quick-options svg{width:12px;height:12px;color:#8aa6bc}#wsChatPanel .composer{background:#fff;border-top:1px solid #e7edf3;padding:12px 18px 14px}#wsChatPanel .contact-actions{display:flex;gap:9px;margin-bottom:12px}#wsChatPanel .contact-actions button{display:flex;align-items:center;gap:6px;padding:7px 11px;border:1px solid #e2eaf1;background:#fff;border-radius:8px;color:#526d81;font-size:12px}#wsChatPanel .contact-actions button:hover{border-color:#2475b5;color:#2475b5}#wsChatPanel .contact-actions svg{width:16px;height:16px}#wsChatPanel .input-row{display:flex;gap:10px;align-items:flex-end}#wsChatPanel .input-wrap{flex:1;background:#f3f6f9;border:1px solid #e8edf2;border-radius:11px;display:flex;align-items:center;padding:10px 12px}#wsChatPanel .input-wrap textarea{width:100%;resize:none;border:0;background:transparent;outline:0!important;color:#16324c;line-height:1.5;font-size:14px;height:22px;max-height:90px}#wsChatPanel .input-wrap textarea::placeholder{color:#9aa8b3}#wsChatPanel .send{width:43px;height:43px;border:0;border-radius:11px;background:var(--blue);color:white;display:grid;place-items:center}#wsChatPanel .send:disabled{background:#c3d7e7;cursor:default}#wsChatPanel .send svg{width:20px;height:20px}#wsChatPanel .preview-note{font-size:10px;text-align:center;color:#a0adb8;margin-top:10px}#wsChatPanel .backdrop{position:fixed;inset:0;background:#0c253e60;display:grid;place-items:center;z-index:10;padding:20px;backdrop-filter:blur(3px)}#wsChatPanel [hidden]{display:none!important}#wsChatPanel .sheet{position:relative;width:340px;max-width:100%;border-radius:20px;background:white;padding:28px;text-align:center;box-shadow:0 20px 80px #16324c30}#wsChatPanel .sheet h2{font-size:19px;margin:0 0 10px}#wsChatPanel .sheet p{font-size:13px;color:#748b9c;line-height:1.8;margin:8px 0}#wsChatPanel .sheet .qr{width:204px;height:204px;max-width:100%;object-fit:contain;border:1px solid var(--line);padding:8px;border-radius:12px;margin:12px auto}#wsChatPanel .close{position:absolute;right:10px;top:10px;width:30px;height:30px;display:grid;place-items:center;background:#f3f6f9;border:0;border-radius:50%}#wsChatPanel .close svg{width:15px;height:15px}#wsChatPanel .sheet form{text-align:left;margin-top:18px}#wsChatPanel .sheet label{display:block;font-size:12px;color:#526e84;margin-bottom:6px}#wsChatPanel .sheet input{display:block;width:100%;padding:11px;border:1px solid #dce5ed;border-radius:8px;margin-bottom:14px;outline:0}#wsChatPanel .sheet .submit{width:100%;padding:12px;border:0;background:var(--blue);color:white;border-radius:9px}#wsChatPanel .form-note{font-size:10px!important;color:#9ba8b2!important}#wsChatPanel .toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);max-width:90vw;background:#16324c;color:white;font-size:12px;padding:12px 18px;border-radius:10px;z-index:20;box-shadow:0 5px 30px #16324c30}#wsChatPanel .minimized{position:fixed;bottom:32px;right:32px;border:0;border-radius:50%;width:64px;height:64px;background:#2475b5;color:white;box-shadow:0 10px 25px #2475b540}#wsChatPanel .minimized svg{width:28px;height:28px}
@media(max-width:540px){#wsChatPanel{background:#f4f7fa}#wsChatPanel .preview-bar{height:35px;padding:0 14px;font-size:10px;background:#f8fbfd}#wsChatPanel .preview-bar strong{font-size:10px}#wsChatPanel .preview-bar button{font-size:10px;padding:4px}#wsChatPanel .scene{padding:0;display:block}#wsChatPanel{width:100%;height:calc(100dvh - 35px);min-height:0;border:0;border-radius:0;box-shadow:none}#wsChatPanel .chat-header{padding:18px 18px 17px}#wsChatPanel .brand-text h1{font-size:19px}#wsChatPanel .body{padding:16px}#wsChatPanel .service-card{padding:14px;margin-bottom:18px}#wsChatPanel .bubble{font-size:14px}#wsChatPanel .composer{padding:12px 16px max(14px,env(safe-area-inset-bottom))}#wsChatPanel .preview-note{margin-top:8px}#wsChatPanel .brand-logo{width:44px;height:44px}#wsChatPanel .quick-options button{font-size:12px;padding:11px 9px}}@media(prefers-reduced-motion:reduce){#wsChatPanel *{scroll-behavior:auto!important;transition:none!important}}#wsChatPanel .wechat-cta{display:flex;align-items:center;justify-content:center;gap:5px;width:100%;margin-top:13px;padding:10px 8px;border:0;border-radius:8px;background:#2475b5;color:#fff;font-size:12px;line-height:1.5;font-weight:500;white-space:normal}#wsChatPanel .wechat-cta svg{width:13px;height:13px}#wsChatPanel .cta-note{display:block;color:#96a5b2;font-size:10px;text-align:center;margin-top:6px}#wsChatPanel .contact-actions [data-kf]{order:-1}#wsChatPanel .contact-actions [data-kf]:hover{background:#1c639b;color:#fff}#wsChatPanel .brand-text p{line-height:1.65;max-width:100%;overflow-wrap:anywhere}#wsChatPanel .service-heading{font-size:13px;line-height:1.65;margin-bottom:12px}#wsChatPanel .chat-header{align-items:center}#wsChatPanel .service{line-height:1.6}#wsChatPanel .quick-options button:last-child:nth-child(3){grid-column:1 / -1}#wsChatPanel .contact-actions button{transition:background .18s ease,color .18s ease,border-color .18s ease}#wsChatPanel .contact-actions button:hover,#wsChatPanel .contact-actions button:active,#wsChatPanel .contact-actions button.is-selected{background:#2475b5!important;color:#fff!important;border-color:#2475b5!important}#wsChatPanel .contact-actions button .wechat-icon{fill:none;background:transparent;width:19px;height:19px;stroke-width:1.45}#wsChatPanel .contact-actions button:focus-visible{outline:2px solid #8bb8db;outline-offset:3px}

@media(max-width:420px){#wsChatPanel .contact-actions{gap:6px}#wsChatPanel .contact-actions button{padding:7px 8px;font-size:11px;gap:5px}#wsChatPanel .contact-actions button .wechat-icon{width:17px;height:17px}}#wsChatPanel /* Hover takes precedence over the previously selected entry. */
.contact-actions:has(button:hover) button:not(:hover){background:#fff!important;color:#526d81!important;border-color:#e2eaf1!important}

#wsChatPanel{position:fixed;right:24px;bottom:100px;z-index:1300;width:440px;max-width:calc(100vw - 32px);height:min(810px,calc(100dvh - 125px));min-height:0;max-height:none;display:flex;flex-direction:column;font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;color:#16324c;--blue:#2475b5;--ink:#16324c;--muted:#7c8d9c;--line:#e7edf3;--pale:#edf4fa}
#wsChatPanel[hidden]{display:none!important}#wsChatPanel .ws-chat-body{display:flex;flex-direction:column;flex:1;min-height:0;max-height:none;overflow:hidden;background:#f4f7fa}
#wsChatPanel .body{display:block;flex:1;min-height:0;max-height:none;overflow:auto;scrollbar-gutter:auto}
#wsChatPanel .ws-chat-history,#wsChatPanel .ws-chat-messages{padding:18px;min-height:0}
#wsChatPanel .composer{flex:0 0 auto;position:static;padding:12px 18px 14px;border-top:1px solid #e7edf3;background:#fff}
#wsChatPanel .composer form{display:block;margin:0;padding:0;border:0;background:transparent}
#wsChatPanel .input-row{display:flex;gap:10px;align-items:flex-end}
#wsChatPanel .input-wrap textarea{height:24px;min-height:24px;max-height:90px;padding:0;border:0;border-radius:0;font-size:14px;resize:none;background:transparent;box-shadow:none}
#wsChatPanel .send{flex:0 0 43px;padding:0}#wsChatPanel .send:disabled{opacity:.55;cursor:wait}
#wsChatPanel .chat-header{display:flex;align-items:center;justify-content:flex-start;flex:0 0 auto;padding:23px 22px 20px;background:linear-gradient(120deg,#e4f2fd,#f8fbff)}
#wsChatPanel .chat-header .header-action{width:32px;height:32px;flex:0 0 32px;padding:0;border:1px solid #d9e7f2;background:#ffffff9c}
#wsChatPanel .chat-header span{display:inline;margin:0}#wsChatPanel .contact-actions{margin-bottom:12px}#wsChatPanel .bubble{font-size:14px;line-height:1.8;text-align:left}
#wsChatPanel .chat-time{display:block;font-size:10px;line-height:1.5;color:#93a3b0;margin-top:6px}
#wsChatPanel .live-chat-tip{display:block;font-size:10px;text-align:center;color:#96a5b2;margin-top:8px;line-height:1.6}
#wsChatPanel .ws-chat-error:not(:empty){margin-top:8px;line-height:1.5}
.ws-live-qr{width:min(360px,calc(100vw - 36px));padding:28px;border:0;border-radius:18px;background:#fff;color:#16324c;text-align:center;box-shadow:0 20px 80px #16324c30;font-family:"Microsoft YaHei","PingFang SC",sans-serif}
.ws-live-qr::backdrop{background:#0c253e60;backdrop-filter:blur(3px)}.ws-live-qr h2{font-size:19px;margin:0 0 12px}.ws-live-qr p{font-size:13px;line-height:1.7;color:#748b9c}.ws-live-qr [data-ws-chat-qr-close]{position:absolute;right:10px;top:10px;border:0;border-radius:50%;width:30px;height:30px;background:#f3f6f9;color:#526d81;font-size:22px;cursor:pointer}
.ws-live-qr .ws-chat-qr-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ws-live-qr .ws-chat-qr-grid[data-qr-count="1"]{grid-template-columns:1fr}.ws-live-qr .ws-chat-qr-item img{display:block;width:100%;max-width:220px;aspect-ratio:1;object-fit:contain;margin:auto;padding:6px;border:1px solid #e7edf3;border-radius:10px}
@media(max-width:600px){#wsChatPanel{right:8px;bottom:max(8px,env(safe-area-inset-bottom));width:calc(100vw - 16px);max-width:none;height:calc(100dvh - 16px);min-height:0;border-radius:18px}#wsChatPanel .chat-header{padding:16px}#wsChatPanel .ws-chat-history,#wsChatPanel .ws-chat-messages{padding:16px}#wsChatPanel .composer{padding:12px 14px max(14px,env(safe-area-inset-bottom))}#wsChatPanel .contact-actions{gap:6px}#wsChatPanel .contact-actions button{padding:7px 7px;font-size:11px;gap:4px}#wsChatPanel .input-wrap textarea{font-size:16px}}
@media(max-height:560px){#wsChatPanel{bottom:8px;height:calc(100dvh - 16px)}#wsChatPanel .chat-header{padding:10px 14px}#wsChatPanel .composer{padding:8px 12px}#wsChatPanel .live-chat-tip{display:none}}
