.kilo-console .indexing-builder .agent-builder-card:has(.indexing-select[open]) {
  position: relative;
  z-index: 40;
  overflow: visible;
}

.kilo-console .indexing-select[open] {
  z-index: 41;
}

.kilo-console .indexing-toggle-tags {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-end;
}

.kilo-console .indexing-field-title {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}

.kilo-console .indexing-field-title > :first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kilo-console .indexing-note {
  grid-column: 1 / -1;
  border: 1px solid color-mix(in oklab, var(--primary) 35%, var(--border));
  border-radius: var(--radius-md);
  background: color-mix(in oklab, var(--primary) 8%, transparent);
  color: var(--muted-foreground);
  font-size: 0.6875rem;
  line-height: 1.5;
  padding: 0.625rem;
}

.kilo-console .indexing-errors {
  display: grid;
  gap: 0.25rem;
  border-top: 1px solid var(--border);
  color: var(--destructive);
  font-size: 0.6875rem;
  padding: 0.75rem;
}
