html.cmsve-active {
  scroll-behavior: auto;
}
html.cmsve-active body {
  padding-bottom: 72px;
}
.cmsve-editable {
  outline: 1px dashed transparent;
  outline-offset: 5px;
  border-radius: 4px;
  cursor: text;
  transition:
    outline-color 0.15s,
    background 0.15s;
}
.cmsve-editable:hover {
  outline-color: #a43bbd;
  background: rgba(164, 59, 189, 0.05);
}
.cmsve-editable:focus {
  outline: 2px solid var(--color-accent);
  background: rgba(255, 255, 255, 0.08);
}
.k56-home-hero__title [data-cms-field="titleMain"] {
  color: inherit;
}
.k56-home-hero__title [data-cms-field="titleSecond"] {
  color: inherit;
}
.cmsve-block {
  position: relative;
}
.cmsve-block:hover > .cmsve-block-tag {
  opacity: 1;
}
.cmsve-block-tag {
  position: absolute;
  z-index: 99991;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 6px;
  opacity: 0.25;
  transition: 0.15s;
}
.cmsve-block-tag button {
  height: 34px;
  padding: 0 12px;
  border: 1px solid #dcd4df;
  border-radius: 9px;
  background: #fff;
  color: #332c36;
  font:
    600 12px Inter,
    Arial,
    sans-serif;
  cursor: pointer;
}
.cmsve-photo-button {
  height: 34px;
  padding: 0 12px;
  border: 1px solid #dcd4df;
  border-radius: 9px;
  background: #fff;
  color: #332c36;
  font:
    600 12px Inter,
    Arial,
    sans-serif;
  cursor: pointer;
}
.cmsve-block-tag button:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.cmsve-photo-button:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.cmsve-drawer {
  position: fixed;
  z-index: 999999;
  top: 12px;
  right: 12px;
  width: min(360px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  overflow: auto;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  color: #2a252c;
  font:
    13px/1.45 Inter,
    Arial,
    sans-serif;
}
.cmsve-drawer-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 16px;
  background: #fff;
  border-bottom: 1px solid var(--color-line);
}
.cmsve-drawer-head strong {
  font-size: 15px;
}
.cmsve-drawer-close {
  border: 0;
  background: #f3eff4;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 19px;
  cursor: pointer;
}
.cmsve-drawer-body {
  padding: 14px;
}
.cmsve-drawer label {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  font-weight: 600;
  color: #625b65;
}
.cmsve-drawer input {
  height: 39px;
  width: 100%;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: 0 10px;
  font: 13px Inter;
}
.cmsve-slide-list {
  display: grid;
  gap: 9px;
}
.cmsve-slide-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 10px;
  padding: 9px;
  border: 1px solid #e8e2ea;
  border-radius: 10px;
  background: var(--color-canvas);
  cursor: pointer;
}
.cmsve-slide-row.is-active {
  border-color: #9b39b0;
}
.cmsve-slide-row img {
  width: 70px;
  height: 58px;
  object-fit: cover;
  border-radius: 7px;
  background: #eee;
}
.cmsve-slide-row b {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
}
.cmsve-slide-row small {
  color: var(--color-muted);
}
.cmsve-drawer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}
.cmsve-drawer-actions button {
  height: 36px;
  padding: 0 11px;
  border: 1px solid var(--color-line);
  background: #fff;
  border-radius: 8px;
  font: 600 11px Inter;
  cursor: pointer;
  color: #4a424d;
}
.cmsve-upload {
  height: 36px;
  padding: 0 11px;
  border: 1px solid var(--color-line);
  background: #fff;
  border-radius: 8px;
  font: 600 11px Inter;
  cursor: pointer;
  color: #4a424d;
  display: inline-flex;
  align-items: center;
}
.cmsve-danger {
  color: #a52742;
}
.cmsve-hint {
  position: fixed;
  z-index: 999990;
  left: 50%;
  bottom: 14px;
  padding: 9px 13px;
  border-radius: 9px;
  background: #241e26;
  color: #fff;
  font: 500 11px Inter;
  pointer-events: none;
  opacity: 0.9;
}
.cmsve-photo-empty {
  min-height: 130px;
  display: grid;
  place-items: center;
  border: 1px dashed #cfc6d2;
  border-radius: 12px;
  background: var(--color-canvas);
}
.cmsve-article-body-content {
  outline: 1px dashed transparent;
  outline-offset: 8px;
}
.cmsve-article-body-content:hover {
  outline-color: #a43bbd;
}
.cmsve-article-body-content:focus {
  outline: 2px solid var(--color-accent);
}
.cmsve-link-pill {
  position: absolute;
  z-index: 99992;
  margin-top: 8px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid #d9d0dc;
  background: #fff;
  color: #5f5363;
  border-radius: 8px;
  font: 600 11px Inter;
  cursor: pointer;
}
@media (max-width: 760px) {
  .cmsve-drawer {
    top: 8px;
    right: 8px;
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
  }
  .cmsve-block-tag {
    opacity: 1;
  }
  .cmsve-hint {
    display: none;
  }
}
