.mbcd-app {
	--mbcd-ink: #17212b;
	--mbcd-muted: #66717d;
	--mbcd-line: #dfe5e8;
	--mbcd-surface: #ffffff;
	--mbcd-wash: #f5f8f9;
	--mbcd-orange: #ee6b2f;
	--mbcd-orange-dark: #d6531b;
	--mbcd-navy: #152d42;
	--mbcd-green: #244e45;
	--mbcd-radius: 22px;
	position: relative;
	left: 50%;
	isolation: isolate;
	overflow: hidden;
	box-sizing: border-box;
	width: calc(100vw - 32px);
	margin: 40px 0;
	padding: clamp(32px, 5vw, 72px) clamp(16px, 3.5vw, 52px);
	max-width: 1180px;
	transform: translateX(-50%);
	border: 1px solid #e4e9eb;
	border-radius: 32px;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(246, 249, 250, 0.94)),
		radial-gradient(circle at 20% 10%, rgba(238, 107, 47, 0.08), transparent 36%);
	box-shadow: 0 30px 80px rgba(28, 46, 58, 0.1);
	color: var(--mbcd-ink);
	font-family:
		"Noto Sans JP",
		"Helvetica Neue",
		"Yu Gothic",
		"YuGothic",
		"Hiragino Kaku Gothic ProN",
		"Meiryo",
		sans-serif;
	line-height: 1.65;
}

.mbcd-app *,
.mbcd-app *::before,
.mbcd-app *::after {
	box-sizing: border-box;
}

.mbcd-app button,
.mbcd-app input,
.mbcd-app select {
	font-family: inherit;
}

.mbcd-app__glow {
	position: absolute;
	z-index: -1;
	border-radius: 999px;
	filter: blur(2px);
	pointer-events: none;
}

.mbcd-app__glow--one {
	top: -160px;
	right: -110px;
	width: 360px;
	height: 360px;
	background: rgba(238, 107, 47, 0.075);
}

.mbcd-app__glow--two {
	bottom: 6%;
	left: -160px;
	width: 320px;
	height: 320px;
	background: rgba(29, 77, 86, 0.06);
}

.mbcd-hero {
	max-width: 980px;
	margin: 0 auto clamp(28px, 4vw, 48px);
	text-align: center;
}

.mbcd-eyebrow,
.mbcd-step {
	margin: 0 0 8px;
	color: var(--mbcd-orange-dark);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.mbcd-eyebrow span {
	display: inline-flex;
	margin-right: 8px;
	padding: 4px 9px;
	border-radius: 999px;
	background: var(--mbcd-orange);
	color: #fff;
	letter-spacing: 0.04em;
}

.mbcd-hero__title {
	margin: 0;
	color: var(--mbcd-ink);
	font-size: clamp(30px, 4.2vw, 52px);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 1.22;
	word-break: keep-all;
}

.mbcd-hero__lead {
	margin: 15px auto 0;
	color: var(--mbcd-muted);
	font-size: clamp(14px, 1.6vw, 17px);
}

.mbcd-form {
	margin: 0;
}

.mbcd-workspace {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	gap: clamp(18px, 2.5vw, 30px);
	align-items: stretch;
}

.mbcd-panel {
	min-width: 0;
	padding: clamp(20px, 2.8vw, 30px);
	border: 1px solid rgba(215, 223, 226, 0.9);
	border-radius: var(--mbcd-radius);
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 14px 38px rgba(28, 45, 55, 0.06);
}

.mbcd-panel__heading {
	display: flex;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 22px;
}

.mbcd-panel__heading h3,
.mbcd-inquiry h3 {
	margin: 0;
	color: var(--mbcd-ink);
	font-size: clamp(18px, 2vw, 23px);
	font-weight: 750;
	letter-spacing: -0.025em;
	line-height: 1.35;
}

.mbcd-reset {
	flex: 0 0 auto;
	padding: 7px 10px;
	border: 0;
	border-bottom: 1px solid #aeb7bc;
	background: transparent;
	color: #68737c;
	font-size: 12px;
	cursor: pointer;
	transition:
		color 0.2s ease,
		border-color 0.2s ease;
}

.mbcd-reset:hover {
	border-color: var(--mbcd-orange);
	color: var(--mbcd-orange-dark);
}

.mbcd-reset:focus-visible,
.mbcd-template:focus-visible,
.mbcd-submit:focus-visible,
.mbcd-field input:focus-visible,
.mbcd-field select:focus-visible,
.mbcd-inquiry-types input:focus-visible,
.mbcd-inquiry-message textarea:focus-visible,
.mbcd-agreement input:focus-visible {
	outline: 3px solid rgba(238, 107, 47, 0.24);
	outline-offset: 2px;
}

.mbcd-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 15px 13px;
}

.mbcd-editor .mbcd-fields {
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
}

.mbcd-editor .mbcd-field {
	display: grid;
	grid-template-columns: 51px 37px minmax(0, 1fr);
	column-gap: 6px;
	align-items: center;
}

.mbcd-editor .mbcd-field--wide {
	grid-column: auto;
}

.mbcd-editor .mbcd-field__label {
	align-self: baseline;
	text-align: right;
}

.mbcd-field__requirement {
	align-self: baseline;
	min-width: 0;
	text-align: right;
}

.mbcd-editor .mbcd-field__requirement[aria-hidden="true"],
.mbcd-editor .mbcd-field__requirement[aria-hidden="true"] + .mbcd-field__label {
	align-self: center;
}

.mbcd-field__requirement .mbcd-required {
	margin-left: 0;
	white-space: nowrap;
}

.mbcd-editor-update {
	display: grid;
	grid-template-columns: 60px 28px minmax(0, 1fr);
	column-gap: 6px;
	align-items: start;
	margin-top: 17px;
}

.mbcd-editor-update > span {
	grid-column: 1 / 3;
}

.mbcd-editor-update > div {
	grid-column: 3;
}

.mbcd-preview-update {
	display: flex;
	width: 100%;
	min-height: 46px;
	gap: 9px;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 10px 15px;
	border: 1px solid var(--mbcd-orange);
	border-radius: 10px;
	background: #fff8f4;
	color: var(--mbcd-orange-dark);
	font-size: 13px;
	font-weight: 800;
	cursor: pointer;
	transition:
		background 0.2s ease,
		color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.mbcd-preview-update:hover:not(:disabled),
.mbcd-preview-update.is-dirty {
	background: var(--mbcd-orange);
	color: #fff;
	box-shadow: 0 8px 18px rgba(238, 107, 47, 0.2);
}

.mbcd-preview-update:hover:not(:disabled) {
	transform: translateY(-1px);
}

.mbcd-preview-update:disabled {
	cursor: wait;
	opacity: 0.68;
}

.mbcd-preview-update.is-loading {
	cursor: wait;
	opacity: 0.68;
}

.mbcd-preview-update svg {
	width: 17px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.mbcd-editor-update__note {
	min-height: 3.1em;
	margin: 7px 0 0;
	color: var(--mbcd-muted);
	font-size: 10px;
	line-height: 1.55;
}

.mbcd-editor-update__note.is-warning {
	color: var(--mbcd-orange-dark);
	font-weight: 700;
}

.mbcd-field {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 7px;
}

.mbcd-field--wide {
	grid-column: 1 / -1;
}

.mbcd-field__label {
	color: #4f5d67;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.015em;
}

.mbcd-required {
	display: inline-block;
	margin-left: 4px;
	color: var(--mbcd-orange-dark);
	font-size: 10px;
	font-weight: 800;
}

.mbcd-field input,
.mbcd-field select {
	width: 100%;
	height: 46px;
	margin: 0;
	padding: 0 13px;
	border: 1px solid #d9e0e3;
	border-radius: 10px;
	background: #fbfcfc;
	box-shadow: inset 0 1px 2px rgba(19, 38, 51, 0.025);
	color: var(--mbcd-ink);
	font-size: 15px;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		background 0.2s ease;
}

.mbcd-field input:hover,
.mbcd-field select:hover {
	border-color: #bdc8cd;
}

.mbcd-field input:focus,
.mbcd-field select:focus {
	border-color: var(--mbcd-orange);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(238, 107, 47, 0.09);
	outline: 0;
}

.mbcd-field select {
	appearance: auto;
}

.mbcd-preview-panel {
	position: relative;
	display: flex;
	flex-direction: column;
}

.mbcd-panel__heading--preview {
	margin-bottom: 18px;
}

.mbcd-card-stage {
	position: relative;
	display: grid;
	flex: 1 1 auto;
	place-items: center;
	min-height: 330px;
	padding: clamp(18px, 3vw, 34px) clamp(16px, 2.15vw, 24px);
	border-radius: 18px;
	background:
		linear-gradient(45deg, rgba(23, 43, 55, 0.035) 25%, transparent 25%) 0 0 / 18px 18px,
		linear-gradient(-45deg, rgba(23, 43, 55, 0.035) 25%, transparent 25%) 0 9px / 18px 18px,
		#edf1f2;
	box-shadow: inset 0 1px 4px rgba(25, 42, 52, 0.07);
}

.mbcd-card-stage__label {
	position: absolute;
	top: 12px;
	left: 14px;
	z-index: 2;
	display: inline-flex;
	gap: 6px;
	align-items: center;
	margin: 0;
	padding: 5px 9px;
	border: 1px solid rgba(255, 155, 0, 0.4);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.9);
	color: var(--mbcd-ui-orange-dark);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1.2;
	transition:
		background 0.18s ease,
		border-color 0.18s ease,
		box-shadow 0.18s ease,
		color 0.18s ease,
		transform 0.18s ease;
}

.mbcd-card-stage__label::before {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--mbcd-ui-orange);
	box-shadow: 0 0 0 3px rgba(255, 155, 0, 0.12);
	content: "";
}

.mbcd-card-stage.is-update-targeted .mbcd-card-stage__label {
	border-color: var(--mbcd-ui-orange);
	background: var(--mbcd-ui-orange);
	box-shadow: 0 5px 14px rgba(255, 155, 0, 0.28);
	color: #fff;
	transform: translateY(-1px);
}

.mbcd-card-stage.is-update-targeted .mbcd-card-stage__label::before {
	background: #fff;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22);
}

.mbcd-preview-loading {
	position: absolute;
	z-index: 4;
	inset: 0;
	display: flex;
	gap: 5px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	border-radius: inherit;
	background: rgba(243, 246, 247, 0.9);
	backdrop-filter: blur(3px);
	color: var(--mbcd-ink);
}

.mbcd-preview-loading[hidden] {
	display: none;
}

.mbcd-preview-loading__spinner {
	width: 34px;
	height: 34px;
	margin-bottom: 7px;
	border: 3px solid rgba(238, 107, 47, 0.2);
	border-top-color: var(--mbcd-orange);
	border-radius: 50%;
	animation: mbcd-preview-spin 0.72s linear infinite;
}

.mbcd-preview-loading strong {
	font-family: Arial, sans-serif;
	font-size: 13px;
	letter-spacing: 0.08em;
}

.mbcd-preview-loading > span:last-child {
	color: var(--mbcd-muted);
	font-size: 11px;
}

.mbcd-card-stage.is-loading .mbcd-card {
	filter: saturate(0.75);
}

@keyframes mbcd-preview-spin {
	to { transform: rotate(360deg); }
}

.mbcd-card {
	container-type: inline-size;
	position: relative;
	width: min(100%, 530px);
	aspect-ratio: 91 / 55;
	overflow: hidden;
	border: 1px solid rgba(15, 36, 48, 0.08);
	border-radius: 5px;
	background: #fff;
	box-shadow:
		0 22px 40px rgba(23, 39, 49, 0.18),
		0 3px 8px rgba(23, 39, 49, 0.1);
	color: #16222b;
	transform: translateZ(0);
	transition:
		background 0.35s ease,
		color 0.35s ease,
		box-shadow 0.35s ease;
}

.mbcd-card.is-refreshing {
	animation: mbcd-card-refresh 0.32s ease;
}

@keyframes mbcd-card-refresh {
	0% { transform: translateY(0) scale(1); }
	45% { transform: translateY(-2px) scale(1.004); }
	100% { transform: translateY(0) scale(1); }
}

.mbcd-card [data-mbcd-output] {
	display: block;
	min-width: 0;
	max-width: 100%;
	overflow: visible;
	text-overflow: clip;
	white-space: nowrap;
	transform: scaleX(var(--mbcd-fit-scale, 1));
	transform-origin: left center;
}

.mbcd-card [data-mbcd-fit-group] {
	transform: scaleX(var(--mbcd-fit-scale, 1));
	transform-origin: left center;
}

.mbcd-card [data-mbcd-optional].is-empty {
	display: none;
}

.mbcd-card__accent {
	position: absolute;
	inset: 0 auto 0 0;
	width: 1.25%;
	background: var(--mbcd-orange);
	transition: all 0.35s ease;
}

.mbcd-card__shape {
	position: absolute;
	top: -28%;
	right: -11%;
	width: 37%;
	aspect-ratio: 1;
	border: 1px solid color-mix(in srgb, var(--mbcd-orange) 18%, transparent);
	border-radius: 50%;
	transition: all 0.35s ease;
}

.mbcd-card__brand {
	position: absolute;
	top: 10.5%;
	left: 7.5%;
	display: flex;
	width: 68%;
	gap: 2.2cqw;
	align-items: center;
}

.mbcd-card__mark {
	display: grid;
	flex: 0 0 auto;
	width: 7.4cqw;
	aspect-ratio: 1;
	place-items: center;
	border-radius: 1.4cqw;
	background: var(--mbcd-orange);
	color: #fff;
	font-family: Arial, sans-serif;
	font-size: 4cqw;
	font-weight: 800;
	line-height: 1;
}

.mbcd-card__company {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 3.3cqw;
	font-weight: 750;
	letter-spacing: 0.04em;
}

.mbcd-card__identity {
	position: absolute;
	top: 37%;
	left: 7.5%;
	width: 72%;
}

.mbcd-card__role {
	display: flex;
	height: 4.2cqw;
	gap: 1.5cqw;
	align-items: center;
	margin: 0 0 2.2cqw;
	color: #64717a;
	font-size: 2.45cqw;
	font-weight: 600;
	letter-spacing: 0.035em;
	white-space: nowrap;
}

.mbcd-card__role-divider {
	width: 1px;
	height: 2.6cqw;
	background: #cad1d4;
}

.mbcd-card__role > span:first-child.is-empty + .mbcd-card__role-divider,
.mbcd-card__role-divider:has(+ span.is-empty) {
	display: none;
}

.mbcd-card__name {
	max-width: 100%;
	margin: 0;
	font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
	font-size: 6.7cqw;
	font-weight: 600;
	letter-spacing: 0.13em;
	line-height: 1.2;
}

.mbcd-card__contact {
	position: absolute;
	right: 6.5%;
	bottom: 9%;
	width: 46%;
}

.mbcd-card__contact p {
	display: flex;
	min-width: 0;
	gap: 1.1cqw;
	align-items: center;
	margin: 0.75cqw 0 0;
	color: #52616b;
	font-family: Arial, sans-serif;
	font-size: 2.25cqw;
	line-height: 1.25;
}

.mbcd-card__contact b {
	display: inline-block;
	flex: 0 0 6.2cqw;
	color: var(--mbcd-orange-dark);
	font-size: 1.9cqw;
	font-weight: 800;
	letter-spacing: 0.05em;
}

.mbcd-card__contact span {
	flex: 1 1 auto;
	min-width: 0;
}

.mbcd-card__microcopy {
	position: absolute;
	bottom: 8%;
	left: 7.5%;
	margin: 0;
	color: #a5afb4;
	font-family: Arial, sans-serif;
	font-size: 1.55cqw;
	font-weight: 700;
	letter-spacing: 0.22em;
}

/* Standard template color variations */
.mbcd-card--clean-palette-02 {
	--mbcd-orange: #2f716c;
	--mbcd-orange-dark: #205650;
	background: #f8fcfb;
	color: #18322f;
}

.mbcd-card--clean-palette-03 {
	--mbcd-orange: #315f87;
	--mbcd-orange-dark: #244765;
	background: #f7fafc;
	color: #1c2e3e;
}

/* Minimal template */
.mbcd-card--minimal {
	--mbcd-minimal-surface: #fffdf8;
	--mbcd-minimal-ink: #242a28;
	--mbcd-minimal-heading: #4d5652;
	--mbcd-minimal-muted: #727976;
	--mbcd-minimal-line: #d8d5cc;
	background: var(--mbcd-minimal-surface);
	color: var(--mbcd-minimal-ink);
}

.mbcd-card--minimal-palette-02 {
	--mbcd-minimal-surface: #f4f8fa;
	--mbcd-minimal-ink: #203b4c;
	--mbcd-minimal-heading: #405c6c;
	--mbcd-minimal-muted: #647984;
	--mbcd-minimal-line: #c6d3d9;
}

.mbcd-card--minimal-palette-03 {
	--mbcd-minimal-surface: #f7f8f2;
	--mbcd-minimal-ink: #31453b;
	--mbcd-minimal-heading: #50655a;
	--mbcd-minimal-muted: #718078;
	--mbcd-minimal-line: #cbd3c8;
}

.mbcd-card--minimal .mbcd-card__accent {
	display: none;
}

.mbcd-card--minimal .mbcd-card__shape {
	display: none;
}

.mbcd-card--minimal::before {
	position: absolute;
	top: 23%;
	right: 10%;
	left: 10%;
	height: 1px;
	background: var(--mbcd-minimal-line);
	content: "";
}

.mbcd-card--minimal .mbcd-card__brand {
	top: 11%;
	left: 10%;
	width: 80%;
	justify-content: center;
}

.mbcd-card--minimal .mbcd-card__mark {
	display: none;
}

.mbcd-card--minimal .mbcd-card__company {
	text-align: center;
	color: var(--mbcd-minimal-heading);
	font-family:
		"Noto Sans JP",
		"Yu Gothic",
		"Hiragino Kaku Gothic ProN",
		sans-serif;
	font-size: 2.65cqw;
	font-weight: 700;
	letter-spacing: 0.15em;
	transform-origin: center;
}

.mbcd-card--minimal .mbcd-card__identity {
	top: 31%;
	left: 10%;
	display: flex;
	width: 80%;
	flex-direction: column-reverse;
	text-align: center;
}

.mbcd-card--minimal .mbcd-card__role {
	justify-content: center;
	margin: 3.2cqw 0 0;
	color: var(--mbcd-minimal-muted);
	font-family:
		"Noto Sans JP",
		"Yu Gothic",
		"Hiragino Kaku Gothic ProN",
		sans-serif;
	font-size: 2.15cqw;
	font-weight: 500;
	transform-origin: center;
}

.mbcd-card--minimal .mbcd-card__role-divider {
	background: var(--mbcd-minimal-line);
}

.mbcd-card--minimal .mbcd-card__name {
	font-family:
		"Noto Sans JP",
		"Yu Gothic",
		"Hiragino Kaku Gothic ProN",
		sans-serif;
	font-size: 8.1cqw;
	font-weight: 600;
	letter-spacing: 0.16em;
	transform-origin: center;
}

.mbcd-card--minimal .mbcd-card__contact {
	right: auto;
	bottom: 8.5%;
	left: 10%;
	display: flex;
	width: 80%;
	gap: 2.4cqw;
	justify-content: center;
	padding-top: 3.2cqw;
	border-top: 1px solid var(--mbcd-minimal-line);
}

.mbcd-card--minimal .mbcd-card__contact p {
	flex: 1 1 0;
	gap: 0.8cqw;
	margin: 0;
	color: var(--mbcd-minimal-muted);
	font-size: 1.7cqw;
}

.mbcd-card--minimal .mbcd-card__contact b {
	flex-basis: auto;
	color: var(--mbcd-minimal-ink);
	font-size: 1.65cqw;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.mbcd-card--minimal .mbcd-card__microcopy {
	display: none;
}

/* Random template: 10 layouts x 3 color palettes = 30 designs */
.mbcd-card--random {
	--mbcd-random-accent: #ef6b35;
	--mbcd-random-accent-2: #ffad52;
	--mbcd-random-soft: #fff2e7;
	--mbcd-random-surface: #fffaf6;
	--mbcd-random-ink: #24272b;
	--mbcd-random-muted: #69737a;
	--mbcd-random-on-accent: #fff;
	background: var(--mbcd-random-surface);
	color: var(--mbcd-random-ink);
}

.mbcd-card--random-palette-02 {
	--mbcd-random-accent: #173b57;
	--mbcd-random-accent-2: #4e7896;
	--mbcd-random-soft: #e9f2f7;
	--mbcd-random-surface: #fafdff;
	--mbcd-random-ink: #172a38;
	--mbcd-random-muted: #667985;
}

.mbcd-card--random-palette-03 {
	--mbcd-random-accent: #356c5b;
	--mbcd-random-accent-2: #b68a52;
	--mbcd-random-soft: #eef2e8;
	--mbcd-random-surface: #fbfcf8;
	--mbcd-random-ink: #21372f;
	--mbcd-random-muted: #69786f;
}

.mbcd-card--random .mbcd-card__accent {
	background: var(--mbcd-random-accent);
}

.mbcd-card--random .mbcd-card__shape {
	border-color: color-mix(in srgb, var(--mbcd-random-accent) 24%, transparent);
}

.mbcd-card--random .mbcd-card__mark {
	background: var(--mbcd-random-accent);
	color: var(--mbcd-random-on-accent);
}

.mbcd-card--random .mbcd-card__company,
.mbcd-card--random .mbcd-card__name {
	color: var(--mbcd-random-ink);
}

.mbcd-card--random .mbcd-card__role,
.mbcd-card--random .mbcd-card__contact p {
	color: var(--mbcd-random-muted);
}

.mbcd-card--random .mbcd-card__role-divider {
	background: color-mix(in srgb, var(--mbcd-random-muted) 35%, transparent);
}

.mbcd-card--random .mbcd-card__contact b {
	color: var(--mbcd-random-accent);
}

.mbcd-card--random .mbcd-card__microcopy {
	color: color-mix(in srgb, var(--mbcd-random-muted) 65%, transparent);
}

/* 01: left panel */
.mbcd-card--random-layout-01 .mbcd-card__accent {
	width: 30%;
}

.mbcd-card--random-layout-01 .mbcd-card__shape {
	top: auto;
	right: auto;
	bottom: -13%;
	left: -5%;
	width: 27%;
	border: 0;
	border-radius: 0;
	background: linear-gradient(
		135deg,
		transparent 49%,
		var(--mbcd-random-accent-2) 50%
	);
}

.mbcd-card--random-layout-01 .mbcd-card__brand {
	top: 11%;
	left: 5.5%;
	width: 20%;
	flex-direction: column;
	gap: 2.6cqw;
	align-items: flex-start;
}

.mbcd-card--random-layout-01 .mbcd-card__mark {
	width: 9cqw;
	border: 1px solid rgba(255, 255, 255, 0.52);
	background: transparent;
}

.mbcd-card--random-layout-01 .mbcd-card__company {
	width: 100%;
	color: var(--mbcd-random-on-accent);
	font-size: 2.5cqw;
	letter-spacing: 0.07em;
}

.mbcd-card--random-layout-01 .mbcd-card__identity {
	top: 23%;
	left: 38%;
	width: 55%;
}

.mbcd-card--random-layout-01 .mbcd-card__role {
	margin-bottom: 3.1cqw;
}

.mbcd-card--random-layout-01 .mbcd-card__name {
	font-family: inherit;
	font-size: 6.5cqw;
	font-weight: 750;
}

.mbcd-card--random-layout-01 .mbcd-card__contact {
	right: 7%;
	bottom: 10%;
	width: 55%;
}

.mbcd-card--random-layout-01 .mbcd-card__microcopy {
	bottom: 8%;
	left: 5.5%;
	color: rgba(255, 255, 255, 0.55);
	font-size: 1.25cqw;
}

/* 02: header band */
.mbcd-card--random-layout-02 .mbcd-card__accent {
	inset: 0 0 auto;
	width: auto;
	height: 25%;
}

.mbcd-card--random-layout-02 .mbcd-card__shape {
	top: -23%;
	right: 8%;
	width: 27%;
	border-color: rgba(255, 255, 255, 0.42);
}

.mbcd-card--random-layout-02 .mbcd-card__brand {
	top: 5.8%;
	left: 6%;
	width: 88%;
}

.mbcd-card--random-layout-02 .mbcd-card__mark {
	width: 7cqw;
	border: 1px solid rgba(255, 255, 255, 0.48);
	background: rgba(255, 255, 255, 0.14);
}

.mbcd-card--random-layout-02 .mbcd-card__company {
	color: var(--mbcd-random-on-accent);
}

.mbcd-card--random-layout-02 .mbcd-card__identity {
	top: 39%;
	left: 8%;
	width: 65%;
}

.mbcd-card--random-layout-02 .mbcd-card__name {
	font-size: 7.2cqw;
}

.mbcd-card--random-layout-02 .mbcd-card__contact {
	right: 7%;
	bottom: 8%;
	width: 43%;
}

.mbcd-card--random-layout-02 .mbcd-card__microcopy {
	bottom: 8%;
	left: 8%;
}

/* 03: rounded corner */
.mbcd-card--random-layout-03 .mbcd-card__accent {
	top: 8%;
	right: 5%;
	bottom: auto;
	left: auto;
	width: 3.2cqw;
	aspect-ratio: 1;
	border-radius: 50%;
}

.mbcd-card--random-layout-03 .mbcd-card__shape {
	top: -36%;
	right: -12%;
	width: 49%;
	border: 0;
	background: var(--mbcd-random-soft);
}

.mbcd-card--random-layout-03 .mbcd-card__brand {
	top: 11%;
	left: 8%;
}

.mbcd-card--random-layout-03 .mbcd-card__mark {
	border-radius: 50%;
}

.mbcd-card--random-layout-03 .mbcd-card__identity {
	top: 39%;
	left: 8%;
	width: 64%;
}

.mbcd-card--random-layout-03 .mbcd-card__name {
	font-size: 7.3cqw;
	font-weight: 500;
	letter-spacing: 0.18em;
}

.mbcd-card--random-layout-03 .mbcd-card__contact {
	right: 7%;
	bottom: 8%;
	width: 44%;
}

.mbcd-card--random-layout-03 .mbcd-card__microcopy {
	bottom: 8%;
	left: 8%;
}

/* 04: footer band */
.mbcd-card--random-layout-04 .mbcd-card__accent {
	inset: auto 0 0;
	width: auto;
	height: 27%;
}

.mbcd-card--random-layout-04 .mbcd-card__shape {
	top: -18%;
	right: -4%;
	width: 31%;
	border: 0;
	background: var(--mbcd-random-soft);
}

.mbcd-card--random-layout-04 .mbcd-card__brand {
	top: 10%;
	left: 7%;
	width: 72%;
}

.mbcd-card--random-layout-04 .mbcd-card__identity {
	top: 36%;
	left: 8%;
	width: 70%;
}

.mbcd-card--random-layout-04 .mbcd-card__contact {
	right: 5%;
	bottom: 5.2%;
	display: flex;
	width: 68%;
	gap: 1.8cqw;
	justify-content: flex-end;
}

.mbcd-card--random-layout-04 .mbcd-card__contact p {
	flex: 1 1 0;
	gap: 0.7cqw;
	margin: 0;
	color: rgba(255, 255, 255, 0.88);
	font-size: 1.72cqw;
}

.mbcd-card--random-layout-04 .mbcd-card__contact b {
	flex-basis: auto;
	color: var(--mbcd-random-on-accent);
	font-size: 1.65cqw;
	font-weight: 800;
}

.mbcd-card--random-layout-04 .mbcd-card__microcopy {
	bottom: 5.5%;
	left: 5%;
	color: rgba(255, 255, 255, 0.6);
	font-size: 1.2cqw;
}

/* 05: two-column split */
.mbcd-card--random-layout-05 {
	background:
		linear-gradient(
			90deg,
			var(--mbcd-random-soft) 0,
			var(--mbcd-random-soft) 40%,
			var(--mbcd-random-surface) 40%
		);
}

.mbcd-card--random-layout-05 .mbcd-card__accent {
	top: 0;
	left: 39.2%;
	width: 0.8%;
}

.mbcd-card--random-layout-05 .mbcd-card__shape {
	top: auto;
	right: auto;
	bottom: -17%;
	left: -8%;
	width: 32%;
	border-color: var(--mbcd-random-accent-2);
	opacity: 0.35;
}

.mbcd-card--random-layout-05 .mbcd-card__brand {
	top: 17%;
	left: 7%;
	display: block;
	width: 26%;
}

.mbcd-card--random-layout-05 .mbcd-card__mark {
	width: 10cqw;
	margin-bottom: 3cqw;
}

.mbcd-card--random-layout-05 .mbcd-card__company {
	font-size: 2.8cqw;
	line-height: 1.5;
	white-space: normal;
}

.mbcd-card--random-layout-05 .mbcd-card__identity {
	top: 20%;
	left: 47%;
	width: 46%;
}

.mbcd-card--random-layout-05 .mbcd-card__name {
	font-size: 6.4cqw;
	letter-spacing: 0.1em;
}

.mbcd-card--random-layout-05 .mbcd-card__contact {
	right: 7%;
	bottom: 10%;
	width: 46%;
}

.mbcd-card--random-layout-05 .mbcd-card__microcopy {
	bottom: 8%;
	left: 7%;
}

/* 06: centered */
.mbcd-card--random-layout-06 {
	background:
		radial-gradient(
			circle at 50% -40%,
			var(--mbcd-random-soft) 0,
			var(--mbcd-random-soft) 44%,
			var(--mbcd-random-surface) 44.4%
		);
}

.mbcd-card--random-layout-06 .mbcd-card__accent {
	top: auto;
	right: 42%;
	bottom: 5%;
	left: 42%;
	width: auto;
	height: 1.1%;
}

.mbcd-card--random-layout-06 .mbcd-card__shape {
	display: none;
}

.mbcd-card--random-layout-06 .mbcd-card__brand {
	top: 8%;
	left: 12%;
	width: 76%;
	justify-content: center;
}

.mbcd-card--random-layout-06 .mbcd-card__mark {
	width: 6.5cqw;
}

.mbcd-card--random-layout-06 .mbcd-card__company {
	flex: 0 1 auto;
	text-align: center;
	transform-origin: center;
}

.mbcd-card--random-layout-06 .mbcd-card__identity {
	top: 36%;
	left: 14%;
	width: 72%;
	text-align: center;
}

.mbcd-card--random-layout-06 .mbcd-card__role {
	justify-content: center;
	transform-origin: center;
}

.mbcd-card--random-layout-06 .mbcd-card__name {
	font-size: 7.4cqw;
	font-weight: 500;
	letter-spacing: 0.2em;
	transform-origin: center;
}

.mbcd-card--random-layout-06 .mbcd-card__contact {
	right: auto;
	bottom: 10%;
	left: 15%;
	display: flex;
	width: 70%;
	gap: 1.8cqw;
	justify-content: center;
}

.mbcd-card--random-layout-06 .mbcd-card__contact p {
	flex: 1 1 0;
	gap: 0.65cqw;
	margin: 0;
	font-size: 1.65cqw;
}

.mbcd-card--random-layout-06 .mbcd-card__contact b {
	flex-basis: auto;
	font-size: 1.6cqw;
	font-weight: 800;
}

.mbcd-card--random-layout-06 .mbcd-card__microcopy {
	display: none;
}

/* 07: framed */
.mbcd-card--random-layout-07 {
	border: 0;
	box-shadow:
		inset 0 0 0 1px color-mix(in srgb, var(--mbcd-random-accent) 22%, transparent),
		0 22px 40px rgba(23, 39, 49, 0.18),
		0 3px 8px rgba(23, 39, 49, 0.1);
}

.mbcd-card--random-layout-07 .mbcd-card__accent {
	inset: 6% auto 6% 3.8%;
	width: 1%;
	border-radius: 2px;
}

.mbcd-card--random-layout-07 .mbcd-card__shape {
	top: 5%;
	right: 3%;
	width: 13%;
	border: 0;
	border-radius: 0;
	background:
		linear-gradient(
			135deg,
			var(--mbcd-random-accent) 0 48%,
			transparent 49% 100%
		);
	opacity: 0.17;
}

.mbcd-card--random-layout-07 .mbcd-card__brand {
	top: 11%;
	left: 9%;
	width: 68%;
}

.mbcd-card--random-layout-07 .mbcd-card__identity {
	top: 39%;
	left: 9%;
	width: 66%;
}

.mbcd-card--random-layout-07 .mbcd-card__contact {
	right: 7%;
	bottom: 9%;
	width: 44%;
}

.mbcd-card--random-layout-07 .mbcd-card__microcopy {
	bottom: 8%;
	left: 9%;
}

/* 08: right rail */
.mbcd-card--random-layout-08 .mbcd-card__accent {
	inset: 0 0 0 auto;
	width: 18%;
}

.mbcd-card--random-layout-08 .mbcd-card__shape {
	top: auto;
	right: 3%;
	bottom: 5%;
	width: 10%;
	border-color: rgba(255, 255, 255, 0.45);
}

.mbcd-card--random-layout-08 .mbcd-card__brand {
	top: 10%;
	left: 7%;
	width: 70%;
}

.mbcd-card--random-layout-08 .mbcd-card__identity {
	top: 37%;
	left: 7%;
	width: 68%;
}

.mbcd-card--random-layout-08 .mbcd-card__contact {
	right: 22%;
	bottom: 9%;
	width: 44%;
}

.mbcd-card--random-layout-08 .mbcd-card__microcopy {
	right: 4.5%;
	bottom: 13%;
	left: auto;
	color: rgba(255, 255, 255, 0.65);
	font-size: 1.15cqw;
	letter-spacing: 0.18em;
	writing-mode: vertical-rl;
}

/* 09: typographic monogram */
.mbcd-card--random-layout-09 {
	background:
		linear-gradient(
			110deg,
			var(--mbcd-random-surface) 0 69%,
			var(--mbcd-random-soft) 69% 100%
		);
}

.mbcd-card--random-layout-09 .mbcd-card__accent {
	top: 10%;
	right: auto;
	bottom: 10%;
	left: 5%;
	width: 0.8%;
}

.mbcd-card--random-layout-09 .mbcd-card__shape {
	display: none;
}

.mbcd-card--random-layout-09 .mbcd-card__brand {
	top: 9%;
	left: 9%;
	display: block;
	width: 84%;
}

.mbcd-card--random-layout-09 .mbcd-card__mark {
	position: absolute;
	top: 4cqw;
	right: 1cqw;
	width: 23cqw;
	background: transparent;
	color: color-mix(in srgb, var(--mbcd-random-accent) 15%, transparent);
	font-size: 17cqw;
}

.mbcd-card--random-layout-09 .mbcd-card__company {
	width: 60%;
	font-size: 3cqw;
}

.mbcd-card--random-layout-09 .mbcd-card__identity {
	top: 35%;
	left: 9%;
	width: 58%;
}

.mbcd-card--random-layout-09 .mbcd-card__name {
	font-size: 7.2cqw;
}

.mbcd-card--random-layout-09 .mbcd-card__contact {
	right: 5%;
	bottom: 8%;
	width: 42%;
}

.mbcd-card--random-layout-09 .mbcd-card__microcopy {
	bottom: 8%;
	left: 9%;
}

/* 10: diagonal ribbon */
.mbcd-card--random-layout-10 {
	background:
		linear-gradient(
			155deg,
			var(--mbcd-random-soft) 0 26%,
			var(--mbcd-random-surface) 26.3% 100%
		);
}

.mbcd-card--random-layout-10 .mbcd-card__accent {
	top: 0;
	right: auto;
	bottom: auto;
	left: 0;
	width: 40%;
	height: 5%;
}

.mbcd-card--random-layout-10 .mbcd-card__shape {
	top: -43%;
	right: -17%;
	width: 55%;
	border-width: 1.4cqw;
	border-color: color-mix(in srgb, var(--mbcd-random-accent) 13%, transparent);
}

.mbcd-card--random-layout-10 .mbcd-card__brand {
	top: 10%;
	left: 7%;
	width: 72%;
}

.mbcd-card--random-layout-10 .mbcd-card__mark {
	border-radius: 50% 50% 50% 10%;
	background: var(--mbcd-random-accent-2);
}

.mbcd-card--random-layout-10 .mbcd-card__identity {
	top: 41%;
	left: 9%;
	width: 65%;
}

.mbcd-card--random-layout-10 .mbcd-card__role {
	margin-bottom: 2.8cqw;
}

.mbcd-card--random-layout-10 .mbcd-card__name {
	font-size: 7.3cqw;
}

.mbcd-card--random-layout-10 .mbcd-card__contact {
	right: 6%;
	bottom: 8%;
	width: 43%;
	padding-left: 2cqw;
	border-left: 0.8cqw solid var(--mbcd-random-accent);
}

.mbcd-card--random-layout-10 .mbcd-card__microcopy {
	bottom: 8%;
	left: 9%;
}

.mbcd-template-picker {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 0 0 15px;
}

.mbcd-template {
	display: flex;
	min-width: 0;
	gap: 9px;
	align-items: center;
	padding: 9px;
	border: 1px solid #dce3e6;
	border-radius: 11px;
	background: #fff;
	color: #5d6871;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

.mbcd-template:hover {
	border-color: #bdc8cd;
	transform: translateY(-1px);
}

.mbcd-template.is-active {
	border-color: var(--mbcd-orange);
	box-shadow: 0 0 0 3px rgba(238, 107, 47, 0.09);
	color: var(--mbcd-orange-dark);
}

.mbcd-template > span:last-child {
	white-space: nowrap;
}

.mbcd-preview-disclaimer {
	margin: 11px 2px 0;
	color: var(--mbcd-muted);
	font-size: 10px;
	line-height: 1.65;
}

.mbcd-template__swatch {
	position: relative;
	flex: 0 0 42px;
	height: 26px;
	overflow: hidden;
	border: 1px solid rgba(26, 45, 55, 0.11);
	border-radius: 3px;
	background: #fff;
	box-shadow: 0 2px 4px rgba(23, 39, 49, 0.08);
}

.mbcd-template__swatch::before,
.mbcd-template__swatch i,
.mbcd-template__swatch b {
	position: absolute;
	display: block;
	content: "";
}

.mbcd-template__swatch--clean::before {
	inset: 0 auto 0 0;
	width: 2px;
	background: var(--mbcd-orange);
}

.mbcd-template__swatch--clean i {
	top: 7px;
	left: 8px;
	width: 18px;
	height: 2px;
	background: #263846;
	box-shadow: 0 5px 0 #7c888f;
}

.mbcd-template__swatch--clean b {
	right: 5px;
	bottom: 5px;
	width: 10px;
	height: 1px;
	background: #7c888f;
}

.mbcd-template__swatch--minimal {
	background: #fffdf8;
}

.mbcd-template__swatch--minimal::before {
	right: 6px;
	bottom: 5px;
	left: 6px;
	height: 1px;
	background: #c8c6bf;
}

.mbcd-template__swatch--minimal i {
	top: 6px;
	left: 11px;
	width: 20px;
	height: 2px;
	background: #313735;
	box-shadow:
		0 5px 0 #6f7572,
		0 10px 0 #b3b6b4;
}

.mbcd-template[data-palette="02"] .mbcd-template__swatch--clean::before {
	background: #2f716c;
}

.mbcd-template[data-palette="03"] .mbcd-template__swatch--clean::before {
	background: #315f87;
}

.mbcd-template[data-palette="02"] .mbcd-template__swatch--minimal {
	background: #f4f8fa;
}

.mbcd-template[data-palette="02"] .mbcd-template__swatch--minimal::before {
	background: #c6d3d9;
}

.mbcd-template[data-palette="03"] .mbcd-template__swatch--minimal {
	background: #f7f8f2;
}

.mbcd-template[data-palette="03"] .mbcd-template__swatch--minimal::before {
	background: #cbd3c8;
}

.mbcd-template__swatch--random {
	background:
		linear-gradient(135deg, #fff1e6 0 50%, #eaf2f7 50% 100%);
}

.mbcd-template__swatch--random::before {
	inset: 3px 22px 3px 3px;
	border-radius: 2px;
	background: #ef6b35;
	box-shadow: 18px 3px 0 #356c5b;
	transform: rotate(-4deg);
}

.mbcd-template__swatch--random i {
	top: 7px;
	left: 10px;
	width: 19px;
	height: 2px;
	background: #fff;
	box-shadow: 0 5px 0 rgba(255, 255, 255, 0.75);
}

.mbcd-template__swatch--random b {
	right: 4px;
	bottom: 4px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #ffad52;
}

.mbcd-inquiry {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
	gap: clamp(24px, 4vw, 54px);
	align-items: start;
	margin-top: clamp(20px, 3vw, 30px);
	padding: clamp(24px, 4vw, 40px);
	overflow: hidden;
	border: 1px solid rgba(27, 56, 70, 0.12);
	border-radius: var(--mbcd-radius);
	background:
		linear-gradient(120deg, rgba(20, 45, 65, 0.98), rgba(28, 72, 75, 0.96)),
		var(--mbcd-navy);
	box-shadow: 0 18px 45px rgba(21, 45, 66, 0.16);
	color: #fff;
}

.mbcd-inquiry::after {
	position: absolute;
	top: -90px;
	right: -60px;
	width: 250px;
	height: 250px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.mbcd-inquiry__intro {
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr);
	gap: 18px;
	align-items: flex-start;
}

.mbcd-inquiry__intro > .mbcd-inquiry-types {
	grid-column: 2;
	margin-top: 4px;
}

.mbcd-inquiry__icon {
	display: grid;
	flex: 0 0 54px;
	width: 54px;
	height: 54px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.1);
}

.mbcd-inquiry__icon svg {
	width: 28px;
	fill: none;
	stroke: #fff;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.5;
}

.mbcd-inquiry .mbcd-step {
	color: #f3a37c;
}

.mbcd-inquiry h3 {
	color: #fff;
}

.mbcd-inquiry__intro p:last-child {
	margin: 9px 0 0;
	color: rgba(255, 255, 255, 0.73);
	font-size: 13px;
}

.mbcd-inquiry__action {
	position: relative;
	z-index: 1;
	width: 100%;
	align-self: start;
}

.mbcd-field--inquiry .mbcd-field__label {
	color: rgba(255, 255, 255, 0.8);
}

.mbcd-field--inquiry select {
	border-color: rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.96);
}

.mbcd-inquiry-types {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.mbcd-inquiry-types legend {
	margin: 0 0 10px;
	padding: 0;
	color: rgba(255, 255, 255, 0.8);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.015em;
}

.mbcd-inquiry-types__legend {
	display: inline-flex;
	gap: 7px;
	align-items: baseline;
}

.mbcd-inquiry-types .mbcd-required {
	margin-left: 0;
}

.mbcd-inquiry-types__options {
	display: grid;
	grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
	gap: 9px 15px;
}

.mbcd-inquiry-types__options label {
	display: flex;
	min-width: 0;
	gap: 8px;
	align-items: flex-start;
	color: rgba(255, 255, 255, 0.84);
	font-size: 12px;
	line-height: 1.45;
	cursor: pointer;
}

.mbcd-inquiry-types__options label span {
	min-width: 0;
	white-space: nowrap;
}

.mbcd-inquiry-types__options input {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin: 1px 0 0;
	accent-color: var(--mbcd-orange);
}

.mbcd-inquiry-message {
	display: block;
	margin: 0;
}

.mbcd-inquiry-message__label {
	display: block;
	margin: 0 0 7px;
	color: rgba(255, 255, 255, 0.8);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.015em;
}

.mbcd-inquiry-message textarea {
	display: block;
	width: 100%;
	min-height: 82px;
	padding: 10px 12px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.96);
	color: var(--mbcd-ink);
	font: inherit;
	font-size: 13px;
	line-height: 1.6;
	resize: vertical;
}

.mbcd-inquiry-message textarea::placeholder {
	color: #928b82;
}

.mbcd-consent {
	margin: 16px 0 11px;
	padding: 11px 12px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.08);
}

.mbcd-agreement {
	display: flex;
	gap: 9px;
	align-items: flex-start;
	margin: 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: 12px;
	cursor: pointer;
}

.mbcd-agreement input {
	width: 16px;
	height: 16px;
	margin: 2px 0 0;
	accent-color: var(--mbcd-orange);
}

.mbcd-agreement a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.mbcd-mode-note {
	margin: 0 0 10px;
	padding: 6px 9px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 7px;
	background: rgba(0, 0, 0, 0.12);
	color: rgba(255, 255, 255, 0.76);
	font-size: 11px;
}

.mbcd-mode-note--test {
	border-color: rgba(255, 139, 122, 0.42);
	background: rgba(113, 23, 12, 0.3);
	color: #ffd1ca;
}

.mbcd-submit-requirements {
	min-height: 1.55em;
	margin: 7px 0 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 10px;
	line-height: 1.55;
	text-align: center;
}

.mbcd-submit-requirements[hidden] {
	display: block;
	visibility: hidden;
}

.mbcd-submit {
	display: flex;
	width: 100%;
	min-height: 52px;
	gap: 12px;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 12px 18px;
	border: 0;
	border-radius: 12px;
	background: var(--mbcd-orange);
	box-shadow: 0 9px 22px rgba(10, 26, 35, 0.24);
	color: #fff;
	font-size: 14px;
	font-weight: 900;
	cursor: pointer;
	transition:
		background 0.2s ease,
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.mbcd-submit span {
	letter-spacing: 0.015em;
	-webkit-text-stroke: 0.15px currentColor;
}

.mbcd-submit:hover:not(:disabled) {
	background: #f1763d;
	box-shadow: 0 12px 28px rgba(10, 26, 35, 0.3);
	transform: translateY(-1px);
}

.mbcd-submit:disabled {
	background: #68747a;
	box-shadow: none;
	cursor: not-allowed;
	opacity: 0.72;
}

.mbcd-submit svg {
	width: 18px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.mbcd-submit-note {
	margin: 7px 0 0;
	color: rgba(255, 255, 255, 0.55);
	font-size: 10px;
	text-align: center;
}

.mbcd-status {
	grid-column: 1 / -1;
	display: flex;
	gap: 5px;
	flex-direction: column;
	padding: 14px 17px;
	border-radius: 11px;
	font-size: 13px;
}

.mbcd-status--success {
	border: 1px solid rgba(136, 229, 174, 0.35);
	background: rgba(76, 181, 119, 0.15);
	color: #e8fff1;
}

.mbcd-status--error {
	border: 1px solid rgba(255, 163, 146, 0.35);
	background: rgba(214, 74, 50, 0.16);
	color: #fff0ed;
}

.mbcd-form.is-complete .mbcd-inquiry__action > :not(.mbcd-submit, .mbcd-submit-note) {
	opacity: 0.7;
}

.mbcd-form.is-complete .mbcd-inquiry__intro .mbcd-inquiry-types {
	opacity: 0.7;
}

.mbcd-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

/*
 * Corporate LP shell
 *
 * These rules intentionally style only the demo UI around the cards. The
 * Card templates keep their own preview palettes.
 */
.mbcd-app {
	--mbcd-ui-orange: #ff9b00;
	--mbcd-ui-orange-dark: #d38000;
	--mbcd-ui-yellow: #ffe116;
	--mbcd-ui-cream: #f6efe1;
	--mbcd-ui-cream-deep: #efe2c9;
	--mbcd-ui-sub: #faf5ed;
	--mbcd-ui-light-yellow: #fffce8;
	--mbcd-ink: #222222;
	--mbcd-muted: #625e57;
	--mbcd-line: #e1c797;
	--mbcd-radius: 10px;
	overflow: visible;
	margin-top: 0;
	padding-top: 20px;
	border: 0;
	border-radius: 0;
	background: #fff;
	box-shadow: none;
}

.mbcd-app::before {
	display: none;
}

.mbcd-app__glow {
	display: none;
}

.mbcd-eyebrow,
.mbcd-step {
	color: var(--mbcd-ui-orange);
}

.mbcd-eyebrow span {
	background: var(--mbcd-ui-orange);
}

.mbcd-hero__title {
	color: var(--mbcd-ui-orange);
	font-size: clamp(24px, 3vw, 30px);
	font-weight: 600;
	letter-spacing: 0;
}

.mbcd-hero__accent {
	color: inherit;
}

.mbcd-hero__title::after {
	display: none;
}

.mbcd-hero__lead {
	margin-top: 14px;
	color: var(--mbcd-ink);
}

.mbcd-hero {
	margin-bottom: 50px;
}

.mbcd-workspace {
	padding: clamp(18px, 3vw, 32px);
	border-radius: 14px;
	background: var(--mbcd-ui-sub);
}

.mbcd-panel {
	border-color: var(--mbcd-ui-cream-deep);
	border-radius: var(--mbcd-radius);
	background: #fff;
	box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.04);
}

.mbcd-reset:hover {
	border-color: var(--mbcd-ui-orange);
	color: var(--mbcd-ui-orange-dark);
}

.mbcd-reset:focus-visible,
.mbcd-template:focus-visible,
.mbcd-submit:focus-visible,
.mbcd-preview-update:focus-visible,
.mbcd-field input:focus-visible,
.mbcd-field select:focus-visible,
.mbcd-inquiry-types input:focus-visible,
.mbcd-agreement input:focus-visible {
	outline-color: rgba(255, 155, 0, 0.32);
}

.mbcd-preview-update {
	border-color: var(--mbcd-ui-orange);
	border-radius: 999px;
	background: #fff;
	color: var(--mbcd-ui-orange);
}

.mbcd-preview-update:hover:not(:disabled),
.mbcd-preview-update.is-dirty {
	background: var(--mbcd-ui-orange);
	box-shadow: 0 8px 18px rgba(255, 155, 0, 0.25);
	color: #fff;
}

.mbcd-editor-update__note.is-warning,
.mbcd-required {
	color: var(--mbcd-ui-orange);
}

.mbcd-field__label {
	color: var(--mbcd-ink);
}

.mbcd-field input,
.mbcd-field select {
	border-color: var(--mbcd-ui-cream-deep);
	border-radius: 6px;
	background: #fff;
	box-shadow: none;
}

.mbcd-field input:hover,
.mbcd-field select:hover {
	border-color: #cdbb9f;
}

.mbcd-field input:focus,
.mbcd-field select:focus {
	border-color: var(--mbcd-ui-orange);
	box-shadow: 0 0 0 4px rgba(255, 155, 0, 0.11);
}

.mbcd-card-stage {
	background:
		linear-gradient(45deg, rgba(157, 121, 39, 0.026) 25%, transparent 25%) 0 0 / 18px 18px,
		linear-gradient(-45deg, rgba(157, 121, 39, 0.026) 25%, transparent 25%) 0 9px / 18px 18px,
		var(--mbcd-ui-sub);
	box-shadow: inset 0 0 0 1px rgba(225, 199, 151, 0.32);
}

.mbcd-preview-loading {
	background: rgba(255, 251, 243, 0.92);
}

.mbcd-preview-loading__spinner {
	border-color: rgba(255, 155, 0, 0.2);
	border-top-color: var(--mbcd-ui-orange);
}

.mbcd-template {
	border-color: var(--mbcd-ui-cream-deep);
	border-radius: 8px;
	background: #fff;
	color: var(--mbcd-ink);
}

.mbcd-template:hover {
	border-color: var(--mbcd-line);
}

.mbcd-template.is-active {
	border-color: var(--mbcd-ui-orange);
	background: var(--mbcd-ui-light-yellow);
	box-shadow: 0 0 0 2px rgba(255, 155, 0, 0.1);
	color: var(--mbcd-ui-orange);
}

.mbcd-inquiry {
	margin-top: 40px;
	border-color: var(--mbcd-ui-cream-deep);
	border-radius: 14px;
	background: var(--mbcd-ui-sub);
	box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.04);
	color: var(--mbcd-ink);
}

.mbcd-inquiry::before {
	position: absolute;
	z-index: 0;
	top: 0;
	right: 0;
	left: 0;
	height: 4px;
	background: var(--mbcd-ui-orange);
	content: "";
	pointer-events: none;
}

.mbcd-inquiry::after {
	display: none;
}

.mbcd-inquiry__intro {
	position: relative;
	z-index: 1;
}

.mbcd-inquiry__icon {
	border-color: rgba(255, 155, 0, 0.38);
	border-radius: 8px;
	background: #fff;
	box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.04);
}

.mbcd-inquiry__icon svg {
	stroke: var(--mbcd-ui-orange-dark);
}

.mbcd-inquiry .mbcd-step {
	color: var(--mbcd-ui-orange);
}

.mbcd-inquiry h3 {
	color: #222;
}

.mbcd-inquiry__intro p:last-child {
	color: var(--mbcd-muted);
}

.mbcd-field--inquiry .mbcd-field__label {
	color: #4a4640;
}

.mbcd-field--inquiry select {
	border-color: #dacdb9;
	background: rgba(255, 255, 255, 0.96);
}

.mbcd-inquiry-types legend {
	color: #4a4640;
}

.mbcd-inquiry-types__options label {
	color: #4f4941;
}

.mbcd-inquiry-types__options input {
	accent-color: var(--mbcd-ui-orange);
}

.mbcd-inquiry-message__label {
	color: #4a4640;
}

.mbcd-inquiry-message textarea {
	border-color: #dacdb9;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.96);
	color: #3f3a34;
}

.mbcd-agreement {
	color: #5f584f;
}

.mbcd-consent {
	border-color: rgba(255, 155, 0, 0.32);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.72);
}

.mbcd-agreement input {
	accent-color: var(--mbcd-ui-orange);
}

.mbcd-agreement a {
	color: #4c453c;
}

.mbcd-mode-note {
	border-color: rgba(157, 114, 49, 0.2);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.66);
	color: #75684f;
}

.mbcd-mode-note--test {
	border-color: rgba(180, 35, 24, 0.32);
	background: #fff4f2;
	color: #b42318;
}

.mbcd-submit-requirements {
	color: #7d6c51;
}

.mbcd-submit {
	border: 2px solid transparent;
	border-radius: 999px;
	background: var(--mbcd-ui-orange);
	box-shadow: 0 5px 0 var(--mbcd-ui-orange-dark);
}

.mbcd-submit:hover:not(:disabled) {
	border-color: transparent;
	background: var(--mbcd-ui-orange);
	box-shadow: 0 2px 0 var(--mbcd-ui-orange-dark);
	color: #fff;
	transform: translateY(3px);
}

.mbcd-submit:disabled {
	border-color: #e1d8ca;
	background: #e8e1d6;
	box-shadow: none;
	color: #9b9285;
	opacity: 1;
}

.mbcd-submit-note {
	color: #776f63;
}

.mbcd-status--success {
	border-color: #a8d6b9;
	background: #edf9f1;
	color: #27643d;
}

.mbcd-status--error {
	border-color: #f1b1a4;
	background: #fff0ed;
	color: #a23f2e;
}

@media (max-width: 920px) {
	.mbcd-workspace {
		grid-template-columns: 1fr;
		align-items: start;
	}

	.mbcd-preview-panel {
		position: static;
		width: 100%;
	}

	.mbcd-card-stage {
		min-height: 0;
	}

	.mbcd-inquiry {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 580px) {
	.mbcd-app {
		left: auto;
		width: 100%;
		max-width: 100%;
		margin: 24px auto;
		padding: 0 12px;
		transform: none;
		border-radius: 0;
	}

	.mbcd-hero {
		margin-bottom: 32px;
	}

	.mbcd-hero__title {
		font-size: 24px;
	}

	.mbcd-workspace {
		padding: 12px;
		border-radius: 10px;
	}

	.mbcd-panel {
		padding: 18px 14px;
		border-radius: 10px;
	}

	.mbcd-panel__heading {
		align-items: flex-start;
	}

	.mbcd-fields {
		gap: 13px 9px;
	}

	.mbcd-editor .mbcd-fields {
		gap: 10px;
	}

	.mbcd-editor .mbcd-field {
		grid-template-columns: 32px 38px minmax(0, 1fr);
		column-gap: 5px;
	}

	.mbcd-editor-update {
		grid-template-columns: 26px 44px minmax(0, 1fr);
		column-gap: 5px;
	}

	.mbcd-field input,
	.mbcd-field select {
		height: 44px;
		padding: 0 11px;
		font-size: 14px;
	}

	.mbcd-card-stage {
		padding: 45px 10px 15px;
		border-radius: 13px;
	}

	.mbcd-template-picker {
		gap: 6px;
	}

	.mbcd-template {
		gap: 6px;
		flex-direction: column;
		padding: 7px 4px;
	}

	.mbcd-template__swatch {
		width: 46px;
		flex-basis: 46px;
	}

	.mbcd-inquiry {
		padding: 22px 17px;
		border-radius: 17px;
	}

	.mbcd-inquiry__intro {
		grid-template-columns: 43px minmax(0, 1fr);
		gap: 12px;
	}

	.mbcd-inquiry__intro > .mbcd-inquiry-types {
		grid-column: 1 / -1;
	}

	.mbcd-inquiry-types__options {
		grid-template-columns: 1fr;
	}

	.mbcd-inquiry__icon {
		width: 43px;
		height: 43px;
		flex-basis: 43px;
		border-radius: 12px;
	}

	.mbcd-inquiry__icon svg {
		width: 23px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mbcd-app *,
	.mbcd-app *::before,
	.mbcd-app *::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
