body.ymi-cm-editing {
  padding-bottom: 0;
}

html.ymi-cm-editing-root {
  margin-top: 0 !important;
}

html.ymi-cm-editing-root #wpadminbar {
  display: none !important;
}

.ymi-cm-toolbar {
  align-items: center;
  background: #181713;
  border: 1px solid rgba(180, 134, 47, .72);
  bottom: 14px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .22);
  color: #fffdf8;
  display: flex;
  gap: 10px;
  left: 14px;
  max-width: min(680px, calc(100vw - 28px));
  padding: 8px 10px;
  position: fixed;
  right: auto;
  z-index: 999999;
}

.ymi-cm-toolbar strong {
  display: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 500;
}

.ymi-cm-toolbar span {
  color: #d8d0c2;
  flex: 1;
  font-size: 12px;
  line-height: 1.3;
  min-width: 180px;
}

.ymi-cm-toolbar button {
  background: #31583d;
  border: 1px solid #88a58b;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  min-height: 34px;
  padding: 7px 12px;
  white-space: nowrap;
}

.ymi-cm-toolbar a {
  background: #b4862f;
  border: 1px solid #d8c08a;
  color: #181713;
  font-weight: 800;
  padding: 9px 16px;
  text-decoration: none;
}

.ymi-cm-toolbar-readonly {
  border-top-color: #31583d;
}

.ymi-cm-toolbar button[disabled] {
  cursor: wait;
  opacity: .55;
}

.ymi-cm-editable-text {
  outline: 1px dashed rgba(49, 88, 61, .45);
  outline-offset: 4px;
}

.ymi-cm-editable-text:hover,
.ymi-cm-editable-text:focus {
  background: rgba(255, 253, 248, .92);
  outline: 2px solid #31583d;
}

.ymi-cm-editable-image {
  cursor: pointer;
  outline: 2px dashed rgba(180, 134, 47, .65);
  outline-offset: 5px;
}

.ymi-bleed-slide.ymi-cm-editable-image {
  outline-offset: -8px;
}

.ymi-cm-editable-image:hover {
  filter: saturate(1.08);
  outline: 3px solid #b4862f;
}

.ymi-cm-saving .ymi-cm-editable-text,
.ymi-cm-saving .ymi-cm-editable-image {
  pointer-events: none;
}
