/*
 * Fullscreen surface for the Post-Free Offer Elementor document - the
 * dedicated owner-authored sales page shown when a Funnel Account customer
 * clicks "Keep my plan". Deliberately reads as a page, not a modal card: no
 * artificial vertical centering of the document itself (it owns its own
 * layout), natural scrolling, real Elementor width. z-index sits BELOW
 * checkout-fullscreen.css's .msai-checkout-fullscreen (999999) on purpose -
 * when the customer clicks the checkout CTA inside this document, checkout's
 * own surface simply stacks on top and becomes the active layer without any
 * cross-file coordination; closing checkout naturally reveals this offer
 * again underneath, closing this offer reveals the recap dialog underneath
 * that - a real stack, not flattened into one confusing layer.
 */
.msai-fa-offer-fullscreen {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100dvh;
	z-index: 990000;
	background: #fff;
	margin: 0;
	overflow: hidden;
}

body.msai-fa-offer-fullscreen-open {
	overflow: hidden;
}

html:has(body.msai-fa-offer-fullscreen-open) {
	overflow: hidden;
}

.msai-fa-offer-fullscreen__content {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
}

.msai-fa-offer-fullscreen__close {
	position: fixed;
	top: max(10px, env(safe-area-inset-top));
	right: max(10px, env(safe-area-inset-right));
	z-index: 990001;
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(16, 42, 67, 0.14);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: #102a43;
	font-size: 1.15rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(16, 42, 67, 0.14);
	backdrop-filter: blur(6px);
	text-transform: none;
}

.msai-fa-offer-fullscreen__close:hover,
.msai-fa-offer-fullscreen__close:focus-visible {
	background: #fff;
	color: #102a43;
	outline: 2px solid #4A90E2;
	outline-offset: 2px;
}
.msai-fa-offer-fullscreen.is-closing-sequence .msai-fa-offer-fullscreen__close{width:auto;min-width:82px;padding:0 14px;gap:4px}
