.pcformbuilderv2-main {
  width: 100%;
  min-width: 640px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.pcformbuilderv2-main__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--g-spacing-2) 0;
  gap: var(--g-spacing-3);
}
.pcformbuilderv2-main__toolbar-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pcformbuilderv2-main__schema-popup {
  width: min(560px, 90vw);
  padding: var(--g-spacing-4);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pcformbuilderv2-main__schema-popup-header {
  display: flex;
  flex-direction: column;
  gap: var(--g-spacing-half);
}
.pcformbuilderv2-main__schema-popup-json {
  margin: 0;
  padding: var(--g-spacing-3);
  background: var(--g-color-base-generic);
  border-radius: var(--g-border-radius-m);
  font-size: 12px;
  line-height: 1.4;
  max-height: min(480px, 60vh);
  overflow: auto;
  white-space: pre;
}
.pcformbuilderv2-main__schema-popup-actions {
  display: flex;
  gap: var(--g-spacing-2);
  justify-content: flex-end;
}
.pcformbuilderv2-main__visual {
  display: grid;
  grid-template-columns: var(--fb2-palette-w, 220px) var(--g-spacing-2) minmax(240px, 1fr) var(--g-spacing-2) var(--fb2-inspector-w, 320px);
  padding: var(--g-spacing-4) 0;
  align-items: stretch;
}
.pcformbuilderv2-main__palette, .pcformbuilderv2-main__canvas, .pcformbuilderv2-main__inspector {
  min-width: 0;
}
.pcformbuilderv2-main__palette, .pcformbuilderv2-main__inspector {
  position: sticky;
  top: var(--g-spacing-4);
  align-self: start;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}
.pcformbuilderv2-main_compact .pcformbuilderv2-main__visual {
  grid-template-columns: 56px minmax(240px, 1fr) var(--g-spacing-2) var(--fb2-inspector-w, 320px);
}
.pcformbuilderv2-main_compact .pcformbuilderv2-main__canvas {
  padding-left: var(--g-spacing-2);
}
.pcformbuilderv2-main_compact .pcformbuilderv2-palette {
  padding: 6px;
}
.pcformbuilderv2-main_compact .pcformbuilderv2-palette__header {
  display: none;
}
.pcformbuilderv2-main_compact .pcformbuilderv2-palette__items {
  grid-template-columns: 1fr;
}
.pcformbuilderv2-main_compact .pcformbuilderv2-palette__tile {
  padding: var(--g-spacing-1);
  gap: 0;
}
.pcformbuilderv2-main_compact .pcformbuilderv2-palette__tile-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}