.hlsoc,
.hlsoc * {
	box-sizing: border-box;
}

.hlsoc {
	max-width: 100%;
	color: inherit;
	font-family: inherit;
}

.hlsoc__title,
.hlsoc__intro,
.hlsoc__field label,
.hlsoc__input,
.hlsoc__button,
.hlsoc__results h3,
.hlsoc__card h4 {
	color: inherit;
	font-family: inherit;
}

.hlsoc__title {
	margin: 0 0 0.65em;
}

.hlsoc__intro {
	margin: 0 0 1em;
}

.hlsoc__input-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 0.75rem;
}

.hlsoc__field {
	flex: 1 1 16rem;
	min-width: 0;
	max-width: 30rem;
}

.hlsoc__field label {
	display: block;
	margin-bottom: 0.4em;
	font-size: inherit;
}

.hlsoc__input {
	display: block;
	width: 100%;
	min-height: 2.8em;
	padding: 0.55em 0.7em;
	border: 1px solid currentColor;
	border-radius: 0.25em;
	background: transparent;
	font-size: inherit;
}

.hlsoc__input:focus-visible,
.hlsoc__button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.hlsoc__button {
	min-height: 2.8em;
	max-width: 100%;
	padding: 0.55em 1em;
	margin: 0;
	border: 1px solid currentColor;
	border-radius: 0.25em;
	background: transparent;
	font-size: inherit;
	line-height: inherit;
	text-decoration: none;
	cursor: pointer;
}

.hlsoc__button:disabled {
	cursor: wait;
	opacity: 0.65;
}

.hlsoc__help,
.hlsoc__count,
.hlsoc__privacy,
.hlsoc__disclaimer,
.hlsoc__status,
.hlsoc__note {
	margin: 0.5em 0 0;
	font-size: 0.92em;
}

.hlsoc__count {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.hlsoc__privacy {
	margin-top: 1em;
}

.hlsoc__status:not(:empty) {
	margin-top: 0.75em;
}

.hlsoc__results {
	margin-top: 1.5rem;
}

.hlsoc__results > h3 {
	margin: 0 0 0.8em;
}

.hlsoc__summary {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
	gap: 0.8rem;
	margin: 0 0 1.25rem;
	padding: 1rem;
	border: 1px solid currentColor;
	border-radius: 0.5rem;
}

.hlsoc__summary-item {
	min-width: 0;
}

.hlsoc__summary-item dt {
	font-size: 0.92em;
}

.hlsoc__summary-item dd {
	margin: 0.25em 0 0;
	font-size: 1.2em;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}

.hlsoc__cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
	gap: 1rem;
}

.hlsoc__card {
	min-width: 0;
	padding: 1rem;
	border: 1px solid currentColor;
	border-radius: 0.5rem;
	background: transparent;
}

.hlsoc__card h4 {
	margin: 0 0 0.75em;
	font-size: 1.15em;
	line-height: 1.35;
}

.hlsoc__card-copy-title {
	margin: 1em 0 0.25em;
	font-size: 1em;
	font-weight: 600;
}

.hlsoc__copy {
	margin: 0 0 0.9em;
	font: inherit;
	color: inherit;
	line-height: 1.75;
	text-align: left;
	overflow-wrap: anywhere;
}

.hlsoc__copy:last-child {
	margin-bottom: 0;
}

.hlsoc__note {
	margin: -0.25em 0 0.75em;
}

.hlsoc__details {
	margin-top: 0.85em;
	padding-top: 0.65em;
	border-top: 1px solid currentColor;
}

.hlsoc__details summary {
	font: inherit;
	font-weight: 600;
	color: inherit;
	cursor: pointer;
}

.hlsoc__disclaimer {
	margin-top: 1rem;
}

.hlsoc__dependency-message {
	font: inherit;
	color: inherit;
}

@media (max-width: 600px) {
	.hlsoc__input-row {
		align-items: stretch;
	}

	.hlsoc__field {
		flex-basis: 100%;
		max-width: none;
	}

	.hlsoc__button {
		width: auto;
	}
}
