.oto-compact-offer-editor .oto-compact-offer-section {
  position: relative !important;
  padding: 12px 14px !important;
  margin-bottom: 10px !important;
}

.oto-compact-offer-editor .warehouse-field > small[hidden] {
  display: none !important;
}

.oto-compact-offer-editor .oto-compact-account-search[hidden] {
  display: none !important;
}

.oto-compact-offer-editor .price-mode-field {
  position: absolute !important;
  top: 12px !important;
  right: 14px !important;
  width: auto !important;
  min-width: 0 !important;
  grid-column: auto !important;
  grid-row: auto !important;
  gap: 5px !important;
  z-index: 5 !important;
}

.oto-compact-offer-editor .price-mode-field > span {
  font-size: 12px !important;
  line-height: 1.15 !important;
}

.oto-compact-offer-editor .oto-compact-offer-grid {
  row-gap: 10px !important;
  column-gap: 12px !important;
  align-items: end !important;
}

.oto-compact-offer-editor .oto-compact-offer-grid small,
.oto-compact-offer-editor .oto-compact-offer-grid .hint {
  margin-top: 2px !important;
  line-height: 1.2 !important;
}

.oto-compact-offer-editor .oto-compact-description {
  align-self: end !important;
  margin: 0 !important;
}

.oto-compact-offer-editor .oto-compact-description textarea {
  height: 58px !important;
  min-height: 58px !important;
  max-height: 96px !important;
  padding: 9px 11px !important;
  line-height: 1.35 !important;
  resize: vertical !important;
}

.oto-compact-offer-editor .oto-compact-vat {
  justify-self: start !important;
  align-self: end !important;
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 34px !important;
  height: 34px !important;
  padding: 5px 12px !important;
  margin: 0 !important;
  gap: 8px !important;
  border-radius: 9px !important;
  font-size: 13px !important;
  line-height: 1 !important;
}

.oto-compact-offer-editor .oto-compact-vat input[type="checkbox"] {
  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  margin: 0 !important;
}

@media (max-width: 760px) {
  .oto-compact-offer-editor .oto-compact-offer-section {
    padding: 10px !important;
  }

  .oto-compact-offer-editor .oto-compact-vat {
    justify-self: stretch !important;
    width: 100% !important;
  }

  .oto-compact-offer-editor .price-mode-field {
    position: static !important;
    width: 100% !important;
    grid-column: 1 / -1 !important;
  }
}
