/* Design tokens (defaults = portal look). The EV Portal Core plugin prints overrides after this file.
   Dark values live here too, so the theme looks right without the plugin. Custom colours saved in the
   Design screen apply to the light look; the dark look uses the palette below. */
:root{
	color-scheme:light;
	--evp-ink:#0c1b1a;--evp-ground:#f2f6f5;--evp-surface:#ffffff;--evp-surface-2:#e9f0ee;--evp-muted:#4a605b;--evp-line:#d6e1de;--evp-field-line:#687a76;
	--evp-accent:#2ee6a6;--evp-accent-ink:#006b4b;--evp-tint:#dff7ed;--evp-on-accent:#06231a;
	--evp-footer-bg:#0c1b1a;--evp-band-2:#12302c;--evp-band-ink:#eaf6f2;--evp-band-muted:#9db8b1;--evp-band-line:#244641;
	--evp-good:#0b7a55;--evp-good-soft:#dcf3e8;--evp-amber:#e8a317;--evp-amber-soft:#fdf1d3;--evp-amber-ink:#8a5a00;--evp-bad:#c2410c;--evp-bad-soft:#fde8dc;--evp-glacier:#8fc7e8;--evp-glacier-soft:#e3f1fa;
	--evp-shadow:0 1px 2px rgba(12,27,26,.06),0 12px 32px -12px rgba(12,27,26,.18);
	--evp-font-body:'Inter Variable','Inter Fallback',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
	--evp-font-head:'Manrope Variable','Manrope Fallback','Inter Variable',system-ui,sans-serif;
	--evp-head-weight:700;
	--evp-fs-sm:0.85rem;
	--evp-fs-base:1.063rem;
	--evp-fs-lg:1.328rem;
	--evp-fs-xl:clamp(1.328rem,calc(1.328rem + 0.332 * (100vw - 22.5rem) / 60),1.66rem);
	--evp-fs-xxl:clamp(1.66rem,calc(1.66rem + 0.415 * (100vw - 22.5rem) / 60),2.075rem);
	--evp-fs-display:clamp(2.075rem,calc(2.075rem + 0.519 * (100vw - 22.5rem) / 60),2.594rem);

	--evp-radius:16px;--evp-radius-sm:10px;--evp-space:1rem;--evp-container:1280px;--evp-prose:720px;
	--evp-header-bg:color-mix(in srgb,var(--evp-ground) 82%,transparent);--evp-header-ink:var(--evp-ink);--evp-footer-ink:var(--evp-band-ink);
	/* Neutral car picture placeholder (cars without an uploaded photo) */
	--evp-ph-a:#ffffff;--evp-ph-b:#c9d6d3;--evp-ph-glass:#3b524e;
}
/* Dark look: used when the device asks for it (unless the visitor or the site chose light) or when data-theme="dark" is set. */
@media (prefers-color-scheme:dark){
	:root:not([data-theme="light"]){
		color-scheme:dark;
		--evp-ink:#e8f3f0;--evp-ground:#0a1413;--evp-surface:#101f1d;--evp-surface-2:#162926;--evp-muted:#9db8b1;--evp-line:#223b37;--evp-field-line:#7d9892;
		--evp-accent-ink:#4df0b8;--evp-tint:#12372f;
		--evp-footer-bg:#06100f;--evp-band-2:#0e2623;--evp-band-line:#1d3a35;
		--evp-good:#4df0b8;--evp-good-soft:#0f3328;--evp-amber-soft:#3a2d0b;--evp-amber-ink:#e8a317;--evp-bad:#ff9a66;--evp-bad-soft:#3a1b0e;--evp-glacier-soft:#12303f;
		--evp-shadow:0 1px 2px rgba(0,0,0,.4),0 16px 36px -14px rgba(0,0,0,.7);
		--evp-ph-a:#2a4440;--evp-ph-b:#142623;--evp-ph-glass:#0a1514;
	}
}
:root[data-theme="dark"]{
	color-scheme:dark;
	--evp-ink:#e8f3f0;--evp-ground:#0a1413;--evp-surface:#101f1d;--evp-surface-2:#162926;--evp-muted:#9db8b1;--evp-line:#223b37;--evp-field-line:#7d9892;
	--evp-accent-ink:#4df0b8;--evp-tint:#12372f;
	--evp-footer-bg:#06100f;--evp-band-2:#0e2623;--evp-band-line:#1d3a35;
	--evp-good:#4df0b8;--evp-good-soft:#0f3328;--evp-amber-soft:#3a2d0b;--evp-amber-ink:#e8a317;--evp-bad:#ff9a66;--evp-bad-soft:#3a1b0e;--evp-glacier-soft:#12303f;
	--evp-shadow:0 1px 2px rgba(0,0,0,.4),0 16px 36px -14px rgba(0,0,0,.7);
	--evp-ph-a:#2a4440;--evp-ph-b:#142623;--evp-ph-glass:#0a1514;
}
