.ma-map-component{--ma-map-ink:#173a4c;--ma-map-muted:#526b78;--ma-map-line:#d6e0e4;--ma-map-paper:#fbf9f5;--ma-map-accent:#c3754a;margin-block:1.5rem 2rem;padding-block-start:1.15rem;border-block-start:1px solid var(--ma-map-accent);color:var(--ma-map-ink);font:inherit;min-width:0}
.ma-map-component *{box-sizing:border-box}.ma-map-component [hidden]{display:none!important}
.ma-map-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-block-end:.9rem}.ma-map-heading h2{font-size:1.1rem!important;line-height:1.4;margin:0!important;font-weight:600}
.ma-map-button,.ma-map-text-button,.ma-map-tab{font:inherit;font-size:.86rem;line-height:1.45;cursor:pointer;transition:background .16s ease,color .16s ease,border-color .16s ease}
.ma-map-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.6rem .9rem;border:1px solid var(--ma-map-ink);border-radius:6px;background:var(--ma-map-ink);color:#fffaf4;flex-shrink:0;text-decoration:none}
.ma-map-button.is-secondary{background:transparent;color:var(--ma-map-ink);border-color:#aebfc7}.ma-map-button:hover{background:#295268;color:#fffaf4}.ma-map-text-button{padding:.45rem .15rem;background:none;border:0;color:var(--ma-map-ink);text-decoration:underline;text-underline-offset:4px}
.ma-map-component button:disabled{cursor:default;opacity:.5}.ma-map-component :is(button,a,select):focus-visible{outline:2px solid var(--ma-map-accent);outline-offset:3px}
.ma-map-toolbar{display:flex;align-items:flex-end;flex-wrap:wrap;gap:.75rem 1rem;padding:.85rem 0}.ma-map-field{display:grid;gap:.35rem;font-size:.8rem;color:var(--ma-map-muted);max-width:100%;min-width:130px}.ma-map-field select{min-height:44px;max-width:100%;padding:.5rem 2rem .5rem .7rem;border:1px solid #b9cbd3;border-radius:5px;background:#fffdf9;color:var(--ma-map-ink);font:inherit;font-size:.86rem}
.ma-map-note{font-size:.78rem!important;line-height:1.65;margin:.45rem 0!important;color:var(--ma-map-muted)}.ma-map-status{font-size:.84rem;line-height:1.65;color:var(--ma-map-ink);margin:.5rem 0}.ma-map-status:empty{display:none}
.ma-map-split,.ma-map-list-panel,.ma-map-panel{min-width:0}.ma-map-split.has-map{display:flex;flex-direction:column;gap:1.25rem;align-items:stretch}.ma-map-list-panel,.ma-map-panel{width:100%}.ma-map-panel{position:relative;background:var(--ma-map-paper);border:1px solid var(--ma-map-line);border-radius:10px;overflow:hidden}
.ma-map-viewport{height:340px;width:100%;background:#eef0e7;isolation:isolate}.ma-map-panel>.ma-map-note{padding:.45rem .9rem;margin:0!important;border-block-start:1px solid var(--ma-map-line)}
.ma-map-placeholder{display:grid;justify-items:start;gap:.6rem;padding:1.2rem;line-height:1.65;font-size:.88rem}.ma-map-placeholder p{margin:0}.ma-map-empty{padding:1rem;background:var(--ma-map-paper);line-height:1.7}
.ma-map-pagination{display:flex;align-items:center;justify-content:space-between;gap:.7rem;margin-block-start:1rem;font-size:.82rem;border-block-start:1px solid var(--ma-map-line);padding-block-start:.6rem}.ma-map-distance{margin:.6rem 1rem 1rem!important;color:var(--ma-map-ink);font-size:.8rem!important;font-weight:500}
.ma-map-tabs{display:none;margin:.7rem 0;border:1px solid #b6c8cf;border-radius:6px;padding:3px;width:fit-content;background:var(--ma-map-paper)}.ma-map-tab{padding:.5rem 1rem;border:0;border-radius:4px;color:var(--ma-map-ink);background:none;min-width:76px}.ma-map-tab.is-active{background:var(--ma-map-ink);color:#fffaf4}
.ma-map-marker{background:none;border:0}.ma-map-pin{display:flex;align-items:center;justify-content:center;width:32px;height:32px;background:var(--ma-map-ink);border:2px solid #fffaf4;border-radius:50% 50% 50% 8%;transform:rotate(-45deg);box-shadow:0 2px 5px #173a4c35;color:#fffaf4;font:600 16px/1 Outfit,sans-serif}.ma-map-pin.is-group{background:#a6502c;border-radius:50%;transform:none}.ma-map-pin:not(.is-group){font-size:27px;line-height:1}.ma-map-marker:focus-visible{outline:2px solid var(--ma-map-accent);outline-offset:5px}
.ma-map-pin svg{width:18px;height:18px;transform:rotate(45deg)}.ma-map-recovery{display:flex;flex-wrap:wrap;gap:.6rem 1rem;margin:.5rem 0}.ma-map-role{color:var(--ma-map-muted);font-size:.75rem!important}
.ma-map-component .leaflet-popup-content-wrapper{border-radius:8px;color:var(--ma-map-ink)}.ma-map-component .leaflet-popup-content{margin:14px;font:inherit;min-width:150px;max-width:260px}.ma-map-popup-title{font-size:.75rem!important;line-height:1.5;margin:0 0 .6rem!important;color:var(--ma-map-muted)}.ma-map-popup-entry+.ma-map-popup-entry{border-block-start:1px solid var(--ma-map-line);padding-block-start:.6rem;margin-block-start:.6rem}.ma-map-popup-entry p{font-size:.78rem!important;line-height:1.55;margin:.25rem 0 0!important}.ma-map-link{color:var(--ma-map-ink)!important;font-size:.87rem;line-height:1.55;text-decoration:underline;text-underline-offset:3px}.ma-map-popup-entry .ma-map-link{font-weight:600}
.ma-map-component .leaflet-control-attribution{font-size:11px;line-height:1.5;max-width:100%;background:#fffdf9ee}.ma-map-component .leaflet-control-attribution a{color:#23546c}.ma-map-directions{display:flex;flex-wrap:wrap;gap:.55rem 1rem;margin-block-start:.85rem}.ma-map-directions>.ma-map-note{flex-basis:100%}.ma-profile-contact .ma-map-component{margin-block-end:0}.ma-profile-contact .ma-map-heading{align-items:flex-start;flex-direction:column;gap:.7rem}.ma-profile-contact .ma-map-viewport{height:260px;min-height:260px}
@media(max-width:1199px){.ma-map-split.has-map{grid-template-columns:minmax(230px,1fr) minmax(260px,1fr);gap:1rem}.ma-map-toolbar{gap:.65rem}.ma-map-field{min-width:115px}}
@media(max-width:1023px){.ma-map-split.has-map{display:block}.ma-map-tabs:not([hidden]){display:flex}.ma-map-split.has-map[data-mode=list]>.ma-map-panel{display:none}.ma-map-split.has-map[data-mode=map]>.ma-map-list-panel{display:none}.ma-map-split.has-map .ma-map-panel{position:relative;top:auto}.ma-map-split.has-map .ma-unified-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ma-map-viewport{height:390px;max-height:65vh}}
@media(max-width:599px){.ma-map-heading{gap:.7rem}.ma-map-heading h2{font-size:1rem!important}.ma-map-button{font-size:.79rem;padding:.55rem .7rem}.ma-map-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:.7rem}.ma-map-field{min-width:0}.ma-map-toolbar>.ma-map-button{width:100%}.ma-map-text-button{font-size:.8rem;text-align:start}.ma-map-split.has-map .ma-unified-cards{grid-template-columns:minmax(0,1fr)!important}.ma-map-viewport{height:350px}.ma-map-popup-entry .ma-map-link{overflow-wrap:anywhere}.ma-map-directions{flex-direction:column;align-items:flex-start}}
@media(prefers-reduced-motion:reduce){.ma-map-component button{transition:none}.ma-map-component .leaflet-zoom-animated,.ma-map-component .leaflet-pan-anim .leaflet-tile-container{transition:none!important}}

/* Keep the map controls independent of the older directory/theme button reset. */
.ma-unified .ma-map-component{
  display:grid;
  grid-template-columns:fit-content(190px) minmax(140px,175px) minmax(120px,150px) fit-content(210px) minmax(0,1fr);
  align-items:end;
  gap:10px 12px;
  margin-block:16px 28px;
  padding-block-start:0;
  border-block-start:0;
}
.ma-unified .ma-map-component .ma-map-heading,
.ma-unified .ma-map-component .ma-map-toolbar{display:contents}
.ma-unified .ma-map-component .ma-map-heading h2{
  grid-column:1/-1;
  margin:0 0 2px!important;
  color:var(--ma-map-ink);
  font-size:16px!important;
  line-height:1.5;
  font-weight:500;
  letter-spacing:-.01em;
}
.ma-unified .ma-map-component :is(.ma-map-note,.ma-map-status,.ma-map-recovery,.ma-map-tabs,.ma-map-split){grid-column:1/-1}
:is(.ma-unified,.ma-profile) .ma-map-component button:is(.ma-map-button,.ma-map-text-button,.ma-map-tab){
  min-height:44px;
  min-width:44px;
  height:auto;
  width:auto;
  margin:0;
  padding:10px 16px;
  border-radius:8px;
  font:500 14px/1.4 'Outfit',sans-serif;
  letter-spacing:0;
  text-transform:none;
  white-space:normal;
  box-shadow:none;
}
:is(.ma-unified,.ma-profile) .ma-map-component button.ma-map-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--ma-map-ink);
  background:var(--ma-map-ink);
  color:#fff;
}
:is(.ma-unified,.ma-profile) .ma-map-component button.ma-map-button.is-secondary{
  border-color:#c6d3d9;
  background:#f7f9fa;
  color:var(--ma-map-ink);
}
.ma-unified .ma-map-component .ma-map-heading>.ma-map-button{
  display:inline-flex;
  gap:8px;
  justify-content:center;
  color:var(--ma-map-ink);
  background:#f7f9fa;
  border:1px solid #c6d3d9;
}
.ma-unified .ma-map-component .ma-map-heading>.ma-map-button[aria-expanded=true]{
  background:#edf3f5;
  border-color:#91aab8;
}
.ma-unified .ma-map-component .ma-map-field{
  display:grid;
  gap:5px;
  min-width:0;
  width:auto;
  max-width:100%;
  margin:0;
  font:400 13px/1.4 'Outfit',sans-serif;
  color:var(--ma-map-muted);
}
.ma-unified .ma-map-component .ma-map-field select{
  display:block;
  width:100%;
  max-width:100%;
  min-width:0;
  height:44px;
  min-height:44px;
  margin:0;
  padding:10px 30px 10px 12px;
  padding-inline:12px 30px;
  border:1px solid #c6d3d9;
  border-radius:8px;
  background-color:#fff;
  color:var(--ma-map-ink);
  font:400 14px/1.4 'Outfit',sans-serif;
  box-shadow:none;
}
.ma-unified .ma-map-component .ma-map-field select:disabled{background-color:#f7f9fa;color:#6b7d87;opacity:1}
.ma-unified .ma-map-component .ma-map-toolbar>button.ma-map-button{
  display:inline-flex;
  gap:8px;
  color:var(--ma-map-ink);
  background:#f7f9fa;
  border:1px solid #c6d3d9;
}
.ma-unified .ma-map-component .ma-map-heading>.ma-map-button:hover{background:#eaf1f4;border-color:#91aab8;color:var(--ma-map-ink)}
.ma-unified .ma-map-component .ma-map-toolbar>button.ma-map-button:hover{background:#eaf1f4;border-color:#91aab8;color:var(--ma-map-ink)}
.ma-unified .ma-map-component .ma-map-toolbar>.ma-map-text-button{
  justify-self:start;
  padding-inline:4px;
  background:none;
  border:0;
  color:var(--ma-map-muted);
  font-size:13px;
  text-decoration-thickness:1px;
}
.ma-unified .ma-map-component .ma-map-heading>.ma-map-button::before,
.ma-unified .ma-map-component .ma-map-toolbar>.ma-map-button::before{
  content:'';
  display:block;
  width:16px;
  height:16px;
  flex:0 0 16px;
  background:currentColor;
  mask:center/contain no-repeat var(--ma-control-icon);
}
.ma-unified .ma-map-component .ma-map-heading>.ma-map-button{--ma-control-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 5 6-2 6 2 6-2v16l-6 2-6-2-6 2V5Zm6-2v16m6-14v16'/%3E%3C/svg%3E")}
.ma-unified .ma-map-component .ma-map-toolbar>.ma-map-button{--ma-control-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='7'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Cpath d='M12 2v3m0 14v3M2 12h3m14 0h3'/%3E%3C/svg%3E")}
.ma-unified .ma-map-component>.ma-map-note{margin:0!important;font-size:13px!important;line-height:1.6}
.ma-unified .ma-map-component>.ma-map-note+.ma-map-note{margin-block-start:-5px!important}
.ma-unified .ma-map-component>.ma-map-status{margin:0;font-size:13px}
.ma-unified .ma-map-component>.ma-map-split{margin-block-start:3px}
:is(.ma-unified,.ma-profile) .ma-map-component :is(button,a,select):focus-visible{outline:2px solid #ac6135;outline-offset:3px}

/* Reserve a real gutter so the scroll rail never touches a filter field. */
@media(min-width:761px){
  .ma-unified .ma-unified-advanced{
    scrollbar-gutter:stable;
    padding-block:4px;
    padding-inline-end:12px;
  }
  .ma-unified .ma-unified-advanced .ma-unified-filter-grid{margin-block-start:14px;padding-block-start:14px}
}
.ma-unified .ma-unified-advanced::-webkit-scrollbar{width:6px}
.ma-unified .ma-unified-advanced::-webkit-scrollbar-thumb{border-radius:6px;background:#adbdc7}
.ma-unified .ma-unified-advanced::-webkit-scrollbar-track{border-radius:6px;background:#f1f4f5}

@media(max-width:1100px){
  .ma-unified .ma-map-component{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}
  .ma-unified .ma-map-component .ma-map-heading>.ma-map-button{grid-column:1/-1;justify-self:start}
  .ma-unified .ma-map-component .ma-map-toolbar>.ma-map-button{justify-self:start}
  .ma-unified .ma-map-component .ma-map-toolbar>.ma-map-text-button{justify-self:start}
}
@media(max-width:760px){
  .ma-unified .ma-map-component{margin-block:12px 24px;gap:12px}
  .ma-unified .ma-map-component .ma-map-field{font-size:13px}
  .ma-unified .ma-map-component .ma-map-field select{font-size:16px}
  .ma-unified .ma-map-component .ma-map-toolbar>.ma-map-button{justify-self:stretch;width:100%}
  .ma-unified .ma-map-component>.ma-map-note{font-size:13px!important}
  .ma-unified .ma-unified-advanced{padding-inline-end:0;scrollbar-gutter:auto}
}
