/* Tom Select — dark theme overrides */
[data-bs-theme="dark"] .ts-wrapper .ts-control,
[data-bs-theme="dark"] .ts-wrapper .ts-dropdown {
	background-color: var(--bs-body-bg);
	color: var(--bs-body-color);
	border-color: var(--bs-border-color);
}
[data-bs-theme="dark"] .ts-wrapper .ts-control input {
	color: var(--bs-body-color);
}
[data-bs-theme="dark"] .ts-wrapper .ts-dropdown .option {
	color: var(--bs-body-color);
}
[data-bs-theme="dark"] .ts-wrapper .ts-dropdown .active {
	background-color: var(--bs-primary);
	color: #fff;
}
[data-bs-theme="dark"] .ts-wrapper .ts-dropdown .no-results {
	color: var(--bs-secondary-color);
}

/* Entity switcher — compact TomSelect in header */
#entity-switcher-wrapper .ts-wrapper {
	min-width: 160px;
	max-width: 260px;
}
#entity-switcher-wrapper .ts-wrapper .ts-control {
	padding: 0.25rem 0.5rem;
	min-height: 0;
	font-size: 0.8125rem;
	border-radius: 0.25rem;
}
#entity-switcher-wrapper .ts-wrapper .ts-control > input {
	font-size: 0.8125rem;
}
#entity-switcher-wrapper .ts-wrapper .ts-dropdown {
	font-size: 0.8125rem;
}
