/* Bloco original: tdsg-v529-tabelas-financeiras-slim */

#payables .pay-type-badge,#payables02 .pay-type-badge{display:inline!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important;color:#263a58!important;font-weight:500!important;font-size:12px!important;white-space:normal!important}
#payables .pay-status,#payables02 .pay-status{display:inline!important;border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;font-size:12px!important;font-weight:700!important;white-space:nowrap!important}
#payables tr.pay-paid .pay-status,#payables02 tr.pay-paid .pay-status{color:#07844c!important}
#payables tr.pay-overdue .pay-status,#payables02 tr.pay-overdue .pay-status{color:#df2939!important}
#payables tr.pay-open .pay-status,#payables02 tr.pay-open .pay-status{color:#a86b00!important}
#payables tr.pay-today .pay-status,#payables02 tr.pay-today .pay-status{color:#bb7800!important}
#payables .tdsg-v529-action,#payables02 .tdsg-v529-action{width:29px!important;min-width:29px!important;height:29px!important;min-height:29px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:7px!important;font:700 17px/1 Arial,sans-serif!important;cursor:pointer!important;box-shadow:none!important;vertical-align:middle!important;transition:none!important}
#payables .tdsg-v529-toggle,#payables02 .tdsg-v529-toggle{background:#f1fbf5!important;border:1px solid #b9e7cc!important;color:#07894c!important}
#payables .tdsg-v529-edit,#payables02 .tdsg-v529-edit{background:#eef6ff!important;border:1px solid #c8defc!important;color:#0875e9!important}
#payables .tdsg-v529-delete,#payables02 .tdsg-v529-delete{background:#fff2f3!important;border:1px solid #ffd0d5!important;color:#e11b38!important}
#payables .pay-actions,#payables02 .pay-actions{display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important}
#payables .payables-table td,#payables02 .payables-table td{vertical-align:middle!important}


/* Bloco original: tdsg-v530-financeiro-legivel */

/* Mantém todas as 10 colunas originais e os comandos de pagamento. */
#payables .payables-table,#payables02 .payables-table{border-collapse:separate!important;border-spacing:0!important;font-size:12px!important;min-width:1180px!important}
#payables .payables-table thead th,#payables02 .payables-table thead th{height:33px!important;min-height:33px!important;box-sizing:border-box!important;padding:5px 7px!important;font-size:11px!important;font-weight:800!important;color:#122c52!important;white-space:nowrap!important;text-align:center!important;vertical-align:middle!important;background:#f2f6fb!important}
#payables .payables-table tbody tr,#payables02 .payables-table tbody tr{height:42px!important;min-height:42px!important;opacity:1!important;background:#fff!important}
#payables .payables-table tbody tr:nth-child(even),#payables02 .payables-table tbody tr:nth-child(even){background:#fafcff!important}
#payables .payables-table tbody td,#payables02 .payables-table tbody td{height:42px!important;min-height:42px!important;box-sizing:border-box!important;padding:5px 8px!important;font-size:12px!important;line-height:1.25!important;color:#233858!important;vertical-align:middle!important}
#payables .payables-table .pay-status,#payables02 .payables-table .pay-status{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:25px!important;padding:3px 9px!important;border-radius:7px!important;border:0!important;font-size:11px!important;font-weight:700!important;letter-spacing:0!important;line-height:1.1!important;opacity:1!important;box-sizing:border-box!important}
#payables .payables-table tr.pay-paid .pay-status,#payables02 .payables-table tr.pay-paid .pay-status{background:#e5f8ee!important;color:#078c4e!important}
#payables .payables-table tr.pay-overdue .pay-status,#payables02 .payables-table tr.pay-overdue .pay-status{background:#ffebed!important;color:#d91f35!important}
#payables .payables-table tr.pay-open .pay-status,#payables02 .payables-table tr.pay-open .pay-status,#payables .payables-table tr.pay-today .pay-status,#payables02 .payables-table tr.pay-today .pay-status{background:#fff4df!important;color:#9d6700!important}
#payables .payables-table .pay-type-badge,#payables02 .payables-table .pay-type-badge{font-size:12px!important;font-weight:500!important;line-height:1.3!important;color:#253d5e!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important}
#payables .payables-table .tdsg-v529-action,#payables02 .payables-table .tdsg-v529-action{width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;border-radius:8px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;padding:0!important;opacity:1!important;box-shadow:none!important;line-height:1!important;vertical-align:middle!important}
#payables .payables-table .tdsg-v529-action svg,#payables02 .payables-table .tdsg-v529-action svg{width:17px!important;height:17px!important;display:block!important;flex:none!important;pointer-events:none!important}
#payables .payables-table .tdsg-v529-toggle,#payables02 .payables-table .tdsg-v529-toggle{background:#e8f8ef!important;color:#078c4e!important;border:1px solid #bce9d0!important}
#payables .payables-table .tdsg-v529-edit,#payables02 .payables-table .tdsg-v529-edit{background:#eaf3ff!important;color:#086ee8!important;border:1px solid #cbdfff!important}
#payables .payables-table .tdsg-v529-delete,#payables02 .payables-table .tdsg-v529-delete{background:#fff0f1!important;color:#df1e34!important;border:1px solid #ffd1d5!important}
#payables .payables-table .pay-actions,#payables02 .payables-table .pay-actions{display:flex!important;justify-content:center!important;align-items:center!important;gap:7px!important;flex-wrap:nowrap!important;white-space:nowrap!important}


/* Bloco original: tdsg-v531-coluna-pagar-compacta */

/* A sétima coluna é PAGAR nas tabelas PF e PJ. Largura do cabeçalho + margens mínimas. */
#payables .payables-table th:nth-child(7),#payables02 .payables-table th:nth-child(7){width:66px!important;min-width:66px!important;max-width:66px!important;padding-left:4px!important;padding-right:4px!important;box-sizing:border-box!important;white-space:nowrap!important}
#payables .payables-table td:nth-child(7),#payables02 .payables-table td:nth-child(7){width:66px!important;min-width:66px!important;max-width:66px!important;padding-left:4px!important;padding-right:4px!important;text-align:center!important;box-sizing:border-box!important}
#payables .payables-table td:nth-child(7) .tdsg-v529-action,#payables02 .payables-table td:nth-child(7) .tdsg-v529-action{margin-left:auto!important;margin-right:auto!important}


/* Bloco original: tdsg-v532-dez-colunas-visiveis-pf-pj */

/* Corrige a largura mínima herdada (1180px), responsável pelo corte das últimas colunas. */
#payables .payables-table,#payables02 .payables-table{
 width:100%!important;min-width:0!important;max-width:100%!important;
 table-layout:fixed!important;box-sizing:border-box!important;
}
#payables .payables-table th,#payables .payables-table td,
#payables02 .payables-table th,#payables02 .payables-table td{
 min-width:0!important;box-sizing:border-box!important;
 overflow:hidden!important;text-overflow:ellipsis!important;
 padding-left:4px!important;padding-right:4px!important;
}
#payables .payables-table th:nth-child(1),#payables .payables-table td:nth-child(1),
#payables02 .payables-table th:nth-child(1),#payables02 .payables-table td:nth-child(1){width:9%!important}
#payables .payables-table th:nth-child(2),#payables .payables-table td:nth-child(2),
#payables02 .payables-table th:nth-child(2),#payables02 .payables-table td:nth-child(2){width:22%!important}
#payables .payables-table th:nth-child(3),#payables .payables-table td:nth-child(3),
#payables02 .payables-table th:nth-child(3),#payables02 .payables-table td:nth-child(3){width:7%!important}
#payables .payables-table th:nth-child(4),#payables .payables-table td:nth-child(4),
#payables02 .payables-table th:nth-child(4),#payables02 .payables-table td:nth-child(4){width:8%!important}
#payables .payables-table th:nth-child(5),#payables .payables-table td:nth-child(5),
#payables02 .payables-table th:nth-child(5),#payables02 .payables-table td:nth-child(5){width:10%!important}
#payables .payables-table th:nth-child(6),#payables .payables-table td:nth-child(6),
#payables02 .payables-table th:nth-child(6),#payables02 .payables-table td:nth-child(6){width:9%!important}
#payables .payables-table th:nth-child(7),#payables .payables-table td:nth-child(7),
#payables02 .payables-table th:nth-child(7),#payables02 .payables-table td:nth-child(7){
 width:6%!important;min-width:0!important;max-width:none!important;
 text-align:center!important;padding-left:2px!important;padding-right:2px!important;
}
#payables .payables-table th:nth-child(8),#payables .payables-table td:nth-child(8),
#payables02 .payables-table th:nth-child(8),#payables02 .payables-table td:nth-child(8){width:11%!important}
#payables .payables-table th:nth-child(9),#payables .payables-table td:nth-child(9),
#payables02 .payables-table th:nth-child(9),#payables02 .payables-table td:nth-child(9){width:9%!important}
#payables .payables-table th:nth-child(10),#payables .payables-table td:nth-child(10),
#payables02 .payables-table th:nth-child(10),#payables02 .payables-table td:nth-child(10){
 width:9%!important;white-space:nowrap!important;
}
#payables .payables-table .pay-actions,#payables02 .payables-table .pay-actions{gap:4px!important}
#payables .payables-table .tdsg-v529-action,#payables02 .payables-table .tdsg-v529-action{
 width:29px!important;min-width:29px!important;height:30px!important;min-height:30px!important;
}
#payables .payables-table th,#payables02 .payables-table th{font-size:10px!important}
@media(max-width:950px){
 #payables .payables-table,#payables02 .payables-table{min-width:950px!important}
 #payables .pf-tablebox,#payables02 .pf-tablebox,
 #payables .tablebox:has(> .payables-table),#payables02 .tablebox:has(> .payables-table){
 overflow-x:auto!important;max-width:100%!important;
 }
}


/* Bloco original: tdsg-v535-acoes-padronizadas-pf-pj */

#payablespf .pf-actions,#payables .pay-actions,#payables02 .pay-actions{display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;white-space:nowrap!important}
#payablespf .pf-actions .tdsg-v529-action,#payables .pay-actions .tdsg-v529-action,#payables02 .pay-actions .tdsg-v529-action{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 32px!important;width:32px!important;min-width:32px!important;max-width:32px!important;height:32px!important;min-height:32px!important;max-height:32px!important;padding:0!important;border-radius:7px!important;box-sizing:border-box!important;cursor:pointer!important;opacity:1!important;transform:none!important}
#payablespf .pf-actions .tdsg-v529-edit,#payables .pay-actions .tdsg-v529-edit,#payables02 .pay-actions .tdsg-v529-edit{background:#eef6ff!important;border:1px solid #bddaff!important;color:#0877ee!important}
#payablespf .pf-actions .tdsg-v529-delete,#payables .pay-actions .tdsg-v529-delete,#payables02 .pay-actions .tdsg-v529-delete{background:#fff2f3!important;border:1px solid #ffc9d1!important;color:#e21e38!important}
#payablespf .pf-actions .tdsg-v529-action svg,#payables .pay-actions .tdsg-v529-action svg,#payables02 .pay-actions .tdsg-v529-action svg{display:block!important;width:17px!important;height:17px!important;min-width:17px!important;stroke:currentColor!important;visibility:visible!important}
#payablespf .pf-table td:last-child,#payablespf .pf-table th:last-child{width:92px!important;min-width:92px!important}
#payables .payables-table td:last-child,#payables02 .payables-table td:last-child{overflow:visible!important}


/* Bloco original: tdsg-v536-print-choices-css */

#pedido .tdsg-v536-print-choice{display:inline-flex!important;align-items:center!important;gap:4px!important;margin-left:12px!important;vertical-align:middle!important;white-space:nowrap!important;font:400 12px Arial,sans-serif!important;color:#60748e!important;text-transform:none!important;letter-spacing:normal!important;cursor:pointer!important}
#pedido .tdsg-v536-print-choice input{width:14px!important;height:14px!important;margin:0!important;accent-color:#0879ef!important;cursor:pointer!important}
@media print{
 body.tdsg-v536-no-production #pedido .pedido-production-steps-v2,
 body.tdsg-v536-no-layout #pedido .pedido-layout-ref{display:none!important;visibility:hidden!important}
 #pedido .tdsg-v536-print-choice{display:none!important}
}
