#melrose-chat-root{font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;position:relative;z-index:999999}#melrose-chat-root [hidden]{display:none!important}.mc-fab{position:fixed;right:22px;bottom:22px;width:58px;height:58px;border:0;border-radius:50%;background:#0b2a4a;color:#fff;font-size:25px;box-shadow:0 12px 30px #0004;cursor:pointer}.mc-box{position:fixed;right:22px;bottom:92px;width:min(390px,calc(100vw - 28px));height:min(650px,calc(100vh - 118px));background:#fff;border-radius:18px;box-shadow:0 18px 60px #0005;overflow:hidden;border:1px solid #d7dde5}.mc-box header{height:76px;background:#071426;color:#fff;padding:15px 18px;display:flex;justify-content:space-between;align-items:center}.mc-box header div{display:flex;flex-direction:column;min-width:0}.mc-box header strong{font-size:18px}.mc-box header small{opacity:.72;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mc-x{border:0;background:transparent;color:#fff;font-size:28px;cursor:pointer}.mc-body{display:flex;flex-direction:column;height:calc(100% - 76px);padding:0;background:#f3f6f8}.mc-prestart{overflow:auto;padding:14px}.mc-welcome{background:#eaf1f6;padding:13px 14px;border-radius:14px;margin-bottom:12px;font-size:16px;line-height:1.4;color:#203245}.mc-start{display:grid;gap:9px}.mc-start input,.mc-start select,.mc-start textarea,.mc-send textarea{width:100%;box-sizing:border-box;border:1px solid #cbd5df;border-radius:11px;padding:11px 12px;font:inherit;background:#fff}.mc-start textarea{min-height:84px;resize:vertical}.mc-start button,.mc-send button,.mc-new{border:0;border-radius:11px;background:#c2912f;color:#fff;font-weight:750;padding:12px;cursor:pointer}.mc-chatview{display:flex;flex:1;min-height:0;flex-direction:column}.mc-messages{flex:1;overflow:auto;padding:14px 13px 8px;background:linear-gradient(#f5f7f9,#eef2f5)}.mc-msg{max-width:82%;margin:7px 0}.mc-msg>div{padding:10px 12px;border-radius:14px;white-space:pre-wrap;line-height:1.4;box-shadow:0 1px 1px #0001}.mc-msg small{display:block;font-size:9px;opacity:.5;margin-top:2px}.mc-msg.me{margin-left:auto;text-align:right}.mc-msg.me>div{background:#0b2a4a;color:#fff;border-bottom-right-radius:4px}.mc-msg.them>div{background:#fff;color:#142130;border-bottom-left-radius:4px}.mc-msg.system{max-width:92%;margin:10px auto;text-align:center}.mc-msg.system>div{display:inline-block;background:#e3ebf0;color:#46596a;font-size:12px;padding:7px 10px;border-radius:11px;box-shadow:none}.mc-send{display:grid;grid-template-columns:1fr auto;gap:8px;padding:10px 11px 6px;background:#fff;border-top:1px solid #dce3e9}.mc-send textarea{min-height:50px;max-height:110px;resize:none}.mc-send button{align-self:end;min-height:50px;padding-left:15px;padding-right:15px}.mc-chattools{background:#fff;text-align:center;padding:2px 10px 9px}.mc-end{border:0;background:transparent;color:#6b7784;text-decoration:underline;cursor:pointer;font-size:11px}.mc-closed{margin:auto 13px 12px;background:#fff;border:1px solid #d9e1e7;border-radius:14px;padding:14px;text-align:center;display:flex;flex-direction:column;gap:8px}.mc-closed strong{color:#19324a}.mc-closed span{font-size:12px;color:#647281;line-height:1.45}.mc-new{width:100%;margin-top:2px}.mc-status{font-size:11px;color:#607080;text-align:center;padding:0 12px 5px;background:#fff}.mc-hp{position:absolute!important;left:-99999px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}@media(max-width:520px){.mc-box{right:8px;left:8px;bottom:78px;width:auto;height:calc(100vh - 92px);border-radius:16px}.mc-fab{right:14px;bottom:14px}.mc-box header{height:70px}.mc-body{height:calc(100% - 70px)}}
.mc-typing{display:flex;align-items:center;gap:7px;padding:6px 13px 7px;background:#fff;color:#667482;font-size:11px;border-top:1px solid #edf1f4}.mc-typing em{font-style:normal}.mc-dots{display:inline-flex;gap:3px}.mc-dots i{display:block;width:5px;height:5px;border-radius:50%;background:#7f8b97;animation:mcDot 1.1s infinite}.mc-dots i:nth-child(2){animation-delay:.15s}.mc-dots i:nth-child(3){animation-delay:.3s}@keyframes mcDot{0%,60%,100%{transform:translateY(0);opacity:.45}30%{transform:translateY(-3px);opacity:1}}
