/* 官网在线咨询窗口（2026-11-05） */
.chat-launcher{position:fixed;right:20px;bottom:20px;z-index:60;border:0;border-radius:999px;background:#304a41;color:#fff;font:inherit;font-size:15px;letter-spacing:.04em;padding:12px 20px;box-shadow:0 6px 20px rgba(38,53,47,.25);cursor:pointer}
.chat-launcher:focus-visible{outline:2px solid #b89b6a;outline-offset:3px}
.chat-dot{position:absolute;top:6px;right:8px;width:8px;height:8px;border-radius:50%;background:#d97a4a}
.chat-panel{position:fixed;right:20px;bottom:80px;z-index:61;width:360px;max-height:min(600px,calc(100vh - 110px));display:flex;flex-direction:column;background:#fbf8f2;color:#26352f;border:1px solid #e2dccf;border-radius:14px;box-shadow:0 14px 40px rgba(38,53,47,.22);overflow:hidden}
.chat-head{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;background:#304a41;color:#fff}
.chat-close{border:0;background:none;color:inherit;font-size:24px;line-height:1;cursor:pointer;padding:0 4px}
.chat-body{padding:14px 16px 16px;overflow:auto;display:flex;flex-direction:column;gap:10px;flex:1;min-height:0}
.chat-lead{margin:0;font-size:15px}
.chat-note{margin:0;font-size:13px;color:#6b726c;line-height:1.6}
.chat-choice{display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left;border:1px solid #d9d2c5;border-radius:10px;background:#fff;padding:12px 14px;font:inherit;color:inherit;cursor:pointer}
.chat-choice span{font-size:13px;color:#6b726c}
.chat-choice:hover{border-color:#304a41}
.chat-back{align-self:flex-start;border:0;background:none;color:#304a41;font:inherit;font-size:14px;cursor:pointer;padding:0}
.chat-qr{align-self:center;width:180px;height:180px;border-radius:8px;background:#fff}
.chat-form{display:flex;flex-direction:column;gap:8px}
.chat-form textarea,.chat-form input,.chat-reply textarea{width:100%;box-sizing:border-box;border:1px solid #d9d2c5;border-radius:8px;padding:9px 10px;font:inherit;font-size:15px;background:#fff;color:inherit;resize:vertical}
.chat-trap{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0}
.chat-consent{display:flex;gap:8px;align-items:flex-start;font-size:13px;color:#555;line-height:1.5}
.chat-consent input{width:auto!important;margin-top:3px;flex:none}
.chat-consent a{color:#304a41}
.chat-error{margin:0;color:#a8442a;font-size:13px}
.chat-error:empty{display:none}
.chat-wide{width:100%;text-align:center;justify-content:center}
.chat-thread{display:flex;flex-direction:column;gap:8px;overflow:auto;min-height:160px;max-height:340px;padding-right:2px}
.chat-msg{max-width:85%;padding:8px 11px;border-radius:12px;font-size:14px;line-height:1.6;white-space:pre-wrap;word-break:break-word}
.chat-msg.mine{align-self:flex-end;background:#304a41;color:#fff;border-bottom-right-radius:4px}
.chat-msg.theirs{align-self:flex-start;background:#fff;border:1px solid #e2dccf;border-bottom-left-radius:4px}
.chat-who{display:block;font-size:12px;color:#8a7a5c;margin-bottom:2px}
.chat-reply{display:flex;gap:8px;align-items:flex-end}
.chat-reply textarea{flex:1;resize:none}
@media (max-width:600px){
  .chat-launcher{right:14px;bottom:14px}
  .chat-panel{right:0;left:0;bottom:0;width:auto;max-height:85vh;border-radius:14px 14px 0 0}
  body.chat-open .chat-launcher{display:none}
}
