.selection-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
  overflow: auto;
  position: relative;
}

.selection-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hide-panel-btn {
  width: 32px;
  height: 32px;
}

.properties-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--panel-2);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.properties-card label {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.properties-card input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 6px 8px;
  color: var(--text);
}

.properties-card select {
  width: 100%;
  box-sizing: border-box;
}

.port-config {
  display: flex;
  gap: 12px;
}

.node-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}

.connector-list {
  font-size: 12px;
  color: var(--text);
}

.connector-list ul {
  list-style: none;
  margin: 4px 0 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.connector-list li {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  padding: 2px 6px;
}

.steps-header {
  margin-top: 12px;
}

.selection-steps {
  list-style: none;
  margin: 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.selection-steps li {
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: background 0.15s ease;
}

.selection-steps li:hover {
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {
  .selection-panel {
    height: 100%;
  }

  .selection-header {
    position: sticky;
    top: 0;
    background: var(--panel-2);
    padding-bottom: 8px;
    z-index: 2;
  }

  .selection-panel {
    padding-bottom: 24px;
  }
}
