/**
 * CKEditor 5 backend visual fixes
 *
 * TYPO3 uses CKEditor 5 DecoupledDocumentEditor where the toolbar and
 * editing area are separate DOM elements. The editing area has no built-in
 * border in this mode - the integrator must provide it.
 *
 * The toolbar uses:
 *   border: solid var(--ck-color-base-border); border-width: 1px 1px 0;
 * The wrapper .ck-editor__main closes the box with border-width: 0 1px 1px.
 */

/* Border on the wrapper element (outside CKEditor's own DOM) */
.ck-editor__main {
    border: 1px solid var(--ck-color-base-border, #c4c4c4);
    border-top: 0;
}
