/* Funcionários: somente aparência — mesma identidade aprovada de Clientes.
 * Os botões, filtros, dados e funções originais não são substituídos.
 */
#page-content .cg-employee-visual-actions{justify-content:flex-start!important}
#page-content .cg-employee-visual-actions>.cg-cust-action{
 height:36px!important;min-height:36px!important;padding:0 15px!important;
 font-size:13px!important;font-weight:600!important;
 background:linear-gradient(#fff,#e0ebf5)!important;color:#314b68!important;
 border:1px solid #bdccdc!important;border-radius:5px!important;
 box-shadow:none!important;white-space:nowrap!important;
}
#page-content .cg-employee-visual-actions>.cg-cust-action.cg-primary{
 color:#125a43!important;border-color:#a9d2bf!important;
 background:linear-gradient(#fbfffd,#dcefe5)!important;
}
#page-content .cg-employee-visual-filter .cg-employee-filter-row>label{
 width:105px!important;flex:0 0 105px!important;
 font-size:13px!important;font-weight:600!important;color:#445b75!important;
}
#page-content .cg-employee-visual-filter :is(#employee-search,#employee-dept-filter,#employee-status-filter){
 box-sizing:border-box!important;height:36px!important;min-height:36px!important;
 padding:6px 11px!important;border:1px solid #bacbdc!important;
 border-radius:5px!important;color:#263c59!important;background:#fff!important;
 font-family:inherit!important;font-size:13px!important;line-height:1.2!important;
 margin:0!important;
}
#page-content .cg-employee-visual-filter #employee-search{
 flex:1 1 320px!important;min-width:160px!important;max-width:810px!important;width:auto!important;
}
#page-content .cg-employee-visual-filter #employee-dept-filter{
 flex:0 1 265px!important;min-width:190px!important;max-width:285px!important;width:auto!important;
}
#page-content .cg-employee-visual-filter #employee-status-filter{
 flex:0 1 174px!important;min-width:150px!important;max-width:190px!important;width:auto!important;
}
#page-content:has(#employee-search) table.cg-employee-table{
 width:1416px!important;min-width:1416px!important;max-width:none!important;
 table-layout:fixed!important;border-collapse:collapse!important;
 background:#fff!important;color:#253c54!important;
 font-family:"Segoe UI",Arial,sans-serif!important;font-size:12px!important;margin:0!important;
}
#page-content:has(#employee-search) .card:has(table.cg-employee-table) .data-table-container,
#page-content:has(#employee-search) .card:has(table.cg-employee-table) .card-body{
 max-width:100%!important;min-width:0!important;box-sizing:border-box!important;
}
#page-content:has(#employee-search) .card:has(table.cg-employee-table) .card-body{
 overflow-x:auto!important;overflow-y:visible!important;
 scrollbar-width:thin;scrollbar-color:#a8bed3 #f1f6fb;
 border:1px solid #c7d6e5!important;border-radius:5px!important;
}
#page-content table.cg-employee-table thead th{
 box-sizing:border-box!important;
 height:35px!important;padding:6px 8px!important;
 border:1px solid #c9d8e7!important;border-top:0!important;
 background:linear-gradient(#f3f8fc,#e3edf7)!important;
 color:#304b68!important;font-weight:700!important;font-size:12px!important;
 line-height:1.2!important;vertical-align:middle!important;text-align:left!important;
 white-space:nowrap!important;text-overflow:ellipsis!important;overflow:hidden!important;
}
#page-content table.cg-employee-table tbody tr.cg-employee-record{height:34px!important}
#page-content table.cg-employee-table tbody tr.cg-employee-record:nth-child(even){background:#f7fafd!important}
#page-content table.cg-employee-table tbody tr.cg-employee-record:hover{background:#eaf4ff!important}
#page-content table.cg-employee-table tbody td{
 box-sizing:border-box!important;height:34px!important;min-height:34px!important;
 padding:6px 8px!important;border:1px solid #d7e3ee!important;
 font-family:inherit!important;font-size:12px!important;font-weight:450!important;
 line-height:1.2!important;vertical-align:middle!important;
 white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
 overflow-wrap:normal!important;word-break:normal!important;max-width:0!important;
}
#page-content table.cg-employee-table tbody td.cg-employee-code{
 font-weight:700!important;font-variant-numeric:tabular-nums!important;
}
#page-content table.cg-employee-table tbody td.cg-employee-name strong{
 color:#1c3652!important;font-size:12px!important;font-weight:650!important;
}
#page-content table.cg-employee-table .cg-employee-secondary-info{display:none!important}
#page-content table.cg-employee-table tbody td.cg-employee-document{
 white-space:nowrap!important;font-family:inherit!important;font-size:12px!important;
}
#page-content table.cg-employee-table tbody .badge{
 padding:2px 5px!important;border:0!important;border-radius:3px!important;
 font-size:12px!important;font-weight:500!important;white-space:nowrap!important;
 background:transparent!important;color:inherit!important;
}
#page-content table.cg-employee-table tbody td.cg-employee-status .badge-success,
#page-content table.cg-employee-table tbody td.cg-employee-status .active{
 color:#13764c!important;font-weight:600!important;
}
#page-content table.cg-employee-table tbody td.cg-employee-status .badge-danger,
#page-content table.cg-employee-table tbody td.cg-employee-status .inactive{
 color:#9f4654!important;font-weight:600!important;
}
/* Ações originais preservadas; o menu de ações existente pode agrupá-las. */
#page-content table.cg-employee-table :is(th.employee-actions-heading,td.employee-actions-cell){
 width:76px!important;min-width:70px!important;max-width:76px!important;
 padding:5px!important;text-align:center!important;white-space:nowrap!important;
}
#page-content table.cg-employee-table .employee-actions-cell.erp-row-actions-cell .erp-cadastro-actions-trigger{
 width:34px!important;min-width:34px!important;height:30px!important;min-height:30px!important;
 padding:2px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
}
#page-content table.cg-employee-table tbody tr:not(.cg-employee-record) td[colspan]{
 height:auto!important;max-width:none!important;padding:24px!important;text-align:center!important;
}
@media(max-width:680px){
 #page-content .cg-employee-visual-filter .cg-employee-filter-row>label{
  width:auto!important;flex:0 0 auto!important;
 }
 #page-content .cg-employee-visual-filter #employee-search{flex-basis:100%!important}
}