/* 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 {
	max-width: none !important;
	max-height: none !important;
	}
.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;
	width: auto;
	padding: 0;
	}

.leaflet-container img.leaflet-tile {
	/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
	mix-blend-mode: plus-lighter;
}

.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: rgba(51, 181, 229, 0.4);
}
.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-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;
	}
svg.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: #ddd;
	outline-offset: 1px;
	}
.leaflet-container a {
	color: #0078A8;
	}
.leaflet-zoom-box {
	border: 2px dotted #38f;
	background: rgba(255,255,255,0.5);
	}


/* general typography */
.leaflet-container {
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	}


/* general toolbar styles */

.leaflet-bar {
	box-shadow: 0 1px 5px rgba(0,0,0,0.65);
	border-radius: 4px;
	}
.leaflet-bar a {
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	width: 26px;
	height: 26px;
	line-height: 26px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: black;
	}
.leaflet-bar a,
.leaflet-control-layers-toggle {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	}
.leaflet-bar a:hover,
.leaflet-bar a:focus {
	background-color: #f4f4f4;
	}
.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: #f4f4f4;
	color: #bbb;
	}

.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 rgba(0,0,0,0.4);
	background: #fff;
	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: #333;
	background: #fff;
	}
.leaflet-control-layers-scrollbar {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 5px;
	}
.leaflet-control-layers-selector {
	margin-top: 2px;
	position: relative;
	top: 1px;
	}
.leaflet-control-layers label {
	display: block;
	font-size: 13px;
	font-size: 1.08333em;
	}
.leaflet-control-layers-separator {
	height: 0;
	border-top: 1px solid #ddd;
	margin: 5px -10px 5px -6px;
	}

/* Default icon URLs */
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
	background-image: url(images/marker-icon.png);
	}


/* attribution and scale controls */

.leaflet-container .leaflet-control-attribution {
	background: #fff;
	background: rgba(255, 255, 255, 0.8);
	margin: 0;
	}
.leaflet-control-attribution,
.leaflet-control-scale-line {
	padding: 0 5px;
	color: #333;
	line-height: 1.4;
	}
.leaflet-control-attribution a {
	text-decoration: none;
	}
.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
	text-decoration: underline;
	}
.leaflet-attribution-flag {
	display: inline !important;
	vertical-align: baseline !important;
	width: 1em;
	height: 0.6669em;
	}
.leaflet-left .leaflet-control-scale {
	margin-left: 5px;
	}
.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 5px;
	}
.leaflet-control-scale-line {
	border: 2px solid #777;
	border-top: none;
	line-height: 1.1;
	padding: 2px 5px 1px;
	white-space: nowrap;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	background: rgba(255, 255, 255, 0.8);
	text-shadow: 1px 1px #fff;
	}
.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid #777;
	border-bottom: none;
	margin-top: -2px;
	}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid #777;
	}

.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 rgba(0,0,0,0.2);
	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 24px 13px 20px;
	line-height: 1.3;
	font-size: 13px;
	font-size: 1.08333em;
	min-height: 1px;
	}
.leaflet-popup-content p {
	margin: 17px 0;
	margin: 1.3em 0;
	}
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-top: -1px;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
	}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;

	margin: -10px auto 0;
	pointer-events: auto;

	-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: #333;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	text-align: center;
	width: 24px;
	height: 24px;
	font: 16px/24px Tahoma, Verdana, sans-serif;
	color: #757575;
	text-decoration: none;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
	color: #585858;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	}

.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-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid #999;
	}


/* div icon */

.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
	}


/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #222;
	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 rgba(0,0,0,0.4);
	}
.leaflet-tooltip.leaflet-interactive {
	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: -12px;
	border-top-color: #fff;
	}
.leaflet-tooltip-bottom:before {
	top: 0;
	margin-top: -12px;
	margin-left: -6px;
	border-bottom-color: #fff;
	}
.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: -12px;
	border-left-color: #fff;
	}
.leaflet-tooltip-right:before {
	left: 0;
	margin-left: -12px;
	border-right-color: #fff;
	}

/* Printing */

@media print {
	/* Prevent printers from removing background-images of controls. */
	.leaflet-control {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		}
	}

:root{--ink:#172f33;--muted:#647574;--paper:#f8faf7;--line:#dde4dc;--accent:#176b62;--party:#1677b8}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select{font:inherit}button{cursor:pointer}button,select,input{outline-offset:3px}button:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #b77427}button{color:inherit}header{height:91px;background:#fff;border-bottom:1px solid var(--line);padding:0 28px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{color:inherit;text-decoration:none;display:flex;align-items:center;gap:12px}.brand-mark{width:44px;height:44px;display:grid;place-content:center;background:var(--ink);color:#fff;font-size:28px;font-weight:700;border-radius:12px;position:relative}.brand-mark span{font-size:13px;position:absolute;right:5px;top:0}.brand strong{font-size:22px;letter-spacing:-.8px}.brand em{font-style:normal;font-weight:400;color:#73867d}.brand small{display:block;font-size:9px;font-weight:700;letter-spacing:2.8px}nav{display:flex;padding:5px;gap:4px;background:#eef2ec;border-radius:12px}nav button{border:0;background:none;padding:10px 28px;border-radius:8px;font-weight:600}nav button[aria-pressed=true]{background:#fff;box-shadow:0 2px 6px #19342b16}.quiet{background:none;border:0;color:var(--muted)}main{display:grid;grid-template-columns:285px minmax(300px,1fr) 330px;height:calc(100dvh - 91px)}.controls{padding:27px 23px 18px;overflow:auto;border-right:1px solid var(--line);display:flex;flex-direction:column}.overline{font-size:9px;letter-spacing:1.7px;font-weight:750;color:var(--accent)}h1{font-size:27px;letter-spacing:-1px;margin:9px 0 7px;line-height:1.18}.intro{color:var(--muted);font-size:12px;margin:0 0 21px}label{display:block;font-size:11px;font-weight:700;margin:14px 0 6px}select,input{width:100%;border:1px solid #d5dfd7;background:#fff;border-radius:8px;height:40px;padding:0 10px;color:var(--ink);font-size:12px}select{padding-right:22px}.segments{display:flex;border:1px solid #d4dfd5;border-radius:8px;padding:3px;background:#eef3ec;gap:2px}.segments button{flex:1;padding:7px 4px;border:0;border-radius:5px;background:none;font-size:11px;font-weight:650}.segments button[aria-pressed=true]{background:var(--ink);color:white}.divider{border-top:1px solid var(--line);margin-top:22px}.outline{border:1px solid #ccd9ce;border-radius:7px;background:transparent;padding:8px 12px;font-size:11px}.outline:hover{background:#eaf1e8}.wide{width:100%;margin-top:14px}.author{margin-top:auto;padding-top:28px;font-size:10px;color:var(--muted)}.author strong,.author span{display:block}.author button{font-size:10px;border:0;background:none;color:var(--accent);text-decoration:underline;padding:6px 0}#candidate-count{font-size:10px;color:var(--muted);display:block;margin-top:5px}.search-results{background:white;border:1px solid var(--line);max-height:220px;overflow:auto}.search-results button{width:100%;text-align:left;border:0;background:white;padding:8px 10px;font-size:12px}.search-results button:hover{background:#eef3ec}.search-results small{display:block;color:var(--muted)}.map-section{position:relative;background:#e8eee7;isolation:isolate}#map{height:100%;width:100%;z-index:1;background:#e7ede8}.map-caption{position:absolute;z-index:500;left:17px;right:17px;top:16px;display:flex;align-items:center;gap:8px;padding:11px 14px;background:#fffffff2;box-shadow:0 3px 20px #1e3e3110;border:1px solid #ffffff;border-radius:9px;font-size:11px;font-weight:650;pointer-events:none}.live-dot{width:7px;height:7px;border-radius:50%;background:var(--party)}.map-count{margin-left:auto;color:var(--muted);font-size:10px;font-weight:400}.leaflet-top{top:71px}.leaflet-control-zoom{border:1px solid #d5dfd5!important;box-shadow:0 2px 8px #19342b15!important}.leaflet-container{font-family:inherit}.legend{position:absolute;z-index:500;bottom:28px;left:18px;right:18px;max-width:370px;padding:15px 18px;background:#fffffff5;border:1px solid white;border-radius:10px;box-shadow:0 4px 25px #19342b14;font-size:11px}.legend strong{display:block;margin-bottom:9px}.ramp{height:10px;border-radius:5px}.scale{display:flex;justify-content:space-between;margin-top:6px;font-size:10px;color:var(--muted)}.legend-note{font-size:10px;color:var(--muted);margin-top:7px}.swatches{display:flex;gap:7px;flex-wrap:wrap}.swatches span{display:inline-flex;align-items:center;gap:4px}.swatches i{width:9px;height:9px;border-radius:50%}#tile-error{position:absolute;z-index:501;top:65px;left:62px;right:17px;background:#fff4db;padding:10px;font-size:11px;border-radius:7px}.results-panel{overflow:auto;background:white;border-left:1px solid var(--line);padding:25px 23px}#panel h2{font-size:25px;letter-spacing:-.7px;line-height:1.2;margin:10px 0 5px}.subline{font-size:11px;color:var(--muted);margin-bottom:20px}.hero{padding:17px;background:#f2f6f0;border-radius:12px;border-top:3px solid var(--party)}.actor{display:flex;align-items:center;gap:7px;font-weight:650;font-size:13px}.dot{width:9px;height:9px;border-radius:50%;display:inline-block;flex-shrink:0;background:var(--party)}.big-number{font-size:44px;letter-spacing:-2px;font-weight:650;line-height:1.1;margin:10px 0}.big-number span{font-size:21px;font-weight:400;letter-spacing:0}.hero small{font-size:11px;color:var(--muted)}.stats{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--line);padding:17px 0;gap:12px}.stats strong{font-size:18px;display:block;letter-spacing:-.5px}.stats small{font-size:10px;color:var(--muted)}.note{font-size:10px;color:var(--muted);margin:13px 0;line-height:1.65}.actions{display:flex;gap:5px;flex-wrap:wrap;margin-top:13px}.actions button{font-size:10px}.top-title{display:flex;align-items:center;justify-content:space-between;margin-top:27px;margin-bottom:12px}.top-title h3{font-size:13px;margin:0}.top-title span{font-size:10px;color:var(--muted)}.rank{display:grid;grid-template-columns:23px 1fr auto;align-items:center;gap:7px;padding:10px 0;background:none;border:0;border-top:1px solid #edf1eb;width:100%;text-align:left;font-size:11px}.rank:hover{background:#f6f8f3}.rank .rank-n{color:#89988a;font-size:10px}.rank b{font-size:11px}.rank small{display:block;color:#829080;font-size:9px}.rank-name{min-width:0}.rank-bar{height:3px;background:var(--party);opacity:.6;margin-top:5px;border-radius:3px}.panel-footer{display:flex;flex-wrap:wrap;gap:7px;margin-top:24px;padding-top:17px;border-top:1px solid var(--line)}#share-status{width:100%;font-size:10px;color:var(--muted)}.compare{margin-top:15px;padding:12px;border:1px dashed #b9cdbc;border-radius:9px;font-size:11px}.compare strong{display:block}.compare button{border:0;background:none;text-decoration:underline;font-size:10px;padding:5px 0}.compare b{font-size:20px;display:block;margin-top:4px}.positive{color:#137366}.negative{color:#b65d27}dialog{border:1px solid var(--line);border-radius:18px;max-width:650px;width:calc(100% - 32px);padding:35px;color:var(--ink);box-shadow:0 20px 100px #19342b30}dialog::backdrop{background:#102d3159}dialog h2{font-size:32px;line-height:1.15;letter-spacing:-1px;margin:13px 0 25px}dialog h3{font-size:15px;margin-top:25px}dialog p{font-size:13px;color:#53645c}.close{position:absolute;right:18px;top:12px;font-size:26px;border:0;background:none}#sources{font-size:11px;overflow-wrap:anywhere}#sources p{font-size:11px}a{color:var(--accent)}[hidden]{display:none!important}@media(min-width:1600px){main{grid-template-columns:310px minmax(300px,1fr) 370px}.controls,.results-panel{padding-left:28px;padding-right:28px}}@media(max-width:1100px){main{grid-template-columns:245px minmax(250px,1fr) 280px}.controls,.results-panel{padding:20px 16px}.big-number{font-size:38px}nav button{padding:9px 18px}header{padding:0 20px}}@media(max-width:820px){header{height:auto;min-height:85px;padding:15px;flex-wrap:wrap;gap:12px}.brand strong{font-size:19px}nav{order:3;width:100%}nav button{flex:1}.quiet{font-size:11px}main{height:auto;display:grid;grid-template-columns:1fr}.controls{display:block;padding:22px;border-right:0}.intro{margin-bottom:12px}.author{padding-top:18px}.map-section{height:65dvh;min-height:430px}.results-panel{border:0;padding:24px}.controls .divider{margin-top:15px}.legend{max-width:330px}.map-count{display:none}.stats{max-width:500px}.author strong,.author span{display:inline}.author span{margin-left:5px}.author button{display:block}}



#image-export{width:100%;margin-top:8px}.image-formats{display:flex;gap:12px}.image-formats button{flex:1;padding:12px}#image-dialog{max-width:440px} .controls>.overline{margin-bottom:24px}

.vote-change{display:block;font-weight:700;margin-top:4px}.vote-change.up{color:#187542}.vote-change.down{color:#bb3035}.vote-change.unchanged{color:#647574}.previous-result strong{white-space:nowrap}

/* Keep controls above the hosting badge, including safe areas on mobile. */
.panel-footer{padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))}#image-export{min-height:44px}@media(max-width:820px){.panel-footer{padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))}}

.panel-footer{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.panel-footer>.outline{width:100%;min-width:0;min-height:44px;padding:8px 4px;font-size:10px;white-space:nowrap}#image-export{width:100%;margin-top:0}#share-status{grid-column:1/-1}

.district-numbers{margin:0}.district-numbers>div{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--line)}.district-numbers dt{font-size:12px}.district-numbers dd{margin:0;font-weight:700}.district-party{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;padding:10px 0;border-top:1px solid #edf1eb;font-size:11px}.district-party strong{display:flex;gap:7px;align-items:center}.district-candidate{display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:7px;align-items:start;padding:12px 0;border-top:1px solid #edf1eb;font-size:11px}.district-candidate small{display:block;color:var(--muted);margin-top:3px}.candidate-position{color:var(--muted)}.candidate-votes{text-align:right;white-space:nowrap}

.party-bar-track{grid-column:1/-1;height:9px;background:#edf1eb;border-radius:5px;overflow:hidden}.party-bar-fill{height:100%;border-radius:5px}.district-party{row-gap:7px}

.district-party .party-symbol{width:24px;height:24px;object-fit:contain;flex:none;display:block}

.district-candidate{grid-template-columns:16px 32px minmax(0,1fr) auto;gap:7px}.candidate-photo{display:block;width:32px;height:32px;object-fit:cover;border-radius:50%;background:#edf1eb}.candidate-initials{display:grid;place-items:center;color:#647574;font-size:10px;font-weight:600}.portrait-credits{margin-top:24px}.portrait-credits summary{cursor:pointer}.portrait-credits p{font-size:11px}

.candidate-heading{display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;align-items:center;padding:0 0 20px;margin-bottom:20px;border-bottom:1px solid var(--line)}.candidate-heading .candidate-photo{width:64px;height:64px;font-size:20px}.candidate-heading h2{font-size:24px;line-height:1.12;margin:0 0 9px;overflow-wrap:anywhere}.candidate-party{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted)}.candidate-party img{width:25px;height:25px;object-fit:contain;flex:none}.candidate-scope{font-size:20px;margin:7px 0 3px}

.district-candidate .candidate-party-label{display:flex;align-items:center;gap:4px}.candidate-party-label img{width:20px;height:20px;object-fit:contain}

/* Portrait framing approved in local preview. */
.candidate-photo{overflow:hidden;flex-shrink:0}.candidate-photo>img{display:block;width:100%;height:100%;object-fit:cover}

.ballot-place{display:block;font-size:11px;line-height:1.4;color:var(--muted);margin-top:3px;overflow-wrap:anywhere}.ballot-place summary{cursor:pointer}.ballot-place div{margin-top:4px}.candidate-heading .ballot-place{font-size:12px}

.district-candidate .candidate-party-label{gap:6px;margin-top:3px}.candidate-party-label img{flex-shrink:0}.district-candidate .candidate-party-label .ballot-place{margin-top:0;min-width:0}

/* Focus follows the district shape instead of its rectangular SVG bounds. */
#map path.leaflet-interactive:focus{outline:none}
#map path.leaflet-interactive:focus-visible{stroke:#132e35;stroke-width:3}
.result-party-symbol{display:block;object-fit:contain}

#load-status:not(:empty){position:fixed;top:88px;left:50%;transform:translateX(-50%);z-index:2000;background:#fff;padding:12px 18px;border:1px solid #ccd9d0;border-radius:8px;box-shadow:0 3px 16px #0002;font-size:13px;max-width:90vw}