.cgre-single-description,
body.cgre-description-editor {
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.cgre-single-description > p,
body.cgre-description-editor > p {
  margin: 0 0 1em;
}

/* Pasted descriptions may use div blocks instead of paragraphs. */
.cgre-single-description > div:not([class]),
body.cgre-description-editor > div:not([class]) {
  margin-bottom: .65em;
}

.cgre-single-description > h2,
.cgre-single-description > h3,
body.cgre-description-editor > h2,
body.cgre-description-editor > h3 {
  margin-top: 1.25em;
  margin-bottom: .65em;
}

.cgre-single-description > :first-child,
body.cgre-description-editor > :first-child {
  margin-top: 0;
}

.cgre-single-description > :last-child,
body.cgre-description-editor > :last-child {
  margin-bottom: 0;
}

body.cgre-description-editor img.emoji,
body.cgre-description-editor img.wp-smiley,
body.cgre-description-editor img[data-wp-emoji],
.cgre-single-description img.emoji,
.cgre-single-description img.wp-smiley,
.cgre-single-description img[data-wp-emoji] {
  display: inline !important;
  width: 1em !important;
  height: 1em !important;
  max-width: 1em !important;
  border: 0 !important;
  box-shadow: none !important;
  margin: 0 .07em !important;
  padding: 0 !important;
  vertical-align: -.1em !important;
}

.cgre-description-field {
  margin: 1em 0;
}

.cgre-property-form .wp-editor-wrap.html-active .quicktags-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.cgre-property-form .wp-editor-wrap .quicktags-toolbar input.ed_button {
  display: inline-block;
  width: auto;
  min-width: 26px;
  min-height: 26px;
  height: auto;
  margin: 2px;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 12px;
  line-height: 1.5;
}
