/* Astryx neutral surfaces for data boards and table details.
   Tokens follow theme-neutral: body #f1f1f1, card #fff, ink #111,
   secondary #6a6a6a, hairline rgba(0,0,0,.08), radius 16/12. */

.page-body:has(.dashboard-page),
.page-body:has(.ads-dash-page),
.page-body:has(.affiliate-page),
.page-body:has(.detail-workspace),
.page-body:has(.catalog-detail-page),
.page-body:has(.content-detail-page),
.page-body:has(.product-gallery-panel){background:#f1f1f1}
.dashboard-page{gap:16px;padding:2px 2px 20px}
.dashboard-page .dashboard-filters,
.dashboard-page .dashboard-kpi,
.dashboard-page .dashboard-chart,
.dashboard-page .dashboard-ranking,
.dashboard-page .dashboard-catalog-shop,
.dashboard-page .dashboard-gmv-donut,
.dashboard-page .dashboard-gmv-tile,
.dashboard-page .dashboard-gmv-shop,
.dashboard-page .dashboard-regions,
.dashboard-page .dashboard-realtime-products,
.dashboard-page .dashboard-realtime-shops{background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:16px;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.dashboard-page .dashboard-kpi{padding:16px 18px;min-height:104px}
.dashboard-page .dashboard-kpi label{color:#6a6a6a;font-weight:500}
.dashboard-page .dashboard-kpi strong{color:#111;font-weight:600;letter-spacing:-.03em}
.dashboard-page .dashboard-kpi small{color:#919191}
.dashboard-page .dashboard-kpi:hover{background:#fafafa;border-color:rgba(0,0,0,.16)}
.dashboard-page .dashboard-kpi.is-selected{background:#fff;border-color:#1b1b1b;box-shadow:inset 0 0 0 1px #1b1b1b}
.dashboard-page .dashboard-kpi.is-selected label{color:#111}
.dashboard-page .dashboard-kpi.is-selected:after{left:16px;right:16px;height:2px;background:#1b1b1b}
.dashboard-page .dashboard-kpi.is-static:hover{background:#fff;border-color:rgba(0,0,0,.08);box-shadow:0 1px 2px rgba(0,0,0,.04)}
.dashboard-page .dashboard-kpi-yoy.up,
.dashboard-page .dashboard-gmv-delta.up,
.dashboard-page .dashboard-realtime-shop-delta.up{color:#198100}
.dashboard-page .dashboard-kpi-yoy.down,
.dashboard-page .dashboard-gmv-delta.down,
.dashboard-page .dashboard-realtime-shop-delta.down{color:#c9303a}
.dashboard-page .dashboard-section-caption b,
.dashboard-page .dashboard-rankings-toolbar>b,
.dashboard-page .dashboard-chart-heading>b{color:#111;font-weight:600;letter-spacing:-.02em}
.dashboard-page .dashboard-chart-heading>b:before,
.dashboard-page .dashboard-trend .dashboard-chart-heading>b:before{content:none;width:0;height:0;margin:0;background:none}
.dashboard-page .dashboard-charts .dashboard-chart{padding:18px 20px}
.dashboard-page .dashboard-chart-heading{margin-bottom:12px}
.dashboard-page .dashboard-ranking-heading{border-bottom-color:rgba(0,0,0,.06)}
.dashboard-page .dashboard-rank-row{border-bottom-color:rgba(0,0,0,.06)}
.dashboard-page .dashboard-rank-row:nth-child(even){background:transparent}
.dashboard-page .dashboard-rank-row:hover{background:rgba(0,0,0,.03)}
.dashboard-page .dashboard-rank-row .dashboard-picture{border-radius:8px}
.dashboard-page .dashboard-rank.leading{color:#111;background:#f1f1f1;border-radius:8px}
.dashboard-page .dashboard-ranking-total{background:#f6f6f6;border-radius:8px}
.dashboard-page .dashboard-value-track{background:#ececec}
.dashboard-page .dashboard-value-track i{background:#1b1b1b}
.dashboard-page .dashboard-region-track{background:#ececec}
.dashboard-page .dashboard-region-track i{background:#1b1b1b}
.dashboard-page .dashboard-realtime-shop-table tbody td,
.dashboard-page .dashboard-realtime-shop-table tbody th{border-bottom-color:rgba(0,0,0,.06)}
.dashboard-page .dashboard-realtime-shop-table .num.active{color:#111}
.dashboard-page .dashboard-realtime-product-shop{border-color:rgba(0,0,0,.08);border-radius:12px;background:#fafafa}



.detail-object-header,
.detail-content-card,
.detail-store-panel>.card,
.detail-workspace>.card,
.catalog-detail-page .catalog-detail-tabs,
.catalog-detail-page .detail-history,
.content-detail-page,
.effect-product-heading,
.effect-history-card,
.effect-trend-card{background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:16px;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.detail-object-header{padding:16px 20px}
.detail-object-picture{border-radius:12px;border-color:rgba(0,0,0,.08);background:#f6f6f6}
.detail-object-heading h2{color:#111;letter-spacing:-.02em}
.detail-object-kind,.detail-facts dt,.detail-object-meta{color:#6a6a6a}
.detail-facts dd,.detail-object-meta b{color:#111}
.detail-facts{border-bottom-color:rgba(0,0,0,.06)}
.detail-section-tabs,.catalog-detail-page .catalog-detail-switch{border-bottom-color:rgba(0,0,0,.08)}
.detail-section-title h3{color:#111;letter-spacing:-.01em}
.dashboard-page .br-data-table,
.affiliate-page .br-data-table,
.detail-workspace .br-data-table,
.catalog-detail-page .br-data-table,
.content-detail-page .br-data-table{border-color:rgba(0,0,0,.08);border-radius:16px;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.dashboard-page .br-data-table .arco-table-th,
.affiliate-page .br-data-table .arco-table-th,
.detail-workspace .br-data-table .arco-table-th,
.catalog-detail-page .br-data-table .arco-table-th,
.content-detail-page .br-data-table .arco-table-th{background:#fafafa;color:#474747;font-weight:500}
.dashboard-page .br-data-table .arco-table-td,
.affiliate-page .br-data-table .arco-table-td,
.detail-workspace .br-data-table .arco-table-td,
.catalog-detail-page .br-data-table .arco-table-td,
.content-detail-page .br-data-table .arco-table-td{border-bottom-color:rgba(0,0,0,.06);color:#111}
.dashboard-page .br-data-table .arco-table-tr:hover .arco-table-td,
.affiliate-page .br-data-table .arco-table-tr:hover .arco-table-td,
.detail-workspace .br-data-table .arco-table-tr:hover .arco-table-td,
.catalog-detail-page .br-data-table .arco-table-tr:hover .arco-table-td{background:rgba(0,0,0,.025)}
.affiliate-page .affiliate-toolbar,
.affiliate-page .affiliate-kpi,
.affiliate-page .affiliate-trend,
.affiliate-page .affiliate-shops,
.affiliate-page .affiliate-panel{background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:16px;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.affiliate-page .affiliate-panel .br-data-table{border:0;border-radius:0;box-shadow:none}
.ax-pager{display:inline-flex;align-items:center;gap:4px;flex:none;white-space:nowrap}
.ax-pager .ax-btn.ax-icon-btn{width:32px;padding:0}
.ax-pager-gap{color:#6a6a6a;padding:0 2px}
.ax-pager-size.ax-select-wrap .ax-select{width:108px;min-width:108px;max-width:120px}
.ax-pager-jump{display:inline-flex;align-items:center;gap:6px;margin-left:4px;color:#474747;font-size:14px;white-space:nowrap}
.ax-pager-jump .ax-input-field{width:56px;min-width:56px}
.br-table-tools .ax-btn.ax-icon-btn{width:32px;padding:0}
.br-trend-window{margin-top:12px}
.br-trend-window .ax-date{width:220px}
.br-trend-plot:focus-visible{outline:2px solid #1b1b1b;border-radius:8px}
.br-trend-legend{width:auto;border:0;padding:8px 0 0}
.br-trend-legend .ax-input-field{width:220px;min-width:180px;margin:0}
.br-trend-legend .ax-input{width:100%;height:32px;margin:0;padding:0 10px;border:1px solid #00000014;background:#fff;border-radius:12px;font-size:14px}
.dashboard-realtime-shops .br-data-table{border:0;border-radius:0;box-shadow:none}
.dashboard-realtime-shop-name{display:flex;align-items:center;gap:7px;min-width:0}
.dashboard-realtime-shop-name i{width:8px;height:8px;border-radius:2px;flex:none}
.dashboard-realtime-shop-name b{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dashboard-realtime-shops .arco-table-td.is-active{color:#111;font-weight:600}
.content-detail-page{padding:20px 22px}
.effect-product-heading h2,.effect-trend-card h2,.effect-history-card h2{color:#111;letter-spacing:-.02em}
.ax-field{display:inline-flex;align-items:center;height:32px;box-sizing:border-box;background:#fff;border:1px solid #00000014;border-radius:12px;padding:0 8px;gap:4px;color:#000;font-size:14px;line-height:20px}
.ax-field:focus-within{outline:2px solid #1b1b1b;outline-offset:1px}
.ax-date{min-width:180px}
.ax-select{min-width:132px;max-width:220px}
.ax-input-field{min-width:180px;padding:0 8px 0 0}
.ax-date-trigger,.ax-select-trigger,.ax-input{flex:1;min-width:0;border:0;background:transparent;padding:0;text-align:start;font:inherit;color:#000;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ax-input{height:30px;padding:0 10px;cursor:text}
.ax-date-trigger.placeholder,.ax-select-trigger .placeholder,.ax-input::placeholder{color:#6a6a6a}
.ax-date-icon{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border:0;background:transparent;color:#474747;cursor:pointer;font-size:14px;flex:none}
.ax-date-icon svg,.ax-chevron{width:14px;height:14px;color:#474747;flex:none}
.ax-mask{position:fixed;inset:0;z-index:8000}
.ax-date-popover{position:fixed;z-index:8001;display:flex;background:#fff;border:1px solid #d4d4d4;border-radius:12px;overflow:hidden;box-shadow:0 8px 24px #00000014}
.ax-date-presets{display:flex;flex-direction:column;gap:4px;padding:12px;min-width:140px;border-right:1px solid #d4d4d4;box-sizing:border-box}
.ax-date-preset{display:block;width:100%;margin:0;padding:4px 8px;border:0;border-radius:12px;background:transparent;color:#000;font-size:14px;line-height:20px;text-align:start;cursor:pointer;white-space:nowrap}
.ax-date-preset:hover{background:#0000000d}
.ax-date-preset.active{background:#d4d4d4;color:#1b1b1b}
.ax-date-calendar{flex:1;min-width:0}
.ax-date-calendar .arco-picker-container,.ax-date-calendar .arco-picker-range-container{position:relative;border:0;box-shadow:none}
.ax-menu{position:fixed;z-index:8001;box-sizing:border-box;max-height:280px;overflow:auto;background:#fff;border:1px solid #d4d4d4;border-radius:12px;padding:4px;box-shadow:0 8px 24px #00000014}
.ax-menu button{display:block;width:100%;margin:0;padding:6px 8px;border:0;border-radius:8px;background:transparent;color:#111;font-size:14px;line-height:20px;text-align:start;cursor:pointer;white-space:nowrap}
.ax-menu button:hover{background:#0000000d}
.ax-menu button.active{background:#d4d4d4;color:#1b1b1b}
.ax-menu-search{width:100%;box-sizing:border-box;height:28px;margin:0 0 4px;border:1px solid #00000014;border-radius:8px;padding:0 8px;font-size:14px}
.ax-menu-empty{margin:8px;color:#6a6a6a;font-size:14px}
.ax-btn{display:inline-flex;align-items:center;justify-content:center;gap:4px;height:32px;padding:0 12px;border-radius:12px;border:1px solid #00000014;background:#fff;color:#111;font-size:14px;line-height:20px;cursor:pointer;white-space:nowrap;text-decoration:none}
.ax-btn.is-primary{background:#1b1b1b;border-color:#1b1b1b;color:#fff}
.ax-btn.is-text,.ax-btn.is-danger{height:28px;padding:0 8px;border-color:transparent;background:transparent}
.ax-btn.is-danger{color:#c9303a}
.ax-btn.is-text:hover,.ax-btn.is-danger:hover{background:#0000000d}
.ax-btn:disabled{color:#919191;cursor:default}
.ax-btn.is-primary:disabled{background:#d4d4d4;border-color:#d4d4d4;color:#fff}
.ax-btn.ax-compact{height:28px;padding:0 8px}
.ax-input-field.disabled{color:#919191}
.ax-dialog-mask{position:fixed;inset:0;z-index:2000;display:flex;align-items:flex-start;justify-content:center;padding:40px 16px;background:#0006;overflow:auto}
.ax-dialog{width:min(880px,100%);background:#fff;border:1px solid #00000014;border-radius:16px;padding:16px}
.ax-dialog-head{display:flex;align-items:center;justify-content:space-between;height:auto;margin:0 0 12px;padding:0;background:transparent;color:#111;position:static;z-index:auto;gap:8px}
.arco-message,.arco-message-list{z-index:9000}
.ax-toast{position:fixed;top:68px;left:50%;z-index:9000;display:flex;align-items:center;gap:12px;transform:translateX(-50%);min-height:40px;padding:8px 8px 8px 16px;background:#fff;border:1px solid #00000014;border-radius:12px;box-shadow:0 8px 24px #00000014;color:#111;font-size:14px;line-height:20px;white-space:nowrap}
.ax-toast button{width:28px;height:28px;border:0;border-radius:8px;background:transparent;color:#474747;cursor:pointer;font-size:16px}
.br-row-actions{display:inline-flex;align-items:center;gap:2px;white-space:nowrap}
.ax-more{position:relative}
.ax-more-menu{position:absolute;top:32px;right:0;z-index:30;min-width:120px}
.ax-btn svg{width:14px;height:14px}
.ax-segment{display:inline-flex;align-items:center;height:32px;padding:2px;border-radius:12px;background:#f1f1f1;gap:2px;flex:none}
.ax-segment button{height:28px;padding:0 10px;border:0;border-radius:10px;background:transparent;color:#474747;font-size:14px;line-height:20px;cursor:pointer;white-space:nowrap}
.ax-segment button.active{background:#fff;color:#111;box-shadow:0 1px 2px #00000014}
.ax-check{display:inline-flex;align-items:center;gap:6px;height:32px;color:#111;font-size:14px;white-space:nowrap}
.ax-check input{width:16px;height:16px;accent-color:#1b1b1b}
.dashboard-page .dashboard-filters.ax-filters:has(>.ax-filter-fields){overflow:hidden}
.dashboard-page .dashboard-filters.ax-filters>.ax-filter-fields{display:flex;align-items:center;gap:6px;flex:1 1 auto;min-width:0;overflow-x:auto}
.dashboard-page .dashboard-filters.ax-filters>.ax-filter-fields>*{flex:0 0 auto}
.dashboard-page .dashboard-filters.ax-filters>.ax-filter-actions{position:static;display:inline-flex;align-items:center;gap:8px;flex:none;margin-left:8px;background:transparent;padding:0}
.dashboard-page .dashboard-chart-heading>b,
.dashboard-page .dashboard-ranking-heading>b,
.dashboard-page .dashboard-regions-head>b{white-space:nowrap;flex:none}
.dashboard-page .dashboard-chart-heading,
.dashboard-page .dashboard-regions-head{flex-wrap:nowrap;overflow:visible}
.dashboard-page .dashboard-store-heading{flex-wrap:wrap;row-gap:8px;justify-content:space-between}
.dashboard-page .dashboard-ranking-heading{flex-wrap:wrap;overflow:visible;row-gap:8px;justify-content:space-between}
.dashboard-page .dashboard-chart-heading .ax-segment,
.dashboard-page .dashboard-regions-head .ax-segment{flex:none}
.dashboard-page .dashboard-ranking-heading .ax-segment{flex:none;height:32px;flex-wrap:nowrap}
.dashboard-page.is-refreshing .dashboard-kpis,
.dashboard-page.is-refreshing .dashboard-charts,
.dashboard-page.is-refreshing .dashboard-gmv{opacity:.72;transition:opacity .15s ease}
.dashboard-page .dashboard-charts .dashboard-chart{height:auto;min-height:0}
.dashboard-page .dashboard-store-details,
.dashboard-page .dashboard-store .dashboard-bars{overflow:visible;max-height:none}
.dashboard-realtime-shops .br-data-table .arco-table-th,
.dashboard-realtime-shops .br-data-table .arco-table-td{height:auto;padding:8px 10px}
.ax-number{width:72px;min-width:72px;padding:0}
.ax-number input{width:100%;height:30px;border:0;background:transparent;text-align:center;font:inherit;color:#111}
.name-language.ax-select-wrap .ax-select{width:96px;min-width:96px;max-width:96px}
a.ax-btn{text-decoration:none}
.page-body.list-page{background:#f1f1f1}
.page-body.list-page>.toolbar,
.page-body.list-page .toolbar{border:1px solid #00000014;border-radius:16px;background:#fff;flex-wrap:wrap;overflow:visible;gap:8px;padding:8px 12px}
.page-body.list-page .toolbar>.toolbar-tail{flex-wrap:nowrap;margin-left:auto}
@media(max-width:900px){.page-body.list-page .toolbar>.toolbar-tail{flex-wrap:wrap;margin-left:0}}
.page-body.list-page .br-data-table{border:1px solid #00000014;border-radius:16px;background:#fff;box-shadow:0 1px 2px #0000000a}
.page-body.list-page .br-data-table .arco-table-th{background:#fafafa;color:#111;font-weight:500}
.page-body.list-page .br-data-table .arco-table-td{color:#111;border-bottom-color:#00000014}
.page-body.list-page .br-data-table .arco-table-tr:hover .arco-table-td{background:#0000000d}
.product-filter-item{display:inline-flex;align-items:center;gap:8px}
.product-filter-item .ax-number{width:140px;min-width:140px}
.product-filter-item .ax-number input{text-align:start;padding:0 10px}
.gallery-pagination.ax-pager{display:flex;align-items:center;justify-content:flex-end;width:100%;gap:8px}
.gallery-pagination.ax-pager>span:first-child{margin-right:auto}
.catalog-detail-page .arco-table-td.arco-table-col-fixed-right .arco-table-cell{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.ax-dialog-body{min-width:0}
.ax-dialog-foot{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
.ax-drawer-mask{align-items:stretch;justify-content:flex-end;padding:0}
.ax-drawer{height:100%;border-radius:16px 0 0 16px;overflow:auto}
.ax-alert{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin:0 0 8px;padding:8px 12px;border:1px solid #00000014;border-radius:12px;background:#fff;color:#111;font-size:14px;line-height:20px}
.ax-alert.is-error{color:#c9303a}
.ax-alert.is-success{color:#198100}
.ax-alert.is-warning{color:#8a5a00}
.ax-empty,.ax-result{margin:12px 0;color:#6a6a6a;font-size:14px}
.ax-result b{display:block;color:#111;margin-bottom:4px}
.ax-spin{position:relative}
.ax-spin.busy{opacity:.72}
.ax-spin-note{display:block;margin-top:4px;color:#6a6a6a;font-size:14px}
.ax-bar{height:4px;border-radius:4px;background:#d4d4d4;overflow:hidden}
.ax-bar>span{display:block;height:100%;background:#1b1b1b}
.ax-bar>span.is-danger{background:#c9303a}
.ax-form{border:0;padding:0;margin:0;min-width:0}
.ax-form-item{display:flex;flex-direction:column;gap:4px;margin:0 0 12px}
.ax-form-label{color:#474747;font-size:14px;line-height:20px}
.ax-form-label i{color:#c9303a;font-style:normal;margin-left:2px}
.ax-form .ax-field,.ax-form .ax-select,.ax-form .ax-textarea,.ax-form .ax-tags{width:100%;max-width:none}
.ax-textarea{display:block;width:100%;box-sizing:border-box;min-height:72px;padding:8px 10px;border:1px solid #00000014;border-radius:12px;background:#fff;color:#111;font:inherit;font-size:14px;line-height:20px;resize:vertical}
.ax-textarea:focus{outline:2px solid #1b1b1b;outline-offset:1px}
.ax-tags{display:flex;flex-wrap:wrap;align-items:center;gap:4px;min-height:32px;padding:4px;border:1px solid #00000014;border-radius:12px;background:#fff}
.ax-tags input{flex:1;min-width:80px;height:24px;border:0;background:transparent;font:inherit;font-size:14px}
.ax-tag{display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 8px;border-radius:8px;background:#f1f1f1;color:#111;font-size:14px;white-space:nowrap}
.ax-tag button{border:0;background:transparent;color:#474747;cursor:pointer}
.ax-radios{display:flex;flex-wrap:wrap;gap:8px}
.ax-radios.vertical{flex-direction:column;align-items:flex-start}
.ax-radio{display:inline-flex;align-items:flex-start;gap:6px;color:#111;font-size:14px;line-height:20px}
.ax-radio input{width:16px;height:16px;margin-top:2px;accent-color:#1b1b1b}
.ax-switch{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0;border:0;background:transparent;color:#111;font-size:14px;cursor:pointer}
.ax-switch i{width:36px;height:20px;border-radius:10px;background:#d4d4d4;position:relative}
.ax-switch i:before{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff}
.ax-switch.on i{background:#1b1b1b}
.ax-switch.on i:before{left:18px}
.ax-switch:disabled{color:#919191;cursor:default}
.ax-pager{display:inline-flex;align-items:center;gap:8px;color:#474747;font-size:14px}
.ax-tabs{display:flex;flex-direction:column;gap:12px}
.ax-steps{display:flex;gap:16px;margin:0 0 12px}
.ax-step{display:inline-flex;align-items:center;gap:6px;color:#6a6a6a;font-size:14px}
.ax-step i{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:#f1f1f1;color:#474747;font-style:normal;font-size:12px}
.ax-step.active,.ax-step.done{color:#111}
.ax-step.active i,.ax-step.done i{background:#1b1b1b;color:#fff}
.ax-desc{display:grid;gap:8px;margin:0}
.ax-desc>div{display:grid;grid-template-columns:140px 1fr;gap:8px}
.ax-desc dt{color:#6a6a6a}
.ax-desc dd{margin:0;color:#111}
.ax-confirm-pop{min-width:220px;padding:8px}
.ax-confirm-pop p{margin:0 0 8px;color:#111;font-size:14px;white-space:normal}
.ax-confirm-actions{display:flex;justify-content:flex-end;gap:8px}
.ax-cascader{position:relative}
.ax-cascader>.ax-menu{position:absolute;top:36px;left:0;z-index:30;width:max(280px,100%);max-width:520px}
.ax-cascader-cols{display:flex;gap:4px;max-height:240px}
.ax-cascader-cols>div{min-width:140px;overflow:auto}
.ax-divider{border:0;border-top:1px solid #00000014;margin:12px 0}
.ax-form .ax-check{white-space:normal;height:auto;min-height:32px}
.sidebar-group-items>.ax-tip{display:contents}

/* 统一日期 / 筛选控件（frontend/br-data-controls.js） */
.br-date-range{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;}
.br-date-range .ax-segment button{white-space:nowrap;}
.br-date-until{font-size:12px;color:#86909c;white-space:nowrap;}
.br-filter-bar .ax-number{width:120px;min-width:120px;}
.br-filter-sep{color:#86909c;}
.br-date-note{font-size:12px;color:#d97706;white-space:nowrap;}

/* 经营概览区块（2026-12-02 整理）：为什么变了 / 渠道构成 / 品类分布 / 商品排行用同一种卡片和标题行。
   标题行 = 标题 + 灰色说明（占满中间）+ 右侧控件；卡片内部的子块不再画边框，避免卡片套卡片。 */
.dashboard-page .dash-section{background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:16px;box-shadow:0 1px 2px rgba(0,0,0,.04);padding:16px 20px;margin:0;display:flex;flex-direction:column;gap:12px;flex:none;min-width:0}
.dashboard-page .dash-section>.dashboard-regions-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0;min-height:32px}
.dashboard-page .dash-section>.dashboard-regions-head>b{font-size:15px;font-weight:600;color:#111;letter-spacing:-.02em;white-space:nowrap}
.dashboard-page .dash-section>.dashboard-regions-head>small{flex:1 1 200px;min-width:0;color:#919191;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dashboard-page .dash-section>.dashboard-regions-head>.ax-segment,.dashboard-page .dash-section>.dashboard-regions-head>.dashboard-top-control{flex:none}
.dashboard-page .dash-section>.dashboard-regions-head .dashboard-top-control{display:inline-flex;align-items:center;gap:6px;color:#6a6a6a;font-size:12px}
.dashboard-page .dash-section>.dashboard-regions-head .dashboard-top-control input{width:52px}
/* 为什么变了 */
/* 结论只留一句总述（+ 同期广告消耗）；店铺 / 来源 / 商品的拆解看下面的条形图，不再用文字重复一遍 */
.dashboard-page .insight-drivers .insight-lead{margin:0;font-size:14px;line-height:1.6;color:#111;font-weight:500}
.dashboard-page .insight-drivers .insight-lead small{margin-left:12px;font-size:12px;font-weight:400;color:#6a6a6a}
.dashboard-page .insight-drivers .insight-grid{padding:12px 0 0;border-top:1px solid rgba(0,0,0,.06)}
.dashboard-page .insight-drivers .insight-products{margin-top:4px;padding-top:12px;border-top:1px solid rgba(0,0,0,.06)}
/* 渠道构成：环形图与体裁小块改为浅底，不再单独描边；趋势图高度随内容（原先被基础 .dashboard-chart 锁成 210px，图例会压到下一块） */
.dashboard-page .dashboard-channel-mix .dashboard-gmv{margin:0}
.dashboard-page .dashboard-channel-mix .dashboard-gmv-donut,.dashboard-page .dashboard-channel-mix .dashboard-gmv-tile{background:#f7f7f7;border:1px solid transparent;box-shadow:none;border-radius:12px}
.dashboard-page .dashboard-channel-mix .dashboard-gmv-tile.is-selected{background:#fff;border-color:#1b1b1b}
.dashboard-page .dashboard-channel-mix .dashboard-channel-trend{height:auto;min-height:0;margin:0;padding:0;border:0;box-shadow:none;background:none}
/* 商品排行：一张表，供货商品 / 店铺商品用开关切换；五个指标并列成列，点列头切换排序，当前排序列带一条占比细条。
   商品名单行省略，不再和金额列互相挤压。 */
.dashboard-page .dash-section>.dashboard-regions-head .dashboard-top-control{margin-left:auto}
.dashboard-page .dashboard-rank-table-wrap{overflow-x:auto;margin:0 -4px}
.dashboard-page .dashboard-rank-table{width:100%;min-width:860px;border-collapse:collapse;table-layout:fixed;font-size:13px;color:#1b1b1b}
.dashboard-page .dashboard-rank-table col.rk-pos{width:44px}
.dashboard-page .dashboard-rank-table col.rk-num{width:112px}
.dashboard-page .dashboard-rank-table th{height:36px;padding:0 8px;background:#f7f7f7;color:#6a6a6a;font-size:12px;font-weight:500;text-align:left;white-space:nowrap}
.dashboard-page .dashboard-rank-table th:first-child{border-radius:8px 0 0 8px}
.dashboard-page .dashboard-rank-table th:last-child{border-radius:0 8px 8px 0}
.dashboard-page .dashboard-rank-table th.num,.dashboard-page .dashboard-rank-table td.num{text-align:right}
.dashboard-page .dashboard-rank-table th button{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:2px;color:inherit}
.dashboard-page .dashboard-rank-table th button:hover{color:#1b1b1b}
.dashboard-page .dashboard-rank-table th button:focus-visible{outline:2px solid #165dff;outline-offset:2px;border-radius:4px}
.dashboard-page .dashboard-rank-table th button i{font-style:normal;visibility:hidden}
.dashboard-page .dashboard-rank-table th.sorted{color:#1b1b1b;font-weight:600}
.dashboard-page .dashboard-rank-table th.sorted button i{visibility:visible}
.dashboard-page .dashboard-rank-table td{height:60px;padding:8px;border-bottom:1px solid rgba(0,0,0,.06);vertical-align:middle;font-variant-numeric:tabular-nums}
.dashboard-page .dashboard-rank-table tbody tr:last-child td{border-bottom:0}
.dashboard-page .dashboard-rank-table tbody tr:hover td{background:#fafafa}
.dashboard-page .dashboard-rank-table td.rk-pos,.dashboard-page .dashboard-rank-table th.rk-pos{text-align:center}
.dashboard-page .dashboard-rank-table td.num{color:#4a4a4a}
.dashboard-page .dashboard-rank-table td.sorted{color:#111;font-weight:600}
.dashboard-page .dashboard-rank-table .rk-bar{display:block;height:3px;margin:6px 0 0 auto;width:72px;border-radius:2px;background:#eee;overflow:hidden}
.dashboard-page .dashboard-rank-table .rk-bar i{display:block;height:100%;margin-left:auto;background:#00865a;border-radius:2px}
.dashboard-page .dashboard-rank-table .rk-product{display:flex;align-items:center;gap:10px;min-width:0}
.dashboard-page .dashboard-rank-table .dashboard-picture{flex:none;width:40px;height:40px;border-radius:8px}
.dashboard-page .dashboard-rank-table .rk-identity{display:flex;flex-direction:column;gap:2px;min-width:0}
.dashboard-page .dashboard-rank-table .rk-name{all:unset;cursor:pointer;display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#1b1b1b;font-weight:500}
.dashboard-page .dashboard-rank-table .rk-name:hover:not(:disabled){color:#165dff}
.dashboard-page .dashboard-rank-table .rk-name:disabled{cursor:default}
.dashboard-page .dashboard-rank-table .rk-name:focus-visible{outline:2px solid #165dff;outline-offset:2px;border-radius:4px}
.dashboard-page .dashboard-rank-table .rk-identity small{color:#919191;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* 品类分布：原来一级 / 二级 / 三级三栏各一列表（只看一个指标，名称被挤断），改成和商品排行同样的表，
   一级为根逐级展开；占比条用品类色。 */
.dashboard-page .dashboard-rank-table col.rk-num-s{width:72px}
.dashboard-page .dashboard-rank-table col.rk-share{width:132px}
.dashboard-page .dashboard-cat-table td{height:44px;padding:6px 8px}
.dashboard-page .dashboard-cat-table tr.is-level-1 td{font-weight:500}
.dashboard-page .dashboard-cat-table tr.is-level-1 td.num{font-weight:400}
.dashboard-page .dashboard-cat-table tr.is-level-1 td.sorted{font-weight:600}
.dashboard-page .dashboard-cat-table tr.is-level-2 td,.dashboard-page .dashboard-cat-table tr.is-level-3 td{background:#fcfcfc}
.dashboard-page .dashboard-cat-table tr.active td{background:#eef5ff}
.dashboard-page .dashboard-cat-table .cat-cell{display:flex;align-items:center;gap:6px;min-width:0}
.dashboard-page .dashboard-cat-table .cat-toggle{all:unset;flex:none;width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;border-radius:4px;color:#86909c;cursor:pointer}
.dashboard-page .dashboard-cat-table span.cat-toggle{cursor:default}
.dashboard-page .dashboard-cat-table .cat-toggle:hover{background:#f0f0f0;color:#1b1b1b}
.dashboard-page .dashboard-cat-table .cat-toggle:focus-visible{outline:2px solid #165dff}
.dashboard-page .dashboard-cat-table .cat-toggle svg{transition:transform .15s}
.dashboard-page .dashboard-cat-table .cat-toggle.open svg{transform:rotate(90deg)}
.dashboard-page .dashboard-cat-table .cat-dot{flex:none;width:8px;height:8px;border-radius:50%}
.dashboard-page .dashboard-cat-table .rk-name{min-width:0}
.dashboard-page .dashboard-cat-table tr.active .rk-name{color:#165dff}
.dashboard-page .dashboard-cat-table .cat-share{color:#4a4a4a}
.dashboard-page .dashboard-cat-table .rk-bar{width:96px;margin-top:4px}
.dashboard-page .dashboard-cat-table .rk-bar i{margin-left:0}
.dashboard-page .dashboard-cat-clear{flex:none;border:1px solid #c9dcff;background:#eef5ff;color:#165dff;border-radius:999px;padding:2px 10px;font:inherit;font-size:12px;cursor:pointer}
.dashboard-page .dashboard-cat-table tr:not(.is-level-1) .rk-name{font-weight:400;color:#4a4a4a}
