.visual-edit-app {
  --edit-brand: #4a5fca;
  --edit-muted: #606b82;
  color: var(--ink);
  padding-bottom: 20px;
}
.dark .visual-edit-app {
  --edit-brand: #a0b0ff;
  --edit-muted: #a2adc1;
}
.visual-edit-app .m-kicker {
  color: var(--edit-brand);
}
.visual-edit-app .m-btn.primary {
  color: #fff;
}
.dark .visual-edit-app .m-btn.primary {
  color: #15213a;
}
.visual-edit-app button:focus-visible,
.visual-edit-app [tabindex]:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 4px;
}
.visual-edit-app [hidden] {
  display: none !important;
}
.edit-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.edit-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 30px 0 22px;
}
.edit-toolbar h2 {
  font-size: 23px;
  letter-spacing: -0.7px;
  margin: 6px 0;
}
.edit-toolbar p,
.edit-hint,
.edit-status {
  font-size: 12px;
  line-height: 1.75;
  color: var(--edit-muted);
  margin: 10px 0;
}
.edit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
  align-items: start;
  gap: 24px;
}
.edit-preview-panel,
.edit-sidebar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  min-width: 0;
}
.edit-preview-panel {
  padding: 22px;
}
.edit-preview-panel h3 {
  font-size: 22px;
  margin: 5px 0;
  letter-spacing: -0.7px;
}
.edit-sidebar {
  overflow: visible;
}
.edit-control-group {
  padding: 23px;
}
.edit-control-group + .edit-control-group {
  border-top: 1px solid var(--line);
}
.edit-group-heading {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
  align-items: flex-start;
}
.edit-step {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--edit-brand);
  font-size: 11px;
  font-weight: 800;
}
.edit-group-heading h3 {
  font-size: 18px;
  letter-spacing: -0.5px;
  margin: 0 0 6px;
}
.edit-group-heading p {
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
  color: var(--edit-muted);
}
.edit-live {
  display: flex;
  gap: 6px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 6px 9px;
  border-radius: 99px;
  font-size: 10px;
  color: var(--edit-muted);
  white-space: nowrap;
}
.edit-live i {
  color: #329780;
  font-size: 6px;
}
.edit-preview-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin: 15px 0;
}
.edit-preview-tools .m-toolbar {
  gap: 6px;
}
.edit-preview-tools .m-btn {
  font-size: 10px;
  padding: 9px;
}
.edit-page-input {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--edit-muted);
}
.edit-page-input input,
.organizer-pagination input {
  width: 58px;
  min-width: 0 !important;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  border-radius: 9px;
  padding: 8px;
}
#page-count {
  font-size: 11px;
  color: var(--edit-muted);
}
.edit-preview-modes {
  width: fit-content;
  max-width: 100%;
  margin: 16px 0;
}
.edit-preview-modes button {
  font-size: 11px;
}
.edit-paper {
  height: 620px;
  min-height: 300px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: auto;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 15px;
  isolation: isolate;
  overscroll-behavior: auto;
}
.edit-stage {
  position: relative;
  flex-shrink: 0;
  margin: auto;
  background: #fff;
  box-shadow: 0 9px 28px #1c294018;
  overflow: visible;
}
.edit-stage > canvas,
.edit-overlay,
.edit-overlay > canvas {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.edit-stage > canvas {
  z-index: 1;
}
.edit-stage > #cropped-canvas {
  z-index: 5;
}
.edit-overlay {
  z-index: 2;
  pointer-events: none;
}
.edit-overlay > canvas {
  pointer-events: none;
}
.edit-stage.behind .edit-overlay {
  z-index: 0;
}
.edit-stage.behind #watermark-selection {
  z-index: 3;
}
.edit-stage.behind:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: #fff;
}
#preview-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: var(--edit-muted);
  gap: 15px;
  padding: 25px;
}
#preview-placeholder i {
  font-size: 36px;
  color: var(--edit-brand);
  background: var(--brand-soft);
  border-radius: 20px;
  padding: 20px;
}
#preview-placeholder strong {
  font-size: 15px;
  color: var(--ink);
}
#preview-placeholder span {
  font-size: 12px;
  max-width: 220px;
  line-height: 1.8;
}
.edit-position-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin: 10px 0;
}
.edit-position-grid button {
  position: relative;
  border: 1px solid var(--line);
  height: 43px;
  border-radius: 10px;
  background: var(--bg);
  cursor: pointer;
  color: var(--edit-muted);
}
.edit-position-grid button span {
  position: absolute;
  width: 17px;
  height: 4px;
  border-radius: 4px;
  background: currentColor;
}
.edit-position-grid button[data-position^="top"] span {
  top: 10px;
}
.edit-position-grid button[data-position^="middle"] span {
  top: 19px;
}
.edit-position-grid button[data-position^="bottom"] span {
  bottom: 10px;
}
.edit-position-grid button[data-position$="left"] span {
  left: 12px;
}
.edit-position-grid button[data-position$="right"] span {
  right: 12px;
}
.edit-position-grid button[data-position$="center"] span {
  left: calc(50% - 8px);
}
.edit-position-grid button[aria-pressed="true"] {
  border-color: var(--edit-brand);
  color: var(--edit-brand);
  background: var(--brand-soft);
  box-shadow: 0 0 0 2px var(--brand-soft);
}
.edit-number-sample {
  margin-top: 20px;
  padding: 19px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px dashed var(--line);
  text-align: center;
  overflow-wrap: anywhere;
}
.edit-number-sample span {
  display: block;
  font-size: 10px;
  color: var(--edit-muted);
  margin-bottom: 10px;
}
.edit-number-sample strong {
  font-size: 20px;
  color: var(--edit-brand);
}
.edit-spaced {
  margin-top: 18px;
}
.edit-control-group .m-field small {
  font-size: 10px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--edit-muted);
}
.edit-quick-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}
.edit-quick-presets button {
  font: inherit;
  font-size: 10px;
  font-weight: 650;
  color: var(--edit-muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 8px 10px;
  cursor: pointer;
}
.edit-quick-presets button:hover {
  border-color: var(--brand);
  color: var(--edit-brand);
  background: var(--brand-soft);
}
.edit-type-tabs {
  display: flex;
  width: 100%;
  margin-bottom: 18px;
}
.edit-type-tabs button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.edit-sliders {
  display: grid;
  gap: 18px;
  margin: 24px 0;
}
.edit-sliders .edit-quick-presets,
.edit-sliders p {
  margin-top: -9px;
  margin-bottom: 0;
}
.edit-button-stack {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 18px;
}
.edit-button-stack .m-btn {
  justify-content: center;
  white-space: normal;
  text-align: center;
}
.edit-image-card {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  border: 1px dashed var(--line);
  border-radius: 15px;
  padding: 22px;
  text-align: center;
}
.edit-image-card img {
  max-width: 160px;
  max-height: 100px;
  object-fit: contain;
  background: repeating-conic-gradient(#eee 0% 25%, #fff 0% 50%) 0/12px 12px;
}
.edit-image-card i {
  font-size: 30px;
  color: var(--edit-brand);
}
.edit-image-card strong {
  font-size: 12px;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.edit-image-card small {
  font-size: 10px;
  color: var(--edit-muted);
}
.edit-crop-modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 20px;
}
.edit-crop-modes button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 13px 5px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--edit-muted);
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}
.edit-crop-modes button i {
  font-size: 17px;
}
.edit-crop-modes button[aria-pressed="true"] {
  border-color: var(--edit-brand);
  background: var(--brand-soft);
  color: var(--edit-brand);
}
.edit-coordinate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.edit-coordinate-grid .m-field span {
  display: inline;
  font-size: 10px;
  color: var(--edit-muted);
}
.edit-crop-dimensions {
  margin-top: 24px;
  padding: 17px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  gap: 14px;
}
.edit-crop-dimensions div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.edit-crop-dimensions span {
  font-size: 10px;
  color: var(--edit-muted);
}
.edit-crop-dimensions strong {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.2px;
}
.edit-crop-dimensions div:last-child strong {
  color: var(--edit-brand);
}
.edit-auto-panel {
  font-size: 12px;
  line-height: 1.8;
  color: var(--edit-muted);
}
.edit-crop-selection {
  position: absolute;
  border: 2px solid #5165e5;
  pointer-events: auto;
  touch-action: none;
  cursor: move;
  z-index: 4;
}
.edit-watermark-selection {
  position: absolute;
  border: 1px dashed #5165e5;
  pointer-events: auto;
  touch-action: none;
  cursor: move;
  z-index: 4;
}
.edit-stage.behind .edit-overlay {
  pointer-events: none;
}
.edit-stage.behind .edit-watermark-selection {
  pointer-events: auto;
}
.edit-selection-label {
  position: absolute;
  left: -2px;
  top: -24px;
  color: #fff;
  background: #4256cb;
  padding: 4px 7px;
  border-radius: 5px 5px 0 0;
  font-size: 9px;
  line-height: 1.4;
  white-space: nowrap;
}
.edit-handle {
  position: absolute;
  width: 15px;
  height: 15px;
  border: 2px solid #fff;
  background: #4a5fca;
  box-shadow: 0 0 0 1px #4a5fca;
  border-radius: 4px;
  padding: 0;
  touch-action: none;
  pointer-events: auto;
  z-index: 6;
  transform: translate(-50%, -50%);
  cursor: nwse-resize;
}
.h-nw {
  left: 0;
  top: 0;
}
.h-n {
  left: 50%;
  top: 0;
  cursor: ns-resize;
}
.h-ne {
  left: 100%;
  top: 0;
  cursor: nesw-resize;
}
.h-e {
  left: 100%;
  top: 50%;
  cursor: ew-resize;
}
.h-se {
  left: 100%;
  top: 100%;
}
.h-s {
  left: 50%;
  top: 100%;
  cursor: ns-resize;
}
.h-sw {
  left: 0;
  top: 100%;
  cursor: nesw-resize;
}
.h-w {
  left: 0;
  top: 50%;
  cursor: ew-resize;
}
.edit-auto-candidate {
  position: absolute;
  z-index: 5;
  border: 2px dashed #118676;
  background: #16a18812;
  pointer-events: none;
}
.edit-warning,
.edit-integrity-note {
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--brand-soft);
  border-radius: 13px;
  padding: 13px 16px;
  font-size: 12px;
  line-height: 1.9;
}
.edit-integrity-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
}
.edit-integrity-note > i {
  font-size: 18px;
  color: var(--edit-brand);
}
.edit-integrity-note p {
  margin: 0;
}
.edit-field-error {
  color: #ba344c;
  font-size: 12px;
  line-height: 1.7;
  margin: 8px 0;
}
.dark .edit-field-error {
  color: #ff9faf;
}
.edit-pages-details {
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.edit-pages-details > summary {
  display: flex;
  gap: 11px;
  align-items: center;
  list-style: none;
  font-size: 13px;
  font-weight: 650;
  padding: 19px 22px;
  cursor: pointer;
}
.edit-pages-details > summary::-webkit-details-marker {
  display: none;
}
.edit-pages-details > summary > span {
  margin-left: auto;
  font-weight: 400;
  font-size: 10px;
  color: var(--edit-muted);
}
.edit-pages-details > summary > .bi-chevron-down {
  transition: transform 0.2s;
}
.edit-pages-details[open] > summary > .bi-chevron-down {
  transform: rotate(180deg);
}
.edit-pages-body {
  padding: 0 22px 22px;
}
.edit-pages-body .organizer-grid {
  margin-top: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.edit-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 26px 0 10px;
  border-top: 1px solid var(--line);
  padding: 26px 0 5px;
}
.edit-cta strong {
  font-size: 17px;
  letter-spacing: -0.3px;
}
.edit-cta p {
  font-size: 12px;
  color: var(--edit-muted);
  line-height: 1.8;
  margin: 7px 0 0;
  max-width: 500px;
}
.edit-cta .m-btn {
  white-space: normal;
  text-align: center;
  justify-content: center;
}
.edit-processing,
.edit-result {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 26px;
  padding: 48px 28px;
  text-align: center;
  margin: 24px 0;
}
.edit-processing-art,
.edit-result-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 24px;
  margin: 0 auto 28px;
  background: var(--brand-soft);
  color: var(--edit-brand);
  font-size: 30px;
}
.edit-result-icon {
  background: #eaf7f1;
  color: #218b70;
}
.dark .edit-result-icon {
  background: #143e35;
  color: #9ce0c8;
}
.edit-processing h2,
.edit-result h2 {
  letter-spacing: -0.8px;
  font-size: 28px;
  line-height: 1.3;
  margin: 12px 0;
}
.edit-processing p,
.edit-result p,
.edit-result > small {
  font-size: 12px;
  color: var(--edit-muted);
  line-height: 1.8;
}
.edit-processing progress {
  display: block;
  width: min(100%, 480px);
  height: 9px;
  accent-color: var(--brand);
  margin: 28px auto;
}
.edit-result > strong {
  display: block;
  color: var(--edit-brand);
  font-size: 13px;
  margin: 20px 0;
  overflow-wrap: anywhere;
}
.edit-result-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
  margin: 30px auto;
}
.edit-result-stats div {
  min-width: 95px;
}
.edit-result-stats span {
  display: block;
  color: var(--edit-muted);
  font-size: 10px;
  margin-bottom: 10px;
}
.edit-result-stats strong {
  font-size: 20px;
  letter-spacing: -0.6px;
}
.edit-result-notes {
  max-width: 820px;
  margin: 24px auto;
  text-align: left;
  font-size: 12px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--brand-soft);
  border-radius: 13px;
  padding: 15px 20px;
}
.edit-result-notes p {
  color: inherit;
  margin: 6px 0;
}
.edit-result-actions {
  justify-content: center;
  margin: 25px 0;
}
.edit-local-footnote {
  text-align: center;
  font-size: 10px;
  line-height: 1.8;
  color: var(--edit-muted);
  margin: 28px 0 0;
}
.edit-local-footnote i {
  color: var(--edit-brand);
}
.visual-edit-app .m-field {
  min-width: 0;
}
.visual-edit-app textarea {
  resize: vertical;
  min-height: 85px;
}
.visual-edit-app input[type="number"],
.visual-edit-app input[type="text"],
.visual-edit-app textarea {
  max-width: 100%;
  box-sizing: border-box;
}
.visual-edit-app .m-settings-columns {
  min-width: 0;
}
.visual-edit-app .m-settings-group p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--edit-muted);
}
.visual-edit-app .merge-advanced summary small {
  color: var(--edit-muted);
}
.visual-edit-app .m-option small {
  color: var(--edit-muted);
}
.visual-edit-app .organizer-confirm {
  margin: 20px 0;
}
.visual-edit-app .m-field input:disabled {
  opacity: 0.6;
}
.visual-edit-app .m-field output {
  color: var(--edit-brand);
  font-variant-numeric: tabular-nums;
}
@media (min-width: 1100px) {
  .crop-layout {
    grid-template-columns: minmax(0, 1.7fr) minmax(285px, 1fr);
  }
}
@media (max-width: 980px) {
  .edit-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(250px, 1fr);
    gap: 16px;
  }
  .edit-preview-panel {
    padding: 18px;
  }
  .edit-control-group {
    padding: 19px;
  }
  .edit-paper {
    height: 550px;
  }
  .edit-live {
    display: none;
  }
  .edit-pages-body .organizer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 740px) {
  .edit-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .edit-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .edit-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .edit-control-group + .edit-control-group {
    border-top: 0;
    border-left: 1px solid var(--line);
  }
  .edit-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .edit-cta .m-btn {
    width: 100%;
  }
  .edit-paper {
    height: 570px;
  }
  .edit-result h2 {
    font-size: 24px;
  }
  .edit-processing,
  .edit-result {
    padding: 35px 20px;
  }
  .edit-preview-tools .m-btn {
    padding: 10px;
  }
  .edit-handle {
    width: 20px;
    height: 20px;
  }
  .edit-pages-details > summary {
    flex-wrap: wrap;
  }
  .edit-pages-body .organizer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .edit-sidebar {
    display: block;
  }
  .edit-control-group + .edit-control-group {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .edit-preview-panel {
    padding: 17px;
  }
  .edit-paper {
    height: 485px;
    padding: 12px;
  }
  .edit-toolbar h2 {
    font-size: 21px;
  }
  .edit-pages-body {
    padding: 0 13px 18px;
  }
  .edit-pages-body .organizer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .edit-preview-modes button {
    padding: 10px 9px;
  }
  .edit-preview-tools {
    display: grid;
    gap: 12px;
  }
  .edit-result-stats {
    gap: 20px;
  }
  .edit-result-stats div {
    min-width: 82px;
  }
  .edit-integrity-note {
    padding: 14px;
  }
  .edit-toolbar > .m-toolbar {
    width: 100%;
  }
  .edit-toolbar > .m-toolbar > .m-btn {
    flex: 1;
    justify-content: center;
    padding: 11px 7px;
  }
  .edit-pages-details > summary {
    padding: 17px;
    font-size: 12px;
  }
  .edit-pages-details > summary > span {
    margin-left: 0;
  }
  .edit-number-sample strong {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .visual-edit-app *,
  .visual-edit-app *:before,
  .visual-edit-app *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.visual-edit-app .sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.edit-consent {
  margin: 15px 0;
}
.edit-stage > canvas {
  pointer-events: none;
}

.visual-edit-app .m-pill {
  color: var(--edit-brand);
}
.visual-edit-app .m-segment button {
  color: var(--edit-muted);
}
.visual-edit-app .m-segment button[aria-pressed="true"] {
  color: var(--edit-brand);
}
.visual-edit-app .m-field textarea {
  display: block;
  width: 100%;
  min-height: 105px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  padding: 13px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.75;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.visual-edit-app .m-field textarea:focus {
  border-color: var(--edit-brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.visual-edit-app .m-field input[type="range"] {
  display: block;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 32px;
  padding: 0;
  margin: 8px 0 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  accent-color: var(--brand);
  background: linear-gradient(
      to right,
      var(--brand) 0 var(--range-progress, 50%),
      var(--line) var(--range-progress, 50%) 100%
    )
    center/100% 6px no-repeat;
  cursor: pointer;
}
.visual-edit-app input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  background: transparent;
  border: 0;
  border-radius: 99px;
}
.visual-edit-app input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -6px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 1px 6px #5269de35;
}
.visual-edit-app input[type="range"]::-moz-range-track {
  height: 6px;
  background: transparent;
  border: 0;
  border-radius: 99px;
}
.visual-edit-app input[type="range"]::-moz-range-progress {
  background: transparent;
}
.visual-edit-app input[type="range"]::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 1px 6px #5269de35;
}
.visual-edit-app .m-field input[type="color"] {
  width: 90px;
  min-height: 42px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--bg);
  cursor: pointer;
}
.visual-edit-app input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}
.visual-edit-app input[type="color"]::-webkit-color-swatch {
  border: 0;
  border-radius: 6px;
}
.visual-edit-app input[type="color"]::-moz-color-swatch {
  border: 0;
  border-radius: 6px;
}
.visual-edit-app .engine-status.failed > i {
  color: #ba344c;
}
.dark .visual-edit-app .engine-status.failed > i {
  color: #ff9faf;
}

.visual-edit-app .merge-drop.drag-over {
  border-color: var(--edit-brand);
  background: var(--brand-soft);
  box-shadow: inset 0 0 0 4px #5269de18;
}
