.egot-plain-compose label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}
.egot-plain-compose textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 180px;
  max-height: 70vh;
  padding: 14px;
  overflow-y: auto;
  border: 1px solid var(--egot-line, #d8e1e7);
  border-radius: 6px;
  background: var(--egot-surface, #fff);
  color: inherit;
  font: inherit;
  line-height: 1.75;
  resize: vertical;
}
.egot-attachment-uploader {
  margin-top: 18px;
}
.egot-attachment-uploader__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.egot-attachment-uploader__heading strong {
  font-size: 14px;
}
.egot-attachment-uploader__heading span {
  color: var(--egot-muted, #647481);
  font-size: 12px;
}
.egot-attachment-uploader__native {
  position: relative;
}
.egot-attachment-uploader__native .rx_ckeditor, .egot-attachment-uploader__native .editor_autosaved_message {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.egot-attachment-uploader__native .xefu-container {
  margin: 0;
  border: 1px dashed var(--egot-line, #c9d6de);
  border-radius: 6px;
  background: var(--egot-surface-soft, #f6f9fa);
}
.egot-attachment-uploader__native .xefu-act-link-selected {
  display: none !important;
}
.egot-attachment-uploader[data-egot-media-slots="Y"] .xefu-dropzone, .egot-attachment-uploader[data-egot-media-slots="Y"] .xefu-btn-fileinput, .egot-attachment-uploader[data-egot-media-slots="Y"] .xefu-controll {
  display: none !important;
}
.egot-attachment-uploader[data-egot-media-slots="Y"] .xefu-list-images {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.egot-media-slots-wrap {
  position: relative;
}
.egot-media-slots-wrap__fade {
  position: absolute;
  top: 0;
  right: 0;
  width: 38px;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--egot-surface, #fff));
}
.egot-media-slots {
  display: flex;
  gap: 10px;
  padding: 2px 30px 8px 2px;
  overflow-x: auto;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.egot-media-slot {
  position: relative;
  display: inline-flex;
  flex: 0 0 104px;
  width: 104px;
  height: 104px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--egot-line, #c9d6de);
  border-radius: 6px;
  scroll-snap-align: start;
}
.egot-media-slot.is-filled {
  background: #eef3f5;
}
.egot-media-slot.is-empty {
  flex-direction: column;
  gap: 7px;
  color: var(--egot-muted, #647481);
  background: var(--egot-surface-soft, #f6f9fa);
  border-style: dashed;
  cursor: pointer;
}
.egot-media-slot.is-empty i {
  font-size: 18px;
}
.egot-media-slot.is-empty span {
  font-size: 11px;
  font-weight: 700;
}
.egot-media-slot.is-empty:hover, .egot-media-slot.is-empty:focus-visible {
  color: #1665b0;
  border-color: #2e86c1;
  outline: 2px solid rgba(46, 134, 193, 0.2);
  outline-offset: 1px;
}
.egot-media-slot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.egot-media-slot__remove {
  position: absolute;
  top: 5px;
  right: 5px;
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #fff;
  background: rgba(24, 35, 43, 0.76);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.egot-media-slot__remove:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 1px;
}
.egot-media-slots-hint {
  margin: 2px 0 12px;
  color: var(--egot-muted, #647481);
  font-size: 11px;
  line-height: 1.5;
}
.egot-ghost-camera-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 8px 0;
  color: #286da8;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.egot-ghost-camera-trigger:hover, .egot-ghost-camera-trigger:focus-visible {
  color: #168578;
  outline: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.egot-ghost-camera-dialog {
  width: min(420px, calc(100vw - 32px));
  max-width: none;
  padding: 0;
  color: var(--egot-ink, #24313b);
  background: var(--egot-surface, #fff);
  border: 1px solid var(--egot-line, #d8e1e7);
  border-radius: 8px;
  box-shadow: 0 18px 56px rgba(18, 30, 40, 0.24);
}
.egot-ghost-camera-dialog::backdrop {
  background: rgba(13, 20, 25, 0.56);
}
.egot-ghost-camera-dialog__content {
  position: relative;
  padding: 28px;
}
.egot-ghost-camera-dialog__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--egot-muted, #647481);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.egot-ghost-camera-dialog__icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: #168578;
  background: rgba(22, 133, 120, 0.12);
  border-radius: 6px;
}
.egot-ghost-camera-dialog h3 {
  margin: 16px 0 8px;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0;
}
.egot-ghost-camera-dialog p, .egot-ghost-camera-dialog li {
  color: var(--egot-muted, #647481);
  font-size: 13px;
  line-height: 1.7;
}
.egot-ghost-camera-dialog ul {
  margin: 16px 0 0;
  padding-left: 19px;
}
.egot-ghost-camera-dialog__confirm {
  width: 100%;
  min-height: 44px;
  margin-top: 22px;
  color: #fff;
  background: #168578;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.egot-attachment-gallery {
  margin: 24px 0;
}
.egot-attachment-gallery__images {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.egot-attachment-gallery__images a, .egot-attachment-gallery__images button[data-egot-photo] {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
  cursor: zoom-in;
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid var(--egot-line, #d8e1e7);
  border-radius: 6px;
  background: #f3f5f6;
}
.egot-attachment-gallery__images img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.egot-attachment-gallery__files {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.egot-attachment-gallery__files a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 0;
  color: inherit;
}
.pswp.egot-photo-viewer {
  position: fixed !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-width: 100vw;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
}
@media (max-width: 560px) {
  .egot-attachment-uploader__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
  .egot-attachment-gallery__images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .egot-media-slot {
    flex-basis: 92px;
    width: 92px;
    height: 92px;
  }
  .egot-ghost-camera-dialog__content {
    padding: 24px 20px 20px;
  }
}
/*# sourceMappingURL=963b5e2a3be2b1aca89e0bdff59cfecab963bc47.egot_write_media.scss.map */
