/* Business Profile presentation built on the shared Marby Forms controls. */

/*
 * Moved to Marby Suite's shared Forms page-composition layer. Retained for
 * rollback only; these page-level common rules must not compete with master.
 */
/*
.frm-business-profile-page {
	width: calc(100vw - (2 * var(--marby-page-gutter)));
	max-width: none;
	margin: 0;
}

.frm-business-profile-header {
	display: flex;
	gap: 32px;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 26px;
}

.frm-business-profile-header > div {
	max-width: 900px;
}

.frm-business-profile-header h1 {
	margin: 18px 0 10px;
	font-size: clamp(42px, 5vw, 68px);
	line-height: 1;
	letter-spacing: -.035em;
}

.frm-business-profile-header p {
	max-width: 860px;
	margin: 0;
	color: var(--marby-color-marby-blue);
	font-size: clamp(20px, 2.1vw, 30px);
	line-height: 1.2;
}

.frm-business-profile-header .marby-btn-primary {
	flex: 0 0 auto;
}

.frm-business-profile-progress {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 24px;
	align-items: center;
	margin-bottom: 22px;
	padding: 22px 24px;
	border: 1px solid var(--marby-color-border-light);
	background: var(--marby-color-soft-blue);
}

.frm-business-profile-progress h2 {
	margin: 0 0 5px;
	font-size: 21px;
}

.frm-business-profile-progress p {
	margin: 0;
	color: var(--marby-color-muted);
}

.frm-business-profile-progress-track {
	height: 8px;
	margin-top: 13px;
	overflow: hidden;
	background: var(--marby-color-soft-blue);
}

.frm-business-profile-progress-track span {
	display: block;
	width: 0;
	height: 100%;
	background: var(--marby-color-marby-blue);
	transition: width .2s ease;
}

.frm-business-profile-progress-value {
	color: var(--marby-color-marby-blue-dark);
	font-size: 34px;
	line-height: 1;
}
*/

/*
.frm-business-profile-builder {
	margin-bottom: 24px;
	border: 1px solid var(--marby-color-border-light);
	background: var(--marby-color-light-tan);
}
*/

/*
.frm-business-profile-intro {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	gap: 22px;
	padding: 30px;
	border-bottom: 1px solid var(--marby-color-border-light);
}

.frm-business-profile-intro-icon {
	display: grid;
	width: 52px;
	height: 52px;
	place-items: center;
	border-radius: 50%;
	background: var(--marby-color-marby-blue);
	color: var(--marby-color-white);
	font-size: 21px;
	font-weight: 700;
}

.frm-business-profile-intro h2 {
	margin: 0 0 8px;
	font-size: 27px;
}

.frm-business-profile-intro p {
	max-width: 1000px;
	margin: 0;
}
*/

.frm-business-profile-page .marby-form {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.frm-business-profile-page .marby-form-loading {
	padding: 28px;
	background: var(--marby-color-white);
}

.frm-business-profile-page .marby-form-questions {
	display: block;
}

.frm-business-profile-page .marby-question {
	min-width: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: var(--marby-color-white);
}

.frm-business-profile-page .marby-q-header[hidden] {
	display: none;
}

.frm-business-profile-page .frm-business-profile-sections {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-areas:
		"section-1 section-2"
		"section-3 section-3"
		"section-4 section-4"
		"section-5 section-6";
	gap: 0;
}

.frm-business-profile-section {
	min-width: 0;
	padding: 26px 28px;
	border-right: 1px solid var(--marby-color-border-light);
	border-bottom: 1px solid var(--marby-color-border-light);
	background: var(--marby-color-white);
}

.frm-business-profile-section:nth-child(even) {
	border-right: 0;
	background: var(--marby-color-soft-tan);
}

.frm-business-profile-section.is-full {
	grid-column: 1 / -1;
	border-right: 0;
}

.frm-business-profile-section-1 {
	grid-area: section-1;
}
.frm-business-profile-section-2 {
	grid-area: section-2;
}
.frm-business-profile-section-3 {
	grid-area: section-3;
}
.frm-business-profile-section-4 {
	grid-area: section-4;
}
.frm-business-profile-section-5 {
	grid-area: section-5;
}
.frm-business-profile-section-6 {
	grid-area: section-6;
}
.frm-business-profile-section-7 {
	grid-area: section-7;
	border-right: 0;
}
.frm-business-profile-section-8 {
	grid-area: section-8;
	background: var(--marby-color-white) !important;
}
.frm-business-profile-section-9 {
	grid-area: section-9;
	border-right: 0;
	background: var(--marby-color-soft-tan);
}

.frm-business-profile-section-heading {
	margin-bottom: 18px;
}

.frm-business-profile-section-heading span {
	display: block;
	margin-bottom: 6px;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.frm-business-profile-section-heading h3 {
	margin: 0;
	font-size: 22px;
	line-height: 1.25;
}

.frm-business-profile-section-fields {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

.frm-business-profile-page .marby-input-row {
	min-width: 0;
	padding: 0;
}

.frm-business-profile-page .marby-image-upload-row {
	margin-top: 0;
	padding: 0;
	border-top: 0;
}

/*
.frm-business-profile-page .marby-image-upload-row > .marby-input-label,
.frm-business-profile-page .marby-image-upload-row > h3.marby-input-label {
	margin: 0 0 7px !important;
	padding: 0 !important;
	border: 0 !important;
	font-family: inherit !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 1.4 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
}
*/

.frm-business-profile-page .is-single-upload .marby-image-dropzone {
	display: grid;
	box-sizing: border-box;
	width: 100%;
	height: auto;
	min-height: 0;
	place-items: center;
	margin: 0;
	padding: 18px;
	border-radius: var(--marby-radius-xs);
}

.frm-business-profile-page .is-single-upload .marby-image-upload-preview-list {
	display: none;
	grid-template-columns: minmax(0, 1fr);
	width: 100%;
	margin: 0;
	place-items: center;
}

.frm-business-profile-page
	.is-single-upload
	.has-image
	.marby-image-upload-preview-list {
	display: grid;
}

.frm-business-profile-page
	.is-single-upload
	.has-image
	.marby-image-dropzone-instructions {
	display: none;
}

.frm-business-profile-page .is-single-upload .has-image .marby-image-dropzone {
	display: block;
	width: 100%;
	height: auto;
	padding: 0;
	border-color: transparent;
	background: transparent;
}

.frm-business-profile-page .is-single-upload .marby-upload-preview {
	display: grid;
	grid-template-rows: auto auto;
	gap: 8px;
	width: 100%;
	height: auto;
	aspect-ratio: auto;
	border: 0;
	border-radius: 0;
	background: transparent;
	overflow: visible;
}

.frm-business-profile-page .is-single-upload .marby-upload-preview img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 320px;
	margin: 0 auto;
	object-fit: contain;
	cursor: pointer;
}

.frm-business-profile-page
	.is-single-upload
	.marby-upload-preview.is-landscape
	img {
	width: auto;
	max-width: min(100%, 700px);
	max-height: 280px;
}

.frm-business-profile-page
	.is-single-upload
	.marby-upload-preview.is-square
	img {
	width: min(100%, 280px);
	max-height: 280px;
}

.frm-business-profile-page
	.is-single-upload
	.marby-upload-preview.is-portrait
	img {
	width: auto;
	max-width: min(100%, 320px);
	max-height: 440px;
}

.frm-business-profile-page .is-single-upload .marby-image-preview-delete {
	position: static;
	width: auto;
	height: auto;
	margin: 0 auto;
	padding: 2px 4px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: transparent;
	font-size: 0;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
	opacity: 1;
}

.frm-business-profile-page
	.is-single-upload
	.marby-image-preview-delete::after {
	content: "Delete Logo";
	color: var(--marby-color-text);
	font-size: 14px;
	font-weight: 500;
	text-decoration: underline;
}

.frm-business-profile-page .marby-input-label {
	display: block;
	margin-bottom: 7px;
	color: var(--marby-color-text);
	font-size: 14px;
	font-weight: 500;
}

.frm-business-profile-page .marby-input,
.frm-business-profile-page input[type="text"],
.frm-business-profile-page input[type="url"],
.frm-business-profile-page select,
.frm-business-profile-page textarea {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	border: 1px solid var(--marby-color-border);
	border-radius: var(--marby-radius-xs);
	background: var(--marby-color-white);
	/* Shared Forms input colour is owned by marby-master.css. */
	/* color: var(--marby-color-black) !important; */
}

.frm-business-profile-page input[type="text"],
.frm-business-profile-page input[type="url"],
.frm-business-profile-page select {
	min-height: 46px;
	padding: 0 14px;
}

.frm-business-profile-page textarea {
	min-height: 150px;
	padding: 14px;
	line-height: 1.55;
	resize: vertical;
}

.frm-business-profile-page .frm-business-profile-section-3 textarea {
	min-height: 96px;
}

.frm-business-profile-page .marby-input:focus,
.frm-business-profile-page input[type="text"]:focus,
.frm-business-profile-page input[type="url"]:focus,
.frm-business-profile-page select:focus {
	border-color: var(--marby-color-marby-blue);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(112, 170, 221, 0.15);
}

/* Retired: shared response textarea primitives own response focus styling. */
/* .frm-business-profile-page textarea:focus { } */

.frm-business-profile-page .marby-inline-group {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

.frm-business-profile-page .marby-inline-option {
	display: flex;
	min-height: 50px;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid var(--marby-color-border);
	background: var(--marby-color-white);
	cursor: pointer;
}

.frm-business-profile-page .marby-inline-option:has(input:checked) {
	border-color: var(--marby-color-marby-blue);
	background: var(--marby-color-soft-blue);
	color: var(--marby-color-marby-blue-dark);
}

.frm-business-profile-page .select2-container {
	width: 100% !important;
}

.frm-business-profile-page
	.select2-container--default
	.select2-selection--multiple {
	box-sizing: border-box !important;
	width: 100% !important;
	height: auto !important;
	min-height: 48px !important;
	padding: 7px 9px !important;
	overflow: visible !important;
	border-color: var(--marby-color-border) !important;
	border-radius: 0 !important;
	background: var(--marby-color-white) !important;
}

.frm-business-profile-page
	.select2-container--default
	.select2-selection--multiple
	.select2-selection__rendered {
	display: flex !important;
	min-height: 32px;
	flex-wrap: wrap;
	gap: 7px;
	align-items: center;
	margin: 0 !important;
	padding: 0 !important;
}

.frm-business-profile-page .select2-container--default .select2-search--inline,
.frm-business-profile-page .select2-container--default .select2-search__field {
	width: auto !important;
	min-width: 120px;
	height: 30px !important;
	min-height: 30px !important;
	margin: 0 !important;
	padding: 0 4px !important;
}

.frm-business-profile-page
	.select2-container--default
	.select2-selection--multiple
	.select2-selection__choice {
	border: 0;
	background: var(--marby-color-soft-blue);
}

.frm-business-profile-page .marby-ai-actions {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 18px;
	align-items: center;
	margin: 0;
	padding: 26px 28px;
	border-bottom: 1px solid var(--marby-color-border-light);
	background: var(--marby-color-soft-blue);
}

.frm-business-profile-build-copy h3 {
	margin: 0 0 5px;
	font-size: 23px;
}

.frm-business-profile-build-copy p {
	margin: 0;
}

.frm-business-profile-page .marby-ai-actions .mai-status {
	grid-column: 1 / -1;
	margin: 0;
}

.frm-business-profile-page .marby-ai-actions .ask-mai-btn {
	border-color: var(--marby-color-marby-blue) !important;
	background: var(--marby-color-marby-blue) !important;
	color: var(--marby-color-white) !important;
}

.frm-business-profile-page .marby-ai-editor-wrap {
	margin: 22px 0 0;
	padding: 0;
	border: 0;
	background: var(--marby-color-white);
}

.frm-business-profile-response {
	display: grid;
	gap: 18px;
}

.frm-business-profile-response-card {
	border: 1px solid var(--marby-color-border-light);
	background: var(--marby-color-white);
	box-shadow: var(--marby-shadow-soft);
}

.frm-business-profile-response-card > header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 20px 22px;
	border-bottom: 1px solid var(--marby-color-border-light);
}

/* Retired: Business Profile response headings use shared master typography. */
/* .frm-business-profile-response-card > header h3 {
	margin: 0;
	font-size: 23px;
} */

.frm-business-profile-response-number {
	display: grid;
	width: 32px;
	height: 32px;
	flex: 0 0 auto;
	place-items: center;
	border-radius: 50%;
	background: var(--marby-color-marby-blue);
	color: var(--marby-color-white);
	font-size: 14px;
	font-weight: 700;
}

/* Retired: shared response-card spacing owns the response content edge. */
/* .frm-business-profile-response-body { padding: 20px 22px; } */

/* Retired: shared response textarea primitives own all response textarea styles. */
/* .frm-business-profile-page .frm-business-profile-response-textarea,
.frm-business-profile-page .frm-business-profile-insight-textarea { } */

.frm-business-profile-snapshot-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
}

.frm-business-profile-snapshot-item {
	min-width: 0;
	padding: 17px;
	border: 1px solid var(--marby-color-border-light);
	background: var(--marby-color-soft-tan);
}

.frm-business-profile-snapshot-item .frm-business-profile-snapshot-label {
	display: block;
	margin-bottom: 6px;
	padding: 0;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.frm-business-profile-snapshot-item .frm-business-profile-snapshot-value {
	display: block;
	margin: 0;
	padding: 0;
	overflow-wrap: break-word;
	line-height: 1.35;
}

.frm-business-profile-insights-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.frm-business-profile-insight-item {
	min-width: 0;
	padding: 18px;
	border: 1px solid var(--marby-color-border-light);
	background: var(--marby-color-white);
}

.frm-business-profile-insight-item:nth-child(2),
.frm-business-profile-insight-item:nth-child(3) {
	background: var(--marby-color-soft-tan);
}

.frm-business-profile-insight-item label {
	display: block;
	margin-bottom: 9px;
	font-size: 16px;
	font-weight: 700;
}

/* Retired: the shared small textarea token owns this height. */
/* .frm-business-profile-page .frm-business-profile-insight-textarea { min-height: 130px; } */

.frm-business-profile-response-card:nth-child(3)
	.frm-business-profile-response-body {
	background: var(--marby-color-soft-tan);
}

.frm-business-profile-response-card:last-child {
	border-left: 4px solid var(--marby-color-marby-blue);
	background: var(--marby-color-soft-blue);
}

.frm-business-profile-response-card:last-child
	.frm-business-profile-response-body,
.frm-business-profile-response-card:last-child
	.frm-business-profile-response-textarea {
	background: var(--marby-color-marby-blue);
}

/* Superseded: shared save-panel presentation now belongs to marby-master.css.
.frm-business-profile-page .marby-save-actions {
	justify-content: space-between;
	margin-top: 20px;
	padding: 22px 24px;
	background: var(--marby-color-marby-blue);
	color: var(--marby-color-white);
}
*/

.frm-business-profile-save-copy h3 {
	margin: 0 0 4px;
	color: var(--marby-color-white);
	font-size: 24px;
}

.frm-business-profile-save-copy p {
	margin: 0;
}

.frm-business-profile-page .marby-save-actions .save-status {
	color: var(--marby-color-white);
}

.frm-business-profile-page .marby-save-actions .save-mai-btn {
	border-color: var(--marby-color-white) !important;
	background: var(--marby-color-white) !important;
	color: var(--marby-color-black) !important;
}

.frm-business-profile-page .frm-response-source[hidden] {
	display: none !important;
}

@media (max-width: 1000px) {
	.frm-business-profile-page .frm-business-profile-sections {
		grid-template-columns: 1fr;
		grid-template-areas:
			"section-1"
			"section-2"
			"section-3"
			"section-4"
			"section-5"
			"section-6"
			"section-7"
			"section-8"
			"section-9";
	}

	.frm-business-profile-section,
	.frm-business-profile-section:nth-child(even) {
		border-right: 0;
	}

	.frm-business-profile-snapshot-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.frm-business-profile-page
		.is-single-upload
		.marby-upload-preview.is-square
		img {
		width: min(100%, 240px);
		max-height: 240px;
	}

	.frm-business-profile-page
		.is-single-upload
		.marby-upload-preview.is-portrait
		img {
		max-width: min(100%, 240px);
		max-height: 340px;
	}

	.frm-business-profile-header,
	.frm-business-profile-progress {
		grid-template-columns: 1fr;
	}

	.frm-business-profile-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.frm-business-profile-header .marby-btn-primary {
		width: 100%;
	}

	.frm-business-profile-intro {
		grid-template-columns: 1fr;
		padding: 24px 20px;
	}

	.frm-business-profile-section {
		padding: 24px 20px;
	}

	.frm-business-profile-section-fields,
	.frm-business-profile-page .marby-inline-group,
	.frm-business-profile-page .marby-ai-actions,
	.frm-business-profile-insights-grid,
	.frm-business-profile-snapshot-grid {
		grid-template-columns: 1fr;
	}

	.frm-business-profile-page .marby-ai-actions .ask-mai-btn,
	.frm-business-profile-page .marby-save-actions .save-mai-btn {
		width: 100%;
	}

	.frm-business-profile-page .marby-save-actions {
		flex-direction: column;
		align-items: stretch;
	}
}

/*
 * Legacy first-pass composition, retained as a rollback reference.
 * Shared page, question-header, question-intro, and Ask MAI presentation now
 * belongs to Marby Suite's master stylesheet.
 */
/*
.frm-business-profile-page {
	padding-top: 0;
	background: var(--marby-color-white);
}

.frm-business-profile-header {
	position: relative;
	min-height: 330px;
	margin-bottom: 0;
	padding: 74px clamp(24px, 5vw, 72px) 64px;
	overflow: hidden;
	background: linear-gradient(
		180deg,
		var(--marby-color-white) 0%,
		var(--marby-color-white) 70%,
		var(--marby-color-soft-tan) 100%
	);
}

.frm-business-profile-header::before {
	position: absolute;
	top: -165px;
	right: -145px;
	width: 390px;
	height: 390px;
	border: 1px solid var(--marby-color-marby-blue);
	border-radius: 50%;
	box-shadow: 0 0 0 42px var(--marby-color-soft-blue);
	content: "";
	opacity: .55;
}

.frm-business-profile-header::after {
	position: absolute;
	bottom: 34px;
	left: 6%;
	width: 160px;
	height: 76px;
	background:
		linear-gradient(var(--marby-color-marby-blue), var(--marby-color-marby-blue)) left top / 76px 1px no-repeat,
		linear-gradient(var(--marby-color-marby-blue), var(--marby-color-marby-blue)) left top / 1px 45px no-repeat,
		linear-gradient(var(--marby-color-marby-blue), var(--marby-color-marby-blue)) right bottom / 92px 1px no-repeat,
		linear-gradient(var(--marby-color-marby-blue), var(--marby-color-marby-blue)) right bottom / 1px 38px no-repeat;
	content: "";
	opacity: .7;
}

.frm-business-profile-header-copy {
	position: relative;
	z-index: 1;
	max-width: 940px;
}

.frm-business-profile-header .marby-eyebrow,
.frm-business-profile-intro .marby-eyebrow {
	color: var(--marby-color-brown);
}

.frm-business-profile-header h1 {
	margin: 18px 0;
	font-size: clamp(46px, 5.7vw, 76px);
	font-weight: var(--marby-font-weight-light);
	line-height: 1.02;
	letter-spacing: -0.045em;
}

.frm-business-profile-header h1 strong,
.frm-business-profile-intro h2 strong {
	font-weight: var(--marby-font-weight-bold);
}

.frm-business-profile-header p {
	max-width: 900px;
	color: var(--marby-color-brown);
	font-size: clamp(20px, 2vw, 27px);
	font-weight: var(--marby-font-weight-regular);
	line-height: 1.4;
}

.frm-business-profile-progress {
	position: relative;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 40px;
	margin: 0;
	padding: 54px clamp(24px, 5vw, 72px);
	border: 0;
	background: var(--marby-color-white);
}

.frm-business-profile-progress::after {
	position: absolute;
	top: 0;
	right: 7%;
	width: 220px;
	height: 100%;
	background-image: radial-gradient(var(--marby-color-marby-blue) 1px, transparent 1.5px);
	background-size: 16px 16px;
	content: "";
	opacity: .24;
	pointer-events: none;
}

.frm-business-profile-progress > div,
.frm-business-profile-progress-value {
	position: relative;
	z-index: 1;
}

.frm-business-profile-progress h2 {
	margin-bottom: 8px;
	font-size: clamp(24px, 2.4vw, 32px);
	font-weight: var(--marby-font-weight-light);
}

.frm-business-profile-progress p {
	max-width: 720px;
	font-weight: var(--marby-font-weight-regular);
}

.frm-business-profile-progress-track {
	height: 10px;
	border-radius: var(--marby-radius-pill);
	background: var(--marby-color-soft-blue);
}

.frm-business-profile-progress-track span {
	background: linear-gradient(
		90deg,
		var(--marby-color-marby-blue),
		var(--marby-color-marby-blue)
	);
}

.frm-business-profile-progress-value {
	color: var(--marby-color-marby-blue-dark);
	font-size: clamp(38px, 5vw, 62px);
	font-weight: var(--marby-font-weight-light);
}

/*
.frm-business-profile-builder {
	position: relative;
	left: 50%;
	width: 100vw;
	margin: 0;
	border: 0;
	background: var(--marby-color-soft-tan);
	transform: translateX(-50%);
}

.frm-business-profile-subnav {
	position: relative;
	left: auto;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	transform: none;
}

.frm-business-profile-intro {
	position: relative;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 24px;
	max-width: none;
	padding: 68px clamp(24px, 5vw, 72px);
	border: 0;
	background: var(--marby-color-black);
	color: var(--marby-color-white);
	overflow: hidden;
}

.frm-business-profile-intro::after {
	position: absolute;
	inset: 0;
	background-image: radial-gradient(var(--marby-color-white) .8px, transparent .8px);
	background-size: 28px 28px;
	content: "";
	opacity: .14;
	pointer-events: none;
}

.frm-business-profile-intro-number,
.frm-business-profile-response-number {
	position: relative;
	z-index: 1;
	display: grid;
	width: 54px;
	height: 54px;
	place-items: center;
	border-radius: 50%;
	background: var(--marby-color-marby-blue);
	color: var(--marby-color-white);
	font-size: 20px;
	font-weight: var(--marby-font-weight-bold);
}

.frm-business-profile-intro-copy {
	position: relative;
	z-index: 1;
	max-width: 1040px;
}

.frm-business-profile-intro .marby-eyebrow {
	color: var(--marby-color-marby-blue);
}

.frm-business-profile-intro h2 {
	margin: 0 0 16px;
	color: var(--marby-color-white);
	font-size: clamp(32px, 3.8vw, 52px);
	font-weight: var(--marby-font-weight-light);
	line-height: 1.1;
}

.frm-business-profile-intro p {
	max-width: 1050px;
	margin: 0;
	color: var(--marby-color-white);
	font-size: 17px;
	font-weight: var(--marby-font-weight-regular);
	line-height: 1.75;
	opacity: .84;
}

.frm-business-profile-section {
	padding: 34px clamp(24px, 3vw, 42px);
	border-color: var(--marby-color-border);
}

.frm-business-profile-section:nth-child(even),
.frm-business-profile-section-9 {
	background: var(--marby-color-soft-blue);
}

.frm-business-profile-section-heading {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	margin-bottom: 22px;
}

.frm-business-profile-section-heading span {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	margin: 0;
	border-radius: var(--marby-radius-md);
	background: var(--marby-color-soft-blue);
	color: var(--marby-color-marby-blue-dark);
	font-size: 12px;
	letter-spacing: var(--marby-letter-spacing-none);
}

.frm-business-profile-section:nth-child(even) .frm-business-profile-section-heading span {
	background: var(--marby-color-white);
	color: var(--marby-color-marby-blue);
}

.frm-business-profile-section-heading h3 {
	padding-top: 4px;
	font-size: 23px;
	font-weight: var(--marby-font-weight-light);
}

.frm-business-profile-page .marby-input-label,
.frm-business-profile-page .marby-image-upload-row > .marby-input-label,
.frm-business-profile-page .marby-image-upload-row > h3.marby-input-label {
	color: var(--marby-color-text);
	font-weight: var(--marby-font-weight-bold) !important;
}

.frm-business-profile-page .marby-input,
.frm-business-profile-page input[type="text"],
.frm-business-profile-page input[type="url"],
.frm-business-profile-page select,
.frm-business-profile-page textarea,
.frm-business-profile-page .select2-container--default .select2-selection--multiple {
	border-radius: 12px;
}

.frm-business-profile-page .marby-inline-option {
	border-radius: 12px;
	font-weight: var(--marby-font-weight-medium);
}

.frm-business-profile-page .marby-inline-option:has(input:checked) {
	color: var(--marby-color-marby-blue-dark);
}

.frm-business-profile-page .marby-ai-actions {
	padding: 44px clamp(24px, 5vw, 72px);
	border: 0;
	background: var(--marby-color-white);
}

.frm-business-profile-build-copy h3 {
	font-size: clamp(26px, 3vw, 36px);
	font-weight: var(--marby-font-weight-light);
}

.frm-business-profile-page .marby-ai-actions .ask-mai-btn {
	min-height: 52px;
	padding: 0 26px;
	border-radius: var(--marby-radius-pill);
}

.frm-business-profile-response {
	padding: 62px clamp(24px, 5vw, 72px);
	background: var(--marby-color-soft-tan);
}

.frm-business-profile-response-card {
	border: 0;
	border-radius: var(--marby-radius-xl);
	box-shadow: var(--marby-shadow-soft);
	overflow: hidden;
}

.frm-business-profile-response-card > header {
	padding: 24px 28px;
}

/* Retired: Business Profile response headings use shared master typography. */
/* .frm-business-profile-response-card > header h3 {
	font-weight: var(--marby-font-weight-light);
} */

.frm-business-profile-response-number {
	width: 36px;
	height: 36px;
	font-size: 14px;
}
/*
.frm-business-profile-page .marby-save-actions {
	margin-top: 0;
	padding: 58px clamp(24px, 5vw, 72px);
	background: var(--marby-color-black);
}
*/
.frm-business-profile-save-copy h3 {
	font-size: clamp(28px, 3vw, 38px);
	font-weight: var(--marby-font-weight-light);
}

/* Retired: the shared secondary action size now owns Business Profile save controls. */
/* .frm-business-profile-page .marby-save-actions .save-mai-btn { } */

@media (max-width: 760px) {
	.frm-business-profile-header {
		min-height: auto;
		padding: 52px 24px;
	}

	.frm-business-profile-progress,
	.frm-business-profile-intro,
	.frm-business-profile-page .marby-ai-actions,
	.frm-business-profile-response,
	.frm-business-profile-page .marby-save-actions {
		padding-right: 24px;
		padding-left: 24px;
	}

	.frm-business-profile-progress::after {
		display: none;
	}

	.frm-business-profile-intro {
		grid-template-columns: 1fr;
		padding-top: 52px;
		padding-bottom: 52px;
	}

	.frm-business-profile-section-heading {
		grid-template-columns: 34px minmax(0, 1fr);
	}
}
*/

/* =========================================================
   Business Profile-Specific Question Composition
   ========================================================= */

/* Retired: the shared .marby-forms-question-nav owns Business Profile navigation. */
/* .frm-business-profile-subnav { margin-top: 0; } */

.frm-business-profile-builder {
	margin: 0;
	border: 0;
	background: var(--marby-color-soft-tan);
}

.frm-business-profile-builder .frm-business-profile-intro,
.frm-business-profile-builder .marby-form,
.frm-business-profile-builder .marby-question {
	background: transparent !important;
}

.frm-business-profile-page .frm-business-profile-sections {
	box-sizing: border-box;
	width: min(1480px, calc(100% - (2 * var(--marby-page-gutter))));
	margin: 0 auto;
	grid-template-areas:
		"section-1 section-2"
		"section-3 section-3"
		"section-4 section-4"
		"section-5 section-6";
	gap: 24px;
	padding: 0 0 64px;
}

.frm-business-profile-section,
.frm-business-profile-section:nth-child(even) {
	padding: 30px;
	border: 1px solid var(--marby-color-border);
	border-radius: var(--marby-radius-xl);
	background: var(--marby-color-white) !important;
}

.frm-business-profile-section:nth-child(even) {
	background: var(--marby-color-soft-blue) !important;
}

.frm-business-profile-section-heading {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-bottom: 20px;
}

.frm-business-profile-section-icon {
	display: grid;
	width: 42px;
	height: 42px;
	flex: 0 0 auto;
	place-items: center;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--marby-color-marby-blue-dark);
	font-size: 32px;
	font-weight: var(--marby-font-weight-bold);
}

/*
.frm-business-profile-section:nth-child(even)
	.frm-business-profile-section-icon {
	background: transparent;
	color: var(--marby-color-marby-blue);
}
*/

.frm-business-profile-section-heading h3 {
	padding: 0;
	font-size: 23px;
	font-weight: var(--marby-font-weight-light);
}

.frm-business-profile-page
	.select2-container--default
	.select2-selection--multiple,
.frm-business-profile-page textarea {
	border-radius: 12px !important;
}

.frm-business-profile-page .marby-inline-option,
.frm-business-profile-page .marby-inline-option > label {
	border-radius: 12px !important;
}

.frm-business-profile-page .marby-inline-option {
	overflow: hidden;
}

.frm-business-profile-page
	.select2-container--default
	.select2-selection__choice {
	padding: 6px 10px;
	border: 0 !important;
	border-radius: var(--marby-radius-pill);
	background: var(--marby-color-soft-blue) !important;
	color: var(--marby-color-marby-blue-dark);
	font-weight: var(--marby-font-weight-bold);
}

.frm-business-profile-page
	.select2-container--default
	.select2-selection__choice__remove {
	margin-right: 5px;
	border: 0 !important;
	background: transparent !important;
	color: inherit !important;
	font-size: 16px;
	font-weight: var(--marby-font-weight-regular);
}

.frm-business-profile-page
	.select2-container--default
	.select2-selection__choice__remove:hover,
.frm-business-profile-page
	.select2-container--default
	.select2-selection__choice__remove:focus {
	border: 0 !important;
	background: transparent !important;
	color: var(--marby-color-black) !important;
	outline: 0;
}

.frm-business-profile-page .marby-ai-actions {
	width: min(1480px, calc(100% - (2 * var(--marby-page-gutter))));
	margin: 0 auto 64px;
}

.frm-business-profile-page .marby-forms-ai-actions-copy h3 {
	color: var(--marby-color-white);
}

.frm-business-profile-page .marby-forms-ai-actions-copy .marby-eyebrow {
	display: block;
	margin-bottom: 8px;
	color: var(--marby-color-marby-blue);
}

.frm-business-profile-page .marby-ai-actions .ask-mai-btn:hover,
.frm-business-profile-page .marby-ai-actions .ask-mai-btn:focus-visible {
	border-color: var(--marby-color-white) !important;
	background: var(--marby-color-white) !important;
	color: var(--marby-color-marby-blue-dark) !important;
	outline: 0;
}

@media (max-width: 1000px) {
	.frm-business-profile-page .frm-business-profile-sections {
		grid-template-areas:
			"section-1"
			"section-2"
			"section-3"
			"section-4"
			"section-5"
			"section-6";
		padding-bottom: 48px;
	}
}

@media (max-width: 640px) {
	.frm-business-profile-page .frm-business-profile-sections {
		gap: 16px;
		width: calc(100% - 40px);
	}

	.frm-business-profile-section,
	.frm-business-profile-section:nth-child(even) {
		padding: 22px;
	}
}

/* =========================================================
   Business Profile Response Stage
   ========================================================= */

.frm-business-profile-page .marby-forms-review-section {
	margin: 0;
	padding: 78px 0;
	background: var(--marby-color-white);
}

.frm-business-profile-page .frm-business-profile-review-intro,
.frm-business-profile-page .frm-business-profile-response {
	width: min(1480px, calc(100% - (2 * var(--marby-page-gutter))));
	margin-right: auto;
	margin-left: auto;
}

.frm-business-profile-page .frm-business-profile-response {
	gap: 24px;
}

.frm-business-profile-page .frm-business-profile-response-card {
	margin: 0;
}

.frm-business-profile-page
	.frm-business-profile-response-card
	> .frm-business-profile-response-intro {
	display: grid;
	grid-column: 1 / -1;
	grid-row: 1;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 18px;
	align-items: start;
	margin: 0;
	padding: 0;
	border: 0;
}

.frm-business-profile-page
	.frm-business-profile-response-intro
	.frm-business-profile-response-number {
	width: 44px;
	height: 44px;
	border-radius: var(--marby-radius-md);
	background: var(--marby-color-marby-blue);
	color: var(--marby-color-white);
	font-size: 12px;
	font-weight: var(--marby-font-weight-bold);
}

/* Retired: response titles now use the shared eyebrow and master heading styles. */
/* .frm-business-profile-page .frm-business-profile-response-card > header h3 { } */

.frm-business-profile-page .frm-business-profile-response-body {
	grid-column: 1 / -1;
	grid-row: 2;
	min-width: 0;
	padding: 0;
}

.frm-business-profile-page .frm-business-profile-response-card.is-snapshot {
	background: var(--marby-color-white);
}

.frm-business-profile-page .frm-business-profile-snapshot-grid {
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 16px;
}

.frm-business-profile-page .frm-business-profile-snapshot-item {
	border-radius: var(--marby-radius-md);
}

/* Retired: .marby-textarea-medium in marby-master.css owns this textarea height. */
/* .frm-business-profile-page .frm-business-profile-response-card.is-overview .frm-business-profile-response-textarea { min-height: 150px; } */

.frm-business-profile-page .frm-business-profile-insights-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.frm-business-profile-page .frm-business-profile-insight-item {
	padding: 20px;
	border-radius: var(--marby-radius-md);
	background: transparent;
}

.frm-business-profile-page .frm-business-profile-insight-item label {
	display: flex;
	gap: 10px;
	align-items: center;
}

.frm-business-profile-page .frm-business-profile-insight-item label::before {
	display: grid;
	width: 24px;
	height: 24px;
	flex: 0 0 auto;
	place-items: center;
	border-radius: 50%;
	background: var(--marby-color-marby-blue);
	color: var(--marby-color-white);
	content: "\2726";
	font-size: 12px;
}

/* Retired: the shared small textarea token owns this height. */
/* .frm-business-profile-page .frm-business-profile-insight-textarea { min-height: 96px; } */

.frm-business-profile-page
	.frm-business-profile-response-card.is-insights
	.frm-business-profile-response-body {
	background: transparent;
}

.frm-business-profile-page .frm-business-profile-response-card.is-summary {
	border-left: 0;
	background: var(--marby-color-soft-blue);
}

.frm-business-profile-page
	.frm-business-profile-response-card.is-summary
	.frm-business-profile-response-body,
.frm-business-profile-page
	.frm-business-profile-response-card.is-summary
	.frm-business-profile-response-textarea {
	background: var(--marby-color-soft-blue);
}

/* Superseded: shared save-panel presentation now belongs to marby-master.css.
.frm-business-profile-page .marby-save-actions {
	display: block;
	margin-top: 0;
	padding: 58px 0;
	background: var(--marby-color-black);
	color: var(--marby-color-white);
}

.frm-business-profile-page .marby-save-actions p {
	color: var(--marby-color-white);
}
*/

/* Save panel layout, width, action roles, and spacing are shared in marby-master.css. */

@media (max-width: 1200px) {
	.frm-business-profile-page .frm-business-profile-snapshot-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.frm-business-profile-page .marby-forms-review-section {
		padding-top: 56px;
		padding-bottom: 56px;
	}

	.frm-business-profile-page .frm-business-profile-review-intro,
	.frm-business-profile-page .frm-business-profile-response {
		width: calc(100% - 40px);
	}

	.frm-business-profile-page .frm-business-profile-snapshot-grid,
	.frm-business-profile-page .frm-business-profile-insights-grid {
		grid-template-columns: 1fr;
	}

}
