.report-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 20px}.report-actions p{margin:0;color:#71647d;font-size:13px;line-height:1.65}.report-actions .actions{flex-wrap:wrap;justify-content:flex-end}.report-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.report-metrics .metric{min-width:0}.report-workspace{overflow:hidden}.report-workspace .panel-head{gap:18px}.report-workspace .panel-head h2{font-size:18px}.report-workspace .panel-head p{font-size:12px;line-height:1.7;max-width:900px}.report-filter-grid{padding:22px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;border-bottom:1px solid #ebe5f2;background:#fdfcfe}.report-filter-grid .field{margin:0;min-width:0}.report-filter-grid .field label{font-size:11.5px;font-weight:600;color:#4f3f60}.report-filter-grid input,.report-filter-grid select{min-width:0;width:100%;height:42px;font-size:12px}.report-search,.report-partner{grid-column:span 2}.report-filter-actions{grid-column:span 2;align-self:end;flex-wrap:wrap;min-height:42px}.report-tabs{display:flex;gap:8px;flex-wrap:wrap;padding:18px 22px;border-bottom:1px solid #ebe5f2}.report-tabs .tab{min-height:37px}.report-table table{width:100%;table-layout:auto;min-width:760px}.report-table td{vertical-align:top;font-size:12px;line-height:1.65;padding:17px 16px}.report-table td strong{display:block;font-size:12.5px;font-weight:650;color:#30273d;overflow-wrap:anywhere}.report-table td small{display:block;font-size:11px;line-height:1.6;color:#71647d;overflow-wrap:anywhere}.report-table .actions{flex-wrap:wrap;gap:7px;min-width:170px}.report-table td:first-child{max-width:330px;overflow-wrap:anywhere}.report-table th{font-size:10px;letter-spacing:.45px;color:#69577f}.report-excerpt{max-width:340px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:7px 0 0;color:#71647d;font-size:12px;overflow-wrap:anywhere}.report-pager{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px 22px;border-top:1px solid #ebe5f2;font-size:12px;color:#6c5a7e}.report-page-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.report-page-controls label{display:flex;align-items:center;gap:7px;font-size:11px;white-space:nowrap}.report-page-controls select{width:70px;min-height:34px}.report-page-controls input{width:62px;min-height:34px}.report-coverage{padding:18px 20px;margin:0 0 20px;border:1px solid #d9e9e1;background:#f2faf6;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:16px}.report-coverage>div{display:flex;gap:13px;align-items:flex-start;min-width:0}.report-coverage svg{flex-shrink:0;color:#21816a;margin-top:2px}.report-coverage strong{font-size:12px;display:block;color:#285d50}.report-coverage small{display:block;font-size:11.5px;line-height:1.7;color:#4e7167;margin-top:4px}.report-coverage.coverage-warning{background:#fff9ed;border-color:#f2e0b8}.coverage-warning strong{color:#885d13}.coverage-warning small{color:#7e6a47}.report-insight{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #e5dbef;border-radius:12px;background:#f7f3fb;margin:0 0 23px;padding:19px 6px}.report-insight>div{padding:0 18px;border-right:1px solid #e5dbef;min-width:0}.report-insight>div:last-child{border:0}.report-insight small{display:block;color:#71647d;font-size:11.5px;margin-bottom:5px}.report-insight strong{color:#51358c;font-size:22px;font-weight:650}.report-insight em{font-size:13px;font-weight:500;font-style:normal;white-space:nowrap}.report-method{padding:19px 22px;margin-top:20px;border:1px solid #e5dbef;border-radius:12px;background:#fff}.report-method summary{cursor:pointer;font-size:13px;font-weight:650;color:#51358c}.report-method p{font-size:12px;line-height:1.8;color:#71647d;margin:13px 0 0}.report-reply-card{margin:18px 0;border:1px solid #e5dbef;border-radius:12px;padding:21px;background:#fff}.report-reply-card header{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;color:#71647d;font-size:11px}.report-reply-card header>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.report-reply-card h3{font-size:15px;line-height:1.6;margin:16px 0 6px;overflow-wrap:anywhere}.reply-from{font-size:12px;color:#71647d;overflow-wrap:anywhere}.reply-body{font-family:inherit;font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;background:#f8f6fb;border-radius:8px;border-left:3px solid #e39b03;margin:15px 0}.report-reply-card>.actions{margin-top:16px;flex-wrap:wrap}.report-send-summary{padding:18px;background:#f7f3fb;border:1px solid #e5dbef;border-radius:10px;font-size:13px;line-height:1.7;overflow-wrap:anywhere}.report-send-summary small{color:#71647d;font-size:11px}.direct-control-table .actions{justify-content:flex-end;flex-wrap:wrap}.report-workspace+.notice{margin-top:20px}
@media(max-width:1180px){.report-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.report-search{grid-column:span 2}.report-partner{grid-column:span 1}.report-filter-actions{grid-column:span 2}.report-metrics{gap:12px}.report-insight strong{font-size:20px}}
@media(max-width:760px){.report-actions{align-items:flex-start;flex-direction:column;gap:12px}.report-actions .actions{justify-content:flex-start;width:100%}.report-actions .button{flex:1}.report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.report-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:17px;gap:13px}.report-search,.report-partner,.report-filter-actions{grid-column:span 2}.report-filter-grid input,.report-filter-grid select{font-size:13px}.report-tabs{padding:15px;gap:6px}.report-tabs .tab{font-size:11px;padding:8px 11px}.report-pager{padding:16px;align-items:flex-start;flex-direction:column;gap:13px}.report-page-controls{width:100%;gap:8px}.report-coverage{flex-direction:column;align-items:flex-start;padding:16px}.report-coverage>.button{align-self:flex-end}.report-insight{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 0;padding:18px 0}.report-insight>div:nth-child(2){border:0}.report-insight strong{font-size:21px}.report-insight small{font-size:10.5px}.report-reply-card{padding:16px}.report-reply-card header{flex-direction:column}.reply-body{padding:13px;font-size:13px}.report-table table,.direct-control-table table{min-width:0!important;table-layout:auto}.report-table thead,.direct-control-table thead{display:none}.report-table tbody,.report-table tr,.report-table td,.direct-control-table tbody,.direct-control-table tr,.direct-control-table td{display:block;width:100%;max-width:none}.report-table tr,.direct-control-table tr{padding:14px 17px;border-bottom:1px solid #ebe5f2}.report-table td,.direct-control-table td{border:0!important;padding:7px 0;text-align:left!important}.report-table td::before{content:attr(data-label);display:block;font-size:10px;font-weight:650;letter-spacing:.4px;text-transform:uppercase;color:#79648e;margin-bottom:4px}.report-table td strong{font-size:13px}.report-table .actions,.direct-control-table .actions{justify-content:flex-start;min-width:0}.report-excerpt{max-width:none}.direct-control-table td:nth-child(1)::before{content:'Data / responsável'}.direct-control-table td:nth-child(2)::before{content:'Tomador / recibo'}.direct-control-table td:nth-child(3)::before{content:'Canal'}.direct-control-table td:nth-child(4)::before{content:'Destino'}.direct-control-table td:nth-child(5)::before{content:'Resultado'}.direct-control-table td::before{display:block;font-size:10px;font-weight:650;color:#79648e;margin-bottom:4px}}

.report-metrics .metric{cursor:default}.report-metrics .metric small{font-size:11.5px;line-height:1.6}

/* Impacto da cobrança */
.analysis-tabs{margin:0 0 24px;flex-wrap:wrap}.impact-overview{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:20px;margin-bottom:24px}.impact-timing,.impact-context{min-width:0}.impact-buckets{padding:8px 24px 24px;display:grid;gap:14px}.impact-bucket{display:grid;grid-template-columns:130px minmax(20px,1fr) 36px;gap:12px;align-items:center;font-size:.88rem}.impact-bucket>div{height:10px;background:var(--purple-soft,#f0eaf8);border-radius:8px;overflow:hidden}.impact-bucket>div>span{display:block;height:100%;background:#593893;border-radius:8px}.impact-bucket strong{text-align:right}.impact-context{padding:24px}.impact-context h2{margin:0 0 20px;font-size:1.1rem}.impact-context dl{margin:0;display:grid;gap:14px}.impact-context dl>div{display:flex;justify-content:space-between;gap:16px}.impact-context dt{color:#786b89;font-size:.9rem}.impact-context dd{margin:0;text-align:right;font-weight:600}.impact-context dd small{display:block;font-weight:400}.impact-context p,.impact-context>small{font-size:.8rem;color:#786b89;line-height:1.6}.impact-method{padding:20px 24px;margin-top:24px;font-size:.88rem;line-height:1.7}.impact-method summary{cursor:pointer;font-weight:600;color:#593893}.break-word{overflow-wrap:anywhere}.impact-method p{max-width:105ch}
@media(max-width:1050px){.impact-overview{grid-template-columns:1fr}.impact-bucket{grid-template-columns:120px minmax(20px,1fr) 36px}}
@media(max-width:600px){.impact-context{padding:18px}.impact-buckets{padding:8px 18px 20px}.impact-bucket{grid-template-columns:100px minmax(20px,1fr) 28px;font-size:.8rem}.analysis-tabs>.button{flex:1;white-space:normal}.impact-context dl>div{flex-wrap:wrap}.impact-context dd{text-align:left}.impact-method{padding:18px}}

/* Intervalos de cobrança com consulta das notas */
button.impact-bucket{width:100%;border:0;background:transparent;color:inherit;text-align:left;padding:6px 4px;cursor:pointer;font-family:inherit;border-radius:7px}button.impact-bucket:hover{background:#f7f4fb}button.impact-bucket:focus-visible{outline:2px solid #51358c;outline-offset:3px}.impact-bucket-bar{display:block;height:10px;background:#f0eaf8;border-radius:8px;overflow:hidden}.impact-bucket-bar>span{display:block;height:100%;background:#593893;border-radius:8px}

/* Pré-visualização da cobrança WhatsApp */
.wa-payment-summary{border:1px solid #dfd4ee;border-top:4px solid #e39b03;border-radius:12px;background:#fbf9fe;margin:20px 0;padding:20px}.wa-payment-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:20px}.wa-payment-grid>div{min-width:0}.wa-payment-grid span,.wa-payment-grid small{display:block;color:#71647d;font-size:12px;line-height:1.65}.wa-payment-grid span{margin-bottom:6px;font-weight:600}.wa-payment-grid>div>strong{display:block;color:#38284e;font-size:15px;overflow-wrap:anywhere;margin-bottom:5px}.wa-payment-grid .wa-bank-reference{font-size:23px;letter-spacing:.5px;color:#51358c;font-variant-numeric:tabular-nums}.wa-payment-grid .wa-reference-missing{font-size:15px;color:#946114;letter-spacing:0}.wa-payment-download{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:18px;border-top:1px solid #e8dfef;padding-top:16px}.wa-payment-download>small{max-width:270px}.wa-template-preview{border:1px solid #e4dceb;border-radius:13px;background:#fff;padding:22px;margin:18px 0}.wa-template-caption{display:flex;align-items:center;gap:9px;padding-bottom:14px;margin-bottom:16px;border-bottom:1px solid #eee8f4;color:#51358c}.wa-template-caption h3{margin:0;font-size:14px}.wa-template-header{display:block;color:#30273d;font-size:14px}.wa-template-body{font-size:14px;line-height:1.8;overflow-wrap:anywhere;margin:12px 0}.wa-template-body a{color:#51358c;text-decoration:underline;overflow-wrap:anywhere}.wa-template-footer{display:block;color:#7c7186;margin-top:12px}.wa-recipient-status{padding:13px 0;margin:0 0 16px;color:#71647d;font-size:12px;line-height:1.6}.wa-recipient-status summary{font-weight:600;cursor:pointer;color:#51358c}.wa-download-settings .field{max-width:850px}
@media(max-width:620px){.wa-payment-grid{grid-template-columns:1fr;gap:16px}.wa-payment-summary{padding:16px}.wa-payment-grid .wa-bank-reference{font-size:20px}.wa-payment-download{flex-direction:column;align-items:flex-start;gap:10px}.wa-payment-download>small{max-width:none}.wa-template-preview{padding:16px}.wa-template-body{font-size:13px}.wa-payment-download .button{white-space:normal;text-align:left}}
