/* Step 02 is the only SKU editor. Step 04 is a short publication review. */
.commerce-publish-card .commerce-distribution button{background:#fff!important;color:#30412c!important}.commerce-publish-card .commerce-distribution #commerceDistributionStart{background:#d8efaa!important}
.commerce-distribution{border:1px solid #dce3d7;border-radius:10px;padding:14px;margin-top:16px;color:#30412c}.commerce-distribution>summary{font-size:14px;font-weight:700;cursor:pointer}.commerce-distribution p{font-size:12px;line-height:1.7;color:#596853}.commerce-distribution-toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:10px}.commerce-distribution-toolbar>label{display:grid;gap:5px;font-size:12px;min-width:220px}.commerce-distribution button,.commerce-distribution select{border:1px solid #ccd7c4;border-radius:6px;padding:8px 12px;font-size:12px;background:#fff;color:#30412c;min-height:34px}.commerce-distribution-targets{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;margin-top:14px}.commerce-distribution-targets fieldset{border:1px solid #e0e5db;border-radius:8px;padding:10px;min-width:0}.commerce-distribution-targets legend{font-size:12px;font-weight:700;max-width:100%;overflow-wrap:anywhere}.commerce-distribution-targets label{display:flex;align-items:center;gap:8px;font-size:12px;padding:5px}.commerce-distribution input[type=checkbox]{width:16px;height:16px;min-height:0}.commerce-distribution label:has(:disabled){opacity:.5}#commerceDistributionStart{background:#d8efaa;border-color:#c0d394;font-weight:700}#commerceDistributionResults article{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px 12px;padding:12px 0;border-bottom:1px solid #e0e5db;font-size:12px}#commerceDistributionResults article>div{display:grid;gap:5px}#commerceDistributionResults article p{flex-basis:100%;margin:0;color:#81562e}#commerceDistributionResults a{color:#456733}@media(max-width:600px){.commerce-distribution-targets{grid-template-columns:minmax(0,1fr)}.commerce-distribution-toolbar>label{min-width:0;width:100%}}
.commerce-project-saved{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:8px 16px;font-size:12px;color:#49613e;background:#f2f7e9;border-bottom:1px solid #dfe7d7}.commerce-project-saved[hidden]{display:none}.commerce-project-saved a{color:#36522a;white-space:nowrap;text-decoration:underline}
.commerce-read-product-head{flex-wrap:nowrap;min-width:0;gap:12px}
.commerce-read-product-head .commerce-read-product-label{flex:none}
.commerce-reference-product-switcher-inline{min-width:0;flex:1;display:flex;flex-wrap:nowrap;overflow-x:auto}
.commerce-reference-product-switcher-inline .commerce-reference-store{display:flex;align-items:center;flex-wrap:nowrap;gap:9px;min-width:0;flex:0 0 auto;max-width:100%;white-space:nowrap}
.commerce-reference-product-switcher-inline .commerce-reference-store>button{display:flex;align-items:center;flex-wrap:nowrap;gap:10px;min-width:0;flex:1;padding:7px 10px}
.commerce-reference-product-switcher-inline .commerce-reference-store>button b{flex:1;min-width:60px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.commerce-reference-product-switcher-inline .commerce-reference-store>button span{flex:0 1 auto;min-width:45px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.commerce-reference-product-switcher-inline .commerce-shop-source{flex:none;white-space:nowrap;font-size:12px}
@media(max-width:600px){.commerce-read-product-head{display:block}.commerce-reference-product-switcher-inline{width:100%;margin-top:6px}.commerce-reference-product-switcher-inline .commerce-reference-store{max-width:none}.commerce-reference-product-switcher-inline .commerce-reference-store>button b{max-width:110px}.commerce-reference-product-switcher-inline .commerce-reference-store>button span{max-width:80px}}
.commerce-details-step .commerce-brief-grid{grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
.commerce-details-step .commerce-brief-grid>*,.commerce-details-step .commerce-sku-publishing-settings{grid-column:1/-1;min-width:0}
.commerce-details-step .commerce-upload{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 16px;padding:14px 16px;border:1px solid #dce3d7;border-radius:10px;background:#f8faf6}
.commerce-details-step .commerce-upload>div:first-child{order:0;gap:5px}
.commerce-details-step .commerce-upload>label{order:1;min-height:36px;padding:8px 14px;align-self:start;font-size:12px;background:#fff}
.commerce-details-step .commerce-upload-batchbar{order:2;grid-column:1/-1;margin:0;gap:10px}
.commerce-details-step .commerce-uploaded-images{order:3;grid-column:1/-1;display:flex!important;gap:10px;overflow-x:auto;align-items:flex-start;padding:0 0 6px;max-height:none}
.commerce-details-step .commerce-uploaded-images:empty{display:none!important}
.commerce-details-step .commerce-uploaded-images figure{flex:0 0 154px;min-width:0;margin:0;border-radius:8px}
.commerce-details-step .commerce-uploaded-images img{height:86px;width:100%;aspect-ratio:auto;object-fit:contain}
.commerce-details-step .commerce-uploaded-images figcaption{padding:7px;gap:5px}
.commerce-details-step .commerce-uploaded-images figcaption select{min-height:30px;height:30px;font-size:11px}
.commerce-details-step .commerce-reference-help{order:4;grid-column:1/-1;font-size:12px;color:#56654f}
.commerce-reference-help summary{cursor:pointer}.commerce-reference-help .commerce-role-legend{display:flex;flex-wrap:wrap;gap:6px 22px;margin:6px 0 0;padding:8px 22px;font-size:11px}
.commerce-details-step details.commerce-sku-publishing-settings{border:1px solid #dce3d7;border-radius:9px;background:#fff;padding:0}
.commerce-sku-publishing-settings>summary{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;cursor:pointer;padding:12px 14px;font-size:13px;color:#29382a}
.commerce-sku-publishing-settings>summary span{font-size:12px;color:#63705e}
.commerce-sku-publishing-settings>summary::after{content:'展开';font-size:11px;color:#56654f}
.commerce-sku-publishing-settings[open]>summary::after{content:'收起'}
.commerce-sku-publishing-settings .commerce-marketplace-inline{padding:0 14px 14px;grid-template-columns:repeat(4,minmax(0,1fr))}
.commerce-sku-publishing-settings .commerce-marketplace-inline>label.wide{grid-column:span 2}
.commerce-details-step .commerce-sku-editor{padding:12px 14px;border:1px solid #dce3d7;border-radius:10px;background:#fff;scroll-margin-top:76px;transition:box-shadow .2s}
.commerce-details-step .commerce-sku-editor legend{font-size:14px;line-height:1.6;font-weight:750}
.commerce-details-step .commerce-sku-editor legend span{margin-left:10px;color:#65735e;font-weight:500;font-size:12px}
.commerce-sku-image-actions,.commerce-sku-editor .commerce-brief-translate{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:4px 0 8px;padding:0;border:0;background:none}
.commerce-sku-image-actions small,.commerce-sku-editor .commerce-brief-translate small{font-size:11px;color:#617059}
.commerce-sku-image-actions[hidden]{display:none!important}
.commerce-sku-image-actions button,.commerce-sku-editor .commerce-brief-translate button{min-height:32px;padding:6px 12px;border:1px solid #cdd8c5;border-radius:6px;background:#fff;color:#304328;font-size:12px;box-shadow:none}
.commerce-sku-sync-line{display:flex;flex-wrap:wrap;gap:6px 14px;margin-bottom:8px;color:#596953;font-size:11px}
.commerce-sku-sync-line>small:empty{display:none}.commerce-sku-sync-line #commerceSkuSyncStatus{margin:0}
.commerce-details-step .commerce-sku-items{max-height:none;overflow:visible;gap:10px}
.commerce-details-step .commerce-sku-item{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:'fields' 'pricing' 'platform';padding:12px 34px 10px 12px;gap:6px 14px;border:1px solid #dce3d7;border-radius:9px;background:#fafbf8;align-items:start;min-width:0}
.commerce-details-step .commerce-sku-item.has-sku-hero{grid-template-columns:80px minmax(0,1fr);grid-template-areas:'hero fields' 'hero pricing' 'hero platform'}
.commerce-details-step .commerce-sku-fields{grid-area:fields;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-areas:none;gap:7px 10px}
.commerce-details-step .commerce-sku-fields>label:nth-child(n){grid-area:auto;grid-column:auto;font-size:12px;color:#56624f;gap:4px}
.commerce-details-step .commerce-sku-fields input{min-height:34px;height:34px;padding:6px 8px;border:1px solid #d0d9ca;border-radius:5px;background:#fff;color:#243322;font-size:13px}
.commerce-details-step .commerce-sku-item>button{top:9px;right:6px;width:22px;height:22px;min-height:0;padding:0}
.commerce-details-step .commerce-sku-hero{grid-area:hero;display:block;border:0;padding:0;margin:0;min-width:0}
.commerce-sku-thumbnail{display:grid;gap:4px;text-align:center}
.commerce-details-step .commerce-sku-hero button:has(img),.commerce-details-step .commerce-sku-hero-placeholder{width:80px;height:80px;min-height:0;border:1px solid #dce3d7;border-radius:7px;background:#fff;padding:0;color:#6a7662;font-size:11px}
.commerce-details-step .commerce-sku-hero button.secondary{width:80px;min-height:26px;padding:4px;border:1px solid #ccd8c2;border-radius:5px;font-size:11px;background:#fff;color:#34492b}
.commerce-sku-image-state{font-size:11px;color:#526946;line-height:1.4}.commerce-sku-image-state.needs-update{color:#a15824}
.commerce-sku-source{margin-top:5px;font-size:11px;color:#596a50}
.commerce-sku-source summary{cursor:pointer;text-align:center;line-height:1.5}
.commerce-sku-source label{margin-top:6px}.commerce-sku-source small{display:none}
.commerce-sku-source select{width:100%;height:30px;min-height:30px;padding:3px;font-size:11px}
.commerce-sku-pricing{grid-area:pricing;min-width:0;margin:0}
.commerce-sku-pricing>summary{width:fit-content;cursor:pointer;font-size:12px;color:#52694a;padding:4px 0}
.commerce-details-step .commerce-sku-inline-pricing{padding:8px 0;border:0;display:block}
.commerce-sku-inline-pricing .commerce-sku-price-options{display:flex;flex-wrap:wrap;gap:8px}
.commerce-sku-inline-pricing .commerce-sku-price-option{min-width:170px;background:#fff;padding:8px}
.commerce-details-step .commerce-sku-platform{grid-area:platform;display:grid;grid-template-columns:116px minmax(0,1fr);gap:8px;align-items:start;padding:6px 0 0;border-top:1px solid #e2e7dd;min-width:0}
.commerce-details-step .commerce-sku-platform .commerce-sku-enabled{display:flex;align-items:center;gap:6px;grid-column:auto;font-size:12px;color:#42553a;padding:3px 0}
.commerce-details-step .commerce-sku-platform input[type=checkbox]{width:15px;height:15px;min-height:0;flex:none}
.commerce-sku-platform-more{margin:0!important;min-width:0}
.commerce-sku-platform-more>summary{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;cursor:pointer;font-size:12px;color:#445b3c;padding:3px 0}
.commerce-sku-platform-more>summary small{font-weight:400;color:#64735d;font-size:11px}
.commerce-sku-platform-more .commerce-variant-fields{grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:8px;margin-top:8px}
.commerce-sku-platform-more .commerce-variant-fields label:nth-child(n){grid-column:auto;font-size:12px;color:#4b5b43}
.commerce-sku-platform-more .commerce-variant-images{max-height:196px;overflow:auto;grid-template-columns:repeat(auto-fill,minmax(82px,1fr));gap:8px}
.commerce-sku-platform-more .commerce-publish-picture-toolbar{margin:10px 0 8px;flex-wrap:wrap;gap:8px}
.commerce-sku-platform-more .commerce-publish-picture-toolbar small{flex-basis:100%;font-size:11px}
.commerce-details-step details.commerce-publish-picture-section{grid-column:1/-1;border:1px solid #dce3d7;border-radius:8px;margin:0;padding:12px 14px;min-width:0}
.commerce-publish-picture-section>summary{font-size:13px;font-weight:700;cursor:pointer;color:#3b5132}.commerce-publish-picture-section>summary span{font-weight:400;font-size:12px;color:#66755e;margin-left:8px}
.commerce-publish-picture-section>.commerce-publish-picture-toolbar{margin-top:12px}.commerce-publish-picture-section>.commerce-variant-images{max-height:230px;overflow:auto}
.commerce-publish-summary{padding:16px;border:1px solid #d9e1d3;border-radius:10px;background:#fafbf8;margin:0 0 14px}
.commerce-publish-summary>header{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.commerce-publish-summary>header>div{display:grid;gap:4px}.commerce-publish-summary b{font-size:15px;color:#263821}
.commerce-publish-summary small{font-size:12px;color:#617258;font-weight:400}
.commerce-publish-summary #commerceBackToSkus{min-height:32px;padding:6px 12px;font-size:12px;background:#fff;color:#3e5732;border:1px solid #cbd7c0;border-radius:6px}
.commerce-publish-summary-stats{display:grid;grid-template-columns:1fr 1fr 2fr;gap:16px;margin:16px 0 10px}
.commerce-publish-summary-stats>div{display:grid;align-content:start;gap:6px;min-width:0;border-right:1px solid #e0e6da;padding-right:12px}
.commerce-publish-summary-stats>div:last-child{border:0;padding:0}.commerce-publish-summary-stats span{font-size:12px;color:#63735a}
.commerce-publish-summary-stats b{font-size:22px;line-height:1.5}.commerce-publish-destination b{font-size:13px;overflow-wrap:anywhere}
#commercePublishSummaryIssue{font-size:12px;line-height:1.7;margin:8px 0 0;color:#52664a}#commercePublishSummaryIssue.needs-attention{color:#885524}
#commerceSkuPublishNotice{display:none!important}.commerce-publication-receipts{margin-top:16px;border-top:1px solid #dce3d7;padding-top:12px}.commerce-publication-receipts>summary{font-size:13px;color:#3f5535;cursor:pointer}
.commerce-publication-receipts[hidden]{display:none!important}.commerce-publication-receipts #commerceVariantResults{max-height:280px;overflow:auto}
.commerce-sku-highlight{box-shadow:0 0 0 3px #d8edac!important}
@media(max-width:1000px){.commerce-details-step .commerce-sku-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.commerce-sku-publishing-settings .commerce-marketplace-inline{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.commerce-details-step .commerce-brief-grid{padding:12px;gap:12px}.commerce-details-step .commerce-upload{grid-template-columns:minmax(0,1fr);padding:12px}.commerce-details-step .commerce-upload>label{grid-column:1}.commerce-details-step .commerce-sku-editor{padding:10px}.commerce-details-step .commerce-sku-editor legend span{display:block;margin-left:0;font-size:11px}.commerce-details-step .commerce-sku-item{padding:10px 28px 10px 9px;gap:6px 10px}.commerce-details-step .commerce-sku-item.has-sku-hero{grid-template-columns:64px minmax(0,1fr)}.commerce-details-step .commerce-sku-hero button:has(img),.commerce-details-step .commerce-sku-hero-placeholder{width:64px;height:64px}.commerce-details-step .commerce-sku-hero button.secondary{width:64px}.commerce-details-step .commerce-sku-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.commerce-details-step .commerce-sku-fields input{font-size:12px;padding:5px}.commerce-details-step .commerce-sku-platform{grid-column:1/-1;grid-template-columns:1fr}.commerce-sku-publishing-settings .commerce-marketplace-inline>label.wide{grid-column:1/-1}.commerce-publish-summary{padding:12px}.commerce-publish-summary-stats{grid-template-columns:1fr 1fr;gap:12px}.commerce-publish-destination{grid-column:1/-1}.commerce-publish-summary-stats>div:nth-child(2){border:0}.commerce-publish-summary-stats b{font-size:19px}.commerce-publish-destination b{font-size:13px}.commerce-sku-platform-more .commerce-variant-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
