/* ═══════════════════════════════════════════
   智标宝 · CYBERPUNK NEON UI
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;800&family=Rajdhani:wght@400;500;600;700&family=Share+Tech+Mono&display=swap');

:root {
	--sd-bg: #06060e;
	--sd-bg2: #0c0c18;
	--sd-panel: rgba(12, 14, 28, 0.92);
	--sd-panel-2: rgba(18, 10, 32, 0.95);
	--sd-border: rgba(0, 240, 255, 0.28);
	--sd-border-hot: rgba(255, 0, 170, 0.55);
	--sd-cyan: #00f0ff;
	--sd-cyan-dim: #00a8b8;
	--sd-magenta: #ff00aa;
	--sd-purple: #b026ff;
	--sd-yellow: #f0e130;
	--sd-green: #39ff14;
	--sd-red: #ff2a55;
	--sd-text: #e8f4ff;
	--sd-muted: #7a8ba3;
	--sd-glow: 0 0 12px rgba(0, 240, 255, 0.45), 0 0 28px rgba(0, 240, 255, 0.15);
	--sd-glow-m: 0 0 12px rgba(255, 0, 170, 0.4);
	--sd-font: 'Rajdhani', 'Microsoft YaHei', system-ui, sans-serif;
	--sd-display: 'Orbitron', 'Rajdhani', sans-serif;
	--sd-mono: 'Share Tech Mono', Consolas, monospace;
}

/* ── Page shell ── */
.lx-sd-wrap {
	max-width: 1320px;
	margin: 0 auto;
}
.lx-sd {
	color: var(--sd-text);
	font-family: var(--sd-font);
	font-size: 15px;
	line-height: 1.55;
	position: relative;
}
.lx-sd *,
.lx-sd *::before,
.lx-sd *::after {
	box-sizing: border-box;
}

/* Front: full cyberpunk immersion */
.lx-sd--front {
	min-height: 70vh;
	padding: 12px 4px 40px;
	background:
		radial-gradient(ellipse 80% 50% at 20% -10%, rgba(176, 38, 255, 0.18), transparent 50%),
		radial-gradient(ellipse 70% 40% at 90% 10%, rgba(0, 240, 255, 0.12), transparent 45%),
		radial-gradient(ellipse 60% 50% at 50% 100%, rgba(255, 0, 170, 0.08), transparent 50%),
		linear-gradient(180deg, #05050c 0%, #0a0614 40%, #06060e 100%);
	border-radius: 4px;
	overflow: hidden;
}
.lx-sd--front::before {
	content: '';
	pointer-events: none;
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
	background-size: 40px 40px;
	mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
	z-index: 0;
}
.lx-sd--front::after {
	content: '';
	pointer-events: none;
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(
		0deg,
		transparent,
		transparent 2px,
		rgba(0, 0, 0, 0.12) 2px,
		rgba(0, 0, 0, 0.12) 4px
	);
	opacity: 0.35;
	z-index: 0;
	animation: sd-scan 8s linear infinite;
}
@keyframes sd-scan {
	0% { transform: translateY(0); }
	100% { transform: translateY(4px); }
}
.lx-sd--front > * {
	position: relative;
	z-index: 1;
}

/* Admin still dark cyber but slightly softer */
.lx-sd--admin {
	background: var(--sd-bg2);
	padding: 8px;
	border-radius: 8px;
}

/* ── Hero ── */
.lx-sd-hero {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	padding: 24px 26px;
	margin-bottom: 18px;
	background:
		linear-gradient(135deg, rgba(10, 8, 24, 0.95) 0%, rgba(30, 8, 48, 0.9) 50%, rgba(0, 40, 60, 0.85) 100%);
	border: 1px solid var(--sd-border);
	border-radius: 2px;
	clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
	box-shadow: var(--sd-glow), inset 0 0 40px rgba(0, 240, 255, 0.04);
	position: relative;
	overflow: hidden;
}
.lx-sd-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: -40%;
	width: 40%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.08), transparent);
	animation: sd-shine 5s ease-in-out infinite;
}
@keyframes sd-shine {
	0%, 100% { left: -40%; }
	50% { left: 120%; }
}
.lx-sd-hero__icon {
	font-size: 22px;
	line-height: 1;
	filter: drop-shadow(0 0 12px var(--sd-cyan));
	animation: sd-pulse 2.4s ease-in-out infinite;
}
@keyframes sd-pulse {
	0%, 100% { filter: drop-shadow(0 0 8px var(--sd-cyan)); transform: scale(1); }
	50% { filter: drop-shadow(0 0 18px var(--sd-magenta)); transform: scale(1.05); }
}
.lx-sd-hero__kicker {
	margin: 0 0 8px;
	font-family: var(--sd-display);
	font-size: 11px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--sd-cyan);
	font-weight: 700;
	text-shadow: 0 0 10px rgba(0, 240, 255, 0.7);
}
.lx-sd-hero__title {
	margin: 0 0 10px;
	font-family: var(--sd-display);
	font-size: 22px;
	font-weight: 800;
	color: #fff;
	letter-spacing: 0.06em;
	text-shadow:
		0 0 8px rgba(0, 240, 255, 0.8),
		0 0 24px rgba(255, 0, 170, 0.35),
		2px 0 0 rgba(255, 0, 170, 0.35),
		-2px 0 0 rgba(0, 240, 255, 0.25);
}
.lx-sd-hero__desc {
	margin: 0 0 14px;
	font-size: 15px;
	line-height: 1.7;
	color: #b8c8dc;
	max-width: 920px;
}
.lx-sd-hero__desc strong {
	color: var(--sd-cyan);
	font-weight: 700;
	text-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}
.lx-sd-hero__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.lx-sd-hero__tags span {
	font-family: var(--sd-mono);
	font-size: 11px;
	letter-spacing: 0.06em;
	padding: 5px 12px;
	border-radius: 0;
	clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
	background: rgba(0, 240, 255, 0.08);
	border: 1px solid rgba(0, 240, 255, 0.35);
	color: var(--sd-cyan);
	box-shadow: 0 0 8px rgba(0, 240, 255, 0.15);
}

/* ── Tabs ── */
.lx-sd-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
	padding: 4px 0;
}
.lx-sd-tab {
	border: 1px solid rgba(0, 240, 255, 0.25);
	background: rgba(8, 12, 24, 0.85);
	border-radius: 0;
	clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
	padding: 9px 18px;
	font-size: 13px;
	font-family: var(--sd-display);
	font-weight: 600;
	letter-spacing: 0.08em;
	cursor: pointer;
	color: var(--sd-muted);
	text-transform: uppercase;
	transition: color 0.15s, border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.lx-sd-tab:hover {
	color: var(--sd-cyan);
	border-color: var(--sd-cyan);
	box-shadow: var(--sd-glow);
}
.lx-sd-tab.is-active {
	background: linear-gradient(90deg, rgba(0, 240, 255, 0.2), rgba(255, 0, 170, 0.15));
	border-color: var(--sd-cyan);
	color: #fff;
	text-shadow: 0 0 8px var(--sd-cyan);
	box-shadow: var(--sd-glow);
}

/* ── Layout panels ── */
.lx-sd-layout {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
}
@media (max-width: 960px) {
	.lx-sd-layout { grid-template-columns: 1fr; }
}

.lx-sd-side,
.lx-sd-main,
.lx-sd-card {
	background: var(--sd-panel);
	border: 1px solid var(--sd-border);
	border-radius: 2px;
	padding: 16px 18px;
	box-shadow:
		0 0 0 1px rgba(0, 0, 0, 0.4),
		inset 0 0 30px rgba(0, 240, 255, 0.03),
		0 8px 32px rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(8px);
}
.lx-sd-side__head,
.lx-sd-card__head,
.lx-sd-editor__bar {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(0, 240, 255, 0.12);
}
.lx-sd-side h2,
.lx-sd-card h2,
.lx-sd-editor__bar h2 {
	margin: 0;
	font-family: var(--sd-display);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--sd-cyan);
	text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
	text-transform: uppercase;
}
.lx-sd-muted {
	color: var(--sd-muted);
	font-size: 13px;
	line-height: 1.5;
}

/* Project list */
.lx-sd-project-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-height: 70vh;
	overflow: auto;
}
.lx-sd-project-list::-webkit-scrollbar { width: 6px; }
.lx-sd-project-list::-webkit-scrollbar-thumb {
	background: rgba(0, 240, 255, 0.35);
	border-radius: 3px;
}
.lx-sd-proj {
	text-align: left;
	border: 1px solid rgba(0, 240, 255, 0.15);
	background: rgba(0, 20, 30, 0.5);
	border-radius: 0;
	clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
	padding: 11px 12px;
	cursor: pointer;
	width: 100%;
	color: var(--sd-text);
	transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.lx-sd-proj:hover {
	border-color: rgba(0, 240, 255, 0.5);
	box-shadow: 0 0 12px rgba(0, 240, 255, 0.15);
}
.lx-sd-proj.is-on {
	border-color: var(--sd-magenta);
	background: linear-gradient(90deg, rgba(255, 0, 170, 0.12), rgba(0, 240, 255, 0.08));
	box-shadow: var(--sd-glow-m);
}
.lx-sd-proj strong {
	display: block;
	font-size: 14px;
	margin-bottom: 4px;
	font-weight: 700;
	color: #fff;
}
.lx-sd-proj span {
	font-size: 12px;
	font-family: var(--sd-mono);
	color: var(--sd-muted);
}

/* Buttons */
.lx-sd-btn {
	border: 1px solid rgba(0, 240, 255, 0.4);
	background: rgba(0, 30, 40, 0.7);
	border-radius: 0;
	clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
	padding: 8px 16px;
	font-size: 13px;
	font-family: var(--sd-display);
	font-weight: 600;
	letter-spacing: 0.06em;
	cursor: pointer;
	line-height: 1.3;
	color: var(--sd-cyan);
	text-transform: uppercase;
	transition: all 0.15s;
}
.lx-sd-btn:hover {
	background: rgba(0, 240, 255, 0.12);
	box-shadow: var(--sd-glow);
	color: #fff;
}
.lx-sd-btn--primary {
	background: linear-gradient(90deg, rgba(0, 240, 255, 0.25), rgba(255, 0, 170, 0.2));
	border-color: var(--sd-cyan);
	color: #fff;
	text-shadow: 0 0 8px var(--sd-cyan);
	box-shadow: var(--sd-glow);
}
.lx-sd-btn--primary:hover {
	background: linear-gradient(90deg, rgba(0, 240, 255, 0.4), rgba(255, 0, 170, 0.35));
	box-shadow: 0 0 20px rgba(0, 240, 255, 0.5), 0 0 40px rgba(255, 0, 170, 0.2);
}
.lx-sd-btn--sm {
	padding: 5px 10px;
	font-size: 11px;
}
.lx-sd-btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	box-shadow: none;
}
.lx-sd-btn--danger {
	color: var(--sd-red);
	border-color: rgba(255, 42, 85, 0.5);
}
.lx-sd-btn--danger:hover {
	background: rgba(255, 42, 85, 0.15);
	box-shadow: 0 0 12px rgba(255, 42, 85, 0.35);
	color: #ff6b8a;
}

/* Empty state */
.lx-sd-empty {
	text-align: center;
	padding: 56px 24px;
}
.lx-sd-empty__icon {
	font-size: 56px;
	margin-bottom: 12px;
	filter: drop-shadow(0 0 16px var(--sd-cyan));
}
.lx-sd-empty h3 {
	margin: 0 0 10px;
	font-family: var(--sd-display);
	font-size: 20px;
	letter-spacing: 0.12em;
	color: #fff;
	text-shadow: 0 0 12px rgba(0, 240, 255, 0.6);
	text-transform: uppercase;
}
.lx-sd-empty p {
	color: var(--sd-muted);
	max-width: 440px;
	margin: 0 auto 18px;
	line-height: 1.7;
}

/* Editor */
.lx-sd-editor__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}
.lx-sd-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}
.lx-sd-chip {
	font-size: 11px;
	font-family: var(--sd-mono);
	font-weight: 600;
	letter-spacing: 0.04em;
	padding: 5px 12px;
	border-radius: 0;
	clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
	background: rgba(0, 240, 255, 0.08);
	border: 1px solid rgba(0, 240, 255, 0.3);
	color: var(--sd-cyan);
}
.lx-sd-chip.is-warn {
	background: rgba(240, 225, 48, 0.1);
	border-color: rgba(240, 225, 48, 0.45);
	color: var(--sd-yellow);
	box-shadow: 0 0 8px rgba(240, 225, 48, 0.2);
}
.lx-sd-chip.is-ok {
	background: rgba(57, 255, 20, 0.08);
	border-color: rgba(57, 255, 20, 0.4);
	color: var(--sd-green);
	box-shadow: 0 0 8px rgba(57, 255, 20, 0.2);
}

/* Progress */
.lx-sd-progress { margin-bottom: 14px; }
.lx-sd-progress__bar {
	height: 6px;
	background: rgba(0, 20, 30, 0.8);
	border: 1px solid rgba(0, 240, 255, 0.2);
	border-radius: 0;
	overflow: hidden;
	box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.5);
}
.lx-sd-progress__bar i {
	display: block;
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, var(--sd-magenta), var(--sd-cyan), var(--sd-green));
	box-shadow: 0 0 12px var(--sd-cyan);
	transition: width 0.25s ease;
	animation: sd-bar-glow 1.2s ease-in-out infinite;
}
@keyframes sd-bar-glow {
	0%, 100% { filter: brightness(1); }
	50% { filter: brightness(1.3); }
}
.lx-sd-progress #lx-sd-progress-t {
	color: var(--sd-cyan);
	font-family: var(--sd-mono);
	font-size: 12px;
	margin-top: 6px;
}

/* Outline / TOC */
.lx-sd-outline {
	display: grid;
	grid-template-columns: 1fr;
	gap: 6px;
	margin-bottom: 12px;
}
.lx-sd-ol-item {
	border: 1px solid rgba(0, 240, 255, 0.15);
	border-radius: 0;
	padding: 10px 12px;
	background: rgba(0, 16, 28, 0.6);
	font-size: 13px;
	cursor: pointer;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.lx-sd-ol-item:hover {
	border-color: var(--sd-cyan);
	box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}
.lx-sd-ol-item .n {
	display: inline-flex;
	width: 22px;
	height: 22px;
	align-items: center;
	justify-content: center;
	border-radius: 0;
	background: linear-gradient(135deg, var(--sd-cyan), var(--sd-purple));
	color: #06060e;
	font-size: 11px;
	font-weight: 800;
	font-family: var(--sd-mono);
	margin-right: 6px;
	box-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}
.lx-sd-ol-item .goal {
	display: block;
	margin-top: 6px;
	color: var(--sd-muted);
	font-size: 12px;
}
.lx-sd-ol-item__main {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}
.lx-sd-ol-item__main strong,
.lx-sd-ol-item__main .t {
	color: #e8f4ff;
	font-weight: 600;
}
.lx-sd-ol-ops {
	display: flex;
	flex-wrap: wrap;
	gap: 3px;
	margin-top: 4px;
}
.lx-sd-icon-btn {
	border: 1px solid rgba(0, 240, 255, 0.3);
	background: rgba(0, 20, 30, 0.8);
	border-radius: 0;
	width: 26px;
	height: 26px;
	cursor: pointer;
	font-size: 12px;
	line-height: 1;
	padding: 0;
	color: var(--sd-cyan);
	transition: all 0.12s;
}
.lx-sd-icon-btn:hover {
	border-color: var(--sd-magenta);
	color: var(--sd-magenta);
	box-shadow: var(--sd-glow-m);
}

/* Chapters */
.lx-sd-chapter {
	border: 1px solid rgba(0, 240, 255, 0.2);
	border-radius: 0;
	margin-bottom: 12px;
	overflow: hidden;
	background: rgba(8, 10, 22, 0.85);
	box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.03);
}
.lx-sd-chapter__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	background: linear-gradient(90deg, rgba(0, 240, 255, 0.08), rgba(255, 0, 170, 0.05));
	border-bottom: 1px solid rgba(0, 240, 255, 0.15);
}
.lx-sd-chapter__head h3 {
	margin: 0;
	font-size: 14px;
	font-family: var(--sd-display);
	letter-spacing: 0.04em;
	color: #fff;
}
.lx-sd-chapter__acts {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.lx-sd-chapter__body {
	padding: 14px 16px;
	font-size: 14px;
	line-height: 1.75;
	white-space: pre-wrap;
	word-break: break-word;
	max-height: 360px;
	overflow: auto;
	color: #c5d4e8;
	font-family: var(--sd-font);
}
.lx-sd-chapter__body::-webkit-scrollbar { width: 6px; }
.lx-sd-chapter__body::-webkit-scrollbar-thumb {
	background: rgba(255, 0, 170, 0.35);
}
.lx-sd-chapter.is-pending .lx-sd-chapter__body {
	color: #4a5568;
	font-style: italic;
}

.lx-sd-sim {
	margin-top: 12px;
	padding: 14px;
	border-radius: 0;
	background: rgba(0, 40, 50, 0.5);
	border: 1px solid rgba(0, 240, 255, 0.35);
	box-shadow: var(--sd-glow);
}
.lx-sd-sim h4 {
	margin: 0 0 8px;
	font-family: var(--sd-display);
	color: var(--sd-cyan);
	letter-spacing: 0.08em;
}
.lx-sd-sim ul {
	margin: 8px 0;
	padding-left: 18px;
	line-height: 1.6;
	font-size: 13px;
	color: #b8c8dc;
}

/* Grid cards */
.lx-sd-grid2 {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 14px;
}
.lx-sd-grid2--top { align-items: start; }
.lx-sd-ul {
	margin: 0;
	padding-left: 18px;
	line-height: 1.75;
	font-size: 14px;
	color: #c5d4e8;
}
.lx-sd-ul li { margin-bottom: 6px; }
.lx-sd-ul strong { color: var(--sd-cyan); }

/* Assets */
.lx-sd-asset-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.lx-sd-asset {
	border: 1px solid rgba(0, 240, 255, 0.18);
	border-radius: 0;
	padding: 12px 14px;
	background: rgba(0, 16, 28, 0.55);
}
.lx-sd-asset__top {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	align-items: flex-start;
	margin-bottom: 6px;
}
.lx-sd-asset__top strong {
	font-size: 14px;
	color: #fff;
}
.lx-sd-asset p {
	margin: 0;
	font-size: 13px;
	color: var(--sd-muted);
	line-height: 1.55;
}

.lx-sd-admin-stats {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 12px;
}
.lx-sd-stat {
	background: rgba(0, 240, 255, 0.06);
	border: 1px solid rgba(0, 240, 255, 0.25);
	border-radius: 0;
	padding: 14px;
	text-align: center;
}
.lx-sd-stat b {
	display: block;
	font-size: 24px;
	margin-bottom: 4px;
	font-family: var(--sd-display);
	color: var(--sd-cyan);
	text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}
.lx-sd-stat span {
	font-size: 12px;
	color: var(--sd-muted);
	font-family: var(--sd-mono);
}

/* Modal */
.lx-sd-modal {
	position: fixed;
	inset: 0;
	z-index: 100100;
	background: rgba(4, 2, 12, 0.82);
	backdrop-filter: blur(6px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.lx-sd-modal[hidden] { display: none !important; }
.lx-sd-modal__panel {
	width: min(560px, 100%);
	max-height: 90vh;
	overflow: auto;
	background: linear-gradient(160deg, #0e0a1a 0%, #0a1420 100%);
	border: 1px solid var(--sd-border);
	border-radius: 2px;
	padding: 18px 20px 16px;
	box-shadow: var(--sd-glow), 0 20px 60px rgba(0, 0, 0, 0.6);
	clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}
.lx-sd-modal__panel--lg { max-width: 720px; width: 96%; }
.lx-sd-modal__panel--sm { max-width: 420px; width: 92%; }
.lx-sd-modal__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(0, 240, 255, 0.15);
}
.lx-sd-modal__head h3 {
	margin: 0;
	font-size: 16px;
	font-family: var(--sd-display);
	letter-spacing: 0.1em;
	color: var(--sd-cyan);
	text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
	text-transform: uppercase;
}
.lx-sd-modal__x {
	border: 1px solid rgba(255, 0, 170, 0.4);
	background: transparent;
	font-size: 18px;
	cursor: pointer;
	line-height: 1;
	color: var(--sd-magenta);
	width: 32px;
	height: 32px;
	transition: all 0.12s;
}
.lx-sd-modal__x:hover {
	box-shadow: var(--sd-glow-m);
	background: rgba(255, 0, 170, 0.15);
}

/* Forms */
.lx-sd-form label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
	font-family: var(--sd-display);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--sd-muted);
	margin-bottom: 12px;
}
.lx-sd-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
@media (max-width: 560px) {
	.lx-sd-form-row { grid-template-columns: 1fr; }
}
.lx-sd-input,
.lx-sd-select,
.lx-sd-textarea {
	width: 100%;
	border: 1px solid rgba(0, 240, 255, 0.28);
	border-radius: 0;
	padding: 9px 12px;
	font-size: 14px;
	font-weight: 500;
	font-family: var(--sd-font);
	background: rgba(0, 10, 20, 0.85);
	color: var(--sd-text);
	outline: none;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.lx-sd-input:focus,
.lx-sd-select:focus,
.lx-sd-textarea:focus {
	border-color: var(--sd-cyan);
	box-shadow: 0 0 0 1px rgba(0, 240, 255, 0.3), var(--sd-glow);
}
.lx-sd-input::placeholder,
.lx-sd-textarea::placeholder {
	color: #3d4a5c;
}
.lx-sd-select option {
	background: #0c0c18;
	color: var(--sd-text);
}
.lx-sd-textarea { resize: vertical; line-height: 1.55; }
.lx-sd-textarea--lg {
	min-height: 320px;
	font-family: var(--sd-mono);
	font-size: 13px;
}
.lx-sd-check {
	flex-direction: row !important;
	align-items: center;
	gap: 8px !important;
	font-weight: 500 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	font-family: var(--sd-font) !important;
	color: var(--sd-text) !important;
}
.lx-sd-modal__foot {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 10px;
	padding-top: 12px;
	border-top: 1px solid rgba(0, 240, 255, 0.1);
}
.lx-sd-form-actions {
	display: flex;
	gap: 8px;
	margin-top: 8px;
}
.lx-sd-edit-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
	padding: 0 4px 10px;
}

/* ── 智标宝 modules ── */
.lx-sd-tabs--main { flex-wrap: wrap; }

/* AI 智能生成标书 */
.lx-sd-tab--ai {
	border-color: rgba(255, 0, 170, 0.55) !important;
	box-shadow: 0 0 12px rgba(255, 0, 170, 0.25);
}
.lx-sd-tab--ai.is-active {
	background: linear-gradient(90deg, rgba(255, 0, 170, 0.25), rgba(0, 240, 255, 0.15)) !important;
}
.lx-sd-ai-full {
	max-width: 920px;
	margin: 0 auto;
	padding: 8px 4px 32px;
}
.lx-sd-ai-full__hero {
	margin-bottom: 18px;
	padding: 18px 20px;
	border: 1px solid var(--sd-border-hot);
	background: linear-gradient(135deg, rgba(255, 0, 170, 0.08), rgba(0, 240, 255, 0.06));
	clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}
.lx-sd-ai-full__badge {
	display: inline-block;
	font-family: var(--sd-mono);
	font-size: 11px;
	letter-spacing: 0.12em;
	color: var(--sd-magenta);
	margin-bottom: 8px;
}
.lx-sd-ai-full__hero h2 {
	margin: 0 0 8px;
	font-family: var(--sd-display);
	font-size: 22px;
	color: var(--sd-cyan);
}
.lx-sd-ai-full__hero p {
	margin: 0;
	color: var(--sd-muted);
}
.lx-sd-ai-full__form {
	padding: 16px 18px;
	border: 1px solid var(--sd-border);
	background: var(--sd-panel);
}
.lx-sd-ai-full__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}
.lx-sd-btn--lg {
	padding: 12px 22px;
	font-size: 16px;
}
.lx-sd-ai-full__opt {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-top: 10px;
	color: var(--sd-muted);
}
.lx-sd-ai-full__tip {
	margin-top: 12px;
	font-size: 12px;
}
.lx-sd-ai-mode-switch {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}
.lx-sd-ai-mode {
	flex: 1;
	min-width: 120px;
	padding: 10px 14px;
	border: 1px solid var(--sd-border);
	background: rgba(0, 20, 30, 0.6);
	color: var(--sd-muted);
	font-family: var(--sd-font);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.lx-sd-ai-mode.is-active {
	color: var(--sd-text);
	border-color: var(--sd-magenta);
	background: linear-gradient(90deg, rgba(255, 0, 170, 0.2), rgba(0, 240, 255, 0.12));
	box-shadow: 0 0 12px rgba(255, 0, 170, 0.25);
}
.lx-sd-ai-block {
	margin-bottom: 14px;
	padding: 12px 14px;
	border: 1px solid rgba(0, 240, 255, 0.25);
	background: rgba(0, 40, 50, 0.25);
}
.lx-sd-ai-tender-head {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 10px;
}
.lx-sd-ai-tender-file {
	display: block;
	margin-bottom: 8px;
}
.lx-sd-textarea--lg {
	min-height: 200px;
}
.lx-sd-req-mark {
	color: var(--sd-magenta);
}
.lx-sd-export-quota {
	margin: 10px 0 0;
	padding: 8px 10px;
	font-size: 13px;
	line-height: 1.45;
	border: 1px solid rgba(0, 240, 255, 0.25);
	background: rgba(0, 40, 50, 0.25);
	color: #c5d8ec !important;
}

/* 全局 hidden：避免 display:flex/grid 盖住 [hidden] */
.lx-sd [hidden],
.lx-sd-pane[hidden],
.lx-sd-pane:not(.is-active),
.lx-sd-wait-overlay[hidden],
.lx-sd-modal[hidden],
.lx-sd-case-card[hidden],
.lx-sd-case-detail-panel[hidden],
.lx-sd-case-detail__loading[hidden],
.lx-sd-case-detail-modal [hidden] {
	display: none !important;
}
/* 当前 Tab 面板必须可见 */
.lx-sd-pane.is-active {
	display: block !important;
}

/* 全屏等待动画 */
.lx-sd-wait-overlay {
	position: fixed;
	inset: 0;
	z-index: 100300;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(4, 6, 14, 0.72);
	backdrop-filter: blur(4px);
}
.lx-sd-wait-overlay__panel {
	min-width: 220px;
	padding: 28px 36px;
	text-align: center;
	border: 1px solid rgba(0, 240, 255, 0.45);
	background: linear-gradient(160deg, rgba(12, 20, 40, 0.98), rgba(20, 8, 32, 0.98));
	box-shadow: 0 0 28px rgba(0, 240, 255, 0.25);
}
.lx-sd-wait-overlay__text {
	margin: 14px 0 0;
	font-size: 15px;
	font-weight: 600;
	color: #eaf6ff;
	font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}
.lx-sd-wait-spinner {
	width: 42px;
	height: 42px;
	margin: 0 auto;
	border: 3px solid rgba(0, 240, 255, 0.2);
	border-top-color: #00f0ff;
	border-radius: 50%;
	animation: lx-sd-spin 0.75s linear infinite;
}
@keyframes lx-sd-spin {
	to {
		transform: rotate(360deg);
	}
}

.lx-sd-form-sec-title {
	margin: 16px 0 10px;
	padding-bottom: 6px;
	border-bottom: 1px solid rgba(0, 240, 255, 0.2);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--sd-cyan);
	font-family: var(--sd-mono);
}
.lx-sd-form-row--3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}
@media (max-width: 800px) {
	.lx-sd-form-row--3 {
		grid-template-columns: 1fr;
	}
}
.lx-sd-input--date {
	min-height: 40px;
	color-scheme: dark;
	cursor: pointer;
}
.lx-sd-ai-form-fields {
	margin-top: 4px;
}

/* 案例展示 · 高可读中文 */
.lx-sd-ai-cases {
	border-color: rgba(255, 0, 170, 0.35);
	font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
	color: #f0f7ff;
}
.lx-sd-ai-cases .lx-sd-ai-tender-head strong {
	font-size: 17px;
	color: #ffffff;
	font-weight: 700;
}
.lx-sd-ai-cases .lx-sd-ai-tender-head .lx-sd-muted {
	font-size: 13px;
	color: #b8c9de !important;
	line-height: 1.5;
}
.lx-sd-case-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0 16px;
}
.lx-sd-case-filter {
	padding: 8px 12px;
	border: 1px solid rgba(0, 240, 255, 0.35);
	background: rgba(8, 18, 32, 0.92);
	color: #d7e8fa;
	font-size: 13px;
	font-weight: 600;
	font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
	cursor: pointer;
	border-radius: 2px;
	line-height: 1.3;
}
.lx-sd-case-filter:hover {
	border-color: #00f0ff;
	color: #fff;
}
.lx-sd-case-filter.is-active {
	color: #061018;
	border-color: #00f0ff;
	background: linear-gradient(90deg, #00f0ff, #7cf5ff);
	box-shadow: 0 0 12px rgba(0, 240, 255, 0.35);
}
.lx-sd-case-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 14px;
}
.lx-sd-case-empty {
	grid-column: 1 / -1;
	padding: 24px;
	text-align: center;
	color: #c5d6ea;
	font-size: 15px;
}
.lx-sd-case-card {
	padding: 16px;
	border: 1px solid rgba(0, 240, 255, 0.32);
	background: linear-gradient(165deg, rgba(10, 18, 36, 0.98), rgba(14, 10, 28, 0.98));
	display: flex;
	flex-direction: column;
	gap: 10px;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.lx-sd-case-card:hover {
	border-color: rgba(0, 240, 255, 0.65);
	box-shadow: 0 0 18px rgba(0, 240, 255, 0.18);
}
.lx-sd-case-card__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
}
.lx-sd-case-card__tag {
	font-size: 12px;
	font-weight: 700;
	color: #ff6ec7;
	letter-spacing: 0.02em;
}
.lx-sd-case-card__scene {
	font-size: 12px;
	font-weight: 600;
	color: #9eb4cc;
}
.lx-sd-case-card__title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	color: #ffffff;
	font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}
.lx-sd-case-card__meta {
	margin: 0;
	font-size: 13px;
	font-weight: 500;
	color: #c2d4e8;
	line-height: 1.45;
}
.lx-sd-case-card__cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	font-size: 13px;
	line-height: 1.5;
}
.lx-sd-case-card__cols strong {
	display: block;
	margin-bottom: 6px;
	color: #5ef0ff;
	font-size: 13px;
	font-weight: 700;
}
.lx-sd-case-card__list {
	margin: 0;
	padding-left: 18px;
	color: #dce8f6;
	font-size: 13px;
}
.lx-sd-case-card__list li {
	margin-bottom: 4px;
}
.lx-sd-case-card__preview {
	margin: 0;
	color: #dce8f6;
	font-size: 13px;
	line-height: 1.55;
	font-weight: 500;
}
.lx-sd-case-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
	padding-top: 8px;
}
.lx-sd-btn--sm {
	padding: 7px 14px;
	font-size: 13px;
	font-weight: 700;
}
.lx-sd-case-pager {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid rgba(0, 240, 255, 0.2);
}
.lx-sd-case-pager__info {
	font-size: 13px;
	font-weight: 600;
	color: #d0e2f5;
	font-family: "Microsoft YaHei", system-ui, sans-serif;
}
.lx-sd-case-pager__nums {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	align-items: center;
}
.lx-sd-case-page-btn {
	min-width: 32px;
	height: 32px;
	padding: 0 8px;
	border: 1px solid rgba(0, 240, 255, 0.35);
	background: rgba(0, 20, 35, 0.85);
	color: #e8f4ff;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}
.lx-sd-case-page-btn.is-active {
	background: #00f0ff;
	color: #041018;
	border-color: #00f0ff;
}
.lx-sd-case-pager__dot {
	color: #8aa0b8;
	padding: 0 2px;
}
/* 案例详情弹窗：头尾固定，中间滚动 + 自定义滚动条 */
.lx-sd-case-detail-modal .lx-sd-modal__panel,
.lx-sd-case-detail-modal .lx-sd-case-detail-modal__panel {
	max-width: 980px;
	width: min(980px, 94vw);
	max-height: 88vh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: linear-gradient(165deg, rgba(12, 18, 36, 0.99), rgba(16, 10, 28, 0.99));
}
.lx-sd-case-detail-modal .lx-sd-modal__head {
	flex: 0 0 auto;
	position: sticky;
	top: 0;
	z-index: 2;
	padding: 16px 20px;
	border-bottom: 1px solid rgba(0, 240, 255, 0.22);
	background: linear-gradient(180deg, rgba(14, 20, 40, 0.98), rgba(12, 16, 32, 0.95));
	backdrop-filter: blur(6px);
}
.lx-sd-case-detail-modal .lx-sd-modal__head h3 {
	font-size: 18px;
	color: #fff;
	font-family: "Microsoft YaHei", system-ui, sans-serif;
	font-weight: 700;
	margin: 0;
	padding-right: 36px;
	line-height: 1.35;
}
.lx-sd-case-detail-modal .lx-sd-modal__foot {
	flex: 0 0 auto;
	position: sticky;
	bottom: 0;
	z-index: 2;
	padding: 12px 20px;
	border-top: 1px solid rgba(0, 240, 255, 0.18);
	background: linear-gradient(0deg, rgba(10, 14, 28, 0.98), rgba(12, 16, 32, 0.94));
	backdrop-filter: blur(6px);
	gap: 10px;
}
.lx-sd-case-detail__loading {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 48px 20px;
	color: #e0eefc;
	font-size: 15px;
	font-weight: 600;
	flex: 1 1 auto;
	min-height: 200px;
}
.lx-sd-case-detail__body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 16px 20px 18px;
	color: #eef6ff;
	font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
	/* Firefox */
	scrollbar-width: thin;
	scrollbar-color: rgba(0, 240, 255, 0.55) rgba(0, 20, 40, 0.45);
	/* 平滑滚动 */
	scroll-behavior: smooth;
	overscroll-behavior: contain;
}
/* WebKit 滚动条 · 详情正文 */
.lx-sd-case-detail__body::-webkit-scrollbar,
.lx-sd-case-pre::-webkit-scrollbar,
.lx-sd-case-detail-modal .lx-sd-modal__panel::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}
.lx-sd-case-detail__body::-webkit-scrollbar-track,
.lx-sd-case-pre::-webkit-scrollbar-track,
.lx-sd-case-detail-modal .lx-sd-modal__panel::-webkit-scrollbar-track {
	background: rgba(0, 16, 32, 0.55);
	border-radius: 8px;
	margin: 4px 0;
	box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.35);
}
.lx-sd-case-detail__body::-webkit-scrollbar-thumb,
.lx-sd-case-pre::-webkit-scrollbar-thumb,
.lx-sd-case-detail-modal .lx-sd-modal__panel::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, rgba(0, 240, 255, 0.75), rgba(255, 0, 170, 0.55));
	border-radius: 8px;
	border: 2px solid rgba(6, 10, 20, 0.65);
	box-shadow: 0 0 8px rgba(0, 240, 255, 0.35);
}
.lx-sd-case-detail__body::-webkit-scrollbar-thumb:hover,
.lx-sd-case-pre::-webkit-scrollbar-thumb:hover,
.lx-sd-case-detail-modal .lx-sd-modal__panel::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(180deg, #00f0ff, #ff4ec8);
	box-shadow: 0 0 12px rgba(0, 240, 255, 0.55);
}
.lx-sd-case-detail__body::-webkit-scrollbar-corner,
.lx-sd-case-pre::-webkit-scrollbar-corner {
	background: transparent;
}
.lx-sd-case-detail__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}
@media (max-width: 800px) {
	.lx-sd-case-detail__grid,
	.lx-sd-case-card__cols {
		grid-template-columns: 1fr;
	}
}
.lx-sd-case-detail__grid h4 {
	margin: 14px 0 8px;
	font-size: 15px;
	font-weight: 700;
	color: #5ef0ff;
}
.lx-sd-case-detail__grid h4:first-child {
	margin-top: 0;
}
.lx-sd-case-kv {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
.lx-sd-case-kv th {
	text-align: left;
	width: 96px;
	padding: 6px 10px 6px 0;
	color: #9eb4cc;
	font-weight: 600;
	vertical-align: top;
}
.lx-sd-case-kv td {
	padding: 6px 0;
	color: #f2f8ff;
	font-weight: 500;
	line-height: 1.45;
}
.lx-sd-case-pre {
	margin: 0;
	padding: 12px;
	max-height: 240px;
	overflow: auto;
	white-space: pre-wrap;
	word-break: break-word;
	font-size: 13px;
	line-height: 1.55;
	border: 1px solid rgba(0, 240, 255, 0.28);
	background: rgba(0, 0, 0, 0.4);
	color: #eef6ff;
	font-family: Consolas, "Microsoft YaHei", monospace;
	scrollbar-width: thin;
	scrollbar-color: rgba(0, 240, 255, 0.5) rgba(0, 12, 24, 0.5);
	overscroll-behavior: contain;
}
.lx-sd-case-pre--sample {
	border-color: rgba(0, 240, 255, 0.45);
	background: rgba(0, 40, 50, 0.35);
}
.lx-sd-case-ol {
	margin: 0;
	padding-left: 22px;
	font-size: 14px;
	color: #dce8f6;
	line-height: 1.55;
}
.lx-sd-case-ol li {
	margin-bottom: 4px;
}

/* 目录拖拽 */
.lx-sd-ol-item {
	cursor: grab;
	user-select: none;
}
.lx-sd-ol-item.is-dragging {
	opacity: 0.45;
	border-color: var(--sd-magenta);
}
.lx-sd-ol-item.is-drag-over {
	border-color: var(--sd-cyan);
	box-shadow: inset 0 0 0 1px var(--sd-cyan);
}
.lx-sd-ol-drag {
	display: inline-block;
	margin-right: 6px;
	color: var(--sd-muted);
	letter-spacing: -2px;
	font-size: 12px;
	cursor: grab;
}
.lx-sd-ol-ops .lx-sd-icon-btn {
	cursor: pointer;
}
.lx-sd-steps-preview {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-top: 22px;
	font-size: 12px;
	font-family: var(--sd-mono);
	color: var(--sd-muted);
}
.lx-sd-steps-preview span {
	background: rgba(0, 240, 255, 0.06);
	border: 1px solid rgba(0, 240, 255, 0.25);
	padding: 5px 12px;
	border-radius: 0;
	clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
	color: var(--sd-cyan);
}
.lx-sd-write-split {
	display: grid;
	grid-template-columns: minmax(260px, 340px) 1fr;
	gap: 16px;
	margin-top: 12px;
}
@media (max-width: 900px) {
	.lx-sd-write-split { grid-template-columns: 1fr; }
}
.lx-sd-toc-panel,
.lx-sd-body-panel {
	background: rgba(8, 10, 22, 0.9);
	border: 1px solid var(--sd-border);
	border-radius: 0;
	padding: 12px;
	min-height: 200px;
	box-shadow: inset 0 0 24px rgba(0, 240, 255, 0.03);
}
.lx-sd-toc-panel__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
	font-size: 12px;
	font-family: var(--sd-display);
	letter-spacing: 0.1em;
	color: var(--sd-cyan);
	text-transform: uppercase;
}

.lx-sd-list-box {
	margin-top: 12px;
	max-height: 360px;
	overflow: auto;
}
.lx-sd-list-item {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 12px;
	border: 1px solid rgba(0, 240, 255, 0.15);
	border-radius: 0;
	margin-bottom: 8px;
	cursor: pointer;
	background: rgba(0, 16, 28, 0.5);
	color: var(--sd-text);
	transition: all 0.12s;
}
.lx-sd-list-item:hover {
	border-color: var(--sd-cyan);
	background: rgba(0, 240, 255, 0.08);
	box-shadow: 0 0 12px rgba(0, 240, 255, 0.15);
}
.lx-sd-list-item strong { color: #fff; }

.lx-sd-subtabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 12px 0;
}
.lx-sd-subtab {
	border: 1px solid rgba(0, 240, 255, 0.25);
	background: rgba(0, 12, 20, 0.7);
	border-radius: 0;
	clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%);
	padding: 6px 14px;
	font-size: 12px;
	font-family: var(--sd-display);
	letter-spacing: 0.06em;
	cursor: pointer;
	color: var(--sd-muted);
	text-transform: uppercase;
}
.lx-sd-subtab.is-active {
	background: linear-gradient(90deg, rgba(255, 0, 170, 0.25), rgba(0, 240, 255, 0.2));
	border-color: var(--sd-magenta);
	color: #fff;
	box-shadow: var(--sd-glow-m);
}

.lx-sd-filter-row {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 10px 0;
}
.lx-sd-chip-btn {
	border: 1px solid rgba(0, 240, 255, 0.3);
	background: transparent;
	border-radius: 0;
	padding: 4px 12px;
	font-size: 12px;
	font-family: var(--sd-mono);
	cursor: pointer;
	color: var(--sd-muted);
}
.lx-sd-chip-btn.is-on {
	background: rgba(0, 240, 255, 0.15);
	border-color: var(--sd-cyan);
	color: var(--sd-cyan);
	box-shadow: var(--sd-glow);
}

.lx-sd-tag-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.lx-sd-tag {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px;
	border: 1px solid rgba(0, 240, 255, 0.15);
	border-left-width: 3px;
	border-radius: 0;
	font-size: 12px;
	background: rgba(0, 12, 20, 0.6);
	color: var(--sd-text);
}
.lx-sd-tag__lab {
	color: #06060e;
	padding: 2px 8px;
	border-radius: 0;
	font-size: 11px;
	font-weight: 700;
	white-space: nowrap;
	font-family: var(--sd-mono);
}
.lx-sd-raw {
	margin-top: 12px;
	max-height: 240px;
	overflow: auto;
	background: rgba(0, 0, 0, 0.4);
	padding: 10px;
	border-radius: 0;
	border: 1px solid rgba(0, 240, 255, 0.15);
	font-size: 12px;
	font-family: var(--sd-mono);
	white-space: pre-wrap;
	color: #8fa3b8;
}
.lx-sd-kv {
	display: grid;
	gap: 6px;
	margin-bottom: 12px;
}
.lx-sd-kv div {
	display: flex;
	gap: 10px;
	font-size: 13px;
}
.lx-sd-kv strong {
	min-width: 100px;
	color: var(--sd-cyan);
	font-family: var(--sd-mono);
}
.lx-sd-anomaly {
	border: 1px solid rgba(0, 240, 255, 0.2);
	border-radius: 0;
	padding: 10px;
	margin-bottom: 8px;
	background: rgba(0, 16, 28, 0.5);
}
.lx-sd-anomaly.is-high {
	border-color: var(--sd-red);
	background: rgba(255, 42, 85, 0.1);
	box-shadow: 0 0 12px rgba(255, 42, 85, 0.2);
}
.lx-sd-check-row {
	border: 1px solid rgba(0, 240, 255, 0.18);
	border-radius: 0;
	padding: 10px;
	margin-bottom: 8px;
	background: rgba(0, 12, 20, 0.5);
}
.lx-sd-check-row.is-ok {
	border-color: rgba(57, 255, 20, 0.45);
	background: rgba(57, 255, 20, 0.06);
}
.lx-sd-check-row.is-fail {
	border-color: rgba(255, 42, 85, 0.5);
	background: rgba(255, 42, 85, 0.08);
}
.lx-sd-check-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	margin: 10px 0;
}
.lx-sd-thumb {
	max-width: 120px;
	max-height: 80px;
	object-fit: cover;
	border-radius: 0;
	border: 1px solid rgba(0, 240, 255, 0.35);
	margin: 6px 0;
	box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}
.lx-sd-profile-info p {
	margin: 6px 0;
	font-size: 14px;
	color: #c5d4e8;
}
.lx-sd-profile-info strong {
	color: var(--sd-cyan);
	font-family: var(--sd-mono);
	margin-right: 8px;
}
.lx-sd-mat-pane { margin-top: 8px; }

/* Links inside cyber UI */
.lx-sd a {
	color: var(--sd-cyan);
	text-shadow: 0 0 6px rgba(0, 240, 255, 0.4);
}
.lx-sd a:hover {
	color: var(--sd-magenta);
}

/* Toast override when cyber page */
body.lx-sd-modal-open {
	overflow: hidden;
}

/* Corner decorations on front hero */
.lx-sd--front .lx-sd-hero::after {
	content: 'SYS//ONLINE';
	position: absolute;
	right: 36px;
	bottom: 14px;
	font-family: var(--sd-mono);
	font-size: 10px;
	letter-spacing: 0.2em;
	color: var(--sd-green);
	text-shadow: 0 0 8px rgba(57, 255, 20, 0.7);
	opacity: 0.85;
}

/* WordPress theme shell: darken surrounding content area when possible */
body.page-template-default .lx-sd--front,
body .entry-content .lx-sd--front {
	margin-left: -4px;
	margin-right: -4px;
}

/* 登录门禁遮罩（慧眼识标/火眼金睛/洞若观标 左侧 + 招标信息块） */
.lx-sd-card--gated,
.lx-sd-ai-block.lx-sd-card--gated {
	position: relative;
}
.lx-sd-login-gate {
	position: absolute;
	inset: 0;
	z-index: 6;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(4, 8, 18, 0.78);
	backdrop-filter: blur(3px);
	border: 1px solid rgba(0, 240, 255, 0.2);
	cursor: pointer;
}
.lx-sd-login-gate[hidden] {
	display: none !important;
}
.lx-sd-login-gate__box {
	max-width: 320px;
	text-align: center;
	padding: 18px 16px;
	border: 1px solid rgba(0, 240, 255, 0.35);
	background: linear-gradient(160deg, rgba(12, 20, 40, 0.95), rgba(8, 12, 28, 0.98));
	box-shadow: 0 0 20px rgba(0, 240, 255, 0.18);
}
.lx-sd-login-gate__box strong {
	display: block;
	margin-bottom: 8px;
	color: var(--sd-cyan);
	font-family: var(--sd-display);
	letter-spacing: 0.08em;
	font-size: 14px;
}
.lx-sd-login-gate__box p {
	margin: 0 0 12px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--sd-muted);
}
.lx-sd-login-modal__msg {
	margin: 0 0 4px;
	line-height: 1.55;
	color: var(--sd-text);
	font-size: 14px;
}
.lx-sd-modal__foot a.lx-sd-btn {
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
