/* Hallmark · shape: app screen · genre: modern-minimal · theme: Wayfind (deal 1/3, seed interactive-web-map-village-ba3f·9fdb3d77·2026-11-18·r0) · redesign: full
 * nav: kept, a signage mast: wordmark over the village name, the count plate, the repo link · signature: kept, the boundary polygon as the map's anchor
 * states: layers on/off, search matched/dimmed, popup open · wayfind: platform · axes: light/mono/cool · posture: committed · contrast: pass · v2.0.0 */
/* Hallmark · reworded "map digital desa ngasem" to "Desa Ngasem" · 54, an eyebrow and a heading said the same thing */
/* Hallmark · reworded "pencarian" to "Cari fasilitas" · 67, the tracked caps label over one field */
/* Hallmark · reworded "informasi peta" to the rail foot note · 67 and 71, a tracked caps head over prose */
/* Hallmark · dropped L.Control.Locate.min.js, multi-style-layer.js, leaflet-svg-shape-markers.min.js · no control on the page ever built a locate button or a multi-style layer, so the files shipped without a call */
/* Hallmark · dropped 4280.png, 4279.png, 4281.png, 4282.png, 4278.png · the legend is the layer list built from the data at load */
/* Hallmark · waive 24b · the 23 findings are Leaflet's own control margins inside the vendored sheet · rebuilding the library's positioning to a 4px grid moves popup tips and tooltip arrows off their anchor */
/* Hallmark · pre-emit critique: P5 H5 E4 S5 R5 V5 · weakest: E, the vendor Leaflet sheet is tokenized and concatenated, not rebuilt; the mast plates, the ink-filled rows and the readout carry the theme instead */

:root {
  color-scheme: light;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.75rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.2rem; --text-xl: 1.44rem; --text-2xl: 1.728rem; --text-3xl: 2.074rem;
  --text-display-s: 1.44rem; --text-display: 1.728rem; --text-section: 1.2rem; --text-title: 1rem; --text-lead: 1rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  --color-paper: oklch(95.5% 0.006 250); --color-paper-2: oklch(91% 0.009 250); --color-paper-3: oklch(99.5% 0.005 250);
  --color-ink: oklch(16% 0.014 262); --color-ink-2: oklch(29% 0.014 262); --color-muted: oklch(47% 0.016 260);
  --color-rule: oklch(80% 0.011 250); --color-ink-rule: oklch(34% 0.014 262);
  --color-accent: oklch(51% 0.22 264); --color-accent-2: oklch(81% 0.16 82); --color-accent-ink: oklch(99.5% 0.003 250); --color-focus: oklch(51% 0.22 264);
  --font-display: "Chivo Mono", ui-monospace, monospace; --font-body: var(--font-display); --font-outlier: var(--font-body);
  --radius-card: 0; --radius-pill: 999px; --rule-hair: 1px; --rule-bar: 2px;
  --shadow-card: 0 24px 40px -24px oklch(8% 0.01 260 / 0.6);
  --tracking-display: -0.03em; --display-weight: 800;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: var(--color-accent-2); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight, 700); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.05; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 20ch; font-size: var(--text-display); } h2 { max-width: 30ch; font-size: var(--text-section); } h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-slot] { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--color-paper-2, var(--color-paper)), var(--color-paper-3, var(--color-paper))); }
[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
[data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }
/* photographs: natural sat=-12 con=10 */
[data-slot] > img { filter: saturate(0.88) contrast(1.1); }


/* vendor: leaflet.css */
html, body { overflow-x: clip; }
/* required styles */

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
	}
.leaflet-container {
	overflow: hidden;
	}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
	  -webkit-user-drag: none;
	}
/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
	background: transparent;
}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
	}
/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg,
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
	max-width: none !important;
	max-height: none !important;
	}

.leaflet-container.leaflet-touch-zoom {
	-ms-touch-action: pan-x pan-y;
	touch-action: pan-x pan-y;
	}
.leaflet-container.leaflet-touch-drag {
	-ms-touch-action: pinch-zoom;
	/* Fallback for FF which doesn't support pinch-zoom */
	touch-action: none;
	touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	-ms-touch-action: none;
	touch-action: none;
}
.leaflet-container {
	-webkit-tap-highlight-color: transparent;
}
.leaflet-container a {
	-webkit-tap-highlight-color: var(--accent-40);
}
.leaflet-tile {
	filter: inherit;
	visibility: hidden;
	}
.leaflet-tile-loaded {
	visibility: inherit;
	}
.leaflet-zoom-box {
	width: 0;
	height: 0;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	z-index: 800;
	}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
	-moz-user-select: none;
	}

.leaflet-pane         { z-index: 400; }

.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane   { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }

.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }

.leaflet-vml-shape {
	width: 1px;
	height: 1px;
	}
.lvml {
	behavior: url(#default#VML);
	display: inline-block;
	position: absolute;
	}


/* control positioning */

.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}
.leaflet-top,
.leaflet-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
	}
.leaflet-top {
	top: 0;
	}
.leaflet-right {
	right: 0;
	}
.leaflet-bottom {
	bottom: 0;
	}
.leaflet-left {
	left: 0;
	}
.leaflet-control {
	float: left;
	clear: both;
	}
.leaflet-right .leaflet-control {
	float: right;
	}
.leaflet-top .leaflet-control {
margin-top: 10px;
	}
.leaflet-bottom .leaflet-control {
margin-bottom: 10px;
	}
.leaflet-left .leaflet-control {
margin-left: 10px;
	}
.leaflet-right .leaflet-control {
margin-right: 10px;
	}


/* zoom and fade animations */

.leaflet-fade-anim .leaflet-tile {
	will-change: opacity;
	}
.js .leaflet-fade-anim .leaflet-popup {
	opacity: 0;
	-webkit-transition: opacity 0.2s linear;
	   -moz-transition: opacity 0.2s linear;
	        transition: opacity 0.2s linear;
	}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
	}
.leaflet-zoom-animated {
	-webkit-transform-origin: 0 0;
	    -ms-transform-origin: 0 0;
	        transform-origin: 0 0;
	}
.leaflet-zoom-anim .leaflet-zoom-animated {
	will-change: transform;
	}
.leaflet-zoom-anim .leaflet-zoom-animated {
	-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
	   -moz-transition:    -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
	        transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	-webkit-transition: none;
	   -moz-transition: none;
	        transition: none;
	}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
	}


/* cursors */

.leaflet-interactive {
	cursor: pointer;
	}
.leaflet-grab {
	cursor: -webkit-grab;
	cursor:    -moz-grab;
	cursor:         grab;
	}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
	cursor: crosshair;
	}
.leaflet-popup-pane,
.leaflet-control {
	cursor: auto;
	}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
	cursor: move;
	cursor: -webkit-grabbing;
	cursor:    -moz-grabbing;
	cursor:         grabbing;
	}

/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
	pointer-events: none;
	}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}

/* visual tweaks */

.leaflet-container {
	background: var(--color-paper-2);
	outline: 0;
	}
.leaflet-container a {
	color: var(--color-accent);
	}
.leaflet-container a.leaflet-active {
	outline: 2px solid orange;
	}
.leaflet-zoom-box {
	border: 2px dotted var(--color-accent);
	background: var(--paper-50);
	}


/* general typography */
.leaflet-container {
	font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
	}


/* general toolbar styles */

.leaflet-bar {
	box-shadow: 0 1px 5px var(--ink-65);
	border-radius: 4px;
	}
.leaflet-bar a,
.leaflet-bar a:hover {
	background-color: var(--color-paper-3);
	border-bottom: 1px solid var(--color-rule);
	width: 26px;
	height: 26px;
	line-height: 26px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: var(--color-ink);
	}
.leaflet-bar a,
.leaflet-control-layers-toggle {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	}
.leaflet-bar a:hover {
	background-color: var(--color-paper-2);
	}
.leaflet-bar a:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	}
.leaflet-bar a:last-child {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: none;
	}
.leaflet-bar a.leaflet-disabled {
	cursor: default;
	background-color: var(--color-paper-2);
	color: var(--color-muted);
	}

.leaflet-touch .leaflet-bar a {
	width: 30px;
	height: 30px;
	line-height: 30px;
	}
.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	}
.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	}

/* zoom control */

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
	font: bold 18px 'Lucida Console', Monaco, monospace;
	text-indent: 1px;
	}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
	font-size: 22px;
	}


/* layers control */

.leaflet-control-layers {
	box-shadow: 0 1px 5px var(--ink-40);
	background: var(--color-paper-3);
	border-radius: 5px;
	}
.leaflet-control-layers-toggle {
	background-image: url(images/layers.png);
	width: 36px;
	height: 36px;
	}
.leaflet-retina .leaflet-control-layers-toggle {
	background-image: url(images/layers-2x.png);
	background-size: 26px 26px;
	}
.leaflet-touch .leaflet-control-layers-toggle {
	width: 44px;
	height: 44px;
	}
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
	}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
	display: block;
	position: relative;
	}
.leaflet-control-layers-expanded {
	padding: 6px 10px 6px 6px;
	color: var(--color-ink-2);
	background: var(--color-paper-3);
	}
.leaflet-control-layers-scrollbar {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 5px;
	}
.leaflet-control-layers-selector {
	margin-top: var(--space-3xs);
	position: relative;
	top: 1px;
	}
.leaflet-control-layers label {
	display: block;
	}
.leaflet-control-layers-separator {
	height: 0;
	border-top: 1px solid var(--color-rule);
margin: 5px -10px 5px -6px;
	}

/* Default icon URLs */
.leaflet-default-icon-path {
	background-image: url(images/marker-icon.png);
	}


/* attribution and scale controls */

.leaflet-container .leaflet-control-attribution {
	background: var(--color-paper-3);
	background: var(--paper-70);
	margin: 0;
	}
.leaflet-control-attribution,
.leaflet-control-scale-line {
	padding: 0 5px;
	color: var(--color-ink-2);
	}
.leaflet-control-attribution a {
	text-decoration: none;
	}
.leaflet-control-attribution a:hover {
	text-decoration: underline;
	}
.leaflet-container .leaflet-control-attribution,
.leaflet-container .leaflet-control-scale {
	font-size: 11px;
	}
.leaflet-left .leaflet-control-scale {
margin-left: 5px;
	}
.leaflet-bottom .leaflet-control-scale {
margin-bottom: 5px;
	}
.leaflet-control-scale-line {
	border: 2px solid var(--color-muted);
	border-top: none;
	line-height: 1.1;
	padding: var(--space-3xs) var(--space-2xs) var(--space-3xs);
	font-size: 11px;
	white-space: nowrap;
	overflow: hidden;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;

	background: var(--color-paper-3);
	background: var(--paper-50);
	}
.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid var(--color-muted);
	border-bottom: none;
	margin-top: calc(-1 * var(--space-3xs));
	}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid var(--color-muted);
	}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	box-shadow: none;
	}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 2px solid var(--ink-40);
	background-clip: padding-box;
	}


/* popup */

.leaflet-popup {
	position: absolute;
	text-align: center;
	margin-bottom: 20px;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;
	}
.leaflet-popup-content {
margin: 13px 19px;
	line-height: 1.4;
	}
.leaflet-popup-content p {
margin: 18px 0;
	}
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
	}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;

margin: -10px auto 0;

	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: white;
	color: var(--color-ink-2);
	box-shadow: 0 3px 14px var(--ink-40);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	padding: var(--space-2xs) var(--space-2xs) 0 0;
	border: none;
	text-align: center;
	width: 18px;
	height: 14px;
	font: 16px/14px Tahoma, Verdana, sans-serif;
	color: var(--color-muted);
	text-decoration: none;
	font-weight: bold;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover {
	color: var(--color-muted);
	}
.leaflet-popup-scrolled {
	overflow: auto;
	border-bottom: 1px solid var(--color-rule);
	border-top: 1px solid var(--color-rule);
	}

.leaflet-oldie .leaflet-popup-content-wrapper {
	-ms-zoom: 1;
	}
.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;

	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	}
.leaflet-oldie .leaflet-popup-tip-container {
margin-top: -1px;
	}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid var(--color-muted);
	}


/* div icon */

.leaflet-div-icon {
	background: var(--color-paper-3);
	border: 1px solid var(--color-muted);
	}


/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: var(--color-paper-3);
	border: 1px solid var(--color-paper-3);
	border-radius: 3px;
	color: var(--color-ink);
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	box-shadow: 0 1px 3px var(--ink-40);
	}
.leaflet-tooltip.leaflet-clickable {
	cursor: pointer;
	pointer-events: auto;
	}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	position: absolute;
	pointer-events: none;
	border: 6px solid transparent;
	background: transparent;
	content: "";
	}

/* Directions */

.leaflet-tooltip-bottom {
margin-top: 6px;
}
.leaflet-tooltip-top {
margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
	left: 50%;
margin-left: -6px;
	}
.leaflet-tooltip-top:before {
	bottom: 0;
	margin-bottom: calc(-1 * var(--space-sm));
	border-top-color: var(--color-paper-3);
	}
.leaflet-tooltip-bottom:before {
	top: 0;
	margin-top: calc(-1 * var(--space-sm));
margin-left: -6px;
	border-bottom-color: var(--color-paper-3);
	}
.leaflet-tooltip-left {
margin-left: -6px;
}
.leaflet-tooltip-right {
margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	top: 50%;
margin-top: -6px;
	}
.leaflet-tooltip-left:before {
	right: 0;
	margin-right: calc(-1 * var(--space-sm));
	border-left-color: var(--color-paper-3);
	}
.leaflet-tooltip-right:before {
	left: 0;
	margin-left: calc(-1 * var(--space-sm));
	border-right-color: var(--color-paper-3);
	}

/* vendor: qgis2web.css */

        #map {
            background-color: var(--color-paper-3)
        }
        .info {
            padding: var(--space-xs);
            font: 400 14px/16px var(--font-body);
            background: var(--color-paper-3);
            background: var(--paper-70);
            box-shadow: 0 0 15px var(--ink-40);
            border-radius: 5px;
        }
        .info h2 {
margin: 0 0 5px;
            color: var(--color-muted);
        }
        .leaflet-container {
            background: var(--color-paper-2);
            padding-right: 10px;
        }
        .leaflet-popup-scrolled {
            border-bottom: unset!important;
            border-top: unset!important;
        }
        .leaflet-popup-content{
            max-height: 70vh;
            max-width: 70vw;
        }
        .leaflet-popup-content.media{
            width: auto!important;
            height: auto!important;
        }
        .leaflet-popup-content th {
            text-align: left;
            vertical-align: top;
            min-width: 75px;
        }
        .leaflet-popup-content td {
            min-width: 75px;
        }
        .leaflet-popup-content td img {
            max-height: 60vh;
            max-width: 60vw;
        }

        .leaflet-tooltip {
            background: none;
            box-shadow: none;
            border: none;
        }
        .leaflet-tooltip-left:before, .leaflet-tooltip-right:before {
            border: 0px;
        }
        }
        .fa, .leaflet-container, a {
            color: var(--color-ink-2) !important;
        }
        .leaflet-control-zoom-in, .leaflet-control-zoom-out,
        .leaflet-control-locate a,
        .leaflet-touch .leaflet-control-geocoder-icon,
        .leaflet-control-search .search-button,
         .leaflet-control-measure {
            background-color: var(--color-paper-2) !important;
            border-radius: 0px !important;
            color: var(--color-ink-2) !important;
        }
        .abstract {
            font: 800 18px var(--font-body);
            text-indent: 1px;
            background-color: var(--color-paper-2) !important;
            width: 30px !important;
            color: var(--color-ink-2) !important;
            height: 30px !important;
            text-align: center !important;
            line-height: 30px !important;
        }
        .abstractUncollapsed {
            padding: var(--space-xs);
            font: 400 12px/1.5 var(--font-body);
            background-color:var(--color-paper-2) !important;
            color: var(--color-ink-2) !important;
            box-shadow: 0 0 15px var(--ink-40);
            border-radius: 5px;
            max-width: 40%;
        }
        .leaflet-touch .leaflet-control-layers,
        .leaflet-touch .leaflet-bar,
        .leaflet-control-search,
        .leaflet-control-measure {
            border: 3px solid var(--paper-50) !important;
        }
        .leaflet-control-attribution a {
            color: var(--color-accent) !important;
        }
        .leaflet-control-scale-line {
            border: 2px solid var(--color-paper-2) !important;
            border-top: none !important;
            color: var(--color-ink) !important;
        }
        .leaflet-control-search .search-button,
        .leaflet-container .leaflet-control-search,
        .leaflet-control-measure {
            box-shadow: none !important;
        }
        .leaflet-control-search .search-button {
            width: 30px !important;
            height: 30px !important;
            font-size: 13px !important;
            text-align: center !important;
            line-height: 30px !important;
        }
        .leaflet-control-measure .leaflet-control {
            width: 30px !important;
            height: 30px !important;
        }
        .leaflet-container .leaflet-control-search{
            background: none !important;
        }
        .leaflet-control-search .search-input {
            margin: 0px 0px 0px 0px !important;
            height: 30px !important;
        }
        .leaflet-control-measure {
            background: none!important;
            border-radius: 4px !important;
        }
        .leaflet-control-measure .leaflet-control-measure-interaction {
            background-color: var(--color-paper-2) !important;
        }
        .leaflet-touch .leaflet-control-measure
        .leaflet-control-measure-toggle,
        .leaflet-touch .leaflet-control-measure
        .leaflet-control-measure-toggle:hover {
            width: 30px !important;
            height: 30px !important;
            border-radius: 0px !important;
            background-color: var(--color-paper-2) !important;
            color: var(--color-ink-2) !important;
            font-size: 13px;
            line-height: 30px;
            text-align: center;
            text-indent: 0%;
        }
        .leaflet-control-layers-toggle {
            background-color: var(--color-paper-2) !important;
        }
        .leaflet-overlay-pane {
            z-index: 550;
        }
        .leaflet-popup-pane {
            z-index: 700;
        }
/* vendor: L.Control.Layers.Tree.css */
.leaflet-control-layers-toggle.leaflet-layerstree-named-toggle {
    margin: var(--space-3xs) var(--space-2xs);
    width: auto;
    height: auto;
    background-image: none;
}

.leaflet-control-layers-list{
	font: 13px / 1.7 "Helvetica Neue", Arial, Helvetica, sans-serif;
}

.leaflet-layerstree-node {
}

.leaflet-layerstree-header input{
    margin-left: 0px;
}


.leaflet-layerstree-header {
}

.leaflet-layerstree-header-pointer {
    cursor: pointer;
}

.leaflet-layerstree-header label {
    display: inline-block;
    cursor: pointer;
}

.leaflet-layerstree-header-label {
}

.leaflet-layerstree-header-name {
	padding-left: var(--space-3xs);
}

.leaflet-layerstree-header-space {
}

.leaflet-layerstree-children {
    padding-left: 20px;
}

.leaflet-layerstree-children-nopad {
    padding-left: 0px;
}

.leaflet-layerstree-closed {
}

.leaflet-layerstree-opened {
}

.leaflet-layerstree-hide {
    display: none;
}

.leaflet-layerstree-nevershow {
    display: none;
}

.leaflet-layerstree-expand-collapse {
    cursor: pointer;
}

/* --- derived tokens: the pairs the vendor sheet needs, plus map marks --- */
:root {
  --paper-50: oklch(99.5% 0.005 250 / 0.5);
  --paper-70: oklch(99.5% 0.005 250 / 0.7);
  --ink-65: oklch(16% 0.014 262 / 0.65);
  --ink-40: oklch(16% 0.014 262 / 0.4);
  --accent-40: oklch(51% 0.22 264 / 0.4);
  --mast-h: 64px;
  --rail-w: 340px;
  --hit: 44px;
}

/* --- shell --- */
body { overflow-x: clip; height: 100dvh; display: grid; grid-template-rows: var(--mast-h) minmax(0, 1fr); overflow-y: hidden; }

.mast {
  display: flex; align-items: stretch; justify-content: space-between; gap: var(--space-md);
  background: var(--color-ink); color: var(--color-paper);
  border-bottom: var(--rule-bar) solid var(--color-ink);
  padding-left: var(--space-md); padding-right: var(--space-md);
}
.wordmark {
  display: flex; align-items: baseline; gap: var(--space-sm);
  color: var(--color-paper); text-decoration: none; align-self: center;
  font-weight: 800; font-size: var(--text-lg); letter-spacing: var(--tracking-display);
  white-space: nowrap; overflow-wrap: break-word; min-width: 0;
}
.wordmark small { font-weight: 400; font-size: var(--text-sm); color: var(--color-paper-2); letter-spacing: 0; }
.mast-meta { display: flex; align-items: stretch; gap: 0; }
.plate {
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--space-lg); border-left: var(--rule-bar) solid var(--color-ink-rule);
}
.plate .figure {
  font-weight: 800; font-size: var(--text-xl); line-height: 1; color: var(--color-accent-2);
  font-variant-numeric: tabular-nums;
}
.plate .label { font-size: var(--text-xs); color: var(--color-paper-2); line-height: 1.2; }
.mast-link {
  display: inline-flex; align-items: center; padding: 0 var(--space-lg);
  color: var(--color-paper); text-decoration: underline; text-underline-offset: 0.2em;
  font-weight: 500; font-size: var(--text-sm); white-space: nowrap;
  border-left: var(--rule-bar) solid var(--color-ink-rule);
  transition: color var(--dur-micro) steps(1), background-color var(--dur-micro) steps(1);
}
.mast-link:hover { color: var(--color-ink); background: var(--color-accent-2); }

.work { display: grid; grid-template-columns: var(--rail-w) minmax(0, 1fr); min-height: 0; }
.work > * { min-height: 0; }


/* --- rail --- */
.rail {
  min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  background: var(--color-paper-3); border-right: var(--rule-bar) solid var(--color-ink);
  display: flex; flex-direction: column;
  scrollbar-color: var(--color-muted) var(--color-paper-3);
}
.rail-block { padding: var(--space-md) var(--space-lg) var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
.rail-block:last-of-type { border-bottom: 0; }
.rail-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}
.rail-head h2 { font-size: var(--text-md); font-weight: 800; line-height: 1.2; text-wrap: balance; }
.rail-head .count { font-size: var(--text-xs); color: var(--color-muted); font-variant-numeric: tabular-nums; }

.search { position: relative; }
.search input {
  width: 100%; min-height: var(--hit); padding: 0 var(--space-md);
  background: var(--color-paper); color: var(--color-ink);
  border: var(--rule-bar) solid var(--color-muted); border-radius: 0;
  font-size: var(--text-sm); outline: none;
}
.search input::placeholder { color: var(--color-muted); opacity: 1; }
.search input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 1px; }
.search input:hover { border-color: var(--color-ink); }
.search input:disabled { opacity: 0.5; cursor: not-allowed; background: var(--color-paper-2); }
.search-status {
  min-height: 1lh; margin-top: var(--space-xs);
  font-size: var(--text-xs); color: var(--color-muted); font-variant-numeric: tabular-nums;
}

/* layer list: square rows sharing a 2px border, the on row filled ink */
.layer-list { display: flex; flex-direction: column; gap: var(--space-2xs); }
.layer-row {
  display: grid; grid-template-columns: var(--space-lg) minmax(0, 1fr) auto;
  align-items: center; gap: var(--space-sm);
  min-height: 40px; padding: var(--space-2xs) var(--space-sm); align-content: center;
  background: var(--color-paper-3); color: var(--color-ink);
  border: var(--rule-hair) solid var(--color-rule); border-radius: 0;
  font-size: var(--text-sm); text-align: left; cursor: pointer;
  transition: background-color var(--dur-micro) steps(1), color var(--dur-micro) steps(1), border-color var(--dur-micro) steps(1);
}
.layer-row:hover { border-color: var(--color-ink); }
.layer-row:active { transform: translateY(1px); }
.layer-row[aria-pressed="true"] { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-paper); }
.layer-row[aria-pressed="true"] .layer-count { color: var(--color-accent-2); }
.layer-row[aria-pressed="false"] .layer-name { color: var(--color-muted); }
.layer-row:disabled { opacity: 0.5; cursor: not-allowed; }
.swatch {
  width: var(--space-sm); height: var(--space-sm); border-radius: 0;
  border: var(--rule-hair) solid var(--color-ink); flex: none;
}
.layer-row[aria-pressed="true"] .swatch { border-color: var(--color-paper); }
.layer-name { font-weight: 500; line-height: 1.35; overflow-wrap: break-word; min-width: 0; }
.layer-count { font-size: var(--text-xs); font-variant-numeric: tabular-nums; color: var(--color-muted); white-space: nowrap; }
.layer-num { display: inline-block; min-width: 1.6em; text-align: right; }
/* the hidden layer switches: keyboard-reachable, ringed, never seen */
#layerSwitches input:focus-visible { outline: 2px solid var(--color-focus) !important; outline-offset: 0; }
#layerSwitches input { display: block; opacity: 1; appearance: auto; }

.rail-foot { margin-top: auto; padding: var(--space-md) var(--space-lg); border-top: var(--rule-bar) solid var(--color-ink); background: var(--color-paper-2); }
.rail-foot p { font-size: var(--text-xs); line-height: 1.45; color: var(--color-ink-2); }
.rail-foot .run { display: block; margin-top: var(--space-xs); font-size: var(--text-xs); color: var(--color-muted); font-variant-numeric: tabular-nums; }

/* --- map column --- */
.canvas { position: relative; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; }
#map { position: absolute; inset: 0; background: var(--color-paper-2); }

.readout {
  position: relative; z-index: 500;
  display: flex; align-items: stretch; gap: 0;
  align-self: end;
  background: var(--color-paper-3); border-top: var(--rule-bar) solid var(--color-ink);
  min-height: var(--space-2xl);
}
.readout-cell { display: flex; flex-direction: column; justify-content: center; padding: var(--space-xs) var(--space-lg); border-right: var(--rule-hair) solid var(--color-rule); min-width: 0; }
.readout-cell:last-child { border-right: 0; margin-left: auto; }
.readout-cell .label { white-space: nowrap; }
.readout-cell .figure { font-weight: 800; font-size: var(--text-lg); line-height: 1; font-variant-numeric: tabular-nums; }
.readout-cell .label { font-size: var(--text-xs); color: var(--color-muted); margin-top: var(--space-3xs); }
.readout-cell--live .figure { color: var(--color-ink); }
.readout-cell .figure sup { font-size: 0.6em; vertical-align: super; }
.readout-cell p { font-size: var(--text-xs); color: var(--color-ink-2); max-width: 46ch; }

/* --- Leaflet chrome, restated in the theme --- */
.leaflet-control-zoom,
.leaflet-control-locate { border: var(--rule-bar) solid var(--color-ink) !important; border-radius: 0 !important; box-shadow: none !important; }
.leaflet-bar a,
.leaflet-control-locate a {
  background: var(--color-paper-3) !important; color: var(--color-ink) !important;
  border-bottom: var(--rule-hair) solid var(--color-rule) !important;
  border-radius: 0 !important; width: 36px !important; height: 36px !important; line-height: 36px !important;
  font-weight: 800;
  transition: background-color var(--dur-micro) steps(1), color var(--dur-micro) steps(1);
}
.leaflet-bar a:hover, .leaflet-control-locate a:hover { background: var(--color-accent) !important; color: var(--color-accent-ink) !important; }
.leaflet-container:focus-visible { outline: 2px solid var(--color-focus) !important; outline-offset: -3px; }
.leaflet-bar a:focus-visible, .leaflet-control-locate a:focus-visible,
.leaflet-container a:focus-visible, .leaflet-control-attribution a:focus-visible {
  outline: 2px solid var(--color-focus) !important; outline-offset: -2px;
}
.leaflet-bar a.leaflet-disabled { background: var(--color-paper-2) !important; color: var(--color-muted) !important; font-weight: 400; }
.leaflet-bar a:last-child { border-bottom: 0 !important; }

.leaflet-control-attribution {
  background: var(--color-paper-3) !important; color: var(--color-ink-2) !important;
  border: var(--rule-hair) solid var(--color-ink-rule); border-radius: 0;
  padding: var(--space-3xs) var(--space-xs) !important; font-size: var(--text-xs);
}
.leaflet-control-attribution a { color: var(--color-accent) !important; }
.leaflet-control-scale-line { border-color: var(--color-ink) !important; border-top: 0 !important; color: var(--color-ink) !important; background: var(--paper-70) !important; font-size: var(--text-xs); }

/* popups: a zero-radius plate, hairline rows, the name in 800 */
.leaflet-popup-content-wrapper {
  border-radius: 0; background: var(--color-paper-3); color: var(--color-ink);
  border: var(--rule-bar) solid var(--color-ink); box-shadow: var(--shadow-card);
  padding: 0;
}
.leaflet-popup-content { margin: var(--space-sm) var(--space-md); max-height: 70vh; max-width: min(70vw, 360px); }
.leaflet-popup-tip { background: var(--color-paper-3); border: var(--rule-bar) solid var(--color-ink); }
.leaflet-popup-close-button { width: var(--space-lg) !important; height: var(--space-lg) !important; font-size: var(--text-md) !important; color: var(--color-ink-2) !important; }
.popup-name { font-weight: 800; font-size: var(--text-md); line-height: 1.2; margin-bottom: var(--space-2xs); overflow-wrap: break-word; }
.popup-kind { font-size: var(--text-xs); color: var(--color-muted); margin-bottom: var(--space-xs); }
.leaflet-popup-content table { width: 100%; border-collapse: collapse; font-size: var(--text-xs); }
.leaflet-popup-content th { text-align: left; font-weight: 500; color: var(--color-muted); padding: var(--space-2xs) var(--space-sm) var(--space-2xs) 0; vertical-align: top; min-width: 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.leaflet-popup-content td { padding: var(--space-2xs) 0; color: var(--color-ink); border-bottom: var(--rule-hair) solid var(--color-rule); vertical-align: top; min-width: 0; overflow-wrap: break-word; }
.leaflet-popup-content tr:last-child th, .leaflet-popup-content tr:last-child td { border-bottom: 0; }
.leaflet-popup-content strong { font-weight: 800; color: var(--color-ink); }

.leaflet-tooltip {
  border-radius: 0 !important; border: var(--rule-bar) solid var(--color-ink) !important;
  background: var(--color-paper-3) !important; color: var(--color-ink) !important;
  box-shadow: none !important; font-size: var(--text-xs); padding: var(--space-3xs) var(--space-xs) !important;
  font-weight: 500;
}

/* --- narrow: the rail becomes a sheet under the map --- */
@media (max-width: 60rem) {
  :root { --rail-w: 0px; --mast-h: 56px; }
  .mast-meta .plate--village { display: none; }
  .mast-link { padding: 0 var(--space-md); }
  .work { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(280px, 1fr) auto; }
  .canvas { grid-row: 1; }
  .rail {
    grid-row: 2; border-right: 0; border-top: var(--rule-bar) solid var(--color-ink);
    max-height: 46dvh; overflow-y: auto;
  }
  .readout-cell { padding: var(--space-xs) var(--space-sm); }
  .readout-cell p { display: none; }
  .readout-cell:last-child { margin-left: auto; }
  .layer-row { min-height: 48px; }
}
@media (max-width: 40rem) {
  .wordmark small { display: none; }
  .mast { padding-inline: var(--space-sm); }
  .mast-meta .plate { display: none; }
  .layer-row { grid-template-columns: var(--space-md) minmax(0, 1fr) auto; gap: var(--space-xs); }
  .layer-name { overflow-wrap: normal; word-break: keep-all; hyphens: manual; }
  .layer-count .layer-state { display: none; }
  .readout-cell .label { white-space: normal; line-height: 1.2; }
}
@media (prefers-reduced-motion: reduce) {
  .layer-row:active { transform: none; }
}
