
:root{--action:#3370ff;--action-hover:#245bdb;--action-soft:#e1eaff;--action-wash:#f5f8ff;--agent:#7567d9;--agent-hover:#6658cb;--agent-strong:#5b4dbb;--agent-soft:#f0edff;--agent-wash:#f8f7ff;--selected:#e9e9ea;--warning-bg:#fff8ed;--bg:#f7f7fb;--ink:#202123;--muted:#77777b;--line:#e7e7e8;--green:var(--action);--red:#f24444;--amber:#ee8a37;--radius:10px;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","PingFang SC","Segoe UI","Microsoft YaHei",sans-serif;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:80px}body{margin:0;background:var(--bg);font-size:14px;line-height:1.6}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{cursor:wait;opacity:.65}button:focus-visible,a:focus-visible{outline:3px solid #b8aef0;outline-offset:3px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1,h2{font-size:18px;font-weight:600}h3{font-size:14px}small{font-weight:400}.topbar{height:62px;position:fixed;top:0;left:0;right:0;z-index:4;background:white;border-bottom:1px solid #edf0f5;display:flex;align-items:center;gap:20px;padding:0 25px}.brand{color:var(--action);font-weight:750;letter-spacing:-.5px;font-size:22px;display:flex;align-items:center;gap:13px;white-space:nowrap}.brand>span{font-size:14px;font-weight:400;color:#333;letter-spacing:0}.header-divider{height:18px;width:1px;background:#e3e3e3}.header-title{font-size:13px;color:#777}.demo-badge{font-size:11px;color:#77777b;background:#f1f1f2;padding:3px 9px;border-radius:4px;margin-left:auto;white-space:nowrap}.brand-account{font-size:13px;white-space:nowrap}.brand-account>span{font-size:10px;background:#f7f7f8;color:#777;border:1px solid #e6e6e8;border-radius:3px;padding:3px 5px;margin-left:12px}.sidebar{position:fixed;top:62px;left:0;bottom:0;width:174px;background:#fff;border-right:1px solid #eef0f6;padding:22px 0;display:flex;flex-direction:column;z-index:3}.sidebar-label{color:#b6b6bb;font-size:11px;letter-spacing:1px;padding:0 24px 20px}.nav-item{display:flex;align-items:center;gap:13px;padding:15px 22px;font-size:14px;color:#656872;border:0;background:none;width:100%;text-align:left}.nav-item>span{margin-left:auto;font-size:10px;background:#f1f2f5;padding:0 5px;border-radius:3px}.nav-item svg{width:18px;height:18px}.nav-item.active{color:var(--ink);background:var(--selected);font-weight:600}.nav-item:hover{color:var(--action);background:#eeeeef}.sidebar-bottom{margin-top:auto;padding:20px 20px 0;display:flex;gap:10px;align-items:center;font-size:12px;color:#6b6f76}.sidebar-bottom small{display:block;font-size:9px;color:#a3a5aa}.avatar{display:grid;place-items:center;background:#f3f4f7;border-radius:50%;height:32px;width:32px;flex-shrink:0}.workspace{margin-left:174px;padding-top:62px}main{max-width:1900px;margin:auto;padding:26px 30px}.panel{background:white;border-radius:var(--radius);overflow:hidden}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:20px}.panel-head h2 small{font-size:11px;color:#aaa;margin-left:12px}.head-actions{display:flex;gap:15px;align-items:center}.snapshot{font-size:11px;color:#a0a1a6;white-space:nowrap}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:12px;background:none;border:0;color:#9a9ba0;padding:4px 0;min-height:30px;white-space:nowrap}.text-button svg{width:14px;height:14px}.text-button:hover,.text-button.orange{color:var(--action)}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:12px;border:1px solid transparent;border-radius:5px;padding:8px 12px;min-height:36px;font-weight:500;white-space:nowrap}.button svg{width:16px;height:16px}.button.primary{background:var(--action);color:#fff}.button.primary:hover{background:var(--action-hover)}.button.secondary{background:#fff;border-color:#dddfe5;color:#666}.button.secondary:hover{border-color:#82a7fc;color:var(--action)}.full{width:100%}.business-panel{padding:22px 25px 15px;margin-bottom:18px}.business-metrics{display:grid;grid-template-columns:repeat(6,1fr);gap:22px}.business-metric>span{font-size:12px;color:#62636b}.business-metric>strong{display:block;font-size:26px;letter-spacing:.1px;font-weight:650;font-variant-numeric:tabular-nums;margin:12px 0 10px;white-space:nowrap}.business-metric small{display:block;font-size:10px;color:#a4a4aa;white-space:nowrap}.change{display:block;font-size:11px;margin-top:5px;white-space:nowrap}.business-metric .change{display:inline;font-size:10px;margin-left:3px}.negative{color:#35aa81}.positive{color:#f14b54}.neutral{color:#aaa}.coverage-note{font-size:10px;color:#a0a2aa;border-top:1px solid #f1f2f5;margin-top:20px;padding-top:10px}.coverage-note b{font-weight:500;color:#757883}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:18px;align-items:start}.dashboard-main{min-width:0;display:grid;gap:18px}.patrol-panel{padding:23px 24px 24px}.patrol-alert{background:#fff4e8;border-radius:8px;padding:13px 16px;display:flex;align-items:center;gap:12px;font-size:13px;color:#5e4d3c;margin-bottom:20px}.alert-icon{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#ffe3c6;color:#ff9d63;font-size:24px;box-shadow:0 0 12px #ffd8b7}.patrol-alert strong{color:#f34438;font-size:19px;margin:0 3px;font-weight:650}.exception-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.exception-card{background:#f8f9fd;border:1px solid transparent;border-radius:9px;min-height:122px;padding:16px 15px;text-align:left;align-self:stretch}.exception-card:hover,.exception-card[aria-pressed=true]{border-color:#b6ceff;background:var(--action-wash)}.exception-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;border-bottom:1px solid #e5e7ee;padding-bottom:12px;margin-bottom:11px}.exception-heading>span{display:flex;align-items:center;gap:6px;white-space:nowrap}.exception-heading svg{color:#ff7656;width:16px;height:16px}.exception-heading b{color:#f34e54;font-size:12px;font-weight:500;white-space:nowrap}.exception-line{display:flex;justify-content:space-between;align-items:center;color:#a3a5ad;font-size:11px;margin-top:7px}.exception-line strong{font-size:12px;color:#454750;font-weight:500}.muted{color:#a1a4ad!important}.view-tabs{display:flex;gap:0;align-items:stretch;background:#f9faff;border-bottom:1px solid #f0f1f5}.view-tabs button{border:0;background:none;color:#777a83;padding:17px 21px;font-size:15px;white-space:nowrap;position:relative}.view-tabs button[aria-selected=true]{background:#fff;color:#333;font-weight:600;border-radius:0 18px 0 0}.view-tabs button[aria-selected=true]:before{position:absolute;top:0;left:0;right:0;height:2px;background:var(--action);content:""}.ranking-toolbar{display:flex;gap:15px;padding:14px 20px;align-items:center;flex-wrap:wrap}.tabs{display:flex;gap:6px}.tabs button{font-size:11px;background:none;border:1px solid transparent;border-radius:4px;color:#92959e;padding:5px 8px;white-space:nowrap}.tabs button[aria-pressed=true]{color:var(--action);background:var(--action-wash);border-color:var(--action-soft)}.tabs button span{font-size:10px;margin-left:4px}.ranking-toolbar>span{font-size:10px;color:#a1a4ae;margin-left:auto}.ranking-toolbar>.text-button{font-size:10px}#clear-filter[hidden]{display:none}.table-scroll{overflow:auto;margin:0 20px}.rank-table{border-collapse:collapse;width:100%;text-align:right;font-size:12px;min-width:850px}.rank-table th{background:#f8f9fc;padding:14px 10px;font-size:11px;color:#565962;font-weight:500;border-bottom:1px solid #e9eaf0;white-space:nowrap}.rank-table th:first-child,.rank-table td:first-child{text-align:left}.rank-table th:first-child{width:190px;min-width:175px}.rank-table th button{font-size:11px;color:inherit;border:0;padding:0;background:transparent;white-space:nowrap}.rank-table th button>span{color:#c6c7ce;font-size:12px;margin-left:4px}.rank-table th[aria-sort=ascending] button>span,.rank-table th[aria-sort=descending] button>span{color:var(--action)}.rank-table td{padding:18px 10px;border-bottom:1px solid #eef0f5;vertical-align:middle}.rank-table td>strong{display:block;font-size:14px;font-weight:550;font-variant-numeric:tabular-nums;white-space:nowrap}.rank-table td>small{display:block;font-size:10px}.rank-table tr:hover td{background:#fbfbfd}.rank-table td:last-child{padding-right:0}.rank-table td .button{font-size:11px;min-height:31px;padding:6px 9px}.store-title{display:flex;align-items:center;gap:7px;margin-bottom:5px}.rank-number{font-size:10px;width:17px;color:#a0a4ac;flex-shrink:0}.rank-table tr:nth-child(-n+3) .rank-number{color:#db9d3b}.store-name{border:0;background:none;color:#3c3f48;font-size:12px;padding:0;text-align:left;line-height:1.7}.store-name:hover{color:var(--action)}.status{display:inline-block;font-size:9px;padding:1px 5px;border-radius:3px;margin-left:24px;white-space:nowrap}.status.danger{color:#f06d37;background:#fff0e5}.status.watch{color:#e75e63;background:#fff0f0}.status.normal{color:#45a489;background:#edf8f3}.status.offline{color:#9ca0a8;background:#f1f2f5}.follow-pill{font-size:9px;color:var(--agent-strong);margin-left:5px}.missing{color:#aeb1b9}.table-footnote{font-size:10px;color:#aaaeb7;padding:13px 20px 17px}.table-footnote b{font-weight:500}.empty-state{text-align:center;padding:45px 15px;color:#a0a2aa}.empty-state>svg{color:#ffb17a;width:30px;height:30px;margin-bottom:8px}.empty-state h3{font-weight:500;font-size:14px}.empty-state p{font-size:11px;margin-top:6px}.empty-state[hidden],#ranking-panel[hidden],#market-panel[hidden]{display:none}.right-rail{display:grid;gap:18px}.right-rail .panel{padding:23px}.right-rail h2{font-size:17px;font-weight:600}.growth-panel{text-align:center}.growth-panel h2{text-align:left}.score-gauge{width:145px;height:127px;margin:22px auto 3px;position:relative;display:grid;place-items:center;overflow:hidden}.score-gauge:before{content:"";position:absolute;width:140px;height:140px;border-radius:50%;background:conic-gradient(from 228deg,#78b5ff 0deg,#2875f5 267deg,#f3f4f8 267deg,#f3f4f8 306deg,transparent 306deg);top:0}.score-gauge:after{content:"";width:127px;height:127px;background:white;border-radius:50%;position:absolute;top:6.5px}.score-gauge>div{position:relative;z-index:1;margin-top:17px}.score-gauge span{font-size:12px;color:#777b84}.score-gauge strong{display:block;font-size:33px;font-weight:650;line-height:1.4}.ai-panel h2{display:flex;align-items:center;justify-content:space-between}.ai-panel h2>span{font-size:9px;font-weight:400;color:var(--agent-strong);background:var(--agent-soft);padding:1px 5px;border-radius:3px}.ai-hero{background:linear-gradient(115deg,var(--agent-wash),var(--agent-wash));padding:14px 12px;border-radius:6px;margin:18px 0;display:flex;gap:10px;align-items:center}.ai-hero svg{color:var(--agent);width:27px;height:27px}.ai-hero p{font-size:10px;color:#77777b;line-height:1.8}.ai-hero strong{font-size:12px;font-weight:500;color:var(--agent-strong)}.ai-stat{display:flex;justify-content:space-between;font-size:12px;color:#a1a3ab;margin:14px 0}.ai-stat b{color:#383c43;font-weight:550}.ai-panel>.button{margin-top:5px;font-size:12px}.connection-panel .text-button{font-size:11px}.market-note{font-size:11px;color:#a1a4ab;padding:17px 20px}.market-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:0 20px}.market-table{overflow:auto}.market-table h3{text-align:center;background:#f8f9fd;font-size:13px;font-weight:550;padding:14px}.market-table table{border-collapse:collapse;width:100%;font-size:11px;text-align:right;min-width:285px}.market-table th{font-weight:500;color:#8c909b;font-size:10px;padding:12px 7px;border-bottom:1px solid #edf0f6;white-space:nowrap}.market-table th:first-child,.market-table td:first-child{text-align:left}.market-table td{padding:14px 7px;border-bottom:1px solid #edf0f6;white-space:nowrap}.market-table .store-name{font-size:11px}.market-missing{grid-column:1/-1;font-size:10px;color:#a4a7ae;padding:5px 0}.score-row{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #f0f0f3}.score-row:last-child{border-bottom:0}footer{font-size:10px;color:#a5a8b0;padding-top:18px}.eyebrow{font-size:10px;color:var(--agent);letter-spacing:1px}
dialog{position:fixed;inset:0 0 0 auto;margin:0;height:100dvh;max-height:100dvh;width:650px;max-width:95vw;background:#fafbfe;border:0;border-left:1px solid #e2e7df;padding:0;box-shadow:-20px 0 80px #112c2622;color:var(--ink)}dialog::backdrop{background:#132a2657;backdrop-filter:blur(2px)}.drawer-head{display:flex;justify-content:space-between;align-items:flex-start;background:#fff;padding:26px 29px;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:2}.drawer-head h2{font-size:22px;font-weight:600;margin-top:5px}.drawer-head p{font-size:11px;color:#90a08f;margin-top:4px}.icon-button{display:grid;place-items:center;background:none;border:0;width:36px;height:36px;color:#819084;border-radius:6px}.icon-button:hover{background:#edf1ec}.drawer-body{padding:26px 29px}.analysis-banner{padding:15px 17px;border-radius:10px;border:1px solid #ecdfd2;background:#fbf4ea;font-size:12px;color:#90714e}.analysis-banner strong{display:block;font-size:14px;color:#775e3e;margin-bottom:3px}.analysis-banner.error{background:#f1f3f0;border-color:#e0e5de;color:#7b897d}.analysis-banner.success{background:#fff5eb;border-color:#ffe8d3;color:#a98261}.analysis-banner.success strong{color:#ae601d}.detail-section{margin-top:25px}.detail-section>h3{font-size:14px;font-weight:600;margin-bottom:12px}.detail-section>p{font-size:12px;color:#778b7b;line-height:1.8}.progress-list{list-style:none;margin:15px 0 0;padding:0}.progress-list li{display:flex;align-items:center;gap:11px;padding:13px 0;border-bottom:1px solid #e9ede6;font-size:12px;color:#94a18f}.step-indicator{display:grid;place-items:center;border:1px solid #d9e1d4;width:23px;height:23px;border-radius:50%;font-size:10px}.progress-list .done{color:#4d7658}.done .step-indicator{background:#e8f0e4;border-color:#d7e5d0}.progress-list .current{color:#d45a12;font-weight:600}.current .step-indicator{border-color:#699565;border-top-color:transparent;animation:spin 1s linear infinite}.progress-list small{margin-left:auto;font-size:10px;font-weight:400}.evidence-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:15px}.evidence{background:#fff;border:1px solid #e4e9e0;border-radius:9px;padding:14px}.evidence-label{font-size:11px;color:#7d8d7e}.evidence-number{font-size:23px;font-weight:600;margin:5px 0 3px;letter-spacing:-.5px}.evidence small{font-size:10px;color:#899785}.evidence-number.bad{color:#b1674f}.finding{background:#fff;border:1px solid #e3e8df;border-radius:10px;padding:17px;font-size:12px;color:#667d69;line-height:1.9}.finding strong{color:#714b32;font-size:14px;display:block;margin-bottom:6px}.finding .uncertain{font-size:10px;color:#93a08c;margin-top:10px;padding-top:10px;border-top:1px solid #eef1eb}.action-list{padding:0;margin:0;list-style:none;counter-reset:action}.action-list li{counter-increment:action;display:flex;gap:12px;margin:0 0 12px;padding:15px;background:#fff;border:1px solid #e4e9e0;border-radius:9px}.action-list li:before{content:counter(action);display:grid;place-items:center;width:22px;height:22px;flex-shrink:0;background:#edf2e8;border-radius:5px;color:#658159;font-size:10px}.action-list strong{font-size:12px;font-weight:600}.action-list p{font-size:11px;color:#83927e;margin-top:4px;line-height:1.8}.follow-check{padding:15px 17px;border-radius:9px;background:#fff4e8;font-size:11px;color:#a07f60}.follow-check b{display:block;color:#9e622f;margin-bottom:4px;font-weight:600}.drawer-actions{display:flex;gap:10px;padding-top:24px;flex-wrap:wrap}.drawer-actions .button{flex:1}.source-note{font-size:10px;color:#9ba594;margin-top:19px;line-height:1.8}.message-dialog{inset:0;margin:auto;height:fit-content;max-height:90dvh;width:460px;max-width:92vw;border-radius:16px;border:1px solid #e1e7dc;box-shadow:0 25px 90px #182e2444}.message-dialog .drawer-head{padding:22px}.message-dialog .drawer-head h2{font-size:19px}.message-body{padding:22px}.message-destination{display:flex;align-items:center;gap:8px;font-size:11px;color:#7d8c7d;margin-bottom:14px}.message-destination svg{width:16px;height:16px}.feishu-card{border:1px solid #e0e6dc;border-radius:9px;overflow:hidden;background:#fff}.feishu-card-title{padding:12px 16px;background:#fff0e3;color:#c26322;font-size:13px;font-weight:600}#message-content{padding:16px;font-size:12px;line-height:1.9;white-space:pre-wrap}.preview-note{font-size:10px;color:#939e8d;margin:15px 0}.full{width:100%}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,15px);background:#222225;color:#fff;border-radius:9px;padding:11px 20px;font-size:12px;box-shadow:0 5px 20px #153d2620;opacity:0;transition:.2s;pointer-events:none;z-index:20;max-width:90vw}#toast.visible{opacity:1;transform:translate(-50%,0)}@keyframes spin{to{transform:rotate(360deg)}}

@media(min-width:1600px){main{padding:28px 45px}.business-panel{padding:26px 28px 16px}.business-metric>strong{font-size:29px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 290px;gap:20px}.patrol-panel{padding:26px 28px}.exception-grid{grid-template-columns:repeat(3,minmax(180px,230px))}.rank-table{min-width:900px}.rank-table td{padding-top:21px;padding-bottom:21px}}
@media(max-width:1250px){.sidebar{width:150px}.workspace{margin-left:150px}main{padding:20px}.topbar{padding:0 20px;gap:15px}.brand-account>span{display:none}.dashboard-grid{grid-template-columns:minmax(0,1fr) 215px;gap:15px}.right-rail .panel{padding:19px}.business-metrics{gap:12px}.business-metric>strong{font-size:22px}.business-metric small{font-size:9px}.business-metric .change{display:block;font-size:10px;margin-left:0}.patrol-panel{padding:20px}.exception-card{padding:13px 11px}.exception-heading{font-size:12px}.exception-heading>span{gap:4px}.exception-heading b{font-size:11px}.exception-heading svg{width:14px;height:14px}.ranking-toolbar>span{margin-left:0}}
@media(max-width:1000px){.dashboard-grid{grid-template-columns:minmax(0,1fr)}.right-rail{grid-template-columns:1fr 1fr}.growth-panel{display:none}.business-metric>strong{font-size:23px}.brand-account{display:none}.ranking-toolbar>span{margin-left:auto}.ai-panel .ai-hero{display:none}.ai-panel .ai-stat{display:inline-flex;width:49%;padding-right:10px}.connection-panel{display:flex;flex-direction:column;justify-content:space-between}.right-rail .panel{padding:20px}}
@media(max-width:700px){.sidebar{display:none}.workspace{margin:0;padding-top:56px}.topbar{height:56px;padding:0 16px;gap:10px}.brand{font-size:19px;gap:8px}.brand>span{font-size:11px}.header-divider,.header-title{display:none}.demo-badge{font-size:9px;padding:2px 6px}main{padding:14px 12px}.panel{border-radius:8px}h1,h2{font-size:16px}.panel-head{margin-bottom:18px}.head-actions{gap:8px;flex-wrap:wrap;justify-content:flex-end}.snapshot{font-size:9px}.text-button{font-size:10px;min-height:32px}.text-button svg{width:12px;height:12px}.business-panel{padding:17px 16px 10px;margin-bottom:12px}.business-metrics{grid-template-columns:repeat(3,1fr);gap:22px 12px}.business-metric>span{font-size:10px}.business-metric>strong{font-size:21px;margin:6px 0}.business-metric small{font-size:8px}.business-metric .change{font-size:9px;display:block;margin-left:0}.coverage-note{font-size:9px;margin-top:16px;line-height:1.8}.dashboard-grid{gap:12px}.dashboard-main{gap:12px}.patrol-panel{padding:17px 14px}.panel-head h2 small{font-size:9px;margin-left:7px}.patrol-alert{padding:10px;font-size:11px;gap:8px;line-height:1.9;margin-bottom:13px}.patrol-alert strong{font-size:17px}.alert-icon{width:22px;height:22px;flex-shrink:0}.exception-grid{gap:7px}.exception-card{padding:12px 8px;min-height:110px}.exception-heading{display:block;font-size:11px;margin-bottom:8px;padding-bottom:8px}.exception-heading>span{gap:4px}.exception-heading b{display:block;font-size:12px;margin-top:5px}.exception-heading svg{width:13px;height:13px}.exception-line{font-size:9px;gap:3px;margin-top:6px;white-space:nowrap}.exception-line strong{font-size:9px}.view-tabs button{font-size:12px;padding:15px 14px}.ranking-toolbar{padding:12px;gap:8px}.tabs button{font-size:10px;padding:6px;min-height:32px}.tabs button span{font-size:9px}.ranking-toolbar>span{font-size:9px;margin-left:0;width:100%}.ranking-toolbar .text-button{margin-left:auto}.table-scroll{margin:0 12px}.rank-table{min-width:850px;font-size:11px}.rank-table th{font-size:10px;padding:11px 8px}.rank-table td{padding:15px 8px}.rank-table th:first-child{min-width:155px;width:155px}.rank-table td>strong{font-size:13px}.rank-table td .button{min-height:36px}.rank-table .store-name{font-size:11px}.change{font-size:10px}.table-footnote{font-size:9px;padding:12px}.right-rail{grid-template-columns:1fr}.right-rail .panel{padding:17px}.right-rail h2{font-size:15px}.connection-panel{display:none}.ai-panel .ai-stat{font-size:11px}.ai-panel .button{font-size:12px;min-height:40px}.market-grid{grid-template-columns:1fr;gap:15px;padding:0 12px}.market-note{font-size:10px;padding:14px 12px}.market-table table{min-width:290px}.market-table h3{font-size:12px}.market-table td{padding:14px 9px}.market-missing{font-size:9px}dialog{width:100%;max-width:100%;border:0}.drawer-head{padding:21px 18px}.drawer-body{padding:20px 18px}.drawer-head h2{font-size:20px}.evidence-grid{gap:8px}.evidence{padding:12px}.drawer-actions{position:sticky;bottom:0;background:#fafbfe;padding:15px 0 0}.drawer-actions .button{font-size:11px}.message-dialog{max-width:92vw;width:460px}.message-body{padding:18px}footer{font-size:9px;line-height:1.8}}
.nav-item{white-space:nowrap;gap:10px;padding-left:20px;padding-right:20px}.rank-table th:last-child,.rank-table td:last-child{position:sticky;right:0;z-index:1;background:#fff;box-shadow:-7px 0 12px -12px #777;width:80px;padding-right:8px}.rank-table th:last-child{background:#f8f9fc}.rank-table td:first-child,.rank-table th:first-child{position:sticky;left:0;background:#fff;z-index:1}.rank-table th:first-child{background:#f8f9fc}.rank-table th:last-child,.rank-table td:last-child{z-index:2}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* 海猪视觉：白与中性灰承托内容，蓝色表示产品操作，紫色表示 AI。 */
.topbar{background:#fff;border-bottom-color:var(--line)}
.brand{color:var(--ink);gap:8px;letter-spacing:-.4px;font-size:20px;font-weight:650}.brand img{width:32px;height:32px;object-fit:contain;flex-shrink:0}.brand strong{font-size:20px;font-weight:650}.brand>span{font-size:12px;font-weight:400;color:var(--muted);margin-left:8px}
.sidebar{background:#f7f7f8;border-right-color:var(--line);padding-top:22px}.sidebar-label{color:#9a9a9e}.nav-item{width:calc(100% - 16px);margin:2px 8px;border-radius:8px;padding:12px 13px;color:#646469}.nav-item.active{color:var(--ink);background:#e9e9ea}.nav-item:hover{color:var(--ink);background:#eeeeef}.nav-item>span{color:#77777b;background:#ededee}.sidebar-bottom{color:#646469}.sidebar-bottom small{color:#99999d}.avatar{background:#ebebed}
.panel{border:1px solid #e9e8ef;box-shadow:none}.demo-badge{background:#f1f1f2;color:#77777b}.text-button.action-link{color:var(--action)}.text-button.action-link:hover{color:var(--action-hover)}
.button{border-radius:7px}.button.primary{background:var(--action);color:#fff}.button.primary:hover{background:var(--action-hover)}.button.secondary{border-color:#d7d7d9;color:#646469}.button.secondary:hover{border-color:#bbbfc4;background:#f7f7f8;color:var(--ink)}
[data-analyze].button.primary,#start-priority{background:var(--agent);color:white}[data-analyze].button.primary:hover,#start-priority:hover{background:var(--agent-hover)}
.business-metric>strong{color:var(--ink)}.business-metric>span{color:#646469}.business-metric small{color:#909095}.view-tabs{background:#f7f7f9}.view-tabs button{color:#77777b}.view-tabs button[aria-selected=true]{color:var(--ink)}.view-tabs button[aria-selected=true]:before{background:var(--action)}
.tabs button[aria-pressed=true]{color:var(--action-hover);background:var(--action-wash);border-color:var(--action-soft)}.store-name:hover{color:var(--action-hover)}.rank-table th,.rank-table th:first-child,.rank-table th:last-child{background:#f7f7f9;color:#646469}.rank-table td,.rank-table th{border-bottom-color:var(--line)}.rank-table tr:nth-child(-n+3) .rank-number{color:#77777b}.rank-table th[aria-sort=ascending] button>span,.rank-table th[aria-sort=descending] button>span{color:var(--action)}
.patrol-alert{background:#fff8ed;color:#7d5b36}.alert-icon{background:#ffeed6;color:#b47b38;box-shadow:none}.patrol-alert strong{color:#b84d56}.exception-card{background:#f7f7f9}.exception-card:hover,.exception-card[aria-pressed=true]{background:var(--action-wash);border-color:#c9d9ff}.exception-heading{border-bottom-color:#e7e7e8}.exception-heading svg{color:#b84d56}.exception-heading b{color:#b84d56}.exception-card[data-filter=product] svg{color:#b47b38}.exception-card[data-filter=offline] svg{color:#929298}
.status.danger{background:#fff8ed;color:#956125}.status.watch{background:#fff0f1;color:#b84d56}.status.normal{background:#effaf6;color:#239477}.status.offline{background:#f1f1f2;color:#85858b}.positive{color:#db4e53}.negative{color:#239477}.follow-pill{color:var(--agent-strong)}
.score-gauge:before{background:conic-gradient(from 228deg,#9ec0ff 0deg,#3370ff 267deg,#f1f1f2 267deg,#f1f1f2 306deg,transparent 306deg)}.ai-panel h2>span{color:var(--agent-strong);background:var(--agent-soft)}.ai-hero{background:var(--agent-wash);border:1px solid #e6e0fb}.ai-hero svg{color:var(--agent)}.ai-hero p{color:#77777b}.ai-hero strong{color:var(--agent-strong)}
.analysis-banner{background:#fff8ed;border-color:#efdfc6;color:#94661d}.analysis-banner strong{color:#94661d}.analysis-banner.success{background:var(--agent-wash);border-color:#e5defb;color:#77777b}.analysis-banner.success strong{color:var(--agent-strong)}.analysis-banner.error{background:#f1f1f2;border-color:var(--line);color:#77777b}.analysis-banner.error strong{color:#646469}
.progress-list .done{color:#77777b}.done .step-indicator{background:#f1f1f2;border-color:#e7e7e8}.progress-list .current{color:var(--agent-strong)}.current .step-indicator{border-color:var(--agent);border-top-color:transparent}.finding{border-color:var(--line);color:#646469}.finding strong{color:var(--ink)}.finding .uncertain{color:#929297;border-top-color:var(--line)}.evidence{border-color:var(--line)}.evidence-label{color:#77777b}.evidence-number{color:var(--ink)}.evidence-number.bad{color:#b84d56}.evidence small{color:#929297}.action-list li{border-color:var(--line)}.action-list li:before{color:var(--action-hover);background:var(--action-wash)}.action-list p{color:#77777b}.follow-check{background:var(--action-wash);color:#646a73}.follow-check b{color:var(--action-hover)}.detail-section>p{color:#77777b}.drawer-head p,.source-note{color:#929297}.drawer-head{border-bottom-color:var(--line)}.drawer-head h2{color:var(--ink)}.icon-button:hover{background:#f1f1f2}
.feishu-card{border-color:var(--line)}.feishu-card-title{background:var(--action-wash);color:var(--action-hover)}.message-destination{color:#77777b}.preview-note{color:#929297}.message-dialog{border-color:var(--line)}.eyebrow{color:var(--agent-strong)}#toast{background:#222225;color:white}
@media(max-width:700px){.brand img{width:29px;height:29px}.brand strong{font-size:18px}.brand>span{font-size:10px;margin-left:4px}.topbar{gap:10px}.drawer-actions{background:#fafbfe}}

/* 综合层只回答门店问题；平台指标在独立视图中展开。 */
[hidden]{display:none!important}
.platform-nav{display:flex;gap:7px;margin:0 0 19px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:13px}
.platform-nav button{font:inherit;font-size:13px;padding:8px 20px;min-height:38px;background:none;color:var(--muted);border:1px solid transparent;border-radius:7px;white-space:nowrap}
.platform-nav button:hover{background:#eeeeef;color:var(--ink)}
.platform-nav button[aria-selected=true]{background:#fff;color:var(--action-hover);border-color:#d9e3ff;font-weight:600;box-shadow:0 1px 3px #25396305}
.business-metrics.combined-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:25px}
.business-metric em{font-size:11px;color:#919198;font-weight:400;font-style:normal;margin-left:7px;letter-spacing:0}
.platform-contributions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding-top:18px;margin-top:19px;border-top:1px solid #f0f0f3}
.contribution{display:flex;gap:9px;align-items:center;border:0;background:none;padding:4px 0;position:relative;text-align:left;color:#54555d;min-width:0}
.contribution:hover{color:var(--action-hover)}.contribution>span:nth-child(2){font-size:11px;white-space:nowrap}.contribution small{display:block;font-size:9px;color:#a0a0a7;margin-top:1px}.contribution strong{margin-left:auto;font-size:15px;font-weight:550;white-space:nowrap}.platform-mark{display:inline-grid;place-items:center;width:23px;height:23px;border-radius:6px;flex-shrink:0;font-size:10px;font-weight:600}.platform-mark.taobao{background:#fff0e7;color:#e67b45}.platform-mark.meituan{background:#fff7d8;color:#927516}.platform-mark.pos{background:#eeecff;color:#7567d9}.contribution-track{position:absolute;bottom:-7px;left:32px;right:0;height:2px;border-radius:2px;background:#f1f2f5;overflow:hidden}.contribution-track i{display:block;height:100%;background:#a9a3c8}.contribution-track .taobao{background:#e8b99d}.contribution-track .meituan{background:#dbcc89}.contribution-track .pos{background:#aea1e8}
.coverage-note{padding-top:0;border-top:0;line-height:1.7;margin-top:19px}.metric-definitions{font-size:10px;color:#95959c;margin-top:7px}.metric-definitions summary{cursor:pointer;width:fit-content;color:#77777b;min-height:22px}.metric-definitions p{margin-top:7px;line-height:1.9;background:#f8f8fa;padding:10px 13px;border-radius:5px;color:#77777b}.exception-heading .platform-mark{width:20px;height:20px;font-size:9px}.exception-line{gap:8px}.exception-line strong{white-space:nowrap}.missing-platform-note{font-size:10px;color:#929298;margin-top:12px;gap:5px}.missing-platform-note svg{width:12px;height:12px}.view-tabs [data-view=ranking]{font-size:15px}.rank-table.combined-table{min-width:800px}.rank-table.pos-table{min-width:650px}.combined-table th:first-child{width:175px;min-width:160px}.combined-table td{padding-top:20px;padding-bottom:20px}.rank-table .status{margin-left:0}.rank-table .store-title{margin-bottom:6px}.partial-value{font-size:9px!important;color:#a1a1a8;margin-top:3px}.channel-cell{text-align:center!important}.channel-status{display:inline-flex;gap:6px;align-items:center;font-size:11px;color:#646469;border:0;background:transparent;padding:7px 3px;min-height:32px;white-space:nowrap;border-radius:5px}.channel-status:hover{background:#f1f3fa}.channel-dot{height:5px;width:5px;border-radius:50%;background:#9ea6a2;flex-shrink:0}.channel-status.normal{color:#898e8b}.channel-status.normal .channel-dot{background:#9fbbb0}.channel-status.danger,.channel-status.watch{color:#ac626b}.channel-status.danger .channel-dot,.channel-status.watch .channel-dot{background:#c58b93}.channel-status.offline{color:#9a9aa1}.channel-status.offline .channel-dot{background:#b6b6bb}.status-chevron{font-size:13px;opacity:.55;margin-left:1px}.combined-table th:nth-child(n+4):not(:last-child){text-align:center}.detail-platforms{padding:13px 29px 0;background:#fafbfe;display:flex;gap:8px}.detail-platform-button{background:transparent;border:1px solid transparent;border-radius:6px;padding:6px 15px;min-height:34px;font-size:12px;color:#8a8a91}.detail-platform-button[aria-pressed=true]{color:var(--agent-strong);background:var(--agent-soft);border-color:#e1daf9}.detail-platform-button:hover{color:var(--agent-strong);background:var(--agent-wash)}.cross-platform-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:20px;padding-bottom:15px;border-bottom:1px solid var(--line)}.channel-status.compact{font-size:10px;justify-content:center;background:#f3f4f7;padding:9px 6px;white-space:normal;line-height:1.6;text-align:center}.channel-status.compact.danger,.channel-status.compact.watch{background:#fff0f1}.coverage-store+ .coverage-store{border-top:1px solid var(--line);margin-top:14px;padding-top:14px}.coverage-store>strong{font-size:13px!important;font-weight:550}.coverage-store .score-row{font-size:11px;padding:7px 0}.growth-panel #gauge-value{font-size:29px}.progress-list li{font-size:11px}.progress-list small{flex-shrink:0}
@media(max-width:1250px){.platform-contributions{gap:12px}.contribution{gap:6px}.contribution strong{font-size:13px}.business-metrics.combined-metrics{gap:15px}.exception-heading>span{font-size:11px}.exception-line{font-size:10px}.exception-line strong{font-size:10px}.exception-heading b{font-size:11px}.business-metric em{font-size:10px}}
@media(max-width:700px){.platform-nav{margin-bottom:12px;padding-bottom:10px;gap:4px;justify-content:space-between}.platform-nav button{font-size:12px;min-height:38px;padding:7px 15px}.business-metrics.combined-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 18px}.business-metric em{font-size:10px;margin-left:5px}.platform-contributions{gap:10px;padding-top:12px;margin-top:15px}.contribution{display:grid;grid-template-columns:18px 1fr;gap:4px}.contribution .platform-mark{width:18px;height:18px;font-size:9px}.contribution>span:nth-child(2){font-size:10px}.contribution strong{grid-column:1/-1;font-size:13px;margin:0;padding-top:3px}.contribution small{font-size:8px}.contribution-track{left:0;bottom:-6px}.coverage-note{font-size:9px;line-height:1.9;margin-top:19px}.metric-definitions{font-size:9px}.metric-definitions summary{min-height:24px}.exception-heading>span{font-size:10px}.exception-heading .platform-mark{width:16px;height:16px;font-size:8px}.exception-heading b{font-size:11px}.exception-line{display:block;font-size:9px;white-space:normal;line-height:1.7}.exception-line strong{display:block;font-size:9px;margin-top:3px}.exception-card{min-height:115px}.missing-platform-note{font-size:9px;line-height:1.6;text-align:left;white-space:normal}.view-tabs [data-view=ranking]{font-size:12px}.rank-table.combined-table{min-width:760px}.rank-table.combined-table th:first-child{min-width:138px;width:138px}.combined-table td{padding-top:16px;padding-bottom:16px}.channel-status{font-size:10px}.detail-platforms{padding:12px 18px 0}.detail-platform-button{font-size:11px;padding:6px 13px;min-height:36px}.cross-platform-strip{gap:5px;margin-bottom:16px}.channel-status.compact{font-size:9px;padding:8px 5px;gap:4px}.progress-list li{font-size:10px;gap:8px}.progress-list small{font-size:9px}.store-name{line-height:1.8}.rank-table td:last-child{padding-left:7px}.metric-definitions p{font-size:10px}}
/* 首页保持紧凑，让门店列表尽早进入视线。 */
.business-panel{padding:20px 24px 12px}.business-panel .panel-head{margin-bottom:13px}.business-metric>strong{margin:8px 0 7px}.platform-contributions{padding-top:11px;margin-top:13px}.coverage-note{margin-top:14px}.metric-definitions{margin-top:3px}.metric-definitions summary{min-height:19px}.patrol-panel{padding:19px 22px 16px}.patrol-panel .panel-head{margin-bottom:12px}.patrol-alert{padding:9px 14px;margin-bottom:12px}.exception-card{min-height:82px;padding:12px 14px}.exception-heading{padding-bottom:8px;margin-bottom:7px}.missing-platform-note{margin-top:8px;min-height:24px}.exception-heading .platform-mark{width:18px;height:18px}.table-footnote{line-height:1.8}
@media(max-width:700px){.business-panel{padding:17px 16px 10px}.patrol-panel{padding:16px 14px}.exception-card{min-height:104px;padding:10px 8px}.exception-heading{padding-bottom:7px}.exception-heading>span{gap:4px}.exception-heading .platform-mark{width:16px;height:16px}.exception-line{margin-top:5px}.patrol-alert{padding:9px 10px}.missing-platform-note{margin-top:8px}.platform-contributions{padding-top:11px;margin-top:14px}.business-metrics.combined-metrics{gap:19px 14px}.metric-definitions summary{min-height:24px}}
@media(max-width:700px){
  .rank-table.combined-table{display:block;min-width:0;width:100%;text-align:left}.combined-table thead{display:none}.combined-table tbody{display:grid;gap:10px;width:100%;padding:0 0 3px}.combined-table tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 5px;padding:13px 12px;border:1px solid var(--line);border-radius:9px;background:white;width:100%}.rank-table.combined-table td{display:block;padding:0;border:0;text-align:left;min-width:0;background:transparent}.rank-table.combined-table td:first-child,.rank-table.combined-table td:last-child{position:static;box-shadow:none;background:transparent;width:auto}.combined-table td:first-child{grid-column:1/-1;display:flex!important;gap:8px;align-items:center;flex-wrap:wrap;border-bottom:1px solid #f0f0f3!important;padding-bottom:9px!important}.combined-table .store-title{margin:0}.combined-table .store-name{font-size:13px;font-weight:550}.combined-table td:first-child .status{font-size:8px;margin-left:auto}.combined-table td:first-child .follow-pill{font-size:8px}.combined-table td:nth-child(2){grid-column:1;grid-row:2}.combined-table td:nth-child(3){grid-column:2;grid-row:2}.combined-table td:nth-child(2):before,.combined-table td:nth-child(3):before{content:attr(data-label);display:block;color:#99999e;font-size:9px;margin-bottom:3px}.rank-table.combined-table td>strong{font-size:14px}.combined-table .change{font-size:9px;margin-top:2px}.combined-table .partial-value{font-size:8px!important}.combined-table td:last-child{grid-column:3;grid-row:2;align-self:center;justify-self:end}.combined-table td:last-child .button{font-size:10px;min-height:32px;padding:5px 8px}.combined-table .channel-cell{grid-row:3;text-align:left!important;padding-top:8px!important;border-top:1px solid #f0f0f3!important}.combined-table .channel-cell:before{content:attr(data-label);font-size:9px;color:#99999e;display:block;margin-bottom:2px}.combined-table .channel-status{font-size:9px;white-space:normal;text-align:left;padding:2px 0;min-height:27px;gap:4px;line-height:1.7;align-items:center}.combined-table .channel-status .channel-dot{width:4px;height:4px}.combined-table .status-chevron{display:none}.combined-table tr:hover td{background:transparent}.combined-table .channel-cell:nth-child(4){grid-column:1}.combined-table .channel-cell:nth-child(5){grid-column:2}.combined-table .channel-cell:nth-child(6){grid-column:3}
}

.collection-controls{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.rank-table td:first-child{min-width:260px}.rank-table td:first-child small{display:block;margin-top:5px}.rank-table td:last-child{min-width:128px}.business-metric strong{white-space:nowrap}.source-note{line-height:1.6}
