.nsda {
	--nsda-bg: #fff;
	--nsda-width: 1200px;
	--nsda-text: #101828;
	--nsda-muted: #57616e;
	--nsda-border: #e4e7ec;
	--nsda-accent: #101828;
	--nsda-font: inherit;
	box-sizing: border-box;
	position: relative;
	width: var(--nsda-width);
	max-width: 100%;
	min-width: 0;
	flex-shrink: 0;
	contain: inline-size;
	margin-inline: auto;
	padding: clamp(24px, 3.8vw, 48px);
	background: var(--nsda-bg);
	color: var(--nsda-text);
	border: 0;
	border-radius: 24px;
	font-family: var(--nsda-font);
	font-size: 16px;
	line-height: 1.6;
	text-align: start;
	color-scheme: light;
	box-shadow: 0 4px 24px rgb(16 24 40 / 3%);
}
.nsda *,
.nsda *::before,
.nsda *::after {
	box-sizing: border-box;
}
.nsda [hidden] {
	display: none !important;
}
.nsda p {
	margin: 0;
	white-space: pre-line;
}
.nsda .nsda-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 26px;
}
.nsda .nsda-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #475467;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.065em;
	line-height: 1.5;
}
.nsda .nsda-brand-divider {
	color: #98a2b3;
	font-weight: 400;
}
.nsda .nsda-counter {
	flex-shrink: 0;
	color: #475467;
	font-size: 16px;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.03em;
}
.nsda .nsda-progress {
	display: flex;
	gap: 8px;
	width: 100%;
	margin-bottom: 32px;
}
.nsda .nsda-segment {
	flex: 1;
	min-width: 0;
	height: 4px;
	border-radius: 4px;
	background: #edf0f3;
}
.nsda .nsda-segment.is-active {
	background: #89979c;
}
.nsda .nsda-title {
	display: block;
	width: 100%;
	max-width: 100%;
	padding: 0;
	margin: 0 0 14px;
	color: var(--nsda-text);
	font-size: clamp(20px, 2vw, 26px);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.035em;
}
.nsda h3 {
	color: var(--nsda-text);
	font-size: clamp(21px, 2.6vw, 28px);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.02em;
	margin: 0 0 12px;
}
.nsda .nsda-question-hint {
	color: var(--nsda-muted);
	font-size: 14px;
	margin-bottom: 24px;
}
.nsda .nsda-assessment-description {
	color: var(--nsda-muted);
	font-size: 15px;
	margin: 0 0 20px;
}
.nsda fieldset {
	border: 0;
	padding: 0;
	margin: 0;
	min-width: 0;
}
.nsda .nsda-answer {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 76px;
	width: 100%;
	padding: 20px 24px;
	margin: 0 0 12px;
	border: 1px solid var(--nsda-border);
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
	color: var(--nsda-text);
	font-weight: 500;
	font-size: clamp(15px, 1.5vw, 18px);
	line-height: 1.45;
	transition:
		background 0.15s,
		border-color 0.15s,
		box-shadow 0.15s;
}
.nsda .nsda-answer:hover {
	border-color: #b8c2cc;
	background: #fafbfc;
}
.nsda .nsda-answer.is-selected {
	border-color: var(--nsda-accent);
	background: #f6f8fa;
	box-shadow: 0 0 0 1px var(--nsda-accent);
}
.nsda .nsda-answer input[type='radio'] {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	margin: 0;
	inset: 50% auto auto 14px;
}
.nsda .nsda-answer-label {
	overflow-wrap: anywhere;
}
.nsda .nsda-answer-arrow {
	flex-shrink: 0;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	color: #667085;
	font-size: 25px;
	font-weight: 400;
}
.nsda .nsda-answer-arrow::after {
	content: '→';
}
.nsda .is-selected .nsda-answer-arrow {
	color: var(--nsda-accent);
	font-size: 20px;
}
.nsda .is-selected .nsda-answer-arrow::after {
	content: '✓';
}
.nsda .nsda-nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 12px;
	padding-top: 20px;
	margin-top: 14px;
}
.nsda .nsda-button {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	border: 1px solid var(--nsda-accent);
	border-radius: 10px;
	padding: 12px 22px;
	background: var(--nsda-accent);
	color: #fff;
	box-shadow: 0 1px 2px rgb(16 24 40 / 6%);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	cursor: pointer;
	transition:
		background 0.15s,
		box-shadow 0.15s;
}
.nsda .nsda-button:hover {
	background: #293445;
	color: #fff;
	box-shadow: 0 3px 8px rgb(16 24 40 / 12%);
}
.nsda .nsda-secondary {
	background: #fff;
	color: var(--nsda-text);
	border-color: #d0d5dd;
	box-shadow: 0 1px 2px rgb(16 24 40 / 4%);
}
.nsda .nsda-secondary:hover {
	background: #f9fafb;
	color: var(--nsda-text);
	border-color: #98a2b3;
}
.nsda .nsda-restart {
	order: -1;
	margin-inline-end: auto;
	background: transparent;
	border-color: transparent;
	box-shadow: none;
	color: var(--nsda-muted);
	font-weight: 400;
	padding-inline: 0;
}
.nsda .nsda-restart:hover {
	background: transparent;
	border-color: transparent;
	box-shadow: none;
	text-decoration: underline;
	text-underline-offset: 4px;
}
.nsda .nsda-button:disabled {
	opacity: 0.6;
	cursor: wait;
}
.nsda :is(button, input, textarea, a, summary):focus-visible {
	outline: 3px solid #667c92;
	outline-offset: 4px;
}
.nsda .nsda-answer:has(input:focus-visible) {
	outline: 3px solid #667c92;
	outline-offset: 4px;
}
.nsda .nsda-title:focus {
	outline: none;
}
.nsda .nsda-error {
	color: #b42318;
	font-size: 14px;
	margin-top: 12px;
}
.nsda .nsda-error:empty,
.nsda .nsda-status:empty {
	display: none;
}
.nsda .nsda-status {
	color: var(--nsda-muted);
	font-size: 14px;
	margin-bottom: 18px;
}
.nsda .nsda-status.nsda-error {
	color: #b42318;
}
.nsda .nsda-eyebrow {
	color: #475467;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	margin-bottom: 14px;
}
.nsda .nsda-result {
	padding-block: 6px;
}
.nsda .nsda-result .nsda-title {
	font-size: clamp(30px, 4vw, 46px);
	margin-bottom: 18px;
}
.nsda .nsda-description {
	color: var(--nsda-muted);
	font-size: 16px;
	line-height: 1.75;
	max-width: 800px;
}
.nsda .nsda-subtitle {
	font-size: 19px;
	margin-bottom: 14px;
	color: #344054;
}
.nsda .nsda-features-title {
	font-size: 15px;
	letter-spacing: 0;
	margin: 28px 0 14px;
}
.nsda .nsda-features {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	padding: 0;
	margin: 0;
}
.nsda .nsda-features li {
	display: flex;
	gap: 12px;
	align-items: baseline;
	padding: 14px 16px;
	border: 1px solid var(--nsda-border);
	border-radius: 10px;
	background: #fafbfc;
	font-size: 14px;
}
.nsda .nsda-features li::before {
	content: '✓';
	color: #475467;
}
.nsda .nsda-disclaimer {
	font-size: 13px;
	color: var(--nsda-muted);
	padding: 16px 18px;
	background: #f8fafb;
	border-radius: 10px;
	margin-top: 24px;
}
.nsda .nsda-result-nav {
	justify-content: flex-start;
	border-bottom: 1px solid var(--nsda-border);
	padding-bottom: 28px;
}
.nsda .nsda-contact {
	margin-top: 30px;
}
.nsda .nsda-contact > .nsda-description {
	font-size: 14px;
	margin-bottom: 24px;
	max-width: 680px;
}
.nsda .nsda-contact-form {
	max-width: 820px;
}
.nsda .nsda-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}
.nsda .nsda-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}
.nsda .nsda-field-wide {
	grid-column: 1/-1;
}
.nsda .nsda-field label {
	font-size: 13px;
	font-weight: 600;
	color: #344054;
}
.nsda .nsda-field input,
.nsda .nsda-field textarea {
	appearance: none;
	background: #fff;
	color: var(--nsda-text);
	border: 1px solid #d0d5dd;
	border-radius: 9px;
	width: 100%;
	max-width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	font: inherit;
	font-size: 14px;
	line-height: 1.5;
	box-shadow: 0 1px 2px rgb(16 24 40 / 3%);
}
.nsda .nsda-field input::placeholder,
.nsda .nsda-field textarea::placeholder {
	color: #667085;
	opacity: 1;
}
.nsda .nsda-field input:focus,
.nsda .nsda-field textarea:focus {
	border-color: #667c92;
}
.nsda .nsda-field textarea {
	resize: vertical;
}
.nsda .nsda-optional {
	margin-top: 22px;
}
.nsda .nsda-optional summary {
	cursor: pointer;
	color: #475467;
	font-size: 13px;
	font-weight: 500;
	min-height: 32px;
	list-style: none;
	display: flex;
	align-items: center;
	gap: 10px;
	width: fit-content;
}
.nsda .nsda-optional summary::before {
	content: '+';
	font-size: 20px;
	font-weight: 400;
	width: 16px;
}
.nsda .nsda-optional[open] summary::before {
	content: '−';
}
.nsda .nsda-optional summary::-webkit-details-marker {
	display: none;
}
.nsda .nsda-optional .nsda-form-grid {
	padding-top: 14px;
}
.nsda .nsda-privacy {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 13px;
	line-height: 1.6;
	color: #475467;
	margin: 24px 0 8px;
	cursor: pointer;
}
.nsda input[type='checkbox'] {
	appearance: auto;
	width: 18px;
	height: 18px;
	min-width: 18px;
	margin: 2px 0 0;
	accent-color: var(--nsda-accent);
}
.nsda a {
	color: #344054;
	text-decoration: underline;
	text-underline-offset: 3px;
	font-size: 13px;
}
.nsda .nsda-privacy-notice {
	color: var(--nsda-muted);
	font-size: 12px;
	margin: 10px 0 20px;
}
.nsda .nsda-contact-form > .nsda-button {
	margin-top: 16px;
}
.nsda .nsda-success {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	border: 1px solid #bbd7c9;
	background: #f3faf6;
	border-radius: 12px;
	padding: 22px;
	color: #21543e;
	font-size: 15px;
}
.nsda .nsda-success-mark {
	font-size: 22px;
	line-height: 1.3;
}
.nsda .nsda-sr,
.nsda .nsda-honeypot {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.nsda .nsda-content {
	min-height: 280px;
}
@media (max-width: 600px) {
	.nsda {
		padding: 24px 20px;
		border-radius: 18px;
	}
	.nsda .nsda-header {
		gap: 12px;
		margin-bottom: 22px;
		align-items: flex-start;
	}
	.nsda .nsda-brand {
		flex-wrap: wrap;
		font-size: 10px;
		gap: 6px;
		max-width: 240px;
	}
	.nsda .nsda-brand-label {
		flex-basis: 100%;
		letter-spacing: 0.035em;
	}
	.nsda .nsda-brand-divider {
		display: none;
	}
	.nsda .nsda-counter {
		font-size: 14px;
	}
	.nsda .nsda-progress {
		gap: 5px;
		margin-bottom: 26px;
	}
	.nsda .nsda-answer {
		padding: 17px 18px;
		min-height: 70px;
		font-size: 15px;
		gap: 12px;
		margin-bottom: 10px;
	}
	.nsda .nsda-question-hint {
		font-size: 13px;
		margin-bottom: 20px;
	}
	.nsda .nsda-nav {
		gap: 10px;
	}
	.nsda .nsda-nav .nsda-button:not(.nsda-restart) {
		flex: 1;
	}
	.nsda .nsda-restart {
		order: 2;
		width: 100%;
		min-height: 36px;
		justify-content: center;
		margin: 4px 0 0;
	}
	.nsda .nsda-form-grid,
	.nsda .nsda-features {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.nsda .nsda-contact-form > .nsda-button {
		width: 100%;
	}
	.nsda .nsda-result-nav .nsda-button {
		flex-basis: 100%;
	}
}
@media (prefers-reduced-motion: reduce) {
	.nsda * {
		transition: none !important;
		animation: none !important;
	}
}

/* Stabilize content-sized Elementor popup containers across steps. */
.elementor-popup-modal .dialog-message:has(.nsda) {
	width: min(1200px, calc(100vw - 32px));
	max-width: 100%;
}
/* Explicit contact action, independent of the assessment accent. */
.nsda .nsda-contact-reveal {
	margin: 20px 0;
	background: #175cd3;
	border-color: #175cd3;
	color: #fff;
}
.nsda .nsda-contact-reveal:hover {
	background: #1849a9;
	border-color: #1849a9;
	color: #fff;
}
