.mpf-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	background: var(--mpf-overlay, rgba(0,0,0,0.5));
	padding: 20px;
}
.mpf-overlay.mpf-bottom { align-items: flex-end; }
.mpf-overlay.mpf-open { display: flex; }
.mpf-overlay[hidden] { display: none !important; }
body.mpf-lock { overflow: hidden; }
.mpf-box {
	background: var(--mpf-bg, #fff);
	color: var(--mpf-text, #222);
	border: 1px solid #eee6e0;
	border-radius: var(--mpf-radius, 0);
	box-shadow: none;
	width: min(var(--mpf-width, 520px), 92vw);
	max-height: 90vh;
	overflow: auto;
	padding: 28px;
	position: relative;
	box-sizing: border-box;
	font-family: inherit;
}
.mpf-content input,
.mpf-content button,
.mpf-content textarea,
.mpf-content select { font-family: inherit; }
.mpf-content a { color: inherit; }
.mpf-x {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 32px;
	height: 32px;
	line-height: 30px;
	border: 0;
	background: transparent;
	color: inherit;
	font-size: 22px;
	cursor: pointer;
	padding: 0;
}
.mpf-actions { margin-top: 16px; }
.mpf-btn {
	display: inline-block;
	padding: 10px 24px;
	border: 0;
	border-radius: var(--mpf-radius, 0);
	cursor: pointer;
	font-size: 15px;
	font-family: inherit;
}
