/* ===== 列表页标签筛选卡片（知识广场 / 包装 / 企业）2026-10-27 ===== */
.mtc{
	background:#fff;
	border-radius:6px;
	padding:16px 20px 14px;
	margin-top:12px;
	position:relative;
}
.mtc-head{
	display:flex;
	align-items:baseline;
	flex-wrap:wrap;
	gap:10px;
}
.mtc-title{
	font-size:15px;
	font-weight:bold;
	color:#1d2129;
}
.mtc-desc{
	font-size:12px;
	color:#8a94a6;
	line-height:20px;
}
.mtc-form{
	margin-top:12px;
	display:flex;
	align-items:center;
	gap:12px;
	flex-wrap:wrap;
}
.mtc-box{
	position:relative;
	display:flex;
	align-items:center;
	height:38px;
	border:1px solid #dfe3ea;
	border-radius:5px;
	background:#fff;
	padding:0 76px 0 10px;
	box-sizing:border-box;
	flex:0 1 640px;
	max-width:640px;
}
.mtc-box:focus-within{
	border-color:#0066cc;
	box-shadow:0 0 0 3px rgba(0,102,204,.08);
}
.mtc-cur{
	display:none;
	align-items:center;
	gap:6px;
	background:#eaf3ff;
	color:#0066cc;
	border-radius:3px;
	font-size:13px;
	line-height:24px;
	padding:0 8px;
	margin-right:8px;
	white-space:nowrap;
}
.mtc-cur.on{display:inline-flex;}
.mtc-cur i{
	font-style:normal;
	cursor:pointer;
	color:#7aa7d8;
	font-size:14px;
	line-height:1;
}
.mtc-cur i:hover{color:#e64545;}
.mtc-input{
	flex:1;
	min-width:0;
	height:36px;
	line-height:36px;
	border:0;
	outline:0;
	font-size:14px;
	color:#1d2129;
	background:transparent;
}
/* 按钮绝对定位盖住输入框右侧 1px 边框，既无缝又不裁切下拉 */
.mtc-btn{
	position:absolute;
	right:-1px;
	top:-1px;
	bottom:-1px;
	width:76px;
	border:0;
	background:#0066cc;
	color:#fff;
	font-size:14px;
	cursor:pointer;
	border-radius:0 4px 4px 0;
	margin:0;
	padding:0;
	z-index:2;
}
.mtc-btn:hover{background:#0057ad;}
/* 筛选按钮右侧提示语 */
.mtc-hint{
	font-size:12px;
	color:#8a94a6;
	line-height:18px;
	white-space:nowrap;
}
/* 下拉联想 */
.mtc-drop{
	display:none;
	position:absolute;
	left:0;
	top:40px;
	width:100%;
	max-height:260px;
	overflow-y:auto;
	background:#fff;
	border:1px solid #e5e8ef;
	border-radius:5px;
	box-shadow:0 6px 20px rgba(0,0,0,.08);
	z-index:60;
	padding:4px 0;
}
.mtc-drop.on{display:block;}
.mtc-op{
	display:flex;
	align-items:center;
	gap:8px;
	padding:8px 12px;
	font-size:13px;
	color:#4e5969;
	cursor:pointer;
}
.mtc-op:hover,.mtc-op.cur{background:#f2f7ff;color:#0066cc;}
.mtc-op em{
	font-style:normal;
	color:#0066cc;
	font-weight:bold;
}
.mtc-op span{
	flex:1;
	min-width:0;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;
}
.mtc-op b{
	font-weight:normal;
	font-size:12px;
	color:#a9b2c0;
	flex-shrink:0;
}
.mtc-none{
	padding:10px 12px;
	font-size:13px;
	color:#8a94a6;
}
/* 标签云 */
.mtc-tags{
	margin-top:12px;
	max-height:104px;
	overflow:hidden;
	display:flex;
	flex-wrap:wrap;
	gap:8px;
	transition:max-height .2s;
}
.mtc.open .mtc-tags{max-height:none;}
.mtc-tag{
	display:inline-flex;
	align-items:center;
	gap:4px;
	font-size:13px;
	line-height:26px;
	padding:0 10px;
	border-radius:13px;
	background:#f5f6f8;
	color:#4e5969;
	white-space:nowrap;
}
.mtc-tag:hover{background:#eaf3ff;color:#0066cc;}
.mtc-tag i{
	font-style:normal;
	font-size:11px;
	color:#a9b2c0;
}
.mtc-tag.on{background:#0066cc;color:#fff;}
.mtc-tag.on i{color:rgba(255,255,255,.75);}
.mtc-more{
	display:none;
	margin-top:10px;
	font-size:13px;
	color:#0066cc;
	cursor:pointer;
	user-select:none;
}
.mtc-more.on{display:inline-block;}
.mtc-more:hover{text-decoration:underline;}
@media (max-width:900px){
	.mtc{padding:14px 14px 12px;}
	.mtc-box{flex:1 1 100%;max-width:100%;padding-right:70px;}
	.mtc-btn{width:70px;}
	.mtc-hint{white-space:normal;}
	.mtc-tags{max-height:88px;}
}
