/* Chat corporativo estilo Teams */
.tm { position: absolute; inset: 0; display: flex; font-family: 'Segoe UI', system-ui, Arial, sans-serif; font-size: 14px; color: #242424; background: #f5f5f5; }
.tm-rail { width: 68px; background: #ebebeb; border-right: 1px solid #e0e0e0; display: flex; flex-direction: column; align-items: center; gap: 4px; padding-top: 8px; }
.tm-rail div { width: 56px; padding: 8px 0; text-align: center; font-size: 11px; color: #616161; border-radius: 6px; }
.tm-rail div i { display: block; font-style: normal; font-size: 18px; }
.tm-rail div.on { color: #5b5fc7; background: #fff; font-weight: 600; }
.tm-top { position: absolute; left: 0; right: 0; top: 0; height: 44px; background: #ebebeb; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid #e0e0e0; }
.tm-top .s { width: 480px; background: #fff; border-radius: 4px; padding: 5px 12px; color: #9e9e9e; font-size: 13px; }
.tm-body { position: absolute; top: 44px; left: 0; right: 0; bottom: 0; display: flex; }
.tm-list { width: 320px; background: #fafafa; border-right: 1px solid #e0e0e0; overflow: auto; }
.tm-list h3 { font-size: 18px; margin: 14px 16px 10px; }
.tm-ci { display: flex; gap: 10px; padding: 10px 16px; cursor: pointer; align-items: center; }
.tm-ci:hover { background: #f0f0f0; }
.tm-ci.sel { background: #fff; box-shadow: inset 3px 0 0 #5b5fc7; }
.tm-ci .av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 600; flex: none; }
.tm-ci .tx { min-width: 0; flex: 1; }
.tm-ci .nm { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-ci .pv { font-size: 12px; color: #616161; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-ci .tm-t { font-size: 11px; color: #616161; align-self: flex-start; }
.tm-ci .badge { background: #c4314b; color: #fff; border-radius: 10px; font-size: 11px; padding: 0 6px; font-weight: 700; }
.tm-conv { flex: 1; display: flex; flex-direction: column; min-width: 0; background: #f5f5f5; }
.tm-conv-h { background: #fff; border-bottom: 1px solid #e0e0e0; padding: 10px 20px; display: flex; align-items: center; gap: 12px; }
.tm-conv-h b { font-size: 16px; }
.tm-conv-h .tabs { display: flex; gap: 16px; margin-left: 20px; color: #616161; font-size: 13px; }
.tm-conv-h .tabs span.on { color: #242424; font-weight: 600; border-bottom: 2px solid #5b5fc7; padding-bottom: 6px; }
.tm-conv-h .join { margin-left: auto; background: #5b5fc7; color: #fff; border-radius: 4px; padding: 6px 14px; font-size: 13px; font-weight: 600; }
.tm-meet { background: #464775; color: #fff; padding: 10px 20px; display: flex; align-items: center; gap: 14px; font-size: 13px; }
.tm-meet .rec { width: 10px; height: 10px; border-radius: 50%; background: #e74c3c; animation: zbx-blink 1.2s steps(1) infinite; }
.tm-meet .avs { display: flex; margin-left: auto; }
.tm-meet .avs span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; border: 2px solid #464775; margin-left: -6px; }
.tm-msgs { flex: 1; overflow: auto; padding: 18px 24px; }
.tm-day { text-align: center; color: #616161; font-size: 12px; margin: 4px 0 14px; }
.tm-m { display: flex; gap: 10px; margin-bottom: 14px; max-width: 900px; }
.tm-m .av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 600; flex: none; }
.tm-m .bub { background: #fff; border-radius: 6px; padding: 8px 12px; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.tm-m .who { font-size: 12px; color: #616161; margin-bottom: 3px; }
.tm-m .who b { color: #242424; margin-right: 6px; }
.tm-m .who .role { color: #8a8886; }
.tm-m.new .bub { animation: tm-in .5s ease; }
@keyframes tm-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tm-sys { text-align: center; color: #616161; font-size: 12px; margin: 10px 0 16px; }
.tm-sys span { background: #e8e8f7; color: #464775; border-radius: 10px; padding: 3px 12px; }
.tm-typing { color: #616161; font-size: 12px; padding: 0 24px 6px; height: 20px; }
.tm-input { background: #fff; margin: 0 24px 16px; border-radius: 6px; border-bottom: 2px solid #5b5fc7; padding: 10px 14px; color: #9e9e9e; }
