.bb-document-theater .bb-media-section.mlmmc-doc-preview-active {
	align-items: flex-start;
}

.bb-document-theater .bb-media-section.mlmmc-doc-preview-active .document-preview > h3 + .document-text,
.bb-document-theater .bb-media-section.mlmmc-doc-preview-active .document-preview > h3 + .mlmmc-sheet-preview,
.bb-document-theater .bb-media-section.mlmmc-doc-preview-active .document-preview > h3 + .mlmmc-docx-frame {
	margin-top: 50px;
}

.bb-document-theater .bb-media-section.mlmmc-doc-preview-active .document-text .CodeMirror {
	height: calc(90vh - 50px);
}

.mlmmc-docx-frame {
	display: block;
	width: 100%;
	height: calc(90vh - 50px);
	border: 0;
}

.mlmmc-pdf-viewer {
	display: flex;
	flex-direction: column;
	height: 90vh;
	background: #f1f3f5;
}

.mlmmc-pdf-toolbar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	min-height: 44px;
	background: #fff;
	border-bottom: 1px solid #e1e3e5;
}

.mlmmc-pdf-toolbar button {
	border: 0;
	background: transparent;
	color: inherit;
	font-size: 24px;
	cursor: pointer;
}

.mlmmc-pdf-toolbar button:disabled {
	opacity: .35;
	cursor: default;
}

.mlmmc-pdf-page {
	flex: 1;
	min-height: 0;
	overflow: auto;
	padding: 16px;
	text-align: center;
}

.mlmmc-pdf-page canvas {
	display: block;
	max-width: 100%;
	margin: 0 auto;
	background: #fff;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
}

.mlmmc-sheet-preview {
	max-height: 80vh;
	overflow: auto;
}

.mlmmc-sheet-preview table {
	width: 100%;
	border-collapse: collapse;
}

.mlmmc-sheet-preview th,
.mlmmc-sheet-preview td {
	padding: 8px 10px;
	border: 1px solid #ddd;
	text-align: left;
	vertical-align: top;
	white-space: pre-wrap;
}
