:root{--primary: #2563eb;--primary-hover: #1d4ed8;--primary-light: #eff6ff;--primary-soft: #dbeafe;--secondary: #6366f1;--bg-main: #f9fafb;--bg-surface: #ffffff;--bg-canvas: #f0f2f5;--bg-sidebar: #1a2438;--bg-tint: #eaf3fb;--text-main: #111827;--text-muted: #6b7280;--text-subtle: #9ca3af;--text-on-primary:#ffffff;--text-sidebar: rgba(255, 255, 255, .7);--border: #e5e7eb;--border-light: #f3f4f6;--success: #16a34a;--success-bg: #f0fdf4;--error: #dc2626;--error-bg: #fef2f2;--warning: #d97706;--warning-bg: #fffbeb;--text-caption: 11px;--leading-caption: 16px;--weight-caption: 500;--text-label: 12px;--leading-label: 18px;--weight-label: 500;--text-body: 13px;--leading-body: 20px;--weight-body: 400;--text-heading: 14px;--leading-heading: 20px;--weight-heading: 600;--text-display: 16px;--leading-display: 22px;--weight-display: 700;--font-sans: "Public Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;--font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;--radius-sm: 6px;--radius: 8px;--radius-lg: 12px;--shadow-card: 0 1px 2px rgba(0, 0, 0, .06);--shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--z-dropdown: 20;--z-tooltip: 30}:root{--viz-surface: var(--bg-surface);--series-1: #2563eb;--series-2: #eb6834;--viz-grid: #e5e7eb;--viz-axis: #d1d5db;--viz-muted: #9ca3af;--viz-deemphasis: #d1d5db;--viz-good: #0ca30c;--viz-warning: #fab219;--viz-critical: #d03b3b}*,*:before,*:after{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;font-family:var(--font-sans);font-size:var(--text-body);line-height:var(--leading-body);color:var(--text-main);background:var(--bg-main);-webkit-font-smoothing:antialiased}.t-caption{font-size:var(--text-caption);line-height:var(--leading-caption);font-weight:var(--weight-caption)}.t-label{font-size:var(--text-label);line-height:var(--leading-label);font-weight:var(--weight-label)}.t-body{font-size:var(--text-body);line-height:var(--leading-body);font-weight:var(--weight-body)}.t-heading{font-size:var(--text-heading);line-height:var(--leading-heading);font-weight:var(--weight-heading)}.t-display{font-size:var(--text-display);line-height:var(--leading-display);font-weight:var(--weight-display)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.muted{color:var(--text-muted)}.subtle{color:var(--text-subtle)}.mono{font-family:var(--font-mono)}.tabular{font-variant-numeric:tabular-nums}.shell{display:flex;min-height:100%}.sidebar{width:220px;flex:0 0 220px;background:var(--bg-sidebar);color:var(--text-sidebar);padding:24px 12px;display:flex;flex-direction:column;gap:24px}.sidebar-brand{color:#fff;font-size:var(--text-display);font-weight:var(--weight-display);padding:0 12px;letter-spacing:-.01em}.sidebar-nav{display:flex;flex-direction:column;gap:4px}.sidebar-link{display:block;padding:8px 12px;border-radius:var(--radius-sm);color:var(--text-sidebar);text-decoration:none;font-size:var(--text-body);transition:background .15s ease,color .15s ease}.sidebar-link:hover{background:#ffffff0f;color:#fff}.sidebar-link.active{background:#ffffff1f;color:#fff;font-weight:600}.sidebar-footer{margin-top:auto;padding:0 12px}.main{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{height:56px;flex:0 0 56px;background:var(--bg-surface);border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 24px;gap:16px}.content{padding:24px;display:flex;flex-direction:column;gap:24px}.tabnav{display:flex;gap:4px;border-bottom:1px solid var(--border);margin-bottom:-8px;overflow-x:auto}.tabnav-item{padding:8px 14px;font-size:var(--text-body);font-weight:500;color:var(--text-muted);text-decoration:none;border-bottom:2px solid transparent;white-space:nowrap;transition:color .15s ease,border-color .15s ease}.tabnav-item:hover{color:var(--text-main)}.tabnav-item.active{color:var(--primary);border-bottom-color:var(--primary);font-weight:600}.tabnav-item:focus-visible{outline:none;box-shadow:0 0 0 3px var(--primary-soft);border-radius:var(--radius-sm)}.card{background:var(--bg-surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-card)}.card-header{padding:16px;border-bottom:1px solid var(--border-light);display:flex;align-items:baseline;justify-content:space-between;gap:12px}.card-body{padding:16px}.kpi-row,.tile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}.stat-tile{padding:16px}.stat-label{color:var(--text-muted);margin-bottom:4px}.stat-value{font-size:28px;line-height:34px;font-weight:600;letter-spacing:-.02em}.stat-sub{color:var(--text-subtle);margin-top:4px}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.cmap-host svg{width:100%;height:100%;display:block}.cmap-host polygon.polys{stroke:var(--bg-surface);stroke-width:.3;transition:fill .12s ease}.cmap-clickable polygon.polys.cmap-has-data{cursor:pointer}.cmap-host polygon.polys.cmap-hover{stroke:var(--text-main);stroke-width:.7}.cmap-host polygon.polys.cmap-on{stroke:var(--primary);stroke-width:.9}.cmap-tip{position:absolute;z-index:var(--z-tooltip);pointer-events:none;flex-direction:column;align-items:center;gap:2px;white-space:nowrap;padding:6px 10px;border-radius:var(--radius-sm);background:var(--text-main);color:#fff;box-shadow:var(--shadow)}.cmap-legend{display:flex;align-items:center;gap:4px;margin-top:8px;flex-wrap:wrap}.cmap-swatch{width:18px;height:10px;border-radius:2px;display:inline-block}@media(prefers-reduced-motion:reduce){.cmap-host polygon.polys{transition:none}}.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px}.card-grid-tight{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.grid-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:24px}.field{display:flex;flex-direction:column;gap:4px;margin-bottom:16px}.field label{font-size:var(--text-label);font-weight:var(--weight-label);color:var(--text-main)}.input{font-family:inherit;font-size:var(--text-body);padding:8px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg-surface);color:var(--text-main);width:100%}.input:focus-visible{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.btn{font-family:inherit;font-size:var(--text-body);font-weight:600;padding:8px 16px;border-radius:var(--radius-sm);border:1px solid transparent;cursor:pointer;transition:background .15s ease}.btn-primary{background:var(--primary);color:var(--text-on-primary)}.btn-primary:hover:not(:disabled){background:var(--primary-hover)}.btn-ghost{background:transparent;color:var(--text-main);border-color:var(--border)}.btn-ghost:hover:not(:disabled){background:var(--bg-main)}.btn:disabled{opacity:.55;cursor:not-allowed}.btn:focus-visible{outline:none;box-shadow:0 0 0 3px var(--primary-soft)}.callout{display:flex;gap:12px;align-items:flex-start;padding:12px 16px;border-radius:var(--radius);border:1px solid var(--border);background:var(--bg-surface)}.callout-warning{background:var(--warning-bg);border-color:#fde68a;color:#92400e}.callout-error{background:var(--error-bg);border-color:#fecaca;color:#991b1b}.callout-info{background:var(--primary-light);border-color:var(--primary-soft);color:#1e40af}.callout-icon{flex:0 0 auto;line-height:20px}.alertbar{border:1px solid var(--border);border-radius:var(--radius);background:var(--bg-surface);overflow:hidden}.alertbar-error{border-color:#fecaca;background:var(--error-bg)}.alertbar-warning{border-color:#fde68a;background:var(--warning-bg)}.alertbar-info{border-color:var(--primary-soft);background:var(--primary-light)}.alertbar-summary{display:flex;align-items:center;gap:10px;width:100%;padding:10px 14px;background:none;border:none;cursor:pointer;font-family:inherit;font-size:var(--text-body);color:inherit;text-align:start}.alertbar-summary:focus-visible{outline:none;box-shadow:inset 0 0 0 2px var(--primary-soft)}.alertbar-icon{flex:0 0 auto;font-weight:700}.alertbar-title{font-weight:600;flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.alertbar-counts{flex:0 0 auto;opacity:.75}.alertbar-toggle{flex:0 0 auto;text-decoration:underline;opacity:.85}.alertbar-list{border-top:1px solid rgba(0,0,0,.08);background:var(--bg-surface)}.alertrow{display:flex;gap:10px;padding:10px 14px;border-bottom:1px solid var(--border-light)}.alertrow:last-child{border-bottom:none}.alertrow-dot{width:8px;height:8px;border-radius:50%;margin-top:5px;flex:0 0 auto}.alertrow-dot-error{background:var(--viz-critical)}.alertrow-dot-warning{background:var(--viz-warning)}.alertrow-dot-info{background:var(--primary)}.rangebar{display:flex;flex-direction:column;gap:8px}.rangebar-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.rangebar-notes{display:flex;gap:16px;flex-wrap:wrap}.rangebar-notes .note-error{color:var(--error)}.rangebar-notes .note-warning{color:var(--warning)}.rangebar-notes .note-info{color:var(--text-muted)}.rangebar-dates{display:inline-flex;gap:6px;align-items:center}.rangebar-actions{margin-left:auto}.export-button{display:inline-flex;gap:8px;align-items:center}.export-button .note-error{color:var(--error)}.heatmap-wrap{width:100%}.heatmap-scroll{overflow-x:auto;padding-bottom:4px}.heatmap{border-collapse:separate;border-spacing:2px}.heatmap-corner{width:44px}.heatmap-colhead{color:var(--text-subtle);font-weight:500;text-align:center;min-width:16px}.heatmap-rowhead{color:var(--text-muted);font-weight:500;text-align:end;padding-inline-end:8px;white-space:nowrap}.heatmap-cellwrap{padding:0}.heatmap-cell{width:16px;height:16px;border-radius:3px;cursor:default;transition:outline-color .12s ease;outline:2px solid transparent;outline-offset:1px}.heatmap-cell:hover,.heatmap-cell:focus-visible{outline-color:var(--text-main)}.heatmap-cell-missing{background-image:repeating-linear-gradient(45deg,var(--border-light) 0 2px,transparent 2px 4px)!important}.heatmap-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:12px}.heatmap-legend{display:inline-flex;align-items:center;gap:3px}.heatmap-swatch{width:14px;height:10px;border-radius:2px}.heatmap-readout{color:var(--text-muted);min-height:18px}.funnel{display:flex;flex-direction:column;gap:16px}.funnel-stage{display:flex;flex-direction:column;gap:4px}.funnel-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.funnel-track{position:relative;height:26px;display:flex;align-items:center;background:var(--border-light);border-radius:4px}.funnel-bar{height:26px;border-radius:4px;min-width:4px;transition:width .2s ease}.funnel-inlabel{position:absolute;inset-inline-start:10px;color:#fff;font-size:var(--text-label);font-weight:600;pointer-events:none}.funnel-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:var(--text-subtle)}.funnel-drop{color:var(--viz-critical);font-weight:600}.funnel-table{margin-top:8px}.funnel-table summary{cursor:pointer;color:var(--text-muted)}.chip-src{background:var(--primary-light);color:var(--primary-hover)}.paginator{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:12px 16px;border-top:1px solid var(--border-light)}.paginator-controls{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}.filterbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px 16px;background:var(--bg-surface);border:1px solid var(--border);border-radius:var(--radius)}.filterbar-empty{border-style:dashed}.is-refetching{opacity:.55;transition:opacity .15s ease}.chip{display:inline-block;padding:1px 7px;border-radius:999px;font-size:11px;font-weight:500}.chip-on{background:var(--primary-soft);color:var(--primary-hover)}.chip-off{background:var(--border-light);color:var(--text-subtle);text-decoration:line-through}.chip-down{background:var(--error-bg);color:var(--error)}.badge-muted{display:inline-block;margin-inline-start:8px;padding:1px 6px;border-radius:999px;font-size:10px;font-weight:600;letter-spacing:.03em;background:var(--border-light);color:var(--text-muted)}.cp-notifs{position:relative}.cp-notifs-trigger{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:var(--radius-sm);background:var(--bg-surface);border:1px solid var(--border);color:var(--text-main);font-family:inherit;font-size:var(--text-body);cursor:pointer}.cp-notifs-trigger:hover{background:var(--bg-main);border-color:var(--text-subtle)}.cp-notifs-trigger:focus-visible{outline:none;box-shadow:0 0 0 3px var(--primary-soft)}.cp-notifs-count{background:var(--primary);color:#fff;border-radius:999px;padding:0 6px;font-size:11px;font-weight:700;line-height:18px}.cp-notifs-list{position:absolute;inset-inline-end:0;top:calc(100% + 6px);width:340px;max-height:380px;overflow-y:auto;z-index:var(--z-dropdown);background:var(--bg-surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);display:flex;flex-direction:column}.cp-notif{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:10px 12px;border-bottom:1px solid var(--border-light)}.cp-notif:last-child{border-bottom:none}.cp-notif-ack{background:none;border:none;color:var(--text-subtle);cursor:pointer;font-size:12px;line-height:1;padding:2px 4px;flex:0 0 auto}.cp-notif-ack:hover:not(:disabled){color:var(--text-main)}.badge-new{display:inline-block;margin-inline-start:8px;padding:1px 6px;border-radius:999px;font-size:10px;font-weight:700;letter-spacing:.04em;background:var(--primary-soft);color:var(--primary-hover)}.table{width:100%;border-collapse:collapse;font-size:var(--text-body)}.table th{text-align:start;font-size:var(--text-label);font-weight:var(--weight-label);color:var(--text-muted);padding:8px 12px;border-bottom:1px solid var(--border);white-space:nowrap}.table td{padding:8px 12px;border-bottom:1px solid var(--border-light)}.table tbody tr:last-child td{border-bottom:none}.table .num{text-align:end;font-variant-numeric:tabular-nums}.chart-wrap{position:relative;width:100%}.chart-svg{display:block;width:100%;overflow:hidden}.legend{display:flex;gap:16px;flex-wrap:wrap;align-items:center}.legend-item{display:inline-flex;align-items:center;gap:6px;color:var(--text-muted);font-size:var(--text-label)}.legend-key{width:12px;height:2px;border-radius:1px;flex:0 0 auto}.tooltip{position:absolute;pointer-events:none;z-index:var(--z-tooltip);background:var(--bg-surface);border:1px solid var(--border);border-radius:var(--radius-sm);box-shadow:var(--shadow);padding:8px 12px;font-size:var(--text-label);white-space:nowrap;transform:translate(-50%,-100%)}.tooltip-row{display:flex;align-items:center;gap:8px;justify-content:space-between}.tooltip-dot{width:8px;height:8px;border-radius:50%;flex:0 0 auto}.barlist{display:flex;flex-direction:column;gap:8px}.barlist-row{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}.barlist-track{position:relative;height:24px;display:flex;align-items:center;overflow:hidden}.barlist-fill{height:20px;border-radius:0 4px 4px 0;background:var(--series-1);min-width:2px}.barlist-label{position:absolute;inset-inline-start:8px;color:var(--text-main);font-size:var(--text-label);max-width:calc(100% - 16px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}.barlist-value{font-variant-numeric:tabular-nums;color:var(--text-muted);font-size:var(--text-label)}.empty-state{padding:32px 16px;text-align:center;color:var(--text-muted)}.login-page{min-height:100%;display:grid;place-items:center;background:var(--bg-main);padding:24px}.login-card{width:100%;max-width:380px;padding:32px}.live-dot{width:8px;height:8px;border-radius:50%;background:var(--viz-good);animation:live-pulse 2s ease-out infinite;flex:0 0 auto}@keyframes live-pulse{0%{box-shadow:0 0 color-mix(in srgb,var(--viz-good) 55%,transparent)}70%{box-shadow:0 0 0 7px color-mix(in srgb,var(--viz-good) 0%,transparent)}to{box-shadow:0 0 color-mix(in srgb,var(--viz-good) 0%,transparent)}}@media(prefers-reduced-motion:reduce){.live-dot{animation:none}}.spinner{width:16px;height:16px;border-radius:50%;border:2px solid var(--primary-soft);border-top-color:var(--primary);animation:spin .7s linear infinite;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.spinner{animation:none}}.live-header{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:16px}.live-dot{width:8px;height:8px;border-radius:50%;flex:none}.live-dot.is-live{background:var(--success);animation:live-pulse 2s ease-in-out infinite}.live-dot.is-stale{background:var(--text-subtle)}@keyframes live-pulse{0%,to{opacity:1}50%{opacity:.35}}@media(prefers-reduced-motion:reduce){.live-dot.is-live{animation:none}}.clickheat{display:flex;flex-direction:column;gap:8px}.clickheat-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.clickheat-toggle{display:inline-flex;align-items:center;gap:6px;cursor:pointer}.clickheat-frame{position:relative;width:100%;height:0;background:var(--bg-main);border:1px solid var(--border);border-radius:8px;overflow:hidden}.clickheat-svg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.clickheat-guide line{stroke:var(--border);stroke-width:.15}.clickheat-tip{position:absolute;transform:translate(-50%,-120%);pointer-events:none;background:var(--bg-surface);border:1px solid var(--border);border-radius:6px;padding:4px 8px;white-space:nowrap;box-shadow:0 2px 8px #0000001f;z-index:2}.clickheat-legend{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.clickheat-swatch{width:16px;height:10px;border-radius:2px;display:inline-block}.clickheat-swatch-rage{background:transparent;border:1.5px dashed var(--error)}.clickheat-legend-rage{display:inline-flex;align-items:center;gap:4px;margin-left:12px}.journey-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}.journey-row{display:flex;flex-direction:column;gap:4px}.journey-steps{display:flex;flex-wrap:wrap;align-items:center;gap:4px}.journey-step{display:inline-flex;align-items:center;gap:4px}.journey-step code{background:var(--primary-light);color:var(--text-main);padding:1px 6px;border-radius:var(--radius-sm);font-size:var(--text-label)}.journey-arrow{color:var(--text-subtle);margin-right:2px}.journey-meta{display:flex;gap:12px}.journey-bar{height:6px;background:var(--border-light);border-radius:3px;overflow:hidden}.journey-bar span{display:block;height:100%;background:var(--series-1);border-radius:3px}.clarity-links{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.field{display:flex;flex-direction:column;gap:4px;min-width:0}.field-inline{flex-direction:row;align-items:center;gap:8px}.field-label{color:var(--text-muted);white-space:nowrap}.field-hint{margin-top:-2px}.select-trigger{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;cursor:pointer;text-align:start;font-family:inherit}.select-trigger:disabled{cursor:not-allowed;background:var(--bg-main)}.select-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-value.is-placeholder{color:var(--text-muted)}.select-chevron{color:var(--text-subtle);font-size:10px;line-height:1;flex:none}.select-panel{z-index:var(--z-dropdown, 20);display:flex;flex-direction:column;overflow:hidden;background:var(--bg-surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.select-panel.is-measuring{opacity:0;pointer-events:none}.select-search{padding:6px;border-bottom:1px solid var(--border-light)}.select-search-input{width:100%;border:1px solid var(--border);border-radius:var(--radius-sm);padding:5px 8px;font-family:inherit;font-size:var(--text-body);color:var(--text-main);background:var(--bg-surface)}.select-search-input:focus-visible{outline:2px solid var(--primary);outline-offset:-1px}.select-list{list-style:none;margin:0;padding:4px;overflow-y:auto;flex:1 1 auto}.select-list:focus-visible{outline:none}.select-option{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px;border-radius:var(--radius-sm);cursor:pointer;font-size:var(--text-body);color:var(--text-main)}.select-option.is-active{background:var(--primary-light)}.select-option.is-selected{font-weight:600}.select-option.is-selected:after{content:"✓";color:var(--primary);font-size:11px}.select-option.is-disabled{color:var(--text-subtle);cursor:not-allowed}.select-option.is-clear{color:var(--text-muted);font-style:italic}.select-option-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-option-hint{flex:none}.select-empty{padding:10px 8px;text-align:center}.cp-scroll{scrollbar-width:thin;scrollbar-color:transparent transparent}.cp-scroll:hover{scrollbar-color:var(--border) transparent}.cp-scroll::-webkit-scrollbar{width:4px;height:4px}.cp-scroll::-webkit-scrollbar-thumb{background:transparent;border-radius:2px}.cp-scroll:hover::-webkit-scrollbar-thumb{background:var(--border)}.input:focus-visible,.segmented-item:focus-visible{outline:2px solid var(--primary);outline-offset:2px;border-color:var(--primary);box-shadow:none}.segmented{display:inline-flex;padding:2px;gap:2px;background:var(--bg-main);border:1px solid var(--border);border-radius:var(--radius-sm)}.segmented-item{padding:4px 10px;border:0;background:transparent;cursor:pointer;border-radius:4px;color:var(--text-muted);font-family:inherit;font-size:var(--text-label);font-weight:500;transition:background .12s ease,color .12s ease}.segmented-item:hover{color:var(--text-main)}.segmented-item.is-active{background:var(--bg-surface);color:var(--text-main);font-weight:600;box-shadow:var(--shadow-card)}@media(prefers-reduced-motion:reduce){.segmented-item{transition:none}}.flow{width:100%}.flow-scroll{overflow-x:auto;padding-bottom:4px}.flow-ribbon{fill:var(--series-1);transition:opacity .15s ease}.flow-node{fill:var(--series-1)}.flow-node.is-hover{fill:var(--primary-hover)}.flow-label{font-family:var(--font-sans);font-size:11px;fill:var(--text-main)}@media(prefers-reduced-motion:reduce){.flow-ribbon{transition:none}}.compare-legend{display:flex;gap:16px;margin-bottom:12px;color:var(--text-muted)}.compare-key{display:inline-flex;align-items:center;gap:6px}.compare-key i{width:10px;height:10px;border-radius:2px;display:inline-block}.compare-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}.compare-row{display:flex;flex-direction:column;gap:4px}.compare-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.compare-label{font-size:var(--text-body);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.compare-value{white-space:nowrap}.compare-track{height:10px;background:var(--border-light);border-radius:5px;position:relative}.compare-track-secondary{height:6px;display:flex;align-items:center}.compare-fill{display:block;height:100%;border-radius:5px}.compare-secondary-value{position:absolute;right:0;top:-2px}.filter-grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));align-items:start}.viz-table{margin-top:12px;align-self:stretch}.viz-table summary{cursor:pointer;color:var(--text-muted)}.viz-table>table{margin-top:8px}.donut{display:flex;flex-direction:column;gap:12px}.donut-figure{display:flex;justify-content:center}.donut-seg{transition:opacity .15s ease;cursor:default;stroke:var(--viz-surface);stroke-width:1.5}.donut-hero{font-size:var(--text-heading);font-weight:var(--weight-heading);fill:var(--text-main);font-variant-numeric:tabular-nums}.donut-sub{font-size:var(--text-caption);fill:var(--text-muted)}.donut-legend{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.donut-key{display:grid;grid-template-columns:10px 1fr auto;align-items:center;gap:8px;padding:2px 4px;border-radius:4px;transition:background .12s ease}.donut-key.is-active{background:var(--primary-light)}.donut-key i{width:10px;height:10px;border-radius:2px;display:inline-block}.donut-key-label{font-size:var(--text-body);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.donut-key-value{white-space:nowrap}.meter{display:flex;flex-direction:column;align-items:center;gap:2px}.meter-track{fill:var(--border-light)}.meter-benchmark{stroke:var(--text-main);stroke-width:2;opacity:.55}.meter-hero{font-size:var(--text-display);font-weight:var(--weight-display);fill:var(--text-main);font-variant-numeric:tabular-nums}.meter-caption{font-size:var(--text-caption);fill:var(--text-muted)}.meter-label{text-align:center;color:var(--text-main)}.meter-benchmark-label{text-align:center}.clock{display:flex;flex-direction:column;align-items:center;gap:4px}.clock-ring{fill:none;stroke:var(--viz-grid);stroke-width:1}.clock-tick{font-size:var(--text-caption);fill:var(--viz-muted)}.clock-hero{font-size:var(--text-heading);font-weight:var(--weight-heading);fill:var(--text-main);font-variant-numeric:tabular-nums}.clock-sub{font-size:var(--text-caption);fill:var(--text-muted)}.sunburst{display:flex;flex-direction:column;align-items:center;gap:10px;max-width:440px;margin-inline:auto}.sunburst-seg{transition:opacity .15s ease;cursor:default;stroke:var(--viz-surface);stroke-width:1.5}.sunburst-hero{font-size:var(--text-heading);font-weight:var(--weight-heading);fill:var(--text-main);font-variant-numeric:tabular-nums}.sunburst-sub{font-size:var(--text-caption);fill:var(--text-muted)}.sunburst-side{width:100%;display:flex;flex-direction:column;gap:8px}.sunburst-trail{min-height:20px;word-break:break-word}.sunburst-legend{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:12px;color:var(--text-muted)}.sunburst-legend li{display:inline-flex;align-items:center;gap:6px}.sunburst-legend i{width:10px;height:10px;border-radius:2px;display:inline-block}.viz-pair{display:grid;gap:24px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));align-items:start}.meter-row{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));align-items:start}.histogram{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.histogram-row{display:grid;grid-template-columns:88px 1fr auto;align-items:center;gap:12px}.histogram-label{color:var(--text-muted);white-space:nowrap}.histogram-track{height:14px;background:var(--border-light);border-radius:4px}.histogram-fill{display:block;height:100%;border-radius:4px;min-width:3px;transition:width .2s ease}.histogram-value{white-space:nowrap}.percentile-row{display:flex;flex-wrap:wrap;gap:16px;margin-top:14px;padding-top:12px;border-top:1px solid var(--border);color:var(--text-muted)}.table-wrap{overflow-x:auto}.lead-columns{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:24px}.lead-outcomes{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:16px;margin-top:16px;padding-top:16px;border-top:1px solid var(--border-light)}.lead-outcome{display:flex;flex-direction:column;gap:2px}.chip-stage{background:var(--border-light);color:var(--text-muted)}.chip-won{background:var(--success-bg);color:var(--success)}.chip-lost{background:var(--error-bg);color:var(--error)}.lead-timing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px}.lead-timing-metric{display:flex;flex-direction:column;gap:2px}.lead-histogram{margin-top:20px}.lead-histogram-title{margin-bottom:8px}.lead-histogram-bars{display:flex;align-items:flex-end;gap:3px;height:88px}.lead-histogram-col{flex:1 1 0;display:flex;flex-direction:column;justify-content:flex-end;height:100%;min-width:0}.lead-histogram-bar{border-radius:2px 2px 0 0;min-height:2px}.lead-histogram-label{text-align:center;margin-top:4px;white-space:nowrap}.lead-editor{display:flex;flex-direction:column;gap:12px;padding:12px 0}.lead-editor-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}.lead-editor .field{margin-bottom:0}.lead-editor-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.subnav{display:flex;gap:4px;margin-bottom:20px;border-bottom:1px solid var(--border)}.subnav-item{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:transparent;padding:8px 14px;cursor:pointer;color:var(--text-muted);font-size:var(--text-label);font-weight:var(--weight-label);border-bottom:2px solid transparent;margin-bottom:-1px}.subnav-item:hover{color:var(--text-main)}.subnav-item.active{color:var(--primary);border-bottom-color:var(--primary)}.subnav-item:focus-visible{outline:none;box-shadow:0 0 0 3px var(--primary-soft);border-radius:var(--radius-sm)}.linklike{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:none;padding:0;font:inherit;font-weight:500;color:var(--primary);cursor:pointer;text-align:start}.linklike:hover{text-decoration:underline}.linklike:focus-visible{outline:none;box-shadow:0 0 0 3px var(--primary-soft);border-radius:var(--radius-sm)}.row-clickable{cursor:pointer}.row-clickable:hover{background:var(--bg-main)}.score-head{display:flex;gap:24px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.score-head-text{flex:1 1 260px;min-width:0}.score-factors{display:flex;flex-direction:column;gap:14px}.score-factor{display:flex;flex-direction:column;gap:4px}.score-factor-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.score-factor-na{opacity:.55}.score-bar{height:6px;border-radius:3px;background:var(--border);overflow:hidden}.score-bar-fill{height:100%;background:var(--primary);border-radius:3px}.score-ai{margin-top:20px;padding:12px 14px;border:1px solid var(--border);border-radius:8px;background:var(--bg-main)}.score-ai-empty{color:var(--text-subtle)}.score-ai-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.score-ai-value{font-size:var(--text-heading);font-weight:600}.chip-band-hot{background:var(--success-bg);color:var(--success)}.chip-band-warm{background:var(--primary-soft);color:var(--primary-hover)}.chip-band-cold{background:var(--border);color:var(--text-muted)}.lead-timeline{list-style:none;margin:0;padding:0}.timeline-item{position:relative;display:flex;gap:12px;padding-bottom:16px}.timeline-item:last-child{padding-bottom:0}.timeline-item:not(:last-child):before{content:"";position:absolute;inset-inline-start:4px;top:14px;bottom:0;width:1px;background:var(--border)}.timeline-dot{flex:0 0 auto;width:9px;height:9px;border-radius:50%;margin-top:5px;background:var(--viz-muted);z-index:1}.timeline-dot-good{background:var(--viz-good)}.timeline-dot-bad{background:var(--viz-critical)}.timeline-body{flex:1 1 auto;min-width:0}.timeline-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.lead-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:20px}.lead-back{display:inline-block;text-decoration:none}.lead-back:hover{text-decoration:underline}.lead-detail-sub{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:6px}.lead-missed{color:var(--error)}.lead-detail-actions{display:flex;gap:8px;flex-wrap:wrap}.lead-detail-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:24px;align-items:start}.lead-detail-main,.lead-detail-side{display:flex;flex-direction:column;gap:24px;min-width:0}@media(max-width:1100px){.lead-detail-grid{grid-template-columns:minmax(0,1fr)}}.kv-list{display:flex;flex-direction:column;gap:10px}.kv-row{display:grid;grid-template-columns:120px minmax(0,1fr);gap:12px;align-items:baseline}.kv-row>span:last-child{overflow-wrap:anywhere}.peer-list{display:flex;flex-direction:column;gap:14px}.peer-row{display:flex;flex-direction:column;gap:4px}.peer-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.peer-bar{height:6px;border-radius:3px;background:var(--border);overflow:hidden}.peer-bar-fill{height:100%;background:var(--series-1);border-radius:3px}.netgraph{display:flex;flex-direction:column;gap:12px}.netgraph-svg{width:100%;height:auto;display:block;background:var(--bg-main);border:1px solid var(--border);border-radius:8px}.netgraph-edge{stroke:var(--viz-grid);stroke-opacity:.9}.netgraph-edge-dim{stroke-opacity:.2}.netgraph-node{stroke:var(--bg-surface);stroke-width:1.5}.netgraph-node-bridge{stroke:var(--viz-warning);stroke-width:2.5}.netgraph-node-dim{opacity:.25}.netgraph-node-clickable{cursor:pointer}.netgraph-footer{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.netgraph-legend{display:flex;gap:14px;flex-wrap:wrap}.netgraph-legend-item{display:inline-flex;align-items:center;gap:6px;color:var(--text-muted)}.netgraph-swatch{width:10px;height:10px;border-radius:50%;display:inline-block}.netgraph-swatch-bridge{background:transparent;border:2px solid var(--viz-warning)}.trait-chip{display:inline-block;margin-inline-end:6px;margin-block-end:2px;padding:1px 7px;border-radius:999px;background:var(--bg-main);border:1px solid var(--border);white-space:nowrap}.insights-actions{display:flex;align-items:center;gap:12px}.insight-findings{display:flex;flex-direction:column;gap:14px}.insight-finding{border-inline-start:3px solid var(--border);padding-inline-start:12px}.insight-finding-head{display:flex;align-items:baseline;gap:8px}.insight-evidence{color:var(--text-muted)}.chip-sev-critical{background:var(--error-bg);color:var(--error)}.chip-sev-warning{background:var(--warning-bg);color:var(--warning)}.chip-sev-neutral{background:var(--border);color:var(--text-muted)}.badge-risk{display:inline-block;margin-inline-start:8px;padding:1px 6px;border-radius:999px;font-size:10px;font-weight:700;letter-spacing:.04em;background:var(--error-bg);color:var(--error)}.badge-risk-warning{background:var(--warning-bg);color:var(--warning)}.th-sort{background:none;border:none;padding:0;font:inherit;color:inherit;cursor:pointer;letter-spacing:inherit;text-transform:inherit}.th-sort:hover{text-decoration:underline}
