#embedding-dims-tool {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
}

.ed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.ed-panel {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--card-bg);
  padding: 1.5rem;
}

.ed-panel-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 1rem;
}

.ed-mt {
  margin-top: 1.75rem;
}

.ed-field {
  margin-bottom: 1rem;
}

.ed-field label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.ed-field input,
.ed-field select {
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--bg-color);
  color: var(--text-primary);
  font-size: 0.9rem;
}

.ed-field input:focus,
.ed-field select:focus {
  outline: none;
  border-color: var(--primary-color);
}

.ed-results {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.ed-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-color);
}

.ed-result-label {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.ed-result-value {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: monospace;
}

.ed-result-highlight {
  border-color: var(--primary-color);
  background: color-mix(in srgb, var(--primary-color) 10%, var(--bg-color));
}

.ed-result-highlight .ed-result-value {
  color: var(--accent-color);
}

.ed-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-tertiary);
  line-height: 1.4;
}

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