/* Preserve the approved Claude application canvas and unaltered logo asset. */
.am-clinic-intake {
	align-content: start;
	background: var(--am-surface);
	isolation: isolate;
	overflow: hidden;
	padding: 40px;
}

.am-clinic-intake::before {
	background: url("../images/brand/claude-application-chain.svg") no-repeat;
	background-size: 100% 100%;
	content: "";
	height: 317px;
	opacity: 0.9;
	pointer-events: none;
	position: absolute;
	right: -60px;
	top: -30px;
	width: 720px;
}

.am-clinic-intake > .am-molecular-motif {
	display: none;
}

.am-intake-brand {
	text-align: center;
}

.am-intake-brand__plate {
	background: var(--am-white);
	border: 1px solid var(--am-border-strong);
	border-radius: 10px;
	box-shadow: 0 24px 48px rgb(7 26 53 / 0.16);
	display: inline-flex;
	padding: 14px 22px;
}

.am-intake-brand__plate img {
	display: block;
	height: auto;
	width: 220px;
}

.am-intake-brand > p {
	color: var(--am-text-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	margin: 12px 0 0;
	text-transform: uppercase;
}

.am-intake-card-wrap {
	max-width: 640px;
	width: 100%;
}

.am-intake-card-wrap::before {
	background: radial-gradient(ellipse at center, rgb(11 35 68 / 0.42) 0%, rgb(11 35 68 / 0.16) 45%, rgb(11 35 68 / 0) 72%);
	border-radius: 50%;
	content: "";
	inset: -40px -80px -60px;
	pointer-events: none;
	position: absolute;
	z-index: -1;
}

.am-intake-card-wrap > .am-m3-form-card,
.am-clinic-intake > .am-m3-state-card {
	border-radius: 12px;
	box-shadow: 0 24px 48px rgb(7 26 53 / 0.16);
	max-width: 640px;
	padding: 40px;
	position: relative;
}

.am-intake-form {
	margin-top: 28px;
}

.am-intake-section {
	border-top: 1px solid var(--am-border);
	margin-top: 28px;
	padding-top: 24px;
}

.am-intake-section h2 {
	font-size: 17px;
	margin: 0 0 18px;
}

.am-intake-optional {
	color: var(--am-text-subtle);
	font-weight: 400;
}

.am-intake-form .am-m3-field input,
.am-intake-form textarea {
	font-size: 16px;
	min-height: 48px;
}

.am-intake-form textarea {
	background: var(--am-white);
	border: 1px solid var(--am-text-subtle);
	border-radius: var(--am-radius-control);
	color: var(--am-text);
	font: inherit;
	padding: 12px;
	resize: vertical;
	width: 100%;
}

.am-intake-form .am-m3-field select {
	background: var(--am-white);
	border: 1px solid var(--am-text-subtle);
	border-radius: var(--am-radius-control);
	box-sizing: border-box;
	color: var(--am-text);
	display: block;
	font: inherit;
	min-height: 48px;
	padding: 12px;
	width: 100%;
}

.am-intake-choice {
	border: 0;
	margin: 0 0 18px;
	min-width: 0;
	padding: 0;
}

.am-intake-choice legend {
	font-weight: 600;
	margin-bottom: 10px;
}

.am-intake-choice > div {
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr 1fr;
}

.am-intake-choice label {
	align-items: center;
	border: 1px solid var(--am-text-subtle);
	border-radius: 8px;
	display: flex;
	gap: 8px;
	min-height: 49px;
	padding: 12px;
}

.am-intake-choice label:has(input:checked) {
	background: var(--am-navy-900);
	color: var(--am-white);
}

.am-intake-representative {
	border: 0;
	border-left: 3px solid var(--am-brand);
	margin: 20px 0;
	min-width: 0;
	padding: 0 0 0 16px;
}

.am-intake-representative legend {
	color: var(--am-text-muted);
	font-size: 13px;
	padding: 0 0 12px;
}

.am-intake-check {
	align-items: start;
	display: flex;
	font-size: 13px;
	gap: 10px;
	margin: 18px 0;
}

.am-intake-check input {
	flex: none;
	height: 18px;
	margin-top: 3px;
	width: 18px;
}

.am-intake-form [hidden] {
	display: none !important;
}

.am-intake-form button[type="submit"] {
	margin-top: 20px;
}

.am-intake-form [data-google-address] {
	margin-bottom: 18px;
}

.am-intake-form gmp-place-autocomplete {
	color-scheme: light;
	width: 100%;
}

.am-intake-staff {
	max-width: 760px;
	overflow-wrap: anywhere;
}

.am-intake-staff section {
	border-top: 1px solid var(--am-border);
	margin-top: 24px;
	padding-top: 24px;
}

.am-intake-staff dl > div {
	display: grid;
	gap: 12px;
	grid-template-columns: 1fr 2fr;
	margin: 8px 0;
}

.am-intake-staff dd {
	margin: 0;
}

.am-intake-secret {
	border: 1px solid var(--am-border-strong);
	padding: 16px;
}

@media (max-width: 700px) {
	.am-clinic-intake {
		padding: 28px 18px;
	}
	.am-clinic-intake::before {
		height: 86px;
		right: -20px;
		top: -8px;
		width: 195px;
	}
	.am-intake-card-wrap > .am-m3-form-card,
	.am-clinic-intake > .am-m3-state-card {
		padding: 24px;
	}
	.am-intake-choice > div,
	.am-intake-staff dl > div {
		grid-template-columns: 1fr;
	}
	.am-intake-brand__plate img {
		width: 190px;
	}
}
