.lmeahf-eclipse {
	--eclipse-accent: #175d8d;
	--eclipse-border: #d7dde3;
	--eclipse-soft: #f5f8fa;
	border: 1px solid var(--eclipse-border);
	border-radius: 10px;
	margin: 1.5rem 0;
	padding: clamp(1rem, 3vw, 1.75rem);
	max-width: 100%;
	overflow: hidden;
}

.lmeahf-eclipse,
.lmeahf-eclipse * {
	box-sizing: border-box;
}

.lmeahf-eclipse h2,
.lmeahf-eclipse h3 {
	margin-top: 0;
}

.lmeahf-eclipse label,
.lmeahf-eclipse legend {
	font-weight: 600;
}

.lmeahf-eclipse__search-row {
	display: flex;
	gap: .65rem;
	margin-top: .4rem;
}

.lmeahf-eclipse input[type="search"] {
	box-sizing: border-box;
	flex: 1 1 18rem;
	min-width: 0;
	padding: .65rem .75rem;
}

.lmeahf-eclipse button {
	background: var(--eclipse-accent);
	border: 0;
	border-radius: 5px;
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	padding: .65rem 1rem;
}

.lmeahf-eclipse button:hover,
.lmeahf-eclipse button:focus-visible {
	filter: brightness(.9);
}

.lmeahf-eclipse__confirm,
.lmeahf-eclipse__result {
	border-top: 1px solid var(--eclipse-border);
	margin-top: 1.5rem;
	max-width: 100%;
	min-width: 0;
	padding-top: 1.25rem;
}

.lmeahf-eclipse__confirm form {
	margin: 0;
	max-width: 100%;
	min-width: 0;
	width: 100%;
}

.lmeahf-eclipse fieldset {
	border: 0;
	margin: 0 0 1rem;
	max-width: 100%;
	min-width: 0;
	padding: 0;
	width: 100%;
}

.lmeahf-eclipse .lmeahf-eclipse__candidate {
	align-items: flex-start;
	background: var(--eclipse-soft);
	border: 1px solid transparent;
	border-radius: 6px;
	cursor: pointer;
	display: grid !important;
	float: none !important;
	gap: .7rem;
	grid-template-columns: 1.25rem minmax(0, 1fr);
	justify-content: start !important;
	margin: .55rem 0;
	max-width: 100% !important;
	padding: .75rem;
	position: static !important;
	text-align: left !important;
	white-space: normal !important;
	width: 100% !important;
}

.lmeahf-eclipse__candidate:focus-within {
	border-color: var(--eclipse-accent);
}

.lmeahf-eclipse .lmeahf-eclipse__candidate input[type="radio"] {
	float: none !important;
	margin: .15rem 0 0 !important;
	max-width: 1.25rem;
	min-width: 0;
	position: static !important;
	width: auto !important;
}

.lmeahf-eclipse .lmeahf-eclipse__candidate > span,
.lmeahf-eclipse .lmeahf-eclipse__candidate strong,
.lmeahf-eclipse .lmeahf-eclipse__candidate small {
	float: none !important;
	margin-left: 0 !important;
	max-width: 100%;
	min-width: 0;
	overflow-wrap: anywhere;
	position: static !important;
	text-align: left !important;
	white-space: normal !important;
	width: auto !important;
}

.lmeahf-eclipse .lmeahf-eclipse__candidate small {
	display: block;
	font-weight: 400;
	margin-top: .2rem;
}

.lmeahf-eclipse__message {
	border-left: 4px solid;
	margin: 1rem 0;
	padding: .8rem 1rem;
}

.lmeahf-eclipse__message--error {
	background: #fff1f1;
	border-color: #b42318;
	color: #7a271a;
}

.lmeahf-eclipse__message--warning {
	background: #fff8e6;
	border-color: #b7791f;
}

.lmeahf-eclipse__confirmed,
.lmeahf-eclipse__sources {
	color: #4b5563;
	font-size: .9em;
}

.lmeahf-eclipse table {
	border-collapse: collapse;
	display: block;
	margin: 1rem 0;
	overflow-x: auto;
	width: 100%;
}

.lmeahf-eclipse caption {
	font-weight: 600;
	padding: .4rem;
	text-align: left;
}

.lmeahf-eclipse th,
.lmeahf-eclipse td {
	border: 1px solid var(--eclipse-border);
	padding: .6rem .75rem;
	text-align: left;
	white-space: nowrap;
}

.lmeahf-eclipse thead th {
	background: var(--eclipse-soft);
}

@media (max-width: 520px) {
	.lmeahf-eclipse__search-row {
		align-items: stretch;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lmeahf-eclipse * {
		scroll-behavior: auto !important;
	}
}
