/**
 * Pastor Video Creator — final cascade layer (inlined in wp_footer via pastor-video-creator.php).
 * Loads after body-injected stylesheets (e.g. Stripe upe-blocks) so rules actually win the cascade.
 */

/* Final cascade pass stays unlayered (see wizard-theme-isolation.css comment). */

/* Modal covers viewport; negate theme transforms/margins that break position:fixed */
html body.wizard-modal-open .wizard-modal-overlay.active,
html body.pvc-wizard-present .wizard-modal-overlay.active,
html body .wizard-modal-overlay.active {
	position: fixed !important;
	inset: 0 !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 100vw !important;
	height: 100vh !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	transform: none !important;
	z-index: 2147483646 !important;
	box-sizing: border-box !important;
	pointer-events: auto !important;
	display: flex !important;
	align-items: flex-end !important;
	justify-content: center !important;
}

html body .wizard-modal-overlay.active > .wizard-modal-container,
html body .wizard-modal-overlay > .wizard-modal-container {
	width: 100% !important;
	max-width: none !important;
	flex: 0 0 auto !important;
	/* Reinforce flex scroll chain when overlay is centered (base rules in wizard.css) */
	max-height: 100vh !important;
	min-height: 0 !important;
	overflow-x: hidden !important;
	overflow-y: hidden !important;
	border-radius: 0 !important;
}

/* Step 1 — beat theme flex/column rules that collapse the grid to one column visually */
html body .wizard-modal-overlay .wizard-new-step[data-step="1"] .wizard-new-option-grid {
	display: grid !important;
	grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
	gap: 20px !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	align-items: start !important;
	justify-items: stretch !important;
}

@media (min-width: 576px) {
	html body .wizard-modal-overlay .wizard-new-step[data-step="1"] .wizard-new-option-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (min-width: 992px) {
	html body .wizard-modal-overlay .wizard-new-step[data-step="1"] .wizard-new-option-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	}
}

/* Sermon twin carousel — same card + Continue chrome as template Step 1 */
html body .wizard-modal-overlay .pvc-sermon-carousel .wizard-new-option-grid,
html body .pvc-wizard-wrapper .pvc-sermon-carousel .wizard-new-option-grid {
	display: grid !important;
	grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
	gap: 20px !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	align-items: start !important;
	justify-items: stretch !important;
}
/* Beat the rule above so Option 1 dropzone can truly hide after file select */
html body .wizard-modal-overlay .pvc-sermon-carousel .pvc-sermon-upload-grid[hidden],
html body .pvc-wizard-wrapper .pvc-sermon-carousel .pvc-sermon-upload-grid[hidden],
html body .wizard-modal-overlay .pvc-sermon-carousel .pvc-sermon-upload-grid.is-hidden,
html body .pvc-wizard-wrapper .pvc-sermon-carousel .pvc-sermon-upload-grid.is-hidden {
	display: none !important;
}
@media (min-width: 576px) {
	html body .wizard-modal-overlay .pvc-sermon-carousel .wizard-new-option-grid:not(.pvc-sermon-upload-grid):not(.pvc-sermon-pack-grid),
	html body .pvc-wizard-wrapper .pvc-sermon-carousel .wizard-new-option-grid:not(.pvc-sermon-upload-grid):not(.pvc-sermon-pack-grid) {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}
@media (min-width: 900px) {
	html body .wizard-modal-overlay .pvc-sermon-carousel .wizard-new-option-grid:not(.pvc-sermon-upload-grid):not(.pvc-sermon-pack-grid),
	html body .pvc-wizard-wrapper .pvc-sermon-carousel .wizard-new-option-grid:not(.pvc-sermon-upload-grid):not(.pvc-sermon-pack-grid) {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}
/* Aspect step is always two cards — never 3-up */
html body .wizard-modal-overlay .pvc-sermon-carousel .wizard-new-step[data-sermon-step="aspect"] .wizard-new-option-grid,
html body .pvc-wizard-wrapper .pvc-sermon-carousel .wizard-new-step[data-sermon-step="aspect"] .wizard-new-option-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
html body .wizard-modal-overlay .pvc-sermon-carousel .wizard-new-option-card,
html body .pvc-wizard-wrapper .pvc-sermon-carousel .wizard-new-option-card {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: flex-start !important;
	min-width: 0 !important;
	max-width: 100% !important;
	width: 100% !important;
	min-height: 160px !important;
	padding: 30px 20px !important;
	margin: 0 !important;
	box-sizing: border-box !important;
	pointer-events: auto !important;
	cursor: pointer !important;
}
html body .wizard-modal-overlay .pvc-sermon-carousel .wizard-new-option-card .wizard-new-option-hint,
html body .pvc-wizard-wrapper .pvc-sermon-carousel .wizard-new-option-card .wizard-new-option-hint {
	margin-top: auto !important;
}
html body .wizard-modal-overlay .pvc-sermon-carousel button.wizard-new-btn.wizard-new-btn-primary,
html body .pvc-wizard-wrapper .pvc-sermon-carousel button.wizard-new-btn.wizard-new-btn-primary {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	width: 100% !important;
	min-height: 48px !important;
	background: #142942 !important;
	background-color: #142942 !important;
	border: 1px solid rgba(255, 255, 255, 0.28) !important;
	border-radius: 0 !important;
	color: #fafafa !important;
	pointer-events: auto !important;
	opacity: 1 !important;
	cursor: pointer !important;
	position: relative !important;
	overflow: hidden !important;
	box-shadow: none !important;
}
html body .wizard-modal-overlay .pvc-sermon-carousel button.wizard-new-btn.wizard-new-btn-primary:not(:disabled):not(.is-gated):hover,
html body .pvc-wizard-wrapper .pvc-sermon-carousel button.wizard-new-btn.wizard-new-btn-primary:not(:disabled):not(.is-gated):hover {
	background: #1c3d5f !important;
	background-color: #1c3d5f !important;
	border-color: rgba(255, 255, 255, 0.36) !important;
	color: #fafafa !important;
}
html body .wizard-modal-overlay .pvc-sermon-carousel button.wizard-new-btn.wizard-new-btn-primary:disabled,
html body .wizard-modal-overlay .pvc-sermon-carousel button.wizard-new-btn.wizard-new-btn-primary.is-gated,
html body .wizard-modal-overlay .pvc-sermon-carousel button.wizard-new-btn.wizard-new-btn-primary[aria-disabled="true"],
html body .pvc-wizard-wrapper .pvc-sermon-carousel button.wizard-new-btn.wizard-new-btn-primary:disabled,
html body .pvc-wizard-wrapper .pvc-sermon-carousel button.wizard-new-btn.wizard-new-btn-primary.is-gated,
html body .pvc-wizard-wrapper .pvc-sermon-carousel button.wizard-new-btn.wizard-new-btn-primary[aria-disabled="true"] {
	opacity: 0.55 !important;
	cursor: not-allowed !important;
	background: #142942 !important;
	background-color: #142942 !important;
	border-color: rgba(255, 255, 255, 0.16) !important;
	color: rgba(250, 250, 250, 0.55) !important;
	box-shadow: none !important;
	transform: none !important;
}
/* Light mode: match Save Script gated gray (not near-black) */
html body .wizard-modal-overlay[data-theme="light"] .pvc-sermon-carousel button.wizard-new-btn.wizard-new-btn-primary:disabled,
html body .wizard-modal-overlay[data-theme="light"] .pvc-sermon-carousel button.wizard-new-btn.wizard-new-btn-primary.is-gated,
html body .wizard-modal-overlay[data-theme="light"] .pvc-sermon-carousel button.wizard-new-btn.wizard-new-btn-primary[aria-disabled="true"],
html body .pvc-wizard-wrapper[data-theme="light"] .pvc-sermon-carousel button.wizard-new-btn.wizard-new-btn-primary:disabled,
html body .pvc-wizard-wrapper[data-theme="light"] .pvc-sermon-carousel button.wizard-new-btn.wizard-new-btn-primary.is-gated,
html body .pvc-wizard-wrapper[data-theme="light"] .pvc-sermon-carousel button.wizard-new-btn.wizard-new-btn-primary[aria-disabled="true"] {
	background: #e2e8f0 !important;
	background-color: #e2e8f0 !important;
	border: 1px solid rgba(17, 24, 39, 0.12) !important;
	color: #64748b !important;
	-webkit-text-fill-color: #64748b !important;
	opacity: 1 !important;
}
html body .wizard-modal-overlay[data-theme="light"] .pvc-sermon-carousel button.wizard-new-btn.wizard-new-btn-primary.is-gated i,
html body .wizard-modal-overlay[data-theme="light"] .pvc-sermon-carousel button.wizard-new-btn.wizard-new-btn-primary.is-gated span,
html body .pvc-wizard-wrapper[data-theme="light"] .pvc-sermon-carousel button.wizard-new-btn.wizard-new-btn-primary.is-gated i,
html body .pvc-wizard-wrapper[data-theme="light"] .pvc-sermon-carousel button.wizard-new-btn.wizard-new-btn-primary.is-gated span {
	color: #64748b !important;
	-webkit-text-fill-color: #64748b !important;
}

/* Create Content fork — beat wizard-new auto-fit grid + black button inherit */
html body .wizard-modal-overlay .pvc-mode-fork .pvc-mode-fork-grid,
html body .pvc-wizard-wrapper .pvc-mode-fork .pvc-mode-fork-grid {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 0.85rem !important;
	width: 100% !important;
}
/* Welcome ↔ choices use horizontal phase track (both panels stay mounted) */
html body .wizard-modal-overlay .pvc-mode-fork .pvc-mode-fork-grid,
html body .pvc-wizard-wrapper .pvc-mode-fork .pvc-mode-fork-grid {
	display: grid !important;
}
html body .wizard-modal-overlay .pvc-mode-fork .pvc-mode-option-label,
html body .pvc-wizard-wrapper .pvc-mode-fork .pvc-mode-option-label {
	display: inline-block !important;
	align-self: center !important;
	width: fit-content !important;
	max-width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
	color: var(--text-primary, #ffffff) !important;
	font-size: 1.05rem !important;
	margin-bottom: 1.35rem !important;
	padding-bottom: 0.2rem;
	transition: color 0.2s ease;
	position: relative;
	text-align: center !important;
}
html body .wizard-modal-overlay[data-theme="dark"] .pvc-mode-fork .pvc-mode-option-label,
html body .pvc-wizard-wrapper[data-theme="dark"] .pvc-mode-fork .pvc-mode-option-label {
	color: #ffffff !important;
}
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-mode-fork .pvc-mode-option-label,
html body .wizard-modal-overlay[data-theme="light"] .pvc-mode-fork .pvc-mode-option-label,
html body .pvc-wizard-wrapper:not([data-theme="dark"]) .pvc-mode-fork .pvc-mode-option-label,
html body .pvc-wizard-wrapper[data-theme="light"] .pvc-mode-fork .pvc-mode-option-label {
	color: #1c2a36 !important;
}
html body .wizard-modal-overlay .pvc-mode-fork .pvc-mode-option-label::after,
html body .pvc-wizard-wrapper .pvc-mode-fork .pvc-mode-option-label::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 60% !important;
	height: 1.5px;
	background: var(--pvc-primary, var(--pvc-primary, #2a5f86));
	border-radius: 1px;
	transform: translateX(-50%) scaleX(0);
	transform-origin: center;
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
	pointer-events: none;
}
html body .wizard-modal-overlay .pvc-mode-fork .pvc-mode-col:has(.pvc-mode-card:hover:not(:disabled)) .pvc-mode-option-label,
html body .pvc-wizard-wrapper .pvc-mode-fork .pvc-mode-col:has(.pvc-mode-card:hover:not(:disabled)) .pvc-mode-option-label,
html body .wizard-modal-overlay .pvc-mode-fork .pvc-mode-col:has(.pvc-mode-card:focus-visible) .pvc-mode-option-label,
html body .pvc-wizard-wrapper .pvc-mode-fork .pvc-mode-col:has(.pvc-mode-card:focus-visible) .pvc-mode-option-label {
	color: var(--pvc-primary, var(--pvc-primary, #2a5f86)) !important;
}
html body .wizard-modal-overlay .pvc-mode-fork .pvc-mode-col:has(.pvc-mode-card:hover:not(:disabled)) .pvc-mode-option-label::after,
html body .pvc-wizard-wrapper .pvc-mode-fork .pvc-mode-col:has(.pvc-mode-card:hover:not(:disabled)) .pvc-mode-option-label::after,
html body .wizard-modal-overlay .pvc-mode-fork .pvc-mode-col:has(.pvc-mode-card:focus-visible) .pvc-mode-option-label::after,
html body .pvc-wizard-wrapper .pvc-mode-fork .pvc-mode-col:has(.pvc-mode-card:focus-visible) .pvc-mode-option-label::after {
	transform: translateX(-50%) scaleX(1);
}
html body .wizard-modal-overlay .pvc-mode-fork .pvc-mode-col:has(.pvc-mode-card:hover:not(:disabled)) .pvc-mode-starting,
html body .pvc-wizard-wrapper .pvc-mode-fork .pvc-mode-col:has(.pvc-mode-card:hover:not(:disabled)) .pvc-mode-starting,
html body .wizard-modal-overlay .pvc-mode-fork .pvc-mode-col:has(.pvc-mode-card:focus-visible) .pvc-mode-starting,
html body .pvc-wizard-wrapper .pvc-mode-fork .pvc-mode-col:has(.pvc-mode-card:focus-visible) .pvc-mode-starting {
	color: var(--pvc-primary, #2a5f86) !important;
}
html body .wizard-modal-overlay .pvc-mode-fork .pvc-mode-card .pvc-mode-starting,
html body .pvc-wizard-wrapper .pvc-mode-fork .pvc-mode-card .pvc-mode-starting {
	margin: 0.8rem 0 0 !important;
	padding: 1.4rem 0 0 !important;
}
html body .wizard-modal-overlay[data-theme="dark"] .pvc-mode-fork .pvc-mode-card .pvc-mode-starting,
html body .pvc-wizard-wrapper[data-theme="dark"] .pvc-mode-fork .pvc-mode-card .pvc-mode-starting {
	border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-mode-fork .pvc-mode-card .pvc-mode-starting,
html body .wizard-modal-overlay[data-theme="light"] .pvc-mode-fork .pvc-mode-card .pvc-mode-starting,
html body .pvc-wizard-wrapper:not([data-theme="dark"]) .pvc-mode-fork .pvc-mode-card .pvc-mode-starting,
html body .pvc-wizard-wrapper[data-theme="light"] .pvc-mode-fork .pvc-mode-card .pvc-mode-starting {
	border-top: 1px solid rgba(42, 95, 134, 0.14) !important;
	color: #4a5d6c !important;
}
/* Fork Option 2 social/guarantee icons — must beat dark `.wizard-new-option-card i` orange */
html body .wizard-modal-overlay .pvc-mode-fork .wizard-new-option-card .pvc-mode-gets-stat-fire,
html body .pvc-wizard-wrapper .pvc-mode-fork .wizard-new-option-card .pvc-mode-gets-stat-fire,
html body .wizard-modal-overlay .pvc-mode-fork .wizard-new-option-card .pvc-mode-gets-stat-n,
html body .pvc-wizard-wrapper .pvc-mode-fork .wizard-new-option-card .pvc-mode-gets-stat-n {
	color: #ef4444 !important;
}
html body .wizard-modal-overlay .pvc-mode-fork .wizard-new-option-card .pvc-mode-gets-guarantee-icon,
html body .pvc-wizard-wrapper .pvc-mode-fork .wizard-new-option-card .pvc-mode-gets-guarantee-icon,
html body .wizard-modal-overlay .pvc-mode-fork .wizard-new-option-card .pvc-mode-gets-guarantee-em,
html body .pvc-wizard-wrapper .pvc-mode-fork .wizard-new-option-card .pvc-mode-gets-guarantee-em {
	color: #89cff0 !important;
}
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-mode-fork .wizard-new-option-card .pvc-mode-gets-guarantee-icon,
html body .wizard-modal-overlay[data-theme="light"] .pvc-mode-fork .wizard-new-option-card .pvc-mode-gets-guarantee-icon,
html body .pvc-wizard-wrapper:not([data-theme="dark"]) .pvc-mode-fork .wizard-new-option-card .pvc-mode-gets-guarantee-icon,
html body .pvc-wizard-wrapper[data-theme="light"] .pvc-mode-fork .wizard-new-option-card .pvc-mode-gets-guarantee-icon,
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-mode-fork .wizard-new-option-card .pvc-mode-gets-guarantee-em,
html body .wizard-modal-overlay[data-theme="light"] .pvc-mode-fork .wizard-new-option-card .pvc-mode-gets-guarantee-em,
html body .pvc-wizard-wrapper:not([data-theme="dark"]) .pvc-mode-fork .wizard-new-option-card .pvc-mode-gets-guarantee-em,
html body .pvc-wizard-wrapper[data-theme="light"] .pvc-mode-fork .wizard-new-option-card .pvc-mode-gets-guarantee-em {
	color: #2a5f86 !important;
}
html body .wizard-modal-overlay[data-theme="dark"] .pvc-mode-fork .wizard-new-option-card .pvc-mode-gets-bonus,
html body .pvc-wizard-wrapper[data-theme="dark"] .pvc-mode-fork .wizard-new-option-card .pvc-mode-gets-bonus,
html body .wizard-modal-overlay[data-theme="dark"] .pvc-mode-fork .wizard-new-option-card .pvc-mode-gets-bonus span,
html body .pvc-wizard-wrapper[data-theme="dark"] .pvc-mode-fork .wizard-new-option-card .pvc-mode-gets-bonus span {
	color: rgba(255, 255, 255, 0.88) !important;
}
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-mode-fork .wizard-new-option-card .pvc-mode-gets-bonus,
html body .wizard-modal-overlay[data-theme="light"] .pvc-mode-fork .wizard-new-option-card .pvc-mode-gets-bonus,
html body .pvc-wizard-wrapper:not([data-theme="dark"]) .pvc-mode-fork .wizard-new-option-card .pvc-mode-gets-bonus,
html body .pvc-wizard-wrapper[data-theme="light"] .pvc-mode-fork .wizard-new-option-card .pvc-mode-gets-bonus,
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-mode-fork .wizard-new-option-card .pvc-mode-gets-bonus span,
html body .wizard-modal-overlay[data-theme="light"] .pvc-mode-fork .wizard-new-option-card .pvc-mode-gets-bonus span,
html body .pvc-wizard-wrapper:not([data-theme="dark"]) .pvc-mode-fork .wizard-new-option-card .pvc-mode-gets-bonus span,
html body .pvc-wizard-wrapper[data-theme="light"] .pvc-mode-fork .wizard-new-option-card .pvc-mode-gets-bonus span {
	color: #4a5d6c !important;
}
html body .wizard-modal-overlay .pvc-mode-fork .wizard-new-option-card .pvc-mode-gets-bonus-icon,
html body .pvc-wizard-wrapper .pvc-mode-fork .wizard-new-option-card .pvc-mode-gets-bonus-icon,
html body .wizard-modal-overlay .pvc-mode-fork .wizard-new-option-card .pvc-mode-gets-bonus-em,
html body .pvc-wizard-wrapper .pvc-mode-fork .wizard-new-option-card .pvc-mode-gets-bonus-em {
	color: #fbbf24 !important;
}
html body .wizard-modal-overlay .pvc-mode-fork .pvc-mode-or,
html body .pvc-wizard-wrapper .pvc-mode-fork .pvc-mode-or {
	font-size: 0.88rem !important;
	max-width: none !important;
	width: 100% !important;
	text-align: center !important;
}
html body .wizard-modal-overlay[data-theme="dark"] .pvc-mode-fork .pvc-mode-or,
html body .pvc-wizard-wrapper[data-theme="dark"] .pvc-mode-fork .pvc-mode-or {
	color: #ffffff !important;
}
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-mode-fork .pvc-mode-or,
html body .wizard-modal-overlay[data-theme="light"] .pvc-mode-fork .pvc-mode-or,
html body .pvc-wizard-wrapper:not([data-theme="dark"]) .pvc-mode-fork .pvc-mode-or,
html body .pvc-wizard-wrapper[data-theme="light"] .pvc-mode-fork .pvc-mode-or {
	color: #4a5d6c !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-mode-fork .pvc-mode-hover-caret,
html body .wizard-modal-overlay[data-theme="light"] .pvc-mode-fork .pvc-mode-hover-caret,
html body .pvc-wizard-wrapper:not([data-theme="dark"]) .pvc-mode-fork .pvc-mode-hover-caret,
html body .pvc-wizard-wrapper[data-theme="light"] .pvc-mode-fork .pvc-mode-hover-caret {
	color: #8b9aab !important;
}
html body .wizard-modal-overlay[data-theme="dark"] .pvc-mode-fork .pvc-mode-hover-caret,
html body .pvc-wizard-wrapper[data-theme="dark"] .pvc-mode-fork .pvc-mode-hover-caret {
	color: #ffffff !important;
}


html body .wizard-modal-overlay .pvc-mode-fork .pvc-mode-card .pvc-mode-desc,
html body .pvc-wizard-wrapper .pvc-mode-fork .pvc-mode-card .pvc-mode-desc {
	display: none !important;
}
html body .wizard-modal-overlay[data-theme="dark"] .pvc-mode-fork .pvc-mode-card .wizard-new-option-hint,
html body .pvc-wizard-wrapper[data-theme="dark"] .pvc-mode-fork .pvc-mode-card .wizard-new-option-hint,
html body .wizard-modal-overlay[data-theme="dark"] .pvc-mode-fork .pvc-mode-hint-text,
html body .pvc-wizard-wrapper[data-theme="dark"] .pvc-mode-fork .pvc-mode-hint-text {
	color: #ffffff !important;
}
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-mode-fork .pvc-mode-card .wizard-new-option-hint,
html body .wizard-modal-overlay[data-theme="light"] .pvc-mode-fork .pvc-mode-card .wizard-new-option-hint,
html body .pvc-wizard-wrapper:not([data-theme="dark"]) .pvc-mode-fork .pvc-mode-card .wizard-new-option-hint,
html body .pvc-wizard-wrapper[data-theme="light"] .pvc-mode-fork .pvc-mode-card .wizard-new-option-hint,
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-mode-fork .pvc-mode-hint-text,
html body .wizard-modal-overlay[data-theme="light"] .pvc-mode-fork .pvc-mode-hint-text,
html body .pvc-wizard-wrapper:not([data-theme="dark"]) .pvc-mode-fork .pvc-mode-hint-text,
html body .pvc-wizard-wrapper[data-theme="light"] .pvc-mode-fork .pvc-mode-hint-text {
	color: #4a5d6c !important;
}
html body .wizard-modal-overlay .pvc-mode-fork .pvc-mode-col:has(.pvc-mode-card:hover:not(:disabled)) .wizard-new-option-name,
html body .pvc-wizard-wrapper .pvc-mode-fork .pvc-mode-col:has(.pvc-mode-card:hover:not(:disabled)) .wizard-new-option-name,
html body .wizard-modal-overlay .pvc-mode-fork .pvc-mode-col:has(.pvc-mode-card:focus-visible) .wizard-new-option-name,
html body .pvc-wizard-wrapper .pvc-mode-fork .pvc-mode-col:has(.pvc-mode-card:focus-visible) .wizard-new-option-name {
	color: var(--pvc-primary, #2a5f86) !important;
}
html body .wizard-modal-overlay .pvc-mode-fork .pvc-mode-hint-tip,
html body .pvc-wizard-wrapper .pvc-mode-fork .pvc-mode-hint-tip {
	color: #0f172a !important;
	background: var(--bg-card, #faf9f7) !important;
	border-color: rgba(15, 23, 42, 0.12) !important;
}
html body .wizard-modal-overlay[data-theme="dark"] .pvc-mode-fork .pvc-mode-hint-info,
html body .pvc-wizard-wrapper[data-theme="dark"] .pvc-mode-fork .pvc-mode-hint-info {
	color: #ffffff !important;
}
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-mode-fork .pvc-mode-hint-info,
html body .wizard-modal-overlay[data-theme="light"] .pvc-mode-fork .pvc-mode-hint-info,
html body .pvc-wizard-wrapper:not([data-theme="dark"]) .pvc-mode-fork .pvc-mode-hint-info,
html body .pvc-wizard-wrapper[data-theme="light"] .pvc-mode-fork .pvc-mode-hint-info {
	color: #1c2a36 !important;
}
html body .wizard-modal-overlay[data-theme="dark"] .pvc-mode-fork .pvc-mode-gets li,
html body .pvc-wizard-wrapper[data-theme="dark"] .pvc-mode-fork .pvc-mode-gets li,
html body .wizard-modal-overlay[data-theme="dark"] .pvc-mode-fork .pvc-mode-gets li:hover,
html body .pvc-wizard-wrapper[data-theme="dark"] .pvc-mode-fork .pvc-mode-gets li:hover,
html body .wizard-modal-overlay[data-theme="dark"] .pvc-mode-fork .pvc-mode-card:hover .pvc-mode-gets li,
html body .pvc-wizard-wrapper[data-theme="dark"] .pvc-mode-fork .pvc-mode-card:hover .pvc-mode-gets li {
	color: #ffffff !important;
}
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-mode-fork .pvc-mode-gets li,
html body .wizard-modal-overlay[data-theme="light"] .pvc-mode-fork .pvc-mode-gets li,
html body .pvc-wizard-wrapper:not([data-theme="dark"]) .pvc-mode-fork .pvc-mode-gets li,
html body .pvc-wizard-wrapper[data-theme="light"] .pvc-mode-fork .pvc-mode-gets li,
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-mode-fork .pvc-mode-gets li:hover,
html body .wizard-modal-overlay[data-theme="light"] .pvc-mode-fork .pvc-mode-gets li:hover,
html body .pvc-wizard-wrapper:not([data-theme="dark"]) .pvc-mode-fork .pvc-mode-gets li:hover,
html body .pvc-wizard-wrapper[data-theme="light"] .pvc-mode-fork .pvc-mode-gets li:hover,
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-mode-fork .pvc-mode-card:hover .pvc-mode-gets li,
html body .wizard-modal-overlay[data-theme="light"] .pvc-mode-fork .pvc-mode-card:hover .pvc-mode-gets li,
html body .pvc-wizard-wrapper:not([data-theme="dark"]) .pvc-mode-fork .pvc-mode-card:hover .pvc-mode-gets li,
html body .pvc-wizard-wrapper[data-theme="light"] .pvc-mode-fork .pvc-mode-card:hover .pvc-mode-gets li {
	color: #1c2a36 !important;
}

/* Hide Share option in Earn Credits menu */
html body .wizard-modal-overlay [data-tab="get-credits"] .wizard-new-option-card:has(input[name*="credits_mode"][value="share"]),
html body .pvc-wizard-wrapper [data-tab="get-credits"] .wizard-new-option-card:has(input[name*="credits_mode"][value="share"]),
html body .wizard-modal-overlay .credits-share-section,
html body .pvc-wizard-wrapper .credits-share-section {
	display: none !important;
}
html body .wizard-modal-overlay .pvc-mode-fork .pvc-mode-card.wizard-new-option-card,
html body .pvc-wizard-wrapper .pvc-mode-fork .pvc-mode-card.wizard-new-option-card {
	min-height: 0 !important;
	height: auto !important;
	padding: 1.15rem 1.15rem 1rem !important;
	overflow: visible !important;
	background: var(--bg-card, #faf9f7) !important;
	border-color: var(--border-primary, rgba(42, 95, 134, 0.14)) !important;
}
html body .wizard-modal-overlay[data-theme="dark"] .pvc-mode-fork .pvc-mode-card.wizard-new-option-card,
html body .pvc-wizard-wrapper[data-theme="dark"] .pvc-mode-fork .pvc-mode-card.wizard-new-option-card {
	color: #fafafa !important;
}
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-mode-fork .pvc-mode-card.wizard-new-option-card,
html body .wizard-modal-overlay[data-theme="light"] .pvc-mode-fork .pvc-mode-card.wizard-new-option-card,
html body .pvc-wizard-wrapper:not([data-theme="dark"]) .pvc-mode-fork .pvc-mode-card.wizard-new-option-card,
html body .pvc-wizard-wrapper[data-theme="light"] .pvc-mode-fork .pvc-mode-card.wizard-new-option-card {
	color: #1c2a36 !important;
}
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-mode-fork .wizard-new-option-name,
html body .wizard-modal-overlay[data-theme="light"] .pvc-mode-fork .wizard-new-option-name,
html body .pvc-wizard-wrapper:not([data-theme="dark"]) .pvc-mode-fork .wizard-new-option-name,
html body .pvc-wizard-wrapper[data-theme="light"] .pvc-mode-fork .wizard-new-option-name {
	color: #1c2a36 !important;
}
@media (min-width: 720px) {
	html body .wizard-modal-overlay .pvc-mode-fork .pvc-mode-fork-grid,
	html body .pvc-wizard-wrapper .pvc-mode-fork .pvc-mode-fork-grid {
		grid-template-columns: minmax(0, 300px) auto minmax(0, 300px) !important;
		gap: 0.75rem 1.05rem !important;
		justify-content: center !important;
		align-items: start !important;
	}
	html body .wizard-modal-overlay .pvc-mode-fork .pvc-mode-fork-grid:has(.pvc-mode-col-sermon[hidden]),
	html body .pvc-wizard-wrapper .pvc-mode-fork .pvc-mode-fork-grid:has(.pvc-mode-col-sermon[hidden]) {
		grid-template-columns: minmax(0, 300px) !important;
	}
	html body .wizard-modal-overlay .pvc-mode-fork .pvc-mode-col,
	html body .pvc-wizard-wrapper .pvc-mode-fork .pvc-mode-col {
		max-width: 300px !important;
		width: 100% !important;
		height: auto !important;
	}
	html body .wizard-modal-overlay .pvc-mode-fork .pvc-mode-or,
	html body .pvc-wizard-wrapper .pvc-mode-fork .pvc-mode-or {
		width: auto !important;
		max-width: none !important;
		margin-top: 2.1rem !important;
		padding: 0.35rem 0.45rem !important;
		gap: 1.4rem !important;
	}
	html body .wizard-modal-overlay .pvc-mode-fork .pvc-mode-card.wizard-new-option-card,
	html body .pvc-wizard-wrapper .pvc-mode-fork .pvc-mode-card.wizard-new-option-card {
		min-height: 0 !important;
		height: auto !important;
		flex: 0 1 auto !important;
	}
}
@media (max-width: 719px) {
	html body .wizard-modal-overlay .pvc-mode-fork .pvc-mode-fork-grid,
	html body .pvc-wizard-wrapper .pvc-mode-fork .pvc-mode-fork-grid {
		grid-template-columns: 1fr !important;
		gap: 0.85rem !important;
	}
	html body .wizard-modal-overlay .pvc-mode-fork .pvc-mode-col,
	html body .pvc-wizard-wrapper .pvc-mode-fork .pvc-mode-col {
		max-width: none !important;
	}
	html body .wizard-modal-overlay .pvc-mode-fork .pvc-mode-or,
	html body .pvc-wizard-wrapper .pvc-mode-fork .pvc-mode-or {
		width: 100% !important;
		max-width: none !important;
		margin-top: 0 !important;
		font-size: 0.88rem !important;
		padding: 0.45rem 0.5rem !important;
	}
	html body .wizard-modal-overlay .pvc-mode-fork .pvc-mode-card.wizard-new-option-card,
	html body .pvc-wizard-wrapper .pvc-mode-fork .pvc-mode-card.wizard-new-option-card {
		min-height: 0 !important;
		padding: 1.05rem 1rem 0.9rem !important;
	}
}

/* Mode slide track — overflow only on viewport (nav stays outside, never clipped) */
html body .wizard-modal-overlay .pvc-mode-viewport,
html body .pvc-wizard-wrapper .pvc-mode-viewport {
	position: relative !important;
	overflow: hidden !important;
	width: 100% !important;
}
/* Fork info tips escape cards — allow overflow while on Create Content fork */
html body .wizard-modal-overlay .wizard-new-carousel-wrapper[data-pvc-create-mode="fork"] .pvc-mode-viewport,
html body .pvc-wizard-wrapper .wizard-new-carousel-wrapper[data-pvc-create-mode="fork"] .pvc-mode-viewport {
	overflow: visible !important;
}
html body .wizard-modal-overlay .pvc-mode-track,
html body .pvc-wizard-wrapper .pvc-mode-track {
	display: flex !important;
	flex-direction: row !important;
	width: 100% !important;
	transform: translate3d(var(--pvc-mode-offset, 0%), 0, 0) !important;
	transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
html body .wizard-modal-overlay .pvc-mode-track.dragging,
html body .pvc-wizard-wrapper .pvc-mode-track.dragging {
	transition: none !important;
}
html body .wizard-modal-overlay .pvc-mode-track > .pvc-mode-fork,
html body .pvc-wizard-wrapper .pvc-mode-track > .pvc-mode-fork,
html body .wizard-modal-overlay .pvc-mode-track > .wizard-new-carousel-container,
html body .pvc-wizard-wrapper .pvc-mode-track > .wizard-new-carousel-container {
	flex: 0 0 100% !important;
	min-width: 100% !important;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	position: relative !important;
}

html body .wizard-modal-overlay .wizard-new-carousel-track {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
}

html body .wizard-modal-overlay .wizard-new-step {
	flex-shrink: 0 !important;
	min-width: 100% !important;
	width: 100% !important;
}

/* Dashboard row */
html body .wizard-modal-overlay .wizard-modal-content {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	min-height: 0 !important;
	/* flex-basis 0% keeps the row/column height-bounded so .dashboard-content can scroll */
	flex: 1 1 0% !important;
	overflow: hidden !important;
}

html body .wizard-modal-overlay .dashboard-content {
	flex: 1 1 0% !important;
	min-width: 0 !important;
	min-height: 0 !important;
	max-width: none !important;
	overflow-x: clip !important;
	overflow-y: auto !important;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}

/*
 * Create Content: shell must NOT scroll. Each wizard step (and the fork panel)
 * is its own scrollport so Next/Back can slide horizontally without a vertical
 * snap of the outgoing page.
 *
 * Scrollbar must sit on the same full-bleed edge as the old .dashboard-content
 * scrollbar — not inset inside the max-width / padded column.
 */
html body .wizard-modal-overlay .dashboard-content:has(> .dashboard-tab.active[data-tab="create-new"]),
html body .pvc-wizard-wrapper .dashboard-content:has(> .dashboard-tab.active[data-tab="create-new"]) {
	overflow-y: hidden !important;
	display: flex !important;
	flex-direction: column !important;
	/* Keep the same pane fill other tabs use (do not restyle create-new differently) */
}

html body .wizard-modal-overlay .dashboard-tab.active[data-tab="create-new"],
html body .pvc-wizard-wrapper .dashboard-tab.active[data-tab="create-new"] {
	display: flex !important;
	flex-direction: column !important;
	flex: 1 1 auto !important;
	min-height: 0 !important;
	max-height: 100% !important;
	height: auto !important;
	/* Full-bleed scrollports — tab padding moved onto step/fork content */
	padding: 0 !important;
	overflow: hidden !important;
	box-sizing: border-box !important;
	/* Let .dashboard-content paint the pane (incl. dark wash) — same as backup */
	background: transparent !important;
}

html body .wizard-modal-overlay .dashboard-tab.active[data-tab="create-new"] .wizard-new-carousel-wrapper,
html body .pvc-wizard-wrapper .dashboard-tab.active[data-tab="create-new"] .wizard-new-carousel-wrapper {
	flex: 1 1 auto !important;
	min-height: 0 !important;
	height: 100% !important;
	max-height: 100% !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	overflow: hidden !important;
	position: relative !important;
	box-sizing: border-box !important;
}

html body .wizard-modal-overlay .dashboard-tab.active[data-tab="create-new"] .pvc-mode-viewport,
html body .pvc-wizard-wrapper .dashboard-tab.active[data-tab="create-new"] .pvc-mode-viewport {
	flex: 1 1 auto !important;
	min-height: 0 !important;
	height: 100% !important;
	max-height: 100% !important;
	width: 100% !important;
}

html body .wizard-modal-overlay .dashboard-tab.active[data-tab="create-new"] .pvc-mode-track,
html body .pvc-wizard-wrapper .dashboard-tab.active[data-tab="create-new"] .pvc-mode-track {
	height: 100% !important;
	min-height: 0 !important;
	align-items: stretch !important;
}

html body .wizard-modal-overlay .dashboard-tab.active[data-tab="create-new"] .pvc-mode-track > .pvc-mode-fork:not([hidden]),
html body .pvc-wizard-wrapper .dashboard-tab.active[data-tab="create-new"] .pvc-mode-track > .pvc-mode-fork:not([hidden]),
html body .wizard-modal-overlay .dashboard-tab.active[data-tab="create-new"] .pvc-mode-track > .wizard-new-carousel-container:not([hidden]),
html body .pvc-wizard-wrapper .dashboard-tab.active[data-tab="create-new"] .pvc-mode-track > .wizard-new-carousel-container:not([hidden]) {
	height: 100% !important;
	max-height: 100% !important;
	min-height: 0 !important;
	align-self: stretch !important;
	width: 100% !important;
	max-width: none !important;
}

/* Fork: full-bleed scrollport; keep 960px column on the inner phase viewport */
html body .wizard-modal-overlay .dashboard-tab.active[data-tab="create-new"] .pvc-mode-fork:not([hidden]),
html body .pvc-wizard-wrapper .dashboard-tab.active[data-tab="create-new"] .pvc-mode-fork:not([hidden]) {
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 24px clamp(3rem, 10vw, 6rem) 2.25rem !important;
	box-sizing: border-box !important;
	overflow-x: hidden !important;
	overflow-y: auto !important;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	scroll-behavior: auto !important;
	scrollbar-gutter: stable;
	/* Transparent like pre-scrollport backup — pane color comes from .dashboard-content */
	background: transparent !important;
}

html body .wizard-modal-overlay .dashboard-tab.active[data-tab="create-new"] .pvc-mode-fork .pvc-fork-phase-viewport,
html body .pvc-wizard-wrapper .dashboard-tab.active[data-tab="create-new"] .pvc-mode-fork .pvc-fork-phase-viewport {
	max-width: 960px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

/* CRITICAL: never force display on [hidden] panels — mode slide hides the
 * unused twin (sermon vs templates). display:flex !important was keeping both
 * in the flex track so Option 2's -100% offset landed on Option 1. */
html body .wizard-modal-overlay .dashboard-tab.active[data-tab="create-new"] .wizard-new-carousel-container:not([hidden]),
html body .pvc-wizard-wrapper .dashboard-tab.active[data-tab="create-new"] .wizard-new-carousel-container:not([hidden]) {
	min-height: 0 !important;
	max-height: 100% !important;
	height: 100% !important;
	display: flex !important;
	flex-direction: column !important;
	overflow: hidden !important;
	border-radius: 0 !important;
}

html body .wizard-modal-overlay .dashboard-tab.active[data-tab="create-new"] .wizard-new-carousel-container[hidden],
html body .pvc-wizard-wrapper .dashboard-tab.active[data-tab="create-new"] .wizard-new-carousel-container[hidden],
html body .wizard-modal-overlay .dashboard-tab.active[data-tab="create-new"] .pvc-mode-fork[hidden],
html body .pvc-wizard-wrapper .dashboard-tab.active[data-tab="create-new"] .pvc-mode-fork[hidden] {
	display: none !important;
}

html body .wizard-modal-overlay .dashboard-tab.active[data-tab="create-new"] .wizard-new-carousel-track,
html body .pvc-wizard-wrapper .dashboard-tab.active[data-tab="create-new"] .wizard-new-carousel-track {
	flex: 1 1 auto !important;
	min-height: 0 !important;
	height: 100% !important;
	align-items: stretch !important;
}

/* Step scrollport = full content-pane width (same edge as old .dashboard-content) */
html body .wizard-modal-overlay .dashboard-tab.active[data-tab="create-new"] .wizard-new-step,
html body .pvc-wizard-wrapper .dashboard-tab.active[data-tab="create-new"] .wizard-new-step {
	height: 100% !important;
	max-height: 100% !important;
	min-height: 0 !important;
	width: 100% !important;
	max-width: none !important;
	align-self: stretch !important;
	box-sizing: border-box !important;
	/* Side inset so cards/CTAs don’t span the full pane; leave room for ← / Start over */
	padding: 24px clamp(3rem, 10vw, 6rem) !important;
	overflow-x: hidden !important;
	overflow-y: auto !important;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	scroll-behavior: auto !important;
	scrollbar-gutter: stable;
	/* Transparent like pre-scrollport backup — pane color comes from .dashboard-content */
	background: transparent !important;
}

html body .wizard-modal-overlay .dashboard-tab.active[data-tab="create-new"] .wizard-new-step > .wizard-new-step-header,
html body .pvc-wizard-wrapper .dashboard-tab.active[data-tab="create-new"] .wizard-new-step > .wizard-new-step-header,
html body .wizard-modal-overlay .dashboard-tab.active[data-tab="create-new"] .wizard-new-step > .wizard-new-step-content,
html body .pvc-wizard-wrapper .dashboard-tab.active[data-tab="create-new"] .wizard-new-step > .wizard-new-step-content {
	max-width: min(960px, 100%) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

/* Same light-mode scrollbar as .dashboard-content (other tabs) */
html body .wizard-modal-overlay:not([data-theme="dark"]) .dashboard-tab.active[data-tab="create-new"] .wizard-new-step,
html body .wizard-modal-overlay[data-theme="light"] .dashboard-tab.active[data-tab="create-new"] .wizard-new-step,
html body .wizard-modal-overlay:not([data-theme="dark"]) .dashboard-tab.active[data-tab="create-new"] .pvc-mode-fork:not([hidden]),
html body .wizard-modal-overlay[data-theme="light"] .dashboard-tab.active[data-tab="create-new"] .pvc-mode-fork:not([hidden]),
html body .pvc-wizard-wrapper:not([data-theme="dark"]) .dashboard-tab.active[data-tab="create-new"] .wizard-new-step,
html body .pvc-wizard-wrapper[data-theme="light"] .dashboard-tab.active[data-tab="create-new"] .wizard-new-step,
html body .pvc-wizard-wrapper:not([data-theme="dark"]) .dashboard-tab.active[data-tab="create-new"] .pvc-mode-fork:not([hidden]),
html body .pvc-wizard-wrapper[data-theme="light"] .dashboard-tab.active[data-tab="create-new"] .pvc-mode-fork:not([hidden]) {
	scrollbar-width: auto !important;
	scrollbar-color: #4a4a4a #ebe8e1 !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .dashboard-tab.active[data-tab="create-new"] .wizard-new-step::-webkit-scrollbar,
html body .wizard-modal-overlay[data-theme="light"] .dashboard-tab.active[data-tab="create-new"] .wizard-new-step::-webkit-scrollbar,
html body .wizard-modal-overlay:not([data-theme="dark"]) .dashboard-tab.active[data-tab="create-new"] .pvc-mode-fork:not([hidden])::-webkit-scrollbar,
html body .wizard-modal-overlay[data-theme="light"] .dashboard-tab.active[data-tab="create-new"] .pvc-mode-fork:not([hidden])::-webkit-scrollbar,
html body .pvc-wizard-wrapper:not([data-theme="dark"]) .dashboard-tab.active[data-tab="create-new"] .wizard-new-step::-webkit-scrollbar,
html body .pvc-wizard-wrapper[data-theme="light"] .dashboard-tab.active[data-tab="create-new"] .wizard-new-step::-webkit-scrollbar,
html body .pvc-wizard-wrapper:not([data-theme="dark"]) .dashboard-tab.active[data-tab="create-new"] .pvc-mode-fork:not([hidden])::-webkit-scrollbar,
html body .pvc-wizard-wrapper[data-theme="light"] .dashboard-tab.active[data-tab="create-new"] .pvc-mode-fork:not([hidden])::-webkit-scrollbar {
	width: 15px !important;
	-webkit-appearance: none !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .dashboard-tab.active[data-tab="create-new"] .wizard-new-step::-webkit-scrollbar-track,
html body .wizard-modal-overlay[data-theme="light"] .dashboard-tab.active[data-tab="create-new"] .wizard-new-step::-webkit-scrollbar-track,
html body .wizard-modal-overlay:not([data-theme="dark"]) .dashboard-tab.active[data-tab="create-new"] .pvc-mode-fork:not([hidden])::-webkit-scrollbar-track,
html body .wizard-modal-overlay[data-theme="light"] .dashboard-tab.active[data-tab="create-new"] .pvc-mode-fork:not([hidden])::-webkit-scrollbar-track,
html body .pvc-wizard-wrapper:not([data-theme="dark"]) .dashboard-tab.active[data-tab="create-new"] .wizard-new-step::-webkit-scrollbar-track,
html body .pvc-wizard-wrapper[data-theme="light"] .dashboard-tab.active[data-tab="create-new"] .wizard-new-step::-webkit-scrollbar-track,
html body .pvc-wizard-wrapper:not([data-theme="dark"]) .dashboard-tab.active[data-tab="create-new"] .pvc-mode-fork:not([hidden])::-webkit-scrollbar-track,
html body .pvc-wizard-wrapper[data-theme="light"] .dashboard-tab.active[data-tab="create-new"] .pvc-mode-fork:not([hidden])::-webkit-scrollbar-track {
	background: #ebe8e1 !important;
	border-radius: 6px !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .dashboard-tab.active[data-tab="create-new"] .wizard-new-step::-webkit-scrollbar-thumb,
html body .wizard-modal-overlay[data-theme="light"] .dashboard-tab.active[data-tab="create-new"] .wizard-new-step::-webkit-scrollbar-thumb,
html body .wizard-modal-overlay:not([data-theme="dark"]) .dashboard-tab.active[data-tab="create-new"] .pvc-mode-fork:not([hidden])::-webkit-scrollbar-thumb,
html body .wizard-modal-overlay[data-theme="light"] .dashboard-tab.active[data-tab="create-new"] .pvc-mode-fork:not([hidden])::-webkit-scrollbar-thumb,
html body .pvc-wizard-wrapper:not([data-theme="dark"]) .dashboard-tab.active[data-tab="create-new"] .wizard-new-step::-webkit-scrollbar-thumb,
html body .pvc-wizard-wrapper[data-theme="light"] .dashboard-tab.active[data-tab="create-new"] .wizard-new-step::-webkit-scrollbar-thumb,
html body .pvc-wizard-wrapper:not([data-theme="dark"]) .dashboard-tab.active[data-tab="create-new"] .pvc-mode-fork:not([hidden])::-webkit-scrollbar-thumb,
html body .pvc-wizard-wrapper[data-theme="light"] .dashboard-tab.active[data-tab="create-new"] .pvc-mode-fork:not([hidden])::-webkit-scrollbar-thumb {
	background: #4a4a4a !important;
	border-radius: 6px !important;
	min-height: 40px !important;
	border: 2px solid #ebe8e1 !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .dashboard-tab.active[data-tab="create-new"] .wizard-new-step::-webkit-scrollbar-thumb:hover,
html body .wizard-modal-overlay[data-theme="light"] .dashboard-tab.active[data-tab="create-new"] .wizard-new-step::-webkit-scrollbar-thumb:hover,
html body .wizard-modal-overlay:not([data-theme="dark"]) .dashboard-tab.active[data-tab="create-new"] .pvc-mode-fork:not([hidden])::-webkit-scrollbar-thumb:hover,
html body .wizard-modal-overlay[data-theme="light"] .dashboard-tab.active[data-tab="create-new"] .pvc-mode-fork:not([hidden])::-webkit-scrollbar-thumb:hover,
html body .pvc-wizard-wrapper:not([data-theme="dark"]) .dashboard-tab.active[data-tab="create-new"] .wizard-new-step::-webkit-scrollbar-thumb:hover,
html body .pvc-wizard-wrapper[data-theme="light"] .dashboard-tab.active[data-tab="create-new"] .wizard-new-step::-webkit-scrollbar-thumb:hover,
html body .pvc-wizard-wrapper:not([data-theme="dark"]) .dashboard-tab.active[data-tab="create-new"] .pvc-mode-fork:not([hidden])::-webkit-scrollbar-thumb:hover,
html body .pvc-wizard-wrapper[data-theme="light"] .dashboard-tab.active[data-tab="create-new"] .pvc-mode-fork:not([hidden])::-webkit-scrollbar-thumb:hover {
	background: #333333 !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .dashboard-content,
html body .wizard-modal-overlay[data-theme="light"] .dashboard-content {
	background: var(--bg-secondary) !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .dashboard-tab.active,
html body .wizard-modal-overlay[data-theme="light"] .dashboard-tab.active {
	background: var(--bg-secondary) !important;
	min-height: 100% !important;
}

/* Sidebar chrome: only nav scrolls */
html body .wizard-modal-overlay .dashboard-sidebar {
	overflow-x: hidden !important;
	overflow-y: hidden !important;
	min-height: 0 !important;
	display: flex !important;
	flex-direction: column !important;
}

html body .wizard-modal-overlay .dashboard-sidebar .sidebar-nav {
	flex: 1 1 auto !important;
	min-height: 0 !important;
	overflow-x: hidden !important;
	overflow-y: auto !important;
	-webkit-overflow-scrolling: touch;
}

/* Shortcode host — block wrapper reduces stray <p> splits in some theme/widget pipelines */
.pvc-wizard-shortcode-root {
	display: block;
	max-width: 100%;
	box-sizing: border-box;
}

/*
 * wizard-new.css uses .wizard-modal-content:not(.fade-in){opacity:0!important} which wins over weaker
 * inline enqueue rules. When the overlay is open, the panel must never stay invisible.
 */
html body .wizard-modal-overlay.active .wizard-modal-content {
	opacity: 1 !important;
	visibility: visible !important;
}

/*
 * Fallback only: PHP sanitizer strips autop <p> under .wizard-modal-container.
 * Do not use `contain` here — it skews flex/gap/margin behavior inside the modal.
 * Do not hide `.wizard-modal-content > p` — some layouts / filters can place real copy there;
 * hiding it zeroes spacing and text.
 */
html body .wizard-modal-overlay .wizard-modal-container > p:empty {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Dark: thicker main pane scrollbar — WebKit width only; thumb/track unchanged (native gray) */
html body .wizard-modal-overlay[data-theme="dark"] .dashboard-content {
	scrollbar-width: auto !important;
}

html body .wizard-modal-overlay[data-theme="dark"] .dashboard-content::-webkit-scrollbar {
	width: 22px !important;
}

/* My Videos: keep poster img + video thumbs filling the 9:16 cell (terminal layer; wins late theme rules) */
html body.pvc-wizard-present .pvc-wizard-wrapper .history-video-card img.r2-video-thumbnail,
html body.pvc-wizard-present .wizard-modal-overlay .history-video-card img.r2-video-thumbnail,
html body.pvc-wizard-present .pvc-wizard-wrapper .history-video-card video.r2-video-thumbnail,
html body.pvc-wizard-present .wizard-modal-overlay .history-video-card video.r2-video-thumbnail {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	display: block !important;
	vertical-align: top !important;
}

/* Dialogs, toasts, and nested modals — always above the wizard shell (2147483646) */
html body .wizard-modal-overlay {
	z-index: 2147483646 !important;
	background: transparent !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
}

html body .wizard-modal-overlay.active,
html body .wizard-modal-overlay.closing {
	opacity: 1 !important;
	visibility: visible !important;
}

html body .wizard-modal-overlay .wizard-modal-container {
	background: var(--bg-secondary, #e7f1f9) !important;
	opacity: 1 !important;
	transform: translate3d(0, 100%, 0);
	transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}

html body .wizard-modal-overlay.active .wizard-modal-container {
	transform: translate3d(0, 0, 0) !important;
}

html body .wizard-modal-overlay.closing .wizard-modal-container {
	transform: translate3d(0, 100%, 0) !important;
	transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
	background: var(--bg-secondary, #e7f1f9) !important;
	opacity: 1 !important;
}

html body .wizard-modal-overlay[data-theme="dark"] .wizard-modal-container,
html body .wizard-modal-overlay[data-theme="dark"].closing .wizard-modal-container {
	background: var(--bg-card, #0c1520) !important;
}

html body .wizard-modal-overlay .pvc-wizard-content-loader.is-visible {
	opacity: 1 !important;
	visibility: visible !important;
}

/* Guard: shell hero FA subset must never wipe wizard Font Awesome glyphs */
html body .wizard-modal-overlay .fas,
html body .wizard-modal-overlay .far,
html body .wizard-modal-overlay .fab,
html body .wizard-modal-overlay .fa-solid,
html body .wizard-modal-overlay .fa-regular,
html body .wizard-modal-overlay .fa-brands {
	background: none !important;
	background-color: transparent !important;
	-webkit-mask-image: none !important;
	mask-image: none !important;
	width: auto !important;
	height: auto !important;
}

/* My Scripts: keep grid layout — do not force display:block on .products-grid (breaks script cards) */
html body .wizard-modal-overlay .dashboard-tab[data-tab="all-scripts"].active .settings-content {
	opacity: 1 !important;
	visibility: visible !important;
	animation: none !important;
	transform: none !important;
}

html body .pvc-toast-container,
html body .swal2-container,
html body .pvc-payment-modal-overlay,
html body .pvc-payment-message-overlay,
html body .pvc-delete-confirm-modal,
html body .pvc-notification-overlay,
html body .pvc-notification-popup,
html body .pvc-payment-success-popup,
html body .pvc-payment-success-overlay,
html body .voice-library-modal,
html body .autopost-video-popup-overlay,
html body .autopost-platform-modal,
html body .pvc-wizard-wrapper > .modal {
	z-index: 2147483647 !important;
}

/* Welcome/login (all viewports): never show dashboard chrome behind auth */
html body .wizard-modal-overlay:has(.pvc-welcome-screen.active) .wizard-modal-content,
html body .wizard-modal-overlay.pvc-auth-gate-active .wizard-modal-content {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
	opacity: 0 !important;
}

/* ==========================================================================
   Mobile (max-width: 768px) — usability fixes (audit 2026-07-03)
   Overrides dashboard row layout above; sidebar is overlay-only, content full width.
   ========================================================================== */
@media (max-width: 768px) {
	html body .wizard-modal-overlay .wizard-modal-content {
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		overflow: hidden !important;
	}

	html body .wizard-modal-overlay .pvc-mobile-menu-bar {
		display: flex !important;
		width: 100% !important;
		flex: 0 0 auto !important;
		order: 0 !important;
		box-sizing: border-box !important;
		padding: 10px 12px !important;
		padding-top: max(10px, env(safe-area-inset-top, 0px)) !important;
		background: var(--bg-sidebar, #061018) !important;
		border-bottom: 1px solid var(--border-primary) !important;
	}

	html body .wizard-modal-overlay .pvc-dashboard-sidebar-backdrop {
		position: fixed !important;
		inset: 0 !important;
		z-index: 100001 !important;
	}

	html body .wizard-modal-overlay .pvc-dashboard-sidebar-backdrop.is-active {
		display: block !important;
		pointer-events: auto !important;
	}

	html body .wizard-modal-overlay .dashboard-sidebar {
		position: fixed !important;
		left: 0 !important;
		top: 0 !important;
		bottom: 0 !important;
		width: min(260px, 72vw) !important;
		max-width: 72vw !important;
		min-width: 0 !important;
		height: 100dvh !important;
		height: 100vh !important;
		z-index: 100002 !important;
		transform: translateX(-105%) !important;
		transition: transform 0.25s ease-out !important;
		flex: none !important;
		margin: 0 !important;
	}

	html body .wizard-modal-overlay .dashboard-sidebar.open {
		transform: translateX(0) !important;
	}

	html body .wizard-modal-overlay .dashboard-content {
		width: 100% !important;
		max-width: 100% !important;
		flex: 1 1 auto !important;
		min-width: 0 !important;
		min-height: 0 !important;
		order: 1 !important;
		padding: 0 !important;
	}

	html body .wizard-modal-overlay .dashboard-tab {
		padding: 16px 12px !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		overflow-x: clip !important;
	}

	html body .wizard-modal-overlay .tab-content-wrapper,
	html body .wizard-modal-overlay .settings-content {
		min-width: 0 !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	html body .wizard-modal-overlay .wizard-modal-close {
		top: max(12px, env(safe-area-inset-top, 0px)) !important;
		right: max(12px, env(safe-area-inset-right, 0px)) !important;
		width: 44px !important;
		height: 44px !important;
		min-width: 44px !important;
		min-height: 44px !important;
	}

	/* Payment history table: horizontal scroll instead of clipping */
	html body .wizard-modal-overlay .pvc-payment-history-scroll {
		overflow-x: auto !important;
		-webkit-overflow-scrolling: touch;
		max-width: 100% !important;
	}

	html body .wizard-modal-overlay .pvc-payment-history-scroll table {
		min-width: 520px;
	}

	/* Bible translation select — usable width on narrow screens */
	html body .wizard-modal-overlay .dashboard-tab[data-tab="bible-resources"] .pvc-bible-panel-header {
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 10px !important;
	}

	html body .wizard-modal-overlay .dashboard-tab[data-tab="bible-resources"] [id$="bibleTranslationSelect"] {
		width: 100% !important;
		min-width: 0 !important;
		min-height: 44px !important;
		font-size: 0.9rem !important;
		padding: 10px 14px !important;
		border-radius: 8px !important;
	}

	html body .wizard-modal-overlay .dashboard-tab[data-tab="bible-resources"] .pvc-bible-search-input {
		min-height: 44px !important;
	}

	/* List tabs: prevent long empty-state copy from overflowing */
	html body .wizard-modal-overlay .dashboard-tab[data-tab="all-scripts"] .settings-content,
	html body .wizard-modal-overlay .dashboard-tab[data-tab="all-videos"] .settings-content {
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	html body .wizard-modal-overlay .history-filters-row {
		grid-template-columns: 1fr !important;
	}

	/* Welcome / login — scroll-safe, fluid card, readable inputs (dark unchanged) */
	html body .wizard-modal-overlay[data-theme="dark"] .pvc-welcome-screen {
		padding:
			max(12px, calc(52px + env(safe-area-inset-top, 0px)))
			max(12px, env(safe-area-inset-right, 0px))
			max(12px, env(safe-area-inset-bottom, 0px))
			max(12px, env(safe-area-inset-left, 0px)) !important;
		box-sizing: border-box !important;
		overflow-x: hidden !important;
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch !important;
		align-items: stretch !important;
		justify-content: flex-start !important;
		height: 100% !important;
		min-height: 0 !important;
		background-color: #011222 !important;
		background-image:
			radial-gradient(ellipse 80% 60% at 70% 20%, rgba(249, 115, 22, 0.18), transparent 55%),
			radial-gradient(ellipse 60% 50% at 15% 80%, rgba(1, 18, 34, 0.2), transparent 50%) !important;
	}

	html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen,
	html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen {
		padding:
			max(12px, calc(52px + env(safe-area-inset-top, 0px)))
			max(12px, env(safe-area-inset-right, 0px))
			max(12px, env(safe-area-inset-bottom, 0px))
			max(12px, env(safe-area-inset-left, 0px)) !important;
		box-sizing: border-box !important;
		overflow-x: hidden !important;
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch !important;
		align-items: stretch !important;
		justify-content: flex-start !important;
		height: 100% !important;
		min-height: 0 !important;
		background-color: #fbf9f5 !important;
		background-image:
			radial-gradient(ellipse 80% 60% at 70% 10%, rgba(215, 235, 248, 0.95), transparent 55%),
			radial-gradient(ellipse 60% 50% at 15% 80%, rgba(243, 248, 252, 0.8), transparent 50%) !important;
	}

	html body .wizard-modal-overlay .welcome-stage,
	html body .wizard-modal-overlay .welcome-stage-3 {
		position: relative !important;
		top: auto !important;
		left: auto !important;
		transform: none !important;
		width: 100% !important;
		max-width: min(420px, 100%) !important;
		margin: auto !important;
		box-sizing: border-box !important;
		padding: 0 !important;
	}

	html body .wizard-modal-overlay .welcome-stage.active {
		transform: none !important;
	}

	html body .wizard-modal-overlay[data-theme="dark"] .welcome-login-form {
		width: 100% !important;
		max-width: 100% !important;
		padding: clamp(16px, 4vw, 28px) clamp(12px, 3.5vw, 20px) !important;
		box-sizing: border-box !important;
		border-radius: 18px !important;
		background: #141414 !important;
		border: 1px solid rgba(255, 255, 255, 0.08) !important;
	}

	html body .wizard-modal-overlay:not([data-theme="dark"]) .welcome-login-form,
	html body .wizard-modal-overlay[data-theme="light"] .welcome-login-form {
		width: 100% !important;
		max-width: 100% !important;
		padding: clamp(16px, 4vw, 28px) clamp(12px, 3.5vw, 20px) !important;
		box-sizing: border-box !important;
		border-radius: 18px !important;
		background: #ffffff !important;
		border: 1px solid rgba(42, 95, 134, 0.14) !important;
		box-shadow: 0 18px 50px rgba(28, 42, 54, 0.08) !important;
	}

	html body .wizard-modal-overlay[data-theme="dark"] .welcome-login-form .form-group input,
	html body .wizard-modal-overlay[data-theme="dark"] .welcome-login-form .auth-input-wrapper input {
		width: 100% !important;
		padding: 14px 44px 14px 14px !important;
		font-size: 16px !important;
		min-height: 48px !important;
		box-sizing: border-box !important;
		background: rgba(255, 255, 255, 0.06) !important;
		border-color: rgba(255, 255, 255, 0.12) !important;
		color: #ffffff !important;
	}

	html body .wizard-modal-overlay:not([data-theme="dark"]) .welcome-login-form .form-group input,
	html body .wizard-modal-overlay:not([data-theme="dark"]) .welcome-login-form .auth-input-wrapper input,
	html body .wizard-modal-overlay[data-theme="light"] .welcome-login-form .form-group input,
	html body .wizard-modal-overlay[data-theme="light"] .welcome-login-form .auth-input-wrapper input {
		width: 100% !important;
		padding: 14px 44px 14px 14px !important;
		font-size: 16px !important;
		min-height: 48px !important;
		box-sizing: border-box !important;
		background: #ffffff !important;
		border-color: rgba(42, 95, 134, 0.14) !important;
		color: #1c2a36 !important;
	}

	html body .wizard-modal-overlay .welcome-login-form .pvc-auth-btn {
		min-height: 48px !important;
		width: 100% !important;
	}

	html body .wizard-modal-overlay[data-theme="dark"] .welcome-login-form .pvc-auth-btn-primary {
		background: var(--pvc-primary, #f97316) !important;
		background-color: var(--pvc-primary, #f97316) !important;
		border-color: var(--pvc-primary, #f97316) !important;
	}

	html body .wizard-modal-overlay:not([data-theme="dark"]) .welcome-login-form .pvc-auth-btn-primary,
	html body .wizard-modal-overlay[data-theme="light"] .welcome-login-form .pvc-auth-btn-primary {
		background: #2a5f86 !important;
		background-color: #2a5f86 !important;
		border-color: #2a5f86 !important;
	}

	html body .wizard-modal-overlay .welcome-login-form .pvc-auth-btn-google {
		background: #ffffff !important;
		color: #3c4043 !important;
		border: 1px solid rgba(0, 0, 0, 0.08) !important;
	}

	html body .wizard-modal-overlay .welcome-login-form .pvc-auth-btn-google .btn-text {
		white-space: nowrap !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
	}

	html body .wizard-modal-overlay .welcome-login-form .form-options {
		flex-wrap: wrap !important;
		gap: 8px !important;
	}

	html body .wizard-modal-overlay .welcome-login-form .login-tab.active::after {
		background: var(--pvc-primary, #2a5f86) !important;
		box-shadow: 0 2px 8px rgba(42, 95, 134, 0.35) !important;
	}

	html body .wizard-modal-overlay .welcome-title-rotator,
	html body .wizard-modal-overlay .welcome-title-static {
		font-size: clamp(1.35rem, 6vw, 2rem) !important;
		white-space: normal !important;
		max-width: 100% !important;
		padding-left: 8px !important;
		padding-right: 8px !important;
		box-sizing: border-box !important;
	}
}

/* Extra-small / landscape phones */
@media (max-width: 768px) and (max-height: 520px) {
	html body .wizard-modal-overlay .pvc-welcome-screen {
		align-items: flex-start !important;
		padding-top: max(8px, calc(44px + env(safe-area-inset-top, 0px))) !important;
	}

	html body .wizard-modal-overlay .welcome-login-form {
		padding: 12px 12px !important;
	}

	html body .wizard-modal-overlay .welcome-login-form .login-tabs {
		margin-bottom: 12px !important;
	}

	html body .wizard-modal-overlay .welcome-login-form .form-group {
		margin-bottom: 12px !important;
	}

	html body .wizard-modal-overlay .welcome-login-form .password-strength,
	html body .wizard-modal-overlay .welcome-login-form .password-requirements {
		display: none !important;
	}

	html body .wizard-modal-overlay .welcome-login-form .form-group:focus-within .password-strength,
	html body .wizard-modal-overlay .welcome-login-form .form-group.has-password-value .password-strength {
		display: block !important;
	}

	html body .wizard-modal-overlay .welcome-login-form .form-group:focus-within .password-requirements,
	html body .wizard-modal-overlay .welcome-login-form .form-group.has-password-value .password-requirements {
		display: flex !important;
	}
}

/* Ultra-narrow phones */
@media (max-width: 320px) {
	html body .wizard-modal-overlay .pvc-welcome-screen {
		padding-left: max(8px, env(safe-area-inset-left, 0px)) !important;
		padding-right: max(8px, env(safe-area-inset-right, 0px)) !important;
		padding-top: max(8px, calc(48px + env(safe-area-inset-top, 0px))) !important;
	}

	html body .wizard-modal-overlay .welcome-login-form {
		padding: 14px 10px !important;
		border-radius: 14px !important;
	}

	html body .wizard-modal-overlay .welcome-login-form .login-tab {
		padding: 10px 6px !important;
		font-size: 13px !important;
	}

	html body .wizard-modal-overlay .welcome-login-form .pvc-auth-btn-google .btn-text {
		font-size: 13px !important;
	}
}

/* Fork cards — hover + processing border (1px only — never change width) */
html body .wizard-modal-overlay .pvc-mode-fork .pvc-mode-card.wizard-new-option-card,
html body .pvc-wizard-wrapper .pvc-mode-fork .pvc-mode-card.wizard-new-option-card {
	box-sizing: border-box !important;
	border-width: 1px !important;
	border-style: solid !important;
}
html body .wizard-modal-overlay .pvc-mode-fork .pvc-mode-card.wizard-new-option-card:hover,
html body .pvc-wizard-wrapper .pvc-mode-fork .pvc-mode-card.wizard-new-option-card:hover,
html body .wizard-modal-overlay .pvc-mode-fork .pvc-mode-card.wizard-new-option-card.is-processing,
html body .pvc-wizard-wrapper .pvc-mode-fork .pvc-mode-card.wizard-new-option-card.is-processing,
html body .wizard-modal-overlay .pvc-mode-fork .pvc-mode-card.wizard-new-option-card.is-processing:hover,
html body .pvc-wizard-wrapper .pvc-mode-fork .pvc-mode-card.wizard-new-option-card.is-processing:hover {
	border-width: 1px !important;
	border-style: solid !important;
	border-color: #2a5f86 !important;
	box-shadow: 0 4px 12px rgba(42, 95, 134, 0.18) !important;
}
html body .wizard-modal-overlay[data-theme="dark"] .pvc-mode-fork .pvc-mode-card.wizard-new-option-card:hover,
html body .pvc-wizard-wrapper[data-theme="dark"] .pvc-mode-fork .pvc-mode-card.wizard-new-option-card:hover,
html body .wizard-modal-overlay[data-theme="dark"] .pvc-mode-fork .pvc-mode-card.wizard-new-option-card.is-processing,
html body .pvc-wizard-wrapper[data-theme="dark"] .pvc-mode-fork .pvc-mode-card.wizard-new-option-card.is-processing,
html body .wizard-modal-overlay[data-theme="dark"] .pvc-mode-fork .pvc-mode-card.wizard-new-option-card.is-processing:hover,
html body .pvc-wizard-wrapper[data-theme="dark"] .pvc-mode-fork .pvc-mode-card.wizard-new-option-card.is-processing:hover {
	border-width: 1px !important;
	border-style: solid !important;
	border-color: #f97316 !important;
	box-shadow: 0 4px 12px rgba(249, 115, 22, 0.18) !important;
}

/* Welcome "Let's get started" — outline idle → navy fill on hover (beats global primary CTA rules) */
html body .wizard-modal-overlay button.wizard-new-btn.wizard-new-btn-primary.pvc-sermon-intro-start,
html body .pvc-wizard-wrapper button.wizard-new-btn.wizard-new-btn-primary.pvc-sermon-intro-start,
html body .wizard-modal-overlay button.pvc-sermon-intro-start,
html body .pvc-wizard-wrapper button.pvc-sermon-intro-start,
html body .wizard-modal-overlay[data-theme="light"] button.wizard-new-btn.wizard-new-btn-primary.pvc-sermon-intro-start:not(.is-gated):not([aria-disabled="true"]),
html body .pvc-wizard-wrapper[data-theme="light"] button.wizard-new-btn.wizard-new-btn-primary.pvc-sermon-intro-start:not(.is-gated):not([aria-disabled="true"]),
html body .wizard-modal-overlay[data-theme="dark"] button.wizard-new-btn.wizard-new-btn-primary.pvc-sermon-intro-start:not(.is-gated):not([aria-disabled="true"]):not(:disabled),
html body .pvc-wizard-wrapper[data-theme="dark"] button.wizard-new-btn.wizard-new-btn-primary.pvc-sermon-intro-start:not(.is-gated):not([aria-disabled="true"]):not(:disabled) {
	background: transparent !important;
	background-color: transparent !important;
	color: #2a5f86 !important;
	-webkit-text-fill-color: #2a5f86 !important;
	border: 1px solid #2a5f86 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}
html body .wizard-modal-overlay[data-theme="dark"] button.wizard-new-btn.wizard-new-btn-primary.pvc-sermon-intro-start:not(.is-gated):not([aria-disabled="true"]):not(:disabled),
html body .pvc-wizard-wrapper[data-theme="dark"] button.wizard-new-btn.wizard-new-btn-primary.pvc-sermon-intro-start:not(.is-gated):not([aria-disabled="true"]):not(:disabled),
html body .wizard-modal-overlay[data-theme="dark"] button.pvc-sermon-intro-start,
html body .pvc-wizard-wrapper[data-theme="dark"] button.pvc-sermon-intro-start {
	color: #7eb0d4 !important;
	-webkit-text-fill-color: #7eb0d4 !important;
	border-color: #7eb0d4 !important;
}
html body .wizard-modal-overlay button.wizard-new-btn.wizard-new-btn-primary.pvc-sermon-intro-start:hover:not(:disabled):not(.is-gated),
html body .pvc-wizard-wrapper button.wizard-new-btn.wizard-new-btn-primary.pvc-sermon-intro-start:hover:not(:disabled):not(.is-gated),
html body .wizard-modal-overlay button.pvc-sermon-intro-start:hover:not(:disabled):not(.is-gated),
html body .pvc-wizard-wrapper button.pvc-sermon-intro-start:hover:not(:disabled):not(.is-gated),
html body .wizard-modal-overlay[data-theme="light"] button.wizard-new-btn.wizard-new-btn-primary.pvc-sermon-intro-start:hover:not(:disabled):not(.is-gated),
html body .pvc-wizard-wrapper[data-theme="light"] button.wizard-new-btn.wizard-new-btn-primary.pvc-sermon-intro-start:hover:not(:disabled):not(.is-gated),
html body .wizard-modal-overlay[data-theme="dark"] button.wizard-new-btn.wizard-new-btn-primary.pvc-sermon-intro-start:hover:not(:disabled):not(.is-gated),
html body .pvc-wizard-wrapper[data-theme="dark"] button.wizard-new-btn.wizard-new-btn-primary.pvc-sermon-intro-start:hover:not(:disabled):not(.is-gated) {
	background: #142942 !important;
	background-color: #142942 !important;
	color: #fafafa !important;
	-webkit-text-fill-color: #fafafa !important;
	border-color: rgba(255, 255, 255, 0.28) !important;
}

/* ==========================================================================
   Light-mode auth (sign in / sign up) — match PVC light tokens & Manrope
   Dark auth defaults in wizard-new.css use white text; light pane needs dark ink.
   ========================================================================== */
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen,
html body .pvc-wizard-wrapper:not([data-theme="dark"]) .pvc-welcome-screen,
html body .pvc-wizard-wrapper[data-theme="light"] .pvc-welcome-screen {
	--pvc-auth-bg: #fbf9f5;
	--pvc-auth-surface: #ffffff;
	--pvc-auth-primary: #2a5f86;
	--pvc-auth-primary-hover: #234d6d;
	--pvc-auth-primary-shadow: rgba(42, 95, 134, 0.22);
	--pvc-auth-border: rgba(42, 95, 134, 0.14);
	--pvc-auth-muted: #4a5d6c;
	background-color: #fbf9f5 !important;
	background-image:
		radial-gradient(ellipse 80% 60% at 70% 10%, rgba(215, 235, 248, 0.95), transparent 55%),
		radial-gradient(ellipse 60% 50% at 15% 80%, rgba(243, 248, 252, 0.85), transparent 50%) !important;
	color: #1c2a36 !important;
	font-family: "Manrope", "Host Grotesk", system-ui, -apple-system, sans-serif !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen::before,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen::before {
	background: radial-gradient(ellipse 50% 40% at 50% 0%, rgba(42, 95, 134, 0.06), transparent 70%) !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .welcome-login-form,
html body .wizard-modal-overlay[data-theme="light"] .welcome-login-form,
html body .pvc-wizard-wrapper:not([data-theme="dark"]) .welcome-login-form,
html body .pvc-wizard-wrapper[data-theme="light"] .welcome-login-form {
	background: #ffffff !important;
	border: 1px solid rgba(42, 95, 134, 0.14) !important;
	box-shadow: 0 18px 50px rgba(28, 42, 54, 0.08) !important;
	color: #1c2a36 !important;
	font-family: "Manrope", "Host Grotesk", system-ui, -apple-system, sans-serif !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .lqd-text-rotator-el,
html body .wizard-modal-overlay[data-theme="light"] .lqd-text-rotator-el,
html body .wizard-modal-overlay:not([data-theme="dark"]) .lqd-text-rotator-el .welcome-text,
html body .wizard-modal-overlay[data-theme="light"] .lqd-text-rotator-el .welcome-text,
html body .wizard-modal-overlay:not([data-theme="dark"]) .lqd-text-rotator-items,
html body .wizard-modal-overlay[data-theme="light"] .lqd-text-rotator-items,
html body .wizard-modal-overlay:not([data-theme="dark"]) .lqd-text-rotator-item,
html body .wizard-modal-overlay[data-theme="light"] .lqd-text-rotator-item,
html body .wizard-modal-overlay:not([data-theme="dark"]) .welcome-title-static,
html body .wizard-modal-overlay[data-theme="light"] .welcome-title-static {
	color: #1c2a36 !important;
	text-shadow: none !important;
	font-family: "Manrope", "Host Grotesk", system-ui, -apple-system, sans-serif !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .login-tabs,
html body .wizard-modal-overlay[data-theme="light"] .login-tabs {
	border-bottom-color: rgba(42, 95, 134, 0.14) !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .login-tab,
html body .wizard-modal-overlay[data-theme="light"] .login-tab {
	color: #4a5d6c !important;
	font-family: "Manrope", "Host Grotesk", system-ui, -apple-system, sans-serif !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .login-tab:hover,
html body .wizard-modal-overlay[data-theme="light"] .login-tab:hover {
	color: #1c2a36 !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .login-tab.active,
html body .wizard-modal-overlay[data-theme="light"] .login-tab.active {
	color: #1c2a36 !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .login-tab.active::after,
html body .wizard-modal-overlay[data-theme="light"] .login-tab.active::after {
	background: #2a5f86 !important;
	box-shadow: 0 2px 8px rgba(42, 95, 134, 0.35) !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .form-group label,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .form-group label {
	color: #1c2a36 !important;
	font-family: "Manrope", "Host Grotesk", system-ui, -apple-system, sans-serif !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .form-group input[type="email"],
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .form-group input[type="password"],
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .form-group input[type="text"],
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .password-input-wrapper input,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .form-group input[type="email"],
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .form-group input[type="password"],
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .form-group input[type="text"],
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .password-input-wrapper input {
	background: #ffffff !important;
	border: 2px solid rgba(42, 95, 134, 0.14) !important;
	color: #1c2a36 !important;
	-webkit-text-fill-color: #1c2a36 !important;
	font-family: "Manrope", "Host Grotesk", system-ui, -apple-system, sans-serif !important;
	box-shadow: none !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .form-group input::placeholder,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .form-group input::placeholder,
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .password-input-wrapper input::placeholder,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .password-input-wrapper input::placeholder {
	color: #4a5d6c !important;
	opacity: 0.85 !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .form-group input:focus,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .form-group input:focus,
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .password-input-wrapper input:focus,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .password-input-wrapper input:focus {
	border-color: #2a5f86 !important;
	background: #ffffff !important;
	box-shadow: 0 0 0 4px rgba(42, 95, 134, 0.18) !important;
	color: #1c2a36 !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .toggle-password,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .toggle-password {
	color: #4a5d6c !important;
	opacity: 0.85 !important;
	filter: none !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .toggle-password .eye-icon,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .toggle-password .eye-icon {
	filter: none !important;
	color: #4a5d6c !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .toggle-password:hover,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .toggle-password:hover {
	color: #2a5f86 !important;
	opacity: 1 !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .remember-me,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .remember-me,
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .forgot-password-link,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .forgot-password-link,
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .terms-checkbox,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .terms-checkbox {
	color: #1c2a36 !important;
	font-family: "Manrope", "Host Grotesk", system-ui, -apple-system, sans-serif !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .forgot-password-link:hover,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .forgot-password-link:hover,
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .terms-checkbox a,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .terms-checkbox a {
	color: #2a5f86 !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .terms-checkbox a:hover,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .terms-checkbox a:hover {
	color: #234d6d !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .auth-divider span,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .auth-divider span {
	color: #4a5d6c !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .auth-divider::before,
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .auth-divider::after,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .auth-divider::before,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .auth-divider::after {
	background: rgba(42, 95, 134, 0.18) !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .auth-error,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .auth-error {
	background: rgba(155, 59, 59, 0.08) !important;
	border-color: rgba(155, 59, 59, 0.35) !important;
	color: #9b3b3b !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .auth-success,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .auth-success {
	background: rgba(47, 107, 79, 0.1) !important;
	border-color: rgba(47, 107, 79, 0.35) !important;
	color: #2f6b4f !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .pvc-recaptcha-notice,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .pvc-recaptcha-notice {
	color: #4a5d6c !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .pvc-recaptcha-notice a,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .pvc-recaptcha-notice a {
	color: #2a5f86 !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .forgot-password-header h3,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .forgot-password-header h3 {
	color: #1c2a36 !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .forgot-password-header p,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .forgot-password-header p {
	color: #4a5d6c !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .pvc-auth-btn-primary,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .pvc-auth-btn-primary {
	background: #2a5f86 !important;
	background-color: #2a5f86 !important;
	border-color: #2a5f86 !important;
	color: #ffffff !important;
	font-family: "Manrope", "Host Grotesk", system-ui, -apple-system, sans-serif !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .pvc-auth-btn-primary:hover,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .pvc-auth-btn-primary:hover {
	background: #234d6d !important;
	background-color: #234d6d !important;
	border-color: #234d6d !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .pvc-auth-btn-google,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .pvc-auth-btn-google {
	background: #ffffff !important;
	color: #3c4043 !important;
	border: 1px solid rgba(42, 95, 134, 0.14) !important;
	font-family: "Manrope", "Host Grotesk", system-ui, -apple-system, sans-serif !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .requirement-item,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .requirement-item,
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .password-requirements,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .password-requirements {
	color: #4a5d6c !important;
}

/* Remaining light-mode auth gaps: icons, rotator items, labels that still inherited dark white */
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .auth-input-wrapper .input-icon,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .auth-input-wrapper .input-icon,
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .auth-input-wrapper .input-icon.email-icon,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .auth-input-wrapper .input-icon.email-icon,
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .auth-input-wrapper .input-icon i,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .auth-input-wrapper .input-icon i {
	color: #4a5d6c !important;
	opacity: 0.85 !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .lqd-text-rotator-item,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .lqd-text-rotator-item,
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .lqd-text-rotator-items,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .lqd-text-rotator-items,
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .lqd-text-rotator-el,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .lqd-text-rotator-el,
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .lqd-text-rotator-el .welcome-text,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .lqd-text-rotator-el .welcome-text {
	color: #1c2a36 !important;
	text-shadow: none !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .toggle-password .eye-icon,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .toggle-password .eye-icon {
	filter: none !important;
	color: #4a5d6c !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .form-group label,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .form-group label,
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .remember-me,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .remember-me,
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .forgot-password-link,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .forgot-password-link,
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .terms-checkbox,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .terms-checkbox,
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .auth-divider span,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .auth-divider span,
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .pvc-recaptcha-notice,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .pvc-recaptcha-notice {
	color: #4a5d6c !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .form-group label,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .form-group label {
	color: #1c2a36 !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .forgot-password-link:hover,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .forgot-password-link:hover,
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .terms-checkbox a,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .terms-checkbox a {
	color: #2a5f86 !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .welcome-login-form,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .welcome-login-form {
	color: #1c2a36 !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .login-tab,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .login-tab {
	color: #4a5d6c !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .login-tab.active,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .login-tab.active {
	color: #1c2a36 !important;
}

html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .form-group input,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .form-group input,
html body .wizard-modal-overlay:not([data-theme="dark"]) .pvc-welcome-screen .auth-input-wrapper input,
html body .wizard-modal-overlay[data-theme="light"] .pvc-welcome-screen .auth-input-wrapper input {
	color: #1c2a36 !important;
	-webkit-text-fill-color: #1c2a36 !important;
	caret-color: #1c2a36 !important;
}
