/* Race Lens Cards scan toolbar — not style.css */
.rl-cards-toolbar {
  display: flex;
  flex-direction: column;
  /* gap: 2px; */
  /* margin-bottom: 10px; */
  /* padding-bottom: 8px; */
  /* border-bottom: 1px solid var(--gray-mid, #ccc); */
}
.rl-profile-chips {
  display: flex;
  flex-direction: column;
  /* flex-wrap: wrap; */
  gap: 1px;
}
.rl-profile-chip {
  font: inherit;
  font-size: 12px;
  padding: 4px 10px;
  border: none;
  /* border-radius: 12px; */
  background: #fff;
  cursor: pointer;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}
.rl-profile-chip.selected {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
  color: #fff;
}
.rl-cards-filters {
  display: flex;
  flex-direction: column;
  gap: 2px;
  /* align-items: flex-end; */
  padding: 2px;
}
.rl-cards-filters select {
  flex: 1;
  padding: 3px;
  font-family: var(--font);
}
.rl-scan-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.rl-scan-update {
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--blue-accent, #2563eb);
  border-radius: 2px;
  background: var(--blue-accent, #2563eb);
  color: #fff;
  cursor: pointer;
}
.rl-scan-update:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.rl-scan-msg {
  font-size: 12px;
  color: var(--gray-dark, #666);
}
.race-list li.has-hits .race-row {
  font-weight: 600;
}
.rl-scan-badge {
  margin-left: auto;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--blue-accent, #2563eb);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}
/* Profile qualifiers: value passed the profile value scan. */
.rl-table tr.rl-scan-hit td {
  background: hsl(210 75% 91%);
}
.rl-table tr.rl-scan-hit td:first-child {
  box-shadow: inset 3px 0 0 hsl(210 75% 42%);
}

.rl-scan-progress {
  font-size: 12px;
  /* color: var(--gray-dark, #666); */
  text-align: center;
}
.race-list li.is-all-races .race-venue {
  font-weight: 700;
}

/* Race outside the project's slice bands - nothing in it can qualify. */
.race-list li.rl-race-out .race-row {
  opacity: 0.5;
}
.rl-race-out-icon {
  margin-left: auto;
  align-self: center;
  font-size: 11px;
}
.race-list li.selected .rl-race-out-icon {
  color: var(--gray-lightest, #e8e8e8);
}
