.product-catalog-ai,.product-selection-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.product-catalog-ai{padding:16px 22px;background:#eef6ff;border-bottom:1px solid #cfe2fa}.product-catalog-ai>div:first-child{min-width:260px;flex:1}.product-catalog-ai p{margin:4px 0 0}.product-catalog-ai label{display:grid;gap:5px;min-width:260px}.product-catalog-summary{margin:12px 22px;padding:14px;border:1px solid #cfe0f5;border-radius:9px;background:#f8fbff}.product-catalog-summary p{margin:7px 0}.catalog-basis{margin-left:12px;color:#6d7e94}.keyword-chip{display:inline-block;margin:4px;padding:5px 9px;border:1px solid #80b5f2;border-radius:999px;background:#fff;color:#124f95}.product-bulk-tools{display:grid;grid-template-columns:repeat(5,minmax(225px,1fr));gap:6px;padding:6px 22px;background:#fffaf0;border-bottom:1px solid #f0dfbd;align-items:start}.product-bulk-tool{display:flex;flex-direction:row;align-items:center;align-content:center;flex-wrap:wrap;gap:5px 7px;padding:7px 9px;border:1px solid #ead8b4;border-radius:8px;background:#fff;min-width:0}.product-bulk-tool strong{flex:0 0 100%;font-size:13px;line-height:1.2;color:#132e50}.product-bulk-tool label{display:flex;align-items:center;gap:5px;flex-wrap:nowrap;font-size:12px}.product-bulk-tool input{width:82px;padding:6px}.product-bulk-tool select{max-width:115px;padding:6px}.product-bulk-tool small{display:none}.product-bulk-tool .danger-button{margin:0 0 0 auto;padding:7px 10px;font-size:12px}.bulk-job-progress{display:block;flex:0 0 100%;line-height:1.3;word-break:break-word;font-size:12px}.bulk-job-progress:empty{display:none}.bulk-job-progress.running{color:#1769df;font-weight:700}.bulk-job-progress.completed{color:#08784c;font-weight:700}.bulk-job-progress.failed{color:#c32626;font-weight:700}.product-selection-bar{padding:11px 22px;border-bottom:1px solid #dce5f0;background:#f8fbff}.inline-check{display:flex!important;align-items:center;gap:6px}.inline-check input{width:auto}.product-table-wrap table{min-width:1450px}.product-info-cell{min-width:330px;max-width:520px}.product-manager-thumb,.variant-manager-thumb{object-fit:cover;border:1px solid #d8e1ee;border-radius:7px;cursor:zoom-in}.product-manager-thumb{width:58px;height:58px}.variant-manager-thumb{width:44px;height:44px;margin-top:6px}.product-row td:nth-child(9) input{display:block;width:100px;margin-bottom:5px}.product-row td:last-child button{display:block;margin-bottom:5px;white-space:nowrap}@media(max-width:1450px){.product-bulk-tools{grid-template-columns:repeat(3,minmax(245px,1fr))}}@media(max-width:900px){.product-bulk-tools{grid-template-columns:repeat(2,minmax(260px,1fr))}}@media(max-width:700px){.product-bulk-tools{grid-template-columns:1fr}}
.product-import-card{display:grid;grid-template-columns:minmax(300px,1fr) minmax(220px,320px) auto;gap:12px;align-items:end;padding:14px 22px;background:#f5f0ff;border-bottom:1px solid #d9ccef}.product-import-card p{margin:5px 0 0}.product-import-card label{display:grid;gap:5px}.product-import-progress,.product-import-summary{grid-column:1/-1;padding:10px 12px;border-radius:8px;background:#fff;border:1px solid #d8cdec}.product-import-progress.running{color:#1769df;font-weight:700}.product-import-progress.completed{color:#08784c;font-weight:700}.product-import-progress.failed{color:#c32626;font-weight:700}.product-import-summary.hidden{display:none}.product-import-summary .import-errors{color:#b42318}.product-import-summary .import-warnings{color:#9a6700}.import-draft-badge{display:inline-block;margin-left:7px;padding:2px 7px;border-radius:999px;background:#efe6ff;color:#6336a7;font-size:12px;font-weight:700}
.product-automation-launcher{margin:0 20px 12px;padding:14px;border:1px solid #9fc2ee;border-radius:10px;background:linear-gradient(135deg,#f8fbff,#eef6ff)}
.automation-launcher-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.automation-launcher-heading h3{margin:0 0 4px;color:#143b6b}.automation-launcher-heading p{margin:0;color:#526b89}
.automation-readiness{padding:5px 10px;border-radius:999px;font-size:12px;font-weight:800;white-space:nowrap}
.automation-readiness.checking{background:#e8eef7;color:#49627e}.automation-readiness.ready{background:#dcf6e8;color:#08784c}.automation-readiness.error{background:#fee9e7;color:#b42318}
.automation-launcher-grid{display:grid;grid-template-columns:minmax(190px,260px) minmax(300px,1fr) auto auto auto auto auto;gap:9px;align-items:end;margin-top:12px}
.automation-launcher-grid label{display:grid;gap:5px;font-weight:700}.automation-launcher-grid select{width:100%}.automation-start-button{min-width:170px}
.automation-batch-summary,.automation-precheck{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:9px;padding:9px 11px;border:1px solid #d4e2f2;border-radius:8px;background:#fff}
.automation-batch-summary.ready{border-color:#9ed7bd;background:#f3fff8}.automation-batch-summary.blocked,.automation-precheck.error{border-color:#efb3ad;background:#fff5f4;color:#a1261c}.automation-precheck.running{border-color:#9fc2ee;color:#155a9f}.automation-precheck.ready{border-color:#9ed7bd;color:#08784c}
.automation-batch-summary small{flex-basis:100%}.automation-rules{margin-top:9px;border:1px solid #d4e2f2;border-radius:8px;background:#fff}.automation-rules summary{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;padding:9px 11px;color:#155a9f;font-weight:800}.automation-rules summary button{margin-left:auto}
.automation-rule-grid{display:grid;grid-template-columns:repeat(4,minmax(170px,1fr));gap:7px;padding:0 9px 9px}.automation-rule-grid span{padding:8px;border-radius:6px;background:#f4f8fd;color:#3d5673;font-size:12px}.automation-rule-grid b{color:#143b6b}
.automation-rules-dialog{width:min(760px,calc(100vw - 30px))}.automation-rules-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}.automation-rules-form label{display:grid;gap:5px;font-weight:700}.automation-rules-form .wide{grid-column:1/-1}.automation-locked-rules{padding:10px;border:1px solid #f0cf92;border-radius:8px;background:#fff9eb;color:#805a17}.automation-import-button{white-space:nowrap}
.automation-zip-button{white-space:nowrap;align-self:center}
.automation-delete-button{white-space:nowrap;width:max-content!important;min-width:88px;max-width:110px;justify-self:start;padding-inline:12px}.automation-delete-button:disabled{opacity:.48;cursor:not-allowed}
.automation-rules-form textarea{width:100%;resize:vertical;line-height:1.55}.existing-optimizer-instruction .text-button{justify-self:start;margin-top:3px}
.product-optimization-badge{display:grid;gap:3px;margin:7px 0;padding:7px 8px;border:1px solid #9fc2ee;border-radius:7px;background:#eef6ff}.product-optimization-badge.ready{border-color:#8fd0ae;background:#effcf5}.product-optimization-badge.review{border-color:#e8c36f;background:#fff9e9}.product-optimization-badge.blocked{border-color:#e7a29c;background:#fff3f2}.product-optimization-badge span{font-weight:700;color:#173d69}.product-optimization-badge small{color:#5d718b}.product-item-progress{height:5px;background:#dbe7f7;border-radius:999px;overflow:hidden;margin:4px 0}.product-item-progress i{display:block;height:100%;background:#1976d2;transition:width .2s ease}.product-optimization-badge.blocked .product-item-progress i{background:#d32f2f}.product-optimization-badge.ready .product-item-progress i{background:#138a4b}
.optimization-review-panel{border:1px solid #96bae4!important;background:#f5f9ff!important}.optimization-review-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.optimization-review-heading span{color:#165c9c;font-weight:700}.optimization-diff-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.optimization-diff-grid article{display:grid;gap:6px;padding:9px;border:1px solid #d4e2f2;border-radius:7px;background:#fff}.optimization-diff-grid article>div{padding:6px;border-radius:5px;background:#f6f8fb}.optimization-diff-grid article .after{background:#eef7ff}.optimization-diff-grid article .zh{background:#fff7df}.optimization-diff-grid p{margin:3px 0;white-space:pre-wrap;overflow-wrap:anywhere}.optimization-preflight-summary{margin-top:9px;padding:8px;border-radius:6px;background:#e9f2fc}
.optimization-image-review{margin-top:10px;border:1px solid #c9d9ea;border-radius:8px;background:#fff;padding:10px}.optimization-image-review h5{margin:0 0 4px;font-size:14px;color:#123b69}.optimization-image-review>div{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:8px;margin-top:8px}.optimization-image-review article{display:grid;grid-template-columns:72px minmax(0,1fr);gap:8px;align-items:start;border:1px solid #dbe6f2;border-radius:7px;padding:7px;background:#f8fbff}.optimization-image-review img{width:72px;height:72px;border-radius:6px;object-fit:cover;background:#fff}.optimization-image-review span,.optimization-image-review small{display:block;min-width:0}.optimization-image-review small{margin-top:3px;line-height:1.35;overflow-wrap:anywhere}.optimization-image-review small.after{color:#075fbd}.optimization-image-review small.zh{color:#7a4c00}
@media(max-width:1200px){.optimization-diff-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.optimization-diff-grid{grid-template-columns:1fr}}
@media(max-width:1200px){.automation-launcher-grid{grid-template-columns:1fr 1.5fr auto}.automation-rule-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.automation-launcher-heading{display:grid}.automation-launcher-grid,.automation-rule-grid,.automation-rules-form{grid-template-columns:1fr}.automation-launcher-grid button{width:100%}.automation-rules-form .wide{grid-column:auto}}
.product-ai-drawer{position:fixed;inset:20px;z-index:100;background:#fff;border:1px solid #aebdd1;border-radius:14px;box-shadow:0 24px 80px #081a3559;overflow:auto;padding-bottom:80px}.product-ai-drawer .drawer-header{position:sticky;top:0;z-index:6;background:#fff;padding:15px 20px;border-bottom:1px solid #dce5f0;display:flex;align-items:center;justify-content:space-between}.product-ai-drawer h2,.product-ai-drawer h3{margin:0}.product-editor-strip{position:sticky;top:74px;z-index:5;display:flex;gap:8px;overflow-x:auto;padding:9px 14px;background:#eaf2fc;border-bottom:1px solid #c8d8ec;scrollbar-width:thin}.product-strip-item{flex:0 0 225px;display:flex;align-items:center;gap:8px;text-align:left;border:1px solid #b9cae0;background:#fff;border-radius:8px;padding:7px;color:#183858}.product-strip-item.active{border:2px solid #1769df;background:#edf5ff;box-shadow:0 0 0 2px #a9ccf7}.product-strip-item img,.product-strip-index{width:42px;height:42px;flex:0 0 42px;object-fit:cover;border-radius:6px;background:#dce9f8;display:grid;place-items:center;font-weight:800}.product-strip-item>span:last-child{min-width:0}.product-strip-item b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-strip-item small{display:block;margin-top:3px}.draft-ready{color:#07834f}.draft-pending{color:#8a6b20}.product-ai-toolbar{padding:14px 20px;background:#f4f8fd;border-bottom:1px solid #dce5f0}.product-field-choices{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}.product-field-choices label{display:flex;align-items:center;gap:5px;padding:6px 9px;background:#fff;border:1px solid #c8d6e8;border-radius:7px}.product-field-choices input{width:auto}.product-ai-toolbar .wide{display:grid;gap:6px;margin:10px 0}.product-ai-toolbar textarea{width:100%;min-height:76px;resize:vertical}.product-editor-columns{display:grid;grid-template-columns:1fr 1.15fr 1fr;gap:12px;padding:8px 20px}.product-editor-head{position:sticky;top:142px;z-index:3;background:#102e58;color:#fff;padding-top:11px;padding-bottom:11px}.product-editor-columns label{display:grid;gap:5px;font-weight:700;min-width:0}.product-editor-columns textarea{width:100%;min-height:112px;resize:vertical}.product-editor-columns input,.product-editor-columns select{width:100%}.product-editor-columns select[multiple]{min-height:130px}.product-editor-columns:nth-child(2) textarea{min-height:210px}.product-description-field{min-width:0}.product-field-label{font-weight:700;display:flex;align-items:center;gap:10px;margin-bottom:5px}.inline-description-preview{height:235px;overflow:auto;border:1px solid #cbd5e1;border-radius:7px;background:#fff;padding:13px;line-height:1.55;color:#172840}.inline-description-preview h1,.inline-description-preview h2,.inline-description-preview h3,.inline-description-preview h4{margin:.5em 0}.inline-description-preview p{margin:.55em 0}.inline-description-preview ul,.inline-description-preview ol{padding-left:24px}.inline-description-preview table{min-width:0}.inline-input-button,.currency-input{display:flex;align-items:center;gap:6px}.inline-input-button input{flex:1}.currency-input span{font-weight:700;color:#526781}.currency-input input{width:110px}.text-button{border:0;background:none;color:#1769df;padding:0;text-align:left}.char-count{float:right;color:#65788f;font-weight:400}.char-count.needs-review{color:#9a6700}.char-count.over-limit{color:#c42424;font-weight:700}.product-variant-editor{padding:16px 20px}.product-variant-editor h3{margin-bottom:10px}.product-variant-editor table{min-width:1000px}.product-variant-editor td input{width:150px}.product-ai-savebar{position:fixed;left:20px;right:20px;bottom:20px;z-index:105;display:flex;justify-content:flex-end;align-items:center;gap:12px;padding:12px 20px;background:#fff;border:1px solid #cbd7e7;border-radius:0 0 14px 14px;box-shadow:0 -8px 24px #10233b18}.product-ai-savebar .warning-text{margin-right:auto;color:#b45309}.product-description-preview{width:min(900px,90vw);max-height:85vh}.description-preview-body{padding:20px;line-height:1.65}.description-preview-body img{max-width:100%}.image-hover-preview{z-index:300!important}.product-manager-thumb:hover,.variant-manager-thumb:hover{outline:3px solid #7ab6ff;transform:scale(1.08)}
.product-ai-action-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.product-ai-runtime{display:flex;align-items:center;gap:10px;min-width:260px;justify-content:flex-end}.runtime-badge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:#e8f1fd;color:#174f96;font-weight:700;border:1px solid #bfd2ea}.runtime-badge.not-ready{background:#fff3cd;color:#8a5b00;border-color:#efd58b}.product-preflight-audit{margin:0 20px 18px;padding:14px;border:1px solid #c7d5e7;border-radius:10px;background:#f8fbff}.product-preflight-audit h3{margin:0}.preflight-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.preflight-heading p{margin:4px 0 0}.preflight-summary{white-space:nowrap;padding:5px 10px;border-radius:999px;font-weight:800}.preflight-summary.pass{background:#dcfce7;color:#08784c}.preflight-summary.review{background:#fff3cd;color:#8a5b00}.preflight-summary.block{background:#fee2e2;color:#b42318}.preflight-checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.preflight-check{display:flex;gap:8px;align-items:flex-start;padding:8px 10px;border-radius:8px;border:1px solid #d9e3ef;background:#fff}.preflight-check.pass{border-color:#bde7ce}.preflight-check.review{border-color:#eed58f;background:#fffdf5}.preflight-check.block{border-color:#f5b9b9;background:#fff8f8}.preflight-check b{display:block}.preflight-check small{display:block;margin-top:2px;color:#63758b}.preflight-icon{font-weight:900;line-height:1.25}.preflight-check.pass .preflight-icon{color:#07834f}.preflight-check.review .preflight-icon{color:#9a6700}.preflight-check.block .preflight-icon{color:#c42424}
.product-ai-legacy-toolbar{display:none!important}.processing-summary-lines{display:grid;gap:4px;margin-top:5px}.processing-summary-lines span{display:block;line-height:1.35}.product-processing-summary{line-height:1.35}.product-processing-summary>a{display:block;margin-top:5px}.product-processing-summary .muted{color:#718198}.media-structure-count{font-size:12px;line-height:1.35}.media-structure-count span{min-height:18px}.media-status-row{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}
.product-pricing-audit{margin:0 20px 18px;padding:14px;border:1px solid #c8d7e8;border-radius:10px;background:#f7fbff}.product-pricing-audit.hidden{display:none}.product-pricing-audit h3{margin:0 0 6px}.product-pricing-audit>p{margin:0 0 10px}.pricing-audit-table{overflow:auto}.pricing-audit-table table{min-width:1700px;background:#fff}.pricing-audit-table th{white-space:nowrap}.profit-status{display:inline-block;padding:2px 7px;border-radius:999px;font-weight:700}.profit-status.loss{background:#fee2e2;color:#b42318}.profit-status.low-profit{background:#fff3cd;color:#8a5b00}.profit-status.normal-profit{background:#dff7e9;color:#08784c}
.product-review-bundle{margin:0 20px 18px;padding:14px;border:1px solid #ddcfb1;border-radius:10px;background:#fffaf0}.product-review-bundle.hidden{display:none}.product-review-bundle h3{margin:0 0 6px}.product-review-bundle pre{max-height:300px;overflow:auto;white-space:pre-wrap;word-break:break-word;background:#fff;border:1px solid #eadfc8;border-radius:7px;padding:10px}
.product-organic-audit{margin:0 20px 18px;padding:14px;border:1px solid #b9d8c8;border-radius:10px;background:#f4fff9}.product-organic-audit.hidden{display:none}.product-organic-audit h3{margin:0 0 6px}.organic-checks{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}.organic-checks span{padding:3px 8px;border-radius:999px;font-size:12px;font-weight:700}.organic-checks .pass{background:#dff7e9;color:#08784c}.organic-checks .review{background:#fff3cd;color:#8a5b00}
.catalog-progress-panel{display:grid;gap:5px;min-width:280px;max-width:380px;flex:1}.catalog-progress-track{height:12px;overflow:hidden;border:1px solid #b7cbe3;border-radius:999px;background:#fff}.catalog-progress-track span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1769df,#29a7ff);transition:width .35s ease}.catalog-progress-panel.running .catalog-progress-track span{background:linear-gradient(90deg,#1769df,#29a7ff)}.catalog-progress-panel.completed .catalog-progress-track span{background:#0b9b61}.catalog-progress-panel.failed .catalog-progress-track span{background:#d13b3b}.catalog-progress-panel.completed #productCatalogProgress{color:#08784c;font-weight:700}.catalog-progress-panel.failed #productCatalogProgress{color:#c32626;font-weight:700}
.product-info-cell{min-width:440px;max-width:650px}.product-meta-grid{display:grid;grid-template-columns:1fr;gap:5px;margin-top:8px}.product-meta-grid span{display:flex;gap:6px;align-items:flex-start;min-width:0;color:#344c69;line-height:1.35}.product-meta-grid b{flex:0 0 58px;padding:1px 5px;border-radius:4px;background:#eaf2fc;color:#155a9f;font-size:11px;text-align:center}.product-meta-hint{display:block;margin-top:6px;color:#8794a7}
@media(max-width:1000px){.product-ai-drawer{inset:6px}.product-editor-columns{grid-template-columns:1fr}.product-editor-head{display:none}.product-ai-savebar{left:6px;right:6px;bottom:6px}.product-catalog-ai label{min-width:200px}.product-meta-grid{grid-template-columns:1fr}.preflight-checks{grid-template-columns:1fr}.product-ai-runtime{justify-content:flex-start}}

/* 图快导入草稿：主表只展示决策摘要，其余信息在同一商品下展开。 */
.product-table-wrap table{min-width:1280px}.product-row td{vertical-align:top}.product-info-cell{min-width:270px;max-width:390px}.compact-meta{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.compact-meta span{display:flex;gap:5px;max-width:100%;color:#344c69}.compact-meta b{padding:1px 5px;border-radius:4px;background:#eaf2fc;color:#155a9f;font-size:11px}.import-product-row{background:#fbfdff}.import-recognition-cell,.import-pricing-cell,.import-price-line{display:grid;gap:4px}.import-recognition-cell{min-width:190px;max-width:270px}.import-recognition-cell strong{color:#15375f}.import-recognition-cell small{color:#60738c;line-height:1.35}.audit-chip{width:max-content;max-width:100%;padding:2px 7px;border-radius:999px;background:#e8f1ff;color:#195b9f;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audit-good{color:#08784c;font-weight:700}.audit-warning{color:#9a6700;font-weight:700}.audit-bad{color:#b42318;font-weight:700}.compact-price-cell{min-width:210px}.import-price-line{padding:7px 0;border-top:1px dashed #d7e2ef}.import-price-line:first-child{border-top:0}.import-price-line span,.import-price-line small{font-size:12px}.inventory-summary{margin-top:9px;padding:6px;border-radius:6px;background:#f2f6fb}.variant-inline{display:flex;align-items:center;gap:7px}.variant-inline span,.variant-inline small{display:block}.compact-actions{display:grid;grid-template-columns:1fr 1fr;gap:5px;min-width:190px}.compact-actions input,.compact-actions button{width:100%;min-width:0;margin:0!important}.product-expanded-row td{padding:0!important;background:#f6f9fd;border-bottom:2px solid #c9d8e9}.product-inline-audit{padding:8px 16px}.product-inline-audit>summary{cursor:pointer;color:#155a9f;font-weight:700}.expanded-audit-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:10px}.expanded-audit-grid section{padding:12px;border:1px solid #d8e3ef;border-radius:8px;background:#fff}.expanded-audit-grid h4{margin:0 0 8px}.expanded-audit-grid p{margin:5px 0}.expanded-wide{grid-column:1/-1}.expanded-wide .import-pricing-cell{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));display:grid;gap:8px}.expanded-wide .import-price-line{padding:9px;border:1px solid #dce6f0;border-radius:7px}.expanded-review-grid,.review-audit-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:9px}.expanded-review,.review-audit-card{padding:10px;border:1px solid #e2d6bb;border-radius:7px;background:#fffdf8}.expanded-review p,.review-audit-card p{margin:5px 0;white-space:pre-wrap}.review-audit-card header{display:flex;justify-content:space-between;gap:10px}.review-audit-card header span,.review-audit-card small{color:#68778c}.review-zh{margin-top:8px;padding-top:8px;border-top:1px dashed #dfd2b6}.product-import-audit,.product-shop-discovery-audit{margin:0 20px 18px;padding:14px;border:1px solid #c8d7e8;border-radius:10px;background:#f7fbff}.product-import-audit.hidden,.product-shop-discovery-audit.hidden{display:none}.product-import-audit h3,.product-shop-discovery-audit h3{margin:0 0 9px}.import-audit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.import-audit-grid>div{display:grid;gap:4px;padding:9px;border:1px solid #dbe5f0;border-radius:7px;background:#fff}.shop-discovery-summary{display:flex;gap:12px;align-items:center;margin-bottom:9px;padding:9px;border-radius:7px}.shop-discovery-summary.audit-ready{background:#e7f7ef;color:#08784c}.shop-discovery-summary.audit-blocked{background:#fff2dc;color:#9a6700}

/* Product management: one authoritative column layout. Keep this static so the
   browser cannot redistribute unused width back into the gallery column. */
#productsTable{table-layout:fixed;width:100%;min-width:2240px}
#productsTable col.products-col-select{width:72px}
#productsTable col.products-col-images{width:360px}
#productsTable col.products-col-product{width:390px}
#productsTable col.products-col-recognition{width:470px}
#productsTable col.products-col-pricing{width:330px}
#productsTable col.products-col-status{width:165px}
#productsTable col.products-col-variant{width:215px}
#productsTable col.products-col-actions{width:238px}
#productsTable th,#productsTable td{box-sizing:border-box}
#productsTable td:nth-child(1),#productsTable th:nth-child(1){text-align:center}
#productsTable .select-product,#selectProductsPage{display:inline-block!important;appearance:auto!important;width:19px!important;height:19px!important;min-width:19px!important;margin:2px auto!important;padding:0!important;opacity:1!important;accent-color:#1769df;cursor:pointer}
.product-select-controls{display:grid;justify-items:center;gap:7px}.product-expand-toggle{display:grid;place-items:center;width:25px;height:25px;padding:0;border:1px solid #9bb7d8;border-radius:6px;background:#f2f7fd;color:#155a9f;font-weight:900;font-size:18px;line-height:1}.product-expand-toggle:hover{background:#deedff}
.product-chinese-title{display:block;margin:4px 0;color:#17375f;font-size:12px}.compact-meta{grid-template-columns:1fr!important}.compact-meta span b{flex:0 0 58px}.product-tag-preview .product-tag-text{white-space:normal;word-break:break-word}.product-description-snippet{margin:1px 0 5px;line-height:1.45;color:#334d6c;display:-webkit-box;-webkit-line-clamp:7;-webkit-box-orient:vertical;overflow:hidden}.expanded-description{white-space:pre-wrap;line-height:1.55;max-height:360px;overflow:auto}
#productsTable td:nth-child(2){padding-left:11px;padding-right:12px}
.product-info-cell{min-width:0;max-width:none;overflow-wrap:anywhere}
.product-info-cell>a:first-child{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.35}
.product-list-gallery{display:grid;grid-template-columns:1fr;gap:7px;width:337px;max-width:337px;margin:0;align-items:start}
.product-list-gallery .product-gallery-thumb{width:52px;height:52px;margin:0}
.product-list-gallery small{grid-column:1/-1;text-align:left;color:#60738c;line-height:1.25}
.product-media-role-group{display:grid;grid-template-columns:58px minmax(0,1fr);gap:6px;min-width:0;padding:5px;border:1px solid #d6e2ef;border-radius:7px;background:#fbfdff}
.product-media-role-label{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;padding:4px 6px;border-radius:5px;background:#eaf4ff;color:#294866;font-size:11px;line-height:1.2}
.product-media-role-label b{color:#155a9f;white-space:nowrap}.product-media-role-label em{font-style:normal;font-weight:800;color:#405e7c}
.product-media-role-group.variant{background:#fffaf0;border-color:#ead9ae}.product-media-role-group.variant .product-media-role-label{background:#fff0c9}.product-media-role-group.variant .product-media-role-label b{color:#8b5b00}
.product-media-role-group.unknown{background:#fff5f3;border-color:#efc0b9}.product-media-role-group.unknown .product-media-role-label{background:#ffe4df}.product-media-role-group.unknown .product-media-role-label b{color:#a93025}
.product-media-role-thumbs{display:grid;grid-template-columns:repeat(4,52px);gap:5px;align-items:start;min-width:0}
.media-structure-count{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 8px;margin-top:3px;padding:8px;border:1px solid #d7e3ef;border-radius:7px;background:#f7faff;color:#314b69;font-size:11px}
.media-structure-count span{display:flex;align-items:center;justify-content:space-between;gap:7px;min-width:0}.media-structure-count span.wide{grid-column:1/-1;border-top:1px dashed #cedceb;padding-top:5px}.media-structure-count b{color:#155a9f;white-space:nowrap}.media-structure-count em{font-style:normal;font-weight:700;text-align:right}.media-structure-count em.warn{color:#b42318}
.media-status-row{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:4px}.media-state-chip{display:inline-flex;padding:2px 6px;border-radius:999px;font-size:10px;font-weight:800}.media-state-chip.ready{background:#e2f6eb;color:#08784c}.media-state-chip.review{background:#fff2d8;color:#8b5b00}.media-state-chip.blocked{background:#ffe7e4;color:#a93025}
.product-quick-controls{display:grid;gap:7px;margin-bottom:8px;padding:8px;border:1px solid #cbdced;border-radius:7px;background:#f7fbff}.quick-control-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;align-items:end}.quick-control-row:first-child{grid-template-columns:minmax(0,1fr) auto}.quick-control-row label{display:grid;gap:3px;color:#304a68;font-size:11px;font-weight:800}.quick-control-row input,.quick-control-row select,.quick-control-row button{width:100%;min-width:0;margin:0!important;padding:6px}.quick-control-row .save-product-variant{grid-column:1/-1}.product-quick-controls small{line-height:1.3}
.product-gallery-image{position:relative;display:block;width:52px;height:52px;border-radius:7px}
.product-gallery-image.ready::after{content:"✓";position:absolute;right:-2px;bottom:-2px;display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#198754;color:#fff;font-size:11px;font-weight:800;border:2px solid #fff}
.product-gallery-image.pending::after,.product-gallery-image.review::after{content:"!";position:absolute;right:-2px;bottom:-2px;display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#d88700;color:#fff;font-size:11px;font-weight:800;border:2px solid #fff}
.image-ready-count{color:#167548}.image-pending-count{color:#b65b00}
.import-row-state{display:flex;flex-direction:column;gap:4px;min-width:128px;padding:8px;border-radius:8px;border:1px solid #d7e2ef;background:#f7faff}
.import-row-state b{font-size:14px}.import-row-state small{line-height:1.35}
.import-row-state.ready{border-color:#8dd4ac;background:#effaf4;color:#12643d}
.import-row-state.blocked{border-color:#efb6ad;background:#fff4f2;color:#a83728}
.import-row-state.pending{border-color:#e4cf91;background:#fff9e9;color:#85620d}
.import-row-state.published{border-color:#8bbdf1;background:#edf6ff;color:#075da8}
.import-draft-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;min-width:210px}
.import-draft-actions .publish-import-product,.import-draft-actions .button-link{grid-column:1/-1}
.button-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.product-tag-preview{display:flex;flex-wrap:wrap;gap:4px;margin-top:7px;align-items:flex-start;line-height:1.45}
.product-tag-preview>b{color:#155a9f;font-size:11px}
.product-tag-preview .product-tag-text{flex:1;min-width:180px;color:#344c69;font-size:11px}
.product-tag-preview small{color:#697b91}
.product-published-at{display:block;margin-top:6px;color:#52677f}
.existing-product-optimizer{display:grid;grid-template-columns:repeat(5,minmax(135px,190px)) minmax(360px,1fr) auto;gap:8px;align-items:end;padding:10px 22px;border-bottom:1px solid #cfe0f3;background:#f3f8ff}.existing-optimizer-head{grid-column:1/-1;display:flex;align-items:center;gap:12px}.existing-product-optimizer label{display:grid;gap:4px;font-size:12px;font-weight:700}.existing-product-optimizer input,.existing-product-optimizer select,.existing-product-optimizer textarea{width:100%;padding:7px}.existing-optimizer-fields{grid-column:1/6;display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:0;padding:7px 9px;border:1px solid #cbdced;border-radius:7px;background:#fff}.existing-optimizer-fields legend{padding:0 5px;color:#17375f;font-size:12px;font-weight:800}.existing-product-optimizer .existing-optimizer-fields label{display:flex;align-items:center;gap:4px;padding:4px 7px;border-radius:5px;background:#eef5fd;font-weight:700}.existing-product-optimizer .existing-optimizer-fields input{width:auto;padding:0;accent-color:#1769df}.existing-optimizer-instruction{min-width:340px}.existing-product-optimizer button{white-space:nowrap}.existing-product-optimizer .bulk-job-progress{grid-column:1/-1}@media(max-width:1500px){.existing-product-optimizer{grid-template-columns:repeat(3,minmax(160px,1fr))}.existing-optimizer-fields{grid-column:1/-1}.existing-optimizer-instruction{grid-column:1/3}}@media(max-width:800px){.existing-product-optimizer{grid-template-columns:1fr}.existing-optimizer-fields,.existing-optimizer-instruction{grid-column:auto}}
.temu-product-optimizer{border-top:4px solid #1769df;background:#eef6ff}.temu-product-optimizer .existing-optimizer-head{justify-content:space-between}.temu-product-optimizer .existing-optimizer-head>div{display:grid;gap:3px}.temu-optimizer-actions{display:flex;align-items:center;gap:8px}.temu-duplicate-results{grid-column:1/-1;padding:10px;border:1px solid #bfd3ea;border-radius:8px;background:#fff}.temu-duplicate-results>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.temu-duplicate-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(430px,1fr));gap:8px;margin-top:9px;max-height:560px;overflow:auto}.temu-duplicate-list article{display:grid;gap:7px;padding:9px;border:1px solid #d7e3ef;border-left:4px solid #d59820;border-radius:7px;background:#fffaf0}.temu-duplicate-list article>a{display:grid;grid-template-columns:42px minmax(0,1fr);gap:8px;align-items:center;padding:5px;border-radius:5px;background:#fff;text-decoration:none}.temu-duplicate-list img{width:42px;height:42px;object-fit:cover;border-radius:5px}.temu-duplicate-list span,.temu-duplicate-list small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.temu-duplicate-list p{margin:0;color:#7b5a13;font-size:12px}
.product-inline-comparison-row td{padding:0!important;border-bottom:2px solid #b7cce4;background:#f4f8fd}.product-inline-comparison{margin:0 10px 10px;padding:10px;border:1px solid #a9c5e6;border-left:5px solid #1769df;border-radius:8px;background:#fff}.product-inline-comparison-row.ready .product-inline-comparison{border-left-color:#168653}.product-inline-comparison-row.review .product-inline-comparison{border-left-color:#d39316}.product-inline-comparison-row.blocked .product-inline-comparison{border-left-color:#d33a3a}.product-inline-comparison>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.product-inline-comparison>header>div:first-child{display:flex;align-items:baseline;gap:12px}.product-inline-comparison>header span{color:#536b87;font-size:12px}.product-inline-comparison-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}.product-inline-comparison-grid article{min-width:0;padding:9px;border:1px solid #d8e3ef;border-radius:7px;background:#f8fafc}.product-inline-comparison-grid .comparison-after{background:#eef7ff;border-color:#b9d5f1}.product-inline-comparison-grid .comparison-zh{background:#fff8e8;border-color:#ead6a4}.product-inline-comparison-grid h5{margin:0 0 7px;color:#173d69;font-size:13px}.product-inline-comparison-grid dl{display:grid;grid-template-columns:62px minmax(0,1fr);gap:5px 8px;margin:0}.product-inline-comparison-grid dt{color:#65788f;font-weight:800}.product-inline-comparison-grid dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:#263d58}.product-inline-comparison .actions{display:flex;gap:6px}@media(max-width:1200px){.product-inline-comparison-grid{grid-template-columns:1fr 1fr}.product-inline-comparison-grid .comparison-zh{grid-column:1/-1}}@media(max-width:760px){.product-inline-comparison>header,.product-inline-comparison>header>div:first-child{align-items:flex-start;flex-direction:column}.product-inline-comparison-grid{grid-template-columns:1fr}.product-inline-comparison-grid .comparison-zh{grid-column:auto}}
.pricing-cost-sale-line{display:flex!important;flex-wrap:wrap;gap:6px 14px}
.pricing-metric{display:flex;align-items:baseline;gap:5px}
.pricing-metric-label{color:#24364b;font-size:12px;font-weight:700}
.pricing-metric-value{font-size:14px;line-height:1.4;font-style:normal;font-weight:800}
.pricing-total-cost-value{color:#c46a00}
.pricing-sale-value{color:#1769df}
.pricing-profit-value{display:flex;align-items:baseline;gap:5px;color:#24364b!important;font-size:12px;font-weight:700}
.pricing-profit-value .pricing-metric-value.profit-normal{color:#07834f!important}
.pricing-profit-value .pricing-metric-value.profit-low{color:#a56a00!important}
.pricing-profit-value .pricing-metric-value.profit-loss{color:#c62828!important}
.product-price-fallback{display:grid;gap:5px}

.product-pipeline-progress{margin:0 20px 12px;padding:12px;border:1px solid #b9cee7;border-radius:10px;background:#f7fbff}
.pipeline-heading,.pipeline-timing,.pipeline-lane-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.pipeline-heading h3{margin:0 0 2px}
.pipeline-connection{padding:4px 9px;border-radius:999px;font-weight:700}
.pipeline-connection.live{background:#dff6e9;color:#08784c}
.pipeline-connection.stale,.pipeline-connection.disconnected{background:#fff0e2;color:#a24500}
.pipeline-connection.connecting{background:#e8eef7;color:#49627e}
.pipeline-metrics{display:grid;grid-template-columns:repeat(7,minmax(92px,1fr));gap:6px;margin:9px 0}
.pipeline-metric{padding:7px 8px;border:1px solid #d6e2ef;border-radius:7px;background:#fff}
.pipeline-metric span{display:block;color:#60738c;font-size:11px}
.pipeline-metric strong{font-size:17px;color:#17375e}
.pipeline-bar{height:9px;overflow:hidden;border-radius:999px;background:#dbe6f2}
.pipeline-bar span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1677ff,#0f9d69);transition:width .25s}
.pipeline-timing{justify-content:flex-start;flex-wrap:wrap;margin-top:7px;font-size:12px}
.pipeline-timing span{padding-right:13px}
.pipeline-lanes{display:grid;grid-template-columns:2fr 1fr;gap:9px;margin-top:9px}
.pipeline-lanes h4{margin:0 0 5px}
.pipeline-local-lanes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.pipeline-lane{min-height:76px;padding:7px;border:1px solid #d6e2ef;border-radius:7px;background:#fff}
.pipeline-lane.active{border-color:#72a7e8;box-shadow:inset 3px 0 #2675d8}
.pipeline-lane.ready{border-color:#73c7a2;box-shadow:inset 3px 0 #14945f}
.pipeline-lane.error{border-color:#ef9b94;box-shadow:inset 3px 0 #d83b32}
.pipeline-lane-head strong{font-size:12px}.pipeline-lane-head small{color:#657891}
.pipeline-product{display:grid;grid-template-columns:40px 1fr;gap:7px;margin-top:6px;align-items:center}
.pipeline-thumb{width:40px;height:40px;object-fit:cover;border-radius:5px;background:#eaf0f7}
.pipeline-thumb-placeholder{display:grid;place-items:center;color:#6b7e95;font-size:11px}
.pipeline-product b,.pipeline-product small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pipeline-product small{color:#64768d}
.pipeline-stage{margin-top:5px;color:#155a9f;font-size:12px;font-weight:700}
.pipeline-details{display:flex;gap:18px;margin-top:8px}
.pipeline-details details{flex:1}.pipeline-details summary{cursor:pointer;color:#155a9f;font-weight:700}
.pipeline-record-list{display:grid;gap:5px;margin-top:5px;max-height:180px;overflow:auto}
.pipeline-record{padding:6px;border-left:3px solid #d7e2ef;background:#fff}
.pipeline-record.error{border-color:#d83b32}.pipeline-record.duplicate{border-color:#8e63c7}
.pipeline-record b,.pipeline-record small{display:block}.pipeline-record small{color:#61748c}
#pipelineDataTime{display:block;margin-top:7px}
@media(max-width:1350px){.pipeline-metrics{grid-template-columns:repeat(4,1fr)}.pipeline-lanes{grid-template-columns:1fr}.pipeline-local-lanes{grid-template-columns:1fr}}
@media(max-width:1100px){.expanded-audit-grid,.import-audit-grid{grid-template-columns:1fr}.expanded-wide{grid-column:auto}.compact-actions{grid-template-columns:1fr}.product-table-wrap table{min-width:1150px}}
.review-model-actions{display:flex;align-items:end;gap:8px;flex-wrap:wrap;margin:10px 0;padding:10px;border:1px solid #d6e2f0;border-radius:8px;background:#fff}.review-model-actions label{display:grid;gap:4px;min-width:150px}.review-model-actions input,.review-model-actions select{height:34px}.synthetic-review{border-left:4px solid #805ad5;background:#faf8ff}.review-media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}.review-media-grid article{border:1px solid #d6e2f0;border-radius:8px;padding:8px;background:#fff}.review-media-grid img,.review-media-grid video{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:6px;background:#eef3f8}.review-media-grid small{display:block;margin-top:6px}.review-media-missing{display:grid;place-items:center;aspect-ratio:1;background:#eef3f8;color:#667085;border-radius:6px}
.pricing-approval-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:8px;padding:8px;border:1px solid #e3bd72;border-radius:7px;background:#fff8e8;color:#805300}.pricing-approval-actions button{min-height:30px}.pricing-approval-actions b{margin-right:4px}
.product-batch-progress{display:grid;gap:9px;margin:0;padding:12px 22px;border-bottom:1px solid #b9d2ef;background:#eef6ff}.product-batch-progress>header{display:flex;align-items:center;justify-content:space-between;gap:14px}.product-batch-progress>header>div:first-child{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.product-batch-overall-track{height:9px;overflow:hidden;border-radius:999px;background:#cfdef0}.product-batch-overall-track i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1769df,#21a366);transition:width .25s ease}.product-batch-progress-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:360px;overflow:auto}.product-batch-progress.collapsed .product-batch-progress-items,.product-batch-progress.collapsed .product-batch-background-note{display:none}.product-batch-progress-item{display:grid;grid-template-columns:48px minmax(0,1fr);gap:9px;padding:8px;border:1px solid #cadaec;border-left:4px solid #8aa5c3;border-radius:8px;background:#fff}.product-batch-progress-item.running{border-left-color:#1769df}.product-batch-progress-item.completed{border-left-color:#15915a;background:#f5fff9}.product-batch-progress-item.review{border-left-color:#d59a16;background:#fffaf0}.product-batch-progress-item.failed{border-left-color:#d33a3a;background:#fff5f5}.product-batch-progress-item img,.product-batch-progress-placeholder{width:48px;height:48px;object-fit:cover;border-radius:6px;background:#dce8f5;display:grid;place-items:center}.product-batch-progress-item b,.product-batch-progress-item small,.product-batch-progress-item span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-batch-progress-item span{color:#234a77;font-weight:700}.product-batch-progress-item small{color:#6a7d94}.product-batch-background-note{margin:0}@media(max-width:850px){.product-batch-progress-items{grid-template-columns:1fr}.product-batch-progress>header{align-items:flex-start;flex-direction:column}}
.sku-cost-editor{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:7px;padding:7px;border:1px solid #d8c7a2;border-radius:7px;background:#fffaf0}.sku-cost-editor label{display:grid;gap:3px;font-size:11px}.sku-cost-editor input{width:92px!important}.sku-cost-editor button,.sku-cost-editor small{grid-column:1/-1}.sku-cost-editor.discontinued{display:block;color:#a54823;background:#fff1ed}
.product-image-workflow{margin:12px 0;padding:12px;border:1px solid #b9d2ee;border-radius:9px;background:#f5f9ff}.product-image-workflow.has-pending{border-color:#e7b75d;background:#fffaf0}.product-image-workflow>header{display:flex;align-items:center;justify-content:space-between;gap:16px}.product-image-workflow>header h3{display:inline;margin:0 8px}.product-image-workflow>header p{display:inline;margin:0;color:#5b6f87}.workflow-step{display:inline-block;padding:4px 8px;border-radius:999px;background:#1769df;color:#fff;font-weight:800}.workflow-ready-badge{padding:6px 10px;border-radius:999px;background:#def5e8;color:#08784c;font-weight:800;white-space:nowrap}.product-image-workflow-summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0}.product-image-workflow-summary span{padding:4px 8px;border-radius:999px;background:#e8eef6;color:#49627e}.product-image-workflow-summary .ready{background:#def5e8;color:#08784c}.product-image-workflow-summary .pending{background:#fff0d2;color:#a35d00}.product-image-visual-facts{margin:8px 0;padding:8px 10px;border-left:4px solid #4387d7;border-radius:5px;background:#edf5ff}.product-image-visual-facts b{display:block;margin-bottom:3px;color:#183e6d}.product-image-visual-facts p{margin:0;color:#405a78;white-space:pre-wrap}.product-image-workflow-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:7px;max-height:290px;overflow:auto}.product-image-workflow-grid article{display:grid;grid-template-columns:58px minmax(0,1fr);gap:8px;padding:7px;border:1px solid #d6e2ef;border-left:4px solid #7c91a9;border-radius:7px;background:#fff}.product-image-workflow-grid article.ready{border-left-color:#15915a}.product-image-workflow-grid article.pending,.product-image-workflow-grid article.review{border-left-color:#dc8a00}.product-image-workflow-grid .thumb{width:58px;height:58px;object-fit:cover;border-radius:5px;background:#edf2f7;cursor:zoom-in}.product-image-workflow-grid b,.product-image-workflow-grid span,.product-image-workflow-grid small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-image-workflow-grid span{font-weight:800;color:#234a77}.product-image-workflow-grid small{color:#60738c}.product-image-workflow-grid .issue{color:#b43b24}.workflow-next{margin:9px 0 0;padding:8px;border-radius:6px;background:#fff1d8;color:#8a5200}.workflow-next.ready{background:#e5f7ec;color:#08784c}@media(max-width:760px){.product-image-workflow>header{align-items:flex-start;flex-direction:column}.product-image-workflow-grid{grid-template-columns:1fr}}
.integration-form-editing {
  outline: 2px solid #2f80ed;
  outline-offset: 3px;
  background: #f4f9ff;
}
.temu-profit-summary-panel{display:grid;gap:8px;padding:10px 22px;border-bottom:1px solid #cfe0f3;background:#f4f9ff}.temu-profit-summary-panel>header{display:flex;align-items:center;justify-content:space-between;gap:14px}.temu-profit-summary-panel>header>div{display:grid;gap:2px}.temu-profit-summary-panel small{color:#657991}.temu-profit-summary-results{overflow:auto}.temu-profit-summary-table{width:100%;min-width:1050px;border-collapse:collapse;background:#fff}.temu-profit-summary-table th,.temu-profit-summary-table td{padding:7px 9px;border:1px solid #d7e3f0;text-align:right;white-space:nowrap}.temu-profit-summary-table th:first-child,.temu-profit-summary-table td:first-child{text-align:left}.temu-profit-summary-table .profit-problem{color:#bd2d2d;font-weight:800;background:#fff4f2}.temu-profit-summary-table .profit-good{color:#08784c;font-weight:700}.temu-profit-summary-total{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:7px}.temu-profit-summary-total span{padding:5px 9px;border-radius:999px;background:#e3eefc;color:#234a77}.temu-min-profit-tool{border-color:#e2b36a;background:#fffaf0}.temu-min-profit-tool input{font-weight:800;color:#b24a18}.product-bulk-tools{grid-template-columns:repeat(6,minmax(205px,1fr))}@media(max-width:1750px){.product-bulk-tools{grid-template-columns:repeat(3,minmax(245px,1fr))}}@media(max-width:900px){.temu-profit-summary-panel>header{align-items:flex-start;flex-direction:column}.product-bulk-tools{grid-template-columns:repeat(2,minmax(260px,1fr))}}@media(max-width:700px){.product-bulk-tools{grid-template-columns:1fr}}
.product-ai-drawer.hidden{display:none!important;visibility:hidden!important;pointer-events:none!important}
.product-ai-drawer:not(.hidden){visibility:visible;pointer-events:auto}
.product-ai-drawer .drawer-header{z-index:120}.product-ai-drawer .drawer-header .actions,.product-ai-drawer .drawer-header button{position:relative;z-index:121;pointer-events:auto!important}
.product-automation-overview{margin:12px 20px;padding:12px;border:1px solid #b9cee7;border-radius:8px;background:#f7fbff}
.automation-overview-header{display:flex;align-items:center;justify-content:space-between;gap:16px}
.automation-overview-header h3{margin:0 0 3px;font-size:17px}
.automation-overview-header p{margin:0}
.automation-control-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.automation-control-actions button{min-width:68px}
.automation-overview-stats{display:grid;grid-template-columns:repeat(10,minmax(78px,1fr));gap:6px;margin-top:10px}
.automation-stat{display:grid;gap:2px;min-width:0;padding:7px 8px;border:1px solid #d7e3ef;border-radius:6px;background:#fff}
.automation-stat span{overflow:hidden;color:#60738c;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.automation-stat strong{color:#17375e;font-size:18px;line-height:1.15}
.automation-stat.active{border-color:#8eb8ec;background:#eef6ff}.automation-stat.active strong{color:#1769df}
.automation-stat.success{border-color:#8dd4ac;background:#effaf4}.automation-stat.success strong{color:#08784c}
.automation-stat.warning{border-color:#e8c879;background:#fff9e9}.automation-stat.warning strong{color:#a15e00}
.automation-stat.error{border-color:#efb6ad;background:#fff4f2}.automation-stat.error strong{color:#c62828}
.automation-overview-lower{display:grid;grid-template-columns:minmax(0,3fr) minmax(300px,2fr);gap:8px;margin-top:8px}
.automation-overview-lower>div{padding:8px;border:1px solid #d7e3ef;border-radius:6px;background:#fff}
.automation-batch-stats,.automation-capability-stats{display:flex;align-items:center;gap:7px 13px;flex-wrap:wrap;margin-top:6px}
.automation-batch-stats span{color:#52677f;font-size:12px}.automation-batch-stats b{color:#17375e}
.automation-capability{display:inline-flex;align-items:center;gap:6px;padding:4px 7px;border-radius:5px;background:#eef2f7;color:#52677f;font-size:11px}
.automation-capability::before{content:"";width:7px;height:7px;border-radius:50%;background:#8796a8}
.automation-capability.ready{background:#e5f7ec;color:#08784c}.automation-capability.ready::before{background:#15915a}
.automation-capability.error{background:#fff0ed;color:#b33429}.automation-capability.error::before{background:#d33a3a}
.automation-capability.checking{background:#eef6ff;color:#1762ad}.automation-capability.checking::before{background:#2876d5}
.automation-overview-notice{margin-top:8px;padding:6px 8px;border-radius:5px;background:#edf2f7;font-size:12px}
.automation-overview-notice.warning{background:#fff4d8;color:#8a5a00}.automation-overview-notice.error{background:#fff0ed;color:#b33429}
.product-automation-advanced{margin:0 20px 10px;border:1px solid #cedbea;border-radius:7px;background:#f8fafc}
.product-automation-advanced>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px;cursor:pointer;color:#25486f;font-weight:800}
.product-automation-advanced>summary small{color:#6a7d94;font-weight:500}
.product-automation-advanced[open]>summary{border-bottom:1px solid #d5e1ed;background:#eef5fd}
.product-review-state-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:8px 14px;padding:10px 12px;border:1px solid #e1c16f;border-left:5px solid #d99a11;border-radius:7px;background:#fff9e8}
.product-review-state-bar>div{display:grid;gap:3px}.product-review-state-bar span,.product-review-state-bar small{color:#62758d}
.product-review-state-bar.locked{border-color:#78c59d;border-left-color:#15915a;background:#eefaf4}
.product-review-state-bar.locked strong{color:#08784c}
.review-state-badge{display:inline-flex;align-items:center;padding:3px 6px;border-radius:999px;background:#fff2d6;color:#956200;font-size:11px;font-weight:800}
.review-state-badge.locked{background:#def5e8;color:#08784c}
.product-review-lock-badge,.product-review-pending-badge{display:inline-flex;align-items:center;max-width:100%;padding:3px 7px;border-radius:999px;font-size:11px;font-weight:800;line-height:1.25;white-space:normal}
.product-review-lock-badge{background:#dff7ea;color:#08784c;border:1px solid #9ed7bd}.product-review-pending-badge{background:#fff3d6;color:#8a5a00;border:1px solid #e8c36f}
@media(max-width:1450px){.automation-overview-stats{grid-template-columns:repeat(5,1fr)}}
@media(max-width:900px){.automation-overview-header{align-items:flex-start;flex-direction:column}.automation-overview-lower{grid-template-columns:1fr}.automation-overview-stats{grid-template-columns:repeat(2,1fr)}.product-review-state-bar{align-items:flex-start;flex-direction:column}}
.review-capture-summary{display:grid;gap:4px;margin:0 0 12px;padding:10px 12px;border-radius:8px;border:1px solid #d6e2f0}.review-capture-summary.audit-ready{background:#e7f7ef;border-color:#9bd5b6;color:#08784c}.review-capture-summary.audit-blocked{background:#fff2dc;border-color:#efc77d;color:#8a5a00}.review-capture-summary span,.review-capture-summary small{line-height:1.45}
