.tsr-form { position: relative; max-width: 40rem; }
.tsr-form-row { display: flex; align-items: stretch; gap: 16px; }
.tsr-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tsr-label.is-visible { position: static; width: auto; height: auto; overflow: visible; clip: auto; margin-bottom: 0.35rem; }
.tsr-field, .tsr-button, .tsr-filters select {
	border-radius: 6px;
	border: 1px solid #c5c5c5;
	font: inherit;
}
.tsr-field {
	flex: 1;
	min-width: 0;
	padding: 0.7rem 0.9rem;
	color: #1d2327;
	background: #fff;
}
.tsr-field::placeholder { opacity: 0.65; color: currentColor; }
.tsr-button { padding: 0.7rem 1.1rem; background: #1d2327; color: #fff; cursor: pointer; }
.tsr-filters { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; }
.tsr-suggest {
	--tsr-suggest-bg: #fff;
	--tsr-suggest-color: #1d2327;
	--tsr-suggest-muted: #646970;
	--tsr-suggest-active-bg: #f0f0f1;
	--tsr-suggest-border: #c5c5c5;
	--tsr-suggest-radius: 6px;
	--tsr-suggest-font-size: 1rem;
	--tsr-suggest-line-height: 1.35;
	--tsr-suggest-label-size: 0.8em;
	--tsr-suggest-thumb: 48px;
	--tsr-thumb: var(--tsr-suggest-thumb);
	list-style: none;
	margin: 0;
	padding: 0;
	position: fixed;
	z-index: 2147483000;
	max-height: 24rem;
	overflow: auto;
	box-sizing: border-box;
	background-color: var(--tsr-suggest-bg);
	color: var(--tsr-suggest-color);
	border: 1px solid var(--tsr-suggest-border);
	border-radius: var(--tsr-suggest-radius);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
	font-family: inherit;
	font-size: min(var(--tsr-suggest-font-size), 18px);
	line-height: var(--tsr-suggest-line-height);
	letter-spacing: normal;
	text-transform: none;
}
.tsr-suggest.is-dark {
	--tsr-suggest-bg: #161616;
	--tsr-suggest-color: #f3f3f3;
	--tsr-suggest-muted: #b5b5b5;
	--tsr-suggest-active-bg: #2c2c2c;
	--tsr-suggest-border: #3a3a3a;
}
.tsr-suggest.is-light {
	--tsr-suggest-bg: #fff;
	--tsr-suggest-color: #1d2327;
	--tsr-suggest-muted: #646970;
	--tsr-suggest-active-bg: #f0f0f1;
	--tsr-suggest-border: #c5c5c5;
}
.tsr-suggest li { margin: 0; padding: 0; list-style: none; }
.tsr-suggest .tsr-option {
	all: unset;
	display: flex;
	align-items: center;
	gap: 0.75em;
	box-sizing: border-box;
	width: 100%;
	padding: 0.6em 0.9em;
	cursor: pointer;
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	letter-spacing: normal;
	text-transform: none;
	text-align: left;
	text-decoration: none;
}
.tsr-suggest .tsr-option:hover,
.tsr-suggest .tsr-option.is-active,
.tsr-suggest .tsr-option:focus-visible {
	background-color: var(--tsr-suggest-active-bg);
	outline: 2px solid currentColor;
	outline-offset: -2px;
}
.tsr-suggest img {
	width: var(--tsr-suggest-thumb);
	height: var(--tsr-suggest-thumb);
	flex: 0 0 var(--tsr-suggest-thumb);
	object-fit: cover;
	border-radius: 4px;
}
.tsr-suggest .tsr-option-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.tsr-suggest .tsr-option-label {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.tsr-suggest .tsr-muted { color: var(--tsr-suggest-muted); font-size: var(--tsr-suggest-label-size); }
.tsr-suggest.has-thumbs .tsr-option.no-thumb { padding-left: calc(0.9em + var(--tsr-suggest-thumb) + 0.75em); }
.tsr-suggest-all { font-weight: 600; }
.tsr-mark { background: #fff3bf; color: #1d2327; padding: 0 0.1em; }
.tsr-related { margin: 0.5rem 0 0; padding-left: 1.2rem; }
.tsr-related a { text-decoration: underline; }
.tsr-excerpt, .tsr-empty { line-height: 1.5; }
.elementor-widget-thinksearch-form:has(.tsr-open),
.e-con > .elementor-widget-thinksearch-form:has(.tsr-open) {
	width: auto;
	max-width: 100%;
	flex: 0 0 auto;
}
.elementor-widget-thinksearch-form:has(.tsr-open) > .elementor-widget-container {
	width: auto;
	flex: 0 0 auto;
}
button.tsr-open,
button.tsr-close,
.tsr-overlay button.tsr-button,
.elementor-widget-thinksearch-form .tsr-open,
.elementor-widget-thinksearch-form .tsr-close {
	text-transform: none;
	box-shadow: none;
	background-color: transparent;
	border-style: solid;
	border-width: 0;
	border-color: transparent;
	line-height: 1;
	appearance: none;
}
button.tsr-open,
.elementor-widget-thinksearch-form .tsr-open {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: inherit;
	cursor: pointer;
	border-radius: 6px;
	padding: 10px;
	font-size: var(--tsr-icon-size, 20px);
}
.elementor-widget-thinksearch-form .tsr-close {
	color: #fff;
	background-color: transparent;
}
.tsr-open svg,
.tsr-overlay button[type=submit] svg,
.tsr-button .tsr-icon {
	fill: currentColor;
	width: var(--tsr-icon-size, 20px);
	height: var(--tsr-icon-size, 20px);
	flex: 0 0 auto;
}
.tsr-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.86);
	padding: 2rem;
}
.tsr-overlay[hidden] { display: none; }
.tsr-overlay .tsr-form { width: min(42rem, 100%); max-width: none; }
.tsr-overlay .tsr-field { font-size: 1.6rem; background: #fff; color: #1d2327; }
.tsr-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	font-size: 2rem;
	line-height: 1;
	background: transparent;
	color: #fff;
	border: 0;
	cursor: pointer;
}
