/* [owl_exercise_search] — instant movement lookup. */
.owl-xs {
	background: #fff;
	border: 1px solid #d9dadd;
	border-top: 5px solid #d71920;
	margin: 30px 0;
	padding: clamp(20px, 3vw, 30px);
	position: relative;
}

.owl-xs__label {
	color: #121316;
	display: block;
	font-family: Oswald, "Archivo", system-ui, sans-serif;
	font-size: clamp(1.15rem, 2.2vw, 1.4rem);
	font-weight: 500;
	letter-spacing: .02em;
	margin-bottom: 12px;
	text-transform: uppercase;
}

.owl-xs__field { position: relative; }

.owl-xs__input {
	background: #f7f6f4;
	border: 1px solid #c9cacd;
	color: #121316;
	font-family: Inter, system-ui, sans-serif;
	font-size: 16px; /* 16px stops iOS zooming the page on focus */
	padding: 15px 44px 15px 16px;
	width: 100%;
}
.owl-xs__input:focus {
	border-color: #121316;
	outline: 2px solid #d71920;
	outline-offset: 2px;
}
.owl-xs__input::-webkit-search-cancel-button { display: none; }

.owl-xs__clear {
	background: none;
	border: 0;
	color: #6e7178;
	cursor: pointer;
	font-size: 26px;
	line-height: 1;
	padding: 0 14px;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}
.owl-xs__clear:hover { color: #121316; }

.owl-xs__hint { color: #6e7178; font-size: 13px; line-height: 1.5; margin: 10px 0 0; }

.owl-xs__results {
	list-style: none;
	margin: 14px 0 0;
	max-height: 22rem;
	overflow-y: auto;
	padding: 0;
}
.owl-xs__results li { border-top: 1px solid #e6e6e8; margin: 0; }
.owl-xs__results li:first-child { border-top: 0; }

.owl-xs__link {
	color: #121316;
	display: block;
	font-size: 15px;
	line-height: 1.4;
	padding: 13px 10px;
	text-decoration: none;
}
.owl-xs__link:hover,
.owl-xs__results li[aria-selected="true"] .owl-xs__link {
	background: #f0eee9;
	color: #d71920;
}

.owl-xs__empty { color: #6e7178; font-size: 14px; margin: 14px 0 0; }

/* On a dark section the panel keeps its own light card, so only the heading
   outside it needs to change — nothing to do here. */
@media (max-width: 600px) {
	.owl-xs__results { max-height: 18rem; }
}
