.item-form {
  .cell--image {
    flex: 0 0 80px;
    width: auto;
    height: auto;
  }

  .header-fields {
    padding-left: 16px;
  }

  .sheet-header,
  .sheet-navigation {
    flex: 0 0 30px;
    border-top: 0;
  }

  .sheet-header {
    margin-bottom: 10px;
  }

  .tab,
  .editor {
    height: 100%;
  }

  .form-group,
  .form-group-stacked {

    &:has(div.editor) {
      padding: 10px 0;
      &:first-child {
        padding-top: 0;
      }
      &:not(:last-of-type) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.2);
      }
    }

    p.notes {
      color: $c-navy-up;
    }

    .tags {
      background-color: $c-white;
    }

    .editor {
      min-height: 60px;
      height: 100% !important;

      &.prosemirror {
        menu {
          li {
            &:has(
              button.format,
              button.fonts
            ) {
              flex: 0 calc(50% - 2px);
            }
          }
        }
      }
    }

    .tox-tinymce,
    .tox-editor-container,
    .tox-sidebar-wrap,
    .tox-edit-area,
    .editor-container {
      min-height: 170px;
      height: 100% !important;
    }

    .editor-container {
      margin: 0.5em 0 0;
    }

    .tox-tinymce {
      height: 100% !important;

      .tox-toolbar-overlord,
      .tox-toolbar__primary {
        background: transparent;
        border-bottom: 1px solid $c-black;
      }

      button {
        font-size: var(--font-size-12);
        padding: 0;
        border: 0;
        background: transparent;
        margin: 0;
        width: auto;
        height: auto;
      }
    }
  }

  .item.flexrow {
    align-items: center;
    gap: 4px;

    img {
      flex: 0 0 auto;
    }
  }

  .item-controls {
    flex: 0 1 auto;
  }
}