.ds-legend{gap:var(--ds-space-2);min-width:0;margin:0;padding:0;list-style:none;display:grid}.ds-legend-item{align-items:center;gap:var(--ds-space-2);min-width:0;padding-bottom:var(--ds-space-2);border-bottom:var(--ds-line-width) dashed var(--ds-line);font-size:var(--ds-caption-size);display:flex}.ds-legend-item:last-child{border-bottom:0;padding-bottom:0}.ds-legend-dot{width:var(--ds-space-3);height:var(--ds-space-3);border-radius:var(--ds-radius-pill);flex:none}.ds-legend-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:var(--ds-weight-semibold);color:var(--ds-text-ink);flex:1;overflow:hidden}.ds-legend-value{font-variant-numeric:tabular-nums}.ds-legend-meta{min-width:var(--ds-control-height-sm);text-align:right;font-size:var(--ds-micro-size);font-weight:var(--ds-weight-medium);font-variant-numeric:tabular-nums;color:var(--ds-text-secondary)}.ds-chart-key{align-items:center;gap:var(--ds-space-4);font-size:var(--ds-micro-size);color:var(--ds-text-secondary);flex-wrap:wrap;display:flex}.ds-chart-key[data-align=end]{justify-content:flex-end}.ds-chart-key-item{align-items:center;gap:var(--ds-space-2);display:flex}.ds-chart-key[data-tall] .ds-chart-key-item{min-height:var(--ds-space-8)}.ds-chart-key-item>i{width:var(--ds-space-2);height:var(--ds-space-2);border-radius:var(--ds-radius-small)}.ds-chart-key-item>i[data-series=income]{background:var(--ds-chart-income)}.ds-chart-key-item>i[data-series=expense]{background:var(--ds-chart-expense)}.ds-chart-key-item>i[data-series=balance]{background:var(--ds-series-1-solid)}
