.stock-picker-open{flex-shrink:0;padding:9px 14px;background:#0f766e;color:#fff;border:1px solid #0f766e;border-radius:8px;font-size:13px;font-weight:650}.stock-picker-open[hidden]{display:none}
#stockPickerCatalogDialog [hidden]{display:none!important}
.stock-picker-visual-notice{padding:12px 16px;margin:0 0 16px;border:1px solid #5eead4;background:#f0fdfa;color:#134e4a;display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap;font-size:13px}.stock-picker-visual-notice[hidden]{display:none}.stock-picker-visual-notice button{font-weight:700;text-decoration:underline}.dark .stock-picker-visual-notice{background:#134e4a;color:#ccfbf1}
#stockPickerCatalogDialog{box-sizing:border-box;width:min(1120px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:90dvh;padding:24px;border:1px solid #cbd5e1;border-radius:16px;background:#fff;color:#0f172a;overflow:auto}
#stockPickerCatalogDialog::backdrop{background:#0f172a99}#stockPickerCatalogDialog h2{font-size:22px;font-weight:700;margin:0 90px 22px 0}#stockPickerCatalogDialog .stock-picker-close{position:absolute;right:20px;top:20px}
#stockPickerCatalogDialog #stockPicker{border:1px solid #cbd5e1;border-radius:12px;padding:20px;background:#f8fafc}#stockPickerCatalogDialog legend{font-weight:700;padding:0 8px}#stockPickerCatalogDialog p{font-size:13px;line-height:1.7;margin:10px 0}#stockPickerCatalogDialog label{display:block;font-size:14px;margin:16px 0}#stockPickerCatalogDialog textarea{display:block;padding:12px;border:1px solid #94a3b8;border-radius:8px;background:#fff;color:inherit;font:inherit}#stockPickerCatalogDialog input[type=file]{display:block;max-width:100%;margin-top:8px}#stockPickerCatalogDialog input[type=checkbox]{margin-right:8px;accent-color:#0f766e}
#stockPickerCatalogDialog button{padding:9px 14px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#0f172a;font-size:13px}#stockPickerCatalogDialog #stockPicker>button{background:#0f766e;color:#fff;border-color:#0f766e;margin:4px 8px 4px 0}#stockPickerCatalogDialog button:disabled{opacity:.45}#stockPickerCatalogDialog :focus-visible{outline:3px solid #38bdf8;outline-offset:2px}#stockPickerCatalogDialog table{width:100%;border-collapse:collapse;font-size:13px}#stockPickerCatalogDialog td,#stockPickerCatalogDialog th{padding:12px 10px;border-bottom:1px solid #dbe3ed;text-align:left;vertical-align:top}#stockPickerCatalogDialog th{font-weight:700}#stockPickerCatalogDialog ul{list-style:disc;padding-left:20px}
.dark #stockPickerCatalogDialog{background:#111827;color:#e2e8f0;border-color:#475569}.dark #stockPickerCatalogDialog #stockPicker{background:#172033;border-color:#475569}.dark #stockPickerCatalogDialog textarea,.dark #stockPickerCatalogDialog button{background:#111827;color:#e2e8f0;border-color:#475569}.dark #stockPickerCatalogDialog td,.dark #stockPickerCatalogDialog th{border-color:#334155}
#stockPickerCatalogDialog input[type=checkbox]{display:inline-block;width:auto;margin:0 8px 0 0;vertical-align:middle}.sf-catalog-heading:has(#stockPickerOpen){flex-wrap:wrap}
@media(max-width:600px){#stockPickerCatalogDialog{padding:14px}#stockPickerCatalogDialog #stockPicker{padding:12px}#stockPickerCatalogDialog h2{font-size:18px}}
.stock-picker-replacement-tools{display:grid;gap:6px;min-width:160px}.stock-picker-replacement-tools p{margin:2px 0!important;font-size:12px!important}.stock-picker-replacement-tools button{white-space:normal}
.stock-replacement-dialog{box-sizing:border-box;width:min(960px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:90dvh;overflow:auto;padding:24px;border:1px solid #cbd5e1;border-radius:16px;background:#fff;color:#0f172a}
.stock-replacement-dialog::backdrop{background:#0f172e99}.stock-replacement-dialog [hidden]{display:none!important}.stock-replacement-dialog h2{font-size:22px;margin:0 80px 16px 0}.stock-replacement-close{position:absolute;right:16px;top:16px}
.stock-replacement-dialog p,.stock-replacement-dialog li{font-size:14px;line-height:1.6}.stock-replacement-dialog button{padding:10px 14px;border:1px solid #0f766e;border-radius:8px;background:#0f766e;color:white;cursor:pointer}.stock-replacement-dialog button:disabled{opacity:.5;cursor:default}.stock-replacement-dialog label{display:block;font-size:14px;margin:10px 0}.stock-replacement-dialog input:not([type=checkbox]),.stock-replacement-dialog select{display:block;box-sizing:border-box;width:100%;max-width:320px;padding:9px;border:1px solid #94a3b8;border-radius:6px;background:inherit;color:inherit}.stock-replacement-dialog input[type=checkbox]{width:auto;margin-right:8px}.stock-replacement-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:0 16px}.stock-replacement-dialog details{padding:12px 0}.stock-replacement-dialog summary{cursor:pointer;font-weight:650}
.stock-replacement-card{border:1px solid #cbd5e1;border-radius:10px;padding:16px;margin:12px 0;overflow-wrap:anywhere}.stock-replacement-card h4{font-size:17px;margin:0 0 10px}.stock-replacement-card h5{font-size:14px;margin:12px 0 4px}.stock-replacement-card ul{padding-left:20px}.stock-replacement-dialog a,.stock-replacement-dialog small{display:block;margin:6px 0}.stock-replacement-group[data-stock-replacement-group=insufficient]{border-left:4px solid #d97706;padding-left:12px}.stock-replacement-dialog :focus-visible{outline:3px solid #38bdf8;outline-offset:2px}
.dark .stock-replacement-dialog{background:#111827;color:#e2e8f0;border-color:#475569}.dark .stock-replacement-card{border-color:#475569}@media(max-width:600px){.stock-replacement-dialog{padding:16px}.stock-replacement-dialog h2{font-size:18px}.stock-replacement-fields{grid-template-columns:1fr}}
.stock-replacement-photo{width:180px;max-width:100%;margin:12px 0;overflow:hidden;border:1px solid #dbe3ed;border-radius:10px;background:#fff}.stock-replacement-photo .product-img-container{display:block;position:relative;box-sizing:border-box;width:100%;height:150px;padding:8px;border:0;border-radius:0;background:#fff;color:#0f172a}.stock-replacement-photo img{display:block;width:100%;height:134px;object-fit:contain}.stock-replacement-photo .product-img-container:empty{min-height:150px}.stock-replacement-shortage,[data-stock-replacement-remainder]{background:#fffbeb;color:#92400e}.stock-replacement-shortage{padding:10px;border-left:4px solid #d97706;border-radius:6px}.dark .stock-replacement-shortage,.dark [data-stock-replacement-remainder]{background:#422006;color:#fde68a}.stock-replacement-card input[data-stock-replacement-quantity]{max-width:160px}
