:root{--text:#2A2520;--muted:#7A736A;--font-body:'Inter','Noto Sans SC',sans-serif;--font-head:'Inter','Noto Sans SC',sans-serif}
#zp #demo-chat{background:#fff;border-radius:22px;box-shadow:0 30px 80px rgba(0,0,0,.45);overflow:hidden;display:flex;flex-direction:column;height:600px;max-height:78vh;color:var(--text)}
#zp .dc-head{display:flex;align-items:center;gap:12px;padding:14px 18px;background:var(--ink);color:#fff}
#zp .dc-avatar{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#FF8A3D,#E94B1F);display:flex;align-items:center;justify-content:center;font:800 18px var(--font-head);flex:none}
#zp .dc-title b{display:block;font-size:15px}
#zp .dc-title small{font-size:12px;color:#9AA0A6;display:flex;align-items:center;gap:6px}
#zp .dc-dot{width:7px;height:7px;border-radius:50%;background:#34C759;display:inline-block}
#zp .dc-log{flex:1;overflow-y:auto;padding:18px;display:flex;flex-direction:column;gap:10px;background:#F7F9FB;font-size:15px;line-height:1.6}
#zp .dc-msg{max-width:86%;padding:10px 14px;border-radius:16px;word-wrap:break-word}
#zp .dc-bot{align-self:flex-start;background:#fff;border:1px solid var(--line);border-bottom-left-radius:4px;color:var(--ink)}
#zp .dc-user{align-self:flex-end;background:var(--blue);color:#fff;border-bottom-right-radius:4px}
#zp .dc-bot a{color:var(--blue-deep)}
#zp .dc-li{display:block;padding-left:14px;position:relative}
#zp .dc-li::before{content:"•";position:absolute;left:2px}
#zp .dc-typing{color:var(--muted);letter-spacing:.2em;animation:dcPulse 1s infinite}
#zp .dc-err{border-color:#F4C7B8;background:#FEF4F0}
#zp .dc-chips{display:flex;flex-wrap:wrap;gap:8px;padding:10px 14px;background:#F7F9FB;border-top:1px solid var(--line)}
#zp .dc-chips button{border:1px solid var(--line);background:#fff;border-radius:100px;padding:7px 12px;font:500 13px var(--font-body);color:var(--ink);cursor:pointer}
#zp .dc-chips button:hover{border-color:var(--blue);color:var(--blue-deep)}
#zp .dc-input{display:flex;gap:8px;padding:12px 14px;border-top:1px solid var(--line)}
#zp .dc-input input{flex:1;min-width:0;border:1.5px solid var(--line);border-radius:100px;padding:11px 16px;font:15px var(--font-body);outline:none}
#zp .dc-input input:focus{border-color:var(--blue)}
#zp .dc-input button{border:0;border-radius:100px;background:var(--ink);color:#fff;padding:0 18px;font:600 14px var(--font-body);cursor:pointer;min-height:44px}
#zp .dc-input button:disabled{opacity:.5}
#zp .dc-foot{padding:0 14px 12px}
#zp .dc-leadbtn{width:100%;border:0;border-radius:12px;background:#FFF4E5;color:#9A4A00;font:600 14px var(--font-body);padding:11px;cursor:pointer}
#zp .dc-leadbtn:hover{background:#FFE9CC}
#zp .dc-lead{padding:14px;border-top:1px solid var(--line);display:grid;gap:8px;background:#FFFBF5}
#zp .dc-lead input{border:1.5px solid var(--line);border-radius:10px;padding:10px 12px;font:15px var(--font-body)}
#zp .dc-lead input:focus{border-color:var(--blue);outline:none}
#zp .dc-hp{position:absolute;left:-9999px;width:1px;height:1px}
#zp .dc-lead-t{font-size:14px;color:var(--ink);font-weight:600}
#zp .dc-lead-n{font-size:12px;color:var(--muted)}
#zp .dc-lead-a{display:flex;gap:8px}
#zp .dc-lead-a button{flex:1;border:0;border-radius:100px;padding:11px;font:600 14px var(--font-body);cursor:pointer;background:var(--ink);color:#fff}
#zp .dc-lead-a .dc-cancel{background:#fff;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--line)}
#zp .dc-lead-msg{font-size:13px;color:#B3261E;min-height:1em}
#zp #demo-chat [hidden]{display:none!important}
#zp .dc-avatar.dc-photo{position:relative;background:none;width:48px;height:48px}
#zp .dc-avatar.dc-photo img{width:48px;height:48px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.85)}
#zp .dc-ai{position:absolute;right:-4px;bottom:-2px;background:var(--blue);color:#fff;font:700 9px/1 var(--font-body);padding:3px 4px;border-radius:6px;letter-spacing:.04em;border:1.5px solid var(--ink)}
#zp .dc-notes{align-self:flex-start;max-width:86%;background:#FFFBEA;border:1px dashed #E8C766;border-radius:12px;padding:8px 12px;font-size:13px;color:#5C4A00}
#zp .dc-notes summary{cursor:pointer;font-weight:600;list-style:none}
#zp .dc-notes summary::-webkit-details-marker{display:none}
#zp .dc-notes summary::after{content:" ▾";font-size:11px}
#zp .dc-notes[open] summary::after{content:" ▴"}
#zp .dc-notes ul{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:3px}
#zp .dc-notes li b{display:inline-block;min-width:34px;margin-right:6px;color:#8A6D00}
#zp svg.i{width:1em;height:1em;flex:none;vertical-align:-.15em}
#zp .dc-notes summary svg.i{width:15px;height:15px;vertical-align:-3px;color:#8A6D00}
#zp .dc-leadbtn svg.i{width:15px;height:15px;vertical-align:-2px}
#zp .dc-ok svg.i{width:18px;height:18px;color:#1E8E3E;vertical-align:-4px}
#zp .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
#zp .ai-demo-wrap{max-width:760px;margin:0 auto}
@media (max-width:640px){#zp #demo-chat{height:560px}}
