To feed settings into CSS, use {% style %} (singular). It runs Liquid inside the styles. {% stylesheet %} does not run Liquid; it is for static CSS.
The brand colors live in a color_palette setting (the 2026 recommended way to model a theme's colors, lesson 22b covered why). You read a palette color by its name: settings.colors.background, settings.colors.accent, and so on.
{% style %}
.panel {
--bg: {{ settings.colors.background }};
--text: {{ settings.colors.text }};
}
{% endstyle %}
{% stylesheet %}
.panel { background: var(--bg); color: var(--text); }
{% endstylesheet %}
{% style %} writes settings into variables. The static CSS reads them with var(). Those static rules already exist, so you only set the variables.
A range setting is a number, so add the unit yourself: {{ settings.card_radius }}px.