/* "Nhóm tôi theo dõi" (20/10/2026) */
.wt19-btn{position:absolute;right:40px;bottom:8px;z-index:2;display:inline-grid;place-items:center;width:26px;height:26px;padding:0;border:1px solid #dbe4f0;border-radius:8px;background:#fff;color:#94a3b8;box-shadow:0 1px 3px rgba(15,23,42,.08);opacity:0;transform:translateY(2px);transition:opacity .12s,transform .12s;cursor:pointer}
.wt19-btn svg,.wt19-head svg,.wt19-pick svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
#conversationList .conv[data-id]{position:relative}
#conversationList .conv[data-id]:hover .wt19-btn,.wt19-btn:focus-visible{opacity:1;transform:none}
.wt19-btn:hover{border-color:#fcd34d;color:#d97706;background:#fffbeb}
.wt19-btn[data-on="true"]{color:#f59e0b}.wt19-btn[data-on="true"] svg{fill:#fbbf24;stroke:#f59e0b}
/* a quiet ★ on picked rows even without hover */
#conversationList .conv.wt19-on::after{content:"★";position:absolute;top:6px;right:8px;font-size:11px;line-height:1;color:#f59e0b;pointer-events:none}
#conversationList .conv.wt19-on:hover::after{opacity:0}
@media (max-width:1099px){.wt19-btn{right:8px}}
html.m18 .wt19-btn{opacity:1;transform:none;right:8px;width:24px;height:24px}
/* chat toolbar / header */
.wt19-head{display:inline-flex;align-items:center;gap:6px}
.wt19-head.active{color:#b45309!important;background:#fffbeb!important;border-color:#fcd34d!important}
.wt19-head.active svg{fill:#fbbf24;stroke:#f59e0b}
@container (max-width:620px){.unified-group-chat .zgs-embedded-tools>#wt19Head .zgs-action-label{display:none}}
/* picker button */
.wt19-pick{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.wt19-pick svg{color:#f59e0b}
.wt19-count:not(:empty){min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#fef3c7;color:#92400e;font-size:11px;line-height:18px;text-align:center}
/* picker */
.wt19-card{width:min(560px,94vw);max-height:86vh;display:flex;flex-direction:column}
.wt19-hint{margin:0 0 10px;color:#475569;font-size:13px;line-height:1.45}
.wt19-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:8px}
.wt19-tools input[type=search]{flex:1 1 220px;min-width:0;padding:8px 10px;border:1px solid #cbd5e1;border-radius:10px;font:inherit}
.wt19-only{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:#475569;white-space:nowrap}
.wt19-only input{width:auto;margin:0}
.wt19-list{flex:1;min-height:180px;max-height:52vh;overflow:auto;border:1px solid #e2e8f0;border-radius:12px;padding:4px}
.wt19-item{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:9px;cursor:pointer}
.wt19-item:hover{background:#f8fafc}
.wt19-item.on{background:#fffbeb}
.wt19-item input{width:16px;height:16px;margin:0;flex:none;accent-color:#f59e0b}
.wt19-item span{display:flex;flex-direction:column;min-width:0}
.wt19-item b{font-size:13.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wt19-item small{color:#64748b;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wt19-muted{color:#64748b;font-size:13px;margin:8px}
.wt19-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}
html[data-zsc-scheme="dark"] .wt19-btn{background:#1e293b;border-color:#334155}
html[data-zsc-scheme="dark"] .wt19-item:hover{background:#1e293b}
html[data-zsc-scheme="dark"] .wt19-item.on{background:#3a2a08}
html[data-zsc-scheme="dark"] .wt19-list{border-color:#334155}
html[data-zsc-scheme="dark"] .wt19-tools input[type=search]{background:#0f172a;border-color:#334155;color:#e2e8f0}
html[data-zsc-scheme="dark"] .wt19-head.active{background:#3a2a08!important;color:#fcd34d!important;border-color:#a16207!important}
/* the toolbar ☆ is a square icon button (its name is in the tooltip), like ⚡, so the toolbar stays on one line */
.unified-group-chat .zgs-embedded-tools>#wt19Head{width:34px;min-width:34px;height:34px;padding:0;justify-content:center}
.unified-group-chat .zgs-embedded-tools>#wt19Head .zgs-action-label{display:none}
.unified-group-chat .zgs-embedded-tools>#wt19Head svg{width:16px;height:16px}
@container (max-width:620px){.unified-group-chat .zgs-embedded-tools>#wt19Head{width:32px;min-width:32px;height:32px}}
/* the counters above the list open their tab (Của tôi / Chưa gán / Đang xử lý) */
.wt19-counter{cursor:pointer;border-radius:10px;transition:background .12s,box-shadow .12s}
.wt19-counter:hover{background:#f1f5f9}
.wt19-counter.on{background:#eff6ff;box-shadow:inset 0 0 0 1.5px #3b82f6}
.wt19-counter.on strong{color:#1d4ed8}
.wt19-counter:focus-visible{outline:2px solid #1565ff;outline-offset:1px}
html[data-zsc-scheme="dark"] .wt19-counter:hover{background:#1e293b}
html[data-zsc-scheme="dark"] .wt19-counter.on{background:#14264a}
/* starring a conversation: the "Của tôi" counter pulses so you see where it went */
.wt19-bump{animation:wt19Bump .9s ease}
@keyframes wt19Bump{0%{transform:scale(1);box-shadow:0 0 0 0 rgba(245,158,11,.55)}30%{transform:scale(1.08);box-shadow:0 0 0 6px rgba(245,158,11,.25);background:#fffbeb}100%{transform:scale(1);box-shadow:0 0 0 0 rgba(245,158,11,0)}}
@media (prefers-reduced-motion:reduce){.wt19-bump{animation:none}}

/* "★ Đã lưu": a fifth box in the counter row */
.dashboard-strip.wt19-strip5{grid-template-columns:repeat(5,1fr)!important}
.wt19-starred-box{cursor:pointer;transition:background .12s,box-shadow .12s}
.wt19-starred-box strong{color:#d97706}
.wt19-starred-box:hover{background:#fffbeb}
.wt19-starred-box.on{background:#fffbeb;box-shadow:inset 0 0 0 1.5px #f59e0b}
.wt19-starred-box:focus-visible{outline:2px solid #f59e0b;outline-offset:1px}
html.m18 .sidebar>.dashboard-strip.wt19-strip5>div:nth-child(5){--c:#d97706}
html.m18 .sidebar>.dashboard-strip.wt19-strip5 span{font-size:10px!important}
html[data-zsc-scheme="dark"] .wt19-starred-box:hover,html[data-zsc-scheme="dark"] .wt19-starred-box.on{background:#3a2a08!important}
.wt19-starred-box span{white-space:nowrap}
/* phone: the five counters stay on one row */
html.m18 .sidebar>.dashboard-strip.wt19-strip5{grid-template-columns:repeat(5,1fr)!important;gap:5px!important}
html.m18 .sidebar>.dashboard-strip.wt19-strip5 span{white-space:normal!important;line-height:1.15;text-align:center}
