:root{--ink:#15363d;--deep:#163c46;--muted:#63777b;--paper:#f4f5ef;--lime:#d3f36b;--line:#dbe2dd}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.5 Manrope,Arial,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:14px;padding:11px 16px;min-height:44px;font-weight:700}button:hover{background:#edf1e7}button:disabled{opacity:.55;cursor:wait}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #5c8b75;outline-offset:2px}[hidden]{display:none!important}.map-header{display:flex;align-items:center;justify-content:space-between;padding:14px max(20px,calc((100vw - 1440px)/2));background:#ffffffb8;border-bottom:1px solid var(--line)}.map-brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:20px;font-weight:850}.map-brand img{border-radius:10px}main{max-width:1480px;margin:auto;padding:24px}.map-intro{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:0 4px 22px}h1{font-size:clamp(30px,4vw,48px);letter-spacing:-.05em;line-height:1.05;margin:6px 0 12px}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:800;margin:0}.map-intro p:not(.eyebrow){margin:0;color:var(--muted)}.map-workspace{display:grid;grid-template-columns:320px 1fr;min-height:560px;height:calc(100dvh - 245px);border:1px solid var(--line);border-radius:28px;overflow:hidden;background:white;box-shadow:0 18px 50px #163c4610}.map-sidebar{padding:22px;overflow:auto;z-index:2}label{display:grid;gap:6px;font-weight:700;font-size:13px}input,select,textarea{width:100%;min-width:0;border:1px solid var(--line);background:#fff;border-radius:12px;padding:12px;color:var(--ink)}.search-row{display:flex;gap:6px}.search-row button{padding:9px}.map-sidebar label{margin-bottom:12px}#filtersToggle{display:none}#resultsStatus,.map-footnote{font-size:12px;color:var(--muted)}.result-row{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:16px 0;background:transparent}.result-row strong{display:block}.result-row small{display:block;color:var(--muted);font-weight:400;margin-top:4px}.map-surface{position:relative;min-height:400px}#map{height:100%;width:100%;background:#e9eee5;z-index:0}.map-controls{position:absolute;top:16px;right:16px;display:flex;gap:6px;max-width:calc(100% - 72px)}.map-controls button{font-size:12px;background:#ffffffeb;backdrop-filter:blur(14px);box-shadow:0 5px 20px #163c4618}.map-add{position:absolute;bottom:42px;right:22px;background:var(--deep);color:white;border:0;font-size:16px;padding:15px 30px;box-shadow:0 10px 30px #163c4644}.map-add:hover{background:#285661}.map-dot{width:28px;height:28px;border-radius:50%;border:3px solid #fff;box-shadow:0 2px 10px #163c4640;display:grid;place-items:center;color:#fff;font-size:11px;font-weight:800}.map-cluster{background:var(--deep);color:var(--lime);border:4px solid #ffffffbb;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:14px}.ol-attribution{font-size:10px!important;background:#ffffffef!important;max-width:100%}.map-footnote{margin:12px 0}dialog{border:1px solid var(--line);border-radius:26px;box-shadow:0 30px 120px #0d32354d;color:var(--ink);background:#fafbf7;width:min(580px,calc(100% - 24px));max-height:88dvh;padding:24px}dialog::backdrop{background:#0b24264d;backdrop-filter:blur(5px)}.dialog-head{display:flex;align-items:flex-start;gap:12px;justify-content:space-between;margin-bottom:20px}.dialog-head h2{margin:3px 0;font-size:25px;line-height:1.15;letter-spacing:-.035em}.dialog-head button{padding:8px 12px}dialog form{display:grid;gap:14px}dialog p{overflow-wrap:anywhere}dialog label{margin-bottom:8px}.coordinate-row{display:flex;gap:12px}.coordinate-row label{flex:1}.primary{background:var(--deep);color:#fff}.route-links,.detail-actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.route-links a{padding:11px 15px;border:1px solid var(--line);border-radius:12px;background:white;font-weight:700;text-decoration:none}.detail-photo{width:100%;max-height:320px;object-fit:cover;border-radius:18px;margin-bottom:10px}.badge{display:inline-block;border-radius:99px;background:#e8eddf;padding:6px 10px;font-size:12px}.comment{border-top:1px solid var(--line);padding:15px 0}.comment button{font-size:12px;padding:7px 10px}.comment p{white-space:pre-wrap}.comment small{color:var(--muted)}#pickHint{position:absolute;left:12px;right:12px;bottom:100px;background:var(--deep);color:#fff;padding:16px;border-radius:18px;z-index:4;display:flex;gap:15px;align-items:center;justify-content:space-between}#admin{width:min(900px,calc(100% - 24px))}.admin-row{padding:15px 0;border-bottom:1px solid var(--line)}.admin-row button{margin:8px 6px 0 0}.stats{display:flex;flex-wrap:wrap;gap:12px}.stats span{background:#e8eddf;padding:12px;border-radius:14px}fieldset{border:1px solid var(--line);border-radius:14px;padding:14px}#formStatus{white-space:pre-wrap}.map-surface.picking{outline:4px solid var(--lime);outline-offset:-4px}.map-surface.picking .ol-viewport{cursor:crosshair}@media(max-width:760px){main{padding:14px 10px 8px}.map-header{padding:10px 14px}.map-brand{font-size:17px}.map-header button{font-size:12px;padding:9px}.map-intro{padding:0 6px 16px}.map-intro p:not(.eyebrow){font-size:12px;max-width:270px}.map-intro #manage{font-size:11px;padding:8px;max-width:115px}.map-workspace{display:flex;flex-direction:column;border-radius:22px;height:auto;min-height:0}.map-sidebar{padding:14px;overflow:visible}.map-sidebar form label{font-size:12px}.search-row{margin-top:5px}#filtersToggle{display:inline-flex;font-size:12px}#filters{display:none;margin-top:12px;grid-template-columns:1fr 1fr;gap:10px}#filters.open{display:grid}#filters #reset{grid-column:1 / -1}.map-sidebar #resultsStatus{display:inline;margin-left:8px}#results{max-height:145px;overflow:auto}.result-row{padding:8px 0;font-size:12px}.result-row small{font-size:11px}.map-surface{height:58dvh;min-height:340px}.map-controls{top:12px;right:10px;flex-direction:column}.map-controls button{font-size:11px;padding:8px 12px;min-height:40px}.map-add{bottom:35px;right:14px;padding:13px 25px}dialog{margin:auto auto 0;width:100%;max-height:88dvh;border-radius:26px 26px 0 0;padding:22px 18px calc(24px + env(safe-area-inset-bottom))}.map-footnote{padding-bottom:env(safe-area-inset-bottom)}.coordinate-row{gap:8px}.sokury-mini main{padding-bottom:12px}}@media(prefers-reduced-motion:no-preference){dialog[open]{animation:appear .18s ease-out}@keyframes appear{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}}

/* Category color, curated glyph, optional moderated image; no text inside map markers. */
.map-marker-shell{background:none;border:0}.map-pictogram{width:var(--marker-size);height:var(--marker-size);background:var(--marker-color);color:white;border:2px solid white;box-shadow:0 2px 6px #153b4933;border-radius:32%;display:grid;place-items:center;position:relative;box-sizing:border-box;overflow:hidden;transition:width .15s,height .15s,box-shadow .15s}.map-pictogram svg{width:66%;height:66%}.map-pictogram img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.map-marker-shell:focus-visible{outline:3px solid #142f48;outline-offset:4px;border-radius:32%}.map-marker-shell:hover .map-pictogram{box-shadow:0 2px 10px #153b4980}.marker-field{border:1px solid #d8e2df;border-radius:18px;padding:14px;min-width:0}.icon-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(78px,1fr));gap:6px;max-height:250px;overflow:auto;padding:5px}.icon-picker .icon-choice{display:grid;justify-items:center;gap:5px;padding:9px 3px;min-height:76px;background:#f5f8f7;border:2px solid transparent;border-radius:12px;font-weight:500}.icon-choice span{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:var(--marker-color);color:#fff}.icon-choice svg{width:22px;height:22px}.icon-choice small{font-size:10px;line-height:1.2}.icon-picker .icon-choice[aria-pressed=true]{border-color:#163c46;background:#e5efe9}.marker-field p{font-size:13px;color:#52706a}.map-cluster{background:#f5faf8!important;border:2px solid #2e6867;box-shadow:0 2px 10px #163c4628;color:#163c46!important;font-weight:750}@media(prefers-reduced-motion:reduce){.map-pictogram{transition:none}}

.map-marker-shell{display:grid;place-items:center;width:44px;height:44px}.source-details{margin:14px 0}.source-details a{display:inline-block;padding:6px}

/* Locally bundled map engine controls and accessible DOM markers. */
.map-marker-shell{padding:0!important;min-height:44px;border:0!important;background:transparent!important;box-shadow:none;cursor:pointer}.map-cluster{width:44px;height:44px;min-height:44px;padding:0!important;line-height:1;border-radius:50%;font-size:14px}.map-picked-point{display:block;width:22px;height:22px;border:3px solid #163c46;border-radius:50%;background:#d3f36b;box-shadow:0 0 0 4px #fff8}.ol-zoom{top:12px;left:12px;padding:0;border-radius:14px;overflow:hidden;box-shadow:0 4px 15px #163c4620}.ol-control button{min-width:44px;min-height:44px;margin:0;background:#fff;color:#163c46;font-size:24px;line-height:1;border-radius:0}.ol-control button:hover{background:#edf1e7}.ol-attribution{right:0;bottom:0;padding:3px 5px;border-radius:0}.ol-attribution ul{font-size:10px;text-shadow:none}.map-surface.picking .map-marker-shell,.map-surface.picking .map-cluster{cursor:crosshair}.map-controls,.map-add{z-index:2}.ol-viewport:focus-visible{outline:3px solid #59796a;outline-offset:-3px}

/* The map owns pan/pinch gestures; the surrounding page remains scrollable. */
#map,#map .ol-viewport,#map .map-marker-shell,#map .map-cluster{touch-action:none}#map{-webkit-user-select:none;user-select:none}#map .ol-viewport{cursor:grab}#map .ol-viewport:active{cursor:grabbing}.map-surface.picking #map .ol-viewport{cursor:crosshair}
.map-marker-shell.map-expanded .map-pictogram{width:30px;height:30px}.map-marker-shell.map-expanded{width:44px;height:44px;min-height:44px}

/* Compact category toolbar: the object list lives in a dialog, not over the map. */
.map-workspace{display:flex;flex-direction:column;height:auto;min-height:0}.map-sidebar{padding:18px 22px;overflow:visible}.map-sidebar #searchForm{max-width:640px}.map-sidebar #searchForm label{margin-bottom:0}.map-surface{height:calc(100dvh - 410px);min-height:460px}.quick-categories{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding:12px 1px 9px;max-width:100%;-webkit-overflow-scrolling:touch}.category-shortcut{flex:0 0 80px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border:1px solid transparent;background:transparent;border-radius:16px;padding:7px 4px;min-height:76px;font-size:11px;font-weight:700;line-height:1.2;white-space:nowrap}.category-symbol{display:grid;place-items:center;background:color-mix(in srgb,var(--category-color) 10%,white);color:var(--category-color);width:38px;height:38px;border-radius:13px}.category-symbol svg{width:24px;height:24px}.category-shortcut[aria-pressed=true]{border-color:#a3bcb1;background:#eaf1eb}.category-shortcut[aria-pressed=true] .category-symbol{background:var(--category-color);color:#fff}.map-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.map-toolbar button{font-size:12px;padding:9px 13px;background:#f7f9f5}.map-sidebar #resultsStatus{display:block;margin:0 0 0 auto;font-size:12px}#filtersToggle{display:inline-flex}#filters{display:none;margin-top:12px;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end}#filters.open{display:grid}#filters label{margin:0}#filters #reset{grid-column:auto}#resultsDialog{width:min(620px,calc(100% - 24px))}#resultsDialog #results{max-height:none;overflow:visible}#resultsDialog .result-row{padding:15px 0;font-size:15px}#resultsDialog .result-row small{font-size:12px}.map-surface{border-top:1px solid var(--line)}
@media(max-width:760px){.map-sidebar{padding:12px 14px}.quick-categories{gap:3px;padding:9px 0 7px;margin-right:-5px}.category-shortcut{flex-basis:70px;min-height:70px;font-size:10px;padding:5px 2px}.category-symbol{width:35px;height:35px;border-radius:12px}.category-symbol svg{width:22px;height:22px}.map-toolbar{gap:6px}.map-toolbar button{font-size:11px;padding:8px 11px}.map-sidebar #resultsStatus{font-size:11px}.map-surface{height:64dvh;min-height:390px}#filters{grid-template-columns:1fr 1fr}#filters #reset{grid-column:1 / -1}#resultsDialog{width:100%}}

.map-pictogram.map-unverified{overflow:visible;border-style:dashed;outline:2px solid #ad792b;outline-offset:1px}.map-pictogram.map-unverified::after{content:"?";position:absolute;right:-5px;top:-5px;background:#fff3d6;color:#704607;width:15px;height:15px;border-radius:50%;font:700 11px/15px Arial;text-align:center}

/* Admin counts are real filters, and category actions remain reachable on phones. */
.stats button{background:#e8eddf;text-align:left;font-weight:600;font-size:13px;padding:10px 12px;white-space:normal}.stats button[aria-pressed=true]{background:var(--deep);color:#fff}.admin-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.admin-actions button{font-size:13px;padding:10px 12px}#adminBody details{margin-top:14px}#adminBody summary{cursor:pointer;padding:10px 0;font-weight:700}#adminStatus,#categoryStatus,#newCategoryStatus{white-space:pre-wrap;color:var(--deep)}#coordinateHelp{font-size:12px;color:var(--muted);margin:0}#entryNewCategory,#registryNewCategory{justify-self:start;font-size:13px}#categoryManager{scroll-margin-top:12px}#categoryEditor{width:min(460px,calc(100% - 24px))}@media(max-width:760px){.stats{gap:8px}.stats button{flex:1 1 145px}.dialog-head h2{font-size:23px}#categoryEditor{width:100%}}
