/* 数字团队 · 开放布局 · 独立按钮 · 少框线 */
.lx-dt {
	--dt-text: #e8eef8;
	--dt-muted: #8b9bb4;
	--dt-cyan: #38bdf8;
	--dt-indigo: #818cf8;
	--dt-line: rgba(148, 163, 184, 0.12);
	position: relative;
	max-width: 1120px;
	margin: 0 auto;
	padding: 28px 18px 88px;
	color: var(--dt-text);
	font-family: inherit;
}
.lx-dt__fx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.lx-dt__fx .g {
	position: absolute; inset: 0;
	background:
		radial-gradient(ellipse 60% 40% at 80% 0%, rgba(99, 102, 241, 0.14), transparent 60%),
		radial-gradient(ellipse 50% 30% at 10% 20%, rgba(14, 165, 233, 0.1), transparent 55%);
}
.lx-dt__fx .b { display: none; }
.lx-dt__hero, .lx-dt-view, .lx-dt-gate { position: relative; z-index: 1; }

.lx-dt__kicker {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 11px; font-weight: 800; letter-spacing: 0.14em;
	color: var(--dt-cyan); margin: 0 0 12px; text-transform: uppercase;
}
.lx-dt__kicker .pulse {
	width: 7px; height: 7px; border-radius: 50%;
	background: #22d3ee; box-shadow: 0 0 10px #22d3ee;
	animation: lxdt-p 1.6s infinite;
}
@keyframes lxdt-p { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.lx-dt__hero h1 {
	margin: 0 0 10px;
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 900;
	letter-spacing: -0.02em;
	background: linear-gradient(105deg, #f8fafc 0%, #a5b4fc 55%, #67e8f9 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.lx-dt__lead {
	margin: 0 0 22px;
	color: var(--dt-muted);
	max-width: 560px;
	line-height: 1.65;
	font-size: 15px;
}

/* —— 按钮：各自独立，不靠边框堆叠 —— */
.lx-dt__hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}
.lx-dt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	isolation: isolate;
	border: 0 !important;
	outline: none;
	cursor: pointer;
	text-decoration: none !important;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1.2;
	padding: 12px 20px;
	border-radius: 999px;
	transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease, background 0.15s ease, color 0.15s ease;
	-webkit-tap-highlight-color: transparent;
}
.lx-dt-btn:active { transform: scale(0.97); }
.lx-dt-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; }

/* 主操作：实心光晕，无描边 */
.lx-dt-btn--primary {
	color: #fff !important;
	background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
	box-shadow:
		0 4px 16px rgba(14, 165, 233, 0.35),
		0 1px 0 rgba(255, 255, 255, 0.12) inset;
}
.lx-dt-btn--primary:hover {
	filter: brightness(1.08);
	box-shadow:
		0 8px 28px rgba(99, 102, 241, 0.4),
		0 1px 0 rgba(255, 255, 255, 0.16) inset;
	transform: translateY(-1px);
}

/* 次操作：纯文字 + 底色块，无描边 */
.lx-dt-btn--ghost {
	color: #e2e8f0 !important;
	background: rgba(148, 163, 184, 0.12);
	box-shadow: none;
}
.lx-dt-btn--ghost:hover {
	background: rgba(56, 189, 248, 0.16);
	color: #f0f9ff !important;
	transform: translateY(-1px);
}

/* 危险：浅红底，无硬边框 */
.lx-dt-btn--danger {
	color: #fecaca !important;
	background: rgba(239, 68, 68, 0.16);
	box-shadow: none;
}
.lx-dt-btn--danger:hover {
	background: rgba(239, 68, 68, 0.28);
	color: #fff !important;
}

/* 成功 / 强调变体（人工通过等） */
.lx-dt-btn--ok {
	color: #ecfdf5 !important;
	background: linear-gradient(135deg, #10b981, #059669);
	box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}
.lx-dt-btn--ok:hover { filter: brightness(1.06); transform: translateY(-1px); }

.lx-dt-btn--warn {
	color: #422006 !important;
	background: linear-gradient(135deg, #fbbf24, #f59e0b);
	box-shadow: 0 4px 14px rgba(245, 158, 11, 0.28);
}
.lx-dt-btn--warn:hover { filter: brightness(1.05); transform: translateY(-1px); }

/* 操作组：按钮彼此独立留白，不包大框 */
.lx-dt-row,
.lx-dt-member__actions,
.lx-dt-human-actions,
.lx-dt__hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}
.lx-dt-row { margin: 14px 0; }
.lx-dt-member__actions .lx-dt-btn,
.lx-dt-human-actions .lx-dt-btn,
.lx-dt-row .lx-dt-btn {
	margin: 0;
}

/* 门禁区：无框，居中留白 */
.lx-dt-gate {
	margin-top: 36px;
	padding: 48px 20px;
	text-align: center;
	background: transparent;
	border: 0;
}
.lx-dt-gate__ic { font-size: 42px; margin-bottom: 12px; opacity: 0.9; }
.lx-dt-gate h3 { margin: 0 0 8px; font-size: 20px; }
.lx-dt-gate p { color: var(--dt-muted); margin: 0 0 20px; }

/* 团队卡片：轻底无硬边 */
.lx-dt-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 18px;
	margin-top: 24px;
}
.lx-dt-card {
	position: relative;
	border-radius: 20px;
	padding: 20px 18px 18px;
	border: 0;
	background: rgba(15, 23, 42, 0.45);
	cursor: pointer;
	transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
	box-shadow: 0 0 0 1px transparent;
}
.lx-dt-card:hover {
	background: rgba(30, 41, 59, 0.65);
	transform: translateY(-3px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.lx-dt-card__ic { font-size: 34px; margin-bottom: 10px; line-height: 1; }
.lx-dt-card h3 { margin: 0 0 6px; font-size: 17px; font-weight: 800; }
.lx-dt-card p { margin: 0; color: var(--dt-muted); font-size: 13px; line-height: 1.55; }
.lx-dt-card__meta {
	display: flex; flex-wrap: wrap; gap: 6px 10px;
	margin-top: 14px; font-size: 11px; font-weight: 700; color: #94a3b8;
}
.lx-dt-card__meta span {
	padding: 0;
	border: 0;
	background: none;
	color: #7dd3fc;
}
.lx-dt-card__meta span::before {
	content: "·";
	margin-right: 6px;
	color: rgba(125, 211, 252, 0.35);
}
.lx-dt-card__meta span:first-child::before { content: none; margin: 0; }
.lx-dt-card--empty {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	min-height: 168px;
	background: rgba(56, 189, 248, 0.06);
	color: var(--dt-muted);
	border: 0;
	box-shadow: none;
}
.lx-dt-card--empty:hover {
	background: rgba(56, 189, 248, 0.12);
	color: #e0f2fe;
}

/* 工作台头：开放条，无大框 */
.lx-dt-back {
	background: none; border: 0; color: var(--dt-cyan);
	font-weight: 700; cursor: pointer; margin: 0 0 16px; padding: 0;
	font-size: 13px;
}
.lx-dt-back:hover { color: #e0f2fe; }
.lx-dt-desk-head {
	display: flex; flex-wrap: wrap; gap: 16px 20px; align-items: flex-start;
	padding: 0 0 20px;
	margin-bottom: 8px;
	border: 0;
	background: transparent;
	border-bottom: 1px solid var(--dt-line);
	border-radius: 0;
}
.lx-dt-desk-head__ic { font-size: 40px; line-height: 1; }
.lx-dt-desk-head h2 { margin: 0 0 4px; font-size: 22px; font-weight: 900; }
.lx-dt-desk-head .sub { color: var(--dt-muted); font-size: 13px; line-height: 1.55; }

.lx-dt-kpis {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	margin-top: 4px;
	width: 100%;
}
@media (max-width: 720px) {
	.lx-dt-kpis { grid-template-columns: repeat(2, 1fr); }
}
.lx-dt-kpis > div {
	background: transparent;
	border-radius: 0;
	padding: 8px 4px;
	text-align: left;
	border-left: 2px solid rgba(56, 189, 248, 0.35);
	padding-left: 12px;
}
.lx-dt-kpis b { display: block; font-size: 22px; color: #f1f5f9; font-weight: 900; }
.lx-dt-kpis span { font-size: 11px; color: var(--dt-muted); font-weight: 600; }

/* Tab：文字下划线，无胶囊框 */
.lx-dt-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
	margin: 8px 0 18px;
	padding-bottom: 2px;
	border-bottom: 1px solid var(--dt-line);
}
.lx-dt-tabs button {
	border: 0 !important;
	background: none !important;
	color: var(--dt-muted);
	border-radius: 0;
	padding: 10px 2px 12px;
	font-size: 13px;
	font-weight: 800;
	cursor: pointer;
	position: relative;
	box-shadow: none !important;
}
.lx-dt-tabs button::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 2px;
	border-radius: 2px;
	background: transparent;
	transition: background 0.15s ease;
}
.lx-dt-tabs button:hover { color: #e2e8f0; }
.lx-dt-tabs button.is-on {
	color: #f8fafc;
}
.lx-dt-tabs button.is-on::after {
	background: linear-gradient(90deg, #38bdf8, #818cf8);
}

/* 面板：无描边底框 */
.lx-dt-panel {
	padding: 4px 0 20px;
	border: 0;
	border-radius: 0;
	background: transparent;
}
.lx-dt-panel h3 {
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 800;
	color: #f1f5f9;
}

.lx-dt-form label {
	display: block;
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 700;
	color: var(--dt-muted);
}
.lx-dt-form input,
.lx-dt-form textarea,
.lx-dt-form select {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 11px 14px;
	border-radius: 12px;
	border: 0;
	background: rgba(15, 23, 42, 0.75);
	color: #e2e8f0;
	font-size: 13px;
	box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.12);
}
.lx-dt-form input:focus,
.lx-dt-form textarea:focus,
.lx-dt-form select:focus {
	outline: none;
	box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.35);
}
.lx-dt-form textarea { resize: vertical; min-height: 72px; }

/* 成员行：分隔线代替框 */
.lx-dt-member {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 0;
	border: 0;
	border-radius: 0;
	margin-bottom: 0;
	background: transparent;
	border-bottom: 1px solid var(--dt-line);
}
.lx-dt-member.is-off { opacity: 0.5; }
.lx-dt-member__av { font-size: 28px; line-height: 1; }
.lx-dt-member__body { flex: 1; min-width: 0; }
.lx-dt-member__body strong { display: block; font-size: 14px; }
.lx-dt-member__body span { font-size: 12px; color: var(--dt-muted); }

/* 工作流节点：色点标签，轻底无硬框 */
.lx-dt-flow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 14px 0;
}
.lx-dt-flow__node {
	padding: 8px 14px;
	border-radius: 999px;
	border: 0;
	background: rgba(56, 189, 248, 0.14);
	color: #bae6fd;
	font-size: 12px;
	font-weight: 700;
}
.lx-dt-flow__node--human {
	background: rgba(251, 191, 36, 0.16);
	color: #fde68a;
}
.lx-dt-flow__node--end {
	background: rgba(52, 211, 153, 0.14);
	color: #6ee7b7;
}
.lx-dt-flow__node--merge {
	background: rgba(167, 139, 250, 0.16);
	color: #ddd6fe;
}
.lx-dt-flow__arr { color: #475569; font-weight: 900; opacity: 0.7; }

/* 任务列表：行式，无卡片框 */
.lx-dt-task {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 0;
	border: 0;
	border-radius: 0;
	margin-bottom: 0;
	cursor: pointer;
	background: transparent;
	border-bottom: 1px solid var(--dt-line);
	transition: background 0.12s ease;
}
.lx-dt-task:hover {
	background: rgba(56, 189, 248, 0.04);
}
.lx-dt-task strong { display: block; margin-bottom: 4px; font-size: 14px; }
.lx-dt-task .meta { font-size: 12px; color: var(--dt-muted); }

.lx-dt-pill {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	border: 0;
}
.lx-dt-pill.st-running { background: rgba(56, 189, 248, 0.18); color: #7dd3fc; }
.lx-dt-pill.st-waiting_human { background: rgba(251, 191, 36, 0.18); color: #fde68a; }
.lx-dt-pill.st-done { background: rgba(52, 211, 153, 0.18); color: #6ee7b7; }
.lx-dt-pill.st-error,
.lx-dt-pill.st-stopped { background: rgba(248, 113, 113, 0.18); color: #fecaca; }
.lx-dt-pill.st-pending { background: rgba(148, 163, 184, 0.15); color: #cbd5e1; }

.lx-dt-alert {
	padding: 12px 0;
	border-radius: 0;
	margin-bottom: 14px;
	border: 0;
	border-left: 3px solid #fbbf24;
	padding-left: 14px;
	background: transparent;
	color: #fde68a;
	font-size: 13px;
	font-weight: 700;
}

.lx-dt-timeline {
	border-left: 2px solid rgba(56, 189, 248, 0.22);
	margin: 16px 0 16px 6px;
	padding-left: 18px;
}
.lx-dt-tl-item { position: relative; margin-bottom: 18px; }
.lx-dt-tl-item::before {
	content: "";
	position: absolute;
	left: -23px; top: 5px;
	width: 9px; height: 9px;
	border-radius: 50%;
	background: #38bdf8;
	box-shadow: 0 0 8px #38bdf8;
}
.lx-dt-tl-item h4 { margin: 0 0 4px; font-size: 13px; }
.lx-dt-tl-item .io {
	font-size: 12px;
	color: var(--dt-muted);
	background: rgba(15, 23, 42, 0.5);
	border-radius: 10px;
	padding: 10px 12px;
	margin-top: 6px;
	max-height: 140px;
	overflow: auto;
	white-space: pre-wrap;
	word-break: break-word;
	border: 0;
}
.lx-dt-tl-item .cost { font-size: 11px; color: #7dd3fc; margin-top: 4px; }

/* 弹层保留必要容器，但按钮仍用独立样式 */
.lx-dt-modal {
	position: fixed; inset: 0; z-index: 100050;
	background: rgba(2, 6, 23, 0.72);
	display: flex; align-items: center; justify-content: center;
	padding: 16px;
	backdrop-filter: blur(6px);
}
.lx-dt-modal[hidden] { display: none !important; }
.lx-dt-modal__card {
	position: relative;
	width: min(520px, 100%);
	max-height: 90vh;
	overflow: auto;
	border-radius: 20px;
	padding: 24px;
	background: #0c1220;
	border: 0;
	box-shadow: 0 28px 64px rgba(0, 0, 0, 0.55);
}
.lx-dt-modal__card--lg { width: min(760px, 100%); }
.lx-dt-modal__x {
	position: absolute; right: 14px; top: 10px;
	border: 0; background: none; color: #94a3b8;
	font-size: 24px; cursor: pointer;
}
.lx-dt-modal__x:hover { color: #fff; }
.lx-dt-modal h2 { margin: 0 0 16px; font-size: 18px; font-weight: 900; }

.lx-dt-composer {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 12px;
}
.lx-dt-composer textarea {
	width: 100%;
	min-height: 96px;
	padding: 14px 16px;
	border-radius: 14px;
	border: 0;
	background: rgba(15, 23, 42, 0.8);
	color: #e2e8f0;
	font-size: 14px;
	box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.1);
	resize: vertical;
}
.lx-dt-composer textarea:focus {
	outline: none;
	box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.35);
}

.lx-dt-human-box {
	margin-top: 16px;
	padding: 16px 0 4px;
	border: 0;
	border-top: 1px solid rgba(251, 191, 36, 0.25);
	border-radius: 0;
	background: transparent;
}
.lx-dt-human-box h4 { margin: 0 0 8px; color: #fde68a; font-size: 14px; }
.lx-dt-human-box textarea {
	width: 100%;
	min-height: 72px;
	padding: 12px 14px;
	border-radius: 12px;
	border: 0;
	background: rgba(15, 23, 42, 0.75);
	color: #e2e8f0;
	box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.15);
}

.lx-dt-toast {
	position: fixed; left: 50%; bottom: 28px;
	transform: translateX(-50%);
	z-index: 100060;
	padding: 11px 20px;
	border-radius: 999px;
	background: #0f172a;
	color: #e2e8f0;
	border: 0;
	font-size: 13px;
	font-weight: 700;
	box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
	max-width: 90vw;
}
.lx-dt-toast.is-err { color: #fecaca; background: #1c1010; }

.lx-dt-kb-item {
	padding: 14px 0;
	border: 0;
	border-radius: 0;
	margin-bottom: 0;
	background: transparent;
	border-bottom: 1px solid var(--dt-line);
}
.lx-dt-kb-item strong { display: block; margin-bottom: 4px; }
.lx-dt-kb-item p { margin: 0; font-size: 12px; color: var(--dt-muted); white-space: pre-wrap; }

.lx-dt-hint {
	font-size: 12px;
	color: #64748b;
	margin: 8px 0 12px;
	line-height: 1.5;
}

/* 表单内 select 与按钮并排时更干净 */
.lx-dt-row select,
.lx-dt-row input[type="text"] {
	padding: 11px 14px;
	border-radius: 999px;
	border: 0;
	background: rgba(15, 23, 42, 0.75);
	color: #e2e8f0;
	font-size: 13px;
	box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.12);
}
