/* Compacta apenas a janela de Usuários da Equipe. */
body:has(input[placeholder="Buscar por nome, email ou telefone..."]) [role="dialog"] { width: min(calc(100vw - 28px), 1320px) !important; max-width: 1320px !important; max-height: calc(100dvh - 24px) !important; }
body:has(input[placeholder="Buscar por nome, email ou telefone..."]) [role="dialog"] .flex-1.min-h-0.overflow-auto { padding: .75rem !important; }
body:has(input[placeholder="Buscar por nome, email ou telefone..."]) [role="dialog"] .flex-1.min-h-0.overflow-auto > div { border-radius: .85rem; }
body:has(input[placeholder="Buscar por nome, email ou telefone..."]) [role="dialog"] .flex-1.min-h-0.overflow-auto > div > div:first-child { padding: .8rem 1rem .55rem !important; }
body:has(input[placeholder="Buscar por nome, email ou telefone..."]) [role="dialog"] .flex-1.min-h-0.overflow-auto > div > div:first-child h3 { font-size: 1rem; line-height: 1.3; }
body:has(input[placeholder="Buscar por nome, email ou telefone..."]) [role="dialog"] .flex-1.min-h-0.overflow-auto > div > div:last-child { padding: .55rem 1rem 1rem !important; }
body:has(input[placeholder="Buscar por nome, email ou telefone..."]) [role="dialog"] .mb-4 { grid-template-columns: minmax(220px, 1.5fr) minmax(155px, .85fr) minmax(140px, .75fr); gap: .55rem !important; margin-bottom: .65rem !important; }
body:has(input[placeholder="Buscar por nome, email ou telefone..."]) [role="dialog"] .mb-4 input,
body:has(input[placeholder="Buscar por nome, email ou telefone..."]) [role="dialog"] .mb-4 select { min-height: 2.45rem; font-size: .86rem; }
body:has(input[placeholder="Buscar por nome, email ou telefone..."]) [role="dialog"] .border.rounded-md.overflow-x-auto { border-radius: .75rem; scrollbar-gutter: stable; }
body:has(input[placeholder="Buscar por nome, email ou telefone..."]) [role="dialog"] table { width: 100%; table-layout: fixed; }
body:has(input[placeholder="Buscar por nome, email ou telefone..."]) [role="dialog"] thead th:nth-child(1), body:has(input[placeholder="Buscar por nome, email ou telefone..."]) [role="dialog"] tbody td:nth-child(1) { width: 22%; }
body:has(input[placeholder="Buscar por nome, email ou telefone..."]) [role="dialog"] thead th:nth-child(2), body:has(input[placeholder="Buscar por nome, email ou telefone..."]) [role="dialog"] tbody td:nth-child(2) { width: 14%; }
body:has(input[placeholder="Buscar por nome, email ou telefone..."]) [role="dialog"] thead th:nth-child(3), body:has(input[placeholder="Buscar por nome, email ou telefone..."]) [role="dialog"] tbody td:nth-child(3) { width: 12%; }
body:has(input[placeholder="Buscar por nome, email ou telefone..."]) [role="dialog"] thead th:nth-child(4), body:has(input[placeholder="Buscar por nome, email ou telefone..."]) [role="dialog"] tbody td:nth-child(4) { width: 8%; }
body:has(input[placeholder="Buscar por nome, email ou telefone..."]) [role="dialog"] thead th:nth-child(5), body:has(input[placeholder="Buscar por nome, email ou telefone..."]) [role="dialog"] tbody td:nth-child(5) { width: 10%; }
body:has(input[placeholder="Buscar por nome, email ou telefone..."]) [role="dialog"] thead th:nth-child(6), body:has(input[placeholder="Buscar por nome, email ou telefone..."]) [role="dialog"] tbody td:nth-child(6) { width: 13%; white-space: nowrap; }
body:has(input[placeholder="Buscar por nome, email ou telefone..."]) [role="dialog"] thead th:nth-child(7), body:has(input[placeholder="Buscar por nome, email ou telefone..."]) [role="dialog"] tbody td:nth-child(7) { width: 11%; }
body:has(input[placeholder="Buscar por nome, email ou telefone..."]) [role="dialog"] thead th:nth-child(8), body:has(input[placeholder="Buscar por nome, email ou telefone..."]) [role="dialog"] tbody td:nth-child(8) { width: 10%; }
body:has(input[placeholder="Buscar por nome, email ou telefone..."]) [role="dialog"] thead th { padding: .55rem .65rem !important; font-size: .64rem !important; line-height: 1.25; letter-spacing: .055em; white-space: normal; overflow-wrap: anywhere; }
body:has(input[placeholder="Buscar por nome, email ou telefone..."]) [role="dialog"] tbody td { padding: .45rem .65rem !important; font-size: .8rem; line-height: 1.25; vertical-align: middle; }
body:has(input[placeholder="Buscar por nome, email ou telefone..."]) [role="dialog"] tbody tr { transition: background-color .15s ease; }
body:has(input[placeholder="Buscar por nome, email ou telefone..."]) [role="dialog"] tbody tr:hover { background: hsl(var(--primary) / .045); }
body:has(input[placeholder="Buscar por nome, email ou telefone..."]) [role="dialog"] tbody td .flex.justify-end { flex-wrap: nowrap; gap: .2rem; }
body:has(input[placeholder="Buscar por nome, email ou telefone..."]) [role="dialog"] tbody td button { min-width: 1.6rem; min-height: 1.6rem; }
@media (max-width: 700px) {
  body:has(input[placeholder="Buscar por nome, email ou telefone..."]) [role="dialog"] .mb-4 { grid-template-columns: 1fr; }
  body:has(input[placeholder="Buscar por nome, email ou telefone..."]) [role="dialog"] .flex-1.min-h-0.overflow-auto { padding: .55rem !important; }
  body:has(input[placeholder="Buscar por nome, email ou telefone..."]) [role="dialog"] .border.rounded-md.overflow-x-auto table { min-width: 760px; }
}
