.crm-dashboard{min-height:100%;background:var(--crm-bg);color:var(--crm-text-primary);font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.5}.crm-dashboard,.dark .crm-dashboard,[data-ib-theme=dark] .crm-dashboard,[data-theme=dark] .crm-dashboard{--crm-bg:#100E13;--crm-surface:#16131A;--crm-card:#211C28;--crm-subtle:#2A2433;--crm-border:rgba(255,255,255,0.09);--crm-control-border:#76717F;--crm-text-primary:#ECE9F1;--crm-text-secondary:#C9C4D4;--crm-text-tertiary:#8B8494;--crm-accent:#F2591F;--crm-progress:#7C6CF0;--crm-success:#4ADE80;--crm-warning:#FBBF24;--crm-danger:#F87171;--crm-info:#60A5FA;--crm-button-text:#211D27;--crm-source-1:#F2591F;--crm-source-2:#7C6CF0;--crm-source-3:#A49DAE;--crm-source-4:#F0A077;--crm-source-5:#BDB5F5;--crm-source-6:#8B8494;--crm-radius:10px;--crm-shadow:0 1px 2px rgba(0,0,0,.3);color-scheme:dark}.crm-dashboard,.crm-dashboard *,.crm-dashboard :after,.crm-dashboard :before{box-sizing:border-box}.crm-dashboard button,.crm-dashboard input,.crm-dashboard select{font:inherit}.crm-dashboard button[class*="hover:opacity-90"]:hover{opacity:1}.crm-dashboard .crm-tabular{font-variant-numeric:tabular-nums}.crm-dashboard :focus-visible{outline:2px solid var(--crm-accent);outline-offset:2px}.crm-dashboard input:focus,.crm-dashboard select:focus,.crm-dashboard textarea:focus{border-color:var(--crm-accent);box-shadow:none}.crm-dashboard .crm-dashboard-controls{background:var(--crm-surface);box-shadow:0 1px 0 var(--crm-border)}.crm-dashboard .crm-dashboard-controls-inner{display:grid;grid-template-columns:minmax(220px,1fr) auto;grid-template-areas:"heading search" "tabs tabs";gap:16px 24px}.crm-dashboard .crm-dashboard-heading{grid-area:heading}.crm-dashboard .crm-dashboard-search{grid-area:search}.crm-dashboard .crm-dashboard-scope{grid-area:tabs}.crm-dashboard .crm-dashboard-search{display:flex;align-items:center;justify-content:flex-end;gap:12px}.crm-dashboard .crm-dashboard-search input{width:min(360px,42vw);border-color:transparent;border-radius:999px;background:var(--crm-card)}.crm-dashboard .crm-dashboard-filter-controls{grid-area:filters;grid-column:1/-1;padding-top:12px;border-top:1px solid var(--crm-border)}.crm-dashboard .crm-dashboard-avatar{width:34px;height:34px;flex:0 0 34px;border-radius:999px;background:linear-gradient(135deg,var(--crm-progress),var(--crm-accent))}.crm-dashboard .crm-dashboard-scope{align-items:center;gap:22px;border:0;background:transparent}.crm-dashboard .crm-dashboard-scope-tab{min-height:44px;border:0;border-bottom:2px solid transparent;border-radius:0;padding:0 0 8px;color:var(--crm-text-secondary);background:transparent;font-size:.78rem;font-weight:650}.crm-dashboard .crm-dashboard-scope-tab:hover{color:var(--crm-text-primary);background:transparent}.crm-dashboard .crm-dashboard-scope-tab-active{border-bottom-color:var(--crm-accent);color:var(--crm-text-primary)}.crm-dashboard .crm-dashboard-content{width:calc(100% - 32px);margin-top:16px;margin-bottom:24px;border:1px solid var(--crm-border);border-radius:var(--crm-radius);background:var(--crm-surface)}.crm-dashboard [data-kpi-card]>button{width:100%;min-height:118px;border-color:var(--crm-border);border-left-width:1px;padding:16px}.crm-dashboard .crm-dashboard-kpi-icon{display:flex;width:28px;height:28px;align-items:center;justify-content:center;color:var(--crm-text-secondary)}.crm-dashboard [data-kpi-card=never-contacted]>button,.crm-dashboard [data-kpi-card=warm-leads]>button{border-color:rgba(242,89,31,.45);background-image:linear-gradient(150deg,#3A1A10,var(--crm-accent) 190%)}.crm-dashboard [data-kpi-card=never-contacted] .crm-dashboard-kpi-icon,.crm-dashboard [data-kpi-card=warm-leads] .crm-dashboard-kpi-icon{color:var(--crm-accent)}.crm-dashboard [data-kpi-card=never-contacted] .crm-dashboard-kpi-secondary,.crm-dashboard [data-kpi-card=warm-leads] .crm-dashboard-kpi-secondary{color:var(--crm-text-primary)}.crm-dashboard [data-kpi-card=new-signups]>button{border-color:rgba(124,108,240,.45);background-image:linear-gradient(150deg,#231D45,var(--crm-progress) 210%)}.crm-dashboard [data-kpi-card=new-signups] .crm-dashboard-kpi-icon{color:var(--crm-progress)}.crm-dashboard .crm-dashboard-content-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;grid-template-areas:"kpis funnel" "member-growth funnel" "member-growth follow-up" "worklists sources" "worklists pace" "action action" "response pipeline" "signup signup" "insights insights" "retention retention";gap:20px;align-items:stretch}.crm-dashboard .crm-dashboard-content-layout>[data-dashboard-section=dashboard-kpis]{grid-area:kpis}.crm-dashboard .crm-dashboard-content-layout .crm-dashboard-analytics-layout,.crm-dashboard .crm-dashboard-content-layout>[data-dashboard-section=dashboard-analytics]{display:contents}.crm-dashboard .crm-dashboard-content-layout>[data-dashboard-section=dashboard-action-queue]{grid-area:action}.crm-dashboard .crm-dashboard-content-layout>[data-dashboard-section=dashboard-worklists]{grid-area:worklists}.crm-dashboard .crm-dashboard-content-layout>[data-dashboard-section=dashboard-insights]{grid-area:insights}.crm-dashboard .crm-dashboard-content-layout>[data-dashboard-section=dashboard-retention]{grid-area:retention}.crm-dashboard .crm-dashboard-analytics-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;grid-template-areas:"member-growth funnel" "response follow-up" "pipeline pace" "signup sources";gap:14px;align-items:stretch}.crm-dashboard .crm-dashboard-analytics-cell{min-width:0}.crm-dashboard .crm-dashboard-analytics-cell>figure{height:100%}.crm-dashboard .crm-dashboard-content-layout .crm-dashboard-chart-member-growth>figure{display:flex;flex-direction:column}.crm-dashboard .crm-dashboard-content-layout .crm-dashboard-chart-member-growth>figure>div:last-child{flex:1 1 auto;min-height:19rem}.crm-dashboard .crm-dashboard-content-layout .crm-dashboard-chart-member-growth [role=img]{height:100%;min-height:19rem}.crm-dashboard .crm-dashboard-chart-member-growth{grid-area:member-growth}.crm-dashboard .crm-dashboard-chart-funnel{grid-area:funnel}.crm-dashboard .crm-dashboard-chart-response{grid-area:response}.crm-dashboard .crm-dashboard-chart-follow-up{grid-area:follow-up}.crm-dashboard .crm-dashboard-chart-pipeline{grid-area:pipeline}.crm-dashboard .crm-dashboard-chart-signup{grid-area:signup}.crm-dashboard .crm-dashboard-chart-pace{grid-area:pace}.crm-dashboard .crm-dashboard-chart-sources{grid-area:sources}.crm-dashboard .crm-dashboard-chart-member-growth figcaption{align-items:center}.crm-dashboard .crm-member-growth-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px 16px;color:var(--crm-text-secondary);font-size:.75rem}.crm-dashboard .crm-member-growth-actions>span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.crm-dashboard .crm-member-growth-key{width:9px;height:9px;border-radius:3px}.crm-dashboard .crm-member-growth-bar-signups,.crm-dashboard .crm-member-growth-key-signups{background:var(--crm-accent)}.crm-dashboard .crm-member-growth-bar-churn,.crm-dashboard .crm-member-growth-key-churn{background:var(--crm-progress)}.crm-dashboard .crm-member-growth-actions select{min-height:36px;max-width:148px;border:1px solid var(--crm-control-border);border-radius:999px;padding:6px 30px 6px 12px;background:var(--crm-subtle);color:var(--crm-text-primary);font-size:.75rem}.crm-dashboard .crm-member-growth-chart{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr);align-items:start;min-height:19rem;overflow:hidden}.crm-dashboard .crm-member-growth-y-axis{display:flex;height:14rem;flex-direction:column;justify-content:space-between;padding:0 10px 0 0;color:var(--crm-text-tertiary);font-size:.7rem;font-variant-numeric:tabular-nums;text-align:right}.crm-dashboard .crm-member-growth-visual{min-width:0}.crm-dashboard .crm-member-growth-plot{position:relative;height:14rem}.crm-dashboard .crm-member-growth-gridline{position:absolute;right:0;left:0;z-index:1;height:1px;background:var(--crm-border)}.crm-dashboard .crm-member-growth-gridline-top{top:0}.crm-dashboard .crm-member-growth-gridline-upper{top:25%}.crm-dashboard .crm-member-growth-gridline-baseline{top:50%;background:var(--crm-control-border)}.crm-dashboard .crm-member-growth-gridline-lower{top:75%}.crm-dashboard .crm-member-growth-gridline-bottom{bottom:0}.crm-dashboard .crm-member-growth-columns,.crm-dashboard .crm-member-growth-x-axis{display:grid;grid-template-columns:repeat(30,minmax(0,1fr))}.crm-dashboard .crm-member-growth-columns{position:absolute;z-index:2;inset:0}.crm-dashboard .crm-member-growth-day{position:relative;min-width:0}.crm-dashboard .crm-member-growth-day[data-member-growth-selected-week=true]{background:color-mix(in srgb,var(--crm-text-primary) 7%,transparent)}.crm-dashboard .crm-member-growth-day:not([data-member-growth-selected-week=true]) .crm-member-growth-bar-signups{background:color-mix(in srgb,var(--crm-accent) 52%,transparent)}.crm-dashboard .crm-member-growth-day:not([data-member-growth-selected-week=true]) .crm-member-growth-bar-churn{background:color-mix(in srgb,var(--crm-progress) 55%,transparent)}.crm-dashboard .crm-member-growth-bar{position:absolute;left:28%;width:44%;min-height:0}.crm-dashboard .crm-member-growth-bar-signups{bottom:50%;height:var(--crm-growth-height);border-radius:2px 2px 0 0}.crm-dashboard .crm-member-growth-bar-churn{top:50%;height:var(--crm-growth-height);border-radius:0 0 2px 2px}.crm-dashboard .crm-member-growth-x-axis{padding-top:12px}.crm-dashboard .crm-member-growth-x-axis>span{display:flex;min-width:0;flex-direction:column;align-items:center;gap:3px;color:var(--crm-text-tertiary);font-size:.62rem;line-height:1;font-variant-numeric:tabular-nums}.crm-dashboard .crm-member-growth-x-axis b{color:var(--crm-text-tertiary);font-weight:500}.crm-dashboard .crm-member-growth-x-axis [data-member-growth-weekend=true] b{color:var(--crm-progress)}.crm-dashboard .crm-member-growth-x-axis [data-member-growth-label-selected=true] b{color:var(--crm-source-3)}.crm-dashboard .crm-member-growth-x-axis [data-member-growth-label-selected=true][data-member-growth-weekend=true] b{color:var(--crm-progress)}.crm-dashboard .crm-member-growth-x-axis [data-member-growth-label-selected=true] small{color:var(--crm-text-primary);font-weight:600}.crm-dashboard .crm-member-growth-x-axis small{font-size:inherit}.crm-dashboard .crm-member-growth-x-axis [data-member-growth-label-future=true]{color:var(--crm-text-tertiary)}.crm-dashboard .crm-member-growth-unavailable{position:absolute;top:43%;right:20px;left:64px;z-index:3;color:var(--crm-text-secondary);font-size:.75rem;text-align:center}.crm-dashboard .crm-dashboard-chart-funnel>figure>div:last-child{min-height:0}@media (max-width:1179px){.crm-dashboard .crm-dashboard-content-layout{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"kpis kpis" "member-growth member-growth" "funnel follow-up" "worklists worklists" "sources pace" "action action" "response response" "pipeline signup" "insights insights" "retention retention"}.crm-dashboard .crm-dashboard-analytics-layout{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"member-growth member-growth" "funnel follow-up" "response response" "pipeline pace" "signup sources"}}@media (max-width:759px){.crm-dashboard .crm-member-growth-actions select,.crm-dashboard [role=button],.crm-dashboard button,.crm-dashboard input,.crm-dashboard select{min-height:44px}.crm-dashboard .crm-dashboard-controls-inner{grid-template-columns:minmax(0,1fr);grid-template-areas:"heading" "search" "tabs" "filters";align-items:stretch}.crm-dashboard .crm-dashboard-scope{width:100%;order:2}.crm-dashboard .crm-dashboard-filter-controls,.crm-dashboard .crm-dashboard-search{justify-content:stretch}.crm-dashboard .crm-dashboard-search input{width:100%}.crm-dashboard .crm-dashboard-filter-controls>button,.crm-dashboard .crm-dashboard-filter-controls>input,.crm-dashboard .crm-dashboard-filter-controls>select{flex:1 1 140px}.crm-dashboard .crm-dashboard-avatar{display:none}.crm-dashboard .crm-dashboard-content{width:calc(100% - 20px);margin-top:10px}.crm-dashboard .crm-dashboard-content-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"kpis" "member-growth" "funnel" "follow-up" "worklists" "sources" "pace" "action" "response" "pipeline" "signup" "insights" "retention"}.crm-dashboard .crm-dashboard-analytics-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"member-growth" "funnel" "follow-up" "response" "pipeline" "pace" "signup" "sources"}}@media (prefers-reduced-motion:reduce){.crm-dashboard *,.crm-dashboard :after,.crm-dashboard :before{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}