/* Global AJAX search — 1.30.0 */
.jspanel-global-search-form{position:relative}
.jspanel-global-search-panel[hidden]{display:none!important}
.jspanel-global-search-panel{
	position:absolute;
	z-index:100050;
	top:calc(100% + 7px);
	right:0;
	left:0;
	min-width:min(360px,92vw);
	overflow:hidden;
	border:1px solid var(--jspanel-line,#e5e7eb);
	border-radius:12px;
	background:var(--jspanel-surface,#fff);
	box-shadow:0 16px 45px rgba(17,24,39,.14);
}
.jspanel-global-search-status{
	display:flex;
	align-items:center;
	justify-content:center;
	gap:7px;
	min-height:42px;
	padding:9px 12px;
	color:var(--jspanel-muted,#858a90);
	font-size:10px;
}
.jspanel-global-search-status:empty{display:none}
.jspanel-global-search-loader{
	width:15px;
	height:15px;
	border:2px solid var(--jspanel-line,#dedfe2);
	border-top-color:var(--jspanel-primary,#e63946);
	border-radius:50%;
	animation:jspanel-global-search-spin .65s linear infinite;
}
@keyframes jspanel-global-search-spin{to{transform:rotate(360deg)}}
.jspanel-global-search-results{
	display:flex;
	flex-direction:column;
	max-height:min(430px,60vh);
	overflow:auto;
}
.jspanel-global-search-result{
	display:grid;
	grid-template-columns:50px minmax(0,1fr);
	align-items:center;
	gap:10px;
	min-height:64px;
	padding:7px 9px;
	border-top:1px solid var(--jspanel-line,#eef0f2);
	color:var(--jspanel-ink,#44484e)!important;
	text-decoration:none!important;
}
.jspanel-global-search-result:first-child{border-top:0}
.jspanel-global-search-result:hover,
.jspanel-global-search-result:focus{
	background:var(--jspanel-soft,#f7f8fa);
	outline:none;
}
.jspanel-global-search-image{
	display:grid;
	place-items:center;
	width:50px;
	height:50px;
	overflow:hidden;
	border-radius:8px;
	background:var(--jspanel-soft,#f7f8fa);
}
.jspanel-global-search-image img{
	display:block;
	width:100%;
	height:100%;
	object-fit:contain;
}
.jspanel-global-search-image svg{
	width:24px;
	height:24px;
	fill:none;
	stroke:#b0b5ba;
	stroke-width:1.25;
}
.jspanel-global-search-main{
	display:flex;
	flex-direction:column;
	gap:5px;
	min-width:0;
}
.jspanel-global-search-main>strong{
	overflow:hidden;
	color:inherit;
	font-size:10.5px;
	font-weight:800;
	line-height:1.6;
	text-overflow:ellipsis;
	white-space:nowrap;
}
.jspanel-global-search-sub{
	display:flex;
	align-items:center;
	gap:7px;
	min-width:0;
	color:var(--jspanel-muted,#8d9298);
	font-size:8px;
}
.jspanel-global-search-sub small:first-child{
	flex:none;
	color:var(--jspanel-primary,#e63946);
	font-weight:800;
}
.jspanel-global-search-meta{
	margin-right:auto;
	color:var(--jspanel-ink,#44484e);
	font-size:8.5px;
	font-weight:800;
	white-space:nowrap;
}
.jspanel-global-search-meta del{color:#a5a9ae;font-size:7px}
.jspanel-global-search-meta ins{text-decoration:none}
.jspanel-global-search-all{
	display:flex;
	align-items:center;
	justify-content:center;
	min-height:39px;
	padding:8px 12px;
	border-top:1px solid var(--jspanel-line,#e5e7eb);
	color:var(--jspanel-primary,#e63946)!important;
	font-size:9.5px;
	font-weight:850;
	text-decoration:none!important;
}
.jspanel-global-search-all:hover{background:var(--jspanel-soft,#f7f8fa)}
html.jspanel-theme-dark .jspanel-global-search-panel{
	border-color:#30353b;
	background:#171a1e;
	box-shadow:0 16px 45px rgba(0,0,0,.35);
}
html.jspanel-theme-dark .jspanel-global-search-result{
	border-color:#292d32;
	color:#e4e8eb!important;
}
html.jspanel-theme-dark .jspanel-global-search-result:hover{background:#20242a}
html.jspanel-theme-dark .jspanel-global-search-image{background:#20242a}
html.jspanel-theme-dark .jspanel-global-search-meta{color:#eef1f4}
@media(max-width:767px){
	.jspanel-global-search-panel{
		right:0;
		left:auto;
		width:min(420px,calc(100vw - 24px));
		min-width:0;
	}
}
