/* ========================================================================
   Entity Resolution Check API tables

   Used by:
     docs/data-quality-checks/entity-resolution/api.md

   Widths tuned for Field / Required / Notes, Parameter / Default / Description
   and Status / Description. The first column holds a code identifier and must
   never wrap, so it takes the width of its longest entry. A middle column, when
   present, holds a one-word value and stays narrow and centered. The last
   column absorbs the rest and keeps a floor so that on narrow screens the table
   scrolls sideways (the theme's table wrapper already handles the overflow)
   instead of squeezing the text into a sliver.
   ======================================================================== */
.entity-resolution-api-fields-table table {
  width: 100%;
}

/* The theme puts min-width: 5rem on every th, which fights the narrow middle column. */
.entity-resolution-api-fields-table table th {
  min-width: 0;
}

.entity-resolution-api-fields-table table th,
.entity-resolution-api-fields-table table td {
  vertical-align: top;
}

.entity-resolution-api-fields-table table th:nth-child(1),
.entity-resolution-api-fields-table table td:nth-child(1) {
  white-space: nowrap;
  padding-right: 1.5rem;
}

.entity-resolution-api-fields-table table th:nth-child(2):not(:last-child),
.entity-resolution-api-fields-table table td:nth-child(2):not(:last-child) {
  white-space: nowrap;
  text-align: center;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.entity-resolution-api-fields-table table th:last-child,
.entity-resolution-api-fields-table table td:last-child {
  width: 100%;
  min-width: 28rem;
}
