.dre-report{background:#fff;padding:24px;border-radius:14px;color:#183c50}.dre-report h2{margin:6px 0}.dre-tools{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin:18px 0}.dre-tools label{display:grid;gap:6px}.dre-tools input,.dre-tools select{padding:10px;border:1px solid #b8ced8;border-radius:7px}.dre-help{font-size:13px;color:#4b6471;line-height:1.6}.dre-scroll{overflow:auto;max-height:65vh;border:1px solid #d6e2e8}.dre-report table{border-collapse:separate;border-spacing:0;width:100%;font-size:13px}.dre-report th,.dre-report td{padding:10px 12px;border-bottom:1px solid #e0e9ed;white-space:nowrap;text-align:right}.dre-report th:first-child{min-width:260px;max-width:360px;white-space:normal;text-align:left;position:sticky;left:0;background:#fff;z-index:1}.dre-report thead th{position:sticky;top:0;background:#183c50;color:#fff;z-index:2}.dre-report thead th:first-child{background:#183c50;z-index:3}.dre-report .dre-group>*{background:#e8f3ef!important;font-weight:700;color:#154b40}.dre-report .dre-result>*{background:#183c50!important;color:white;font-weight:700}.dre-report button.dre-value{background:transparent;color:#077e73;border:0;padding:4px;min-height:0;text-decoration:underline;font:inherit}.dre-report button.dre-value:hover{background:#e7f6f2}.dre-report dialog{width:min(1200px,94vw);max-height:90vh;border:1px solid #b8ced8;border-radius:12px;padding:20px}.dre-report dialog header,.dre-report dialog footer{display:flex;justify-content:space-between;align-items:center;gap:14px}.dre-report dialog td:nth-child(4){white-space:normal;min-width:220px;text-align:left}.dre-report dialog::backdrop{background:#102b4280}@media(max-width:700px){.dre-report{padding:12px}.dre-report th:first-child{min-width:170px;max-width:220px}.dre-tools{gap:8px}.dre-tools label{flex:1;min-width:130px}}@media print{body:has(.dre-report:not([hidden])) .app-sidebar,body:has(.dre-report:not([hidden])) .workspace-footer,body:has(.dre-report:not([hidden])) .dre-tools{display:none!important}.dre-scroll{max-height:none;overflow:visible}.dre-report th,.dre-report td{font-size:9px;padding:4px}.dre-report th:first-child{min-width:140px;position:static}.dre-report{padding:0}.dre-report thead th{position:static}.dre-report .dre-help{font-size:10px}@page{size:landscape;margin:10mm}}

/* Controles alinhados e grade completa do relatório. */
.dre-tools input,.dre-tools select,.dre-tools button{height:44px;min-height:44px;box-sizing:border-box;margin-bottom:0;font:inherit}
.dre-report th,.dre-report td{border-right:1px solid #bdcdd5;border-bottom:1px solid #bdcdd5}
.dre-report table{border-top:1px solid #bdcdd5;border-left:1px solid #bdcdd5}
.dre-report button.dre-expand{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;min-height:28px;padding:0;margin-right:8px;border:1px solid #6e9b98;border-radius:5px;background:#edf7f5;color:#086b63;font-size:20px;vertical-align:middle;flex-shrink:0}
.dre-report button.dre-expand:hover{background:#ccebe4}
.dre-report .dre-detail-row>td{padding:14px;background:#f2f7fa;text-align:left;white-space:normal}
.dre-inline{width:min(1100px,calc(100vw - 340px));min-width:260px;position:sticky;left:12px}
.dre-inline h3{font-size:15px;margin:0 0 10px}.dre-detail-scroll{overflow:auto;max-height:380px}.dre-detail-tools{display:flex;align-items:center;gap:14px;margin-top:10px}.dre-detail-tools button{height:38px;min-height:38px;padding:6px 14px}
.dre-inline table{font-size:12px}.dre-inline th:first-child{min-width:70px;max-width:none;position:static}.dre-inline td:nth-child(4){min-width:240px;white-space:normal;text-align:left}.dre-inline th{min-width:90px}.dre-inline td{background:white}
@media(max-width:700px){.dre-inline{width:calc(100vw - 80px)}}
@media print{.dre-inline{width:100%;position:static}.dre-detail-scroll{max-height:none;overflow:visible}.dre-detail-tools{display:none}}
.dre-tools label{margin:0}.dre-tools button{padding:10px 16px;border-radius:7px}#dre-load{background:#087f73;border:1px solid #087f73;color:#fff;font-weight:600}

.dre-report .dre-subgroup>*{background:#f3f7fa!important;color:#365769;font-weight:600}
.dre-inline .dre-cost-center-description{text-align:left}
