

.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;
	        user-select: none;
	  -webkit-user-drag: none;
	}

.leaflet-tile::selection {
	background: transparent;
}

.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
	}

.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}


.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 {
	
	mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
	touch-action: pan-x pan-y;
	}
.leaflet-container.leaflet-touch-drag {
	
	touch-action: none;
	touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	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;
	box-sizing: border-box;
	z-index: 800;
	}

.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;
	}




.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; 
	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;
	}




.leaflet-fade-anim .leaflet-popup {
	opacity: 0;
	transition: opacity 0.2s linear;
	}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
	}
.leaflet-zoom-animated {
	transform-origin: 0 0;
	}
svg.leaflet-zoom-animated {
	will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
	transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	transition: none;
	}

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




.leaflet-interactive {
	cursor: pointer;
	}
.leaflet-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:         grabbing;
	}


.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; 
	pointer-events: auto;
	}



.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);
	}



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




.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;
	}



.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;
	}




.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(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);
	width: 36px;
	height: 36px;
	}
.leaflet-retina .leaflet-control-layers-toggle {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);
	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;
	}


.leaflet-default-icon-path { 
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=);
	}




.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;
	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;
	}




.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;
	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;
	}




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




.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;
	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: "";
	}



.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;
	}



@media print {
	
	.leaflet-control {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		}
	}

.portal-bottom-sheet__backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
  background: rgba(0, 0, 0, 0.35);
  animation: portalBottomSheetBackdropIn 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.portal-bottom-sheet {
  position: relative;
  width: min(560px, 100%);
  border-radius: 18px;
  padding: 10px;
  background: #fff;
  background: var(--card, #fff);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border, rgba(0, 0, 0, 0.08));
  box-shadow:
    0 16px 50px rgba(0, 0, 0, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.18) inset;
  animation: portalBottomSheetIn 0.42s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.portal-bottom-sheet::after {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  top: calc(100% - 1px);
  height: calc(0px + env(safe-area-inset-bottom, 0px));
  height: calc(var(--sheet-underhang, 0px) + var(--app-bottom-safe-reserve, env(safe-area-inset-bottom, 0px)));
  background: #fff;
  background: var(--card, #fff);
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  border-left: 1px solid var(--border, rgba(0, 0, 0, 0.08));
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  border-right: 1px solid var(--border, rgba(0, 0, 0, 0.08));
  pointer-events: none;
}

.portal-bottom-sheet.is-dragging,
.portal-bottom-sheet.is-closing-by-drag {
  animation: none;
}

.portal-bottom-sheet__header {
  position: relative;
  padding-top: 2px;
  cursor: grab;
  touch-action: none;
}

.portal-bottom-sheet__header-end {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
}

.portal-bottom-sheet__header.is-handle-only {
  cursor: default;
}

.portal-bottom-sheet__handle {
  width: 36px;
  height: 4px;
  margin: 2px auto 10px;
  border-radius: 999px;
  
  background: rgba(120, 120, 128, 0.36);
}

.portal-bottom-sheet.is-dragging {
  transition: none;
}

.portal-bottom-sheet.is-closing-by-drag {
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.portal-bottom-sheet.is-dragging .portal-bottom-sheet__header {
  cursor: grabbing;
}

.portal-bottom-sheet__title {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.portal-bottom-sheet__subtitle {
  margin-top: -4px;
  margin-bottom: 6px;
  text-align: center;
  color: var(--sub);
  font-size: 13px;
}

.portal-bottom-sheet__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.theme-dark .portal-bottom-sheet {
  background: #1b1b1b;
  background: var(--card, #1b1b1b);
  border-color: #2a2a2a;
  border-color: var(--border, #2a2a2a);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.46),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.theme-dark .portal-bottom-sheet::after {
  background: #1b1b1b;
  background: var(--card, #1b1b1b);
  border-left-color: #2a2a2a;
  border-left-color: var(--border, #2a2a2a);
  border-right-color: #2a2a2a;
  border-right-color: var(--border, #2a2a2a);
}

.theme-dark .portal-bottom-sheet__handle {
  background: rgba(174, 174, 178, 0.36);
}

@media (max-width: 519px) {
  .portal-bottom-sheet__backdrop {
    padding:
      max(10px, calc(env(safe-area-inset-top, 0px) + 8px))
      8px
      0;
    padding:
      max(10px, calc(var(--app-top-safe-reserve, env(safe-area-inset-top, 0px)) + 8px))
      8px
      0;
    align-items: flex-end;
  }

  .portal-bottom-sheet {
    width: 100%;
    max-width: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    padding:
      10px
      10px
      calc(10px + env(safe-area-inset-bottom, 0px));
    padding:
      10px
      10px
      calc(10px + var(--app-bottom-safe-reserve, env(safe-area-inset-bottom, 0px)));
    box-shadow:
      0 -1px 0 rgba(255, 255, 255, 0.2) inset,
      0 -24px 48px rgba(0, 0, 0, 0.22);
    animation-duration: 0.46s;
  }

  .portal-bottom-sheet__header {
    padding-top: 4px;
  }
}

@keyframes portalBottomSheetBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes portalBottomSheetIn {
  0% {
    opacity: 0;
    transform: translateY(calc(100% + 24px)) scale(0.982);
  }
  68% {
    opacity: 1;
    transform: translateY(-4px) scale(1.003);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow {
	transition: transform 0.3s ease-out, opacity 0.3s ease-in;
}

.leaflet-cluster-spider-leg {
	
	transition: stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in;
}

.marker-cluster-small {
	background-color: rgba(181, 226, 140, 0.6);
	}
.marker-cluster-small div {
	background-color: rgba(110, 204, 57, 0.6);
	}

.marker-cluster-medium {
	background-color: rgba(241, 211, 87, 0.6);
	}
.marker-cluster-medium div {
	background-color: rgba(240, 194, 12, 0.6);
	}

.marker-cluster-large {
	background-color: rgba(253, 156, 115, 0.6);
	}
.marker-cluster-large div {
	background-color: rgba(241, 128, 23, 0.6);
	}

	
.leaflet-oldie .marker-cluster-small {
	background-color: rgb(181, 226, 140);
	}
.leaflet-oldie .marker-cluster-small div {
	background-color: rgb(110, 204, 57);
	}

.leaflet-oldie .marker-cluster-medium {
	background-color: rgb(241, 211, 87);
	}
.leaflet-oldie .marker-cluster-medium div {
	background-color: rgb(240, 194, 12);
	}

.leaflet-oldie .marker-cluster-large {
	background-color: rgb(253, 156, 115);
	}
.leaflet-oldie .marker-cluster-large div {
	background-color: rgb(241, 128, 23);
}

.marker-cluster {
	background-clip: padding-box;
	border-radius: 20px;
	}
.marker-cluster div {
	width: 30px;
	height: 30px;
	margin-left: 5px;
	margin-top: 5px;

	text-align: center;
	border-radius: 15px;
	font: 12px "Helvetica Neue", Arial, Helvetica, sans-serif;
	}
.marker-cluster span {
	line-height: 30px;
	}


.search-field-center-placeholder {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.search-field-center-placeholder > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}




.search-field--prominent {
  --search-field-surface: rgba(118, 118, 128, 0.12);
  --search-field-surface-focus: rgba(118, 118, 128, 0.18);
  --search-field-action-hover: rgba(60, 60, 67, 0.09);
  --search-field-action-active: rgba(60, 60, 67, 0.14);
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 56px;
  box-sizing: border-box;
  padding: 0 6px 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--search-field-surface);
  box-shadow: none;
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
  backdrop-filter: blur(16px) saturate(1.12);
  transition: background 160ms ease;
}

.search-field--prominent:focus-within {
  background: var(--search-field-surface-focus);
}

.search-field-leading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-inline-end: 10px;
  color: rgba(60, 60, 67, 0.66);
  color: var(--sub, rgba(60, 60, 67, 0.66));
  pointer-events: none;
}

.search-field-leading > :is(.mdi, .dp-icon) {
  display: block;
  width: 20px;
  height: 20px;
  font-size: 20px;
  line-height: 1;
}

.search-field-control-slot {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  align-self: stretch;
  min-width: 0;
}

.search-field--prominent .search-field-control {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 100%;
  box-sizing: border-box;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: #1c1c1e;
  color: var(--fg, #1c1c1e);
  font: 500 16px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  text-align: start;
  caret-color: #dcaa2e;
  caret-color: var(--accent-strong, var(--accent, #dcaa2e));
  -webkit-appearance: none;
  appearance: none;
}

.search-field--prominent .search-field-control::placeholder {
  color: transparent;
  opacity: 0;
}

.search-field-prominent-placeholder {
  position: absolute;
  inset-inline: 0;
  min-width: 0;
  overflow: hidden;
  color: rgba(60, 60, 67, 0.64);
  color: var(--sub, rgba(60, 60, 67, 0.64));
  font: 500 16px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  pointer-events: none;
  text-align: start;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-field-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 2px;
  margin-inline-start: 6px;
}

.search-field--prominent .search-field-actions > button,
.search-field--prominent .search-field-clear {
  all: unset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  height: 44px;
  box-sizing: border-box;
  border-radius: 999px;
  color: rgba(60, 60, 67, 0.72);
  color: var(--sub, rgba(60, 60, 67, 0.72));
  cursor: pointer;
  touch-action: manipulation;
  transition: color 150ms ease, background 150ms ease, transform 120ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .search-field--prominent .search-field-actions > button:hover,
  .search-field--prominent .search-field-clear:hover {
    background: var(--search-field-action-hover);
    color: #1c1c1e;
    color: var(--fg, #1c1c1e);
  }
}

.search-field--prominent .search-field-actions > button:active,
.search-field--prominent .search-field-clear:active {
  background: var(--search-field-action-active);
  transform: scale(0.94);
}

.search-field--prominent .search-field-actions > button:focus-visible,
.search-field--prominent .search-field-clear:focus-visible {
  outline: 2px solid #dcaa2e;
  outline: 2px solid var(--accent-strong, var(--accent, #dcaa2e));
  outline-offset: -2px;
}

.search-field--prominent .search-field-actions > button.is-active {
  background: rgba(220, 170, 46, 0.18);
  background: var(--accent-tint-active, rgba(220, 170, 46, 0.18));
  color: #1f2328;
  color: var(--fg, #1f2328);
}

.search-field--prominent .search-field-actions > .lab-search-reset {
  width: auto;
  min-width: 44px;
  flex-basis: auto;
  padding-inline: 12px;
  font: 600 14px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.theme-dark .search-field--prominent,
[data-theme="dark"] .search-field--prominent {
  --search-field-surface: rgba(118, 118, 128, 0.26);
  --search-field-surface-focus: rgba(118, 118, 128, 0.34);
  --search-field-action-hover: rgba(255, 255, 255, 0.1);
  --search-field-action-active: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.theme-dark .search-field-leading,
.theme-dark .search-field-prominent-placeholder,
.theme-dark .search-field--prominent .search-field-actions > button,
.theme-dark .search-field--prominent .search-field-clear,
[data-theme="dark"] .search-field-leading,
[data-theme="dark"] .search-field-prominent-placeholder,
[data-theme="dark"] .search-field--prominent .search-field-actions > button,
[data-theme="dark"] .search-field--prominent .search-field-clear {
  color: rgba(235, 235, 245, 0.72);
}

.theme-dark .search-field--prominent .search-field-control,
[data-theme="dark"] .search-field--prominent .search-field-control {
  
  background: transparent;
  color: #fff;
  color: var(--fg, #fff);
}

@media (prefers-reduced-motion: reduce) {
  .search-field--prominent,
  .search-field--prominent .search-field-actions > button,
  .search-field--prominent .search-field-clear {
    transition: none;
  }
}

.lab-search-row--native-toolbar .lab-search-bar:empty,
.lab-search-row--native-toolbar:has(> .lab-search-bar:only-child:empty) {
  display: none;
}
.lab-search-row--native-toolbar {
  justify-content: flex-end;
}




@media (pointer: coarse), (max-width: 519px) and (orientation: portrait) {
  .leaflet-control-container {
    display: none !important;
  }
}

.theme-dark .leaflet-pane.leaflet-paneCountries-pane path.leaflet-interactive {
  stroke: dimgrey!important;
}
.leaflet-zoom-animated g path:not(.batch-flow-route) {
  stroke: inherit;
}
.leaflet-interactive {
  cursor: default;
}

.leaflet-popup.hex-popup {
  transform-origin: bottom center;
}

.leaflet-popup.hex-popup .leaflet-popup-content-wrapper {
  transform-origin: bottom center;
}

.map-page {
  position: relative;
  height: 100dvh;                 
  display: flex;
  flex-direction: column;
}

.map-page--skeleton {
  overflow: hidden;
  background: #e6ebe7;
}

.map-skeleton {
  background:
    linear-gradient(30deg, transparent 24%, rgba(255, 255, 255, 0.28) 25%, rgba(255, 255, 255, 0.28) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, 0.28) 75%, rgba(255, 255, 255, 0.28) 76%, transparent 77%),
    linear-gradient(150deg, transparent 24%, rgba(255, 255, 255, 0.22) 25%, rgba(255, 255, 255, 0.22) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, 0.22) 75%, rgba(255, 255, 255, 0.22) 76%, transparent 77%),
    #dce4de;
  background-size: 96px 56px;
  animation: map-skeleton-pulse 1.4s ease-in-out infinite alternate;
}

@keyframes map-skeleton-pulse {
  from { opacity: 0.68; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .map-skeleton { animation: none; }
}


.map-page .map-controls {
  padding: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  z-index: 1000;
}


.map-page .map-container {
  width: 100vw;
  height: 100dvh;                 
}

.map-page label {
  font-size: 11px;
  -webkit-user-select: none;
          user-select: none;

}

.map-page input[type="checkbox"] {
  transform: scale(1.1);
  margin-right: 4px;
}

.map-legend {
  top: 12px;
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2000;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 7px;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  pointer-events: none;

  width: fit-content;             
  height: fit-content;            
}
.map-legend .scale.detection-scale {
  background: linear-gradient(to right, rgba(253, 224, 71, .7), rgba(245, 158, 11, .88), rgba(220, 38, 38, .96));
}

.country-tooltip-popular {
  margin-top: 9px;
  padding-top: 7px;
  border-top: 1px solid rgba(80, 80, 85, .2);
}
.country-tooltip-popular ol { display: grid; grid-gap: 2px; gap: 2px; margin: 5px 0 3px; padding: 0; list-style: none; }
.country-tooltip-popular li { display: flex; justify-content: space-between; gap: 16px; }
.country-tooltip-popular li strong { font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.country-tooltip-popular small { opacity: .68; }



.sidebar-scroll {
  overflow: auto;
  max-height: calc(100dvh - 18vh); 
  padding-right: 4px;
}
.radio-row {
  display: flex;
  align-items: center;
  padding: 4px 0;
  border-radius: 6px;
  cursor: pointer;
  -webkit-user-select: none;
          user-select: none;
  gap: 10px;
  line-height: 1.25;
}
.radio-row.active {
  background: #f1f5f9;
}
.radio-row input {
  transform: scale(1.05);
  margin: 0;
  flex: 0 0 auto;
}
.radio-row span {
  display: block;
  flex: 1 1 auto;
}
.substance-search {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
}
.substance-search label, .substance-search small { display: block; }
.substance-search label { font-weight: 600; margin-bottom: 6px; }
.substance-search input {
  width: 100%; box-sizing: border-box; border: 1px solid rgba(0,0,0,.18);
  border-radius: 7px; padding: 8px 10px; font: inherit; color: inherit; background: rgba(255,255,255,.8);
}
.substance-search input:focus { outline: none; border-color: #1683d8; box-shadow: 0 0 0 3px rgba(22,131,216,.16); }
.substance-search small { margin-top: 5px; color: #64748b; line-height: 1.3; }

.map-controls {
  grid-area: controls;
}

.map-wrapper {
  grid-area: map;
  position: relative;
  width: 100%;
  height: 100%;
}
.map-container { width: 100%; height: 100%; }



.map-wrapper { position: relative; }
.map-container { height: 100%; }


.map-sidebar {
  font-size: .81rem;
  position: absolute;
  top: clamp(90px, 8vh, 140px);
  right: clamp(15px, 0vw, 24px);
  width: 186px;
  max-height: min(70vh, 520px);   

  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 7px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  overflow: hidden;
  z-index: 1100;
  transition: transform .22s ease, opacity .22s ease, visibility .22s ease;
}


.map-sidebar.open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.map-sidebar.closed {
  opacity: 0;
  visibility: hidden;
  transform: none;
}

.map-sidebar {
  transition: opacity 0.25s ease, visibility 0.25s ease;
}


.sidebar-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0px 12px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.sidebar-toggle{
  -webkit-appearance: none;
          appearance: none;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  border-radius: 7px;
  padding: 5px 10px;
  margin: 5px 0px;
  font: inherit;
  cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
  .sidebar-toggle:hover{ background:#f6f6f6 }
}


.map-page .sidebar-scroll{
  flex: 1 1 auto;
  min-height: 0;               
  overflow: auto;
  padding: 10px 12px 12px;
}

.sidebar-select-wrap {
  display: none;
  padding: 10px 12px 0;
}

.sidebar-select {
  width: 100%;
  -webkit-appearance: none;
          appearance: none;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  color: #0b1324;
  border-radius: 7px;
  padding: 10px 36px 10px 12px;
  font: inherit;
  line-height: 1.25;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.sidebar-select:focus {
  outline: none;
  border-color: rgba(30,58,138,0.35);
  box-shadow: 0 0 0 3px rgba(30,58,138,0.12);
}

@media (orientation: portrait) and (max-width: 519px) {
.app-grid .page-shell {
.map-page .sidebar-scroll {
  padding: 10px 12px 70px;
}
}
}



.sidebar-tab{
  position: absolute;;
  top: clamp(60px, 20vh, 90px);
  right: clamp(16px, 2vw, 24px);
  z-index: 1101;
  padding: 8px 12px;
  background:#fff;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 7px;
  box-shadow: 0 6px 18px rgba(0,0,0,.10);
  cursor: pointer;
}
.sidebar-tab:hover{ background:#f6f6f6 }

.theme-dark .sidebar-tab,
.theme-dark .sidebar-tab.sidebar-tab--round {
   background: rgba(22,22,28,0.92);
   color: #eee;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 2px 8px rgba(0,0,0,0.45);
}
.theme-dark .sidebar-tab:hover {
  background: rgb(57, 57, 57)!important;
  color: #fff;
}

.map-chip-emoji {
  display: inline-block;
  font-size: 1.25em;
  line-height: 1;
  margin-right: -0.3em;
  transform: translateY(-0.3812em);
}

.map-mobile-layers-toggle {
  display: none;
}


.map-controls, .map-legend{ position: absolute; z-index: 1050; }



@media (max-width: 700px){
  
  .sidebar-tab{ top: clamp(86px, 9vh, 110px);}

  
.map-controls.chips:not(.in-sidebar) > .chip {
  display: none;
}
  
  .map-legend{
    right: clamp(6px, 2vw, 10px);
    bottom: clamp(6px, 2vh, 10px);
  }
}

@media (orientation: portrait) and (max-width: 519px) {
  .map-page {
    --map-mobile-topbar-offset: 80px;
  }

  .map-controls.chips:not(.in-sidebar) {
    top: calc(3px + var(--map-mobile-topbar-offset));
  }

  
  .sidebar-tab.sidebar-tab--round {
    position: fixed;
    top: auto;
    top: initial;
    right: 16px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 18px);
    z-index: 2201;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
    color: #111;
  }

  .nav-mobile-ios-dock .map-legend {
    top: auto;
    top: initial;
    bottom: clamp(25px, 2vw, 16px);
    right: clamp(25px, 2vw, 16px);
  }

  
  
  .map-sidebar.map-sidebar--sheet,
  .theme-dark .map-sidebar.map-sidebar--sheet {
    position: static;
    width: 100%;
    max-height: min(78dvh, 700px);
    overflow: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    color: inherit;
    font-size: .9rem;
  }
  .map-sidebar.map-sidebar--sheet .sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 12px 10px;
  }
  .map-sidebar.map-sidebar--sheet .sidebar-tools {
    margin-bottom: 14px;
  }
  .map-sidebar.map-sidebar--sheet .map-mobile-layers-toggle {
    margin-top: 12px;
  }
  .map-sidebar.map-sidebar--sheet .sidebar-scroll {
    max-height: none;
    overflow: visible;
    padding: 0 12px 4px;
  }
  .map-sidebar.map-sidebar--sheet .sidebar-footer {
    padding-bottom: 4px;
  }
  .map-sidebar-sheet {
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }

  .map-sidebar .map-mobile-layers-toggle {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) auto 18px;
    align-items: center;
    grid-gap: 8px;
    gap: 8px;
    width: calc(100% - 24px);
    min-height: 40px;
    margin: 6px 12px 0;
    padding: 6px 9px;
    border: 1px solid rgba(60, 60, 67, 0.14);
    border-radius: 11px;
    background: rgba(118, 118, 128, 0.1);
    color: inherit;
    font: 600 12px/16px -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
    text-align: start;
  }

  .map-sidebar .map-mobile-layers-toggle small {
    min-width: 1ch;
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 500;
    opacity: 0.52;
    text-align: center;
  }

  .map-sidebar .map-mobile-layers-chevron {
    transition: transform 160ms ease;
  }

  .map-sidebar .map-mobile-layers-toggle[aria-expanded="true"] .map-mobile-layers-chevron {
    transform: rotate(180deg);
  }

  .map-sidebar .map-controls.in-sidebar {
    display: none;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin: 5px 12px 0;
    padding: 3px 0;
    overflow: hidden;
    border: 1px solid rgba(60, 60, 67, 0.12);
    border-radius: 11px;
    background: rgba(118, 118, 128, 0.07);
  }

  .map-sidebar .map-controls.in-sidebar.is-mobile-open {
    display: grid;
  }

  .map-sidebar .map-controls.in-sidebar .chip {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) 31px;
    align-items: center;
    justify-content: initial;
    grid-gap: 7px;
    gap: 7px;
    width: 100%;
    min-height: 40px;
    padding: 4px 9px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    font-size: 11px;
    font-weight: 600;
    line-height: 14px;
    text-align: start;
    transform: none;
    transition: background-color 140ms ease, border-color 140ms ease, opacity 100ms ease;
  }

  .map-sidebar .map-controls.in-sidebar .chip + .chip {
    border-top: 0.5px solid rgba(60, 60, 67, 0.18);
  }

  .map-sidebar .map-controls.in-sidebar .map-chip-icon {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: transparent;
    font-size: 13px;
    line-height: 1;
    transform: none;
  }


  .map-sidebar .map-controls.in-sidebar .chip::after {
    content: "";
    box-sizing: border-box;
    width: 31px;
    height: 19px;
    border-radius: 999px;
    background:
      radial-gradient(circle at 10px 50%, #fff 0 7px, transparent 7.5px),
      rgba(120, 120, 128, 0.24);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
    transition: background-color 140ms ease, box-shadow 140ms ease;
  }

  .map-sidebar .map-controls.in-sidebar .map-chip-label {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .map-sidebar .map-controls.in-sidebar .chip.active {
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .map-sidebar .map-controls.in-sidebar .chip.active::after {
    background:
      radial-gradient(circle at 21px 50%, #fff 0 7px, transparent 7.5px),
      #d19a2a;
    background:
      radial-gradient(circle at 21px 50%, #fff 0 7px, transparent 7.5px),
      var(--accent, #d19a2a);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, #d19a2a 72%, #000);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent, #d19a2a) 72%, #000);
  }

  .map-sidebar .map-controls.in-sidebar .chip:active {
    opacity: 0.7;
    transform: none;
  }

  .map-sidebar .map-controls.in-sidebar .chip:focus-visible {
    outline: 2px solid #d19a2a;
    outline: 2px solid var(--accent, #d19a2a);
    outline-offset: 2px;
  }

  .theme-dark .map-sidebar .map-controls.in-sidebar .chip {
    background: transparent;
  }

  .theme-dark .map-sidebar .map-controls.in-sidebar,
  .theme-dark .map-sidebar .map-mobile-layers-toggle {
    border-color: rgba(84, 84, 88, 0.65);
    background: rgba(118, 118, 128, 0.14);
  }

  .theme-dark .map-sidebar .map-controls.in-sidebar .chip.active {
    background: transparent;
  }

  .theme-dark .map-sidebar .map-controls.in-sidebar .chip + .chip {
    border-top-color: rgba(84, 84, 88, 0.65);
  }

  

  
}

@media (orientation: landscape) and (max-height: 499px) {
  .sidebar-select-wrap {
    display: block;
  }

  .map-page .sidebar-scroll {
    display: none;
  }
}


.map-controls.chips {
  position: absolute;
  top: 3px;
  left: 50px;
  z-index: 2100;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(6px, 1vw, 12px);
  max-width: 60vw;
  pointer-events: auto;
  background: none;
  border-radius: 999px;
}


.map-controls.in-sidebar{
  position: static;          
  max-width: 100%;
  margin: 8px 12px 0;
  padding: 0;
  gap: clamp(6px, 1.2vw, 12px);
}
.map-controls.in-sidebar .chip{
  width: 100%;
  justify-content: center;
}

@media (orientation: landscape) {
  .map-sidebar .sidebar-tools {
    display: none !important;
  }
}


.map-page .chip {
  -webkit-appearance: none;
          appearance: none;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 11px;
  font-weight: 500;
  padding: 9px;
  border-radius: 7px;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  color: #0b1324;
  transition: all 0.2s ease;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6), 0 1px 6px rgba(0,0,0,0.08);
}
.map-page .chip:hover {
  background: rgba(255,255,255,0.75);
}
.map-page .chip.active {
  background: rgba(255,255,255,0.95);
  box-shadow: inset 0 0 0 2px rgba(30,58,138,0.4), 0 2px 8px rgba(0,0,0,0.15);
  transform: translateY(-1px);
}
.map-page .chip:active {
  transform: scale(0.97);
}





.leaflet-tooltip {
  border-radius: 7px;
}
.theme-dark .leaflet-tooltip, .theme-dark .leaflet-popup-content-wrapper, .theme-dark .leaflet-popup-tip {
  background-color: #222;
  border: 1px solid rgba(0,0,0,0.2);
  
  color: white;
  opacity: 0.97;
}
.theme-dark .leaflet-tooltip .hex-tt, .theme-dark .leaflet-pane.leaflet-tooltip-pane .leaflet-tooltip > div {
  color: #eee!important;
}


.theme-dark .leaflet-tooltip-top:before {
  border-top-color:rgba(22, 22, 28, 0.88)!important
}

.leaflet-tooltip.hex-tooltip{ 
  border-radius: 10px;
  padding: 1em; pointer-events:none; max-width: 320px; }
.leaflet-tooltip.country-tooltip {
  width: max-content;
  max-width: min(320px, calc(100vw - 32px));
  white-space: normal;
}
.leaflet-tooltip.hex-tooltip a{ pointer-events:none; }
.leaflet-tooltip.hex-tooltip img{ width:100%; max-height:180px; object-fit:cover; display:block; border-radius:6px; }
.leaflet-tooltip.hex-tooltip.frozen,
.leaflet-tooltip.hex-tooltip.frozen a,
.leaflet-tooltip.hex-tooltip.frozen img {
  pointer-events: auto;
}
.hex-tt code{ background:rgba(0,0,0,.04); padding:0 3px; border-radius:4px; }
.hex-tt > b:first-child {
  text-transform: capitalize;
}

@media (pointer: coarse), (hover: none) {
  .leaflet-tooltip.hex-tooltip {
    pointer-events: none;
  }

  .leaflet-tooltip.hex-tooltip a,
  .leaflet-tooltip.hex-tooltip img {
    pointer-events: none;
  }

  .leaflet-tooltip.hex-tooltip.frozen {
    pointer-events: auto !important;
  }
}

.theme-dark .leaflet-tooltip {
  border: 1px solid rgba(0,0,0,0.2)
}
.hex-img-fade {
  opacity: 0;
  transition: opacity 0.45s ease-out;
}

.hex-img-fade.loaded {
  opacity: 1;
}


.map-legend {
  position: absolute;
  right: clamp(8px, 2vw, 16px);
  bottom: clamp(8px, 2vh, 12px);
  z-index: 2000;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 7px;
  padding: 8px 10px;
  font-size: clamp(11px, 1.1vw, 12px);
  line-height: 1.2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  pointer-events: none;
  width: fit-content;
  height: fit-content;
}
.map-legend .scale {
  width: clamp(140px, 18vw, 220px);
  height: 10px;
  background: linear-gradient(to right,#bfbfbfcc, #fde047cc 25%, #f59e0bcc 50%, #ff000099 75%, #ff000099);
  border-radius: 4px;
  margin: 6px 0;
}



.sidebar-footer {
  padding: 8px 12px 10px;
  font-size: 11px;
  color: #555;
  line-height: 1.3;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.theme-dark .sidebar-footer {
  color: inherit
}


.marker-cluster.marker-cluster-neutral div {
  background: #d5b0ff8c;          
  color: #fff;
  
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.marker-cluster.marker-cluster-neutral span {
  font-weight: 700;
}


.marker-cluster.marker-cluster-neutral.small  div { width: 34px; height: 34px; line-height: 34px; }
.marker-cluster.marker-cluster-neutral.medium div { width: 42px; height: 42px; line-height: 42px; }
.marker-cluster.marker-cluster-neutral.large  div { width: 52px; height: 52px; line-height: 52px; }

.hex-text-label span {
    color: black;
  
  font-weight: 600;
  color: #000;
  text-shadow: 0 0 3px rgba(255,255,255,0.9);
  white-space: nowrap;
}

.hex-text-label {
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  
}
.hex-text-inner {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) !important;
  pointer-events: none;
}

.leaflet-marker-icon.hex-text-label {
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}


.leaflet-marker-icon.hex-text-label .hex-text-value {
  font-weight: 700;
  color: #000;
  white-space: nowrap;
  text-shadow: 0 0 3px rgba(255,255,255,0.9);
}








.theme-dark .map-legend {
  background: rgba(22, 22, 28, 0.88);
  color: #e5e7eb;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.theme-dark .map-legend .scale {
  background: linear-gradient(to right,#bfbfbfdd, #fde047dd 25%, #f59e0bdd 50%, #ff0000bb 75%, #ff0000bb);
}

.theme-dark .map-sidebar {
  background: rgba(22,22,28,0.92);
  border-color: rgba(255,255,255,0.12);
  color: #e5e7eb;
}

.theme-dark .sidebar-header {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.theme-dark .sidebar-toggle {
  background: #1e1e27;
  border-color: rgba(255,255,255,0.12);
  color: #eee;
}

.theme-dark .sidebar-select {
  background-color: #1e1e27;
  border-color: rgba(255,255,255,0.12);
  color: #eee;
  box-shadow: 0 1px 6px rgba(0,0,0,0.22);
}

.theme-dark .sidebar-select:focus {
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.08);
}

.theme-dark .radio-row.active {
  background: rgba(255,255,255,0.08);
}
.theme-dark .substance-search { border-color: rgba(255,255,255,.12); }
.theme-dark .substance-search input { background: #1e1e27; border-color: rgba(255,255,255,.18); }
.theme-dark .substance-search small { color: #aeb7c5; }

.theme-dark .chip {
  background: rgba(255,255,255,0.1);
  color: #eee;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
}

.theme-dark .chip.active {
  background: rgba(255,255,255,0.18);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.3);
}


.theme-dark .marker-cluster.marker-cluster-neutral div {
  background: #4f378b; 
  box-shadow: 0 2px 8px rgba(0,0,0,0.45);
}


.theme-dark .hex-text-value {
  color: #fff !important;
  text-shadow: 0 0 3px rgba(0,0,0,0.9);
}



.theme-dark .leaflet-control-zoom {
  background: rgba(22,22,28,0.92);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 2px 8px rgba(0,0,0,0.45);
}

.theme-dark .leaflet-control-zoom a {
  background: transparent;
  color: #eee;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.theme-dark .leaflet-control-zoom a:last-child {
  border-bottom: none;
}

.theme-dark .leaflet-control-zoom a:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.theme-dark .leaflet-control-zoom a span {
  font-weight: 700;
}





.leaflet-container {
  -webkit-tap-highlight-color: transparent;
}

.theme-dark .leaflet-container,
.theme-dark .map-page .map-container {
  background: #262626;
}


.leaflet-container svg path,
.leaflet-container svg g {
  outline: none !important;
  box-shadow: none !important;
}


.leaflet-container svg {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}


.leaflet-interactive {
  outline: none !important;
}


.leaflet-container {
  touch-action: manipulation;
}

.treatment-pin,
.treatment-cluster {
  pointer-events: auto;
}

.treatment-cluster {
  cursor: pointer;
}







.hex-tooltip.hex-card {
  position: relative;
  background: rgba(255,255,255,0.22);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
          backdrop-filter: blur(14px) saturate(120%);
  border-radius: 14px;
  padding: 10px 12px;
}


.theme-dark .hex-tooltip.hex-card {
  background: rgba(20,20,20,0.38);
}


.hex-tooltip.hex-card::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 12px;
  pointer-events: none;
  border: 1px solid rgba(0,0,0,0.10);
}


.hex-tooltip.hex-card::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 10px;
  pointer-events: none;
  border: 1px solid rgba(0,0,0,0.18);
}


.theme-dark .hex-tooltip.hex-card::before {
  border-color: rgba(255,255,255,0.14);
}
.theme-dark .hex-tooltip.hex-card::after {
  border-color: rgba(255,255,255,0.22);
}

.hex-tooltip.hex-card {
  box-shadow:
    0 1px 2px rgba(0,0,0,0.06);
}

.hex-tooltip .hex-tt__title {
  margin: 12px 0 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.theme-dark .hex-tooltip.hex-card {
  box-shadow:
    0 1px 2px rgba(0,0,0,0.6);
    
}


.hex-tooltip.hex-card.frozen {
  -webkit-backdrop-filter: blur(16px) saturate(130%);
          backdrop-filter: blur(16px) saturate(130%);
}

.hex-tooltip.hex-card.frozen::after {
  border-width: 1.5px;
}


.batch-timeline {
  position: absolute;
  z-index: 2200;
  left: max(10px, env(safe-area-inset-left));
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 88px;
  height: min(390px, 52dvh);
  box-sizing: border-box;
  padding: 13px 10px 16px;
  color: #f5f5f7;
  background: rgba(24, 24, 26, .88);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(0,0,0,.44), inset 0 1px rgba(255,255,255,.08);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
}
.batch-timeline__date {
  display: block;
  width: 100%;
  min-height: 31px;
  padding: 0;
  color: #f5f5f7;
  background: transparent;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}
.batch-timeline__range {
  flex: 1 1 auto;
  width: 5px;
  min-height: 130px;
  margin: 0;
  writing-mode: vertical-lr;
  direction: rtl;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  cursor: pointer;
}
.batch-timeline__range::-webkit-slider-runnable-track { width: 5px; border-radius: 999px; background: linear-gradient(to top, rgba(255,255,255,.92) 0 var(--timeline-progress), rgba(255,255,255,.22) var(--timeline-progress) 100%); }
.batch-timeline__range::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin-left: -8.5px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 9px rgba(0,0,0,.45); }
.batch-timeline__range::-moz-range-track { width: 5px; border-radius: 999px; background: rgba(255,255,255,.22); }
.batch-timeline__range::-moz-range-progress { width: 5px; border-radius: 999px; background: rgba(255,255,255,.92); }
.batch-timeline__range::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 9px rgba(0,0,0,.45); }
.batch-timeline__range:focus-visible { outline: 2px solid currentColor; outline-offset: 8px; }

.map-forecast-search-launcher {
  position: fixed;
  z-index: 2200;
  left: 84px;
  left: var(--rail-w, 84px);
  right: 0;
  bottom: max(24px, calc(env(safe-area-inset-bottom) + 14px));
  margin-inline: auto;
  -webkit-appearance: none;
          appearance: none;
  display: flex;
  align-items: center;
  gap: 13px;
  width: min(520px, 48vw, calc(100vw - 84px - 48px));
  width: min(520px, 48vw, calc(100vw - var(--rail-w, 84px) - 48px));
  min-height: 58px;
  box-sizing: border-box;
  padding: 0 20px;
  color: rgba(245,245,247,.68);
  background: rgba(24,24,26,.9);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  box-shadow: 0 16px 44px rgba(0,0,0,.4), inset 0 1px rgba(255,255,255,.08);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
  font: inherit;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
}
.map-forecast-search-launcher svg { flex: 0 0 23px; width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.map-forecast-search-launcher span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.map-forecast-search-launcher:hover { color: rgba(245,245,247,.82); background: rgba(34,34,36,.93); }
.map-forecast-search-launcher:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.batch-flow-route { pointer-events: none; }
.prediction-route,
.prediction-area,
.prediction-area-core,
.prediction-area-rank,
.prediction-route-arrow { pointer-events: none; }
.prediction-route { stroke: #f5c96a !important; filter: drop-shadow(0 0 4px rgba(245,201,106,.72)); }
.prediction-route--branch { filter: drop-shadow(0 0 3px rgba(245,201,106,.6)); }
.prediction-route--enter.prediction-route--flow {
  animation:
    prediction-route-enter .55s ease-out both,
    prediction-route-flow 1.3s linear infinite;
}
.prediction-area--enter { animation: prediction-area-enter .42s cubic-bezier(.2,.75,.25,1) both; transform-box: fill-box; transform-origin: center; }
.prediction-area-rank { display: grid !important; place-items: center; background: transparent; border: 0; }
.prediction-area-rank span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #2c210d; background: rgba(255,238,192,.96); border: 1px solid rgba(118,80,16,.34); box-shadow: 0 2px 8px rgba(0,0,0,.28); font-size: 11px; font-weight: 800; }
.prediction-area-rank.is-unranked span { width: 10px; height: 10px; border-color: rgba(255,240,189,.72); background: #d8a642; box-shadow: 0 0 5px rgba(245,201,106,.72); }
.prediction-route-arrow { width: 16px; height: 16px; border: 0; background: transparent; filter: drop-shadow(0 0 3px rgba(245,201,106,.72)); }
.prediction-route-arrow svg { display: block; width: 16px; height: 16px; overflow: visible; transform-origin: center; }
.prediction-route-arrow path { fill: none; stroke: #ffe29a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.prediction-route-arrow--enter { animation: prediction-arrow-enter .42s .18s cubic-bezier(.2,.75,.25,1) both; }
@keyframes prediction-route-enter { from { opacity: 0; } to { opacity: 1; } }
@keyframes prediction-route-flow { to { stroke-dashoffset: -13; } }
@keyframes prediction-area-enter { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
@keyframes prediction-arrow-enter { from { opacity: 0; transform: scale(.65); } to { opacity: 1; transform: scale(1); } }
.batch-flow-route--glow { filter: drop-shadow(0 0 7px currentColor); }
.batch-flow-route--thread {
  filter: drop-shadow(0 0 3px rgba(255,235,157,.98));
  stroke-linecap: round;
}
.batch-flow-route--highlight {
  filter: drop-shadow(0 0 2px rgba(255,255,255,.92));
  stroke-linecap: round;
}
.batch-flow-route--flow {
  stroke-dasharray: 1 11;
  animation: batch-flow-route-flow 1.15s linear infinite;
}
.hex-timeline-enter { animation: hex-timeline-enter .38s ease-out both; transform-box: fill-box; transform-origin: center; }
.batch-flow-route--enter { animation: batch-flow-route-enter .56s cubic-bezier(.22,.7,.27,1) both; }
.batch-flow-arrow { background: transparent; border: 0; pointer-events: none; }
.batch-flow-arrow__glyph {
  display: block;
  width: 100%;
  height: 100%;
  color: var(--batch-flow-color);
  filter: drop-shadow(0 0 3px rgba(255,248,203,.98)) drop-shadow(0 1px 2px rgba(0,0,0,.72));
  transform: rotate(var(--batch-flow-angle));
  transform-origin: center;
}
.batch-flow-arrow__glyph svg { display: block; width: 100%; height: 100%; overflow: visible; }
.batch-flow-arrow__glyph path {
  fill: none;
  stroke: currentColor;
  stroke-width: 4.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.batch-flow-arrow__glyph path { stroke-width: 4; }
.batch-flow-arrow__enter { animation: batch-flow-arrow-enter .42s .16s cubic-bezier(.18,.78,.25,1) both; }
@keyframes batch-flow-route-enter { from { opacity: 0; } to { opacity: .98; } }
@keyframes batch-flow-route-flow { to { stroke-dashoffset: -12; } }
@keyframes batch-flow-arrow-enter { from { opacity: 0; transform: rotate(var(--batch-flow-angle)) scale(.45); } to { opacity: 1; transform: rotate(var(--batch-flow-angle)) scale(1); } }
@keyframes hex-timeline-enter {
  from { opacity: 0; transform: scale(.72); }
  to { opacity: 1; transform: scale(1); }
}

.theme-dark .batch-timeline {
  color: #f5f5f7;
  background: rgba(24,24,26,.88);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 18px 48px rgba(0,0,0,.48), inset 0 1px rgba(255,255,255,.08);
}
@media (max-width: 700px) {
  .batch-timeline {
    display: none;
  }
}


.global-topbar--floating .global-topbar__page-slot .map-forecast-search-launcher {
  position: static;
  inset: auto;
  transform: none;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  min-height: var(--floating-topbar-surface-size, 44px);
  height: 44px;
  height: var(--floating-topbar-surface-size, 44px);
  margin: 0px 0 0;
  margin: var(--floating-topbar-visual-gap, 0px) 0 0;
  padding: 0 16px 0 12px;
  gap: 8px;
  border-radius: 999px;
  font-size: 14px;
  box-shadow: var(--nav-ios-surface-shadow);
}
.global-topbar--floating .global-topbar__page-slot .map-forecast-search-launcher svg {
  flex-basis: 20px;
  width: 20px;
  height: 20px;
}

.pill-forecast-picker-backdrop { align-items: center; }
.pill-forecast-picker { width: min(680px, calc(100vw - 36px)); max-height: min(720px, calc(100dvh - 60px)); padding: 14px; background: rgba(248,248,248,.96); -webkit-backdrop-filter: blur(24px) saturate(130%); backdrop-filter: blur(24px) saturate(130%); }
.theme-dark .pill-forecast-picker { background: rgba(26,26,28,.96); }
.pill-forecast-picker .portal-bottom-sheet__header { min-height: 40px; box-sizing: border-box; padding: 4px 4px 8px; }
.pill-forecast-picker .portal-bottom-sheet__handle { margin: 2px auto 0; }

.pill-forecast-picker .portal-bottom-sheet__header-end { top: -5px; right: -3px; transform: none; z-index: 2; }
.pill-forecast-picker__close { -webkit-appearance: none; appearance: none; position: relative; width: 44px; height: 44px; border: 0; border-radius: 50%; color: inherit; background: radial-gradient(circle, rgba(128,128,128,.13) 0 15px, transparent 15.5px); font-size: 22px; line-height: 1; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.pill-forecast-search-input-wrap.search-field--prominent { height: 52px; margin: 0 4px 4px; border: 1px solid rgba(128,128,128,.18); }
.pill-forecast-search-input { min-height: 0; }
.pill-forecast-picker__results { display: flex; flex-direction: column; max-height: min(560px, 65dvh); overflow: auto; overscroll-behavior: contain; border-top: 1px solid rgba(128,128,128,.16); }
.pill-forecast-picker__substances { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); grid-gap: 7px; gap: 7px; padding: 10px 8px; border-bottom: 1px solid rgba(128,128,128,.13); }
.pill-forecast-picker__substance { -webkit-appearance: none; appearance: none; display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; grid-gap: 9px; gap: 9px; min-width: 0; padding: 8px 10px; border: 1px solid rgba(128,128,128,.18); border-radius: 13px; color: inherit; background: rgba(128,128,128,.075); text-align: left; cursor: pointer; }
.pill-forecast-picker__substance:hover { background: rgba(128,128,128,.13); }
.pill-forecast-picker__substance > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.pill-forecast-picker__substance strong,
.pill-forecast-picker__substance small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill-forecast-picker__substance small { color: #6e6e73; color: var(--sub, #6e6e73); font-size: 11px; }
.pill-forecast-picker__substance-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #7a5a0b; background: rgba(216,166,66,.2); font-size: 12px; font-weight: 750; letter-spacing: -.02em; }
.theme-dark .pill-forecast-picker__substance-icon { color: #d1d1d6; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.pill-forecast-picker__row { -webkit-appearance: none; appearance: none; display: grid; grid-template-columns: 54px minmax(0,1fr) minmax(120px,.8fr); align-items: center; grid-gap: 12px; gap: 12px; width: 100%; padding: 10px 8px; border: 0; border-bottom: 1px solid rgba(128,128,128,.13); color: inherit; background: transparent; text-align: left; cursor: pointer; }
.pill-forecast-picker__row:hover { background: rgba(128,128,128,.09); }
.pill-forecast-picker__thumb { position: relative; display: grid; place-items: center; width: 54px; height: 54px; overflow: hidden; border-radius: 12px; background: linear-gradient(145deg, rgba(174,174,178,.22), rgba(118,118,128,.1)); box-shadow: inset 0 0 0 1px rgba(128,128,128,.16); }
.pill-forecast-picker__thumb img { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; opacity: 1; }
.pill-forecast-picker__thumb.has-image-source { background: transparent; box-shadow: none; }
.pill-forecast-picker__question { position: relative; z-index: 2; font-family: -apple-system, "SF Pro Rounded", "SF Pro Display", "Segoe UI", Roboto, sans-serif; font-size: 32px; line-height: 1; font-weight: 600; color: rgba(10,18,32,.56); }
.theme-dark .pill-forecast-picker__thumb { background: linear-gradient(145deg, rgba(99,99,102,.3), rgba(44,44,46,.72)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.theme-dark .pill-forecast-picker__thumb.has-image-source { background: transparent; box-shadow: none; }
.theme-dark .pill-forecast-picker__question { color: rgba(255,255,255,.72); }
.pill-forecast-picker__identity,
.pill-forecast-picker__place { display: flex; flex-direction: column; min-width: 0; gap: 3px; }
.pill-forecast-picker__identity strong,
.pill-forecast-picker__identity span,
.pill-forecast-picker__place span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill-forecast-picker__identity span,
.pill-forecast-picker__place { color: #6e6e73; color: var(--sub, #6e6e73); font-size: 12px; }
.pill-forecast-picker__place { flex-direction: row; align-items: center; justify-content: flex-end; gap: 5px; text-align: right; }
.pill-forecast-picker__place > span { min-width: 0; }
.pill-forecast-picker__place small { flex: none; white-space: nowrap; }
.pill-forecast-picker__place small::before { content: "· "; }
.pill-forecast-picker__empty { padding: 28px 18px; color: #6e6e73; color: var(--sub, #6e6e73); text-align: center; }
.pill-forecast-picker__group { padding: 10px 8px 8px; border-bottom: 1px solid rgba(128,128,128,.13); }
.pill-forecast-picker__group h3,
.pill-forecast-picker__section-title { margin: 0; padding: 0 2px 7px; color: #6e6e73; color: var(--sub, #6e6e73); font-size: 11px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.pill-forecast-picker__section-title { padding: 10px 10px 6px; border-bottom: 1px solid rgba(128,128,128,.08); }
.pill-forecast-picker__clusters { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); grid-gap: 7px; gap: 7px; }
.pill-forecast-picker__cluster { -webkit-appearance: none; appearance: none; display: grid; grid-template-columns: 34px minmax(0,1fr) 16px; align-items: center; grid-gap: 9px; gap: 9px; min-width: 0; padding: 9px 10px; border: 1px solid rgba(128,128,128,.18); border-radius: 13px; color: inherit; background: transparent; text-align: left; cursor: pointer; }
.pill-forecast-picker__cluster:hover { border-color: rgba(128,128,128,.32); background: rgba(128,128,128,.06); }
.pill-forecast-picker__cluster > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.pill-forecast-picker__cluster strong,
.pill-forecast-picker__cluster small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill-forecast-picker__cluster small { color: #6e6e73; color: var(--sub, #6e6e73); font-size: 10px; }
.pill-forecast-picker__cluster > svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; opacity: .45; }
.pill-forecast-picker__cluster-icon { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(128,128,128,.28); border-radius: 50%; color: inherit; background: transparent; font-size: 11px; font-weight: 850; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.theme-dark .pill-forecast-picker__cluster { border-color: rgba(255,255,255,.14); background: transparent; }
.theme-dark .pill-forecast-picker__cluster:hover { border-color: rgba(255,255,255,.26); background: rgba(255,255,255,.05); }
.theme-dark .pill-forecast-picker__cluster-icon { border-color: rgba(255,255,255,.24); color: inherit; background: transparent; }

.pill-forecast-card { position: fixed; z-index: 2201; left: 84px; left: var(--rail-w, 84px); right: 0; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; width: min(460px, calc(100vw - 84px - 48px)); width: min(460px, calc(100vw - var(--rail-w, 84px) - 48px)); max-height: min(620px, calc(100dvh - 96px)); margin-inline: auto; overflow: hidden; box-sizing: border-box; padding: 15px; color: var(--fg); background: var(--forecast-surface); border: 1px solid var(--forecast-border); border-radius: 18px; box-shadow: var(--forecast-shadow); backdrop-filter: blur(24px) saturate(130%); -webkit-backdrop-filter: blur(24px) saturate(130%); }
.pill-forecast-card.is-collapsed { top: auto; bottom: max(24px, calc(env(safe-area-inset-bottom) + 14px)); transform: none; width: min(360px, calc(100vw - 84px - 48px)); width: min(360px, calc(100vw - var(--rail-w, 84px) - 48px)); }
.pill-forecast-card button { color: inherit; font: inherit; }
.pill-forecast-card__handle { display: none; }
.pill-forecast-card__header { flex: 0 0 auto; position: relative; z-index: 1; display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; align-items: center; grid-gap: 4px; gap: 4px; min-height: 44px; }
.pill-forecast-card__identity { display: flex; flex-direction: column; align-items: center; min-width: 0; gap: 1px; text-align: center; }
.pill-forecast-card__identity > strong,
.pill-forecast-card__identity > span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill-forecast-card__identity > span { color: rgba(235,235,245,.58); font-size: 11px; font-weight: 500; line-height: 1.2; }
.pill-forecast-card__identity > .pill-forecast-card__report { color: rgba(235,235,245,.46); font-size: 10px; }

.pill-forecast-card__header > button { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.09) 0 15px, transparent 15.5px); cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.pill-forecast-card__close { justify-self: end; }
.pill-forecast-card__toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pill-forecast-card__close { font-size: 21px; line-height: 1; }
.pill-forecast-card__body { min-height: 0; overflow: auto; overscroll-behavior: contain; padding-right: 2px; }
.pill-forecast-card__horizons { display: flex; align-items: stretch; gap: 4px; width: 100%; margin: 12px 0; padding: 3px; box-sizing: border-box; border-radius: 11px; background: rgba(255,255,255,.07); }
.pill-forecast-card__horizons button { flex: 1 1; min-width: 0; padding: 7px clamp(5px, 2vw, 12px); border: 0; border-radius: 8px; background: transparent; white-space: nowrap; cursor: pointer; transition: flex-grow .18s ease, background-color .18s ease, box-shadow .18s ease; }
.pill-forecast-card__horizons button.is-active { flex-grow: 1.12; }
.pill-forecast-card__horizons button.is-active { background: rgba(255,255,255,.15); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.pill-forecast-card__summary { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 8px; color: rgba(235,235,245,.68); font-size: 11px; }
.pill-forecast-card__location-label { margin: 2px 3px 8px; color: rgba(235,235,245,.72); font-size: 13px; font-weight: 700; letter-spacing: .01em; }
.pill-forecast-card__same,
.pill-forecast-card__destinations button { -webkit-appearance: none; appearance: none; display: flex; align-items: center; width: 100%; border: 0; color: inherit; background: transparent; cursor: pointer; }
.pill-forecast-card__same { justify-content: space-between; padding: 9px 10px; border-radius: 10px; background: rgba(214,163,61,.1); }
.pill-forecast-card__destinations { margin: 4px 0 0; padding: 0; list-style: none; }
.pill-forecast-card__destinations button { display: grid; grid-template-columns: 24px 1fr auto; grid-gap: 9px; gap: 9px; padding: 7px 4px; text-align: left; }
.pill-forecast-card__destinations button > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; }
.pill-forecast-card__destinations small { color: rgba(235,235,245,.58); }
.pill-forecast-card__probability { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; white-space: nowrap; }
.pill-forecast-card__probability > strong { color: #f4d98f; font-size: 15px; }
.pill-forecast-card__probability > small { font-size: 9px; font-weight: 500; }
.pill-forecast-card__rank { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #2c210d; background: #efd38d; font-size: 11px; font-weight: 800; }
.pill-forecast-card__disclaimer { margin: 9px 0 0; color: rgba(235,235,245,.52); font-size: 10px; line-height: 1.35; }
.pill-forecast-card__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-gap: 7px; gap: 7px; margin-top: 12px; }
.pill-forecast-card__actions:has(> :only-child) { grid-template-columns: 1fr; }
.pill-forecast-card__action { -webkit-appearance: none; appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 12px; color: var(--fg); background: var(--forecast-action-bg); font-size: 13px; font-weight: 600; letter-spacing: -.01em; line-height: 1.15; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color 140ms ease, transform 120ms ease; }
.pill-forecast-card__action.is-primary { color: #fff; background: #1d1d1f; }
.pill-forecast-card__action svg { flex: 0 0 18px; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pill-forecast-card__action span { overflow: hidden; text-overflow: ellipsis; }
.pill-forecast-card__action:hover { background: var(--forecast-action-bg-hover); }
.pill-forecast-card__action.is-primary:hover { background: #303034; }
.theme-dark .pill-forecast-card__action.is-primary { color: #1d1d1f; background: #dcaa2e; background: var(--accent, #dcaa2e); }
.theme-dark .pill-forecast-card__action.is-primary:hover { background: #d0872a; background: var(--accent-strong, #d0872a); }
.pill-forecast-card__action:active { transform: scale(.98); }
.pill-forecast-card__action:focus-visible { outline: 2px solid #dcaa2e; outline: 2px solid var(--accent, #dcaa2e); outline-offset: 2px; }
.pill-forecast-card__skeleton { display: grid; grid-gap: 8px; gap: 8px; }
.pill-forecast-card__skeleton i { height: 34px; border-radius: 9px; background: rgba(255,255,255,.08); animation: map-skeleton-pulse 1s ease-in-out infinite alternate; }
.pill-forecast-card__error,
.pill-forecast-card__empty { padding: 16px 5px; color: rgba(235,235,245,.7); font-size: 12px; }

html:not(.theme-dark) .pill-forecast-picker-backdrop { background: rgba(32,32,36,.2); }
html:not(.theme-dark) .pill-forecast-picker {
  color: #1d1d1f;
  background: rgba(250,250,252,.96);
  border-color: rgba(60,60,67,.18);
  box-shadow: 0 20px 58px rgba(35,35,40,.22), inset 0 1px rgba(255,255,255,.9);
}
html:not(.theme-dark) .pill-forecast-search-input-wrap.search-field--prominent {
  --search-field-surface: rgba(255,255,255,.82);
  --search-field-surface-focus: rgba(255,255,255,.96);
  border-color: rgba(60,60,67,.16);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.04);
}
html:not(.theme-dark) .pill-forecast-search-input { color: #1d1d1f; }
html:not(.theme-dark) .pill-forecast-picker__row:hover { background: rgba(60,60,67,.065); }
html:not(.theme-dark) .pill-forecast-picker__identity span,
html:not(.theme-dark) .pill-forecast-picker__place,
html:not(.theme-dark) .pill-forecast-picker__empty { color: #6e6e73; }



html:not(.theme-dark) .batch-timeline {
  color: #1d1d1f;
  background: rgba(250,250,252,.94);
  border-color: rgba(60,60,67,.2);
  box-shadow: 0 18px 44px rgba(35,35,40,.22), inset 0 1px rgba(255,255,255,.92);
}
html:not(.theme-dark) .batch-timeline__date { color: #1d1d1f; }
html:not(.theme-dark) .batch-timeline__range { background: rgba(60,60,67,.18); }
html:not(.theme-dark) .batch-timeline__range::-webkit-slider-runnable-track { background: linear-gradient(to top, rgba(29,29,31,.82) 0 var(--timeline-progress), rgba(60,60,67,.18) var(--timeline-progress) 100%); }
html:not(.theme-dark) .batch-timeline__range::-webkit-slider-thumb { border: 1px solid rgba(60,60,67,.16); background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.24); }
html:not(.theme-dark) .batch-timeline__range::-moz-range-track { background: rgba(60,60,67,.18); }
html:not(.theme-dark) .batch-timeline__range::-moz-range-progress { background: rgba(29,29,31,.82); }
html:not(.theme-dark) .batch-timeline__range::-moz-range-thumb { border: 1px solid rgba(60,60,67,.16); background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.24); }
html:not(.theme-dark) .map-forecast-search-launcher {
  color: #6e6e73;
  background: rgba(250,250,252,.94);
  border-color: rgba(60,60,67,.2);
  box-shadow: 0 16px 42px rgba(35,35,40,.2), inset 0 1px rgba(255,255,255,.92);
}
html:not(.theme-dark) .map-forecast-search-launcher:hover { color: #48484a; background: rgba(255,255,255,.97); }

@media (max-width: 700px) {
  .pill-forecast-picker__substances { grid-template-columns: 1fr; }
  .pill-forecast-picker__clusters { grid-template-columns: 1fr; }
  html.pill-forecast-focus-open #nav-rail-portal-host .nav-rail.is-mobile.is-ios-style,
  body.pill-forecast-focus-open #nav-rail-portal-host .nav-rail.is-mobile.is-ios-style {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .pill-forecast-card { left: 0; right: 0; top: auto; bottom: 0; transform: none; width: 100%; height: auto; height: var(--forecast-sheet-drag-height, auto); max-height: min(78dvh, 680px); margin: 0; padding: 0 12px calc(12px + env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; transition: height 220ms cubic-bezier(.32,.72,0,1); }
  .pill-forecast-card.is-collapsed { left: 0; right: 0; bottom: 0; width: auto; margin: 0; padding-bottom: calc(10px + env(safe-area-inset-bottom)); border-radius: 16px 16px 0 0; }
  .pill-forecast-card.is-dragging { overflow: hidden; transition: none; }
  .pill-forecast-card__handle { -webkit-appearance: none; appearance: none; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 100%; height: 25px; margin: 0; padding: 0; border: 0; color: inherit; background: transparent; cursor: grab; touch-action: none; -webkit-tap-highlight-color: transparent; }
  .pill-forecast-card.is-dragging .pill-forecast-card__handle { cursor: grabbing; }
  .pill-forecast-card__handle-grip { display: block; width: 38px; height: 4px; border-radius: 999px; background: rgba(174,174,178,.36); transition: background-color 140ms ease; }
  .pill-forecast-card__handle:hover .pill-forecast-card__handle-grip,
  .pill-forecast-card__handle:focus-visible .pill-forecast-card__handle-grip { background: rgba(255,255,255,.34); }
  .pill-forecast-card__handle:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }
  html:not(.theme-dark) .pill-forecast-card__handle-grip { background: rgba(120,120,128,.36); }
  html:not(.theme-dark) .pill-forecast-card__handle:hover .pill-forecast-card__handle-grip,
  html:not(.theme-dark) .pill-forecast-card__handle:focus-visible .pill-forecast-card__handle-grip { background: rgba(60,60,67,.42); }
  .pill-forecast-card__destinations button { padding-block: 6px; }
  .pill-forecast-picker-backdrop { align-items: flex-end; }
  .pill-forecast-picker { width: 100%; max-height: min(82dvh, 720px); }
  
  .pill-forecast-picker:has(.pill-forecast-search-input:focus) {
    min-height: min(70dvh, 540px);
  }
  .pill-forecast-picker__row { grid-template-columns: 48px minmax(0,1fr); column-gap: 10px; row-gap: 2px; }
  .pill-forecast-picker__thumb { grid-column: 1; grid-row: 1 / span 2; align-self: center; width: 48px; height: 48px; }
  .pill-forecast-picker__identity { grid-column: 2; grid-row: 1; }
  .pill-forecast-picker__place { grid-column: 2; grid-row: 2; justify-content: flex-start; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .hex-timeline-enter,
  .batch-flow-route--enter,
  .batch-flow-route--flow,
  .batch-flow-arrow__enter,
  .prediction-route--enter,
  .prediction-route--flow,
  .prediction-route-arrow--enter,
  .prediction-area--enter,
  .pill-forecast-card__skeleton i { animation: none; }
  .pill-forecast-card__horizons button { transition: none; }
  .pill-forecast-card { transition: none; }
}



.global-topbar--floating .global-topbar__page-slot .map-legend--topbar {
  position: static;
  inset: auto;
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  min-height: var(--floating-topbar-surface-size, 44px);
  height: 44px;
  height: var(--floating-topbar-surface-size, 44px);
  margin: 0px 0 0;
  margin: var(--floating-topbar-visual-gap, 0px) 0 0;
  padding: 4px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
  box-shadow: var(--nav-ios-surface-shadow, 0 2px 10px rgba(0, 0, 0, 0.14));
  font-size: 10px;
  line-height: 1.1;
  text-align: center;
  pointer-events: none;
}
.global-topbar--floating .global-topbar__page-slot .map-legend--topbar strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}
.global-topbar--floating .global-topbar__page-slot .map-legend--topbar .scale {
  width: 100%;
  height: 4px;
  margin: 0;
}
.theme-dark .global-topbar--floating .global-topbar__page-slot .map-legend--topbar {
  background: rgba(24, 24, 26, 0.9);
  color: #e5e7eb;
}

.map-mobile-sheet {
  position: fixed;
  z-index: 2200;
  left: 0;
  right: 0;
  bottom: 0;
  box-sizing: border-box;
  padding: 8px 76px calc(env(safe-area-inset-bottom, 0px) + 14px) 16px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
}
.map-mobile-sheet__handle {
  display: block;
  width: 36px;
  height: 4px;
  margin: 0 auto 10px;
  border-radius: 999px;
  
  background: rgba(120, 120, 128, 0.36);
}
.map-mobile-sheet .map-forecast-search-launcher {
  position: static;
  inset: auto;
  width: 100%;
  min-width: 0;
  min-height: 50px;
  margin: 0;
  padding: 0 16px;
  gap: 10px;
  border-radius: 999px;
  border: none;
  color: #6e6e73;
  background: rgba(118, 118, 128, 0.12);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-size: 16px;
}
.map-mobile-sheet .map-forecast-search-launcher:hover { background: rgba(118, 118, 128, 0.18); color: #48484a; }
.theme-dark .map-mobile-sheet { background: rgba(24, 24, 26, 0.94); }
.theme-dark .map-mobile-sheet__handle { background: rgba(174, 174, 178, 0.36); }
.theme-dark .map-mobile-sheet .map-forecast-search-launcher { color: rgba(245, 245, 247, 0.62); background: rgba(118, 118, 128, 0.22); }



.pill-forecast-card {
  --forecast-surface: rgba(250, 250, 252, .94);
  --forecast-border: rgba(60, 60, 67, .18);
  --forecast-shadow: 0 20px 52px rgba(35, 35, 40, .22), inset 0 1px rgba(255, 255, 255, .92);
  --forecast-soft: rgba(60, 60, 67, .08);
  --forecast-soft-strong: rgba(60, 60, 67, .14);
  --forecast-action-bg: rgba(118, 118, 128, .14);
  --forecast-action-bg-hover: rgba(118, 118, 128, .22);
  --forecast-gold: #76520f;
}
.theme-dark .pill-forecast-card {
  --forecast-surface: rgba(24, 24, 26, .92);
  --forecast-border: rgba(255, 255, 255, .14);
  --forecast-shadow: 0 18px 48px rgba(0, 0, 0, .44), inset 0 1px rgba(255, 255, 255, .06);
  --forecast-soft: rgba(255, 255, 255, .07);
  --forecast-soft-strong: rgba(255, 255, 255, .15);
  --forecast-action-bg: rgba(255, 255, 255, .1);
  --forecast-action-bg-hover: rgba(255, 255, 255, .16);
  --forecast-gold: #f4d98f;
}
.pill-forecast-card__header > button { background: radial-gradient(circle, var(--forecast-soft) 0 15px, transparent 15.5px); }
.pill-forecast-card__horizons { background: var(--forecast-soft); }
.pill-forecast-card__horizons button { color: var(--muted); }
.pill-forecast-card__horizons button.is-active { color: var(--fg); background: #fff; background: var(--card, #fff); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.pill-forecast-card__identity > span,
.pill-forecast-card__identity > .pill-forecast-card__report,
.pill-forecast-card__summary,
.pill-forecast-card__destinations small,
.pill-forecast-card__location-label,
.pill-forecast-card__disclaimer,
.pill-forecast-card__error,
.pill-forecast-card__empty { color: var(--muted); }
.pill-forecast-card__probability > strong { color: var(--forecast-gold); }
.pill-forecast-card__same { background: color-mix(in srgb, #dcaa2e 14%, transparent); background: color-mix(in srgb, var(--accent, #dcaa2e) 14%, transparent); }
.pill-forecast-card__skeleton i { background: var(--forecast-soft); }

.map-sidebar-sheet,
.map-mobile-sheet { color: var(--fg); background: #fff; background: var(--card, #fff); }
.theme-dark .map-mobile-sheet { background: #1b1b1b; background: var(--card, #1b1b1b); }
.map-sidebar.map-sidebar--sheet { color: inherit; }



.map-sidebar--sheet {
  
  --hig-tint: var(--accent-strong, #d0872a);
  --hig-row: rgba(118, 118, 128, .09);
  --hig-row-active: rgba(118, 118, 128, .16);
  --hig-sep: rgba(60, 60, 67, .18);
  --hig-secondary: rgba(60, 60, 67, .6);
  --hig-field: rgba(118, 118, 128, .12);
  font: 400 16px/1.25 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  color: var(--fg);
}
.theme-dark .map-sidebar--sheet {
  --hig-tint: var(--accent, #dcaa2e);
  --hig-row: rgba(255, 255, 255, .07);
  --hig-row-active: rgba(255, 255, 255, .13);
  --hig-sep: rgba(84, 84, 88, .65);
  --hig-secondary: rgba(235, 235, 245, .6);
  --hig-field: rgba(118, 118, 128, .24);
}


.map-sidebar--sheet .sidebar-header { border-bottom: 0; padding: 0 4px 8px; }
.map-sidebar--sheet .sidebar-header strong { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.map-sidebar--sheet .sidebar-toggle,
.theme-dark .map-sidebar--sheet .sidebar-toggle {
  min-height: 44px; padding: 0 8px; border: 0; background: transparent; box-shadow: none;
  color: var(--hig-tint); font: 600 17px/1 inherit; font-family: inherit; cursor: pointer;
}


.map-sidebar--sheet .map-mobile-layers-toggle,
.theme-dark .map-sidebar--sheet .map-mobile-layers-toggle {
  width: 100%; margin: 4px 0 0; min-height: 44px; padding: 0 12px 0 16px;
  grid-template-columns: 22px minmax(0, 1fr) auto 20px; gap: 12px;
  border: 0; border-radius: 12px; background: var(--hig-row); color: inherit;
  font: 400 16px/1.2 inherit; font-family: inherit;
}
.map-sidebar--sheet .map-mobile-layers-toggle[aria-expanded="true"] { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.map-sidebar--sheet .map-mobile-layers-toggle small,
.theme-dark .map-sidebar--sheet .map-mobile-layers-toggle small { opacity: 1; color: var(--hig-secondary); font-size: 16px; }
.map-sidebar--sheet .map-mobile-layers-chevron { color: var(--hig-secondary); }
.map-sidebar--sheet .map-controls.in-sidebar.is-mobile-open,
.theme-dark .map-sidebar--sheet .map-controls.in-sidebar.is-mobile-open {
  margin: 0; padding: 0; border: 0; border-radius: 0 0 12px 12px; background: var(--hig-row);
}
.map-sidebar--sheet .map-controls.in-sidebar .chip,
.theme-dark .map-sidebar--sheet .map-controls.in-sidebar .chip {
  min-height: 44px; padding: 0 16px 0 50px; border: 0; border-radius: 0; background: transparent;
  box-shadow: none; color: inherit; font: 400 16px/1.2 inherit; font-family: inherit;
}
.map-sidebar--sheet .map-controls.in-sidebar .chip + .chip,
.theme-dark .map-sidebar--sheet .map-controls.in-sidebar .chip + .chip { border-top: .5px solid var(--hig-sep); }
.map-sidebar--sheet .map-controls.in-sidebar .chip.active::after { color: var(--hig-tint); }
.map-sidebar--sheet .sidebar-tools { margin: 0 0 18px; }


.map-sidebar--sheet .substance-search { margin: 0 0 18px; padding: 0; border: 0; }
.map-sidebar--sheet .substance-search label { margin: 0 0 6px 4px; color: var(--hig-secondary); font-size: 13px; font-weight: 400; text-transform: uppercase; letter-spacing: .02em; }
.map-sidebar--sheet .substance-search input,
.theme-dark .map-sidebar--sheet .substance-search input {
  min-height: 44px; padding: 0 14px; border: 0; border-radius: 10px; background: var(--hig-field);
  color: inherit; font: 400 16px/1.2 inherit; font-family: inherit;
}
.map-sidebar--sheet .substance-search small { margin: 6px 4px 0; color: var(--hig-secondary); font-size: 13px; }


.map-sidebar--sheet .radio-row,
.theme-dark .map-sidebar--sheet .radio-row {
  position: relative; display: flex; align-items: center; min-height: 44px; margin: 0;
  padding: 0 44px 0 16px; border-radius: 0; background: var(--hig-row); font-size: 16px; line-height: 1.2;
}
.map-sidebar--sheet .radio-row:first-of-type { border-radius: 12px 12px 0 0; }
.map-sidebar--sheet .radio-row:last-of-type { border-radius: 0 0 12px 12px; }
.map-sidebar--sheet .radio-row + .radio-row::before {
  content: ""; position: absolute; left: 16px; right: 0; top: 0; height: .5px; background: var(--hig-sep);
}
.map-sidebar--sheet .radio-row:active { background: var(--hig-row-active); }
.map-sidebar--sheet .radio-row.active,
.theme-dark .map-sidebar--sheet .radio-row.active { background: var(--hig-row); }
.map-sidebar--sheet .radio-row input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }

.map-sidebar--sheet .radio-row.active::after {
  content: "";
  position: absolute;
  right: 19px;
  top: 50%;
  width: 6px;
  height: 12px;
  border: solid var(--hig-tint);
  border-width: 0 2px 2px 0;
  border-radius: 1px;
  background: none;
  transform: translateY(-62%) rotate(45deg);
}
.map-sidebar--sheet .sidebar-footer,
.theme-dark .map-sidebar--sheet .sidebar-footer { margin-top: 10px; padding: 0 4px 4px; border: 0; color: var(--hig-secondary); font-size: 13px; }
.map-sidebar--sheet .map-controls.in-sidebar .chip .map-chip-label,
.theme-dark .map-sidebar--sheet .map-controls.in-sidebar .chip .map-chip-label { font: 400 16px/1.2 inherit; font-family: inherit; }
.map-sidebar.map-sidebar--sheet { scrollbar-width: none; }
.map-sidebar.map-sidebar--sheet::-webkit-scrollbar { display: none; }


:root.entry-catalyst-overlay-toolbar .map-page .leaflet-top {
  top: var(--app-safe-top);
}
:root.entry-catalyst-overlay-toolbar .map-page .map-controls.chips {
  top: calc(var(--app-safe-top) + 3px);
}
:root.entry-catalyst-overlay-toolbar .map-page .map-legend {
  top: calc(var(--app-safe-top) + 12px);
}
:root.entry-catalyst-overlay-toolbar .map-page .map-sidebar {
  top: calc(var(--app-safe-top) + clamp(90px, 8vh, 140px));
}
:root.entry-catalyst-overlay-toolbar .map-page .sidebar-tab {
  top: calc(var(--app-safe-top) + clamp(60px, 20vh, 90px));
}

