.autocomplete {
	position: relative;
	white-space: nowrap;
}
.autocomplete input {
	width: 100%;
	padding-left: 10px;
	outline: none;
}
.autocomplete .results {
	position: absolute;
	z-index: 99;
	display: none;
	background: var(--shiro-color-gray1);
	border: 1px solid var(--shiro-color-gray6);
	width: 100%;
	max-height: 300px;
	overflow-y: auto;
	overflow-x: none;
	gap: .5em;
	margin-top: .25em;
}
.autocomplete .results.open {
	display: block;
}
.autocomplete .results li {
	padding: 0.5em 0.75em;
	display: flex;
	gap: 1em;
	justify-content: space-between;
	align-items: baseline;
}
.autocomplete .results li:not( :first-child ) {
	border-top: 1px solid var(--shiro-color-gray5);
}
.autocomplete .results li.selected {
	background-color: var(--shiro-color-gray2);
}
.autocomplete .results li:hover {
	background-color: var(--shiro-color-gray3);
	cursor: pointer;
}
.autocomplete .results li button {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	width: 100%;
	background: none;
	border: none;
}
.autocomplete .results li button .label {
	/* flex: 1; */
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	line-height: 1.2;
}
.autocomplete .results li button .extra {
	text-transform: uppercase;
	font-size: .6em;
	letter-spacing: .5px;
	font-weight: 700;
	color: var(--shiro-color-theme);
}