/* Wrap at spaces, not in the middle of a product, category or supplier name.
   Keep the existing fonts, alignment, colours and numeric no-wrap rules. */
.app-shell-frame.app-shell-frame table :is(th, td),
.app-shell-frame.app-shell-frame table :is(th, td) *,
.rp-pharmacy-grids .rpi-table *,
.rp-pharmacy-grids .testing-delete-inventory-scroll * {
  hyphens: none !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

/* The catalogue has thirteen columns: give labels their real minimum width
   and let the existing local scroll container handle smaller viewports. */
.app-shell-frame.app-shell-frame .rp-pharmacy-catalog-table {
  table-layout: auto !important;
  min-width: 1100px !important;
  width: 100% !important;
}
.app-shell-frame.app-shell-frame .rp-pharmacy-catalog-table :is(th, td):first-child {
  min-width: 104px;
  white-space: nowrap !important;
}
.app-shell-frame.app-shell-frame .rp-pharmacy-catalog-table :is(th, td):nth-child(8) {
  min-width: 108px;
}
.app-shell-frame.app-shell-frame .rp-pharmacy-catalog-table :is(th, td):nth-child(n+9):nth-child(-n+12) {
  white-space: nowrap !important;
}
.app-shell-frame.app-shell-frame .institution-catalog-scroll {
  max-width: 100%;
  overflow-x: auto !important;
}
