/* Timeline, Solid design (spec §3.7): flat filled shapes. Cards in a pale tint of the accent with no
   border (a small lift in the light scheme), markers filled with their colour, labels as plain bold text, filled arrows.
   Loaded after timeline.css, only where the design is chosen. It changes design tokens and our own
   fallbacks, never a property a Style control writes, so the Style tab still wins. */
.hafe-design-solid .hafe-timeline {
	--hafe-shadow: var(--hafe-solid-lift);
	--hafe-shadow-up: var(--hafe-solid-lift);
	--hafe-radius: 1rem;
	--hafe-pill: 0.75rem;
}

.hafe-design-solid .hafe-timeline__card {
	border-color: var(--hafe-timeline-card-border, transparent);
	background: var(--hafe-timeline-card-bg, color-mix(in srgb, var(--hafe-accent) 7%, var(--hafe-surface)));
}

.hafe-design-solid .hafe-timeline__marker,
.hafe-design-solid .hafe-timeline__item:is(:hover, :focus-within) .hafe-timeline__marker {
	background: var(--hafe-timeline-marker-bg, var(--hafe-timeline-marker-now));
	color: var(--hafe-on-accent);
}

/* The label keeps its height, so it stays centred on the marker. */
.hafe-design-solid .hafe-timeline__tag {
	padding-inline: 0;
	background: none;
}

.hafe-design-solid .hafe-timeline__arrow,
.hafe-design-solid .hafe-timeline__arrow:is(:hover, :focus) {
	border-radius: var(--hafe-pill);
	background: var(--hafe-timeline-arrow-bg, var(--hafe-accent));
	color: var(--hafe-timeline-arrow-color, var(--hafe-on-accent));
	box-shadow: none;
}

.hafe-design-solid .hafe-timeline__arrow:hover {
	background: var(--hafe-timeline-arrow-hover-bg, color-mix(in srgb, var(--hafe-accent) 85%, #000));
	color: var(--hafe-timeline-arrow-hover-color, var(--hafe-on-accent));
}
