











@font-face {
  font-family: "Jakarta";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/fonts/jakarta-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jakarta";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/fonts/jakarta-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url(/fonts/literata-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url(/fonts/literata-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/plexmono-400-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/plexmono-400-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}



:root {
  --bg: #090d18;
  --surface: #121a2b;
  --surface-2: #18223a;
  --surface-3: #1f2b46;
  --line: #24304a;
  --line-soft: #1b2540;
  --well: #0c1322;

  --text: #f3f7ff;
  --dim: #b3c0d8;
  --faint: #8394b0;

  --accent: #7c5cff;
  --accent-soft: #a48cff;
  --accent-dim: rgba(124, 92, 255, 0.14);
  --accent-line: rgba(124, 92, 255, 0.42);
  --cyan: #22d3ee;

  --brand-red: #e11d48;
  --brand-red-soft: #fb7185;
  --ok: #34d399;
  --ok-dim: rgba(52, 211, 153, 0.13);
  --danger: #fb7185;
  --danger-dim: rgba(251, 113, 133, 0.13);
  --warn: #fbbf24;

  --sans: "Jakarta", "Segoe UI", system-ui, sans-serif;
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --mono: "Plex Mono", ui-monospace, Menlo, monospace;

  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 8px;
  --nav-w: 390px;
}

* {
  box-sizing: border-box;
}




[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  padding: 0;
}


html {
  font-size: 19px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.72;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 2px;
  border-radius: 4px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.muted {
  color: var(--dim);
  font-size: 0.95rem;
}

.mono {
  font-family: var(--mono);
  font-size: 0.9em;
  word-break: break-all;
}



@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.rise { animation: rise 0.4s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
.rise-1 { animation-delay: 0.05s; }
.rise-2 { animation-delay: 0.12s; }
.rise-3 { animation-delay: 0.19s; }

@media (prefers-reduced-motion: reduce) {
  .rise, .rise-1, .rise-2, .rise-3 { animation: none; }
}



.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: clamp(4px, 0.5vh, 11px) 26px;
  background: rgba(9, 13, 24, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  background: var(--brand-red);
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-text strong {
  font-size: 1.15rem;
  font-weight: 700;
}

.topbar-note {
  margin-left: auto;
  color: var(--faint);
  font-size: 1rem;
}



.search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-select,
.search-input {
  min-width: 0;
}

.search-select { flex-shrink: 0; }
.search-input { flex: 1; }

.search-input input,
.search-select select {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 11px 14px;
}

.field-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.search-field {
  appearance: none;
  cursor: pointer;
  padding-right: 34px;
  background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%),
    linear-gradient(135deg, var(--dim) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.search-field:hover,
.search input:hover { border-color: var(--surface-3); }

.search-field:focus,
.search input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.search button {
  flex-shrink: 0;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  padding: 11px 24px;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: background 0.15s;
}

.search button:hover { background: #8f73ff; }



.suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  max-height: 46vh;
  overflow: auto;
  z-index: 50;
  text-align: left;
}

.suggestions li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  padding: 7px 10px;
  border-radius: var(--r-sm);
  cursor: pointer;
}

.suggestions .s-name {
  font-size: 0.98rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggestions li:hover,
.suggestions li.active { background: var(--accent-dim); }

.suggestions .s-name { font-weight: 600; }

.suggestions .s-meta {
  margin-left: auto;
  color: var(--faint);
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.suggestions.up {
  top: auto;
  bottom: calc(100% + 8px);
}

.suggestions .s-more {
  grid-column: 1 / -1;
  cursor: default;
  justify-content: center;
  color: var(--accent-soft);
  font-size: 0.86rem;
}

.suggestions .s-more:hover { background: transparent; }



.layout {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 36px;
  width: 100%;
  padding: clamp(8px, 1vh, 22px) 26px clamp(8px, 1vh, 22px);
}

main {
  flex: 1 1 auto;
  min-width: 0;
  

  max-width: 1120px;
  margin: 0 auto;
}



.hero,
.search-hero,
.article {
  scroll-margin-top: 104px;
}


.hero,
.article {
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: clamp(4px, 1.05vh, 18px);
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--accent-soft);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(1.5rem, 1.08rem + 1.6vh, 2.25rem);
  margin-bottom: clamp(6px, 0.9vh, 19px);
}



.prose {
  max-width: 88ch;
  margin: 0 auto;
  text-align: center;
  font-family: var(--serif);
}

.prose p {
  

  margin: 0 0 clamp(5px, calc(-7px + 1.78vh), 30px);
  font-size: clamp(0.9rem, 0.18rem + 1.85vh, 1.55rem);
  line-height: 1.58;
  
  color: #ccd7ea;
}

.prose p:last-child { margin-bottom: 0; }

.prose strong {
  color: var(--text);
  font-weight: 700;
}









.search-hero {
  max-width: none;
  margin: clamp(13px, 2.55vh, 50px) auto 0;
  padding: 10px 16px 8px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--accent-line);
  border-radius: var(--r-lg);
}

.search-hero h2 {
  font-size: clamp(1.05rem, 0.82rem + 0.72vh, 1.55rem);
  margin: 0;
  text-align: center;
}






.search-hero-head {
  display: grid;
  justify-items: center;
  gap: clamp(6px, 0.9vh, 16px);
}

.search-hero-head .search {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(6px, 0.9vh, 16px);
}

.search-hero .search {
  width: 100%;
  margin: 0;
}

.search-hero .search-field,
.search-hero .search input {
  border-color: var(--accent-line);
  background: var(--bg);
}

.search-hero .search-field:focus,
.search-hero .search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-dim);
}

.search-hero .search button {
  box-shadow: 0 6px 20px rgba(124, 92, 255, 0.35);
}

.search-hero .search-field {
  font-size: clamp(0.9rem, 0.64rem + 0.72vh, 1.3rem);
  padding: clamp(8px, 1.05vh, 17px) 32px clamp(8px, 1.05vh, 17px) 12px;
}

.search-hero .search input {
  font-size: clamp(0.96rem, 0.7rem + 0.72vh, 1.35rem);
  padding: clamp(8px, 1.05vh, 17px) 14px;
}

.search-hero .search button {
  padding: clamp(8px, 1.05vh, 17px) clamp(20px, 2.4vh, 46px);
  font-size: clamp(0.94rem, 0.66rem + 0.76vh, 1.3rem);
}

.search-hero-hint {
  margin: 6px 0 0;
  color: var(--faint);
  font-size: 0.74rem;
}

.search-hero-hint b { color: var(--dim); }



.panel {
  margin-top: 36px;
  scroll-margin-top: 104px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.panel-head h2 {
  font-size: 1.7rem;
}

.ghost {
  font-family: var(--sans);
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--dim);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 9px 16px;
  cursor: pointer;
}

.ghost:hover {
  color: var(--text);
  border-color: var(--surface-3);
}



.results {
  display: grid;
  gap: 8px;
}

.result {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 15px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}

.result:hover,
.result:focus-visible {
  background: var(--surface-2);
  border-color: var(--accent-line);
  transform: translateX(3px);
}

.result .avatar {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--accent-dim);
  color: var(--accent-soft);
  font-size: 1.05rem;
  font-weight: 700;
}

.result .r-main { min-width: 0; }

.result .r-name {
  font-size: 1.16rem;
  font-weight: 700;
}

.result .r-meta {
  margin-top: 2px;
  color: var(--dim);
  font-size: 0.94rem;
}

.result .r-meta a {
  color: var(--accent-soft);
  border-bottom: 1px solid var(--accent-line);
}

.result .r-reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}

.r-reason {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--dim);
  font-size: 0.78rem;
}

.result .r-right {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.result .r-open {
  color: var(--accent-soft);
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
}



#profile { counter-reset: sekcija; }

.profile-head {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-align: left;
}

.profile-avatar {
  width: 78px;
  height: 78px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--accent);
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
}

.profile-head h3 {
  font-size: 2rem;
}

.profile-head .muted { margin-top: 4px; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-head .chips { margin-top: 10px; }

.tag {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--surface-3);
  color: var(--dim);
}

.tag.ok {
  background: var(--ok-dim);
  color: var(--ok);
}

.tag.bad {
  background: var(--danger-dim);
  color: var(--danger);
}


.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.hl {
  padding: 20px 22px;
  background: rgba(225, 29, 72, 0.09);
  border: 1px solid rgba(225, 29, 72, 0.45);
  border-left: 4px solid var(--brand-red);
  border-radius: var(--r-md);
  text-align: left;
}

.hl-label {
  display: block;
  color: var(--brand-red-soft);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hl-value {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.18;
  overflow-wrap: anywhere;
}




.num.is-bad {
  color: var(--faint);
  text-decoration: line-through;
  text-decoration-color: var(--brand-red);
  text-decoration-thickness: 2px;
}

.hl-phone {
  font-family: var(--mono);
  font-size: 1.6rem;
}

.hl-sub {
  display: block;
  margin-top: 6px;
  color: var(--faint);
  font-size: 0.92rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
  gap: 18px;
  margin-top: 18px;
}




#profile > 



.section-body {
  overflow-x: auto;
}



.num-date {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.35;
}










.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.x-chat {
  --x-bg: #000000;
  --x-bal: #2f3336;
  --x-tekst: #e7e9ea;
  --x-tiho: #71767b;
  --x-plavo: #1d9bf0;
  --x-ivica: #2f3336;
  text-align: left;
  margin-top: clamp(12px, 1.6vh, 26px);
  border: 1px solid var(--x-ivica);
  border-radius: 18px;
  background: var(--x-bg);
  overflow: hidden;
}


.x-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--x-ivica);
}


.x-head-tekst {
  flex: 0 1 auto;
}

.x-head-ava {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #536471, #2f3336);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.x-head-tekst {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-right: auto;
}

.x-head-tekst strong {
  color: var(--x-tekst);
  font-size: 1.05rem;
  font-weight: 800;
  white-space: nowrap;
}

.x-head-tekst span {
  color: var(--x-tiho);
  font-size: 0.82rem;
  white-space: nowrap;
}

.x-trazi {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}

.x-trazi select,
.x-trazi input {
  padding: 8px 12px;
  border: 1px solid var(--x-ivica);
  border-radius: 999px;
  background: #16181c;
  color: var(--x-tekst);
  font: inherit;
  font-size: 0.86rem;
}

.x-trazi select {
  cursor: pointer;
  appearance: none;
  padding-right: 26px;
  background-image: linear-gradient(45deg, transparent 50%, var(--x-tiho) 50%),
    linear-gradient(135deg, var(--x-tiho) 50%, transparent 50%);
  background-position: right 13px center, right 8px center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.x-trazi input {
  flex: 0 1 clamp(140px, 18vw, 240px);
  min-width: 110px;
}



.x-trazi input[type="date"] {
  flex: 0 1 170px;
  min-width: 140px;
  padding: 7px 10px;
  font-size: 0.84rem;
  color-scheme: dark;
}

.x-trazi input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.55;
}

.x-trazi input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

.x-trazi select:focus-visible,
.x-trazi input:focus-visible {
  outline: 2px solid var(--x-plavo);
  outline-offset: 1px;
}

.x-dugme {
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--x-plavo);
  color: #fff;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}

.x-dugme:hover {
  background: #1a8cd8;
}

.x-dugme.is-tiho {
  background: transparent;
  color: var(--x-tiho);
  box-shadow: inset 0 0 0 1px var(--x-ivica);
}

.x-dugme.is-tiho:hover {
  background: #16181c;
  color: var(--x-tekst);
}




.x-upozorenje {
  margin: 0;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(225, 29, 72, 0.5);
  background: rgba(225, 29, 72, 0.14);
  color: #ffd7de;
  font-size: 0.88rem;
  line-height: 1.5;
  text-align: left;
}

.x-upozorenje code {
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.4);
  font-family: var(--mono);
  font-size: 0.86em;
}

.x-log {
  height: clamp(520px, 84vh, 1400px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px 18px 20px;
  scrollbar-width: thin;
  scrollbar-color: #3a3f45 transparent;
  background: var(--x-bg);
}


.x-datum {
  margin: 18px 0 14px;
  color: var(--x-tiho);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
}

.x-msg {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  margin-bottom: 6px;
}


.x-msg.is-nastavak {
  margin-top: -4px;
}

.x-ava {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  align-self: start;
}

.x-ava.is-skriven {
  background: transparent;
}

.x-desno {
  min-width: 0;
}

.x-glava {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
  margin-bottom: 3px;
  padding-left: 4px;
}

.x-ime {
  color: var(--x-tekst);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.x-ime:hover {
  text-decoration: underline;
}

.x-nalog {
  color: var(--x-tiho);
  font-size: 0.8rem;
}


.x-balon {
  display: inline-flex;
  align-items: flex-end;
  gap: 10px;
  max-width: min(100%, 66ch);
  padding: 9px 14px 8px;
  border-radius: 18px;
  background: var(--x-bal);
  color: var(--x-tekst);
  font-size: 0.94rem;
  line-height: 1.45;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: pre-wrap;
}

.x-vreme {
  flex: 0 0 auto;
  transform: translateY(2px);
  color: var(--x-tiho);
  font-size: 0.72rem;
  line-height: 1;
  white-space: nowrap;
}

.x-prazno {
  color: var(--x-tiho);
  font-style: italic;
}

.x-status {
  margin: 0;
  padding: 10px 16px;
  border-top: 1px solid var(--x-ivica);
  background: var(--x-bg);
  color: var(--x-tiho);
  font-size: 0.82rem;
  text-align: center;
}

@media (max-width: 1000px) {
  
  .x-head {
    flex-wrap: wrap;
  }
  .x-trazi {
    width: 100%;
    justify-content: flex-start;
  }
  .x-trazi input {
    width: auto;
    flex: 1;
  }
  .x-log {
    height: clamp(420px, 74vh, 900px);
  }
}

.section { margin-top: 20px; }

.section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  counter-increment: sekcija;
  text-align: left;
}

.section > h4 {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 22px;
  font-size: 1.22rem;
  font-weight: 700;
  border-bottom: 1px solid var(--line-soft);
}

.section > h4::before {
  content: counter(sekcija, decimal-leading-zero);
  padding: 3px 9px;
  border-radius: var(--r-sm);
  background: var(--accent-dim);
  color: var(--accent-soft);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 400;
}

.section-note {
  margin: 0;
  padding: 16px 22px 18px;
  color: var(--dim);
  font-size: 1rem;
  line-height: 1.6;
}


.kv {
  display: grid;
  grid-template-columns: minmax(150px, 36%) 1fr;
  margin: 0;
}

.kv dt,
.kv dd {
  margin: 0;
  padding: 15px 22px;
  border-bottom: 1px solid var(--line-soft);
}

.kv dt {
  color: var(--dim);
  font-size: 1.04rem;
}

.kv dd {
  color: var(--text);
  font-size: 1.12rem;
  overflow-wrap: anywhere;
  border-left: 1px solid var(--line-soft);
}

.kv dt:last-of-type,
.kv dd:last-of-type { border-bottom: 0; }



.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.08rem;
  background: var(--well);
  box-shadow: inset 0 0 0 1px var(--accent-line);
}

.tbl th {
  padding: 13px 20px;
  text-align: left;
  background: var(--accent-dim);
  color: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--accent-line);
}

.tbl td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
  

  overflow-wrap: break-word;
  word-break: normal;
}

.tbl tr:last-child td { border-bottom: 0; }



.tbl td:first-child {
  color: var(--dim);
  font-weight: 500;
}

.tbl td:not(:first-child) {
  color: #fff;
  font-weight: 600;
}


.tbl .stacked {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.45;
}



.tbl .num {
  font-family: var(--mono);
  font-size: 0.98rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--accent-soft);
}

.chip {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--text);
  font-size: 0.96rem;
}

.chip.accent {
  background: var(--accent-dim);
  color: var(--accent-soft);
}

.net-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 18px 20px;
}

.flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--faint);
  font-size: 0.94rem;
}

.flag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--surface-3);
}

.flag.on {
  background: var(--ok-dim);
  color: var(--ok);
}

.flag.on::before { background: var(--ok); }

.list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list li {
  padding: 13px 20px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 1.06rem;
}

.list li:last-child { border-bottom: 0; }

.list li .li-sub {
  display: block;
  margin-top: 3px;
  color: var(--faint);
  font-size: 0.94rem;
  overflow-wrap: anywhere;
}

.list li.hidden-acc { opacity: 0.6; }

.list li.hidden-acc .li-name {
  text-decoration: line-through;
  text-decoration-color: var(--faint);
}

.acc-state {
  display: inline-block;
  white-space: nowrap;
  margin-left: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.acc-state.removed { background: var(--danger-dim); color: var(--danger); }
.acc-state.pending { background: rgba(251, 191, 36, 0.14); color: var(--warn); }
.acc-state.verified { background: var(--ok-dim); color: var(--ok); }

a.ext {
  color: var(--cyan);
  border-bottom: 1px solid rgba(34, 211, 238, 0.4);
}

a.ext:hover { border-bottom-color: var(--cyan); }

.empty {
  margin: 0;
  padding: 16px 20px;
  color: var(--faint);
  font-size: 1.02rem;
}




.tech-panel {
  margin-top: 18px;
  background: var(--surface);
  border: 1px solid var(--accent-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-align: left;
}

.tech-panel > h4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: var(--accent-dim);
  color: var(--accent-soft);
  font-size: 1.22rem;
  font-weight: 700;
  border-bottom: 1px solid var(--accent-line);
}

.tech-panel > h4 span {
  color: var(--faint);
  font-size: 0.86rem;
  font-weight: 500;
}

.tech-panel .kv dd {
  font-family: var(--mono);
  font-size: 1rem;
}


.more {
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}

.more > summary {
  cursor: pointer;
  padding: 13px 20px;
  color: var(--accent-soft);
  font-size: 0.98rem;
  font-weight: 600;
  list-style: none;
}

.more > summary::-webkit-details-marker { display: none; }
.more > summary:hover { background: var(--accent-dim); }

.more-body .tbl th { background: var(--surface-3); }



.article {
  margin-top: clamp(14px, 1.9vh, 30px);
  padding: clamp(12px, 1.6vh, 28px) clamp(20px, 2.6vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.article h2 {
  font-size: clamp(1.45rem, 0.95rem + 1.45vh, 2.1rem);
  margin-bottom: clamp(8px, 1.1vh, 20px);
}

.article-sub {
  margin: clamp(10px, 1.4vh, 26px) auto clamp(6px, 0.8vh, 14px);
  font-size: clamp(1.15rem, 0.95rem + 0.6vh, 1.45rem);
}

.prose-p {
  max-width: 72ch;
  margin: 0 auto clamp(8px, 1.1vh, 18px);
  text-align: center;
  

  font-family: var(--serif);
  font-size: clamp(0.95rem, 0.72rem + 0.68vh, 1.28rem);
  line-height: 1.62;
  color: #ccd7ea;
}

.prose-p strong { color: var(--text); }
.prose-p:last-child { margin-bottom: 0; }

.bignum {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(10px, 1.2vh, 18px);
  margin: clamp(8px, 1.1vh, 20px) 0;
}

.bignum > div {
  padding: 22px 24px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-align: center;
}

.bignum .v {
  display: block;
  color: var(--accent-soft);
  font-size: clamp(1.35rem, 0.78rem + 1.4vh, 2.2rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.bignum .u {
  font-size: 0.58em;
  font-weight: 600;
  color: var(--dim);
}

.bignum .l {
  display: block;
  margin-top: clamp(4px, 0.6vh, 10px);
  color: var(--dim);
  font-size: clamp(0.85rem, 0.68rem + 0.42vh, 1.05rem);
}

.figure {
  margin: clamp(8px, 1.1vh, 20px) auto 0;
  text-align: center;
}

.figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
}

.figure figcaption {
  margin-top: clamp(4px, 0.55vh, 9px);
  color: var(--faint);
  font-size: clamp(0.74rem, 0.62rem + 0.3vh, 0.9rem);
  line-height: 1.5;
}

.note {
  max-width: none;
  margin: 28px auto 0;
  padding: 20px 22px;
  text-align: center;
  border-radius: var(--r-md);
  background: var(--surface-2);
  border-left: 3px solid var(--accent);
  color: var(--dim);
  font-size: 1.14rem;
  line-height: 1.65;
}

.note strong { color: var(--text); }

.tasks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: none;
  margin: 0 auto 22px;
  padding: 0;
  list-style: none;
}

.tasks li {
  padding: 10px 19px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 1.12rem;
  line-height: 1.5;
}

.article.is-todo { border-style: dashed; }



.sidenav {
  flex: 0 0 var(--nav-w);
  width: var(--nav-w);
  position: sticky;
  top: 104px;
  align-self: flex-start;
  padding: clamp(11px, 1.7vh, 30px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.nav-head {
  margin: 0 0 7px;
  padding-bottom: 5px;
  color: var(--faint);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sidenav nav {
  display: grid;
  gap: 3px;
}

.nav-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 9px;
  padding: clamp(3px, 1vh, 16px) 9px;
  border-radius: var(--r-md);
  color: var(--dim);
  

  font-size: 0.84rem;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}

.nav-link:hover {
  background: var(--surface-2);
  color: var(--text);
}


.nav-link.is-active {
  background: var(--accent-dim);
  color: var(--text);
}

.nav-link.is-active .nav-num {
  background: var(--accent);
  color: #fff;
}

.nav-num {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: var(--r-sm);
  background: var(--surface-3);
  color: var(--accent-soft);
  font-family: var(--mono);
  font-size: 0.66rem;
}

.nav-state {
  color: var(--faint);
  font-size: 0.7rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav-note {
  margin: 7px 0 0;
  padding-top: 6px;
  border-top: 1px solid var(--line-soft);
  color: var(--faint);
  font-size: 0.7rem;
  line-height: 1.4;
}


.nav-link.is-todo {
  cursor: default;
  opacity: 0.5;
}

.nav-link.is-todo:hover {
  background: transparent;
  color: var(--dim);
}



.footer {
  border-top: 1px solid var(--line);
  padding: clamp(6px, 0.7vh, 15px) 26px;
  color: var(--faint);
  font-size: 0.82rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  justify-content: space-between;
}



.footer-logo {
  display: block;
  height: 34px;
  width: auto;
  flex-shrink: 0;
  opacity: 0.9;
}


























































































#o-tvorcu .prose p,
#pregled .prose p {
  margin-bottom: clamp(8px, calc(-8px + 2.1vh), 32px);
  font-size: clamp(0.94rem, 0.24rem + 1.85vh, 1.6rem);
  line-height: 1.7;
}



.side-firm {
  margin: clamp(10px, 1.5vh, 26px) auto clamp(4px, 0.6vh, 10px);
  text-align: center;
}

.side-firm-label {
  display: block;
  margin-bottom: clamp(6px, 0.9vh, 14px);
  color: var(--dim);
  font-size: clamp(0.92rem, 0.72rem + 0.55vh, 1.2rem);
}

.side-firm-name {
  display: inline-block;
  padding: clamp(6px, 0.9vh, 16px) clamp(18px, 2.4vw, 42px);
  border-radius: var(--r-md);
  background: var(--brand-red);
  color: #fff;
  font-size: clamp(1.3rem, 0.85rem + 1.3vh, 2.1rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  box-shadow: 0 0 44px rgba(225, 29, 72, 0.45);
}




.bignum-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bignum-2 > div {
  padding: clamp(6px, 0.85vh, 14px);
  text-align: center;
  border-radius: var(--r-md);
  background: var(--well);
  box-shadow: inset 0 0 0 1px var(--line);
}


.bignum .is-hot {
  background: rgba(225, 29, 72, 0.09);
  box-shadow: inset 0 0 0 1px rgba(225, 29, 72, 0.45);
}

.bignum .is-hot .v {
  color: var(--brand-red-soft);
  text-shadow: 0 0 30px rgba(225, 29, 72, 0.45);
}

.bignum-line {
  margin: 0 auto clamp(8px, 1.1vh, 20px);
  text-align: center;
  color: var(--text);
  font-size: clamp(0.92rem, 0.72rem + 0.5vh, 1.25rem);
  font-weight: 600;
}



.figure-wide {
  margin-bottom: 0;
}



.figure-wide img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  cursor: zoom-in;
}

.figure-wide a {
  display: inline-block;
  line-height: 0;
}





.step-note {
  margin: clamp(6px, 0.9vh, 14px) auto clamp(12px, 1.6vh, 26px);
  max-width: 72ch;
  text-align: center;
  color: var(--faint);
  font-size: clamp(0.82rem, 0.68rem + 0.38vh, 1rem);
  line-height: 1.55;
  font-style: italic;
}




.geo-pick {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(8px, 1.1vh, 16px);
  margin: clamp(12px, 1.6vh, 26px) 0 clamp(10px, 1.3vh, 20px);
  text-align: left;
}

.geo-field {
  display: grid;
  gap: 5px;
}

.geo-label {
  color: var(--faint);
  font-size: clamp(0.72rem, 0.62rem + 0.26vh, 0.86rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.geo-field select {
  width: 100%;
  padding: clamp(8px, 1.05vh, 15px) 34px clamp(8px, 1.05vh, 15px) 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--well);
  color: var(--text);
  font: inherit;
  font-size: clamp(0.88rem, 0.7rem + 0.42vh, 1.06rem);
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--faint) 50%),
    linear-gradient(135deg, var(--faint) 50%, transparent 50%);
  background-position: right 16px center, right 11px center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.geo-field select:focus-visible {
  outline: 2px solid var(--accent-line);
  outline-offset: 1px;
}




.geo-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  


  grid-template-rows: clamp(250px, 52vh, 560px);
  gap: clamp(6px, 0.8vw, 12px);
}

.geo-list {
  

  position: relative;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--well);
  padding: 4px;
  text-align: left;
  scrollbar-width: thin;
}

.geo-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: clamp(6px, 0.8vh, 12px) 10px;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--dim);
  font: inherit;
  font-size: clamp(0.84rem, 0.68rem + 0.4vh, 1.02rem);
  text-align: left;
  cursor: pointer;
}

.geo-item:hover {
  background: var(--surface-2);
  color: var(--text);
}

.geo-item.is-active {
  background: var(--accent-dim);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--accent-line);
}

.geo-item.is-flash {
  background: var(--accent-dim);
}

.geo-item-name {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.geo-item-okrug {
  color: var(--faint);
  font-size: 0.88em;
  white-space: nowrap;
}

.geo-item-count {
  color: var(--accent-soft);
  font-size: 0.9em;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}


.geo-az {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0;
  height: 100%;
  padding: 5px 3px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--well);
}

.geo-az-letter {
  min-width: 26px;
  padding: 1px 5px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--dim);
  font-family: var(--mono);
  font-size: clamp(0.66rem, 0.56rem + 0.24vh, 0.8rem);
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
}

.geo-az-letter:hover {
  background: var(--accent-dim);
  color: var(--text);
}

.geo-az-letter.is-off {
  color: var(--line);
  cursor: default;
}


.geo-vise {
  margin-top: clamp(6px, 0.9vh, 14px);
  padding: 5px 12px;
  border: 1px solid var(--accent-line);
  border-radius: var(--r-sm);
  background: var(--accent-dim);
  color: var(--accent-soft);
  font: inherit;
  font-size: clamp(0.76rem, 0.64rem + 0.3vh, 0.92rem);
  font-weight: 600;
  cursor: pointer;
}

.geo-vise:hover {
  color: var(--text);
}

.geo-hint {
  margin: clamp(14px, 1.8vh, 28px) 0 0;
  color: var(--faint);
  font-size: clamp(0.86rem, 0.7rem + 0.4vh, 1.05rem);
  text-align: center;
}



.geo-head {
  margin: clamp(16px, 2.1vh, 34px) 0 clamp(8px, 1.1vh, 18px);
  padding-bottom: clamp(8px, 1.1vh, 18px);
  border-bottom: 1px solid var(--line);
}

.geo-head h3 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: clamp(1.2rem, 0.92rem + 0.85vh, 1.7rem);
  font-weight: 700;
}

.geo-head-meta {
  margin: 0;
  color: var(--faint);
  font-size: clamp(0.78rem, 0.66rem + 0.32vh, 0.95rem);
}

.geo-head-meta strong {
  color: var(--accent-soft);
}

.geo-role {
  margin: 0 0 clamp(8px, 1.1vh, 18px);
  padding: clamp(8px, 1.1vh, 18px) clamp(10px, 1.3vw, 18px);
  border-radius: var(--r-md);
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  text-align: left;
}


.geo-role[data-rang="1"],
.geo-role[data-rang="2"],
.geo-role[data-rang="3"] {
  box-shadow: inset 3px 0 0 var(--brand-red), inset 0 0 0 1px var(--line-soft);
}

.geo-role h4 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 clamp(5px, 0.7vh, 12px);
  color: var(--accent-soft);
  font-size: clamp(0.86rem, 0.72rem + 0.4vh, 1.06rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.geo-role[data-rang="1"] h4,
.geo-role[data-rang="2"] h4,
.geo-role[data-rang="3"] h4 {
  color: var(--brand-red-soft);
}

.geo-role-broj {
  color: var(--faint);
  font-weight: 600;
}




.geo-people {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.geo-person {
  display: grid;
  grid-template-columns: minmax(150px, 230px) minmax(0, 1fr);
  align-items: start;
  gap: 4px 16px;
  padding: clamp(5px, 0.7vh, 11px) 0;
  border-bottom: 1px solid var(--line-soft);
}

.geo-person:last-child {
  border-bottom: 0;
}

.geo-person-who {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 7px;
}

.geo-person-link {
  display: inline-flex;
  align-items: baseline;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.geo-person-link:hover {
  border-bottom-color: var(--accent-line);
}



.geo-person-ime {
  font-weight: 600;
  white-space: nowrap;
}

.geo-person-nalozi {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
}

a.geo-person-nalog {
  padding: 1px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--well);
  color: var(--dim);
  font-size: 0.86em;
  white-space: nowrap;
  text-decoration: none;
}

a.geo-person-nalog:hover {
  border-color: var(--accent-line);
  background: var(--accent-dim);
  color: var(--text);
}

.geo-person-broj,
.geo-person-tag,
.geo-person-poz {
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--faint);
  font-size: 0.7em;
  white-space: nowrap;
}

.geo-person-broj,
.geo-person-tag {
  background: var(--accent-dim);
  color: var(--accent-soft);
}



.explain {
  margin: clamp(12px, 1.6vh, 26px) 0 clamp(4px, 0.6vh, 10px);
  padding: clamp(12px, 1.6vh, 26px) clamp(14px, 1.8vw, 28px);
  border-radius: var(--r-md);
  background: var(--well);
  box-shadow: inset 0 0 0 1px var(--line);
  text-align: left;
}

.explain h3 {
  margin: 0 0 clamp(8px, 1.1vh, 18px);
  color: var(--text);
  font-size: clamp(1.05rem, 0.84rem + 0.6vh, 1.4rem);
  font-weight: 700;
}

.explain p {
  margin: 0 0 clamp(7px, 1vh, 16px);
  color: var(--dim);
  font-size: clamp(0.9rem, 0.72rem + 0.45vh, 1.12rem);
  line-height: 1.6;
}

.explain p:last-child {
  margin-bottom: 0;
}

.explain strong {
  color: #fff;
}


.explain-key {
  margin-top: clamp(10px, 1.4vh, 22px) !important;
  color: var(--brand-red-soft) !important;
  font-size: clamp(1rem, 0.78rem + 0.62vh, 1.35rem) !important;
  font-weight: 700;
  text-align: center;
}

.explain ul {
  margin: 0 0 clamp(7px, 1vh, 16px);
  padding-left: 18px;
  list-style: none;
}

.explain li {
  position: relative;
  margin: 0 0 clamp(5px, 0.7vh, 12px);
  color: var(--dim);
  font-size: clamp(0.9rem, 0.72rem + 0.45vh, 1.12rem);
  line-height: 1.55;
}

.explain li::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}


.explain.is-voter {
  box-shadow: inset 0 0 0 1px rgba(225, 29, 72, 0.45);
  background: rgba(225, 29, 72, 0.05);
}

.explain.is-voter {
  box-shadow: inset 3px 0 0 var(--brand-red), inset 0 0 0 1px rgba(225, 29, 72, 0.35);
}

.explain.is-voter h3 {
  color: var(--brand-red-soft);
}

.explain.is-voter li::before {
  background: var(--brand-red);
}



.timeline {
  margin: clamp(12px, 1.6vh, 26px) 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.timeline > li {
  position: relative;
  display: grid;
  grid-template-columns: clamp(74px, 8vw, 104px) minmax(0, 1fr);
  gap: clamp(10px, 1.4vw, 22px);
  padding: clamp(8px, 1.1vh, 16px) 0;
  border-top: 1px solid var(--line-soft);
}


.timeline > li.is-key {
  border-top-color: rgba(225, 29, 72, 0.45);
  box-shadow: inset 3px 0 0 var(--brand-red);
  padding-left: clamp(10px, 1.2vw, 18px);
}

.tl-year {
  color: var(--accent-soft);
  font-family: var(--mono);
  font-size: clamp(0.85rem, 0.68rem + 0.45vh, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding-top: 2px;
}

.timeline > li.is-key .tl-year {
  color: var(--brand-red-soft);
}

.tl-body h4 {
  margin: 0 0 clamp(4px, 0.6vh, 10px);
  color: var(--text);
  font-size: clamp(1rem, 0.8rem + 0.55vh, 1.3rem);
  font-weight: 700;
}

.tl-body ul {
  margin: 0;
  padding-left: 18px;
  list-style: none;
}

.tl-body li {
  position: relative;
  margin: 0 0 clamp(3px, 0.5vh, 8px);
  color: var(--dim);
  font-size: clamp(0.86rem, 0.7rem + 0.4vh, 1.05rem);
  line-height: 1.55;
}

.tl-body li::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.tl-body strong {
  color: #fff;
}

.tl-note {
  margin: clamp(14px, 1.9vh, 30px) 0 0;
  padding: clamp(10px, 1.4vh, 22px) clamp(12px, 1.6vw, 22px);
  border-radius: var(--r-md);
  background: var(--well);
  box-shadow: inset 0 0 0 1px var(--line);
  text-align: left;
}

.tl-note p {
  margin: 0 0 8px;
  color: var(--dim);
  font-size: clamp(0.82rem, 0.68rem + 0.38vh, 1rem);
  line-height: 1.55;
}

.tl-note p:last-child {
  margin-bottom: 0;
}

.tl-note strong {
  color: var(--text);
}



@media (max-width: 1280px) {
  
  .geo-person {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px 0;
  }

  .layout {
    flex-direction: column;
    gap: 26px;
    

    align-items: stretch;
  }
  

  main {
    max-width: none;
    margin: 0;
  }
  .sidenav {
    position: static;
    order: -1;
    width: 100%;
    flex: 0 0 auto;
  }
  
  .sidenav nav {
    grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  }
  .nav-link { grid-template-columns: auto 1fr; }
  .nav-state, .nav-note { display: none; }
}

@media (max-width: 860px) {
  .topbar {
    position: static;
    flex-wrap: wrap;
    gap: 14px;
    padding: 16px;
  }
  .topbar-note { display: none; }
  .search {
    width: 100%;
    flex-wrap: wrap;
  }
  .search-input,
  .search-select,
  .search button { flex: 1 1 100%; }
  .layout { padding: 20px 16px 56px; }
  .article { padding: 24px 20px; }
  .article h2 { font-size: 1.7rem; }
  .search-hero h2 { font-size: 1.6rem; }
  .search-hero { padding: 22px 18px 20px; }
  .suggestions { grid-template-columns: 1fr; }
  .result { grid-template-columns: 48px 1fr; }
  .result .r-right {
    grid-column: 2;
    justify-items: start;
  }
  
  .section { overflow-x: auto; }
  .kv { grid-template-columns: 1fr; }
  .kv dd {
    border-left: 0;
    padding-top: 0;
  }
  .kv dt {
    padding-bottom: 0;
    border-bottom: 0;
  }
  .profile-head { flex-wrap: wrap; }
  .grid-2 { grid-template-columns: 1fr; }
}




.preuzmi {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(10px, 1.6vh, 20px);
  margin-top: clamp(14px, 2.4vh, 32px);
  padding: clamp(12px, 2vh, 22px) clamp(14px, 2vh, 24px);
  border: 1px solid var(--accent-line);
  border-radius: 14px;
  background: var(--surface-2);
  text-align: left;
}

.preuzmi-znak {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(42px, 6.4vh, 60px);
  height: clamp(42px, 6.4vh, 60px);
  border-radius: 12px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  color: var(--accent-soft);
  font-family: var(--mono);
  font-size: clamp(0.7rem, 1.5vh, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.preuzmi-tekst {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.preuzmi-ime {
  font-family: var(--mono);
  font-size: clamp(0.82rem, 1.7vh, 1rem);
  color: var(--text);
  overflow-wrap: anywhere;
}

.preuzmi-meta {
  font-size: clamp(0.72rem, 1.5vh, 0.86rem);
  color: var(--dim);
}

.preuzmi-velicina {
  color: var(--faint);
}

.preuzmi-dugme {
  display: inline-flex;
  align-items: center;
  padding: clamp(8px, 1.5vh, 13px) clamp(16px, 2.6vh, 30px);
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: clamp(0.8rem, 1.7vh, 0.95rem);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.preuzmi-dugme:hover {
  background: var(--accent-soft);
  color: var(--bg);
}

@media (max-width: 700px) {
  .preuzmi {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .preuzmi-dugme {
    grid-column: 1 / -1;
    justify-content: center;
  }
}

.nav-dugme,
.nav-zatvori,
.nav-zavesa {
  display: none;
}

.prose-vise {
  display: none;
}

.figure picture {
  display: block;
  width: 100%;
}

@media (max-width: 860px) {
  html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body {
    line-height: 1.68;
    min-height: 100vh;
    min-height: 100svh;
  }

  .topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 8px 14px;
    padding-top: max(8px, env(safe-area-inset-top));
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
  }

  .brand {
    gap: 9px;
    min-width: 0;
    padding: 4px 0;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-size: 1.02rem;
  }

  .brand-text strong {
    font-size: 1rem;
    white-space: nowrap;
  }

  .topbar-note {
    display: none;
  }

  .nav-dugme {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--accent-line);
    border-radius: 999px;
    background: var(--accent-dim);
    color: var(--text);
    font-family: var(--sans);
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    touch-action: manipulation;
  }

  .nav-dugme-znak {
    display: grid;
    gap: 3px;
    width: 15px;
  }

  .nav-dugme-znak i {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-soft);
  }

  .nav-zavesa {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(4, 7, 14, 0.66);
    backdrop-filter: blur(2px);
    border: 0;
  }

  .layout {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 14px 14px;
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
  }

  main {
    max-width: none;
    margin: 0;
  }

  .sidenav {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 60;
    width: min(86vw, 340px);
    max-width: 100%;
    height: 100%;
    flex: none;
    align-self: auto;
    padding: 12px 12px calc(18px + env(safe-area-inset-bottom));
    padding-top: calc(12px + env(safe-area-inset-top));
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    background: var(--surface);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(104%);
    visibility: hidden;
    transition: transform 0.26s cubic-bezier(0.2, 0.7, 0.3, 1), visibility 0.26s;
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.65);
  }

  .sidenav.is-open {
    transform: none;
    visibility: visible;
  }

  .nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 10px;
    padding: 0 4px 8px;
    font-size: 0.72rem;
  }

  .nav-zatvori {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--dim);
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
    touch-action: manipulation;
  }

  .sidenav nav {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }

  .nav-link {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 11px;
    min-height: 48px;
    padding: 11px 12px;
    border-radius: 12px;
    font-size: 0.98rem;
  }

  .nav-num {
    width: 26px;
    height: 26px;
    font-size: 0.72rem;
  }

  .nav-state {
    display: inline;
    font-size: 0.72rem;
  }

  body.nav-otvoren {
    overflow: hidden;
  }

  .hero,
  .search-hero,
  .article,
  .panel {
    scroll-margin-top: 62px;
  }

  .hero {
    text-align: center;
  }

  .eyebrow {
    margin-bottom: 8px;
    padding: 2px 10px;
    font-size: 0.72rem;
  }

  .hero h1 {
    font-size: clamp(1.68rem, 1.2rem + 1.5vh, 2.2rem);
    line-height: 1.12;
    margin-bottom: clamp(10px, 1.4vh, 20px);
  }

  .prose {
    max-width: none;
    text-align: left;
  }

  .prose p {
    margin-bottom: 10px;
    font-size: 1.06rem;
    line-height: 1.5;
    text-wrap: pretty;
  }

  .hero .prose {
    font-size: clamp(1rem, 0.86rem + 0.42vh, 1.24rem);
    max-height: calc(5 * 1.5em + 2px);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, #000 64%, rgba(0, 0, 0, 0.12) 100%);
    mask-image: linear-gradient(180deg, #000 64%, rgba(0, 0, 0, 0.12) 100%);
  }

  .hero .prose p {
    font-size: inherit;
  }

  .hero .prose.is-otvoren {
    max-height: none;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .prose-vise {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 42px;
    margin-top: 10px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--accent-soft);
    font-family: var(--sans);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    touch-action: manipulation;
  }

  .search-hero {
    margin-top: clamp(12px, 2.2vh, 34px);
    padding: clamp(12px, 1.5vh, 20px) clamp(13px, 1.5vh, 18px) clamp(11px, 1.4vh, 18px);
    border-radius: 14px;
  }

  .search-hero h2 {
    font-size: 1.02rem;
    line-height: 1.3;
  }

  .search-hero-head {
    gap: 10px;
  }

  .search-hero-head .search {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    width: 100%;
  }

  .search-hero .search-select,
  .search-hero .search-input {
    width: 100%;
  }

  .search-hero .search-field,
  .search-hero .search input {
    font-size: 16px;
    padding: clamp(12px, 1.5vh, 16px) 14px;
    border-radius: 11px;
  }

  .search-hero .search-field {
    padding-right: 36px;
  }

  .search-hero .search button {
    width: 100%;
    min-height: clamp(48px, 6.4vh, 56px);
    padding: 13px 20px;
    font-size: 1rem;
    border-radius: 11px;
  }

  .search-hero-hint {
    margin-top: 9px;
    font-size: 0.72rem;
    line-height: 1.45;
  }

  .suggestions {
    grid-template-columns: 1fr;
    padding: 5px;
  }

  .suggestions li {
    min-height: 44px;
    padding: 10px 12px;
  }

  .suggestions .s-name {
    font-size: 0.96rem;
  }

  .suggestions .s-meta {
    font-size: 0.78rem;
  }

  .panel {
    margin-top: 18px;
  }

  .panel-head {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
  }

  .panel-head h2 {
    font-size: 1.35rem;
  }

  .ghost {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 0.92rem;
  }

  .result {
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: start;
    gap: 11px;
    padding: 12px 13px;
  }

  .result .avatar {
    width: 42px;
    height: 42px;
    font-size: 1rem;
    align-self: start;
  }

  .result .r-name {
    font-size: 1.06rem;
  }

  .result .r-meta {
    font-size: 0.88rem;
  }

  .result .r-right {
    grid-column: 2;
    justify-items: start;
  }

  .result .r-open {
    font-size: 0.82rem;
  }

  .profile-head {
    flex-wrap: wrap;
    gap: 13px;
    padding: 16px;
    border-radius: 14px;
  }

  .profile-avatar {
    width: 56px;
    height: 56px;
    font-size: 1.35rem;
  }

  .profile-head h3 {
    font-size: 1.45rem;
  }

  .highlights {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 12px;
  }

  .hl {
    padding: 14px 15px;
  }

  .hl-label {
    font-size: 0.84rem;
  }

  .hl-value {
    font-size: 1.35rem;
  }

  .hl-phone {
    font-size: 1.2rem;
  }

  .hl-sub {
    font-size: 0.84rem;
  }

  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-top: 12px;
  }

  .section {
    margin-top: 14px;
    border-radius: 14px;
  }

  .section > h4 {
    gap: 9px;
    padding: 14px 15px;
    font-size: 1.05rem;
  }

  .section > h4::before {
    font-size: 0.72rem;
    padding: 2px 7px;
  }

  .section-note {
    padding: 12px 15px 14px;
    font-size: 0.92rem;
  }

  .section-body {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .kv {
    grid-template-columns: minmax(0, 1fr);
  }

  .kv dt,
  .kv dd {
    padding: 0 15px;
    border-left: 0;
  }

  .kv dt {
    padding-top: 12px;
    padding-bottom: 1px;
    border-bottom: 0;
    color: var(--faint);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .kv dd {
    padding-top: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 1rem;
  }

  .kv dd:last-of-type {
    border-bottom: 0;
  }

  .tbl {
    display: block;
    font-size: 1rem;
    box-shadow: none;
    background: var(--surface);
  }

  .tbl thead {
    display: none;
  }

  .tbl tbody,
  .tbl tr,
  .tbl td {
    display: block;
    width: 100%;
  }

  .tbl tbody {
    padding: 0;
  }

  .tbl tr {
    padding: 11px 15px;
    border-bottom: 1px solid var(--line-soft);
  }

  .tbl tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.018);
  }

  .tbl tr:last-child {
    border-bottom: 0;
  }

  .tbl td,
  .tbl td:not(:first-child) {
    padding: 3px 0;
    border: 0;
    color: var(--dim);
    font-size: 0.96rem;
    font-weight: 400;
    overflow-wrap: anywhere;
  }

  .tbl td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 1px;
    color: var(--faint);
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .tbl td:first-child {
    color: var(--text);
    font-size: 1.04rem;
    font-weight: 700;
  }

  .tbl td:empty {
    display: none;
  }

  .tbl .num {
    font-size: 0.92rem;
  }

  .tbl a,
  .tbl .num a,
  .list a,
  .kv a,
  .r-meta a,
  a.ext {
    display: inline-block;
    padding: 3px 0;
  }

  .tbl .stacked {
    display: inline-flex;
  }

  .list li {
    padding: 12px 15px;
    font-size: 0.98rem;
  }

  .list li .li-sub {
    font-size: 0.86rem;
  }

  .net-flags {
    padding: 14px 15px;
    gap: 7px;
  }

  .flag {
    font-size: 0.86rem;
    padding: 6px 11px;
  }

  .chip {
    font-size: 0.88rem;
  }

  .empty {
    padding: 14px 15px;
    font-size: 0.96rem;
  }

  .more > summary {
    padding: 14px 15px;
    font-size: 0.94rem;
  }

  .tech-panel > h4 {
    flex-wrap: wrap;
    gap: 6px;
    padding: 14px 15px;
    font-size: 1.05rem;
  }

  .tech-panel .kv dd {
    font-size: 0.92rem;
  }

  .article {
    margin-top: 12px;
    padding: 18px 15px 20px;
    border-radius: 14px;
    text-align: left;
  }

  .prose,
  .prose-p,
  .note,
  .step-note,
  .figure figcaption {
    max-width: 66ch;
    margin-left: auto;
    margin-right: auto;
  }

  .explain,
  .tl-note {
    max-width: 78ch;
    margin-left: auto;
    margin-right: auto;
  }

  .timeline {
    max-width: 84ch;
    margin-left: auto;
    margin-right: auto;
  }

  .article h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }

  .article-sub {
    margin: 18px 0 10px;
    font-size: 1.12rem;
  }

  .prose-p {
    max-width: none;
    margin-bottom: 12px;
    font-size: 1.02rem;
    line-height: 1.6;
    text-align: left;
    text-wrap: pretty;
  }

  #o-tvorcu .prose p,
  #pregled .prose p {
    margin-bottom: 12px;
    font-size: 1.02rem;
    line-height: 1.6;
  }

  .explain {
    padding: 15px 15px 13px;
    margin: 14px 0 8px;
  }

  .explain h3 {
    font-size: 1.08rem;
    margin-bottom: 10px;
  }

  .explain p,
  .explain li {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .explain-key {
    font-size: 1.06rem !important;
  }

  .explain ul {
    padding-left: 15px;
  }

  .explain li::before,
  .tl-body li::before {
    left: -12px;
    width: 4px;
    height: 4px;
  }

  .timeline > li {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    padding: 13px 0;
  }

  .timeline > li.is-key {
    padding-left: 12px;
  }

  .tl-year {
    display: inline-block;
    width: fit-content;
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--accent-dim);
    font-size: 0.84rem;
  }

  .timeline > li.is-key .tl-year {
    background: rgba(225, 29, 72, 0.14);
  }

  .tl-body h4 {
    font-size: 1.06rem;
    margin-bottom: 6px;
  }

  .tl-body ul {
    padding-left: 14px;
  }

  .tl-body li {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .tl-note {
    padding: 14px 15px;
  }

  .tl-note p {
    font-size: 0.92rem;
  }

  .bignum {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin: 12px 0;
  }

  .bignum > div,
  .bignum-2 > div {
    padding: 13px 9px;
  }

  .bignum .v {
    font-size: 1.28rem;
  }

  .bignum .l {
    font-size: 0.76rem;
    margin-top: 5px;
  }

  .bignum-line {
    font-size: 0.98rem;
  }

  .side-firm-name {
    padding: 9px 15px;
    font-size: 1.12rem;
    letter-spacing: 0.06em;
  }

  .side-firm-label {
    font-size: 0.94rem;
  }

  .note {
    margin-top: 18px;
    padding: 15px 16px;
    font-size: 0.98rem;
  }

  .step-note {
    font-size: 0.86rem;
  }

  .tasks {
    gap: 7px;
    margin-bottom: 16px;
  }

  .tasks li {
    padding: 8px 14px;
    font-size: 0.94rem;
  }

  .figure {
    margin-top: 12px;
  }

  .figure img {
    border-radius: 10px;
  }

  .figure-wide a {
    display: block;
  }

  .figure figcaption {
    margin-top: 7px;
    font-size: 0.78rem;
  }

  .geo-pick {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin: 14px 0 12px;
  }

  .geo-label {
    font-size: 0.76rem;
  }

  .geo-field select {
    min-height: 48px;
    padding: 12px 36px 12px 13px;
    font-size: 16px;
    border-radius: 11px;
  }

  .geo-split {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 8px;
  }

  .geo-az {
    order: -1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1px;
    height: 46px;
    padding: 4px 5px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .geo-az-letter {
    flex: 0 0 auto;
    min-width: 34px;
    height: 36px;
    padding: 0;
    font-size: 0.82rem;
    line-height: 36px;
    text-align: center;
    touch-action: manipulation;
  }

  .geo-list {
    height: min(56dvh, 460px);
    height: min(56svh, 460px);
  }

  .geo-item {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    min-height: 44px;
    padding: 8px 10px;
    font-size: 0.92rem;
    touch-action: manipulation;
  }

  .geo-item-okrug {
    font-size: 0.78em;
  }

  .geo-head h3 {
    font-size: 1.15rem;
  }

  .geo-head-meta {
    font-size: 0.8rem;
  }

  .geo-role {
    padding: 12px 12px 10px;
    margin-bottom: 10px;
  }

  .geo-role h4 {
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.92rem;
    margin-bottom: 8px;
  }

  .geo-person {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px 0;
    padding: 9px 0;
  }

  .geo-person-ime {
    white-space: normal;
    font-size: 1rem;
  }

  .geo-person-nalozi {
    gap: 5px;
  }

  a.geo-person-nalog {
    padding: 3px 10px;
    font-size: 0.84em;
  }

  .geo-person-broj,
  .geo-person-tag,
  .geo-person-poz {
    font-size: 0.68em;
  }

  .geo-vise {
    min-height: 42px;
    font-size: 0.86rem;
  }

  .geo-hint {
    font-size: 0.9rem;
    margin-top: 16px;
  }

  .x-chat {
    margin-top: 14px;
    border-radius: 14px;
  }

  .x-head {
    flex-wrap: wrap;
    gap: 9px;
    padding: 11px 12px;
  }

  .x-head-ava {
    width: 34px;
    height: 34px;
    font-size: 0.72rem;
  }

  .x-head-tekst strong {
    font-size: 0.98rem;
  }

  .x-head-tekst span {
    font-size: 0.76rem;
  }

  .x-trazi {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 7px;
  }

  .x-trazi select {
    flex: 1 1 100%;
    width: 100%;
    min-height: 46px;
    padding: 11px 30px 11px 14px;
    font-size: 16px;
    border-radius: 13px;
  }

  .x-trazi input {
    flex: 1 1 110px;
    width: auto;
    min-width: 0;
    min-height: 46px;
    padding: 11px 14px;
    font-size: 16px;
    border-radius: 13px;
  }

  .x-trazi input[type="date"] {
    flex: 1 1 110px;
    min-width: 0;
    font-size: 16px;
  }

  .x-dugme {
    min-height: 44px;
    padding: 10px 18px;
    font-size: 0.88rem;
    touch-action: manipulation;
  }

  .x-log {
    height: min(60dvh, 620px);
    height: min(60svh, 620px);
    padding: 12px 12px 16px;
    overscroll-behavior: auto;
  }

  .x-datum {
    margin: 14px 0 11px;
    font-size: 0.76rem;
  }

  .x-msg {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
    margin-bottom: 5px;
  }

  .x-ava {
    width: 30px;
    height: 30px;
    font-size: 0.66rem;
  }

  .x-ime {
    font-size: 0.86rem;
    padding: 4px 0;
  }

  .x-nalog {
    font-size: 0.76rem;
    padding: 4px 0;
  }

  .x-glava {
    padding-left: 2px;
    margin-bottom: 2px;
  }

  .x-balon {
    max-width: 100%;
    padding: 8px 12px 7px;
    border-radius: 16px;
    font-size: 0.94rem;
    line-height: 1.42;
  }

  .x-vreme {
    font-size: 0.66rem;
  }

  .x-status {
    font-size: 0.76rem;
    padding: 10px 12px;
  }

  .x-upozorenje {
    font-size: 0.84rem;
    padding: 11px 13px;
  }

  .preuzmi {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    margin-top: 16px;
    padding: 14px;
    border-radius: 14px;
  }

  .preuzmi-znak {
    width: 46px;
    height: 46px;
  }

  .preuzmi-ime {
    font-size: 0.86rem;
  }

  .preuzmi-meta {
    font-size: 0.78rem;
  }

  .preuzmi-dugme {
    grid-column: 1 / -1;
    justify-content: center;
    min-height: 48px;
    font-size: 0.96rem;
  }

  .footer {
    padding: 11px 14px;
    padding-bottom: max(11px, env(safe-area-inset-bottom));
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .footer-inner {
    gap: 8px 14px;
  }

  .footer-logo {
    height: 28px;
  }
}

@media (max-width: 860px) and (max-height: 720px) {
  .eyebrow {
    display: none;
  }

  .hero .prose {
    max-height: calc(4 * 1.5em + 2px);
  }
}

@media (max-width: 860px) and (max-height: 620px) {
  .hero .prose {
    max-height: calc(3 * 1.5em + 2px);
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .search-hero-hint {
    display: none;
  }

  .search-hero {
    margin-top: 10px;
    padding: 10px 12px 10px;
  }

  .search-hero h2 {
    font-size: 0.95rem;
  }

  .search-hero .search-field,
  .search-hero .search input {
    padding: 11px 13px;
  }

  .search-hero .search-field {
    padding-right: 34px;
  }

  .search-hero .search button {
    min-height: 44px;
    padding: 11px 18px;
  }
}

@media (max-width: 860px) and (prefers-reduced-motion: reduce) {
  .sidenav {
    transition: none;
  }
}

@media (max-width: 860px) and (min-height: 821px) {
  .hero .prose {
    max-height: calc(6 * 1.5em + 2px);
  }
}

@media (max-width: 860px) and (min-height: 901px) {
  .hero .prose {
    max-height: calc(7 * 1.5em + 2px);
  }
}

@media (max-width: 900px) and (max-height: 520px) and (orientation: landscape) {
  .hero .prose,
  .prose-vise {
    display: none;
  }

  .hero h1 {
    font-size: 1.45rem;
    margin-bottom: 8px;
  }

  .search-hero {
    margin-top: 8px;
  }

  .search-hero-head {
    gap: 8px;
  }

  .search-hero-head .search {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .search-hero .search-select,
  .search-hero .search-input {
    width: auto;
  }

  .search-hero .search button {
    width: auto;
    min-height: 44px;
  }

  .hero h1,
  .search-hero h2 {
    text-align: left;
  }

  .search-hero-head {
    justify-items: stretch;
  }
}

@media (min-width: 861px) and (max-width: 1100px) and (max-height: 500px) and (orientation: landscape) {
  .eyebrow,
  .hero .prose {
    display: none;
  }

  .hero h1 {
    font-size: 1.5rem;
    margin-bottom: 6px;
  }

  .search-hero {
    margin-top: 8px;
  }

  .sidenav nav {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  }

  .layout {
    gap: 18px;
  }
}

@media (min-width: 861px) and (max-width: 1100px) and (max-height: 500px) and (orientation: landscape) {
  .eyebrow,
  .hero .prose,
  .nav-head {
    display: none;
  }

  .hero h1 {
    font-size: 1.5rem;
    margin-bottom: 6px;
  }

  .search-hero {
    margin-top: 8px;
  }

  .sidenav {
    position: static;
    width: 100%;
    flex: 0 0 auto;
    padding: 6px 8px;
    overflow: hidden;
  }

  .sidenav nav {
    display: flex;
    flex-direction: row;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-link {
    flex: 0 0 auto;
    grid-template-columns: auto auto;
    gap: 7px;
    padding: 4px 10px;
    font-size: 0.76rem;
    white-space: nowrap;
  }

  .nav-num {
    width: 18px;
    height: 18px;
    font-size: 0.6rem;
  }

  .nav-state {
    display: none;
  }

  .layout {
    gap: 12px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

@media (max-width: 320px) {
  .search-hero-hint {
    display: none;
  }

  .hero .prose {
    max-height: calc(3 * 1.5em + 2px);
  }

  .search-hero {
    padding: 11px;
  }

  .search-hero .search button {
    min-height: 46px;
  }

  .search-hero .search-field,
  .search-hero .search input {
    padding: 11px 12px;
  }

  .search-hero .search-field {
    padding-right: 32px;
  }

  .geo-az-letter {
    min-width: 32px;
  }
}

@media (max-width: 420px) {
  .brand-text strong {
    font-size: 0.94rem;
  }

  .nav-dugme {
    padding: 0 12px;
    font-size: 0.8rem;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .bignum .v {
    font-size: 1.14rem;
  }

  .bignum .l {
    font-size: 0.72rem;
  }

  .profile-head h3 {
    font-size: 1.3rem;
  }

  .hl-value {
    font-size: 1.22rem;
  }

  .geo-person-ime {
    font-size: 0.96rem;
  }

  .x-log {
    height: min(58svh, 560px);
    height: min(58dvh, 560px);
  }
}

@media (max-width: 360px) {
  .topbar {
    padding: 7px 12px;
    padding-top: max(7px, env(safe-area-inset-top));
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  .hero h1 {
    font-size: 1.55rem;
  }

  .search-hero .search-field,
  .search-hero .search input {
    padding: 12px;
  }

  .search-hero .search-field {
    padding-right: 32px;
  }

  .bignum-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .bignum .v {
    font-size: 1.3rem;
  }

  .side-firm-name {
    font-size: 1rem;
    letter-spacing: 0.04em;
  }
}
