@font-face {
	font-family: "Procmin Azeret";
	src: url("../fonts/Azeret-Regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Procmin Azeret";
	src: url("../fonts/Azeret-Bold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

.procmin-root {
	--procmin-yellow: #ffe600;
	/* Ink colour used on yellow/white surfaces — stays the campaign near-black. */
	--procmin-black: #111111;
	/* Block background — pure black. */
	--procmin-bg: #000000;
	--procmin-paper: #f4f4f2;
	--procmin-line: #333333;
	box-sizing: border-box;
	background: var(--procmin-bg);
	color: #ffffff;
	padding: clamp(32px, 6vw, 72px) clamp(20px, 5vw, 56px);
	font-family: "Procmin Azeret", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.procmin-root * {
	box-sizing: border-box;
}

.procmin-options {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 12px;
	margin-bottom: 32px;
}

.procmin-option {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	background: #0f0f0f;
	border: 2px solid var(--procmin-line);
	padding: 16px 18px;
	cursor: pointer;
	font-size: 17px;
	line-height: 1.35;
	user-select: none;
}
.procmin-option:hover {
	border-color: var(--procmin-yellow);
}
.procmin-option-input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}
.procmin-option-box {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	border: 2px solid #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
}
.procmin-option-dot {
	width: 12px;
	height: 12px;
	background: var(--procmin-yellow);
	display: none;
}
.procmin-option-input:checked ~ .procmin-option-box {
	border-color: var(--procmin-yellow);
}
.procmin-option-input:checked ~ .procmin-option-box .procmin-option-dot {
	display: block;
}

.procmin-custom-row {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}
.procmin-custom-wrap {
	width: 100%;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height 0.25s ease, opacity 0.2s ease;
}
.procmin-custom-wrap.is-open {
	opacity: 1;
}
.procmin-custom-label {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 480px;
	padding-top: 2px;
}
.procmin-custom-caption {
	font-weight: 700;
	font-size: 17px;
}
.procmin-custom-input {
	background: var(--procmin-paper);
	color: var(--procmin-black);
	border: 0;
	padding: 16px 18px;
	font-size: 18px;
	width: 100%;
	font-family: inherit;
}
.procmin-submit-btn {
	background: var(--procmin-yellow);
	color: var(--procmin-black);
	border: 0;
	font-weight: 700;
	font-size: 18px;
	padding: 18px 24px;
	cursor: pointer;
	font-family: inherit;
}
.procmin-submit-btn:hover {
	opacity: 0.92;
}
.procmin-submit-btn:disabled {
	opacity: 0.6;
	cursor: default;
}

.procmin-turnstile:not(:empty) {
	margin-bottom: 4px;
}

.procmin-error {
	margin: 0;
	color: var(--procmin-black);
	background: var(--procmin-yellow);
	font-weight: 700;
	font-size: 16px;
	line-height: 1.4;
	padding: 12px 16px;
}
.procmin-error[hidden] {
	display: none;
}

.procmin-result {
	margin-top: 44px;
	border-top: 2px solid var(--procmin-line);
	padding-top: 40px;
}
.procmin-result[hidden] {
	display: none;
}

.procmin-result-inner {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
	gap: clamp(24px, 3vw, 48px);
	align-items: center;
}

.procmin-previews {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}
.procmin-preview-col {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.procmin-preview-label {
	margin: 0;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 12px;
	letter-spacing: 0.08em;
	color: #b9b9b3;
}
.procmin-canvas {
	width: clamp(180px, 24vw, 260px);
	height: auto;
	display: block;
	background: #141414;
	border: 1px solid var(--procmin-line);
}
#procmin-canvas-45 {
	width: clamp(210px, 26vw, 300px);
}

.procmin-download-btn {
	background: var(--procmin-yellow);
	color: var(--procmin-black);
	border: 0;
	font-weight: 700;
	font-size: 15px;
	padding: 12px 16px;
	cursor: pointer;
	font-family: inherit;
}
.procmin-download-btn:hover {
	opacity: 0.92;
}

.procmin-share-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 4px;
}
.procmin-share-btn {
	display: none;
	align-items: center;
	gap: 6px;
	background: #ffffff;
	color: var(--procmin-black);
	border: 0;
	font-weight: 700;
	font-size: 14px;
	padding: 10px 14px;
	cursor: pointer;
	font-family: inherit;
}
@media (max-width: 680px) {
	.procmin-share-btn {
		display: inline-flex;
	}
	/* On phones the native share sheet covers everything, so the per-network
	   icons are redundant — unless the browser has no Web Share API, in which
	   case JS marks the root and the icons come back as the fallback. */
	.procmin-root:not(.procmin-no-native-share) .procmin-share-icon {
		display: none;
	}
}
.procmin-share-btn:hover {
	opacity: 0.9;
}
.procmin-share-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	background: #ffffff;
	color: var(--procmin-black);
	flex: 0 0 auto;
}
.procmin-share-icon:hover {
	background: var(--procmin-yellow);
	color: var(--procmin-black);
}
.procmin-share-icon svg,
.procmin-share-icon svg path {
	fill: #111111 !important;
	color: #111111 !important;
}

.procmin-result-richtext {
	font-size: clamp(16px, 1.5vw, 19px);
	line-height: 1.6;
	color: #e6e6e2;
}
.procmin-result-richtext > *:first-child {
	margin-top: 0;
}
.procmin-result-richtext h1,
.procmin-result-richtext h2,
.procmin-result-richtext h3 {
	color: #ffffff;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
}
.procmin-result-richtext strong {
	color: #ffffff;
}
.procmin-result-richtext a {
	color: var(--procmin-black);
	background: var(--procmin-yellow);
	display: inline-block;
	font-weight: 700;
	padding: 12px 18px;
	margin: 6px 8px 6px 0;
}
.procmin-result-richtext a:hover {
	opacity: 0.92;
	background: var(--procmin-yellow);
}
