/* 建模剧场：全屏、浅灰网格底 + 电光蓝点缀（与首页同一套配色），三维装置占画面主体，左栏小塔讲解 + 计划项（较早的记录列十个阶段），卡片叠在装置上。 */
.th {
  --th-ink: #111; --th-ink2: #4a4a4a; --th-ink3: #8a8a8a; --th-line: rgba(17, 17, 17, 0.13); --th-blue: #0014dc;
  --th-red: #d93025; --th-amber: #c27400; --th-green: #11804a; --th-violet: #5b3ad6; --th-left: 372px; --th-right: 404px;
  position: fixed; inset: 0; z-index: 950; overflow: hidden; color: var(--th-ink); background: #f0f0f0;
  font-family: var(--font, "Microsoft YaHei", "PingFang SC", sans-serif); animation: thIn 0.35s ease both;
}
@keyframes thIn { from { opacity: 0; } to { opacity: 1; } }
.th-bg { position: absolute; inset: 0; background: radial-gradient(42% 58% at 64% 52%, #fcfcfc 0%, rgba(252, 252, 252, 0) 100%), #f0f0f0; }
.th-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(90deg, rgba(22, 24, 29, 0.045) 1px, transparent 1px), linear-gradient(rgba(22, 24, 29, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
}
.th-3d { position: absolute; left: calc(var(--th-left) - 20px); right: calc(var(--th-right) - 10px); top: 64px; bottom: 0; }
/* 右栏：数据卡（决策 / 求解 / 诊断 / 校验 / 结果）都放这里，不遮装置 */
.th-dec, .th-solve, .th-diag, .th-check, .th-end { right: 22px; top: 88px; width: calc(var(--th-right) - 40px); }
.th-3d .p3d, .th-3d > div { width: 100%; height: 100%; }
.th-void { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--th-ink3); font-size: 14px; }

/* ---- 顶栏 + 进度 */
.th-top {
  position: absolute; left: 0; right: 0; top: 0; height: 54px; z-index: 5; display: flex; align-items: center; gap: 18px; padding: 0 18px 0 22px;
  background: rgba(240, 240, 240, 0.88); border-bottom: 1px solid var(--th-line);
}
.th-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--th-blue); font-size: 14px; white-space: nowrap; }
.th-brand b { font-weight: 600; }
.th-brand span { padding-left: 9px; border-left: 1px solid rgba(0, 20, 220, 0.3); }
.th-title { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.th-ctl { display: flex; align-items: center; gap: 6px; }
.th-ctl button {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 30px; height: 30px; padding: 0 8px;
  border: 1px solid var(--th-line); border-radius: 0; background: #fff; color: var(--th-ink2); font-size: 12.5px; cursor: pointer;
}
.th-ctl button:hover { border-color: var(--th-blue); color: var(--th-blue); }
.th-ctl button.sp.on { background: var(--th-blue); border-color: var(--th-blue); color: #fff; }
.th-ctl button.x { border-color: transparent; background: none; }
.th-ctl .sep { width: 1px; height: 20px; margin: 0 4px; background: var(--th-line); }
.th-prog { position: absolute; left: 0; right: 0; top: 54px; height: 10px; z-index: 5; cursor: pointer; background: rgba(17, 17, 17, 0.06); }
.th-prog-f { position: absolute; left: 0; top: 0; bottom: 0; background: var(--th-blue); }
.th-tick { position: absolute; top: 12px; transform: translateX(-2px); font-size: 10.5px; color: var(--th-ink3); font-variant-numeric: tabular-nums; pointer-events: none; }
.th-tick::before { content: ''; position: absolute; left: 0; top: -12px; width: 1px; height: 10px; background: rgba(255, 255, 255, 0.9); }
.th-tick.on { color: var(--th-blue); }
.th-msg { position: absolute; left: 50%; top: 45%; transform: translateX(-50%); z-index: 6; padding: 12px 18px; background: #fff; border: 1px solid var(--th-line); font-size: 14px; }
.th-msg.err { color: var(--th-red); }

/* ---- 左栏 */
.th-left { position: absolute; left: 0; top: 64px; bottom: 0; width: var(--th-left); z-index: 4; display: flex; flex-direction: column; padding: 26px 22px 18px 26px; }
.th-pet { display: flex; align-items: flex-start; gap: 10px; }
.th-pet > :first-child { flex: none; }
.th-say {
  position: relative; flex: 1; min-height: 92px; margin-top: 6px; padding: 12px 14px; background: #fff; border: 1px solid var(--th-line);
  border-top: 2px solid var(--th-blue); font-size: 14.5px; line-height: 1.6; color: var(--th-ink);
}
.th-caret { display: inline-block; width: 2px; height: 15px; margin-left: 2px; vertical-align: -2px; background: var(--th-blue); animation: thBlink 0.8s steps(2) infinite; }
@keyframes thBlink { 50% { opacity: 0; } }
.th-steps { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.th-steps li {
  display: grid; grid-template-columns: 26px 1fr auto; align-items: center; column-gap: 8px; padding: 6px 8px; border-left: 2px solid transparent;
  color: var(--th-ink3); font-size: 13.5px; transition: background 0.25s, color 0.25s;
}
.th-steps .no { font-size: 12px; font-variant-numeric: tabular-nums; }
.th-steps .ic { font-size: 12px; }
.th-steps small { grid-column: 2 / 4; font-size: 11.5px; line-height: 1.45; color: var(--th-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.th-steps li.running { background: #fff; border-left-color: var(--th-blue); color: var(--th-blue); font-weight: 600; }
.th-steps li.running .ic { animation: thBlink 1s steps(2) infinite; }
.th-steps li.done { color: var(--th-ink); }
.th-steps li.done .ic { color: var(--th-green); }
.th-steps li.failed { color: var(--th-red); }
.th-steps li.repaired { color: var(--th-amber); }
.th-steps li.skipped { color: var(--th-ink3); }

/* 有计划的记录：计划项比十步多，行距收紧；重新规划新增的项用紫色，撤掉的项划掉 */
.th-steps.pl { margin-top: 16px; gap: 1px; }
.th-steps.pl li { padding: 4px 8px; font-size: 13px; }
.th-steps.pl .nm { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.th-steps.pl .nm em { margin-left: 6px; padding: 0 5px; border: 1px solid rgba(91, 58, 214, 0.45); color: var(--th-violet); font-style: normal; font-size: 10.5px; font-weight: 400; }
.th-steps li.ins { border-left-color: var(--th-violet); background: rgba(91, 58, 214, 0.06); }
.th-steps li.ins.running { background: #fff; color: var(--th-violet); }
.th-steps li.dropped { text-decoration: line-through; opacity: 0.55; }
.th-steps li.waiting { color: var(--th-blue); }
.th-steps li.waiting .ic { font-size: 11px; }
.th-wait { margin-top: 10px; padding: 8px 10px; border: 1px dashed var(--th-line); color: var(--th-ink3); font-size: 12.5px; }
.th.pl .th-gate { bottom: 70px; }

/* ---- 卡片（白卡 + 顶部 2px 色条，直角） */
.th-card {
  position: absolute; z-index: 4; padding: 14px 16px 15px; background: rgba(255, 255, 255, 0.97); border: 1px solid var(--th-line);
  border-top: 2px solid var(--th-blue); box-shadow: 0 14px 36px rgba(17, 17, 17, 0.08);
}
.th-k { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--th-blue); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; }
.th-k code { padding: 1px 6px; border: 1px solid rgba(91, 58, 214, 0.35); color: var(--th-violet); font: 11px/1.4 var(--mono, Consolas, monospace); }
.th-k em { font-style: normal; padding: 1px 7px; font-size: 11px; font-weight: 500; letter-spacing: 0; border: 1px solid currentColor; }
.th-k .kt { color: var(--th-ink3); font-weight: 400; letter-spacing: 0; }
.src-rule { color: var(--th-blue); }
.src-knowledge { color: var(--th-violet); }
.src-user { color: var(--th-ink2); }
.src-llm { color: var(--th-green); }

.th-task { left: calc(var(--th-left) + 36px); right: calc(var(--th-right) - 120px); top: 26%; padding: 22px 26px 24px; }
.th-task p { margin: 0; font-size: 22px; line-height: 1.7; color: var(--th-ink); }
.th-feas { left: calc(var(--th-left) + 36px); right: calc(var(--th-right) + 20px); top: 22%; padding: 18px 22px 20px; }
.th-feas ul { list-style: none; margin: 4px 0 0; padding: 0; }
.th-feas li { display: grid; grid-template-columns: 96px 130px 1fr; align-items: baseline; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(17, 17, 17, 0.07); font-size: 14px; }
.th-feas li b { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.th-feas li em { font-style: normal; color: var(--th-ink2); font-size: 13px; }
.th-feas li.az b, .th-feas li.az span { color: var(--th-violet); }
.th-feas li.het span::after { content: '分两液相'; margin-left: 8px; padding: 1px 6px; border: 1px solid rgba(194, 116, 0, 0.5); color: var(--th-amber); font-size: 11px; }
.th-feas p { margin: 12px 0 0; padding: 10px 12px; background: rgba(0, 20, 220, 0.05); color: var(--th-blue); font-size: 14.5px; line-height: 1.6; }
.th-feas.no p { background: rgba(194, 116, 0, 0.07); color: var(--th-amber); }
.th-assume { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.th-assume span { padding: 3px 8px; border: 1px dashed rgba(194, 116, 0, 0.55); color: var(--th-amber); font-size: 12px; }


.th-dv { display: flex; flex-direction: column; gap: 2px; }
.th-dv span { color: var(--th-ink2); font-size: 14px; }
.th-dv b { font-size: 24px; font-weight: 600; color: var(--th-ink); }
.th-dec p { margin: 8px 0 0; color: var(--th-ink2); font-size: 13.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.th-gate { position: absolute; z-index: 4; left: calc(var(--th-left) + 24px); bottom: 28px; padding: 10px 14px; background: var(--th-blue); color: #fff; font-size: 14px; }


.th-clock { display: flex; align-items: baseline; gap: 6px; }
.th-clock b { font-size: 34px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--th-ink); }
.th-clock span { color: var(--th-ink2); font-size: 13px; }
.th-clock small { margin-left: auto; color: var(--th-ink3); font-size: 11px; }
.th-blk { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--th-line); }
.th-blk li { display: grid; grid-template-columns: 12px 34px 64px 1fr; align-items: center; gap: 6px; padding: 7px 0; border-bottom: 1px solid rgba(17, 17, 17, 0.06); font-size: 13px; }
.th-blk i { width: 9px; height: 9px; border-radius: 50%; background: #c9ced6; }
.th-blk em { font-style: normal; color: var(--th-ink3); font-size: 12px; font-variant-numeric: tabular-nums; text-align: right; }
.th-blk li.ok i { background: var(--th-green); }
.th-blk li.ok span { color: var(--th-green); }
.th-blk li.bad i { background: var(--th-red); box-shadow: 0 0 0 4px rgba(217, 48, 37, 0.16); }
.th-blk li.bad span, .th-blk li.bad em { color: var(--th-red); font-weight: 600; }
.th-blk li.run i { background: var(--th-blue); animation: thBlink 0.6s steps(2) infinite; }
.th-blk li.run span { color: var(--th-blue); }
.th-tear { margin-top: 10px; }
.th-tl { font-size: 12px; color: var(--th-ink2); }
.th-tl b { color: var(--th-violet); font-variant-numeric: tabular-nums; }
.th-tear svg { display: block; width: 100%; height: 70px; margin-top: 4px; background: #fafafa; border: 1px solid rgba(17, 17, 17, 0.06); }
.th-tear path { fill: none; stroke: var(--th-violet); stroke-width: 2; vector-effect: non-scaling-stroke; }
.th-tear circle { fill: #fff; stroke: var(--th-violet); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.th-tear line.tol { stroke: var(--th-green); stroke-dasharray: 4 3; stroke-width: 1; vector-effect: non-scaling-stroke; }
.th-eo { margin-top: 10px; font-size: 12px; color: var(--th-violet); }
.th-lam { display: grid; grid-template-columns: 52px 1fr 48px; align-items: center; gap: 8px; margin-bottom: 6px; }
.th-lam span { color: var(--th-ink2); }
.th-lam i { position: relative; height: 8px; background: rgba(91, 58, 214, 0.12); }
.th-lam b { position: absolute; left: 0; top: 0; bottom: 0; background: var(--th-violet); transition: width 0.3s; }
.th-lam em { font-style: normal; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }

/* ---- 机理难点卡（中间）、难点核对条（底部） */
.th-mech { left: calc(var(--th-left) + 36px); right: calc(var(--th-right) + 20px); top: 11%; padding: 16px 22px 18px; }
.th-mech ul { list-style: none; margin: 2px 0 0; padding: 0; }
.th-mech li {
  display: grid; grid-template-columns: 66px 136px 1fr; column-gap: 12px; row-gap: 2px; align-items: baseline; padding: 7px 0 7px 10px;
  border-top: 1px solid rgba(17, 17, 17, 0.07); border-left: 3px solid rgba(17, 17, 17, 0.14); opacity: 0; transform: translateY(8px); transition: opacity 0.35s, transform 0.35s;
}
.th-mech li.on { opacity: 1; transform: none; }
.th-mech li.hard { border-left-color: var(--th-red); }
.th-mech li.risk { border-left-color: var(--th-amber); }
.th-mech li i { font-style: normal; font-size: 11px; padding: 1px 0; border: 1px solid currentColor; color: var(--th-ink3); text-align: center; white-space: nowrap; }
.th-mech li.hard i { color: var(--th-red); }
.th-mech li.risk i { color: var(--th-amber); }
.th-mech li b { font-size: 15px; font-weight: 600; white-space: nowrap; }
.th-mech li span { font-size: 13px; color: var(--th-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.th-mech li p { grid-column: 2 / 4; margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--th-blue); }
.th-mech li p::before { content: '→ '; }
.th-mech code, .th-pb code { margin-left: 8px; padding: 1px 6px; border: 1px solid rgba(91, 58, 214, 0.35); color: var(--th-violet); font: 11px/1.4 var(--mono, Consolas, monospace); white-space: nowrap; }
.th-risk { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--th-line); }
.th-k2 { margin-bottom: 4px; color: var(--th-amber); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; }
.th-risk .rk { display: grid; grid-template-columns: 1fr 1fr auto; column-gap: 14px; align-items: baseline; padding: 4px 0; font-size: 13px; opacity: 0; transition: opacity 0.35s; }
.th-risk .rk.on { opacity: 1; }
.th-risk .rk span { color: var(--th-ink2); }
.th-risk .rk b { font-weight: 500; color: var(--th-ink); }
.th-risk .rk b::before { content: '预案 '; color: var(--th-amber); font-size: 11.5px; }
.th-mdock {
  position: absolute; z-index: 4; left: calc(var(--th-left) + 24px); right: calc(var(--th-right) + 4px); bottom: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  padding: 7px 10px; background: rgba(255, 255, 255, 0.94); border: 1px solid var(--th-line); font-size: 12.5px;
}
.th-mdock .t { margin-right: 4px; color: var(--th-ink3); }
.th-mdock .c { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border: 1px solid var(--th-line); color: var(--th-ink2); white-space: nowrap; transition: background 0.4s, color 0.4s, border-color 0.4s; }
.th-mdock .c.hard { border-color: rgba(217, 48, 37, 0.4); }
.th-mdock .c.risk { border-color: rgba(194, 116, 0, 0.45); }
.th-mdock .c i { font-style: normal; font-weight: 700; }
.th-mdock .c.ok { border-color: rgba(17, 128, 74, 0.5); background: rgba(17, 128, 74, 0.08); color: var(--th-green); }
.th-mdock .c.bad { border-color: rgba(217, 48, 37, 0.5); background: rgba(217, 48, 37, 0.07); color: var(--th-red); }
.th-mdock .c.pop { box-shadow: 0 0 0 3px rgba(17, 128, 74, 0.18); }
.th-mdock .n { margin-left: auto; color: var(--th-ink3); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---- 重新规划、参数敏感性、多工况（右栏） */
.th-replan, .th-sens, .th-study { right: 22px; top: 88px; width: calc(var(--th-right) - 40px); }
.th-replan { border-top-color: var(--th-violet); }
.th-replan .th-k { color: var(--th-violet); }
.th-pb { margin-top: 8px; padding: 7px 10px; background: rgba(91, 58, 214, 0.06); color: var(--th-violet); font-size: 12.5px; line-height: 1.55; opacity: 0; transition: opacity 0.35s; }
.th-pb.on { opacity: 1; }
.th-sens .lg { display: flex; align-items: center; gap: 12px; margin: 2px 0 6px; font-size: 12px; color: var(--th-ink2); }
.th-sens .lg i { display: inline-block; width: 10px; height: 10px; margin-right: 4px; border-radius: 2px; vertical-align: -1px; }
.th-sens .lg em { margin-left: auto; font-style: normal; color: var(--th-ink3); }
.th-sens i.up { background: #ea9629; }
.th-sens i.dn { background: #348dcc; }
.th-sens .rw { display: grid; grid-template-columns: 118px 1fr 58px; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid rgba(17, 17, 17, 0.06); }
.th-sens .rw .nm { font-size: 13px; color: var(--th-ink); }
.th-sens .rw .nm small { display: block; font-size: 11px; color: var(--th-ink3); }
.th-sens .rw .bar { position: relative; height: 14px; background: linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(17, 17, 17, 0.28) calc(50% - 0.5px), rgba(17, 17, 17, 0.28) calc(50% + 0.5px), transparent calc(50% + 0.5px)); }
.th-sens .rw .bar i { position: absolute; top: 2px; height: 10px; transition: width 0.5s ease; }
.th-sens .rw .bar i.neg { right: 50%; border-radius: 4px 0 0 4px; }
.th-sens .rw .bar i.pos { left: 50%; border-radius: 0 4px 4px 0; }
.th-sens .rw b { font-size: 13.5px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; color: var(--th-ink); }
.th-sens .rw b.bad { color: var(--th-red); font-size: 12px; }
.th-sens .cap, .th-study .cap { margin-top: 8px; font-size: 12px; line-height: 1.55; color: var(--th-ink3); }
.th-study .sg.mini .sg-c { width: 84px; height: 34px; }
.th-study .sg.mini .sg-c b { font-size: 13px; }
.th-study .sg.mini .sg-t th { font-size: 11px; padding: 0 5px; }

.th-diag { border-top-color: var(--th-red); }
.th-diag .th-k { color: var(--th-red); }
.th-dr { display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(17, 17, 17, 0.07); opacity: 0; transform: translateX(10px); transition: opacity 0.35s, transform 0.35s; }
.th-dr.on { opacity: 1; transform: none; }
.th-dr span { font-size: 12px; font-weight: 600; padding-top: 2px; }
.th-dr p { margin: 0; font-size: 14px; line-height: 1.55; }
.th-dr.bad span { color: var(--th-red); }
.th-dr.warn span { color: var(--th-amber); }
.th-dr.fix span { color: var(--th-green); }
.th-dr.fix p { font-weight: 600; color: var(--th-ink); font-size: 15.5px; }

.th-check { border-top-color: var(--th-green); }
.th-check .th-k { color: var(--th-green); }
.th-check ul { list-style: none; margin: 0; padding: 0; }
.th-check li { display: grid; grid-template-columns: 18px 128px 1fr; align-items: baseline; gap: 6px; padding: 6px 0; border-top: 1px solid rgba(17, 17, 17, 0.06); font-size: 13px; color: var(--th-ink3); }
.th-check li i { font-style: normal; font-weight: 700; color: var(--th-green); }
.th-check li.on { color: var(--th-ink); }
.th-check li.on.bad i { color: var(--th-red); }
.th-check li span { font-size: 11.5px; color: var(--th-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.th-end { padding: 18px 20px; border-top-width: 3px; }
.th-end h3 { margin: 0 0 12px; font-size: 18px; line-height: 1.45; font-weight: 600; }
.th-end.no { border-top-color: var(--th-amber); }
.th-end.no .th-k { color: var(--th-amber); }
.th-why { margin: 0 0 12px; font-size: 14px; line-height: 1.6; color: var(--th-ink2); }
.th-kpi { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--th-line); }
.th-kpi > div { min-width: 0; padding: 9px 10px; border-left: 1px solid var(--th-line); }
.th-kpi > div:first-child { border-left: none; }
.th-kpi span { display: block; font-size: 12px; color: var(--th-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.th-kpi b { display: block; margin-top: 3px; font-size: 17px; white-space: nowrap; font-weight: 600; color: var(--th-blue); font-variant-numeric: tabular-nums; }
.th-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; margin: 14px 0 0; }
.th-facts dt { font-size: 12px; color: var(--th-ink3); }
.th-facts dd { margin: 2px 0 0; font-size: 16px; font-weight: 600; }
.th-facts dd small { display: block; font-size: 11px; font-weight: 400; color: var(--th-ink3); }
.th-sign { margin-top: 14px; padding: 7px 10px; background: rgba(0, 20, 220, 0.05); color: var(--th-blue); font-size: 12.5px; }
.th-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.th-act button {
  display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 12px; border: 1px solid var(--th-line); border-radius: 0;
  background: #fff; color: var(--th-ink2); font-size: 13px; cursor: pointer;
}
.th-act button:hover { border-color: var(--th-blue); color: var(--th-blue); }
.th-act button.pri { background: var(--th-blue); border-color: var(--th-blue); color: #fff; }

/* ---- 三维装置上的标签 */
.th .p3l.tag {
  padding: 5px 10px 6px; border: 1px solid rgba(17, 17, 17, 0.14); border-left: 3px solid var(--th-blue); border-radius: 0;
  background: rgba(255, 255, 255, 0.97); color: #333; font-size: 13px; box-shadow: 0 6px 16px rgba(17, 17, 17, 0.07);
  -webkit-backdrop-filter: none; backdrop-filter: none; transition: border-color 0.3s, box-shadow 0.3s;
}
.th .p3l.tag b { color: var(--th-blue); margin-right: 4px; }
.th .p3l.tag.red { border-color: rgba(217, 48, 37, 0.5); border-left-color: var(--th-red); color: var(--th-red); box-shadow: 0 0 0 4px rgba(217, 48, 37, 0.12), 0 8px 20px rgba(217, 48, 37, 0.15); }
.th .p3l.tag.red b { color: var(--th-red); }
.th .p3l.tag.amber { border-left-color: #e0902a; }
.th .p3l.tag.amber b { color: #a35a00; }
.th .p3l.tag.violet { border-left-color: #7c5cff; }
.th .p3l.tag.violet b { color: var(--th-violet); }
.th .p3l.tag.green { border-left-color: #1fa463; }
.th .p3l.tag.green b { color: var(--th-green); }
.th .p3l.tag.blue { border-color: rgba(0, 20, 220, 0.4); box-shadow: 0 0 0 3px rgba(0, 20, 220, 0.08); }

@media (max-width: 1280px) {
  .th { --th-left: 320px; --th-right: 360px; }
}
@media (prefers-reduced-motion: reduce) {
  .th, .th-caret, .th-steps li.running .ic, .th-blk li.run i { animation: none; }
}
