@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap";

/* node_modules/leaflet/dist/leaflet.css */
.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;
  top: 0;
  left: 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;
}

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

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

.leaflet-safari .leaflet-tile-container {
  -webkit-transform-origin: 0 0;
  width: 1600px;
  height: 1600px;
}

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

.leaflet-container img.leaflet-tile {
  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;
  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: #33b5e566;
}

.leaflet-tile {
  filter: inherit;
  visibility: hidden;
}

.leaflet-tile-loaded {
  visibility: inherit;
}

.leaflet-zoom-box {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  z-index: 800;
  width: 0;
  height: 0;
}

.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 .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 .25s cubic-bezier(0,0,.25,1);
  -moz-transition: -moz-transform .25s cubic-bezier(0,0,.25,1);
  transition: transform .25s cubic-bezier(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: -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;
}

.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 {
  outline-offset: 1px;
  background: #ddd;
}

.leaflet-container a {
  color: #0078a8;
}

.leaflet-zoom-box {
  background: #ffffff80;
  border: 2px dotted #38f;
}

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

.leaflet-bar {
  border-radius: 4px;
  box-shadow: 0 1px 5px #000000a6;
}

.leaflet-bar a {
  display: block;
  text-align: center;
  text-decoration: none;
  color: #000;
  background-color: #fff;
  border-bottom: 1px solid #ccc;
  width: 26px;
  height: 26px;
  line-height: 26px;
}

.leaflet-bar a, .leaflet-control-layers-toggle {
  display: block;
  background-position: 50%;
  background-repeat: no-repeat;
}

.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: none;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
}

.leaflet-bar a.leaflet-disabled {
  cursor: default;
  color: #bbb;
  background-color: #f4f4f4;
}

.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-right-radius: 2px;
  border-bottom-left-radius: 2px;
}

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

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

.leaflet-control-layers {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 1px 5px #0006;
}

.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 {
  color: #333;
  background: #fff;
  padding: 6px 10px 6px 6px;
}

.leaflet-control-layers-scrollbar {
  overflow-y: scroll;
  overflow-x: hidden;
  padding-right: 5px;
}

.leaflet-control-layers-selector {
  position: relative;
  margin-top: 2px;
  top: 1px;
}

.leaflet-control-layers label {
  display: block;
  font-size: 1.08333em;
}

.leaflet-control-layers-separator {
  border-top: 1px solid #ddd;
  height: 0;
  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: #fffc;
  margin: 0;
}

.leaflet-control-attribution, .leaflet-control-scale-line {
  color: #333;
  padding: 0 5px;
  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 {
  width: 1em;
  height: .6669em;
  display: inline !important;
  vertical-align: baseline !important;
}

.leaflet-left .leaflet-control-scale {
  margin-left: 5px;
}

.leaflet-bottom .leaflet-control-scale {
  margin-bottom: 5px;
}

.leaflet-control-scale-line {
  white-space: nowrap;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  text-shadow: 1px 1px #fff;
  background: #fffc;
  border: 2px solid #777;
  border-top: none;
  padding: 2px 5px 1px;
  line-height: 1.1;
}

.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 {
  background-clip: padding-box;
  border: 2px solid #0003;
}

.leaflet-popup {
  position: absolute;
  text-align: center;
  margin-bottom: 20px;
}

.leaflet-popup-content-wrapper {
  text-align: left;
  border-radius: 12px;
  padding: 1px;
}

.leaflet-popup-content {
  min-height: 1px;
  margin: 13px 24px 13px 20px;
  font-size: 1.08333em;
  line-height: 1.3;
}

.leaflet-popup-content p {
  margin: 1.3em 0;
}

.leaflet-popup-tip-container {
  position: absolute;
  overflow: hidden;
  pointer-events: none;
  width: 40px;
  height: 20px;
  margin-top: -1px;
  margin-left: -20px;
  left: 50%;
}

.leaflet-popup-tip {
  pointer-events: auto;
  width: 17px;
  height: 17px;
  margin: -10px auto 0;
  padding: 1px;
  transform: rotate(45deg);
}

.leaflet-popup-content-wrapper, .leaflet-popup-tip {
  color: #333;
  background: #fff;
  box-shadow: 0 3px 14px #0006;
}

.leaflet-container a.leaflet-popup-close-button {
  position: absolute;
  text-align: center;
  color: #757575;
  text-decoration: none;
  background: none;
  border: none;
  width: 24px;
  height: 24px;
  font: 16px / 24px Tahoma, Verdana, sans-serif;
  top: 0;
  right: 0;
}

.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 {
  -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
  filter: progid:DXImageTransform. Microsoft. Matrix(M11= .707107, M12= .707107, M21= -.707107, M22= .707107);
  width: 24px;
  margin: 0 auto;
}

.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;
  color: #222;
  white-space: nowrap;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
  background-color: #fff;
  border: 1px solid #fff;
  border-radius: 3px;
  padding: 6px;
  box-shadow: 0 1px 3px #0006;
}

.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;
  content: "";
  background: none;
  border: 6px solid #0000;
}

.leaflet-tooltip-bottom {
  margin-top: 6px;
}

.leaflet-tooltip-top {
  margin-top: -6px;
}

.leaflet-tooltip-bottom:before, .leaflet-tooltip-top:before {
  margin-left: -6px;
  left: 50%;
}

.leaflet-tooltip-top:before {
  border-top-color: #fff;
  margin-bottom: -12px;
  bottom: 0;
}

.leaflet-tooltip-bottom:before {
  border-bottom-color: #fff;
  margin-top: -12px;
  margin-left: -6px;
  top: 0;
}

.leaflet-tooltip-left {
  margin-left: -6px;
}

.leaflet-tooltip-right {
  margin-left: 6px;
}

.leaflet-tooltip-left:before, .leaflet-tooltip-right:before {
  margin-top: -6px;
  top: 50%;
}

.leaflet-tooltip-left:before {
  border-left-color: #fff;
  margin-right: -12px;
  right: 0;
}

.leaflet-tooltip-right:before {
  border-right-color: #fff;
  margin-left: -12px;
  left: 0;
}

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

/* src/styles.css */
:root {
  color: #183743;
  --ink: #183743;
  --muted: #6b7e86;
  --accent: #156675;
  --line: #e3eaed;
  --shadow: 0 6px 30px #17374316, 0 1px 4px #1737430a;
  --radius: 16px;
  background: #dfe9eb;
  font-family: DM Sans, sans-serif;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

button, input, select {
  font: inherit;
}

button, select {
  cursor: pointer;
}

button {
  color: inherit;
  background: none;
  border: 0;
}

button:disabled {
  opacity: .45;
  cursor: default;
}

button:hover:not(:disabled) {
  background: #edf4f5;
}

button:focus-visible {
  outline: 3px solid #e7a342;
  outline-offset: 3px;
}

input:focus-visible {
  outline: 3px solid #e7a342;
  outline-offset: 3px;
}

select:focus-visible {
  outline: 3px solid #e7a342;
  outline-offset: 3px;
}

[tabindex]:focus-visible {
  outline: 3px solid #e7a342;
  outline-offset: 3px;
}

button {
  transition: background .15s, color .15s;
}

button:active:not(:disabled) {
  transform: translateY(1px);
}

a {
  color: var(--accent);
}

h1, h2, h3, p {
  margin: 0;
}

h1, h2, h3 {
  font-family: Manrope, sans-serif;
}

h2 {
  letter-spacing: -.6px;
  font-size: 1.25rem;
}

p {
  line-height: 1.55;
}

svg {
  display: block;
  flex-shrink: 0;
}

button svg, [data-icon] svg, .empty-state > svg {
  width: 20px;
  height: 20px;
}

i[data-icon] {
  display: inline-flex;
  justify-content: center;
  align-items:  center;
  font-style: normal;
}

fieldset {
  border: 0;
  min-width: 0;
  margin: 0 0 24px;
  padding: 0;
}

legend {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  font-size: .9rem;
  font-weight: 700;
}

label {
  font-size: .875rem;
}

input, select {
  color: var(--ink);
}

input[type="checkbox"] {
  accent-color: var(--accent);
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin: 0;
}

input[type="range"] {
  accent-color: var(--accent);
  width: 100%;
  margin: 8px 0 24px;
}

input[type="number"], select {
  background: #fff;
  border: 1px solid #dbe4e7;
  border-radius: 8px;
  min-width: 0;
  max-width: 100%;
  padding: 9px 10px;
}

input[type="number"] {
  width: 100%;
}

select[multiple] {
  width: 100%;
  padding: 5px;
}

select[multiple] option {
  border-radius: 4px;
  padding: 5px 7px;
}

select[multiple] option:checked {
  color: #174852;
  background: #dfeef0 linear-gradient(0deg, #dfeef0, #dfeef0);
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
}

.skip-link {
  position: fixed;
  z-index: 3000;
  background: #fff;
  padding: 16px;
  top: -100px;
}

.skip-link:focus {
  top: 10px;
}

.panel {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fffffffa;
  border: 1px solid #ffffffb3;
}

#app, #map {
  overflow: hidden;
  width: 100%;
  height: 100dvh;
}

#map {
  position: absolute;
  z-index: 0;
  background: #dce8ec;
  inset: 0;
}

.brand {
  position: absolute;
  z-index: 500;
  display: flex;
  align-items:  center;
  gap: 12px;
  width: 330px;
  height: 66px;
  padding: 13px 17px;
  top: 20px;
  left: 20px;
}

.brand-mark {
  background: var(--ink);
  display: grid;
  color: #d1f2e6;
  border-radius: 11px;
  place-items:  center;
  width: 38px;
  height: 38px;
}

.brand-mark svg {
  width: 24px;
  height: 24px;
}

h1 {
  letter-spacing: -.5px;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.25;
}

h1 span {
  display: block;
  letter-spacing: 2.1px;
  color: #778a92;
  margin-top: 4px;
  font-family: DM Sans, sans-serif;
  font-size: .65rem;
  font-weight: 600;
}

.brand-tag {
  letter-spacing: 1.1px;
  writing-mode: vertical-rl;
  color: #84969d;
  margin-left: auto;
  font-size: .59rem;
  font-weight: 700;
}

.map-toolbar {
  position: absolute;
  z-index: 550;
  display: flex;
  align-items:  center;
  gap: 4px;
  min-height: 54px;
  padding: 8px;
  top: 20px;
  right: 20px;
}

.map-toolbar button {
  display: flex;
  white-space: nowrap;
  border-radius: 9px;
  align-items:  center;
  gap: 8px;
  padding: 10px 11px;
  font-size: .875rem;
  font-weight: 600;
}

.map-toolbar button[aria-expanded="true"], .map-toolbar button[aria-pressed="true"] {
  color: var(--accent);
  background: #e4f0f1;
}

.toolbar-divider {
  background: var(--line);
  width: 1px;
  height: 24px;
  margin: 0 4px;
}

.count {
  display: inline-grid;
  color: #55717c;
  background: #edf1f3;
  border-radius: 5px;
  place-items:  center;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  font-size: .7rem;
}

.eyebrow {
  letter-spacing: 1.65px;
  color: #7b8d94;
  display: block;
  font-size: .625rem;
  font-weight: 700;
  line-height: 1.5;
}

.explorer {
  position: absolute;
  z-index: 500;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  width: 330px;
  top: 100px;
  bottom: 28px;
  left: 20px;
}

.explorer-heading {
  padding: 22px 20px 18px;
}

.explorer-heading h2 {
  letter-spacing: -.85px;
  margin: 7px 0;
  font-size: 1.35rem;
}

.explorer-heading p {
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.6;
}

.search-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  margin: 0 20px;
}

.search-tabs button {
  color: var(--muted);
  border-bottom: 2px solid #0000;
  flex: 1;
  padding: 11px 2px;
  font-size: .825rem;
}

.search-tabs button[aria-selected="true"] {
  color: var(--accent);
  border-color: var(--accent);
  font-weight: 700;
}

.search-pane {
  padding: 15px 16px 5px;
}

.search-field {
  display: flex;
  background: #f7f9fa;
  border: 1px solid #dce5e9;
  border-radius: 10px;
  align-items:  center;
  gap: 8px;
  padding: 10px 11px;
}

.search-field > i {
  color: #82969f;
}

.search-field input {
  outline-offset: 5px;
  background: none;
  border: 0;
  width: 100%;
  min-width: 0;
  font-size: .85rem;
}

.search-field input::placeholder {
  color: #89989e;
}

.search-field .icon-button {
  width: 26px;
  height: 26px;
  padding: 3px;
}

.explorer-actions {
  display: flex;
  gap: 5px;
  margin: 5px 16px 14px;
}

.explorer-actions button {
  display: flex;
  border-radius: 7px;
  justify-content: center;
  align-items:  center;
  gap: 6px;
  padding: 7px 9px;
  font-size: .75rem;
}

.explorer-actions button:first-child {
  color: var(--accent);
  background: #eaf3f4;
  font-weight: 600;
}

.explorer-actions button:last-child {
  color: var(--muted);
  margin-left: auto;
}

.explorer-actions svg {
  width: 15px;
  height: 15px;
}

.results-heading {
  display: flex;
  border-top: 1px solid var(--line);
  justify-content: space-between;
  align-items:  center;
  padding: 14px 18px 12px;
  font-size: .8rem;
}

.results-heading strong {
  font-size: .95rem;
}

.sort-label select {
  color: var(--muted);
  border: 0;
  max-width: 140px;
  padding: 4px 0;
  font-size: .75rem;
}

.school-list {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #ccd9dc transparent;
  flex: 1;
  min-height: 0;
  padding: 0 9px 12px;
}

.school-card {
  position: relative;
  border: 1px solid #0000;
  border-radius: 11px;
  margin: 2px 0;
  padding: 14px 10px 10px;
}

.school-card:hover {
  background: #f6f9f9;
}

.school-card.selected {
  background: #edf5f5;
  border-color: #bdd8dd;
}

.school-main {
  display: flex;
  text-align: left;
  border-radius: 4px;
  align-items:  flex-start;
  gap: 12px;
  width: 100%;
  padding: 0;
}

.school-main:hover {
  background: none !important;
}

.score-tile {
  display: flex;
  color: #234958;
  border: 1px solid #17405212;
  border-radius: 9px;
  flex-direction: column;
  justify-content: center;
  align-items:  center;
  width: 45px;
  min-width: 45px;
  height: 49px;
  font: 700 1.1rem Manrope, sans-serif;
}

.score-tile.high {
  color: #fff;
}

.score-tile small {
  letter-spacing: .7px;
  opacity: .75;
  margin-top: 2px;
  font: 500 .55rem DM Sans, sans-serif;
}

.school-card h3 {
  letter-spacing: -.2px;
  overflow-wrap: anywhere;
  margin-bottom: 5px;
  font-size: .855rem;
  font-weight: 750;
  line-height: 1.45;
}

.school-meta {
  color: var(--muted);
  font-size: .715rem;
  line-height: 1.45;
}

.school-bottom {
  display: flex;
  align-items:  center;
  gap: 5px;
  margin: 10px 0 0 57px;
}

.type-tag {
  color: #5d7a83;
  display: flex;
  align-items:  center;
  gap: 5px;
  margin-right: auto;
  font-size: .625rem;
  font-weight: 650;
}

.type-tag .public-dot, .type-tag .private-dot {
  width: 6px;
  height: 6px;
}

.school-bottom button {
  display: flex;
  color: #86999f;
  border-radius: 6px;
  justify-content: center;
  align-items:  center;
  width: 27px;
  height: 27px;
}

.school-bottom button svg {
  width: 16px;
  height: 16px;
}

.school-bottom button[aria-pressed="true"] {
  color: #147584;
  background: #e4f0f1;
}

.school-bottom button.saved[aria-pressed="true"] svg {
  fill: #d4e8e6;
}

.explorer-footer {
  display: flex;
  border-top: 1px solid var(--line);
  color: #7b8c92;
  align-items:  center;
  gap: 7px;
  padding: 13px 16px;
  font-size: .63rem;
}

.explorer-footer button {
  color: #7b8c92;
  margin-left: auto;
  padding: 0;
}

.explorer-footer svg {
  width: 16px;
  height: 16px;
}

.live-dot {
  background: #55a294;
  border-radius: 50%;
  width: 5px;
  height: 5px;
}

.floating-panel {
  z-index: 600;
  position: absolute;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  width: 340px;
  max-height: calc(100dvh - 170px);
  top: 90px;
  bottom: auto;
  right: 20px;
}

.panel-header {
  display: flex;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
  justify-content: space-between;
  align-items:  center;
  gap: 12px;
  padding: 21px 22px 17px;
}

.panel-header h2 {
  margin-top: 4px;
  font-size: 1.15rem;
}

.drag-handle {
  cursor: grab;
  touch-action: none;
}

.drag-handle:active {
  cursor: grabbing;
}

.icon-button {
  display: inline-flex;
  color: #70868e;
  border-radius: 7px;
  flex-shrink: 0;
  justify-content: center;
  align-items:  center;
  width: 32px;
  height: 32px;
  padding: 6px;
}

.panel-scroll {
  overflow-y: auto;
  scrollbar-width: thin;
  min-height: 0;
  padding: 22px;
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.check-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-grid label, .check-stack label {
  display: flex;
  color: #45626f;
  align-items:  center;
  gap: 9px;
  line-height: 1.45;
}

.field-hint {
  float: right;
  color: var(--muted);
  margin-top: 3px;
  font-size: .625rem;
  font-weight: 400;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 17px;
}

.form-grid label {
  color: #5c7480;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: .8rem;
}

.block-label {
  display: flex;
  color: #526e7a;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 19px;
}

.micro {
  color: var(--muted);
  margin-top: 8px;
  font-size: .72rem;
  line-height: 1.55;
}

.panel-footer {
  display: flex;
  border-top: 1px solid var(--line);
  background: #fff;
  flex-shrink: 0;
  justify-content: space-between;
  align-items:  center;
  padding: 14px 21px;
}

.text-button {
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 7px;
  font-size: .8rem;
}

.primary-button {
  color: #fff;
  background: var(--accent);
  border-radius: 8px;
  padding: 11px 17px;
  font-size: .85rem;
  font-weight: 600;
}

.primary-button:hover {
  background: #0f5360 !important;
}

.range-label {
  display: flex;
  justify-content: space-between;
  font-size: .875rem;
}

.range-label output {
  color: var(--accent);
  font-size: .8rem;
}

.location-panel {
  position: absolute;
  z-index: 510;
  width: 320px;
  padding: 16px 18px;
  top: 100px;
  left: 370px;
}

.location-top {
  display: flex;
  align-items:  center;
  gap: 10px;
}

.location-top > div {
  flex: 1;
  min-width: 0;
}

.location-top h2 {
  overflow-wrap: anywhere;
  margin-top: 3px;
  font: 650 .85rem / 1.4 DM Sans, sans-serif;
}

.pin-symbol {
  display: grid;
  color: var(--accent);
  background: #e7f1f2;
  border-radius: 9px;
  place-items:  center;
  width: 34px;
  height: 38px;
}

.location-panel .eyebrow {
  font-size: .58rem;
}

.location-match {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding: 12px 0;
  font-size: .8rem;
}

.location-match button {
  text-align: left;
  color: var(--accent);
  padding: 0;
  font-weight: 700;
}

.inline-field {
  display: flex;
  justify-content: space-between;
  align-items:  center;
  gap: 10px;
  font-size: .8rem;
}

.inline-field select {
  font-size: .8rem;
}

.legend {
  position: absolute;
  z-index: 480;
  width: 308px;
  padding: 14px 17px 12px;
  bottom: 28px;
  left: 374px;
}

.legend-title {
  display: flex;
  align-items:  center;
  gap: 8px;
  font-size: .75rem;
}

.legend-title strong {
  font-weight: 650;
}

.legend-title > span {
  letter-spacing: 1px;
  color: #87989f;
  font-size: .55rem;
}

.legend-title button {
  width: 20px;
  height: 20px;
  margin-left: auto;
  padding: 0;
}

.legend-title svg {
  width: 16px;
  height: 16px;
}

.colour-ramp {
  display: flex;
  gap: 3px;
  margin: 12px 0 9px;
}

.colour-ramp span {
  text-align: center;
  color: #819097;
  flex: 1;
  font-size: .65rem;
}

.colour-ramp span:before {
  display: block;
  content: "";
  background: var(--swatch);
  height: 8px;
  margin-bottom: 5px;
}

.colour-ramp span:first-child:before {
  border-radius: 3px 0 0 3px;
}

.colour-ramp span:last-child:before {
  border-radius: 0 3px 3px 0;
}

.legend-key {
  display: flex;
  color: #67808a;
  align-items:  center;
  gap: 12px;
  font-size: .6rem;
}

.legend-key > span {
  display: flex;
  align-items:  center;
  gap: 5px;
}

.unrated-swatch {
  background: repeating-linear-gradient(45deg, #c4cbd1, #c4cbd1 2px, #e4e8eb 2px 4px);
  border-radius: 2px;
  width: 9px;
  height: 9px;
}

.public-dot, .private-dot {
  display: inline-block;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
}

.public-dot {
  background: #216574;
  border-radius: 50%;
}

.private-dot {
  background: #a36831;
  border-radius: 1px;
  transform: rotate(45deg);
}

.legend p {
  border-top: 1px solid var(--line);
  color: #82929a;
  margin-top: 10px;
  padding-top: 8px;
  font-size: .65rem;
}

.legend p b {
  color: #5f7884;
  font-weight: 550;
}

.map-actions {
  position: absolute;
  z-index: 490;
  display: flex;
  border-radius: 11px;
  flex-direction: column;
  padding: 5px;
  bottom: 42px;
  right: 20px;
}

.map-actions button {
  display: grid;
  border-radius: 7px;
  place-items:  center;
  width: 37px;
  height: 37px;
}

.map-actions button:first-child {
  border-bottom: 1px solid var(--line);
  border-radius: 7px 7px 0 0;
  margin-bottom: 3px;
}

.map-actions svg {
  width: 18px;
  height: 18px;
}

.pin-instruction, .toast {
  position: absolute;
  z-index: 1500;
  color: #fff;
  box-shadow: var(--shadow);
  text-align: center;
  background: #193f4c;
  border-radius: 12px;
  max-width: calc(100% - 30px);
  padding: 14px 20px;
  font-size: .85rem;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
}

.pin-instruction {
  top: 100px;
  bottom: auto;
}

.pin-instruction button {
  color: #d6f6f0;
  text-decoration: underline;
  margin-left: 15px;
}

.toast {
  bottom: 190px;
}

.drop-mode #map {
  cursor: crosshair;
}

.empty-state {
  text-align: center;
  color: var(--muted);
  padding: 28px 18px;
  font-size: .85rem;
  line-height: 1.6;
}

.empty-state h3 {
  color: var(--ink);
  margin: 12px 0 6px;
  font-size: 1rem;
}

.empty-state button {
  margin-top: 16px;
}

.empty-state svg {
  color: #87a6b0;
  width: 32px;
  height: 32px;
  margin: auto;
}

.loader {
  display: inline-block;
  border: 2px solid #d4e4e6;
  border-top-color: var(--accent);
  animation: spin 1s linear infinite;
  border-radius: 50%;
  width: 24px;
  height: 24px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#active-summary {
  display: flex;
  color: #397480;
  background: #edf5f5;
  justify-content: space-between;
  align-items:  center;
  padding: 9px 17px;
  font-size: .7rem;
}

#active-summary button {
  text-decoration: underline;
  font-size: .7rem;
}

.address-result {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 100%;
  margin-top: 7px;
  padding: 10px;
  font-size: .8rem;
  line-height: 1.4;
}

.address-result small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
  font-size: .65rem;
}

.detail-hero {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(145deg, #f2f8f8, #fff);
  padding: 23px;
}

.detail-name {
  letter-spacing: -.65px;
  overflow-wrap: anywhere;
  margin-top: 9px;
  font-size: 1.3rem;
  line-height: 1.4;
}

.detail-area {
  color: var(--muted);
  margin-top: 7px;
  font-size: .8rem;
}

.detail-actions {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.detail-actions button {
  display: flex;
  background: #fff;
  border: 1px solid #ccdee1;
  border-radius: 8px;
  flex: 1;
  justify-content: center;
  align-items:  center;
  gap: 7px;
  padding: 9px 12px;
  font-size: .8rem;
}

.detail-actions button[aria-pressed="true"] {
  color: var(--accent);
  background: #e2eff0;
}

.detail-actions svg {
  width: 17px;
  height: 17px;
}

.rating-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
}

.rating-block {
  background: #f1f6f7;
  border-radius: 10px;
  padding: 15px;
}

.rating-block.primary {
  background: var(--ink);
  color: #fff;
}

.rating-block > span {
  display: block;
  color: #78959f;
  font-size: .68rem;
}

.rating-block.primary > span {
  color: #c0d7dc;
}

.rating-number {
  letter-spacing: -1px;
  margin: 5px 0;
  font: 700 2rem Manrope, sans-serif;
}

.rating-number small {
  letter-spacing: 0;
  opacity: .6;
  margin-left: 2px;
  font-size: .8rem;
  font-weight: 400;
}

.rating-block p {
  opacity: .8;
  font-size: .7rem;
}

.detail-facts {
  margin: 0;
}

.detail-facts > div {
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  font-size: .8rem;
  line-height: 1.5;
}

.detail-facts dt {
  color: var(--muted);
  min-width: 70px;
}

.detail-facts dd {
  text-align: right;
  margin: 0;
}

.program-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.program-tag {
  color: #2e6d79;
  background: #e9f2f2;
  border-radius: 5px;
  padding: 5px 8px;
  font-size: .68rem;
}

.detail-section {
  margin: 22px 0;
}

.detail-section h3 {
  font-size: .875rem;
}

.note-box {
  color: #607a85;
  background: #f5f8f9;
  border-radius: 8px;
  padding: 12px;
  font-size: .75rem;
  line-height: 1.6;
}

.detail-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.detail-links a {
  text-underline-offset: 3px;
  font-size: .75rem;
}

.leaflet-container {
  font-family: DM Sans, sans-serif;
}

.leaflet-tooltip {
  color: var(--ink);
  white-space: normal;
  border: 1px solid #fff8;
  border-radius: 7px;
  max-width: min(400px, 100vw - 28px);
  padding: 8px 11px;
  font-size: .75rem;
  line-height: 1.45;
  box-shadow: 0 2px 8px #1737431c;
}

.leaflet-tooltip.school-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: .92;
  max-width: 180px;
  padding: 3px 6px;
  font-size: .65rem;
}

.leaflet-tooltip.school-label:before {
  display: none;
}

.school-pin {
  background: none;
  border: 0;
}

.school-pin > span {
  display: block;
  background: var(--pin);
  position: relative;
  border: 2px solid #fff;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  box-shadow: 0 1px 5px #123c4e55;
}

.school-pin.independent > span {
  border-color: #fff;
  border-radius: 3px;
  transform: rotate(45deg);
}

.school-pin.is-selected > span {
  outline: 3px solid #e3a450;
  outline-offset: 2px;
}

.school-pin:focus-visible {
  outline: 3px solid #e3a450;
  outline-offset: 5px;
  border-radius: 50%;
}

.home-pin {
  background: none;
  border: 0;
}

.home-pin > span {
  display: block;
  background: #e9a642;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  width: 28px;
  height: 28px;
  transform: rotate(-45deg);
  box-shadow: 0 3px 8px #0004;
}

.home-pin > span:after {
  content: "";
  display: block;
  position: absolute;
  background: #fff;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  top: 7px;
  left: 7px;
}

.leaflet-control-attribution {
  padding: 3px 6px !important;
  font-size: 10px !important;
}

.leaflet-control-scale {
  margin-bottom: 7px !important;
  margin-left: 374px !important;
}

.leaflet-control-scale-line {
  background: #fffa;
  border-color: #5b747d;
  font-size: 10px;
}

.mobile-only {
  display: none !important;
}

dialog {
  color: var(--ink);
  border: 1px solid #dbe6e8;
  border-radius: 20px;
  width: min(1040px, 100% - 40px);
  max-height: 88dvh;
  padding: 0;
  box-shadow: 0 24px 100px #14313d55;
}

dialog::backdrop {
  backdrop-filter: blur(3px);
  background: #102c3b68;
}

.dialog-header {
  display: flex;
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  gap: 20px;
  padding: 26px 30px;
}

.dialog-header h2 {
  margin-top: 6px;
  font-size: 1.45rem;
}

.dialog-header p {
  color: var(--muted);
  margin-top: 6px;
  font-size: .85rem;
}

#comparison-content {
  overflow: auto;
  padding: 25px;
}

.compare-table {
  border-collapse: collapse;
  text-align: left;
  width: 100%;
  min-width: 480px;
  font-size: .85rem;
}

.compare-table th, .compare-table td {
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  min-width: 160px;
  padding: 17px;
  line-height: 1.5;
}

.compare-table th:first-child {
  color: var(--muted);
  width: 140px;
  min-width: 140px;
  font-weight: 500;
}

.compare-table thead th {
  font-family: Manrope, sans-serif;
  font-size: 1rem;
}

.compare-table thead th button {
  display: block;
  color: var(--muted);
  text-decoration: underline;
  padding: 8px 0 0;
  font: 400 .75rem DM Sans;
}

.compare-score {
  font: 700 1.8rem Manrope, sans-serif;
}

.compare-table .program-tag {
  display: inline-block;
  margin: 0 3px 4px 0;
}

#sources-dialog {
  max-width: 650px;
}

.sources-content {
  color: #526b76;
  padding: 26px 30px;
  font-size: .9rem;
  line-height: 1.6;
}

.sources-content h3 {
  color: var(--ink);
  margin: 20px 0 6px;
  font-size: 1rem;
}

.sources-content ul {
  padding-left: 20px;
}

.sources-content li {
  margin: 9px 0;
}

.sources-content .note-box {
  font-size: .85rem;
}

.sources-content small {
  display: block;
  color: var(--muted);
  margin-top: 18px;
  font-size: .75rem;
}

@media (min-width: 1600px) {
  .brand, .explorer {
    width: 350px;
  }

  .location-panel, .legend {
    left: 395px;
  }

  .leaflet-control-scale {
    margin-left: 395px !important;
  }

  .explorer-heading h2 {
    font-size: 1.45rem;
  }

  .school-card h3 {
    font-size: .9rem;
  }

  .school-meta {
    font-size: .75rem;
  }
}

@media (max-width: 1050px) {
  .map-toolbar button {
    padding: 9px 8px;
  }

  .map-toolbar button span {
    display: none;
  }

  .brand, .explorer {
    width: 310px;
  }

  .legend, .location-panel {
    left: 350px;
  }

  .leaflet-control-scale {
    margin-left: 350px !important;
  }

  .location-panel {
    width: 285px;
  }

  .floating-panel {
    width: 325px;
  }

  .legend {
    width: 285px;
  }
}

@media (max-height: 750px) and (min-width: 701px) {
  .explorer-heading {
    padding: 16px 20px 10px;
  }

  .explorer-heading p {
    display: none;
  }

  .explorer-heading h2 {
    font-size: 1.15rem;
  }

  .explorer-actions {
    margin-bottom: 8px;
  }

  .search-tabs button {
    padding: 8px 2px;
  }

  .floating-panel {
    max-height: calc(100dvh - 130px);
  }

  .legend {
    bottom: 25px;
  }

  .school-card {
    padding-top: 10px;
  }
}

@media (max-width: 700px) {
  .brand {
    width: calc(100% - 24px);
    height: 61px;
    padding: 11px 15px;
    top: 12px;
    left: 12px;
  }

  .brand-tag {
    writing-mode: horizontal-tb;
    font-size: .6rem;
  }

  .map-toolbar {
    justify-content: space-between;
    gap: 1px;
    min-height: 47px;
    padding: 5px;
    top: 83px;
    left: 12px;
    right: 12px;
  }

  .map-toolbar button {
    gap: 4px;
    padding: 8px 7px;
    font-size: .75rem;
  }

  .map-toolbar button span {
    display: none;
  }

  .map-toolbar button:first-child span {
    display: inline;
  }

  .map-toolbar .toolbar-divider {
    display: none;
  }

  .mobile-only {
    display: flex !important;
  }

  .map-toolbar svg {
    width: 18px;
    height: 18px;
  }

  .explorer {
    width: calc(100% - 24px);
    height: 45dvh;
    min-height: 275px;
    top: auto;
    bottom: 12px;
    left: 12px;
  }

  .explorer-heading {
    display: none;
  }

  .search-tabs {
    margin: 0 15px;
  }

  .search-tabs button {
    padding: 10px 3px;
  }

  .search-pane {
    padding: 10px 13px 3px;
  }

  .explorer-actions {
    margin: 3px 13px 6px;
  }

  .explorer-actions button {
    padding: 5px 8px;
  }

  .results-heading {
    padding: 9px 15px;
  }

  .explorer-footer {
    padding: 9px 14px;
  }

  .school-card {
    padding: 10px;
  }

  .school-list {
    padding-bottom: 8px;
  }

  .school-card h3 {
    font-size: .9rem;
  }

  .school-bottom {
    margin-top: 4px;
  }

  .floating-panel {
    width: auto;
    max-height: 65dvh;
    inset: auto 12px 12px !important;
  }

  .panel-header {
    cursor: default;
    padding: 15px 18px;
  }

  .panel-scroll {
    padding: 18px;
  }

  .panel-header h2 {
    font-size: 1.1rem;
  }

  .legend {
    width: 210px;
    padding: 10px 12px;
    bottom: calc(45dvh + 26px);
    left: 12px;
  }

  .legend-key {
    flex-wrap: wrap;
    gap: 8px;
  }

  .legend-title > span {
    display: none;
  }

  .legend p {
    font-size: .6rem;
  }

  .colour-ramp {
    margin: 8px 0;
  }

  .legend.legend-folded {
    width: 180px;
  }

  .map-actions {
    bottom: calc(45dvh + 26px);
    right: 12px;
  }

  .map-actions button {
    width: 33px;
    height: 33px;
  }

  .map-actions svg {
    width: 16px;
    height: 16px;
  }

  .location-panel {
    overflow: auto;
    width: calc(100% - 76px);
    max-height: 30dvh;
    padding: 12px 14px;
    top: 142px;
    left: 12px;
  }

  .location-panel .micro {
    font-size: .65rem;
  }

  .location-panel .inline-field {
    font-size: .75rem;
  }

  .location-match {
    margin-top: 5px;
    padding: 7px 0;
  }

  .leaflet-control-scale {
    display: none;
  }

  .leaflet-control-attribution {
    font-size: 8px !important;
  }

  .toast {
    width: max-content;
    max-width: calc(100% - 30px);
    bottom: calc(45dvh + 30px);
  }

  .pin-instruction {
    width: calc(100% - 30px);
    padding: 12px;
    font-size: .75rem;
    top: 143px;
  }

  .pin-instruction button {
    margin-left: 6px;
  }

  .mobile-map .explorer {
    display: none;
  }

  .mobile-map .legend, .mobile-map .map-actions {
    bottom: 28px;
  }

  .mobile-map .toast {
    bottom: 180px;
  }

  .mobile-panel .explorer {
    visibility: hidden;
  }

  .mobile-panel .legend {
    display: none;
  }

  .mobile-panel .map-actions {
    top: 145px;
    bottom: auto;
  }

  .mobile-panel .location-panel {
    display: none;
  }

  dialog {
    border-radius: 15px;
    width: calc(100% - 20px);
    max-height: 90dvh;
  }

  .dialog-header {
    padding: 20px;
  }

  .dialog-header h2 {
    font-size: 1.2rem;
  }

  .dialog-header p {
    font-size: .8rem;
  }

  #comparison-content {
    padding: 10px;
  }

  .sources-content {
    padding: 20px;
  }

  .detail-hero {
    padding: 18px;
  }

  .detail-name {
    font-size: 1.2rem;
  }

  .rating-number {
    font-size: 1.7rem;
  }

  .legend:not(.legend-folded) {
    max-height: 140px;
  }

  .location-top h2 {
    font-size: .8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.eyebrow {
  letter-spacing: 1.1px;
  font-size: .75rem;
}

.brand-tag {
  font-size: .75rem;
}

.brand-tag {
  writing-mode: horizontal-tb;
  letter-spacing: .5px;
}

.brand-mark {
  flex-shrink: 0;
}

h1 span {
  letter-spacing: 1.5px;
  font-size: .75rem;
}

.brand-tag {
  display: none;
}

.explorer-heading p, .search-tabs button, .search-field input, .results-heading, .school-card h3, .block-label, .range-label, .inline-field, .detail-facts > div {
  font-size: .875rem;
}

.explorer-actions button, .sort-label select, .school-meta, .type-tag, .explorer-footer, .field-hint, .micro, .legend-title, .legend-key, .legend p, .program-tag, .detail-links a, .rating-block > span, .rating-block p, .school-bottom button, .address-result small {
  font-size: .75rem;
}

.score-tile small {
  letter-spacing: .15px;
  font-size: .6rem;
}

.legend-title > span {
  font-size: .65rem;
}

.colour-ramp span {
  font-size: .75rem;
}

.legend-key {
  gap: 8px;
}

.legend {
  width: 325px;
}

.legend-title > span {
  margin-left: auto;
}

.legend-title button {
  margin-left: 0;
}

.detail-facts small {
  font-size: .75rem;
}

.explorer-footer {
  flex-wrap: wrap;
  line-height: 1.4;
}

.explorer-footer button {
  margin-left: auto;
}

.form-grid label {
  font-size: .875rem;
}

.field-hint {
  float: none;
  display: block;
  margin-top: 3px;
}

.legend p {
  white-space: nowrap;
}

.count {
  font-size: .75rem;
}

.location-panel .eyebrow {
  font-size: .7rem;
}

.location-panel .micro {
  font-size: .75rem;
}

@media (max-width: 1050px) {
  .legend {
    width: 310px;
  }
}

@media (max-width: 700px) {
  .legend {
    width: 245px;
  }

  .legend-title {
    font-size: .75rem;
  }

  .legend.legend-folded {
    width: 180px;
  }

  .explorer-actions button, .sort-label select, .school-meta, .type-tag, .explorer-footer, .location-panel .inline-field, .location-panel .micro {
    font-size: .75rem;
  }

  .location-panel {
    max-height: 32dvh;
  }

  .legend p, .legend-key {
    font-size: .7rem;
  }

  .brand-tag {
    display: block;
  }

  .location-top h2 {
    font-size: .875rem;
  }
}

#map[data-basemap="light"] .leaflet-tile-pane {
  filter: grayscale(.8) saturate(.5) brightness(1.08);
}

#map[data-basemap="dark"] .leaflet-tile-pane {
  filter: invert(1) hue-rotate(180deg) brightness(.85) saturate(.7);
}

.leaflet-tooltip.map-value-label {
  text-align: center;
  pointer-events: none;
  white-space: normal;
  background: #fffffff0;
  border: 1px solid #ffffffd9;
  max-width: 200px;
  padding: 4px 7px;
}

.map-label-name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 185px;
  font-size: 12px;
  line-height: 1.4;
}

.map-label-score {
  display: block;
  color: #193f4c;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
}

.map-label-score small {
  color: #5a7580;
  font-size: 11px;
  font-weight: 400;
}

.reference-legend {
  display: flex;
  align-items:  center;
  gap: 7px;
  white-space: normal !important;
}

.reference-legend span {
  display: inline-block;
  border-top: 2px dashed #6f7e89;
  flex-shrink: 0;
  width: 22px;
}

@media (max-width: 700px) {
  .legend:not(.legend-folded) {
    max-height: none;
  }

  .legend .reference-legend {
    font-size: 11px;
  }
}

.level-switch {
  position: absolute;
  z-index: 530;
  display: flex;
  gap: 4px;
  width: 330px;
  height: 42px;
  padding: 4px;
  top: 100px;
  left: 20px;
}

.level-switch a {
  display: grid;
  text-decoration: none;
  color: #607984;
  border-radius: 9px;
  flex: 1;
  place-items:  center;
  font-size: 14px;
  font-weight: 600;
}

.level-switch a:hover {
  background: #edf4f5;
}

.level-switch a[aria-current="page"] {
  color: #fff;
  background: #156675;
}

.level-switch a:focus-visible {
  outline: 3px solid #e7a342;
  outline-offset: 2px;
}

.explorer {
  top: 156px;
}

.rating-notice {
  color: #45636f;
  background: #f1f6f8;
  border-top: 1px solid #e2e9ed;
  border-bottom: 1px solid #e2e9ed;
  flex-shrink: 0;
  padding: 9px 16px;
  font-size: 12px;
  line-height: 1.5;
}

@media (min-width: 1600px) {
  .level-switch {
    width: 350px;
  }
}

.rating-drilldown {
  text-align: left;
  cursor: pointer;
  width: 100%;
}

.rating-drilldown small {
  display: block;
  color: var(--accent);
  margin-top: 9px;
  font-size: .7rem;
  font-weight: 700;
}

.score-breakdown {
  overflow: hidden;
  background: #fbfdfd;
  border: 1px solid #d5e4e7;
  border-radius: 12px;
  margin: 0 0 24px;
}

.score-breakdown > summary {
  list-style: none;
  display: flex;
  cursor: pointer;
  color: var(--accent);
  justify-content: space-between;
  align-items:  center;
  gap: 12px;
  padding: 15px 16px;
  font-size: .9rem;
  font-weight: 700;
}

.score-breakdown > summary::-webkit-details-marker {
  display: none;
}

.score-breakdown > summary small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
  font-size: .72rem;
  font-weight: 400;
}

.score-breakdown summary:focus-visible {
  outline: 3px solid #e7a342;
  outline-offset: -3px;
  border-radius: 6px;
}

.breakdown-chevron {
  font-size: 1.25rem;
  line-height: 1;
}

.score-breakdown[open] .breakdown-chevron {
  transform: rotate(180deg);
}

.score-breakdown[open] > summary {
  border-bottom: 1px solid #e2ecee;
}

.breakdown-content {
  padding: 14px 16px 17px;
}

.breakdown-year {
  color: var(--muted);
  margin-bottom: 13px;
  font-size: .7rem;
}

.breakdown-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 7px;
  font-size: .75rem;
}

.breakdown-caption > span {
  color: var(--muted);
  white-space: nowrap;
  font-size: .68rem;
}

.weight-axis {
  display: flex;
  color: #687f87;
  font-variant-numeric: tabular-nums;
  justify-content: space-between;
  margin: 15px 0 10px;
  font-size: .63rem;
}

.weight-list {
  list-style: none;
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.weight-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 7px;
  font-size: .78rem;
  line-height: 1.4;
}

.weight-label strong {
  font-weight: 600;
}

.weight-label > span {
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  white-space: nowrap;
  font-weight: 700;
}

.weight-track {
  overflow: hidden;
  background: linear-gradient(90deg, #0000 calc(50% - .5px), #c9dadd calc(50% - .5px) calc(50% + .5px), #0000 calc(50% + .5px)), #e8f0f1;
  border-radius: 3px;
  height: 10px;
}

.weight-track > span {
  display: block;
  background: #267486;
  border-radius: 3px;
  height: 100%;
}

.weight-list > li > p {
  color: var(--muted);
  margin-top: 6px;
  font-size: .7rem;
  line-height: 1.5;
}

.weight-subjects {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  color: #54717c;
  border-left: 2px solid #d7e6e9;
  gap: 6px;
  margin: 7px 0 0;
  padding: 8px 0 0 9px;
  font-size: .68rem;
}

.weight-adjustments {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 12px;
}

.weight-adjustments > summary {
  cursor: pointer;
  color: var(--accent);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.5;
}

.weight-adjustments p {
  margin-top: 8px;
}

.breakdown-explanation {
  margin-top: 14px;
}

.breakdown-source {
  display: inline-block;
  text-underline-offset: 3px;
  margin-top: 10px;
  font-size: .75rem;
}

.score-availability {
  color: #4b6975;
  background: #edf3f5;
  border-radius: 7px;
  margin-bottom: 13px;
  padding: 10px;
  font-size: .75rem;
}

.approximate-legend {
  display: flex;
  align-items:  center;
  gap: 6px;
  margin-top: 5px;
  line-height: 1.4;
  white-space: normal !important;
}

.approximate-legend > span {
  background: #b9deda;
  border: 1.5px dashed #267486;
  flex-shrink: 0;
  width: 18px;
  height: 11px;
}

.region-note {
  margin: 0 0 18px;
  font-size: .75rem;
  line-height: 1.6;
}

.leaflet-container path.leaflet-interactive:focus {
  outline: none;
}

.leaflet-container path.leaflet-interactive:focus-visible {
  outline: none;
  stroke: #cd8c2e;
  stroke-width: 3;
}

.explorer-title {
  display: flex;
  justify-content: space-between;
  align-items:  center;
  gap: 12px;
}

.explorer-title h2 {
  margin: 0;
}

.map-boundary-toggle {
  display: flex;
  color: var(--accent);
  cursor: pointer;
  white-space: nowrap;
  align-items:  center;
  gap: 7px;
  font-size: .75rem;
  font-weight: 600;
}

.explorer-heading #map-boundary-hint {
  margin-top: 8px;
  font-size: .75rem;
}

@media (max-width: 700px) {
  .explorer-heading {
    display: block;
    flex-shrink: 0;
    padding: 10px 15px;
  }

  .explorer-title h2 {
    font-size: .9rem;
  }

  .explorer-heading #map-boundary-hint {
    display: none;
  }

  .legend:not(.legend-folded) {
    max-height: 180px;
  }

  .legend p {
    white-space: normal;
  }
}

@media (max-width: 1050px) {
  .level-switch {
    width: 310px;
  }
}

@media (max-width: 700px) {
  .level-switch {
    width: calc(100% - 24px);
    height: 40px;
    top: 140px;
    left: 12px;
  }

  .explorer {
    top: auto;
  }

  .location-panel, .pin-instruction, .mobile-panel .map-actions {
    top: 192px;
  }

  .rating-notice {
    padding: 7px 14px;
    font-size: 11px;
  }
}

.help-dot {
  display: inline-flex;
  border: 1px solid var(--line);
  color: #5a7580;
  cursor: pointer;
  vertical-align: middle;
  background: #fff;
  border-radius: 50%;
  flex: none;
  justify-content: center;
  align-items:  center;
  width: 16px;
  height: 16px;
  margin-left: 6px;
  padding: 0;
  font-size: .62rem;
  font-weight: 600;
  line-height: 1;
}

.help-dot:hover {
  color: #fff;
  background: #284954;
  border-color: #284954;
}

.help-dot:focus-visible {
  color: #fff;
  background: #284954;
  border-color: #284954;
}

.help-tip {
  position: fixed;
  z-index: 1600;
  color: #fff;
  pointer-events: none;
  background: #1f3b45;
  border-radius: 8px;
  max-width: min(300px, 100vw - 24px);
  padding: 8px 11px;
  font-size: .72rem;
  line-height: 1.45;
  box-shadow: 0 4px 16px #14313d4d;
}

.help-body p {
  margin-top: 10px;
}

.help-body p:first-child {
  margin-top: 0;
}
