/* Bloco original: tdsg-v494-laser-colunas-alinhadas */

#laser table.laser-table {
 width:100%!important;
 table-layout:fixed!important;
 border-collapse:collapse!important;
}
#laser table.laser-table > thead > tr > th {
 text-align:center!important;
 vertical-align:middle!important;
 padding-left:3px!important;
 padding-right:3px!important;
 font-size:10px!important;
 font-weight:700!important;
 white-space:normal!important;
}
#laser table.laser-table > tbody > tr > td {
 vertical-align:middle!important;
 text-align:center!important;
 padding-left:4px!important;
 padding-right:4px!important;
}
#laser table.laser-table > tbody > tr > td:first-child {
 text-align:left!important;
}
#laser table.laser-table > tbody > tr > td input:not([type="hidden"]) {
 max-width:100%!important;
 box-sizing:border-box!important;
}
#laser table.laser-table > tbody > tr > td:nth-child(2) input,
#laser table.laser-table > tbody > tr > td:nth-child(3) input,
#laser table.laser-table > tbody > tr > td:nth-child(4) input,
#laser table.laser-table > tbody > tr > td:nth-child(7) input {
 text-align:center!important;
}
#laser table.laser-table > thead > tr > th:nth-child(1), #laser table.laser-table > tbody > tr > td:nth-child(1) {width:19%!important;}
#laser table.laser-table > thead > tr > th:nth-child(2), #laser table.laser-table > tbody > tr > td:nth-child(2) {width:8%!important;}
#laser table.laser-table > thead > tr > th:nth-child(3), #laser table.laser-table > tbody > tr > td:nth-child(3) {width:8%!important;}
#laser table.laser-table > thead > tr > th:nth-child(4), #laser table.laser-table > tbody > tr > td:nth-child(4) {width:8%!important;}
#laser table.laser-table > thead > tr > th:nth-child(5), #laser table.laser-table > tbody > tr > td:nth-child(5) {width:10%!important;}
#laser table.laser-table > thead > tr > th:nth-child(6), #laser table.laser-table > tbody > tr > td:nth-child(6) {width:9%!important;}
#laser table.laser-table > thead > tr > th:nth-child(7), #laser table.laser-table > tbody > tr > td:nth-child(7) {width:10%!important;}
#laser table.laser-table > thead > tr > th:nth-child(8), #laser table.laser-table > tbody > tr > td:nth-child(8) {width:11%!important;}
#laser table.laser-table > thead > tr > th:nth-child(9), #laser table.laser-table > tbody > tr > td:nth-child(9) {width:10%!important;}
#laser table.laser-table > thead > tr > th:nth-child(10), #laser table.laser-table > tbody > tr > td:nth-child(10) {width:7%!important;}
#laser table.laser-table > tbody > tr > td.tdsg-v483-actions {
 white-space:nowrap!important;
 text-align:center!important;
}


/* Bloco original: tdsg-v495-laser-valores-sem-caixas */

/* Apenas os campos numericos das tabelas ACRILICOS e MDF: valor visivel, sem caixa. */
#laser table.laser-table > tbody > tr > td:nth-child(2) > input,
#laser table.laser-table > tbody > tr > td:nth-child(3) > input,
#laser table.laser-table > tbody > tr > td:nth-child(4) > input,
#laser table.laser-table > tbody > tr > td:nth-child(7) > input {
  display:block!important; width:100%!important; max-width:100%!important;
  border:0!important; border-radius:0!important; box-shadow:none!important;
  outline:0!important; background:transparent!important;
  padding:0 2px!important; margin:0!important;
  text-align:center!important; font:inherit!important; color:inherit!important;
  height:34px!important; min-height:34px!important; max-height:34px!important;
  appearance:none!important; -webkit-appearance:none!important;
}
#laser table.laser-table > tbody > tr > td:nth-child(2) > input:focus-visible,
#laser table.laser-table > tbody > tr > td:nth-child(3) > input:focus-visible,
#laser table.laser-table > tbody > tr > td:nth-child(4) > input:focus-visible,
#laser table.laser-table > tbody > tr > td:nth-child(7) > input:focus-visible {
  outline:1px solid #90bbf8!important; outline-offset:-1px!important;
  border-radius:4px!important; background:#fff!important;
}


/* Bloco original: tdsg-v498-contas-pf-resumo */

/* Somente Contas PF: seletor primeiro, seis cartões slim na mesma linha. */
#payables02 > .tdsg-v498-pf-summary {
 display:grid!important; grid-template-columns:repeat(7,minmax(0,1fr))!important;
 gap:9px!important; align-items:stretch!important; margin:8px 0 14px!important;
}
#payables02 > .tdsg-v498-pf-summary > div {
 min-width:0!important; min-height:78px!important; height:auto!important;
 padding:10px 9px!important; border-radius:10px!important;
 display:flex!important; flex-direction:column!important;
 justify-content:center!important; align-items:flex-start!important;
 gap:5px!important; box-sizing:border-box!important;
 box-shadow:0 2px 9px rgba(18,46,85,.045)!important;
}
#payables02 > .tdsg-v498-pf-summary .pj-filter-card { cursor:pointer!important; }
#payables02 > .tdsg-v498-pf-summary small {
 font-size:10px!important; font-weight:700!important; line-height:1.3!important;
 white-space:normal!important; letter-spacing:0!important;
}
#payables02 > .tdsg-v498-pf-summary strong {
 font-size:16px!important; font-weight:800!important; line-height:1.2!important;
 white-space:nowrap!important; font-variant-numeric:tabular-nums!important;
}
#payables02 .tdsg-v498-month-card {
 position:relative!important; background:#fff!important;
 border:1px solid #d6e1ef!important; flex-direction:row!important;
 align-items:center!important; gap:7px!important;
}
#payables02 .tdsg-v498-month-icon {font-size:23px!important;color:#087cf1!important;line-height:1!important;}
#payables02 .tdsg-v498-month-card label {min-width:0!important;flex:1!important;display:flex!important;flex-direction:column!important;gap:4px!important;}
#payables02 .tdsg-v498-month-card small {color:#60718c!important;}
#payables02 #pay02MonthFilter {
 display:block!important; width:100%!important; min-width:0!important;
 height:27px!important; min-height:27px!important; max-height:27px!important;
 border:0!important; background:transparent!important; box-shadow:none!important;
 padding:0!important; color:#0c3265!important; font-size:12px!important;
 font-weight:700!important; cursor:pointer!important;
}
#payables02 > .tdsg-v498-pf-summary > .pj-summary-revenue {background:#f2fcf7!important;border:1px solid #bde9d2!important;}
#payables02 > .tdsg-v498-pf-summary > .pj-summary-bills {background:#f4f8ff!important;border:1px solid #c8dcff!important;}
#payables02 > .tdsg-v498-pf-summary > .pj-summary-balance {background:#f3f8ff!important;border:1px solid #c6dafa!important;}
#payables02 > .tdsg-v498-pf-summary > [data-pj-filter="open"] {background:#fffcf3!important;border:1px solid #f6dfa7!important;}
#payables02 > .tdsg-v498-pf-summary > [data-pj-filter="overdue"] {background:#fff6f6!important;border:1px solid #fac7ce!important;}
#payables02 > .tdsg-v498-pf-summary > [data-pj-filter="paid"] {background:#faf6ff!important;border:1px solid #e2d0fb!important;}
#payables02 > .tdsg-v498-pf-summary > .pj-summary-revenue strong {color:#079d66!important;}
#payables02 > .tdsg-v498-pf-summary > .pj-summary-bills strong {color:#143e83!important;}
#payables02 > .tdsg-v498-pf-summary > .pj-summary-balance strong {color:#087cf1!important;}
#payables02 > .tdsg-v498-pf-summary > [data-pj-filter="open"] strong {color:#ae6a00!important;}
#payables02 > .tdsg-v498-pf-summary > [data-pj-filter="overdue"] strong {color:#e3263b!important;}
#payables02 > .tdsg-v498-pf-summary > [data-pj-filter="paid"] strong {color:#8c32d8!important;}
@media(max-width:1200px){#payables02 > .tdsg-v498-pf-summary{grid-template-columns:repeat(4,minmax(0,1fr))!important;}}
@media(max-width:700px){#payables02 > .tdsg-v498-pf-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}


/* Bloco original: tdsg-v500-pf-slim-sem-cortes */

/* Cartões PF: 7 colunas reais, estrutura interna corrigida, sem cortar valores. */
#payables02 > .tdsg-v498-pf-summary{display:grid!important;grid-template-columns:1.22fr repeat(6,minmax(0,1fr))!important;gap:8px!important;align-items:stretch!important;margin:8px 0 12px!important;width:100%!important;}
#payables02 > .tdsg-v498-pf-summary > div{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;min-width:0!important;width:auto!important;height:68px!important;min-height:68px!important;max-height:68px!important;padding:7px 8px!important;box-sizing:border-box!important;border-radius:9px!important;overflow:visible!important;box-shadow:0 2px 8px rgba(28,56,94,.035)!important;}
#payables02 > .tdsg-v498-pf-summary .tdsg-v500-icon,#payables02 > .tdsg-v498-pf-summary .tdsg-v499-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:30px!important;height:30px!important;min-width:30px!important;flex:0 0 30px!important;border-radius:50%!important;background:rgba(10,122,255,.09)!important;color:#087cf1!important;}
#payables02 > .tdsg-v498-pf-summary .tdsg-v500-icon svg,#payables02 > .tdsg-v498-pf-summary .tdsg-v499-icon svg{width:18px!important;height:18px!important;display:block!important;flex:none!important;}
#payables02 > .tdsg-v498-pf-summary .tdsg-v500-text,#payables02 > .tdsg-v498-pf-summary .tdsg-v498-month-card label{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:4px!important;flex:1 1 auto!important;min-width:0!important;margin:0!important;padding:0!important;}
#payables02 > .tdsg-v498-pf-summary small{display:block!important;max-width:100%!important;font-size:clamp(8px,.66vw,10px)!important;font-weight:500!important;line-height:1.1!important;white-space:nowrap!important;}
#payables02 > .tdsg-v498-pf-summary strong{display:block!important;max-width:100%!important;font-size:clamp(11px,.96vw,16px)!important;font-weight:800!important;line-height:1.12!important;letter-spacing:-.25px!important;white-space:nowrap!important;}
#payables02 > .tdsg-v498-pf-summary .tdsg-v500-revenue{background:rgba(14,184,119,.1)!important;color:#0ab47b!important;}
#payables02 > .tdsg-v498-pf-summary .tdsg-v500-open{background:rgba(244,169,26,.13)!important;color:#d18b00!important;}
#payables02 > .tdsg-v498-pf-summary .tdsg-v500-overdue{background:rgba(236,38,64,.1)!important;color:#e92644!important;}
#payables02 > .tdsg-v498-pf-summary .tdsg-v500-paid{background:rgba(149,52,217,.1)!important;color:#8c32d8!important;}
#payables02 > .tdsg-v498-pf-summary > .tdsg-v498-month-card{background:#fff!important;border:1px solid #d6e1ef!important;}
#payables02 .tdsg-v498-month-card #pay02MonthFilter{height:22px!important;min-height:22px!important;max-height:22px!important;width:100%!important;min-width:0!important;padding:0!important;font-size:11px!important;font-weight:700!important;color:#092b61!important;}
@media(max-width:1300px){#payables02 > .tdsg-v498-pf-summary{grid-template-columns:repeat(4,minmax(0,1fr))!important;}#payables02 > .tdsg-v498-pf-summary strong{font-size:15px!important;}#payables02 > .tdsg-v498-pf-summary small{font-size:10px!important;}}
@media(max-width:700px){#payables02 > .tdsg-v498-pf-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important;}#payables02 > .tdsg-v498-pf-summary strong{font-size:12px!important;}}


/* Bloco original: tdsg-v501-pj-mesmo-padrao-pf */

/* Cartões PJ: 7 colunas reais, estrutura interna corrigida, sem cortar valores. */
#payables > .tdsg-v498-pf-summary{display:grid!important;grid-template-columns:1.22fr repeat(6,minmax(0,1fr))!important;gap:8px!important;align-items:stretch!important;margin:8px 0 12px!important;width:100%!important;}
#payables > .tdsg-v498-pf-summary > div{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;min-width:0!important;width:auto!important;height:68px!important;min-height:68px!important;max-height:68px!important;padding:7px 8px!important;box-sizing:border-box!important;border-radius:9px!important;overflow:visible!important;box-shadow:0 2px 8px rgba(28,56,94,.035)!important;}
#payables > .tdsg-v498-pf-summary .tdsg-v500-icon,#payables > .tdsg-v498-pf-summary .tdsg-v499-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:30px!important;height:30px!important;min-width:30px!important;flex:0 0 30px!important;border-radius:50%!important;background:rgba(10,122,255,.09)!important;color:#087cf1!important;}
#payables > .tdsg-v498-pf-summary .tdsg-v500-icon svg,#payables > .tdsg-v498-pf-summary .tdsg-v499-icon svg{width:18px!important;height:18px!important;display:block!important;flex:none!important;}
#payables > .tdsg-v498-pf-summary .tdsg-v500-text,#payables > .tdsg-v498-pf-summary .tdsg-v498-month-card label{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:4px!important;flex:1 1 auto!important;min-width:0!important;margin:0!important;padding:0!important;}
#payables > .tdsg-v498-pf-summary small{display:block!important;max-width:100%!important;font-size:clamp(8px,.66vw,10px)!important;font-weight:500!important;line-height:1.1!important;white-space:nowrap!important;}
#payables > .tdsg-v498-pf-summary strong{display:block!important;max-width:100%!important;font-size:clamp(11px,.96vw,16px)!important;font-weight:800!important;line-height:1.12!important;letter-spacing:-.25px!important;white-space:nowrap!important;}
#payables > .tdsg-v498-pf-summary .tdsg-v500-revenue{background:rgba(14,184,119,.1)!important;color:#0ab47b!important;}
#payables > .tdsg-v498-pf-summary .tdsg-v500-open{background:rgba(244,169,26,.13)!important;color:#d18b00!important;}
#payables > .tdsg-v498-pf-summary .tdsg-v500-overdue{background:rgba(236,38,64,.1)!important;color:#e92644!important;}
#payables > .tdsg-v498-pf-summary .tdsg-v500-paid{background:rgba(149,52,217,.1)!important;color:#8c32d8!important;}
#payables > .tdsg-v498-pf-summary > .tdsg-v498-month-card{background:#fff!important;border:1px solid #d6e1ef!important;}
#payables .tdsg-v498-month-card #payMonthFilter{height:22px!important;min-height:22px!important;max-height:22px!important;width:100%!important;min-width:0!important;padding:0!important;font-size:11px!important;font-weight:700!important;color:#092b61!important;}
@media(max-width:1300px){#payables > .tdsg-v498-pf-summary{grid-template-columns:repeat(4,minmax(0,1fr))!important;}#payables > .tdsg-v498-pf-summary strong{font-size:15px!important;}#payables > .tdsg-v498-pf-summary small{font-size:10px!important;}}
@media(max-width:700px){#payables > .tdsg-v498-pf-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important;}#payables > .tdsg-v498-pf-summary strong{font-size:12px!important;}}

#payables > .tdsg-v498-pf-summary .pj-summary-revenue{background:#f1fcf7!important;border:1px solid #bdebd6!important;}
#payables > .tdsg-v498-pf-summary .pj-summary-bills{background:#f5f9ff!important;border:1px solid #c8dcff!important;}
#payables > .tdsg-v498-pf-summary .pj-summary-balance{background:#f2f7ff!important;border:1px solid #c8dcff!important;}
#payables > .tdsg-v498-pf-summary .pj-filter-card[data-pj-filter="open"]{background:#fffbf2!important;border:1px solid #ffe1a7!important;}
#payables > .tdsg-v498-pf-summary .pj-filter-card[data-pj-filter="overdue"]{background:#fff7f8!important;border:1px solid #ffc9d1!important;}
#payables > .tdsg-v498-pf-summary .pj-filter-card[data-pj-filter="paid"]{background:#fbf7ff!important;border:1px solid #e2ccff!important;}
#payables > .tdsg-v498-pf-summary .tdsg-v500-paid ~ .tdsg-v500-text strong{color:#8c32d8!important;}
#payables > .tdsg-v498-pf-summary .tdsg-v500-overdue ~ .tdsg-v500-text strong{color:#e92644!important;}
#payables > .tdsg-v498-pf-summary .tdsg-v500-open ~ .tdsg-v500-text strong{color:#b47700!important;}
#payables > .tdsg-v498-pf-summary .tdsg-v500-revenue ~ .tdsg-v500-text strong{color:#08a86e!important;}


/* Bloco original: tdsg-v502-pf-pj-toolbar */

#payables .payables-toolbar,#payables02 .payables-toolbar{
display:flex!important;align-items:center!important;gap:9px!important;flex-wrap:wrap!important;
padding:8px 0!important;margin:4px 0 8px!important;min-height:0!important;
}
#payables .payables-toolbar > input[id$="Search"],#payables02 .payables-toolbar > input[id$="Search"]{
width:250px!important;max-width:250px!important;min-width:150px!important;flex:0 1 250px!important;
height:38px!important;border-radius:8px!important;order:0!important;
}
#payables .tdsg-v502-actions,#payables02 .tdsg-v502-actions{
display:flex!important;gap:9px!important;align-items:center!important;order:1!important;
margin-left:auto!important;flex-wrap:wrap!important;
}
#payables .tdsg-v502-action,#payables02 .tdsg-v502-action{
height:38px!important;padding:0 14px!important;display:inline-flex!important;align-items:center!important;
justify-content:center!important;gap:6px!important;border-radius:8px!important;
background:white!important;font-size:13px!important;font-weight:650!important;white-space:nowrap!important;
box-shadow:0 2px 6px rgba(24,54,99,.04)!important;cursor:pointer!important;
}
#payables .tdsg-v502-income,#payables02 .tdsg-v502-income{border:1px solid #b7ead7!important;color:#00a96b!important;background:#f8fffb!important}
#payables .tdsg-v502-expense,#payables02 .tdsg-v502-expense{border:1px solid #ffc8ce!important;color:#ef2438!important;background:#fffafb!important}
#payables .tdsg-v502-report,#payables02 .tdsg-v502-report{border:1px solid #d8e2f1!important;color:#173a78!important}
#payables .tdsg-v502-action span,#payables02 .tdsg-v502-action span{font-size:19px!important;line-height:1!important}
#payables .payables-toolbar > select,#payables02 .payables-toolbar > select{
height:38px!important;min-width:130px!important;max-width:170px!important;flex:0 1 150px!important;order:2!important;
}
#payables .payables-toolbar > input[type="month"],#payables02 .payables-toolbar > input[type="month"]{display:none!important}
#payables .tdsg-v502-hidden-form,#payables02 .tdsg-v502-hidden-form{
display:none!important;margin:8px 0 12px!important;padding:12px!important;
border:1px solid #e0e9f5!important;border-radius:10px!important;background:#fff!important;
}
#payables .tdsg-v502-hidden-form.tdsg-v502-open,#payables02 .tdsg-v502-hidden-form.tdsg-v502-open{
display:flex!important;flex-wrap:wrap!important;gap:8px!important;align-items:flex-end!important;
}
@media(max-width:950px){#payables .tdsg-v502-actions,#payables02 .tdsg-v502-actions{margin-left:0!important}}
