.canvas-node-param-panel {
  padding: var(--ms-space-2) 10px;
}

.canvas-node-param-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--ms-space-2);
  color: var(--ms-color-muted-foreground);
  font-size: var(--ms-text-tiny);
  font-weight: 500;
  line-height: var(--ms-leading-tiny);
}

.canvas-node-param-header > svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.canvas-node-param-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ms-space-2);
}

.canvas-node-param-field {
  display: block;
  min-width: 0;
  color: var(--ms-color-muted-foreground);
  font-size: var(--ms-text-tiny);
  line-height: var(--ms-leading-tiny);
}

.canvas-node-param-field + .canvas-node-param-field {
  margin-top: var(--ms-space-2);
}

.canvas-node-param-grid .canvas-node-param-field + .canvas-node-param-field {
  margin-top: 0;
}

.canvas-node-param-field__label {
  display: block;
  overflow: hidden;
  margin-bottom: var(--ms-space-1);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.canvas-node-param-control {
  width: 100%;
  height: 28px;
  padding-inline: 6px;
  font-size: var(--ms-text-tiny);
  line-height: var(--ms-leading-tiny);
}

.canvas-node-param-checkbox {
  height: auto;
  min-width: 0;
  justify-content: flex-start;
  gap: var(--ms-space-2);
  padding: 6px var(--ms-space-2);
  color: var(--ms-color-foreground);
  font-size: var(--ms-text-tiny);
  line-height: var(--ms-leading-tiny);
}

.canvas-node-param-expand-button {
  width: 100%;
  height: 28px;
  margin-top: var(--ms-space-2);
  padding: var(--ms-space-1) var(--ms-space-2);
  color: var(--ms-color-muted-foreground);
  font-size: var(--ms-text-tiny);
  line-height: var(--ms-leading-tiny);
}

.canvas-node-param-expand-button:hover {
  color: var(--ms-color-foreground);
}
