/* V37: group the existing screen fields without changing the shared modal layout. */
.pencil-admin #systemModalBody #screenForm.screen-editor-form {
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}
.pencil-admin #screenForm .screen-editor-section {
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}
.pencil-admin #screenForm .screen-editor-section > legend {
  max-width: 100%;
  margin: 0 0 12px;
  padding: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
}
.pencil-admin #screenForm .screen-editor-fields,
.pencil-admin #screenForm .screen-editor-fields > .field {
  min-width: 0;
}
.pencil-admin #screenForm .screen-editor-fields {
  align-items: start;
}
.pencil-admin #screenForm .screen-editor-fields label,
.pencil-admin #screenForm .screen-editor-help {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.6;
}
.pencil-admin #screenForm .screen-editor-help {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
