.imb-els-master {
	--imb-els-master-accent: #a985ff;
	--imb-els-master-surface: #14131c;
	--imb-els-master-text: #faf8ff;
	--imb-els-master-muted: #d8d1e6;

	padding: clamp(2rem, 6vw, 5rem) 1rem;
	color: var(--imb-els-master-text);
	background: #0b0a10;
}

.imb-els-master * {
	box-sizing: border-box;
}

.imb-els-master__shell {
	width: min(100%, 70rem);
	margin-inline: auto;
}

.imb-els-master .imb-els-brand {
	margin-block-end: 1.25rem;
}

.imb-els-master .imb-els-brand img {
	display: block;
	width: clamp(7rem, 20vw, 10rem);
	height: auto;
	aspect-ratio: 1;
}

.imb-els-master__eyebrow {
	color: var(--imb-els-master-accent);
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.imb-els-master__interaction {
	margin-top: 2rem;
	padding: clamp(1rem, 4vw, 2rem);
	background: var(--imb-els-master-surface);
	border: 1px solid #7952c7;
	border-radius: 0.75rem;
}

.imb-els-master fieldset {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.imb-els-master legend {
	margin-bottom: 1rem;
	font-size: 1.25rem;
	font-weight: 800;
}

.imb-els-master__candidates {
	display: grid;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.imb-els-master__candidates li {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 0.75rem;
	align-items: center;
	padding: 1rem;
	border: 1px solid #5f5470;
	border-radius: 0.5rem;
}

.imb-els-master__candidates input {
	width: 1.4rem;
	height: 1.4rem;
	accent-color: var(--imb-els-master-accent);
}

.imb-els-master__candidates label {
	display: grid;
	gap: 0.2rem;
	cursor: pointer;
}

.imb-els-master__candidates label span {
	color: var(--imb-els-master-muted);
}

.imb-els-master a {
	color: var(--imb-els-master-text);
	text-underline-offset: 0.2em;
}

.imb-els-master__controls {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.imb-els-master__controls button {
	min-height: 3rem;
	padding: 0.75rem 1rem;
	color: #0b0810;
	font: inherit;
	font-weight: 800;
	background: var(--imb-els-master-accent);
	border: 2px solid transparent;
	border-radius: 0.4rem;
	touch-action: none;
	user-select: none;
}

.imb-els-master__controls button + button {
	color: var(--imb-els-master-text);
	background: transparent;
	border-color: #9275cc;
	touch-action: manipulation;
}

.imb-els-master button:disabled {
	cursor: not-allowed;
	opacity: 0.6;
}

.imb-els-master :where(button, input, a):focus-visible {
	outline: 3px solid #fff36a;
	outline-offset: 3px;
}

.imb-els-master__progress-wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.75rem;
	align-items: center;
}

.imb-els-master__progress-wrap progress {
	width: 100%;
	height: 1rem;
	accent-color: var(--imb-els-master-accent);
}

.imb-els-master__status {
	min-height: 1.6em;
	font-weight: 800;
}

.imb-els-master__honeypot {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (width <= 42rem) {
	.imb-els-master__candidates li {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.imb-els-master__candidates a {
		grid-column: 2;
	}

	.imb-els-master__controls,
	.imb-els-master__progress-wrap {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
	}

	.imb-els-master__controls button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.imb-els-master *,
	.imb-els-master *::before,
	.imb-els-master *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

@media (forced-colors: active) {
	.imb-els-master__interaction,
	.imb-els-master__candidates li,
	.imb-els-master__controls button {
		border: 2px solid CanvasText;
	}
}
