.schema-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.schema-table header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.schema-table h2 {
  margin: 0;
  font-size: 17px;
}

.back-button {
  min-height: 30px;
  margin: 0 0 6px;
  border: 0;
  border-radius: 8px;
  background: #eef4ff;
  color: var(--blue);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 850;
}

.table-label-editor {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.table-label-editor input {
  width: min(320px, 100%);
  min-height: 36px;
}

.table-label-editor .custom-select {
  min-width: 150px;
}

.table-label-editor span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.table-label-editor button,
.ghost-row-button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: #42506a;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 850;
}

.schema-table header span {
  border-radius: 999px;
  background: #e7edf5;
  color: var(--muted);
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 850;
}

.dialog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dialog-grid label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.dialog-grid label > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.dialog-wide {
  grid-column: 1 / -1;
}

@media (max-width: 880px) {
  .dialog-grid {
    grid-template-columns: 1fr;
  }

}
