.dashboard-page{display:flex;flex-direction:column;gap:8px;min-height:0;flex:1}
.dashboard-page .toolbar{margin:0;padding:8px 10px;gap:7px;flex-wrap:wrap;flex:none}
.dashboard-page .arco-select{width:145px;flex:none}
.dashboard-page .arco-picker{width:245px;flex:none}
.dashboard-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;flex:none}
.dashboard-kpi{background:rgba(255,255,255,.97);border:1px solid var(--br-border);border-radius:6px;padding:10px 14px;min-height:76px}
.dashboard-kpi label{font-size:12px;color:#526176;display:flex;justify-content:space-between}
.dashboard-kpi strong{display:block;font-size:24px;line-height:1.5;color:#1d2939;font-variant-numeric:tabular-nums;font-weight:600}
.dashboard-kpi small{font-size:11px;line-height:1.4}
.dashboard-charts{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(250px,1fr);gap:8px;flex:none}
.dashboard-chart{background:#fff;border:1px solid var(--br-border);border-radius:6px;padding:10px 12px;min-width:0;height:210px;box-sizing:border-box}
.dashboard-chart-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;margin-bottom:6px}
.dashboard-chart-heading b{font-weight:600}
.dashboard-chart svg{width:100%;height:148px;display:block}
.dashboard-chart .arco-radio-button-content{font-size:11px;padding:0 7px}
.dashboard-chart text{fill:#8b96a6;font-size:10px}
.dashboard-table .br-data-table{flex:1;min-height:0}
.dashboard-picture{height:44px;width:44px;position:relative;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e5e9ef;border-radius:4px;background:#f7f8fa;padding:0;overflow:hidden;cursor:zoom-in}
.dashboard-picture:disabled{cursor:default}
.dashboard-picture img{width:100%;height:100%;object-fit:contain}
.dashboard-picture small{position:absolute;bottom:0;left:0;right:0;text-align:center;font-size:9px;line-height:12px;background:rgba(255,255,255,.85);color:#00865a}
.name-language{width:90px;flex:none;margin-left:8px}
@media(max-height:800px){.dashboard-chart{height:170px}
.dashboard-chart svg{height:115px}
.dashboard-kpi{padding:7px 12px;min-height:66px}
.dashboard-kpi strong{font-size:21px}}
@media(max-width:1100px){.dashboard-charts{grid-template-columns:minmax(0,1.5fr) minmax(220px,1fr)}
.dashboard-chart-heading{flex-wrap:wrap}
.dashboard-kpi{padding:8px}
.dashboard-kpi strong{font-size:21px}}
@media(max-width:760px){.dashboard-page{overflow:auto}
.dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
.dashboard-charts{grid-template-columns:1fr}
.dashboard-chart{height:200px}
.dashboard-chart svg{height:135px}}
/* Compact replacement for the removed dimension table and pagination. */
.dashboard-ranking{display:flex;flex-direction:column;flex:1;min-height:140px;background:#fff;border:1px solid var(--br-border);border-radius:6px;overflow:hidden}
.dashboard-ranking-heading{display:flex;align-items:center;gap:10px;padding:8px 12px;flex:none;border-bottom:1px solid #edf0f5;font-size:13px}
.dashboard-ranking-heading b{font-weight:600}
.dashboard-ranking-heading>span,.dashboard-ranking-heading>small{color:#8b96a6;font-size:11px}
.dashboard-ranking-heading small{margin-left:auto}
.dashboard-rank{width:20px;flex:none;text-align:center;font-size:12px;color:#8b96a6;font-variant-numeric:tabular-nums}
.dashboard-rank.leading{color:#00865a;font-weight:600}
.dashboard-top-identity{min-width:0;flex:1}
.dashboard-top-name{font-size:13px;line-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dashboard-top-shop{display:flex;align-items:center;gap:10px;margin-top:2px;color:#526176;font-size:11px;min-width:0}
.dashboard-top-shop span{flex:none}
.dashboard-top-shop small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8b96a6;font-size:11px}
.dashboard-ranking-empty{padding:24px;text-align:center;font-size:12px;color:#8b96a6}
@media(max-width:760px){.dashboard-ranking{flex:none;min-height:140px}}
/* The dashboard filter toolbar stays on one compact row; custom dates expand inline. */
.dashboard-page .dashboard-filters{flex-wrap:nowrap;overflow-x:auto;align-items:center;white-space:nowrap;min-height:48px;box-sizing:border-box}
.dashboard-page .dashboard-filters :where(.arco-select){width:132px}
.dashboard-filters .dashboard-date-preset{width:110px}
.dashboard-filters .arco-radio-button-content{padding:0 8px}
.dashboard-filters .arco-btn{flex:none}
.dashboard-filters .arco-select[aria-label="看板商品筛选"]{width:180px}
.dashboard-filters .arco-select[aria-label="看板渠道"]{width:105px}
.dashboard-page .dashboard-filters>*{flex:0 0 auto}
.dashboard-trend{position:relative}
.dashboard-ranking-heading{flex-wrap:wrap}
.dashboard-ranking-heading .arco-radio-button-content{font-size:11px;padding:0 8px}
.dashboard-rank-value{display:flex;gap:6px;align-items:baseline;line-height:20px;white-space:nowrap}
.dashboard-rank-value>span{color:#667085;font-size:10px}
.dashboard-rank-value strong{font-size:13px;font-weight:600;color:#1d2939;font-variant-numeric:tabular-nums}
.dashboard-rank-value small{font-size:10px;color:#986b15}
/* Separate product and SPU leaderboards, each with its own metric control. */
.dashboard-rankings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:8px;flex:1;min-height:160px}
.dashboard-ranking-panel{min-width:0;min-height:0}
.dashboard-ranking-panel .dashboard-ranking-heading{gap:8px;padding:7px 10px}
.dashboard-ranking-list{display:flex;flex-direction:column;list-style:none;margin:0;padding:0;overflow:auto;min-height:0}
.dashboard-rank-row{display:flex;align-items:center;gap:8px;padding:5px 10px;min-width:0;min-height:44px;box-sizing:border-box;border-bottom:1px solid #edf0f5;flex:none}
.dashboard-rank-row:nth-child(even){background:#f8fafc}
.dashboard-rank-row .dashboard-picture{height:32px;width:32px;flex:none}
.dashboard-rank-row .dashboard-top-name{font-size:12px;line-height:18px}
.dashboard-rank-row .dashboard-top-shop{display:flex;line-height:14px;margin-top:0}
.dashboard-rank-row .dashboard-rank-value{display:block;flex:none;text-align:right;min-width:85px;line-height:18px}
.dashboard-rank-row .dashboard-rank-value small{display:block}
.dashboard-store-heading{flex-wrap:wrap}
@media(max-width:900px){.dashboard-rankings-grid{grid-template-columns:1fr;flex:none}
.dashboard-ranking-panel{max-height:400px}
.dashboard-rank-row .dashboard-rank-value{min-width:75px}}
.dashboard-store{display:flex;flex-direction:column}
.dashboard-store .dashboard-bars{flex:1;min-height:0;overflow:auto;justify-content:space-between;gap:4px;margin-top:4px}
.dashboard-store .dashboard-bar{flex:none}
.dashboard-store .dashboard-bar-header{line-height:16px;margin-bottom:3px}
.dashboard-store .dashboard-bar-track{height:5px}
.dashboard-top-control{display:flex;align-items:center;gap:5px;font-size:11px;color:#526176;flex:none}
.dashboard-rankings-toolbar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;flex:none;padding:0 3px;color:#526176;font-size:11px}
.dashboard-rankings-toolbar>b{font-size:12px;color:#1d2939;font-weight:600}
.dashboard-rankings-toolbar>span{margin-right:auto;color:#8b96a6}
.dashboard-rankings-toolbar .dashboard-top-control{gap:6px}
/* Compass card interaction and restrained blue selection, using BR metrics. */
.dashboard-kpi{cursor:pointer;border-radius:8px;border-color:#eff0f2;background:#fff;transition:border-color .15s,background-color .15s;outline:none;min-width:0}
.dashboard-kpi:hover{background:#f5f9ff;border-color:#b8d1ff}
.dashboard-kpi.is-selected{background:#ebf3ff;border-color:#165dff}
.dashboard-kpi.is-selected label{color:#165dff}
.dashboard-kpi:focus-visible{outline:2px solid #165dff;outline-offset:2px}
.dashboard-kpi label{cursor:inherit}
.dashboard-kpi strong{font-weight:600}
.dashboard-kpi small{color:#86909c}
.dashboard-chart{border-radius:8px}
.dashboard-trend .dashboard-chart-heading>b{display:flex;align-items:center;gap:7px}
.dashboard-trend .dashboard-chart-heading>b:before{content:"";width:3px;height:13px;border-radius:2px;background:#165dff}
.dashboard-trend .arco-radio-button.arco-radio-checked{background:#ebf3ff}
/* Unified business dashboard: quiet surfaces, clear sections and quantitative rails. */
.dashboard-page{gap:14px;padding:4px 6px 16px}
/* 单行工具栏：筛选与同步时间必须排在一行，不因宽度换行（窄屏横向滚动） */
.dashboard-page .dashboard-filters{padding:10px 12px;flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;border-radius:10px;gap:6px;background:#fff;border:1px solid #e6ebf2;box-shadow:none}
.dashboard-kpis{gap:12px}
.dashboard-kpi{padding:16px 18px;min-height:108px;box-sizing:border-box;border:1px solid #e6ebf2;border-radius:10px;position:relative}
.dashboard-kpi label{font-size:12px;gap:6px;align-items:center}
.dashboard-kpi strong{font-size:28px;line-height:1.6;letter-spacing:-.6px}
.dashboard-kpi small{display:block;font-size:11px}
.dashboard-kpi.is-selected{border-color:#165dff;background:#f0f6ff}
.dashboard-kpi.is-selected:after{content:'';position:absolute;bottom:0;left:18px;right:18px;height:3px;background:#165dff;border-radius:3px 3px 0 0}
.dashboard-charts{gap:14px;grid-template-columns:minmax(0,1.8fr) minmax(330px,1fr)}
.dashboard-charts .dashboard-chart{height:370px;padding:18px;border-radius:10px;border-color:#e6ebf2}
.dashboard-chart-heading{margin-bottom:16px;min-height:25px;align-items:center;flex-wrap:wrap}
.dashboard-chart-heading>b{font-size:14px;display:flex;align-items:center;gap:8px}
.dashboard-chart-heading>b:before{content:'';height:14px;width:3px;border-radius:2px;background:#165dff}
.dashboard-store-heading small{font-size:10px;color:#86909c;margin-left:auto}
.dashboard-store{gap:0}
.dashboard-g2-ranking{height:160px;flex:none;position:relative}
.dashboard-g2-ranking>div{width:100%;height:160px}
.dashboard-g2-ranking>button{position:absolute;inset:40px 10px auto;border:1px solid #e6ebf2;border-radius:6px;background:#fff;padding:8px;cursor:pointer}
.dashboard-store-details{display:flex;flex-direction:column;overflow:auto;margin-top:8px;gap:0;min-height:0}
.dashboard-store-details button{display:flex;align-items:center;justify-content:space-between;gap:12px;border:0;border-top:1px solid #f0f3f7;background:none;padding:7px 2px;font:inherit;font-size:11px;cursor:pointer;text-align:left}
.dashboard-store-details button:hover{background:#f5f8ff}
.dashboard-store-details button:focus-visible{outline:2px solid #165dff}
.dashboard-store-details button>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#526176}
.dashboard-store-details i{display:inline-block;width:7px;height:7px;border-radius:2px;margin-right:7px}
.dashboard-store-details strong{font-size:12px;white-space:nowrap;color:#1d2939;font-variant-numeric:tabular-nums;font-weight:600;text-align:right}
.dashboard-store-details small{font-size:10px;color:#986b15;display:block;font-weight:400}
.dashboard-store-details p{font-size:12px;color:#86909c}
.dashboard-rankings-toolbar{padding:6px 2px 0;gap:8px}
.dashboard-rankings-toolbar>b{font-size:15px}
.dashboard-top-control{font-size:12px}
.dashboard-rankings-grid{gap:14px;flex:none;min-height:0}
.dashboard-ranking{border-color:#e6ebf2;border-radius:10px;min-height:240px}
.dashboard-ranking-panel{max-height:550px}
.dashboard-ranking-panel .dashboard-ranking-heading{padding:15px 16px;gap:10px}
.dashboard-ranking-heading>b{font-size:14px}
.dashboard-ranking-heading>span{font-size:10px}
.dashboard-rank-row{padding:10px 16px;gap:12px;min-height:65px}
.dashboard-rank-row:nth-child(even){background:#fbfcfe}
.dashboard-rank-row:hover{background:#f2f7ff}
.dashboard-rank-row .dashboard-picture{width:40px;height:40px;border-radius:6px}
.dashboard-rank-row .dashboard-top-name{font-size:12px;line-height:20px}
.dashboard-rank-row .dashboard-rank-value{min-width:110px}
.dashboard-rank.leading{color:#165dff;background:#edf3ff;border-radius:4px;line-height:24px}
.dashboard-value-track{height:3px;background:#edf1f7;border-radius:3px;width:100%;margin-top:5px;overflow:hidden}
.dashboard-value-track i{display:block;height:100%;background:#5b8ff9;border-radius:3px}
.dashboard-rank-row .dashboard-rank-value small{margin-top:3px}
@media(max-width:1200px){.dashboard-charts{grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr)}
.dashboard-kpi{padding:14px 12px}
.dashboard-kpi strong{font-size:24px}
.dashboard-chart-heading{gap:6px}
.dashboard-charts .dashboard-chart{padding:14px}}
@media(max-width:1000px){.dashboard-charts{grid-template-columns:1fr}
.dashboard-charts .dashboard-chart{height:auto;min-height:310px}
.dashboard-store-details{max-height:170px}
.dashboard-store-details button{padding:9px 2px}
.dashboard-ranking-panel{max-height:500px}
.dashboard-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.dashboard-page{padding:0 0 12px}
.dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.dashboard-kpi{min-height:100px}
.dashboard-ranking-panel .dashboard-ranking-heading{padding:12px}
.dashboard-rank-row{padding:8px 10px;gap:8px}
.dashboard-rank-row .dashboard-rank-value{min-width:85px}
.dashboard-rankings-toolbar>span{width:100%}
.dashboard-rankings-toolbar>b{width:100%}}
/* Catalog strip: live, selling and new-listed products per shop, fully expanded. */
.dashboard-catalog-kpis{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.dashboard-catalog-kpis .dashboard-kpi{padding:12px 12px;min-width:0}
.dashboard-catalog-kpis .dashboard-kpi label{font-size:11px}
.dashboard-catalog-kpis .dashboard-kpi strong{font-size:18px}
.dashboard-catalog-kpis .dashboard-kpi small{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:1300px){.dashboard-catalog-kpis{overflow-x:auto;flex-wrap:nowrap;display:flex}
.dashboard-catalog-kpis .dashboard-kpi{flex:0 0 150px}}
.dashboard-kpi.is-static{cursor:default}
.dashboard-kpi.is-static:hover{background:#fff;border-color:#e6ebf2}
.dashboard-catalog-shops{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;flex:none}
.dashboard-catalog-shop{background:#fff;border:1px solid #e6ebf2;border-radius:10px;padding:10px 14px;display:flex;flex-direction:column;gap:4px;min-width:0}
.dashboard-catalog-shop>span{display:flex;align-items:center;gap:7px;font-size:12px;color:#1d2939;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dashboard-catalog-shop>span i{width:7px;height:7px;border-radius:2px;flex:none}
.dashboard-catalog-shop small{font-size:11px;color:#86909c;display:flex;justify-content:space-between;gap:8px;line-height:18px}
.dashboard-catalog-shop small b{font-weight:600;color:#1d2939;font-variant-numeric:tabular-nums}
.dashboard-catalog-shop.is-total{background:#f5f8fc}
@media(max-width:760px){.dashboard-catalog-shops{grid-template-columns:repeat(2,minmax(0,1fr))}
.dashboard-catalog-kpis{grid-template-columns:1fr}}
/* GMV 拆解 page: content-type donut, rows and per-shop strip. */
.dashboard-gmv{display:grid;grid-template-columns:200px repeat(3,minmax(0,1fr));gap:12px;flex:none;align-items:stretch}
.dashboard-gmv.gmv-source{grid-template-columns:200px repeat(4,minmax(0,1fr))}
.dashboard-gmv-donut{background:#fff;border:1px solid #e6ebf2;border-radius:10px;padding:18px;display:flex;align-items:center;justify-content:center;min-width:0}
.dashboard-gmv-ringwrap{position:relative;width:150px;height:150px;flex:none}
.dashboard-gmv-donut svg{width:150px;height:150px;display:block}
.dashboard-gmv-ring-bg{fill:none;stroke:#f2f6fb;stroke-width:13}
.dashboard-gmv-ring{fill:none;stroke-width:13;stroke-linecap:butt}
.dashboard-gmv-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;pointer-events:none}
.dashboard-gmv-center label{font-size:10px;color:#86909c}
.dashboard-gmv-center strong{font-size:14px;color:#1d2939;font-variant-numeric:tabular-nums;line-height:18px;letter-spacing:-.01em}
.dashboard-gmv-center small{font-size:9px;color:#86909c;text-align:center;line-height:12px;padding:0 16px}
.dashboard-gmv-delta.up{color:#00865a}
.dashboard-gmv-delta.down{color:#f53f3f}
@media(max-width:1100px){.dashboard-gmv{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.dashboard-gmv-donut{flex-direction:column;align-items:center;gap:14px}}
/* Per-shop content-type rings: each shop keeps its own distribution. */
.dashboard-gmv-shops{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;flex:none}
.dashboard-gmv-shop{background:#fff;border:1px solid #e6ebf2;border-radius:10px;padding:12px 14px;display:flex;flex-direction:column;gap:8px;min-width:0}
.dashboard-gmv-shop.is-total{background:#f5f8fc}
.dashboard-gmv-shop-head{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600;color:#1d2939;min-width:0}
.dashboard-gmv-shop-head>i{width:7px;height:7px;border-radius:2px;flex:none}
.dashboard-gmv-shop-head>small{margin-left:auto;font-size:10px;color:#86909c;font-weight:400;white-space:nowrap}
.dashboard-gmv-shop-body{display:flex;align-items:center;gap:12px;min-width:0}
.dashboard-gmv-mini{display:flex;flex-direction:column;align-items:center;gap:3px;flex:none}
.dashboard-gmv-mini svg{width:80px;height:80px;display:block}
.dashboard-gmv-mini .dashboard-gmv-ring-bg{stroke-width:20}
.dashboard-gmv-mini .dashboard-gmv-ring{stroke-width:20}
.dashboard-gmv-mini-total{font-size:10px;font-weight:600;color:#1d2939;font-variant-numeric:tabular-nums;white-space:nowrap;line-height:12px}
.dashboard-gmv-mini-legend{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.dashboard-gmv-mini-legend li{display:flex;align-items:baseline;gap:6px;font-size:11px;color:#526176;white-space:nowrap;min-width:0}
.dashboard-gmv-mini-legend i{width:6px;height:6px;border-radius:2px;flex:none;align-self:center}
.dashboard-gmv-mini-legend span{flex:none}
.dashboard-gmv-mini-legend b{margin-left:auto;color:#1d2939;font-variant-numeric:tabular-nums;font-weight:600}
.dashboard-gmv-mini-legend small{color:#86909c;font-variant-numeric:tabular-nums;min-width:44px;text-align:right}
@media(max-width:760px){.dashboard-gmv-shops{grid-template-columns:1fr}}
.dashboard-chart-heading .dashboard-chart-hint+.dashboard-chart-toggle{margin-left:12px}
/* 6-card KPI grid (realtime, catalog_analysis, affiliate) and 7-card overview grid */
.dashboard-kpis-6{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.dashboard-kpis-6 .dashboard-kpi{padding:14px 16px;min-height:98px;min-width:0}
.dashboard-kpis-6 .dashboard-kpi label{font-size:12px;gap:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dashboard-kpis-6 .dashboard-kpi strong{font-size:clamp(18px,1.45vw,22px);line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dashboard-kpis-6 .dashboard-kpi small{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:1280px){.dashboard-kpis-6{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.dashboard-kpis-6{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}}
/* Efficiency and quality row: 7 KPIs fit cleanly on 1280–1440+ without cramped scrollbars. */
.dashboard-kpis-all{grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}
.dashboard-kpis-all .dashboard-kpi{padding:14px 14px;min-height:98px;min-width:0}
.dashboard-kpis-all .dashboard-kpi label{font-size:12px;gap:4px;white-space:nowrap}
.dashboard-kpis-all .dashboard-kpi strong{font-size:clamp(16px,1.32vw,22px);line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dashboard-kpis-all .dashboard-kpi small{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:1240px){.dashboard-kpis-all{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.dashboard-kpis-all{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}}
.dashboard-kpi-yoy{font-size:11px;font-weight:500;margin-left:auto;white-space:nowrap;font-variant-numeric:tabular-nums}
.dashboard-kpi-yoy.up{color:#198100}
.dashboard-kpi-yoy.down{color:#c9303a}
.dashboard-store-share{display:inline-block !important;margin-left:6px;font-size:11px;font-weight:400;color:#6a6a6a !important;font-variant-numeric:tabular-nums}
.dashboard-rank-sub{display:block;font-size:11px;color:#6a6a6a !important;margin-top:2px;font-variant-numeric:tabular-nums;white-space:nowrap}
.dashboard-catalog-shop{text-align:left;cursor:pointer;font:inherit;transition:border-color .15s,background-color .15s}
.dashboard-catalog-shop:hover{background:#fafafa;border-color:rgba(0,0,0,.16)}
.dashboard-catalog-shop.is-active{border-color:#1b1b1b;box-shadow:inset 0 0 0 1px #1b1b1b}
.catalog-shop-rate{margin-left:auto;font-size:12px;font-weight:600;color:#111;font-variant-numeric:tabular-nums}
.catalog-shop-bar{height:4px;border-radius:999px;background:#ececec;overflow:hidden;margin:2px 0 4px}
.catalog-shop-bar i{display:block;height:100%;border-radius:999px;transition:width .2s ease}
.dashboard-gmv-tile{cursor:pointer;transition:border-color .15s,background-color .15s}
.dashboard-gmv-tile:hover{background:#fafafa;border-color:rgba(0,0,0,.16)}
.dashboard-gmv-tile.is-selected{border-color:#1b1b1b !important;box-shadow:inset 0 0 0 1px #1b1b1b}
.dashboard-gmv-shop{cursor:pointer;transition:border-color .15s,background-color .15s}
.dashboard-gmv-shop:hover{background:#fafafa;border-color:rgba(0,0,0,.16)}
.dashboard-gmv-shop.is-active{border-color:#1b1b1b !important;box-shadow:inset 0 0 0 1px #1b1b1b}
.realtime-compare-check{margin-left:4px;font-size:12px;color:#474747}
.dashboard-realtime-shop-btn{display:flex;flex-direction:column;align-items:flex-start;gap:2px;border:0;background:transparent;padding:0;font:inherit;text-align:left;cursor:pointer;max-width:100%}
.dashboard-realtime-shop-btn:hover .dashboard-realtime-shop-name b{color:#165dff;text-decoration:underline}
.dashboard-realtime-shop-btn.active .dashboard-realtime-shop-name b{color:#165dff}
.dashboard-realtime-shop-btn small{font-size:11px;color:#6a6a6a;white-space:nowrap}
.dashboard-realtime-shop-btn small.stale{color:#ad6800}
.dashboard-realtime-product-shop li{display:grid;grid-template-columns:28px minmax(0,1fr) auto auto;align-items:center;gap:8px;font-size:12px;line-height:20px;padding:3px 0;min-width:0}
.realtime-prod-thumb{width:28px;height:28px;border-radius:6px;border:1px solid rgba(0,0,0,.08);background:#f4f5f7;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;flex:none;color:#919191}
.realtime-prod-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.realtime-prod-name{border:0;background:transparent;padding:0;font:inherit;font-size:12px;color:#111;text-align:left;cursor:pointer;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.realtime-prod-name:hover{color:#165dff;text-decoration:underline}
/* Order region mix: aggregated states only, no buyer data. */
.dashboard-regions{background:#fff;border:1px solid #e6ebf2;border-radius:10px;padding:14px 16px;display:flex;flex-direction:column;gap:6px;flex:none}
.dashboard-regions-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.dashboard-regions-head b{font-size:14px;color:#1d2939}
.dashboard-regions-head small{font-size:11px;color:#86909c}
.dashboard-region-name.is-cat{width:120px}
/* Category dimension: ranking dot, full-width compare chart and its legend grid. */
.dashboard-rank-row .dashboard-cat-dot{height:32px;width:32px;flex:none;border-radius:4px}
.dashboard-chart.is-full{grid-column:1/-1}
.dashboard-store-details.is-cats{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:0 18px;overflow:visible;max-height:none}
/* Type tiles sit in one row beside the ring instead of a sparse list. */
.dashboard-gmv-tile{background:#fff;border:1px solid #e6ebf2;border-radius:10px;padding:14px 16px;display:flex;flex-direction:column;justify-content:center;gap:6px;min-width:0}
.dashboard-gmv-tile>strong{font-size:18px}
.dashboard-gmv-tile-head{display:flex;align-items:center;gap:8px;min-width:0}
.dashboard-gmv-tile-head i{width:8px;height:8px;border-radius:2px;flex:none}
.dashboard-gmv-tile-head b{font-size:13px;color:#1d2939;white-space:nowrap}
.dashboard-gmv-tile-head small{font-size:11px;color:#86909c;margin-left:auto;font-variant-numeric:tabular-nums}
.dashboard-gmv-tile>strong{font-size:20px;font-weight:600;color:#1d2939;font-variant-numeric:tabular-nums;white-space:nowrap}
.dashboard-gmv-tile-foot{display:flex;align-items:baseline;gap:10px;font-size:11px;color:#86909c}
.dashboard-gmv-tile-foot .up{color:#00865a}
.dashboard-gmv-tile-foot .down{color:#f53f3f}
@media(max-width:1100px){.dashboard-gmv{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Per-shop distribution inside a type tile: four compact share lines. */
.dashboard-gmv-tile-shops{display:flex;flex-direction:column;gap:4px;border-top:1px solid #f0f3f7;padding-top:8px}
.dashboard-gmv-shopline{display:flex;align-items:center;gap:6px;font-size:10px;color:#526176;min-width:0}
.dashboard-gmv-shopline-name{width:64px;flex:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dashboard-gmv-shopline-track{flex:1;height:4px;background:#f2f6fb;border-radius:2px;overflow:hidden;min-width:24px}
.dashboard-gmv-shopline-track i{display:block;height:100%;border-radius:2px}
.dashboard-gmv-shopline small{margin-left:auto;color:#86909c;font-variant-numeric:tabular-nums;white-space:nowrap}
.dashboard-realtime-fresh{margin-left:auto;font-size:11px;color:#00865a;white-space:nowrap}
.dashboard-realtime-fresh.stale{color:#d69c00}
.dashboard-realtime-kpi{min-height:0;padding:8px 12px}
.dashboard-realtime-kpi label{font-size:11px;color:#86909c;white-space:nowrap}
.dashboard-realtime-kpi strong{font-size:19px;color:#1d2939;font-variant-numeric:tabular-nums;white-space:nowrap}
.dashboard-realtime-kpi small{display:block;font-size:10px;color:#86909c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dashboard-realtime-hour i.empty{background:#e6ebf2;opacity:1}
@media(max-width:1100px){.dashboard-realtime-fresh{margin-left:0}}
/* Standalone realtime page: hourly per-shop trends on top of the shared card grid. */
.realtime-page .dashboard-realtime-fresh{margin-right:10px}
.realtime-page .dashboard-chart-heading .arco-radio-group{flex:none}
.dashboard-realtime-trend{background:rgba(255,255,255,.92);border:1px solid var(--br-border);border-radius:8px;padding:12px 14px;margin-top:12px;height:auto}
.dashboard-realtime-trend .dashboard-chart-heading{display:flex;align-items:baseline;gap:10px;margin-bottom:6px}
.dashboard-realtime-trend .dashboard-chart-heading b{font-size:13px;color:#1d2939}
.dashboard-realtime-trend .dashboard-realtime-fresh{margin-left:auto;font-size:11px;color:#86909c}
/* Per-shop attribution strip: the cards above sum shops, this table splits them. */
.dashboard-realtime-shops{background:#fff;border:1px solid var(--br-border);border-radius:8px;padding:12px 14px;margin-top:12px;display:flex;flex-direction:column;gap:8px;flex:none}
.dashboard-realtime-shops .dashboard-chart-heading{margin:0}
.dashboard-realtime-note{margin-left:auto;font-size:11px;color:#86909c;white-space:nowrap}
.dashboard-realtime-shop-table tbody th small.stale{color:#d69c00}
.dashboard-realtime-shop-table .num{text-align:right;font-weight:600}
.dashboard-realtime-shop-table .num.active{color:#111}
.dashboard-realtime-spark{display:block;width:100px;height:30px}
.dashboard-realtime-shop-delta.up{color:#198100}
.dashboard-realtime-shop-delta.down{color:#c9303a}
@media(max-width:760px){.dashboard-realtime-shops{padding:10px}
.dashboard-realtime-note{display:none}}
/* Today's paid products per shop: the attribution the hourly API cannot give. */
.dashboard-realtime-products{background:#fff;border:1px solid var(--br-border);border-radius:8px;padding:12px 14px;margin-top:12px;display:flex;flex-direction:column;gap:8px;flex:none}
.dashboard-realtime-products .dashboard-chart-heading{margin:0}
.dashboard-realtime-product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.dashboard-realtime-product-shop{border:1px solid #edf0f5;border-radius:8px;padding:10px 12px;display:flex;flex-direction:column;gap:6px;min-width:0}
.dashboard-realtime-product-shop>header{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600;color:#1d2939;white-space:nowrap;min-width:0;background:none;height:auto;padding:0;position:static;z-index:auto}
.dashboard-realtime-product-shop>header i{width:7px;height:7px;border-radius:2px;flex:none}
.dashboard-realtime-product-shop>header span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.dashboard-realtime-product-shop>header small{margin-left:auto;font-size:11px;font-weight:400;color:#86909c;font-variant-numeric:tabular-nums}
.dashboard-realtime-product-shop ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px;min-width:0}
.dashboard-realtime-product-shop li{display:grid;grid-template-columns:28px minmax(0,1fr) auto auto;align-items:center;gap:8px;font-size:12px;line-height:20px;padding:3px 0;min-width:0}
.dashboard-realtime-product-shop li>b{font-size:11px;color:#1d2939;font-variant-numeric:tabular-nums;white-space:nowrap}
.dashboard-realtime-product-shop li>small{min-width:58px;text-align:right;color:#1d2939;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.dashboard-realtime-product-empty{margin:0;padding:10px 0;font-size:11px;color:#a8b3c2}
.dashboard-realtime-product-shop>footer{display:flex;align-items:baseline;gap:8px;border-top:1px solid #f2f4f8;padding-top:6px;font-size:11px;color:#86909c;white-space:nowrap}
.dashboard-realtime-product-shop>footer>small{margin-left:auto;color:#a8b3c2}
@media(max-width:760px){.dashboard-realtime-products{padding:10px}
.dashboard-realtime-product-grid{grid-template-columns:1fr}}
/* 日期标准：多店终点取共同最新日，落后店铺在日期控件旁小字提示；空状态区分 无数据 / 数据未回流 / 同步失败。 */
.dashboard-lag-note{flex:none;white-space:nowrap;font-size:11px;line-height:32px;color:#b25e09;cursor:help}
.dashboard-empty-state{margin:0 0 12px;padding:8px 12px;border-radius:6px;font-size:12px;line-height:18px;background:#f2f3f5;color:#4e5969}
.dashboard-empty-state.is-pending{background:#fff7e8;color:#b25e09}
.dashboard-empty-state.is-failed{background:#ffece8;color:#cb2634}
/* 带统一日期控件的经营看板工具栏：快捷按钮外露后较宽，换行而不是横向滚动藏掉后面的筛选。 */
.dashboard-page .dashboard-filters.ax-filters>.ax-filter-fields:has(>.br-date-range){flex-wrap:wrap;row-gap:8px;overflow:visible}
