.cht{background:#fff;flex-direction:column;height:100%;min-height:0;font-size:14.5px;display:flex}.cht-list{overscroll-behavior:contain;flex-direction:column;flex:1;gap:2px;min-height:0;padding:12px 12px 6px;display:flex;overflow-y:auto}.cht-older{color:#345;font:inherit;cursor:pointer;background:#f6f8fa;border:1px solid #d5dbe3;border-radius:0;align-self:center;margin:2px 0 8px;padding:5px 12px;font-size:12.5px}.cht-empty{color:#8a94a3;text-align:center;margin:auto;padding:24px 12px;font-size:13.5px}.cht-row{align-items:flex-end;gap:6px;max-width:100%;display:flex}.cht-row.is-first{margin-top:8px}.cht-row.is-me{justify-content:flex-end}.cht-row.is-flash .cht-bubble{box-shadow:0 0 0 3px #ffd54f}.cht-ava{color:#fff;letter-spacing:.2px;text-transform:uppercase;background:#1877f2;border-radius:50%;flex:0 0 30px;justify-content:center;align-items:center;width:30px;height:30px;font-size:9.5px;font-weight:800;display:inline-flex;overflow:hidden}.cht-ava.is-ghost{visibility:hidden}.cht-col{flex-direction:column;align-items:flex-start;min-width:0;max-width:78%;display:flex}.cht-row.is-me .cht-col{align-items:flex-end}.cht-bwrap{align-items:center;gap:4px;max-width:100%;display:flex;position:relative}.cht-row.is-me .cht-bwrap{flex-direction:row-reverse}.cht-bubble{color:#1c2430;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;cursor:default;background:#eef1f5;border-radius:0;max-width:100%;padding:7px 11px;line-height:1.42}.cht-row.is-me .cht-bubble{color:#fff;background:#1877f2}.cht-bubble.is-deleted{border:1px dashed #c9d1dc;font-style:italic;color:#8a94a3!important;background:0 0!important}.cht-imgs{gap:3px;margin:-3px -7px 4px;display:grid}.cht-imgs:last-child{margin-bottom:-3px}.cht-imgs.n2,.cht-imgs.n3{grid-template-columns:1fr 1fr}.cht-imgs img{object-fit:cover;background:#dde3ea;width:100%;max-width:240px;max-height:260px;display:block}.cht-imgs.n2 img,.cht-imgs.n3 img{height:110px}.cht-acts{opacity:0;gap:2px;transition:opacity .12s;display:flex;position:relative}.cht-bwrap:hover .cht-acts,.cht-acts.is-open{opacity:1}.cht-acts>button{color:#66727f;cursor:pointer;background:0 0;border:none;border-radius:50%;width:26px;height:26px;padding:0;font-size:14px;line-height:1}.cht-acts>button:hover{background:#eef1f5}.cht-pick{z-index:3;background:#fff;border:1px solid #dde3ea;border-radius:0;gap:2px;padding:4px;display:flex;position:absolute;bottom:30px;box-shadow:0 6px 18px #0f172a29}.cht-row:not(.is-me) .cht-pick{left:0}.cht-row.is-me .cht-pick{right:0}.cht-pick button{cursor:pointer;background:0 0;border:none;border-radius:0;width:32px;height:32px;padding:0;font-size:19px}.cht-pick button:hover,.cht-pick button.is-on{background:#e8f0fe}@media (hover:none){.cht-acts{opacity:0;pointer-events:none}.cht-acts.is-open{opacity:1;pointer-events:auto}}.cht-reacts{z-index:1;background:#fff;border:1px solid #e3e8ee;gap:2px;margin-top:-4px;padding:1px 4px;font-size:13px;display:flex;position:relative}.cht-seen{color:#8a94a3;margin-top:2px;font-size:11px}.cht-quote{color:#5c6875;max-width:100%;font:inherit;text-align:left;cursor:pointer;background:#f6f8fa;border:none;border-left:3px solid #b9c4d2;border-radius:0;flex-direction:column;align-items:flex-start;margin-bottom:-2px;padding:4px 9px 6px;font-size:12.5px;display:flex}.cht-quote-who{font-size:11.5px;font-weight:700}.cht-quote-txt{text-overflow:ellipsis;white-space:nowrap;max-width:220px;overflow:hidden}.cht-typing{gap:4px;padding:11px 12px;display:inline-flex}.cht-typing i{background:#8a94a3;border-radius:50%;width:6px;height:6px;animation:1.2s ease-in-out infinite cht-dot}.cht-typing i:nth-child(2){animation-delay:.15s}.cht-typing i:nth-child(3){animation-delay:.3s}@keyframes cht-dot{0%,80%,to{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}.cht-closed{text-align:center;color:#66727f;background:#f8fafc;border-top:1px solid #e6eaef;padding:12px;font-size:13px}.cht-compose{background:#fff;border-top:1px solid #e6eaef;padding:8px}.cht-replybar{background:#f6f8fa;border-left:3px solid #1877f2;align-items:center;gap:8px;margin-bottom:6px;padding:5px 8px;font-size:12.5px;display:flex}.cht-replybar>div{flex-direction:column;flex:1;min-width:0;display:flex}.cht-replybar span{text-overflow:ellipsis;white-space:nowrap;color:#66727f;overflow:hidden}.cht-replybar button,.cht-pending button{color:#66727f;cursor:pointer;background:0 0;border:none;border-radius:0;padding:2px 4px;font-size:14px}.cht-pending{gap:6px;margin-bottom:6px;display:flex}.cht-pending span{position:relative}.cht-pending img{object-fit:cover;border:1px solid #dde3ea;width:56px;height:56px;display:block}.cht-pending button{color:#fff;background:#333;border-radius:50%;width:20px;height:20px;padding:0;font-size:11px;position:absolute;top:-6px;right:-6px}.cht-err{color:#c62828;margin-bottom:6px;font-size:12.5px}.cht-inputrow{align-items:flex-end;gap:6px;display:flex}.cht-inputrow textarea{resize:none;field-sizing:content;min-width:0;max-height:120px;font:inherit;background:#f6f8fa;border:1px solid #d5dbe3;border-radius:0;outline:none;flex:1;padding:8px 10px;font-size:16px;line-height:1.35}.cht-inputrow textarea:focus{background:#fff;border-color:#1877f2}.cht-attach,.cht-send{color:#1877f2;cursor:pointer;background:0 0;border:none;border-radius:0;flex:none;justify-content:center;align-items:center;width:38px;height:38px;padding:0;display:inline-flex}.cht-attach:disabled,.cht-send:disabled{color:#b9c4d2;cursor:default}.cht-attach:not(:disabled):hover,.cht-send:not(:disabled):hover{background:#e8f0fe}.chat-fab{right:16px;bottom:max(var(--chat-b,18px), calc(18px + env(safe-area-inset-bottom,0px)));z-index:850;cursor:pointer;color:#fff;background:#1877f2;border:none;border-radius:50%;justify-content:center;align-items:center;width:56px;height:56px;padding:0;animation:.28s ease-out both chat-pop;display:inline-flex;position:fixed;box-shadow:0 6px 18px #1877f266}.chat-fab-ava{letter-spacing:.3px;text-transform:uppercase;font-size:12px;font-weight:800}.chat-fab-dot,.chat-head-dot{background:#9aa5b1;border:2px solid #fff;border-radius:50%;width:13px;height:13px;position:absolute}.chat-fab-dot{bottom:2px;right:2px}.chat-fab-dot.is-on,.chat-head-dot.is-on{background:#31a24c}.chat-fab-badge{color:#fff;text-align:center;background:#e41e3f;border:2px solid #fff;border-radius:10px;min-width:20px;height:20px;padding:0 5px;font-size:11.5px;font-weight:700;line-height:20px;position:absolute;top:-4px;right:-4px}.chat-fab.has-new{animation:.28s ease-out both chat-pop,1.6s ease-in-out .3s 3 chat-ring}@keyframes chat-pop{0%{opacity:0;transform:scale(.4)}to{opacity:1;transform:scale(1)}}@keyframes chat-ring{0%,to{transform:rotate(0)}15%{transform:rotate(-12deg)}30%{transform:rotate(10deg)}45%{transform:rotate(-6deg)}60%{transform:rotate(0)}}.chat-panel{right:16px;bottom:calc(max(var(--chat-b,18px), calc(18px + env(safe-area-inset-bottom,0px))) + var(--chat-off,68px));z-index:960;width:360px;height:min(540px, calc(100vh - var(--chat-b,18px) - 100px));transform-origin:100% 100%;background:#fff;border:1px solid #dde3ea;border-radius:0;flex-direction:column;animation:.18s ease-out both chat-open;display:flex;position:fixed;box-shadow:0 16px 40px #0f172a38}@keyframes chat-open{0%{opacity:0;transform:scale(.92)}to{opacity:1;transform:scale(1)}}.chat-head{color:#fff;background:#1877f2;align-items:center;gap:10px;padding:10px 10px 10px 12px;display:flex}.chat-head-ava{color:#1877f2;text-transform:uppercase;background:#fff;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;font-size:10px;font-weight:800;display:inline-flex;position:relative}.chat-head-dot{border-color:#1877f2;bottom:-2px;right:-2px}.chat-head-t{flex:1;min-width:0;line-height:1.2}.chat-head-t b{font-size:15px;display:block}.chat-head-t small{opacity:.9;font-size:12px}.chat-head-x{color:#fff;cursor:pointer;background:0 0;border:none;border-radius:0;width:34px;height:34px;padding:0;font-size:22px}.chat-head-x:hover{background:#ffffff29}.chat-body{flex:1;min-height:0}.chat-loading{color:#8a94a3;justify-content:center;align-items:center;height:100%;display:flex}@media (width<=600px){.chat-panel{z-index:1200;border:none;width:auto;height:auto;inset:0}}@media (prefers-reduced-motion:reduce){.chat-fab,.chat-fab.has-new,.chat-panel{animation:none}}@media print{.chat-fab,.chat-panel{display:none}}
