/* Pricing table, Solid design (spec §3.7): flat filled panels. Cards in a pale tint of the accent, with
   no border (a small lift in the light scheme), solid buttons, and the highlighted plan filled with the accent. Loaded after
   pricing.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-pricing {
	--hafe-shadow: var(--hafe-solid-lift);
	--hafe-shadow-up: var(--hafe-solid-lift);
	--hafe-radius: 1rem;
	--hafe-pill: 0.75rem;
	--hafe-panel: color-mix(in srgb, var(--hafe-accent) 7%, var(--hafe-surface));
	--hafe-deep: color-mix(in srgb, var(--hafe-accent) 85%, #000);
}

.hafe-design-solid .hafe-pricing__billing {
	border-radius: 1rem;
	background: var(--hafe-panel);
	box-shadow: none;
}

.hafe-design-solid .hafe-pricing__plan {
	border-color: var(--hafe-pricing-border, transparent);
	background: var(--hafe-pricing-bg, var(--hafe-panel));
}

.hafe-design-solid .hafe-pricing__plan:hover {
	border-color: var(--hafe-pricing-hover-border, var(--hafe-pricing-border, transparent));
}

.hafe-design-solid .hafe-pricing__plan:not(.is-highlighted) .hafe-pricing__button {
	background: var(--hafe-pricing-button-bg, var(--hafe-accent));
	color: var(--hafe-pricing-button-color, var(--hafe-on-accent));
}

.hafe-design-solid .hafe-pricing__plan:not(.is-highlighted) .hafe-pricing__button:hover {
	background: var(--hafe-pricing-button-hover-bg, var(--hafe-deep));
	color: var(--hafe-pricing-button-hover-color, var(--hafe-pricing-button-color, var(--hafe-on-accent)));
}

/* The highlighted plan is the accent itself: its text, lines and ticks turn light. */
.hafe-design-solid .hafe-pricing__plan.is-highlighted {
	--hafe-ink: var(--hafe-on-accent);
	--hafe-ink-soft: color-mix(in srgb, var(--hafe-on-accent) 88%, var(--hafe-accent));
	--hafe-line: rgb(255 255 255 / 25%);
	--hafe-tint: rgb(255 255 255 / 18%);
	--hafe-accent-ink: var(--hafe-on-accent);
	background: var(--hafe-pricing-highlight-bg, var(--hafe-accent));
}

.hafe-design-solid .hafe-pricing__badge {
	background: var(--hafe-deep);
}

.hafe-design-solid .is-highlighted .hafe-pricing__button {
	background: var(--hafe-pricing-button-bg, var(--hafe-on-accent));
	color: var(--hafe-pricing-button-color, var(--hafe-deep));
}

.hafe-design-solid .is-highlighted .hafe-pricing__button:hover {
	background: var(--hafe-pricing-button-hover-bg, color-mix(in srgb, var(--hafe-on-accent) 88%, var(--hafe-accent)));
	color: var(--hafe-pricing-button-hover-color, var(--hafe-pricing-button-color, var(--hafe-deep)));
}
