#mct-root{--mct-accent:#111;--mct-bg:#fff;--mct-fg:#111;--mct-muted:#f1f1f1;position:fixed;right:18px;bottom:18px;z-index:99990;font-family:inherit;font-size:15px}
#mct-root *{box-sizing:border-box}
.mct-fab{width:58px;height:58px;border-radius:50%;border:0;background:var(--mct-accent);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 20px rgba(0,0,0,.25);position:relative;transition:transform .15s}
.mct-fab:hover{transform:scale(1.06)}
.mct-badge{position:absolute;top:-2px;right:-2px;background:#e11d48;color:#fff;border-radius:10px;min-width:20px;height:20px;font-size:12px;line-height:20px;text-align:center;padding:0 5px}
.mct-panel{position:absolute;right:0;bottom:72px;width:340px;max-width:calc(100vw - 32px);height:460px;max-height:calc(100vh - 110px);background:var(--mct-bg);color:var(--mct-fg);border-radius:14px;box-shadow:0 12px 40px rgba(0,0,0,.25);display:flex;flex-direction:column;overflow:hidden}
.mct-panel[hidden]{display:none}
.mct-head{background:var(--mct-accent);color:#fff;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;font-weight:600}
.mct-x{background:none;border:0;color:#fff;font-size:24px;line-height:1;cursor:pointer;padding:0 4px}
.mct-body{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:8px;background:#fafafa}
.mct-msg{max-width:82%;padding:8px 12px;border-radius:14px;white-space:pre-wrap;word-break:break-word;line-height:1.4}
.mct-admin{align-self:flex-start;background:var(--mct-muted);border-bottom-left-radius:4px}
.mct-me{align-self:flex-end;background:var(--mct-accent);color:#fff;border-bottom-right-radius:4px}
.mct-pending{opacity:.6}
.mct-fail{background:#e11d48}
.mct-intro{display:flex;gap:6px;padding:8px 10px 0;border-top:1px solid #eee;flex-wrap:wrap}
.mct-intro[hidden]{display:none}
.mct-intro input{flex:1 1 140px;border:1px solid #ddd;border-radius:8px;padding:8px;font:inherit;min-width:0}
.mct-form{display:flex;gap:6px;padding:10px;border-top:1px solid #eee}
.mct-intro:not([hidden])+.mct-form{border-top:0}
.mct-form textarea{flex:1;resize:none;border:1px solid #ddd;border-radius:18px;padding:9px 14px;font:inherit;max-height:100px;min-width:0}
.mct-form button{width:40px;height:40px;border-radius:50%;border:0;background:var(--mct-accent);color:#fff;cursor:pointer;font-size:16px;flex:none}
@media (max-width:480px){#mct-root{right:12px;bottom:12px}.mct-panel{position:fixed;right:8px;left:8px;bottom:80px;width:auto;height:70vh}}
