/* V13 — Relatórios Gerenciais. Mantém o visual aprovado do Dashboard. */
.report-wrap{display:flex;flex-direction:column;gap:14px;color:#173c68}
.report-actions{display:flex;align-items:end;flex-wrap:wrap;gap:10px;border:1px solid #d9e7f7;background:white;border-radius:12px;padding:15px}
.report-actions .field{display:flex;flex-direction:column;gap:6px;min-width:150px}
.report-actions label{font-weight:700;color:#4b6c93;font-size:12px}
.report-actions input{height:38px;border:1px solid #cbdcf0;border-radius:8px;color:#173c68;background:#fff;padding:7px 9px;font:inherit;font-size:12px}
.report-actions button{height:38px;padding:0 15px;white-space:nowrap}
.report-pills{display:flex;gap:6px;flex-wrap:wrap;margin-left:auto}
.report-pills button{font-size:11px;border:1px solid #b8cfe8;border-radius:20px;background:#f3f8ff;color:#1d578a;padding:7px 12px;height:auto}
.report-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.report-kpi{padding:16px;border:1px solid #d7e6f7;background:white;border-radius:12px;min-width:0;box-shadow:0 5px 17px rgba(11,70,130,.035)}
.report-kpi small{display:block;font-size:12px;color:#55769b;line-height:1.35;font-weight:700}
.report-kpi b{display:block;font-size:clamp(18px,1.6vw,26px);color:#1655a1;margin-top:8px;overflow-wrap:anywhere}
.report-kpi.orange b{color:#b57c13}.report-kpi.green b{color:#097755}.report-kpi.red b{color:#bf3342}
.report-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:14px}
.report-panel{padding:18px;border:1px solid #d7e6f7;border-radius:12px;background:#fff;min-width:0}
.report-panel h2{font-size:16px;color:#153d70;margin:0 0 10px;display:flex;justify-content:space-between;align-items:center;gap:12px}
.report-panel h2 small{font-weight:500;color:#6a82a1;font-size:11px}
.report-bar-row{display:grid;grid-template-columns:110px 1fr 125px;gap:12px;align-items:center;margin:12px 0;font-size:12px}
.report-bar-track{height:12px;background:#edf3fb;border-radius:7px;overflow:hidden}.report-bar-track span{height:100%;display:block;background:#2582d5;border-radius:7px;min-width:0}
.report-bar-row:nth-child(3) .report-bar-track span{background:#edb64d}.report-bar-row:nth-child(4) .report-bar-track span{background:#50b899}
.report-bar-row b{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.report-tables{overflow-x:auto;border-radius:9px;border:1px solid #e2ecf8}
.report-tables table{border-collapse:collapse;width:100%;min-width:610px;font-size:12px}
.report-tables th{background:#eff6ff;color:#375b85;text-align:left;padding:11px;font-weight:800;white-space:nowrap}
.report-tables td{padding:10px 11px;border-top:1px solid #edf2fa;color:#254c77;white-space:nowrap}
.report-tables td.num{text-align:right;font-variant-numeric:tabular-nums}
.report-note{font-size:11px;line-height:1.6;color:#697f98;margin:8px 0 0}
.report-section-title{font-size:17px;font-weight:850;color:#173f71;margin:7px 0 0}
.report-status{border:1px solid #deebf8;background:#f7fbff;border-radius:9px;padding:11px 13px;font-size:12px;color:#4d7199}
.report-status.error{border-color:#f3ced2;color:#a6313d;background:#fff4f5}
.report-empty{font-size:12px;color:#8194ac;padding:18px 8px}
.report-negative{color:#ad2d43!important}
@media(max-width:1100px){.report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.report-grid{grid-template-columns:1fr}.report-pills{margin-left:0;width:100%}}
@media(max-width:620px){.report-kpis{grid-template-columns:1fr 1fr}.report-kpi{padding:12px}.report-kpi b{font-size:17px}.report-actions .field{flex:1}.report-bar-row{grid-template-columns:90px 1fr 90px;gap:6px}.report-bar-row b{font-size:10px}}
@media print{body:has(#operationsView:not([hidden])) .sidebar,body:has(#operationsView:not([hidden])) .topbar,body:has(#operationsView:not([hidden])) #operationTitle+ p,body:has(#operationsView:not([hidden])) .operational-actions,body:has(#operationsView:not([hidden])) .report-actions,body:has(#operationsView:not([hidden])) #operationsBack,body:has(#operationsView:not([hidden])) #operationsBackup{display:none!important}body:has(#operationsView:not([hidden])) .app-shell,body:has(#operationsView:not([hidden])) .main-column{display:block;width:100%!important;max-width:none!important}body:has(#operationsView:not([hidden])) main{padding:0!important}body:has(#operationsView:not([hidden])) .report-panel{break-inside:avoid;box-shadow:none}body:has(#operationsView:not([hidden])) .report-kpis{grid-template-columns:repeat(4,1fr)}body:has(#operationsView:not([hidden])) .report-kpi b{font-size:16px}body:has(#operationsView:not([hidden])) .report-wrap{gap:9px}}
