/** Flo — gráficos SVG do Dashboard (barras e rosca) e legendas. */

.flo-chart { width: 100%; height: auto; max-height: 260px; }
.flo-chart__axis { stroke: var(--flo-border); stroke-width: 1; }
.flo-chart__bar--in { fill: var(--flo-accent); }
.flo-chart__bar--out { fill: var(--flo-ink-soft); }
.flo-chart__label { fill: var(--flo-ink-soft); font-size: 11px; }
.flo-chart__table summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; color: var(--flo-accent); font: var(--flo-text-small); }

.flo-legend { list-style: none; display: flex; gap: var(--flo-space-4); flex-wrap: wrap; margin: var(--flo-space-2) 0; padding: 0; font-size: 0.875rem; }
.flo-legend li { display: flex; align-items: center; gap: var(--flo-space-2); }
.flo-legend__dot { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.flo-legend__dot--in { background: var(--flo-accent); }
.flo-legend__dot--out { background: var(--flo-ink-soft); }
.flo-legend--col { flex-direction: column; flex-wrap: nowrap; gap: var(--flo-space-2); flex: 1; min-width: 0; }
.flo-legend__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flo-legend__value { font-variant-numeric: tabular-nums; color: var(--flo-ink-soft); white-space: nowrap; }

.flo-donut { display: flex; align-items: center; gap: var(--flo-space-5); flex-wrap: wrap; }
.flo-donut__svg { width: 140px; height: 140px; flex: none; }
.flo-donut__track { stroke: var(--flo-surface-muted); }