/* macOS 毛玻璃 · 全系统原型共享样式（参考《macOS 毛玻璃design.md》v0.4）
   三层深灰 #1c1c1e/#2c2c2e/#3a3a3c · 系统蓝 #0a84ff · 绿/橙/红状态色
   Georgia 衬线标题 + SF Pro 正文（15px 桌面密度）· vibrancy 侧栏 blur(40px)
   分隔线一律 1px 白 8–12% · 动效 200ms 只改颜色（禁位移/缩放） */
:root {
  --color-deepest: #1c1c1e;
  --color-mid: #2c2c2e;
  --color-light-grey: #3a3a3c;
  --color-system-blue: #0a84ff;
  --color-system-green: #30d158;
  --color-system-orange: #ff9f0a;
  --color-system-red: #ff453a;
  --text-primary: rgba(255,255,255,.92);
  --text-secondary: rgba(255,255,255,.6);
  --border-soft: rgba(255,255,255,.08);
  --border-mid: rgba(255,255,255,.12);
  --font-serif: Georgia, 'New York', 'Times New Roman', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, 'Microsoft YaHei', sans-serif;
  --font-mono: 'SF Mono', ui-monospace, Menlo, Consolas, monospace;
  --text-display: 40px; --leading-display: 1.15; --tracking-display: -.01em;
  --text-heading: 32px; --leading-heading: 1.25;
  --text-subheading: 17px; --leading-subheading: 1.3;
  --text-body: 15px; --leading-body: 1.5;
  --text-body-sm: 13px; --leading-body-sm: 1.5;
  --text-label: 11px; --leading-label: 1.4; --tracking-label: .02em;
  --radius-cards: 10px; --radius-buttons: 6px; --radius-inputs: 6px; --radius-panels: 14px; --radius-pills: 999px;
  --page-max-width: 1280px; --section-gap: 48px; --card-padding: 16px; --element-gap: 8px;
  --shadow-panel: 0 1px 0 rgba(255,255,255,.08) inset, 0 20px 48px rgba(0,0,0,.5);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--color-deepest); }
body { font-family: var(--font-sans); color: var(--text-primary); background: var(--color-deepest); font-size: var(--text-body); line-height: var(--leading-body); -webkit-font-smoothing: antialiased; }
.num, .mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
a { color: var(--color-system-blue); text-decoration: none; transition: color .2s ease-out; }
a:hover { color: #409cff; }

/* 布局：vibrancy 侧栏 240px + 内容区——全屏自适应（需求1：移除上限，断点三级） */
.layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; }
.sidebar { background: rgba(28,28,30,.8); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px); border-right: 1px solid rgba(255,255,255,.1); padding: 12px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.sidebar .brand { font-family: var(--font-serif); font-size: 17px; padding: 8px 12px 16px; color: var(--text-primary); }
.sidebar .brand small { display: block; font-family: var(--font-sans); font-size: 11px; color: var(--text-secondary); margin-top: 4px; letter-spacing: .02em; }
.sidebar nav a { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: 6px; font-size: 13px; color: var(--text-primary); text-decoration: none; margin-bottom: 2px; transition: background .2s ease-out; }
.sidebar nav a:hover { background: rgba(255,255,255,.08); }
.sidebar nav a.on { background: rgba(10,132,255,.18); color: #409cff; }
.sidebar .foot { margin-top: 24px; padding: 12px; font-size: 11px; color: var(--text-secondary); border-top: 1px solid var(--border-soft); line-height: 1.5; }
.main { padding: 24px; display: flex; flex-direction: column; gap: 32px; min-width: 0; }
/* 全屏自适应栅格：宽屏 auto-fit 撑满 */
.main .grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.main .g2 { grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); }
.main .g3 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.main .g4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
@media (max-width: 1200px) { .layout { grid-template-columns: 200px minmax(0, 1fr); } }
@media (max-width: 900px) { .layout { grid-template-columns: 1fr; } .sidebar { position: static; height: auto; } .main .grid, .main .g2, .main .g3, .main .g4 { grid-template-columns: 1fr; } }

/* 大屏页（dashboard-map：独立满屏版式，无侧栏） */
body.big-screen { overflow-x: hidden; }
.bigscreen { position: fixed; inset: 0; display: flex; flex-direction: column; background: radial-gradient(ellipse at 50% 30%, #0d2137 0%, #081426 55%, #05101f 100%); }
.bs-title { height: 72px; display: flex; align-items: center; padding: 0 32px; background: linear-gradient(180deg, rgba(10,132,255,.18), rgba(10,132,255,.02)); border-bottom: 1px solid rgba(10,132,255,.25); flex: none; }
.bs-title h1 { font-family: var(--font-serif); font-size: 32px; font-weight: 700; color: #eaf4ff; letter-spacing: .06em; text-shadow: 0 0 24px rgba(10,132,255,.55); }
.bs-title .seg-tab { margin-left: 48px; display: flex; gap: 8px; }
.bs-title .seg-tab span { padding: 6px 22px; font: 500 14px var(--font-sans); color: rgba(255,255,255,.65); clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%); background: rgba(10,132,255,.12); cursor: pointer; transition: background .2s ease-out; }
.bs-title .seg-tab span.on { background: rgba(10,132,255,.45); color: #fff; }
.bs-title .clock { margin-left: auto; text-align: right; font-family: var(--font-mono); color: #9fc6ff; font-size: 15px; }
.bs-title .clock small { display: block; font-size: 11px; color: rgba(255,255,255,.45); }
.bs-body { flex: 1; display: grid; grid-template-columns: 420px minmax(0, 1fr) 380px; gap: 16px; padding: 16px; overflow: hidden; }
.bs-col { display: flex; flex-direction: column; gap: 16px; overflow-y: auto; min-height: 0; }
.bs-panel { background: rgba(10,132,255,.07); border: 1px solid rgba(10,132,255,.22); border-radius: 10px; padding: 14px 16px; }
.bs-panel .head { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid rgba(10,132,255,.2); }
.bs-panel .head::before { content: "◀"; color: var(--color-system-blue); font-size: 12px; }
.bs-panel .head b { font-size: 15px; font-weight: 600; color: #dcecff; }
.bs-panel .head small { font-size: 11px; color: rgba(255,255,255,.4); letter-spacing: .06em; }
.bs-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.bs-kpi { display: flex; gap: 12px; align-items: center; background: rgba(10,132,255,.1); border: 1px solid rgba(10,132,255,.25); border-radius: 10px; padding: 12px 16px; }
.bs-kpi .ic { width: 40px; height: 40px; border: 1px solid rgba(10,132,255,.4); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.bs-kpi .v { font-family: var(--font-mono); font-size: 24px; font-weight: 500; color: #eaf4ff; line-height: 1.1; }
.bs-kpi .t { font-size: 12px; color: rgba(255,255,255,.6); }
.bs-map { flex: 1; min-height: 0; }
.rank-row { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 8px; border-radius: 6px; }
.rank-row .no { width: 40px; font: 500 12px var(--font-mono); color: var(--color-system-orange); }
.rank-row .name { flex: 1; font-size: 13px; }
.rank-row .track { flex: 1.2; height: 10px; background: rgba(10,132,255,.12); border-radius: 999px; overflow: hidden; }
.rank-row .fill { height: 100%; background: linear-gradient(90deg, rgba(10,132,255,.4), #0a84ff); border-radius: 999px; }
.rank-row .v { font-family: var(--font-mono); font-size: 14px; color: #9fc6ff; width: 70px; text-align: right; }
.ring { display: flex; align-items: center; gap: 14px; }
.ring .arc { width: 84px; height: 84px; }
@media (max-width: 1400px) { .bs-body { grid-template-columns: 360px minmax(0, 1fr) 340px; } }

/* 窗口工具栏（Vibrancy Toolbar：52px + 三圆点 + 衬线标题居中） */
.toolbar { height: 52px; background: var(--color-light-grey); border-bottom: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; padding: 0 16px; gap: 12px; }
.toolbar .dots { display: flex; gap: 8px; }
.toolbar .dots i { width: 12px; height: 12px; border-radius: 999px; display: block; }
.toolbar .dots i:nth-child(1) { background: var(--color-system-red); }
.toolbar .dots i:nth-child(2) { background: var(--color-system-orange); }
.toolbar .dots i:nth-child(3) { background: var(--color-system-green); }
.toolbar .title { font-family: var(--font-serif); font-size: 13px; color: var(--text-secondary); flex: 1; text-align: center; }

h1 { font-family: var(--font-serif); font-size: var(--text-display); font-weight: 700; line-height: var(--leading-display); letter-spacing: var(--tracking-display); }
h2 { font-family: var(--font-serif); font-size: var(--text-heading); font-weight: 400; line-height: var(--leading-heading); }
h3 { font-size: var(--text-subheading); font-weight: 600; font-family: var(--font-sans); }
.label { font-size: var(--text-label); font-weight: 500; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--text-secondary); }
.muted { color: var(--text-secondary); font-weight: 400; }

/* 卡片与面板 */
.panel { background: var(--color-mid); border-radius: var(--radius-panels); padding: var(--card-padding); box-shadow: 0 1px 0 rgba(255,255,255,.08) inset; }
.panel.light { background: var(--color-light-grey); }
.grid { display: grid; gap: var(--element-gap); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

/* 按钮（System Button：hover 亮度 +8%、active −10%，只改颜色） */
.btn { display: inline-block; background: var(--color-system-blue); color: #fff; border: 0; border-radius: var(--radius-buttons); padding: 6px 14px; font: 500 13px var(--font-sans); cursor: pointer; transition: filter .2s ease-out; }
.btn:hover { filter: brightness(1.08); }
.btn:active { filter: brightness(.9); }
.btn:disabled { background: rgba(255,255,255,.12); color: rgba(255,255,255,.4); cursor: not-allowed; }
.btn.ghost { background: rgba(255,255,255,.12); color: var(--text-primary); }
.btn.ghost:hover { background: rgba(255,255,255,.18); }

/* 输入 */
input[type=text], input[type=tel], select, textarea { background: var(--color-light-grey); border: 1px solid var(--border-mid); border-radius: var(--radius-inputs); padding: 6px 10px; font: 400 13px var(--font-sans); color: var(--text-primary); width: 100%; }
input:focus { outline: none; border-color: var(--color-system-blue); box-shadow: 0 0 0 3px rgba(10,132,255,.3); }

/* KPI */
.kpi { background: var(--color-mid); border-radius: var(--radius-cards); padding: 16px; box-shadow: 0 1px 0 rgba(255,255,255,.08) inset; }
.kpi .label { margin-bottom: 4px; }
.kpi .value { font-family: var(--font-mono); font-size: 28px; font-weight: 500; font-variant-numeric: tabular-nums; }
.kpi .delta { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }

/* 状态色（系统语义：绿=成功/在线，橙=警告/待处理，红=删除/不可逆，蓝=选中/链接） */
.state { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.dot { width: 8px; height: 8px; border-radius: 999px; display: inline-block; flex: none; }
.dot.green { background: var(--color-system-green); }
.dot.orange { background: var(--color-system-orange); }
.dot.red { background: var(--color-system-red); }
.dot.blue { background: var(--color-system-blue); }
.state.green { color: var(--color-system-green); } .state.orange { color: var(--color-system-orange); }
.state.red { color: var(--color-system-red); } .state.blue { color: #409cff; }

/* 列表行（List Row：44px、1px 白 8% 分隔、hover 白 6%、选中蓝 18%） */
.list-row { display: flex; justify-content: space-between; align-items: center; height: 44px; padding: 0 12px; border-radius: 6px; border-bottom: 1px solid var(--border-soft); transition: background .2s ease-out; }
.list-row:hover { background: rgba(255,255,255,.06); }
.list-row:last-child { border-bottom: none; }

/* 表格 */
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: var(--text-label); font-weight: 500; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--text-secondary); padding: 8px 12px; border-bottom: 1px solid var(--border-mid); }
td { padding: 8px 12px; font-size: 13px; border-bottom: 1px solid var(--border-soft); font-variant-numeric: tabular-nums; }
tr:last-child td { border-bottom: none; }
tbody tr { transition: background .2s ease-out; }
tbody tr:hover { background: rgba(255,255,255,.06); }

/* 表单（同意书） */
.check { display: flex; gap: 12px; align-items: flex-start; background: var(--color-mid); border-radius: var(--radius-cards); padding: 12px 16px; cursor: pointer; transition: background .2s ease-out; }
.check:hover { background: var(--color-light-grey); }
.check input { width: 18px; height: 18px; accent-color: var(--color-system-blue); flex: none; margin-top: 2px; }
.check b { font-weight: 600; }
.terms { display: flex; gap: 12px; align-items: center; background: rgba(255,255,255,.06); border-radius: 6px; padding: 6px 10px; font-size: 12px; flex-wrap: wrap; }
.terms label { display: flex; gap: 6px; align-items: center; cursor: pointer; }

/* 手机壳（薄H5 三页：暗色面板） */
.phone { max-width: 440px; margin: 0 auto; background: var(--color-mid); border-radius: var(--radius-panels); padding: 24px; box-shadow: var(--shadow-panel); border: 1px solid var(--border-soft); }
.phone .statusbar { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-secondary); margin-bottom: 16px; }
.h5-section { background: var(--color-deepest); border-radius: var(--radius-cards); padding: 16px; margin-top: 12px; }
.h5-row { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--border-soft); }
.h5-row:last-child { border-bottom: none; }
.bars { display: flex; gap: 8px; align-items: flex-end; height: 96px; margin: 16px 0 4px; }
.bars i { flex: 1; display: block; background: rgba(10,132,255,.55); border-radius: 4px 4px 0 0; }
.bars i.green { background: var(--color-system-green); }
.bars i.orange { background: var(--color-system-orange); }

footer { border-top: 1px solid var(--border-soft); margin-top: var(--section-gap); padding: 16px 24px 32px; }
footer .wrap { display: flex; gap: 16px; flex-wrap: wrap; }
.wrap { max-width: var(--page-max-width); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---- 新增板块：列表下钻 / 大屏 / 承保视角 / 产品（M2 全貌扩展） ---- */
.crumb { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.crumb a { font-size: 13px; color: var(--color-slate); }
.crumb b { font-size: 13px; }
.detail-grid { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } }
.map-box { width: 100%; height: 560px; background: rgba(255,255,255,.04); border-radius: var(--radius-cards); }
.seg { display: inline-flex; background: var(--color-light-grey); border-radius: 8px; padding: 2px; gap: 2px; }
.seg button { border: 0; background: transparent; color: var(--text-secondary); font: 500 13px var(--font-sans); padding: 6px 14px; border-radius: 6px; cursor: pointer; transition: background .2s ease-out, color .2s ease-out; }
.seg button.on { background: var(--color-system-blue); color: #fff; }
.bar-line { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.bar-line .name { width: 130px; font-size: 13px; color: var(--text-secondary); flex: none; }
.bar-line .track { flex: 1; height: 14px; background: rgba(255,255,255,.06); border-radius: 999px; overflow: hidden; }
.bar-line .fill { height: 100%; border-radius: 999px; background: var(--color-system-blue); }
.bar-line .fill.green { background: var(--color-system-green); }
.bar-line .fill.orange { background: var(--color-system-orange); }
.bar-line .fill.red { background: var(--color-system-red); }
.bar-line .v { width: 60px; text-align: right; font-family: var(--font-mono); font-size: 13px; }
.kv { display: grid; grid-template-columns: 110px 1fr; gap: 4px 16px; font-size: 13px; }
.kv .k { color: var(--text-secondary); }
.timeline { position: relative; padding-left: 20px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: var(--border-mid); }
.tl-item { position: relative; padding: 8px 0 8px 12px; }
.tl-item::before { content: ""; position: absolute; left: -3px; top: 14px; width: 9px; height: 9px; border-radius: 999px; background: var(--color-system-blue); }
.tl-item.red::before { background: var(--color-system-red); }
.tl-item .ts { font-family: var(--font-mono); font-size: 12px; color: var(--text-secondary); }
.prod-tier { border-left: 4px solid var(--color-system-blue); padding-left: 20px; }
.prod-tier.gold { border-left-color: var(--color-system-orange); }
.prod-tier.green { border-left-color: var(--color-system-green); }

/* ---- v0.7 明细深化新增 ---- */
/* 徽章补色（列表页既有 ok/info/outline 调用） */
.state.ok { color: var(--color-system-green); } .dot.ok { background: var(--color-system-green); }
.state.info { color: #409cff; } .dot.info { background: var(--color-system-blue); }
.state.outline { color: var(--text-secondary); } .dot.outline { background: rgba(255,255,255,.35); }
/* 周趋势柱标签 */
.bar-labels { display: flex; gap: 8px; margin-top: 4px; }
.bar-labels span { flex: 1; text-align: center; font-size: 11px; color: var(--text-primary); line-height: 1.3; }
/* 批次行展开（运营台） */
tr.expanded td { background: rgba(10,132,255,.06); }
tr.expand-detail td { background: rgba(10,132,255,.04); padding: 12px 16px; }
/* 事件滚动列表（大屏） */
.ticker { display: flex; flex-direction: column; gap: 2px; }
.ticker .tk { display: flex; align-items: center; gap: 8px; height: 30px; font-size: 12px; color: rgba(255,255,255,.75); animation: tkIn .4s ease-out; }
.ticker .tk .ts { font-family: var(--font-mono); color: #9fc6ff; flex: none; }
@keyframes tkIn { from { opacity: 0; } to { opacity: 1; } }
/* 产品详情弹层（products） */
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.55); display: none; align-items: center; justify-content: center; z-index: 50; }
.modal-backdrop.show { display: flex; }
.modal { background: var(--color-mid); border: 1px solid var(--border-mid); border-radius: var(--radius-panels); padding: 24px; width: min(680px, 92vw); max-height: 84vh; overflow-y: auto; box-shadow: var(--shadow-panel); }
.modal h3 { margin-bottom: 4px; }
.modal .close { float: right; background: rgba(255,255,255,.1); border: 0; color: var(--text-primary); width: 28px; height: 28px; border-radius: 999px; cursor: pointer; font-size: 14px; }
.modal .close:hover { background: rgba(255,255,255,.18); }

/* ---- 字段注册表（模型页⑤区「数据底座与公式逻辑」+ 数据字典页共用）---- */
.fr-sw { display: flex; gap: 10px; align-items: stretch; margin-top: 10px; flex-wrap: wrap; }
.fr-sw + .fr-sw { margin-top: 10px; }
.fr-arrow { align-self: center; color: var(--text-secondary); font-size: 16px; flex: none; }
.fr-step { background: var(--color-deepest); border: 1px solid var(--border-mid); border-radius: 10px; padding: 10px 12px; flex: 1; min-width: 210px; }
.fr-step b { font-size: 13px; }
.fr-cap { color: var(--text-secondary); font-size: 11px; margin-top: 2px; }
.fr-chips { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px; }
.fr-chip { background: rgba(10,132,255,.10); border: 1px solid rgba(10,132,255,.3); color: #9fdcff; border-radius: 6px; padding: 1px 7px; font-size: 11px; font-family: var(--font-mono); }
.fr-chip.warn { background: rgba(255,159,10,.10); border-color: rgba(255,159,10,.4); color: var(--color-system-orange); }
.fr-chip.pl { background: rgba(255,255,255,.06); border-color: var(--border-mid); color: var(--text-secondary); }
.fr-chip.lock { background: rgba(255,92,92,.12); border-color: rgba(255,92,92,.4); color: #ff9b9b; }
.fr-formula { background: var(--color-deepest); border: 1px solid rgba(53,224,255,.25); border-radius: 10px; padding: 12px 16px; font-family: var(--font-mono); font-size: 14px; color: #cfeaff; margin-top: 10px; }
.fr-formula small { display: block; color: var(--text-secondary); font-family: var(--font-sans); font-size: 11px; margin-top: 6px; }
.fr-tag { display: inline-block; border-radius: 6px; padding: 1px 8px; font-size: 11px; margin: 1px 2px; white-space: nowrap; }
.fr-tag.delivered, .fr-tag.core, .fr-tag.supplement { background: rgba(10,132,255,.14); color: #7ab8ff; border: 1px solid rgba(10,132,255,.4); }
.fr-tag.s5 { background: rgba(255,159,10,.14); color: var(--color-system-orange); border: 1px dashed rgba(255,159,10,.5); }
.fr-tag.payload, .fr-tag.claim, .fr-tag.off { background: rgba(255,255,255,.07); color: var(--text-secondary); border: 1px solid var(--border-mid); }
.fr-modhead td { background: rgba(10,132,255,.08); color: #9fdcff; font-weight: 600; }
tr.fr-hit { outline: 2px solid rgba(48,209,88,.6); outline-offset: -2px; }
.fr-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; align-items: center; }
.fr-filter select { background: var(--color-deep); color: var(--text-primary); border: 1px solid var(--border-mid); border-radius: 8px; padding: 6px 10px; font-size: 12px; }
.fr-tabs { display: flex; gap: 8px; margin-top: 14px; }
.fr-tab { background: rgba(255,255,255,.06); border: 1px solid var(--border-mid); color: var(--text-secondary); border-radius: 999px; padding: 6px 16px; font-size: 13px; cursor: pointer; }
.fr-tab.on { background: rgba(10,132,255,.18); border-color: rgba(10,132,255,.5); color: #9fdcff; }
.fr-fold { margin-top: 10px; }
.fr-fold summary { cursor: pointer; color: #9fdcff; font-size: 13px; list-style: none; }
.fr-fold summary::-webkit-details-marker { display: none; }
.fr-fold summary::before { content: "▸ "; }
.fr-fold[open] summary::before { content: "▾ "; }

/* ---- 参数区三态（模型页②区，B'-④ 2026-11-17：生效值/草稿/版本历史抽屉）---- */
.cfg-banner { background: rgba(255,159,10,.08); border: 1px solid rgba(255,159,10,.35); border-radius: 10px; padding: 10px 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.cfg-err { color: var(--color-system-red); font-size: 11px; min-height: 14px; display: inline-block; }
.cfg-err-inline { color: var(--color-system-red); font-size: 11px; margin-left: 8px; }
input.cfg-inv { border-color: var(--color-system-red) !important; box-shadow: 0 0 0 3px rgba(255,69,58,.25); }
.cfg-ver { background: var(--color-deepest); border: 1px solid var(--border-mid); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; }
/* 版本历史抽屉（右侧滑出；禁位移动效纪律例外=滑入动画仅 transform/right 过渡） */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: none; z-index: 60; }
.drawer-backdrop.show { display: block; }
.drawer { position: fixed; top: 0; right: -600px; width: min(600px, 94vw); height: 100vh; background: var(--color-mid); border-left: 1px solid var(--border-mid); box-shadow: var(--shadow-panel); z-index: 61; transition: right .22s ease-out; display: flex; flex-direction: column; }
.drawer.open { right: 0; }
.drawer-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--border-mid); flex: none; }
.drawer-head small { color: var(--text-secondary); font-size: 11px; letter-spacing: .02em; flex: 1; }
.drawer-x { background: rgba(255,255,255,.1); border: 0; color: var(--text-primary); width: 28px; height: 28px; border-radius: 999px; cursor: pointer; font-size: 14px; flex: none; }
.drawer-x:hover { background: rgba(255,255,255,.18); }
.drawer-body { flex: 1; overflow-y: auto; padding: 14px 16px; }
.drawer-foot { flex: none; border-top: 1px solid var(--border-soft); padding: 10px 16px; font-size: 11px; color: var(--text-secondary); }


/* ═══════════ side-menu 统一侧栏（v0.12.14 方案A：五分组 IA + RBAC 演示态） ═══════════ */
.sidebar .sm-group { margin-top: 12px; }
.sidebar .sm-group:first-child { margin-top: 0; }
.sidebar .sm-group-head { font-size: 10px; letter-spacing: .1em; color: var(--text-secondary); padding: 10px 12px 4px; text-transform: uppercase; }
.sidebar nav a.sm-item, .sidebar nav a.sm-parent, .sidebar nav a.sm-sub { display: flex; align-items: center; gap: 8px; border-radius: 6px; font-size: 13px; color: var(--text-primary); text-decoration: none; margin-bottom: 2px; transition: background .2s ease-out; }
.sidebar nav a.sm-item { height: 40px; padding: 0 12px; }
.sidebar nav a.sm-parent { height: 40px; padding: 0 12px; font-weight: 600; cursor: pointer; }
.sidebar nav a.sm-sub { height: 34px; padding: 0 12px 0 34px; font-size: 12px; color: var(--text-secondary); }
.sidebar nav a.sm-item:hover, .sidebar nav a.sm-parent:hover, .sidebar nav a.sm-sub:hover { background: rgba(255,255,255,.08); }
.sidebar nav a.sm-item.on, .sidebar nav a.sm-parent.on, .sidebar nav a.sm-sub.on { background: rgba(10,132,255,.18); color: #409cff; }
.sidebar nav a .sm-ic { flex: none; width: 18px; text-align: center; }
.sidebar nav a .sm-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar nav a .sm-note { flex: none; font-size: 9.5px; color: var(--text-secondary); border: 1px solid var(--border-mid); border-radius: 4px; padding: 0 5px; }
.sidebar nav a.sm-parent .sm-caret { flex: none; font-size: 9px; color: var(--text-secondary); transition: transform .2s ease-out; }
.sidebar nav a.sm-parent.sm-open .sm-caret { transform: rotate(90deg); }
.sidebar .sm-role { margin-top: 16px; padding: 12px; border-top: 1px solid var(--border-soft); }
.sidebar .sm-role-label { display: block; font-size: 10px; letter-spacing: .06em; color: var(--text-secondary); margin-bottom: 6px; }
.sidebar .sm-role select { width: 100%; font-size: 12px; padding: 5px 8px; }
.sidebar .sm-role small { display: block; margin-top: 8px; font-size: 10px; color: var(--text-secondary); line-height: 1.6; }
.sidebar .sm-role small a { color: var(--color-system-blue); }

/* ═══════════ H5 车主端预览条（v0.12.14：去运营台侧栏，改移动端仿真预览框架） ═══════════ */
.h5bar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 10px 24px; background: rgba(28,28,30,.82); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px); border-bottom: 1px solid rgba(255,255,255,.1); }
.h5bar .back { font-size: 12px; color: var(--text-secondary); flex: none; }
.h5bar .back:hover { color: var(--text-primary); }
.h5bar b { font-size: 13px; }
.h5bar .tag { font-size: 11px; color: var(--text-secondary); border: 1px solid var(--border-mid); border-radius: 999px; padding: 2px 10px; }
.h5bar .h5tabs { margin-left: auto; display: flex; gap: 4px; }
.h5bar .h5tabs a { font-size: 12px; color: var(--text-secondary); border-radius: 999px; padding: 4px 12px; transition: background .2s ease-out; }
.h5bar .h5tabs a:hover { background: rgba(255,255,255,.08); color: var(--text-primary); }
.h5bar .h5tabs a.on { background: rgba(10,132,255,.18); color: #409cff; }
.layout.h5-solo { grid-template-columns: minmax(0, 1fr); }


/* ═══════════ Stripe 规范版主题层（v0.12.18 全站推广；依据用户《Stripe 风格design.md》；2026-11-18 policies 试点升格） ═══════════
   紫一屏两处（主按钮/侧栏选中）· 正文 Deep Navy · Haze 底+40px 网格（body::before 仅顶部淡出）· 白卡两段阴影+hover 上浮 ·
   主按钮内高光+按压内阴影 · JetBrains Mono 数字 · 状态软底 pill。大屏（dashboard.css）不受影响。 */
:root {
  --color-deepest: #f6f9fc; --color-mid: #ffffff; --color-light-grey: #f0f4fa;
  --color-system-blue: #635bff; --color-system-green: #0e9f6e;
  --color-system-orange: #c26a00; --color-system-red: #e02424;
  --text-primary: #0a2540; --text-secondary: rgba(10,37,64,.55);
  --border-soft: rgba(10,37,64,.06); --border-mid: rgba(10,37,64,.14);
  --font-serif: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Microsoft YaHei', sans-serif;
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius-cards: 12px; --radius-buttons: 8px; --radius-inputs: 8px; --radius-panels: 12px;
  --card-padding: 20px; --element-gap: 16px;
  --shadow-panel: 0 2px 10px rgba(0,0,0,.06), 0 4px 20px rgba(0,0,0,.04);
  --shadow-btn: 0 2px 5px rgba(99,91,255,.40), inset 0 1px 0 rgba(255,255,255,.20);
}
body { position: relative; }
body::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 320px; pointer-events: none; z-index: 0;
  background-image: linear-gradient(rgba(99,91,255,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(99,91,255,.10) 1px, transparent 1px);
  background-size: 40px 40px; opacity: .4;
  -webkit-mask-image: linear-gradient(180deg, #000 25%, transparent 100%); mask-image: linear-gradient(180deg, #000 25%, transparent 100%); }
.stripe-hero-grid { position: absolute; top: 0; left: 0; right: 0; height: 320px; pointer-events: none;
  background-image: linear-gradient(rgba(99,91,255,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(99,91,255,.10) 1px, transparent 1px);
  background-size: 40px 40px; opacity: .4;
  -webkit-mask-image: linear-gradient(180deg, #000 25%, transparent 100%); mask-image: linear-gradient(180deg, #000 25%, transparent 100%); }
.layout { position: relative; z-index: 1; }
.sidebar { background: #ffffff; backdrop-filter: none; -webkit-backdrop-filter: none; border-right: 1px solid rgba(10,37,64,.08); }
.sidebar .brand { font-size: 16px; letter-spacing: -0.02em; }
.sidebar .brand::before { content: ''; display: inline-block; width: 11px; height: 11px; border-radius: 3px;
  background: linear-gradient(135deg, #635bff, #00d4ff); margin-right: 8px; box-shadow: 0 1px 4px rgba(99,91,255,.4); }
.sidebar nav a:hover, .sidebar nav a.sm-item:hover, .sidebar nav a.sm-parent:hover, .sidebar nav a.sm-sub:hover { background: rgba(99,91,255,.06); }
.sidebar nav a.on, .sidebar nav a.sm-item.on, .sidebar nav a.sm-parent.on, .sidebar nav a.sm-sub.on { background: rgba(99,91,255,.10); color: #635bff; }
.sidebar .sm-role select, .sidebar .sm-role small { color: rgba(10,37,64,.55); }
.sidebar .sm-role small a { color: #635bff; }
h1 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.crumb a { color: rgba(10,37,64,.55); } .crumb b { font-weight: 600; }
.kpi { border-radius: 12px; box-shadow: var(--shadow-panel); border: none; }
.kpi .label { letter-spacing: .02em; }
.kpi .value { letter-spacing: -0.01em; }
.kpi:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.08), 0 4px 10px rgba(0,0,0,.04); transition: transform .4s ease-out, box-shadow .4s ease-out; }
.card.plain { background: #ffffff; border: none; border-radius: 12px; box-shadow: var(--shadow-panel); }
th { background: #fbfcfe; font-size: 11px; letter-spacing: .02em; }
tbody tr:hover { background: #f6f9fc; }
.btn { background: linear-gradient(180deg, #6a62ff, #635bff); box-shadow: var(--shadow-btn); transition: all .3s ease-out; }
.btn:hover { background: #7a73ff; transform: translateY(-2px); filter: none; box-shadow: 0 6px 10px rgba(99,91,255,.40), inset 0 1px 0 rgba(255,255,255,.20); }
.btn:active { transform: scale(.98); box-shadow: inset 0 2px 4px rgba(0,0,0,.20); }
.btn.ghost { background: #ffffff; color: #0a2540; border: 1px solid rgba(10,37,64,.16); box-shadow: none; }
.btn.ghost:hover { background: #f6f9fc; transform: translateY(-1px); box-shadow: 0 2px 6px rgba(10,37,64,.08); }
.state { border-radius: 999px; padding: 2px 10px; font-weight: 500; }
.state.green { background: #e6f6f0; } .state.red { background: #fdeaea; }
.state.outline { background: #eef1f6; color: rgba(10,37,64,.6); }
.dot.outline { background: rgba(10,37,64,.35); }
.bar-line .track { background: rgba(10,37,64,.08); }
.drawer { border-radius: 12px 0 0 12px; }
.drawer .cfg-ver { border-radius: 10px; }
.panel { border-radius: 12px; }
footer { border-top: 1px solid rgba(10,37,64,.08); }
.h5bar { background: #ffffff; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid rgba(10,37,64,.08); }
.h5bar .h5tabs a.on { background: rgba(99,91,255,.10); color: #635bff; }
/* 主题层结束 */


/* ═══════════ 渐变卡片层（v0.12.18c 三轮：色相换海军蓝冷色族=蓝/青/绿 + 左侧 4px 色条；起点 28%/浓度 ~16%，避开焦点卡紫青） ═══════════ */
.kpi { position: relative; background: linear-gradient(150deg, #ffffff 28%, var(--tint, rgba(47,123,255,.16)) 100%); }
.kpi::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: 12px 0 0 12px; background: var(--bar, #2f7bff); }
.grid > .kpi:nth-child(3n+1) { --tint: rgba(47,123,255,.16); --bar: #2f7bff; }
.grid > .kpi:nth-child(3n+2) { --tint: rgba(0,184,212,.15); --bar: #00b8d4; }
.grid > .kpi:nth-child(3n+3) { --tint: rgba(62,207,142,.15); --bar: #3ecf8e; }
.panel { background: linear-gradient(160deg, #ffffff 45%, #e8eff9 100%); }
.card.plain { background: linear-gradient(165deg, #ffffff 55%, #eef3fa 100%); }
.cfg-ver { background: linear-gradient(160deg, #ffffff 45%, #edf0fc 100%); }
.h5-section { background: linear-gradient(160deg, #f6f9fc 45%, #e8eff9 100%); }


/* ═══════════ ngx-admin corporate 主题层（v0.12.22 全站推广 · v128；用户拍板浅色版 2026-11-19） ═══════════
   依据 Nebular 11.0.1 prebuilt corporate.css 组件级实证值（unpkg 提取，非猜值）：页 #f7f9fc · 卡/侧栏/顶栏 #fff ·
   1px #e4e9f2 描边 · 圆角 4px 无阴影扁平描边风 · 文字 #222b45/#8f9bb3 · primary #3366ff(hover #598bff/按压 #274bdb) ·
   状态五族 #3366ff/#00d68f/#0095ff/#ffa100/#ff3d71 · 菜单激活与 h1 左 4px 品牌蓝条 · 状态 pill 软色底(100 系底+600 系字) ·
   Open Sans 字体栈（本机缺字体自动回退 Segoe UI/微软雅黑）。渐变卡片层/网格底纹/两段阴影/hover 上浮全部退役。
   两块数据大屏（dashboard.css 深青风）不受影响。先例=ui-style-demo-ngx.html（Demo 对照）+policies.html 试点。 */
:root {
  --color-deepest: #f7f9fc; --color-mid: #ffffff; --color-light-grey: #edf1f7;
  --color-system-blue: #3366ff; --color-system-green: #00b887;
  --color-system-orange: #db8b00; --color-system-red: #db2c66;
  --text-primary: #222b45; --text-secondary: #8f9bb3;
  --border-soft: #edf1f7; --border-mid: #e4e9f2;
  --font-serif: 'Open Sans', 'Segoe UI', 'Microsoft YaHei', ui-sans-serif, system-ui, sans-serif;
  --font-sans: 'Open Sans', 'Segoe UI', 'Microsoft YaHei', ui-sans-serif, system-ui, sans-serif;
  --radius-cards: 4px; --radius-buttons: 4px; --radius-inputs: 4px; --radius-panels: 4px;
  --shadow-panel: none; --shadow-btn: none;
}
body::before, .stripe-hero-grid { display: none; }
.sidebar { border-right-color: #e4e9f2; }
.sidebar .brand::before { background: #3366ff; box-shadow: none; border-radius: 3px; }
.sidebar nav a { border-radius: 4px; }
.sidebar nav a:hover, .sidebar nav a.sm-item:hover, .sidebar nav a.sm-parent:hover, .sidebar nav a.sm-sub:hover { background: rgba(143,155,179,.08); }
.sidebar nav a.on, .sidebar nav a.sm-item.on, .sidebar nav a.sm-parent.on, .sidebar nav a.sm-sub.on { background: #edf1f7; color: #3366ff; position: relative; }
.sidebar nav a.on::before, .sidebar nav a.sm-item.on::before, .sidebar nav a.sm-parent.on::before, .sidebar nav a.sm-sub.on::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; background: #3366ff; border-radius: 0 2px 2px 0; }
.sidebar .sm-note { border-color: #e4e9f2; color: #8f9bb3; }
h1 { position: relative; padding-left: 14px; }
h1::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; background: #3366ff; border-radius: 0 2px 2px 0; }
.crumb a { color: #8f9bb3; }
.kpi { background: #ffffff; border: 1px solid #e4e9f2; box-shadow: none; }
.kpi::before { content: none; }
.kpi .label { font-weight: 600; color: #8f9bb3; letter-spacing: .01em; }
.kpi .value { font-family: var(--font-sans); font-weight: 700; letter-spacing: 0; }
.kpi:hover { transform: none; box-shadow: none; transition: none; border-color: #c9d2e3; }
.card.plain, .panel, .cfg-ver, .h5-section { background: #ffffff; border: 1px solid #e4e9f2; box-shadow: none; }
th { background: #f7f9fc; letter-spacing: .03em; font-weight: 600; }
tbody tr:hover { background: rgba(143,155,179,.08); }
.btn { background: #3366ff; transition: background .15s; }
.btn:hover { background: #598bff; transform: none; box-shadow: none; }
.btn:active { background: #274bdb; transform: none; box-shadow: none; }
.btn.ghost { background: rgba(143,155,179,.08); color: #222b45; border: 1px solid #e4e9f2; box-shadow: none; }
.btn.ghost:hover { background: rgba(143,155,179,.16); transform: none; box-shadow: none; }
.state { border-radius: 3px; font-weight: 600; }
.state.green { background: #e8f9f3; color: #00b887; }
.state.red { background: #ffecf1; color: #db2c66; }
.state.orange { background: #fff3d6; color: #db8b00; }
.state.blue { background: #e8f0ff; color: #274bdb; }
.state.outline { background: #edf1f7; color: #8f9bb3; }
.bar-line .track { background: rgba(34,43,69,.08); }
.drawer { border-radius: 4px 0 0 4px; border-left: 1px solid #e4e9f2; }
.drawer .cfg-ver { border-radius: 4px; }
.drawer-x { background: rgba(34,43,69,.06); }
.drawer-x:hover { background: rgba(34,43,69,.12); }
.h5bar { background: #ffffff; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid #e4e9f2; }
.h5bar .h5tabs a.on { background: #edf1f7; color: #3366ff; }
/* ngx 主题层结束 */


/* ═══════════ ngx 组件精装层（v0.12.23 · v129；方案B：Eva 图标 + KPI hero tile + 工具栏卡 + 列表差异化配色） ═══════════
   图标=Eva Icons(MIT) outline 内联（ngx-ui.js，46 枚）；tile 渐变=Nebular button-hero 实证值
   （primary #598bff→#3366ff / success #2ce69b→#00d68f / info #42aaff→#0095ff / warning #ffc94d→#ffaa00 / danger #ff708d→#ff3d71）。 */
.ngx-svg { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; }
.sidebar .sm-ic .ngx-svg { width: 16px; height: 16px; }
.sidebar .sm-caret { display: inline-flex; align-items: center; }
.sidebar .sm-caret .ngx-svg { width: 11px; height: 11px; transition: transform .2s; color: var(--text-secondary); }
.sidebar .sm-open .sm-caret .ngx-svg { transform: rotate(90deg); }
/* KPI tile（装饰器 ngx-ui.js：.kpi > .kpi-tile + .kpi-body） */
.kpi.has-tile { display: flex; align-items: center; gap: 14px; }
.kpi .kpi-body { min-width: 0; }
.kpi .kpi-tile { flex: none; width: 62px; height: 54px; border-radius: 6px; display: flex; align-items: center; justify-content: center;
  color: #fff; background-image: linear-gradient(to right, var(--hx-l, #598bff), var(--hx-r, #3366ff)); }
.kpi .kpi-tile .ngx-svg { width: 26px; height: 26px; }
.kpi-tile.st-primary { --hx-l: #598bff; --hx-r: #3366ff; }
.kpi-tile.st-success { --hx-l: #2ce69b; --hx-r: #00d68f; }
.kpi-tile.st-info    { --hx-l: #42aaff; --hx-r: #0095ff; }
.kpi-tile.st-warning { --hx-l: #ffc94d; --hx-r: #ffaa00; }
.kpi-tile.st-danger  { --hx-l: #ff708d; --hx-r: #ff3d71; }
/* 门面页工具栏卡（筛选行升格为白卡） */
.ngx-toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; background: #fff;
  border: 1px solid #e4e9f2; border-radius: 4px; padding: 12px 16px; margin-top: 16px; }
/* 列表关键数据差异化配色（渲染函数按值加 class） */
td .claim-yes, .claim-yes { color: #db2c66; font-weight: 600; }
.risk-high { color: #db2c66; font-weight: 600; }
.risk-mid  { color: #db8b00; font-weight: 600; }
.risk-low  { color: #00b887; font-weight: 600; }
.num-strong { color: #222b45; font-weight: 700; font-variant-numeric: tabular-nums; }
.delta-up { color: #00b887; } .delta-down { color: #db2c66; }
/* 门面页 status-card（截图同款：白卡+左 hero 渐变 tile+粗标题+CTA 箭头；index 首用） */
.ngx-scard { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid #e4e9f2;
  border-radius: 4px; padding: 16px 18px; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.ngx-scard:hover { border-color: #c9d2e3; box-shadow: 0 4px 14px rgba(34,43,69,.08); text-decoration: none; color: inherit; }
.ngx-scard .kpi-tile { width: 56px; height: 48px; border-radius: 6px; flex: none; display: flex; align-items: center; justify-content: center;
  color: #fff; background-image: linear-gradient(to right, var(--hx-l, #598bff), var(--hx-r, #3366ff)); }
.ngx-scard .kpi-tile .ngx-svg { width: 24px; height: 24px; }
.ngx-scard .scard-body { min-width: 0; flex: 1; }
.ngx-scard h3 { font-size: 15px; font-weight: 700; margin-top: 4px; }
.ngx-scard p { font-size: 12.5px; margin-top: 4px; }
.ngx-scard .scard-go { color: #3366ff; flex: none; }
.ngx-scard .scard-go .ngx-svg { width: 16px; height: 16px; }
/* 组件精装层结束 */


/* ═══════════ ngx 组件精装层·二轮（v0.12.24 · v130；用户对照官方 demo 四点反馈修正） ═══════════
   ①卡片阴影（官方签名阴影色 rgba(44,51,73,.1)，取 header 同族）②菜单侧差异化底色 ③表头字号/色
   ④框体差异化配色（st-accent 顶部 3px hero 渐变条+标签 600 系着色；装饰器自动轮换，data-st 可指定）。 */
.card.plain, .panel, .cfg-ver, .h5-section, .kpi.has-tile, .ngx-toolbar, .ngx-scard, .drawer {
  box-shadow: 0 4px 14px rgba(44,51,73,.10), 0 1px 3px rgba(44,51,73,.06);
}
.kpi:hover { transform: none; border-color: #c9d2e3; box-shadow: 0 8px 22px rgba(44,51,73,.14), 0 2px 6px rgba(44,51,73,.08); transition: box-shadow .2s, border-color .2s; }
.ngx-scard:hover { box-shadow: 0 8px 22px rgba(44,51,73,.14), 0 2px 6px rgba(44,51,73,.08); }
/* 菜单侧：冷中性浅灰（高级感）与画布分层 */
.sidebar { background: #f4f5f7; border-right-color: #e4e9f2; }
.sidebar .brand { border-bottom-color: #e6e8ec; }
.sidebar nav a:hover, .sidebar nav a.sm-item:hover, .sidebar nav a.sm-parent:hover, .sidebar nav a.sm-sub:hover { background: rgba(44,51,73,.06); }
.sidebar nav a.on, .sidebar nav a.sm-item.on, .sidebar nav a.sm-parent.on, .sidebar nav a.sm-sub.on { background: #e7eaf0; }
.sidebar .sm-note { border-color: #e0e3ea; background: #ffffff; }
.sidebar .sm-role { border-top-color: #e6e8ec; }
/* 表头：字号/字重/颜色对齐 demo（Bootstrap 表样式：粗深表头+清晰行分隔） */
th { font-size: 12.5px; font-weight: 700; color: #222b45; background: #f7f9fc; letter-spacing: .02em; }
tbody td { border-bottom-color: #e4e9f2; }
/* 框体状态色（五族扩展：tile/accent 共用变量；--hxc=600 系标签色） */
.st-primary { --hx-l: #598bff; --hx-r: #3366ff; --hxc: #274bdb; }
.st-success { --hx-l: #2ce69b; --hx-r: #00d68f; --hxc: #00b887; }
.st-info    { --hx-l: #42aaff; --hx-r: #0095ff; --hxc: #006fd6; }
.st-warning { --hx-l: #ffc94d; --hx-r: #ffaa00; --hxc: #db8b00; }
.st-danger  { --hx-l: #ff708d; --hx-r: #ff3d71; --hxc: #db2c66; }
.st-accent { position: relative; }
.st-accent::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  border-radius: 4px 4px 0 0; background-image: linear-gradient(to right, var(--hx-l), var(--hx-r)); }
.st-accent > .label { color: var(--hxc); font-weight: 600; }
/* 二轮精修层结束 */


/* ═══════════ 工作台首页（v0.12.25 · v131；index 升级为运营工作台版式） ═══════════ */
.wb-head { display: flex; align-items: flex-end; gap: 16px; }
.wb-clock { margin-left: auto; text-align: right; flex: none; }
.wb-clock .t { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; color: #222b45; }
.wb-clock .d { font-size: 12px; color: #8f9bb3; margin-top: 2px; }
.wb-chip { display: inline-block; font-size: 11px; font-weight: 600; color: #274bdb; background: #e8f0ff; border-radius: 3px; padding: 2px 8px; }
.kpis6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 20px; }
.kpis6 .kpi { padding: 16px 18px; }
.kpis6 .kpi .value { font-size: 22px; }
.kpis6 .kpi-tile { width: 52px; height: 46px; }
.kpis6 .kpi-tile .ngx-svg { width: 22px; height: 22px; }
@media (max-width: 1400px) { .kpis6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .kpis6 { grid-template-columns: repeat(2, 1fr); } }
.wb-grid { display: grid; grid-template-columns: 1fr 1fr 330px; grid-template-areas: "c1 c2 feed" "c3 c4 feed"; gap: 16px; margin-top: 14px; }
.wb-c1 { grid-area: c1; } .wb-c2 { grid-area: c2; } .wb-c3 { grid-area: c3; } .wb-c4 { grid-area: c4; } .wb-feed { grid-area: feed; }
@media (max-width: 1200px) { .wb-grid { grid-template-columns: 1fr; grid-template-areas: "c1" "c2" "c3" "c4" "feed"; } }
.chart-box { height: 240px; margin-top: 10px; }
.wb-live { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 700; color: #274bdb;
  background: #e8f0ff; border-radius: 3px; padding: 1px 8px; font-variant-numeric: tabular-nums; }
.wb-feed-list { margin-top: 8px; max-height: 560px; overflow-y: auto; }
.wb-feed-item { display: flex; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid #edf1f7; font-size: 12.5px; }
.wb-feed-item:last-child { border-bottom: none; }
.feed-tag { flex: none; font-size: 10.5px; font-weight: 600; border-radius: 3px; padding: 1px 7px; color: #fff; }
.wb-entry { margin-top: 20px; }
@media (max-width: 1200px) { .wb-entry { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 760px) { .wb-entry { grid-template-columns: 1fr !important; } }
/* 工作台层结束 */


/* ═══════════ 品牌区三行锁定式（v0.12.28 · v133；12 字全称防尴尬断行） ═══════════
   行1=logo 方块+「金信」17px 品牌行；行2=全称 11px 单行（132px<可用宽，nowrap 防折）；行3=页面语境 small。 */
.sidebar .brand .brand-mark { display: inline-flex; align-items: center; font-size: 17px; font-weight: 800;
  letter-spacing: .06em; color: #222b45; }
.sidebar .brand .brand-full { display: block; font-size: 11px; font-weight: 600; color: #222b45;
  letter-spacing: .02em; margin-top: 4px; white-space: nowrap; }
.sidebar .brand small { margin-top: 5px; }
/* 品牌区层结束 */


/* ═══════════ 品牌 Logo 实图版（v0.12.29 · v134；用户提供 平台Logo.png 128² 透明底，assets/logo.png） ═══════════ */
.sidebar .brand::before { width: 22px; height: 22px; border-radius: 4px;
  background: url("assets/logo.png") center/contain no-repeat; box-shadow: none; }
.sidebar .brand .brand-mark { letter-spacing: .08em; }
/* Logo 实图版结束 */
