/* The run bar (results_view.js): Entities | Records with their counts at the left, the actions
   for the set showing at the right. The lens buttons wear the shared tab standard
   (geodesy_panel_redesign.css). */
.results-run-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 8px;
  border-bottom: 1px solid var(--gd-rim, #2a3546);
  flex-shrink: 0;
}

/* The bar's actions: plain text in one quiet style (no icons); amber on hover */
.run-action {
  height: 26px;
  padding: 0 8px;
  background: transparent;
  border: 1px solid var(--gd-rim, #2a3546);
  border-radius: var(--gd-r, 2px);
  color: var(--gd-text-mid, #8fa3bd);
  font: 400 var(--gd-sz-sm, 12px) var(--gd-font-sans, sans-serif);
  white-space: nowrap;
  cursor: pointer;
}

.run-action:hover {
  border-color: var(--gd-amber, #e07b00);
  color: var(--gd-amber, #e07b00);
}

/* Table | Documents for a document source's records: two joined buttons, the one showing
   in amber */
.docs-switch {
  display: inline-flex;
}

.docs-switch .run-action + .run-action {
  margin-inline-start: -1px;
}

.docs-switch .run-action.active {
  border-color: var(--gd-amber, #e07b00);
  color: var(--gd-amber, #e07b00);
  position: relative;
}

.results-lens,
.results-run-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.results-lens-count {
  margin-inline-start: 6px;
  font-family: var(--gd-font-mono);
  font-weight: 400;
  opacity: 0.75;
}

/* What the list showing was computed on, when not every match */
.results-scope-line {
  padding: 3px 10px;
  border-bottom: 1px solid var(--gd-rim, #2a3546);
  font-size: var(--gd-sz-xs, 11px);
  color: var(--gd-text-low, #8195ae);
  flex-shrink: 0;
}

/* A source sub-tab's record count, quiet beside its name */
.run-subtab .subtab-count {
  margin-inline-start: 6px;
  font-family: var(--gd-font-mono);
  font-weight: 400;
  opacity: 0.75;
}

/* A source that returned nothing, among the run's source sub-tabs */
.run-subtab--empty {
  opacity: 0.45;
  cursor: default;
}
