/* DRYKETO Admin Portal RC1.7.9.60 — Products & Inventory action-width correction only. */
section[data-admin-panel="products"] .table-wrap{overflow-x:hidden}
section[data-admin-panel="products"] table{width:100%;min-width:0;table-layout:fixed;font-size:10px;line-height:1.04}
section[data-admin-panel="products"] th,section[data-admin-panel="products"] td{padding:3px 3px;vertical-align:middle}
section[data-admin-panel="products"] th{font-size:9px;line-height:1.03;white-space:nowrap}
/* Exact 100% distribution: Actions | Image | Product | Category | HSN | GST | Variant | On SP | Off SP | Stock | Active | Clear */
section[data-admin-panel="products"] th:nth-child(1){width:7%}
section[data-admin-panel="products"] th:nth-child(2){width:5%}
section[data-admin-panel="products"] th:nth-child(3){width:15%}
section[data-admin-panel="products"] th:nth-child(4){width:7%}
section[data-admin-panel="products"] th:nth-child(5){width:5%}
section[data-admin-panel="products"] th:nth-child(6){width:5%}
section[data-admin-panel="products"] th:nth-child(7){width:9%}
section[data-admin-panel="products"] th:nth-child(8){width:11%}
section[data-admin-panel="products"] th:nth-child(9){width:11%}
section[data-admin-panel="products"] th:nth-child(10){width:7%}
section[data-admin-panel="products"] th:nth-child(11){width:8%}
section[data-admin-panel="products"] th:nth-child(12){width:10%}
section[data-admin-panel="products"] .pi59-action-cell{text-align:center;vertical-align:middle;background:#fbfcfb;overflow:visible}
section[data-admin-panel="products"] .product-action-cell{display:flex!important;justify-content:center;align-items:center;min-width:0!important;width:100%!important;overflow:visible}
section[data-admin-panel="products"] .product-action-select{min-width:0!important;width:78px!important;max-width:78px!important;height:25px!important;padding:1px 18px 1px 4px!important;font-size:8px!important;margin:0!important;box-sizing:border-box!important}
section[data-admin-panel="products"] .pi59-image-cell{text-align:center;vertical-align:middle;background:#fbfcfb}
section[data-admin-panel="products"] .pi59-product-image{width:32px;height:32px;object-fit:cover;border-radius:6px;display:block;margin:auto}
section[data-admin-panel="products"] .pi59-product-cell{vertical-align:middle;background:#fbfcfb}
section[data-admin-panel="products"] .pi59-product-cell b{font-size:9px;line-height:1.04;display:block;white-space:normal;overflow-wrap:anywhere}
section[data-admin-panel="products"] .catalogue-state,section[data-admin-panel="products"] .row-actions,section[data-admin-panel="products"] td>.status-pill{display:none!important}
section[data-admin-panel="products"] input[data-price],section[data-admin-panel="products"] input[data-offline-price]{height:25px;padding:1px 4px;font-size:9px;width:64px!important;min-width:0!important;margin:0!important}
section[data-admin-panel="products"] .pi59-price-wrap{display:inline-flex;align-items:center;justify-content:flex-start;gap:2px;white-space:nowrap;width:100%}
section[data-admin-panel="products"] .pi59-save-state{width:9px;font-size:8px;font-weight:900;line-height:1;text-align:center;flex:none}
section[data-admin-panel="products"] .pi59-save-state.saved{color:#15803d}.pi59-save-state.saving{color:#a16207}.pi59-save-state.error{color:#b91c1c}.pi59-save-state.dirty{color:#64748b}
section[data-admin-panel="products"] .channel-price-save,section[data-admin-panel="products"] .pi59-hidden-save{display:none!important}
section[data-admin-panel="products"] .product-online-stock{display:none!important}
section[data-admin-panel="products"] .stock-readonly{min-width:27px;height:22px;padding:0 4px;font-size:9px;border-radius:6px;vertical-align:middle}
section[data-admin-panel="products"] .pi59-stock-wrap{display:flex;align-items:center;justify-content:center;gap:3px;white-space:nowrap}
section[data-admin-panel="products"] .pi59-stock-lights{display:inline-flex;flex-direction:column;gap:1px;vertical-align:middle}
section[data-admin-panel="products"] .pi59-stock-lights i{display:block;width:5px;height:5px;border-radius:50%;background:#cbd5d1;box-shadow:none}
section[data-admin-panel="products"] .pi59-stock-lights[data-state="green"] i.green{background:#22c55e;box-shadow:0 0 5px #22c55e}
section[data-admin-panel="products"] .pi59-stock-lights[data-state="orange"] i.orange{background:#f59e0b;box-shadow:0 0 5px #f59e0b}
section[data-admin-panel="products"] .pi59-stock-lights[data-state="red"] i.red{background:#ef4444;box-shadow:0 0 5px #ef4444}
section[data-admin-panel="products"] .variant-active-compact{display:inline-flex!important;align-items:center;justify-content:center;gap:0!important;font-size:0!important}
section[data-admin-panel="products"] .variant-active-compact input{width:13px!important;height:13px!important;margin:0!important}
section[data-admin-panel="products"] .pi59-clear-cell{text-align:center;white-space:nowrap}
section[data-admin-panel="products"] .pi59-clear-view{height:24px;padding:1px 5px;font-size:8px;margin:0;max-width:100%}
/* Reuse the existing read-only Clear View modal styles unchanged. */
.pi58-dialog{position:fixed;inset:0;z-index:99999}.pi58-dialog[hidden]{display:none!important}.pi58-dialog-backdrop{position:absolute;inset:0;background:rgba(10,30,24,.38)}
.pi58-dialog-card{position:relative;width:min(760px,94vw);max-height:88vh;overflow:auto;margin:6vh auto;background:#fff;border-radius:15px;box-shadow:0 20px 60px rgba(0,0,0,.28);border:1px solid #d7e1dc}
.pi58-dialog-card header{position:sticky;top:0;background:#f7faf8;display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-bottom:1px solid #dce5e0;z-index:2}.pi58-dialog-card header b{font-size:15px;color:#0b5b42}.pi58-dialog-card header button{border:0;background:transparent;font-size:22px;cursor:pointer}
.pi58-dialog-body{padding:12px}.pi58-clear-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.pi58-clear-title b{font-size:16px}.pi58-clear-title span{font-weight:800;color:#0b5b42;background:#edf8f3;border-radius:999px;padding:4px 8px}
.pi58-dialog-body section{border:1px solid #e1e8e4;border-radius:10px;padding:9px 10px;margin:8px 0}.pi58-dialog-body h3{margin:0 0 7px;font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:#557066}
.pi58-grid{display:grid;grid-template-columns:minmax(140px,1fr) minmax(100px,1fr) minmax(140px,1fr) minmax(100px,1fr);gap:5px 9px;align-items:center;font-size:10px}.pi58-grid span{color:#66776f}.pi58-grid b{color:#17231f;overflow-wrap:anywhere}.pi58-loading,.pi58-error{padding:20px;text-align:center;font-weight:800}.pi58-error{color:#b91c1c}
@media(max-width:980px){section[data-admin-panel="products"] .table-wrap{overflow-x:auto}section[data-admin-panel="products"] table{min-width:1020px}.pi58-grid{grid-template-columns:1fr 1fr}}

/* RC1.7.9.60 hard override for legacy admin-rc1.7.9.27 145px action minimum. */
section[data-admin-panel="products"] td.pi59-action-cell{min-width:0!important;width:auto!important;max-width:none!important;padding-left:2px!important;padding-right:2px!important;overflow:visible!important}
section[data-admin-panel="products"] td.pi59-action-cell .product-action-cell{min-width:0!important;width:100%!important;max-width:100%!important}
section[data-admin-panel="products"] td.pi59-action-cell .product-action-select{min-width:0!important;width:78px!important;max-width:78px!important}
