Files
JX-BPOS/apps/web/src/app/styles/console.css
T
ChaiHaoandClaude Fable 5 34e207c3e8 三面拆分⑫:UI 打磨 —— 补 10 枚缺失图标,蓝图改因果链,台账收成一个模块
图标注册表缺 arrow-left-right/columns/table/tag 等 10 名,用到即渲染成空 SVG —— 补齐;
蓝图四库改真箭头相连的因果链节点卡(卡即入口,删重复的入库段);
驾驶舱终态分布改五色堆叠条;运营数据收成左轨一枚「台账」,域下沉为 2-3 字短名页签
(受理→寻源→定价→议价→替代→共享,按流程序),进模块自动落首域。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KeDBx2PHLavbURXB8LJJ7m
2026-07-27 22:02:49 +08:00

493 lines
43 KiB
CSS

/* ============================================================================
JCAI 治理台 · 控制台设计层(2026-07-25 二次重做:分级页面)
————————————————————————————————————————————————
治理面 ≠ 工单面。工作台是「一条一条把活干完」;治理台是「看住总体、处置偏差、配置边界」。
这一版把「一屏摞四种维度」拆开:
· 深色轨 + 深色顶栏(与工作台的浅色壳明确区分,一眼知道自己在管理面)
· 区首页 = 面包屑 + 区头 + **页签**,一个页签 = 一个维度(主视图 / 次要清单 / 需处置 / 概览)
· 深挖 = 整页下钻,层层有面包屑:区 → 对象 → 子维度 → 元素;编排画布独占整页
· 动作 = **就地确认带**(影响预览三必答),不弹窗、不遮挡;抽屉与模态一律不用
· 密度靠图形承载(分布条、环、迷你柱、泳道),不靠塞列
========================================================================== */
.gov-root {
--nav: #18222e;
--nav-2: #202c3a;
--nav-line: #2b3a4b;
--nav-ink: #93a3b5;
--nav-on: #ffffff;
--top: #131c26;
--face: #eceff4; /* 工作面 */
--card: #ffffff;
--cline: #e2e7ee;
--cshadow: 0 1px 2px rgba(19, 28, 38, .05);
--cshadow-2: 0 8px 24px -14px rgba(19, 28, 38, .5);
}
/* ============ 外壳 ============ */
.g-shell { height: 100vh; display: grid; grid-template-columns: 76px minmax(0, 1fr); background: var(--face); overflow: hidden; }
/* ---- 深色左轨 ---- */
.g-nav { display: flex; flex-direction: column; background: var(--nav); border-right: 1px solid var(--nav-line); padding: 12px 8px 10px; gap: 3px; overflow-y: auto; scrollbar-width: none; }
.g-nav::-webkit-scrollbar { display: none; }
.g-nav-mark { flex: none; width: 40px; height: 40px; margin: 0 auto 6px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, #3370ff, #7f3bf5); box-shadow: 0 4px 14px -4px rgba(51, 112, 255, .8); }
.g-nav-brand { text-align: center; font-size: 9px; font-weight: 800; letter-spacing: .18em; color: #5d6f83; margin-bottom: 10px; }
.g-nav-b { position: relative; flex: 0 0 auto; display: grid; justify-items: center; align-content: center; gap: 5px; min-height: 50px; padding: 6px 2px; border: 0; border-radius: 10px; background: transparent; color: var(--nav-ink); font: inherit; font-size: 11px; font-weight: 600; cursor: pointer; transition: background var(--t-fast), color var(--t-fast); }
.g-nav-b:hover { background: var(--nav-2); color: #dbe4ee; }
.g-nav-b.on { background: var(--nav-2); color: var(--nav-on); font-weight: 700; }
.g-nav-b.on::before { content: ""; position: absolute; left: -8px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: #3370ff; }
.g-nav-ico { position: relative; display: inline-grid; place-items: center; }
.g-nav-badge { position: absolute; top: -7px; right: -12px; min-width: 17px; height: 17px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; border-radius: 999px; background: #f54a45; color: #fff; font-size: 10px; font-weight: 800; line-height: 1; border: 2px solid var(--nav); }
.g-nav-foot { margin-top: auto; display: grid; justify-items: center; gap: 5px; padding-top: 12px; border-top: 1px solid var(--nav-line); }
.g-nav-ava { width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 800; background: linear-gradient(140deg, #2bc7d4, #0e9fd8); }
.g-nav-foot span { font-size: 10px; color: #5d6f83; }
/* ---- 深色顶栏:环境 + 全局检索 + 时间窗 + 告警 + 事件流 ---- */
.g-body { min-width: 0; display: flex; flex-direction: column; min-height: 0; }
.g-top { flex: none; height: 52px; display: flex; align-items: center; gap: 14px; padding: 0 18px; background: var(--top); border-bottom: 1px solid #0c141c; }
.g-top-brand { display: flex; align-items: baseline; gap: 8px; color: #fff; font-size: 13.5px; font-weight: 800; letter-spacing: -.01em; }
.g-top-brand em { font-style: normal; font-size: 10.5px; font-weight: 600; color: #6d8199; }
.g-search { flex: 1; max-width: 460px; display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 11px; border-radius: 9px; background: #1d2833; border: 1px solid #2b3a4b; color: #8fa1b4; transition: border-color var(--t-fast); }
.g-search:focus-within { border-color: #3370ff; }
.g-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 12px; color: #e6edf5; }
.g-search input::placeholder { color: #5d6f83; }
.g-search kbd { font-family: var(--mono); font-size: 10px; color: #5d6f83; border: 1px solid #2b3a4b; border-radius: 5px; padding: 1px 5px; }
.g-top-r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.g-tbtn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 8px; border: 1px solid #2b3a4b; background: #1d2833; color: #b9c4d0; font: inherit; font-size: 11.5px; font-weight: 600; cursor: pointer; transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.g-tbtn:hover { background: #253242; color: #fff; }
.g-tbtn b { font-family: var(--mono); font-size: 11px; color: #fff; }
.g-tbtn.alert { border-color: #5b2a2a; background: #2a1a1c; color: #ff9b96; }
.g-tbtn.alert b { color: #ff6b64; }
.g-tbtn.flash { border-color: #3370ff; background: #1b2c4d; color: #cddffd; }
/* ---- 工作面 ---- */
.g-page { flex: 1; min-height: 0; overflow-y: auto; padding: 14px 22px 30px; display: flex; flex-direction: column; gap: 16px; scrollbar-width: thin; }
.g-detail { display: flex; flex-direction: column; gap: 16px; animation: gRise .18s cubic-bezier(.3, 0, .2, 1) both; }
@keyframes gRise { from { opacity: 0; transform: translateY(5px); } }
/* 面包屑:每一级都能回跳 */
.g-crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; min-height: 28px; }
.g-back { flex: none; width: 28px; height: 28px; margin-right: 2px; border-radius: 8px; border: 1px solid var(--cline); background: #fff; color: var(--ink-3); display: grid; place-items: center; cursor: pointer; transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.g-back:hover { background: var(--brand-wash); border-color: #c5d8ff; color: var(--brand-deep); }
.g-crumb-i { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; }
.g-crumb-i .sep { font-style: normal; color: #b6bfc9; }
.g-crumb-i button { border: 0; background: none; padding: 0; font: inherit; font-size: 11.5px; color: var(--ink-3); cursor: pointer; }
.g-crumb-i button:hover { color: var(--brand); text-decoration: underline; }
.g-crumb-i b { font-weight: 700; color: var(--ink-2); }
/* 区头 */
.g-head { display: flex; align-items: flex-start; gap: 13px; }
.g-head-i { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; }
.g-head-t { flex: 1; min-width: 0; }
.g-head-t h1 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.015em; color: var(--ink); }
.g-head-t p { margin: 5px 0 0; font-size: 12.5px; line-height: 1.7; color: var(--ink-3); max-width: 108ch; }
/* 区内页签:一个页签 = 一个维度 */
.g-tabs { display: flex; flex-wrap: wrap; gap: 3px; padding: 4px; border-radius: 12px; background: #e3e8ef; align-self: flex-start; }
.g-tab { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; color: var(--ink-3); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: background var(--t-fast), color var(--t-fast); }
.g-tab svg { color: var(--ink-4); }
.g-tab:hover { color: var(--ink); background: rgba(255, 255, 255, .55); }
.g-tab.on { background: #fff; color: var(--ink); font-weight: 700; box-shadow: var(--cshadow); }
.g-tab.on svg { color: var(--brand); }
.g-tab b { min-width: 17px; height: 17px; padding: 0 5px; border-radius: 999px; background: var(--danger-accent); color: #fff; font-family: var(--mono); font-size: 10px; font-weight: 800; display: inline-grid; place-items: center; }
/* 段标题 */
.g-band { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .01em; color: var(--ink-2); }
.g-band svg { color: var(--ink-4); }
.g-band .x { margin-left: auto; font-size: 10.5px; font-weight: 600; color: var(--ink-4); }
.g-sec { display: flex; flex-direction: column; gap: 10px; }
/* ============ 详情页头 + 就地确认带 ============ */
.g-dhwrap { display: flex; flex-direction: column; gap: 10px; }
.g-dh { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; background: var(--card); border: 1px solid var(--cline); border-radius: 14px; box-shadow: var(--cshadow); }
.g-dh-i { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--tone-ink, var(--brand-deep)); background: var(--tone-soft, var(--brand-wash)); }
.g-dh-t { flex: 1; min-width: 0; }
.g-dh-t em { display: block; font-style: normal; font-family: var(--mono); font-size: 10.5px; color: var(--ink-4); }
.g-dh-t h2 { margin: 3px 0 0; font-size: 17px; font-weight: 800; letter-spacing: -.015em; color: var(--ink); }
.g-dh-t .chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 9px; }
.g-dh-t p { margin: 9px 0 0; font-size: 12px; line-height: 1.7; color: var(--ink-3); max-width: 104ch; }
.g-dh-a { flex: none; display: flex; gap: 8px; padding-top: 2px; }
.g-acts { display: flex; flex-direction: column; gap: 10px; }
.g-acts-r { display: flex; flex-wrap: wrap; gap: 8px; }
/* 就地确认:影响预览三必答,展开在原地,不遮挡上下文 */
.g-ask { display: flex; flex-direction: column; gap: 11px; padding: 14px 16px; border-radius: 13px; background: #fff; border: 1px solid var(--tone-line, var(--cline)); border-left: 3px solid var(--tone, var(--warn-accent)); box-shadow: var(--cshadow); animation: gDrop .16s cubic-bezier(.3, 0, .2, 1) both; }
.g-ask-h { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 800; color: var(--ink); }
.g-ask-h svg { color: var(--tone, var(--warn)); }
.g-ask-a { display: flex; justify-content: flex-end; gap: 9px; }
.g-impact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 11px; overflow: hidden; }
.g-impact > div { background: #fff; padding: 11px 13px; display: flex; flex-direction: column; gap: 4px; }
.g-impact em { font-style: normal; font-size: 10.5px; color: var(--ink-4); }
.g-impact b { font-size: 12px; font-weight: 600; line-height: 1.55; color: var(--ink); }
@keyframes gDrop { from { opacity: 0; transform: translateY(-5px); } }
/* ============ 概览页签:KPI 块 ============ */
.g-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(176px, 1fr)); gap: 12px; }
.g-kpi { position: relative; display: flex; flex-direction: column; gap: 7px; padding: 14px 16px; background: var(--card); border: 1px solid var(--cline); border-radius: 13px; box-shadow: var(--cshadow); overflow: hidden; }
.g-kpi::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--tone, #c9d2dd); }
.g-kpi-l { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--ink-4); }
.g-kpi-l svg { color: var(--tone-ink, var(--ink-4)); }
.g-kpi-v { font-size: 26px; font-weight: 800; font-family: var(--mono); letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.g-kpi-v small { font-size: 12px; font-weight: 600; font-family: var(--sans); color: var(--ink-4); margin-left: 4px; }
.g-kpi.t-ok .g-kpi-v { color: var(--ok); } .g-kpi.t-warn .g-kpi-v { color: var(--warn); }
.g-kpi.t-danger .g-kpi-v { color: var(--danger); } .g-kpi.t-brand .g-kpi-v { color: var(--brand-deep); }
.g-kpi-s { font-size: 11px; line-height: 1.5; color: var(--ink-4); }
/* 环形(比率型指标) */
.g-dial { display: grid; place-items: center; }
.g-dial svg { transform: rotate(-90deg); }
.g-dial .trk { fill: none; stroke: #eaeef3; }
.g-dial .val { fill: none; stroke-linecap: round; }
/* 小事实块(预算 / 要素统计 / 负载) */
.g-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); gap: 10px; }
.g-fact { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; background: var(--card); border: 1px solid var(--cline); border-radius: 12px; box-shadow: var(--cshadow); }
.g-fact em { font-style: normal; font-size: 10.5px; color: var(--ink-4); }
.g-fact b { font-family: var(--mono); font-size: 15px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.g-fact .t { height: 4px; border-radius: 999px; background: #eaeef3; overflow: hidden; }
.g-fact .t i { display: block; height: 100%; border-radius: 999px; background: var(--tone, var(--brand)); }
/* ============ 需处置页签:偏差 + 就地处置 ============ */
.g-todo { display: flex; flex-direction: column; gap: 10px; }
/* 一行说清偏差 + 右侧就地处置;确认带展开时整行贯通 */
.g-todo-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 16px; row-gap: 11px; padding: 13px 15px; background: var(--card); border: 1px solid var(--cline); border-left: 3px solid var(--tone, var(--danger-accent)); border-radius: 12px; box-shadow: var(--cshadow); }
.g-todo-card .g-acts { display: contents; }
.g-todo-card .g-ask { grid-column: 1 / -1; }
.g-todo-row { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.g-todo-i { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: var(--tone-ink, var(--danger)); background: var(--tone-soft, var(--danger-soft)); }
.g-todo-t { flex: 1; min-width: 0; line-height: 1.55; }
.g-todo-t b { display: block; font-size: 13px; font-weight: 700; color: var(--ink); }
.g-todo-t span { display: block; margin-top: 2px; font-size: 11.5px; color: var(--ink-3); }
.g-todo-card .g-acts-r { justify-content: flex-end; }
.g-clear { display: flex; align-items: center; gap: 9px; padding: 13px 15px; border-radius: 11px; background: var(--ok-soft); border: 1px solid #bfedb4; color: var(--ok); font-size: 12.5px; font-weight: 600; }
/* ============ 运行看板:状态泳道 ============ */
.g-board { display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: 12px; align-items: start; }
.g-lane { display: flex; flex-direction: column; gap: 9px; padding: 12px; border-radius: 13px; background: #e6eaf0; border: 1px solid #dbe1e9; }
.g-lane-h { display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 800; color: var(--ink-2); }
.g-lane-h i { width: 8px; height: 8px; border-radius: 999px; background: var(--tone, var(--brand)); }
.g-lane-h b { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--ink-4); }
.g-lane-e { padding: 6px 2px; font-size: 11.5px; color: var(--ink-4); }
.g-wf { display: flex; flex-direction: column; gap: 8px; padding: 11px 12px; background: var(--card); border: 1px solid var(--cline); border-radius: 11px; box-shadow: var(--cshadow); cursor: pointer; text-align: left; width: 100%; transition: box-shadow var(--t-fast), border-color var(--t-fast), transform var(--t-fast); }
.g-wf:hover { border-color: #c9d6e6; box-shadow: 0 4px 12px -4px rgba(19, 28, 38, .22); transform: translateY(-1px); }
.g-wf-top { display: flex; align-items: center; gap: 6px; font-size: 10px; font-family: var(--mono); color: var(--ink-4); }
.g-wf-top .r { margin-left: auto; }
.g-wf-t { font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.g-wf-m { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--ink-3); }
.g-wf-m > svg { flex: none; color: var(--ink-4); }
.g-wf-hold { padding-top: 7px; border-top: 1px dashed var(--line-soft); }
.g-wf-hold em { font-style: normal; margin-left: auto; font-size: 10px; color: var(--ink-4); }
.g-wf-track, .g-prog { height: 4px; border-radius: 999px; background: #eaeef3; overflow: hidden; display: flex; }
.g-wf-track i, .g-prog i { display: block; height: 100%; background: var(--tone, var(--brand)); }
.g-prog { height: 6px; }
.g-prog i { background: var(--brand); }
/* ============ 可下钻清单:清单只导航,动作在详情页 ============ */
.g-nlist { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--cline); border-radius: 14px; box-shadow: var(--cshadow); overflow: hidden; }
.g-nrow { display: flex; align-items: center; gap: 13px; width: 100%; padding: 13px 16px; border: 0; border-bottom: 1px solid var(--line-soft); background: transparent; font: inherit; text-align: left; cursor: pointer; transition: background var(--t-fast); }
.g-nrow:last-child { border-bottom: 0; }
.g-nrow:hover { background: #f7f9fc; }
.g-nrow:hover .g-nrow-x { color: var(--brand); transform: translateX(2px); }
.g-nrow-i { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: var(--tone-ink, var(--ink-3)); background: var(--tone-soft, var(--soft)); }
.g-nrow-t { flex: 1 1 auto; min-width: 0; line-height: 1.5; }
.g-nrow-t b { display: block; font-size: 13px; font-weight: 700; color: var(--ink); }
.g-nrow-t span { display: block; margin-top: 2px; font-family: var(--mono); font-size: 10.5px; color: var(--ink-4); overflow-wrap: anywhere; }
.g-nrow-m { flex: none; display: flex; align-items: center; gap: 18px; }
.g-nrow-c { display: flex; flex-direction: column; gap: 3px; min-width: 56px; }
.g-nrow-c em { font-style: normal; font-size: 10px; color: var(--ink-4); }
.g-nrow-c b { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.g-nrow-r { flex: none; min-width: 92px; display: flex; justify-content: flex-end; }
.g-nrow-x { flex: none; color: var(--ink-4); display: grid; place-items: center; transition: color var(--t-fast), transform var(--t-fast); }
/* 下一级入口(详情页里指向子维度页) */
.g-entries { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.g-entry { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--card); border: 1px solid var(--cline); border-radius: 13px; box-shadow: var(--cshadow); font: inherit; text-align: left; cursor: pointer; transition: box-shadow var(--t-fast), border-color var(--t-fast), transform var(--t-fast); }
.g-entry:hover { border-color: #c9d6e6; box-shadow: 0 5px 14px -5px rgba(19, 28, 38, .22); transform: translateY(-1px); }
.g-entry:hover .g-entry-x { color: var(--brand); transform: translateX(2px); }
.g-entry-i { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--tone-ink, var(--brand-deep)); background: var(--tone-soft, var(--brand-wash)); }
.g-entry-t { flex: 1; min-width: 0; line-height: 1.45; }
.g-entry-t b { display: block; font-size: 13px; font-weight: 700; color: var(--ink); }
.g-entry-t em { display: block; margin-top: 2px; font-style: normal; font-size: 11px; color: var(--ink-4); }
.g-entry-m { flex: none; }
.g-entry-x { flex: none; color: var(--ink-4); display: grid; place-items: center; transition: color var(--t-fast), transform var(--t-fast); }
/* 过滤芯片(日志归侧 / 事件流分区) */
.g-filter { display: flex; flex-wrap: wrap; gap: 7px; }
.g-fchip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border: 1px solid var(--cline); border-radius: 999px; background: #fff; color: var(--ink-3); font: inherit; font-size: 11.5px; font-weight: 600; cursor: pointer; transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.g-fchip:hover { border-color: #c9d6e6; color: var(--ink); }
.g-fchip.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.g-fchip b { font-family: var(--mono); font-size: 10.5px; opacity: .8; }
/* ============ 通用数据卡 ============ */
.g-card { background: var(--card); border: 1px solid var(--cline); border-radius: 14px; box-shadow: var(--cshadow); overflow: hidden; }
.g-card-h { display: flex; align-items: center; gap: 9px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); font-size: 12.5px; font-weight: 800; color: var(--ink-2); }
.g-card-h svg { color: var(--ink-4); }
.g-card-h .x { margin-left: auto; font-size: 10.5px; font-weight: 600; color: var(--ink-4); }
.g-card-b { padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; }
.g-code { display: block; padding: 11px 13px; border-radius: 10px; background: #f5f7fa; border: 1px solid var(--line-soft); font-family: var(--mono); font-size: 11.5px; line-height: 1.75; color: var(--ink-2); overflow-wrap: anywhere; }
/* ============ 矩阵表 ============ */
.g-matrix { width: 100%; border-collapse: collapse; }
.g-matrix th { text-align: left; font-size: 11px; font-weight: 700; color: var(--ink-4); background: #f7f9fc; padding: 9px 14px; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
.g-matrix td { padding: 11px 14px; font-size: 12.5px; color: var(--ink-2); border-bottom: 1px solid var(--line-soft); vertical-align: middle; line-height: 1.6; }
.g-matrix tr:last-child td { border-bottom: 0; }
.g-matrix tbody tr:hover td { background: #fbfcfe; }
.g-matrix td.k { font-weight: 700; color: var(--ink); }
.g-matrix td.mono { font-family: var(--mono); font-size: 11.5px; color: var(--ink); white-space: nowrap; }
.g-matrix td.num { font-family: var(--mono); font-size: 12.5px; font-weight: 700; text-align: right; }
.g-matrix .cell-ok { color: var(--ok); } .g-matrix .cell-warn { color: var(--warn); } .g-matrix .cell-mute { color: var(--ink-4); }
/* 负载条 */
.g-load { display: flex; align-items: center; gap: 8px; }
.g-load-t { flex: 1; min-width: 46px; max-width: 96px; height: 6px; border-radius: 999px; background: #eaeef3; overflow: hidden; }
.g-load-t i { display: block; height: 100%; border-radius: 999px; background: var(--tone, var(--brand)); }
.g-load b { font-family: var(--mono); font-size: 11.5px; font-weight: 700; color: var(--ink-2); }
/* ============ 货架:卡片墙 ============ */
.g-shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(264px, 1fr)); gap: 12px; }
.g-tile { display: flex; flex-direction: column; gap: 10px; padding: 14px 15px; background: var(--card); border: 1px solid var(--cline); border-radius: 13px; box-shadow: var(--cshadow); cursor: pointer; text-align: left; font: inherit; transition: box-shadow var(--t-fast), border-color var(--t-fast), transform var(--t-fast); }
.g-tile:hover { border-color: #c9d6e6; box-shadow: 0 5px 14px -5px rgba(19, 28, 38, .22); transform: translateY(-1px); }
.g-tile-h { display: flex; align-items: center; gap: 9px; }
.g-tile-i { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: var(--tone-ink, var(--brand-deep)); background: var(--tone-soft, var(--brand-wash)); }
.g-tile-t { flex: 1; min-width: 0; line-height: 1.35; }
.g-tile-t b { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.g-tile-t em { display: block; font-style: normal; font-size: 10.5px; font-family: var(--mono); color: var(--ink-4); }
.g-tile-m { display: flex; flex-wrap: wrap; gap: 6px; }
.g-tile-d { font-size: 11.5px; line-height: 1.6; color: var(--ink-3); }
.g-tile-f { display: flex; align-items: center; gap: 8px; padding-top: 9px; border-top: 1px dashed var(--line-soft); font-size: 11px; color: var(--ink-3); }
.g-tile-f .r { margin-left: auto; font-family: var(--mono); color: var(--ink-4); }
/* ============ 规则清单(触发器):整行可下钻 ============ */
.g-rules { display: flex; flex-direction: column; }
.g-rule { display: grid; grid-template-columns: 30px minmax(0, 1fr) 84px 108px 78px 18px; align-items: center; gap: 12px; width: 100%; padding: 13px 16px; border: 0; border-bottom: 1px solid var(--line-soft); background: transparent; font: inherit; text-align: left; cursor: pointer; transition: background var(--t-fast); }
.g-rule:last-child { border-bottom: 0; }
.g-rule:hover { background: #f7f9fc; }
.g-rule:hover .g-nrow-x { color: var(--brand); transform: translateX(2px); }
.g-rule-i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: var(--tone-ink); background: var(--tone-soft); }
.g-rule-t { min-width: 0; }
.g-rule-t b { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--ink); }
.g-rule-t code { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--ink-4); margin-top: 4px; overflow-wrap: anywhere; }
.g-rule-n { font-size: 11.5px; color: var(--ink-3); line-height: 1.5; }
.g-rule-n b { font-size: 13px; color: var(--ink); }
.g-rule-n em { display: block; font-style: normal; font-size: 10.5px; color: var(--ink-4); }
.g-bars { display: flex; align-items: flex-end; gap: 2px; height: 26px; }
.g-bars i { flex: 1; min-width: 3px; border-radius: 2px 2px 0 0; background: var(--tone, var(--brand)); opacity: .55; }
.g-bars i.hot { opacity: 1; }
/* ============ 分布条 ============ */
.g-dist { display: flex; flex-direction: column; gap: 9px; }
.g-dist-row { display: grid; grid-template-columns: minmax(84px, 132px) minmax(0, 1fr) 52px; align-items: center; gap: 11px; }
.g-dist-l { font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-dist-t { height: 8px; border-radius: 999px; background: #eaeef3; overflow: hidden; }
.g-dist-t i { display: block; height: 100%; border-radius: 999px; background: var(--tone, var(--brand)); }
.g-dist-v { font-family: var(--mono); font-size: 12px; font-weight: 700; text-align: right; color: var(--ink-2); }
/* ============ 标签 / 状态 / 说明 / 按钮 ============ */
.g-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 700; border-radius: 6px; padding: 2px 8px; color: var(--tone-ink, var(--ink-3)); background: var(--tone-soft, var(--soft)); border: 1px solid var(--tone-line, var(--line-soft)); white-space: nowrap; }
.g-st { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; color: var(--tone-ink, var(--ink-3)); white-space: nowrap; }
.g-st svg { color: var(--tone, var(--ink-4)); }
.g-mono { font-family: var(--mono); }
.g-note { display: flex; align-items: flex-start; gap: 9px; padding: 11px 14px; border-radius: 10px; font-size: 12px; line-height: 1.7; color: var(--ink-3); background: #f5f7fa; border: 1px solid var(--line-soft); }
.g-note svg { flex: none; margin-top: 2px; color: var(--ink-4); }
.g-note.warn { color: var(--warn); background: var(--warn-soft); border-color: #f0d5a8; }
.g-note.warn svg { color: var(--warn); }
.g-note.ok { color: var(--ok); background: var(--ok-soft); border-color: #bfedb4; }
.g-note.ok svg { color: var(--ok); }
.g-btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink-2); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast); }
.g-btn:hover { background: var(--soft); border-color: #cdd5df; }
.g-btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.g-btn.primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.g-btn.danger { color: var(--danger); border-color: #f2c4c1; }
.g-btn.danger:hover { background: var(--danger-soft); }
.g-btn.armed { box-shadow: 0 0 0 2px rgba(51, 112, 255, .18); border-color: var(--brand); }
.g-btn.danger.armed { box-shadow: 0 0 0 2px rgba(245, 74, 69, .18); border-color: var(--danger-accent); }
.g-btn.xs { height: 26px; padding: 0 10px; font-size: 11.5px; }
.g-btn:disabled { color: var(--ink-4); background: var(--soft); border-color: var(--line-soft); cursor: default; }
.g-btn:disabled:hover { background: var(--soft); border-color: var(--line-soft); }
.g-avatar { width: 21px; height: 21px; border-radius: 999px; display: inline-grid; place-items: center; color: #fff; font-size: 10px; font-weight: 800; background: linear-gradient(140deg, #2bc7d4, #0e9fd8); }
/* 标签值行 */
.g-rows { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--cline); border-radius: 12px; overflow: hidden; box-shadow: var(--cshadow); }
.g-rows > div { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 14px; padding: 11px 15px; border-bottom: 1px solid var(--line-soft); }
.g-rows > div:last-child { border-bottom: 0; }
.g-rows > div:nth-child(even) { background: #fbfcfe; }
.g-rows em { font-style: normal; font-size: 11.5px; color: var(--ink-4); }
.g-rows b { font-size: 12.5px; font-weight: 600; line-height: 1.65; color: var(--ink); overflow-wrap: anywhere; }
.g-rows b.mono { font-family: var(--mono); font-size: 11.5px; }
/* 事件流条目 */
.g-ev { display: flex; gap: 11px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.g-ev:last-child { border-bottom: 0; }
.g-ev-r { flex: none; width: 3px; border-radius: 3px; background: var(--tone, var(--brand)); }
.g-ev-b { flex: 1; min-width: 0; }
.g-ev-h { display: flex; align-items: center; gap: 7px; margin-bottom: 4px; }
.g-ev-h b { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.g-ev-h time { margin-left: auto; font-family: var(--mono); font-size: 10.5px; color: var(--ink-4); }
.g-ev-b p { margin: 0; font-size: 12px; line-height: 1.65; color: var(--ink-3); }
.g-ev-b span { display: block; margin-top: 4px; font-size: 10.5px; color: var(--ink-4); }
/* ============ 编排工作区:左 2/3 画布(整图不裁切)+ 右 1/3 属性栏 ============ */
.g-orch { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.g-canvas { border: 1px solid var(--cline); border-radius: 14px; overflow: hidden; background: #e9edf2; }
/* 图自身按 aspect-ratio 缩放,整张一定看得全——纸面不再限高、不再内部滚动 */
.g-canvas .process-desk { height: auto; max-height: none; overflow: visible; padding: 12px 10px 16px; background: transparent; }
.g-canvas .process-doc { max-width: none; padding: 14px 18px 18px; border-radius: 10px; box-shadow: var(--cshadow); }
/* 画布上的选中态(外挂类,_flow 复刻件未改):命中层描边 = 选中框 */
.g-canvas .flow-node-sel .djs-hit { fill: rgba(51, 112, 255, .09) !important; stroke: #3370ff !important; stroke-width: 2.5px !important; stroke-opacity: 1 !important; rx: 7px; ry: 7px; }
/* 右栏:属性卡就地填写,不下钻 */
.g-side { position: sticky; top: 2px; display: flex; flex-direction: column; gap: 10px; }
.g-side-h { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; color: var(--ink-2); }
.g-side-h svg { color: var(--ink-4); }
.g-side-h .x { margin-left: auto; font-size: 10.5px; font-weight: 600; color: var(--ink-4); }
.g-side .g-props { grid-template-columns: minmax(0, 1fr); }
.g-side .g-prop-b { padding: 12px 13px; gap: 11px; }
.g-picker { display: flex; flex-wrap: wrap; gap: 6px; }
.g-pick { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px; border: 1px solid var(--cline); border-radius: 9px; background: #fff; color: var(--ink-2); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast); }
.g-pick b { font-size: 10.5px; font-weight: 700; color: var(--tone-ink, var(--ink-4)); }
.g-pick:hover { border-color: var(--tone-line, #c9d6e6); background: var(--tone-soft, var(--soft)); }
.g-pick.on { border-color: var(--tone, var(--brand)); background: var(--tone-soft, var(--brand-wash)); color: var(--tone-ink, var(--brand-deep)); box-shadow: 0 0 0 2px color-mix(in srgb, var(--tone, #3370ff) 14%, transparent); }
.g-props { display: grid; grid-template-columns: repeat(auto-fit, minmax(292px, 1fr)); gap: 12px; align-items: start; }
.g-prop { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--cline); border-radius: 13px; box-shadow: var(--cshadow); overflow: hidden; }
.g-prop-h { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line-soft); background: #fbfcfe; font-size: 12px; font-weight: 800; color: var(--ink-2); }
.g-prop-h svg { color: var(--ink-4); }
.g-prop-h .x { margin-left: auto; font-size: 10.5px; font-weight: 600; color: var(--ink-4); }
.g-prop-b { padding: 13px 14px; display: flex; flex-direction: column; gap: 12px; }
.g-prop-ref { display: flex; flex-wrap: wrap; gap: 6px; }
.g-field { display: flex; flex-direction: column; gap: 6px; }
.g-field > em { display: flex; align-items: baseline; gap: 7px; font-style: normal; font-size: 11px; font-weight: 600; color: var(--ink-3); }
.g-field > em i { font-style: normal; font-weight: 400; font-size: 10.5px; color: var(--ink-4); }
.g-input, .g-select, .g-ta { width: 100%; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-size: 12.5px; line-height: 1.6; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.g-input:focus, .g-select:focus, .g-ta:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(51, 112, 255, .12); }
.g-input.mono { font-family: var(--mono); font-size: 11.5px; }
.g-input[readonly] { background: var(--soft); color: var(--ink-3); }
.g-ta { resize: vertical; min-height: 62px; }
.g-select { appearance: none; padding-right: 26px; background-image: linear-gradient(45deg, transparent 50%, #8f959e 50%), linear-gradient(135deg, #8f959e 50%, transparent 50%); background-position: right 13px center, right 8px center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.g-seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 9px; background: #eef1f5; }
.g-seg-b { flex: 1; height: 26px; padding: 0 10px; border: 0; border-radius: 7px; background: transparent; color: var(--ink-3); font: inherit; font-size: 11.5px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background var(--t-fast), color var(--t-fast); }
.g-seg-b:hover { color: var(--ink); }
.g-seg-b.on { background: #fff; color: var(--brand-deep); font-weight: 700; box-shadow: var(--cshadow); }
.g-listedit { display: flex; flex-direction: column; gap: 7px; }
.g-le-row { display: flex; align-items: center; gap: 7px; }
.g-le-x { flex: none; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink-4); display: grid; place-items: center; cursor: pointer; transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast); }
.g-le-x:hover { color: var(--danger); border-color: #f2c4c1; background: var(--danger-soft); }
.g-le-add { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border: 1px dashed var(--line); border-radius: 8px; background: transparent; color: var(--ink-3); font: inherit; font-size: 11.5px; font-weight: 600; cursor: pointer; transition: color var(--t-fast), border-color var(--t-fast); }
.g-le-add:hover { color: var(--brand); border-color: var(--brand); }
.g-le-e { font-size: 11.5px; color: var(--ink-4); }
/* 色调字典:一个 .t-* 带一整套语义色,组件只读 var(--tone*) */
.gov-root .t-brand { --tone: #3370ff; --tone-ink: #245bdb; --tone-soft: #f0f4ff; --tone-line: #c5d8ff; }
.gov-root .t-ok { --tone: #34c724; --tone-ink: #278717; --tone-soft: #e8f8e4; --tone-line: #bfedb4; }
.gov-root .t-warn { --tone: #ff8800; --tone-ink: #8a5f1c; --tone-soft: #fff4e5; --tone-line: #ecd9ab; }
.gov-root .t-danger { --tone: #f54a45; --tone-ink: #d83931; --tone-soft: #feeae9; --tone-line: #f6c6c3; }
.gov-root .t-mute { --tone: #8f959e; --tone-ink: #46586a; --tone-soft: #eef2f6; --tone-line: #d8dee6; }
.gov-root .t-auto { --tone: #4954e6; --tone-ink: #3a44c9; --tone-soft: #f0f1fd; --tone-line: #ccd0f7; }
.gov-root .t-decision { --tone: #7f3bf5; --tone-ink: #5b21cf; --tone-soft: #f5f0fe; --tone-line: #ddccfb; }
.gov-root .t-collab { --tone: #0aa294; --tone-ink: #0a6a64; --tone-soft: #e4f8f5; --tone-line: #b6e7e0; }
.gov-root .t-wait { --tone: #6a7590; --tone-ink: #46586a; --tone-soft: #eef0f5; --tone-line: #d5dae4; }
@media (max-width: 1440px) {
.g-orch { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
}
@media (max-width: 1320px) {
.g-nrow-m { gap: 12px; }
.g-nrow-c { min-width: 48px; }
}
@media (max-width: 1150px) {
/* 窄到放不下两栏才叠起来(body 最小宽 1120px,日常不会触发) */
.g-orch { grid-template-columns: minmax(0, 1fr); }
.g-side { position: static; }
.g-side .g-props { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}
@media (max-width: 1180px) {
.g-shell { grid-template-columns: 64px minmax(0, 1fr); }
.g-search { display: none; }
.g-nrow-m { display: none; }
}
@media (prefers-reduced-motion: reduce) {
.gov-root *, .gov-root *::before, .gov-root *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
/* ══ 数据区 · CRM/ERP 式库表管理(2026-07-26)══ */
/* 工具栏:域筛选 chips + 检索 + 计数 */
.g-dbbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.g-dbchips { display: inline-flex; gap: 4px; padding: 3px; background: rgba(255,255,255,.6); border: 1px solid var(--line-soft); border-radius: 10px; }
.g-dbchip { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 11px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-3); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; transition: background var(--t-fast), color var(--t-fast); }
.g-dbchip:hover:not(.on) { color: var(--ink); background: rgba(255,255,255,.8); }
.g-dbchip.on { background: var(--brand); color: #fff; font-weight: 700; }
.g-dbchip em { font-style: normal; font-size: 10px; font-family: var(--mono); opacity: .75; }
.g-dbsearch { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; background: #fff; border: 1px solid var(--line-soft); border-radius: 9px; color: var(--ink-4); }
.g-dbsearch input { border: 0; outline: none; background: none; font: inherit; font-size: 12.5px; color: var(--ink); width: 180px; }
.g-dbcount { margin-left: auto; font-size: 11px; color: var(--ink-3); }
/* 管理表:白卡包表,行可点 */
.g-dbwrap { padding: 0; overflow: hidden; }
.g-dbtable { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.g-dbtable thead th { text-align: left; padding: 9px 14px; background: #f5f7fa; color: var(--ink-3); font-size: 11px; font-weight: 700; letter-spacing: .03em; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
.g-dbtable tbody td { padding: 10px 14px; border-bottom: 1px solid var(--line-soft); color: var(--ink); vertical-align: middle; }
.g-dbtable tbody tr:last-child td { border-bottom: 0; }
.g-dbtable tbody tr { transition: background var(--t-fast); }
.g-dbtable tbody tr:hover { background: var(--brand-wash, #f0f4ff); }
.g-dbtable tbody tr[onclick], .g-dbtable tbody tr { cursor: pointer; }
.g-dbtable td.chev { width: 30px; color: var(--ink-4); }
.g-dbtable tr.empty td { text-align: center; color: var(--ink-4); padding: 26px; cursor: default; }
.g-db-ico { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; margin-right: 9px; vertical-align: middle; }
.g-db-ico.t-brand { background: var(--brand-soft, #e1eaff); color: var(--brand); }
.g-db-ico.t-auto { background: #f0f1fd; color: #4954e6; }
.g-db-name { display: inline-flex; flex-direction: column; vertical-align: middle; }
.g-db-name b { font-weight: 700; }
.g-db-name em { font-style: normal; font-size: 10.5px; color: var(--ink-4); }
.g-db-dim { color: var(--ink-4); }
/* Schema 表 / 预览表 */
.g-schema td.fname { font-weight: 700; }
.g-schema td.ftype { color: var(--ink-3); font-size: 11.5px; }
.g-schema td.fsample { color: var(--ink-2); }
.g-schema tbody tr, .g-preview tbody tr { cursor: default; }
.g-preview td.masked { color: var(--ink-4); letter-spacing: .1em; }
.g-preview thead th { font-family: var(--mono); text-transform: none; }
.g-dbfoot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 14px; background: #fafbfd; border-top: 1px solid var(--line-soft); font-size: 11px; color: var(--ink-3); }
.g-dbfoot em { font-style: normal; color: var(--ink-4); }
/* 记录管理器:分页控件 */
.g-dbpage { display: inline-flex; align-items: center; gap: 4px; }
.g-dbpage button { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--line-soft); border-radius: 8px; background: #fff; color: var(--ink-3); cursor: pointer; transition: all var(--t-fast); }
.g-dbpage button:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.g-dbpage button:disabled { opacity: .35; cursor: default; }
.g-dbpage b { min-width: 36px; text-align: center; font-size: 11px; color: var(--ink-2); }
/* ═══════════ 三面补充(非原型)—— 蓝图因果链 / 终态堆叠条 / 数据域紧凑轨钮 ═══════════ */
/* 蓝图因果链:四库节点卡以真箭头相连 —— 箭头编码真实依赖(流程包→活动→工具→数据),节点即入口 */
.g-chain { display: flex; align-items: stretch; gap: 0; margin-bottom: 14px; }
.g-chain-node { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; background: var(--card); border: 1px solid var(--cline); border-radius: 13px; box-shadow: var(--cshadow); text-align: left; font: inherit; color: var(--ink); cursor: pointer; transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast); }
.g-chain-node:hover { border-color: var(--brand); transform: translateY(-1px); box-shadow: 0 4px 14px -6px rgba(51, 112, 255, .35); }
.g-chain-node:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.g-chain-k { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600; color: var(--ink-3); }
.g-chain-k .ic { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; flex: none; background: var(--fill-2, #eef1f5); color: var(--ink-3); }
.g-chain-node.t-brand .ic { background: var(--brand-soft); color: var(--brand-deep); }
.g-chain-node.t-auto .ic { background: #e6f7f4; color: #0a6a64; }
.g-chain-node.t-collab .ic { background: #f0e9ff; color: #5b21cf; }
.g-chain-node.t-ok .ic { background: var(--ok-soft); color: var(--ok); }
.g-chain-v { font-size: 24px; font-weight: 800; font-family: var(--mono); letter-spacing: -.03em; line-height: 1; }
.g-chain-node.t-brand .g-chain-v { color: var(--brand-deep); }
.g-chain-node.t-auto .g-chain-v { color: #0a6a64; }
.g-chain-node.t-collab .g-chain-v { color: #5b21cf; }
.g-chain-node.t-ok .g-chain-v { color: var(--ok); }
.g-chain-h { font-size: 11px; line-height: 1.5; color: var(--ink-4); }
.g-chain-arr { flex: none; width: 26px; display: grid; place-items: center; color: var(--ink-4); }
@media (max-width: 1100px) {
.g-chain { flex-direction: column; }
.g-chain-arr { transform: rotate(90deg); width: auto; padding: 2px 0; }
}
/* 终态堆叠条:五终态五色一条,比例即信息 —— 装在 .g-kpi 卡里 */
.g-mixbar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: var(--fill-2, #eef1f5); }
.g-mixbar i { display: block; min-width: 2px; }
.g-mixbar-legend { display: flex; flex-wrap: wrap; gap: 3px 10px; font-size: 10px; color: var(--ink-3); }
.g-mixbar-legend b { font-family: var(--mono); font-weight: 700; color: var(--ink-2); }
.g-mixbar-legend i { display: inline-block; width: 7px; height: 7px; border-radius: 2px; margin-right: 4px; }