/* ULTRA - tokeni, generisano iz tokens.json. Ne uređivati ručno: izmjene idu u dizajn sistem. */
@font-face { font-family: "Manrope"; src: url("fonts/ManropeVariable.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/JetBrainsMonoVariable.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }

:root, [data-theme="light"] {
  --navy: #162129;
  --teal: #1d6b66;
  --teal-light: #4fbfb5;
  --off-white: #f3f5f4;
  --surface: #ffffff;
  --surface-alt: #f3f5f4;
  --surface-raised: #ffffff;
  --surface-sunken: #e9edec;
  --surface-hover: #f6f8f7;
  --surface-selected: #edf3f3;
  --overlay: #16212966;
  --ink: #162129;
  --ink-secondary: #4a5a63;
  --ink-muted: #5b6165;
  --ink-disabled: #9ca3af;
  --ink-on-accent: #ffffff;
  --ink-on-navy: #f3f5f4;
  --ink-on-navy-muted: #b9c9cb;
  --ink-inverse: #ffffff;
  --accent: #1d6b66;
  --accent-hover: #16504d;
  --accent-active: #134f4b;
  --accent-soft: #edf3f3;
  --accent-soft-ink: #15524e;
  --accent-border: #8fc7c2;
  --accent-disabled: #a5c4c2;
  --focus-ring: #1d6b66;
  --focus-ring-on-navy: #4fbfb5;
  --hairline: #d0d4d4;
  --hairline-strong: #b6bdbf;
  --border-control: #7f8b92;
  --border-control-hover: #5b6b74;
  --hairline-navy: #2e3b45;
  --success: #137a4a;
  --success-soft: #e6f4ec;
  --success-border: #a9d9bc;
  --success-solid: #137a4a;
  --warning: #8a5306;
  --warning-soft: #fbf1d6;
  --warning-border: #eacb86;
  --warning-solid: #c98a1e;
  --danger: #b42318;
  --danger-soft: #fdecea;
  --danger-border: #f0b8b2;
  --danger-solid: #b42318;
  --ink-on-danger: #ffffff;
  --info: #255f9c;
  --info-soft: #dde9f6;
  --info-border: #a9c6e6;
  --info-solid: #255f9c;
  --neutral: #5b6b74;
  --neutral-soft: #e6ebed;
  --chart-1: #1d6b66;
  --chart-2: #162129;
  --chart-3: #4fbfb5;
  --chart-4: #c8912a;
  --chart-5: #4a6fa5;
  --chart-6: #9aa5aa;
  --chart-grid: #e4e8e8;
  --chart-negative: #b42318;
  --chart-positive: #137a4a;
  --glass-bg: #ffffffb8;
  --glass-bg-strong: #ffffffe0;
  --glass-border: #16212914;
  --glass-highlight: #ffffff99;
  --glow: #1d6b661f;
  --glow-navy: #4fbfb540;
  --bars-ink: #1d6b66;
  --bars-ink-navy: #4fbfb5;
  --shadow-xs: 0 1px 2px #16212914;
  --shadow-sm: 0 2px 8px #16212914;
  --shadow-md: 0 8px 24px #1621291A;
  --shadow-lg: 0 16px 40px #16212924;
  --shadow-xl: 0 30px 80px #16212929;
  --shadow-focus: 0 0 0 2px #FFFFFF, 0 0 0 4px #1D6B66;
}
[data-theme="dark"] {
  --navy: #162129;
  --teal: #1d6b66;
  --teal-light: #4fbfb5;
  --off-white: #f3f5f4;
  --surface: #121c23;
  --surface-alt: #1c2b34;
  --surface-raised: #162129;
  --surface-sunken: #0d141a;
  --surface-hover: #1f2f39;
  --surface-selected: #173533;
  --overlay: #00000099;
  --ink: #e8edec;
  --ink-secondary: #a9b6bb;
  --ink-muted: #8d9ba1;
  --ink-disabled: #5b6b74;
  --ink-on-accent: #0f1517;
  --ink-on-navy: #f3f5f4;
  --ink-on-navy-muted: #b9c9cb;
  --ink-inverse: #162129;
  --accent: #4fbfb5;
  --accent-hover: #64d3c9;
  --accent-active: #86d6ce;
  --accent-soft: #173533;
  --accent-soft-ink: #9fe0d9;
  --accent-border: #2f6e68;
  --accent-disabled: #2a5b57;
  --focus-ring: #4fbfb5;
  --focus-ring-on-navy: #4fbfb5;
  --hairline: #2e3b45;
  --hairline-strong: #3c4b56;
  --border-control: #6f818b;
  --border-control-hover: #8d9ba1;
  --hairline-navy: #2e3b45;
  --success: #6cc58f;
  --success-soft: #12301d;
  --success-border: #2a5a3e;
  --success-solid: #2f9e73;
  --warning: #e2b33c;
  --warning-soft: #33290f;
  --warning-border: #5c4a1c;
  --warning-solid: #e2b33c;
  --danger: #f08c85;
  --danger-soft: #3a1714;
  --danger-border: #6b2a26;
  --danger-solid: #c4423a;
  --ink-on-danger: #ffffff;
  --info: #7fb2e5;
  --info-soft: #142637;
  --info-border: #28456a;
  --info-solid: #5b98d6;
  --neutral: #a3b1b8;
  --neutral-soft: #232d32;
  --chart-1: #4fbfb5;
  --chart-2: #b9c9cb;
  --chart-3: #1d6b66;
  --chart-4: #e2b33c;
  --chart-5: #7fb2e5;
  --chart-6: #5b6b74;
  --chart-grid: #243039;
  --chart-negative: #f08c85;
  --chart-positive: #6cc58f;
  --glass-bg: #16212999;
  --glass-bg-strong: #162129d9;
  --glass-border: #ffffff1f;
  --glass-highlight: #ffffff1a;
  --glow: #4fbfb533;
  --glow-navy: #4fbfb540;
  --bars-ink: #4fbfb5;
  --bars-ink-navy: #4fbfb5;
  --shadow-xs: 0 1px 2px #00000066;
  --shadow-sm: 0 2px 8px #00000073;
  --shadow-md: 0 8px 24px #00000099;
  --shadow-lg: 0 16px 40px #000000B3;
  --shadow-xl: 0 30px 80px #000000CC;
  --shadow-focus: 0 0 0 2px #121C23, 0 0 0 4px #4FBFB5;
}
:root {
  --space-0\.5: 2px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-2xl: 16px;
  --radius-pill: 999px;
  --control-xs: 28px;
  --control-sm: 32px;
  --control-md: 36px;
  --control-lg: 40px;
  --control-xl: 44px;
  --control-2xl: 48px;
  --icon-sm: 16px;
  --icon-md: 20px;
  --icon-lg: 24px;
  --avatar-sm: 24px;
  --avatar-md: 32px;
  --avatar-lg: 40px;
  --checkbox: 18px;
  --switch-w: 40px;
  --row-compact: 36px;
  --row-comfortable: 44px;
  --row-touch: 52px;
  --content-max: 1280px;
  --content-max-wide: 1440px;
  --content-max-web: 1240px;
  --text-max: 68ch;
  --form-max: 640px;
  --dialog-sm: 400px;
  --dialog-md: 560px;
  --dialog-lg: 800px;
  --sheet-w: 420px;
  --sidebar-w: 256px;
  --sidebar-narrow: 64px;
  --topbar-app: 56px;
  --header-web: 72px;
  --bottom-nav: 64px;
  --gutter-mobile: 16px;
  --gutter-tablet: 24px;
  --gutter-desktop: 32px;
  --grid-gap: 20px;
  --bp-sm: 640px;
  --bp-md: 768px;
  --bp-lg: 1024px;
  --bp-xl: 1280px;
  --duration-instant: 100ms;
  --duration-fast: 160ms;
  --duration-base: 220ms;
  --duration-slow: 360ms;
  --duration-reveal: 520ms;
  --duration-hero: 700ms;
  --stagger: 60ms;
  --duration-exit: 180ms;
  --duration-float: 6s;
  --duration-glow: 900ms;
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --ease-emphasized: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-exit: cubic-bezier(0.4, 0, 1, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-linear: linear;
  --z-base: 0;
  --z-raised: 10;
  --z-header: 100;
  --z-dropdown: 200;
  --z-sheet: 300;
  --z-dialog: 400;
  --z-toast: 500;
  --z-tooltip: 600;
  --opacity-disabled: 0.5;
  --opacity-muted: 0.72;
  --opacity-scrim: 0.4;
  --blur-header: 12px;
  --blur-glass: 16px;
  --blur-glow: 40px;
  --blur-scrim: 2px;
  --font-display: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}
.display-xl { font-family: var(--font-display); font-size: 64px; line-height: 68px; font-weight: 700; letter-spacing: -0.03em; }
.display { font-family: var(--font-display); font-size: 48px; line-height: 52px; font-weight: 700; letter-spacing: -0.025em; }
.h1 { font-family: var(--font-display); font-size: 32px; line-height: 40px; font-weight: 700; letter-spacing: -0.02em; }
.h2 { font-family: var(--font-display); font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: -0.015em; }
.h3 { font-family: var(--font-display); font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; }
.h4 { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 600; }
.lead { font-family: var(--font-sans); font-size: 18px; line-height: 28px; font-weight: 400; }
.body-lg { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 400; }
.body { font-family: var(--font-sans); font-size: 15px; line-height: 22px; font-weight: 400; }
.body-sm { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 400; }
.label { font-family: var(--font-sans); font-size: 13px; line-height: 18px; font-weight: 600; }
.caption { font-family: var(--font-sans); font-size: 13px; line-height: 18px; font-weight: 400; }
.micro { font-family: var(--font-sans); font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: 0.02em; }
.overline { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.08em; }
.button { font-family: var(--font-sans); font-size: 15px; line-height: 20px; font-weight: 600; }
.number-xl { font-family: var(--font-sans); font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -0.02em; }
.number-lg { font-family: var(--font-sans); font-size: 24px; line-height: 28px; font-weight: 700; letter-spacing: -0.01em; }
.number { font-family: var(--font-sans); font-size: 15px; line-height: 22px; font-weight: 500; }
.code { font-family: var(--font-mono); font-size: 13px; line-height: 20px; font-weight: 500; }
.label-mono { font-family: var(--font-mono); font-size: 11.5px; line-height: 16px; font-weight: 500; letter-spacing: 0.12em; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --navy: #162129;
  --teal: #1d6b66;
  --teal-light: #4fbfb5;
  --off-white: #f3f5f4;
  --surface: #121c23;
  --surface-alt: #1c2b34;
  --surface-raised: #162129;
  --surface-sunken: #0d141a;
  --surface-hover: #1f2f39;
  --surface-selected: #173533;
  --overlay: #00000099;
  --ink: #e8edec;
  --ink-secondary: #a9b6bb;
  --ink-muted: #8d9ba1;
  --ink-disabled: #5b6b74;
  --ink-on-accent: #0f1517;
  --ink-on-navy: #f3f5f4;
  --ink-on-navy-muted: #b9c9cb;
  --ink-inverse: #162129;
  --accent: #4fbfb5;
  --accent-hover: #64d3c9;
  --accent-active: #86d6ce;
  --accent-soft: #173533;
  --accent-soft-ink: #9fe0d9;
  --accent-border: #2f6e68;
  --accent-disabled: #2a5b57;
  --focus-ring: #4fbfb5;
  --focus-ring-on-navy: #4fbfb5;
  --hairline: #2e3b45;
  --hairline-strong: #3c4b56;
  --border-control: #6f818b;
  --border-control-hover: #8d9ba1;
  --hairline-navy: #2e3b45;
  --success: #6cc58f;
  --success-soft: #12301d;
  --success-border: #2a5a3e;
  --success-solid: #2f9e73;
  --warning: #e2b33c;
  --warning-soft: #33290f;
  --warning-border: #5c4a1c;
  --warning-solid: #e2b33c;
  --danger: #f08c85;
  --danger-soft: #3a1714;
  --danger-border: #6b2a26;
  --danger-solid: #c4423a;
  --ink-on-danger: #ffffff;
  --info: #7fb2e5;
  --info-soft: #142637;
  --info-border: #28456a;
  --info-solid: #5b98d6;
  --neutral: #a3b1b8;
  --neutral-soft: #232d32;
  --chart-1: #4fbfb5;
  --chart-2: #b9c9cb;
  --chart-3: #1d6b66;
  --chart-4: #e2b33c;
  --chart-5: #7fb2e5;
  --chart-6: #5b6b74;
  --chart-grid: #243039;
  --chart-negative: #f08c85;
  --chart-positive: #6cc58f;
  --glass-bg: #16212999;
  --glass-bg-strong: #162129d9;
  --glass-border: #ffffff1f;
  --glass-highlight: #ffffff1a;
  --glow: #4fbfb533;
  --glow-navy: #4fbfb540;
  --bars-ink: #4fbfb5;
  --bars-ink-navy: #4fbfb5;
  --shadow-xs: 0 1px 2px #00000066;
  --shadow-sm: 0 2px 8px #00000073;
  --shadow-md: 0 8px 24px #00000099;
  --shadow-lg: 0 16px 40px #000000B3;
  --shadow-xl: 0 30px 80px #000000CC;
  --shadow-focus: 0 0 0 2px #121C23, 0 0 0 4px #4FBFB5;
  }
}
