/* Workbench text, product metadata and icon actions. Column sizing is shared
   with every other project table through adaptive-tables.css. */
.capture-results .capture-results-table > thead > tr > th,
.capture-results .capture-results-table > tbody > tr:not(.capture-row-preview-row) > td {
  padding: 8px 6px !important;
}

.capture-results-table .capture-title-cell {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 2px;
}

.capture-results-table .capture-product-cell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  gap: 3px;
}

.capture-results-table .capture-product-id {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
  white-space: nowrap;
}

.app-shell .capture-results-table .capture-copy-text {
  display: block;
  min-width: 0;
  min-height: 24px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 2px;
  background: transparent;
  box-shadow: none;
  color: var(--ink);
  font: inherit;
  line-height: 1.5;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.capture-title-cell .capture-copy-text {
  flex: 0 1 auto;
  font-weight: 600 !important;
}

.app-shell .capture-results-table .capture-copy-text:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.capture-results-table .capture-source-link {
  display: inline-flex;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  color: var(--muted);
}

.capture-results-table .capture-source-link:hover { color: var(--accent); }

.app-shell .capture-results-table :is(.capture-copy-text, .capture-source-link):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.capture-results-table code {
  white-space: nowrap;
}

.capture-results-table td:nth-child(9) {
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
  overflow-wrap: normal;
}

.capture-results-table .capture-image-set {
  grid-template-columns: 32px minmax(0, auto);
  gap: 4px;
  max-width: 100%;
  font-size: 10px;
  white-space: normal;
}

.capture-results-table .capture-image-set img {
  width: 32px;
  height: 40px;
  object-fit: cover;
}

.capture-results-table .capture-actions {
  display: grid;
  grid-template-columns: repeat(2, 28px);
  justify-content: start;
  gap: 4px;
}

.app-shell .capture-results-table .capture-actions > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-height: 28px;
  padding: 0;
}

.capture-results-table .capture-actions > button > svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}
