/* Reports use the same visual system; all aggregation remains unchanged. */
#reports{font-size:16px}#reports .report-filters{display:flex;align-items:end;gap:20px;flex-wrap:wrap;padding:18px 22px;margin-bottom:24px;border-radius:16px}#reports .report-filters>.field{min-width:190px}#reports .report-custom:not([hidden]){display:flex;gap:12px;align-items:end;flex-wrap:wrap}#reports .report-custom .field{flex:1;min-width:140px}#reports #reportRange{font-size:13px;flex:1;min-width:160px;margin:0;line-height:1.7}#reports .report-muted{font-size:14px;color:var(--muted);line-height:1.6}#reports .report-metrics{margin-bottom:24px}#reports .report-metric{position:relative;text-align:left;color:var(--ink);font:inherit;gap:10px;padding:22px;transition:border-color .15s,box-shadow .15s}#reports .report-metric:after{content:'›';position:absolute;top:18px;right:18px;font-size:20px;color:#98aaa1}#reports .report-metric:hover{border-color:#b7deca;box-shadow:0 6px 22px #16352809}#reports .report-metric .label{padding-right:14px;font-size:14px;color:var(--muted)}#reports .report-metric .value{font-size:clamp(1.35rem,2.3vw,1.9rem)}#reports small{display:block;font-size:13px;font-weight:400;color:var(--muted);line-height:1.5}#reports .report-change{align-self:start;border-radius:6px;padding:4px 7px;font-size:12px}#reports .positive{color:var(--green2);background:#e9f8ef}#reports .negative{color:var(--red);background:#fff0f3}#reports .neutral{color:var(--muted);background:#f6f8f7}#reports .report-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-bottom:24px}#reports .report-columns>*{min-width:0}#reports .report-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;flex-wrap:wrap}#reports .report-section-head h2{margin:0}#reports .report-section-head button{min-height:44px;background:transparent;border:0;color:var(--green2);font-size:14px;padding:8px 0}#reports .report-section-head button:after{content:' ›'}#reports label{font-size:13px;color:var(--muted)}#reports #serviceRank,#reports #productRank{margin-top:6px;font-size:14px;min-height:44px;background:#f7faf8}#reports .report-rank{display:flex;align-items:center;gap:14px;width:100%;text-align:left;background:transparent;border:0;border-bottom:1px solid var(--line);padding:18px 0;color:var(--ink);font:inherit;flex-wrap:wrap}#reports .report-rank:last-child{border:0}#reports .report-rank:hover{background:#fafcfb}#reports .report-rank>span:nth-child(2){flex:1;min-width:80px}#reports .report-rank b{font-size:14px;font-weight:650}#reports .report-rank strong{font-size:14px;font-weight:650;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;max-width:100%;color:var(--green2)}#reports .report-rank-number{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:#eff7f2;color:var(--green2);font-size:12px}#reports .report-bar-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 14px;padding:15px 0;width:100%;border:0;background:transparent;color:var(--ink);font:inherit;font-size:14px;text-align:left}#reports .report-bar-row strong{font-size:14px;overflow-wrap:anywhere;max-width:100%;font-variant-numeric:tabular-nums}#reports .report-track{height:8px;background:#eff4f1;overflow:hidden;border-radius:8px;align-self:center}#reports .report-track>span{height:100%;display:block;border-radius:inherit;background:var(--green)}#reports .report-bar-row small{text-align:right}#reports .report-bar-row[data-name="Despesas"] .report-track>span,#reports .report-expenses .report-track>span{background:var(--red)}#reports .report-chart{padding:12px 0 0;border-bottom:1px solid var(--line)}#reports .report-chart svg{width:100%;height:auto;min-height:150px;display:block;overflow:visible}#reports .report-chart rect{fill:#64c79c;rx:4}#reports .report-chart text{font-size:25px;fill:var(--muted)}#reports summary{cursor:pointer;font-size:14px;min-height:44px;padding:12px 0}#reports .report-chart-data{max-height:260px;overflow:auto}#reports .report-line,#reportDetail .report-line{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:16px 0;border-bottom:1px solid var(--line);font-size:14px}#reports .report-line>span,#reportDetail .report-line>span{flex:1;min-width:100px;overflow-wrap:anywhere}#reports .report-line>b,#reportDetail .report-line>b{max-width:100%;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;font-weight:650}#reports .report-total,#reportDetail .report-total{font-size:30px;font-weight:750;letter-spacing:-.035em;line-height:1.3;overflow-wrap:anywhere}#reports .report-fee{display:flex;flex-direction:column;gap:12px;align-items:start;width:100%;padding:14px 0;background:transparent;border:0;text-align:left;font:inherit;color:var(--ink)}#reports .report-fee>span{font-size:14px;color:var(--green2)}#reports .report-empty{padding:30px 0;color:var(--muted);font-size:14px;line-height:1.6}#reports #reportContent>section,#reports .report-quality{margin-bottom:24px}#reports .report-insights{background:#eff9f3;border-color:#dceddf}#reports .report-insights ul{padding-left:20px;margin:0}#reports .report-insights li{margin:12px 0;font-size:14px;line-height:1.7}#reports .report-quality p{font-size:14px;color:var(--muted);line-height:1.7}#reports #reportStatus:empty{display:none}#reports #reportStatus{font-size:14px;color:var(--muted);padding:18px 0}#reportDetail{width:min(680px,calc(100vw - 24px))}#reportDetail .modal-body{max-height:70dvh;overflow-y:auto}#reportDetail small{display:block;font-size:12px;color:var(--muted);margin-top:5px}#reportDetail .report-muted{font-size:14px;color:var(--muted)}#reportDetail h3{font-size:16px;margin-top:24px}
@media(max-width:900px){#reports .report-columns{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){#reports .report-filters{padding:16px;gap:14px;margin-bottom:20px}#reports .report-filters>.field{width:100%;min-width:0}#reports #reportRange{width:100%;flex:none}#reports .report-custom:not([hidden]){width:100%;gap:12px}#reports .report-custom .field{min-width:0;width:100%;flex:none}#reports .report-custom button{width:100%}#reports .report-metrics{gap:12px;margin-bottom:20px}#reports .report-metric{padding:16px;gap:10px}#reports .report-metric .value{font-size:clamp(1.2rem,5vw,1.55rem)}#reports .report-metric .label{font-size:13px}#reports .report-metric:after{right:10px;top:12px}#reports .report-metric .report-muted{font-size:12px}#reports .report-columns{gap:20px;margin-bottom:20px}#reports .report-bar-row{gap:9px;font-size:14px}#reports .report-bar-row strong{font-size:14px}#reports .report-rank{gap:10px;padding:16px 0}#reports .report-rank strong{font-size:14px}#reports .report-section-head h2{font-size:17px}#reports .report-chart text{font-size:26px}#reports .report-total{font-size:27px}#reports #reportContent>section,#reports .report-quality{margin-bottom:20px}#reportDetail .modal-body{padding:18px}}
#reports .report-metrics{margin-bottom:12px}#reports .report-counts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:24px}#reports .report-count-metric{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 14px;padding:16px 20px;text-align:left;color:var(--ink);font:inherit}#reports .report-count-metric>span{font-size:14px;color:var(--muted)}#reports .report-count-metric>strong{grid-row:1/3;grid-column:2;font-size:24px;color:var(--green2);font-variant-numeric:tabular-nums}#reports .report-count-metric>small{font-size:12px}@media(max-width:520px){#reports .report-counts{grid-template-columns:minmax(0,1fr)}#reports .report-count-metric{padding:14px 16px}}
@media(max-width:360px){#reports .report-metric{padding:13px}#reports .report-bar-row{grid-template-columns:minmax(0,1fr)}#reports .report-bar-row small{text-align:left}#reports .report-rank strong{width:100%;padding-left:35px}#reports .report-track{min-width:0}}
