#dreTable .stte-dre-wrap,.stte-dre-full-wrap{max-width:100%;overflow:auto;border:1px solid var(--line);border-radius:14px;background:#fff}
#dreTable .stte-dre-table,.stte-dre-full-wrap .stte-dre-table{min-width:1320px;width:100%;border-collapse:collapse}
#dreTable .stte-dre-table th,.stte-dre-full-wrap .stte-dre-table th{position:sticky;top:0;z-index:2;background:#f6f9fc}
#dreTable .stte-dre-table th,#dreTable .stte-dre-table td,.stte-dre-full-wrap .stte-dre-table th,.stte-dre-full-wrap .stte-dre-table td{border-bottom:1px solid var(--line);padding:9px 10px}
#dreTable .stte-col-line,.stte-dre-full-wrap .stte-col-line{width:70px;text-align:left;font-weight:900}
#dreTable .stte-col-group,.stte-dre-full-wrap .stte-col-group{width:118px;min-width:118px;max-width:118px;text-align:center;font-weight:900}
#dreTable .stte-group-merged,.stte-dre-full-wrap .stte-group-merged{width:118px!important;min-width:118px!important;max-width:118px!important;text-align:center!important;vertical-align:middle!important;font-weight:900;background:#2f3b4a!important;color:#fff!important;letter-spacing:.01em;text-transform:uppercase;border-right:1px solid #dce5ef;line-height:1.25;padding:8px 7px!important;word-break:normal;overflow-wrap:break-word}
#dreTable .stte-col-account,.stte-dre-full-wrap .stte-col-account{min-width:420px;text-align:left;font-weight:900}
#dreTable .stte-project-cell,.stte-dre-full-wrap .stte-project-cell{font-weight:400;text-align:right}
#dreTable .stte-total-cell,.stte-dre-full-wrap .stte-total-cell{font-weight:400;text-align:right;background:#f8fafc}
#dreTable .stte-dre-subtotal td,.stte-dre-full-wrap .stte-dre-subtotal td{font-weight:900}
#dreTable .stte-dre-negative .stte-total-cell,.stte-dre-full-wrap .stte-dre-negative .stte-total-cell{color:var(--bad)}
#dreTable .stte-dre-positive .stte-total-cell,.stte-dre-full-wrap .stte-dre-positive .stte-total-cell{color:var(--good)}
.stte-dre-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;margin-bottom:10px}
@media print{.stte-dre-actions,.modalhead .x{display:none!important}.stte-dre-full-wrap{border:0}.stte-dre-table{font-size:10px}}

/* v2.3 - DRE Completo: filtro de resultado acumulado */
.stte-dre-filterbar{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:10px 0 12px;padding:10px 12px;border:1px solid #dbe7f3;border-radius:14px;background:#f8fbff}
.stte-dre-filterbar label{font-weight:850;color:#334155;min-width:220px}
.stte-dre-filterbar .input{width:100%;margin-top:4px}
.stte-dre-filter-note{color:#64748b;font-size:12px;font-weight:700;padding-bottom:8px}
