/**
 * Design tokens.
 *
 * Color values below are the "Clear Skies" fallbacks. The saved palette from
 * the Weather Wolf 2.0 admin menu is printed inline in <head> and overrides them.
 */
:root {
	--bg: #F0F0F0;
	--card: #E6E6E6;
	--text: #050505;
	--text-2: #F0F0F0;
	--accent: #D62626;
	--accent-hover: #9E1B1B;
	--acctext: #F0F0F0;
	--twistex: #F05A28;

	/* Link colors. Each palette block overrides these; dark cards get a brighter accent. */
	--link: var(--accent);
	--link-hover: var(--accent-hover);
	--title-link: var(--link);

	--font-base: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

	--space-1: 4px;
	--space-2: 8px;
	--space-3: 12px;
	--space-4: 16px;
	--space-5: 24px;
	--space-6: 40px;

	--radius-sm: 12px;
	--radius-md: 16px;
	--radius-pill: 999px;

	--container-width: 1400px;
	--header-width: 1500px;

	/* Base type (Bricks defaults: 15px body, 1.7 leading). */
	--text-size: 15px;
	--text-size-sm: 14px;
	--text-size-xs: 12px;
	--text-size-lg: 18px;
	--line-height: 1.7;
	--line-height-heading: 1.4;

	/* Log cards. */
	--card-thumb-width: 375px;

	--color-chrome-dark: #212121;

	/* Status dots used on chase log cards. */
	--color-status-full: #00C52E;
	--color-status-progress: #EAC518;
	--color-status-none: #B02615;
}

/*
 * Semantic aliases. Declared on [data-theme] as well, so they resolve against
 * whichever element switches the palette.
 */
:root,
[data-theme] {
	--color-bg: var(--bg);
	--color-surface: var(--card);
	--color-text: var(--text);
	--color-text-secondary: var(--text-2);
	--color-accent: var(--accent);
	--color-accent-hover: var(--accent-hover);

	/* Readable on --card in both palettes (--text-2 is not in Clear Skies). */
	--color-muted: color-mix(in srgb, var(--text) 68%, var(--card));
	--color-divider: color-mix(in srgb, var(--text) 14%, transparent);
}
