/* Shaddai V1.35 - colunas harmonicas, sem palavras espremidas */
table.rv134-table.cb135-balanced{width:100%!important;max-width:100%!important;min-width:0!important;table-layout:fixed!important}
html body :is(#dashboard,#lancamentos,#estoque,#clientes,#parceiros,#mercado,#mercado_auto,#gerencial,#financeiro,#conciliacao,#pagar,#receber,#bancos,#fechamento,#cadastros,#configuracoes,#controladoria,#dre) table.rv134-table.cb135-balanced{width:100%!important;max-width:100%!important;min-width:0!important}
table.rv134-table.cb135-balanced th,table.rv134-table.cb135-balanced td{padding:7px 5px!important;line-height:1.2!important;word-break:normal!important;overflow-wrap:break-word!important;hyphens:none!important}
table.rv134-table.cb135-balanced th{font-size:9.8px!important;white-space:normal!important;text-wrap:balance}
table.rv134-table.cb135-balanced td{font-size:10.2px!important}
table.rv134-table.cb135-balanced td strong,table.rv134-table.cb135-balanced td small,table.rv134-table.cb135-balanced td a{word-break:normal!important;overflow-wrap:break-word!important}
table.rv134-table.cb135-balanced td.rv134-numeric{white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important}
table.rv134-table.cb135-balanced .stock-status,table.rv134-table.cb135-balanced .pill,table.rv134-table.cb135-balanced .badge,table.rv134-table.cb135-balanced .margin-status,table.rv134-table.cb135-balanced .market-live-badge,table.rv134-table.cb135-balanced .control-severity,table.rv134-table.cb135-balanced .im133-pill,table.rv134-table.cb135-balanced .accounting-change{display:inline-flex!important;width:max-content!important;min-width:max-content!important;max-width:none!important;white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;hyphens:none!important;padding:4px 7px!important;line-height:1.1!important}
table.rv134-table.cb135-balanced .cb135-status-head,table.rv134-table.cb135-balanced .cb135-status-cell{white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;text-align:center!important}
table.rv134-table.cb135-balanced .cb135-status-cell>*{margin-inline:auto}
table.rv134-table.cb135-balanced .cb135-action-cell{word-break:normal!important;overflow-wrap:normal!important}
table.rv134-table.cb135-balanced .cb135-action-cell .action-group,table.rv134-table.cb135-balanced .cb135-action-cell .a29-actions,table.rv134-table.cb135-balanced .cb135-action-cell .bank-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px!important;width:100%!important}
table.rv134-table.cb135-balanced .cb135-action-cell button{width:100%!important;padding:4px!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important}

/* Saldo de estoque: pesos equilibrados e status sempre legivel. */
html body #estoque table[data-rv134-table="stockRows"].cb135-balanced th,html body #estoque table[data-rv134-table="stockRows"].cb135-balanced td{padding:9px 7px!important;font-size:10.5px!important}
html body #estoque table[data-rv134-table="stockRows"].cb135-balanced th:nth-child(1){width:25.9%!important}
html body #estoque table[data-rv134-table="stockRows"].cb135-balanced th:nth-child(2),html body #estoque table[data-rv134-table="stockRows"].cb135-balanced th:nth-child(3),html body #estoque table[data-rv134-table="stockRows"].cb135-balanced th:nth-child(4),html body #estoque table[data-rv134-table="stockRows"].cb135-balanced th:nth-child(5),html body #estoque table[data-rv134-table="stockRows"].cb135-balanced th:nth-child(6){width:12.3%!important}
html body #estoque table[data-rv134-table="stockRows"].cb135-balanced th:nth-child(7){width:12.6%!important}
html body #estoque table[data-rv134-table="stockRows"].cb135-balanced td:nth-child(n+2):nth-child(-n+6){text-align:right!important;white-space:nowrap!important;overflow-wrap:normal!important}
html body #estoque table[data-rv134-table="stockRows"].cb135-balanced .stock-status{justify-content:center!important;min-width:72px!important;padding:5px 8px!important;font-size:9.5px!important}

/* Relatorios extensos recebem densidade suficiente sem grandes vazios. */
table.rv134-table.cb135-balanced.rv134-cols-8 th,table.rv134-table.cb135-balanced.rv134-cols-8 td,table.rv134-table.cb135-balanced.rv134-cols-9 th,table.rv134-table.cb135-balanced.rv134-cols-9 td{padding:7px 4px!important;font-size:9.6px!important}
table.rv134-table.cb135-balanced.rv134-cols-10 th,table.rv134-table.cb135-balanced.rv134-cols-10 td,table.rv134-table.cb135-balanced.rv134-cols-11 th,table.rv134-table.cb135-balanced.rv134-cols-11 td,table.rv134-table.cb135-balanced.rv134-cols-many th,table.rv134-table.cb135-balanced.rv134-cols-many td{padding:6px 3px!important;font-size:9px!important;line-height:1.16!important}
table.rv134-table.cb135-balanced.rv134-cols-10 .stock-status,table.rv134-table.cb135-balanced.rv134-cols-10 .pill,table.rv134-table.cb135-balanced.rv134-cols-11 .stock-status,table.rv134-table.cb135-balanced.rv134-cols-11 .pill,table.rv134-table.cb135-balanced.rv134-cols-many .pill{font-size:8.2px!important;padding:3px 4px!important}

@media (min-width:1440px){
  table.rv134-table.cb135-balanced th,table.rv134-table.cb135-balanced td{padding:8px 7px!important}
  table.rv134-table.cb135-balanced th{font-size:10.2px!important}table.rv134-table.cb135-balanced td{font-size:10.7px!important}
}

@media (max-width:1180px) and (min-width:821px){
  table.rv134-table.cb135-balanced th,table.rv134-table.cb135-balanced td{padding:6px 3px!important;font-size:9px!important;line-height:1.16!important}
  table.rv134-table.cb135-balanced td small{font-size:8px!important}
  table.rv134-table.cb135-balanced .stock-status,table.rv134-table.cb135-balanced .pill,table.rv134-table.cb135-balanced .badge,table.rv134-table.cb135-balanced .margin-status,table.rv134-table.cb135-balanced .im133-pill{font-size:8px!important;padding:3px 4px!important}
  html body #estoque table[data-rv134-table="stockRows"].cb135-balanced th,html body #estoque table[data-rv134-table="stockRows"].cb135-balanced td{padding:7px 4px!important;font-size:9.3px!important}
  html body #estoque table[data-rv134-table="stockRows"].cb135-balanced .stock-status{min-width:66px!important;font-size:8.3px!important}
}

@media (max-width:1500px) and (min-width:821px){
  #mercado_auto .regional-grid{grid-template-columns:1fr!important}
  #mercado_auto .regional-comparison{grid-column:1 / -1!important}
}

@media (max-width:820px){
  html body :is(#dashboard,#lancamentos,#estoque,#clientes,#parceiros,#mercado,#mercado_auto,#gerencial,#financeiro,#conciliacao,#pagar,#receber,#bancos,#fechamento,#cadastros,#configuracoes,#controladoria,#dre) table.rv134-table.cb135-balanced:not(.rv134-simple){display:block!important;width:100%!important;max-width:100%!important;min-width:0!important}
  table.rv134-table.cb135-balanced:not(.rv134-simple)>tbody>tr.rv134-record>td{word-break:normal!important;overflow-wrap:break-word!important}
  table.rv134-table.cb135-balanced:not(.rv134-simple)>tbody>tr.rv134-record>td.cb135-status-cell{white-space:normal!important;text-align:left!important}
  table.rv134-table.cb135-balanced:not(.rv134-simple)>tbody>tr.rv134-record>td.cb135-status-cell>*{margin-inline:0}
  table.rv134-table.cb135-balanced .stock-status,table.rv134-table.cb135-balanced .pill,table.rv134-table.cb135-balanced .badge,table.rv134-table.cb135-balanced .margin-status,table.rv134-table.cb135-balanced .im133-pill{min-width:0!important;max-width:100%!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important}
  html body #estoque table[data-rv134-table="stockRows"].cb135-balanced th:nth-child(n){width:auto!important}
  html body #estoque table[data-rv134-table="stockRows"].cb135-balanced .stock-status{min-width:0!important;width:auto!important;font-size:9px!important}
}

@media (max-width:430px){
  table.rv134-table.cb135-balanced:not(.rv134-simple)>tbody>tr.rv134-record>td{grid-template-columns:minmax(92px,35%) minmax(0,1fr)!important;padding:7px 8px!important}
}
