/* 前台 · 知识库 · 赛博朋克 */
.lx-kbf {
	--kbf-bg: #05060f;
	--kbf-panel: rgba(8, 12, 28, 0.92);
	--kbf-panel-2: rgba(12, 18, 40, 0.95);
	--kbf-line: rgba(0, 245, 255, 0.22);
	--kbf-line-strong: rgba(0, 245, 255, 0.55);
	--kbf-cyan: #00f5ff;
	--kbf-magenta: #ff2bd6;
	--kbf-violet: #7c3aed;
	--kbf-text: #e8f7ff;
	--kbf-muted: #7a8fad;
	--kbf-glow: 0 0 24px rgba(0, 245, 255, 0.18);
	max-width: 1100px;
	margin: 0 auto;
	padding: 20px 16px 48px;
	color: var(--kbf-text);
	font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
	position: relative;
}
.lx-kbf::before {
	content: "";
	pointer-events: none;
	position: absolute;
	inset: -8px 0 auto;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--kbf-cyan), var(--kbf-magenta), transparent);
	opacity: 0.7;
	box-shadow: 0 0 18px rgba(0, 245, 255, 0.45);
}

/* 模式切换 */
.lx-kbf__mode-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 18px;
}
@media (max-width: 640px) {
	.lx-kbf__mode-nav { grid-template-columns: 1fr; }
}
.lx-kbf__mode {
	display: flex;
	align-items: center;
	gap: 12px;
	text-align: left;
	padding: 14px 16px;
	border-radius: 12px;
	border: 1px solid var(--kbf-line);
	background:
		linear-gradient(135deg, rgba(0, 245, 255, 0.06), transparent 50%),
		var(--kbf-panel);
	color: var(--kbf-text);
	cursor: pointer;
	transition: border-color .15s, box-shadow .15s, background .15s, transform .12s;
	box-shadow: inset 0 0 0 1px rgba(255, 43, 214, 0.04);
}
.lx-kbf__mode:hover {
	border-color: var(--kbf-line-strong);
	box-shadow: var(--kbf-glow);
	transform: translateY(-1px);
}
.lx-kbf__mode.is-active {
	border-color: rgba(0, 245, 255, 0.65);
	background:
		linear-gradient(135deg, rgba(0, 245, 255, 0.14), rgba(255, 43, 214, 0.1)),
		var(--kbf-panel-2);
	box-shadow: 0 0 0 1px rgba(0, 245, 255, 0.2), 0 0 28px rgba(0, 245, 255, 0.15), 0 0 40px rgba(255, 43, 214, 0.08);
}
.lx-kbf__mode-ico {
	width: 42px;
	height: 42px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(0, 245, 255, 0.28);
	flex-shrink: 0;
	box-shadow: 0 0 16px rgba(0, 245, 255, 0.12);
}
.lx-kbf__mode.is-active .lx-kbf__mode-ico {
	border-color: rgba(255, 43, 214, 0.45);
	box-shadow: 0 0 18px rgba(255, 43, 214, 0.25);
}
.lx-kbf__mode-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.lx-kbf__mode-text strong {
	font-size: 15px;
	font-weight: 750;
	color: #f4fbff;
	letter-spacing: 0.02em;
	text-shadow: 0 0 12px rgba(0, 245, 255, 0.25);
}
.lx-kbf__mode-text em {
	font-style: normal;
	font-size: 12px;
	color: var(--kbf-muted);
}

/* 智能客服卡片 · 微信式 */
.lx-kbf__cs {
	margin-bottom: 8px;
}
.lx-kbf__cs[hidden] { display: none !important; }
.lx-kbf__cs-card,
.lx-kbf__wx {
	background:
		linear-gradient(160deg, rgba(0, 245, 255, 0.07), transparent 42%),
		linear-gradient(320deg, rgba(255, 43, 214, 0.05), transparent 45%),
		var(--kbf-panel);
	border: 1px solid var(--kbf-line-strong);
	border-radius: 14px;
	padding: 0;
	overflow: hidden;
	box-shadow: 0 0 40px rgba(0, 245, 255, 0.08), inset 0 0 40px rgba(0, 245, 255, 0.03);
	display: flex;
	flex-direction: column;
	min-height: min(72vh, 640px);
}
.lx-kbf__wx-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	border-bottom: 1px solid rgba(0, 245, 255, 0.18);
	background:
		linear-gradient(90deg, rgba(0, 245, 255, 0.1), rgba(255, 43, 214, 0.06)),
		rgba(4, 8, 20, 0.95);
	flex-shrink: 0;
}
.lx-kbf__wx-head--inline {
	border-radius: 12px 12px 0 0;
	margin: 0;
}
.lx-kbf__wx-head-main {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}
.lx-kbf__wx-avatar {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.04em;
	color: #041018;
	background: linear-gradient(135deg, var(--kbf-cyan), #38bdf8 50%, var(--kbf-magenta));
	box-shadow: 0 0 14px rgba(0, 245, 255, 0.4);
	flex-shrink: 0;
}
.lx-kbf__wx-title {
	font-size: 15px;
	font-weight: 700;
	color: #f0fdff;
	text-shadow: 0 0 10px rgba(0, 245, 255, 0.35);
}
.lx-kbf__wx-clear { flex-shrink: 0; }

.lx-kbf__chat--cs,
.lx-kbf__chat--wx {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
}
.lx-kbf__chat--cs .lx-kbf__wx-msgs,
.lx-kbf__chat--wx .lx-kbf__wx-msgs {
	flex: 1;
	min-height: 320px;
	max-height: none;
	height: min(52vh, 480px);
}

.lx-kbf__layout[hidden] { display: none !important; }
.lx-kbf__hero {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	margin-bottom: 22px;
}
.lx-kbf__icon {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: linear-gradient(145deg, rgba(0, 245, 255, 0.18), rgba(255, 43, 214, 0.12));
	border: 1px solid rgba(0, 245, 255, 0.35);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	box-shadow: var(--kbf-glow);
}
.lx-kbf__kicker {
	margin: 0 0 4px;
	font-size: 11px;
	letter-spacing: 0.18em;
	color: var(--kbf-cyan);
	font-weight: 700;
	text-shadow: 0 0 10px rgba(0, 245, 255, 0.45);
}
.lx-kbf__title {
	margin: 0 0 6px;
	font-size: 1.55rem;
	color: #f8fdff;
	text-shadow: 0 0 18px rgba(0, 245, 255, 0.25);
}
.lx-kbf__sub {
	margin: 0;
	font-size: 13px;
	color: var(--kbf-muted);
}
.lx-kbf__card {
	background: var(--kbf-panel);
	border: 1px solid var(--kbf-line);
	border-radius: 14px;
	padding: 22px;
	box-shadow: var(--kbf-glow);
}
.lx-kbf__login { text-align: center; color: #c9e7ff; }
.lx-kbf__layout {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 16px;
	align-items: start;
}
@media (max-width: 860px) {
	.lx-kbf__layout { grid-template-columns: 1fr; }
}
.lx-kbf__panel {
	background: var(--kbf-panel);
	border: 1px solid var(--kbf-line);
	border-radius: 12px;
	padding: 12px;
	box-shadow: inset 0 0 30px rgba(0, 245, 255, 0.03);
}
.lx-kbf__panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}
.lx-kbf__panel-head h2 {
	margin: 0;
	font-size: 14px;
	color: #e8f9ff;
	text-shadow: 0 0 8px rgba(0, 245, 255, 0.2);
}
.lx-kbf__list { max-height: 70vh; overflow: auto; }
.lx-kbf__item {
	display: block;
	width: 100%;
	text-align: left;
	border: 1px solid rgba(0, 245, 255, 0.14);
	background: rgba(8, 14, 30, 0.9);
	border-radius: 10px;
	padding: 10px 12px;
	margin: 0 0 8px;
	cursor: pointer;
	color: inherit;
	transition: border-color .15s, background .15s, box-shadow .15s;
}
.lx-kbf__item:hover {
	border-color: rgba(0, 245, 255, 0.45);
	box-shadow: 0 0 14px rgba(0, 245, 255, 0.12);
}
.lx-kbf__item.is-active {
	border-color: rgba(255, 43, 214, 0.55);
	background: linear-gradient(135deg, rgba(0, 245, 255, 0.1), rgba(255, 43, 214, 0.08));
	box-shadow: 0 0 0 1px rgba(0, 245, 255, 0.2), 0 0 18px rgba(255, 43, 214, 0.12);
}
.lx-kbf__item-name {
	display: block;
	font-weight: 600;
	font-size: 13px;
	color: #f1f5f9;
	margin-bottom: 3px;
}
.lx-kbf__item-meta {
	font-size: 11px;
	color: var(--kbf-muted);
}
.lx-kbf__main {
	background: var(--kbf-panel);
	border: 1px solid var(--kbf-line);
	border-radius: 12px;
	padding: 16px 18px 20px;
	min-height: 480px;
	box-shadow: inset 0 0 40px rgba(0, 245, 255, 0.03);
}
.lx-kbf__empty {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 360px;
	color: var(--kbf-muted);
	text-align: center;
}
.lx-kbf__toolbar {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	align-items: flex-start;
	margin-bottom: 14px;
	flex-wrap: wrap;
}
.lx-kbf__toolbar h2 {
	margin: 0 0 4px;
	font-size: 1.15rem;
	color: #f8fdff;
}
.lx-kbf__toolbar-actions { display: flex; gap: 8px; }
.lx-kbf__tabs {
	display: flex;
	gap: 6px;
	margin-bottom: 14px;
	border-bottom: 1px solid rgba(0, 245, 255, 0.15);
	padding-bottom: 8px;
}
.lx-kbf__tab {
	border: 0;
	background: transparent;
	color: var(--kbf-muted);
	padding: 8px 12px;
	border-radius: 8px;
	cursor: pointer;
	font-size: 13px;
}
.lx-kbf__tab.is-active {
	background: linear-gradient(135deg, rgba(0, 245, 255, 0.16), rgba(255, 43, 214, 0.1));
	color: #e0fdff;
	font-weight: 600;
	box-shadow: 0 0 12px rgba(0, 245, 255, 0.15);
}
.lx-kbf__muted { color: var(--kbf-muted); font-size: 13px; margin: 0; }
.lx-kbf__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	border: 1px solid rgba(0, 245, 255, 0.28);
	background: rgba(10, 18, 36, 0.9);
	color: #d9f7ff;
	border-radius: 8px;
	padding: 8px 14px;
	font-size: 13px;
	cursor: pointer;
	text-decoration: none;
	line-height: 1.3;
	transition: border-color .15s, box-shadow .15s, filter .15s;
}
.lx-kbf__btn:hover {
	border-color: var(--kbf-cyan);
	color: #fff;
	box-shadow: 0 0 14px rgba(0, 245, 255, 0.2);
}
.lx-kbf__btn--primary {
	background: linear-gradient(135deg, #0891b2, #2563eb 55%, #7c3aed);
	border-color: rgba(0, 245, 255, 0.55);
	color: #fff;
	box-shadow: 0 0 16px rgba(0, 245, 255, 0.22);
}
.lx-kbf__btn--primary:hover { filter: brightness(1.1); }
.lx-kbf__btn--danger {
	border-color: rgba(255, 80, 120, 0.45);
	background: rgba(60, 10, 28, 0.85);
	color: #fecdd3;
}
.lx-kbf__btn--sm { padding: 6px 10px; font-size: 12px; }
.lx-kbf__btn:disabled { opacity: 0.5; cursor: not-allowed; }
.lx-kbf__doc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
	align-items: center;
	position: relative;
	z-index: 2;
}
.lx-kbf__doc-actions .lx-kbf__btn,
.lx-kbf__doc-actions label.lx-kbf__btn {
	position: relative;
	z-index: 1;
	cursor: pointer;
	pointer-events: auto;
}
.lx-kbf__docs table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}
.lx-kbf__docs th,
.lx-kbf__docs td {
	border-bottom: 1px solid rgba(0, 245, 255, 0.1);
	padding: 8px 6px;
	text-align: left;
	color: #c9e4f5;
}
.lx-kbf__docs th { color: var(--kbf-muted); font-weight: 600; font-size: 12px; }
.lx-kbf__search-box {
	display: flex;
	gap: 8px;
	margin-bottom: 12px;
	flex-wrap: wrap;
}
.lx-kbf__input {
	width: 100%;
	box-sizing: border-box;
	background: rgba(4, 8, 20, 0.9);
	border: 1px solid rgba(0, 245, 255, 0.22);
	border-radius: 8px;
	color: var(--kbf-text);
	padding: 9px 12px;
	font-size: 13px;
}
.lx-kbf__input:focus {
	outline: none;
	border-color: var(--kbf-cyan);
	box-shadow: 0 0 0 1px rgba(0, 245, 255, 0.25), 0 0 16px rgba(0, 245, 255, 0.12);
}
.lx-kbf__search-box .lx-kbf__input { flex: 1; min-width: 180px; max-width: 480px; }
.lx-kbf__hit {
	border: 1px solid rgba(0, 245, 255, 0.18);
	background: rgba(8, 14, 30, 0.9);
	border-radius: 10px;
	padding: 10px 12px;
	margin-bottom: 8px;
}
.lx-kbf__hit strong { color: #a5f3fc; }
.lx-kbf__hit p { margin: 6px 0 0; font-size: 12px; color: var(--kbf-muted); line-height: 1.5; }

/* 微信式消息区 */
.lx-kbf__chat-toolbar {
	display: none;
}
.lx-kbf__chat-hint { display: none; }
.lx-kbf__chat-msgs,
.lx-kbf__wx-msgs {
	min-height: 260px;
	max-height: 480px;
	overflow: auto;
	border: 0;
	border-radius: 0;
	padding: 16px 12px 18px;
	background:
		radial-gradient(ellipse at top, rgba(0, 245, 255, 0.05), transparent 55%),
		radial-gradient(ellipse at bottom right, rgba(255, 43, 214, 0.04), transparent 50%),
		repeating-linear-gradient(
			0deg,
			transparent,
			transparent 2px,
			rgba(0, 245, 255, 0.015) 2px,
			rgba(0, 245, 255, 0.015) 3px
		),
		#070b18;
	margin-bottom: 0;
	flex: 1;
}
.lx-kbf__wx-empty {
	text-align: center;
	color: var(--kbf-muted);
	font-size: 13px;
	padding: 48px 12px;
	opacity: 0.85;
	letter-spacing: 0.06em;
}
.lx-kbf__chat-sys { display: none !important; }

/* 气泡行：左右对齐类似微信 */
.lx-kbf__msg,
.lx-kbf__wx-row {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-bottom: 14px;
	max-width: 100%;
}
.lx-kbf__msg--user,
.lx-kbf__wx-row.lx-kbf__msg--user {
	justify-content: flex-end;
	margin-left: auto;
}
.lx-kbf__msg--bot,
.lx-kbf__wx-row.lx-kbf__msg--bot {
	justify-content: flex-start;
	margin-right: auto;
}
.lx-kbf__msg-role { display: none; }
.lx-kbf__wx-av {
	width: 34px;
	height: 34px;
	border-radius: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 800;
	flex-shrink: 0;
	color: #041018;
	background: linear-gradient(135deg, var(--kbf-cyan), #22d3ee);
	box-shadow: 0 0 10px rgba(0, 245, 255, 0.3);
}
.lx-kbf__wx-av--user {
	background: linear-gradient(135deg, #7c3aed, var(--kbf-magenta));
	color: #fff;
	box-shadow: 0 0 10px rgba(255, 43, 214, 0.3);
}
.lx-kbf__msg-body {
	font-size: 14px;
	line-height: 1.55;
	padding: 10px 12px;
	border-radius: 6px;
	white-space: pre-wrap;
	word-break: break-word;
	max-width: min(72%, 420px);
	position: relative;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.lx-kbf__msg--user .lx-kbf__msg-body {
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.55), rgba(14, 165, 233, 0.4));
	border: 1px solid rgba(0, 245, 255, 0.4);
	color: #f0fdff;
	border-top-right-radius: 2px;
	box-shadow: 0 0 14px rgba(0, 245, 255, 0.12);
}
.lx-kbf__msg--bot .lx-kbf__msg-body {
	background: rgba(16, 24, 48, 0.95);
	border: 1px solid rgba(0, 245, 255, 0.18);
	color: #e8f1ff;
	border-top-left-radius: 2px;
}
.lx-kbf__msg.is-streaming .lx-kbf__msg-body::after {
	content: "▍
	display: inline-block;
	width: 0.55em;
	margin-left: 2px;
	animation: lx-kbf-blink 0.9s step-end infinite;
	color: var(--kbf-cyan);
}
@keyframes lx-kbf-blink {
	50% { opacity: 0; }
}

/* 底部输入条 · 微信风格 */
.lx-kbf__chat-input,
.lx-kbf__wx-input {
	display: flex;
	gap: 8px;
	align-items: flex-end;
	padding: 10px 12px 12px;
	border-top: 1px solid rgba(0, 245, 255, 0.18);
	background:
		linear-gradient(180deg, rgba(0, 245, 255, 0.04), transparent),
		rgba(6, 10, 22, 0.98);
	flex-shrink: 0;
}
.lx-kbf__chat-input textarea,
.lx-kbf__wx-input textarea {
	flex: 1;
	resize: none;
	min-height: 40px;
	max-height: 120px;
	background: rgba(4, 8, 20, 0.95);
	border: 1px solid rgba(0, 245, 255, 0.22);
	border-radius: 8px;
	color: var(--kbf-text);
	padding: 10px 12px;
	font-size: 14px;
	line-height: 1.4;
}
.lx-kbf__chat-input textarea:focus,
.lx-kbf__wx-input textarea:focus {
	outline: none;
	border-color: var(--kbf-cyan);
	box-shadow: 0 0 12px rgba(0, 245, 255, 0.15);
}
.lx-kbf__chat-input .lx-kbf__btn--primary,
.lx-kbf__wx-input .lx-kbf__btn--primary {
	min-width: 72px;
	height: 40px;
	padding: 0 16px;
	border-radius: 8px;
}

.lx-kbf__status.is-ok { color: #34d399; }
.lx-kbf__status.is-err { color: #f87171; }
.lx-kbf__doc-actions .lx-kbf__btn--sm { padding: 4px 8px; font-size: 12px; }

.lx-kbf__modal {
	position: fixed;
	inset: 0;
	z-index: 100200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}
.lx-kbf__modal[hidden] { display: none !important; }
body.lx-kbf-modal-open { overflow: hidden; }
.lx-kbf__modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(2, 4, 16, 0.78);
	backdrop-filter: blur(4px);
}
.lx-kbf__modal-panel {
	position: relative;
	width: 100%;
	max-width: 480px;
	background: linear-gradient(160deg, rgba(0, 245, 255, 0.06), transparent 40%), #0a1020;
	border: 1px solid rgba(0, 245, 255, 0.35);
	border-radius: 14px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 30px rgba(0, 245, 255, 0.12);
}
.lx-kbf__modal-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 16px;
	border-bottom: 1px solid rgba(0, 245, 255, 0.15);
}
.lx-kbf__modal-head h3 { margin: 0; font-size: 15px; color: #f1f5f9; }
.lx-kbf__modal-x {
	border: 0;
	background: transparent;
	color: var(--kbf-muted);
	font-size: 22px;
	cursor: pointer;
	line-height: 1;
}
.lx-kbf__modal-body { padding: 14px 16px; }
.lx-kbf__modal-foot {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	padding: 12px 16px 16px;
}
.lx-kbf__label {
	display: block;
	font-size: 12px;
	color: var(--kbf-muted);
	margin-bottom: 12px;
}
.lx-kbf__label .lx-kbf__input { margin-top: 6px; }
.lx-kbf__btn.is-loading {
	opacity: 0.72;
	pointer-events: none;
	cursor: wait;
}
.lx-kbf__btn .lx-kbf__btn-spin {
	display: none;
	width: 14px;
	height: 14px;
	margin-left: 6px;
	border: 2px solid rgba(255,255,255,0.25);
	border-top-color: #fff;
	border-radius: 50%;
	vertical-align: -2px;
	animation: lx-kbf-spin 0.7s linear infinite;
}
.lx-kbf__btn.is-loading .lx-kbf__btn-spin { display: inline-block; }
.lx-kbf__btn.is-loading .lx-kbf__btn-label { opacity: 0.85; }
@keyframes lx-kbf-spin { to { transform: rotate(360deg); } }
.lx-kbf__modal-panel--danger {
	border-color: rgba(248, 113, 113, 0.45);
	box-shadow: 0 20px 50px rgba(127, 29, 29, 0.35);
}
.lx-kbf__del-icon {
	width: 48px;
	height: 48px;
	margin: 0 auto 12px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	background: rgba(248, 113, 113, 0.12);
	border: 1px solid rgba(248, 113, 113, 0.35);
	color: #fca5a5;
}
.lx-kbf__del-title {
	margin: 0 0 8px;
	font-size: 15px;
	color: #f1f5f9;
	text-align: center;
}
.lx-kbf__modal-panel--danger .lx-kbf__muted { text-align: center; }
/* 弹窗表单提示消息（勿与聊天气泡 .lx-kbf__msg 冲突：弹窗内用更具体选择器） */
.lx-kbf__modal-body > .lx-kbf__msg {
	display: block;
	font-size: 12px;
	min-height: 1.2em;
	margin: 4px 0 0;
	max-width: none;
	padding: 0;
	background: none;
	border: 0;
	box-shadow: none;
}
.lx-kbf__msg.is-err { color: #fca5a5; }
.lx-kbf__msg.is-ok { color: #86efac; }

.lx-front-knowledge-wrap {
	background:
		radial-gradient(ellipse 80% 50% at 20% 0%, rgba(0, 245, 255, 0.08), transparent 55%),
		radial-gradient(ellipse 60% 40% at 90% 20%, rgba(255, 43, 214, 0.07), transparent 50%),
		linear-gradient(180deg, #02040c 0%, #070b18 42%, #03050e 100%);
	min-height: 70vh;
	position: relative;
}
.lx-front-knowledge-wrap::after {
	content: "";
	pointer-events: none;
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(
		0deg,
		transparent,
		transparent 3px,
		rgba(0, 245, 255, 0.012) 3px,
		rgba(0, 245, 255, 0.012) 4px
	);
	opacity: 0.5;
	z-index: 0;
}
.lx-front-knowledge-wrap > * {
	position: relative;
	z-index: 1;
}

/* 单库聊天嵌在工作区时 */
.lx-kbf__pane .lx-kbf__chat--wx {
	border: 1px solid var(--kbf-line);
	border-radius: 12px;
	overflow: hidden;
	min-height: 420px;
	background: var(--kbf-panel);
	box-shadow: var(--kbf-glow);
}
.lx-kbf__pane .lx-kbf__wx-msgs {
	height: min(46vh, 420px);
}
.lx-kbf__upload-hint {
	margin: 0 0 12px;
	font-size: 12px;
	line-height: 1.5;
	color: var(--kbf-muted, #7a8fad);
	padding: 8px 10px;
	border-radius: 8px;
	border: 1px dashed rgba(0, 245, 255, 0.22);
	background: rgba(0, 245, 255, 0.04);
}
