/* Scoped compatibility patch for the deployed pricing page.
 * PriceListsPage.tsx contains the equivalent layout for the next full build.
 */
.g:has(> .c [data-table="price-lists"]) > .c {
  grid-column: span 12;
}

.g:has(> .c [data-table="price-lists"]) > .c:first-child {
  overflow-x: auto;
}

.g:has(> .c [data-table="price-lists"]) > .c:first-child > .tb {
  min-width: 640px;
}

[data-table="price-lists"] > .tb {
  min-width: 1150px;
}

[data-table="price-lists"] tbody td:last-child > .flex {
  width: max-content;
  flex-wrap: nowrap;
}

/* Override this older bundle's inline column widths, keeping every column. */
[data-table="price-lists"] th:nth-child(1) { width: 200px !important; }
[data-table="price-lists"] th:nth-child(2) { width: 130px !important; }
[data-table="price-lists"] th:nth-child(3) { width: 100px !important; }
[data-table="price-lists"] th:nth-child(4) { width: 70px !important; }
[data-table="price-lists"] th:nth-child(5) { width: 65px !important; }
[data-table="price-lists"] th:nth-child(6) { width: 75px !important; }
[data-table="price-lists"] th:nth-child(7) { width: 85px !important; }
[data-table="price-lists"] th:nth-child(8) { width: 100px !important; }
[data-table="price-lists"] th:nth-child(9) { width: 320px !important; }
