/* Bloco original: tdsg-user-presence-style-v1 */

#dashboardstats .sysdash-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#dashboardstats .tdsg-online-btn{height:38px;border:1px solid #d9e2ec;background:#fff;border-radius:10px;padding:0 12px;display:flex;align-items:center;gap:8px;font-size:12px;font-weight:900;color:#344054;cursor:pointer;box-shadow:0 2px 8px rgba(15,23,42,.04)}
#dashboardstats .tdsg-online-btn:hover{border-color:#f59e0b;color:#b45309}
#dashboardstats .tdsg-online-dot{width:9px;height:9px;border-radius:50%;background:#12b76a;box-shadow:0 0 0 3px rgba(18,183,106,.12)}
.tdsg-presence-modal{display:none;position:fixed;inset:0;z-index:1000500;background:rgba(15,23,42,.38);align-items:center;justify-content:center;padding:20px}
.tdsg-presence-modal.open{display:flex}
.tdsg-presence-card{width:min(760px,96vw);max-height:82vh;background:#fff;border-radius:18px;box-shadow:0 24px 70px rgba(15,23,42,.28);overflow:hidden}
.tdsg-presence-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid #eaecf0}
.tdsg-presence-head h3{margin:0;color:#101828;font-size:17px}.tdsg-presence-head button{border:0;background:#f2f4f7;width:34px;height:34px;border-radius:9px;font-size:22px;color:#667085;cursor:pointer}
.tdsg-presence-body{padding:16px 18px;overflow:auto;max-height:calc(82vh - 67px)}
.tdsg-presence-note{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:10px;padding:10px 12px;font-size:11px;line-height:1.45;margin-bottom:14px}
.tdsg-presence-current{display:grid;grid-template-columns:48px 1fr auto;gap:12px;align-items:center;padding:14px;border:1px solid #e5e7eb;border-radius:12px;margin-bottom:16px}
.tdsg-presence-avatar{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#d1fadf;color:#087a5b;font-size:18px;font-weight:900}
.tdsg-presence-current b{display:block;color:#101828;font-size:14px}.tdsg-presence-current small{display:block;color:#98a2b3;margin-top:3px;font-size:11px}.tdsg-presence-status{font-size:11px;font-weight:900;color:#067647;background:#ecfdf3;padding:6px 9px;border-radius:999px}
.tdsg-presence-table{width:100%;border-collapse:collapse;font-size:11px}.tdsg-presence-table th{background:#f8fafc;color:#667085;text-align:left;padding:9px;border-bottom:1px solid #e5e7eb;font-size:9px}.tdsg-presence-table td{padding:10px 9px;border-bottom:1px solid #eef2f6;color:#344054}.tdsg-presence-empty{text-align:center;color:#98a2b3;padding:22px!important}
html.top-designer-dark .tdsg-presence-card,html.top-designer-dark #dashboardstats .tdsg-online-btn{background:#182234!important;border-color:#374151!important;color:#e5e7eb!important}
html.top-designer-dark .tdsg-presence-head h3,html.top-designer-dark .tdsg-presence-current b{color:#f3f4f6!important}
html.top-designer-dark .tdsg-presence-current{border-color:#374151!important}
html.top-designer-dark .tdsg-presence-table th{background:#202b3c!important}
@media(max-width:700px){#dashboardstats .sysdash-head-actions{width:100%}.tdsg-presence-current{grid-template-columns:50px 1fr}.tdsg-presence-status{grid-column:2}.tdsg-presence-table{min-width:620px}}
