:root{--radius: .625rem;--background: oklch(1 0 0);--foreground: oklch(.145 0 0);--card: oklch(1 0 0);--card-foreground: oklch(.145 0 0);--popover: oklch(1 0 0);--popover-foreground: oklch(.145 0 0);--sidebar: oklch(.985 0 0);--sidebar-foreground: oklch(.145 0 0);--primary: oklch(.205 0 0);--primary-foreground: oklch(.985 0 0);--secondary: oklch(.97 0 0);--secondary-foreground: oklch(.205 0 0);--accent: oklch(.97 0 0);--accent-foreground: oklch(.205 0 0);--destructive: oklch(.577 .245 27.325);--muted: oklch(.97 0 0);--muted-foreground: oklch(.556 0 0);--border: oklch(.922 0 0);--input: oklch(.922 0 0);--ring: oklch(.708 0 0);--sidebar-border: oklch(.922 0 0);--sidebar-primary: oklch(.205 0 0);--sidebar-primary-foreground: oklch(.985 0 0);--sidebar-accent: oklch(.97 0 0);--sidebar-accent-foreground: oklch(.205 0 0);--sidebar-ring: oklch(.708 0 0);--chart-1: oklch(.646 .222 41.116);--chart-2: oklch(.6 .118 184.704);--chart-3: oklch(.398 .07 227.392);--chart-4: oklch(.828 .189 84.429);--chart-5: oklch(.769 .188 70.08);--radius-sm: calc(var(--radius) * .6);--radius-md: calc(var(--radius) * .8);--radius-lg: var(--radius);--radius-xl: calc(var(--radius) * 1.4);--radius-2xl: calc(var(--radius) * 1.8);--motion-fast: .12s;--motion-normal: .2s;--ease-out: cubic-bezier(.16, 1, .3, 1);--motion-blur: 4px}*,*:before,*:after{box-sizing:border-box}body{margin:0;background:var(--background);color:var(--foreground);font-family:system-ui,-apple-system,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;font-size:14px;line-height:1.6}.tabular{font-variant-numeric:tabular-nums}:focus-visible{outline:2px solid var(--ring);outline-offset:2px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}.layout{display:grid;grid-template-columns:232px 1fr;min-height:100vh}.sidebar{background:var(--sidebar);border-right:1px solid var(--sidebar-border);padding:20px 14px}.sidebar-brand{font-weight:600;letter-spacing:.02em;padding:0 10px 18px}.sidebar-brand small{display:block;font-weight:400;color:var(--muted-foreground);font-size:12px;margin-top:2px}.sidebar-group{margin:16px 0 6px;padding:0 10px;font-size:11px;color:var(--muted-foreground)}.sidebar a{display:block;padding:7px 10px;border-radius:var(--radius-md);color:var(--sidebar-foreground);text-decoration:none;font-size:13px}.sidebar a:hover,.sidebar a.active{background:var(--sidebar-accent);color:var(--sidebar-accent-foreground)}.main{min-width:0}.header{height:56px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 24px;background:var(--background)}.header h1{font-size:15px;font-weight:600;margin:0}.header .sub{font-size:12px;color:var(--muted-foreground)}.content{padding:24px;max-width:1280px}.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius-xl)}.card-header{padding:16px 20px;border-bottom:1px solid var(--border)}.card-header h2{font-size:14px;font-weight:600;margin:0 0 2px}.card-header p{font-size:12px;color:var(--muted-foreground);margin:0}.card-content{padding:20px}.card-footer{padding:12px 20px;border-top:1px solid var(--border);font-size:12px;color:var(--muted-foreground)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:34px;padding:0 14px;font-size:13px;font-weight:500;border-radius:var(--radius-md);border:1px solid transparent;cursor:pointer;font-family:inherit;background:transparent;color:var(--foreground);transition:background-color var(--motion-normal) var(--ease-out)}.btn-default{background:var(--primary);color:var(--primary-foreground)}.btn-outline{border-color:var(--input);background:var(--background)}.btn-ghost:hover{background:var(--accent);color:var(--accent-foreground)}.btn-sm{height:28px;padding:0 10px;font-size:12px}.field{display:flex;flex-direction:column;gap:5px}.field label{font-size:12px;font-weight:500}.field .hint{font-size:11px;color:var(--muted-foreground)}input,select{height:34px;padding:0 10px;font-size:13px;font-family:inherit;border:1px solid var(--input);border-radius:var(--radius-md);background:var(--background);color:var(--foreground)}input:focus-visible,select:focus-visible{outline:2px solid var(--ring);outline-offset:1px}.badge{display:inline-flex;align-items:center;font-size:11px;line-height:1.4;padding:2px 8px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--muted);color:var(--foreground);white-space:nowrap}.badge-plan{background:var(--secondary);color:var(--secondary-foreground)}.badge-progress{background:var(--accent);color:var(--accent-foreground)}.badge-profile{background:var(--background);color:var(--muted-foreground)}.badge-row{display:flex;flex-wrap:wrap;gap:6px}.tag-cluster{display:flex;flex-direction:column;gap:6px}.tag-cluster .cluster-label{font-size:11px;color:var(--muted-foreground)}.table-wrap{width:100%;overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:13px;min-width:640px}th{text-align:left;font-weight:500;font-size:11px;color:var(--muted-foreground);padding:10px 12px;border-bottom:1px solid var(--border);white-space:nowrap}td{padding:11px 12px;border-bottom:1px solid var(--border);vertical-align:middle}tbody tr:hover{background:var(--muted)}.scope-note{display:flex;align-items:center;gap:8px;font-size:12px;background:var(--muted);color:var(--muted-foreground);border:1px solid var(--border);border-radius:var(--radius-md);padding:8px 12px;margin-bottom:16px}.scope-note strong{color:var(--foreground);font-weight:500}.tabs{display:flex;gap:4px;border-bottom:1px solid var(--border);margin-bottom:20px}.tab{padding:8px 14px;font-size:13px;color:var(--muted-foreground);cursor:pointer;border-bottom:2px solid transparent;background:none;border-left:0;border-right:0;border-top:0;font-family:inherit}.tab.active{color:var(--foreground);border-bottom-color:var(--primary);font-weight:500}.tab-panel[hidden]{display:none}.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.kpi-label{font-size:12px;color:var(--muted-foreground)}.kpi-value{font-size:26px;font-weight:600;margin:6px 0 2px}.kpi-note{font-size:11px;color:var(--muted-foreground)}.funnel{display:flex;flex-direction:column;gap:8px}.funnel-step{display:flex;align-items:center;gap:12px;font-size:12px}.funnel-step .label{width:132px;color:var(--muted-foreground)}.funnel-step .bar{height:22px;border-radius:var(--radius-sm);background:var(--chart-3)}.funnel-step:nth-child(2) .bar{background:var(--chart-2)}.funnel-step:nth-child(3) .bar{background:var(--chart-1)}.funnel-step .num{font-variant-numeric:tabular-nums}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.section-title{font-size:13px;font-weight:600;margin:0 0 12px}.muted{color:var(--muted-foreground)}.small{font-size:12px}.placeholder{border:1px dashed var(--border);border-radius:var(--radius-md);padding:16px;font-size:12px;color:var(--muted-foreground);background:var(--background)}.kv{display:grid;grid-template-columns:110px 1fr;gap:8px 12px;font-size:13px}.kv dt{color:var(--muted-foreground);font-size:12px}.kv dd{margin:0}@media(max-width:900px){.layout{grid-template-columns:1fr}.sidebar{border-right:0;border-bottom:1px solid var(--sidebar-border)}.kpi-grid,.grid-3{grid-template-columns:repeat(2,1fr)}.grid-2{grid-template-columns:1fr}}@media(max-width:560px){.kpi-grid,.grid-3{grid-template-columns:1fr}.content{padding:14px}}.rel-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.rel-box{border:1px solid var(--border);border-radius:var(--radius-lg);padding:14px}.rel-box h3{font-size:13px;margin:0 0 3px;font-weight:600}.rel-box p{font-size:12px;color:var(--muted-foreground);margin:0 0 10px}.demo-banner{font-size:12px;color:var(--muted-foreground);background:var(--muted);border:1px solid var(--border);border-radius:var(--radius-md);padding:8px 12px;margin-bottom:16px}.demo-banner strong{color:var(--foreground);font-weight:500}.scope-note strong,.demo-banner strong{flex-shrink:0;white-space:nowrap}@media(max-width:560px){.rel-grid{grid-template-columns:1fr}.scope-note{flex-wrap:wrap}}
