.crm-reports-page{height:100%;display:flex;flex-direction:column;background:#fff;color:#283142;font:14px Inter,Arial,sans-serif}
.crm-reports-header{height:64px;min-height:64px;display:flex;align-items:center;gap:8px;padding:0 22px;border-bottom:1px solid #e3e7ec}.crm-reports-header h1{font-size:20px;letter-spacing:-.4px;margin:0;font-weight:650}.crm-reports-header span{font-size:12px;color:#939ba8;margin-right:6px}.crm-reports-header button{height:34px;border:1px solid #dae0e7;border-radius:9px;background:#fff;padding:0 13px;font:inherit;cursor:pointer}.crm-reports-header button:last-child{background:#151c2b;color:white;border-color:#151c2b}.crm-reports-header button:disabled{opacity:.5;cursor:default}
.crm-reports-layout{min-height:0;flex:1;display:flex}.crm-reports-rail{width:285px;flex:none;border-right:1px solid #e3e7ec;padding:20px 16px;overflow-y:auto;display:flex;flex-direction:column;gap:20px}.crm-reports-rail section{display:flex;flex-direction:column;gap:9px}.crm-reports-rail h2{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#8992a2;margin:0;font-weight:700}.crm-reports-rail label{display:flex;flex-direction:column;gap:5px;color:#738092;font-size:12px}.crm-reports-rail label span{color:#36466b}.crm-reports-rail select,.crm-reports-rail input[type=date]{height:34px;max-width:100%;border:1px solid #dde3e9;border-radius:8px;background:#f7f8fa;padding:0 9px;font:13px Inter,Arial,sans-serif;color:#35425a}.crm-report-tabs{display:flex;border-radius:9px;background:#eff1f3;padding:2px;gap:2px}.crm-report-tabs button{border:0;background:transparent;color:#8a94a3;font:600 13px Inter,Arial,sans-serif;padding:7px 10px;border-radius:7px;cursor:pointer}.crm-report-tabs button.active{background:#fff;color:#343d4c;box-shadow:0 1px 3px #d6dce2}.crm-report-pill{align-self:flex-start;background:#e3efff;color:#235acf;border:1px solid #8dbdff;border-radius:20px;padding:5px 12px;font-size:13px}.crm-report-check{display:flex!important;flex-direction:row!important;align-items:center!important;margin:0 0 8px}.crm-report-period{display:flex;gap:2px;border:1px solid #dfe4eb;border-radius:8px;overflow:hidden}.crm-report-period button{flex:1;min-width:0;border:0;background:white;padding:8px 3px;font:11px Inter,Arial,sans-serif;color:#69768b;cursor:pointer}.crm-report-period button.active{background:#3069e9;color:#fff}.crm-report-legacy{margin-top:auto;border:0;background:none;text-align:left;color:#5d6d8a;font:12px Inter,Arial,sans-serif;text-decoration:underline;cursor:pointer;padding:8px 0}
.crm-reports-main{min-width:0;min-height:0;flex:1;display:flex;flex-direction:column}.crm-reports-toolbar{height:73px;min-height:73px;display:flex;justify-content:space-between;align-items:center;padding:0 20px;border-bottom:1px solid #e0e5ea}.crm-reports-toolbar h2{margin:0;font-size:14px}.crm-reports-toolbar span{color:#7a8595;font-size:12px}.crm-report-view{display:flex;border:1px solid #dfe4eb;border-radius:9px;overflow:hidden}.crm-report-view button{border:0;background:white;color:#738092;padding:8px 15px;font:13px Inter,Arial,sans-serif;cursor:pointer}.crm-report-view button.active{background:#2d67e9;color:#fff}.crm-report-output{min-height:0;overflow:auto;flex:1}.crm-report-output table{width:100%;border-collapse:collapse;font-size:13px}.crm-report-output th{position:sticky;top:0;background:#fff;color:#8a929e;text-align:left;text-transform:uppercase;letter-spacing:.04em;font-size:11px;font-weight:650;height:43px;padding:0 22px;z-index:1}.crm-report-output td{height:52px;padding:0 22px;border-bottom:1px solid #f0f2f4;color:#495365}.crm-report-output tr:nth-child(odd) td{background:#f5f6f7}.crm-report-output td:last-child,.crm-report-output th:last-child{text-align:right}.crm-report-empty{padding:45px;color:#8b95a3;text-align:center}.crm-report-error{padding:12px 20px;color:#a51e27;background:#fff4f4}.crm-report-error button{text-decoration:underline;background:none;border:0;color:inherit;cursor:pointer}.crm-report-footer{height:52px;min-height:52px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e2e6e9;padding:0 20px;color:#8c96a4;font-size:12px}.crm-report-footer span:last-child{display:flex;align-items:center;gap:8px}.crm-report-footer button{border:0;border-radius:8px;padding:7px 10px;background:#f2f4f6;color:#49566b;cursor:pointer}.crm-report-footer button:disabled{opacity:.5;cursor:default}.crm-report-footer b{padding:8px 11px;background:#2e67e9;color:white;border-radius:8px}.crm-report-chart{display:grid;gap:14px;padding:24px}.crm-report-chart>div{display:grid;grid-template-columns:minmax(180px,240px) minmax(30px,1fr) 50px;align-items:center;gap:15px}.crm-report-chart>div span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-report-chart>div i{display:block;height:18px;border-radius:5px;background:#3e78ec}.crm-report-chart>div strong{text-align:right}
@media(max-width:700px){.crm-reports-header{padding:0 12px}.crm-reports-header span{display:none}.crm-reports-rail{width:180px;padding:14px 10px}.crm-reports-toolbar{padding:0 10px}.crm-report-output td,.crm-report-output th{padding:0 10px}.crm-report-chart>div{grid-template-columns:100px minmax(30px,1fr) 35px}}

/* Reference report density at desktop viewports. */
.crm-reports-toolbar{height:56px;min-height:56px}
.crm-report-output th{height:40px}
.crm-report-output td{height:40px}
.crm-report-footer{height:44px;min-height:44px}

.crm-comparison-controls{display:flex;align-items:end;flex-wrap:wrap;gap:10px;padding:18px 16px 16px}.crm-comparison-controls label{display:flex;flex-direction:column;gap:5px;font-size:11px;color:#7c8797}.crm-comparison-controls select{min-width:100px;height:34px;padding:0 9px;border:1px solid #dfe4eb;border-radius:8px;background:#fff;color:#263345;font:13px Inter,Arial,sans-serif}.crm-comparison-controls>span{padding-bottom:8px;color:#8690a0}
.crm-comparison-legend{display:flex;align-items:center;gap:22px;padding:0 17px 14px;font-size:12px;color:#697386}.crm-comparison-legend span{display:inline-flex;align-items:center;gap:6px}.crm-comparison-legend span:last-child{margin-left:auto;color:#a2aab6}.crm-comparison-legend i{width:12px;height:12px;display:inline-block;border-radius:2px}.crm-comparison-legend .first,.crm-comparison-bars .first{background:#60a5fa}.crm-comparison-legend .second,.crm-comparison-bars .second{background:#34d399}
.crm-comparison-table{min-width:650px}.crm-comparison-table th,.crm-comparison-table td{height:37px!important;padding:0 12px!important}.crm-comparison-table thead th{background:#f7f8fa!important;color:#66717f!important}.crm-comparison-table td:nth-child(2),.crm-comparison-table td:nth-child(3),.crm-comparison-table td:nth-child(4),.crm-comparison-table th:nth-child(2),.crm-comparison-table th:nth-child(3),.crm-comparison-table th:nth-child(4){text-align:right}.crm-comparison-table td:last-child,.crm-comparison-table th:last-child{text-align:left}.crm-comparison-table tbody tr.current td{background:#eff6ff!important}.crm-comparison-table tbody td:nth-child(2),.crm-comparison-table tfoot td:nth-child(2){color:#2563eb}.crm-comparison-table tbody td:nth-child(3),.crm-comparison-table tfoot td:nth-child(3){color:#059669}.crm-comparison-table td.positive{color:#059669}.crm-comparison-table td.negative{color:#ef4444}.crm-comparison-table tfoot th,.crm-comparison-table tfoot td{background:#f1f3f5!important;font-weight:650}.crm-comparison-bars{display:flex;flex-direction:column;gap:2px;max-width:240px}.crm-comparison-bars i{display:block;height:7px;min-width:1px;border-radius:2px}

.crm-reports-main:has(.crm-comparison-table){background:#f3f4f6}
.crm-comparison-controls{align-items:center;gap:6px;padding:15px 16px 14px}
.crm-comparison-controls label{display:flex;flex-direction:row;align-items:center;gap:4px;border:1px solid #9ec4ff;border-radius:18px;background:#e2eeff;padding:4px 10px;color:#8190a3;font-size:12px}
.crm-comparison-controls select{height:auto;min-width:0;border:0;background:transparent;color:#2552bc;font-weight:600;padding:0 2px;max-width:120px}
.crm-comparison-controls>span{padding:0 5px}
.crm-comparison-legend{padding:0 16px 14px}
.crm-comparison-table{width:calc(100% - 32px)!important;margin:0 16px;max-width:900px;font-size:13px}
.crm-comparison-table th,.crm-comparison-table td{height:36px!important}
.crm-comparison-table tbody td{background:#f3f4f6!important;border:0!important}
.crm-comparison-table tbody tr.current td{background:#eef0ff!important}
.crm-comparison-table thead th{height:32px!important;background:#fff!important}
.crm-comparison-table tfoot th,.crm-comparison-table tfoot td{background:#f3f4f6!important}
.crm-comparison-table{table-layout:fixed}
.crm-comparison-table th:nth-child(1){width:90px}
.crm-comparison-table th:nth-child(2),.crm-comparison-table th:nth-child(3),.crm-comparison-table th:nth-child(4){width:90px}
.crm-comparison-bars i{min-width:0}
.crm-comparison-table tbody td:nth-child(3),.crm-comparison-table tfoot td:nth-child(3){color:#243143}
