/* ZAOXIAN local human-support inbox + guided FAQ, no imaginary AI provider. */
.zx-help-launch{position:fixed;right:26px;bottom:112px;z-index:150;width:56px;height:56px;border:1px solid #dec5a0;border-radius:50%;background:#4b3526;color:#fff;box-shadow:0 10px 38px #1b0e0b44;display:grid;place-items:center;cursor:pointer;transition:transform .25s}.zx-help-launch:hover{transform:translateY(-3px)}.zx-help-launch:focus-visible{outline:3px solid #b99159;outline-offset:2px}.zx-help-launch svg{width:27px;height:27px;stroke:currentColor;fill:none;stroke-width:1.7}
.zx-chat-panel{position:fixed;z-index:160;right:25px;bottom:178px;width:min(430px,calc(100vw - 32px));height:min(695px,calc(100svh - 205px));min-height:380px;border-radius:18px;box-shadow:0 22px 90px #1d110b40;overflow:hidden;background:#faf9f6;border:1px solid #e5d8c9;display:flex;flex-direction:column;font-family:"Noto Sans TC","Microsoft JhengHei",sans-serif;color:#29221b}
.zx-chat-panel[hidden],.zx-help-launch[hidden]{display:none!important}.zx-chat-head{padding:22px 24px 16px;background:#fff;border-bottom:1px solid #e7ded4;display:flex;justify-content:space-between;gap:12px;flex:0 0 auto}.zx-chat-head strong{font-size:20px;letter-spacing:.05em}.zx-chat-head strong em{font-family:Georgia,serif;font-weight:400;font-style:normal;color:#b18a54}.zx-chat-head p{font-size:12px;color:#918274;margin:5px 0 0}.zx-chat-head button{background:none;border:none;color:#574534;cursor:pointer;font-size:25px;height:34px;width:34px;line-height:1}
.zx-chat-stream{flex:1;min-height:0;overflow:auto;padding:24px;background:linear-gradient(155deg,#f8f9f3 0%,#faf7f0 70%)}.zx-chat-message{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin:0 0 20px}.zx-chat-message.visitor{align-items:flex-end}.zx-chat-role{color:#817060;font-size:10px}.zx-chat-bubble{max-width:90%;border-radius:16px;padding:13px 17px;background:#fff;border:1px solid #ece4d9;color:#54493e;font-size:13px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.zx-chat-message.visitor .zx-chat-bubble{background:#4c3524;color:#fff;border-color:#4c3524}.zx-chat-message.staff .zx-chat-bubble{border-left:3px solid #ad7c42}
.zx-chat-welcome{background:#fff;border:1px solid #ece4d8;border-radius:14px;padding:20px 18px;margin-bottom:16px}.zx-chat-welcome b{font-size:13px}.zx-chat-welcome p{font-size:13px;color:#7c6f63;line-height:1.9;margin:8px 0 0}.zx-chat-quick{display:flex;flex-wrap:wrap;gap:9px;margin:15px 0 24px}.zx-chat-quick button{background:#f7f0e6;border:1px solid #d8c4a8;color:#70563a;border-radius:999px;padding:9px 13px;font-size:11px;cursor:pointer}.zx-chat-quick button:hover{background:#f0dfc8}
.zx-chat-compose{flex:0 0 auto;padding:14px;background:#fff;border-top:1px solid #e6dcd0}.zx-chat-compose form{display:flex;align-items:flex-end;gap:8px}.zx-chat-compose textarea{font-family:inherit;resize:none;flex:1;min-width:0;max-height:100px;min-height:48px;border:1px solid #d4c4b2;border-radius:11px;outline:0;font-size:13px;line-height:1.5;padding:13px;background:#fff}.zx-chat-compose textarea:focus{border-color:#a68b60}.zx-chat-compose form button{flex:0 0 44px;height:44px;cursor:pointer;border-radius:50%;background:#b58a51;color:#fff;border:0;font-size:22px}.zx-chat-compose small{font-size:10px;color:#958678;display:block;margin-top:12px;line-height:1.6}.zx-chat-message-status{font-size:11px;color:#98613c;margin-top:6px;min-height:12px}
@media(max-width:650px){.zx-help-launch{right:15px;bottom:93px;width:50px;height:50px}.zx-chat-panel{right:0;bottom:0;width:100vw;height:100dvh;min-height:0;border:0;border-radius:0}.zx-chat-head{padding:19px 20px}.zx-chat-stream{padding:18px}.zx-chat-compose{padding:12px 14px max(12px,env(safe-area-inset-bottom))}}

.zx-human{border:1px solid #c4aa87;background:transparent;color:#705334;border-radius:8px;padding:8px 12px;font-size:12px;margin:8px 0;min-height:44px}.zx-chat-compose small{display:block;line-height:1.6}.zx-chat-message.guide .zx-chat-role{color:#8d6b41}.zx-chat-compose button:disabled{opacity:.5;cursor:wait}
