:root {
  --ink: #063b51;
  --navy: #004d68;
  --cyan: #48abc4;
  --teal: #54b8a6;
  --orange: #f5823b;
  --pink: #cd3e8d;
  --yellow: #f9bf45;
  --green: #83b86c;
  --violet: #526bb5;
  --paper: #f5f8f8;
  --white: #ffffff;
  --muted: #5f7480;
  --line: #d8e3e6;
  --shadow: 0 16px 42px rgba(0, 57, 76, 0.16);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Trebuchet MS", "Avenir Next", Avenir, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-150%);
  padding: .75rem 1rem;
  color: white;
  background: var(--ink);
  border-radius: 8px;
}
.skip-link:focus { transform: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  min-height: 84px;
  padding: .9rem clamp(1rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  color: white;
  background: var(--navy);
}
.brand-logo {
  display: block;
  width: 62px;
  height: 62px;
  object-fit: contain;
}
.brand-home { display: block; border-radius: 4px; }
.brand-home:hover { opacity: .9; }
.event-meta { display: flex; flex-direction: column; }
.event-meta strong { font-size: 1.12rem; }
.event-meta span { color: #c6e5eb; font-size: .92rem; }
.saved-button {
  min-height: 46px;
  padding: .55rem .85rem;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  color: white;
  background: transparent;
  cursor: pointer;
}
.saved-count {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  margin-left: .35rem;
  place-items: center;
  border-radius: 999px;
  color: var(--navy);
  background: var(--yellow);
  font-size: .82rem;
  font-weight: 800;
}

.finder {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3.1rem) clamp(1rem, 5vw, 5rem) 1.4rem;
  color: white;
  background: linear-gradient(120deg, #00506c 0%, #006f86 58%, #44abc4 100%);
}
.finder::after {
  content: "CARMEL";
  position: absolute;
  right: -1rem;
  top: -2.3rem;
  color: rgba(255,255,255,.07);
  font-size: clamp(7rem, 17vw, 15rem);
  font-weight: 900;
  letter-spacing: -.08em;
  pointer-events: none;
}
.finder-copy, .search-wrap, .quick-searches { position: relative; z-index: 1; }
.eyebrow {
  margin: 0 0 .2rem;
  color: var(--cyan);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.finder .eyebrow { color: #9ce1eb; }
.finder h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.finder-copy > p:last-child { margin: .55rem 0 1.25rem; color: #d8f0f4; font-size: 1.05rem; }
.search-wrap {
  position: relative;
  max-width: 840px;
}
.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-52%) rotate(-15deg);
  color: var(--navy);
  font-size: 2rem;
}
#searchInput {
  width: 100%;
  min-height: 62px;
  padding: .8rem 3.3rem;
  border: 3px solid transparent;
  border-radius: 14px;
  color: var(--ink);
  background: white;
  box-shadow: var(--shadow);
  font-size: 1.08rem;
}
#searchInput:focus { outline: none; border-color: var(--yellow); }
.clear-search {
  position: absolute;
  right: .8rem;
  top: 50%;
  width: 38px;
  height: 38px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 999px;
  background: #eaf1f2;
  font-size: 1.5rem;
  cursor: pointer;
}
.quick-searches { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .9rem; }
.quick-searches span { color: #d8f0f4; font-size: .9rem; }
.quick-searches button {
  min-height: 36px;
  padding: .4rem .7rem;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  color: white;
  background: rgba(0,0,0,.08);
  cursor: pointer;
}
.quick-searches button:hover, .quick-searches button:focus-visible { background: rgba(255,255,255,.17); }
.mobile-search-results { display: none; }

.view-tabs {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  gap: .35rem;
  overflow-x: auto;
  padding: .7rem clamp(1rem, 5vw, 5rem);
  background: white;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.view-tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 0 0 auto;
  min-height: 42px;
  padding: .55rem .9rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}
.tab.is-active { color: white; background: var(--navy); }

.workspace {
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(310px, 420px) 1fr;
  gap: 1rem;
  padding: 1rem clamp(1rem, 3vw, 2rem);
}
.results-panel, .map-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 8px 24px rgba(0,57,76,.07);
}
.results-panel { padding: 1rem; }
.panel-heading, .map-toolbar, .saved-panel-header, .floor-dialog-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}
.panel-heading h2, .map-toolbar h2, .saved-panel-header h2, .floor-dialog-header h2 { margin: 0; font-size: 1.35rem; }
.result-total { color: var(--muted); font-size: .86rem; }
.results-list {
  display: grid;
  gap: .55rem;
  max-height: 605px;
  margin-top: 1rem;
  padding-right: .2rem;
  overflow-y: auto;
}
.empty-state {
  padding: 2rem 1rem;
  color: var(--muted);
  text-align: center;
  border: 1px dashed #b8c9ce;
  border-radius: 14px;
}
.result-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .35rem;
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent, var(--cyan));
  border-radius: 12px;
  background: white;
  transition: transform .15s ease, box-shadow .15s ease;
}
.result-card:hover { transform: translateY(-1px); box-shadow: 0 7px 16px rgba(0,57,76,.09); }
.result-select {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: .65rem;
  align-items: center;
  padding: .75rem .45rem .75rem .7rem;
  border: 0;
  text-align: left;
  background: transparent;
  cursor: pointer;
}
.result-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: white;
  background: var(--accent, var(--cyan));
  font-weight: 900;
}
.result-copy { min-width: 0; display: flex; flex-direction: column; }
.result-name { line-height: 1.2; }
.result-location { margin-top: .15rem; color: var(--muted); font-size: .82rem; }
.result-arrow { color: #8ba0a8; font-size: 1.8rem; line-height: 1; }
.result-save {
  width: 42px;
  min-height: 52px;
  margin: .45rem .45rem .45rem 0;
  border: 0;
  border-radius: 9px;
  background: #edf4f5;
  font-size: 1.3rem;
  cursor: pointer;
}
.result-save.is-saved { color: white; background: var(--pink); }

.map-panel { padding: 1rem; }
.map-toolbar { margin-bottom: .75rem; }
.zoom-controls { display: flex; gap: .35rem; }
.zoom-controls button {
  min-width: 42px;
  min-height: 42px;
  padding: .4rem .7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  font-weight: 800;
  cursor: pointer;
}
.map-viewport {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 14px;
  background: #eaf4ed;
  touch-action: pan-y;
}
.map-viewport.is-pannable { cursor: grab; touch-action: none; }
.map-viewport.is-dragging { cursor: grabbing; }
.map-selection {
  margin: .7rem 0 .45rem;
  padding: .5rem .7rem;
  border-radius: 9px;
  color: white;
  background: var(--navy);
  font-size: .88rem;
  font-weight: 900;
}
.map-stage {
  position: relative;
  width: 100%;
  transform-origin: 0 0;
  transition: transform .25s ease;
}
.map-stage picture, .map-stage img { display: block; width: 100%; height: auto; }
.map-marker {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -100%);
  border: 0;
  background: transparent;
  cursor: pointer;
}
.map-marker::before {
  content: "";
  display: block;
  width: 19px;
  height: 19px;
  border: 4px solid white;
  border-radius: 50% 50% 50% 0;
  background: var(--marker, var(--pink));
  box-shadow: 0 3px 12px rgba(0,0,0,.3);
  transform: rotate(-45deg);
}
.map-marker::after {
  content: attr(data-label);
  position: absolute;
  left: 50%;
  bottom: 31px;
  display: none;
  padding: .34rem .5rem;
  transform: translateX(-50%);
  white-space: nowrap;
  border-radius: 7px;
  color: white;
  background: var(--ink);
  font-size: .72rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(0,0,0,.2);
}
.map-marker:hover::after, .map-marker:focus-visible::after, .map-marker.is-active::after { display: block; }
.map-marker[data-label="Notre Dame"]::after,
.map-marker[data-label="Stoker"]::after {
  top: 28px;
  bottom: auto;
}
.map-marker.is-active::before { animation: pulse 1.35s infinite; background: var(--yellow); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249,191,69,.75), 0 3px 12px rgba(0,0,0,.3); }
  50% { box-shadow: 0 0 0 13px rgba(249,191,69,0), 0 3px 12px rgba(0,0,0,.3); }
}
.map-hint { margin: .65rem 0 0; color: var(--muted); font-size: .82rem; text-align: center; }

.start-points {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin: 0 0 .85rem;
  padding: .8rem;
  border: 1px solid #bedce3;
  border-radius: 13px;
  background: #eef8fa;
}
.start-points h3 { margin: 0; font-size: 1.03rem; }
.start-points p:last-child { margin: .18rem 0 0; color: var(--muted); font-size: .86rem; }
.entrance-buttons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .45rem; }
.entrance-buttons button {
  min-height: 42px;
  padding: .5rem .72rem;
  border: 1px solid var(--navy);
  border-radius: 10px;
  color: var(--navy);
  background: white;
  font-weight: 800;
  cursor: pointer;
}
.entrance-buttons button[aria-pressed="true"] { color: white; background: var(--navy); }
.entrance-marker {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%);
  border: 2px solid white;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 2px rgba(0,77,104,.85);
  pointer-events: none;
}
.entrance-marker.is-active {
  width: 14px;
  height: 14px;
  box-shadow: 0 0 0 5px rgba(245,130,59,.28), 0 0 0 2px rgba(0,77,104,.95);
}

.destination-card {
  position: relative;
  z-index: 18;
  max-width: 1040px;
  margin: 1rem auto;
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 1rem;
  align-items: center;
  overflow: hidden;
  padding: 1rem 1.2rem 1rem 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow);
}
.destination-colour { align-self: stretch; background: var(--accent, var(--cyan)); }
.destination-main h2 { margin: 0; font-size: 1.55rem; }
.destination-location { margin: .15rem 0 0; font-weight: 800; }
.destination-note { margin: .25rem 0 0; color: var(--muted); font-size: .9rem; }
.destination-actions { display: flex; gap: .5rem; }
.primary-action, .secondary-action, .text-action, .arrival-strip a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .65rem 1rem;
  border-radius: 11px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}
.primary-action { border: 0; color: white; background: var(--navy); }
.secondary-action { border: 1px solid var(--line); background: white; }
.secondary-action.is-saved { color: white; border-color: var(--pink); background: var(--pink); }
.text-action { border: 0; color: var(--navy); background: transparent; text-decoration: underline; }
.close-card { position: absolute; right: .45rem; top: .25rem; border: 0; background: transparent; font-size: 1.4rem; cursor: pointer; }

.arrival-strip {
  max-width: 1416px;
  margin: 0 auto 2rem;
  padding: 1.25rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: white;
  background: var(--orange);
  border-radius: var(--radius);
}
.arrival-strip .eyebrow { color: #fff2d6; }
.arrival-strip h2 { margin: 0; font-size: 1.35rem; }
.arrival-strip p:last-child { max-width: 850px; margin: .3rem 0 0; }
.arrival-strip a { flex: 0 0 auto; color: var(--navy); background: white; }

.saved-panel {
  position: fixed;
  z-index: 61;
  top: 0;
  right: 0;
  width: min(430px, 94vw);
  height: 100dvh;
  padding: 1.25rem;
  overflow-y: auto;
  background: white;
  box-shadow: -20px 0 50px rgba(0,40,55,.28);
}
.saved-panel-header { padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.saved-intro { margin: .2rem 0 0; color: var(--muted); font-size: .88rem; }
.saved-panel-header button, .floor-dialog-header button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #edf3f4;
  font-size: 1.6rem;
  cursor: pointer;
}
.saved-destination {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-left: 6px solid var(--accent, var(--cyan));
  border-radius: 14px;
  background: white;
  box-shadow: 0 7px 18px rgba(0,57,76,.08);
}
.saved-destination h3 { margin: 0; font-size: 1.22rem; line-height: 1.2; }
.saved-location { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; margin-top: .8rem; }
.saved-location > div { min-width: 0; padding: .55rem; border-radius: 9px; background: #eef6f7; }
.saved-location > div:first-child { grid-column: 1 / -1; }
.saved-location small, .saved-location strong { display: block; }
.saved-location small { color: var(--muted); font-size: .75rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.saved-location strong { margin-top: .12rem; font-size: .88rem; line-height: 1.2; overflow-wrap: anywhere; }
.saved-times { margin: .65rem 0 0; color: var(--muted); font-size: .84rem; font-weight: 800; }
.saved-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; margin-top: .8rem; }
.saved-actions button { min-height: 42px; padding: .5rem .65rem; border: 1px solid var(--line); border-radius: 9px; background: white; font-weight: 800; cursor: pointer; }
.saved-actions .saved-map-action { color: white; border-color: var(--navy); background: var(--navy); }
.saved-actions .saved-remove { grid-column: 1 / -1; min-height: 34px; color: var(--muted); border: 0; background: transparent; text-decoration: underline; }
.clear-itinerary { width: 100%; min-height: 46px; margin-top: 1.25rem; border: 1px solid var(--line); border-radius: 10px; background: white; cursor: pointer; }
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(0,39,52,.58); backdrop-filter: blur(2px); }

.floor-dialog {
  width: min(980px, calc(100vw - 1.2rem));
  max-height: calc(100dvh - 1.2rem);
  padding: 1rem;
  border: 0;
  border-radius: 18px;
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0,35,50,.4);
}
.floor-dialog::backdrop { background: rgba(0,39,52,.72); backdrop-filter: blur(3px); }
.floor-dialog-header p:last-child { margin: .25rem 0 0; color: var(--muted); }
.simple-directions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr) 34px minmax(0, 1fr);
  gap: .35rem;
  align-items: center;
  margin: 1rem 0 .75rem;
  padding: 1rem;
  border-radius: 16px;
  background: #eef6f7;
}
.direction-step {
  min-height: 118px;
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto 1fr;
  gap: .2rem .55rem;
  align-items: center;
  padding: .85rem;
  border: 1px solid #cddde1;
  border-radius: 13px;
  background: white;
}
.direction-step > span {
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--navy);
  font-weight: 900;
}
.direction-step small {
  align-self: end;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.direction-step strong { align-self: start; font-size: 1.08rem; line-height: 1.2; overflow-wrap: anywhere; }
.direction-step.is-destination { color: white; border-color: var(--pink); background: var(--pink); }
.direction-step.is-destination small { color: #ffeaf6; }
.direction-step.is-destination > span { color: var(--pink); background: white; }
.direction-line { height: 3px; background: var(--cyan); border-radius: 999px; }
.route-start {
  margin: 1rem 0 .7rem;
  padding: .7rem .9rem;
  border-left: 5px solid var(--orange);
  border-radius: 9px;
  background: #fff4eb;
}
.walking-direction { margin: .75rem 0 .35rem; font-weight: 800; text-align: center; }
.direction-note { margin: 0 0 1rem; color: var(--muted); text-align: center; }
.site-footer { padding: .3rem 1rem 1.7rem; color: var(--muted); text-align: center; font-size: .84rem; }
.site-footer p { max-width: 850px; margin: 0 auto; }
*:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
[hidden] { display: none !important; }

@media (max-width: 850px) {
  .destination-card:not([hidden]) + .view-tabs { display: none; }
  .site-header { grid-template-columns: 1fr auto; gap: .5rem; padding: .7rem 1rem; }
  .event-meta { grid-column: 1 / -1; grid-row: 2; }
  .event-meta strong { display: none; }
  .event-meta span { font-size: .82rem; }
  .brand-logo { width: 54px; height: 54px; }
  .workspace { grid-template-columns: 1fr; padding: .75rem; }
  .results-panel { grid-row: 1; }
  .map-panel { grid-row: 2; scroll-margin-top: 68px; }
  .workspace.has-selection .map-panel { grid-row: 1; }
  .workspace.has-selection .results-panel { grid-row: 2; }
  .map-viewport { min-height: 260px; }
  .results-list { max-height: none; }
  .finder.has-results .quick-searches { display: none; }
  .mobile-search-results {
    max-width: 840px;
    margin-top: .75rem;
    padding: .45rem;
    border-radius: 14px;
    color: var(--ink);
    background: white;
    box-shadow: var(--shadow);
  }
  .mobile-search-results:not([hidden]) { display: block; }
  .mobile-results-heading {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    padding: .35rem .45rem .5rem;
    color: var(--muted);
    font-size: .82rem;
  }
  .mobile-result {
    width: 100%;
    min-height: 56px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .5rem;
    align-items: center;
    padding: .6rem .7rem;
    border: 0;
    border-top: 1px solid var(--line);
    text-align: left;
    background: white;
    cursor: pointer;
  }
  .mobile-result strong, .mobile-result small { display: block; }
  .mobile-result small { margin-top: .1rem; color: var(--muted); font-size: .78rem; }
  .mobile-result > span:last-child { color: var(--pink); font-size: 1.55rem; }
  .mobile-more {
    width: 100%;
    min-height: 45px;
    margin-top: .2rem;
    border: 0;
    border-radius: 10px;
    color: white;
    background: var(--navy);
    font-weight: 900;
    cursor: pointer;
  }
  .destination-card { margin: .75rem; grid-template-columns: 8px 1fr; padding-right: 1rem; scroll-margin-top: .5rem; }
  .destination-actions { grid-column: 2; flex-wrap: wrap; }
  .destination-actions button { flex: 1 1 135px; }
  .destination-actions .text-action { flex-basis: 100%; min-height: 34px; }
  .start-points { align-items: flex-start; flex-direction: column; }
  .entrance-buttons { width: 100%; justify-content: stretch; }
  .entrance-buttons button { flex: 1 1 145px; }
  .arrival-strip { margin: 0 .75rem 1rem; flex-direction: column; align-items: flex-start; }
  .arrival-strip a { width: 100%; }
}

@media (max-width: 540px) {
  .view-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    padding: .55rem .75rem;
  }
  .tab { width: 100%; min-height: 40px; padding: .45rem .35rem; }
  .map-panel, #resultsPanel { scroll-margin-top: 104px; }
  .finder { padding-top: 1.3rem; }
  .finder h1 { font-size: 2.15rem; }
  .finder-copy > p:last-child { font-size: .96rem; }
  #searchInput { min-height: 58px; padding-right: 2.8rem; font-size: 1rem; }
  .quick-searches {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: .3rem;
    scrollbar-width: none;
  }
  .quick-searches::-webkit-scrollbar { display: none; }
  .quick-searches span,
  .quick-searches button { flex: 0 0 auto; }
  .map-toolbar { align-items: center; }
  .map-viewport { min-height: 250px; }
  .map-hint { text-align: left; }
  .walking-direction, .direction-note { text-align: left; }
  .destination-main h2 { padding-right: 1rem; }
  .floor-dialog { padding: .8rem; }
  .floor-dialog-header h2 { font-size: 1.2rem; }
  .simple-directions {
    grid-template-columns: 1fr;
    padding: .7rem;
  }
  .direction-step { min-height: 74px; }
  .direction-line { width: 3px; height: 18px; justify-self: center; }
  .direction-note { text-align: left; }
}

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

/* Keep names outside the illustration and highlights small. */
.building-list { display:grid; gap:.8rem; margin-top:1rem; }
.building-group h3 { margin:0 0 .4rem; color:var(--muted); font-size:.76rem; letter-spacing:.08em; text-transform:uppercase; }
.building-buttons { display:flex; flex-wrap:wrap; gap:.5rem; }
.building-list button { min-height:44px; padding:.55rem .8rem; border:1px solid var(--line); border-radius:10px; background:white; cursor:pointer; font-weight:700; }
.building-list button[aria-pressed="true"] { background:var(--navy); color:white; border-color:var(--navy); }
.map-marker { width:44px; height:44px; display:grid; place-items:center; padding:0; transform:translate(-50%, -50%); }
.map-marker::before { width:8px; height:8px; border:2px solid white; border-radius:50%; transform:none; box-shadow:0 0 0 1px var(--pink); }
.map-marker::after { display:none !important; }
.map-marker.is-active::before { width:12px; height:12px; background:var(--pink); animation:none; box-shadow:0 0 0 4px rgba(205,62,141,.25); }
#resultsPanel { scroll-margin-top:76px; }
@media (max-width:850px) {
  .map-marker:not(.is-active) { visibility:hidden; }
  .map-marker.is-active { pointer-events:none; }
  .building-buttons { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:.5rem; }
  .building-list button { width:100%; min-width:0; white-space:normal; overflow-wrap:anywhere; }
  .building-group:first-child .building-buttons button:last-child:nth-child(odd) { grid-column:1 / -1; }
}
