.mc-chat{--chat-line:#ffffff12;display:grid;grid-template-columns:280px minmax(0,1fr);height:640px;max-height:78vh;min-height:420px;border:1px solid var(--chat-line);border-radius:22px;overflow:hidden;background:#12110f;color:#f5f1e8;font:14px Inter,system-ui,sans-serif}
.mc-chat *{box-sizing:border-box}.mc-chat button{cursor:pointer;font:inherit}.mc-chat button:disabled{opacity:.5;cursor:wait}.mc-chat-side{background:#171512;border-right:1px solid var(--chat-line);display:flex;flex-direction:column;min-height:0}.mc-chat-search{margin:16px;padding:12px 14px;background:#23201b;border:1px solid var(--chat-line);border-radius:12px;color:inherit;min-width:0}.mc-chat-list{overflow-y:auto;flex:1}.mc-chat-contact{display:flex;gap:12px;width:100%;padding:16px;text-align:left;border:0;border-bottom:1px solid #ffffff06;background:transparent;color:inherit}.mc-chat-contact:hover,.mc-chat-contact.selected{background:#c9a86a18}.mc-chat-avatar{width:40px;height:40px;border-radius:50%;background:#c9a86a26;display:grid;place-items:center;color:#d9b97f;flex-shrink:0;font-weight:600}.mc-chat-copy{flex:1;min-width:0}.mc-chat-copy strong{display:block;font-size:13px}.mc-chat-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#aaa49b;margin-top:5px;font-size:11px}.mc-chat-unread{background:#c9a86a;color:#16130e;border-radius:12px;padding:2px 7px;font-size:11px;align-self:center}.mc-chat-main{min-width:0;min-height:0;display:flex;flex-direction:column;background:radial-gradient(ellipse at top right,#c9a86a08,transparent 65%),#100f0d}.mc-chat-header{display:flex;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid var(--chat-line);min-height:76px}.mc-chat-header small{display:block;color:#9c978e;font-size:11px;margin-top:4px}.mc-chat-back{display:none;background:transparent;border:0;color:#d9b97f;padding:8px}.mc-chat-thread{flex:1;overflow-y:auto;padding:20px;scroll-behavior:auto}.mc-chat-day{text-align:center;margin:8px 0 20px;color:#a49b8c;font-size:10px;letter-spacing:.08em}.mc-chat-message{display:flex;margin:6px 0}.mc-chat-message.mine{justify-content:flex-end}.mc-chat-bubble{max-width:82%;min-width:90px;background:#27231d;border:1px solid #ffffff08;border-radius:4px 17px 17px;padding:11px 14px}.mc-chat-message.mine .mc-chat-bubble{background:#55442b;border-color:#c9a86a24;border-radius:17px 4px 17px 17px}.mc-chat-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;font-size:13px}.mc-chat-meta{display:flex;justify-content:flex-end;gap:8px;color:#c9c0b1;font-size:10px;margin-top:7px}.mc-chat-read{color:#bfe5c6}.mc-chat-attachment{display:block;border:1px solid #ffffff20;background:#0002;color:inherit;padding:10px 12px;border-radius:10px;max-width:100%;overflow-wrap:anywhere;text-align:left;margin-top:5px;font-size:12px!important}.mc-chat-composer{padding:12px 16px;border-top:1px solid var(--chat-line);background:#171512}.mc-chat-compose-row{display:flex;align-items:flex-end;gap:8px}.mc-chat-text{resize:none;min-height:44px;max-height:130px;flex:1;min-width:0;padding:12px 14px;border:1px solid var(--chat-line);border-radius:16px;background:#24211c;color:#f5f1e8;font:14px Inter,system-ui,sans-serif;line-height:1.4}.mc-chat-send,.mc-chat-attach,.mc-chat-start{border:0;border-radius:14px;padding:13px 15px;background:#c9a86a;color:#18140d;font-weight:600!important}.mc-chat-attach{background:#302a21;color:#d9b97f}.mc-chat-start{margin:0 16px 16px}.mc-chat-status{font-size:11px;color:#c9a86a;min-height:17px;margin-top:6px}.mc-chat-file{display:flex;align-items:center;gap:10px;color:#d9b97f;font-size:12px;margin-bottom:8px;overflow-wrap:anywhere}.mc-chat-file button{background:none;border:0;color:#f5f1e8}.mc-chat-empty{color:#a59c8f;text-align:center;font-size:13px;padding:45px 18px;line-height:1.8}.mc-chat :focus-visible{outline:2px solid #c9a86a;outline-offset:2px}
@media(max-width:700px){.mc-chat{grid-template-columns:minmax(0,1fr);height:640px;max-height:80dvh;min-height:430px}.mc-chat-main{display:none}.mc-chat.is-thread .mc-chat-side{display:none}.mc-chat.is-thread .mc-chat-main{display:flex}.mc-chat-back{display:block}.mc-chat-bubble{max-width:90%}.mc-chat-header{padding:12px}.mc-chat-thread{padding:14px}.mc-chat-composer{padding:10px}.mc-chat-text{font-size:16px}.mc-chat-send,.mc-chat-attach{padding:13px 10px}}
