.ldth-sc-btn{position:fixed;right:18px;bottom:18px;z-index:2147483000;border:0;border-radius:999px;padding:12px 18px;background:#14181f;color:#f3d48b;font:600 15px/1.2 system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;box-shadow:0 6px 24px rgba(0,0,0,.28);cursor:pointer}
.ldth-sc-btn:hover{background:#1d232d}.ldth-sc-btn:focus-visible{outline:3px solid #f3d48b;outline-offset:2px}
.ldth-sc-panel{position:fixed;right:18px;bottom:18px;z-index:2147483001;width:min(380px,calc(100vw - 24px));height:min(600px,calc(100vh - 36px));display:flex;flex-direction:column;background:#fbfaf7;color:#1c1c1c;border-radius:14px;box-shadow:0 12px 40px rgba(0,0,0,.3);overflow:hidden;font:14px/1.55 system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif}
.ldth-sc-panel[hidden],.ldth-sc-btn[hidden]{display:none}
.ldth-sc-head{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;background:#14181f;color:#fff}
.ldth-sc-tt{display:flex;flex-direction:column}.ldth-sc-tt strong{font-size:15px;color:#f3d48b}.ldth-sc-tt span{font-size:12px;color:#c9cdd4}
.ldth-sc-x{border:0;background:transparent;color:#fff;font-size:24px;line-height:1;cursor:pointer;padding:4px 8px}
.ldth-sc-note{margin:0;padding:8px 14px;font-size:11.5px;line-height:1.45;color:#5d5a52;background:#f1ede3;border-bottom:1px solid #e5dfd1}
.ldth-sc-note a{color:#8a6420}
.ldth-sc-signed{margin:0;padding:5px 14px;font-size:12px;color:#2f6b3a;background:#eaf5ec}
.ldth-sc-list{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:8px}
.ldth-sc-m{max-width:86%;display:flex;flex-direction:column;gap:2px}
.ldth-sc-b{white-space:pre-wrap;word-break:break-word;padding:8px 11px;border-radius:12px}
.ldth-sc-b a{color:#8a6420;text-decoration:underline}
.ldth-sc-ai,.ldth-sc-staff,.ldth-sc-typing{align-self:flex-start}.ldth-sc-ai .ldth-sc-b,.ldth-sc-typing .ldth-sc-b{background:#fff;border:1px solid #e6e1d6}
.ldth-sc-staff .ldth-sc-b{background:#fff6dd;border:1px solid #ecd28f}
.ldth-sc-visitor{align-self:flex-end}.ldth-sc-visitor .ldth-sc-b{background:#14181f;color:#fff}
.ldth-sc-system{align-self:center;max-width:94%}.ldth-sc-system .ldth-sc-b{background:transparent;color:#6b675e;font-size:12.5px;text-align:center;padding:2px 4px}
.ldth-sc-who{font-size:11px;color:#8a857a;padding-left:4px}.ldth-sc-src{font-size:11px;color:#8a857a;padding-left:4px}
.ldth-sc-chips{display:flex;flex-wrap:wrap;gap:6px;padding:0 12px 8px}.ldth-sc-chips[hidden]{display:none}
.ldth-sc-chip{border:1px solid #d9cfb7;background:#fff;border-radius:999px;padding:5px 10px;font-size:12.5px;cursor:pointer;color:#3a362e}
.ldth-sc-form{display:flex;gap:8px;padding:10px 12px;border-top:1px solid #e6e1d6;background:#fff}
.ldth-sc-in{flex:1;resize:none;border:1px solid #d6d0c2;border-radius:10px;padding:8px 10px;font:inherit;font-size:16px;min-height:42px}
.ldth-sc-send{border:0;border-radius:10px;padding:0 14px;background:#b8893b;color:#fff;font-weight:600;cursor:pointer}
.ldth-sc-foot{padding:4px 12px 10px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:8px}
.ldth-sc-human{border:0;background:transparent;color:#8a6420;font-size:12.5px;text-decoration:underline;cursor:pointer}
.ldth-sc-mail{display:flex;flex-direction:column;gap:6px;align-self:stretch;background:#f7f4ec;border:1px solid #e4dccb;border-radius:10px;padding:8px}.ldth-sc-mailt{margin:0;font-size:13px;color:#4a4436}.ldth-sc-mail textarea{border:1px solid #d6d0c2;border-radius:8px;padding:6px 8px;font:inherit;font-size:16px;resize:vertical}.ldth-sc-mailrow{display:flex;gap:6px}.ldth-sc-mail input{flex:1;min-width:0;border:1px solid #d6d0c2;border-radius:8px;padding:6px 8px;font-size:16px}
.ldth-sc-mail button{border:0;border-radius:8px;background:#14181f;color:#fff;padding:0 10px;cursor:pointer;font-size:13px}
@media (max-width:480px){.ldth-sc-panel{right:0;bottom:0;width:100vw;height:100dvh;border-radius:0}.ldth-sc-btn{right:12px;bottom:12px}}
@media print{.ldth-sc-btn,.ldth-sc-panel{display:none}}

.ldth-sc-by{font-size:11px;color:#9a917e}
