/* Chart, Solid design (spec §3.7): flat filled shapes. The chart on a pale tint of the accent with no
   border (a small lift in the light scheme), square-ended bars, thicker lines, deeper areas, filled swatches and a dark
   tooltip. Loaded after chart.css, only where the design is chosen. It changes design tokens, never
   a property a Style control writes, so the Style tab still wins. */
.hafe-design-solid .hafe-chart {
	--hafe-shadow: var(--hafe-solid-lift);
	--hafe-radius: 1rem;
	--hafe-chart-paper: var(--hafe-chart-bg, color-mix(in srgb, var(--hafe-accent) 7%, var(--hafe-surface)));
	--hafe-chart-frame: transparent;
	--hafe-chart-rule: color-mix(in srgb, var(--hafe-accent) 18%, var(--hafe-surface));
	--hafe-chart-corner: 0;
	--hafe-chart-width: 3;
	--hafe-chart-area: 0.32;
	--hafe-chart-tip: var(--hafe-ink);
	--hafe-chart-tip-ink: var(--hafe-surface);
	--hafe-chart-tip-line: transparent;
	--hafe-chart-dot: 2px;
}

.hafe-scheme-dark.hafe-design-solid .hafe-chart {
	--hafe-chart-rule: color-mix(in srgb, var(--hafe-accent) 22%, var(--hafe-surface));
}

.hafe-design-solid .hafe-chart .hafe-chart__table thead > tr > * {
	background: var(--hafe-chart-head, var(--hafe-accent));
	color: var(--hafe-on-accent);
}

.hafe-design-solid .hafe-chart .hafe-chart__table td,
.hafe-design-solid .hafe-chart .hafe-chart__table tbody th {
	border-color: var(--hafe-chart-table-border, color-mix(in srgb, var(--hafe-accent) 16%, var(--hafe-surface)));
}
