.b-tiny-mce-field {
    /* row-gap : 0; */

    /* Float above event editor popup */
    .tox.tox-tinymce {
        width         : 100%;
        z-index       : 100000;

        border-radius : var(--b-text-field-outlined-border-radius);

        &:not(.tox-tinymce-inline) {
            border : var(--b-text-field-outlined-border-width) solid var(--b-text-field-outlined-border-color);
        }

        &.tox-tinymce-inline {
            margin-top          : -2px;
            margin-inline-start : -1px;
        }

        &.tox-edit-focus {
            border-color : var(--b-text-field-focus-border-color);
        }

        .tox-edit-area::before {
            border : none;
        }
    }

    .tox-tinymce-aux {
        width   : 0 !important;
        z-index : 100000;
    }

    .tox .tox-tooltip {
        /* positioning does not work seamlessly, so better no tooltips at all than clipped ones */
        display : none;
    }

    .tox .tox-collection__item {
        /* prevent line wrap in dropdown menus */
        white-space : nowrap;
    }

    .b-field-inner {
        border : none;
        width  : 100%;

        .b-cell-editor & {
            width  : 100%;

            border : var(--b-text-field-outlined-border-width) solid var(--b-text-field-focus-border-color);

            .b-rich-text-field-container {
                padding-block  : calc(var(--b-grid-cell-padding-block) - 1px);
                padding-inline : calc(var(--b-grid-cell-padding-inline) - 1px);
            }
        }
    }
}
