article.hentry > h1 {
	display: none;
}

#eph-tools {
	--eph-purple: var(--pp-purple, #473091);
	--eph-purple-bright: var(--pp-purple-bright, #9740e1);
	--eph-orange: var(--pp-orange, #ff8500);
	--eph-ink: var(--pp-ink, #2a302f);
	--eph-muted: var(--pp-muted, #585266);
	--eph-line: var(--pp-line, #e9e5f0);
	--eph-lavender: var(--pp-lavender, #faf9fc);
	--eph-font: var(--pp-font, "Varela Round", system-ui, sans-serif);
	max-width: 1080px;
	margin: 28px auto 72px;
	padding: 0 20px 24px;
	color: var(--eph-ink);
	font-family: var(--eph-font);
	box-sizing: border-box;
}

#eph-tools *,
#eph-tools *::before,
#eph-tools *::after {
	box-sizing: border-box;
}

#eph-tools h1,
#eph-tools h2,
#eph-tools p {
	margin: 0;
}

.eph-kicker {
	color: var(--eph-purple-bright);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.eph-title {
	margin-top: 8px;
	font-size: clamp(1.7rem, 3vw, 2.3rem);
	line-height: 1.2;
	color: var(--eph-ink);
}

.eph-lead {
	margin-top: 10px;
	max-width: 62ch;
	color: var(--eph-muted);
	font-size: 1.02rem;
	line-height: 1.5;
}

.eph-note {
	margin-top: 14px;
	padding: 10px 14px;
	border-radius: 12px;
	background: #f4eefe;
	color: var(--eph-purple);
	font-size: 0.92rem;
}

.eph-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin: 22px 0 16px;
}

.eph-search {
	flex: 1 1 220px;
	min-width: 0;
	height: 46px;
	padding: 0 14px;
	border: 1px solid var(--eph-line);
	border-radius: 999px;
	background: #fff;
	color: var(--eph-ink);
	font: inherit;
}

.eph-search:focus,
.eph-field input:focus,
.eph-field select:focus,
.eph-field textarea:focus {
	outline: 2px solid var(--eph-purple-bright);
	outline-offset: 1px;
}

.eph-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.eph-chip,
.eph-back,
.eph-btn,
.eph-btn-ghost,
.eph-card {
	font: inherit;
	cursor: pointer;
}

.eph-chip {
	height: 36px;
	padding: 0 14px;
	border: 1px solid var(--eph-line);
	border-radius: 999px;
	background: #fff;
	color: var(--eph-ink);
}

.eph-chip.is-on {
	background: var(--eph-purple);
	border-color: var(--eph-purple);
	color: #fff;
}

.eph-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 14px;
}

.eph-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	min-height: 148px;
	padding: 18px;
	text-align: left;
	text-decoration: none;
	color: inherit;
	background: #fff;
	border: 1px solid var(--eph-line);
	border-radius: 18px;
	box-shadow: 0 1px 0 rgba(71, 48, 145, 0.04);
}

.eph-card:hover,
.eph-card:focus-visible {
	border-color: var(--eph-purple-bright);
	box-shadow: 0 8px 24px rgba(71, 48, 145, 0.08);
	outline: none;
}

.eph-card small {
	color: var(--eph-purple-bright);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 0.72rem;
}

.eph-card strong {
	font-size: 1.08rem;
}

.eph-card span {
	color: var(--eph-muted);
	font-size: 0.92rem;
	line-height: 1.4;
}

.eph-back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 14px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--eph-purple);
	font-weight: 700;
}

.eph-drop {
	margin-top: 18px;
	padding: 28px 18px;
	border: 2px dashed #d9d0ea;
	border-radius: 20px;
	background: var(--eph-lavender);
	text-align: center;
}

.eph-drop.is-hot {
	border-color: var(--eph-orange);
	background: #fff7ee;
}

.eph-drop p {
	margin-top: 6px;
	color: var(--eph-muted);
}

.eph-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-top: 14px;
}

.eph-go-bar {
	position: sticky;
	bottom: 0;
	z-index: 5;
	margin-top: 16px;
	padding: 10px 0 6px;
	background: linear-gradient(rgba(255, 255, 255, 0), #fff 14px);
}

.eph-go-bar .eph-actions {
	justify-content: flex-start;
}

.eph-btn,
.eph-btn-ghost {
	min-height: 46px;
	padding: 0 18px;
	border-radius: 999px;
	border: 0;
	font-weight: 700;
}

.eph-btn {
	background: var(--eph-orange);
	color: #1a1520;
}

.eph-btn:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.eph-btn.is-busy:disabled {
	cursor: progress;
}

.eph-btn-ghost {
	background: #fff;
	color: var(--eph-purple);
	border: 1px solid var(--eph-line);
}

.eph-file-input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.eph-files.is-audio {
	flex-direction: column;
}

.eph-files.is-audio .eph-file {
	width: 100%;
	max-width: 560px;
}

.eph-files.is-audio .eph-file.is-hot {
	border-color: var(--eph-orange);
}

.eph-grip {
	display: inline-flex;
	margin-left: 8px;
	color: var(--eph-purple);
	font-size: 0.78rem;
	font-weight: 700;
	cursor: grab;
}
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.eph-file,
.eph-page {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 140px;
	padding: 8px;
	border: 1px solid var(--eph-line);
	border-radius: 14px;
	background: #fff;
}

.eph-page canvas,
.eph-preview canvas {
	width: 100%;
	height: auto;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.eph-file header,
.eph-page header {
	display: flex;
	justify-content: space-between;
	gap: 6px;
	align-items: center;
	font-size: 0.78rem;
	color: var(--eph-muted);
}

.eph-icon-btn {
	width: 28px;
	height: 28px;
	border: 0;
	border-radius: 8px;
	background: var(--eph-lavender);
	color: var(--eph-ink);
	cursor: pointer;
	font: inherit;
}

.eph-options {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 12px;
	margin-top: 16px;
}

.eph-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 0.92rem;
}

.eph-field input,
.eph-field select,
.eph-field textarea {
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid var(--eph-line);
	border-radius: 12px;
	font: inherit;
	color: var(--eph-ink);
	background: #fff;
}

.eph-check {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
}

.eph-status,
.eph-error,
.eph-result {
	margin-top: 14px;
	padding: 12px 14px;
	border-radius: 12px;
}

.eph-status {
	background: #f4f7ff;
	color: var(--eph-ink);
}

.eph-error {
	background: #fff1f1;
	color: #8d1d1d;
}

.eph-result {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
	background: #f3fbf0;
	color: #1d4a16;
}

.eph-result a.eph-btn {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.eph-sign-layout {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 16px;
	margin-top: 16px;
}

.eph-pad-wrap {
	padding: 12px;
	border: 1px solid var(--eph-line);
	border-radius: 16px;
	background: #fff;
}

.eph-pad {
	width: 100%;
	height: 140px;
	border-radius: 12px;
	background: repeating-linear-gradient(#fff, #fff 27px, #f3eefb 28px);
	touch-action: none;
	cursor: crosshair;
	border: 1px solid var(--eph-line);
}

.eph-view-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 8px;
}

.eph-zoom {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.eph-zoom span {
	min-width: 48px;
	text-align: center;
	font-weight: 700;
	color: var(--eph-purple);
}

.eph-sign-layout > * {
	min-width: 0;
}

.eph-view-scroll {
	width: 100%;
	max-width: 100%;
	max-height: 72vh;
	overflow: auto;
	border-radius: 12px;
	background: #f6f4fb;
}

.eph-preview {
	position: relative;
	max-width: 520px;
}

.eph-view-scroll .eph-preview {
	max-width: none;
}

.eph-sig-drag {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 10px;
	padding: 8px 10px;
	border: 2px dashed var(--eph-purple);
	border-radius: 12px;
	background: #faf8ff;
	cursor: grab;
	touch-action: none;
	user-select: none;
}

.eph-sig-drag[hidden] {
	display: none;
}

.eph-sig-drag img {
	height: 44px;
	width: auto;
	max-width: 150px;
	pointer-events: none;
}

.eph-sig-drag span {
	font-size: 14px;
	font-weight: 700;
	color: var(--eph-purple);
}

.eph-sig-ghost {
	position: fixed;
	z-index: 80;
	pointer-events: none;
	border: 2px dashed var(--eph-purple);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.9);
}

.eph-sig-ghost img {
	width: 100%;
	height: 100%;
	object-fit: fill;
	pointer-events: none;
}

.eph-preview.is-drop canvas {
	outline: 3px solid var(--eph-orange);
	outline-offset: 2px;
}

.eph-preview .eph-sig {
	position: absolute;
	border: 2px solid transparent;
	background: transparent;
	cursor: default;
	touch-action: auto;
}

.eph-preview .eph-sig.is-on {
	border: 2px dashed var(--eph-purple);
	background: rgba(255, 255, 255, 0.2);
	cursor: grab;
	touch-action: none;
}

.eph-preview .eph-sig img {
	width: 100%;
	height: 100%;
	object-fit: fill;
	pointer-events: none;
}

.eph-preview .eph-sig-resize {
	display: none;
	position: absolute;
	z-index: 2;
	width: 16px;
	height: 16px;
	margin: -8px 0 0 -8px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: var(--eph-orange);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
	touch-action: none;
}

.eph-preview .eph-sig-resize::before {
	content: "";
	position: absolute;
	inset: -8px;
}

.eph-preview .eph-sig.is-on .eph-sig-resize {
	display: block;
}

.eph-preview .eph-sig-resize.n { left: 50%; top: 0; cursor: ns-resize; }
.eph-preview .eph-sig-resize.s { left: 50%; top: 100%; cursor: ns-resize; }
.eph-preview .eph-sig-resize.e { left: 100%; top: 50%; cursor: ew-resize; }
.eph-preview .eph-sig-resize.w { left: 0; top: 50%; cursor: ew-resize; }
.eph-preview .eph-sig-resize.nw { left: 0; top: 0; cursor: nwse-resize; }
.eph-preview .eph-sig-resize.ne { left: 100%; top: 0; cursor: nesw-resize; }
.eph-preview .eph-sig-resize.sw { left: 0; top: 100%; cursor: nesw-resize; }
.eph-preview .eph-sig-resize.se { left: 100%; top: 100%; cursor: nwse-resize; }

.eph-preview .eph-line {
	position: absolute;
	margin: 0;
	padding: 0 2px;
	border: 1px solid transparent;
	border-radius: 4px;
	background: transparent;
	color: transparent;
	font-family: Helvetica, Arial, sans-serif;
	line-height: 1.15;
	text-align: left;
	overflow: hidden;
	white-space: nowrap;
	cursor: text;
	min-width: 0;
	box-sizing: border-box;
}

.eph-preview .eph-line:hover,
.eph-preview .eph-line.is-on,
.eph-preview .eph-line.is-changed {
	background: transparent;
	color: transparent;
	border-color: transparent;
	box-shadow: 0 0 0 2px rgba(71, 48, 145, 0.9);
}

.eph-edit-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.eph-btn-ghost:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.eph-preview .eph-line.is-changed {
	border-color: var(--eph-orange);
}

.eph-edit-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	max-height: 280px;
	margin-top: 10px;
	overflow: auto;
}

.eph-form-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-height: 520px;
	margin-top: 8px;
	overflow: auto;
}

.eph-form-list .eph-note {
	margin: 4px 0 0;
}

.eph-preview .eph-field-hit {
	position: absolute;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 4px;
	background: transparent;
	min-width: 0;
	cursor: pointer;
}

.eph-preview .eph-field-hit.is-on {
	border-color: var(--eph-purple, #473091);
	box-shadow: 0 0 0 3px rgba(71, 48, 145, 0.28);
}

.eph-edit-row {
	padding: 8px 10px;
	border: 1px solid var(--eph-line);
	border-radius: 10px;
	background: #fff;
	color: var(--eph-ink);
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.eph-edit-row.is-on {
	border-color: var(--eph-purple);
}

.eph-edit-row.is-changed {
	border-color: var(--eph-orange);
}

.eph-empty {
	margin-top: 20px;
	color: var(--eph-muted);
}

.eph-order {
	max-height: 440px;
	overflow: auto;
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 14px;
}

.eph-order-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px;
	border: 1px solid var(--eph-line);
	border-radius: 12px;
	background: #fff;
}

.eph-order-row canvas {
	width: 54px;
	height: auto;
	border-radius: 6px;
	background: var(--eph-lavender);
}

.eph-order-row span {
	flex: 1;
}

@media (max-width: 760px) {
	.eph-sign-layout {
		grid-template-columns: 1fr;
	}

	.eph-page,
	.eph-file {
		width: calc(50% - 8px);
	}
}

.hostinger-ai-page-title,
.wp-block-post-title {
	display: none;
}

.wc-block-customer-account,
.wc-block-mini-cart {
	display: none;
}

main .is-layout-constrained > #eph-tools,
#eph-tools {
	max-width: 1080px !important;
}

main .is-layout-constrained > #eph-tools.is-form-open,
#eph-tools.is-form-open {
	max-width: min(1320px, calc(100vw - 24px)) !important;
}

.eph-sign-layout.is-form {
	grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
	align-items: start;
}

.eph-sign-layout.is-form .eph-field,
.eph-sign-layout.is-form .eph-field input,
.eph-sign-layout.is-form .eph-field select,
.eph-sign-layout.is-form .eph-field textarea,
.eph-sign-layout.is-form .eph-check {
	font-size: 16px;
}

.eph-sign-layout.is-form .eph-form-list {
	max-height: 72vh;
}

.eph-sign-layout.is-form .eph-view-scroll {
	max-height: 78vh;
	padding: 12px;
	background: #eceef3;
}

.eph-sign-layout.is-form .eph-preview {
	max-width: none;
	width: max-content;
}

.eph-sign-layout.is-form .eph-zoom .eph-icon-btn {
	min-width: 40px;
	min-height: 40px;
}
