body.erp-editor-open {
  padding: 0 20px 32px !important;
  background: #f2f4f1 !important;
}

body.erp-editor-open > header,
body.erp-editor-open > .nav,
body.erp-editor-open > .list,
body.erp-editor-open > #auditBox,
body.erp-editor-open > section.card:not(.erp-editor-page),
body.erp-editor-open > .card:not(.erp-editor-page),
body.erp-editor-open > .form-card:not(.erp-editor-page) {
  display: none !important;
}

body.erp-editor-open > .erp-editor-page {
  display: block !important;
  min-height: 100dvh;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.erp-editor-head {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(242, 244, 241, .96);
  backdrop-filter: blur(10px);
}

.erp-editor-head > div {
  min-width: 0;
}

.erp-editor-head h2 {
  margin: 0 !important;
  color: var(--ink);
  font-size: 19px !important;
  line-height: 1.25;
}

.erp-editor-head p {
  margin: 3px 0 0;
  color: var(--ink3);
  font-size: 11.5px;
}

.erp-editor-back {
  margin-left: auto;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--green);
  font: inherit;
  font-size: 12.5px;
  cursor: pointer;
}

.erp-editor-back:hover {
  border-color: var(--green);
  background: #f7fbf8;
}

.erp-editor-content {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 16px 0 36px;
}

.erp-editor-content > .row {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper2, #fffdf8);
}

.erp-editor-content > .msg {
  margin-top: 12px;
}

@media (max-width: 760px) {
  body.erp-editor-open {
    padding: 0 12px 24px !important;
  }

  .erp-editor-head {
    min-height: 58px;
  }

  .erp-editor-head h2 {
    font-size: 17px !important;
  }

  .erp-editor-content {
    padding-top: 10px;
  }
}
