.adjust-edges .edit-scan-bar {
  height: auto;
  min-height: 64px;
  padding: 16px 12px;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  column-gap: 12px;
}

.adjust-edges .edit-scan-bar h1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
  letter-spacing: 0;
}

#interactive .adjust-edges .edit-scan-bar button:first-child {
  width: 32px;
  min-width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 4px;
}

#interactive .adjust-edges .edit-scan-bar [data-act=apply] {
  width: auto;
  min-width: 60px;
  height: 32px;
  min-height: 32px;
  padding: 6px 8px;
  border-radius: 8px !important;
  background: #1570ef !important;
  font-size: 16px;
  font-weight: 500;
  box-shadow: inset 0 -1px 2px rgba(16, 42, 86, .35);
}

.adjust-edges main {
  padding: 48px 20px;
}

.edge-stage {
  border-radius: 16px;
  background: #dcefff;
}

.edge-stage article {
  width: min(76%, 292px);
  border-radius: 0;
}

.edge-tools {
  min-height: 64px;
  padding: 16px 40px 24px;
  gap: 0;
  background: #fff;
}

.edge-tools.adjust-mode {
  grid-template-columns: repeat(2, 1fr);
  padding-left: 60px;
  padding-right: 60px;
}

.edge-tools.crop-mode {
  grid-template-columns: repeat(3, 1fr);
}

.edge-tools button {
  min-height: 44px;
  padding-top: 0;
  border-radius: 0 !important;
  color: #1570ef;
  font-size: 14px;
  font-weight: 400;
}

.edge-tools button.on {
  background: transparent;
  color: #1570ef;
  font-weight: 400;
}

.edge-tools button:not(.on)[data-act=noCrop],
.edge-tools.crop-mode button:not(.on):first-child {
  color: #b1b9c3;
}

.edge-tools img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.edge-tools svg {
  display: none;
}
