.crm-report-dialog {
  width: min(900px, calc(100% - 32px)); max-width: 100%; padding: 0;
  max-height: min(92dvh, 960px); border: 1px solid #c7d2cc; border-radius: 16px;
  color: #173a34; background: #fbfcf9; box-shadow: 0 30px 110px #0c262c40;
  font: inherit; overscroll-behavior: contain;
}
.crm-report-dialog::backdrop { background: #142c2b62; }
.crm-report-shell { display: flex; flex-direction: column; max-height: min(92dvh, 960px); }
.report-head { display:flex; align-items:flex-start; justify-content:space-between; padding: 28px 32px 19px; gap:16px; }
.report-eyebrow {font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.12em; color:#48685c; margin-bottom:7px;}
.crm-report-dialog h2 {font:inherit;font-weight:650;font-size:clamp(25px,3.5vw,35px);letter-spacing:-.045em; line-height:1.15; margin:0 0 7px;}
.report-head p {font-size:13px; margin:0; color:#516a60;}
.report-head p span {padding:0 3px;}
.report-close {border:1px solid #cedbd2;background:#fff; height:32px; width:32px; flex:0 0 32px; color:#234439; border-radius:50%; font-size:23px; line-height:1; cursor:pointer;}
.report-demo {margin:0 32px 10px; padding:7px 10px; color:#735121; background:#faeed9; font-size:12px; border-radius:5px;}
.report-body {padding:3px 32px 24px; overflow:auto; overscroll-behavior:contain;}
.report-kpis {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #d5dfd6;border-radius:10px;overflow:hidden;margin:0 0 26px;background:#f0f4ee;}
.report-kpis>div {padding:14px 13px;display:flex; flex-direction:column;min-width:0;border-right:1px solid #d5dfd6;}
.report-kpis>div:last-child {border:0;}
.report-kpi-caption {font-size:11px;color:#425e52;font-weight:650;}
.report-kpis strong {font-size:clamp(23px,2.4vw,30px);letter-spacing:-.055em; overflow-wrap:anywhere; font-weight:650; margin:7px 0 4px;line-height:1.12;}
.report-kpis small {font-size:11px; color:#526b60;line-height:1.45;}
.crm-report-dialog h3 {font:inherit;font-weight:650;font-size:18px;letter-spacing:-.025em;margin:0 0 12px;}
.report-table-scroller {max-width:100%;overflow-x:auto;border-radius:7px;border:1px solid #d6dfd9;}
.report-stage-table {border-collapse: collapse; min-width:660px;width:100%;background:white;font-size:12px;}
.report-stage-table th {font-size:10.5px; color:#4c645a; background:#edf2ed; font-weight:650; }
.report-stage-table td,.report-stage-table th {border-bottom:1px solid #e2e8e2;text-align:right; padding:9px 8px;font-variant-numeric:tabular-nums;}
.report-stage-table td:first-child,.report-stage-table th:first-child {text-align:left; padding-left:12px;}
.report-stage-table tfoot td {font-weight:700;background:#edf2ed;border:0;}
.report-evidence {margin:23px 0;}
.report-evidence dl,.report-notes dl {margin:0;}
.report-evidence dl {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 24px;}
.report-evidence dl>div {display:flex;gap:10px;align-items:baseline;justify-content:space-between;padding:9px 0;border-bottom:1px solid #e1e8e1;}
.report-evidence dt {font-size:12px;color:#415d52;}
.report-evidence dd {font-weight:650;margin:0;text-align:right;white-space:nowrap;}
.report-evidence dd small {display:block;font-size:10.5px;font-weight:450;white-space:normal;color:#50695e;}
.report-notes {border:1px solid #d4ded6;border-radius:8px;padding:12px 14px;}
.report-notes summary {font-size:12px;font-weight:650;cursor:pointer;}
.report-notes dl {padding-top:10px; font-size:12px;}
.report-notes dt {font-weight:650;margin-top:9px;}
.report-notes dd {margin:2px 0 0;color:#4c6358; line-height:1.5;}
.report-foot {display:flex;align-items:center;gap:8px;padding:14px 32px 17px;background:#f4f7f2;border-top:1px solid #d4ded5;}
.report-foot span {margin-right:auto; color:#556e61; font-size:11.5px;}
.report-foot button {padding:9px 14px;border-radius:7px;font:inherit;font-size:12px;font-weight:650;cursor:pointer;}
.report-primary {background:#164d42;border:1px solid #164d42;color:white;}
.report-secondary {background:white;border:1px solid #becdc1;color:#234b3a;}
.report-foot button:disabled {opacity:.6;cursor:progress;}
.crm-report-dialog :focus-visible {outline:2px solid #0d8171;outline-offset:2px;}
@media(max-width:710px){.report-kpis {grid-template-columns:repeat(2,minmax(0,1fr));}.report-kpis>div:nth-child(2){border-right:0;}.report-kpis>div:nth-child(-n+2){border-bottom:1px solid #d5dfd6;}.report-evidence dl{grid-template-columns:1fr;}.report-head {padding:20px 18px 15px;}.report-body{padding:3px 18px 19px;}.report-demo{margin-left:18px;margin-right:18px;}.report-foot{padding:12px 18px;flex-wrap:wrap;}.report-foot span{flex-basis:100%;}}
@media(prefers-reduced-motion:reduce){.crm-report-dialog *{scroll-behavior:auto;}}

.report-cohort-section {margin:23px 0;} .report-cohorts{min-width:360px;} .report-cohort-empty {margin:0;color:#526b60;font-size:12px;}
