@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#142b2a;--muted:#60716e;--green:#0e766e;--green-dark:#0a514d;--mint:#e7f3ef;--line:#dce6e1;--paper:#fff;--bg:#f4f7f5;--gold:#d9a441;--shadow:0 12px 32px rgba(20,43,42,.08)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif}
button,input{font:inherit}
.site-header{height:76px;padding:0 clamp(18px,4vw,64px);display:flex;align-items:center;justify-content:space-between;gap:24px;background:#102b2a;color:#fff;position:sticky;top:0;z-index:1000;box-shadow:0 4px 18px rgba(10,30,29,.16)}
.brand{display:flex;align-items:center;gap:11px;color:#fff;text-decoration:none;flex-shrink:0}
.brand-mark{width:39px;height:39px;border-radius:12px;background:#d4e9df;color:#0e625b;display:grid;place-items:center;font-family:'Manrope',sans-serif;font-size:23px;font-weight:800}
.brand-copy{display:flex;flex-direction:column;line-height:1.1}
.brand-copy strong{font-family:'Manrope',sans-serif;font-size:18px;letter-spacing:.12em}
.brand-copy small{font-size:9px;letter-spacing:.16em;color:#b9cbc5;margin-top:5px}
.main-nav{display:flex;align-items:center;gap:5px}
.nav-link{border:0;background:transparent;color:#c4d2ce;padding:11px 13px;border-radius:9px;font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap}
.nav-link:hover,.nav-link.active{background:rgba(255,255,255,.1);color:#fff}
.header-actions{display:flex;align-items:center;gap:14px;flex-shrink:0}
.language-switch{display:flex;gap:2px;background:rgba(255,255,255,.09);padding:3px;border-radius:8px}
.language-button{border:0;background:transparent;color:#d4e0dc;border-radius:6px;padding:7px 9px;font-size:10px;font-weight:700;letter-spacing:.04em;cursor:pointer}
.language-button.active{background:#d4e9df;color:#0b5c55}
.view-only{font-size:11px;color:#d5e2dd;display:flex;align-items:center;gap:7px;white-space:nowrap}
.status-dot{width:7px;height:7px;background:#77d6a2;border-radius:50%;box-shadow:0 0 0 3px rgba(119,214,162,.13)}
.page-wrap{max-width:1540px;margin:0 auto;padding:36px clamp(16px,4vw,60px) 28px}
.intro-row{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin:8px 0 30px}
.eyebrow{font-size:10px;font-weight:700;letter-spacing:.16em;color:var(--green);margin:0 0 10px}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{font-family:'Manrope',sans-serif}
h1{font-size:clamp(29px,4vw,45px);line-height:1.13;letter-spacing:-.045em;margin:0;max-width:760px}
h1 span{color:var(--green)}
.intro-copy{color:var(--muted);font-size:14px;line-height:1.7;max-width:730px;margin:13px 0 0}
.intro-stats{display:flex;gap:10px;flex-shrink:0}
.intro-stats div{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 16px;min-width:94px;display:flex;flex-direction:column;box-shadow:0 4px 12px rgba(20,43,42,.03)}
.intro-stats strong{font-family:'Manrope',sans-serif;font-size:22px;color:var(--green-dark)}
.intro-stats span{font-size:10px;color:var(--muted);margin-top:2px}
.translation-banner{display:flex;align-items:flex-start;gap:10px;padding:12px 15px;margin:-10px 0 22px;border:1px solid #ead7a8;background:#fff9e9;border-radius:10px;color:#73561c;font-size:12px;line-height:1.55}
.banner-icon{width:18px;height:18px;display:grid;place-items:center;border:1px solid #c79a39;border-radius:50%;font-size:11px;font-weight:700;flex-shrink:0}
.view{display:none}
.view.active{display:block}
.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:17px}
.section-heading h2{font-size:22px;letter-spacing:-.025em;margin:0}
.section-hint{font-size:12px;color:var(--muted);margin:0;max-width:360px;text-align:right}
.map-layout{display:grid;grid-template-columns:310px minmax(0,1fr);gap:14px;min-height:650px}
.map-sidebar,.map-panel{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);overflow:hidden}
.map-sidebar{padding:19px 18px;display:flex;flex-direction:column;gap:20px}
.sidebar-block{position:relative}
.field-label,.sidebar-block h3{font-size:12px;font-weight:700;margin:0 0 10px}
.search-wrap{display:flex;align-items:center;border:1px solid #d4e0db;background:#fbfdfc;border-radius:9px;padding:0 10px}
.search-wrap:focus-within{border-color:var(--green);box-shadow:0 0 0 3px rgba(14,118,110,.1)}
.search-icon{font-size:22px;color:#78918a;margin-right:7px}
.search-wrap input{width:100%;border:0;outline:0;background:transparent;padding:11px 0;font-size:11px;color:var(--ink)}
.search-wrap input::placeholder{color:#94a39f}
.search-results{position:absolute;top:62px;left:0;right:0;z-index:500;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 12px 24px rgba(20,43,42,.13);max-height:230px;overflow:auto}
.search-result{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid #edf1ef;background:#fff;padding:10px 12px;cursor:pointer}
.search-result:last-child{border-bottom:0}
.search-result:hover{background:#f0f7f4}
.search-result strong{display:block;font-size:11px}
.search-result small{font-size:10px;color:var(--muted)}
.sidebar-title-row{display:flex;justify-content:space-between;align-items:center}
.sidebar-title-row h3{margin:0 0 11px}
.mini-label{font-size:8px;letter-spacing:.13em;color:#90a19c;font-weight:700}
.layer-list{display:flex;flex-direction:column;gap:11px}
.layer-option{display:flex;align-items:center;gap:9px;font-size:11px;color:#344b47;cursor:pointer}
.layer-option input{accent-color:var(--green);width:14px;height:14px;margin:0}
.layer-option small{font-size:9px;color:#8b9b96}
.layer-swatch{display:inline-block;width:16px;height:10px;border-radius:3px;flex-shrink:0}
.layer-swatch.wards{background:#e6e9df;border:1px solid #87978b}
.layer-swatch.customary{background:#b8d9ca;border:1px solid #448879}
.layer-swatch.settlements{background:#f0d9a7;border:1px solid #c69b4e}
.layer-swatch.points{width:10px;height:10px;border-radius:50%;background:#b16d4a;margin:0 3px}
.layer-swatch.services{width:10px;height:10px;border-radius:50%;background:#126c67;margin:0 3px}
.layer-swatch.roads{height:3px;background:#6c7e81}
.layer-swatch.buildings{background:#c7cbd0;border:1px solid #8d969d}
.selected-block{border-top:1px solid #edf1ef;padding-top:16px;min-height:110px}
.empty-selection{font-size:11px;line-height:1.6;color:#879590;margin:0}
.feature-card h4{font-size:13px;margin:0 0 7px}
.feature-card p{font-size:11px;line-height:1.55;color:var(--muted);margin:0 0 5px}
.feature-tag{display:inline-block;background:var(--mint);color:var(--green-dark);border-radius:20px;padding:4px 8px;font-size:9px;font-weight:700;margin-bottom:8px}
.sidebar-footnote{margin-top:auto;padding-top:12px;border-top:1px solid #edf1ef;color:#879590;font-size:9px;line-height:1.6}
.map-panel{position:relative;min-height:650px}
#map{height:650px;width:100%;background:#e8eeea}
.map-attribution-note{position:absolute;right:10px;bottom:8px;z-index:400;background:rgba(255,255,255,.85);padding:4px 7px;border-radius:5px;font-size:9px;color:#5d6b67;pointer-events:none}
.map-loading{position:absolute;top:14px;left:50%;transform:translateX(-50%);z-index:600;background:#fff;padding:8px 13px;border:1px solid var(--line);border-radius:20px;box-shadow:0 5px 15px rgba(0,0,0,.08);font-size:11px;color:var(--muted)}
.content-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:10px 0 17px}
.choice-tabs{display:flex;gap:5px;padding:4px;background:#e8efeb;border-radius:9px}
.choice-tab{border:0;background:transparent;padding:9px 15px;border-radius:7px;font-size:11px;font-weight:700;color:#657671;cursor:pointer}
.choice-tab.active{background:#fff;color:var(--green-dark);box-shadow:0 2px 7px rgba(20,43,42,.08)}
.result-count{font-size:10px;color:#82918c}
.procedure-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.procedure-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:17px;display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px;box-shadow:0 5px 15px rgba(20,43,42,.035)}
.step-number{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:var(--mint);color:var(--green-dark);font-family:'Manrope',sans-serif;font-size:13px;font-weight:800}
.procedure-card h3{font-size:13px;line-height:1.4;margin:0 0 7px}
.procedure-card p{font-size:11px;line-height:1.6;color:#5c6e69;margin:0 0 9px}
.meta-row{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.meta-chip{background:#f1f5f3;border:1px solid #e3ebe7;border-radius:20px;padding:4px 7px;font-size:9px;color:#5b6d68}
.detail-line{font-size:10px;color:#536762;line-height:1.5;margin-top:5px}
.detail-line strong{color:#263e39}
.notice-card{margin-top:17px;background:#edf6f2;border:1px solid #d6e8df;border-radius:10px;padding:13px 15px;color:#36564e;font-size:11px;line-height:1.6}
.warning-card{background:#fff8e8;border-color:#efdfb8;color:#71571e;margin:0 0 18px}
.authority-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.authority-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px;box-shadow:0 5px 15px rgba(20,43,42,.035)}
.authority-card h3{font-size:14px;line-height:1.4;margin:0 0 8px}
.authority-card p{font-size:11px;line-height:1.6;color:#5c6e69;margin:9px 0 0}
.authority-type{font-size:9px;color:var(--green-dark);font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.authority-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.requirements-panel{margin-bottom:24px}
.requirements-table-wrap{width:100%;overflow-x:auto;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 5px 15px rgba(20,43,42,.035)}
.requirements-table{width:100%;min-width:1320px;border-collapse:collapse;text-align:left}
.requirements-table th{position:sticky;top:0;background:#eaf3ef;color:#214b45;font-size:10px;font-weight:700;letter-spacing:.035em;padding:12px 13px;border-bottom:1px solid var(--line);vertical-align:top}
.requirements-table td{font-size:10px;line-height:1.5;color:#536762;padding:12px 13px;border-bottom:1px solid #edf1ef;vertical-align:top;max-width:260px}
.requirements-table tbody tr:last-child td{border-bottom:0}
.requirements-table tbody tr:hover{background:#f7faf8}
.requirements-table td:first-child{min-width:180px;color:var(--ink)}
.requirements-table td:first-child strong{display:block;font-size:11px;color:var(--green-dark)}
.requirements-table .english-reference{display:block;color:#788a84;font-size:9px;margin-top:4px}
.requirements-table td:nth-child(2){min-width:100px}
.requirements-table td:nth-child(3),.requirements-table td:nth-child(4),.requirements-table td:nth-child(5){min-width:150px}
.requirements-table td:nth-child(6),.requirements-table td:nth-child(7){min-width:220px}
.requirement-card,.document-card,.glossary-card{background:#fff;border:1px solid var(--line);border-radius:11px;padding:14px}
.requirement-card h4,.document-card h4{font-size:12px;margin:0 0 6px}
.requirement-card p,.document-card p{font-size:10px;line-height:1.55;color:#61716c;margin:0}
.docs-toolbar,.glossary-toolbar{margin-top:24px}
.docs-toolbar h3,.glossary-toolbar h3{font-size:15px;margin:0}
.document-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.document-card{padding:13px}
.document-card .doc-index{font-size:9px;color:var(--green);font-weight:700;display:block;margin-bottom:7px}
.document-card .lenje-text{font-size:10px;color:#56746a;margin-top:7px}
.compact-search{border:1px solid var(--line);border-radius:8px;padding:9px 11px;font-size:11px;outline:0;min-width:190px}
.compact-search:focus{border-color:var(--green)}
.glossary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.glossary-card strong{display:block;font-size:11px;margin-bottom:5px}
.glossary-card span{font-size:10px;color:#5d756c}
.site-footer{margin-top:45px;border-top:1px solid var(--line);padding:20px 0 4px;display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}
.footer-brand{display:flex;align-items:center;gap:9px}
.small-mark{width:30px;height:30px;border-radius:9px;font-size:17px}
.footer-brand div{display:flex;flex-direction:column}
.footer-brand strong{font-size:12px;letter-spacing:.12em}
.footer-brand small{font-size:9px;color:#7b8c86;margin-top:2px}
.site-footer p{font-size:10px;color:#73827d;margin:0}
.site-footer .footer-note{width:100%;font-size:9px;color:#8a9792}
.leaflet-popup-content-wrapper{border-radius:10px}
.leaflet-popup-content{font-family:'DM Sans',sans-serif;font-size:11px;line-height:1.5}
.popup-title{font-weight:700;font-size:12px;margin-bottom:4px;color:#163b35}
@media(max-width:1050px){.site-header{padding:0 18px;gap:12px}.main-nav{gap:0}.nav-link{padding:10px 8px;font-size:11px}.header-actions{gap:8px}.view-only{display:none}.map-layout{grid-template-columns:270px minmax(0,1fr)}.authority-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.site-header{height:auto;min-height:70px;flex-wrap:wrap;padding:12px 15px}.brand{margin-right:auto}.main-nav{order:3;width:100%;overflow-x:auto;padding-top:7px;border-top:1px solid rgba(255,255,255,.1)}.nav-link{font-size:10px;flex:1}.header-actions{margin-left:auto}.page-wrap{padding:25px 13px}.intro-row{display:block}.intro-stats{margin-top:18px}.intro-stats div{flex:1;min-width:0}.section-heading{display:block}.section-hint{text-align:left;margin-top:8px}.map-layout{display:flex;flex-direction:column}.map-sidebar{order:2}.map-panel{order:1;min-height:440px}#map{height:440px}.procedure-list{grid-template-columns:1fr}.authority-grid,.document-grid,.glossary-grid{grid-template-columns:1fr 1fr}.requirements-panel{grid-template-columns:1fr}.site-footer{align-items:flex-start;flex-direction:column}.site-footer .footer-note{margin-top:0}}
@media(max-width:420px){.authority-grid,.document-grid,.glossary-grid{grid-template-columns:1fr}.intro-stats div{padding:10px}.intro-stats strong{font-size:19px}.language-button{padding:7px}.choice-tab{padding:9px 10px}}
