.hfd-configurator {
	--hfd-bg: #f6fafe;
	--hfd-surface: #ffffff;
	--hfd-surface-low: #f0f4f8;
	--hfd-surface-container: #eaeef2;
	--hfd-surface-high: #e4e9ed;
	--hfd-surface-highest: #dfe3e7;
	--hfd-text: #171c1f;
	--hfd-muted: #434653;
	--hfd-outline: #737784;
	--hfd-outline-soft: #c3c6d5;
	--hfd-border: rgba(0, 71, 171, 0.15);
	--hfd-primary: #00327d;
	--hfd-primary-bright: #00fbfb;
	--hfd-accent: #006a6a;
	--hfd-material-color: #dcefff;
	--hfd-material-opacity: 0.45;
	background:
		linear-gradient(rgba(0, 71, 171, 0.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 71, 171, 0.08) 1px, transparent 1px),
		var(--hfd-bg);
	background-size: 24px 24px;
	box-sizing: border-box;
	color: var(--hfd-text);
	font-family: "Hanken Grotesk", Arial, Helvetica, sans-serif;
	margin: 0;
	max-width: none;
	min-height: 720px;
	overflow: hidden;
	width: 100%;
}

.hfd-page-title {
	margin: 0;
	padding: 18px 24px;
	font-size: clamp(24px, 3vw, 42px);
	line-height: 1.15;
	text-align: center;
}

.hfd-configurator *,
.hfd-configurator *::before,
.hfd-configurator *::after {
	box-sizing: border-box;
}

.hfd-fullpage-mode {
	left: auto;
	margin-left: auto;
	margin-right: auto;
	max-width: 1524px;
	min-height: 80vh;
	position: relative;
	right: auto;
	width: 80vw;
}

.hfd-embedded-mode {
	border: 1px solid var(--hfd-outline-soft);
}

.hfd-topbar {
	align-items: center;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--hfd-outline-soft);
	display: flex;
	gap: 24px;
	height: 56px;
	justify-content: space-between;
	padding: 0 24px;
	position: relative;
	z-index: 5;
}

.hfd-topbar-left,
.hfd-topbar-actions,
.hfd-brand,
.hfd-module-tabs {
	align-items: center;
	display: flex;
}

.hfd-topbar-left {
	gap: 24px;
	min-width: 0;
}

.hfd-brand {
	color: #0f1720;
	flex: 0 0 auto;
	font-size: 20px;
	font-weight: 700;
	gap: 8px;
	letter-spacing: -0.02em;
	white-space: nowrap;
}

.hfd-brand strong {
	color: var(--hfd-primary);
	font-weight: 700;
}

.hfd-live-dot {
	animation: hfd-blink 2s infinite;
	background: var(--hfd-primary);
	border-radius: 999px;
	height: 7px;
	width: 7px;
}

.hfd-topbar-divider {
	background: var(--hfd-outline-soft);
	height: 32px;
	width: 1px;
}

.hfd-module-tabs {
	background: var(--hfd-surface-container);
	border-radius: 999px;
	gap: 4px;
	max-width: min(48vw, 620px);
	overflow-x: auto;
	padding: 4px;
	scrollbar-width: none;
}

.hfd-module-tabs::-webkit-scrollbar {
	display: none;
}

.hfd-module-tab {
	background: transparent;
	border: 0;
	border-radius: 999px;
	color: var(--hfd-muted);
	cursor: pointer;
	flex: 0 0 auto;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1;
	padding: 8px 14px;
	text-transform: uppercase;
	transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.hfd-module-tab.is-active,
.hfd-module-tab:hover {
	background: var(--hfd-surface);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
	color: var(--hfd-primary);
}

.hfd-topbar-actions {
	gap: 12px;
}

.hfd-outline-action,
.hfd-primary-action,
.hfd-button {
	align-items: center;
	border-radius: 2px;
	cursor: pointer;
	display: inline-flex;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 11px;
	font-weight: 700;
	justify-content: center;
	letter-spacing: 0.05em;
	line-height: 1;
	min-height: 40px;
	padding: 0 18px;
	text-transform: uppercase;
	transition: border-color 160ms ease, background 160ms ease, color 160ms ease, filter 160ms ease;
	white-space: nowrap;
}

.hfd-outline-action,
.hfd-button {
	background: transparent;
	border: 1px solid var(--hfd-outline);
	color: var(--hfd-muted);
}

.hfd-outline-action:hover,
.hfd-button:hover {
	background: var(--hfd-surface-container);
	border-color: var(--hfd-primary);
	color: var(--hfd-primary);
}

.hfd-primary-action {
	background: var(--hfd-primary);
	border: 1px solid var(--hfd-primary);
	color: #ffffff;
}

.hfd-primary-action:hover {
	filter: brightness(1.08);
}

.hfd-intro-strip {
	align-items: center;
	background: rgba(255, 255, 255, 0.74);
	border-bottom: 1px solid var(--hfd-border);
	display: grid;
	gap: 12px;
	grid-template-columns: auto minmax(0, 1fr) minmax(260px, 0.7fr);
	padding: 10px 24px;
}

.hfd-intro-strip strong {
	color: var(--hfd-primary);
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 11px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.hfd-intro-strip span,
.hfd-intro-strip em {
	color: var(--hfd-muted);
	font-size: 13px;
	font-style: normal;
	line-height: 1.4;
}

.hfd-cad-main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	height: calc(100vh - 112px);
	min-height: 580px;
	overflow: hidden;
}

.hfd-embedded-mode .hfd-cad-main {
	height: 720px;
}

.hfd-side-rail {
	align-items: center;
	background: var(--hfd-surface-low);
	border-right: 1px solid var(--hfd-outline-soft);
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px 0 16px;
}

.hfd-rail-button,
.hfd-cad-control {
	align-items: center;
	background: transparent;
	border: 0;
	color: #20242b;
	cursor: pointer;
	display: flex;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 11px;
	font-weight: 700;
	justify-content: center;
	line-height: 1;
	transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.hfd-rail-button {
	border-radius: 8px;
	font-size: 9px;
	height: 38px;
	letter-spacing: 0;
	line-height: 1.15;
	padding: 0 4px;
	width: 62px;
}

.hfd-rail-button:hover {
	background: var(--hfd-surface-highest);
}

.hfd-rail-button.is-active {
	background: var(--hfd-primary);
	box-shadow: 0 0 10px rgba(0, 71, 171, 0.3);
	color: #ffffff;
}

.hfd-rail-spacer {
	flex: 1;
}

.hfd-viewport {
	background: #ffffff;
	border-right: 1px solid var(--hfd-outline-soft);
	min-width: 0;
	overflow: hidden;
	position: relative;
}

.hfd-preview-stage {
	height: 100%;
	min-height: 100%;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.hfd-viewport-grid {
	background-image:
		radial-gradient(rgba(0, 71, 171, 0.35) 0.5px, transparent 0.5px),
		linear-gradient(rgba(0, 71, 171, 0.1) 0.5px, transparent 0.5px),
		linear-gradient(90deg, rgba(0, 71, 171, 0.1) 0.5px, transparent 0.5px);
	background-size: 24px 24px, 120px 120px, 120px 120px;
	inset: 0;
	opacity: 0.8;
	pointer-events: none;
	position: absolute;
}

.hfd-canvas-mount {
	inset: 0;
	position: absolute;
	z-index: 1;
}

.hfd-canvas-mount canvas {
	display: block;
	height: 100%;
	width: 100%;
}

.hfd-viewport-metrics {
	background: rgba(255, 255, 255, 0.86);
	backdrop-filter: blur(12px);
	border: 1px solid var(--hfd-border);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	left: 16px;
	min-width: 220px;
	padding: 14px;
	pointer-events: none;
	position: absolute;
	top: 16px;
	z-index: 3;
}

.hfd-metric-head {
	align-items: center;
	display: flex;
	gap: 22px;
	margin-bottom: 8px;
}

.hfd-metric-head span {
	color: var(--hfd-primary);
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.05em;
}

.hfd-metric-head small,
.hfd-metric-grid {
	color: rgba(68, 71, 78, 0.68);
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 11px;
}

.hfd-metric-grid {
	display: grid;
	gap: 4px;
}

.hfd-metric-row {
	display: flex;
	justify-content: space-between;
	gap: 24px;
}

.hfd-metric-row strong {
	color: #111111;
	font-size: 14px;
}

.hfd-axis-readout {
	align-items: center;
	background: rgba(255, 255, 255, 0.55);
	bottom: 22px;
	display: flex;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 10px;
	gap: 14px;
	left: 16px;
	padding: 4px 8px;
	pointer-events: none;
	position: absolute;
	z-index: 3;
}

.hfd-axis-x {
	border-bottom: 1px solid rgba(220, 38, 38, 0.3);
	color: #2f4a6d;
}

.hfd-axis-y {
	border-bottom: 1px solid rgba(22, 163, 74, 0.3);
	color: #16a34a;
}

.hfd-axis-z {
	border-bottom: 1px solid rgba(37, 99, 235, 0.3);
	color: #2563eb;
}

.hfd-viewport-controls {
	display: flex;
	flex-direction: column;
	gap: 8px;
	position: absolute;
	right: 16px;
	top: 16px;
	z-index: 4;
}

.hfd-cad-control {
	background: var(--hfd-surface);
	border: 1px solid var(--hfd-outline-soft);
	border-radius: 2px;
	color: var(--hfd-muted);
	height: 32px;
	width: 32px;
}

.hfd-cad-control:hover,
.hfd-cad-control:focus {
	border-color: var(--hfd-primary);
	color: var(--hfd-primary);
	outline: none;
}

.hfd-cad-control[hidden] {
	display: none;
}

.hfd-control-separator {
	background: var(--hfd-outline-soft);
	height: 1px;
	margin: 4px 0;
	width: 32px;
}

.hfd-preview-copy {
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid var(--hfd-border);
	bottom: 18px;
	max-width: 380px;
	padding: 12px 14px;
	position: absolute;
	right: 18px;
	z-index: 3;
}

.hfd-preview-copy h3,
.hfd-preview-copy p {
	margin: 0;
}

.hfd-preview-copy h3 {
	color: var(--hfd-primary);
	font-size: 14px;
	font-weight: 700;
}

.hfd-preview-copy p {
	color: var(--hfd-muted);
	font-size: 12px;
	line-height: 1.4;
	margin-top: 4px;
}

.hfd-webgl-fallback {
	align-items: center;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid var(--hfd-border);
	color: var(--hfd-primary);
	display: flex;
	flex-direction: column;
	gap: 6px;
	left: 50%;
	line-height: 1.45;
	max-width: 420px;
	padding: 18px;
	position: absolute;
	text-align: center;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 4;
}

.hfd-webgl-fallback[hidden] {
	display: none;
}

.hfd-config-panel {
	background: var(--hfd-surface-low);
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow-y: auto;
	scrollbar-width: thin;
}

.hfd-config-panel::-webkit-scrollbar {
	width: 4px;
}

.hfd-config-panel::-webkit-scrollbar-track {
	background: var(--hfd-surface-container);
}

.hfd-config-panel::-webkit-scrollbar-thumb {
	background: var(--hfd-outline-soft);
}

.hfd-panel-sticky-head {
	align-items: center;
	background: #ffffff;
	border-bottom: 1px solid var(--hfd-outline-soft);
	display: flex;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 11px;
	font-weight: 700;
	justify-content: space-between;
	letter-spacing: 0.05em;
	padding: 18px 20px;
	position: sticky;
	text-transform: uppercase;
	top: 0;
	z-index: 2;
}

.hfd-form {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 24px 20px;
}

.hfd-fieldset {
	border-bottom: 1px solid var(--hfd-border);
	display: block;
	padding-bottom: 24px;
}

.hfd-fieldset:last-child {
	border-bottom: 0;
}

.hfd-fieldset-title,
.hfd-field > span {
	color: var(--hfd-muted);
	display: flex;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 10px;
	font-weight: 700;
	justify-content: space-between;
	letter-spacing: 0.05em;
	line-height: 1.4;
	margin-bottom: 12px;
	text-transform: uppercase;
}

.hfd-field-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hfd-field {
	display: block;
	min-width: 0;
}

.hfd-field[hidden],
.hfd-fieldset[hidden] {
	display: none;
}

.hfd-field input,
.hfd-field select,
.hfd-field textarea {
	background: #ffffff;
	border: 1px solid var(--hfd-outline-soft);
	border-radius: 2px;
	color: var(--hfd-text);
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 13px;
	font-weight: 500;
	line-height: 18px;
	min-height: 40px;
	outline: none;
	padding: 8px 10px;
	transition: border-color 160ms ease, box-shadow 160ms ease;
	width: 100%;
}

.hfd-field textarea {
	min-height: 92px;
	resize: vertical;
}

.hfd-field input:focus,
.hfd-field select:focus,
.hfd-field textarea:focus {
	border-color: var(--hfd-primary);
	box-shadow: 0 0 0 1px rgba(0, 71, 171, 0.2);
}

.hfd-field small {
	color: rgba(68, 71, 78, 0.72);
	display: block;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 9px;
	line-height: 1.4;
	margin-top: 6px;
	text-transform: uppercase;
}

.hfd-field-checkbox {
	align-items: center;
	display: flex;
	gap: 12px;
}

.hfd-field-checkbox > span {
	margin: 0;
	order: 2;
}

.hfd-field-checkbox input {
	height: 18px;
	min-height: 18px;
	order: 1;
	padding: 0;
	width: 18px;
}

.hfd-product-select {
	border-bottom: 1px solid var(--hfd-border);
	padding-bottom: 24px;
}

.hfd-upload-box {
	align-items: center;
	background: #ffffff;
	border: 1px dashed var(--hfd-outline-soft);
	border-radius: 2px;
	color: var(--hfd-muted);
	cursor: default;
	display: flex;
	flex-direction: column;
	gap: 8px;
	justify-content: center;
	min-height: 140px;
	padding: 24px;
	text-align: center;
	transition: background 160ms ease, border-color 160ms ease;
}

.hfd-upload-box:hover {
	background: rgba(0, 71, 171, 0.05);
	border-color: var(--hfd-primary);
}

.hfd-upload-box span {
	color: var(--hfd-primary);
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 22px;
	font-weight: 700;
}

.hfd-upload-box strong {
	color: var(--hfd-text);
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 10px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.hfd-upload-box small {
	color: var(--hfd-muted);
	font-size: 11px;
	line-height: 1.35;
}

.hfd-summary-footer {
	align-items: center;
	background: rgba(255, 255, 255, 0.86);
	backdrop-filter: blur(12px);
	border-top: 1px solid var(--hfd-outline-soft);
	display: grid;
	gap: 22px;
	grid-template-columns: auto minmax(0, 1fr) auto;
	height: 56px;
	padding: 0 24px;
	position: relative;
	z-index: 5;
}

.hfd-summary-label {
	align-items: center;
	display: flex;
	gap: 10px;
}

.hfd-summary-label span {
	color: var(--hfd-primary);
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 12px;
}

.hfd-summary-label strong {
	color: var(--hfd-text);
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 10px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.hfd-summary-tilebar {
	display: flex;
	gap: 36px;
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: none;
}

.hfd-summary-tilebar::-webkit-scrollbar {
	display: none;
}

.hfd-summary-tile {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	font-family: "JetBrains Mono", Consolas, monospace;
	min-width: fit-content;
}

.hfd-summary-tile span {
	color: rgba(68, 71, 78, 0.6);
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
}

.hfd-summary-tile strong {
	color: var(--hfd-text);
	font-size: 11px;
	font-weight: 500;
}

.hfd-summary-tile .is-ready {
	align-items: center;
	color: var(--hfd-primary);
	display: inline-flex;
	gap: 6px;
}

.hfd-summary-tile .is-ready::before {
	background: var(--hfd-primary);
	border-radius: 999px;
	box-shadow: 0 0 5px rgba(0, 71, 171, 0.5);
	content: "";
	height: 6px;
	width: 6px;
}

.hfd-summary-drawer {
	background: var(--hfd-surface-low);
	border-top: 1px solid var(--hfd-border);
	display: grid;
	gap: 16px;
	grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1fr);
	padding: 16px 24px 20px;
}

.hfd-summary-list {
	display: grid;
	gap: 8px 16px;
	grid-template-columns: minmax(110px, 0.7fr) minmax(0, 1.3fr);
	margin: 0;
}

.hfd-summary-list dt,
.hfd-summary-list dd {
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 11px;
	line-height: 1.4;
	margin: 0;
}

.hfd-summary-list dt {
	color: rgba(68, 71, 78, 0.72);
	font-weight: 700;
	text-transform: uppercase;
}

.hfd-summary-list dd {
	color: var(--hfd-text);
	overflow-wrap: anywhere;
}

.hfd-summary-text {
	background: #ffffff;
	border: 1px solid var(--hfd-outline-soft);
	border-radius: 2px;
	color: var(--hfd-text);
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 11px;
	min-height: 144px;
	padding: 10px;
	resize: vertical;
	width: 100%;
}

.hfd-status {
	color: var(--hfd-primary);
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 11px;
	grid-column: 1 / -1;
	margin: 0;
}

.hfd-admin-only {
	border: 1px solid var(--hfd-border);
	color: var(--hfd-primary);
	padding: 12px;
}

@keyframes hfd-blink {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.4;
	}
}

@media (max-width: 1180px) {
	.hfd-topbar {
		align-items: flex-start;
		height: auto;
		padding: 12px 16px;
	}

	.hfd-topbar,
	.hfd-topbar-left {
		flex-wrap: wrap;
	}

	.hfd-module-tabs {
		max-width: calc(100vw - 32px);
	}

	.hfd-cad-main {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: minmax(460px, 58vh) minmax(360px, auto);
		height: auto;
		min-height: 0;
	}

	.hfd-config-panel {
		border-top: 1px solid var(--hfd-outline-soft);
		grid-column: 1 / -1;
		max-height: none;
	}

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

	.hfd-dynamic-fields {
		display: contents;
	}
}

@media (max-width: 760px) {
	.hfd-shortcode-mode {
		box-sizing: border-box !important;
		left: auto !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		max-width: 100% !important;
		overflow-x: hidden !important;
		right: auto !important;
		transform: none !important;
		width: 100% !important;
	}

	.hfd-shortcode-mode .hfd-topbar,
	.hfd-shortcode-mode .hfd-intro-strip,
	.hfd-shortcode-mode .hfd-cad-main,
	.hfd-shortcode-mode .hfd-viewport,
	.hfd-shortcode-mode .hfd-preview-stage,
	.hfd-shortcode-mode .hfd-config-panel,
	.hfd-shortcode-mode .hfd-form,
	.hfd-shortcode-mode .hfd-summary-footer,
	.hfd-shortcode-mode .hfd-summary-drawer {
		box-sizing: border-box;
		max-width: 100%;
		min-width: 0;
		width: 100%;
	}

	.hfd-shortcode-mode .hfd-form fieldset,
	.hfd-shortcode-mode .hfd-field-grid,
	.hfd-shortcode-mode .hfd-field,
	.hfd-shortcode-mode .hfd-summary-tilebar,
	.hfd-shortcode-mode .hfd-summary-list,
	.hfd-shortcode-mode .hfd-summary-text {
		box-sizing: border-box;
		max-width: 100%;
		min-width: 0;
	}

	.hfd-shortcode-mode input,
	.hfd-shortcode-mode select,
	.hfd-shortcode-mode textarea {
		max-width: 100%;
		min-width: 0;
	}

	.hfd-configurator {
		min-height: 0;
		overflow: visible;
	}

	.hfd-fullpage-mode {
		left: auto;
		margin-left: 0;
		margin-right: 0;
		right: auto;
		width: 100%;
	}

	.hfd-intro-strip,
	.hfd-summary-drawer {
		grid-template-columns: 1fr;
	}

	.hfd-shortcode-mode .hfd-intro-strip > *,
	.hfd-shortcode-mode .hfd-intro-strip span,
	.hfd-shortcode-mode .hfd-intro-strip em {
		max-width: 100%;
		min-width: 0;
		overflow-wrap: anywhere;
		white-space: normal;
	}

	.hfd-cad-main {
		display: flex;
		flex-direction: column;
	}

	.hfd-side-rail {
		border-bottom: 1px solid var(--hfd-outline-soft);
		border-right: 0;
		flex-direction: row;
		height: 56px;
		justify-content: center;
		padding: 8px;
	}

	.hfd-rail-spacer {
		display: none;
	}

	.hfd-viewport {
		border-right: 0;
		min-height: 420px;
	}

	.hfd-viewport-metrics,
	.hfd-preview-copy {
		left: 10px;
		max-width: calc(100% - 20px);
		right: 10px;
	}

	.hfd-preview-copy {
		bottom: 10px;
	}

	.hfd-viewport-controls {
		flex-direction: row;
		left: 10px;
		right: auto;
		top: 118px;
	}

	.hfd-shortcode-mode .hfd-viewport {
		display: flex;
		flex-direction: column;
		min-height: 580px;
	}

	.hfd-shortcode-mode .hfd-viewport-metrics {
		flex: 0 0 auto;
		left: auto;
		margin: 10px 10px 0;
		max-width: none;
		min-width: 0;
		order: 1;
		position: relative;
		right: auto;
		top: auto;
		width: auto;
	}

	.hfd-shortcode-mode .hfd-preview-stage {
		flex: 1 0 380px;
		height: auto;
		min-height: 380px;
		order: 3;
	}

	.hfd-shortcode-mode .hfd-preview-copy {
		box-sizing: border-box;
		left: 10px;
		max-width: calc(100% - 20px);
		min-width: 0;
		overflow: hidden;
		right: 10px;
		width: auto;
	}

	.hfd-shortcode-mode .hfd-preview-copy h3,
	.hfd-shortcode-mode .hfd-preview-copy p {
		display: block !important;
		max-width: 100% !important;
		min-width: 0 !important;
		overflow-wrap: anywhere !important;
		white-space: normal !important;
		width: 100% !important;
		word-break: break-word !important;
	}

	.hfd-shortcode-mode .hfd-viewport-controls {
		align-self: flex-start;
		flex: 0 0 auto;
		flex-direction: row;
		left: auto;
		margin: 8px 10px;
		order: 2;
		position: relative;
		right: auto;
		top: auto;
	}

	.hfd-control-separator {
		display: none;
	}

	.hfd-form {
		display: flex;
	}

	.hfd-field-grid,
	.hfd-summary-list {
		grid-template-columns: 1fr;
	}

	.hfd-summary-footer {
		grid-template-columns: 1fr;
		height: auto;
		padding: 12px 16px;
	}

	.hfd-summary-footer .hfd-primary-action {
		width: 100%;
	}
}

/* ---- Spec Import & Recall (v0.5.0) ---- */

.hfd-import-chip {
	align-items: center;
	background: var(--hfd-primary, #00327d);
	border: 0;
	border-radius: 999px;
	box-shadow: 0 4px 14px rgba(23, 50, 77, 0.35);
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 11px;
	font-weight: 700;
	gap: 6px;
	letter-spacing: 0.06em;
	padding: 8px 14px;
	position: absolute;
	right: 14px;
	top: 14px;
	transition: transform 160ms ease, box-shadow 160ms ease;
	z-index: 30;
}

.hfd-import-chip:hover {
	box-shadow: 0 6px 18px rgba(23, 50, 77, 0.45);
	transform: translateY(-1px);
}

.hfd-import-modal[hidden],
.hfd-import-panel[hidden],
.hfd-import-chip[hidden] {
	display: none !important;
}

.hfd-import-modal {
	background: rgba(255, 255, 255, 0.97);
	backdrop-filter: blur(6px);
	border: 1px solid var(--hfd-outline-soft, #d7e0e8);
	border-radius: 14px;
	box-shadow: 0 18px 48px rgba(15, 32, 48, 0.28);
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-height: calc(100% - 28px);
	overflow: auto;
	padding: 14px;
	position: absolute;
	right: 14px;
	top: 14px;
	width: min(420px, calc(100% - 28px));
	z-index: 40;
}

.hfd-import-head {
	align-items: center;
	display: flex;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 12px;
	gap: 10px;
	justify-content: space-between;
	letter-spacing: 0.08em;
}

.hfd-import-head-main {
	align-items: center;
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	gap: 7px 10px;
	min-width: 0;
}

.hfd-user-guide {
	align-items: center;
	background: var(--hfd-accent, #006a6a);
	border: 1px solid var(--hfd-accent, #006a6a);
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-family: Arial, sans-serif;
	font-size: 9px;
	font-weight: 800;
	justify-content: center;
	letter-spacing: 0.04em;
	line-height: 1.2;
	padding: 5px 9px;
	text-decoration: none;
	white-space: nowrap;
}

.hfd-user-guide:hover {
	background: #005454;
	border-color: #005454;
	color: #fff;
}

.hfd-user-guide:focus-visible {
	outline: 3px solid rgba(42, 167, 200, 0.42);
	outline-offset: 2px;
}

.hfd-user-guide[hidden] {
	display: none !important;
}

.hfd-import-minimize {
	background: transparent;
	border: 1px solid var(--hfd-outline-soft, #d7e0e8);
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
	flex: 0 0 auto;
	height: 26px;
	line-height: 1;
	width: 26px;
}

.hfd-import-tabs {
	display: flex;
	gap: 6px;
}

.hfd-import-tab {
	background: #eef3f7;
	border: 1px solid transparent;
	border-radius: 8px;
	cursor: pointer;
	flex: 1;
	font-size: 11px;
	font-weight: 700;
	padding: 7px 4px;
}

.hfd-import-tab.is-active {
	background: var(--hfd-primary, #00327d);
	color: #fff;
}

.hfd-import-hint {
	color: #4a5a68;
	font-size: 12px;
	line-height: 1.5;
	margin: 0;
}

.hfd-import-textarea {
	border: 1px solid var(--hfd-outline-soft, #d7e0e8);
	border-radius: 8px;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 11px;
	padding: 8px;
	resize: vertical;
	width: 100%;
}

.hfd-import-actions {
	display: flex;
	gap: 8px;
}

.hfd-import-actions button {
	flex: 1;
	font-size: 11px;
}

.hfd-import-reference summary {
	cursor: pointer;
	font-size: 11px;
	font-weight: 700;
}

.hfd-import-reference-list {
	display: grid;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 10px;
	gap: 2px;
	grid-template-columns: 1fr 1fr;
	margin-top: 6px;
	max-height: 140px;
	overflow: auto;
}

.hfd-import-saverow {
	display: flex;
	gap: 8px;
}

.hfd-import-saverow input {
	flex: 1;
}

.hfd-saved-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	list-style: none;
	margin: 0;
	max-height: 200px;
	overflow: auto;
	padding: 0;
}

.hfd-saved-item {
	align-items: center;
	background: #f4f8fb;
	border: 1px solid var(--hfd-outline-soft, #d7e0e8);
	border-radius: 8px;
	display: flex;
	gap: 8px;
	justify-content: space-between;
	padding: 8px 10px;
}

.hfd-saved-item strong {
	font-size: 12px;
}

.hfd-saved-item small {
	color: #64748b;
	display: block;
	font-size: 10px;
}

.hfd-saved-item-buttons {
	display: flex;
	gap: 6px;
}

.hfd-saved-item-buttons button {
	border-radius: 6px;
	cursor: pointer;
	font-size: 10px;
	font-weight: 700;
	padding: 5px 9px;
}

.hfd-saved-load {
	background: var(--hfd-accent, #006a6a);
	border: 0;
	color: #fff;
}

.hfd-saved-delete {
	background: transparent;
	border: 1px solid #e2b3b3;
	color: #2f4a6d;
}

.hfd-import-status {
	color: #1c6b48;
	font-size: 11px;
	line-height: 1.5;
	margin: 0;
	min-height: 14px;
	white-space: pre-line;
}

.hfd-import-status.is-error {
	color: #2f4a6d;
}

/* Single-product (locked shortcode) mode */
.hfd-single-product .hfd-module-tabs,
.hfd-single-product .hfd-product-select,
.hfd-single-product [data-hfd-output="import_product"] {
	display: none;
}

/* ---- Inquiry form (v0.6.0) ---- */

.hfd-inquiry {
	background: var(--hfd-surface-low, #f7fafc);
	border-top: 1px solid var(--hfd-outline-soft, #d7e0e8);
	padding: 20px 22px 26px;
}

.hfd-inquiry-head {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 14px;
}

.hfd-inquiry-head strong {
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 13px;
	letter-spacing: 0.08em;
}

.hfd-inquiry-head span {
	color: #4a5a68;
	font-size: 12px;
}

.hfd-inquiry-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	margin-bottom: 12px;
}

.hfd-inquiry-form input[type="text"],
.hfd-inquiry-form input[type="email"],
.hfd-inquiry-form textarea {
	border: 1px solid var(--hfd-outline-soft, #d7e0e8);
	border-radius: 8px;
	font-size: 13px;
	padding: 9px 10px;
	width: 100%;
}

.hfd-inquiry-file input[type="file"] {
	font-size: 12px;
}

.hfd-inquiry-file small {
	color: #8a6d3b;
	font-size: 11px;
}

.hfd-inquiry-captcha {
	align-items: flex-end;
	display: flex;
	gap: 10px;
	margin-top: 12px;
}

.hfd-inquiry-captcha img {
	border: 1px solid var(--hfd-outline-soft, #d7e0e8);
	border-radius: 8px;
	height: 46px;
	width: 150px;
}

.hfd-captcha-refresh {
	background: #eef3f7;
	border: 1px solid var(--hfd-outline-soft, #d7e0e8);
	border-radius: 8px;
	cursor: pointer;
	font-size: 16px;
	height: 46px;
	width: 46px;
}

.hfd-captcha-answer {
	max-width: 140px;
}

/* Honeypot: visually removed but present in the DOM for bots. */
.hfd-hp {
	height: 1px;
	left: -9999px;
	overflow: hidden;
	position: absolute;
	top: -9999px;
	width: 1px;
}

.hfd-inquiry-actions {
	align-items: center;
	display: flex;
	gap: 14px;
	margin-top: 16px;
}

.hfd-inquiry-status {
	color: #1c6b48;
	font-size: 12px;
	margin: 0;
}

.hfd-inquiry-status.is-error {
	color: #2f4a6d;
}

@media (max-width: 760px) {
	.hfd-inquiry-captcha {
		flex-wrap: wrap;
	}

	.hfd-inquiry-actions {
		flex-direction: column;
		align-items: stretch;
	}
}


/* Import modal inputs & selects (v0.7.0) */
.hfd-import-modal select,
.hfd-import-modal input[type="text"],
.hfd-import-modal input[type="number"] {
	appearance: none;
	-webkit-appearance: none;
	background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2317324d'/%3E%3C/svg%3E") no-repeat right 10px center;
	border: 1px solid var(--hfd-outline-soft, #d7e0e8);
	border-radius: 8px;
	font-size: 12px;
	padding: 8px 28px 8px 10px;
	width: 100%;
}

.hfd-import-modal input[type="text"],
.hfd-import-modal input[type="number"] {
	background-image: none;
	padding-right: 10px;
}

.hfd-import-modal select:focus,
.hfd-import-modal input:focus {
	border-color: var(--hfd-accent, #006a6a);
	box-shadow: 0 0 0 2px rgba(42, 167, 200, 0.18);
	outline: none;
}

/* Manual entry guided fields */
.hfd-manual-fields {
	display: grid;
	gap: 8px;
	grid-template-columns: 1fr 1fr;
	max-height: 260px;
	overflow: auto;
	padding-right: 4px;
}

.hfd-manual-fields .hfd-field {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.hfd-manual-fields .hfd-field > span {
	color: #33424f;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.hfd-manual-fields .hfd-field small {
	color: #6b7c8a;
	font-size: 10px;
}

/* Drawing drop-zone on the RFQ form (moved from the config panel) */
.hfd-inquiry-dropzone {
	align-items: center;
	background: #f4f8fb;
	border: 2px dashed var(--hfd-accent, #006a6a);
	border-radius: 12px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 4px;
	justify-content: center;
	padding: 16px 12px;
	text-align: center;
	transition: background 160ms ease, border-color 160ms ease;
}

.hfd-inquiry-dropzone:hover,
.hfd-inquiry-dropzone.is-dragover {
	background: #e8f4f9;
	border-color: var(--hfd-primary, #00327d);
}

.hfd-inquiry-dropzone .hfd-dz-badge {
	background: var(--hfd-primary, #00327d);
	border-radius: 8px;
	color: #fff;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 11px;
	font-weight: 700;
	padding: 4px 8px;
}

.hfd-inquiry-dropzone strong {
	font-size: 12px;
	letter-spacing: 0.05em;
}

.hfd-inquiry-dropzone small {
	color: #5c6c7a;
	font-size: 11px;
}

.hfd-inquiry-dropzone input[type="file"] {
	display: none;
}

.hfd-dz-filename {
	color: var(--hfd-primary, #00327d);
	font-size: 11px;
	font-weight: 700;
	word-break: break-all;
}

/* Visible product FAQ (page-specific, also emitted as JSON-LD) */
.hfd-faq {
	background: #fff;
	border-top: 1px solid var(--hfd-outline-soft, #d7e0e8);
	padding: 22px;
}

.hfd-faq > strong {
	display: block;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 13px;
	letter-spacing: 0.08em;
	margin-bottom: 12px;
}

.hfd-faq details {
	border: 1px solid var(--hfd-outline-soft, #d7e0e8);
	border-radius: 10px;
	margin-bottom: 8px;
	overflow: hidden;
}

.hfd-faq summary {
	background: #f7fafc;
	cursor: pointer;
	font-size: 13px;
	font-weight: 700;
	padding: 12px 14px;
}

.hfd-faq summary:hover {
	background: #eef4f8;
}

.hfd-faq details[open] summary {
	border-bottom: 1px solid var(--hfd-outline-soft, #d7e0e8);
}

.hfd-faq p {
	color: #33424f;
	font-size: 13px;
	line-height: 1.6;
	margin: 0;
	padding: 12px 14px;
}

/* Standalone RFQ form wrapper (shortcode [hfd_rfq_form]) — inherits theme vars. */
.hfd-rfq {
	--hfd-bg: #f6fafe;
	--hfd-surface: #ffffff;
	--hfd-surface-low: #f0f4f8;
	--hfd-surface-container: #eaeef2;
	--hfd-text: #171c1f;
	--hfd-muted: #434653;
	--hfd-outline: #737784;
	--hfd-outline-soft: #c3c6d5;
	--hfd-border: rgba(0, 71, 171, 0.15);
	--hfd-primary: #00327d;
	--hfd-primary-bright: #00fbfb;
	--hfd-accent: #006a6a;
	box-sizing: border-box;
	color: var(--hfd-text);
	font-family: "Hanken Grotesk", Arial, Helvetica, sans-serif;
}
.hfd-rfq *, .hfd-rfq *::before, .hfd-rfq *::after { box-sizing: border-box; }
.hfd-rfq .hfd-inquiry { margin: 0; border: 1px solid var(--hfd-border); border-radius: 8px; background: rgba(255,255,255,0.72); backdrop-filter: blur(12px); }

/* ---- Theme integration: hide the product module tab strip (requested) ---- */
.hfd-module-tabs { display: none !important; }
/* Full-page breakout safety: never cause horizontal scroll */
.hfd-fullpage-mode { overflow-x: hidden; }

/* Match the full-width builder template when an older theme wraps the
 * shortcode in its three-column article layout.  This only changes the
 * page container around this configurator; the configurator layout itself
 * remains untouched. */
.article-grid:has(.hfd-fullpage-mode) {
	display: block;
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}

.article-grid:has(.hfd-fullpage-mode) > .article-rail,
.article-grid:has(.hfd-fullpage-mode) > .article-side {
	display: none;
}

.article-grid:has(.hfd-fullpage-mode) > .article-main {
	max-width: 100%;
	width: 100%;
}

.article-grid:has(.hfd-fullpage-mode) > .article-main > .entry-head {
	max-width: 1240px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
}

.article-grid:has(.hfd-fullpage-mode) .entry-content > .hfd-fullpage-mode {
	left: auto;
	margin-left: auto;
	margin-right: auto;
	max-width: none;
	right: auto;
	transform: none;
	width: 80%;
}

@media (max-width: 900px) {
	.article-grid:has(.hfd-fullpage-mode) .entry-content > .hfd-fullpage-mode {
		width: 94%;
	}
}

/* ---- Topbar product module select ---- */
.hfd-topbar-product-select {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 210px;
	max-width: 300px;
}

.hfd-topbar-product-select > span {
	font-size: 10px;
	letter-spacing: 0.08em;
	opacity: 0.75;
}

.hfd-topbar-product-select select {
	font-size: 12px;
	padding: 4px 6px;
}

/* ---- Measurement grid controls ---- */
.hfd-grid-controls {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.hfd-grid-unit {
	font-size: 12px;
	padding: 4px 6px;
	max-width: 130px;
}

.hfd-grid-toggle.is-on {
	background: var(--hfd-accent, #006a6a);
	color: #fff;
	border-color: var(--hfd-accent, #006a6a);
}

/* ---- Nudge pad (on-screen joystick) ---- */
.hfd-nudge-pad {
	position: absolute;
	right: 14px;
	bottom: 14px;
	z-index: 30;
	background: rgba(8, 30, 46, 0.92);
	color: #d9f4ff;
	border: 1px solid rgba(53, 208, 232, 0.45);
	border-radius: 10px;
	padding: 10px;
	width: 168px;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
	font-size: 12px;
}

.hfd-nudge-title {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: 600;
	margin-bottom: 6px;
}

.hfd-nudge-close {
	background: none;
	border: none;
	color: #d9f4ff;
	font-size: 16px;
	cursor: pointer;
	line-height: 1;
}

.hfd-nudge-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 4px;
	align-items: center;
	justify-items: stretch;
}

.hfd-nudge-grid button {
	background: rgba(53, 208, 232, 0.14);
	border: 1px solid rgba(53, 208, 232, 0.4);
	color: #aee9f7;
	border-radius: 6px;
	padding: 6px 0;
	cursor: pointer;
}

.hfd-nudge-grid button:hover {
	background: rgba(53, 208, 232, 0.3);
}

.hfd-nudge-step {
	width: 100%;
	text-align: center;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	border: 1px solid rgba(53, 208, 232, 0.35);
	border-radius: 6px;
	padding: 4px 2px;
}

.hfd-nudge-hint {
	display: block;
	margin-top: 6px;
	opacity: 0.65;
}

/* ---- Freeform region editor panel ---- */
.hfd-region-editor {
	border: 1px dashed rgba(0, 106, 106, 0.45);
	border-radius: 8px;
	padding: 10px;
}

.hfd-region-hint {
	font-size: 12px;
	line-height: 1.45;
	opacity: 0.8;
	margin: 6px 0 10px;
}

.hfd-region-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 8px;
}

.hfd-region-actions button {
	font-size: 12px;
	padding: 6px 10px;
}

.hfd-region-count {
	display: block;
	margin-top: 8px;
	opacity: 0.75;
}

@media (max-width: 900px) {
	.hfd-topbar-product-select {
		min-width: 150px;
	}
}

/* ------------------------------------------------------------------
 * Spec Import & Recall: pulsing hint on the minimize (−) button so
 * users notice the window can be collapsed out of the way.
 * ------------------------------------------------------------------ */
.hfd-import-minimize {
	position: relative;
	animation: hfd-minimize-pulse 1.6s ease-in-out infinite;
}

.hfd-import-minimize:hover,
.hfd-import-minimize:focus {
	animation: none;
	border-color: #00327d;
	color: #00327d;
}

/* Big RED breathing halo so the collapse hint is unmistakable. */
@keyframes hfd-minimize-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(214, 31, 43, 0.9);
		border-color: rgba(214, 31, 43, 1);
		color: #00327d;
		transform: scale(1);
	}
	70% {
		box-shadow: 0 0 0 20px rgba(214, 31, 43, 0);
		border-color: rgba(214, 31, 43, 0.5);
		color: #00327d;
		transform: scale(1.16);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(214, 31, 43, 0);
		border-color: rgba(214, 31, 43, 1);
		color: #00327d;
		transform: scale(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hfd-import-minimize {
		animation: none;
	}
}

/* ------------------------------------------------------------------
 * Import Code box: dedicated, copyable recall code with a red "save
 * this" warning. Stretched to fill the full drawer width.
 * ------------------------------------------------------------------ */
.hfd-import-code-box {
	border: 1px solid var(--hfd-outline-soft, #d7e0e8);
	border-radius: 12px;
	box-sizing: border-box;
	margin-top: 12px;
	padding: 12px;
	width: 100%;
}

.hfd-import-code-head {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: space-between;
	margin-bottom: 6px;
	width: 100%;
}

.hfd-import-code-head strong {
	flex: 1;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 13px;
	letter-spacing: 0.06em;
}

.hfd-import-code-warning {
	color: #00327d;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.4;
	margin: 0 0 8px;
}

.hfd-import-code-text {
	border-color: rgba(214, 31, 43, 0.35);
	box-sizing: border-box;
	display: block;
	min-height: 96px;
	width: 100%;
}

/* ------------------------------------------------------------------
 * Floating "show / hide guides" button — sits just outside the model
 * so the freeform region wireframes + grid can be toggled after
 * applying a stencil.
 * ------------------------------------------------------------------ */
.hfd-guides-controls {
	align-items: center;
	bottom: 14px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	left: 14px;
	position: absolute;
	z-index: 45;
}

.hfd-guides-toggle {
	background: #17324d;
	border: 1px solid #17324d;
	border-radius: 8px;
	box-shadow: 0 6px 18px rgba(15, 32, 48, 0.35);
	color: #fff;
	cursor: pointer;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 9px 14px;
}

.hfd-guides-toggle:hover {
	background: #2aa7c8;
	border-color: #2aa7c8;
	color: #fff;
}

.hfd-guides-toggle.is-hidden-state {
	background: #fff;
	border-color: #17324d;
	color: #17324d;
}

.hfd-guide-opacity {
	align-items: center;
	background: rgba(255, 255, 255, 0.95);
	border: 1px solid rgba(23, 50, 77, 0.45);
	border-radius: 8px;
	box-shadow: 0 6px 18px rgba(15, 32, 48, 0.22);
	color: #17324d;
	display: flex;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 11px;
	font-weight: 700;
	gap: 8px;
	padding: 7px 10px;
}

.hfd-guide-opacity input[type="range"] {
	accent-color: #2aa7c8;
	cursor: pointer;
	margin: 0;
	width: 110px;
}

@media (max-width: 600px) {
	.hfd-guides-controls {
		gap: 6px;
	}

	.hfd-guide-opacity input[type="range"] {
		width: 84px;
	}
}

/* ═══════════════════════════════════════════════════════════════════════════
   2D-ONLY SHELL
   ---------------------------------------------------------------------------
   What is left of the configurator frame now that the 3D viewport, the
   configuration panel, the spec footer and the import modal have gone with the
   3D builder: a header naming the process being drawn, one line of intro, and
   the drawing workspace. Everything else the builder needs it carries itself.
   ═══════════════════════════════════════════════════════════════════════════ */

.hfd-configurator.hfd-2d-only {
	background: none;
	display: block;
	min-height: 0;
	overflow: visible;
	padding: 0;
}

.hfd-2d-head {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 18px;
	margin: 0 0 10px;
}

.hfd-2d-process {
	color: var(--hfd-muted, #434653);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .02em;
}

.hfd-2d-intro {
	color: var(--hfd-muted, #434653);
	font-size: 13.5px;
	line-height: 1.6;
	margin: 0 0 12px;
	max-width: 78ch;
}

.hfd-2d-only .hfd-product-select {
	margin: 0;
}


/* ── FRAMELESS EMBED ──────────────────────────────────────────────────────
   The 2D-only shell is a section of a page, not a widget dropped onto one.
   The workspace below keeps the edge around the drawing canvas — that edge is
   the sheet, and it is the one line the eye needs — but the shell itself has
   no card, no border and no shadow, so the builder starts where the page's
   prose stops. */
.hfd-configurator.hfd-2d-only,
.hfd-configurator.vtm2d-standalone {
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	padding: 0;
}
