/* XRP V12.20 · Product Master column balance */
.product-master-table th:nth-child(5),
.product-master-table td:nth-child(5){width:25%;min-width:240px}
.product-master-table th:nth-child(6),
.product-master-table td:nth-child(6){width:120px;min-width:120px;max-width:120px}
.product-master-table td:nth-child(5){white-space:normal;overflow-wrap:anywhere}
.product-master-table .inventory-suppliers-cell{min-width:120px}

/* Fit the complete Product Master register within common 16:10 laptop viewports. */
@media(min-width:701px) and (max-width:1600px){
  .product-master-table-wrap{overflow-x:hidden}
  .product-master-table{width:100%;min-width:0!important;table-layout:fixed}
  .product-master-table th,
  .product-master-table td{padding:6px 5px;font-size:8px;white-space:normal;overflow-wrap:anywhere}
  .product-master-table th{font-size:7px;line-height:1.25}
  .product-master-table th:nth-child(1),.product-master-table td:nth-child(1){width:48px}
  .product-master-table th:nth-child(2),.product-master-table td:nth-child(2){width:9%}
  .product-master-table th:nth-child(3),.product-master-table td:nth-child(3){width:8%}
  .product-master-table th:nth-child(4),.product-master-table td:nth-child(4){width:9%}
  .product-master-table th:nth-child(5),.product-master-table td:nth-child(5){width:23%;min-width:0}
  .product-master-table th:nth-child(6),.product-master-table td:nth-child(6){width:9%;min-width:0;max-width:none}
  .product-master-table th:nth-child(7),.product-master-table td:nth-child(7){width:5%}
  .product-master-table th:nth-child(8),.product-master-table td:nth-child(8){width:9%}
  .product-master-table th:nth-child(9),.product-master-table td:nth-child(9){width:6%}
  .product-master-table th:nth-child(10),.product-master-table td:nth-child(10){width:9%}
  .product-master-table th:nth-child(11),.product-master-table td:nth-child(11){width:66px}
  .product-master-table .inventory-suppliers-cell{min-width:0}
  .product-master-table .product-thumb{width:36px;height:32px}
  .product-master-table .row-actions{display:grid;gap:3px}
  .product-master-table .row-action{width:100%;padding:4px 3px;font-size:7px}
  .product-master-tools{align-items:flex-start;gap:8px;flex-wrap:wrap}
  .product-master-tools .product-filter-group{display:grid;grid-template-columns:minmax(210px,1fr) minmax(120px,.45fr) minmax(120px,.45fr);flex:1;gap:6px}
  .product-master-tools .actions{gap:5px;flex-wrap:wrap}
  .product-master-tools .btn{padding:7px 8px;font-size:8px}
}

@media(max-width:700px){
  .product-master-table th:nth-child(5),
  .product-master-table td:nth-child(5){min-width:210px}
}
