/** Scoped functional block styles. Solutto COnsulting LLC — Gilson Rincón, CEO. */
.wp-block-solutto-diagnostic {
 --solutto-primary: var(--ast-global-color-0, #5151ce);
 --solutto-depth: var(--ast-global-color-1, #5019a0);
 --solutto-ink: var(--ast-global-color-2, #111111);
 --solutto-steel: var(--ast-global-color-3, #4b5563);
 --solutto-paper: var(--ast-global-color-5, #fff);
 --solutto-line: #e5e7eb;
 --solutto-error: #ba1a1a;
 --solutto-radius-sm: 8px;
 --solutto-radius-md: 12px;
 --solutto-font-heading: inherit;
 color: var(--solutto-ink);
 min-width: 0;
}
.wp-block-solutto-diagnostic *, .wp-block-solutto-diagnostic *::before, .wp-block-solutto-diagnostic *::after { box-sizing: border-box; }
.wp-block-solutto-diagnostic .solutto-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--solutto-primary); color: #fff; border: 2px solid var(--solutto-primary); border-radius: 8px; font: inherit; font-weight: 650; padding: 12px 20px; cursor: pointer; text-decoration: none; }
.wp-block-solutto-diagnostic .solutto-button--secondary { color: var(--solutto-primary); background: transparent; }
.wp-block-solutto-diagnostic .solutto-button:hover { filter: brightness(.9); }
.wp-block-solutto-diagnostic :focus-visible { outline: 3px solid var(--solutto-primary); outline-offset: 4px; }
.wp-block-solutto-diagnostic .solutto-form-step { scroll-margin-top: 32px; }
@media (prefers-reduced-motion: reduce) { .wp-block-solutto-diagnostic * { scroll-behavior: auto; transition: none; } }
.wp-block-solutto-diagnostic .solutto-diagnostic-form-card {
	background: var(--solutto-paper);
	border: 1px solid var(--solutto-line);
	border-radius: 12px;
	box-shadow: 0 3px 12px rgb(22 24 45 / 5%);
	min-width: 0;
	padding: clamp(26px, 3vw, 34px);
}

.wp-block-solutto-diagnostic .solutto-form-notice {
	background: #f1f0ff;
	border: 1px solid #d8d5ff;
	border-radius: var(--solutto-radius-md);
	color: #37317d;
	font-size: 0.91rem;
	margin-bottom: 24px;
	padding: 14px 16px;
}

.wp-block-solutto-diagnostic .solutto-diagnostic-form {
	margin: 0;
}

.wp-block-solutto-diagnostic .solutto-honeypot {
	border: 0 !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	height: 1px !important;
	margin: -1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	white-space: nowrap !important;
	width: 1px !important;
}

.wp-block-solutto-diagnostic .solutto-form-progress-row,
.wp-block-solutto-diagnostic .solutto-form-next,
.wp-block-solutto-diagnostic .solutto-form-back {
	display: none;
}

.wp-block-solutto-diagnostic .solutto-diagnostic-form.is-enhanced .solutto-form-progress-row {
	align-items: center;
	display: grid;
	gap: 16px;
	grid-template-columns: minmax(0, 1fr) auto;
	margin-bottom: 30px;
}

.wp-block-solutto-diagnostic .solutto-diagnostic-form.is-enhanced .solutto-form-step-status {
	color: var(--solutto-steel);
	font-size: 0.86rem;
	font-weight: 650;
	margin: 0;
	white-space: nowrap;
}

.wp-block-solutto-diagnostic .solutto-form-progress {
	display: grid;
	gap: 0;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	min-width: 0;
}

.wp-block-solutto-diagnostic .solutto-form-progress span {
	border-top: 4px solid var(--solutto-line);
	color: transparent;
	font-size: 0;
	height: 4px;
	line-height: 0;
	overflow: hidden;
}

.wp-block-solutto-diagnostic .solutto-form-progress span.is-current,
.wp-block-solutto-diagnostic .solutto-form-progress span[aria-current="step"],
.wp-block-solutto-diagnostic .solutto-diagnostic-form[data-current-step="2"] .solutto-form-progress span {
	border-color: var(--solutto-primary);
}

.wp-block-solutto-diagnostic .solutto-diagnostic-form.is-enhanced :where(.solutto-form-next, .solutto-form-back) {
	display: inline-flex;
}

.wp-block-solutto-diagnostic .solutto-diagnostic-form.is-enhanced .solutto-form-step:not(.is-current) {
	display: none;
}

.wp-block-solutto-diagnostic .solutto-form-step {
	border: 0;
	margin: 0;
	min-inline-size: 0;
	padding: 0;
}

.wp-block-solutto-diagnostic .solutto-form-step + .solutto-form-step {
	border-top: 1px solid var(--solutto-line);
	margin-top: 36px;
	padding-top: 36px;
}

.wp-block-solutto-diagnostic .solutto-diagnostic-form.is-enhanced .solutto-form-step + .solutto-form-step {
	border-top: 0;
	margin-top: 0;
	padding-top: 0;
}

.wp-block-solutto-diagnostic .solutto-form-step legend {
	color: var(--solutto-ink);
	font-family: var(--solutto-font-heading);
	font-size: clamp(1.3rem, 2.1vw, 1.55rem);
	font-weight: 700;
	margin-bottom: 20px;
	padding: 0;
}

.wp-block-solutto-diagnostic .solutto-form-grid {
	display: grid;
	gap: 18px 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wp-block-solutto-diagnostic .solutto-field {
	min-width: 0;
}

.wp-block-solutto-diagnostic .solutto-field--wide {
	grid-column: 1 / -1;
}

.wp-block-solutto-diagnostic .solutto-field label {
	display: block;
	font-size: 0.9rem;
	font-weight: 700;
	margin-bottom: 7px;
}

.wp-block-solutto-diagnostic :where(.solutto-field__optional, .solutto-field__help) {
	color: var(--solutto-steel);
	font-weight: 400;
}

.wp-block-solutto-diagnostic .solutto-field__help {
	font-size: 0.82rem;
	margin-top: 7px;
}

.wp-block-solutto-diagnostic .solutto-field :where(input:not([type="checkbox"]), select, textarea) {
	appearance: none;
	background: var(--solutto-paper);
	border: 1px solid #c9cbd6;
	border-radius: var(--solutto-radius-sm);
	color: var(--solutto-ink);
	font: inherit;
	line-height: 1.35;
	min-height: 50px;
	padding: 12px 14px;
	width: 100%;
}

.wp-block-solutto-diagnostic .solutto-field select {
	background-image:
		linear-gradient(45deg, transparent 50%, #555867 50%),
		linear-gradient(135deg, #555867 50%, transparent 50%);
	background-position:
		calc(100% - 18px) 52%,
		calc(100% - 13px) 52%;
	background-repeat: no-repeat;
	background-size: 5px 5px, 5px 5px;
	padding-right: 38px;
}

.wp-block-solutto-diagnostic .solutto-field textarea {
	min-height: 150px;
	resize: vertical;
}

.wp-block-solutto-diagnostic .solutto-field :where(input:not([type="checkbox"]), select, textarea):hover {
	border-color: #9b9eac;
}

.wp-block-solutto-diagnostic .solutto-field :where(input:not([type="checkbox"]), select, textarea):focus {
	border-color: var(--solutto-primary);
	box-shadow: 0 0 0 3px rgb(81 81 206 / 18%);
	outline: 0;
}

.wp-block-solutto-diagnostic .solutto-field :where(input, select, textarea)[aria-invalid="true"] {
	border-color: var(--solutto-error);
}

.wp-block-solutto-diagnostic .solutto-field--consent {
	align-items: start;
	display: grid;
	gap: 12px;
	grid-template-columns: 22px minmax(0, 1fr);
}

.wp-block-solutto-diagnostic .solutto-field--consent input {
	accent-color: var(--solutto-primary);
	height: 20px;
	margin: 3px 0 0;
	min-height: 20px;
	width: 20px;
}

.wp-block-solutto-diagnostic .solutto-field--consent label {
	font-weight: 500;
	line-height: 1.55;
	margin: 0;
}

.wp-block-solutto-diagnostic .solutto-field--consent a {
	color: var(--solutto-depth);
	font-weight: 700;
}

.wp-block-solutto-diagnostic .solutto-form-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
	margin-top: 30px;
}

.wp-block-solutto-diagnostic .solutto-form-nav--end {
	justify-content: flex-end;
}

.wp-block-solutto-diagnostic .solutto-button:disabled,
.wp-block-solutto-diagnostic .solutto-button[aria-disabled="true"] {
	cursor: not-allowed;
	opacity: 0.52;
	transform: none;
}

.wp-block-solutto-diagnostic .solutto-form-response {
	border-radius: var(--solutto-radius-md);
	margin-top: 24px;
	padding: 14px 16px;
}

.wp-block-solutto-diagnostic .solutto-form-response:not([hidden]) {
	background: #eaf7f1;
	border: 1px solid #b8dfcf;
	color: #176b50;
}

.wp-block-solutto-diagnostic .solutto-form-response.is-error:not([hidden]) {
	background: #fff2f1;
	border-color: #efc4c0;
	color: #8f2018;
}

.wp-block-solutto-diagnostic .solutto-form-response.is-success:not([hidden]) {
	background: rgb(0 200 190 / 10%);
	border-color: rgb(0 200 190 / 38%);
	color: #0f5f5a;
}

.wp-block-solutto-diagnostic .solutto-form-response[tabindex="-1"]:focus,
.wp-block-solutto-diagnostic .solutto-form-step[tabindex="-1"]:focus {
	outline: 3px solid var(--solutto-primary);
	outline-offset: 4px;
}

.wp-block-solutto-diagnostic [hidden] {
	display: none !important;
}

@media (max-width: 767px) {
		.wp-block-solutto-diagnostic .solutto-form-grid {
		grid-template-columns: 1fr;
	}

	.wp-block-solutto-diagnostic .solutto-field--wide {
		grid-column: auto;
	}
}

@media (max-width: 479px) {
	.wp-block-solutto-diagnostic .solutto-diagnostic-form.is-enhanced .solutto-form-progress-row {
		gap: 10px;
		grid-template-columns: 1fr;
	}

	.wp-block-solutto-diagnostic .solutto-form-nav {
		align-items: stretch;
		flex-direction: column;
	}

	.wp-block-solutto-diagnostic .solutto-button {
		width: 100%;
	}

	.wp-block-solutto-diagnostic .solutto-diagnostic-form-card {
		border-radius: 12px;
		padding: 22px;
	}
}
