/* Isolated PM app shell: keeps layout stable across themes. */
html.fppm-app-html,
body.fppm-app-body {
	margin: 0;
	padding: 0;
	width: 100%;
	min-height: 100%;
	background: #f3f5f9;
	color: #111827;
}

body.fppm-app-body {
	font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	line-height: 1.5;
	overflow-x: hidden;
}

.fppm-app-root {
	position: relative;
	width: 100%;
	min-height: 100vh;
}

body.admin-bar .fppm-app-root {
	min-height: calc(100vh - 32px);
}

@media (max-width: 782px) {
	body.admin-bar .fppm-app-root {
		min-height: calc(100vh - 46px);
	}
}

.fppm-app-root,
.fppm-app-root * {
	box-sizing: border-box;
}

.fppm-app-root img {
	max-width: 100%;
	height: auto;
}

.fppm-app-root .alignwide,
.fppm-app-root .alignfull,
.fppm-app-root .wp-block-group,
.fppm-app-root .wp-site-blocks,
.fppm-app-root .entry-content,
.fppm-app-root .post,
.fppm-app-root .page,
.fppm-app-root .site-main {
	max-width: none;
	margin: 0;
	padding: 0;
}

.fppm-app-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 60vh;
	padding: 2rem;
	text-align: center;
}

.fppm-app-empty h1 {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 600;
	color: #475569;
}
