.lesson-editor-surface {
	min-height: 12rem;
	background-color: var(--cui-body-bg) !important;
}

.lesson-editor-surface .codex-editor__redactor {
	padding-bottom: 4rem !important;
}

.lesson-editor-surface .ce-block__content,
.lesson-editor-surface .ce-toolbar__content {
	max-width: 100%;
}

.lesson-editor-surface .ce-paragraph {
	line-height: 1.55;
}

.lesson-mobile-preview-dialog {
	max-width: min(94vw, 480px);
	height: min(88vh, 860px);
}

.lesson-mobile-preview-dialog .modal-content {
	height: 100%;
}


.lesson-mobile-preview-content {
	position: relative;
	height: 100%;
	border: 1px solid var(--cui-border-color);
	border-radius: 1.25rem;
	overflow: hidden;
	background-color: var(--cui-body-bg);
}

.lesson-mobile-preview-close {
	position: absolute;
	top: 0.6rem;
	right: 0.6rem;
	z-index: 2;
	background-color: rgba(var(--cui-body-bg-rgb), 0.92);
	border: 1px solid var(--cui-border-color);
}

.lesson-mobile-preview-iframe {
	width: 100%;
	height: 100%;
	border: 0;
	background: var(--cui-body-bg);
}

[data-schedule-field-group="true"].lesson-schedule-hidden {
	display: none;
}

@media (max-width: 767.98px) {
	.lesson-editor-surface {
		min-height: 10rem;
	}

	.lesson-editor-surface .codex-editor__redactor {
		padding-bottom: 3rem !important;
	}

	.lesson-mobile-preview-dialog {
		max-width: 96vw;
		height: min(86vh, 760px);
	}
}
