/* ================================================= */
/* PATCH — WRAP LONG TYPE / USE TEXT IN TABLE */
/* ================================================= */

/* Type / Use column: allow long text to wrap */
.wv-table th:nth-child(4),
.wv-table td:nth-child(4) {
  width: 220px !important;
  min-width: 220px !important;
  max-width: 260px !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

/* The green type pill should wrap instead of stretching the row */
.wv-table td:nth-child(4) .wv-type,
.wv-table td:nth-child(4) span,
.wv-table td:nth-child(4) div {
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  max-width: 100% !important;
}

/* Keep the type label compact and multi-line friendly */
.wv-type {
  display: inline-flex !important;
  flex-wrap: wrap !important;
  align-items: center;
  max-width: 100% !important;
  line-height: 1.25 !important;
  padding-top: 4px;
  padding-bottom: 4px;
}

/* The muted use-case line below the type */
.wv-table td:nth-child(4) .wv-muted {
  display: block !important;
  margin-top: 4px;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  line-height: 1.25 !important;
}