.fileinput-button {
  position: relative;
  overflow: hidden;
  display: inline-block;
  cursor: pointer;
}

.fileinput-button input[type="file"] {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 100%;
  min-height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  font-size: 100px;
}

body.editor-frame-mode {
  min-width: 1180px;
  overflow-x: clip;
  overflow-y: clip;
}

body.editor-frame-mode .body_bg,
body.editor-frame-mode .c12x,
body.editor-frame-mode .editor-wrap,
body.editor-frame-mode .editor-page {
  min-width: 1180px;
  max-width: none;
}

.field_line {
  cursor: text;
  pointer-events: auto;
  z-index: 4;
}

.field_txt {
  cursor: text;
}

.field_txt {
  pointer-events: auto;
}

.textoffset {
  pointer-events: none;
}

.field_txt_inner {
  pointer-events: auto;
}

/* Вариант 1: Переопределить для конкретного случая */
body.design-editor-new.panel-new-enabled .field_txt {
  white-space: normal !important; /* или pre-wrap */
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Вариант 2: Добавить фиксированную ширину */
body.design-editor-new.panel-new-enabled .field_txt {
  width: 100%; /* или конкретное значение */
  max-width: 375px;
}

/* Вариант 3: Разрешить перенос внутри .field_txt_inner */
body.design-editor-new.panel-new-enabled .field_txt_inner {
  white-space: normal !important;
  word-break: break-word;
}
