@font-face { font-family: "Pre Serif"; src: url("assets/serif.woff") format("woff"); font-display: swap; font-weight: 400; }
@font-face { font-family: "Pre Sans"; src: url("assets/sans.woff") format("woff"); font-display: swap; font-weight: 400; }
@font-face { font-family: "Pre Sans"; src: url("assets/sans-bold.woff") format("woff"); font-display: swap; font-weight: 700; }

:root {
  color-scheme: light;
  --paper: #f5f4ed;
  --card: #fff;
  --ink: #172921;
  --muted: #52645a;
  --green: #184339;
  --deep: #102c25;
  --lime: #d2e69a;
  --soft: #edf2e4;
  --line: #dce2d7;
  --sand: #faf0d9;
  --brown: #715222;
  --serif: 'Pre Serif', Georgia, serif;
  --sans: 'Pre Sans', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.5 var(--sans); }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
button, select, summary { cursor: pointer; }
button, a, input, select, summary, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #447b62; outline-offset: 4px; }
.symbols { position: absolute; width: 0; height: 0; }
svg:not(.symbols) { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.skip, .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { z-index: 10; width: auto; height: auto; clip-path: none; padding: .75rem; background: white; }
.shell { width: min(1160px, calc(100% - 3rem)); margin-inline: auto; }
.site-header { border-bottom: 1px solid #e3e5d9; }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark, .nav-link { display: inline-flex; align-items: center; text-decoration: none; }
.wordmark { gap: .65rem; font-weight: 760; font-size: 1.37rem; letter-spacing: -.055em; white-space: nowrap; }
.mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--green); color: #e3f2bb; }
.mark svg { width: 22px; height: 22px; }
.nav-link { white-space: nowrap; gap: .5rem; font-size: .91rem; font-weight: 680; min-height: 44px; padding: 0 .4rem; }
.nav-link svg { width: 18px; height: 18px; }
.nav-link:hover, .nav-link[aria-current] { color: #42694c; text-decoration: underline; text-underline-offset: 5px; }
.header-inner > nav { margin-inline-start: auto; min-width: 0; }
.header-inner > nav .nav-link { white-space: normal; }
.language-picker { position: relative; z-index: 2; flex: none; }
.language-picker summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 44px;
  padding: 0 .65rem;
  border: 1px solid #ccd8ce;
  border-radius: 9px;
  list-style: none;
  background: var(--card);
  color: var(--green);
  font-size: .875rem;
  font-weight: 700;
}
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker summary svg { width: 1rem; height: 1rem; }
.language-picker ul {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + .35rem);
  min-width: 9.5rem;
  margin: 0;
  padding: .25rem;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--card);
  box-shadow: 0 5px 16px #102c2526;
}
.language-picker a { display: block; padding: .6rem .75rem; border-radius: 6px; text-decoration: none; }
.language-picker a:hover, .language-picker a[aria-current] { background: var(--soft); color: var(--green); }
html[lang="ru"] { --sans: "Segoe UI", Arial, sans-serif; --serif: Georgia, serif; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 355px;
  margin-top: 26px;
  padding: clamp(2rem, 3.2vw, 3.15rem) clamp(2rem, 5.2vw, 4.5rem);
  display: flex;
  align-items: center;
  border-radius: 23px;
  background: var(--deep);
  color: #f9faed;
}
.hero::before, .hero::after { position: absolute; content: ''; z-index: -1; pointer-events: none; }
.hero::before { inset: 0; background: url('assets/facade.webp') center 49% / cover no-repeat; opacity: .91; }
.hero::after { inset: 0; background: linear-gradient(90deg, #142e25 0%, #142e25f7 24%, #142e25da 43%, #142e253c 73%, #142e250c 100%); }
.hero-copy { min-width: 0; max-width: 740px; }
.hero-kicker { margin: 0 0 .8rem; color: #dfebcb; font-size: .875rem; font-weight: 720; }
h1, h2, h3, p { margin-top: 0; }
.hero h1, .page-title { font: 400 clamp(3.35rem, 7.35vw, 6.25rem)/.98 var(--serif); letter-spacing: -.062em; margin-bottom: 1.15rem; }
.hero h1 { font-size: clamp(3rem, 6.65vw, 5rem); overflow-wrap: anywhere; }
.hero h1 span { color: #dbeaa7; }
.hero-copy > p:nth-of-type(2) { max-width: 420px; margin: 0; color: #edf1e7; font-size: 1.06rem; }

.layout { display: grid; grid-template-columns: minmax(0, 2.12fr) minmax(0, 1fr); gap: 24px; margin: 26px 0 42px; align-items: start; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.2rem, 3.45vw, 2.2rem); }
.card h2, .section-title { font: 400 clamp(1.75rem, 3.4vw, 2.3rem)/1.1 var(--serif); letter-spacing: -.04em; margin-bottom: .55rem; }
.card h3 { font-weight: 720; margin-bottom: .25rem; font-size: 1rem; }
.featured-guide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem 1.5rem;
  margin-top: 1rem;
  padding: 1.1rem clamp(1.15rem, 3.4vw, 2rem);
  background: #e9f0d4;
  border-color: #cfdcae;
}
.featured-guide p { margin: 0; color: var(--green); }
.featured-guide .button { flex-shrink: 0; text-align: center; }
.section-lead, .muted { color: var(--muted); }
.section-lead { margin-bottom: 1.4rem; }
.field { display: grid; gap: .4rem; margin-bottom: 1rem; }
.field label, fieldset legend { font-size: .96rem; font-weight: 710; }
.optional, .hint { font-size: .875rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .status-select, textarea {
  display: block;
  width: 100%;
  min-width: 0;
  padding: .7rem .8rem;
  border: 1px solid #cfd9cf;
  border-radius: 8px;
  background: #fdfdfb;
  color: var(--ink);
  min-height: 46px;
}
.field input::placeholder { color: #6a766d; opacity: 1; }
.field input:focus, .field select:focus, textarea:focus, .status-select:focus { outline-offset: 1px; }
.field-with-icon { position: relative; }
.field-with-icon input { padding-left: 2.6rem; }
.field-with-icon svg { position: absolute; inset-inline-start: .9rem; top: 50%; transform: translateY(-50%); color: #60756a; }
.field select, .status-select { appearance: none; padding-right: 2rem; }
.select-wrap { position: relative; display: block; }
.select-wrap > svg { position: absolute; pointer-events: none; top: 50%; right: .55rem; transform: translateY(-50%); width: 1rem; height: 1rem; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.more-options { border-top: 1px solid var(--line); margin-top: 1.2rem; margin-bottom: 1rem; }
.more-options summary, .row-info summary { display: flex; align-items: center; justify-content: space-between; gap: .65rem; list-style: none; min-height: 48px; font-size: .925rem; font-weight: 680; }
summary::-webkit-details-marker { display: none; }
.more-options[open] > summary svg, .row-info[open] > summary svg { transform: rotate(180deg); }
fieldset { padding: 0; border: 0; margin: 0 0 1rem; min-width: 0; }
fieldset legend { padding: 0; margin-bottom: .45rem; }
.picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice-card {
  min-height: 60px;
  height: 100%;
  border: 1px solid #d5ded4;
  border-radius: 10px;
  padding: .65rem .8rem;
  display: flex;
  align-items: center;
  gap: .65rem;
  font-weight: 680;
  font-size: .95rem;
}
.choice-card svg { color: var(--green); }
.choice-card::after { content: ''; width: 15px; height: 15px; flex: none; margin-left: auto; border: 1px solid #8b9d91; border-radius: 50%; }
.choice input:checked + .choice-card { border-color: #618578; background: var(--soft); }
.choice input:checked + .choice-card::after { background: var(--green); border-color: var(--green); box-shadow: inset 0 0 0 3px var(--soft); }
.choice input:focus-visible + .choice-card { outline: 3px solid #447b62; outline-offset: 3px; }
.check-toggle { display: flex; align-items: center; min-height: 44px; gap: .6rem; cursor: pointer; }
.check-toggle input { width: 1.15rem; height: 1.15rem; margin: 0; accent-color: var(--green); }
.buttons { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 46px;
  padding: .67rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 720;
  font-size: .94rem;
  text-decoration: none;
  line-height: 1.25;
}
.button svg { width: 18px; height: 18px; }
.primary { background: var(--green); color: #fff; }
.primary:hover { background: #246052; }
.secondary { background: #fff; color: var(--green); border-color: #ccd8ce; }
.secondary:hover, .quiet:hover { background: #edf2e6; }
.quiet { background: transparent; color: var(--green); }
.form-actions { margin-top: .7rem; }
.problem { color: #8e3426; margin: .72rem 0 0; font-size: .91rem; }

.aside { display: grid; gap: 14px; }
.guide { background: #eaf0e4; border-color: #dce6d8; padding: clamp(1.2rem, 2.55vw, 1.8rem); }
.guide h2 { font-size: 1.75rem; margin-bottom: 1.05rem; }
.guide ul { list-style: none; padding: 0; margin: 0; }
.guide li { display: flex; gap: .75rem; align-items: flex-start; padding: .8rem 0; }
.guide li + li { border-top: 1px solid #d3dfd2; }
.guide li:last-child { padding-bottom: 0; }
.feature-icon { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #cddacd; color: var(--green); border-radius: 8px; flex: none; background: #f4f7ed; }
.feature-icon svg { width: 17px; height: 17px; }
.guide li p { font-size: .9rem; line-height: 1.4; color: var(--muted); margin: 0; }
.local-note { padding: .85rem .55rem; display: flex; gap: .6rem; align-items: flex-start; color: var(--muted); font-size: .875rem; }
.local-note svg { width: 17px; height: 17px; margin-top: 2px; }

.page-head { margin: 32px 0 0; }
.page-head .button { margin-bottom: .9rem; }
.page-title { font-size: clamp(2.65rem, 6vw, 4.75rem); overflow-wrap: anywhere; }
.page-subtitle { color: var(--muted); margin-bottom: 0; }
.page-subtitle a { font-weight: 690; text-underline-offset: 3px; }
.example-label { display: inline-block; padding: .22rem .65rem; margin: 0 0 .72rem; color: var(--brown); background: var(--sand); border-radius: 20px; font-weight: 700; font-size: .875rem; }
.page-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.page-heading-row > div { min-width: 0; }
.page-heading-row .button { flex: none; margin: 0; }
.page-layout { margin-top: 22px; }
.notice { background: #faf2e0; border: 1px solid #eddbb6; border-radius: 12px; padding: 1rem; display: flex; gap: .7rem; color: #593f1e; margin: 1rem 0; }
.notice p { margin: .2rem 0 0; font-size: .95rem; }
.notice svg { margin-top: .12rem; }
.panel-progress > div { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.panel-progress p { margin-bottom: .4rem; color: var(--muted); font-size: .925rem; }
progress { width: 100%; height: 8px; appearance: none; border: 0; border-radius: 12px; overflow: hidden; background: #e4ebe1; color: #45745d; vertical-align: middle; }
progress::-webkit-progress-bar { background: #e4ebe1; }
progress::-webkit-progress-value { background: #45745d; border-radius: 12px; }
progress::-moz-progress-bar { background: #45745d; border-radius: 12px; }
.checklist-action { margin-top: 1rem; }
.filters { margin: 1.03rem 0 .35rem; gap: .4rem; }
.filters button { min-height: 43px; color: var(--green); background: transparent; border: 1px solid #d3ded4; border-radius: 20px; padding: .4rem .65rem; font-weight: 650; font-size: .86rem; }
.filters button[aria-pressed="true"] { color: white; border-color: var(--green); background: var(--green); }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-row { padding: 1rem 0 .65rem; border-bottom: 1px solid var(--line); }
.check-row:last-child { border-bottom: 0; padding-bottom: 0; }
.row-main { display: flex; align-items: flex-start; gap: .75rem; }
.row-main h3 { flex: 1; margin-top: .46rem; min-width: 0; }
.row-main .select-wrap { width: 155px; flex: none; }
.status-select { padding: .42rem 1.55rem .42rem .55rem; min-height: 42px; font-size: .875rem; font-weight: 680; }
.status-select[data-status="primljeno"] { background: #e3f0e2; color: #164f38; }
.status-select[data-status="trazeno"] { background: #f0f2f3; }
.status-select[data-status="pregled"] { background: var(--sand); color: #664719; }
.row-info { margin-left: 2.85rem; }
.row-info summary { width: fit-content; justify-content: flex-start; min-height: 38px; color: var(--green); font-size: .875rem; }
.row-info summary svg { width: 15px; height: 15px; }
.row-info p { margin: .18rem 0 .45rem; color: var(--muted); line-height: 1.45; }
.row-info .question { color: var(--ink); font-weight: 650; }
.action-card { padding: 1.35rem; }
.action-card p { margin-bottom: .8rem; color: var(--muted); }
.action-card .button { width: 100%; }
.smallprint { color: var(--muted); font-size: .875rem; margin: 0; }
.empty-list { padding: 1rem 0; color: var(--muted); margin: 0; }
.saved-list { list-style: none; padding: 0; margin: 0; }
.saved-list li + li { margin-top: .7rem; }
.saved-item { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.saved-item h2 { font-size: 1.5rem; overflow-wrap: anywhere; }
.saved-item p { margin-bottom: 0; }
.saved-item .button { flex: none; }
.saved-page, .edit-page { margin-bottom: 42px; }
.edit-page .card { max-width: 750px; }
.site-footer { border-top: 1px solid #dde2d7; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: .6rem 1rem; flex-wrap: wrap; min-height: 68px; align-items: center; font-size: .875rem; }
.footer-inner > span { color: var(--green); font-weight: 720; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }
.footer-inner a { text-underline-offset: 3px; }

dialog { border: 1px solid var(--line); border-radius: 16px; width: min(590px, calc(100% - 2rem)); max-height: calc(100% - 2rem); padding: 1.35rem; color: var(--ink); }
dialog::backdrop { background: #12291fc4; }
.dialog-bar { display: flex; align-items: center; gap: .5rem; justify-content: space-between; }
.dialog-bar h2 { font: 400 1.85rem/1.12 var(--serif); margin: 0; }
.dialog-bar form { margin: 0; }
.icon-button { border: 0; background: transparent; color: var(--green); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; }
.icon-button:hover { background: var(--soft); }
#dialog-intro { color: var(--muted); margin: .5rem 0 .8rem; }
textarea { resize: vertical; min-height: 115px; max-height: 45vh; font-size: .96rem; }
.dialog-actions { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; margin-top: .85rem; }
.dialog-feedback { margin: .45rem 0 0; color: var(--green); font-size: .91rem; }
.dialog-feedback:empty { display: none; }

@media (max-width: 820px) {
  .featured-guide { flex-direction: column; align-items: flex-start; }
  .layout { grid-template-columns: 1fr; }
  .aside { gap: 10px; }
  .guide li:last-child { padding-bottom: .2rem; }
}
@media (max-width: 560px) {
  .shell { width: calc(100% - 1.5rem); }
  .header-inner { min-height: 61px; }
  .wordmark { font-size: 1.23rem; }
  .mark { width: 30px; height: 30px; border-radius: 8px; }
  .nav-link { font-size: .875rem; }
  .header-inner { gap: .4rem; }
  .header-inner .nav-link svg { display: none; }
  .language-picker summary { padding-inline: .45rem; }
  .hero { margin-top: 13px; min-height: 278px; padding: 1.55rem 1.12rem; border-radius: 16px; }
  .hero::before { background-position: 61% center; }
  .hero::after { background: linear-gradient(90deg, #142e25f8, #142e25dc 42%, #142e258b 100%); }
  .hero h1 { font-size: clamp(2.65rem, 10vw, 3.35rem); }
  html:not([lang="sr-Latn"]) .hero h1 { font-size: clamp(2rem, 8.6vw, 3.35rem); }
  .hero-copy > p:nth-of-type(2) { font-size: 1rem; max-width: 320px; }
  .layout { margin-top: 13px; margin-bottom: 26px; gap: 13px; }
  .card { border-radius: 14px; }
  .choice-card { padding: .53rem; gap: .4rem; font-size: .89rem; }
  .choice-card svg { width: 17px; height: 17px; }
  .choice-card::after { width: 12px; height: 12px; }
  .field-grid { grid-template-columns: 1fr; }
  .form-actions .button { width: 100%; }
  .row-main { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .45rem .55rem; }
  .row-main h3 { margin: 0; }
  .row-main .select-wrap { grid-column: 2; width: min(100%, 175px); }
  .row-info { margin-left: 2.65rem; }
  .page-head { margin-top: 18px; }
  .page-heading-row { display: block; }
  .page-heading-row .button { margin-top: .8rem; }
  .saved-item { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 350px) {
  .picker { grid-template-columns: 1fr; }
  .footer-inner nav { gap: .7rem; }
}

.guide-link { display: inline-block; margin-top: 1rem; color: var(--green); font-weight: 700; text-underline-offset: .18em; }
.guide-shell { max-width: 860px; margin-bottom: 42px; }
.guide-crumb { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 .9rem; color: var(--muted); font-size: .875rem; }
.guide-crumb a, .buyer-guide a:not(.button) { text-underline-offset: .18em; }
.buyer-guide { padding: clamp(1.3rem, 5vw, 3.5rem); }
.buyer-guide-header h1 { margin-bottom: 1rem; font: 400 clamp(2.45rem, 6.5vw, 4rem)/1.04 var(--serif); letter-spacing: -.045em; }
.buyer-guide-header p { max-width: 60ch; color: var(--muted); font-size: 1.075rem; }
.guide-contents { margin: 1.5rem 0 1.85rem; padding: .85rem 1.15rem; border-radius: 12px; background: var(--soft); color: var(--green); }
.guide-contents ul { margin: 0; padding-inline-start: 1.2rem; }
.guide-contents li { margin: .32rem 0; }
.guide-contents a { display: inline-block; padding: .2rem 0; }
.buyer-guide section { margin-top: 1.65rem; }
.buyer-guide section p { margin-bottom: .75rem; max-width: 70ch; }
.buyer-guide .featured-guide p { margin-bottom: 0; }
.guide-next { margin-top: 2rem; padding-top: 1.35rem; border-top: 1px solid var(--line); }
