.schema-table {
  position: absolute;
  display: block;
  width: var(--schema-table-width);
  color: var(--text);
  text-decoration: none;
  user-select: none;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  -webkit-user-drag: none;
}

.schema-table:hover {
  text-decoration: none;
}

.schema-table.is-selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary), var(--shadow);
}

.schema-table__head {
  display: flex;
  gap: var(--space-8);
  align-items: center;
  height: var(--schema-head);
  padding: 0 var(--space-10);
  color: var(--on-primary);
  background: var(--schema-color);
}

.schema-table__head b {
  min-width: 0;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: var(--font-size-small);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.schema-table__head i {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: var(--font-size-table-head);
  font-style: normal;
  opacity: 0.85;
}

.schema-table__row {
  display: flex;
  gap: var(--space-6);
  align-items: center;
  height: var(--schema-row);
  padding: 0 var(--space-10);
  font-family: var(--font-mono);
  font-size: var(--font-size-table-head);
  border-top: 1px solid var(--border-soft);
}

.schema-table__row.is-hit {
  background: var(--warn-soft);
}

.schema-table__mark {
  flex: none;
  width: 22px;
}

.schema-table__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.schema-table__row .icon {
  color: var(--ok-text);
}

.schema-table__type {
  margin-left: auto;
  color: var(--muted);
}
