.height-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 20px 0;
}

.height-form input[type="text"],
.height-form input[type="number"] {
  flex: 1 1 160px;
  min-width: 0;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--text);
  font-size: 0.95rem;
}

.height-form input[type="color"] {
  width: 44px;
  height: 40px;
  padding: 2px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-elev);
  cursor: pointer;
}

.height-form button,
.height-actions button {
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.height-form button:hover,
.height-actions button:hover {
  opacity: 0.9;
}

.person-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.person-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
}

.person-swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex: none;
  border: 1px solid var(--border);
}

.person-name {
  flex: 1;
  color: var(--text);
}

.person-height {
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}

.person-remove {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-dim);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.85rem;
  cursor: pointer;
}

.person-remove:hover {
  color: var(--text);
  border-color: var(--accent);
}

.height-output {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.height-canvas-wrap {
  width: 100%;
  overflow-x: auto;
  text-align: center;
}

#output-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.height-hint {
  color: var(--text-dim);
  font-size: 0.85rem;
  text-align: center;
  margin: 12px 0 0;
}

.height-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}
