:root{color-scheme:light;--font-ui: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-display: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--page: oklch(.975 .006 95);--surface: oklch(.995 .003 95);--ink: oklch(.2 .012 85);--ink-2: oklch(.42 .012 85);--muted: oklch(.58 .01 85);--line: oklch(.89 .009 95);--line-strong: oklch(.8 .012 95);--wash: oklch(.94 .007 95);--series-1: oklch(.57 .17 250);--series-2: oklch(.57 .13 155);--series-3: oklch(.7 .15 75);--series-4: oklch(.58 .16 305);--good: oklch(.47 .14 145);--bad: oklch(.56 .18 25);--rain: oklch(.72 .09 240);--space-2xs: 4px;--space-xs: 8px;--space-sm: 12px;--space-md: 16px;--space-lg: 24px;--space-xl: 32px;--space-2xl: 48px}@media(prefers-color-scheme:dark){:root{color-scheme:dark;--page: oklch(.16 .008 85);--surface: oklch(.2 .008 85);--ink: oklch(.94 .006 95);--ink-2: oklch(.75 .008 95);--muted: oklch(.62 .008 95);--line: oklch(.29 .009 85);--line-strong: oklch(.38 .012 85);--wash: oklch(.24 .009 85);--series-1: oklch(.67 .16 250);--series-2: oklch(.66 .13 155);--series-3: oklch(.76 .14 75);--series-4: oklch(.7 .15 305);--good: oklch(.68 .14 145);--bad: oklch(.7 .17 25);--rain: oklch(.62 .09 240)}}*{box-sizing:border-box;margin:0;padding:0}html{-webkit-text-size-adjust:100%}html,body,#root{min-height:100%}body{min-width:320px;min-height:100dvh;background:var(--page);color:var(--ink);font-family:var(--font-ui);font-size:14px;line-height:1.45}button,input,select,summary{font:inherit}button,summary,select{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid color-mix(in oklch,var(--series-1) 35%,transparent);outline-offset:2px}.shell{width:min(100%,1240px);margin:0 auto;padding:var(--space-lg) var(--space-lg) 64px}.topbar{display:flex;align-items:center;gap:var(--space-lg);padding:var(--space-xs) 0 var(--space-lg)}.topbar .tabs{margin-left:var(--space-sm)}.brand{display:flex;align-items:center;gap:var(--space-xs);white-space:nowrap}.brand picture,.brand img{display:block}.brand img{width:auto;height:30px}.brand span{padding-top:2px;color:var(--muted);font-size:13px;font-weight:500}.topbar .spacer{flex:1}.mobile-title,.mobile-tabs,.mobile-header-actions,.mobile-range,.mobile-sheet-root{display:none}.tabs{display:flex;gap:2px}.tabs a{color:var(--muted);text-decoration:none;font-size:13px;font-weight:500;padding:4px 10px;border-radius:8px}.tabs a:hover{color:var(--ink)}.tabs a.on{color:var(--ink);background:var(--surface);box-shadow:inset 0 0 0 1px var(--line)}.control-summary{display:flex;flex-wrap:wrap;gap:var(--space-lg);margin-top:var(--space-sm)}.control-summary>div{display:flex;flex-direction:column;gap:2px}.control-summary b{font-size:20px;font-variant-numeric:tabular-nums;letter-spacing:-.02em}.control-summary span{color:var(--muted);font-size:12px}.data-table tr.warn-row td{background:color-mix(in srgb,#c2410c 7%,transparent)}.data-table tfoot td{border-top:2px solid var(--line);border-bottom:0}.updated{color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}.controls{position:relative;display:flex;align-items:flex-start;gap:var(--space-xs);margin-bottom:var(--space-xl)}.period-row{min-width:0;flex:1;overflow-x:auto;scrollbar-width:none}.period-row::-webkit-scrollbar{display:none}.seg{display:flex;width:max-content;min-width:100%;padding:3px;border:1px solid var(--line);border-radius:11px;background:var(--surface)}.seg button{min-height:38px;flex:1;padding:0 var(--space-md);border:0;border-radius:8px;background:transparent;color:var(--ink-2);cursor:pointer;font-size:13px;white-space:nowrap}.seg button.on{background:var(--ink);color:var(--page);font-weight:600}.period-label{margin-top:var(--space-2xs);padding-left:3px;color:var(--muted);font-size:11.5px;white-space:nowrap}.period-label b{color:var(--ink-2);font-variant-numeric:tabular-nums;font-weight:600}.date-range .apply{min-height:42px;padding:0 var(--space-md);border:0;border-radius:9px;background:var(--ink);color:var(--page);cursor:pointer;font-size:13px;font-weight:600}.date-range .apply:disabled{cursor:default;opacity:.4}.filter-details{position:relative;flex:0 0 auto}.filter-trigger{display:flex;min-height:46px;align-items:center;gap:var(--space-xs);padding:0 var(--space-md);border:1px solid var(--line);border-radius:11px;background:var(--surface);color:var(--ink-2);cursor:pointer;font-size:13px;font-weight:550;white-space:nowrap}.filter-trigger:after{content:"";width:8px;height:8px;margin:-4px 3px 0 auto;border-right:1.75px solid currentColor;border-bottom:1.75px solid currentColor;color:var(--muted);transform:rotate(45deg);transition:transform .16s ease-out}.filter-details.open>.filter-trigger:after{transform:translateY(4px) rotate(225deg)}.filter-backdrop{display:none}.filter-count{display:inline-grid;min-width:20px;height:20px;place-items:center;padding:0 5px;border-radius:10px;background:var(--ink);color:var(--page);font-size:11px;font-weight:650}.filter-body{position:absolute;z-index:20;top:calc(100% + var(--space-xs));right:0;display:flex;width:min(760px,calc(100vw - 48px));flex-wrap:wrap;align-items:flex-end;gap:var(--space-sm);padding:var(--space-md);border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:0 16px 40px color-mix(in oklch,var(--ink) 14%,transparent)}.filter-sheet-head{display:none}.filter-note{width:100%;margin:0;color:var(--muted);font-size:11.5px;line-height:1.45}.date-range,.filter-selects{display:flex;flex-wrap:wrap;align-items:flex-end;gap:var(--space-xs)}.field{display:grid;position:relative;gap:var(--space-2xs);min-width:0}.field:has(select):after{content:"";position:absolute;right:var(--space-sm);bottom:17px;width:8px;height:8px;border-right:1.75px solid var(--muted);border-bottom:1.75px solid var(--muted);pointer-events:none;transform:rotate(45deg)}.field>span{color:var(--muted);font-size:11px;font-weight:550}.field input,.field select,.mselect>button{min-height:42px;border:1px solid var(--line);border-radius:9px;background:var(--page);color:var(--ink-2);font-size:13px}.field input,.field select{padding:0 var(--space-sm)}.field select{min-width:0;padding-right:44px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.category-field select{min-width:144px}.return-customer-field select{min-width:172px}.reset,.mselect-clear{border:0;background:transparent;color:var(--muted);cursor:pointer;font-size:13px}.reset{min-height:42px;padding:0 var(--space-xs);text-decoration:underline;text-decoration-color:var(--line-strong);text-underline-offset:4px}.mselect{position:relative}.mselect>button{position:relative;display:flex;min-width:0;align-items:center;justify-content:center;padding:0 44px 0 var(--space-sm);cursor:pointer;white-space:nowrap}.mselect>button span{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis}.mselect>button.on{border-color:var(--line-strong);color:var(--ink);font-weight:600}.mselect .chev{position:absolute;right:var(--space-sm);width:18px;height:18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2;color:var(--muted);transition:transform .16s ease-out}.mselect.open .chev{transform:rotate(180deg)}.mselect-pop{position:absolute;z-index:30;top:calc(100% + 6px);left:0;min-width:240px;max-height:320px;overflow-y:auto;padding:6px;border:1px solid var(--line);border-radius:10px;background:var(--surface);box-shadow:0 14px 32px color-mix(in oklch,var(--ink) 15%,transparent)}.mselect-item{display:flex;min-height:42px;align-items:center;gap:var(--space-xs);padding:6px var(--space-xs);border-radius:7px;cursor:pointer;font-size:13px}.mselect-item input{width:18px;height:18px;accent-color:var(--ink)}.mselect-item span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mselect-item span.dim,.mselect-item.dim{color:var(--muted)}.mselect-item em{color:var(--muted);font-size:12px;font-style:normal;font-variant-numeric:tabular-nums}.mselect-clear{width:100%;min-height:38px;padding:0 var(--space-xs);border-bottom:1px solid var(--line);text-align:left}.dashboard{display:grid;gap:var(--space-md);transition:opacity .16s ease-out}.dashboard.is-loading{opacity:.55}.metrics-main,.metrics-secondary,.metrics-current{display:grid;overflow:hidden;border:1px solid var(--line);background:var(--surface)}.metrics-main{grid-template-columns:repeat(4,minmax(0,1fr));border-radius:13px}.metrics-secondary{grid-template-columns:repeat(5,minmax(0,1fr));border-radius:11px}.metrics-current{grid-template-columns:repeat(3,minmax(0,1fr));border-radius:11px}.metrics-plain{border-radius:11px}.metrics-3{grid-template-columns:repeat(3,minmax(0,1fr))}.kpi{min-width:0;padding:var(--space-md)}.kpi+.kpi{border-inline-start:1px solid var(--line)}.kpi .label{overflow:hidden;margin-bottom:5px;color:var(--muted);font-size:11px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.kpi .label small{font-size:inherit}.kpi .value{margin:0;font-family:var(--font-display);font-size:20px;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-.025em;line-height:1.15}.kpi.emphasis{padding:var(--space-lg)}.kpi.emphasis .label{font-size:12px}.kpi.emphasis .value{font-size:30px}.kpi .delta{margin:5px 0 0;color:var(--muted);font-size:11px;line-height:1.35}.kpi .delta b{font-weight:650}.delta .up{color:var(--good)}.delta .down{color:var(--bad)}.info-button{position:relative;display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;margin:-7px -5px -7px 1px;padding:5px;border:0;border-radius:50%;background:transparent;color:var(--muted);cursor:pointer;vertical-align:middle}.info-button:after{content:"";position:absolute;top:-8px;right:-8px;bottom:-8px;left:-8px}button.dbadge:after{content:"";position:absolute;top:-14px;right:-8px;bottom:-14px;left:-8px}.info-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.info-button:active{background:var(--wash);color:var(--ink)}.term{display:inline;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:inherit;cursor:help}.term>span{border-bottom:1px dotted currentColor;padding-bottom:1px}.term:hover>span,.term:focus-visible>span{border-bottom-style:solid;color:var(--ink)}.term:focus-visible{outline:none}.data-table th .term>span{border-bottom-color:var(--muted)}.val-good b,.control-summary .val-good b{color:var(--good)}.val-bad b,.control-summary .val-bad b{color:var(--bad)}.ltv-curve{margin-top:var(--space-lg);padding-top:var(--space-md);border-top:1px solid var(--line)}.ltv-curve .section-head h3{margin:0;font-size:15px}.data-table tr.row-accent td{background:color-mix(in oklch,var(--good) 8%,transparent)}.info-sheet-root{position:fixed;z-index:120;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:var(--space-lg)}.info-sheet-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;border:0;background:color-mix(in oklch,var(--ink) 32%,transparent);cursor:default}.info-sheet{position:relative;width:min(100%,480px);max-height:min(78dvh,680px);overflow-y:auto;overscroll-behavior:contain;padding:var(--space-lg);border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:0 20px 64px color-mix(in oklch,var(--ink) 22%,transparent)}.info-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-lg);margin-bottom:var(--space-md)}.info-sheet-head strong{color:var(--ink);font-family:var(--font-display);font-size:19px;font-weight:680;letter-spacing:-.02em}.info-sheet-head button{min-width:58px;min-height:44px;margin:-10px -10px -10px 0;border:0;background:transparent;color:var(--series-1);cursor:pointer;font-weight:650}.info-sheet-content{display:grid;gap:var(--space-sm);color:var(--ink-2);font-size:14px;line-height:1.55}.info-sheet-content h3{margin-top:var(--space-xs);color:var(--ink);font-size:14px;font-weight:680}.dbadge{position:relative;display:inline-block;padding:1px 5px;border:0;border-radius:5px;font-family:inherit;font-size:9.5px;font-weight:700;letter-spacing:.04em;line-height:1.4;vertical-align:1px;cursor:pointer}.dbadge-create{background:color-mix(in oklch,var(--series-3) 22%,transparent);color:color-mix(in oklch,var(--series-3) 60%,var(--ink))}.dbadge-done{background:color-mix(in oklch,var(--series-2) 20%,transparent);color:color-mix(in oklch,var(--series-2) 60%,var(--ink))}.dbadge-cancel{background:color-mix(in oklch,var(--bad) 16%,transparent);color:color-mix(in oklch,var(--bad) 55%,var(--ink))}.dbadge-snapshot{background:color-mix(in oklch,var(--muted) 16%,transparent);color:var(--muted)}.date-legend{display:flex;flex-wrap:wrap;gap:var(--space-2xs) var(--space-md);margin:calc(-1 * var(--space-2xs)) 2px 0;color:var(--muted);font-size:11px}.panel{min-width:0;padding:var(--space-lg);border:1px solid var(--line);border-radius:12px;background:var(--surface)}.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-lg);margin-bottom:var(--space-lg)}.section-head h2{flex:0 0 auto;color:var(--ink);font-size:14px;font-weight:650;letter-spacing:-.01em}.section-head h2 .info-button{font-weight:400}.section-head p{max-width:70ch;color:var(--muted);font-size:11.5px;text-align:right}.chart-wrap{width:100%;height:260px}.weather-strip{margin-top:var(--space-sm);padding-top:var(--space-sm);border-top:1px dashed var(--line)}.weather-strip-head{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-md);margin-bottom:2px;padding-left:42px;color:var(--muted);font-size:11px}.weather-strip-legend i{display:inline-block;vertical-align:middle}.weather-strip-legend .wx-rain{width:9px;height:9px;border-radius:2px;background:color-mix(in oklch,var(--rain) 45%,transparent)}.weather-strip-legend .wx-temp{width:14px;height:3px;border-radius:1.5px;background:linear-gradient(90deg,#60a5fa,#94a3b8,#dc2626)}.weather-strip-chart{width:100%;height:68px}.money-chart-wrap{height:220px}.chart-empty{display:grid;min-height:220px;place-content:center;gap:var(--space-xs);color:var(--muted);text-align:center}.chart-empty strong{color:var(--ink);font-family:var(--font-display);font-size:26px;font-weight:680;letter-spacing:-.025em}.chart-empty span{font-size:12px}.recharts-text,.recharts-tooltip-wrapper,.recharts-legend-item-text{font-family:var(--font-ui)!important}.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-md)}.funnel{display:flex;flex-direction:column;margin-top:var(--space-lg)}.frow{display:block}.fstep{display:none}.fstage{min-width:0}.flabel{display:flex;align-items:baseline;justify-content:center;gap:var(--space-sm);margin-bottom:6px;color:var(--ink-2);font-size:12px;font-weight:520}.flabel b{color:var(--ink);font-family:var(--font-display);font-size:20px;font-weight:680;font-variant-numeric:tabular-nums;letter-spacing:-.02em}.fbar-track{width:100%}.fbar{display:flex;height:44px;gap:1px;min-width:3px;margin-inline:auto;overflow:hidden;border-radius:7px;clip-path:polygon(1.5% 0,98.5% 0,96.5% 100%,3.5% 100%);filter:drop-shadow(0 4px 8px color-mix(in oklch,var(--ink) 10%,transparent))}.fseg{display:flex;min-width:3px;flex-basis:0;align-items:center;justify-content:center;overflow:hidden;padding:0;border:0;border-radius:6px;font-size:11.5px;font-variant-numeric:tabular-nums;font-weight:600;white-space:nowrap}.fseg-main{background:color-mix(in oklch,var(--series-1) 24%,transparent);color:color-mix(in oklch,var(--series-1) 62%,var(--ink))}.fseg-good{background:color-mix(in oklch,var(--series-2) 26%,transparent);color:color-mix(in oklch,var(--series-2) 60%,var(--ink))}.fseg-wait{background:color-mix(in oklch,var(--series-3) 30%,transparent);color:color-mix(in oklch,var(--series-3) 58%,var(--ink))}.fseg-bad{background:color-mix(in oklch,var(--bad) 18%,transparent);color:color-mix(in oklch,var(--bad) 62%,var(--ink))}.fseg-dim{background:var(--wash);color:var(--muted)}.fseg-click{cursor:pointer;font:inherit;font-size:11.5px;font-weight:600}.fseg-click:hover,.fseg-click.open{box-shadow:inset 0 0 0 1.5px color-mix(in oklch,var(--bad) 55%,transparent)}.fconn{width:max-content;max-width:100%;margin:5px auto 7px;padding:5px 10px;border:1px solid color-mix(in oklch,var(--series-1) 22%,var(--line));border-radius:999px;background:var(--surface);color:var(--muted);font-size:10.5px;line-height:1.3;text-align:center}.fconn:before{display:none}.fconn>span:first-child{color:var(--ink-2);font-weight:700}.fconn em{margin-inline-start:7px;color:color-mix(in oklch,var(--bad) 72%,var(--ink));font-style:normal;font-weight:650}.fconn-note{margin-inline-start:var(--space-sm);color:color-mix(in oklch,var(--series-2) 65%,var(--ink))}.fchips{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px;vertical-align:middle}.fchip{display:inline-flex;align-items:center;padding:2px 9px;border:0;border-radius:999px;font:inherit;font-size:11px;font-variant-numeric:tabular-nums;font-weight:600;white-space:nowrap}.fchip-work{background:color-mix(in oklch,var(--series-1) 22%,transparent);color:color-mix(in oklch,var(--series-1) 62%,var(--ink))}.fchip-wait{background:color-mix(in oklch,var(--series-3) 28%,transparent);color:color-mix(in oklch,var(--series-3) 58%,var(--ink))}.fchip-bad{background:color-mix(in oklch,var(--bad) 16%,transparent);color:color-mix(in oklch,var(--bad) 62%,var(--ink));cursor:pointer}.fchip-bad:hover,.fchip-bad.open{box-shadow:inset 0 0 0 1.5px color-mix(in oklch,var(--bad) 55%,transparent)}.freasons{max-width:520px;margin-top:var(--space-md);margin-inline:auto;padding:var(--space-sm) var(--space-md);border:1px solid var(--line);border-radius:9px;background:var(--wash)}.freasons-title{margin-bottom:var(--space-xs);color:var(--ink);font-size:12px;font-weight:650}.freasons-row{display:flex;justify-content:space-between;gap:var(--space-md);padding:2px 0;color:var(--ink-2);font-size:12.5px}.freasons-row b{font-variant-numeric:tabular-nums;white-space:nowrap}.freasons-row em{color:var(--muted);font-style:normal;font-weight:400}.freasons-row.dim{color:var(--muted)}.funnel-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-md);margin-top:var(--space-lg);padding:var(--space-md);border:1px solid var(--line);border-radius:10px;background:var(--wash)}.funnel-stats>div{display:flex;flex-direction:column;gap:2px;padding-inline-end:var(--space-md);border-inline-end:1px solid var(--line)}.funnel-stats>div:last-child{padding-inline-end:0;border-inline-end:0}.funnel-stats b{font-family:var(--font-display);font-size:20px;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-.02em}.funnel-stats span{color:var(--muted);font-size:11.5px}.funnel-stats .fstat-label{margin-bottom:2px;color:var(--ink-2);font-size:9.5px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}.flegend{display:flex;flex-wrap:wrap;gap:6px var(--space-md);padding-bottom:var(--space-xs);border-bottom:1px solid var(--line);color:var(--muted);font-size:10.5px}.flegend span{display:inline-flex;align-items:center;gap:5px}.flegend i{width:7px;height:7px;border-radius:50%}.flegend-main{background:var(--series-1)}.flegend-good{background:var(--series-2)}.flegend-wait{background:var(--series-3)}.flegend-bad{background:var(--bad)}.section-kicker{display:block;margin-bottom:3px;color:var(--muted);font-size:9.5px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}.funnel-note{margin-top:var(--space-md);color:var(--muted);font-size:11.5px;line-height:1.5}.funnel-panel .funnel-stats{margin-top:var(--space-lg)}.funnel-panel .funnel{width:min(100%,820px);margin:var(--space-xl) auto 0;gap:0}.funnel-panel .fstage{display:grid;grid-template-columns:32px minmax(0,1fr);gap:var(--space-md);align-items:start}.funnel-panel .fstep{display:grid;width:32px;height:32px;place-items:center;border:1px solid var(--line-strong);border-radius:50%;background:var(--surface);color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums;font-weight:700}.funnel-panel .fstep-done{border-color:color-mix(in oklch,var(--good) 35%,var(--line));background:color-mix(in oklch,var(--good) 10%,var(--surface));color:var(--good)}.fstage-body{min-width:0;padding-top:2px}.funnel-panel .flabel{justify-content:flex-start;gap:var(--space-sm);margin-bottom:var(--space-xs);color:var(--ink-2);font-size:13px;text-align:left}.funnel-panel .flabel b{margin-left:auto;font-size:21px}.funnel-panel .fbar-track{height:8px;overflow:hidden;border-radius:2px;background:var(--wash)}.fbar-fill{display:block;min-width:2px;height:100%;border-radius:2px;background:color-mix(in oklch,var(--series-1) 58%,var(--surface))}.fbar-good{background:color-mix(in oklch,var(--good) 66%,var(--surface))}.fstage-note{display:block;margin-top:6px;color:var(--muted);font-size:11px}.ftransition{position:relative;display:flex;min-height:58px;align-items:center;gap:6px;margin-left:15px;padding:8px 0 8px 33px;color:var(--muted);font-size:11.5px}.ftransition:before{content:"";position:absolute;top:0;bottom:0;left:0;width:1px;background:var(--line-strong)}.ftransition-rate{color:var(--ink);font-weight:700}.ftransition-loss{margin-left:auto;color:color-mix(in oklch,var(--bad) 72%,var(--ink));font-variant-numeric:tabular-nums;font-weight:650}.ftransition-pending{color:color-mix(in oklch,var(--series-3) 65%,var(--ink))}.fdetails,.forder-origin{display:flex;flex-wrap:wrap;gap:6px var(--space-md);margin-top:var(--space-sm)}.forder-origin{color:var(--muted);font-size:11.5px}.forder-origin b{color:var(--ink-2);font-variant-numeric:tabular-nums}.fdetail{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border:1px solid var(--line);border-radius:6px;background:transparent;color:var(--ink-2);font:inherit;font-size:11px;white-space:nowrap}.fdetail b{font-variant-numeric:tabular-nums}button.fdetail{cursor:pointer}.fdetail-work{border-color:color-mix(in oklch,var(--series-1) 24%,var(--line))}.fdetail-wait{border-color:color-mix(in oklch,var(--series-3) 30%,var(--line));color:color-mix(in oklch,var(--series-3) 60%,var(--ink))}.fdetail-bad{border-color:color-mix(in oklch,var(--bad) 25%,var(--line));color:color-mix(in oklch,var(--bad) 70%,var(--ink))}.fdetail-bad:hover,.fdetail-bad.open{border-color:color-mix(in oklch,var(--bad) 55%,var(--line));background:color-mix(in oklch,var(--bad) 7%,transparent)}.funnel-panel .freasons{width:min(100%,772px);max-width:none;margin-top:var(--space-lg);margin-left:calc(50% - min(50%,386px) + 48px);margin-right:0}@media(max-width:640px){.funnel-panel .funnel{margin-top:var(--space-lg)}.funnel-panel .fstage{grid-template-columns:26px minmax(0,1fr);gap:var(--space-sm)}.funnel-panel .fstep{width:26px;height:26px;font-size:10px}.ftransition{min-height:52px;margin-left:12px;padding-left:26px}.ftransition-pending{display:none}.funnel-panel .freasons{width:100%;margin-left:0}}.hbars{display:flex;flex-direction:column;gap:10px}.hbar{display:grid;grid-template-columns:minmax(110px,150px) minmax(60px,1fr) 92px;align-items:center;gap:var(--space-sm)}.hbar .name{overflow:hidden;color:var(--ink-2);font-size:12.5px;text-overflow:ellipsis;white-space:nowrap}.hbar .track{display:flex;height:12px;align-items:center;overflow:hidden;border-radius:4px;background:var(--wash)}.hbar .fill{min-width:2px;height:100%;border-radius:0 4px 4px 0}.hbar .val{color:var(--ink-2);font-size:12px;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.hbar .val b{color:var(--ink);font-weight:650}.table-scroll{width:100%;overflow-x:auto}table{width:100%;border-collapse:collapse}.category-table{min-width:600px}.manager-table{min-width:920px}.order-manager-table{min-width:620px}.creation-manager-table{min-width:900px}.origin-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));overflow:hidden;margin-bottom:var(--space-md);border:1px solid var(--line);border-radius:10px;background:var(--wash)}.origin-summary>div{display:grid;gap:2px;padding:var(--space-sm) var(--space-md)}.origin-summary>div+div{border-inline-start:1px solid var(--line)}.origin-summary b{font-family:var(--font-display);font-size:20px;font-variant-numeric:tabular-nums}.origin-summary span,.table-note{color:var(--muted);font-size:10.5px;line-height:1.4}.origin-summary .origin-warn b,td.origin-alert{color:var(--bad)}.table-note{margin-top:var(--space-sm)}@media(max-width:720px){.origin-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.origin-summary>div+div{border-inline-start:0}.origin-summary>div:nth-child(2n){border-inline-start:1px solid var(--line)}.origin-summary>div:nth-child(n+3){border-top:1px solid var(--line)}}th,td{padding:9px 10px;font-variant-numeric:tabular-nums;text-align:right}th:first-child,td:first-child{padding-left:0;text-align:left}th:last-child,td:last-child{padding-right:0}th{border-bottom:1px solid var(--line);color:var(--muted);font-size:10.5px;font-weight:600;letter-spacing:.035em;text-transform:uppercase}td{border-bottom:1px solid var(--line);font-size:13px;white-space:nowrap}tr:last-child td{border-bottom:0}td.dim{color:var(--muted)}.retention-dashboard{gap:var(--space-lg)}.retention-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:var(--space-xl);padding:var(--space-sm) 2px var(--space-xs)}.retention-intro>div:first-child{display:grid;max-width:720px;gap:var(--space-xs)}.eyebrow{color:var(--muted);font-size:10.5px;font-weight:680;letter-spacing:.065em;text-transform:uppercase}.retention-intro h1{max-width:22ch;font-family:var(--font-display);font-size:30px;font-weight:700;letter-spacing:-.035em;line-height:1.08}.retention-intro p{color:var(--ink-2);font-size:13px}.retention-switch{display:inline-flex;width:max-content;padding:3px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.retention-switch button{min-height:36px;padding:0 var(--space-sm);border:0;border-radius:7px;background:transparent;color:var(--muted);cursor:pointer;font-size:12px;font-weight:580;white-space:nowrap}.retention-switch button.on{background:var(--ink);color:var(--page)}.retention-metrics,.subscription-metrics{display:grid;overflow:hidden;border:1px solid var(--line);border-radius:13px;background:var(--surface)}.retention-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.subscription-metrics{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:var(--space-xs);border-radius:10px}.retention-metric{display:grid;min-width:0;align-content:start;gap:4px;padding:var(--space-lg)}.subscription-metrics .retention-metric{padding:var(--space-md)}.retention-metric+.retention-metric{border-inline-start:1px solid var(--line)}.retention-metric dt{overflow:hidden;color:var(--muted);font-size:11.5px;text-overflow:ellipsis;white-space:nowrap}.retention-metric dd{color:var(--ink);font-family:var(--font-display);font-size:28px;font-variant-numeric:tabular-nums;font-weight:690;letter-spacing:-.03em;line-height:1.05}.subscription-metrics .retention-metric dd{font-size:22px}.retention-metric small{color:var(--muted);font-size:10.5px;line-height:1.35}.retention-metric.profit dd,.retention-metric.active dd{color:var(--good)}.retention-metric.warning dd{color:var(--bad)}.retention-section-head{margin-bottom:var(--space-md)}.retention-panel-tools{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-md);margin-bottom:var(--space-md)}.retention-panel-tools .section-head{flex:1;margin-bottom:0}.cohort-scroll{overflow-x:auto}.cohort-table{min-width:640px}.cohort-table th,.cohort-table td{width:13%;padding:8px;text-align:center}.cohort-table th:first-child,.cohort-table td:first-child{width:22%;padding-left:0;text-align:left}.cohort-table td:nth-child(2){color:var(--muted)}.cohort-cell{display:inline-grid;min-width:64px;min-height:32px;place-items:center;border-radius:7px;background:color-mix(in oklch,var(--series-2) var(--retention),var(--wash));color:color-mix(in oklch,var(--series-2) 54%,var(--ink));font-size:12px;font-weight:680;font-variant-numeric:tabular-nums}.cohort-wait{color:var(--muted);font-size:10.5px}.retention-details,.retention-method{border-top:1px solid var(--line)}.retention-details{margin-top:var(--space-md);padding-top:var(--space-sm)}.retention-details summary,.retention-method summary{display:flex;min-height:44px;align-items:center;justify-content:space-between;gap:var(--space-md);cursor:pointer;list-style:none;color:var(--ink-2);font-weight:620}.retention-details summary::-webkit-details-marker,.retention-method summary::-webkit-details-marker{display:none}.retention-details summary:after,.retention-method summary:after{content:"";width:8px;height:8px;margin-inline-start:auto;border-right:1.5px solid var(--muted);border-bottom:1.5px solid var(--muted);transform:rotate(45deg);transition:transform .16s ease-out}.retention-details[open] summary:after,.retention-method[open] summary:after{transform:rotate(225deg)}.retention-details summary b{order:2;display:grid;min-width:24px;min-height:24px;place-items:center;border-radius:12px;background:color-mix(in oklch,var(--bad) 12%,transparent);color:var(--bad);font-size:11px}.retention-details summary:after{order:3}.retention-action-grid{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:var(--space-md);align-items:start}.action-list,.top-client-list{list-style:none}.action-list li,.top-client-list li{display:flex;min-width:0;align-items:center;gap:var(--space-sm);padding:10px 0;border-bottom:1px solid var(--line)}.action-list li:last-child,.top-client-list li:last-child{padding-bottom:0;border-bottom:0}.client-link{display:grid;position:relative;min-width:0;flex:1;gap:1px;padding-right:22px;color:var(--ink);text-decoration:none}.client-link>span{overflow:hidden;font-size:13px;font-weight:620;text-overflow:ellipsis;white-space:nowrap}.client-link small,.action-list-value small,.top-client-value small{color:var(--muted);font-size:10.5px}.client-link svg{position:absolute;top:50%;right:0;width:16px;height:16px;fill:none;stroke:var(--muted);stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7;transform:translateY(-50%)}.action-list-value,.top-client-value{display:grid;flex:0 0 auto;gap:1px;text-align:right}.action-list-value b,.top-client-value b{font-size:12.5px;font-variant-numeric:tabular-nums;font-weight:670}.subscription-progress{display:flex;flex:0 0 108px;align-items:center;gap:var(--space-xs)}.subscription-progress>span{height:6px;flex:1;overflow:hidden;border-radius:3px;background:var(--wash)}.subscription-progress i{display:block;height:100%;border-radius:inherit;background:var(--series-4)}.subscription-progress b{width:28px;color:var(--ink-2);font-size:11px;font-variant-numeric:tabular-nums}.client-rank{display:grid;width:24px;height:24px;flex:0 0 24px;place-items:center;border-radius:50%;background:var(--wash);color:var(--muted);font-size:10px;font-weight:680}.top-client-list li:first-child .client-rank{background:color-mix(in oklch,var(--series-3) 20%,var(--wash));color:color-mix(in oklch,var(--series-3) 65%,var(--ink))}.retention-empty{min-height:180px;display:grid;place-items:center;color:var(--muted);font-size:12px;text-align:center}.retention-empty.compact{min-height:88px}.retention-method{margin-top:var(--space-sm);padding:var(--space-sm) 2px 0;color:var(--muted)}.retention-method>div{display:grid;max-width:74ch;gap:var(--space-xs);padding:var(--space-xs) 0 var(--space-md);font-size:12px;line-height:1.5}.retention-method b{color:var(--ink-2)}.login{display:flex;min-height:100dvh;align-items:center;justify-content:center;padding:var(--space-lg)}.login-card{width:min(100%,320px);padding:var(--space-xl);border:1px solid var(--line);border-radius:12px;background:var(--surface);text-align:center}.login-logo img{display:block;width:auto;height:44px;margin:0 auto var(--space-sm)}.login-card h1{margin-bottom:var(--space-2xs);font-family:var(--font-display);font-size:20px;font-weight:720;letter-spacing:-.02em}.login-card p{margin-bottom:var(--space-lg);color:var(--muted);font-size:13px}.login-card input{width:100%;min-height:48px;margin-bottom:var(--space-sm);padding:0 var(--space-sm);border:1px solid var(--line);border-radius:9px;background:var(--page);color:var(--ink);font-size:20px;letter-spacing:.3em;text-align:center}.login-card button{width:100%;min-height:46px;border:0;border-radius:9px;background:var(--ink);color:var(--page);cursor:pointer;font-weight:650}.login-card button:disabled{cursor:default;opacity:.45}.login-card .err{margin-top:var(--space-sm);color:var(--bad);font-size:12.5px}.state{padding:72px 0;color:var(--muted);text-align:center}.loadbar{position:fixed;z-index:100;top:0;right:0;left:0;height:2px;overflow:hidden;pointer-events:none}.loadbar:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;width:40%;border-radius:2px;background:var(--series-1);animation:loadbar-run 1.1s ease-in-out infinite}@keyframes loadbar-run{0%{transform:translate(-110%)}to{transform:translate(280%)}}.state-loading{display:grid;justify-items:center;gap:var(--space-sm)}.spinner{width:22px;height:22px;border:2.5px solid var(--line);border-top-color:var(--series-1);border-radius:50%;animation:spinner-spin .8s linear infinite}@keyframes spinner-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.loadbar:after{width:100%;animation:none;opacity:.5}.spinner{animation-duration:2s}}@media(hover:hover){.seg button:hover:not(.on),.filter-trigger:hover,.mselect>button:hover,.mselect-item:hover{background:var(--wash)}.reset:hover,.mselect-clear:hover{color:var(--ink)}tbody tr:hover td{background:var(--wash)}}@media(max-width:980px){.metrics-secondary{grid-template-columns:repeat(2,minmax(0,1fr))}.metrics-secondary .kpi:nth-child(3),.metrics-secondary .kpi:nth-child(5){border-inline-start:0}.metrics-secondary .kpi:nth-child(2n){border-inline-start:1px solid var(--line)}.metrics-secondary .kpi:nth-child(n+3){border-top:1px solid var(--line)}.metrics-secondary .kpi:nth-child(5){grid-column:1 / -1}}@media(max-width:800px){.controls{flex-direction:column}.metrics-main{grid-template-columns:repeat(2,minmax(0,1fr))}.metrics-main .kpi:nth-child(3){border-top:1px solid var(--line);border-inline-start:0}.metrics-main .kpi:nth-child(4){border-top:1px solid var(--line)}.metrics-3{grid-template-columns:repeat(2,minmax(0,1fr))}.metrics-3 .kpi:nth-child(3){grid-column:1 / -1}.metrics-current{grid-template-columns:1fr}.metrics-current .kpi+.kpi{border-top:1px solid var(--line);border-inline-start:0}.period-row,.filter-details{width:100%}.filter-trigger{width:100%;justify-content:space-between}.filter-count{margin-left:auto}.filter-body{position:static;width:100%;margin-top:var(--space-xs);box-shadow:none}.grid-2{grid-template-columns:1fr}}@media(max-width:640px){html{scroll-padding-top:calc(64px + env(safe-area-inset-top))}.control-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-md) var(--space-lg)}.control-summary b{font-size:18px}body{font-size:15px;overscroll-behavior-y:none}.info-sheet-root{display:block;padding:0}.info-sheet{position:absolute;right:0;bottom:0;left:0;width:100%;max-height:min(76dvh,640px);padding:var(--space-lg) var(--space-md) calc(var(--space-lg) + env(safe-area-inset-bottom));border:0;border-radius:22px 22px 0 0;box-shadow:0 -12px 44px color-mix(in oklch,var(--ink) 18%,transparent)}.info-sheet:before{content:"";position:absolute;top:8px;left:50%;width:36px;height:5px;border-radius:3px;background:var(--line-strong);transform:translate(-50%)}.info-sheet-head{padding-top:var(--space-xs)}.info-sheet-head strong{font-size:21px}.shell{min-height:100dvh;padding:calc(82px + env(safe-area-inset-top)) var(--space-sm) calc(92px + env(safe-area-inset-bottom))}.topbar{position:fixed;z-index:30;top:0;right:0;left:0;height:calc(54px + env(safe-area-inset-top));gap:var(--space-sm);padding:env(safe-area-inset-top) var(--space-md) 0;border-bottom:1px solid color-mix(in oklch,var(--line) 82%,transparent);background:color-mix(in oklch,var(--page) 90%,transparent);-webkit-backdrop-filter:saturate(180%) blur(18px);backdrop-filter:saturate(180%) blur(18px)}.brand{gap:0}.brand img{width:28px;height:28px;object-fit:cover;object-position:left}.brand span,.topbar>.tabs,.topbar .updated{display:none}.mobile-title{display:block;min-width:0;flex:0 1 auto;overflow:hidden;font-family:var(--font-display);font-size:17px;font-weight:650;letter-spacing:-.015em;text-overflow:ellipsis;white-space:nowrap}.topbar .spacer{display:block}.mobile-header-actions{display:flex;align-items:center;gap:2px}.mobile-header-actions button{position:relative;display:flex;min-width:44px;min-height:44px;align-items:center;justify-content:center;gap:4px;padding:0 7px;border:0;border-radius:10px;background:transparent;color:var(--ink-2);cursor:pointer}.mobile-header-actions button:active{background:var(--wash)}.mobile-header-actions button.active{color:var(--series-1)}.mobile-header-actions svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.mobile-header-actions span{max-width:none;font-size:11px;font-weight:650;white-space:nowrap}.mobile-header-actions .filter-action{padding-inline:7px}.mobile-header-actions b{position:absolute;top:2px;right:2px;display:grid;min-width:17px;height:17px;place-items:center;padding-inline:4px;border:2px solid var(--page);border-radius:9px;background:var(--series-1);color:var(--surface);font-size:9px;line-height:1}.mobile-range{display:block;margin:0 2px var(--space-sm);color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums;font-weight:550}.date-legend{display:none}.mobile-tabs{position:fixed;z-index:40;right:0;bottom:0;left:0;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);min-height:calc(58px + env(safe-area-inset-bottom));padding:5px max(8px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(8px,env(safe-area-inset-left));border-top:1px solid color-mix(in oklch,var(--line) 82%,transparent);background:color-mix(in oklch,var(--surface) 90%,transparent);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}.mobile-tabs a{display:flex;min-width:0;min-height:49px;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-radius:10px;color:var(--muted);font-size:10px;font-weight:560;line-height:1;text-decoration:none}.mobile-tabs a span{overflow:hidden;max-width:100%;text-overflow:ellipsis;white-space:nowrap}.mobile-tabs svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.mobile-tabs .on{color:var(--series-1)}.mobile-tabs a:active{background:color-mix(in oklch,var(--series-1) 8%,transparent);transform:scale(.97)}.controls{display:none}.mobile-sheet-root{position:fixed;z-index:70;top:0;right:0;bottom:0;left:0;display:block}.mobile-sheet-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;border:0;background:color-mix(in oklch,var(--ink) 30%,transparent)}.mobile-sheet{position:absolute;right:0;bottom:0;left:0;max-height:min(82dvh,720px);overflow-y:auto;overscroll-behavior:contain;padding:var(--space-lg) var(--space-md) calc(var(--space-lg) + env(safe-area-inset-bottom));border-radius:22px 22px 0 0;background:var(--surface);box-shadow:0 -12px 44px color-mix(in oklch,var(--ink) 18%,transparent)}.mobile-sheet:before{content:"";position:absolute;top:8px;left:50%;width:36px;height:5px;border-radius:3px;background:var(--line-strong);transform:translate(-50%)}.mobile-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--space-lg);padding-top:var(--space-xs)}.mobile-sheet-head strong{font-family:var(--font-display);font-size:21px;letter-spacing:-.025em}.mobile-sheet-head button{min-width:60px;min-height:44px;border:0;background:transparent;color:var(--series-1);font-weight:650}.mobile-period-presets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-xs)}.mobile-period-presets button{min-height:48px;padding:0 var(--space-sm);border:1px solid var(--line);border-radius:11px;background:var(--page);color:var(--ink-2);font-weight:550}.mobile-period-presets button.on{border-color:var(--ink);background:var(--ink);color:var(--page);font-weight:650}.mobile-custom-period{display:grid;gap:var(--space-sm);margin-top:var(--space-lg);padding-top:var(--space-lg);border-top:1px solid var(--line)}.mobile-custom-period>span{color:var(--ink);font-weight:650}.mobile-custom-period .date-range{display:grid;grid-template-columns:1fr;gap:var(--space-sm)}.mobile-custom-period .apply{min-height:48px;border:0;border-radius:11px;background:var(--ink);color:var(--page);font-weight:650}.mobile-custom-period .apply:disabled{opacity:.4}.mobile-filter-fields{display:grid;min-width:0;gap:var(--space-sm)}.mobile-filter-fields>*,.mobile-filter-fields .mselect,.mobile-filter-fields .mselect-pop,.mobile-filter-fields .mselect-item{min-width:0}.mobile-date-field{display:grid;gap:var(--space-2xs)}.mobile-date-field>span,.mobile-category-field>span{color:var(--muted);font-size:12px;font-weight:600}.mobile-date-control{position:relative;display:flex;min-height:52px;align-items:center;justify-content:space-between;padding:0 var(--space-md);border:1px solid var(--line);border-radius:12px;background:var(--page)}.mobile-date-control b{color:var(--ink);font-size:16px;font-weight:550}.mobile-date-control svg{width:20px;height:20px;fill:none;stroke:var(--muted);stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.mobile-date-control input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;cursor:pointer;opacity:0}.mobile-category-field{display:grid;gap:var(--space-xs)}.mobile-category-options{overflow:hidden;border:1px solid var(--line);border-radius:12px;background:var(--page)}.mobile-category-options button{display:flex;width:100%;min-height:48px;align-items:center;justify-content:space-between;padding:0 var(--space-md);border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--ink-2);font-size:15px;text-align:left}.mobile-category-options button:last-child{border-bottom:0}.mobile-category-options button i{color:transparent;font-size:17px;font-style:normal;font-weight:700}.mobile-category-options button.on{color:var(--ink);font-weight:600}.mobile-category-options button.on i{color:var(--series-1)}.mobile-filter-fields .mselect,.mobile-filter-fields .mselect>button,.mobile-filter-fields .category-field,.mobile-filter-fields .return-customer-field,.mobile-filter-fields select{width:100%}.mobile-filter-fields .mselect>button,.mobile-filter-fields select{min-height:50px}.mobile-filter-fields .field:has(select):after{bottom:21px}.mobile-filter-fields .mselect-pop{position:static;width:100%;min-width:0;max-height:232px;margin-top:var(--space-xs);box-shadow:none}.mobile-filter-fields .mselect-item{min-height:46px;padding:8px var(--space-sm);font-size:15px}.mobile-reset{min-height:46px;border:0;background:transparent;color:var(--bad);font-weight:600}.mobile-filter-empty{padding:var(--space-xl) 0;color:var(--muted);text-align:center}.period-row{width:calc(100% + 24px);margin-inline:-12px;padding-inline:12px}.seg{min-width:max-content;border-radius:12px}.seg button{min-height:42px;flex:none;padding-inline:14px}.filter-body,.filter-selects,.mselect,.mselect>button,.category-field,.category-field select,.return-customer-field,.return-customer-field select{width:100%}.filter-trigger{min-height:48px;border-radius:12px;font-size:14px}.filter-backdrop{position:fixed;z-index:0;top:0;right:0;bottom:0;left:0;display:block;width:100%;height:100%;border:0;background:color-mix(in oklch,var(--ink) 28%,transparent)}.filter-details.open .filter-body{position:fixed;z-index:1;top:auto;right:0;bottom:0;left:0;max-height:min(78vh,680px);margin:0;overflow-y:auto;overscroll-behavior:contain;padding:var(--space-lg) var(--space-md) calc(var(--space-lg) + env(safe-area-inset-bottom));border:0;border-radius:20px 20px 0 0;box-shadow:0 -12px 44px color-mix(in oklch,var(--ink) 18%,transparent)}.filter-details.open{z-index:60}.filter-details.open .filter-body:before{content:"";position:absolute;top:8px;left:50%;width:36px;height:5px;border-radius:3px;background:var(--line-strong);transform:translate(-50%)}.filter-sheet-head{display:flex;width:100%;align-items:center;justify-content:space-between;padding-top:var(--space-xs)}.filter-sheet-head strong{font-family:var(--font-display);font-size:18px;letter-spacing:-.015em}.filter-sheet-head button{min-width:58px;min-height:44px;border:0;background:transparent;color:var(--series-1);cursor:pointer;font-weight:650}.date-range{display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}.field input,.field select{width:100%}.mselect-pop{right:0;left:0;min-width:0}.kpi,.kpi.emphasis{padding:var(--space-md)}.dashboard{gap:var(--space-sm)}.kpi.emphasis .value{font-size:28px}.metrics-main{border-radius:14px}.kpi .label{font-size:11.5px}.kpi .value{font-size:21px}.panel{padding:var(--space-md);border-radius:14px}.retention-dashboard{gap:var(--space-sm)}.retention-intro{display:grid;gap:var(--space-lg);padding:0 2px var(--space-xs)}.retention-intro h1{max-width:18ch;font-size:27px}.retention-intro p{font-size:13px;line-height:1.5}.retention-segments{width:100%}.retention-segments button{min-height:42px;flex:1;padding-inline:var(--space-xs)}.retention-metrics,.subscription-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.retention-metric{padding:var(--space-md)}.retention-metric:nth-child(3){border-top:1px solid var(--line);border-inline-start:0}.retention-metric:nth-child(4){border-top:1px solid var(--line)}.retention-metric dd{font-size:24px}.retention-metric dt{white-space:normal}.retention-section-head{margin-bottom:var(--space-sm)}.cohort-panel{margin-inline:calc(-1 * var(--space-sm));padding-inline:var(--space-sm);border-inline:0;border-radius:0}.cohort-scroll{width:calc(100% + var(--space-sm));padding-right:var(--space-sm)}.cohort-table{min-width:570px}.cohort-table th,.cohort-table td{padding:7px 4px}.cohort-cell{min-width:58px}.retention-action-grid{grid-template-columns:1fr;gap:var(--space-sm)}.retention-panel-tools{display:grid;gap:var(--space-sm)}.retention-panel-tools .retention-switch{width:100%}.retention-panel-tools .retention-switch button{min-height:40px;flex:1}.action-list li,.top-client-list li{min-height:56px}.client-link>span{font-size:14px}.top-client-list li{display:grid;grid-template-columns:24px minmax(0,1fr) auto}.top-client-value small{max-width:130px;white-space:normal}.retention-details summary,.retention-method summary{min-height:48px}.chart-panel,.money-chart-panel{margin-inline:calc(-1 * var(--space-sm));padding-inline:var(--space-sm);border-inline:0;border-radius:0}.chart-panel .chart-wrap,.money-chart-panel .chart-wrap,.chart-panel .weather-strip{width:calc(100% + var(--space-xs));margin-inline:calc(-1 * var(--space-2xs))}.section-head{display:grid;gap:var(--space-2xs);margin-bottom:var(--space-md)}.section-head p{text-align:left}.chart-wrap{height:280px}.money-chart-wrap,.chart-empty{height:240px;min-height:240px}.frow{display:block}.flabel{text-align:left}.freasons{margin-inline:auto}.fbar{height:40px}.fconn{white-space:normal}.funnel-stats{grid-template-columns:1fr;gap:var(--space-sm)}.funnel-stats>div{padding:0 0 var(--space-sm);border-inline-end:0;border-bottom:1px solid var(--line)}.funnel-stats>div:last-child{padding-bottom:0;border-bottom:0}.hbar{grid-template-columns:minmax(0,1fr) auto;gap:5px var(--space-sm)}.hbar .name{grid-column:1}.hbar .val{grid-column:2;grid-row:1}.hbar .track{grid-column:1 / -1;grid-row:2}.table-scroll{overflow:visible}.data-table,.data-table tbody,.data-table tfoot{display:block;min-width:0}.data-table thead{display:none}.data-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-sm);padding:var(--space-md) 0;border-bottom:1px solid var(--line)}.data-table tbody tr:first-child{padding-top:0}.data-table tbody tr:last-child{padding-bottom:0;border-bottom:0}.data-table tr.warn-row{padding-right:var(--space-sm);padding-left:var(--space-sm);border-radius:10px;background:color-mix(in srgb,#c2410c 7%,transparent)}.data-table tr.warn-row td{background:transparent}.data-table tfoot tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-sm);padding:var(--space-md) 0 0;border-top:2px solid var(--line)}.data-table tfoot td{border-top:0}.data-table td,.data-table td:first-child,.data-table td:last-child{display:flex;min-width:0;flex-direction:column;gap:2px;align-items:flex-start;padding:0;border:0;background:transparent;text-align:left;white-space:normal}.data-table td:before{content:attr(data-label);color:var(--muted);font-size:10px;font-weight:600;letter-spacing:.035em;text-transform:uppercase}.data-table td:first-child{grid-column:1 / -1;color:var(--ink);font-size:14px;font-weight:650}.data-table td:first-child:before{display:none}}@media(max-width:380px){.date-range{grid-template-columns:1fr}.kpi .label{white-space:normal}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
