/* Indigo workspace: approved sidebar/card layout + indigo theme. Presentation only. */
:root{
  --sider:#24263f;--sider-hover:#32344f;--bg:#f5f5fa;--panel:#fff;
  --ink:#20233d;--muted:#727892;--line:#e6e8f2;
  --blue:#5948f5;--blue-soft:#f0edff;--green:#148657;
  --shadow:0 2px 6px #24263f03;--primary:#5948f5;--primary-hover:#4735d9;
}
[hidden]{display:none!important}
body{font-size:14px;-webkit-font-smoothing:antialiased}
a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}
button,input,select,textarea{font:inherit}
button,input,select{height:36px;border:1px solid #dfe2ef;border-radius:5px;font-size:13px;color:var(--ink)}
button{transition:background .12s,border-color .12s}
button:hover:not(:disabled){border-color:#a79af9;background:#f7f5ff}
button:disabled{opacity:.45}
input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible,summary:focus-visible{
 outline:2px solid #b4a9fb;outline-offset:2px;border-color:var(--primary);box-shadow:none;
}
input[type=checkbox]{width:16px;height:16px;accent-color:var(--primary);vertical-align:middle}
.primary-btn,.visual-login button[type=submit],.visual-accounts form[data-account-form]>button{
 background:var(--primary);border-color:var(--primary);color:white;
}
.primary-btn:hover:not(:disabled),.visual-login button[type=submit]:hover,.visual-accounts form[data-account-form]>button:hover{
 background:var(--primary-hover);border-color:var(--primary-hover);color:white;
}
.sidebar{width:208px;background:var(--sider);color:#fff;border:0;box-shadow:none}
.brand-mark{height:76px;padding:0 22px;background:transparent;border-bottom:1px solid #ffffff0c;gap:12px;flex-shrink:0}
.brand-icon{width:34px;height:34px;background:var(--primary);border-radius:9px;font-size:19px;color:#fff;transform:none}
.brand-mark strong{font-size:19px;letter-spacing:1px}.brand-mark small{font-size:11px;color:#b6bad1;letter-spacing:1px}
.sidebar nav{padding:12px 8px}
.sidebar a,.nav-group summary{height:43px;padding:0 17px;border-radius:6px;font-size:14px;color:#cbd0e2}
.sidebar a:hover,.nav-group summary:hover,.sidebar .nav-group[open]>summary{background:var(--sider-hover);color:#fff;text-decoration:none}
.sidebar a.active,.sidebar .nav-group>a.active{background:var(--primary);color:#fff;font-weight:600;box-shadow:0 3px 12px #120b6033}
.nav-group{margin:6px 0}.nav-group summary{margin:0}.nav-group>a{height:36px;margin-top:3px;padding-left:46px;font-size:13px;background:transparent}
.nav-icon{width:19px;font-size:17px;font-weight:400}
.nav-icon svg{width:19px;height:19px;display:block}
.sidebar-foot{border-color:#ffffff12;color:#b6bad1;font-size:11px;padding:18px 22px}
.sidebar-foot small{display:none}.sidebar-foot>span{background:#9c8ffb}
.page-shell{margin-left:208px;min-width:0}
.topbar{min-height:56px;background:#fff;border-bottom:1px solid var(--line);box-shadow:none;padding:0 24px}
.breadcrumb{color:var(--ink)}.breadcrumb span{color:#acb0c5}.topbar-right,#top-updated{font-size:12px}
.topbar-account-controls{gap:12px;font-size:12px}.topbar-account-controls button{border-color:var(--line)}
main{max-width:1920px;padding:20px 24px 30px}
.dashboard-head{display:flex;flex-direction:column;align-items:stretch;gap:16px;margin-bottom:18px}
.enterprise-heading{position:relative;padding-right:420px;min-height:53px}
.dashboard-head h1{font-size:24px;line-height:1.4;font-weight:650;letter-spacing:0}
#brand-scope{font-size:12px;font-weight:400;color:var(--muted);margin:0 8px}
#freshness{font-size:12px;margin:5px 0 0}
.enterprise-actions{position:absolute;right:0;top:3px;display:flex;align-items:center;gap:8px}
.enterprise-actions label{font-size:0}.enterprise-actions select{font-size:12px;max-width:155px}
.enterprise-actions button{font-size:12px}
.filters{background:#fff;border:1px solid var(--line);border-radius:6px;padding:12px 14px;gap:10px 14px;box-shadow:none;align-items:center}
.filters label{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:12px;white-space:nowrap}
.filters select{max-width:172px}.filters input{width:142px}
.period-switch,.metric-switch{display:flex;gap:0;padding:0;background:none}
.period-switch button,.metric-switch button{height:32px;font-size:12px;padding:0 13px}
.period-switch button.active{background:var(--primary);border-color:var(--primary);color:#fff;box-shadow:none}
.metric-switch button.active{background:var(--blue-soft);border-color:#c6bdfb;color:var(--primary);box-shadow:none}
.enterprise-platform{display:flex;gap:8px;align-items:center;font-size:12px;color:var(--muted)}
.chips{display:flex;gap:6px;flex-wrap:wrap}.chip{height:30px;font-size:12px;border-radius:4px;background:#fff;color:#686e89}
.chip.active{color:var(--primary);background:var(--blue-soft);border-color:#b9acfc}
.filters #range-picker{position:relative;padding:0;margin:0;border:0;background:none;font-size:12px}
.filters #range-picker summary{color:var(--primary);cursor:pointer;white-space:nowrap}
.filters #range-picker[open] .ranking-controls{position:absolute;top:29px;right:0;width:350px;max-width:85vw;background:#fff;border:1px solid var(--line);padding:16px;border-radius:6px;box-shadow:0 8px 28px #24263f1c;z-index:12;flex-wrap:wrap}
.hero-panel{padding:0;background:none;border:0;border-radius:0;box-shadow:none;overflow:visible}
.hero-title{border:0;min-height:25px;margin-bottom:8px;font-size:14px}
body[data-page=dashboard]>.page-shell .hero-title{display:none}
.kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.kpi-card{position:relative;padding:17px 19px;background:#fff;border:1px solid var(--line)!important;border-radius:6px;min-height:128px;box-shadow:var(--shadow)}
.kpi-card:before,.kpi-card:after{display:none}
.kpi-label{color:var(--ink);font-size:13px;font-weight:500}
.kpi-value{font-size:31px;font-weight:650;line-height:1.25;margin:9px 0 6px;color:#191c36;letter-spacing:-.5px;font-variant-numeric:tabular-nums}
.kpi-sub{font-size:11px;color:var(--muted)}
.kpi-spark{position:absolute;right:16px;bottom:17px;width:86px;height:31px}
.kpi-spark svg{display:block;width:100%;height:100%}
body[data-page=dashboard] #cards .kpi-card:nth-child(2){order:-3}
body[data-page=dashboard] #cards .kpi-card:nth-child(3){order:-2}
body[data-page=dashboard] #cards .kpi-card:nth-child(4){order:-1}
body[data-page=dashboard] #cards .kpi-card:nth-child(5){display:none}
body[data-page=dashboard] .kpi-sub{max-width:calc(100% - 80px)}
body[data-page=operations] #cards{grid-template-columns:repeat(5,minmax(0,1fr))}
body[data-page=orders] .kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
body[data-page=orders] .kpi-card:not(:first-child) .kpi-value{font-size:23px}
.panel{padding:18px 20px;border:1px solid var(--line);border-radius:6px;min-width:0;box-shadow:var(--shadow)}
.panel-head{min-height:30px;margin:0 0 13px;padding:0;border:0;align-items:center;gap:10px}
.panel-head h2{font-size:16px;font-weight:600;margin:0}
.panel-note{font-size:12px}.section-kicker{display:none}
.content-grid{gap:14px;margin-top:14px}
.primary-grid{grid-template-columns:minmax(0,1.6fr) minmax(340px,1fr);align-items:stretch}
.dashboard-side{display:grid;grid-template-rows:auto 1fr;gap:14px;min-width:0}
.dashboard-bottom{display:grid;grid-template-columns:minmax(0,2.5fr) minmax(270px,1fr);gap:14px;align-items:stretch;margin-top:14px}
.dashboard-bottom>.section-panel{margin-top:0}
.section-panel{margin-top:14px}
.chart{min-height:252px}
.business-line-chart{display:block;width:100%;height:auto;min-height:245px}
.chart-caption{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted);margin:2px 0 8px}
.chart-caption i{display:inline-block;width:7px;height:7px;background:var(--primary);border-radius:50%;margin-right:6px}
.chart-line{stroke:var(--primary);stroke-width:2.5;fill:none;stroke-linejoin:round}
.chart-dot{fill:var(--primary);stroke:#fff;stroke-width:1.5}
.chart-grid{stroke:var(--line);stroke-width:1}
.chart-label{fill:var(--muted);font-size:11px;font-family:inherit}
.chart-area{fill:var(--primary);fill-opacity:.07}
.chart-values{margin-top:8px;font-size:12px;color:var(--muted)}
.chart-values summary{cursor:pointer}
.chart-values table{margin-top:8px}
.order-hour span,.bar{background:var(--primary)}
#product-detail svg .product-trend-segment{stroke:var(--primary)}
#product-detail svg circle{fill:var(--primary)}
table{font-size:13px}
th{font-size:12px;background:#f5f4fb;color:#646b87;font-weight:500;position:sticky;top:0;z-index:1}
td{font-size:13px;padding:11px 10px;line-height:21px;font-variant-numeric:tabular-nums}
td,th{border-color:#edf0f6}tbody tr:hover{background:#faf9ff}
td strong{font-weight:600}
.metric-note{display:none}
.ranking-wrap{max-height:450px}
.rank{border-radius:50%;width:24px;height:24px;color:#707892;background:#f0f2f8}
.rank-1{color:#87601a;background:#ffdf77}.rank-2{color:#58677e;background:#e3e9f1}.rank-3{color:#8e5833;background:#f6dac0}
.platform{font-size:11px;line-height:20px;border-radius:4px;padding:1px 7px;font-weight:500}
.platform-meituan{color:#715314;background:#fff2b7}
.platform-taobao{color:#c04d22;background:#ffebe1}
.platform-jd{color:#b93843;background:#ffe8eb}
.panel-head>a{margin-left:auto;font-size:12px;white-space:nowrap}
.enterprise-ranking .ranking-controls{margin-bottom:8px;flex-wrap:wrap}
.enterprise-ranking .panel-note{margin-left:0}
.enterprise-ranking #ranking-platforms{margin-bottom:9px}
.dashboard-platform-table table{min-width:0!important;width:100%;table-layout:auto}
.dashboard-platform-table td,.dashboard-platform-table th{padding:10px 7px;font-size:12px}
.dashboard-platform-table td:first-child,.dashboard-platform-table th:first-child{min-width:0!important}
.dashboard-platform-table .platform{white-space:nowrap}
.share-track{display:flex;overflow:hidden;height:22px;background:#f0f1f7;border-radius:4px;margin:15px 0 10px}
.share-track span{display:block;min-width:0}
.share-meituan{background:#f9c846}.share-taobao{background:#ff8066}.share-jd{background:#eb6075}
.share-legend{display:flex;flex-wrap:wrap;gap:10px 18px;font-size:12px}
.share-legend>div{display:flex;align-items:center;gap:7px}
.share-dot{display:inline-block;width:9px;height:9px;border-radius:50%;flex-shrink:0}
.share-legend strong{font-weight:600;font-variant-numeric:tabular-nums}
.order-share-body{display:flex;flex-direction:column;align-items:center;gap:20px;padding:16px 0}
.order-donut{position:relative;width:174px;height:174px;border-radius:50%;display:grid;place-items:center}
.order-donut:before{content:"";position:absolute;inset:29px;background:#fff;border-radius:50%}
.order-donut>span{position:relative;text-align:center;font-size:12px;color:var(--muted)}
.order-donut strong{display:block;font-size:23px;line-height:1.4;color:var(--ink)}
.order-share-body .share-legend{width:100%;display:grid;gap:11px}
.order-share-body .share-legend>div{justify-content:space-between}
.order-share-body .share-legend label{display:flex;align-items:center;gap:8px}
.product-grid{display:block}.product-grid>article{width:100%}.product-ranking{max-height:560px}
.enterprise-product-search{padding:0 0 14px;border:0;margin:0;box-shadow:none;gap:12px;flex-wrap:wrap}
.ranking-controls{font-size:12px;flex-wrap:wrap}
.ranking-controls label{display:flex;align-items:center;gap:8px}
.enterprise-breakdown{font-size:12px;color:var(--muted);margin-top:12px}
.enterprise-breakdown summary{padding:8px 0;cursor:pointer}
.enterprise-breakdown article{margin-top:8px}
.diagnosis-pager{font-size:12px}.muted{font-size:12px;line-height:1.65}
.partition-panel{border-radius:5px;margin:12px 0;padding:11px 15px}
.partition-panel summary{font-size:12px}
.analysis-status{border:0;padding:9px 0 14px}
.analysis-cards{gap:14px;padding:0 0 14px}
.analysis-platform{background:#fff;border:1px solid var(--line);border-radius:6px;padding:16px 18px}
.analysis-platform h3{font-size:15px;margin:0 0 15px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.analysis-metrics{gap:17px}
.analysis-metrics strong{font-variant-numeric:tabular-nums;font-size:24px}
.coverage{grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:14px}
.coverage-card{padding:18px;background:#fff;border:1px solid var(--line);border-radius:6px}
.coverage-card h4{font-size:15px;padding-bottom:10px;border-bottom:1px solid var(--line)}
.coverage-line{padding:9px 0;font-size:12px}
.status-ok{color:#18815b}.status-missing{color:#ad6717}.status-na{color:#8990a7}
#operations-scope{background:#fff8e8;border:1px solid #f0deb5;border-radius:5px}
#picker-results label{background:#f7f6fc}
#business-targets progress{accent-color:var(--primary)}
.visual-login{min-height:100vh;background:#f5f5fa;border-top:5px solid var(--primary)}
.visual-login main{background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 15px 50px #24263f0b}
.visual-login h1,.visual-accounts h1,.visual-business h1{font-size:24px;font-weight:600}
.visual-login h1:before{content:"外";display:grid;place-items:center;width:42px;height:42px;border-radius:10px;color:#fff;background:var(--primary);font-size:21px;margin-bottom:22px}
.visual-login label:not(:has([type=checkbox])){display:grid;gap:8px}
.visual-login input:not([type=checkbox]){width:100%;height:40px}
.visual-login button[type=submit]{width:100%;height:40px}
.visual-login p{font-size:13px}
.visual-login p[role=alert]{color:#b63843;background:#fff0f1;padding:10px;border-radius:5px}
.visual-accounts,.visual-business{border-top:4px solid var(--primary)}
.visual-accounts form[data-account-form]{display:flex;flex-wrap:wrap;gap:16px;margin-top:16px}
.visual-accounts form[data-account-form]>label{display:grid;gap:6px;min-width:180px;flex:1}
.visual-accounts fieldset{width:100%;border:1px solid var(--line);border-radius:6px;padding:12px}
.visual-accounts fieldset legend{font-size:12px;color:var(--muted)}
.visual-accounts summary{cursor:pointer;font-weight:500}
.visual-accounts main>p{font-size:13px;line-height:1.8;color:var(--muted)}
.visual-business textarea{border:1px solid var(--line);border-radius:5px;padding:10px;width:100%}
.visual-business .ranking-controls>label{flex:1;display:grid;align-items:start;min-width:220px}
.visual-business table input{max-width:170px}
footer{font-size:11px;text-align:right;padding-top:20px}
@media(min-width:1700px){.kpi-value{font-size:35px}.kpi-spark{width:105px}.chart{min-height:310px}}
@media(max-width:1250px){
 .enterprise-heading{padding-right:0}.enterprise-actions{position:static;margin-top:12px}
 .primary-grid{grid-template-columns:minmax(0,1.3fr) minmax(310px,1fr)}
 .dashboard-bottom{grid-template-columns:minmax(0,2fr) minmax(245px,1fr)}
 .kpi-value{font-size:27px}.kpi-spark{width:60px}.kpi-card{padding:15px}
 body[data-page=dashboard] .kpi-sub{max-width:calc(100% - 54px)}
 .dashboard-platform-table td,.dashboard-platform-table th{padding:8px 4px;font-size:11px}
}
@media(max-width:1050px){
 .primary-grid,.dashboard-bottom{grid-template-columns:minmax(0,1fr)}
 .dashboard-side{grid-template-columns:1.3fr 1fr;grid-template-rows:auto}
 .order-share-body{flex-direction:row;justify-content:center;gap:35px}.order-share-body .share-legend{width:auto;min-width:180px}
 body[data-page=operations] #cards{grid-template-columns:repeat(3,minmax(0,1fr))}
 .kpi-spark{position:static;width:100%;margin-top:9px;height:24px}
 body[data-page=dashboard] .kpi-sub{max-width:none}
}
@media(max-width:760px){
 .sidebar{position:static;width:auto}.page-shell{margin-left:0}.brand-mark{height:64px}.sidebar nav{padding:8px}
 .topbar{height:auto;min-height:46px;padding:10px 14px;flex-wrap:wrap;gap:8px}
 .topbar-right,.topbar-account-controls{flex-wrap:wrap;font-size:11px}
 main{padding:14px}.enterprise-heading{padding:0}.dashboard-head h1{font-size:21px}
 #brand-scope{display:block;margin:2px 0}.enterprise-actions{position:static;flex-wrap:wrap}
 .filters{padding:12px;gap:10px}.filters label{display:grid;gap:4px}
 .filters select,.filters input{max-width:100%;width:100%}
 .filters .enterprise-platform,.filters #range-picker{grid-column:1/-1}
 .filters #range-picker[open] .ranking-controls{left:0;right:auto}
 .kpi-grid,.product-kpis,body[data-page=operations] #cards,body[data-page=orders] .kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .kpi-value{font-size:26px}.kpi-card{min-height:114px;padding:14px}
 .primary-grid,.dashboard-bottom,.dashboard-side{grid-template-columns:minmax(0,1fr)}
 .panel{padding:14px;min-width:0}.panel-head{flex-wrap:wrap}.chart{min-height:180px}.business-line-chart{min-height:180px}
 .enterprise-product-search{display:flex;flex-wrap:wrap}
 .order-share-body{gap:20px}.order-donut{width:138px;height:138px;flex-shrink:0}.order-donut:before{inset:23px}
 .order-share-body .share-legend{min-width:0}
 .analysis-cards{grid-template-columns:minmax(0,1fr)}
 .visual-accounts main,.visual-business main{padding:14px!important}
 .visual-business table{min-width:700px}
}
.chart-compare-control{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);white-space:nowrap;margin-left:auto;cursor:pointer}
.chart-compare-control input{width:14px;height:14px;accent-color:var(--primary);margin:0}
.chart-previous-line{stroke:#9296ab;stroke-width:2;stroke-dasharray:6 5;fill:none;pointer-events:none}
.chart-previous-dot{fill:#fff;stroke:#9296ab;stroke-width:1.5}
.chart-caption i.previous-key{background:transparent;border-top:2px dashed #9296ab;width:17px;height:0;border-radius:0;margin-left:12px;vertical-align:middle}
.comparison-period{font-size:11px;color:var(--muted);line-height:1.6;margin:4px 0 8px}
.kpi-change{font-size:11px;line-height:1.6;margin-top:10px;padding-top:8px;border-top:1px solid var(--line);color:var(--muted)}
.kpi-change.up{color:#b9434f}.kpi-change.down{color:#16816b}
.kpi-card:has(.kpi-change) .kpi-spark{bottom:54px}
.dashboard-platform-table td:not(:first-child),.dashboard-platform-table th:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}
.enterprise-ranking td:nth-child(n+4),.enterprise-ranking th:nth-child(n+4){text-align:right;font-variant-numeric:tabular-nums}
@media(max-width:760px){.chart-compare-control{margin-left:0}.kpi-change{font-size:10px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Reference layout: measured against the approved full-page composition. */
.reference-dashboard{--primary:#5140ff;--blue:#5140ff;--bg:#f8f8fd;--sider:#25273f}
.reference-dashboard .sidebar{width:192px}
.reference-dashboard .page-shell{margin-left:192px}
.reference-dashboard .brand-mark{height:72px;padding:0 18px}
.reference-dashboard .brand-mark strong{font-size:18px}
.reference-dashboard .sidebar-brand-picker{display:block;margin:10px 16px 0;font-size:0}
.reference-dashboard .sidebar-brand-picker select{width:100%;max-width:100%;color:#eeeffa;background:#32344d;border-color:#42445d;height:30px;font-size:12px}
.reference-dashboard .sidebar nav{padding:14px 8px}
.reference-dashboard .sidebar a,.reference-dashboard .nav-group summary{height:46px;font-size:15px;padding:0 15px}
.reference-dashboard .nav-group{margin:8px 0}
.reference-dashboard .nav-group>a{height:34px;font-size:12px;padding-left:42px}
.reference-dashboard .sidebar-foot{margin-top:auto;padding:12px 18px}
.reference-dashboard .sidebar-account{border-top:1px solid #ffffff16;padding:16px 18px;display:flex;flex-direction:column;align-items:stretch;gap:13px;font-size:12px}
.reference-dashboard .sidebar-account span{order:-1;color:#fff;font-size:13px}
.reference-dashboard .sidebar-account a{height:auto;padding:0;font-size:12px;color:#c9ccdf}
.reference-dashboard .sidebar-account button{background:transparent;border:0;color:#c9ccdf;text-align:left;padding:0;height:28px;font-size:13px}
.reference-dashboard .topbar{height:54px;min-height:54px;padding:0 18px;position:static}
.reference-dashboard #page-heading{font-size:21px;font-weight:650;margin:0}
.reference-dashboard #page-heading #brand-title,.reference-dashboard #brand-scope{display:none}
.reference-dashboard #top-updated{font-size:11px;color:#8d92aa}
.reference-dashboard #refresh{height:28px;background:transparent;color:#6e7290;border:1px solid var(--line);font-size:11px;padding:0 10px}
.reference-dashboard main{padding:14px 18px 18px;max-width:none}
.reference-dashboard .dashboard-head{gap:0;margin:0 0 14px}
.reference-dashboard .filters{border:0;padding:0;background:none;display:flex;flex-wrap:nowrap;gap:12px;align-items:center}
.reference-dashboard .filters .enterprise-platform{margin-left:auto;gap:0}
.reference-dashboard .enterprise-platform>span{display:none}
.reference-dashboard #platform-filters{gap:0;flex-wrap:nowrap}
.reference-dashboard #platform-filters button{height:36px;padding:0 14px;border-radius:0;white-space:nowrap;border-right-width:0;background:#f8f8fd}
.reference-dashboard #platform-filters button:first-child{border-radius:4px 0 0 4px}
.reference-dashboard #platform-filters button:last-child{border-right-width:1px;border-radius:0 4px 4px 0}
.reference-dashboard #platform-filters button.active{border:1px solid #8c7fff;background:#f0edff;color:var(--primary)}
.reference-dashboard .period-switch button{height:36px;padding:0 17px;font-size:13px;border-radius:0}
.reference-dashboard .period-switch button:first-child{display:none}
.reference-dashboard .period-switch button:nth-child(2){border-radius:4px 0 0 4px}
.reference-dashboard .period-switch button:last-child{border-radius:0 4px 4px 0}
.reference-dashboard .reference-date{flex-shrink:0}
.reference-dashboard .reference-date>summary{list-style:none;display:flex;align-items:center;gap:20px;padding:0 12px;height:36px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--ink)!important;font-size:13px}
.reference-dashboard .reference-date summary::-webkit-details-marker{display:none}
.reference-dashboard .filters #range-picker[open] .ranking-controls{left:0;right:auto;top:40px;max-width:calc(100vw - 32px)}
.reference-export,.ranking-scope-menu{position:relative;font-size:12px;flex-shrink:0}
.reference-export>summary{cursor:pointer;list-style:none;height:36px;display:flex;align-items:center;justify-content:center;padding:0 17px;border:1px solid var(--line);border-radius:4px;background:#fff}
.reference-export-panel,.ranking-scope-menu[open]>#ranking-platforms{position:absolute;right:0;top:40px;background:#fff;border:1px solid var(--line);box-shadow:0 8px 24px #24263f15;padding:14px;z-index:15;min-width:210px;display:grid;gap:10px;border-radius:5px}
.reference-export-panel select{max-width:190px}
.reference-dashboard .kpi-grid{gap:14px}
.reference-dashboard .kpi-card{height:122px;min-height:122px;padding:15px 20px;box-shadow:none}
.reference-dashboard .kpi-label{font-size:14px;font-weight:550}
.reference-dashboard .kpi-value{font-size:30px;font-weight:650;margin:7px 0 9px;line-height:1.2;letter-spacing:0}
.reference-dashboard .kpi-sub{font-size:11px;max-width:calc(100% - 86px)}
.reference-dashboard .kpi-card:not(.stores) .kpi-sub{display:none}
.reference-dashboard .kpi-change{margin:0;padding:0;border:0;font-size:12px;max-width:calc(100% - 75px);white-space:nowrap}
.reference-dashboard .kpi-change.up{color:#12a15c}.reference-dashboard .kpi-change.down{color:#e25461}
.reference-dashboard .kpi-change.unavailable{font-size:10px;white-space:normal}
.reference-dashboard .kpi-spark,.reference-dashboard .kpi-card:has(.kpi-change) .kpi-spark{position:absolute;width:86px;height:40px;right:17px;bottom:17px;margin:0}
.reference-dashboard .primary-grid{grid-template-columns:minmax(0,1.54fr) minmax(350px,1fr);gap:12px;margin-top:12px}
.reference-dashboard .primary-grid>.panel{height:292px}
.reference-dashboard .panel{padding:16px 18px;border-radius:4px;box-shadow:none}
.reference-dashboard .panel-head{min-height:24px;margin-bottom:10px;gap:10px}
.reference-dashboard .panel-head h2{font-size:17px;font-weight:600;white-space:nowrap}
.reference-dashboard .dashboard-side{gap:10px;height:292px;grid-template-rows:minmax(0,1fr) 110px}
.reference-dashboard .dashboard-side>.panel{min-height:0}
.reference-dashboard .chart{min-height:0;height:221px;position:relative}
.reference-dashboard .business-line-chart{height:200px;min-height:0;max-height:200px;width:100%}
.reference-dashboard .chart-caption{font-size:10px;margin:0 0 2px}
.reference-dashboard .comparison-period{display:none}
.reference-dashboard .chart-values{font-size:10px;margin:0;position:relative}
.reference-dashboard .chart-values[open]{position:absolute;inset:0;background:#fff;z-index:4;border:1px solid var(--line);padding:10px;overflow:auto}
.reference-dashboard .chart-label{font-size:12px}
.reference-dashboard .chart-previous-line{stroke:#9582ff;stroke-width:2;stroke-dasharray:6 5}
.reference-dashboard .chart-previous-dot{fill:#9582ff;stroke:#fff}
.reference-dashboard .chart-caption i.previous-key{border-color:#9582ff}
.reference-dashboard .chart-compare-control{font-size:10px}
.reference-dashboard .metric-switch button{height:26px;padding:0 9px;font-size:10px}
.reference-dashboard .dashboard-platform-table{max-height:118px}
.reference-dashboard .dashboard-platform-table th,.reference-dashboard .dashboard-platform-table td{font-size:11px;padding:7px 5px;white-space:nowrap}
.reference-dashboard .dashboard-platform-table .platform{font-size:10px;padding:3px 6px}
.reference-dashboard .share-track{height:26px;margin:3px 0 10px}
.reference-dashboard .share-track span{display:flex;align-items:center;justify-content:center;font-weight:600;font-size:12px;color:#3b3545}
.reference-dashboard .share-track .share-taobao,.reference-dashboard .share-track .share-jd{color:#fff}
.reference-dashboard .share-meituan{background:#ffcc32}.reference-dashboard .share-taobao{background:#ff665d}
.reference-dashboard .share-legend{font-size:11px;gap:8px 20px}
.reference-dashboard .dashboard-bottom{grid-template-columns:minmax(0,2.45fr) minmax(260px,1fr);gap:12px;margin-top:12px}
.reference-dashboard .enterprise-ranking .panel-head{margin-bottom:6px}
.reference-dashboard .enterprise-ranking .ranking-controls{margin:0 0 5px;min-height:16px}
.reference-dashboard #ranking-caption{font-size:10px;color:#9195ab}
.reference-dashboard #ranking-sort{margin-left:auto;height:28px;font-size:11px;max-width:118px}
.reference-dashboard .ranking-scope-menu>summary{cursor:pointer;color:var(--primary);font-size:11px;list-style:none}
.reference-dashboard .ranking-wrap{max-height:200px}
.reference-dashboard .enterprise-ranking th{padding:7px 6px;font-size:11px}
.reference-dashboard .enterprise-ranking td{padding:7px 6px;font-size:12px;line-height:20px}
.reference-dashboard .enterprise-ranking td small{display:none}
.reference-dashboard .enterprise-ranking .rank{width:22px;height:22px}
.reference-dashboard .order-share-body{flex-direction:row;justify-content:center;gap:14px;padding:24px 0 15px}
.reference-dashboard .order-donut{width:148px;height:148px;flex-shrink:0}
.reference-dashboard .order-donut:before{inset:26px}
.reference-dashboard .order-donut strong{font-size:18px}
.reference-dashboard .order-share-body .share-legend{width:auto;min-width:75px;gap:14px;font-size:11px}
.reference-dashboard footer{padding-top:12px;font-size:0}
.reference-dashboard #freshness{font-size:11px;margin:0}
.row-share{display:inline-flex;align-items:center;gap:7px;font-size:11px}.row-share-track{width:46px;height:9px;background:#f0eff8;border-radius:2px;overflow:hidden}.row-share-track i{display:block;height:100%}
.reference-dashboard #store-picker{position:relative;padding:0;margin:0;border:0;flex-shrink:0;overflow:visible;background:none}
.reference-dashboard #store-picker>summary{height:36px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 14px;border:1px solid var(--line);background:#fff;border-radius:4px;cursor:pointer;font-size:12px;min-width:118px}
.reference-dashboard #store-picker>summary:after{content:'⌄';color:var(--muted)}
.reference-dashboard .reference-store-picker-body{position:absolute;right:0;top:42px;width:460px;max-width:calc(100vw - 36px);max-height:65vh;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:5px;padding:16px;box-shadow:0 8px 24px #24263f20;z-index:20}
.reference-dashboard #reference-rank-tabs{margin-left:auto;white-space:nowrap}
.reference-dashboard #reference-rank-tabs button{font-size:11px;height:27px;padding:0 10px}
.reference-dashboard .enterprise-ranking .panel-head>a{margin-left:4px}
@media(max-width:480px){.reference-dashboard .kpi-value{font-size:22px;white-space:nowrap}.reference-dashboard .period-switch button{white-space:nowrap}.reference-dashboard .kpi-change{max-width:none}}
@media(max-width:760px){.reference-dashboard .reference-store-picker-body{left:0;right:auto}.reference-dashboard #reference-rank-tabs{margin-left:0}}
@media(max-width:900px){.reference-dashboard .dashboard-side{height:auto}.reference-dashboard .primary-grid>.panel{height:auto}.reference-dashboard .chart{height:auto}}
@media(min-width:1600px){.reference-dashboard .primary-grid>.panel,.reference-dashboard .dashboard-side{height:350px}.reference-dashboard .dashboard-platform-table{max-height:176px}.reference-dashboard .business-line-chart{height:256px;max-height:256px}.reference-dashboard .chart{height:277px}.reference-dashboard .kpi-card{height:132px}.reference-dashboard .kpi-value{font-size:34px}.reference-dashboard .order-donut{width:170px;height:170px}}
@media(max-width:1250px){.reference-dashboard .sidebar{width:170px}.reference-dashboard .page-shell{margin-left:170px}.reference-dashboard main{padding:12px}.reference-dashboard .filters{flex-wrap:wrap;gap:8px}.reference-dashboard .filters .enterprise-platform{margin-left:auto}.reference-dashboard .kpi-card{padding:14px;height:118px;min-height:118px}.reference-dashboard .kpi-value{font-size:26px}.reference-dashboard .kpi-spark{width:62px!important}.reference-dashboard .kpi-change{font-size:10px}.reference-dashboard .primary-grid{grid-template-columns:minmax(0,1.4fr) minmax(310px,1fr)}.reference-dashboard .order-share-body{flex-direction:column;gap:12px;padding:10px 0}.reference-dashboard .order-share-body .share-legend{display:flex}}
@media(max-width:900px){.reference-dashboard .primary-grid,.reference-dashboard .dashboard-bottom{grid-template-columns:1fr}.reference-dashboard .dashboard-side{grid-template-columns:1.4fr 1fr;grid-template-rows:auto}.reference-dashboard .order-share-body{flex-direction:row}.reference-dashboard .kpi-change{white-space:normal}.reference-dashboard .kpi-spark{display:none}}
@media(max-width:760px){.reference-dashboard .sidebar{width:auto}.reference-dashboard .page-shell{margin-left:0}.reference-dashboard .sidebar-account,.reference-dashboard .sidebar-brand-picker{display:none}.reference-dashboard .sidebar.navigation-open .sidebar-account,.reference-dashboard .sidebar.navigation-open .sidebar-brand-picker{display:flex}.reference-dashboard .topbar{height:48px;padding:0 12px}.reference-dashboard #top-updated{display:none}.reference-dashboard #page-heading{font-size:18px}.reference-dashboard .filters .enterprise-platform{margin-left:0}.reference-dashboard .filters{gap:8px}.reference-dashboard .period-switch button{padding:0 12px}.reference-dashboard .reference-date>summary{gap:12px}.reference-dashboard .kpi-card{height:114px;min-height:114px}.reference-dashboard .dashboard-side{grid-template-columns:1fr}.reference-dashboard .panel-head h2{font-size:15px}.reference-dashboard .panel{padding:14px 12px}.reference-dashboard .enterprise-ranking .panel-head{flex-wrap:wrap}.reference-dashboard #ranking-sort{margin-left:0}.reference-dashboard .order-share-body{padding:12px}.reference-dashboard .dashboard-bottom{grid-template-columns:1fr}.reference-dashboard .chart-caption{flex-wrap:wrap}}
/* Consistent single-select affordance across browsers and page layouts. */
body select:not([multiple]):not([size]),body select[size="1"]{appearance:none;-webkit-appearance:none;padding-right:36px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23676b82' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 12px center!important;background-size:16px 16px!important}
body .sidebar select:not([multiple]){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23d8d9e8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important}
body select:disabled{cursor:not-allowed;opacity:.6}
.change-value{white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:600}
.change-up{color:#168354}.change-down{color:#d43b42}.change-flat{color:#676b82}
.review-content-filter{display:inline-flex;align-items:center;gap:8px;font-size:14px;white-space:nowrap;cursor:pointer}
.review-content-filter input{width:16px;height:16px;margin:0;accent-color:var(--primary,#6554e8)}
@media(forced-colors:active){body select:not([multiple]):not([size]),body select[size="1"]{appearance:auto;background-image:none!important}}
