/* Admin control panel overrides: restore legacy icon sizes and density. */

body.site-page .site-content img {
	max-width: none;
	height: auto;
}

body.site-page .site-content table {
	max-width: none;
}

.site-content {
	overflow-x: auto;
	font-size: 12px;
}

.site-content td,
.site-content tr,
.site-content div,
.site-content p,
.site-content li,
.site-content ul,
.site-content ol {
	font-size: 12px;
}

/* Admin wrappers: fit the content, stay left aligned, adapt to small screens. */
body.site-page .site-content .wframe {
	box-sizing: border-box;
	max-width: 100%;
}

body.site-page .site-content .wframe input[type="text"],
body.site-page .site-content .wframe input[type="password"] {
	max-width: 100%;
	box-sizing: border-box;
}

@media (max-width: 700px) {
	body.site-page .site-content .wframe:not(.wframe-center) {
		width: auto !important;
		min-width: 0 !important;
		max-width: 100%;
		overflow-x: auto;
	}

	body.site-page .site-content .wframe-center {
		max-width: calc(100% - 2rem) !important;
	}
}
