#ec-chat{--ec-ink:#243c5b;--ec-muted:#708099;--ec-line:#e3eaf1;--ec-blue:#294c77;font:14px/1.7 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC",sans-serif;color:var(--ec-ink);position:fixed;right:24px;bottom:24px;z-index:10020;text-align:left;letter-spacing:normal}#ec-chat *{box-sizing:border-box}#ec-chat [hidden]{display:none!important}#ec-chat button,#ec-chat input,#ec-chat textarea{font:inherit;letter-spacing:normal;text-transform:none}#ec-chat button{cursor:pointer;border:0;background:none;color:inherit;padding:0;box-shadow:none;margin:0}#ec-chat button:disabled{opacity:.5;cursor:default}#ec-chat button:focus-visible,#ec-chat textarea:focus-visible,#ec-chat input:focus-visible,#ec-chat a:focus-visible{outline:3px solid #a6c4e5;outline-offset:3px}#ec-chat .ec-launcher{display:flex;align-items:center;gap:10px;background:#29476b;color:#fff;border:1px solid #ffffff40;border-radius:18px;padding:13px 18px;box-shadow:0 8px 28px #15355330;font-weight:500}#ec-chat .ec-dot{min-width:20px;background:#b64851;border:2px solid #29476b;color:white;border-radius:12px;padding:0 5px;font-size:11px;position:absolute;right:-5px;top:-5px}#ec-chat .ec-panel{position:absolute;bottom:70px;right:0;width:404px;height:min(662px,calc(100dvh - 122px));min-height:300px;background:#fff;border:1px solid #dbe5ef;border-radius:22px;box-shadow:0 24px 80px #17355128;display:flex;flex-direction:column;overflow:hidden;animation:ec-open .18s ease-out}#ec-chat .ec-head{padding:22px 20px 17px;display:flex;align-items:center;gap:12px;background:linear-gradient(130deg,#f3f7fc,#fff)}#ec-chat .ec-brand-icon{width:44px;height:44px;border-radius:14px;background:#29476b;color:#fff;display:grid;place-items:center;flex:none}#ec-chat .ec-brand{flex:1;min-width:0}#ec-chat .ec-title{font-size:18px;font-weight:650;letter-spacing:.4px}#ec-chat .ec-subtitle{font-size:11px;color:var(--ec-muted);margin-top:2px}#ec-chat .ec-head .ec-hide{font-size:24px;font-weight:300;line-height:1;width:30px;height:30px;border-radius:9px;color:#8292a5;background:#eef3f8}#ec-chat .ec-presence{display:flex;align-items:center;gap:6px;padding:0 20px 14px;font-size:11px;color:#687d95;border-bottom:1px solid var(--ec-line)}#ec-chat .ec-presence-dot{width:6px;height:6px;background:#459b83;border-radius:50%;flex:none}#ec-chat .ec-presence-dot.offline{background:#a5afbc}#ec-chat .ec-brand-en{margin-left:auto;font-size:8px;letter-spacing:1px;color:#93a3b6}#ec-chat .ec-log{flex:1;min-height:0;overflow:auto;padding:18px;background:#f7f9fc;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d8e2ec transparent}#ec-chat .ec-msg{margin:0 0 16px;max-width:94%;overflow-wrap:anywhere}#ec-chat .ec-msg small{display:block;color:#8492a4;font-size:10px;margin:0 0 5px 2px}#ec-chat .ec-msg p{margin:0;padding:13px 15px;border-radius:3px 14px 14px;background:white;border:1px solid #e4eaf2;font:inherit;color:inherit;white-space:pre-wrap;line-height:1.85;letter-spacing:normal}#ec-chat .ec-msg a{color:#315c8a;text-decoration:none;border-bottom:1px solid #b4c7dd;padding-bottom:1px}#ec-chat .ec-msg.visitor{margin-left:auto}#ec-chat .ec-msg.visitor small{text-align:right;margin-right:3px}#ec-chat .ec-msg.visitor p{background:#e8f0fa;border-color:#dbe7f5;border-radius:14px 3px 14px 14px}#ec-chat .ec-msg.system{max-width:100%;text-align:center}#ec-chat .ec-msg.system small{display:none}#ec-chat .ec-msg.system p{background:transparent;border:0;padding:3px 8px;font-size:11px;color:var(--ec-muted)}#ec-chat .ec-faqs{padding:14px;background:#fff;border:1px solid var(--ec-line);border-radius:14px;margin:4px 0 12px}#ec-chat .ec-faq-heading{font-size:12px;color:#6d819b;margin-bottom:10px}#ec-chat .ec-faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}#ec-chat .ec-faq-grid button{font-size:11px;line-height:1.6;padding:10px;border:1px solid #e5edf6;background:#f8fafd;border-radius:9px;text-align:left;transition:background .15s}#ec-chat .ec-faq-grid button:hover{background:#eaf1fa;border-color:#cbdcf0}#ec-chat .ec-faq-grid p{font-size:12px;color:var(--ec-muted);grid-column:1/-1}#ec-chat .ec-faqs input{width:100%;margin-bottom:12px;border:1px solid #dce5ef;border-radius:8px;padding:8px;background:#fff;color:var(--ec-ink);font-size:12px}#ec-chat .ec-faq-more{font-size:11px;color:#45668b;margin-top:12px}#ec-chat .ec-actions{display:flex;gap:6px;align-items:center;padding:11px 14px 0;flex-wrap:wrap}#ec-chat .ec-actions button,#ec-chat .ec-actions a{font:inherit;font-size:11px;padding:5px 9px;border:1px solid #e3eaf2;border-radius:7px;background:#fff;color:#61758e;text-decoration:none}#ec-chat .ec-actions .ec-human{margin-left:auto;background:#edf3fb;border-color:#dce7f5;color:#31547c}#ec-chat .ec-form{display:flex;gap:8px;padding:10px 14px 0;align-items:flex-end;flex:none}#ec-chat textarea{width:100%;min-width:0;height:70px;resize:none;background:#f8fafd;color:var(--ec-ink);border:1px solid #e2e9f1;border-radius:11px;padding:11px 12px;line-height:1.6;font-size:13px}#ec-chat textarea::placeholder{color:#9aa7b7}#ec-chat .ec-send{background:#29476b;color:#fff;align-self:stretch;min-width:50px;border-radius:10px;padding:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;font-size:11px}#ec-chat .ec-send span:last-child{font-size:20px;line-height:1}#ec-chat .ec-notice{font:9px/1.7 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#94a0af;margin:9px 15px 13px;letter-spacing:normal;text-transform:none}#ec-chat .ec-notice a{color:#758ba5;text-decoration:underline;white-space:nowrap}#ec-chat .ec-error{font-size:11px;color:#b54953;padding:7px 15px 0;overflow-wrap:anywhere}#ec-chat .ec-error:empty{display:none}body:has(#ec-chat) .ui-to-top{right:174px;bottom:25px}@keyframes ec-open{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@media(max-width:500px){#ec-chat{right:14px;bottom:max(14px,env(safe-area-inset-bottom))}#ec-chat .ec-panel{width:calc(100vw - 28px);height:min(660px,calc(100dvh - 100px));bottom:67px;border-radius:19px}#ec-chat .ec-head{padding:17px 16px 13px}#ec-chat .ec-presence{padding:0 16px 12px}#ec-chat .ec-log{padding:14px}#ec-chat .ec-launcher{padding:12px 16px;border-radius:15px}#ec-chat .ec-brand-en{font-size:7px}#ec-chat .ec-faq-grid button{font-size:11px}body:has(#ec-chat) .ui-to-top{right:155px;bottom:14px}}@media(prefers-reduced-motion:reduce){#ec-chat .ec-panel{animation:none}}
