/* Uses the BR/Arco typography, colors and table shell. */
.merch-list-page{display:flex;flex-direction:column;flex:1;min-height:0;gap:10px;min-width:0}
.merch-list-page>.br-data-table{flex:1;min-height:0}
.merch-list-page .arco-table-cell,.merch-list-page .arco-table-cell strong,.merch-list-page .arco-table-cell small{white-space:nowrap}
.merch-list-page>.toolbar{flex-wrap:nowrap;overflow-x:auto;flex-shrink:0}
.merch-list-page>.toolbar>.arco-input-search{width:270px;min-width:190px}
.merch-list-page>.toolbar>.arco-select{width:170px;min-width:140px}
.merch-detail-page,.merch-supply-panel{min-width:0;display:flex;flex-direction:column;gap:14px}
.merch-supply-panel>.toolbar,.merch-detail-page>.toolbar{flex-wrap:nowrap;overflow-x:auto}
.merch-supply-panel>.toolbar>*,.merch-detail-page>.toolbar>*{flex-shrink:0;white-space:nowrap}
.merch-detail-page p,.merch-supply-panel p,.merch-derive-stage p{white-space:nowrap;overflow-x:auto}
.merch-detail-page .arco-alert-content,.merch-supply-panel .arco-alert-content{white-space:nowrap;overflow-x:auto}
.merch-detail-page>.card{margin:0;padding:20px;min-width:0}
.merch-section-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:22px 0 12px;white-space:nowrap;min-height:32px}
.merch-form-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.merch-form-columns .arco-form-item{min-width:0}
.merch-content-form .arco-form-item-label-col{white-space:nowrap}
.merch-copy-grid>.arco-form-item{min-width:0}
.merch-description-grid .arco-textarea{line-height:1.6}
.merch-assets-section,.merch-package-section{border-top:1px solid var(--color-border-2);margin-top:22px;padding-top:2px}
.merch-selected-images{display:flex;flex-wrap:wrap;gap:12px;min-height:80px;padding-bottom:6px}
.merch-image-card{border:1px solid var(--color-border-2);border-radius:6px;padding:8px;flex:0 0 196px;background:var(--color-bg-2)}
.merch-image-card>button{width:178px;height:156px;border:0;background:var(--color-fill-1);display:flex;align-items:center;justify-content:center;cursor:zoom-in;padding:0}
.merch-image-card>button>img{max-width:100%;max-height:100%;object-fit:contain}
.merch-image-card small{display:block;white-space:nowrap;margin-top:6px}
.merch-image-card>div{display:flex;flex-wrap:nowrap;justify-content:space-between}
.merch-candidate-images{padding:12px 0;border-top:1px solid var(--color-border-2);margin-top:12px}
.merch-candidate-images summary{white-space:nowrap;margin-bottom:12px;cursor:pointer}
.merch-candidate-images>button{position:relative;border:2px solid transparent;background:var(--color-fill-1);width:96px;height:96px;padding:4px;margin:0 10px 10px 0;vertical-align:top;border-radius:4px;cursor:pointer}
.merch-candidate-images>button.selected{border-color:rgb(var(--primary-6))}
.merch-candidate-images>button img{width:100%;height:100%;object-fit:contain}
.merch-candidate-images>button small{position:absolute;bottom:3px;right:3px;background:rgb(var(--primary-6));color:white;padding:1px 4px}
.merch-package-groups{display:grid;grid-template-columns:minmax(190px,1fr) minmax(0,3fr);gap:16px}
.merch-package-group{min-width:0;padding:16px;border:1px solid var(--color-border-2);border-radius:6px;background:var(--color-bg-2)}
.merch-package-group h3{margin:0 0 14px;font-size:15px;line-height:22px;color:var(--color-text-1);white-space:nowrap}
.merch-package-fields{display:flex;gap:16px;flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px}
.merch-package-fields>label{display:flex;align-items:center;gap:8px;flex:1;min-width:150px;white-space:nowrap}
.merch-package-fields .ax-input-field,.merch-discount-field .ax-input-field{flex:1;min-width:72px}
.merch-discount-field{display:inline-flex;align-items:center;gap:6px}
.merch-row-thumb{height:52px;width:52px;object-fit:contain;display:inline-block;vertical-align:middle;border-radius:4px}
.merch-target-row,.merch-history-row,.merch-preflight-row{display:flex;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid var(--color-border-2);white-space:nowrap;overflow-x:auto}
.merch-target-row>.arco-checkbox{flex:1;min-width:180px}
.merch-target-row>.arco-input-number{width:130px;flex-shrink:0}
.merch-derive-stage{margin:24px 0;min-height:150px}
.merch-tabs{display:flex;gap:10px;white-space:nowrap;overflow-x:auto;padding:4px 0}
.merch-preflight-row>.tag{min-width:110px;text-align:center}
.merch-preflight-row>.arco-btn{margin-left:auto}
.merch-history-row{align-items:baseline}
.merch-history-row>small{max-width:240px;overflow:hidden;text-overflow:ellipsis}
.merch-price-warnings{color:var(--color-text-3);white-space:nowrap;overflow-x:auto;margin:0 0 12px}
.merch-detail-page .br-data-table,.merch-supply-panel .br-data-table{min-height:190px}
.merch-detail-page .arco-table-cell,.merch-supply-panel .arco-table-cell{white-space:nowrap}
@media(max-width:760px){.merch-form-columns,.merch-copy-grid,.merch-package-groups{grid-template-columns:1fr;gap:0}
.merch-detail-page>.card{padding:14px}
.merch-package-group{padding:14px}
.merch-package-group+.merch-package-group{margin-top:12px}
.merch-package-fields>label{min-width:150px}
.merch-supply-panel>.toolbar>.toolbar-tail{margin-left:0}
.merch-section-head .muted{min-width:max-content}}
.supply-link-panel{min-width:0;padding:14px}
.supply-link-summary{display:flex;align-items:center;gap:18px;white-space:nowrap;overflow-x:auto;margin-top:14px}
.supply-link-mapping{display:flex;align-items:center;gap:16px;margin:12px 0;white-space:nowrap;overflow-x:auto}
.supply-link-mapping label{flex:0 0 220px}
.supply-link-mapping .arco-select-view{min-width:300px;flex:1}
.supply-link-panel>.toolbar,.supply-link-modal .toolbar{flex-wrap:nowrap;overflow-x:auto}
.supply-link-panel>.toolbar>*,.supply-link-modal .toolbar>*{flex-shrink:0;white-space:nowrap}
.supply-link-modal p{white-space:nowrap;overflow-x:auto}
.supply-link-modal .arco-table-cell{white-space:nowrap}
.merch-price-head>*{flex-shrink:0}
.merch-price-head>.toolbar-tail{flex:none;width:auto;margin-left:auto}
.merch-inherited-fields{margin:0 0 20px}
.merch-inherited-fields label{display:block;margin-bottom:8px;white-space:nowrap;color:var(--color-text-2)}
.merch-inherited-value{display:flex;gap:8px;align-items:center;min-height:32px;min-width:0;white-space:nowrap;overflow-x:auto}
.merch-inherited-value>span{flex:1;white-space:nowrap}
.merch-inherited-value>.arco-btn{flex:none}
.required-marker,.field-error{color:rgb(var(--danger-6))}
.field-error{margin:8px 0;white-space:nowrap;overflow-x:auto}
.merch-sku-head>*{flex-shrink:0}
.merch-sku-head>.toolbar-tail{flex:none;width:auto;margin-left:auto}
.merch-sku-picture{display:flex;align-items:center;gap:10px;white-space:nowrap}
.merch-sku-thumb{width:56px;height:56px;padding:2px;flex:none;background:var(--color-fill-1);border:1px solid var(--color-border-2);border-radius:4px;cursor:zoom-in}
.merch-sku-thumb img{width:50px;height:50px;object-fit:contain}
.merch-sku-picture>.arco-select{width:120px;flex:none}
.merch-edit-bar{position:sticky;bottom:0;z-index:5;display:flex;align-items:center;gap:16px;background:var(--color-bg-2);border:1px solid var(--color-border-2);border-radius:6px;padding:12px 16px;white-space:nowrap;overflow-x:auto;flex:none;min-height:56px}
.merch-edit-bar>*{flex-shrink:0}
.merch-edit-bar>.toolbar-tail{flex:none;width:auto;margin-left:auto}
@media(max-width:760px){.merch-edit-bar>.muted{display:none}}
.operating-task-row{border-top:1px solid var(--color-border-2);padding:16px 0}
.operating-task-row>div{display:flex;gap:12px;align-items:center;flex-wrap:nowrap}
.operating-task-row p{margin:8px 0;white-space:nowrap;overflow:auto}
.operating-task-actions{display:flex;gap:8px}
.operating-event-list{list-style:none;padding:0;display:grid;gap:16px}
.operating-event-list li{display:grid;gap:6px;overflow:auto}
.operating-event-list strong{white-space:nowrap}
.operating-event-list small{color:var(--color-text-3)}
.store-facts{display:grid;grid-template-columns:110px minmax(0,1fr);gap:18px;margin-bottom:0}
.store-facts dt{color:var(--color-text-3);white-space:nowrap}
.store-facts dd{margin:0;min-width:0;white-space:normal}
.store-description{white-space:pre-wrap}
.merch-detail-page .detail-object-topline{flex-wrap:wrap}
.merch-detail-page .detail-object-topline .arco-btn{flex-shrink:0}
.merch-category-row>.merch-category-platform,.merch-category-row>.arco-select,.merch-category-row>.muted,.merch-category-row>.arco-btn{flex-shrink:0}
.merch-category-row>.arco-select{flex:1;min-width:280px;max-width:680px}
.operating-task-row>div{overflow-x:auto}
.operating-task-row>div>*{flex-shrink:0;white-space:nowrap}
.store-facts .store-description{white-space:pre-wrap;line-height:1.65}
.store-category-id{display:block;color:var(--color-text-3);margin-top:6px}
.store-package-grid{display:grid;grid-template-columns:repeat(3,minmax(130px,1fr));gap:20px;margin:0;padding-bottom:6px}
.store-package-grid dt{color:var(--color-text-3);margin-bottom:8px;white-space:nowrap}
.store-package-grid dd{margin:0;color:var(--color-text-1);font-weight:600;white-space:nowrap}
.store-shipping-estimate{margin-bottom:0}
/* Read mode keeps saved product text legible while edit controls remain disabled. */
.merch-content-form .arco-input[disabled],.merch-content-form .arco-textarea[disabled],.merch-detail-page .arco-input[readonly]{color:var(--color-text-1);-webkit-text-fill-color:var(--color-text-1);opacity:1}
.store-media-layout{display:flex;gap:24px;align-items:flex-start}
.store-product-images{flex:0 1 auto;min-width:0}
.store-video-block{flex:0 0 200px}
.store-video-block h3,.store-logistics-grid h3{font-size:14px;font-weight:600;line-height:22px;margin:0 0 12px;white-space:nowrap}
.store-video-block video,.store-video-empty{display:block;box-sizing:border-box;width:200px;height:200px;border:1px solid var(--color-border-2);border-radius:6px;background:var(--color-fill-1)}
.store-video-empty{border-style:dashed;background:transparent}
.store-logistics-grid{display:grid;grid-template-columns:minmax(150px,1fr) minmax(430px,3fr);gap:24px;overflow-x:auto}
.store-package-weight p{font-weight:600;margin:0;white-space:nowrap}
@media(max-width:900px){.store-media-layout{flex-direction:column}
.store-video-block{flex-basis:auto}}
.store-language{color:var(--color-text-3);font-size:12px;flex:0 0 32px;white-space:nowrap}
.store-source-title,.store-title-zh,.store-inline-pair{display:flex;align-items:baseline;gap:12px;min-width:0;white-space:nowrap}
.store-inline-pair{margin-bottom:6px;overflow-x:auto}
.store-description-pair{min-width:0;margin:0}
.store-copy-grid{display:grid;grid-template-columns:repeat(2,minmax(320px,1fr));gap:24px}
.store-copy-grid h3{font-size:13px;line-height:22px;margin:0 0 8px;color:var(--color-text-3);font-weight:500;white-space:nowrap}
.store-copy-grid .store-description{white-space:pre-wrap;line-height:1.7;margin:0}
.page-title.store-price-title{overflow-x:auto}
.store-supply-links{display:flex;gap:8px;flex-wrap:wrap}
.store-supply-links .arco-btn{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.supply-linked-stores{margin-top:20px;border-top:1px solid var(--color-border-2);padding-top:12px;overflow-x:auto}
.supply-link-list{min-width:0}
.supply-link-list>.supply-linked-stores{margin:0;padding:14px;border:1px solid var(--color-border-2);border-radius:8px;background:var(--color-bg-2)}
.supply-link-list{display:flex;flex-direction:column;gap:16px}
.supply-link-list>.supply-link-panel{margin:0;border:1px solid var(--color-border-2);border-radius:8px;background:var(--color-bg-2)}
.supply-link-list .supply-link-summary{gap:16px}
.supply-link-list .toolbar>.toolbar-tail{flex:none;width:auto;margin-left:auto}
.supply-link-list .toolbar{flex-wrap:nowrap;overflow-x:auto}
.supply-link-list .toolbar>*,.supply-link-list .supply-link-summary>*{flex-shrink:0;white-space:nowrap}
@media(max-width:600px){.supply-link-list .arco-table-col-fixed-left,.supply-link-list .arco-table-col-fixed-right{position:static!important}}
/* Association cards share the standard detail thumbnail and identity hierarchy. */
.supply-link-panel .supply-link-summary{min-width:0;overflow:visible;gap:14px}
.supply-link-panel .supply-link-product-info{flex:1;min-width:0;flex-shrink:1}
.supply-link-product-info>strong{display:block;max-width:100%;overflow-x:auto;white-space:nowrap;line-height:1.6;margin-bottom:6px}
.supply-link-product-meta{display:flex;align-items:center;gap:14px;max-width:100%;overflow-x:auto;white-space:nowrap;line-height:1.6;color:var(--color-text-2)}
.supply-link-product-meta>*{flex-shrink:0}
.supply-link-product-kind{color:var(--color-text-3)}
.supply-link-panel .supply-link-picture{flex:0 0 64px;width:64px;height:64px}
.supply-link-picture img{width:54px;height:54px;object-fit:contain}
img[data-thumb-error="true"]{visibility:hidden}
/* Shop product detail: per-channel performance block */
.store-perf{margin-top:0}
.store-product-ads{display:flex;flex-direction:column;gap:14px;margin:0 0 16px;min-width:0}
.store-ads-toolbar{height:auto;min-height:0;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:10px 14px;background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:16px;box-shadow:0 1px 2px rgba(0,0,0,.04);min-width:0}
.store-ads-view-tabs.ax-segment{flex:none;max-width:100%;overflow-x:auto}
.store-ads-filters{display:flex;align-items:center;gap:8px;min-width:0;max-width:100%;margin-left:auto;overflow-x:auto;white-space:nowrap}
.store-ads-filters>*{flex:none}
.store-ads-live-pill{display:inline-flex;align-items:center;padding:2px 9px;border-radius:999px;background:#f2f6ff;color:#165dff;font-size:11px;font-weight:500;white-space:nowrap}
.store-ads-summary{min-width:0;border:1px solid rgba(0,0,0,.08);border-radius:16px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.04);overflow:hidden}
.store-ads-primary-kpis{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));overflow-x:auto}
.store-ads-primary-kpis article{padding:16px 20px;min-width:0;border-right:1px solid rgba(0,0,0,.06)}
.store-ads-primary-kpis article:last-child{border-right:0}
.store-ads-primary-kpis span,.store-ads-secondary-kpis span{display:block;font-size:12px;color:#6a6a6a;white-space:nowrap}
.store-ads-primary-kpis strong{display:block;font-size:22px;line-height:28px;margin-top:6px;font-weight:700;color:#111;letter-spacing:-.02em;font-variant-numeric:tabular-nums;white-space:nowrap}
.store-ads-primary-kpis .is-accent{background:#f7faff}
.store-ads-primary-kpis .is-accent strong:not(.store-metric-empty){color:#165dff}
.store-ads-secondary-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));padding:12px 6px;border-top:1px solid rgba(0,0,0,.06);background:#fafafa;overflow-x:auto}
.store-ads-secondary-kpis article{padding:2px 14px;min-width:0;border-right:1px solid rgba(0,0,0,.05)}
.store-ads-secondary-kpis article:last-child{border-right:0}
.store-ads-secondary-kpis strong{display:block;font-size:15px;line-height:22px;margin-top:3px;font-weight:600;color:#111;font-variant-numeric:tabular-nums;white-space:nowrap}
.store-ads-message{font-size:12px;color:#6a6a6a;margin:0;padding:10px 20px;border-top:1px solid rgba(0,0,0,.06);background:#fafafa;white-space:nowrap;overflow-x:auto}
.store-ads-analytics{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,340px);gap:14px;min-width:0;align-items:stretch}
.store-ads-section{display:flex;flex-direction:column;gap:12px;min-width:0;padding:18px 20px;background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:16px;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.store-ads-section>.br-data-table{flex:none;min-height:0;border:1px solid #eef0f3;border-radius:8px;box-shadow:none;overflow-x:auto;overflow-y:hidden;background:#fff}
.store-ads-section .store-ads-source-child{display:inline-flex!important;align-items:center;padding-left:20px!important;background:transparent;border:0;cursor:pointer}
.store-ads-section .br-data-table .arco-table-th{background:#f7f8fa!important;color:#526176!important;font-size:11px!important;font-weight:600!important;padding:6px 10px!important;height:32px!important;border-bottom:1px solid #eef0f3!important}
.store-ads-section .br-data-table .arco-table-td,.store-ads-section .br-data-table .arco-table-tr:nth-child(even) .arco-table-td{height:33px!important;padding:6px 10px!important;font-size:12px!important;line-height:18px!important;color:#1d2939!important;background:#fff!important;border-bottom:1px solid #f2f3f5!important;font-variant-numeric:tabular-nums}
.store-ads-section .br-data-table .arco-table-td::before,.store-ads-section .br-data-table .arco-table-th::before{background:transparent!important}
.store-ads-section .br-data-table .arco-table-col-fixed-left-last::after{box-shadow:none!important}
.store-ads-section .br-data-table .arco-table-tr:last-child .arco-table-td{border-bottom:0!important}
.store-ads-section .br-data-table .arco-table-tr:hover .arco-table-td{background:#f7f9fc!important}
.store-ads-section .br-data-table .arco-table-tr:has(.store-ads-src-total) .arco-table-td{background:#f4fbf7!important}
.store-ads-section .br-data-table .arco-table-tr:has(.store-ads-src-total):hover .arco-table-td{background:#eaf7ef!important}
.store-ads-section .br-data-table .arco-table-tr:has(.store-ads-src-total) .arco-table-td:first-child{color:#00865a!important;font-weight:600}
.store-ads-section .br-data-table .arco-table-cell{padding:0!important}
.store-ads-src{display:inline-flex;align-items:center;gap:0;font-size:12px;font-weight:600;color:#1d2939;white-space:nowrap}
.store-ads-src em{font-style:normal;margin-left:5px;color:#86909c;font-size:11px;font-weight:400}
.store-ads-src-total{color:#00865a}
.store-ads-src-total .store-channel-dot{background:#009a29}
.store-ads-src-ad .store-channel-dot{background:#722ed1}
.store-ads-src-organic{color:#526176;font-weight:500}
.store-ads-src-organic .store-channel-dot{background:#14c9c9}
.store-ads-src-card{color:#165dff;font-weight:500}
.store-ads-src-card .store-channel-dot{background:#165dff}
.store-ads-src-material{color:#0e9f6e;font-weight:500}
.store-ads-src-material .store-channel-dot{background:#0e9f6e}
.store-ads-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.store-ads-section-head h3{font-size:14px;font-weight:600;color:#111;margin:0;white-space:nowrap;flex:none}
.store-ads-section-head>.ax-select{max-width:190px}
.store-ads-table-controls,.store-ads-trend-controls{display:flex;align-items:center;gap:8px;min-width:0;max-width:100%;overflow-x:auto;white-space:nowrap}
.store-ads-table-controls>*{flex:none}
.store-ads-trend-controls{min-height:32px;justify-content:space-between}
.store-ads-trend-controls>.ax-select{width:100%;max-width:100%;min-width:0}
.store-product-ads .ax-dialog-body>[data-table-id="store-product-ad-materials"]{margin-top:12px}
.store-ads-share{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-width:0;flex:1}
.store-ads-share-ring{width:136px;height:136px;border-radius:50%;display:grid;place-items:center;flex:none}
.store-ads-share-ring>div{width:100px;height:100px;border-radius:50%;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;white-space:nowrap;padding:4px;box-sizing:border-box}
.store-ads-share-ring b{font-size:13px;line-height:17px;font-weight:700;color:#111;font-variant-numeric:tabular-nums;max-width:92px;overflow:hidden;text-overflow:ellipsis}
.store-ads-share-ring small{font-size:11px;color:#6a6a6a;max-width:88px;overflow:hidden;text-overflow:ellipsis}
.store-ads-share-legend{border-collapse:collapse;width:100%;font-size:12px}
.store-ads-share-legend th,.store-ads-share-legend td{text-align:right;padding:8px 0;white-space:nowrap;border-bottom:1px solid rgba(0,0,0,.06);font-variant-numeric:tabular-nums}
.store-ads-share-legend th:first-child{text-align:left;padding-right:8px}
.store-ads-share-legend thead th{font-weight:500;color:#6a6a6a;font-size:11px}
.store-ads-share-legend tbody td:last-child{font-weight:600;color:#111}
.store-ads-share-legend tfoot th,.store-ads-share-legend tfoot td{border-bottom:0;color:#6a6a6a;font-weight:500}
.store-ads-share-legend i{display:inline-block;width:7px;height:7px;border-radius:2px;margin-right:6px}
.store-ads-definitions{background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:16px;padding:12px 18px;font-size:12px;color:#6a6a6a;min-width:0}
.store-ads-definitions summary{cursor:pointer;white-space:nowrap;color:#474747;font-weight:500;width:max-content;max-width:100%}
.store-ads-definitions p{margin:10px 0 0;line-height:1.7;white-space:nowrap;overflow-x:auto}
@media(max-width:1100px){.store-ads-analytics{grid-template-columns:minmax(0,1fr)}
.store-ads-composition .store-ads-share{flex-direction:row;gap:24px;padding:6px 0}
.store-ads-composition .store-ads-share-legend{max-width:540px}}
@media(max-width:600px){.store-ads-toolbar{padding:8px;gap:8px}
.store-ads-view-tabs{width:100%}
.store-ads-filters{width:100%;margin-left:0}
.store-ads-primary-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
.store-ads-primary-kpis article{padding:12px}
.store-ads-primary-kpis article:nth-child(2){border-right:0}
.store-ads-primary-kpis article:nth-child(n+3){border-top:1px solid var(--color-border-2)}
.store-ads-primary-kpis strong{font-size:20px}
.store-ads-primary-kpis span{font-size:11px}
.store-ads-secondary-kpis{grid-auto-columns:142px}
.store-ads-section{padding:12px}
.store-ads-section-head{flex-wrap:wrap;gap:10px}
.store-ads-section-head>.ax-select{margin-left:auto}
.store-ads-table-controls{width:100%}
.store-ads-composition .store-ads-share{flex-direction:column;gap:12px}}
.br-metric-value,.br-metric-share{white-space:nowrap}
.br-metric-share{display:inline;margin-left:8px;color:var(--color-text-2);font-size:12px;line-height:inherit;font-variant-numeric:tabular-nums}
.store-perf.show-shares .store-perf-table{overflow-x:auto}
.store-perf.show-shares .store-perf-row{min-width:1520px;grid-template-columns:minmax(120px,1.1fr) repeat(7,minmax(140px,1fr)) minmax(200px,1.3fr) minmax(100px,1fr)}
.store-perf.show-shares .store-perf-day-row{min-width:1650px;grid-template-columns:130px 120px repeat(7,minmax(140px,1fr)) minmax(200px,1.3fr) minmax(100px,1fr)}
.store-ads-panel{min-width:0}
.store-ads-expand{border:0;padding:0;background:transparent;color:var(--color-text-1);font:inherit;cursor:pointer;white-space:nowrap}
.store-ads-expand:focus-visible{outline:2px solid rgb(var(--primary-6));outline-offset:3px}
.store-ads-source-child{display:block;padding-left:22px;white-space:nowrap}
.store-perf-table{display:flex;flex-direction:column;gap:0;border:1px solid #eef0f3;border-radius:6px;overflow:hidden;background:#fff}
.store-perf-row{display:grid;grid-template-columns:minmax(96px,1.1fr) repeat(9,minmax(64px,1fr));gap:0;align-items:center;padding:7px 10px;font-size:12px;border-top:1px solid #f2f3f5;font-variant-numeric:tabular-nums}
.store-perf-row:first-child{border-top:0}
.store-perf-row>span{text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 4px}
.store-perf-row>span:first-child{text-align:left}
.store-perf-head{background:#f7f8fa;color:#526176;font-size:11px;font-weight:600}
.store-perf-label{color:#1d2939;font-weight:600}
.store-perf-total .store-perf-label{color:#00865a}
.store-perf-affiliate .store-perf-label{color:#165dff}
.store-perf-card .store-perf-label{color:#526176}
.store-perf-days{margin-top:10px}
.store-perf-days summary{cursor:pointer;color:#165dff;font-size:12px;padding:4px 0}
.store-perf-day-row{grid-template-columns:minmax(96px,0.9fr) minmax(88px,0.9fr) repeat(9,minmax(70px,1fr))}
.store-perf-day-head{background:#f7f8fa;color:#526176;font-size:11px;font-weight:600}
@media(max-width:760px){.store-perf-row{grid-template-columns:minmax(80px,1fr) repeat(9,minmax(52px,1fr));padding:6px}
.store-perf-row.store-perf-day-row{grid-template-columns:minmax(80px,1fr) minmax(80px,1fr) repeat(9,minmax(58px,1fr))}}
/* Shop product detail tabs + full-history daily list */
.store-product-ads>.ax-segment{margin:0 0 10px}
.store-perf-days-head{display:flex;align-items:baseline;gap:10px;margin:14px 0 6px;flex-wrap:wrap}
.store-perf-days-tail{margin-left:auto}
.store-perf-days-head strong{font-size:13px;color:#1d2939;white-space:nowrap}
.store-perf-days-scroll{max-height:clamp(420px,62vh,720px);overflow:auto}
.store-perf-day-head{position:sticky;top:0;z-index:1}
.store-perf-note{margin:8px 0 0;font-size:11px;color:#86909c;line-height:1.6}
/* 列表页表体贴底：组件根容器的表格不要外层 12px 间距 */
.merch-list-page>.br-data-table{margin-bottom:0}
.store-status-sync.error{color:rgb(var(--danger-6))}
/* 平台状态：每种阶段不同语义颜色 + 圆点，同步中的点会呼吸。文字单行不换行。 */
.store-phase{display:inline-flex;align-items:center;gap:5px;font-size:12px;line-height:18px;white-space:nowrap;padding:2px 9px 2px 7px;border-radius:999px;border:1px solid transparent;background:#f2f3f5;color:#4e5969}
.store-phase b{font-weight:600}
.store-phase-dot{width:6px;height:6px;border-radius:50%;background:currentColor;flex:none;opacity:.92}
.store-phase-listed{background:#e8ffea;color:#00802b;border-color:#c3f0cb}
.store-phase-reviewing{background:#e8f3ff;color:#165dff;border-color:#bedaff}
.store-phase-syncing{background:#e8f3ff;color:#165dff;border-color:#bedaff}
.store-phase-failed{background:#ffece8;color:#cb2634;border-color:#fdcdc5}
.store-phase-draft{background:#fff7e8;color:#b85d00;border-color:#ffe4ba}
.store-phase-delisted{background:#f2f3f5;color:#4e5969;border-color:#e5e6eb}
.store-phase-deleted{background:#f7f8fa;color:#86909c;border-color:#e5e6eb}
.store-phase-uncertain{background:#fff7e8;color:#c75000;border-color:#ffd8a6}
.store-phase-cancelled{background:#f2f3f5;color:#6b7280;border-color:#e5e6eb}
.store-phase-syncing .store-phase-dot{animation:store-phase-pulse 1.4s ease-in-out infinite}
.store-phase-busy{box-shadow:inset 0 0 0 1px #94bfff}
@keyframes store-phase-pulse{0%,100%{opacity:.35}50%{opacity:1}}
@media (prefers-reduced-motion:reduce){.store-phase-syncing .store-phase-dot{animation:none}}
/* 店铺商品列表：清爽 Astryx 工具栏 + 层次化单元格 */
.store-products-page>.store-products-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;overflow-x:auto;padding:8px 12px}
@media(max-width:600px){.store-products-page>.store-products-toolbar .toolbar-tail{flex-wrap:wrap;margin-left:0}}
.store-products-toolbar>.store-filter-search{width:236px;min-width:180px;flex:0 0 236px}
.store-products-toolbar>.store-filter-shop{width:168px;min-width:136px;flex:0 0 168px}
.store-products-toolbar>.store-filter-status{width:124px;min-width:110px;flex:0 0 124px}
.store-products-toolbar .store-query-btn{background:#1b1b1b!important;color:#fff!important;border-color:#1b1b1b!important}
.store-products-toolbar .store-query-btn:hover{background:#2d2d2d!important;border-color:#2d2d2d!important}
.store-sync-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#00b42a;margin-right:6px;vertical-align:middle}
.store-sync-dot.syncing{background:#165dff;animation:store-phase-pulse 1.4s ease-in-out infinite}
.store-sync-dot.error{background:#f53f3f}
.store-row-thumb{width:46px;height:46px;padding:2px;border:1px solid #e5e6eb;border-radius:6px;background:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:zoom-in;transition:border-color .15s ease,transform .15s ease}
.store-row-thumb:hover{border-color:#94bfff;transform:scale(1.04)}
.store-row-thumb img{width:100%;height:100%;object-fit:contain;border-radius:4px}
.store-thumb-empty{width:46px;height:46px;border-radius:6px;border:1px dashed #e5e6eb;background:#f7f8fa;color:#c9cdd4;display:inline-flex;align-items:center;justify-content:center;font-size:18px}
.store-thumb-empty.is-sm{width:44px;height:44px;font-size:16px}
.store-product-cell{display:flex;flex-direction:column;gap:2px;min-width:0;padding:2px 0}
.store-product-meta{display:flex;align-items:center;gap:6px;min-width:0;line-height:16px}
.store-product-id{font-size:11px;color:#86909c;font-variant-numeric:tabular-nums;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.store-shop-pill{font-size:11px;line-height:16px;padding:0 6px;border-radius:4px;background:#f2f3f5;color:#4e5969;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:120px}
.store-cat-leaf{color:#374151;font-size:12px}
.store-supply-pill{display:inline-flex;align-items:center;gap:4px;font-size:12px;line-height:18px;padding:1px 8px;border-radius:999px;font-variant-numeric:tabular-nums;white-space:nowrap}
.store-supply-pill.is-done{background:#e8ffea;color:#00802b}
.store-supply-pill.is-partial{background:#fff7e8;color:#b85d00}
.store-supply-pill.is-none{background:#f2f3f5;color:#86909c}
.store-price-text{font-variant-numeric:tabular-nums;font-weight:500;color:#1d2129}
.store-metric-empty{color:#c9cdd4}
.store-stock-zero{color:#cb2634;font-weight:600}
.store-row-actions{display:inline-flex;align-items:center;gap:2px;white-space:nowrap}
.store-row-actions .ax-btn,.store-row-actions button{padding:0 5px!important;min-width:0!important}
.store-row-actions .store-action-danger{color:#b45353!important}
.store-row-actions .store-action-danger:hover{color:#cb2634!important;background:#fff1f0!important}
/* 展开 SKU 子面板：柔和灰底 + 左侧品牌色条 */
.store-sku-panel{padding:12px 18px!important;background:#f7f9fc!important;border-left:3px solid #165dff}
.store-sku-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.store-sku-heading strong{font-size:13px;color:#1d2129}
.store-sku-table{background:#fff;border:1px solid #e5e6eb;border-radius:6px;overflow:hidden}
.store-sku-table th,.store-sku-table td{padding:8px 12px!important;font-size:12px}
.store-sku-table th.num,.store-sku-table td.num{text-align:right;font-variant-numeric:tabular-nums}
.store-sku-table td.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}
.store-sku-table tbody tr:hover{background:#f7f9fc}
.store-sku-variant{font-weight:500;color:#1d2129}
/* 指标列：等宽数字，便于纵向对比；空值弱化。 */
.store-metric{font-variant-numeric:tabular-nums;white-space:nowrap}
.metric-picker-modal .metric-picker{grid-template-columns:1.15fr 1fr}
.metric-order-row.dragging{opacity:.55;border-style:dashed}
@media(max-width:1520px){.merch-list-page>.toolbar .store-status-sync{display:none}
.merch-list-page>.toolbar{gap:6px}
.store-products-toolbar>.store-filter-search{width:190px;min-width:150px;flex:0 0 190px}
.store-products-toolbar>.store-filter-shop{width:142px;min-width:118px;flex:0 0 142px}
.store-products-toolbar>.store-filter-status{width:114px;min-width:100px;flex:0 0 114px}
.merch-list-page>.toolbar>.toolbar-tail{gap:6px}}
/* 工具条尾部整组不压缩：压缩会让右侧主操作溢出到可视区外 */
.merch-list-page>.toolbar{gap:8px}
.merch-list-page>.toolbar>.toolbar-tail,.merch-list-page>.toolbar>*{flex:none;width:auto}
.merch-list-page>.toolbar>.toolbar-tail{margin-left:auto}
/* 时间段分组表头：一个浅色带只写一次时间段，下方是各指标列头 */
.merch-list-page .arco-table .arco-table-th.store-metric-group-head{background:#eef2f7;color:#4b5563;font-size:12px;font-weight:600;letter-spacing:.02em;white-space:nowrap;border-bottom:1px solid #e2e6ee}
.merch-list-page .arco-table .arco-table-th.store-metric-group-head .arco-table-cell{color:#4b5563}
/* 右对齐数值列等宽数字，方便逐行比较 */
.merch-list-page .arco-table .arco-table-td.arco-table-cell-align-right,.merch-list-page .arco-table .arco-table-th.arco-table-cell-align-right{font-variant-numeric:tabular-nums}
/* 固定操作列加左向阴影，提示右侧还有内容可滚 */
.merch-list-page .arco-table-th.arco-table-col-fixed-right-first,
.merch-list-page .arco-table-td.arco-table-col-fixed-right-first{box-shadow:-10px 0 12px -10px rgba(15,23,42,.28)}
/* 自定义指标弹窗：每个时间段一组，六项指标按 3×2 对齐，避免行尾落单 */
.metric-picker-modal .metric-picker-options{grid-template-columns:1fr;max-height:352px}
.metric-picker-modal .metric-picker-group{display:grid;grid-template-columns:repeat(3,minmax(92px,1fr));gap:6px 10px;margin-bottom:12px}
.metric-picker-modal .metric-picker-group .arco-checkbox{white-space:nowrap;min-width:0}
.metric-picker-modal .metric-picker-group>b{grid-column:1/-1;font-size:12px;color:var(--color-text-2);font-weight:600}
.metric-picker-modal .metric-picker-group .arco-checkbox{margin:0}
/* 操作列：按实际按钮数收窄，单元格左右内边距减半，避免大片空白 */
.merch-list-page .arco-table-td.arco-table-col-fixed-right-first{white-space:nowrap}
.merch-list-page .arco-table-td.arco-table-col-fixed-right-first,.merch-list-page .arco-table-th.arco-table-col-fixed-right-first{padding-left:8px;padding-right:8px}
.merch-list-page .arco-table-td.arco-table-col-fixed-right-first .arco-btn{min-width:0;padding:0 6px}
