/*
 * Long values (ERP error messages, notes) otherwise force these columns
 * to their full content width, pushing the whole table past the screen
 * edge even inside Gin's horizontal-scroll wrapper. Wrapping the text
 * keeps the column bounded instead.
 */
.views-field-field-erp-message,
.views-field-field-notes,
.hspring-wrap-cell {
  max-width: 320px;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}

/*
 * Audit log "Changed Fields" cell: a nested Field/Old/New table so a long
 * value (e.g. field_erp_message) wraps within its own column instead of
 * stretching a single "old" -> "new" line the full width of its content.
 */
.hspring-changes-cell {
  max-width: 480px;
}

.hspring-changes-table {
  width: 100%;
  margin: 0;
}

.hspring-changes-table th,
.hspring-changes-table td {
  padding: 0.25em 0.5em;
  font-size: 0.9em;
}

.hspring-changes-table .hspring-changes-value {
  max-width: 200px;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}
