/* Scope includes the exact public release, whose catalog has the same test ID.
   Keep all columns and font sizes; reclaim padding rather than scaling text. */
main:has([data-testid="button-cat-maestro"]) .max-w-7xl {
  max-width: none;
}
.institution-catalog-surface,
div.px-6.py-4:has([data-testid="button-cat-maestro"]) {
  padding-inline: 8px;
}
.institution-catalog-scroll,
div.px-6.py-4:has([data-testid="button-cat-maestro"]) div:has(> table) {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: auto;
  scrollbar-color: #8b949e #161b22;
}
.institution-catalog-table,
div.px-6.py-4:has([data-testid="button-cat-maestro"]) table {
  width: 100%;
  min-width: 900px;
  table-layout: fixed;
}
.institution-catalog-table :is(th, td),
div.px-6.py-4:has([data-testid="button-cat-maestro"]) :is(th, td) {
  padding-inline: 6px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.institution-catalog-table th:nth-child(2),
div.px-6.py-4:has([data-testid="button-cat-maestro"]) th:nth-child(2) {
  width: 16%;
}
.institution-catalog-table th:last-child,
div.px-6.py-4:has([data-testid="button-cat-maestro"]) th:last-child {
  width: 11%;
}
.institution-catalog-table td:last-child > span,
div.px-6.py-4:has([data-testid="button-cat-maestro"]) td:last-child > span {
  display: inline-block;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
@media (min-width: 768px) {
  main:has([data-testid="button-cat-maestro"]) > div.flex-1.overflow-y-auto {
    padding-inline: 12px;
  }
}
