.customer-bulk-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 16px 12px;padding:11px 13px;color:#28415f;background:#f2f7ff;border:1px solid #d7e5fb;border-radius:11px}.customer-bulk-bar.hidden{display:none!important}.customer-bulk-bar strong{font-size:12px}.customer-bulk-bar span{margin-left:10px;color:#8190a5;font-size:10px}.customer-bulk-actions{display:flex;gap:8px}.btn.danger{color:#fff;background:#dc3545;border-color:#dc3545}.btn:disabled{opacity:.46;cursor:not-allowed}.customer-select-cell{width:46px!important;min-width:46px!important;text-align:center}.customer-select-cell input{width:16px;height:16px;accent-color:var(--primary);cursor:pointer}
.sop-workflow-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:-3px 0 14px}.sop-workflow-actions.hidden{display:none!important}.sop-category-title,.sop-category-actions,.sop-category-right{display:flex;align-items:center;gap:9px}.sop-category-title>div>span{display:block;margin-top:3px}.sop-category-drag{display:inline-grid;place-items:center;width:27px;height:31px;color:#6f7f94;background:#eef3f9;border:1px solid #dbe4ef;border-radius:8px;cursor:grab;user-select:none;font-weight:900;letter-spacing:-3px}.sop-category.dragging{opacity:.52;outline:2px dashed #4c8bea;outline-offset:-2px}.sop-table th:nth-child(1){width:190px}.sop-table th:nth-child(2){width:auto}.sop-table th:nth-child(3){width:240px}.sop-table th:nth-child(4){width:125px}.sop-table th:nth-child(5){width:130px}.sop-notes{display:block;margin-top:8px;padding-top:7px;color:#7b8798;border-top:1px dashed #dfe5ed;font-size:10px}.sop-attachments{display:grid;gap:6px}.sop-attachments a{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:7px;padding:7px 8px;color:#245da8;background:#eef6ff;border:1px solid #d8e8fb;border-radius:9px;text-decoration:none}.sop-attachments a span{display:grid;place-items:center;width:22px;height:22px;color:#fff;background:#3478eb;border-radius:6px}.sop-attachments a b{overflow:hidden;text-overflow:ellipsis;font-size:10px}.sop-attachments a small{color:#8492a5;font-size:8.5px}.sop-no-file,.sop-readonly{color:#9aa4b2;font-size:10px}.sop-readonly-chip{padding:6px 9px;color:#68758a!important;background:#f1f4f8;border-radius:999px}.sop-status{display:inline-flex;align-items:center;gap:6px;padding:7px 9px;border:0;border-radius:999px;font-size:10px;font-weight:800;cursor:pointer}.sop-status i{width:7px;height:7px;border-radius:50%}.sop-status.open{color:#7b5a08;background:#fff7df}.sop-status.open i{background:#e6a718}.sop-status.done{color:#087c4f;background:#eafbf3}.sop-status.done i{background:#16a56b}.sop-upload-box{margin:4px 0;padding:13px 14px;background:#f7faff;border:1px dashed #b9cce6;border-radius:12px}.sop-edit-attachments{display:grid;gap:7px;margin-top:9px}.sop-edit-attachments>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 9px;background:#fff;border:1px solid #e1e7ef;border-radius:8px}
@media(max-width:720px){.customer-bulk-bar{align-items:flex-start;flex-direction:column}.sop-workflow-actions,.sop-category-head,.sop-category-right{align-items:stretch;flex-direction:column}}
.customer-select-column{width:46px!important;min-width:46px!important;text-align:center}.customer-select-column input{width:16px;height:16px;accent-color:var(--primary)}.customer-bulk-bar select{min-width:180px;padding:8px 10px;border:1px solid #d8e0eb;border-radius:8px;background:#fff}.customer-bulk-bar{justify-content:flex-start}.customer-bulk-bar strong{margin-right:auto}
.sop-platform-controls,.sop-category-actions,.sop-item-actions{display:flex;align-items:center;gap:7px}.sop-platform-tab span{padding:2px 6px;color:#8090a5;background:#fff;border-radius:999px;font-size:9px}.sop-collapse{width:30px;height:30px;border:0;border-radius:8px;background:#eef3f9;color:#58708e;font-weight:900;cursor:pointer}.sop-drag,.sop-item-drag{color:#7e8da2;cursor:grab;font-weight:900}.sop-category-head>div:nth-of-type(1){flex:1}.sop-category-head small{display:block;margin-top:4px}.sop-category.collapsed .sop-category-items{display:none}.sop-category.collapsed .sop-category-head{border-bottom:0}.sop-category-items{display:grid}.sop-item-card{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:10px;align-items:start;padding:15px 18px;border-bottom:1px solid #e8edf3}.sop-item-card:last-child{border-bottom:0}.sop-item-card.completed{background:#fbfffd}.sop-item-main h4{margin:0 0 7px;font-size:13px}.sop-item-main p{margin:0;color:#526177;line-height:1.7;font-size:11px}.sop-item-main>small{display:block;margin-top:8px;color:#7a8798}.sop-attachments{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.sop-attachments>span{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;background:#eef6ff;border:1px solid #d8e8fb;border-radius:8px}.sop-attachments>span a{display:inline;color:#245da8;background:none;border:0;padding:0}.sop-attachments button,.sop-item-actions button,.sop-category-actions button{padding:5px 8px;border:1px solid #dce4ee;border-radius:7px;background:#fff;color:#52657f;font-size:10px;cursor:pointer}.sop-item-actions{justify-content:flex-end;flex-wrap:wrap}.sop-status.done{color:#087c4f!important;background:#eafbf3!important;border-color:#bdebd6!important}
.ci-goods th:nth-child(1){width:9mm}.ci-goods th:nth-child(2){width:20mm;text-align:center}.ci-goods th:nth-child(3){width:auto;text-align:left}.ci-goods th:nth-child(4){width:18mm;text-align:center}.ci-goods th:nth-child(5){width:25mm;text-align:right}.ci-goods th:nth-child(6){width:27mm;text-align:right}.ci-goods td:nth-child(2),.ci-goods td:nth-child(4){text-align:center}.ci-goods td:nth-child(3){text-align:left}.ci-goods td:nth-child(5),.ci-goods td:nth-child(6){text-align:right}.ci-product-image{width:74px;text-align:center}.ci-product-image img{display:block;width:58px;height:58px;margin:auto;object-fit:contain;border:1px solid #d8e1eb;border-radius:5px;background:#fff}.ci-product-image span{display:grid;width:58px;height:46px;margin:auto;place-items:center;border:1px dashed #c9d4df;border-radius:5px;color:#94a3b8;font-size:8px}.invoice-product-card>label.wide{grid-column:1/-1}.invoice-product-card small,.quote-product-card small{display:block;margin-top:5px;color:#7a8898;font-size:11px}
@media print{.ci-product-image img{width:14mm;height:14mm}.ci-product-image span{width:14mm;height:11mm}}
