/* 026 数据卡片：画法照「极光图表画板 v3.1」（docs/charts.md）。颜色只取 --ch-* 设计变量（chart-tokens.js，浅深两套由它跟随主题），
   这里不写颜色值；尺寸不随卡片宽度缩放：图里的字、点、柱都是 HTML 定位，SVG 只画线和面。 */
.data-cards { display: grid; gap: 12px; margin: 10px 0 4px; max-width: 100%; }
.data-card {
  /* 旧规则名保留为别名，少改规则。 */
  --dc-bg: var(--ch-card); --dc-border: var(--ch-line); --dc-ink: var(--ch-ink); --dc-sec: var(--ch-sec); --dc-muted: var(--ch-muted);
  --dc-grid: var(--ch-grid); --dc-track: var(--ch-soft);
  --dc-num: var(--mono, inherit);
  margin: 0; padding: 14px 16px 14px; background: var(--dc-bg); color: var(--dc-ink); border: 1px solid var(--dc-border);
  border-radius: 14px; box-shadow: none; width: 560px; max-width: 100%; box-sizing: border-box; font-size: 13px; line-height: 1.45; overflow: hidden;
}
.data-card *, .data-card *::before, .data-card *::after { box-sizing: border-box; }
.data-card-title { font-weight: 600; font-size: 15px; line-height: 1.35; letter-spacing: -.01em; color: var(--dc-ink); }
.data-card-question { margin-top: 2px; font-size: 12.5px; color: var(--dc-sec); }
.data-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 4px; font-size: 12px; color: var(--dc-muted); }
.data-card-fresh { flex: none; height: 20px; padding: 0 8px; border-radius: 10px; font-size: 11px; line-height: 20px; font-weight: 600; }
.data-card-fresh.is-new { background: var(--ch-good-bg); color: var(--ch-good); }
.data-card-fresh.is-stale { background: var(--ch-warn-bg); color: var(--ch-warn); }
.data-card-fresh.is-previous { background: var(--ch-neutral-bg); color: var(--ch-neutral); }
.data-card-alert { margin-top: 10px; padding: 6px 10px; border-radius: 10px; background: var(--ch-warn-bg); color: var(--ch-warn); font-size: 12.5px; }
.data-card-body { margin-top: 12px; min-width: 0; }
.data-card-foot { margin-top: 10px; color: var(--dc-muted); font-size: 11.5px; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.data-card-note::before { content: "说明："; }
/* 040 · 10-25：系统汇总读了多少；没读全用提醒色。 */
.data-card-coverage { white-space: nowrap; }
.data-card-coverage.is-partial { color: var(--ch-warn); }

/* 系列色：只给形状上色；浅档（s2、s4、s5）和对比橙不写字、不画细线（规定见 docs/charts.md）。 */
.data-card .s1 { --tone: var(--ch-s1); } .data-card .s2 { --tone: var(--ch-s2); } .data-card .s3 { --tone: var(--ch-s3); }
.data-card .s4 { --tone: var(--ch-s4); } .data-card .s5 { --tone: var(--ch-s5); } .data-card .s6 { --tone: var(--ch-s6); }
.data-card .other { --tone: var(--ch-neutral); }
/* 条件提醒命中（看板宿主的 highlight）：形状用对比橙，行用浅提醒底 + 左边提醒色条。 */
.data-card .is-hit { --tone: var(--ch-neg); }

/* 图例：右上角，小方块或短线 + 名字 + 最新值。 */
.data-card-legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 14px; margin-bottom: 6px; color: var(--dc-sec); font-size: 11.5px; }
.data-card-legend.is-start { justify-content: flex-start; }
.data-card-key { display: inline-flex; align-items: center; white-space: nowrap; }
.data-card-key i { display: inline-block; width: 10px; height: 3px; border-radius: 2px; margin-right: 5px; background: var(--tone); }
.data-card-key.is-sq i, .data-card-key i.dc-cell { width: 8px; height: 8px; }
.data-card-key.is-band i { background: var(--ch-s1-soft); }
.data-card-key b { margin-left: 4px; color: var(--dc-ink); font-weight: 600; font-family: var(--dc-num); font-variant-numeric: tabular-nums; }

/* 绘图区：左侧留刻度位，下方留横轴字位；坐标轴等宽数字 10.5。 */
.dc-plot { position: relative; padding: 16px 12px 20px 44px; }
.dc-plot.has-right { padding-right: 44px; }
.dc-plot.no-axis { padding-left: 4px; padding-right: 4px; }
.dc-area { position: relative; height: 100%; }
.dc-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; display: block; }
.dc-gl { position: absolute; left: 0; right: 0; height: 0; border-top: 1px dashed var(--dc-grid); }
.dc-base { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid var(--dc-border); }
.dc-yl, .dc-yr, .dc-xl, .dc-axis-names, .dc-heat-r, .dc-heat-c, .dc-cal-d, .dc-cal-m {
  font-family: var(--dc-num); font-variant-numeric: tabular-nums; font-size: 10.5px; line-height: 1; color: var(--dc-muted); white-space: nowrap;
}
.dc-yl { position: absolute; right: calc(100% + 6px); transform: translateY(-50%); }
.dc-yr { position: absolute; left: calc(100% + 6px); transform: translateY(-50%); }
.dc-yr.s3 { color: var(--ch-s3); }
.dc-xl { position: absolute; top: calc(100% + 6px); transform: translateX(-50%); }
.dc-xl.is-start { transform: none; } .dc-xl.is-end { transform: translateX(-100%); }
.dc-axis-names { display: flex; justify-content: space-between; margin-bottom: 2px; }

/* 折线 2px；面积从极光青淡出到靛紫（唯一的装饰）。 */
.data-card-line { fill: none; stroke: var(--tone); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.dc-stop-top { stop-color: var(--ch-area-top); } .dc-stop-bottom { stop-color: var(--ch-area-bottom); }
/* 只在终点画空心圆；最新值放系列 1 浅底小气泡。 */
.dc-end, .dc-dot-o, .data-card-dot, .dc-pt, .dc-hit { position: absolute; border-radius: 50%; transform: translate(-50%, -50%); }
.dc-end { width: 9px; height: 9px; border: 2px solid var(--tone); background: var(--dc-bg); z-index: 2; }
.dc-dot-o { width: 7px; height: 7px; border: 1.8px solid var(--tone); background: var(--dc-bg); z-index: 2; }
.dc-hit { width: 12px; height: 12px; z-index: 3; }
.dc-bubble { position: absolute; z-index: 2; transform: translate(calc(-100% + 8px), calc(-100% - 7px)); height: 18px; padding: 0 7px; border-radius: 9px;
  background: var(--ch-s1-soft); color: var(--ch-s6); font-size: 10.5px; font-weight: 600; line-height: 18px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dc-bubble.is-below { transform: translate(calc(-100% + 8px), 8px); }
.data-card-panel + .data-card-panel { margin-top: 4px; }
.data-card-panel-label { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--dc-sec); }
.data-card-panel-label span { display: inline-flex; align-items: center; }
.data-card-panel-label i { display: inline-block; width: 10px; height: 3px; border-radius: 2px; margin-right: 5px; background: var(--tone); }
.data-card-panel-label b { color: var(--dc-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.data-card-panel .dc-plot { padding-top: 8px; }

/* 正常区间带：系列 1 浅面；越界点对比橙并写数。 */
.data-card-band { fill: var(--ch-s1-soft); stroke: none; }
.data-card-dot.outlier { width: 8px; height: 8px; background: var(--ch-neg); box-shadow: 0 0 0 1.5px var(--dc-bg); z-index: 2; }
.dc-out-v { position: absolute; transform: translate(7px, -50%); font-size: 11px; font-weight: 600; color: var(--ch-bad); font-variant-numeric: tabular-nums; }

/* 横向排行：横条 8 高、圆头。 */
.data-card-bars { display: grid; gap: 8px; }
.data-card-bar-row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 8px; align-items: center; font-size: 12.5px; }
.data-card-bar-label { color: var(--dc-sec); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.data-card-bar-tracks { display: grid; gap: 3px; min-width: 0; }
.data-card-bar-line { display: grid; grid-template-columns: minmax(0, 1fr) 6.5em; gap: 8px; align-items: center; min-width: 0; }
.data-card-bar-line.is-wide { grid-template-columns: minmax(0, 1fr) 9em; }
.data-card-bar-track { display: block; height: 8px; background: var(--dc-track); border-radius: 4px; overflow: hidden; min-width: 0; }
.data-card-bar-fill { display: block; height: 100%; border-radius: 4px; min-width: 2px; background: var(--tone); }
.data-card-bar-fill.negative { background: var(--ch-neg); }
.data-card-bar-value { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; text-align: right; overflow: hidden; text-overflow: ellipsis; }
.data-card-bar-value small { margin-left: 4px; font-weight: 400; color: var(--dc-muted); }
.data-card-bar-row.is-late .data-card-bar-fill { background: var(--ch-neutral); }
.data-card-bar-row.is-hit .data-card-bar-fill { background: var(--ch-neg); }
.data-card-bar-row.is-hit .data-card-bar-label { color: var(--dc-ink); font-weight: 600; }
/* 头部集中度的结论句（宿主的 headline）。 */
.dc-headline { margin-bottom: 10px; font-size: 13px; color: var(--dc-sec); }
.dc-headline b { font-size: 18px; font-weight: 600; color: var(--dc-ink); font-variant-numeric: tabular-nums; }

/* 竖柱：宽 ≤14、顶部圆角；堆叠层间一条卡片底色细线。 */
.dc-col { position: absolute; transform: translateX(-50%); background: var(--tone); box-shadow: inset 0 1px 0 var(--dc-bg); }
.dc-col.is-top { border-radius: 4px 4px 0 0; box-shadow: none; }
.dc-layer { fill: var(--tone); fill-opacity: .9; stroke: none; }
.dc-layer-edge { fill: none; stroke: var(--dc-bg); stroke-width: 1.2; }

/* 瀑布：起止总额系列 6，涨系列 1，跌对比橙；柱间虚线相连，数字写柱顶。 */
.data-card-wf { position: absolute; transform: translateX(-50%); width: min(36px, calc(var(--slot) * .6)); border-radius: 3px; }
.data-card-wf.total { background: var(--ch-s6); } .data-card-wf.up { background: var(--ch-s1); } .data-card-wf.down { background: var(--ch-neg); }
.dc-wf-link { position: absolute; height: 0; border-top: 1px dashed var(--dc-muted); }
.dc-wf-v { position: absolute; transform: translate(-50%, calc(-100% - 4px)); font-size: 11px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--dc-ink); }
.dc-wf-v.up { color: var(--ch-good); } .dc-wf-v.down { color: var(--ch-bad); }
.data-card--waterfall .dc-xl { color: var(--dc-sec); }
.dc-sum { margin-top: 4px; font-size: 12px; color: var(--dc-sec); font-variant-numeric: tabular-nums; }
.dc-sum b { font-weight: 600; color: var(--dc-ink); }
.dc-sum b.up { color: var(--ch-good); } .dc-sum b.down { color: var(--ch-bad); }

/* 指标卡：一排大数字，细竖线隔开，没有底色块；名称写在数字下面。 */
.data-card-metrics { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); row-gap: 10px; }
.data-card-metric { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 2px 14px; border-left: 1px solid var(--dc-border); }
.data-card-metric:nth-child(4n+1) { border-left: 0; padding-left: 0; }
.data-card-metric-value { font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.data-card-metric-value small { margin-left: 2px; font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--dc-sec); }
.data-card-metric-value.is-missing { color: var(--dc-muted); }
.data-card-metric-label { color: var(--dc-muted); font-size: 11.5px; }
.dc-kpi-d { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 6px; margin-top: 2px; font-size: 11.5px; color: var(--dc-muted); }
.dc-kpi-d > span { display: flex; flex-wrap: wrap; gap: 0 6px; min-width: 0; flex: 1 1 auto; }
.dc-delta { font-weight: 600; white-space: nowrap; color: var(--ch-neutral); }
.dc-delta.good { color: var(--ch-good); } .dc-delta.bad { color: var(--ch-bad); }
.dc-prev { white-space: nowrap; }
.dc-spark { flex: none; overflow: visible; }
.dc-spark polyline { fill: none; stroke: var(--ch-s1); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }

/* 表格：数字列右对齐、等宽。 */
.data-card-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-card-table { border-collapse: collapse; width: 100%; font-size: 13px; color: var(--dc-ink); }
.data-card-table th, .data-card-table td { padding: 7px 8px; border-bottom: 1px solid var(--dc-border); text-align: left; white-space: nowrap; }
.data-card-table th { color: var(--dc-muted); font-weight: 500; font-size: 11.5px; }
.data-card-table td:first-child { white-space: normal; min-width: 6em; overflow-wrap: anywhere; }
.data-card-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.data-card-table tr.is-hit td { background: var(--ch-warn-bg); }
.data-card-table tr.is-hit td:first-child { box-shadow: inset 2px 0 0 var(--ch-warn); }
.data-card-table .dc-pill { height: 18px; line-height: 18px; font-size: 11px; }
.dc-table-more { display: none; margin-top: 6px; font-size: 11.5px; color: var(--dc-muted); }

/* 环形：14 粗、圆头、段间留缝；中心写总数和单位。 */
.dc-donut { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; align-items: center; }
.dc-donut-svg { width: 140px; height: 140px; display: block; }
.dc-ring { fill: none; stroke: var(--dc-grid); stroke-width: 16; }
.dc-arc { fill: none; stroke: var(--tone); stroke-width: 14; stroke-linecap: round; }
.dc-donut-total { fill: var(--dc-ink); font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.dc-donut-unit { fill: var(--dc-muted); font-size: 11px; }
.dc-shares { display: grid; gap: 6px; font-size: 12.5px; min-width: 0; }
.dc-share-row { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto auto; gap: 6px; align-items: center; }
.dc-sw { width: 8px; height: 8px; border-radius: 2px; background: var(--tone); }
.dc-share-row span { color: var(--dc-sec); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-share-row em { font-style: normal; color: var(--dc-muted); min-width: 44px; text-align: right; font-variant-numeric: tabular-nums; }
.dc-share-row b { font-weight: 600; min-width: 40px; text-align: right; font-variant-numeric: tabular-nums; }
/* 单条分段占比：12px 圆头横条，段间 2px 缝。 */
.dc-segbar-total { display: flex; align-items: baseline; gap: 8px; }
.dc-segbar { display: flex; gap: 2px; height: 12px; margin: 8px 0; border-radius: 6px; overflow: hidden; }
.dc-seg { min-width: 2px; background: var(--tone); }

/* 漏斗：每步一条，条里写人数，右边「占上一步 %」。 */
/* 三列放在同一个网格里（行用 display: contents），右列按最长的「占上一步」定宽，各行条的起止对齐。 */
.dc-funnel { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 4px 8px; align-items: center; font-size: 12.5px; }
.dc-fun-row { display: contents; }
.dc-fun-n { color: var(--dc-sec); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-fun-b { position: relative; height: 26px; }
.dc-fun-b i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: var(--ch-s1); opacity: calc(1 - var(--step, 0) * .09); }
.dc-fun-v { position: absolute; left: 8px; top: 0; line-height: 26px; color: var(--dc-bg); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dc-fun-v.is-out { color: var(--dc-ink); }
.dc-fun-missing { line-height: 26px; color: var(--dc-muted); }
.dc-fun-row em { font-style: normal; font-size: 11.5px; color: var(--dc-muted); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* 目标进度：数字在上、条在下，竖线是「按时间应到」。 */
.dc-prog-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 12.5px; color: var(--dc-sec); }
.dc-prog-top b { font-size: 18px; color: var(--dc-ink); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dc-prog-top b small { font-size: 12px; color: var(--dc-muted); font-weight: 400; }
.dc-prog-track { position: relative; height: 8px; margin-top: 6px; border-radius: 4px; background: var(--dc-track); }
.dc-prog-track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: var(--ch-s1); }
.dc-prog-track i.good { background: var(--ch-good); } .dc-prog-track i.behind { background: var(--ch-neg); }
.dc-prog-track u { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--dc-ink); opacity: .55; }
.dc-prog-sub { margin-top: 4px; font-size: 11.5px; color: var(--dc-muted); }
/* 额度（progress · limit）：多行，80% 起提醒色、用完差色。 */
.dc-limits { display: grid; gap: 14px; }
.dc-limits .dc-prog-top span em { margin-left: 8px; font-style: normal; font-size: 12px; color: var(--dc-muted); }
.dc-limits .dc-prog-top b { font-size: 16px; }
.dc-prog-track i.near { background: var(--ch-warn); } .dc-prog-track i.over { background: var(--ch-bad); }
.dc-prog-sub.near { color: var(--ch-warn); font-weight: 500; } .dc-prog-sub.over { color: var(--ch-bad); font-weight: 500; }
.dc-gauge { display: grid; justify-items: center; }
.dc-gauge svg { display: block; }
.dc-gauge-track { fill: none; stroke: var(--dc-track); stroke-width: 14; stroke-linecap: round; }
.dc-gauge-fill { fill: none; stroke: var(--ch-s1); stroke-width: 14; stroke-linecap: round; }
.dc-gauge-fill.good { stroke: var(--ch-good); } .dc-gauge-fill.behind { stroke: var(--ch-neg); }
.dc-gauge-mark { stroke: var(--dc-ink); stroke-width: 2; stroke-opacity: .55; stroke-linecap: round; }
.dc-gauge-v { fill: var(--dc-ink); font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.dc-gauge-l { font-size: 12.5px; color: var(--dc-sec); }
.dc-gauge-l b { color: var(--dc-ink); font-variant-numeric: tabular-nums; }

/* 状态清单：状态点、名字和说明、状态标签。 */
.dc-status { display: grid; }
.dc-status-row { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--dc-grid); }
.dc-status-row:first-child { border-top: 0; padding-top: 0; }
.dc-status-row.is-hit { margin: 0 -8px; padding-left: 8px; padding-right: 8px; background: var(--ch-warn-bg); box-shadow: inset 2px 0 0 var(--ch-warn); }
.dc-status-row.is-hit:first-child { padding-top: 8px; }
.dc-dot { width: 8px; height: 8px; border-radius: 50%; }
.dc-dot.good { background: var(--ch-good); } .dc-dot.warn { background: var(--ch-warn); } .dc-dot.bad { background: var(--ch-bad); } .dc-dot.neutral { background: var(--ch-neutral); }
.dc-who { min-width: 0; }
.dc-who b { font-weight: 600; overflow-wrap: anywhere; }
.dc-who small { display: block; font-size: 11.5px; color: var(--dc-muted); }
.dc-pill { display: inline-block; height: 20px; padding: 0 8px; border-radius: 6px; font-size: 11.5px; line-height: 20px; font-weight: 500; white-space: nowrap; }
.dc-pill.good { background: var(--ch-good-bg); color: var(--ch-good); } .dc-pill.warn { background: var(--ch-warn-bg); color: var(--ch-warn); }
.dc-pill.bad { background: var(--ch-bad-bg); color: var(--ch-bad); } .dc-pill.neutral { background: var(--ch-neutral-bg); color: var(--ch-neutral); }

/* 散点：点半透明。 */
.dc-pt { width: 8px; height: 8px; background: var(--ch-s1); opacity: .55; }
.dc-pt.is-notable { width: 10px; height: 10px; background: var(--ch-neg); opacity: 1; box-shadow: 0 0 0 1.5px var(--dc-bg); z-index: 2; }
.dc-pt-key { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 50%; background: var(--ch-neg); }

/* 热力 / 日历：系列 1 同色 5 档，低值贴近底色；缺的格子画虚线框。 */
.dc-cell { display: block; border-radius: 3px; }
.dc-cell.heat0 { background: var(--ch-heat0); } .dc-cell.heat1 { background: var(--ch-heat1); } .dc-cell.heat2 { background: var(--ch-heat2); }
.dc-cell.heat3 { background: var(--ch-heat3); } .dc-cell.heat4 { background: var(--ch-heat4); }
.dc-cell.none { border: 1px dashed var(--dc-border); }
.dc-heat { display: grid; grid-template-columns: 18px repeat(var(--cols, 12), minmax(0, 1fr)); gap: 2px; }
.dc-heat.is-mobile { display: none; }
.dc-heat .dc-cell { height: 16px; }
.dc-heat-c { text-align: center; }
.dc-heat-r { line-height: 16px; }
.dc-scale { margin-top: 8px; margin-bottom: 0; align-items: center; gap: 4px; }
.dc-scale .dc-cell { width: 10px; height: 10px; }
.dc-cal { display: grid; grid-template-columns: 16px repeat(var(--weeks), 14px); grid-template-rows: repeat(7, 14px) auto; gap: 3px; overflow-x: auto; }
.dc-cal-d { grid-column: 1; line-height: 14px; }
.dc-cal-m { grid-row: 8; padding-top: 2px; }

/* 分布：每档一根柱，柱顶写数；中位数虚线。 */
.dc-bin { position: absolute; padding: 0 2px; }
.dc-bin::before { content: ""; position: absolute; inset: 0 2px; border-radius: 3px 3px 0 0; background: var(--ch-s1); opacity: .85; }
.dc-bin.is-hit::before { background: var(--ch-neg); opacity: 1; }
.dc-bin-v { position: absolute; transform: translate(-50%, calc(-100% - 3px)); font-size: 10.5px; color: var(--dc-sec); font-variant-numeric: tabular-nums; }
.dc-median { position: absolute; top: -12px; bottom: 0; width: 0; border-left: 1px dashed var(--dc-ink); opacity: .6; z-index: 1; }
.dc-median-v { position: absolute; top: -14px; transform: translateX(4px); font-size: 10.5px; color: var(--dc-sec); white-space: nowrap; }
.dc-median-v.is-left { transform: translateX(calc(-100% - 4px)); }
.dc-plot-note { font-size: 11.5px; color: var(--dc-sec); }
.dc-plot-note.is-after { display: flex; align-items: center; margin-top: 4px; color: var(--dc-muted); }

/* 雷达：虚线网格，最多 3 组半透明面（系列 1 / 3 / 6），轴名在外圈。 */
.dc-radar { display: flex; justify-content: center; }
.dc-radar svg { display: block; overflow: visible; max-width: 100%; height: auto; }
.dc-radar-grid { fill: none; stroke: var(--dc-grid); stroke-width: 1; stroke-dasharray: 3 3; }
line.dc-radar-grid { stroke-dasharray: none; }
.dc-radar-axis { fill: var(--dc-sec); font-size: 11px; font-weight: 600; }
.dc-radar-area { fill: var(--tone); fill-opacity: .18; stroke: var(--tone); stroke-width: 2; stroke-linejoin: round; }
.dc-radar-dot { fill: var(--dc-bg); stroke: var(--tone); stroke-width: 1.8; }

@media (max-width: 640px) {
  .data-card { padding: 12px; width: 100%; }
  .data-card-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .data-card-metric:nth-child(4n+1) { border-left: 1px solid var(--dc-border); padding-left: 14px; }
  .data-card-metric:nth-child(odd) { border-left: 0; padding-left: 0; }
  .data-card-metric-value { font-size: 19px; }
  .data-card-bar-row { grid-template-columns: 84px minmax(0, 1fr); }
  .data-card-bar-line { grid-template-columns: minmax(0, 1fr) 5.5em; }
  .dc-donut { grid-template-columns: 116px minmax(0, 1fr); gap: 12px; }
  .dc-donut-svg { width: 116px; height: 116px; }
  .dc-funnel { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .dc-heat-c.is-odd { visibility: hidden; }
  .dc-heat.is-desktop { display: none; }
  .dc-heat.is-mobile { display: grid; }
  .dc-heat.is-mobile .dc-heat-c.is-odd { visibility: visible; }
  .data-card-table .is-extra { display: none; }
  .dc-table-more { display: block; }
}
