/*
 * Cure Crete Find a Rep
 * Design idea: a poured concrete slab with saw-cut control joints, and a yellow survey stake
 * that drops onto the territory when a rep is found.
 */

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

.cfr {
	--cfr-ink: #10202e;
	--cfr-ink-soft: #3b4a58;
	--cfr-muted: #5d6a76;
	--cfr-line: #d7dde2;
	--cfr-field: #f4f6f8;
	--cfr-slab: #d4d9dc;
	--cfr-error: #b3261e;
	--cfr-accent: #FF2929;
	--cfr-on-accent: #ffffff;
	--cfr-radius: 12px;

	position: relative;
	max-width: 1060px;
	margin: 32px auto;
	color: var(--cfr-ink);
	font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

.cfr [hidden] {
	display: none !important;
}

.cfr__shell {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	min-height: 560px;
	overflow: hidden;
	background: #fff;
	border-radius: 22px;
	box-shadow: 0 1px 0 rgba(16, 32, 46, 0.06), 0 24px 60px -24px rgba(16, 32, 46, 0.35);
}

/* ---------- Concrete slab (left) ---------- */

.cfr__slab {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 44px 40px 36px;
	overflow: hidden;
	background-color: var(--cfr-slab);
	background-image:
		url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .06  0 0 0 0 .12  0 0 0 0 .18  .45 0 0 0 -.06'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
		linear-gradient(to right, rgba(16, 32, 46, 0.16) 1.5px, transparent 1.5px),
		linear-gradient(to bottom, rgba(16, 32, 46, 0.16) 1.5px, transparent 1.5px),
		linear-gradient(160deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0) 55%);
	background-size: 180px 180px, 104px 104px, 104px 104px, 100% 100%;
	background-position: 0 0, -18px 0, 0 -30px, 0 0;
}

.cfr__slab-head,
.cfr .cfr__facts {
	position: relative;
	z-index: 2;
}

.cfr .cfr__title {
	margin: 0 0 14px;
	padding: 0;
	max-width: 11em;
	color: var(--cfr-ink);
	font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
	font-size: clamp(30px, 3.4vw, 42px);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -0.025em;
	text-transform: none;
}

.cfr .cfr__sub {
	margin: 0 0 26px;
	max-width: 27em;
	color: var(--cfr-ink-soft);
	font-size: 16px;
	line-height: 1.55;
}

.cfr .cfr__facts {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cfr .cfr__facts li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 0;
	color: var(--cfr-ink);
	font-size: 15px;
	font-weight: 500;
}

.cfr .cfr__facts li::before {
	display: none;
}

.cfr .cfr__facts .cfr__ico {
	flex: none;
	width: 36px;
	height: 36px;
	padding: 8px;
	color: var(--cfr-ink);
	background: rgba(255, 255, 255, 0.62);
	border-radius: 10px;
}

/* Stake + territory label */

.cfr__slab-grid {
	position: relative;
	z-index: 1;
	flex: 1 1 auto;
	min-height: 150px;
	margin: 6px 0 10px;
	pointer-events: none;
}

.cfr__stake {
	position: absolute;
	right: 9%;
	bottom: 0;
	width: 48px;
	height: 72px;
	opacity: 0.55;
	transform-origin: 50% 100%;
}

.cfr__stake svg {
	display: block;
	overflow: visible;
}

.cfr__stake-shadow {
	fill: rgba(16, 32, 46, 0.22);
}

.cfr__stake-body {
	fill: rgba(16, 32, 46, 0.2);
	stroke: var(--cfr-ink);
	stroke-width: 2.4;
	stroke-linejoin: round;
	transition: fill 0.35s ease;
}

.cfr__stake-dot {
	fill: var(--cfr-slab);
	stroke: var(--cfr-ink);
	stroke-width: 2.4;
}

.cfr__territory {
	position: absolute;
	right: calc(9% + 60px);
	bottom: 30px;
	max-width: 200px;
	padding: 7px 12px;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.25;
	background: var(--cfr-ink);
	border-radius: 8px;
	opacity: 0;
	transform: translateX(8px);
}

.cfr__territory:empty {
	display: none;
}

.cfr--found .cfr__stake {
	opacity: 1;
	animation: cfr-drop 0.75s cubic-bezier(0.3, 0.7, 0.3, 1) both;
}

.cfr--found .cfr__stake-body {
	fill: var(--cfr-accent);
}

.cfr--found .cfr__stake-dot {
	fill: var(--cfr-ink);
}

.cfr--found .cfr__territory {
	opacity: 1;
	transform: none;
	transition: opacity 0.4s ease 0.55s, transform 0.4s ease 0.55s;
}

@keyframes cfr-drop {
	0% {
		opacity: 0;
		transform: translateY(-46px) scale(1.05);
	}
	55% {
		opacity: 1;
		transform: translateY(0) scale(1, 0.94);
	}
	75% {
		transform: translateY(-6px) scale(1);
	}
	100% {
		transform: translateY(0) scale(1);
	}
}

/* ---------- Panel (right) ---------- */

.cfr__panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 44px 44px 36px;
	background: #fff;
}

.cfr .cfr__form {
	display: grid;
	gap: 22px;
	margin: 0;
}

.cfr .cfr__group {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.cfr .cfr__legend {
	display: block;
	width: 100%;
	margin: 0 0 10px;
	padding: 0;
	color: var(--cfr-ink);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0;
}

.cfr__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Product tiles */

.cfr__tiles {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.cfr .cfr__tile {
	position: relative;
	display: block;
	margin: 0;
	cursor: pointer;
}

.cfr .cfr__tile input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
}

.cfr__tile-face {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 58px;
	padding: 12px 16px;
	color: var(--cfr-ink);
	background: #fff;
	border: 1.5px solid var(--cfr-line);
	border-radius: var(--cfr-radius);
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cfr__tile-name {
	font-size: 16px;
	font-weight: 700;
}

.cfr__tile-tick {
	display: grid;
	place-items: center;
	flex: none;
	width: 22px;
	height: 22px;
	color: transparent;
	border: 1.5px solid var(--cfr-line);
	border-radius: 50%;
	transition: all 0.2s ease;
}

.cfr .cfr__tile:hover .cfr__tile-face {
	border-color: var(--cfr-ink-soft);
}

.cfr .cfr__tile input:checked + .cfr__tile-face {
	color: #fff;
	background: var(--cfr-ink);
	border-color: var(--cfr-ink);
}

.cfr .cfr__tile input:checked + .cfr__tile-face .cfr__tile-tick {
	color: var(--cfr-on-accent);
	background: var(--cfr-accent);
	border-color: var(--cfr-accent);
}

.cfr .cfr__tile input:focus-visible + .cfr__tile-face {
	outline: 3px solid var(--cfr-accent);
	outline-offset: 2px;
}

/* Fields */

.cfr__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.cfr__field--full {
	grid-column: 1 / -1;
}

.cfr .cfr__field {
	position: relative;
	margin: 0;
}

.cfr .cfr__field input,
.cfr .cfr__field select {
	display: block;
	width: 100%;
	height: 58px;
	margin: 0;
	padding: 24px 16px 8px;
	color: var(--cfr-ink);
	font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.2;
	background: var(--cfr-field);
	border: 1.5px solid transparent;
	border-radius: var(--cfr-radius);
	box-shadow: none;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.cfr .cfr__field select {
	padding-right: 42px;
	cursor: pointer;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='m1 1.5 6 6 6-6' fill='none' stroke='%2310202e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
	background-repeat: no-repeat;
	background-position: right 16px center;
}

.cfr .cfr__field input:hover,
.cfr .cfr__field select:hover {
	background-color: #eef1f4;
}

.cfr .cfr__field input:focus,
.cfr .cfr__field select:focus {
	background-color: #fff;
	border-color: var(--cfr-ink);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--cfr-accent) 55%, transparent);
}

.cfr .cfr__field label {
	position: absolute;
	top: 19px;
	left: 17px;
	right: 40px;
	margin: 0;
	overflow: hidden;
	color: var(--cfr-muted);
	font-size: 16px;
	line-height: 1.2;
	white-space: nowrap;
	text-overflow: ellipsis;
	pointer-events: none;
	transition: top 0.15s ease, font-size 0.15s ease, color 0.15s ease;
}

.cfr .cfr__field input:focus + label,
.cfr .cfr__field input:not(:placeholder-shown) + label,
.cfr .cfr__field select:focus + label,
.cfr .cfr__field select:valid + label {
	top: 9px;
	color: var(--cfr-ink-soft);
	font-size: 12px;
	font-weight: 600;
}

.cfr .cfr__field.is-invalid input,
.cfr .cfr__field.is-invalid select {
	background-color: #fff;
	border-color: var(--cfr-error);
}

.cfr .cfr__err {
	display: block;
	min-height: 0;
	margin: 6px 2px 0;
	color: var(--cfr-error);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
}

.cfr .cfr__err:empty {
	display: none;
}

/* Location switch */

.cfr .cfr__seg {
	display: inline-flex;
	margin: 0 0 14px;
	padding: 4px;
	background: #e7ebee;
	border-radius: var(--cfr-radius);
}

.cfr .cfr__seg label {
	position: relative;
	display: block;
	margin: 0;
	cursor: pointer;
}

.cfr .cfr__seg input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
}

.cfr .cfr__seg span {
	display: block;
	padding: 9px 18px;
	color: var(--cfr-ink-soft);
	font-size: 14px;
	font-weight: 600;
	border-radius: 9px;
	transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.cfr .cfr__seg input:checked + span {
	color: var(--cfr-ink);
	background: #fff;
	box-shadow: 0 1px 3px rgba(16, 32, 46, 0.18);
}

.cfr .cfr__seg input:focus-visible + span {
	outline: 3px solid var(--cfr-accent);
	outline-offset: 1px;
}

/* Submit */

.cfr .cfr__formerr {
	margin: -6px 0 0;
	padding: 12px 14px;
	color: var(--cfr-error);
	font-size: 14px;
	font-weight: 600;
	background: #fdeceb;
	border-radius: 10px;
}

.cfr .cfr__formerr:empty {
	display: none;
}

.cfr .cfr__submit {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 60px;
	margin: 0;
	padding: 0 24px;
	color: var(--cfr-on-accent);
	font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
	font-size: 17px;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: none;
	background: var(--cfr-accent);
	border: 0;
	border-radius: var(--cfr-radius);
	box-shadow: 0 2px 0 rgba(16, 32, 46, 0.35), 0 12px 24px -12px color-mix(in srgb, var(--cfr-accent) 80%, #000);
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.cfr .cfr__submit:hover {
	filter: brightness(0.97);
	transform: translateY(-1px);
}

.cfr .cfr__submit:active {
	transform: translateY(1px);
	box-shadow: 0 0 0 rgba(16, 32, 46, 0.35);
}

.cfr .cfr__submit:focus-visible {
	outline: 3px solid var(--cfr-ink);
	outline-offset: 3px;
}

.cfr__spinner {
	display: none;
	width: 22px;
	height: 22px;
	border: 3px solid color-mix(in srgb, var(--cfr-on-accent) 30%, transparent);
	border-top-color: var(--cfr-on-accent);
	border-radius: 50%;
	animation: cfr-spin 0.7s linear infinite;
}

.cfr .cfr__submit.is-loading .cfr__submit-text {
	display: none;
}

.cfr .cfr__submit.is-loading .cfr__spinner {
	display: block;
}

.cfr .cfr__submit.is-loading {
	pointer-events: none;
}

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

.cfr .cfr__fine {
	margin: -8px 0 0;
	color: var(--cfr-muted);
	font-size: 13px;
	text-align: center;
}

/* ---------- Result ---------- */

.cfr__result {
	outline: none;
}

.cfr .cfr__found {
	display: grid;
	gap: 18px;
}

.cfr__check {
	display: block;
	width: 56px;
	height: 56px;
}

.cfr__check svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.cfr__check circle {
	fill: var(--cfr-accent);
	stroke: var(--cfr-ink);
	stroke-width: 2.4;
	stroke-dasharray: 151;
	stroke-dashoffset: 151;
}

.cfr__check path {
	stroke: var(--cfr-ink);
	stroke-width: 3.4;
	stroke-dasharray: 40;
	stroke-dashoffset: 40;
}

.cfr--found .cfr__check circle {
	animation: cfr-draw 0.55s ease 0.1s forwards;
}

.cfr--found .cfr__check path {
	animation: cfr-draw 0.35s ease 0.6s forwards;
}

@keyframes cfr-draw {
	to {
		stroke-dashoffset: 0;
	}
}

.cfr .cfr__result-title {
	margin: 0;
	padding: 0;
	color: var(--cfr-ink);
	font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
	font-size: 28px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
	text-transform: none;
	outline: none;
}

.cfr__rep {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px;
	background: var(--cfr-field);
	border-radius: 16px;
}

.cfr__avatar {
	display: grid;
	place-items: center;
	flex: none;
	width: 64px;
	height: 64px;
	color: var(--cfr-on-accent);
	font-size: 22px;
	font-weight: 800;
	background: var(--cfr-accent);
	border: 2px solid var(--cfr-ink);
	border-radius: 50%;
}

.cfr__rep-id {
	display: grid;
	min-width: 0;
}

.cfr__rep-name {
	color: var(--cfr-ink);
	font-size: 22px;
	font-weight: 800;
	line-height: 1.15;
}

.cfr__rep-company {
	color: var(--cfr-muted);
	font-size: 15px;
}

.cfr .cfr__details {
	margin: 0;
	padding: 0;
}

.cfr .cfr__details > div {
	display: grid;
	grid-template-columns: 138px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	padding: 13px 2px;
	border-bottom: 1px solid var(--cfr-line);
}

.cfr .cfr__details dt {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--cfr-muted);
	font-size: 14px;
	font-weight: 500;
}

.cfr .cfr__details dt .cfr__ico {
	flex: none;
	width: 18px;
	height: 18px;
}

.cfr .cfr__details dd {
	margin: 0;
	color: var(--cfr-ink);
	font-size: 16px;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.cfr .cfr__details dd a {
	color: var(--cfr-ink);
	text-decoration: underline;
	text-decoration-color: var(--cfr-accent);
	text-decoration-thickness: 3px;
	text-underline-offset: 3px;
}

.cfr .cfr__details dd a:hover {
	text-decoration-color: var(--cfr-ink);
}

.cfr__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.cfr .cfr__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 0 18px;
	font-size: 16px;
	font-weight: 800;
	text-align: center;
	text-decoration: none;
	border-radius: var(--cfr-radius);
	transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.cfr .cfr__btn--solid {
	color: var(--cfr-on-accent);
	background: var(--cfr-accent);
	box-shadow: 0 2px 0 rgba(16, 32, 46, 0.35);
}

.cfr .cfr__btn--line {
	color: var(--cfr-ink);
	background: #fff;
	border: 1.5px solid var(--cfr-ink);
}

.cfr .cfr__btn:hover {
	transform: translateY(-1px);
}

.cfr .cfr__btn--line:hover {
	color: #fff;
	background: var(--cfr-ink);
}

.cfr .cfr__btn:focus-visible {
	outline: 3px solid var(--cfr-ink);
	outline-offset: 3px;
}

.cfr .cfr__note {
	margin: 0;
	color: var(--cfr-muted);
	font-size: 14px;
	line-height: 1.5;
}

.cfr .cfr__note strong {
	color: var(--cfr-ink);
	overflow-wrap: anywhere;
}

.cfr .cfr__fallback-msg {
	margin: 0;
	color: var(--cfr-ink-soft);
	font-size: 16px;
	line-height: 1.6;
}

.cfr .cfr__again {
	display: inline-block;
	margin: 22px 0 0;
	padding: 6px 0;
	color: var(--cfr-ink);
	font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
	font-size: 15px;
	font-weight: 700;
	background: none;
	border: 0;
	border-bottom: 2px solid var(--cfr-accent);
	border-radius: 0;
	cursor: pointer;
}

.cfr .cfr__again:hover {
	border-bottom-color: var(--cfr-ink);
}

.cfr .cfr__again:focus-visible {
	outline: 3px solid var(--cfr-accent);
	outline-offset: 3px;
}

/* ---------- Responsive ---------- */

@media (max-width: 880px) {
	.cfr__shell {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.cfr__slab {
		padding: 30px 26px 28px;
	}

	.cfr .cfr__title {
		max-width: 12em;
	}

	.cfr .cfr__facts {
		display: none;
	}

	.cfr .cfr__sub {
		margin-bottom: 0;
		max-width: 20em;
	}

	.cfr__slab-grid {
		min-height: 74px;
		margin: 4px 0 0;
	}

	.cfr__stake {
		right: 4px;
		width: 38px;
		height: 57px;
	}

	.cfr__stake svg {
		width: 38px;
		height: 57px;
	}

	.cfr__territory {
		right: 56px;
		bottom: 22px;
		max-width: 70%;
	}

	.cfr__panel {
		padding: 28px 22px 26px;
	}
}

@media (max-width: 560px) {
	.cfr {
		margin: 16px auto;
	}

	.cfr__shell {
		border-radius: 18px;
	}

	.cfr__row,
	.cfr__tiles,
	.cfr__actions {
		grid-template-columns: 1fr;
	}

	.cfr .cfr__details > div {
		grid-template-columns: 1fr;
		gap: 4px;
	}

	.cfr .cfr__result-title {
		font-size: 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cfr *,
	.cfr *::before,
	.cfr *::after {
		animation-duration: 0.01ms !important;
		animation-delay: 0s !important;
		transition-duration: 0.01ms !important;
		transition-delay: 0s !important;
	}

	.cfr__check circle,
	.cfr__check path {
		stroke-dashoffset: 0;
	}
}

/* Scoped theme protection and Curecrete presentation. */
.cfr { --cfr-ink: #202426; --cfr-ink-soft: #4b5053; --cfr-radius: 6px; width: 100%; isolation: isolate; }
.cfr :where(input, select, button, a) { font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif; }
.cfr .cfr__shell { border: 1px solid #e1e3e4; border-radius: 8px; box-shadow: 0 16px 48px -24px #20242640; }
.cfr .cfr__shell > * { min-width: 0; }
.cfr .cfr__slab { background: #202426; color: white; border-top: 5px solid var(--cfr-accent); }
.cfr .cfr__eyebrow { display: block; margin-bottom: 22px; color: white; font-size: 12px; font-weight: 700; letter-spacing: .16em; }
.cfr .cfr__title { color: white; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.08; }
.cfr .cfr__sub { color: #d2d5d6; font-size: 17px; }
.cfr .cfr__facts { list-style: none !important; }
.cfr .cfr__facts li { color: #eee; list-style: none; line-height: 1.4; }
.cfr .cfr__facts li::marker { content: ""; }
.cfr .cfr__ico { display: block; flex: 0 0 auto; width: 24px; height: 24px; max-width: none; }
.cfr .cfr__facts .cfr__ico { width: 36px; height: 36px; color: white; background: #ffffff12; border: 1px solid #ffffff25; border-radius: 6px; }
.cfr .cfr__stake svg { width: 48px; height: 72px; max-width: none; }
.cfr .cfr__stake-body { stroke: white; fill: var(--cfr-accent); }
.cfr .cfr__stake-dot { fill: #202426; stroke: white; }
.cfr .cfr__stake { opacity: .85; }
.cfr .cfr__territory { background: white; color: #202426; }
.cfr .cfr__panel { position: relative; }
.cfr .cfr__tile-tick svg { width: 14px; height: 14px; }
.cfr .cfr__tile-face, .cfr .cfr__seg, .cfr .cfr__seg span, .cfr .cfr__field input, .cfr .cfr__field select { border-radius: 5px; }
.cfr .cfr__submit { text-transform: uppercase; letter-spacing: .06em; box-shadow: none; }
.cfr .cfr__loading { display: flex; min-height: 440px; align-items: center; justify-content: center; flex-direction: column; gap: 20px; text-align: center; padding: 24px 8px; }
.cfr .cfr__loading strong { font-size: 26px; line-height: 1.2; }
.cfr .cfr__loading p { color: var(--cfr-muted); margin: 0; max-width: 260px; font-size: 16px; }
.cfr.cfr--loading .cfr__form { display: none; }
.cfr .cfr__globe { position: relative; display: grid; place-items: center; width: 112px; height: 112px; color: var(--cfr-accent); border-radius: 50%; background: var(--cfr-field); }
.cfr .cfr__globe::after { content: ""; position: absolute; inset: -8px; border: 2px solid #e6e8e9; border-top-color: var(--cfr-accent); border-radius: 50%; animation: cfr-spin 1.8s linear infinite; }
.cfr .cfr__globe .cfr__ico { width: 76px; height: 76px; stroke-width: 1; }
.cfr .cfr__globe .cfr__ico path { transform-origin: center; animation: cfr-meridian 2s ease-in-out infinite; }
@keyframes cfr-meridian { 50% { transform: scaleX(.35); } }
.cfr .cfr__found { gap: 22px; animation: cfr-reveal .35s ease both; }
@keyframes cfr-reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.cfr .cfr__check, .cfr .cfr__check svg { width: 48px; height: 48px; }
.cfr .cfr__check circle { stroke: var(--cfr-accent); }
.cfr .cfr__check path { stroke: var(--cfr-on-accent); }
.cfr .cfr__rep { padding: 22px; border: 1px solid var(--cfr-line); border-left: 4px solid var(--cfr-accent); border-radius: 6px; }
.cfr .cfr__avatar { border: 0; border-radius: 6px; width: 56px; height: 56px; }
.cfr .cfr__rep-name { overflow-wrap: anywhere; font-size: 25px; }
.cfr .cfr__note { padding: 14px 16px; background: var(--cfr-field); border-radius: 5px; }
.cfr .cfr__again { text-align: left; box-shadow: none; }
@media (max-width: 880px) { .cfr .cfr__shell { grid-template-columns: 1fr; } .cfr .cfr__slab-grid { display: none; } .cfr .cfr__title { max-width: 20em; } .cfr .cfr__sub { max-width: 34em; } }
@media (max-width: 560px) { .cfr .cfr__slab, .cfr .cfr__panel { padding: 26px 20px; } .cfr .cfr__tiles, .cfr .cfr__row, .cfr .cfr__actions { grid-template-columns: 1fr; } .cfr .cfr__seg { display: flex; width: 100%; } .cfr .cfr__seg label { flex: 1; text-align: center; } .cfr .cfr__seg span { padding: 10px 8px; } .cfr .cfr__eyebrow { font-size: 10px; letter-spacing: .1em; } }
@media (prefers-reduced-motion: reduce) { .cfr .cfr__globe::after, .cfr .cfr__globe .cfr__ico path, .cfr .cfr__found { animation: none; } }

/* Dotted globe illustration on a dark background. */
.cfr .cfr__shell { overflow: hidden; }
.cfr .cfr__world { display: flex; flex-direction: column; justify-content: center; align-items: center; min-width: 0; padding: 24px 12px; background: #15191c; }
.cfr .cfr__world-stage { width: 100%; max-width: 520px; aspect-ratio: 1; position: relative; }
.cfr .cfr__world-canvas { display: block; width: 100%; height: 100%; max-width: none; }
.cfr .cfr__world-label { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 0; padding: 8px; color: #c4cbcf; font-size: 14px; text-align: center; }
.cfr .cfr__world-label > span { flex: none; width: 6px; height: 6px; background: var(--cfr-accent); border-radius: 50%; }
.cfr .cfr__form-heading h2 { margin: 0 0 10px; padding: 0; font-family: inherit; font-size: clamp(26px, 3vw, 34px); font-weight: 800; line-height: 1.12; color: var(--cfr-ink); text-transform: none; letter-spacing: -.02em; }
.cfr .cfr__form-heading p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--cfr-muted); }
@media (max-width: 880px) {
 .cfr .cfr__world { padding: 18px 16px 0; }
 .cfr .cfr__world-stage { max-width: 290px; }
 .cfr .cfr__world-label { font-size: 13px; }
}
@media (max-width: 560px) {
 .cfr .cfr__world-stage { max-width: 230px; }
 .cfr .cfr__panel { padding-top: 22px; }
}


/* Full-width, responsive Lottie layout with comfortable form spacing. */
.cfr { width: 100%; max-width: none; margin: 24px 0; container-type: inline-size; }
.cfr .cfr__shell { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.12fr); align-items: center; gap: clamp(12px,2vw,24px); min-height: 0; overflow: visible; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.cfr .cfr__world { padding: 24px 0; background: transparent; }
.cfr .cfr__world-stage { width: 100%; max-width: 680px; aspect-ratio: 16 / 9; }
.cfr .cfr__lottie { width: 100%; height: 100%; }
.cfr .cfr__lottie svg { display: block; width: 100%; height: 100%; max-width: none; }
.cfr .cfr__world-label { margin: 18px 0 0; color: var(--cfr-muted); font-size: 14px; line-height: 1.4; }
.cfr .cfr__panel { padding: 22px 18px; background: #f7f8f9; border: 1px solid #e6e9ec; border-radius: 0; box-shadow: none; }
.cfr .cfr__form, .cfr .cfr__result, .cfr .cfr__loading { width: 100%; max-width: 680px; margin-left: auto; margin-right: auto; }
.cfr .cfr__form { gap: 13px; }
.cfr .cfr__form-heading h2 { margin: 0 0 8px; font-size: clamp(22px,2vw,26px); line-height: 1.18; text-transform: none; letter-spacing: -.015em; }
.cfr .cfr__form-heading p { font-size: 15px; line-height: 1.5; }
.cfr .cfr__legend { margin-bottom: 8px; font-size: 14px; }
.cfr .cfr__row, .cfr .cfr__tiles { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.cfr .cfr__field--full { grid-column: auto; }
.cfr .cfr__row > .cfr__field:last-child { grid-column: 1 / -1; }
.cfr .cfr__tile-face { min-height: 40px; padding: 8px 10px; border-radius: 0; border-width: 1px; }
.cfr .cfr__tile-name { font-size: 15px; }
.cfr .cfr__tile-tick { width: 20px; height: 20px; }
.cfr .cfr__field input, .cfr .cfr__field select { height: 40px; min-height: 40px; padding: 8px 11px; font-size: 16px; background-color: #fff; border: 1px solid #d6dade; border-radius: 0; }
.cfr .cfr__field select { padding-right: 34px; background-position: right 12px center; }
.cfr .cfr__field input::placeholder { color: #737a80; opacity: 1; }
.cfr .cfr__field label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.cfr .cfr__field input:focus, .cfr .cfr__field select:focus { box-shadow: none; outline: 2px solid var(--cfr-accent); outline-offset: 2px; }
.cfr .cfr__seg { display: flex; width: 100%; margin-bottom: 10px; padding: 3px; border-radius: 0; }
.cfr .cfr__seg label { flex: 1; text-align: center; }
.cfr .cfr__seg span { padding: 8px; font-size: 14px; border-radius: 0; }
.cfr .cfr__submit { height: 42px; min-height: 42px; padding: 0 14px; font-size: 16px; letter-spacing: .025em; border-radius: 0; }
.cfr .cfr__fine { margin: -3px 0 0; font-size: 12px; line-height: 1.4; }
.cfr .cfr__err { margin-top: 5px; font-size: 13px; }
.cfr .cfr__formerr { margin: 0; padding: 10px 12px; font-size: 14px; border-radius: 0; }
.cfr .cfr__loading { min-height: 360px; gap: 12px; padding: 16px; }
.cfr .cfr__lottie--loading { width: 200px; height: 150px; }
.cfr .cfr__loading strong { font-size: 24px; }
.cfr .cfr__loading p { font-size: 15px; }
.cfr .cfr__found { gap: 13px; }
.cfr .cfr__check, .cfr .cfr__check svg { width: 38px; height: 38px; }
.cfr .cfr__result-title { font-size: 27px; }
.cfr .cfr__rep { gap: 11px; padding: 12px; background: #fff; border-radius: 0; }
.cfr .cfr__avatar { width: 48px; height: 48px; font-size: 20px; border-radius: 0; }
.cfr .cfr__rep-name { font-size: 23px; }
.cfr .cfr__rep-company { font-size: 14px; }
.cfr .cfr__details > div { padding: 10px 0; gap: 10px; grid-template-columns: 110px minmax(0,1fr); }
.cfr .cfr__details dt { font-size: 14px; gap: 7px; }
.cfr .cfr__details dt .cfr__ico { width: 17px; height: 17px; }
.cfr .cfr__details dd { font-size: 16px; }
.cfr .cfr__actions { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.cfr .cfr__btn { min-height: 42px; padding: 8px 10px; font-size: 16px; border-radius: 0; }
.cfr .cfr__note { padding: 10px 12px; font-size: 13px; line-height: 1.5; background: #fff; border-radius: 0; }
.cfr .cfr__again { margin-top: 18px; padding: 6px 0; font-size: 15px; }
.cfr .cfr__fallback-msg { font-size: 16px; line-height: 1.5; }
@media (max-width: 760px) {
 .cfr .cfr__shell { grid-template-columns: 1fr; gap: 20px; }
 .cfr .cfr__world { padding: 8px 0; }
 .cfr .cfr__world-stage { max-width: 460px; }
 .cfr .cfr__world-label { margin-top: 8px; }
}
@container (max-width: 760px) {
 .cfr .cfr__shell { grid-template-columns: 1fr; gap: 20px; }
 .cfr .cfr__world { padding: 8px 0; }
 .cfr .cfr__world-stage { max-width: 460px; }
 .cfr .cfr__world-label { margin-top: 8px; }
}
@media (max-width: 480px) {
 .cfr { margin: 16px 0; }
 .cfr .cfr__panel { padding: 18px 14px; }
 .cfr .cfr__row { grid-template-columns: 1fr; }
 .cfr .cfr__details > div { grid-template-columns: 1fr; gap: 4px; }
 .cfr .cfr__world-label { font-size: 13px; }
}
@container (max-width: 400px) {
 .cfr .cfr__panel { padding: 18px 14px; }
 .cfr .cfr__row, .cfr .cfr__actions { grid-template-columns: 1fr; }
 .cfr .cfr__details > div { grid-template-columns: 1fr; gap: 4px; }
}
@container (max-width: 300px) { .cfr .cfr__tiles { grid-template-columns: 1fr; } }

.cfr .cfr__seg input:checked + span { box-shadow: none; }
.cfr .cfr__tile-tick { border-radius: 0; }

/* Refined result hierarchy, with square corners and understated links. */
.cfr .cfr__result-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--cfr-line); }
.cfr .cfr__result-head .cfr__result-title { font-size: clamp(22px,2vw,27px); line-height: 1.2; font-weight: 700; }
.cfr .cfr__result-head .cfr__check, .cfr .cfr__result-head .cfr__check svg { flex: none; width: 27px; height: 27px; }
.cfr .cfr__check circle { fill: none; stroke: var(--cfr-accent); stroke-width: 2; stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
.cfr .cfr__check path { stroke: var(--cfr-accent); stroke-width: 3; stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
.cfr .cfr__rep { display: block; margin: 0; padding: 3px 0 7px; background: transparent; border: 0; box-shadow: none; border-radius: 0; }
.cfr .cfr__rep-name { font-size: clamp(25px,2.4vw,31px); line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
.cfr .cfr__rep-company { margin-top: 4px; font-size: 14px; line-height: 1.4; }
.cfr .cfr__details dd a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.cfr .cfr__note { background: #fff1f1; background: color-mix(in srgb, var(--cfr-accent) 5%, #fff); border: 0; border-left: 3px solid var(--cfr-accent); padding: 12px 14px; color: var(--cfr-ink-soft); border-radius: 0; }
.cfr .cfr__note strong { font-weight: 600; }
.cfr .cfr__again { border-bottom-width: 1px; }

/* Product context replaces the old customer-facing rep-list tiles. */
.cfr .cfr__product-context { display: grid; gap: 4px; margin: 0; padding: 10px 12px; background: #fff; border-left: 2px solid var(--cfr-accent); }
.cfr .cfr__product-context span { color: var(--cfr-muted); font-size: 12px; }
.cfr .cfr__product-context strong { color: var(--cfr-ink); font-size: 17px; line-height: 1.3; overflow-wrap: anywhere; }
.cfr .cfr__catalog-empty { margin: 0; color: var(--cfr-muted); font-size: 14px; }
.cfr .cfr__submit:disabled { cursor: not-allowed; opacity: .6; }
