:root{color:#252c29;font-synthesis:none;--green:#247b61;--muted:#89918b;--line:#e8ece7;--yellow:#ffd674;background:#f7f8f5;font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,sans-serif;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit;background:0 0;border:0}button:disabled{cursor:default;opacity:.42}button,select,textarea,input,a{outline-offset:4px}button:focus-visible,select:focus-visible,textarea:focus-visible,input:focus-visible{outline:2px solid var(--green)}[hidden]{display:none!important}button,select{touch-action:manipulation}a{color:inherit;text-decoration:none}svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px}.demo-app{max-width:1456px;margin:auto;padding:0 44px}.app-header{border-bottom:1px solid #e5e9e3;justify-content:space-between;align-items:center;height:88px;display:flex}.wordmark{letter-spacing:-.5px;align-items:center;gap:10px;font-size:19px;font-weight:750;display:flex}.brand-icon{background:var(--yellow);border-radius:10px;place-items:center;width:32px;height:32px;font-size:21px;font-weight:850;display:grid}.brand-divider{background:#d9ded8;width:1px;height:20px;margin:0 8px}.product-name{letter-spacing:1px;font-size:14px;font-weight:500}.header-actions{align-items:center;gap:24px;display:flex}.chain{color:#6f7971;align-items:center;gap:6px;font-size:12px;display:flex}.chain i,.inbox-footer i{background:#4e9d72;border-radius:50%;width:5px;height:5px}.plain{color:#667168;border:1px solid var(--line);background:#fff;border-radius:8px;padding:9px 13px;font-size:12px}.intro{justify-content:space-between;align-items:center;gap:20px;padding:32px 0 30px;display:flex}.eyebrow{color:#819080;letter-spacing:2px;font-size:10px;font-weight:650}h1{letter-spacing:.7px;margin:9px 0;font-size:28px;font-weight:630}p{margin:0}.intro p{color:#919990;font-size:13px}.lifecycle{color:#7c877b;white-space:nowrap;align-items:center;gap:12px;font-size:11px;display:flex}.lifecycle span{background:#fbfcf9;border:1px solid #e1e7dc;border-radius:20px;padding:7px 13px}.lifecycle i{color:#adb6a7;font-style:normal}#error:empty{display:none}#error{color:#9e543b;background:#fff1ea;border:1px solid #f1d6c9;border-radius:12px;margin-bottom:18px;padding:13px 18px;line-height:1.6}#start-card{background:#f0f4e9;border:1px solid #dee8d4;border-radius:16px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px;padding:20px 24px;display:flex}#start-card strong{font-size:14px;font-weight:600}#start-card p{color:#7c8974;margin-top:5px;font-size:12px}.primary{background:var(--green);color:#fff;border:1px solid var(--green);white-space:nowrap;border-radius:9px;padding:10px 16px;font-size:12px}.primary:hover:not(:disabled){background:#1c694f}.secondary{border:1px solid var(--line);background:#fff;border-radius:8px;padding:9px 13px;font-size:12px}.subtle{color:#7f8a7f;border-radius:5px;padding:5px;font-size:11px}.subtle:hover:not(:disabled){color:var(--green);background:#edf2e8}.workspace{grid-template-columns:340px minmax(0,1fr);gap:28px;display:grid}.panel-label{color:#667466;justify-content:space-between;align-items:center;gap:8px;height:40px;padding-bottom:13px;font-size:12px;font-weight:550;display:flex}.panel-label>span,.panel-label>div{align-items:center;gap:8px;display:flex}.small-dot{background:#f0bb5c;border-radius:50%;width:6px;height:6px;display:inline-block}.agent-dot{background:#6aaf85}.agent-name{color:#758375;font-size:11px;font-weight:400}.connection{color:#a3aaa0;white-space:nowrap;font-size:10px}.connection.online{color:#408967}.phone{background:#fff;border:1px solid #e0e6dc;border-radius:30px;flex-direction:column;height:654px;padding:0 17px;display:flex;overflow:hidden;box-shadow:0 12px 24px -18px #647d5147}.phone-camera{background:#e0e5dc;border-radius:10px;flex-shrink:0;width:52px;height:5px;margin:14px auto 13px}.visitor-selector{border-bottom:1px solid #f0f2ee;align-items:center;gap:9px;padding-bottom:13px;display:flex}.person-avatar{color:#7b6952;background:#f6eee2;border-radius:12px;flex-shrink:0;place-items:center;width:35px;height:35px;font-size:14px;font-weight:550;display:grid}.visitor-selector label{color:#a0a699;margin-bottom:2px;font-size:9px;display:block}.visitor-selector select{color:#53604e;background:0 0;border:0;max-width:140px;padding:0;font-size:12px;font-weight:600}.visitor-selector>.connection{margin-left:auto}.customer-chat-header{align-items:center;gap:9px;padding:15px 0 10px;display:flex}.bot-avatar{flex-shrink:0;width:39px;height:39px;display:block}.bot-avatar svg,.welcome-bot svg{stroke:none;width:100%;height:100%}.customer-chat-header h2{margin:0 0 5px;font-size:13px;font-weight:600}.customer-chat-header p{color:#859082;font-size:10px}.handoff{color:#5d8352;white-space:nowrap;background:#f8fbf5;border:1px solid #dce8d7;border-radius:8px;margin-left:auto;padding:7px 10px;font-size:10px}.customer-history{text-align:center;padding:0 0 6px}.customer-history select{color:#adb4a8;background:0 0;border:0;max-width:100%;font-size:10px}.chat-messages{scrollbar-width:thin;scrollbar-color:#dfe6dc transparent;overscroll-behavior:contain;flex:1;min-height:0;padding:15px 0;overflow-y:auto}.welcome{text-align:center;color:#8b9586;flex-direction:column;justify-content:center;align-items:center;height:100%;padding-bottom:24px;display:flex}.welcome-bot{width:76px;height:76px;margin-bottom:13px;display:block}.welcome h3{color:#677862;margin:0 0 9px;font-size:16px;font-weight:500}.welcome p{font-size:12px;line-height:1.9}.chat-hint{color:#91a08a;min-height:18px;padding:5px 0;font-size:10px;line-height:1.5}.question-chips{gap:7px;padding:4px 0 10px;display:flex}.question-chips button{color:#7a8771;background:#f5f7f1;border:1px solid #e8eddf;border-radius:16px;padding:6px 11px;font-size:10px}.composer{background:#fff;border:1px solid #e8ece5;border-radius:13px;align-items:center;gap:10px;padding:8px 9px 8px 12px;display:flex}.composer textarea{resize:none;color:#394637;background:0 0;border:0;outline:none;flex:1;width:0;min-width:0;padding:4px 0;font-size:12px;line-height:1.6}.composer textarea::placeholder{color:#b2b9ac}.composer button{background:var(--yellow);color:#63522b;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;gap:5px;width:31px;height:31px;padding:6px;display:flex}.composer svg{width:18px;height:18px}.phone-home{background:#e0e6dc;border-radius:10px;flex-shrink:0;width:80px;height:4px;margin:12px auto 10px}.new-consultation{text-align:center;color:var(--green);background:#f1f6ec;border-radius:11px;padding:12px;font-weight:600}.workbench{background:#fff;border:1px solid #e0e6dc;border-radius:18px;grid-template-columns:235px minmax(0,1fr);height:654px;display:grid;overflow:hidden;box-shadow:0 12px 24px -18px #647d5124}.inbox{border-right:1px solid var(--line);background:#fdfefb;flex-direction:column;min-width:0;min-height:0;display:flex}.inbox-heading{align-items:center;gap:7px;padding:24px 18px 16px;display:flex}.inbox-heading h2{margin:0;font-size:16px;font-weight:600}.inbox-heading>span{color:#8a977f;background:#edf2e9;border-radius:5px;padding:2px 5px;font-size:10px}.inbox-tabs{border-bottom:1px solid #f0f2ec;gap:1px;padding:0 10px 14px;display:flex}.inbox-tabs button{color:#99a38f;white-space:nowrap;border-radius:7px;padding:6px 8px;font-size:11px}.inbox-tabs button.active{color:#648e4f;background:#edf4e7}.inbox-tabs b{font-size:9px;font-weight:500}.inbox-footer{border-top:1px solid var(--line);color:#a8b09f;align-items:center;gap:6px;padding:13px 18px;font-size:9px;display:flex}#room-list{scrollbar-width:thin;flex:1;min-height:0;overflow-y:auto}.room-item{text-align:left;border-bottom:1px solid #f0f3eb;border-left:3px solid #0000;align-items:flex-start;gap:10px;width:100%;padding:18px 14px;display:flex}.room-item.selected{background:#f0f5e9;border-left-color:#7da269}.room-item:hover{background:#f4f7ee}.room-item .person-avatar{border-radius:10px;width:32px;height:32px;font-size:12px}.room-copy{flex:1;min-width:0;display:block}.room-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.room-top strong{font-size:12px;font-weight:600}.room-top small{color:#a5ae9d;font-size:9px}.room-preview{color:#99a48e;text-overflow:ellipsis;white-space:nowrap;margin:7px 0 9px;font-size:10px;display:block;overflow:hidden}.room-badge{color:#839672;background:#edf3e7;border:1px solid #e5eddd;border-radius:4px;padding:2px 5px;font-size:9px}.room-badge[data-status=waiting]{color:#ae853a;background:#fff6df;border-color:#f4e7c7}.room-badge[data-status=human]{color:#448268;background:#eaf5ee;border-color:#d9ecde}.room-badge[data-status=closed]{color:#a1a79b;background:#f4f5f1;border-color:#e9ebe3}.list-placeholder{text-align:center;color:#b1b9a9;padding:55px 15px;font-size:11px}.list-placeholder svg{stroke:#c4ceb7;width:38px;height:38px;margin-bottom:15px}.empty-list{text-align:center;color:#a9b2a1;padding:35px 15px;font-size:11px}.agent-conversation{flex-direction:column;min-width:0;min-height:0;padding:0 22px 18px;display:flex}.agent-chat-header{border-bottom:1px solid var(--line);align-items:center;gap:10px;min-height:80px;padding:21px 0 19px;display:flex}.agent-chat-header h2{margin:0 0 4px;font-size:14px;font-weight:600}.agent-chat-header p{color:#99a58f;font-size:10px}.agent-controls{gap:6px;margin-left:auto;display:flex}.agent-controls button{padding:8px 11px;font-size:10px}.agent-conversation .chat-messages{padding:16px 2px}.agent-welcome{text-align:center;flex-direction:column;justify-content:center;align-items:center;height:100%;padding-bottom:24px;display:flex}.support-illustration{color:#779b57;width:130px;height:92px;margin-bottom:22px;position:relative}.support-illustration i{background:#edf4e6;border:1px solid #dbe8cf;border-radius:16px;width:100px;height:61px;display:block;position:absolute;top:15px;left:12px}.support-illustration i:after{content:"";background:#edf4e6;border-bottom:1px solid #dbe8cf;border-right:1px solid #dbe8cf;width:18px;height:18px;position:absolute;bottom:-10px;left:23px;transform:skewY(-35deg)}.support-illustration span{z-index:1;font-size:42px;position:absolute;top:20px;left:46px}.support-illustration b{z-index:2;color:#81733f;background:#ffda78;border-radius:12px;place-items:center;width:36px;height:36px;font-size:24px;font-weight:400;display:grid;position:absolute;top:-1px;right:-3px;transform:rotate(10deg)}.agent-welcome h3{color:#849275;margin:0 0 13px;font-size:14px;font-weight:500}.agent-welcome p{color:#b0b9a6;font-size:11px;line-height:1.9}.quick-replies{color:#a3ad98;flex-wrap:wrap;align-items:center;gap:7px;padding:7px 0 10px;font-size:10px;display:flex}.quick-replies button{color:#889979;background:#fafbf7;border:1px solid #e7ecdf;border-radius:5px;padding:5px 7px;font-size:10px}.agent-conversation .composer{background:#fcfdf9;align-items:flex-end;min-height:79px;padding:10px 12px}.agent-conversation .composer button{background:var(--green);color:#fff;width:auto;height:31px;padding:7px 12px;font-size:11px}.message{flex-direction:column;align-items:flex-start;padding:0 0 14px;display:flex}.message.own{align-items:flex-end}.message-author{color:#9da795;margin-bottom:4px;font-size:9px;line-height:1.6}.bubble{white-space:pre-wrap;overflow-wrap:anywhere;color:#596451;background:#f4f6f0;border-radius:4px 12px 12px;max-width:91%;padding:9px 12px;font-size:12px;line-height:1.8}.own .bubble{color:#517049;background:#e5f0dc;border-radius:12px 4px 12px 12px}.message-status{color:#9fa893;padding-top:4px;font-size:9px}.message[data-status=失败] .message-status{color:#a57151}.typing{letter-spacing:3px;min-width:55px;font-size:22px;animation:1.2s infinite pulse}.system-notice{text-align:center;color:#acb4a3;padding:5px 0 14px;font-size:9px}.app-footer{color:#a3ada0;justify-content:space-between;padding:20px 0 25px;font-size:10px;display:flex}.mobile-tabs{display:none}@keyframes pulse{50%{opacity:.45}}dialog{border:1px solid var(--line);color:#344a32;border-radius:20px;width:min(510px,100% - 32px);max-height:90vh;padding:28px;overflow:auto;box-shadow:0 30px 120px #273c2433}dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#283b2855}dialog header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}dialog h2{margin:7px 0 0;font-size:20px;font-weight:550}dialog header button{border:0;font-size:23px}dialog label{color:#71866a;margin-top:17px;font-size:12px;display:block}dialog input,dialog select,dialog textarea{color:#435f3c;background:#fbfdf8;border:1px solid #dce6d5;border-radius:8px;width:100%;margin-top:7px;padding:10px 11px;font-size:12px;display:block}dialog textarea{resize:vertical}dialog .hint{color:#a4b49b;margin-top:7px;font-size:10px;line-height:1.7}dialog .primary{margin-top:20px}dialog details{border-top:1px solid var(--line);margin-top:22px;padding-top:17px}dialog summary{cursor:pointer;color:#7c9174;font-size:12px}dialog pre{color:#93a287;white-space:pre-wrap;overflow-wrap:anywhere;max-height:210px;font-size:10px;line-height:1.7;overflow:auto}#config-result{color:#7f9870;margin-top:10px;font-size:11px}@media (width>=1500px){.demo-app{padding:0 56px}.workspace{grid-template-columns:360px minmax(0,1fr);gap:34px}.phone,.workbench{height:690px}.bubble{font-size:13px}}@media (width<=1200px){.demo-app{padding:0 26px}.workspace{grid-template-columns:310px minmax(0,1fr);gap:20px}.workbench{grid-template-columns:200px minmax(0,1fr)}.agent-conversation{padding:0 15px 15px}.inbox-tabs{padding-left:6px;padding-right:6px}.inbox-tabs button{padding:6px}.lifecycle{gap:8px}.lifecycle span{padding:6px 9px}.room-item{gap:7px;padding:16px 10px}.agent-controls button{padding:7px 8px}.agent-name{display:none}}@media (width<=960px){.demo-app{padding:0 22px}.lifecycle{display:none}.workspace{display:block}.mobile-tabs{justify-content:center;gap:8px;margin-bottom:20px;display:flex}.mobile-tabs button{color:#8b9980;border-radius:20px;padding:10px 22px;font-size:12px}.mobile-tabs button.active{color:#62844c;background:#e6eedc}.workspace[data-view=customer] .agent-panel,.workspace[data-view=agent] .visitor-panel{display:none}.visitor-panel{max-width:370px;margin:auto}.phone{height:660px}.workbench{grid-template-columns:230px minmax(0,1fr);height:660px}.intro{padding:27px 0 25px}h1{font-size:24px}.app-footer{justify-content:center}.app-footer span:last-child,.chain{display:none}}@media (width<=600px){.demo-app{padding:0 16px}.app-header{height:70px}.wordmark{gap:7px;font-size:16px}.brand-icon{border-radius:8px;width:27px;height:27px;font-size:18px}.brand-divider{margin:0 3px}.product-name{font-size:12px}.header-actions{gap:0}.header-actions .plain{padding:7px 9px;font-size:10px}.intro{padding-top:25px}h1{letter-spacing:0;margin:9px 0;font-size:21px}.intro p{font-size:11px;line-height:1.8}.eyebrow{letter-spacing:1.4px;font-size:9px}#start-card{gap:10px;padding:15px}#start-card strong{font-size:12px}#start-card p{font-size:10px}#start-card button{padding:9px 11px;font-size:10px}.phone{height:650px}.panel-label{font-size:11px}.workbench{flex-direction:column;height:800px;display:flex}.inbox{border-right:0;border-bottom:1px solid var(--line);flex-shrink:0;max-height:168px}.inbox-heading{display:none}.inbox-tabs{padding:12px 11px 8px}.inbox-footer{display:none}#room-list{max-height:112px;display:flex;overflow:auto hidden}.room-item{border-top:2px solid #0000;border-left:0;width:220px;min-width:220px;padding:12px}.room-item.selected{border-top-color:#7da269}.agent-conversation{flex:1;min-height:0;padding:0 13px 14px}.agent-chat-header{min-height:68px;padding:14px 0}.agent-chat-header h2{font-size:12px}.agent-controls button{padding:7px;font-size:9px}.agent-chat-header .person-avatar{width:30px;height:30px}.bubble{font-size:12px}.list-placeholder{width:100%;padding:12px}.list-placeholder svg{display:none}.app-footer{padding:18px 0;font-size:9px}.quick-replies{gap:5px;font-size:9px}.quick-replies button{padding:4px 6px;font-size:9px}dialog{padding:23px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;animation:none!important}}@media (width<=600px){.phone{height:max(440px,100dvh - 324px);max-height:650px}.workbench{height:max(500px,100dvh - 324px);max-height:800px}}.demo-home-link{color:#627556;white-space:nowrap;background:0 0;border:1px solid #dfe5d9;border-radius:8px;flex-shrink:0;align-items:center;gap:6px;padding:7px 10px;font-size:12px;line-height:20px;text-decoration:none;display:inline-flex}.demo-home-link:hover{background:#f0f4e9;border-color:#c8d6bb}.demo-home-link:focus-visible{outline-offset:3px;outline:2px solid #78975f}.demo-home-link>span{font-size:15px;line-height:1}@media (width<=600px){.demo-home-link{gap:4px;padding:6px 8px;font-size:10px}}
