/* Posao Theme: design tokens. Source: Theme 2.0 Design mockup (accepted 2026-11-12). */
:root {
	/* Brand */
	--pt-navy: #313a87;
	--pt-navy-700: #262d6b;
	--pt-navy-50: #eef0fb;
	--pt-orange: #f97316;      /* logo, pins, accents; never under white text */
	--pt-orange-600: #ea580c;  /* buttons with white text (large or bold text only) */
	--pt-orange-700: #c2410c;  /* small orange text and links on white (5.2:1) */
	--pt-orange-50: #fff4ea;

	/* Surfaces and text */
	--pt-bg: #f5f6fa;
	--pt-surface: #fff;
	--pt-surface-2: #f0f2f8;
	--pt-text: #14172b;
	--pt-muted: #5b6078;
	--pt-border: #e3e6ef;
	--pt-link: var(--pt-orange-700);

	/* States and sources */
	--pt-ok: #0f8a5f;
	--pt-hzz: #0b5cab;
	--pt-hzz-bg: #e8f1fb;

	/* Shape */
	--pt-radius: 14px;
	--pt-radius-sm: 10px;
	--pt-pill: 999px;
	--pt-shadow: 0 1px 2px rgba(20, 23, 43, .06), 0 4px 16px rgba(20, 23, 43, .06);
	--pt-shadow-lg: 0 8px 32px rgba(20, 23, 43, .16);

	/* Type */
	--pt-font: Inter, "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
	--pt-text-xs: .75rem;
	--pt-text-sm: .875rem;
	--pt-text-md: 1rem;
	--pt-text-lg: 1.125rem;
	--pt-text-xl: 1.375rem;
	--pt-text-2xl: 1.75rem;
	--pt-text-3xl: 2.25rem;
	--pt-leading: 1.55;
	--pt-leading-tight: 1.25;

	/* Space */
	--pt-space-1: 4px;
	--pt-space-2: 8px;
	--pt-space-3: 12px;
	--pt-space-4: 16px;
	--pt-space-5: 24px;
	--pt-space-6: 32px;
	--pt-space-7: 48px;
	--pt-space-8: 64px;

	/* Layout */
	--pt-content: 1140px;
	--pt-content-narrow: 760px;
	--pt-header-h: 64px;
	--pt-bnav-h: 0px;

	color-scheme: light;
}

[data-theme="dark"] {
	--pt-bg: #0e1020;
	--pt-surface: #181b30;
	--pt-surface-2: #20243d;
	--pt-text: #eef0fa;
	--pt-muted: #a3a8c3;
	--pt-border: #2b3052;
	--pt-navy-50: #232850;
	--pt-orange-50: #3a2413;
	--pt-link: #fdba74;
	--pt-ok: #4fd1a1;
	--pt-hzz: #7db7f5;
	--pt-hzz-bg: #12294a;
	--pt-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 4px 16px rgba(0, 0, 0, .3);

	color-scheme: dark;
}

@media (max-width: 47.99em) {
	:root {
		--pt-header-h: 56px;
		--pt-bnav-h: 60px;
	}
}
