/* 图表相关样式 */
.prism-chart { display: block; overflow: visible; }
.chart-tip {
  position: fixed; z-index: var(--z-tooltip); pointer-events: none; opacity: 0;
  transform: translateY(4px); transition: opacity .12s var(--ease), transform .12s var(--ease);
  background: var(--overlay); border: 1px solid var(--border-2); border-radius: var(--r-sm);
  box-shadow: var(--shadow-3); padding: 8px 11px; min-width: 132px; font-size: 12px;
}
.chart-tip.show { opacity: 1; transform: none; }
.ct-h { font-size: 11px; color: var(--text-3); font-family: var(--font-mono); letter-spacing: .04em; margin-bottom: 5px; padding-bottom: 5px; border-bottom: 1px solid var(--border); }
.ct-r { display: flex; align-items: center; gap: 7px; line-height: 1.9; }
.ct-r i { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; }
.ct-r span { color: var(--text-2); flex: 1; }
.ct-r b { font-family: var(--font-mono); font-weight: 640; font-variant-numeric: tabular-nums; }

.chart-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.chart-legend.vertical { flex-direction: column; align-items: stretch; gap: 9px; }
.lg-item { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-2); min-width: 0; max-width: 100%; }
.lg-item i { width: 9px; height: 9px; border-radius: 3px; flex-shrink: 0; }
.lg-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-item b { margin-left: auto; padding-left: 8px; font-size: 12px; color: var(--text); font-weight: 620; flex-shrink: 0; white-space: nowrap; }
.chart-legend.vertical .lg-item { padding: 3px 0; }

.chart-box { position: relative; width: 100%; }
.chart-box.h180 { height: 180px; }
.chart-box.h200 { height: 200px; }
.chart-box.h220 { height: 220px; }
.chart-box.h240 { height: 240px; }
.chart-box.h260 { height: 260px; }
.chart-box.h300 { height: 300px; }
.chart-box.h340 { height: 340px; }

@keyframes chartFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes chartDraw { to { stroke-dashoffset: 0; } }
@keyframes chartRise { from { transform: scaleY(0); opacity: .3; } to { transform: scaleY(1); opacity: 1; } }
@keyframes chartPop { from { transform: scale(.55); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes chartGrow { from { width: 0; } }

/* 迷你条形组 */
.mini-bars { display: flex; align-items: flex-end; gap: 3px; height: 40px; }
.mini-bars i { flex: 1; background: var(--accent); border-radius: 2px 2px 0 0; opacity: .55; transition: opacity var(--dur-1), transform var(--dur-1); transform-origin: bottom; }
.mini-bars i:hover { opacity: 1; transform: scaleY(1.06); }

/* 进度环列表 */
.ring-row { display: flex; align-items: center; gap: 13px; }
.ring-row .ring { width: 52px; height: 52px; flex-shrink: 0; }