.ads-page{ min-height:0; min-width:0; display:flex; flex-direction:column; gap:10px; height:100%; flex:1; }
.ads-toolbar{ flex:none; margin:0; flex-wrap:nowrap; overflow-x:auto; }
.ads-toolbar > .ax-select-wrap{ width:156px; min-width:136px; flex:none; }
.ads-toolbar > .ax-select-wrap .ax-select{ width:100%; }
.ads-toolbar > .ads-search{ width:176px; min-width:150px; flex:none; }
.ads-toolbar > .br-date-range, .ads-detail-tools > .br-date-range{ flex:none; flex-wrap:nowrap; }
.ads-toolbar .br-date-range .ax-date-wrap, .ads-detail-tools .br-date-range .ax-date-wrap{ width:208px; min-width:196px; flex:none; }
.ads-toolbar .br-date-range .ax-date-wrap .ax-date, .ads-detail-tools .br-date-range .ax-date-wrap .ax-date{ width:100%; }
.ads-page > .br-filter-bar{ flex:none; margin:0; }
.ads-toolbar > button, .ads-toolbar .toolbar-tail{ flex:none; }
.ads-shop-name{ min-width:140px; white-space:nowrap; }
.ads-account-pill{ flex:none; font-size:12px; color:#526176; background:#f4f5f7; border:1px solid rgba(0,0,0,.06); border-radius:10px; padding:0 10px; height:32px; display:inline-flex; align-items:center; white-space:nowrap; font-variant-numeric:tabular-nums; }
.ads-viewbar{ display:flex; align-items:center; gap:10px; flex:none; min-width:0; overflow-x:auto; padding:0 2px 8px; border-bottom:1px solid var(--color-border-2); }
.ads-viewbar > *{ flex:none; white-space:nowrap; }
.ads-viewbar > .ax-select-wrap{ width:196px; flex:none; }
.ads-viewbar > .ax-select-wrap .ax-select{ width:100%; }
.ads-viewbar .toolbar-tail > .ax-select-wrap{ width:132px; flex:none; }
.ads-viewbar .toolbar-tail > .ax-select-wrap .ax-select{ width:100%; }
.ads-viewbar .toolbar-tail{ flex:none; }
.ads-tabs{ display:flex; align-items:center; gap:4px; flex:none; }
.ads-tabs button{ border:0; border-radius:4px; position:relative; flex:none; background:transparent; color:var(--color-text-2); padding:11px 16px; white-space:nowrap; cursor:pointer; font:inherit; }
.ads-tabs button[aria-selected="true"]{ color:rgb(var(--primary-6)); background:rgb(var(--primary-1)); }
.ads-tabs button[aria-selected="true"]::after{ content:""; position:absolute; inset:auto 14px 0; border-bottom:2px solid currentColor; }
.ads-tabs button:focus-visible, .ads-table-host:focus-visible, .ads-name:focus-visible, .ads-cover:focus-visible{ outline:2px solid rgb(var(--primary-6)); outline-offset:2px; }
.ads-toolbar > .ads-toolbar-flex{ flex:1; }
.ads-detailbar{ display:flex; align-items:center; gap:12px; flex:none; min-width:0; }
.ads-crumb{ display:flex; align-items:center; gap:6px; flex:1; min-width:0; overflow-x:auto; white-space:nowrap; padding:2px 0; }
.ads-crumb > *{ flex:none; }
.ads-crumb-sep{ color:var(--color-text-3); }
.ads-crumb-link{ border:0; background:transparent; padding:2px 4px; font:inherit; font-size:13px; color:rgb(var(--primary-6)); cursor:pointer; border-radius:4px; max-width:260px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ads-crumb-link:hover{ background:var(--color-fill-2); }
.ads-crumb-link:focus-visible{ outline:2px solid rgb(var(--primary-6)); outline-offset:2px; }
.ads-crumb-current{ font-weight:500; font-size:13px; max-width:300px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ads-detail-tools{ display:flex; align-items:center; gap:8px; flex:none; margin-left:auto; }
.ads-detail-tools > .ads-search{ width:200px; flex:none; }
.ads-kpi-strip{ display:flex; align-items:stretch; gap:10px; flex:none; overflow-x:auto; padding:2px 0; }
.ads-kpi-item{ display:flex; align-items:baseline; gap:8px; flex:0 0 auto; padding:8px 14px; background:#fff; border:1px solid rgba(0,0,0,.08); border-radius:12px; white-space:nowrap; box-shadow:0 1px 2px rgba(0,0,0,.03); }
.ads-kpi-item span{ font-size:12px; color:#6a6a6a; white-space:nowrap; }
.ads-kpi-item strong{ font-size:15px; font-weight:600; color:#111; font-variant-numeric:tabular-nums; white-space:nowrap; }
.ads-daily-chart{ flex:none; background:#fff; border:1px solid rgba(0,0,0,.08); border-radius:14px; padding:12px 16px; box-shadow:0 1px 2px rgba(0,0,0,.03); }
.ads-daily-chart-head{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:6px; white-space:nowrap; }
.ads-daily-chart-head b{ font-size:13px; font-weight:600; color:#111; white-space:nowrap; }
.ads-daily-chart-tools{ display:inline-flex; align-items:center; gap:8px; flex:none; }
.ads-table-host{ display:flex; flex:1; min-height:240px; min-width:0; }
.ads-table-host > .br-data-table{ flex:1; min-width:0; }
.ads-error, .ads-read-progress{ flex:none; }
.ads-read-progress{ font-size:12px; color:var(--color-text-2); white-space:nowrap; overflow-x:auto; }
.ads-embedded{ height:min(75vh,800px); }
.ads-empty{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; min-height:240px; width:100%; }
.ads-identity{ display:flex; align-items:center; gap:10px; min-width:0; }
.ads-identity-text{ min-width:0; }
.ads-name{ display:block; max-width:100%; padding:0; border:0; background:transparent; font:inherit; font-weight:500; text-align:left; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; color:rgb(var(--primary-6)); cursor:pointer; }
.ads-identity-id{ display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:12px; line-height:20px; color:var(--color-text-3); font-variant-numeric:tabular-nums; }
.ads-product-link{ display:block; min-width:0; text-decoration:none; }
.ads-product-link:hover .ads-name, a.ads-name:hover{ text-decoration:underline; }
.ads-product-link:focus-visible{ outline:2px solid rgb(var(--primary-6)); outline-offset:2px; }
.ads-cover{ width:44px; height:44px; flex:none; border:1px solid var(--color-border-2); border-radius:4px; padding:0; overflow:hidden; position:relative; background:var(--color-fill-2); display:grid; place-items:center; color:var(--color-text-3); }
.ads-cover:not(:disabled){ cursor:pointer; }
.ads-cover img{ width:100%; height:100%; object-fit:cover; }
.ads-cover .ads-cover-play{ position:absolute; color:white; background:rgb(0 0 0 / 45%); border-radius:50%; padding:3px; width:18px; height:18px; }
.ads-video{ width:100%; max-height:55vh; background:#111; }
.ads-material-title{ font-weight:600; margin:14px 0; white-space:nowrap; overflow-x:auto; }
.ads-definitions p{ line-height:1.7; margin:0 0 14px; }
.ads-connection-page{ display:flex; flex-direction:column; flex:1; min-width:0; min-height:0; }
.ads-connection-page > .br-data-table{ flex:1; min-height:0; }
.ads-connection-query{ display:flex; align-items:center; gap:8px; min-width:0; max-width:100%; flex:0 1 390px; }
.ads-connection-query > .ax-input-wrap, .ads-connection-query > .ax-field{ flex:1; min-width:90px; }
.ads-connection-query > button{ flex:none; white-space:nowrap; }
.ads-connection-toolbar .toolbar-tail{ flex-wrap:nowrap; }
.ads-connection-error{ flex:none; margin-bottom:10px; }
.ads-connection-help .ax-drawer-body{ color:var(--color-text-2); font-size:13px; overflow:auto; }
.ads-config-callback{ display:block; max-width:100%; overflow-x:auto; white-space:nowrap; }

/* 广告看板 */
.ads-dash-page{ display:flex; flex-direction:column; gap:16px; padding:2px 2px 24px; min-width:0; }
.dashboard-page.ads-dash-page .ads-dash-filters.ax-filters{ flex-wrap:wrap; row-gap:8px; }
.dashboard-page.ads-dash-page .ads-dash-filters.ax-filters > .ax-filter-fields{ display:flex; align-items:center; gap:10px; flex:1 1 0; flex-wrap:wrap; min-width:0; }
.dashboard-page.ads-dash-page .ads-dash-filters.ax-filters > .ax-filter-actions{ display:inline-flex; align-items:center; gap:8px; flex:0 0 auto; margin-left:auto; }
.ads-dash-fresh{ font-size:12px; color:#6a6a6a; white-space:nowrap; }
.ads-dash-fresh b{ color:#111; font-weight:600; font-variant-numeric:tabular-nums; }
.ads-dash-sync-badge{ font-size:12px; color:#165dff; background:rgba(22,93,255,.08); padding:3px 10px; border-radius:999px; white-space:nowrap; }
.ads-dash-filters .br-date-range{ flex-wrap:nowrap; flex:none; }
.ads-dash-warn-badge{ font-size:12px; color:#ad6800; background:#fff3dd; padding:3px 10px; border-radius:999px; white-space:nowrap; }
.ads-dash-note{ font-size:12px; color:#6a6a6a; white-space:nowrap; font-weight:400; }
.ads-dash-kpis{ display:grid; grid-template-columns:repeat(6, minmax(0, 1fr)); gap:12px; }
.dashboard-page.ads-dash-page .ads-dash-kpi{ padding:14px 16px; min-height:98px; min-width:0; }
.dashboard-page.ads-dash-page .ads-dash-kpi label{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.dashboard-page.ads-dash-page .ads-dash-kpi strong{ font-size:clamp(18px, 1.45vw, 22px); line-height:1.25; font-variant-numeric:tabular-nums; white-space:nowrap; }
.dashboard-page.ads-dash-page .ads-dash-kpi small{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ads-dash-empty-card{ background:#fff; border:1px solid rgba(0,0,0,.08); border-radius:16px; padding:48px 24px; display:flex; flex-direction:column; align-items:center; gap:14px; }
.ads-dash-mid{ display:grid; grid-template-columns:minmax(0, 2fr) minmax(300px, 1fr); gap:16px; min-width:0; align-items:stretch; }
.ads-dash-mid.is-single{ grid-template-columns:minmax(0, 1fr); }
.dashboard-page.ads-dash-page .ads-dash-trend .br-trend-chart{ min-width:0; }
.ads-dash-table-wrap{ width:100%; overflow-x:auto; }
table.ads-dash-table{ width:max-content; min-width:100%; border-collapse:collapse; font-size:13px; }
table.ads-dash-table:not(.arco-table-element) th,
table.ads-dash-table:not(.arco-table-element) td{ padding:10px 12px; border-bottom:1px solid rgba(0,0,0,.06); white-space:nowrap; text-align:left; font-variant-numeric:tabular-nums; }
table.ads-dash-table:not(.arco-table-element) th{ height:36px; padding-top:0; padding-bottom:0; background:#f7f7f7; color:#6a6a6a; font-weight:500; font-size:12px; border-bottom:0; }
table.ads-dash-table:not(.arco-table-element) th:first-child{ border-radius:8px 0 0 8px; }
table.ads-dash-table:not(.arco-table-element) th:last-child{ border-radius:0 8px 8px 0; }
table.ads-dash-table:not(.arco-table-element) td.muted{ color:#919191; }
table.ads-dash-table tbody tr:last-child td{ border-bottom:0; }
.ads-dash-share{ display:inline-flex; flex-direction:column; align-items:flex-end; gap:4px; }
.ads-dash-share i{ display:block; width:56px; height:3px; border-radius:2px; background:#eee; overflow:hidden; }
.ads-dash-share b{ display:block; height:100%; background:#165dff; border-radius:2px; }
table.ads-dash-table:not(.arco-table-element) th.num,
table.ads-dash-table:not(.arco-table-element) td.num{ text-align:right; }
table.ads-dash-table:not(.arco-table-element) th.act,
table.ads-dash-table:not(.arco-table-element) td.act{ text-align:right; }
table.ads-dash-table:not(.arco-table-element) td.strong{ font-weight:600; color:#111; }
table.ads-dash-table tbody tr:hover td{ background:rgba(0,0,0,.025); }
table.ads-dash-table tbody tr.is-active td{ background:rgba(22,93,255,.05); }
.ads-dash-td-empty{ text-align:center !important; color:#6a6a6a; padding:28px 12px !important; }
.ads-dash-link{ border:0; background:transparent; padding:0; font:inherit; font-weight:500; color:#111; cursor:pointer; white-space:nowrap; }
.ads-dash-link:hover{ color:#165dff; text-decoration:underline; }
.ads-dash-split-bar{ display:flex; height:10px; border-radius:999px; overflow:hidden; gap:2px; background:#ececec; margin:4px 0 4px; flex:none; }
.ads-dash-split-seg{ height:100%; transition:width .25s ease; }
.ads-dash-split-row{ padding:12px 0 0; border-top:1px solid rgba(0,0,0,.06); display:flex; flex-direction:column; gap:10px; }
.ads-dash-split-head{ display:flex; align-items:center; justify-content:space-between; gap:8px; white-space:nowrap; }
.ads-dash-split-name{ display:inline-flex; align-items:center; gap:8px; white-space:nowrap; }
.ads-dash-split-name i{ width:8px; height:8px; border-radius:50%; display:inline-block; flex:none; }
.ads-dash-split-name b{ color:#111; font-size:13px; }
.ads-dash-split-name small{ color:#6a6a6a; font-size:12px; }
.ads-dash-split-share{ font-size:14px; font-weight:600; color:#111; font-variant-numeric:tabular-nums; }
.ads-dash-split-metrics{ display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:8px; margin:0; }
.ads-dash-split-metrics div{ min-width:0; }
.ads-dash-split-metrics dt{ font-size:12px; color:#919191; }
.ads-dash-split-metrics dd{ margin:2px 0 0; font-size:13px; font-weight:600; color:#111; font-variant-numeric:tabular-nums; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ads-dash-thumb{ width:38px; height:38px; border-radius:8px; }
.dashboard-page.ads-dash-page .dashboard-kpi-yoy.neutral{ color:#6a6a6a; }
.dashboard-store-details button.active{ background:rgba(22,93,255,.07); border-radius:8px; }

@media (max-width:1280px){
  .ads-dash-kpis{ grid-template-columns:repeat(3, minmax(0, 1fr)); }
  .ads-dash-mid{ grid-template-columns:1fr; }
}
@media (max-width:900px){
}
@media (max-width:760px){
  .ads-dash-kpis{ grid-template-columns:1fr; }
  .ads-connection-toolbar .toolbar-tail{ width:100%; overflow-x:auto; justify-content:flex-start; }
}

/* 投放明细页签（原四个广告明细页合并） */
.ads-tabs{display:flex;gap:4px;height:auto;border-bottom:1px solid #e5e6eb;margin:0 0 10px}
.ads-tab{background:none;border:0;border-bottom:2px solid transparent;padding:6px 14px;font:inherit;font-size:14px;color:#4e5969;cursor:pointer;margin-bottom:-1px}
.ads-tab:hover{color:#1d2129}
.ads-tab.active{color:#165dff;border-bottom-color:#165dff;font-weight:500}

/* 广告看板（2026-12-03 整理）：区块与经营概览同一种卡片（.dash-section），排行与店铺表同一种表头；
   去掉右侧「店铺对比」图（与店铺表重复）和卡片内页签；两个 Top 列表合成一张可按列排序的表。 */
.dashboard-page.ads-dash-page .ads-dash-creative{ gap:10px; }
.dashboard-page.ads-dash-page .ads-top-table .ads-dash-thumb{ flex:none; width:40px; height:40px; border-radius:8px; }
.dashboard-page.ads-dash-page .ads-top-table .ads-top-name{ display:flex; align-items:center; gap:8px; min-width:0; }
.dashboard-page.ads-dash-page .ads-top-table .ads-top-name .rk-name{ flex:0 1 auto; min-width:0; }
.dashboard-page.ads-dash-page .ads-top-table .ads-top-name .tag{ flex:none; }
.dashboard-page.ads-dash-page .ads-top-table a.rk-name{ text-decoration:none; }
.dashboard-page.ads-dash-page .ads-top-table td{ height:56px; }
