.creatorpdf-admin {
	--cp-bg: #f5f7fb;
	--cp-card: #ffffff;
	--cp-ink: #111827;
	--cp-muted: #6b7280;
	--cp-line: #e5e7eb;
	--cp-primary: #4f46e5;
	--cp-primary-dark: #3730a3;
	--cp-soft: #eef2ff;
	color: var(--cp-ink);
}

.creatorpdf-admin * {
	box-sizing: border-box;
}

.creatorpdf-shell {
	display: grid;
	grid-template-columns: 260px 1fr;
	min-height: calc(100vh - 70px);
	margin: 0 0 0 -20px;
	background: var(--cp-bg);
}

.creatorpdf-shortcode .creatorpdf-shell {
	margin: 0;
	min-height: 720px;
}

.creatorpdf-shortcode {
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
	position: relative;
}

.creatorpdf-shortcode #creatorpdf-ai-app,
.creatorpdf-shortcode .creatorpdf-main,
.creatorpdf-shortcode .creatorpdf-view,
.creatorpdf-shortcode .creatorpdf-hero,
.creatorpdf-shortcode .creatorpdf-card {
	min-width: 0;
	max-width: 100%;
}

.creatorpdf-sidebar {
	display: flex;
	flex-direction: column;
	padding: 28px 20px;
	background: #0f172a;
	color: #fff;
	min-height: 100%;
}

.creatorpdf-sidebar-nav {
	flex: 1;
}

.creatorpdf-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
}

.creatorpdf-brand-mark {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 10px 24px rgba(79, 70, 229, 0.35);
}

.creatorpdf-brand-mark svg {
	display: block;
	width: 100%;
	height: 100%;
}

.creatorpdf-brand-copy {
	min-width: 0;
}

.creatorpdf-logo {
	font-size: 18px;
	font-weight: 800;
	line-height: 1.15;
	margin-bottom: 0;
}

.creatorpdf-logo span {
	background: linear-gradient(135deg, #a5b4fc, #818cf8);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.creatorpdf-brand-tagline {
	margin: 4px 0 0;
	color: #94a3b8;
	font-size: 12px;
	font-weight: 600;
}

.creatorpdf-sidebar-footer {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.creatorpdf-sidebar-upgrade {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid rgba(199, 210, 254, 0.35);
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(79, 70, 229, 0.28), rgba(99, 102, 241, 0.12));
	color: #eef2ff;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

.creatorpdf-sidebar-upgrade:hover,
.creatorpdf-sidebar-upgrade:focus {
	background: linear-gradient(135deg, rgba(79, 70, 229, 0.38), rgba(99, 102, 241, 0.18));
	color: #ffffff;
	outline: none;
}

.creatorpdf-nav {
	display: block;
	width: 100%;
	margin: 8px 0;
	padding: 12px 14px;
	border: 0;
	border-radius: 14px;
	background: transparent;
	color: #cbd5e1;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}

.creatorpdf-nav:hover,
.creatorpdf-nav.is-active {
	background: rgba(255, 255, 255, .1);
	color: #fff;
}

.creatorpdf-main {
	padding: 30px;
}

.creatorpdf-hero,
.creatorpdf-card,
.creatorpdf-editor-head {
	background: var(--cp-card);
	border: 1px solid var(--cp-line);
	border-radius: 26px;
	box-shadow: 0 18px 50px rgba(15, 23, 42, .06);
}

.creatorpdf-hero {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	align-items: center;
	padding: 30px;
	margin-bottom: 24px;
}

.creatorpdf-hero-premium {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(199, 210, 254, 0.8);
	background:
		radial-gradient(circle at top right, rgba(129, 140, 248, 0.18), transparent 42%),
		linear-gradient(135deg, #ffffff 0%, #f8faff 52%, #eef2ff 100%);
}

.creatorpdf-hero-mesh {
	position: absolute;
	inset: -20% -10%;
	background:
		radial-gradient(circle at 20% 20%, rgba(79, 70, 229, 0.18), transparent 34%),
		radial-gradient(circle at 80% 10%, rgba(56, 189, 248, 0.14), transparent 30%),
		radial-gradient(circle at 70% 80%, rgba(167, 139, 250, 0.16), transparent 36%);
	animation: creatorpdf-hero-mesh 14s ease-in-out infinite alternate;
	pointer-events: none;
}

@keyframes creatorpdf-hero-mesh {
	0% { transform: translate3d(0, 0, 0) scale(1); }
	100% { transform: translate3d(-2%, 2%, 0) scale(1.05); }
}

.creatorpdf-hero-content,
.creatorpdf-hero-actions {
	position: relative;
	z-index: 1;
}

.creatorpdf-hero-lead {
	max-width: 640px;
	margin: 12px 0 0;
	color: var(--cp-muted);
	font-size: 16px;
	line-height: 1.6;
}

.creatorpdf-hero-actions {
	display: grid;
	gap: 12px;
	justify-items: end;
}

.creatorpdf-plan-status {
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(199, 210, 254, 0.9);
	border-radius: 16px;
	color: #1e3a8a;
	display: grid;
	font-size: 12px;
	gap: 8px;
	padding: 12px 14px;
	text-align: left;
	backdrop-filter: blur(8px);
}

.creatorpdf-plan-status-head strong {
	font-size: 13px;
}

.creatorpdf-plan-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.creatorpdf-plan-chip {
	display: inline-flex;
	align-items: center;
	padding: 5px 9px;
	border-radius: 999px;
	background: #eef2ff;
	color: #3730a3;
	font-size: 11px;
	font-weight: 700;
}

.creatorpdf-translate-widget {
	align-items: center;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	box-shadow: 0 14px 40px rgba(15, 23, 42, .16);
	display: flex;
	gap: 4px;
	padding: 8px;
	position: fixed;
	right: 28px;
	bottom: calc(24px + env(safe-area-inset-bottom, 0px));
	top: auto;
	left: auto;
	z-index: 99999;
}

.creatorpdf-translate-widget button {
	background: transparent;
	border: 0;
	border-radius: 999px;
	color: #334155;
	cursor: pointer;
	font-size: 14px;
	font-weight: 900;
	min-width: 54px;
	padding: 13px 16px;
	transition: background .2s ease, color .2s ease, transform .2s ease;
}

.creatorpdf-translate-widget button:hover {
	transform: translateY(-1px);
}

.creatorpdf-translate-widget button.is-active {
	background: #32aee8;
	color: #fff;
}

.creatorpdf-translate-widget #creatorpdf-google-translate {
	height: 0;
	overflow: hidden;
	position: absolute;
	width: 0;
}

.creatorpdf-translate-widget .goog-te-gadget,
.creatorpdf-translate-widget .goog-te-banner-frame,
.creatorpdf-translate-widget iframe {
	display: none !important;
}

body.translated-ltr,
body.translated-rtl {
	top: 0 !important;
	position: static !important;
	margin-top: 0 !important;
}

html.translated-ltr,
html.translated-rtl {
	margin-top: 0 !important;
}

iframe.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-te-menu-frame,
body > .skiptranslate > iframe,
body > .skiptranslate:not(.creatorpdf-translate-widget) {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	max-height: 0 !important;
}

.creatorpdf-hero h1 {
	max-width: 760px;
	margin: 0;
	font-size: 34px;
	line-height: 1.1;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.creatorpdf-eyebrow {
	margin: 0 0 8px;
	color: var(--cp-primary);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.creatorpdf-primary,
.creatorpdf-admin .button-primary {
	background: var(--cp-primary) !important;
	border-color: var(--cp-primary) !important;
	border-radius: 12px !important;
	font-weight: 700;
}

.creatorpdf-toolbar,
.creatorpdf-actions,
.creatorpdf-editor-head {
	display: flex;
	gap: 12px;
	align-items: center;
}

.creatorpdf-toolbar {
	margin-bottom: 20px;
}

.creatorpdf-toolbar input,
.creatorpdf-toolbar select,
.creatorpdf-admin input,
.creatorpdf-admin select,
.creatorpdf-admin textarea {
	width: 100%;
	max-width: none;
	border: 1px solid var(--cp-line);
	border-radius: 13px;
	padding: 10px 12px;
	background: #fff;
	color: var(--cp-ink);
}

.creatorpdf-toolbar input {
	flex: 1;
}

.creatorpdf-toolbar select {
	max-width: 210px;
}

.creatorpdf-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 18px;
}

.creatorpdf-empty-state {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 24px;
	align-items: center;
}

.creatorpdf-empty-illustration svg {
	display: block;
	width: 100%;
	height: auto;
}

.creatorpdf-empty-copy h2 {
	margin: 0 0 10px;
	font-size: 28px;
	line-height: 1.15;
}

.creatorpdf-empty-copy p {
	margin: 0 0 14px;
	color: var(--cp-muted);
	line-height: 1.6;
}

.creatorpdf-empty-steps {
	margin: 0 0 18px;
	padding-left: 18px;
	color: var(--cp-ink);
	line-height: 1.6;
}

.creatorpdf-icon-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.creatorpdf-icon-action-glyph {
	font-size: 15px;
	line-height: 1;
}

.creatorpdf-editor-actions {
	flex-wrap: wrap;
}

.creatorpdf-product-card {
	padding: 20px;
	background: #fff;
	border: 1px solid var(--cp-line);
	border-radius: 22px;
	box-shadow: 0 14px 36px rgba(15, 23, 42, .05);
}

.creatorpdf-product-card h3 {
	margin: 0 0 8px;
	font-size: 18px;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.creatorpdf-meta {
	color: var(--cp-muted);
	font-size: 12px;
}

.creatorpdf-badge {
	display: inline-block;
	margin: 12px 6px 12px 0;
	padding: 5px 9px;
	border-radius: 999px;
	background: var(--cp-soft);
	color: var(--cp-primary-dark);
	font-size: 12px;
	font-weight: 700;
}

.creatorpdf-card {
	padding: 26px;
}

.creatorpdf-steps {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 22px;
}

.creatorpdf-steps span {
	padding: 8px 10px;
	border-radius: 999px;
	background: #f3f4f6;
	color: var(--cp-muted);
	font-size: 12px;
	font-weight: 700;
}

.creatorpdf-steps .is-active {
	background: var(--cp-soft);
	color: var(--cp-primary);
}

.creatorpdf-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.creatorpdf-admin label {
	display: grid;
	gap: 7px;
	font-weight: 700;
}

.creatorpdf-admin textarea {
	min-height: 120px;
	margin-top: 16px;
	font-family: inherit;
}

.creatorpdf-actions {
	margin-top: 18px;
	flex-wrap: wrap;
}

.is-hidden {
	display: none !important;
}

.creatorpdf-editor-head {
	justify-content: space-between;
	padding: 22px;
	margin-bottom: 18px;
}

.creatorpdf-editor-head h2 {
	margin: 0;
}

.creatorpdf-editor {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 18px;
}

.creatorpdf-section-list {
	display: grid;
	gap: 14px;
}

.creatorpdf-section {
	padding: 18px;
	background: #fff;
	border: 1px solid var(--cp-line);
	border-radius: 20px;
}

.creatorpdf-section textarea {
	min-height: 160px;
}

.creatorpdf-section-tools {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.creatorpdf-inline-images {
	display: grid;
	gap: 8px;
	margin-top: 12px;
	padding: 12px;
	border: 1px dashed var(--cp-line);
	border-radius: 14px;
	background: #fafafa;
}

.creatorpdf-inline-images .creatorpdf-meta {
	margin: 0;
	font-weight: 700;
}

.creatorpdf-panel {
	position: sticky;
	top: 46px;
	align-self: start;
	padding: 18px;
	background: #fff;
	border: 1px solid var(--cp-line);
	border-radius: 20px;
}

.creatorpdf-selected-panel {
	padding: 14px;
	border: 1px solid var(--cp-line);
	border-radius: 16px;
	background: #f8fafc;
}

.creatorpdf-selected-panel textarea {
	min-height: 110px;
	margin-top: 10px;
}

.creatorpdf-selected-panel input {
	margin-top: 10px;
}

.creatorpdf-floating-toolbar {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 99999;
	display: flex;
	align-items: center;
	gap: 14px;
	max-width: calc(100vw - 48px);
	padding: 14px 16px;
	border: 1px solid #c7d2fe;
	border-radius: 18px;
	background: #ffffff;
	box-shadow: 0 18px 60px rgba(15, 23, 42, .22);
}

.creatorpdf-floating-toolbar strong {
	display: block;
	color: var(--cp-ink);
}

.creatorpdf-floating-toolbar span {
	display: block;
	color: var(--cp-muted);
	font-size: 12px;
}

.creatorpdf-floating-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.creatorpdf-image-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 8px;
	margin-top: 12px;
}

.creatorpdf-image-grid img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 12px;
	cursor: pointer;
}

#creatorpdf-preview {
	display: none;
	width: 100%;
	min-height: 720px;
	margin-top: 18px;
	border: 1px solid var(--cp-line);
	border-radius: 18px;
	background: #e5e7eb;
	overflow: auto;
	padding: 18px;
}

#creatorpdf-preview .page {
	width: 680px;
	min-height: 880px;
	margin: 24px auto;
	padding: 54px;
	box-sizing: border-box;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 18px 46px rgba(15, 23, 42, .12);
}

#creatorpdf-preview .cover {
	background: linear-gradient(135deg, #111827, #4f46e5);
	color: #fff !important;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

#creatorpdf-preview .cover-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-height: none;
	margin: 0;
	border-radius: 0;
	object-fit: cover;
	opacity: .72;
}

#creatorpdf-preview .cover::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(135deg, rgba(17, 24, 39, .82), rgba(79, 70, 229, .72));
}

#creatorpdf-preview .cover > *:not(.cover-bg) {
	position: relative;
	z-index: 2;
}

#creatorpdf-preview h1 {
	font-size: 46px;
	line-height: 1.18;
	margin: 0 0 18px;
	letter-spacing: -.02em;
	overflow-wrap: anywhere;
}

#creatorpdf-preview h2 {
	font-size: 30px;
	line-height: 1.22;
	margin: 0 0 18px;
	color: #4f46e5;
	letter-spacing: -.015em;
	overflow-wrap: anywhere;
}

#creatorpdf-preview .cover h1,
#creatorpdf-preview .cover h2,
#creatorpdf-preview .cover p,
#creatorpdf-preview .cover [data-editable] {
	color: #fff !important;
}

#creatorpdf-preview p {
	font-size: 16px;
	line-height: 1.65;
}

#creatorpdf-preview .block-label {
	display: inline-block;
	margin: 22px 0 8px;
	padding: 7px 11px;
	border-radius: 999px;
	background: #eef2ff;
	color: #3730a3;
	font-weight: 800;
}

#creatorpdf-preview .checkline {
	padding: 5px 0;
}

#creatorpdf-preview table {
	width: 100%;
	border-collapse: collapse;
	margin: 16px 0;
	font-size: 14px;
}

#creatorpdf-preview th,
#creatorpdf-preview td {
	border: 1px solid #e5e7eb;
	padding: 9px;
	text-align: left;
}

#creatorpdf-preview th {
	background: #f8fafc;
}

#creatorpdf-preview img {
	width: 100%;
	max-height: 280px;
	object-fit: cover;
	border-radius: 20px;
	margin: 18px 0 24px;
}

#creatorpdf-preview [data-editable],
#creatorpdf-preview [data-image-slot] {
	outline: 2px solid transparent;
	outline-offset: 4px;
	transition: outline-color .15s ease, box-shadow .15s ease;
}

#creatorpdf-preview [data-editable] {
	cursor: text;
}

#creatorpdf-preview [data-image-slot] {
	cursor: pointer;
}

#creatorpdf-preview [data-editable]:hover,
#creatorpdf-preview [data-image-slot]:hover {
	outline-color: #a5b4fc;
}

#creatorpdf-preview .is-selected-builder-item {
	outline-color: #4f46e5 !important;
	box-shadow: 0 0 0 6px rgba(79, 70, 229, .12);
}

#creatorpdf-preview a.button {
	display: inline-block;
	margin-top: 18px;
	padding: 13px 22px;
	background: #4f46e5;
	color: #fff;
	text-decoration: none;
	border-radius: 999px;
	font-weight: 700;
}

#creatorpdf-preview .toc a {
	display: flex;
	justify-content: space-between;
	color: #111827;
	text-decoration: none;
	padding: 10px 0;
	border-bottom: 1px solid #e5e7eb;
}

.creatorpdf-settings {
	max-width: 1120px;
}

.creatorpdf-plan-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 18px;
	margin-top: 18px;
}

.creatorpdf-plan-card {
	display: grid;
	gap: 12px;
}

.creatorpdf-plan-card h2 {
	margin: 0;
}

.creatorpdf-inline-check {
	display: flex !important;
	align-items: center;
	gap: 8px;
}

.creatorpdf-inline-check input {
	width: auto;
}

.creatorpdf-checks {
	display: grid;
	gap: 10px;
	margin-top: 18px;
}

.creatorpdf-block-picker {
	margin-top: 18px;
	padding: 18px;
	border: 1px solid var(--cp-line);
	border-radius: 18px;
	background: #fafafa;
}

.creatorpdf-block-picker p {
	margin: 0 0 12px;
	color: var(--cp-muted);
}

.creatorpdf-check-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 10px;
}

.creatorpdf-check-grid label {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	border: 1px solid var(--cp-line);
	border-radius: 14px;
	background: #fff;
	font-weight: 700;
}

.creatorpdf-check-grid input {
	width: auto;
}

#creatorpdf-settings-result {
	padding: 14px;
	overflow: auto;
	background: #0f172a;
	color: #e2e8f0;
	border-radius: 14px;
}

@media (max-width: 1000px) {
	.creatorpdf-shell {
		display: flex;
		flex-direction: column;
		grid-template-columns: none;
		margin-left: 0 !important;
		min-height: auto;
	}

	.creatorpdf-sidebar {
		position: sticky;
		top: 0;
		z-index: 100;
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		gap: 8px;
		padding: 10px 12px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.creatorpdf-sidebar::-webkit-scrollbar {
		display: none;
	}

	.creatorpdf-brand {
		margin-bottom: 0;
		margin-right: 4px;
		flex: 0 0 auto;
	}

	.creatorpdf-brand-copy {
		display: none;
	}

	.creatorpdf-brand-mark {
		width: 36px;
		height: 36px;
		flex-basis: 36px;
	}

	.creatorpdf-sidebar-nav {
		display: flex;
		flex: 1;
		flex-wrap: nowrap;
		gap: 8px;
		min-width: 0;
	}

	.creatorpdf-sidebar-footer {
		display: none;
	}

	.creatorpdf-nav {
		flex: 0 0 auto;
		width: auto;
		margin: 0;
		padding: 10px 14px;
		font-size: 13px;
		white-space: nowrap;
	}

	.creatorpdf-main {
		padding: 16px;
		min-width: 0;
		width: 100%;
	}

	.creatorpdf-editor,
	.creatorpdf-form-grid {
		grid-template-columns: 1fr;
	}

	.creatorpdf-hero,
	.creatorpdf-editor-head {
		align-items: stretch;
		flex-direction: column;
		padding: 20px;
	}

	.creatorpdf-hero h1 {
		font-size: 26px;
	}

	.creatorpdf-hero-actions {
		width: 100%;
		justify-items: stretch;
	}

	.creatorpdf-hero-actions .creatorpdf-primary,
	.creatorpdf-hero-actions .button {
		width: 100%;
		justify-content: center;
		text-align: center;
	}

	.creatorpdf-plan-status {
		text-align: left;
	}

	.creatorpdf-empty-state {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.creatorpdf-empty-illustration {
		max-width: 120px;
		margin: 0 auto;
	}

	.creatorpdf-empty-copy h2 {
		font-size: 24px;
	}

	.creatorpdf-editor-actions .creatorpdf-icon-action-label {
		display: none;
	}

	.creatorpdf-editor-actions .creatorpdf-icon-action {
		min-width: 44px;
		padding-left: 12px;
		padding-right: 12px;
	}

	.creatorpdf-editor-actions .creatorpdf-icon-action-glyph {
		font-size: 18px;
	}

	.creatorpdf-toolbar {
		flex-direction: column;
		align-items: stretch;
	}

	.creatorpdf-toolbar select {
		max-width: none;
		width: 100%;
	}

	.creatorpdf-grid {
		grid-template-columns: 1fr;
	}

	.creatorpdf-card {
		padding: 18px;
		border-radius: 20px;
	}

	.creatorpdf-editor-head .creatorpdf-actions {
		width: 100%;
	}

	.creatorpdf-editor-head .creatorpdf-actions .button {
		flex: 1 1 calc(50% - 6px);
		min-width: 0;
		text-align: center;
		justify-content: center;
	}

	.creatorpdf-panel {
		position: static;
	}

	.creatorpdf-floating-toolbar {
		left: 12px;
		right: 12px;
		bottom: 12px;
		flex-direction: column;
		align-items: stretch;
		max-width: none;
		padding: 12px;
	}

	.creatorpdf-floating-actions {
		justify-content: stretch;
	}

	.creatorpdf-floating-actions .button {
		flex: 1 1 calc(50% - 4px);
		min-width: 0;
		text-align: center;
	}

	#creatorpdf-preview {
		min-height: 420px;
		padding: 12px;
	}

	#creatorpdf-preview .page {
		width: 100%;
		min-height: auto;
		padding: 28px 20px;
		margin: 12px auto;
	}

	#creatorpdf-preview h1 {
		font-size: 28px;
	}

	#creatorpdf-preview h2 {
		font-size: 22px;
	}

	.creatorpdf-translate-widget {
		bottom: calc(16px + env(safe-area-inset-bottom, 0px));
		right: 16px;
	}

	.creatorpdf-translate-widget button {
		min-width: 44px;
		padding: 10px 12px;
		font-size: 13px;
	}

	.creatorpdf-upgrade-modal {
		padding: 12px;
		align-items: center;
	}

	.creatorpdf-upgrade-dialog {
		width: 100%;
		max-height: calc(100vh - 24px);
		border-radius: 16px;
	}

	.creatorpdf-upgrade-dialog h2 {
		font-size: 24px;
	}

	.creatorpdf-upgrade-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.creatorpdf-upgrade-modal .creatorpdf-upgrade-buy,
	.creatorpdf-upgrade-modal .creatorpdf-upgrade-dismiss {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 640px) {
	.creatorpdf-main {
		padding: 12px;
	}

	.creatorpdf-hero {
		padding: 16px;
		margin-bottom: 16px;
		border-radius: 18px;
	}

	.creatorpdf-hero h1 {
		font-size: 22px;
		line-height: 1.2;
	}

	.creatorpdf-eyebrow {
		font-size: 11px;
		letter-spacing: 0.08em;
	}

	.creatorpdf-steps span {
		font-size: 11px;
		padding: 6px 8px;
	}

	.creatorpdf-actions .button,
	.creatorpdf-actions .button-primary {
		width: 100%;
		text-align: center;
		justify-content: center;
	}

	.creatorpdf-editor-head .creatorpdf-actions .button {
		flex: 1 1 100%;
	}

	.creatorpdf-review-section-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.creatorpdf-upgrade-modal {
		padding: 0;
		align-items: flex-end;
	}

	.creatorpdf-upgrade-dialog {
		max-height: 94vh;
		border-radius: 18px 18px 0 0;
	}

	.creatorpdf-upgrade-body {
		padding: 6px 14px 18px;
		padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
	}

	.creatorpdf-upgrade-kicker {
		font-size: 11px;
		line-height: 1.45;
		letter-spacing: 0.02em;
	}

	.creatorpdf-upgrade-dialog h2 {
		font-size: 20px;
	}

	.creatorpdf-upgrade-subheadline,
	.creatorpdf-upgrade-benefits li {
		font-size: 14px;
	}

	.creatorpdf-loader-card {
		padding: 24px 20px;
		border-radius: 20px;
	}

	.creatorpdf-shortcode .creatorpdf-shell {
		min-height: auto;
	}
}

@media (max-width: 1000px) and (max-height: 500px) {
	.creatorpdf-upgrade-modal {
		padding: 8px;
		align-items: center;
	}

	.creatorpdf-upgrade-dialog {
		max-height: calc(100vh - 16px);
		border-radius: 14px;
	}
}

body.creatorpdf-is-generating {
	overflow: hidden;
}

#creatorpdf-generation-loader {
	align-items: center;
	background: rgba(15, 23, 42, .55);
	backdrop-filter: blur(8px);
	display: flex;
	inset: 0;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	position: fixed;
	transition: opacity .25s ease;
	z-index: 100000;
}

#creatorpdf-generation-loader.is-visible {
	opacity: 1;
	pointer-events: auto;
}

.creatorpdf-loader-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 28px;
	box-shadow: 0 30px 80px rgba(15, 23, 42, .22);
	max-width: 420px;
	padding: 34px 36px;
	text-align: center;
	width: calc(100% - 40px);
}

.creatorpdf-loader-orbit {
	height: 72px;
	margin: 0 auto 18px;
	position: relative;
	width: 72px;
}

.creatorpdf-loader-orbit span {
	animation: creatorpdf-orbit 1.2s linear infinite;
	border: 3px solid transparent;
	border-radius: 50%;
	border-top-color: #4f46e5;
	display: block;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

.creatorpdf-loader-orbit span:nth-child(2) {
	animation-delay: .15s;
	border-top-color: #32aee8;
	height: 78%;
	left: 11%;
	top: 11%;
	width: 78%;
}

.creatorpdf-loader-orbit span:nth-child(3) {
	animation-delay: .3s;
	border-top-color: #818cf8;
	height: 56%;
	left: 22%;
	top: 22%;
	width: 56%;
}

.creatorpdf-loader-message {
	color: #0f172a;
	font-size: 18px;
	font-weight: 800;
	margin: 0 0 8px;
}

.creatorpdf-loader-sub {
	color: #64748b;
	font-size: 13px;
	line-height: 1.5;
	margin: 0;
}

@keyframes creatorpdf-orbit {
	to {
		transform: rotate(360deg);
	}
}

.creatorpdf-help-text {
	margin: 0 0 10px;
	color: #64748b;
	font-size: 13px;
	line-height: 1.5;
}

.creatorpdf-quality-review {
	margin-top: 12px;
}

.creatorpdf-quality-review:empty {
	display: none;
}

.creatorpdf-review-summary {
	padding: 14px;
	border-radius: 16px;
	border: 1px solid var(--cp-line);
	background: #fff;
	margin-bottom: 12px;
}

.creatorpdf-review-summary.is-excellent {
	border-color: #86efac;
	background: #f0fdf4;
}

.creatorpdf-review-summary.is-good {
	border-color: #fde68a;
	background: #fffbeb;
}

.creatorpdf-review-summary.is-needs-work {
	border-color: #fca5a5;
	background: #fef2f2;
}

.creatorpdf-review-overall {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
}

.creatorpdf-review-overall strong {
	font-size: 28px;
	line-height: 1;
}

.creatorpdf-review-categories {
	display: grid;
	gap: 8px;
	margin-bottom: 12px;
}

.creatorpdf-review-category {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 10px;
	border-radius: 12px;
	background: #f8fafc;
	font-size: 13px;
}

.creatorpdf-review-category strong.is-excellent {
	color: #15803d;
}

.creatorpdf-review-category strong.is-good {
	color: #b45309;
}

.creatorpdf-review-category strong.is-needs-work {
	color: #b91c1c;
}

.creatorpdf-review-priorities,
.creatorpdf-review-sections {
	margin-bottom: 12px;
}

.creatorpdf-review-label {
	display: block;
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: #64748b;
}

.creatorpdf-review-section {
	padding: 14px;
	border: 1px solid var(--cp-line);
	border-radius: 16px;
	background: #fff;
	margin-bottom: 10px;
}

.creatorpdf-review-section-head {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	align-items: start;
	margin-bottom: 10px;
}

.creatorpdf-review-score {
	font-size: 20px;
	font-weight: 800;
	white-space: nowrap;
}

.creatorpdf-review-score.is-excellent,
.creatorpdf-review-summary .creatorpdf-review-overall strong.is-excellent {
	color: #15803d;
}

.creatorpdf-review-score.is-good,
.creatorpdf-review-summary .creatorpdf-review-overall strong.is-good {
	color: #b45309;
}

.creatorpdf-review-score.is-needs-work,
.creatorpdf-review-summary .creatorpdf-review-overall strong.is-needs-work {
	color: #b91c1c;
}

.creatorpdf-review-priority {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #eef2ff;
	color: #3730a3;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
}

.creatorpdf-review-section ul,
.creatorpdf-review-section ol,
.creatorpdf-review-priorities ol {
	margin: 0 0 10px;
	padding-left: 18px;
	font-size: 13px;
	line-height: 1.5;
}

.creatorpdf-review-section .creatorpdf-actions {
	margin-top: 10px;
}

.creatorpdf-review-score-wrap {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
}

.creatorpdf-review-delta {
	font-size: 12px;
	color: #64748b;
	font-weight: 600;
}

.creatorpdf-review-status {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
}

.creatorpdf-review-status.is-improved {
	background: #dbeafe;
	color: #1d4ed8;
}

.creatorpdf-review-status.is-strong {
	background: #dcfce7;
	color: #15803d;
}

.creatorpdf-review-section li.is-resolved {
	color: #15803d;
}

.creatorpdf-review-done {
	font-size: 13px;
	color: #15803d;
	font-weight: 600;
}

.creatorpdf-upgrade-modal {
	--cp-primary: #4f46e5;
	--cp-primary-dark: #3730a3;
	--cp-soft: #eef2ff;
	--cp-line: #d1d5db;
	--cp-ink: #111827;
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(15, 23, 42, 0.72);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}

.creatorpdf-upgrade-modal.is-visible {
	opacity: 1;
	visibility: visible;
}

body.creatorpdf-upgrade-open {
	overflow: hidden;
}

.creatorpdf-upgrade-dialog {
	position: relative;
	width: min(640px, 100%);
	max-height: calc(100vh - 48px);
	overflow: auto;
	padding: 0;
	border-radius: 18px;
	background: #ffffff;
	box-shadow: 0 24px 80px rgba(15, 23, 42, 0.35);
}

.creatorpdf-upgrade-body {
	padding: 20px 20px 24px;
}

.creatorpdf-upgrade-video-wrap {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	margin: 8px 0 18px;
	border-radius: 12px;
	overflow: hidden;
	background: #0f172a;
}

.creatorpdf-upgrade-video-wrap.is-hidden {
	display: none;
}

.creatorpdf-upgrade-video-wrap iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.creatorpdf-upgrade-kicker {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 700;
	color: #b45309;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.creatorpdf-upgrade-dialog h2 {
	margin: 0 0 10px;
	font-size: 28px;
	line-height: 1.2;
	color: #0f172a;
}

.creatorpdf-upgrade-subheadline {
	margin: 0 0 16px;
	font-size: 15px;
	line-height: 1.6;
	color: #475569;
}

.creatorpdf-upgrade-benefits {
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
}

.creatorpdf-upgrade-benefits li {
	position: relative;
	margin: 0 0 10px;
	padding-left: 28px;
	font-size: 15px;
	line-height: 1.5;
	color: #1e293b;
}

.creatorpdf-upgrade-benefits li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	width: 20px;
	height: 20px;
	border-radius: 999px;
	background: #dcfce7;
	color: #15803d;
	font-size: 12px;
	font-weight: 700;
	line-height: 20px;
	text-align: center;
}

.creatorpdf-upgrade-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.creatorpdf-upgrade-modal .creatorpdf-upgrade-buy {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 22px;
	border: 1px solid var(--cp-primary) !important;
	border-radius: 999px;
	background: var(--cp-primary) !important;
	color: #ffffff !important;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	box-shadow: none;
}

.creatorpdf-upgrade-modal .creatorpdf-upgrade-buy:hover,
.creatorpdf-upgrade-modal .creatorpdf-upgrade-buy:focus,
.creatorpdf-upgrade-modal .creatorpdf-upgrade-buy:active,
.creatorpdf-upgrade-modal .creatorpdf-upgrade-buy:visited {
	background: var(--cp-primary) !important;
	border-color: var(--cp-primary) !important;
	color: #ffffff !important;
	outline: none !important;
	box-shadow: none !important;
}

.creatorpdf-upgrade-modal .creatorpdf-upgrade-dismiss {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid var(--cp-line) !important;
	border-radius: 999px;
	background: #ffffff !important;
	color: var(--cp-ink) !important;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}

.creatorpdf-upgrade-modal .creatorpdf-upgrade-dismiss:hover,
.creatorpdf-upgrade-modal .creatorpdf-upgrade-dismiss:focus,
.creatorpdf-upgrade-modal .creatorpdf-upgrade-dismiss:active {
	background: #ffffff !important;
	border-color: var(--cp-line) !important;
	color: var(--cp-ink) !important;
	outline: none !important;
	box-shadow: none !important;
}

.creatorpdf-upgrade-buy.is-disabled {
	opacity: 0.55;
	pointer-events: none;
}

.creatorpdf-upsell-form {
	margin-top: 24px;
}

.creatorpdf-upsell-card label {
	display: block;
	margin-bottom: 12px;
}

.creatorpdf-upsell-card input[type="text"],
.creatorpdf-upsell-card input[type="url"] {
	width: 100%;
	max-width: 640px;
}

.creatorpdf-plan-status span {
	display: inline-block;
	margin-right: 12px;
	font-size: 12px;
	color: #64748b;
}

/* Hide theme page title header on shortcode pages */
.page .entry-header {
	margin-bottom: 1.5em;
	display: none;
}
