.pcformbuilderv2-canvas-card {
  position: relative;
  padding: var(--g-spacing-3) var(--g-spacing-3);
  border: 1px solid transparent;
  border-radius: var(--g-border-radius-l);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}
.pcformbuilderv2-canvas-card:hover {
  background-color: var(--g-color-base-simple-hover);
}
.pcformbuilderv2-canvas-card:hover > .pcformbuilderv2-canvas-card__controls {
  opacity: 1;
}
.pcformbuilderv2-canvas-card_selected {
  border-color: var(--g-color-line-brand);
  background-color: var(--g-color-base-selection);
}
.pcformbuilderv2-canvas-card_selected .pcformbuilderv2-canvas-card__controls {
  opacity: 1;
}
.pcformbuilderv2-canvas-card_dragging {
  opacity: 0.4;
}
.pcformbuilderv2-canvas-card_drop-target, .pcformbuilderv2-canvas-card_drop-target-after {
  position: relative;
}
.pcformbuilderv2-canvas-card_drop-target::before, .pcformbuilderv2-canvas-card_drop-target-after::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--g-color-line-brand);
  border-radius: 2px;
  opacity: 0.45;
  pointer-events: none;
}
.pcformbuilderv2-canvas-card_drop-target::before {
  top: calc((var(--g-spacing-3) + 3px) / -2 - 1px);
}
.pcformbuilderv2-canvas-card_drop-target-after::before {
  bottom: calc((var(--g-spacing-3) + 3px) / -2 - 1px);
}
.pcformbuilderv2-canvas-card__visibility-badge {
  margin-bottom: var(--g-spacing-1);
}
.pcformbuilderv2-canvas-card__controls {
  position: absolute;
  top: var(--g-spacing-1);
  right: var(--g-spacing-2);
  display: flex;
  align-items: center;
  gap: var(--g-spacing-half);
  opacity: 0;
  transition: opacity 0.15s ease;
}
.pcformbuilderv2-canvas-card__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--g-spacing-5);
  height: var(--g-spacing-5);
  padding: 0;
  border: none;
  background: transparent;
  color: var(--g-color-text-secondary);
  cursor: grab;
  border-radius: var(--g-border-radius-s);
}
.pcformbuilderv2-canvas-card__control:hover {
  background-color: var(--g-color-base-simple-hover-solid);
  color: var(--g-color-text-primary);
}
.pcformbuilderv2-canvas-card__control:active {
  cursor: grabbing;
}
.pcformbuilderv2-canvas-card__labeled {
  display: flex;
  flex-direction: column;
  gap: var(--g-spacing-1);
}
.pcformbuilderv2-canvas-card__labeled-title {
  display: flex;
  align-items: baseline;
  gap: var(--g-spacing-2);
}
.pcformbuilderv2-canvas-card__section-header {
  display: flex;
  align-items: center;
  gap: var(--g-spacing-2);
  padding-bottom: var(--g-spacing-1);
  border-bottom: 1px solid var(--g-color-line-generic);
}
.pcformbuilderv2-canvas-card__children {
  margin-top: var(--g-spacing-2);
  padding-left: var(--g-spacing-3);
  border-left: 2px solid var(--g-color-line-generic);
  display: flex;
  flex-direction: column;
  gap: var(--g-spacing-2);
  border-radius: 0 var(--g-border-radius-m) var(--g-border-radius-m) 0;
  transition: border-color 0.12s ease, background-color 0.12s ease;
}
.pcformbuilderv2-canvas-card__children_drop-target {
  border-left-color: var(--g-color-line-brand);
  background-color: var(--g-color-base-selection);
}
.pcformbuilderv2-canvas-card__children .pcformbuilderv2-canvas-card_drop-target::before {
  top: calc((var(--g-spacing-2) + 3px) / -2 - 1px);
}
.pcformbuilderv2-canvas-card__children .pcformbuilderv2-canvas-card_drop-target-after::before {
  bottom: calc((var(--g-spacing-2) + 3px) / -2 - 1px);
}
.pcformbuilderv2-canvas-card__static-text {
  padding: var(--g-spacing-2) 10px;
  border-radius: var(--g-border-radius-s);
}
.pcformbuilderv2-canvas-card__color-swatch {
  display: flex;
  align-items: center;
  gap: var(--g-spacing-2);
}
.pcformbuilderv2-canvas-card__color-swatch-chip {
  width: var(--g-spacing-6);
  height: var(--g-spacing-6);
  border: 1px solid var(--g-color-line-generic);
  border-radius: var(--g-border-radius-s);
}
.pcformbuilderv2-canvas-card__color-swatch-value {
  font-size: var(--g-text-body-1-font-size);
  color: var(--g-color-text-secondary);
}