/* Manager conversation list: one continuous surface, identity and preview first. */
#mgr-list { padding:6px 0 12px !important; background:#fff !important; scrollbar-width:thin; scrollbar-color:#d9dce5 transparent; }
#mgr-list .mgr-chat-row {
    position:relative; display:flex; align-items:center; gap:12px; min-height:78px;
    margin:0; padding:12px 16px; border:0; border-radius:0; box-shadow:none;
    background:transparent; color:#202630; cursor:pointer; transform:none;
    transition:background .12s ease; -webkit-tap-highlight-color:transparent;
}
#mgr-list .mgr-chat-row:hover { background:#f4f3f8; border:0; box-shadow:none; transform:none; }
#mgr-list .mgr-chat-row.active { background:#7560cf; color:#fff; border:0; box-shadow:none; }
#mgr-list .mgr-chat-row:focus-visible { outline:2px solid #8063d8; outline-offset:-3px; }
.mgr-chat-avatar {
    position:relative; display:flex; align-items:center; justify-content:center;
    width:50px; height:50px; flex:0 0 50px; border-radius:50%;
    background:linear-gradient(145deg,var(--avatar-from),var(--avatar-to));
    color:#fff; font-family:inherit; font-size:18px; line-height:1; font-weight:650; letter-spacing:.015em;
}
.mgr-chat-avatar>img { width:100%; height:100%; border-radius:50%; object-fit:cover; }
.mgr-chat-avatar>svg { width:26px; height:26px; }
.mgr-chat-channel { position:absolute; right:-2px; bottom:-2px; width:19px; height:19px; display:grid; place-items:center; border:2px solid #fff; border-radius:50%; color:#fff; background:#1ca474; }
.mgr-chat-channel svg { width:10px; height:10px; stroke-width:2.1; }
.mgr-chat-channel.call,.mgr-chat-channel.mv { background:#8461ce; }
.mgr-chat-channel.out,.mgr-chat-channel.fa { background:#428fbd; }
.mgr-chat-channel.meet { background:#c48c37; }
.mgr-chat-channel.official { background:#087a46; }
#mgr-list .mgr-item-main { gap:6px; min-width:0; }
#mgr-list .mgr-item-row { align-items:center; gap:8px; }
#mgr-list .mgr-item-name { flex:1; min-width:0; font-size:14.5px; line-height:1.2; font-weight:650; letter-spacing:-.015em; color:#202630; }
#mgr-list .mgr-item-time { font-size:11px; line-height:1.2; font-weight:400; color:#9098a5; font-variant-numeric:tabular-nums; }
#mgr-list .mgr-chat-bottom { display:flex; align-items:center; gap:6px; min-width:0; }
#mgr-list .mgr-item-prev { flex:1; min-width:0; font-size:13px; line-height:1.3; font-weight:400; color:#89909b; }
#mgr-list .mgr-chat-you { color:#687080; }
#mgr-list .mgr-chat-row.unread .mgr-item-name { font-weight:750; }
#mgr-list .mgr-chat-row.unread .mgr-item-prev { color:#495260; font-weight:500; }
#mgr-list .mgr-chat-row.unread .mgr-item-time { color:#8063d8; font-weight:650; }
.mgr-chat-marks { display:flex; align-items:center; gap:5px; flex:none; height:21px; }
.mgr-chat-marks svg { display:block; width:14px; height:14px; }
.mgr-chat-pinned { color:#8e96a3; }
.mgr-chat-warm { color:#c4a58c; }
#mgr-list .mgr-dot { width:9px; height:9px; background:#8971db; box-shadow:none; margin:0 2px; }
.mgr-chat-more { display:grid; place-items:center; width:24px; height:24px; padding:0; border:0; border-radius:50%; background:transparent; color:#9299a4; cursor:pointer; opacity:0; transition:opacity .12s; }
.mgr-chat-more svg { width:17px; height:17px; }
#mgr-list .mgr-chat-row:hover .mgr-chat-more,#mgr-list .mgr-chat-row:focus-within .mgr-chat-more { opacity:1; }
.mgr-chat-more:hover { background:#0000000b; }
#mgr-list .mgr-chat-row.active .mgr-item-name { color:#fff; }
#mgr-list .mgr-chat-row.active .mgr-item-prev,#mgr-list .mgr-chat-row.active .mgr-chat-you { color:#ffffffcf; }
#mgr-list .mgr-chat-row.active .mgr-item-time,#mgr-list .mgr-chat-row.active .mgr-chat-pinned,#mgr-list .mgr-chat-row.active .mgr-chat-more,#mgr-list .mgr-chat-row.active .mgr-chat-warm { color:#ffffffb8; }
#mgr-list .mgr-chat-row.active .mgr-dot { background:#fff; }
#mgr-list .mgr-chat-row.active .mgr-chat-channel { border-color:#7560cf; }
.mgr-chat-menu { position:fixed; z-index:12000; min-width:218px; padding:6px; border:1px solid #e9e6ef; border-radius:13px; background:#fffffff5; box-shadow:0 8px 32px #24154724; backdrop-filter:blur(14px); }
.mgr-chat-menu button { display:flex; align-items:center; gap:11px; width:100%; border:0; border-radius:8px; padding:11px 12px; background:transparent; color:#34313e; font:500 13px/1.3 Inter,system-ui,sans-serif; cursor:pointer; text-align:left; }
.mgr-chat-menu button:hover,.mgr-chat-menu button:focus-visible { background:#f1edf9; outline:none; }
.mgr-chat-menu svg { width:18px; height:18px; color:#817097; flex:none; }
.mgr-chat-toast { position:fixed; bottom:28px; left:50%; transform:translateX(-50%); z-index:12500; max-width:calc(100vw - 32px); padding:12px 18px; border-radius:12px; background:#353044; color:#fff; box-shadow:0 6px 25px #271f3b2b; font-size:13px; }
.mgr-chat-toast.error { background:#9c3647; }
@media(min-width:781px) { .manager-full #mgr-list { width:clamp(340px,27vw,380px); flex:none; border-right:1px solid #ececf1; } }
@media(max-width:780px) {
    #mgr-list .mgr-chat-row { min-height:80px; padding:13px 16px; }
    #mgr-list .mgr-item-name { font-size:15px; }
    #mgr-list .mgr-item-prev { font-size:13.5px; }
    .mgr-chat-more { opacity:1; width:28px; height:28px; }
    .mgr-chat-toast { bottom:100px; }
}
@media(hover:none) { .mgr-chat-more { opacity:1; } }
@media(prefers-reduced-motion:reduce) { #mgr-list .mgr-chat-row,.mgr-chat-more { transition:none; } }
