#production-workspace .catalog-tiles {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 182px), 1fr));
}

#production-workspace .catalog-tile {
  min-inline-size: 0;
}

.production-detail-column {
  container: production-details / inline-size;
}

#production-workspace .catalog-tile-label,
.catalog-detail-hero > div,
.catalog-metric dt,
.catalog-prerequisites li,
.catalog-action p,
.research-reference-name,
.defence-station-summary > div {
  min-inline-size: 0;
  overflow-wrap: anywhere;
}

.colony-surface__status {
  flex-wrap: wrap;
}

.colony-surface__status strong,
.system-finder-toggle span:last-child {
  overflow: visible;
  white-space: normal;
  overflow-wrap: anywhere;
}

.colony-surface__status span {
  flex: 0 1 auto;
  overflow-wrap: anywhere;
}

.shop-effect,
.ranking-score-main p {
  white-space: normal;
  overflow-wrap: anywhere;
}

@container production-details (max-width: 310px) {
  #production-workspace .catalog-detail-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  #production-workspace .catalog-hero-art {
    inline-size: min(100%, 166px);
  }
}

@media (orientation: landscape) and (max-height: 600px) {
  :is(#universe-page, #fleet-page) > .page-heading {
    flex-wrap: wrap;
  }

  :is(#universe-page, #fleet-page) > .page-heading :is(h1, .eyebrow) {
    overflow: visible;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (orientation: landscape) and (max-height: 600px) and (min-width: 571px) {
  #production-workspace {
    grid-template-columns: minmax(206px, 30%) minmax(0, 1fr);
  }
}
