.sku-stock-link-section{grid-column:1/-1}.sku-stock-link-section>header{display:flex;gap:10px}.sku-stock-link-section h3{margin:0}.sku-stock-link-section p,.sku-stock-link-section small{font-size:12px;line-height:1.7}.sku-link-help,.sku-link-legacy{background:#f0f6f1;border:1px solid #dbe6dc;border-radius:7px;padding:9px}.sku-link-legacy button{margin-left:10px}.sku-link-bulk{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin:10px 0}.sku-link-bulk select{max-width:250px;padding:7px}.sku-link-table{min-width:1050px;font-size:12px}.sku-link-table td>small{display:block;color:#7a857e}.sku-link-table select{max-width:230px;min-width:150px;width:100%;padding:7px;border:1px solid #d7e2da;border-radius:5px}.sku-link-source{display:flex;gap:4px}.sku-link-source input{width:48px;min-width:48px;border:1px solid #d7e2da;border-radius:5px}.sku-link-badge{display:inline-flex;align-items:center;gap:5px;margin:5px 0;padding:4px 6px;border-radius:5px;background:#e6f3e9;color:#24623d;font-size:11px}.sku-link-badge button{border:0;background:transparent;color:#a75445;font-size:15px;cursor:pointer}.sku-link-none{display:block;font-size:11px;color:#8b958f;margin:5px 0}.sku-stock-link-section details{font-size:12px;margin-top:10px}.sku-stock-link-section [hidden]{display:none!important}

.sku-stock-link-section .table-scroll{max-height:470px;overflow:auto}.sku-link-table thead th{position:sticky;top:0;z-index:1;background:#f4f8f5}.sku-link-table td{vertical-align:top}.sku-link-section-price{font-weight:600}

.workbench-table .sku-category-cell{display:flex;align-items:center;gap:8px}.sku-category-cell>span:last-child>small{display:block;color:#718079;margin-top:4px}.workbench-table .sku-link-badge,.workbench-table .sku-link-none{display:inline-flex;align-items:center;gap:1px;flex-shrink:0;white-space:nowrap;font-size:11px;line-height:18px;margin:0;padding:0 3px;border-radius:4px}.workbench-table .sku-link-none{background:#f1f3f2;color:#a3aaa6}.workbench-table .sku-link-badge{background:#e6f3e9;color:#24623d}.workbench-table .sku-link-badge button{padding:0;width:12px;height:18px;min-width:0;font-size:13px;line-height:18px;margin:0}.workbench-table td:last-child .table-link{display:inline-block;white-space:nowrap}

.sku-link-batch-entry{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:10px 0}.sku-stock-bulk-modal{width:min(900px,calc(100vw - 40px));max-height:88vh;overflow:auto;background:#fff;padding:22px;border-radius:14px;margin:auto}.sku-stock-bulk-modal header,.sku-stock-bulk-modal footer,.sku-bulk-filter-head{display:flex;align-items:center;gap:8px}.sku-stock-bulk-modal header{justify-content:space-between}.sku-stock-bulk-modal h3{margin:0}.sku-stock-bulk-modal p{font-size:12px;color:#65776e}.sku-bulk-filters{display:grid;grid-template-columns:1fr 1fr;gap:14px}.sku-bulk-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:6px;max-height:310px;overflow:auto;margin-top:8px;padding:2px}.sku-bulk-choices label{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px;border:1px solid #dbe4de;border-radius:6px;font-size:12px;overflow-wrap:anywhere}.sku-bulk-choices input{flex-shrink:0}.sku-bulk-settings{display:flex;align-items:end;gap:12px;margin:14px 0}.sku-bulk-settings label{display:grid;gap:5px;font-size:12px}.sku-bulk-settings select{max-width:620px;width:100%;padding:8px}.sku-bulk-settings input{width:65px;padding:8px}.sku-stock-bulk-modal footer{justify-content:flex-end;position:sticky;bottom:-22px;background:white;padding:12px 0}.sku-bulk-filter-head button{font-size:11px;padding:3px 6px}#skuBulkTargets{font-size:13px;font-weight:600;color:#174d3f}#skuBulkFeedback{min-height:18px}@media(max-width:650px){.sku-bulk-filters{grid-template-columns:1fr}.sku-bulk-choices{max-height:180px}.sku-bulk-settings{flex-wrap:wrap}}

.sku-bulk-settings:has(.stock-source-picker){display:grid;grid-template-columns:minmax(0,1fr) 90px}.stock-source-picker{display:grid;grid-template-columns:1fr 1fr;gap:8px;grid-column:1/-1}.stock-source-picker label{display:grid;gap:4px;font-size:12px}.stock-source-picker select,.stock-source-picker input{width:100%;max-width:100%;box-sizing:border-box;padding:7px}.stock-source-search,.stock-source-product{grid-column:1/-1}.sku-stock-bulk-modal [data-result]{width:100%;padding:8px}.sku-bulk-choices label>span{flex:1;min-width:0}.sku-bulk-choices .sku-linked-status{font-size:10px;color:#8b9690;white-space:nowrap}.sku-bulk-choices label.has-stock-links{background:#eff7f1;border-color:#b9d8c3}.sku-bulk-choices .has-stock-links .sku-linked-status{color:#24623d}

.sku-link-batch-entry [data-stock-bulk="head"]{background:#edf4ff;border-color:#b9cff0;color:#285c9b}.sku-link-batch-entry [data-stock-bulk="post"]{background:#fff3e6;border-color:#e9c59c;color:#93591b}.sku-link-batch-entry [data-stock-bulk="independent"]{background:#f4eefb;border-color:#d5bce9;color:#775095}.sku-bulk-filters [data-axis="color"]{background:#f3f7ff;border:1px solid #d8e4f7;padding:10px;border-radius:8px}.sku-bulk-filters [data-axis="size"]{background:#fff8ee;border:1px solid #efdcc0;padding:10px;border-radius:8px}.sku-bulk-filters [data-axis="color"] .has-stock-links{background:#e4effe;border-color:#a9c6ee}.sku-bulk-filters [data-axis="size"] .has-stock-links{background:#fff0d9;border-color:#e3c08c}.stock-search-bar{display:flex;gap:5px;align-items:center}.stock-search-bar input{flex:1;min-width:0}.stock-search-bar button{white-space:nowrap;padding:7px 11px}.stock-clear-post{justify-self:start;background:#fff5f3;border:1px solid #e4c5be;color:#9d4434;padding:5px 9px;border-radius:5px;font-size:11px}.stock-source-picker [data-count]{grid-column:1/-1;color:#5d7065;line-height:1.6}

.stock-search-results{grid-column:1/-1;max-height:165px;overflow:auto;display:grid;gap:5px}.stock-search-results[hidden]{display:none}.stock-search-result{text-align:left;padding:8px 10px;background:#fff;border:1px solid #d9e2dd;border-radius:5px;font-size:12px;overflow-wrap:anywhere}.stock-search-result.selected{background:#e9f3ed;border-color:#6f9e80;color:#21593a}.stock-search-result.selected:before{content:"✓ ";font-weight:bold}

.category-manager-form{display:flex;flex-wrap:wrap;gap:7px}.category-manager-form input,.category-manager-form select{padding:7px;max-width:220px}.component-category-row{display:flex;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid #e3e9e5}.component-category-row>span{flex:1}.component-category-row small{display:block;color:#7c8981;font-size:11px}.part-search{flex-wrap:wrap}.part-search select{max-width:210px;padding:8px;border:1px solid #d7e1db;border-radius:6px}

#skuFinishedHeads{background:#edf7f3;border-color:#a0c8b7;color:#23684e}#finishedHeadStockModal select{max-width:400px;padding:7px}#finishedHeadStockModal td small{display:block;color:#a04f36}

#finishedHeadStockModal .finished-head-error{color:#ac3b2e;background:#fff1ed;border:1px solid #ebc6bd;border-radius:6px;padding:9px;font-weight:600;position:sticky;bottom:48px;z-index:1}

.finished-head-summary{border:1px solid #c6ded2;border-radius:7px;background:#f6faf7;padding:10px;margin:10px 0}.finished-head-summary>b{display:block;font-size:12px;margin-bottom:6px}.finished-head-summary table{font-size:12px;min-width:560px}.finished-head-summary .table-scroll{max-height:200px;overflow:auto}.finished-head-summary>small{color:#6c8073;font-size:11px}.finished-head-quick-row{display:flex;align-items:center;gap:12px;margin:7px 0;font-size:12px}.finished-head-quick-row>span{min-width:160px}.finished-head-quick-row input{max-width:100px!important}.finished-head-quick-row small{color:#6c8073}
