/* Bloco original: tdsg-v630-janelas-financeiras-slim */

/* Padrão slim aplicado exclusivamente às janelas dos quatro indicadores financeiros. */
#tdsgV563Dialog{
 width:min(1280px,calc(100vw - 30px))!important;
 padding:14px!important;border-radius:12px!important;
}
#tdsgV563Dialog .v563-head{margin-bottom:10px!important;gap:8px!important;align-items:center!important}
#tdsgV563Dialog .v563-head h2{font-size:19px!important;line-height:1.2!important}
#tdsgV563Dialog .v563-head p{font-size:11px!important;margin:3px 0!important}
#tdsgV563Dialog .v563-stats{gap:6px!important;margin-bottom:7px!important}
#tdsgV563Dialog .v563-stat{padding:7px 9px!important;border-radius:5px!important}
#tdsgV563Dialog .v563-stat small{font-size:10px!important}
#tdsgV563Dialog .v563-stat strong{font-size:15px!important;margin-top:2px!important}
#tdsgV563Dialog .v563-tools{margin-bottom:8px!important}
#tdsgV563Dialog .v563-tools input{height:34px!important;font-size:12px!important}
#tdsgV563Dialog .v563-table-wrap{
 border:1px solid #dce3eb!important;border-radius:5px!important;
}
#tdsgV563Dialog table.v563-table{font-size:12px!important}
#tdsgV563Dialog table.v563-table thead th{
 background:#eef2f7!important;color:#1b2738!important;
 font-size:11px!important;font-weight:400!important;
 padding:8px 9px!important;line-height:1.25!important;
 border-bottom:1px solid #d8e0e9!important;
}
#tdsgV563Dialog table.v563-table tbody td{
 padding:7px 9px!important;line-height:1.3!important;
 border-bottom:1px solid #e6ebf0!important;
}
#tdsgV563Dialog table.v563-table tbody tr:nth-child(even){background:#f9fbfd!important}
#tdsgV563Dialog .v563-footer{margin-top:8px!important;font-size:11px!important}
#tdsgV563Dialog .v563-close{padding:5px 9px!important}
@media print{#tdsg-v630-janelas-financeiras-slim{display:none!important}}


/* Bloco original: tdsg-v632-modal-financeiro-compacto */

/* V632: largura real da janela e da tabela, preservando a coluna de cliente. */
html body #tdsgV563Dialog{
 width:min(1080px,calc(100vw - 32px))!important;
 max-width:1080px!important;
 padding:12px 14px!important;
 box-sizing:border-box!important;
}
html body #tdsgV563Dialog .v563-table-wrap{width:100%!important;max-width:100%!important;overflow-x:auto!important}
html body #tdsgV563Dialog table.v563-table{
 table-layout:auto!important;width:100%!important;min-width:0!important;
 border-collapse:collapse!important;font-size:11px!important;
}
html body #tdsgV563Dialog table.v563-table th,
html body #tdsgV563Dialog table.v563-table td{
 padding:5px 7px!important;line-height:1.2!important;
}
html body #tdsgV563Dialog table.v563-table th:nth-child(2),
html body #tdsgV563Dialog table.v563-table td:nth-child(2){
 width:auto!important;white-space:normal!important;overflow-wrap:anywhere!important;
}
html body #tdsgV563Dialog table.v563-table th:not(:nth-child(2)),
html body #tdsgV563Dialog table.v563-table td:not(:nth-child(2)){
 width:1%!important;white-space:nowrap!important;
}
html body #tdsgV563Dialog table.v563-table thead th{
 background:#eef2f7!important;color:#1b2738!important;font-weight:400!important;
}
@media(max-width:800px){
 html body #tdsgV563Dialog table.v563-table{min-width:720px!important}
}


/* Bloco original: tdsg-v635-cashflow-style */

#cashflow .mg-page{max-width:1500px;margin:0 auto}
#cashflow .mg-summary{gap:10px}
#cashflow .mg-summary>div{border:1px solid #dce5ef;border-radius:8px;background:#fff}
#cashflow .mg-card{border-radius:9px}
#cashflow .mg-table{font-size:12px;border-collapse:collapse;width:100%}
#cashflow .mg-table th{background:#eef2f7!important;color:#233247!important;font-size:11px!important;padding:9px!important}
#cashflow .mg-table td{padding:8px 9px!important;border-bottom:1px solid #e6edf5}
#cashflow .mg-table td:nth-child(6){white-space:nowrap;font-weight:700}
#cashflow .tdsg-v635-source{font-size:10px;color:#526d89;display:block;margin-top:3px}
#cashflow .tdsg-v635-note{font-size:12px;color:#536980;padding:5px 0 10px}
#cashflow .tdsg-v635-pill{padding:3px 7px;border-radius:5px;font-size:11px;font-weight:700}
#cashflow .tdsg-v635-pill.in{background:#e6f6ed;color:#08743d}
#cashflow .tdsg-v635-pill.out{background:#fff0ef;color:#b42318}
