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

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

.hlid__title,
.hlid__card-title,
.hlid__copy-title,
.hlid__field label,
.hlid__button,
.hlid__input {
	color: inherit;
	font-family: inherit;
}

.hlid__title {
	margin: 0 0 1em;
}

.hlid__form {
	display: block;
}

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

.hlid__field {
	flex: 1 1 16rem;
	min-width: 0;
	max-width: 23rem;
}

.hlid__field-meta {
	width: 100%;
	max-width: 23rem;
}

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

.hlid__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;
}

.hlid__input:focus-visible,
.hlid__button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.hlid__button {
	min-height: 2.8em;
	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;
}

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

.hlid__help,
.hlid__count,
.hlid__privacy,
.hlid__disclaimer,
.hlid__status,
.hlid__note {
	margin: 0.5em 0 0;
	font-size: 0.92em;
}

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

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

.hlid__privacy {
	margin-top: 1em;
}

.hlid__disclaimer {
	margin-top: 0.45em;
}

.hlid__results {
	margin-top: 1.5rem;
}

.hlid__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;
}

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

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

.hlid__summary-item dd {
	margin: 0.25em 0 0;
	font-size: 1.2em;
	font-weight: 600;
	overflow-wrap: anywhere;
}

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

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

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

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

.hlid__copy {
	margin: 0;
	white-space: normal;
	font: inherit;
	color: inherit;
	line-height: inherit;
}

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

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

.hlid__details-toggle {
	font: inherit;
	font-weight: 600;
	color: inherit;
	cursor: pointer;
}

.hlid-dependency-message {
	font: inherit;
	color: inherit;
}

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

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

	.hlid__field-meta {
		max-width: none;
	}

	.hlid__button {
		width: auto;
		max-width: 100%;
	}
}
