.sku-list-panel{padding:28px}.sku-list-toolbar{display:flex;justify-content:space-between;gap:24px;align-items:center;flex-wrap:wrap}.sku-list-toolbar h2{margin:0 0 8px}.sku-list-toolbar p{margin:0;color:#789080}.sku-list-toolbar form{display:flex;gap:10px;flex-wrap:wrap}.sku-list-toolbar input{min-width:260px}.sku-list-table{overflow-x:auto;margin:22px -28px 0}.sku-list-table table{width:100%;border-collapse:collapse;min-width:900px}.sku-list-table th{background:#f0f5ed;color:#6c8574;text-align:left;padding:16px 20px;font-size:13px}.sku-list-table td{padding:18px 20px;border-bottom:1px solid #e3eae0;vertical-align:middle}.sku-list-table td small{display:block;color:#809484;margin-top:7px}.sku-list-table code{font-size:14px;white-space:nowrap}.sku-list-footer{display:flex;justify-content:space-between;gap:18px;align-items:center;padding-top:24px;color:#809484}.sku-product-dialog{width:min(880px,94vw);max-height:88vh;overflow:auto;padding:30px;border:1px solid #d6e1d6;border-radius:14px;color:#254b3d}.sku-product-dialog::backdrop{background:#173b3155}.sku-product-dialog p{line-height:1.7}.sku-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 22px;margin:24px 0}.sku-field-grid label{display:block;font-size:14px;font-weight:600}.sku-field-grid input{box-sizing:border-box;display:block;width:100%;margin-top:8px;padding:12px;border:1px solid #cbdacf;border-radius:6px;background:#fff;font:inherit;color:#214739}.sku-field-grid input[readonly]{background:#f2f5ef;color:#7a8d7c}.sku-product-dialog .dialog-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;padding-top:18px}.sku-product-card{margin-top:22px;padding:18px;background:#f1f6ed;border:1px solid #dce6d7;border-radius:8px}.sku-card-heading{display:flex;justify-content:space-between;gap:12px}.sku-card-heading span,.sku-product-card small{color:#718972}.sku-product-card p{margin:10px 0}.sku-images{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.sku-images:empty{display:none}.sku-images img{width:86px;height:86px;object-fit:contain;background:white;border:1px solid #dde5da;border-radius:6px}.sku-pending-notice{background:#fff7e8;border:1px solid #eed9af;border-radius:8px;padding:15px;margin-top:20px}#skuProductMessage,#skuListStatus{color:#93662f;overflow-wrap:anywhere}@media(max-width:700px){.sku-field-grid{grid-template-columns:1fr}.sku-list-panel{padding:18px}.sku-list-table{margin-left:-18px;margin-right:-18px}.sku-list-toolbar input{min-width:0;width:100%}.sku-product-dialog{padding:20px}.sku-card-heading{flex-direction:column}.sku-list-footer{align-items:flex-start;flex-direction:column}}

.sku-origin-cell{min-width:120px}.sku-origin-cell img{width:52px;height:52px;object-fit:contain;border:1px solid #dce5da;border-radius:5px;margin:3px;background:#fff}#newSkuCode{display:block;width:100%;box-sizing:border-box;margin:15px 0;padding:13px;font:inherit;border:1px solid #cbdacf;border-radius:6px}

.scan-origin-panel {margin:20px;padding:20px;border:1px solid #d4e2d6;border-radius:12px;background:#fff;text-align:left;}
.scan-origin-panel header {display:flex;align-items:center;justify-content:space-between;gap:12px;}
.scan-origin-panel h3 {margin:6px 0 14px;font-size:24px;color:#205b45;}
.origin-photo-warning {padding:12px;border:1px solid #ecd4a6;background:#fff8e8;color:#875418;border-radius:6px;}
.origin-photo-actions {display:flex;gap:10px;flex-wrap:wrap;margin:12px 0;}
.scan-origin-panel .sku-images img {width:100px;height:100px;object-fit:contain;}

#skuProductDialog .sku-field-grid label{margin:0}
#skuProductDialog .dialog-actions .button{width:auto;flex:0 1 auto}

/* Compact new-SKU entry; secondary fields and pictures stay out of the scan path. */
#skuProductDialog{width:min(740px,94vw);max-height:88dvh;padding:20px 22px;border-radius:12px}#skuProductDialog .dialog-heading{align-items:flex-start;gap:16px}#skuProductDialog h2{font-size:20px;margin:0 0 5px}.sku-dialog-code{font:600 14px/1.5 Consolas,monospace;color:#497059;overflow-wrap:anywhere}#skuProductDialog .sku-dialog-hint{font-size:12px;color:#6d8275;line-height:1.5;margin:10px 0}.sku-dialog-photo-note{font-size:12px;color:#8c743f;padding:8px 10px;background:#fbf8ee;border:1px solid #e9dfc6;border-radius:6px;margin:10px 0!important}#skuProductDialog .sku-field-grid{gap:10px 16px;margin:14px 0}#skuProductDialog .sku-field-grid label{font-size:12px;color:#3a5b48;line-height:1.4}#skuProductDialog .sku-field-grid input{height:38px;min-height:38px;padding:8px 10px;font-size:14px;margin-top:5px;border-radius:5px}.sku-more-fields,.sku-dialog-photos{border-top:1px solid #e1e8df;padding-top:10px;margin-top:10px}.sku-more-fields>summary,.sku-dialog-photos>summary{font-size:12px;color:#667c6b;cursor:pointer}#skuProductDialog .dialog-actions{position:sticky;bottom:-20px;z-index:2;background:#fff;border-top:1px solid #dce5dc;margin:14px -2px -2px;padding:12px 0 4px;gap:10px}#skuProductDialog .dialog-actions .button{min-height:38px;padding:9px 14px;font-size:13px}#skuProductMessage{font-size:12px;margin:10px 0;line-height:1.5}#skuProductMessage:empty{display:none}@media(max-width:600px){#skuProductDialog{padding:18px;width:94vw}#skuProductDialog .sku-field-grid{grid-template-columns:1fr;gap:10px}#skuProductDialog .dialog-actions{bottom:-18px}#skuProductDialog .dialog-actions .button{flex:1}}
.sku-list-panel{padding:24px;overflow:hidden}
.sku-list-toolbar{align-items:flex-start;gap:20px}
.sku-list-toolbar h2{font-size:22px;color:#214739}
.sku-list-toolbar p{font-size:13px;line-height:1.6}
.sku-list-toolbar form{flex:1 1 530px;justify-content:flex-end;align-items:center}
.sku-list-toolbar input{flex:1 1 250px;min-width:180px;max-width:440px}
#skuListStatus{font-size:13px;color:#61786a;margin:18px 0 0;padding:10px 12px;background:#f3f7f2;border-radius:5px}
.sku-list-table{margin:16px -24px 0}
.sku-list-table table{table-layout:fixed;min-width:960px;font-family:"Segoe UI","Microsoft YaHei",sans-serif}
.sku-list-table th{padding:12px 14px;font-weight:600;line-height:1.5;color:#486252;border-bottom:1px solid #d7e2d6}
.sku-list-table th:nth-child(1){width:16%}.sku-list-table th:nth-child(2){width:14%}.sku-list-table th:nth-child(3){width:17%}.sku-list-table th:nth-child(4){width:10%}.sku-list-table th:nth-child(5){width:8%}.sku-list-table th:nth-child(6){width:11%}.sku-list-table th:nth-child(7){width:12%}.sku-list-table th:nth-child(8){width:12%}
.sku-list-table td{padding:14px;line-height:1.5;font-size:14px;color:#294b3b;overflow-wrap:anywhere;background:#fff;vertical-align:middle}
.sku-list-table tbody tr:nth-child(even) td{background:#f8faf6}
.sku-list-table tbody tr:hover td{background:#eef5ec}
.sku-list-table code{font-family:Consolas,"Cascadia Mono",monospace;font-size:16px;font-weight:700;white-space:normal;overflow-wrap:anywhere;color:#184d36}
.sku-cell-primary{font-size:14px;font-weight:600;display:block}
.sku-list-table td small{font-size:12px;line-height:1.5;margin-top:5px;color:#657a6c}
.sku-reference{font-family:Consolas,monospace}
.sku-spec{display:inline-block!important;background:#edf2e8;border-radius:4px;padding:2px 7px;max-width:100%}
.sku-origin-tag{display:inline-block;background:#eef4e9;border:1px solid #dce6d4;padding:4px 8px;border-radius:5px;font-weight:600;font-size:12px;max-width:100%}
.sku-weight-cell>div{display:flex;gap:10px;justify-content:space-between;align-items:baseline}
.sku-weight-cell span{font-size:11px;color:#697e6d}.sku-weight-cell b{font:600 14px/1.7 Consolas,monospace;font-variant-numeric:tabular-nums}
.sku-origin-cell img{width:44px!important;height:52px!important;object-fit:contain;border-radius:4px;border:1px solid #d9e2d5;background:white}
.sku-origin-cell a{display:inline-block;vertical-align:middle;margin:2px}
.sku-action-cell .text-button{font-size:12px;font-weight:600;line-height:1.5;border:1px solid #d2dfcc;padding:7px 9px;border-radius:5px;background:#fff;color:#246346}
.sku-action-cell .text-button:hover{background:#e4efdf;border-color:#8caf80}
.sku-list-footer{padding-top:16px;gap:10px;flex-wrap:wrap;font-size:12px}.sku-list-footer>span{flex:1 1 320px}
.sku-list-footer .button{padding:8px 13px;font-size:12px}
.sku-empty-state{padding:36px!important;text-align:center}.sku-empty-state .button{margin-left:14px}
@media(max-width:700px){.sku-list-panel{padding:18px}.sku-list-table{margin-left:-18px;margin-right:-18px}.sku-list-toolbar form{justify-content:flex-start;flex-basis:100%}.sku-list-toolbar input{max-width:none;flex-basis:100%}.sku-list-footer{flex-direction:row}.sku-list-footer>span{flex-basis:100%}}
.sku-list-table th,.sku-list-table td,.sku-action-cell .text-button{white-space:normal}.sku-list-table .sku-origin-cell{min-width:0}.sku-list-table .sku-action-cell .text-button{max-width:100%;box-sizing:border-box}
