.so-service-panel{margin:1.5rem 0;padding:1.35rem;border:1px solid #ccd5d1;border-radius:12px;background:#f2f5f1;color:#20343a;line-height:1.55}.so-service-panel h3,.so-service-panel h4{font-family:Arimo,sans-serif;font-weight:700;line-height:1.3;margin:.35rem 0 .65rem}.so-service-panel h3{font-size:1.3rem}.so-service-panel h4{font-size:1.1rem}.so-service-kicker,.so-service-meta{font-family:'Roboto Condensed',sans-serif;font-size:.95rem}.so-service-kicker{letter-spacing:.035em;color:#425b50}.so-service-panel dl{margin:1rem 0}.so-service-panel dl>div{padding:.6rem 0;border-top:1px solid #ccd5d1}.so-service-panel dt{font-weight:600}.so-service-panel dd{margin:.2rem 0}.so-service-trip{padding:1rem 0;border-top:1px solid #ccd5d1}.so-service-trip ul{padding-left:1.2rem}.so-service-trip li{padding:.25rem 0}.so-service-trip li span{display:block}.so-service-action{display:inline-flex;align-items:center;min-height:44px;padding:.5rem 1rem;border:1px solid #526f62;border-radius:7px;background:#fff;color:#20343a;text-decoration:none;font-family:'Roboto Condensed',sans-serif;line-height:1.4}.so-service-action:hover{background:#e2eae4}.so-service-action:focus-visible{outline:3px solid #927852;outline-offset:3px}.so-service-meta{color:#4d5e61;margin-top:1rem}.ss-service-refresh{margin:.4rem 0 1rem}.ss-service-status{font-size:1rem}

/* Main-site font files and weights, verified 16 October 2026. */
@font-face {
  font-family: 'Arimo';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://salcombeinformation.co.uk/wp-content/astra-local-fonts/arimo/P5sMzZCDf9_T_10ZxCE.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Arimo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://salcombeinformation.co.uk/wp-content/astra-local-fonts/arimo/P5sMzZCDf9_T_10ZxCE.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://salcombeinformation.co.uk/wp-content/astra-local-fonts/roboto-condensed/ieVl2ZhZI2eCN5jzbjEETS9weq8-19K7DQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://salcombeinformation.co.uk/wp-content/astra-local-fonts/roboto-condensed/ieVl2ZhZI2eCN5jzbjEETS9weq8-19K7DQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #153038;
  --muted: #5d6d70;
  --paper: #f7f8f3;
  --white: #ffffff;
  --line: #d9e2dc;
  --header-blue: #69c3d0;
  --app-header-height: 62px;
  --header-topbar-height: 62px;
  --desktop-rail-width: 326px;
  --map-marker-small: 20px;
  --map-marker-standard: 28px;
  --map-marker-route: 30px;
  --map-marker-advertiser: 34px;
  --landing-drawer-max-height: min(640px, calc(100svh - var(--app-header-height) - 82px - env(safe-area-inset-bottom)));
  --harbour: #0d7380;
  --harbour-dark: #0a5660;
  --leaf: #2f8f5b;
  --coral: #e35f4d;
  --sun: #f2bd3d;
  --shadow: 0 18px 45px rgba(21, 48, 56, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}

body {
  margin: 0;
  min-width: 320px;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.so-shell {
  min-height: 100svh;
  background:
    linear-gradient(180deg, rgba(13, 115, 128, 0.13), rgba(247, 248, 243, 0) 260px),
    var(--paper);
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}

.so-header {
  position: sticky;
  top: 0;
  z-index: 40;
}

.so-topbar {
  position: relative;
  z-index: 42;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: calc(var(--header-topbar-height) + env(safe-area-inset-top));
  padding: calc(5px + env(safe-area-inset-top)) 12px 4px;
  border-bottom: 0;
  background: var(--header-blue);
}

.so-icon-button,
.so-status-pill,
.so-nav-button,
.so-menu-toggle,
.so-menu-route,
.so-action,
.so-row-card,
.so-save-strip button,
.so-chip-row button,
.so-qr-card button,
  .so-map-pin,
  .so-map-marker,
  .so-route-links button,
  .so-layer-toggle {
  border: 0;
  color: inherit;
}

.so-icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.so-icon-button span {
  display: block;
  transform: translateY(-1px);
  font-size: 2rem;
  line-height: 1;
}

.so-brand {
  display: grid;
  justify-items: center;
  min-width: 0;
  gap: 4px;
}

.so-brand__online {
  display: block;
  width: min(190px, 50vw);
  height: auto;
}

.so-brand p,
.so-kicker,
.so-qr-card__label {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.so-status-pill {
  min-width: 58px;
  min-height: 28px;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(21, 48, 56, 0.22);
  color: var(--white);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.so-status-pill.is-offline {
  background: var(--coral);
}

.so-menu-toggle {
  display: inline-grid;
  grid-template-columns: 18px auto;
  gap: 7px;
  align-items: center;
  min-height: 36px;
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(21, 48, 56, 0.2);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.so-menu-toggle__icon {
  display: grid;
  gap: 3px;
  width: 18px;
}

.so-menu-toggle__icon span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.so-menu-toggle[aria-expanded="true"] {
  background: var(--white);
  color: var(--ink);
}

.so-header-menu {
  position: absolute;
  top: calc(var(--header-topbar-height) + env(safe-area-inset-top));
  right: 0;
  left: 0;
  z-index: 41;
  display: grid;
  gap: 0;
  padding: 6px 12px 8px;
  border: 0;
  border-radius: 0 0 8px 8px;
  background: var(--header-blue);
  box-shadow: 0 18px 34px rgba(21, 48, 56, 0.2);
  opacity: 0;
  transform: translateY(-22px);
  transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 180ms ease, visibility 0ms linear 280ms;
  visibility: hidden;
  pointer-events: none;
  will-change: transform, opacity;
}

.so-header-menu[hidden] {
  display: grid;
}

body.so-menu-is-open .so-header-menu {
  opacity: 1;
  transform: translateY(0);
  transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 180ms ease, visibility 0ms;
  visibility: visible;
  pointer-events: auto;
}

.so-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.so-menu-route {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  min-height: 38px;
  padding: 7px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.so-menu-route.is-active {
  background: var(--white);
  color: var(--white);
  color: var(--ink);
}

.so-main {
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 18px 14px 0;
}

body.so-map-mode {
  overflow: hidden;
}

body.so-map-mode .so-shell {
  height: 100svh;
  overflow: hidden;
  padding-bottom: 0;
  background: var(--paper);
}

body.so-map-mode .so-header {
  position: fixed;
  right: 0;
  left: 0;
}

body.so-map-mode .so-topbar {
  background: var(--header-blue);
}

body.so-map-mode .so-main {
  width: 100%;
  height: 100svh;
  padding: calc(var(--app-header-height) + env(safe-area-inset-top)) 0 0;
}

.so-map-first {
  position: relative;
  height: calc(100svh - var(--app-header-height) - env(safe-area-inset-top));
  min-height: 420px;
}

.so-map-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #cfe9eb;
}

.so-tourist-map-stage {
  cursor: grab;
  overscroll-behavior: contain;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.so-tourist-map-stage:active {
  cursor: grabbing;
}

.so-map-gps-control {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 38;
  display: inline-grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  max-width: min(220px, calc(100vw - 110px));
  min-height: 44px;
  padding: 7px 11px;
  border: 1px solid rgba(21, 48, 56, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(21, 48, 56, 0.18);
  text-align: left;
}

.so-map-gps-control__dot {
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #ffd94a;
  box-shadow: 0 0 0 2px rgba(211, 159, 0, 0.32);
}

.so-map-gps-control__copy {
  display: grid;
  min-width: 0;
}

.so-map-gps-control strong,
.so-map-gps-control small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.so-map-gps-control strong {
  font-size: 0.78rem;
  line-height: 1.05;
}

.so-map-gps-control small {
  color: var(--muted);
  font-size: 0.62rem;
  line-height: 1.1;
}

.so-map-gps-control.is-locating .so-map-gps-control__dot {
  animation: so-gps-pulse 1.15s ease-in-out infinite;
}

.so-map-gps-control.is-error .so-map-gps-control__dot {
  background: #e35f4d;
  box-shadow: 0 0 0 2px rgba(227, 95, 77, 0.28);
}

.so-map-gps-control.is-active .so-map-gps-control__dot {
  background: #ffd94a;
}

@keyframes so-gps-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.76);
  }
}

.so-map-stage--calibrating .so-map-marker {
  cursor: grab;
  touch-action: none;
}

.so-map-stage--calibrating .so-map-marker:active {
  cursor: grabbing;
}

.so-map-canvas {
  position: absolute;
  inset: 0;
  transform-origin: 0 0;
  will-change: transform;
}

.so-maplibre-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #dceacc;
}

.so-maplibre-canvas .maplibregl-map,
.so-maplibre-canvas .maplibregl-canvas-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.so-maplibre-canvas .maplibregl-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}

.so-maplibre-mounted .so-maplibre-canvas,
.so-maplibre-active .so-maplibre-canvas {
  z-index: 5;
}

.so-map-fallback {
  z-index: 2;
  overflow: auto;
  background: #dceacc;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.so-maplibre-mounted .so-map-fallback {
  pointer-events: none;
}

.so-map-fallback-active .so-maplibre-canvas {
  pointer-events: none;
}

.so-map-fallback-active .so-map-fallback {
  z-index: 6;
  pointer-events: auto;
}

.so-map-fallback::-webkit-scrollbar {
  display: none;
}

.so-map-fallback__frame {
  position: relative;
  height: calc(100% * var(--fallback-map-scale, 1) * var(--fallback-map-zoom, 1));
  min-width: 100%;
  aspect-ratio: var(--fallback-map-aspect, 8000 / 3250);
}

.so-map-fallback__spacer {
  height: calc(min(50svh, 380px) + 70px);
  pointer-events: none;
}

.so-map-fallback__image {
  position: absolute;
  top: calc((100% - (100% * var(--fallback-art-scale, 1))) / 2 + var(--fallback-art-y, 0%));
  left: calc((100% - (100% * var(--fallback-art-scale, 1))) / 2 + var(--fallback-art-x, 0%));
  z-index: 0;
  display: block;
  width: calc(100% * var(--fallback-art-scale, 1));
  height: calc(100% * var(--fallback-art-scale, 1));
  object-fit: fill;
}

.so-maplibre-active .so-map-fallback {
  display: none;
}

.so-maplibre-active .so-map-fallback .so-map-marker-layer {
  display: none;
}

.maplibregl-map {
  width: 100%;
  height: 100%;
  background: #dceacc;
}

.maplibregl-marker.so-map-marker {
  z-index: 12;
  margin-left: var(--collision-x, 0px);
  margin-top: var(--collision-y, 0px);
  transition: opacity 160ms ease, filter 160ms ease;
  backface-visibility: hidden;
}

.maplibregl-marker.so-map-marker--landing {
  z-index: 6000;
  margin-left: 0;
  margin-top: 0;
}

.maplibregl-marker.so-map-marker--landing-services {
  z-index: 6200;
}

.maplibregl-marker.so-map-marker--landing.is-selected {
  z-index: 6400;
}

.maplibregl-marker.so-map-marker--with-icon {
  z-index: 18;
}

.maplibregl-marker.so-map-marker--logo {
  z-index: 46;
}

.maplibregl-marker.so-map-marker.is-selected {
  z-index: 4800;
}

.maplibregl-marker.so-map-marker--logo.is-selected {
  z-index: 4800;
}

.maplibregl-marker.so-map-marker:not(.so-map-marker--landing):not(.so-map-marker--off-map),
.maplibregl-marker.so-route-marker {
  contain: layout paint style;
  will-change: transform;
}

.so-map-marker-layer[hidden] {
  display: none;
}

.so-route-overlay[hidden] {
  display: none;
}

.so-route-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: visible;
  pointer-events: none;
}

.so-route-line {
  fill: none;
  stroke: var(--route-stroke-color, var(--route-color, #1d76b8));
  stroke-width: 4px;
  stroke-linejoin: round;
  stroke-linecap: round;
  opacity: 0.9;
  vector-effect: non-scaling-stroke;
  pointer-events: visibleStroke;
  cursor: pointer;
}

.so-route-line--walk {
  stroke-dasharray: 8 7;
}

.so-route-line--ferry {
  stroke-dasharray: 1 8;
}

.so-route-line.is-selected {
  stroke-width: 7px;
  opacity: 1;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.9));
}

.so-route-overlay.is-selected-only .so-route-line:not(.is-selected) {
  display: none;
}

.so-route-line.is-route-filtered,
.so-route-marker.is-route-filtered {
  display: none;
}

.so-route-marker-layer {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
}

.so-route-marker-layer[hidden] {
  display: none;
}

.so-route-marker-layer.is-selected-only .so-route-marker:not(.is-selected) {
  display: none;
}

.so-route-marker {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  margin: 0;
  padding: 4px;
  border: 2px solid #101010;
  border-radius: 50%;
  -webkit-appearance: none;
  appearance: none;
  background: var(--white);
  box-shadow: 0 5px 13px rgba(21, 48, 56, 0.24);
  pointer-events: auto;
  cursor: pointer;
}

.so-route-marker-layer .so-route-marker {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(calc(-50% + var(--route-marker-dx, 0px)), calc(-50% + var(--route-marker-dy, 0px)));
}

.maplibregl-marker.so-route-marker {
  z-index: 34;
  margin-left: var(--route-marker-dx, 0px);
  margin-top: var(--route-marker-dy, 0px);
}

.maplibregl-marker.so-route-marker.is-selected {
  z-index: 59;
}

.maplibregl-marker.so-route-marker--shared,
.maplibregl-marker.so-route-marker--shared.is-selected {
  z-index: 6500;
}

.so-route-marker--via {
  width: 37px;
  height: 37px;
}

.so-route-marker.is-selected {
  width: 37px;
  height: 37px;
  box-shadow: 0 0 0 2px #101010, 0 0 0 5px #ffffff, 0 10px 20px rgba(21, 48, 56, 0.3);
}

body.so-route-focus .so-route-marker.is-selected,
.maplibregl-marker.so-route-marker.is-selected {
  opacity: 1;
  filter: none;
}

body.so-route-focus .so-route-line:not(.is-selected),
body.so-route-focus .so-route-marker:not(.is-selected),
.maplibregl-marker.so-route-marker.is-deemphasized {
  opacity: 0.18;
  filter: grayscale(0.55) saturate(0.35) opacity(0.22);
}

.so-route-marker__icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.so-route-marker__count {
  position: absolute;
  top: -6px;
  right: -6px;
  display: grid;
  min-width: 19px;
  height: 19px;
  place-items: center;
  padding: 0 5px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #153038;
  color: #ffffff;
  font-size: 0.66rem;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(21, 48, 56, 0.28);
  pointer-events: none;
}

.so-map-marker-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.so-map-marker-layer.is-selected-only .so-map-marker:not(.is-selected) {
  display: none;
}

.so-map-marker-layer[data-map-layer="landing"] {
  z-index: 7;
}

.so-map-marker-layer[data-map-layer="gps"] {
  z-index: 12;
}

.maplibregl-marker.so-map-here-marker {
  z-index: 72;
}

.so-map-here-marker {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: #ffd94a;
  color: #153038;
  box-shadow: 0 0 0 2px rgba(21, 48, 56, 0.58), 0 10px 24px rgba(21, 48, 56, 0.32);
  pointer-events: none;
}

.so-map-here-marker--fallback {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 72;
  transform: translate(-50%, -50%);
}

.so-map-here-marker__label {
  display: block;
  max-width: 58px;
  font-size: 0.56rem;
  font-weight: 950;
  line-height: 1.04;
  text-align: center;
  text-transform: uppercase;
}

.so-direction-overlay {
  position: absolute;
  inset: 0;
  z-index: 70;
  overflow: visible;
  pointer-events: none;
}

.so-direction-line {
  stroke: #ffd94a;
  stroke-width: 5px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 10 8;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.95));
}

.so-direction-line-casing {
  stroke: #153038;
  stroke-width: 9px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 10 8;
  stroke-opacity: 0.72;
  vector-effect: non-scaling-stroke;
}

.so-direction-step-line-casing {
  stroke: #153038;
  stroke-width: 14px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-opacity: 0.9;
  vector-effect: non-scaling-stroke;
}

.so-direction-step-line {
  stroke: #ffffff;
  stroke-width: 8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.so-direction-step-hit {
  fill: none;
  stroke: transparent;
  stroke-width: 28px;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: stroke;
  vector-effect: non-scaling-stroke;
}

.so-road-closure-overlay {
  position: absolute;
  inset: 0;
  z-index: 7;
  overflow: visible;
  pointer-events: none;
}

.so-road-closure-line {
  stroke: #d93820;
  stroke-width: 5px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 6 5;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.95));
}

.so-map-marker {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 4;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  -webkit-appearance: none;
  appearance: none;
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  box-shadow: 0 4px 12px rgba(21, 48, 56, 0.18);
  cursor: pointer;
  transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, 0px)));
}

.so-map-marker[hidden] {
  display: none !important;
}

.so-map-marker--landing {
  width: 26px;
  height: 26px;
  border: 2px solid #101010;
  background: var(--white);
}

.so-map-marker.is-selected {
  width: 76px;
  height: 76px;
  border: 3px solid var(--white);
  background: #101010;
  color: var(--white);
}

.so-map-marker--landing.is-selected {
  width: 38px;
  height: 38px;
  border: 3px solid #101010;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.9), 0 10px 22px rgba(21, 48, 56, 0.3);
}

.so-map-marker--landing-services,
.so-map-marker--landing-services.is-selected {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  overflow: visible;
  transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, 0px)));
}

.so-map-marker--landing-services.is-selected {
  width: 24px;
  height: 24px;
  z-index: 98;
}

.so-map-marker--landing-services.so-map-marker--landing-split,
.so-map-marker--landing-services.so-map-marker--landing-split.is-selected {
  width: 26px;
  height: 26px;
  transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, 0px)));
}

.so-landing-totem {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 0;
  height: 0;
  min-height: 0;
  pointer-events: auto;
}

.so-map-marker--landing-services.is-selected .so-landing-totem {
  min-height: 0;
}

.so-map-marker--landing-split .so-landing-totem {
  min-height: 0;
}

.so-landing-totem__hit {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  display: block;
  width: 76px;
  height: 150px;
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  transform: translate(-50%, -50%);
}

.so-landing-totem--single .so-landing-totem__hit {
  top: 0;
  left: 0;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.so-map-marker--landing-services.is-selected .so-landing-totem__hit {
  width: 80px;
  height: 156px;
}

.so-map-marker--landing-split .so-landing-totem__hit {
  top: -9px;
  left: -9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  transform: none;
}

.so-landing-totem__base {
  display: none;
}

.so-map-marker--landing-services.is-selected .so-landing-totem__base {
  display: none;
}

.so-landing-totem__line {
  display: none;
}

.so-map-marker--landing-services.is-selected .so-landing-totem__line {
  display: none;
}

.so-map-marker--landing-split .so-landing-totem__line {
  display: none;
}

.so-landing-totem__badges {
  --totem-icon-size: 28px;
  --totem-gap: 2px;
  --totem-pad-x: 3px;
  --totem-pad-y: 5px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: grid;
  box-sizing: border-box;
  grid-template-columns: repeat(2, var(--totem-icon-size));
  justify-content: center;
  gap: var(--totem-gap);
  width: 68px;
  min-height: 0;
  padding: var(--totem-pad-y) var(--totem-pad-x);
  border: 2px solid #101010;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 7px 16px rgba(21, 48, 56, 0.2);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.so-map-marker--landing-services.is-selected .so-landing-totem__badges {
  grid-template-columns: repeat(2, var(--totem-icon-size));
  width: 68px;
}

.so-map-marker--landing-split .so-landing-totem__badges {
  display: none;
}

.so-landing-totem__badges--small-column {
  --totem-pad-x: 3px;
  --totem-pad-y: 5px;
  grid-template-columns: var(--totem-icon-size);
  width: 38px;
  border-radius: 999px;
}

.so-map-marker--landing-services.is-selected .so-landing-totem__badges--small-column {
  grid-template-columns: var(--totem-icon-size);
  width: 38px;
}

.so-landing-totem__badge {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--totem-icon-size);
  height: var(--totem-icon-size);
  border: 1px solid rgb(var(--marker-icon-rim-rgb, 21 48 56) / var(--marker-icon-rim-opacity, 0.2));
  border-radius: 50%;
  background: var(--marker-icon-bg, #eff5f2);
  color: var(--marker-icon-fg, var(--ink));
  font-size: 0.72rem;
  font-weight: 900;
  overflow: hidden;
  pointer-events: none;
}

.so-landing-totem--single .so-landing-totem__badge {
  position: absolute;
  top: 0;
  left: 0;
  box-shadow: 0 6px 14px rgba(21, 48, 56, 0.22);
  transform: translate(-50%, -50%);
}

.so-map-marker--landing-services.is-selected .so-landing-totem__badge {
  width: var(--totem-icon-size);
  height: var(--totem-icon-size);
}

.so-landing-totem__badge--primary {
  grid-column: 1 / -1;
  justify-self: center;
  width: var(--totem-icon-size);
  height: var(--totem-icon-size);
}

.so-landing-totem__badges:not(.so-landing-totem__badges--small-column) .so-landing-totem__badge--primary {
  grid-column: auto;
}

.so-map-marker--landing-services.is-selected .so-landing-totem__badge--primary {
  width: var(--totem-icon-size);
  height: var(--totem-icon-size);
}

.so-landing-totem__badge--logo,
.so-landing-totem__badge--photo {
  width: var(--totem-icon-size);
  height: var(--totem-icon-size);
}

.so-map-marker--landing-services.is-selected .so-landing-totem__badge--logo,
.so-map-marker--landing-services.is-selected .so-landing-totem__badge--photo {
  width: var(--totem-icon-size);
  height: var(--totem-icon-size);
}

.so-landing-totem__badge img {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 1;
  object-fit: contain;
}

.so-landing-totem__badge--photo img {
  object-fit: cover;
  object-position: center center;
  filter: none;
}

.so-landing-totem__badge--more {
  background: #101010;
  color: var(--white);
  font-size: 0.68rem;
}

.so-landing-drawer-mount {
  position: absolute;
  inset: 0;
  z-index: 44;
  pointer-events: none;
}

.so-cluster-drawer-mount {
  position: absolute;
  inset: 0;
  z-index: 44;
  pointer-events: none;
}

.so-item-drawer-mount {
  position: absolute;
  inset: 0;
  z-index: 44;
  pointer-events: none;
}

.so-route-drawer-mount {
  position: absolute;
  inset: 0;
  z-index: 46;
  pointer-events: none;
}

.so-find-drawer-mount {
  position: absolute;
  inset: 0;
  z-index: 66;
  pointer-events: none;
}

.so-find-drawer {
  position: absolute;
  right: 8px;
  bottom: calc(58px + env(safe-area-inset-bottom));
  left: 8px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(560px, calc(100% - 16px));
  max-height: min(62svh, 520px);
  margin: 0 auto;
  border: 1px solid rgba(21, 48, 56, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(21, 48, 56, 0.2);
  backdrop-filter: blur(13px);
  pointer-events: auto;
}

.so-find-drawer[hidden] {
  display: none;
}

.so-find-drawer__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 9px;
  align-items: center;
  padding: 10px 10px 8px;
  border-bottom: 1px solid rgba(21, 48, 56, 0.12);
}

.so-find-drawer__head small,
.so-find-drawer__head strong {
  display: block;
}

.so-find-drawer__head small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.so-find-drawer__head strong {
  font-size: 1rem;
  line-height: 1.1;
}

.so-find-drawer__head button {
  display: grid;
  width: 34px;
  min-width: 0;
  height: 34px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #153038;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 900;
}

.so-find-drawer__body {
  min-height: 0;
  padding: 10px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.so-landing-connector {
  position: absolute;
  left: var(--landing-connector-x, 0);
  top: var(--landing-connector-y, 0);
  z-index: 1;
  display: block;
  width: var(--landing-connector-length, 0);
  height: 2px;
  border-radius: 999px;
  background: #101010;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.62);
  transform: rotate(var(--landing-connector-angle, 0rad));
  transform-origin: 0 50%;
  pointer-events: none;
}

.so-landing-connector[hidden] {
  display: none;
}

.so-landing-drawer {
  position: absolute;
  top: var(--landing-drawer-top, 12px);
  right: 12px;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: min(330px, calc(100% - 24px));
  max-height: var(--landing-drawer-max-height);
  padding: 10px;
  border: 2px solid #101010;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: 0 18px 38px rgba(21, 48, 56, 0.26);
  cursor: auto;
  pointer-events: auto;
  touch-action: pan-y;
  backdrop-filter: blur(12px);
  -webkit-overflow-scrolling: touch;
}

.so-cluster-drawer {
  top: var(--cluster-drawer-top, 12px);
}

.so-item-drawer {
  top: var(--item-drawer-top, 12px);
  grid-template-columns: minmax(0, 1fr);
  width: min(380px, calc(100% - 24px));
  max-height: min(460px, 58svh);
}

.so-item-drawer--advertiser,
.so-item-drawer--full {
  position: fixed;
  top: calc(var(--so-safe-top, 0px) + 12px);
  right: auto;
  bottom: auto;
  left: calc(var(--so-safe-left, 0px) + 12px);
  z-index: 64;
  width: calc(var(--so-safe-width, 100vw) - 24px);
  height: calc(var(--so-safe-height, 100svh) - 24px);
  max-height: calc(var(--so-safe-height, 100svh) - 24px);
  padding: 12px;
}

.so-route-drawer {
  top: 12px;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  width: min(380px, calc(100% - 24px));
  max-height: min(560px, 70svh);
  overflow: auto;
}

.so-route-drawer__head {
  grid-template-columns: 56px minmax(0, 1fr) 40px;
  align-items: center;
  margin-bottom: 4px;
}

.so-route-drawer__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 5px;
  border-radius: 50%;
  background: var(--marker-icon-bg, var(--harbour));
  color: var(--marker-icon-fg, #ffffff);
}

.so-route-drawer__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.so-route-drawer__section {
  margin-top: 8px;
  padding-top: 8px;
}

.so-route-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.so-route-links button {
  min-height: 38px;
  width: 100%;
  padding: 8px 9px;
  border-radius: 7px;
  background: #eef5f2;
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 850;
  line-height: 1.16;
  text-align: left;
}

.so-route-stop-list {
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 760;
  line-height: 1.35;
}

.so-route-drawer__actions {
  margin-top: 0;
}

.so-route-drawer__verified {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.so-item-drawer__body {
  min-width: 0;
  max-height: calc(min(460px, 58svh) - 20px);
  overflow: auto;
}

.so-item-drawer .so-node-popup__head {
  grid-template-columns: 56px minmax(0, 1fr) 38px;
}

.so-item-drawer .so-node-popup__icon {
  width: 56px;
  height: 56px;
}

.so-item-drawer .so-node-popup__head strong {
  font-size: 1.08rem;
  line-height: 1.1;
}

.so-item-drawer .so-node-popup__range,
.so-route-drawer .so-node-popup__summary,
.so-item-drawer .so-node-popup__summary,
.so-route-drawer .so-node-popup__note,
.so-item-drawer .so-node-popup__note {
  font-size: 0.92rem;
  line-height: 1.36;
}

.so-route-drawer__actions button {
  min-height: 40px;
  padding: 9px 12px;
  font-size: 0.84rem;
}

.so-item-drawer--advertiser .so-item-drawer__body,
.so-item-drawer--full .so-item-drawer__body {
  max-height: none;
  height: 100%;
}

.so-item-drawer .so-node-popup__image {
  max-height: 120px;
  margin-bottom: 8px;
}

.so-item-drawer--advertiser .so-node-popup__image,
.so-item-drawer--full .so-node-popup__image {
  max-height: min(34svh, 260px);
  margin-bottom: 12px;
}

.so-item-drawer--advertiser .so-node-popup__head,
.so-item-drawer--full .so-node-popup__head {
  grid-template-columns: 56px minmax(0, 1fr) 34px;
}

.so-item-drawer--advertiser .so-node-popup__icon,
.so-item-drawer--full .so-node-popup__icon {
  width: 56px;
  height: 56px;
}

.so-item-drawer--advertiser .so-node-popup__head strong,
.so-item-drawer--full .so-node-popup__head strong {
  font-size: 1.2rem;
}

.so-item-drawer--advertiser .so-node-popup__summary,
.so-item-drawer--advertiser .so-node-popup__note,
.so-item-drawer--full .so-node-popup__summary,
.so-item-drawer--full .so-node-popup__note {
  font-size: 0.95rem;
  line-height: 1.42;
}

.so-advertiser-profile {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.so-advertiser-profile section {
  display: grid;
  gap: 7px;
  padding: 11px 12px;
  border: 1px solid rgba(21, 48, 56, 0.12);
  border-radius: 8px;
  background: rgba(247, 250, 249, 0.92);
}

.so-advertiser-profile h3,
.so-advertiser-profile p,
.so-advertiser-profile dl {
  margin: 0;
}

.so-advertiser-profile h3 {
  color: var(--harbour-dark);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.so-advertiser-profile p {
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.48;
}

.so-advertiser-profile__facts {
  display: grid;
  gap: 5px;
}

.so-advertiser-profile__facts div {
  display: grid;
  grid-template-columns: minmax(84px, 0.35fr) minmax(0, 1fr);
  gap: 8px;
}

.so-advertiser-profile__facts dt,
.so-advertiser-profile__facts dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 0.82rem;
  line-height: 1.35;
}

.so-advertiser-profile__facts dt {
  color: var(--muted);
  font-weight: 850;
}

.so-advertiser-profile__facts a {
  color: var(--harbour-dark);
  font-weight: 800;
}

.so-advertiser-profile__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.so-advertiser-profile__chips span {
  padding: 5px 8px;
  border-radius: 999px;
  background: #e0efeb;
  color: var(--harbour-dark);
  font-size: 0.72rem;
  font-weight: 850;
}

.so-advertiser-profile__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.so-advertiser-profile__gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 7px;
  object-fit: cover;
}

.so-landing-drawer__tabs {
  display: grid;
  grid-auto-rows: min-content;
  gap: 7px;
  max-height: calc(var(--landing-drawer-max-height) - 20px);
  padding-right: 3px;
  overflow: auto;
}

.so-landing-drawer__body {
  min-width: 0;
  max-height: calc(var(--landing-drawer-max-height) - 20px);
  overflow: auto;
}

.so-landing-drawer__head {
  display: grid;
  gap: 2px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(21, 48, 56, 0.12);
}

.so-landing-drawer__head small,
.so-landing-drawer__head strong {
  display: block;
}

.so-landing-drawer__head small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.so-landing-drawer__head strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.1;
}

.so-cluster-drawer__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  align-items: start;
  gap: 8px;
  margin-bottom: 8px;
}

.so-cluster-drawer__head small,
.so-cluster-drawer__head strong {
  display: block;
}

.so-cluster-drawer__head small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.so-cluster-drawer__head strong {
  font-size: 0.96rem;
}

.so-cluster-drawer__head button {
  box-sizing: border-box;
  display: grid;
  width: 32px;
  min-width: 0;
  height: 32px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #101010;
  color: var(--white);
  font-weight: 900;
}

.so-cluster-drawer__head.so-route-drawer__head {
  grid-template-columns: 60px minmax(0, 1fr) 34px;
  align-items: start;
  gap: 10px;
  margin-bottom: 6px;
}

.so-route-drawer__head .so-route-drawer__icon {
  grid-column: 1;
}

.so-route-drawer__head > span:not(.so-route-drawer__icon) {
  grid-column: 2;
  min-width: 0;
  padding-top: 2px;
}

.so-route-drawer__head > button {
  grid-column: 3;
  align-self: start;
  width: 34px;
  min-width: 0;
  height: 34px;
  padding: 0;
  border-radius: 50%;
}

.so-route-drawer__head small {
  letter-spacing: 0.07em;
}

.so-route-drawer__head strong {
  font-size: 1.1rem;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.so-service-button--drawer-tab {
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 4px;
  border: 1px solid rgba(21, 48, 56, 0.22);
  border-radius: 8px;
  background: color-mix(in srgb, var(--marker-icon-bg, #eff5f2) 30%, #fff);
}

.so-service-button--drawer-tab .so-service-button__icon {
  width: 32px;
  height: 32px;
}

.so-service-button--drawer-tab .so-service-button__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.so-map-marker--parking {
  border: 2px solid #101010;
  background: var(--sun);
}

.so-map-marker--beaches {
  border: 2px solid #101010;
  background: #b8e3f0;
}

.so-map-marker--transport {
  border: 2px solid #101010;
  background: #dcefe4;
}

.so-map-marker--sail-play-explore {
  border: 2px solid #101010;
  background: #dcefe4;
}

.so-map-marker--retail-galleries {
  border: 2px solid #101010;
  background: #f7d2dc;
}

.so-map-marker--stay {
  border: 2px solid #101010;
  background: #d7d4f3;
}

.so-map-marker--trades-services {
  border: 2px solid #101010;
  background: #dcd6ca;
}

.so-map-marker--eat-drink {
  border: 2px solid #101010;
  background: #f9d8a6;
}

.so-map-marker--facilities {
  border: 2px solid #101010;
  background: #bfe3ef;
}

.so-map-marker--with-icon {
  width: 37px;
  height: 37px;
  padding: 4px;
  border: 2px solid #101010;
  background: var(--white);
  color: var(--marker-icon-fg, #ffffff);
  box-shadow: 0 4px 10px rgba(21, 48, 56, 0.16);
}

.so-map-marker--facilities.so-map-marker--with-icon {
  width: 37px;
  height: 37px;
  box-shadow: 0 3px 8px rgba(21, 48, 56, 0.13);
}

.so-map-marker--with-icon.is-selected {
  width: 37px;
  height: 37px;
  border: 2px solid #101010;
  background: var(--white);
  box-shadow: 0 0 0 4px var(--white), 0 12px 24px rgba(21, 48, 56, 0.3);
}

.so-map-marker--facilities.so-map-marker--with-icon.is-selected {
  width: 37px;
  height: 37px;
}

.so-map-marker--business-basic {
  width: 37px;
  height: 37px;
  padding: 4px;
  box-shadow: 0 3px 8px rgba(21, 48, 56, 0.14);
}

.so-map-marker--business-basic.is-selected {
  width: 37px;
  height: 37px;
  padding: 4px;
  box-shadow: 0 0 0 4px var(--white), 0 10px 22px rgba(21, 48, 56, 0.26);
}

.so-map-marker__icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.so-map-marker:not(.so-map-marker--logo) .so-map-marker__icon {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--marker-icon-fg, var(--white));
}

.so-route-marker__icon {
  border: 1px solid rgb(var(--marker-icon-rim-rgb, 21 48 56) / var(--marker-icon-rim-opacity, 0.14));
  border-radius: 50%;
  background: var(--marker-icon-bg, var(--route-color, var(--white)));
  color: var(--marker-icon-fg, var(--white));
}

.so-map-marker--logo {
  width: var(--advertiser-size, 57px);
  height: var(--advertiser-size, 57px);
  padding: var(--advertiser-padding, 4px);
  border: 2px solid #101010;
  background: var(--white);
  box-shadow: 0 6px 15px rgba(21, 48, 56, 0.2);
}

.so-map-marker--logo.is-selected {
  width: var(--advertiser-size, 78px);
  height: var(--advertiser-size, 78px);
  padding: var(--advertiser-padding, 4px);
  border: 2px solid #101010;
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.94), 0 14px 30px rgba(21, 48, 56, 0.34);
}

.so-map-marker--logo .so-map-marker__icon {
  border-radius: 50%;
  object-fit: contain;
}

.so-map-marker--photo .so-map-marker__icon,
.so-map-marker__icon--photo {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center center;
}

.so-map-marker--photo {
  overflow: hidden;
}

.maplibregl-marker .so-map-marker.is-deemphasized,
.maplibregl-marker.so-map-marker.is-deemphasized {
  opacity: 0.46;
  filter: saturate(0.78);
}

.maplibregl-marker .so-map-marker--landing-services.is-deemphasized,
.maplibregl-marker.so-map-marker--landing-services.is-deemphasized {
  opacity: 1;
  filter: none;
}

body.so-route-focus .maplibregl-marker .so-map-marker.is-deemphasized,
body.so-route-focus .maplibregl-marker.so-map-marker.is-deemphasized,
body.so-route-focus .maplibregl-marker .so-map-marker--landing-services.is-deemphasized,
body.so-route-focus .maplibregl-marker.so-map-marker--landing-services.is-deemphasized {
  opacity: 0.18;
  filter: grayscale(0.55) saturate(0.45) opacity(0.22);
}

body.so-direction-focus .so-map-marker,
body.so-direction-focus .so-route-marker,
body.so-direction-focus .maplibregl-marker .so-map-marker.is-deemphasized,
body.so-direction-focus .maplibregl-marker.so-map-marker.is-deemphasized,
body.so-direction-focus .maplibregl-marker.so-route-marker.is-deemphasized {
  opacity: 0.38;
  filter: grayscale(1) saturate(0) opacity(0.78);
}

body.so-direction-focus .so-map-here-marker {
  opacity: 1;
  filter: none;
}

.maplibregl-marker .so-map-marker.is-compact,
.maplibregl-marker.so-map-marker.is-compact {
  width: 37px;
  height: 37px;
  padding: 4px;
  box-shadow: 0 3px 8px rgba(21, 48, 56, 0.12);
}

.maplibregl-marker .so-map-marker--business-basic.is-compact,
.maplibregl-marker.so-map-marker--business-basic.is-compact {
  width: 37px;
  height: 37px;
  padding: 4px;
}

.maplibregl-marker .so-map-marker--logo.is-compact,
.maplibregl-marker.so-map-marker--logo.is-compact {
  border-width: 1px;
}

.maplibregl-marker .so-map-marker--facilities.so-map-marker--with-icon.is-compact,
.maplibregl-marker.so-map-marker--facilities.so-map-marker--with-icon.is-compact {
  width: 37px;
  height: 37px;
  padding: 4px;
}

.so-map-marker[hidden],
.so-route-marker[hidden],
.so-map-marker.is-clustered,
.so-route-marker.is-clustered {
  display: none !important;
  pointer-events: none;
}

.so-map-marker:not(.so-map-marker--logo),
.maplibregl-marker.so-map-marker:not(.so-map-marker--logo),
.so-route-marker,
.maplibregl-marker.so-route-marker {
  --map-marker-size: 28px;
  width: var(--map-marker-size);
  height: var(--map-marker-size);
  padding: 4px;
  border: 2px solid #101010;
  border-radius: 50%;
  background: var(--white);
  color: var(--marker-icon-fg, var(--white));
  box-shadow: 0 6px 14px rgba(21, 48, 56, 0.22);
  overflow: hidden;
}

.so-map-marker:not(.so-map-marker--logo).is-selected,
.maplibregl-marker.so-map-marker:not(.so-map-marker--logo).is-selected,
.so-route-marker.is-selected,
.maplibregl-marker.so-route-marker.is-selected {
  --map-marker-size: 28px;
  padding: 4px;
  border-width: 2px;
  background: var(--white);
  color: var(--marker-icon-fg, var(--white));
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.96), 0 10px 22px rgba(21, 48, 56, 0.3);
}

.so-map-marker--landing:not(.so-map-marker--logo),
.maplibregl-marker.so-map-marker--landing:not(.so-map-marker--logo) {
  background: var(--white);
  color: var(--ink);
}

.so-map-marker--landing .so-node-popup__landing-dot {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}

.so-map-marker:not(.so-map-marker--logo).is-compact,
.maplibregl-marker.so-map-marker:not(.so-map-marker--logo).is-compact,
.so-map-marker--business-basic,
.so-map-marker--business-basic.is-selected,
.so-map-marker--facilities.so-map-marker--with-icon,
.so-map-marker--facilities.so-map-marker--with-icon.is-selected,
.so-route-marker--via {
  width: var(--map-marker-size, 37px);
  height: var(--map-marker-size, 37px);
  padding: 4px;
}

.so-map-marker:not(.so-map-marker--logo).is-selected.is-compact,
.maplibregl-marker.so-map-marker:not(.so-map-marker--logo).is-selected.is-compact,
.so-map-marker--business-basic.is-selected,
.so-map-marker--facilities.so-map-marker--with-icon.is-selected {
  --map-marker-size: 28px;
  padding: 4px;
}

.so-map-marker,
.maplibregl-marker.so-map-marker,
.so-map-marker.is-selected,
.maplibregl-marker.so-map-marker.is-selected,
.so-map-marker--logo,
.maplibregl-marker.so-map-marker--logo,
.so-map-marker--logo.is-selected,
.maplibregl-marker.so-map-marker--logo.is-selected,
.so-route-marker,
.maplibregl-marker.so-route-marker,
.so-route-marker.is-selected,
.maplibregl-marker.so-route-marker.is-selected {
  --map-marker-size: 28px;
  display: grid;
  place-items: center;
  width: var(--map-marker-size);
  height: var(--map-marker-size);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  color: var(--marker-icon-fg, var(--white));
  overflow: visible;
}

.so-map-marker__icon,
.so-map-marker--logo .so-map-marker__icon,
.so-map-marker--photo .so-map-marker__icon,
.so-map-marker__icon--photo,
.so-route-marker__icon {
  display: block;
  width: var(--map-marker-size, 37px);
  height: var(--map-marker-size, 37px);
  border: 0;
  border-radius: 50%;
  background: var(--marker-icon-bg, var(--route-color, transparent));
  color: var(--marker-icon-fg, var(--white));
  object-fit: contain;
  object-position: center center;
  filter: none;
  box-shadow: none;
}

.so-map-marker:not(.so-map-marker--logo),
.maplibregl-marker.so-map-marker:not(.so-map-marker--logo),
.so-map-marker:not(.so-map-marker--logo).is-selected,
.maplibregl-marker.so-map-marker:not(.so-map-marker--logo).is-selected,
.so-map-marker:not(.so-map-marker--logo).is-compact,
.maplibregl-marker.so-map-marker:not(.so-map-marker--logo).is-compact,
.so-map-marker--business-basic,
.so-map-marker--business-basic.is-selected,
.so-map-marker--facilities.so-map-marker--with-icon,
.so-map-marker--facilities.so-map-marker--with-icon.is-selected,
.so-route-marker,
.maplibregl-marker.so-route-marker,
.so-route-marker.is-selected,
.maplibregl-marker.so-route-marker.is-selected,
.so-route-marker--via {
  --map-marker-size: 28px;
  display: grid;
  place-items: center;
  width: var(--map-marker-size);
  height: var(--map-marker-size);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  color: var(--marker-icon-fg, var(--white));
  overflow: visible;
}

.so-map-marker:not(.so-map-marker--logo) .so-map-marker__icon,
.maplibregl-marker.so-map-marker:not(.so-map-marker--logo) .so-map-marker__icon,
.so-map-marker--business-basic .so-map-marker__icon,
.so-map-marker--facilities.so-map-marker--with-icon .so-map-marker__icon,
.so-route-marker__icon,
.maplibregl-marker.so-route-marker .so-route-marker__icon {
  display: block;
  width: var(--map-marker-size, 37px);
  height: var(--map-marker-size, 37px);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--marker-icon-bg, var(--route-color, transparent));
  color: var(--marker-icon-fg, var(--white));
  box-shadow: none;
  filter: none;
  object-fit: contain;
  object-position: center center;
}

.so-map-marker--logo,
.maplibregl-marker.so-map-marker--logo,
.so-map-marker--logo.is-selected,
.maplibregl-marker.so-map-marker--logo.is-selected {
  --map-marker-size: var(--advertiser-size, 57px);
  width: var(--advertiser-size, 57px);
  height: var(--advertiser-size, 57px);
  padding: var(--advertiser-padding, 4px);
}

.so-map-marker[data-map-advertiser="true"]:not(.so-map-marker--logo),
.maplibregl-marker.so-map-marker[data-map-advertiser="true"]:not(.so-map-marker--logo),
.so-map-marker[data-map-advertiser="true"]:not(.so-map-marker--logo).is-selected,
.maplibregl-marker.so-map-marker[data-map-advertiser="true"]:not(.so-map-marker--logo).is-selected {
  --map-marker-size: var(--map-marker-advertiser);
  width: var(--map-marker-size);
  height: var(--map-marker-size);
}

.so-map-marker[data-map-advertiser="true"]:not(.so-map-marker--logo) .so-map-marker__icon,
.maplibregl-marker.so-map-marker[data-map-advertiser="true"]:not(.so-map-marker--logo) .so-map-marker__icon {
  width: var(--map-marker-size);
  height: var(--map-marker-size);
}

.so-map-marker[data-map-kind="business"]:not([data-map-advertiser="true"]):not(.so-map-marker--logo),
.maplibregl-marker.so-map-marker[data-map-kind="business"]:not([data-map-advertiser="true"]):not(.so-map-marker--logo),
.so-map-marker[data-map-kind="business"]:not([data-map-advertiser="true"]):not(.so-map-marker--logo).is-selected,
.maplibregl-marker.so-map-marker[data-map-kind="business"]:not([data-map-advertiser="true"]):not(.so-map-marker--logo).is-selected {
  --map-marker-size: var(--map-marker-standard);
  width: var(--map-marker-size);
  height: var(--map-marker-size);
}

.so-map-marker--logo,
.maplibregl-marker.so-map-marker--logo,
.so-map-marker--logo.is-selected,
.maplibregl-marker.so-map-marker--logo.is-selected {
  --map-marker-size: var(--advertiser-size, var(--map-marker-advertiser));
  width: var(--advertiser-size, var(--map-marker-advertiser));
  height: var(--advertiser-size, var(--map-marker-advertiser));
  padding: var(--advertiser-padding, 0);
  border: 2px solid #101010;
  background: var(--white);
  box-shadow: none;
  overflow: hidden;
}

.so-map-marker--logo.is-selected,
.maplibregl-marker.so-map-marker--logo.is-selected {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.96);
}

.so-map-marker--logo.so-map-marker--off-map,
.maplibregl-marker.so-map-marker--logo.so-map-marker--off-map {
  overflow: visible;
}

.so-map-marker--logo .so-map-marker__icon,
.maplibregl-marker.so-map-marker--logo .so-map-marker__icon,
.so-map-marker--photo .so-map-marker__icon,
.maplibregl-marker.so-map-marker--photo .so-map-marker__icon {
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--white);
  box-shadow: none;
  object-fit: cover;
  object-position: center center;
  border-radius: 50%;
}

.so-map-marker[data-map-advertiser="true"]:not(.so-map-marker--logo),
.maplibregl-marker.so-map-marker[data-map-advertiser="true"]:not(.so-map-marker--logo),
.so-map-marker[data-map-advertiser="true"]:not(.so-map-marker--logo).is-selected,
.maplibregl-marker.so-map-marker[data-map-advertiser="true"]:not(.so-map-marker--logo).is-selected {
  --map-marker-size: var(--map-marker-advertiser);
  width: var(--map-marker-size);
  height: var(--map-marker-size);
}

.so-map-marker[data-map-advertiser="true"]:not(.so-map-marker--logo) .so-map-marker__icon,
.maplibregl-marker.so-map-marker[data-map-advertiser="true"]:not(.so-map-marker--logo) .so-map-marker__icon {
  width: var(--map-marker-size);
  height: var(--map-marker-size);
  box-shadow: none;
}

.so-map-marker--off-map::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: -7px;
  left: 50%;
  width: 0;
  height: 0;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  border-bottom: 9px solid #101010;
  transform: translateX(-50%);
  pointer-events: none;
}

.so-map-marker--off-map[data-off-map-edge*="south"]::after {
  top: auto;
  bottom: -7px;
  transform: translateX(-50%) rotate(180deg);
}

.so-map-marker--off-map[data-off-map-edge*="east"]::after {
  top: 50%;
  right: -8px;
  left: auto;
  transform: translateY(-50%) rotate(90deg);
}

.so-map-marker--off-map[data-off-map-edge*="west"]::after {
  top: 50%;
  left: -8px;
  transform: translateY(-50%) rotate(-90deg);
}

.so-map-cluster {
  position: absolute;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  filter: drop-shadow(0 6px 14px rgba(21, 48, 56, 0.24));
  overflow: visible;
}

.so-map-cluster--landing {
  border: 2px solid #101010;
  background: var(--white);
}

.so-map-cluster--with-icon {
  border: 2px solid #101010;
  background: var(--white);
  overflow: hidden;
}

.so-map-cluster__icon {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  pointer-events: none;
}

.so-map-cluster__icon--featured {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center center;
}

.so-map-cluster__dot {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--white);
}

.so-map-cluster__stack {
  display: grid;
  grid-template-columns: repeat(2, 30px);
  grid-auto-rows: 30px;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 64px;
  height: 64px;
  padding: 4px;
  border: 2px solid #101010;
  border-radius: 50%;
  background: var(--white);
}

.so-map-cluster__stack img {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--white);
  object-fit: contain;
}

.so-map-cluster__stack img.so-map-cluster__stack-icon--featured {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center center;
}

.so-map-cluster__stack img:first-child:last-child {
  grid-column: 1 / -1;
  justify-self: center;
}

.so-map-cluster__stack img:nth-child(3) {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: -8px;
}

.so-map-cluster__count {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  border: 2px solid var(--white);
  border-radius: 999px;
  background: #101010;
  color: var(--white);
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 3px 8px rgba(21, 48, 56, 0.22);
}

.so-map-cluster--totem {
  z-index: 5600;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 7px 14px rgba(21, 48, 56, 0.22));
}

.so-map-cluster--fallback {
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  z-index: 5600;
}

.so-map-cluster__totem {
  --cluster-icon-size: 37px;
  --cluster-gap: 2px;
  --cluster-pad-x: 4px;
  --cluster-pad-y: 4px;
  display: grid;
  box-sizing: border-box;
  grid-auto-rows: var(--cluster-icon-size);
  justify-items: center;
  align-items: center;
  gap: var(--cluster-gap);
  padding: var(--cluster-pad-y) var(--cluster-pad-x);
  border: 2px solid #101010;
  border-radius: 999px;
  background: var(--white);
}

.so-map-cluster__single {
  position: relative;
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
}

.so-map-cluster__totem--single {
  grid-template-columns: var(--cluster-icon-size);
  border-radius: 999px;
}

.so-map-cluster__totem--grid {
  --cluster-pad-x: 4px;
  --cluster-pad-y: 5px;
  grid-template-columns: repeat(var(--cluster-cols, 2), var(--cluster-icon-size));
}

.so-map-cluster__totem--count-5,
.so-map-cluster__totem--count-6,
.so-map-cluster__totem--count-7,
.so-map-cluster__totem--count-8 {
  --cluster-icon-size: 37px;
  --cluster-gap: 2px;
  --cluster-pad-x: 4px;
  --cluster-pad-y: 5px;
}

.so-map-cluster__totem--landing-zones {
  --cluster-pad-x: 4px;
  --cluster-pad-y: 5px;
}

.so-map-cluster--transport-totem .so-map-cluster__totem {
  --cluster-icon-size: 37px;
  --cluster-gap: 1px;
  --cluster-pad-x: 3px;
  --cluster-pad-y: 4px;
}

.so-map-cluster__totem--transit.so-map-cluster__totem--count-1 {
  min-height: calc(var(--cluster-icon-size) + 14px);
  padding-block: 5px;
}

.so-map-cluster__totem--odd .so-map-cluster__totem-icon:last-child {
  grid-column: 1 / -1;
  justify-self: center;
}

.so-map-cluster__totem-icon {
  display: block;
  box-sizing: border-box;
  width: var(--cluster-icon-size);
  height: var(--cluster-icon-size);
  border: 1px solid rgb(var(--marker-icon-rim-rgb, 21 48 56) / var(--marker-icon-rim-opacity, 0.14));
  border-radius: 50%;
  background: var(--marker-icon-bg, var(--white));
  color: var(--marker-icon-fg, var(--ink));
  object-fit: contain;
  pointer-events: none;
}

.so-route-marker--walk .so-route-marker__icon,
.so-map-cluster__totem-icon--walk,
.so-landing-totem__badge--route-walk {
  --walk-fill-color: var(--marker-icon-bg, var(--route-color, #1dae87));
  --walk-ring-color: var(--walk-dash-color, color-mix(in srgb, var(--walk-fill-color) 78%, #000 22%));
  box-sizing: border-box;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--walk-fill-color), var(--walk-fill-color)) padding-box,
    repeating-conic-gradient(from -4deg, var(--walk-ring-color) 0 9deg, transparent 9deg 19deg) border-box;
  outline: 0;
}

.so-map-cluster__totem-icon--logo,
.so-map-cluster__totem-icon--featured {
  width: var(--cluster-icon-size);
  height: var(--cluster-icon-size);
}

.so-map-cluster__totem--count-5 .so-map-cluster__totem-icon--logo,
.so-map-cluster__totem--count-5 .so-map-cluster__totem-icon--featured,
.so-map-cluster__totem--count-6 .so-map-cluster__totem-icon--logo,
.so-map-cluster__totem--count-6 .so-map-cluster__totem-icon--featured,
.so-map-cluster__totem--count-7 .so-map-cluster__totem-icon--logo,
.so-map-cluster__totem--count-7 .so-map-cluster__totem-icon--featured,
.so-map-cluster__totem--count-8 .so-map-cluster__totem-icon--logo,
.so-map-cluster__totem--count-8 .so-map-cluster__totem-icon--featured {
  width: var(--cluster-icon-size);
  height: var(--cluster-icon-size);
}

.so-map-cluster__totem-icon--featured {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center center;
}

.so-map-cluster__totem-icon--landing {
  border-color: #101010;
  background: var(--white);
  color: #101010;
  font-size: 0.58rem;
  letter-spacing: 0;
}

.so-map-user-marker {
  position: absolute;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  pointer-events: none;
}

.so-map-user-marker--viewport {
  left: 50%;
  top: 44%;
  z-index: 34;
  display: none;
  transform: translate(-50%, -50%);
}

.so-map-fallback-active > .so-map-user-marker--viewport {
  display: grid;
}

.so-map-marker-layer .so-map-user-marker {
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
}

.so-map-user-marker__accuracy {
  position: absolute;
  width: var(--gps-accuracy, 34px);
  height: var(--gps-accuracy, 34px);
  border-radius: 50%;
  background: rgba(255, 217, 74, 0.18);
  box-shadow: 0 0 0 1px rgba(211, 159, 0, 0.22);
}

.so-map-user-marker__slice {
  position: absolute;
  top: -37px;
  left: 50%;
  width: 52px;
  height: 52px;
  background: rgba(255, 217, 74, 0.32);
  clip-path: polygon(50% 100%, 10% 0, 90% 0);
  transform: translateX(-50%) rotate(var(--gps-heading, 0deg));
  transform-origin: 50% 100%;
}

.so-map-user-marker--no-heading .so-map-user-marker__slice {
  display: none;
}

.so-map-user-marker__core {
  position: relative;
  z-index: 2;
  width: 22px;
  height: 22px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: #ffd94a;
  box-shadow: 0 0 0 2px rgba(21, 48, 56, 0.42), 0 6px 14px rgba(21, 48, 56, 0.28);
}

.so-direction-card {
  position: absolute;
  right: 8px;
  bottom: calc(58px + env(safe-area-inset-bottom));
  left: 8px;
  z-index: 64;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 9px;
  align-items: center;
  width: min(560px, calc(100% - 16px));
  margin: 0 auto;
  padding: 8px;
  border: 1px solid rgba(21, 48, 56, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 10px 22px rgba(21, 48, 56, 0.18);
  backdrop-filter: blur(12px);
  pointer-events: auto;
}

.so-direction-card[hidden] {
  display: none;
}

.so-direction-card small {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.so-direction-card strong {
  display: block;
  overflow: hidden;
  font-size: 0.86rem;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.so-direction-card p,
.so-direction-card span {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.3;
}

.so-direction-card__status {
  color: var(--muted);
  font-weight: 900;
  white-space: nowrap;
}

.so-direction-card__copy {
  min-width: 0;
}

.so-direction-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.so-direction-card__actions button {
  display: inline-grid;
  grid-template-columns: 15px auto;
  gap: 4px;
  align-items: center;
  min-height: 30px;
  margin: 0;
  padding: 5px 8px;
  border: 0;
  border-radius: 7px;
  background: #eef5f2;
  color: #153038;
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.so-direction-card__hint {
  grid-column: 1 / -1;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.so-route-mini .so-direction-card__actions {
  flex-wrap: nowrap;
}

.so-direction-card--mini .so-direction-card__actions {
  grid-column: 1 / -1;
  flex-wrap: nowrap;
}

.so-direction-card--mini .so-direction-card__actions button {
  flex: 0 0 auto;
}

.so-direction-card--pending {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  min-height: 46px;
  padding: 6px 8px;
  background: rgba(247, 248, 243, 0.9);
  box-shadow: 0 8px 18px rgba(21, 48, 56, 0.14);
}

.so-direction-card--pending .so-direction-card__copy {
  align-self: center;
}

.so-direction-card--pending .so-direction-card__status {
  display: none;
}

.so-direction-card--pending .so-direction-card__actions {
  grid-column: auto;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.so-direction-card--pending .so-direction-card__actions button {
  min-height: 32px;
  padding: 5px 7px;
}

.so-route-guidance {
  position: absolute;
  right: 8px;
  bottom: calc(58px + env(safe-area-inset-bottom));
  left: 8px;
  z-index: 66;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(560px, calc(100% - 16px));
  max-height: min(46svh, 360px);
  margin: 0 auto;
  padding: 10px;
  border: 1px solid rgba(21, 48, 56, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(21, 48, 56, 0.22);
  backdrop-filter: blur(13px);
  pointer-events: auto;
}

.so-route-guidance[hidden] {
  display: none;
}

.so-route-guidance__head {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 34px;
  gap: 9px;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(21, 48, 56, 0.12);
}

.so-route-guidance__head .so-route-drawer__icon {
  width: 46px;
  height: 46px;
  padding: 4px;
}

.so-route-guidance__head small,
.so-route-guidance__head strong {
  display: block;
}

.so-route-guidance__head small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.so-route-guidance__head strong {
  overflow-wrap: anywhere;
  font-size: 0.98rem;
  line-height: 1.1;
}

.so-route-guidance__head button {
  display: grid;
  width: 34px;
  min-width: 0;
  height: 34px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #153038;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 900;
}

.so-route-guidance__body {
  min-height: 0;
  padding-top: 9px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.so-shared-walk-picker__list {
  display: grid;
  gap: 7px;
}

.so-shared-walk-picker__list > button {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 20px;
  gap: 9px;
  align-items: center;
  width: 100%;
  min-height: 56px;
  padding: 7px 9px;
  border: 1px solid rgba(21, 48, 56, 0.15);
  border-radius: 8px;
  background: #eef7f3;
  color: var(--ink);
  text-align: left;
}

.so-shared-walk-picker__list strong,
.so-shared-walk-picker__list small {
  display: block;
}

.so-shared-walk-picker__list strong {
  font-size: 0.84rem;
  line-height: 1.18;
}

.so-shared-walk-picker__list small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.so-shared-walk-picker__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 5px;
  border: 2px solid #101010;
  border-radius: 50%;
  background: #ffffff;
}

.so-shared-walk-picker__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.so-shared-walk-picker__arrow {
  color: var(--harbour-dark);
  font-size: 1.35rem;
  font-weight: 900;
  text-align: center;
}

.so-route-guidance__summary,
.so-route-guidance__note,
.so-route-guidance__directions p {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 760;
  line-height: 1.36;
}

.so-route-guidance__note {
  color: var(--muted);
}

.so-walk-facts {
  display: grid;
  gap: 7px;
  margin: 0 0 10px;
  padding: 9px;
  border: 1px solid rgba(13, 115, 128, 0.2);
  border-radius: 8px;
  background: #eef7f3;
}

.so-walk-facts h3,
.so-walk-facts dl,
.so-walk-facts p,
.so-walk-facts dt,
.so-walk-facts dd {
  margin: 0;
}

.so-walk-facts h3 {
  color: var(--harbour-dark);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.so-walk-facts__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.so-walk-facts__grid > div {
  min-width: 0;
  padding: 6px 7px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.78);
}

.so-walk-facts dt {
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 900;
  text-transform: uppercase;
}

.so-walk-facts dd {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.22;
}

.so-walk-facts p {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 740;
  line-height: 1.3;
}

.so-route-guidance__warnings {
  margin: 0 0 9px;
  padding: 8px 9px;
  border: 1px solid rgba(222, 172, 42, 0.42);
  border-radius: 8px;
  background: #fff7c4;
}

.so-route-guidance__warnings h3 {
  margin: 0 0 5px;
  color: #153038;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.so-route-guidance__warnings ul {
  display: grid;
  gap: 3px;
  margin: 0;
  padding-left: 18px;
}

.so-route-guidance__warnings li {
  color: #153038;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.3;
}

.so-direction-steps__icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 2px solid #153038;
  border-radius: 8px;
  background: #ffd94a;
  color: #153038;
}

.so-direction-steps__icon .so-inline-action-icon {
  width: 25px;
  height: 25px;
}

.so-direction-steps__list {
  display: grid;
  gap: 0;
  margin: 0;
  padding-left: 24px;
}

.so-direction-steps__list li {
  display: block;
  padding: 0;
  border-bottom: 1px solid rgba(21, 48, 56, 0.1);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 780;
  line-height: 1.34;
}

.so-direction-steps__list button,
.so-direction-steps__arrival {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: baseline;
  width: 100%;
  min-height: 36px;
  padding: 8px 6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: 0;
  line-height: inherit;
  text-align: left;
}

.so-direction-steps__list button {
  cursor: pointer;
}

.so-direction-steps__item.is-active button {
  background: #fff7c4;
  box-shadow: inset 0 0 0 1px rgba(222, 172, 42, 0.42);
}

.so-direction-steps__list li::marker {
  color: #146b75;
  font-weight: 900;
}

.so-direction-steps__list li:last-child {
  border-bottom: 0;
}

.so-direction-steps__list small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
}

.so-direction-prompt {
  position: absolute;
  right: 10px;
  bottom: calc(62px + env(safe-area-inset-bottom));
  left: 10px;
  z-index: 6502;
  display: grid;
  gap: 7px;
  width: min(430px, calc(100% - 20px));
  margin: 0 auto;
  padding: 10px;
  border: 1px solid rgba(21, 48, 56, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(21, 48, 56, 0.22);
  backdrop-filter: blur(13px);
  pointer-events: auto;
}

.so-direction-prompt[hidden] {
  display: none;
}

.so-direction-prompt small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.so-direction-prompt strong {
  font-size: 1rem;
  line-height: 1.1;
}

.so-direction-prompt p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.3;
}

.so-direction-prompt__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.so-direction-prompt__actions button {
  display: inline-grid;
  grid-template-columns: 16px auto;
  gap: 5px;
  align-items: center;
  min-height: 34px;
  padding: 6px 9px;
  border: 0;
  border-radius: 8px;
  background: #eef5f2;
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.so-direction-prompt__actions .so-direction-prompt__primary {
  background: var(--harbour);
  color: var(--white);
}

.so-direction-start-picker {
  width: min(500px, calc(100% - 20px));
  max-height: min(54svh, 430px);
  grid-template-rows: auto auto auto auto minmax(0, 1fr) auto;
}

.so-direction-start-list {
  max-height: min(220px, 28svh);
}

.so-map-diagnostics {
  position: absolute;
  top: 10px;
  right: auto;
  bottom: auto;
  left: 10px;
  z-index: 70;
  display: grid;
  gap: 3px;
  max-width: min(360px, calc(100% - 20px));
  padding: 8px 10px;
  border: 1px solid rgba(21, 48, 56, 0.16);
  border-radius: 8px;
  background: rgba(21, 48, 56, 0.9);
  color: var(--white);
  font-size: 0.72rem;
  box-shadow: 0 12px 30px rgba(21, 48, 56, 0.2);
  pointer-events: none;
}

.so-map-diagnostics small,
.so-map-diagnostics strong,
.so-map-diagnostics span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.so-map-diagnostics small {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  text-transform: uppercase;
}

.so-map-diagnostics strong {
  font-size: 0.82rem;
}

.so-map-footer {
  --options-drawer-height: min(76svh, 680px);
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 65;
  overflow: visible;
  padding: 4px 0 calc(6px + env(safe-area-inset-bottom));
  border-top: 0;
  background: transparent;
  pointer-events: none;
}

.so-map-filter-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  width: min(100%, 760px);
  margin: 0 auto;
}

.so-map-filter-bar--options {
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  overflow: visible;
  gap: 0;
  pointer-events: none;
}

.so-view-toggle {
  z-index: 66;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: min(calc(100vw - 20px), 760px);
  min-height: 52px;
  margin: 0 auto;
  padding: 7px 14px;
  border: 1px solid rgba(21, 48, 56, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  text-align: left;
  box-shadow: 0 8px 24px rgba(21, 48, 56, 0.2);
  pointer-events: auto;
}

.so-view-toggle__icon {
  display: grid;
  gap: 4px;
}

.so-view-toggle__icon span {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: var(--harbour);
}

.so-view-toggle__icon span:nth-child(2) {
  width: 72%;
}

.so-view-toggle__icon span:nth-child(3) {
  width: 48%;
}

.so-view-toggle strong,
.so-view-toggle small {
  display: block;
}

.so-view-toggle strong {
  font-size: 0.86rem;
  text-transform: uppercase;
}

.so-view-toggle small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.so-map-footer.is-open {
  padding: 4px 0 calc(6px + env(safe-area-inset-bottom));
  border-top: 0;
  background: transparent;
}

.so-map-footer.is-open .so-filter-drawer {
  opacity: 1;
  transform: translateY(0);
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 180ms ease, visibility 0ms;
  visibility: visible;
  pointer-events: auto;
}

.so-filter-toggle,
.so-filter-reset,
.so-filter-close {
  display: inline-grid;
  place-items: center;
  min-height: 44px;
  border: 1px solid rgba(21, 48, 56, 0.14);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 1px 0 rgba(21, 48, 56, 0.08);
}

.so-filter-toggle {
  grid-template-columns: 22px auto;
  gap: 7px;
  padding: 0 12px;
}

.so-filter-toggle__icon {
  display: grid;
  gap: 3px;
  width: 20px;
}

.so-filter-toggle__icon span {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: var(--harbour);
}

.so-filter-toggle__icon span:nth-child(2) {
  width: 72%;
}

.so-filter-toggle__icon span:nth-child(3) {
  width: 48%;
}

.so-filter-reset {
  padding: 0 13px;
}

.so-map-filter-summary {
  min-width: 0;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.so-map-filter-summary strong,
.so-map-filter-summary span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.so-map-filter-summary strong {
  color: var(--ink);
  font-size: 0.88rem;
  text-transform: none;
}

.so-filter-drawer {
  position: fixed;
  right: 0;
  bottom: calc(62px + env(safe-area-inset-bottom));
  left: 0;
  z-index: 64;
  display: grid;
  align-content: start;
  grid-auto-rows: min-content;
  gap: 0;
  height: auto;
  max-height: var(--options-drawer-height);
  overflow-x: visible;
  overflow-y: auto;
  padding: 0;
  border: 0;
  border-radius: 14px 14px 0 0;
  background: rgba(247, 248, 243, 0.98);
  box-shadow: 0 -8px 26px rgba(21, 48, 56, 0.1);
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(calc(100% + 56px));
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 180ms ease, visibility 0ms linear 300ms;
  visibility: hidden;
  pointer-events: none;
  will-change: transform, opacity;
  -webkit-overflow-scrolling: touch;
}

.so-filter-drawer[hidden] {
  display: grid;
}

.so-map-footer.is-open .so-filter-drawer {
  opacity: 1;
  transform: translateY(0);
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 180ms ease, visibility 0ms;
  visibility: visible;
  pointer-events: auto;
}

.so-filter-drawer__header {
  align-self: start;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  gap: 4px;
  align-items: center;
  min-width: 0;
  min-height: 68px;
  padding: 12px 14px 10px;
  border-bottom: 1px solid rgba(21, 48, 56, 0.1);
  background: var(--white);
}

.so-filter-drawer__header small,
.so-filter-drawer__header strong,
.so-filter-drawer__header span {
  display: block;
}

.so-filter-drawer__header small {
  color: var(--harbour);
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
}

.so-filter-drawer__header strong {
  font-size: 1rem;
}

.so-filter-drawer__header span {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.so-filter-close {
  position: relative;
  z-index: 2;
  width: 30px;
  min-height: 30px;
  margin-right: 0;
  padding: 0;
  color: var(--harbour);
  font-size: 1.15rem;
  line-height: 1;
}

.so-filter-drawer__body {
  display: grid;
  gap: 12px;
  overflow-y: auto;
  padding: 12px 12px 18px;
}

.so-filter-drawer__actions {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  gap: 7px;
  padding: 10px 12px;
  border-top: 1px solid rgba(21, 48, 56, 0.1);
  background: var(--white);
}

.so-view-group {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(21, 48, 56, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
}

.so-view-group__heading h3,
.so-view-group__heading p,
.so-public-filter-group h4 {
  margin: 0;
}

.so-view-group__heading h3 {
  font-size: 0.9rem;
}

.so-view-group__heading p {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 720;
}

.so-view-more {
  gap: 0;
}

.so-view-more > summary {
  position: relative;
  display: grid;
  gap: 2px;
  padding-right: 26px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.so-view-more > summary::-webkit-details-marker {
  display: none;
}

.so-view-more > summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 3px;
  color: var(--harbour);
  font-size: 1.25rem;
  font-weight: 900;
  transform: translateY(-50%);
}

.so-view-more[open] > summary::after {
  content: "−";
}

.so-view-more > summary span {
  font-size: 0.9rem;
  font-weight: 900;
}

.so-view-more > summary small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 720;
}

.so-view-more__body {
  display: grid;
  gap: 9px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(21, 48, 56, 0.08);
}

.so-public-filter-group {
  display: grid;
  gap: 5px;
}

.so-public-filter-group + .so-public-filter-group {
  padding-top: 8px;
  border-top: 1px solid rgba(21, 48, 56, 0.08);
}

.so-public-filter-group h4 {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.so-category-toggle-grid {
  display: grid;
  gap: 6px;
}

.so-category-toggle {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 36px;
  gap: 10px;
  align-items: center;
  min-height: 52px;
  padding: 6px 9px;
  border: 1px solid rgba(21, 48, 56, 0.12);
  border-radius: 9px;
  background: #f2f4ef;
  color: var(--ink);
  text-align: left;
}

.so-category-toggle.is-active {
  border-color: rgba(13, 115, 128, 0.4);
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(13, 115, 128, 0.12);
}

.so-category-toggle__mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--header-blue);
  box-shadow: inset 0 0 0 1px rgba(10, 86, 96, 0.12);
  overflow: hidden;
}

.so-category-toggle__icon {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.so-category-toggle__copy strong,
.so-category-toggle__copy small {
  display: block;
}

.so-category-toggle__copy strong {
  font-size: 0.75rem;
  line-height: 1.15;
}

.so-category-toggle__copy small {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 800;
}

.so-category-toggle__switch {
  position: relative;
  display: block;
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: #aeb9b6;
  transition: background 160ms ease;
}

.so-category-toggle__switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(21, 48, 56, 0.28);
  transition: transform 160ms ease;
}

.so-category-toggle.is-active .so-category-toggle__switch {
  background: var(--harbour);
}

.so-category-toggle.is-active .so-category-toggle__switch::after {
  transform: translateX(14px);
}

.so-filter-group {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.so-filter-group h3 {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.so-direction-target-group {
  gap: 9px;
}

.so-find-tools {
  gap: 10px;
}

.so-find-drawer .so-find-tools {
  display: grid;
  gap: 10px;
}

.so-find-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.so-find-need-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.so-find-need {
  min-height: 38px;
  padding: 7px 9px;
  border: 1px solid rgba(21, 48, 56, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.so-find-need.is-active {
  border-color: #153038;
  background: #eef5f2;
  box-shadow: inset 0 0 0 1px #153038;
}

.so-find-results-block {
  display: grid;
  gap: 7px;
}

.so-find-results {
  display:grid;
  gap:10px;
  max-height: none;
  overflow: visible;
}

.so-find-result {
  display: grid;
  gap: 8px;
  min-height: 58px;
  padding: 9px 10px;
  border: 1px solid rgba(21, 48, 56, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.so-find-result__copy {
  min-width: 0;
}

.so-find-result__copy strong,
.so-find-result__copy small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.so-find-result__copy strong {
  font-size: 0.86rem;
  line-height: 1.16;
}

.so-find-result__copy small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.so-find-result__actions {
  position:static;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.so-find-result__actions button {
  min-height: 44px;
  padding: 8px 10px;
  border: 0;
  border-radius: 7px;
  background: #eef5f2;
  color: #153038;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.so-find-result__actions button[data-find-result-direction] {
  background: #153038;
  color: #ffffff;
}

.so-direction-search {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.so-direction-search input {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid rgba(21, 48, 56, 0.18);
  border-radius: 7px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 0.86rem;
}

.so-direction-gps-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.so-direction-gps-status,
.so-direction-helper,
.so-direction-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1.3;
}

.so-direction-gps-button,
.so-direction-clear {
  min-height: 40px;
  padding: 8px 11px;
  border: 0;
  border-radius: 7px;
  background: #153038;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
}

.so-direction-gps-button--secondary,
.so-direction-clear {
  background: #eef5f2;
  color: var(--ink);
}

.so-direction-target-list {
  display: grid;
  gap: 7px;
  max-height: min(280px, 34svh);
  overflow: auto;
  padding-right: 2px;
}

.so-find-drawer .so-find-results {
  display:grid;
  gap:10px;
  max-height: none;
  overflow: visible;
}

.so-direction-target {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid rgba(21, 48, 56, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  text-align: left;
}

.so-direction-target.is-active {
  border-color: #153038;
  background: #eef5f2;
  box-shadow: inset 0 0 0 1px #153038;
}

.so-direction-target strong,
.so-direction-target small {
  display: block;
  min-width: 0;
}

.so-direction-target strong {
  font-size: 0.84rem;
  line-height: 1.15;
}

.so-direction-target small,
.so-direction-target em {
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
}

.so-events-shortcut {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
}

.so-events-shortcut__button,
.so-events-shortcut__link {
  display: inline-grid;
  min-height: 40px;
  place-items: center;
  border: 1px solid rgba(21, 48, 56, 0.12);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 900;
}

.so-events-shortcut__button {
  background: #153038;
  color: #ffffff;
}

.so-events-shortcut__link {
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
}

.so-icon-filter-tools {
  display: flex;
  justify-content: flex-end;
  padding: 0 18px 0 0;
}

.so-filter-reset--drawer {
  min-height: 34px;
}

.so-filter-reset--recommended {
  min-height: 34px;
  border-radius: 7px;
  background: var(--harbour);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 900;
}

.so-icon-filter-groups {
  display: grid;
  gap: 12px;
}

.so-filter-chips,
.so-layer-controls__grid,
.so-route-filter-grid,
.so-icon-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  gap: 4px;
}

.so-route-filter-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.so-layer-controls {
  display: grid;
  gap: 12px;
}

.so-filter-chip {
  display: grid;
  min-width: 0;
  min-height: 42px;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 5px;
  align-items: center;
  padding: 5px 7px;
  border: 1px solid rgba(21, 48, 56, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-align: left;
}

.so-filter-chip.is-active {
  border-color: rgba(38, 119, 131, 0.34);
  background: var(--white);
  color: var(--ink);
  box-shadow: inset 0 0 0 2px rgba(38, 119, 131, 0.12);
}

.so-filter-chip span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.so-filter-chip__mark {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgb(var(--marker-icon-rim-rgb, 21 48 56) / var(--marker-icon-rim-opacity, 0.18));
  border-radius: 50%;
  background: var(--marker-icon-bg, var(--white));
  color: var(--marker-icon-fg, var(--ink));
  overflow: hidden;
}

.so-filter-chip__mark--all {
  border-color: var(--harbour);
  background: var(--sun);
  box-shadow: inset 0 0 0 7px var(--white);
}

.so-filter-chip__icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.so-icon-filter-toggle {
  display: grid;
  min-width: 0;
  width: 64px;
  min-height: 61px;
  gap: 2px;
  justify-items: center;
  align-items: center;
  align-content: center;
  padding: 1px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #000000;
  font-size: 0.53rem;
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
}

.so-icon-filter-toggle.is-active {
  border-color: transparent;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.so-icon-filter-toggle:not(.is-active) {
  opacity: 0.58;
}

.so-icon-filter-toggle span:last-child {
  display: block;
  min-width: 0;
  width: 100%;
  overflow: visible;
  overflow-wrap: normal;
  text-overflow: clip;
  white-space: normal;
  word-break: normal;
}

.so-icon-filter-toggle__mark {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid rgb(var(--marker-icon-rim-rgb, 21 48 56) / var(--marker-icon-rim-opacity, 0.18));
  border-radius: 50%;
  background: var(--marker-icon-bg, #f7f8f3);
  color: var(--marker-icon-fg, var(--ink));
  box-shadow: 0 3px 8px rgba(21, 48, 56, 0.13);
  overflow: hidden;
}

.so-icon-filter-toggle__icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.so-route-filter-toggle {
  position: relative;
  display: grid;
  min-width: 0;
  width: 100%;
  min-height: 78px;
  grid-template-rows: 36px minmax(22px, auto);
  gap: 4px;
  place-items: center;
  align-content: center;
  padding: 5px 4px;
  border: 2px solid #c8cfcc;
  border-radius: 9px;
  background: #e4e7e2;
  color: var(--muted);
  text-align: center;
}

.so-route-filter-toggle.is-active {
  border-color: var(--harbour);
  background: #ffffff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(13, 115, 128, 0.14), 0 2px 7px rgba(21, 48, 56, 0.1);
}

.so-route-filter-toggle:hover,
.so-route-filter-toggle:focus {
  border-color: #c8cfcc;
  background: #e4e7e2;
  color: var(--muted);
}

.so-route-filter-toggle.is-active:hover,
.so-route-filter-toggle.is-active:focus {
  border-color: var(--harbour);
  background: #ffffff;
}

.so-route-filter-toggle:focus {
  outline: 0;
}

.so-route-filter-toggle:focus-visible {
  outline: 3px solid rgba(13, 115, 128, 0.45);
  outline-offset: 2px;
}

.so-route-filter-toggle:not(.is-active) {
  opacity: 1;
}

.so-route-filter-toggle__copy {
  display: block;
  min-width: 0;
  width: 100%;
}

.so-route-filter-toggle__copy strong {
  display: block;
}

.so-route-filter-toggle__copy strong {
  font-size: 0.56rem;
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}

.so-route-filter-toggle__mark {
  display: grid;
  justify-self: center;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgb(var(--marker-icon-rim-rgb, 21 48 56) / var(--marker-icon-rim-opacity, 0.18));
  border-radius: 50%;
  background: var(--route-color, #1dae87);
  box-shadow: 0 3px 8px rgba(21, 48, 56, 0.13);
  overflow: hidden;
}

.so-route-filter-toggle:not(.is-active) .so-route-filter-toggle__mark {
  filter: grayscale(0.8) saturate(0.35);
  opacity: 0.58;
}

.so-route-filter-toggle__icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.so-route-filter-grid,
.so-icon-filter-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
}

.so-view-choice {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: none;
  gap: 10px;
  align-items: center;
  justify-items: stretch;
  width: 100%;
  min-height: 50px;
  padding: 6px 9px;
  border: 1px solid rgba(21, 48, 56, 0.14);
  border-radius: 9px;
  background: #e9ece7;
  color: var(--muted);
  text-align: left;
}

.so-view-choice.is-active {
  border-color: rgba(13, 115, 128, 0.46);
  background: #ffffff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(13, 115, 128, 0.12);
}

.so-view-choice:hover,
.so-view-choice:focus {
  border-color: var(--harbour);
}

.so-view-choice.is-active:hover,
.so-view-choice.is-active:focus {
  background: #ffffff;
  color: var(--ink);
}

.so-view-choice:focus {
  outline: 0;
}

.so-view-choice:focus-visible {
  outline: 3px solid rgba(13, 115, 128, 0.42);
  outline-offset: 2px;
}

.so-view-choice .so-category-toggle__mark,
.so-view-choice .so-route-filter-toggle__mark,
.so-view-choice .so-icon-filter-toggle__mark {
  justify-self: start;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(10, 86, 96, 0.12), 0 2px 6px rgba(21, 48, 56, 0.12);
}

.so-view-choice:not(.is-active) .so-category-toggle__mark,
.so-view-choice:not(.is-active) .so-route-filter-toggle__mark,
.so-view-choice:not(.is-active) .so-icon-filter-toggle__mark {
  opacity: 0.48;
  filter: grayscale(1) saturate(0);
}

.so-view-choice .so-category-toggle__copy,
.so-view-choice .so-route-filter-toggle__copy,
.so-view-choice .so-icon-filter-toggle__copy {
  display: block;
  min-width: 0;
  width: 100%;
}

.so-view-choice .so-category-toggle__copy strong,
.so-view-choice .so-route-filter-toggle__copy strong,
.so-view-choice .so-icon-filter-toggle__copy strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: left;
  text-transform: none;
}

.so-icon-filter-toggle.so-view-choice,
.so-route-filter-toggle.so-view-choice {
  min-height: 50px;
  padding: 6px 9px;
  opacity: 1;
}

.so-layer-toggle {
  display: grid;
  min-width: 0;
  min-height: 50px;
  place-items: center;
  gap: 4px;
  padding: 6px 4px 7px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 850;
}

.so-layer-toggle.is-active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(21, 48, 56, 0.08);
}

.so-layer-toggle.is-unavailable {
  opacity: 0.48;
}

.so-layer-toggle__mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgb(var(--marker-icon-rim-rgb, 21 48 56) / var(--marker-icon-rim-opacity, 0.18));
  border-radius: 50%;
  background: var(--marker-icon-bg, var(--white));
  color: var(--marker-icon-fg, var(--ink));
  overflow: hidden;
}

.so-layer-toggle__icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.so-layer-toggle__line {
  display: block;
  width: 24px;
  height: 0;
  border-top: 4px solid #1d76b8;
}

.so-layer-toggle__line--bus {
  border-color: #ee7402;
}

.so-layer-toggle__line--walk {
  border-color: #1dae87;
  border-top-style: dashed;
}

.so-layer-toggle__line--ferry {
  border-color: #1d76b8;
  border-top-style: dotted;
}

.so-layer-toggle__mark--landing {
  background: var(--white);
}

.so-layer-toggle__mark--gps {
  border-color: var(--white);
  background: var(--coral);
  box-shadow: 0 0 0 2px rgba(227, 95, 77, 0.25);
}

body.so-map-mode .so-map-attribution {
  bottom: calc(72px + env(safe-area-inset-bottom));
}

.so-node-popup {
  position: fixed;
  right: auto;
  bottom: calc(128px + env(safe-area-inset-bottom));
  left: 50%;
  z-index: 45;
  width: min(520px, calc(100vw - 24px));
  max-height: min(46svh, 420px);
  overflow: auto;
  padding: 14px;
  border: 1px solid rgba(21, 48, 56, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 45px rgba(21, 48, 56, 0.2);
  transform: translateX(-50%);
  backdrop-filter: blur(14px);
  -webkit-overflow-scrolling: touch;
}

.so-node-popup.so-node-popup--business-compact {
  top: var(--compact-business-popup-top, 50%);
  bottom: auto;
  left: var(--compact-business-popup-left, 50%);
  z-index: 62;
  width: max-content;
  max-width: min(210px, calc(100vw - 24px));
  max-height: none;
  overflow: visible;
  padding: 7px 9px 8px;
  border-color: rgba(16, 16, 16, 0.42);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 18px rgba(21, 48, 56, 0.18);
  transform: translate(-50%, calc(-100% - 12px));
  backdrop-filter: blur(10px);
}

.so-node-popup.so-node-popup--business-compact::after {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-right: 1px solid rgba(16, 16, 16, 0.42);
  border-bottom: 1px solid rgba(16, 16, 16, 0.42);
  background: rgba(255, 255, 255, 0.94);
  content: "";
  transform: translate(-50%, -5px) rotate(45deg);
}

.so-node-popup[hidden] {
  display: none;
}

.so-business-mini {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3px;
  min-width: 96px;
  max-width: 190px;
  text-align: center;
}

.so-business-mini--actions {
  max-width: min(260px, calc(100vw - 42px));
}

.so-business-mini--actions .so-node-popup__actions {
  justify-content: center;
  margin-top: 6px;
}

.so-business-mini strong {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.08;
}

.so-business-mini__status {
  justify-self: center;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.so-business-mini__status--open {
  color: #24744f;
}

.so-business-mini__status--closed {
  color: #943f34;
}

.so-node-popup__head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 10px;
}

.so-node-popup__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgb(var(--marker-icon-rim-rgb, 21 48 56) / var(--marker-icon-rim-opacity, 0.16));
  border-radius: 50%;
  background: var(--marker-icon-bg, #f7f8f3);
  color: var(--marker-icon-fg, var(--ink));
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: none;
  overflow: hidden;
}

.so-node-popup__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.so-node-popup__icon--photo img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center center;
}

.so-node-popup__landing-dot {
  display: block;
  width: 28px;
  height: 28px;
  border: 2px solid #101010;
  border-radius: 50%;
  background: var(--white);
}

.so-node-popup__image {
  display: block;
  width: 100%;
  max-height: 150px;
  margin-bottom: 10px;
  border-radius: 8px;
  object-fit: cover;
}

.so-node-popup__head small,
.so-node-popup__head strong {
  display: block;
}

.so-node-popup__head small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.so-node-popup__head strong {
  font-size: 1.02rem;
  line-height: 1.12;
}

.so-node-popup__title {
  min-width: 0;
}

.so-node-popup__head button {
  box-sizing: border-box;
  display: grid;
  width: 32px;
  min-width: 0;
  height: 32px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #153038;
  color: var(--white);
  font-weight: 900;
  line-height: 1;
}

.so-node-popup__range {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.so-node-popup__summary,
.so-node-popup__note {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 1.34;
}

.so-node-popup__note {
  color: var(--muted);
}

.so-live-status {
  display: grid;
  gap: 3px;
  margin: 8px 0 0;
  padding: 9px 10px;
  border: 1px solid rgba(13, 115, 128, 0.18);
  border-radius: 8px;
  background: #edf8f6;
  color: var(--ink);
}

.so-live-status--reduced {
  border-color: rgba(181, 118, 15, 0.34);
  background: #fff6df;
}

.so-live-status--alert {
  border-color: rgba(176, 49, 37, 0.34);
  background: #fff0ee;
}

.so-live-status__label {
  color: var(--harbour-dark);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.so-live-status--reduced .so-live-status__label,
.so-live-status--reduced .so-live-status__comment,
.so-live-status--reduced .so-live-status__departures dt {
  color: #8a5a00;
}

.so-live-status--alert .so-live-status__label,
.so-live-status--alert .so-live-status__comment,
.so-live-status--alert .so-live-status__departures dt {
  color: #9e3027;
}

.so-live-status strong,
.so-live-status small {
  display: block;
}

.so-live-status strong {
  font-size: 0.95rem;
  line-height: 1.18;
}

.so-live-status__comment {
  margin: 0;
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.32;
}

.so-live-status__comment {
  color: var(--harbour-dark);
  font-weight: 800;
}

.so-live-status__departures {
  display: grid;
  gap: 5px;
  margin: 3px 0 0;
}

.so-live-status__departures div {
  display: grid;
  gap: 1px;
}

.so-live-status__departures dt,
.so-live-status__departures dd {
  margin: 0;
}

.so-live-status__departures dt {
  color: var(--harbour-dark);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.so-live-status__departures dd {
  color: var(--ink);
  font-size: 0.8rem;
  line-height: 1.28;
}

.so-live-status__times {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}

.so-live-status__time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  padding: 3px 8px 2px;
  border: 1px solid rgba(10, 101, 121, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.05;
}

.so-live-status--reduced .so-live-status__time {
  border-color: rgba(181, 118, 15, 0.3);
}

.so-live-status--alert .so-live-status__time {
  border-color: rgba(176, 49, 37, 0.3);
}

.so-live-status__frequency {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.25;
}

.so-live-status__message {
  display: block;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.3;
}

.so-live-status small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.so-popup-booking {
  display: grid;
  gap: 0;
  margin: 12px 0 0;
  padding: 12px;
  border: 1px solid rgba(30, 70, 78, 0.16);
  border-top: 4px solid var(--harbour);
  border-radius: 4px;
  background: #f8fbfb;
  color: var(--ink);
}

.so-popup-booking__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px 14px;
  margin: 0 0 12px;
}

.so-popup-booking__kicker {
  flex: 0 0 auto;
  color: var(--harbour-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.so-popup-booking__head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.06rem;
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: 0;
  text-align: right;
  text-transform: none;
}

.so-popup-booking__body {
  display: grid;
  gap: 9px;
}

.so-popup-booking__lead {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1px 12px;
  align-items: center;
  padding: 9px 10px 10px;
  border-left: 3px solid var(--harbour);
  background: var(--white);
}

.so-popup-booking__lead span {
  grid-row: span 2;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.so-popup-booking__lead strong {
  color: var(--ink);
  font-size: 1.03rem;
  line-height: 1.15;
}

.so-popup-booking__lead small,
.so-popup-booking__meta,
.so-popup-booking__empty {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.so-popup-booking__section-title {
  margin: 2px 0 -1px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.so-popup-booking__list {
  display: grid;
  gap: 9px;
  margin: 0;
}

.so-popup-trip {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(150px, auto);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(30, 70, 78, 0.12);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.72);
}

.so-popup-trip--no-image {
  grid-template-columns: minmax(0, 1fr) minmax(150px, auto);
}

.so-popup-trip:first-child {
  border-top: 1px solid rgba(30, 70, 78, 0.12);
  padding-top: 10px;
}

.so-popup-trip:last-child {
  padding-bottom: 0;
}

.so-popup-trip__image {
  width: 72px;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: #e8f2f3;
}

.so-popup-trip__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.so-popup-trip__copy {
  display: grid;
  gap: 2px;
}

.so-popup-trip__copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 850;
  line-height: 1.22;
  letter-spacing: 0;
  text-transform: none;
}

.so-popup-trip__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.so-popup-trip__times {
  display: grid;
  gap: 7px;
  justify-items: end;
}

.so-popup-trip__slots {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  list-style: none;
}

.so-popup-trip__slot {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 5px 8px;
  border: 1px solid rgba(30, 70, 78, 0.14);
  border-radius: 4px;
  background: var(--white);
  line-height: 1.2;
  text-align: center;
}

.so-popup-trip__slot strong {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.so-popup-trip__slot small {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.2;
}

.so-popup-trip__more {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: right;
}

.so-popup-trip__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  min-height: 34px;
  min-width: 76px;
  padding: 7px 12px;
  border: 0;
  border-radius: 4px;
  background: var(--harbour);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.so-popup-booking__meta {
  margin: 0;
}

@media (max-width: 640px) {
  .so-popup-booking__head {
    display: block;
  }

  .so-popup-booking__kicker {
    display: block;
    margin-bottom: 4px;
  }

  .so-popup-booking__head h3 {
    text-align: left;
  }

  .so-popup-booking__lead {
    grid-template-columns: 1fr;
  }

  .so-popup-booking__lead span {
    grid-row: auto;
  }

  .so-popup-trip,
  .so-popup-trip--no-image {
    grid-template-columns: minmax(0, 1fr);
  }

  .so-popup-trip__image {
    display: none;
  }

  .so-popup-trip__times {
    justify-items: stretch;
  }

  .so-popup-trip__slots {
    justify-content: flex-start;
  }

  .so-popup-trip__more {
    text-align: left;
  }

  .so-popup-trip__button {
    width: 100%;
  }
}

.so-node-popup__today {
  display: grid;
  gap: 3px;
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.25;
}

.so-node-popup__today strong,
.so-node-popup__today span {
  display: block;
}

.so-node-popup__today strong {
  font-size: 0.74rem;
  text-transform: uppercase;
}

.so-node-popup__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.so-node-popup__chips span {
  padding: 5px 7px;
  border: 1px solid rgba(21, 48, 56, 0.1);
  border-radius: 8px;
  background: #eff5f2;
  font-size: 0.72rem;
  font-weight: 850;
}

.so-node-popup__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.so-node-popup__actions button {
  display: inline-grid;
  grid-template-columns: 17px auto;
  gap: 5px;
  align-items: center;
  min-height: 34px;
  padding: 6px 8px;
  border: 1px solid rgba(21, 48, 56, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.so-node-popup__action--directions {
  border-color: transparent !important;
  background: var(--harbour) !important;
  color: var(--white) !important;
}

.so-node-popup__action--availability {
  border-color: rgba(13, 115, 128, 0.24) !important;
  color: var(--harbour) !important;
}

.so-inline-action-icon {
  display: block;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  flex: 0 0 auto;
}

.so-calibration-panel {
  position: fixed;
  top: 82px;
  right: 10px;
  left: 10px;
  z-index: 80;
  display: grid;
  gap: 8px;
  max-width: 520px;
  padding: 10px;
  border: 1px solid rgba(21, 48, 56, 0.18);
  border-radius: 8px;
  background: rgba(247, 248, 243, 0.96);
  box-shadow: 0 18px 45px rgba(21, 48, 56, 0.18);
  backdrop-filter: blur(14px);
}

.so-calibration-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.so-calibration-panel small,
.so-calibration-panel strong {
  display: block;
}

.so-calibration-panel small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.so-calibration-panel strong {
  font-size: 0.86rem;
  line-height: 1.2;
}

.so-calibration-panel textarea {
  width: 100%;
  height: 86px;
  resize: vertical;
  padding: 8px;
  border: 1px solid rgba(21, 48, 56, 0.16);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  font: 0.72rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.so-calibration-artwork {
  display: grid;
  gap: 7px;
  padding: 8px;
  border: 1px solid rgba(21, 48, 56, 0.1);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.52);
}

.so-calibration-resize {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.so-calibration-pad {
  display: grid;
  grid-template-columns: repeat(3, 42px);
  grid-template-areas:
    ". up ."
    "left . right"
    ". down .";
  justify-content: center;
  gap: 4px;
}

.so-calibration-pad [data-calibration-nudge="up"] {
  grid-area: up;
}

.so-calibration-pad [data-calibration-nudge="left"] {
  grid-area: left;
}

.so-calibration-pad [data-calibration-nudge="right"] {
  grid-area: right;
}

.so-calibration-pad [data-calibration-nudge="down"] {
  grid-area: down;
}

.so-calibration-panel button {
  min-height: 34px;
  padding: 7px 10px;
  border: 0;
  border-radius: 7px;
  background: #163a41;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 850;
}

.so-calibration-panel__actions {
  display: flex;
  justify-content: flex-end;
}

.so-calibration-panel__actions button {
  background: #dcd6ca;
  color: var(--ink);
}

.so-node-popup__section {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(21, 48, 56, 0.1);
}

.so-node-popup__section h3 {
  margin: 0 0 6px;
  font-size: 0.9rem;
  line-height: 1.15;
}

.so-node-list {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 17px;
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.28;
}

.so-node-list--services {
  list-style: none;
  padding-left: 0;
}

.so-node-list--services li {
  display: grid;
  gap: 2px;
}

.so-node-list--services strong,
.so-node-list--services small {
  display: block;
}

.so-node-list--services small {
  color: var(--muted);
  font-size: 0.74rem;
}

.so-node-popup__section--bus h3 {
  color: var(--harbour-dark);
  font-size: 0.96rem;
}

.so-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(78px, 1fr));
  gap: 7px;
}

.so-service-button {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-height: 76px;
  padding: 7px 6px;
  border: 1px solid rgba(21, 48, 56, 0.14);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 0.7rem;
  font-weight: 850;
  line-height: 1.12;
  text-align: center;
  box-shadow: 0 4px 10px rgba(21, 48, 56, 0.08);
}

.so-service-button[aria-pressed="true"] {
  border-color: #101010;
  background: #eff5f2;
  box-shadow: inset 0 0 0 1px #101010, 0 5px 12px rgba(21, 48, 56, 0.1);
}

.so-service-button__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgb(var(--marker-icon-rim-rgb, 21 48 56) / var(--marker-icon-rim-opacity, 0.14));
  border-radius: 50%;
  background: var(--marker-icon-bg, #f7f8f3);
  color: var(--marker-icon-fg, var(--ink));
  overflow: hidden;
}

.so-service-button__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.so-service-button__icon--photo img {
  object-fit: cover;
  object-position: center center;
}

.so-icon-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border-radius: inherit;
  background: #ffffff;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
}

.so-map-cluster__stack .so-icon-fallback {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.so-map-cluster__icon.so-icon-fallback {
  border-radius: 50%;
}

.so-map-cluster__totem-icon.so-icon-fallback {
  width: var(--cluster-icon-size, 25px);
  height: var(--cluster-icon-size, 25px);
  border-radius: 50%;
}

.so-map-cluster__totem-icon--advertiser.so-icon-fallback {
  width: 32px;
  height: 32px;
}

.so-service-button__label {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.so-landing-guide-detail {
  gap: 10px;
}

.so-landing-guide[hidden] {
  display: none;
}

.so-landing-guide {
  display: grid;
  gap: 10px;
}

.so-landing-guide__title {
  margin: 0;
}

.so-landing-guide__title button {
  width: 100%;
  padding: 0 0 2px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.16;
  text-align: left;
  cursor: pointer;
}

.so-landing-guide__body {
  display: grid;
  gap: 7px;
}

.so-landing-guide__body p,
.so-landing-guide-route p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.36;
}

.so-landing-guide-routes {
  display: grid;
  gap: 8px;
}

.so-landing-guide-route {
  display: block;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(21, 48, 56, 0.13);
  border-radius: 8px;
  background: #ffffff;
}

.so-landing-guide-route[open] {
  border-color: rgba(21, 48, 56, 0.22);
  box-shadow: 0 10px 20px rgba(21, 48, 56, 0.08);
}

.so-landing-guide-route--secondary {
  background: #f7f8f3;
}

.so-landing-guide-route__summary {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) minmax(74px, 96px) 13px;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 8px;
  cursor: pointer;
  list-style: none;
}

.so-landing-guide-route__summary::-webkit-details-marker {
  display: none;
}

.so-landing-guide-route__head {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.so-landing-guide-route__icon {
  width: 34px;
  height: 34px;
}

.so-landing-guide-route__label {
  min-width: 0;
}

.so-landing-guide-route__head small,
.so-landing-guide-route__head strong,
.so-landing-guide-route__label small,
.so-landing-guide-route__label strong {
  display: block;
}

.so-landing-guide-route__head small,
.so-landing-guide-route__label small {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 850;
  text-transform: uppercase;
}

.so-landing-guide-route__head strong,
.so-landing-guide-route__label strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.14;
  text-overflow: ellipsis;
}

.so-landing-guide-route__big-next {
  color: var(--ink);
  font-weight: 850;
}

.so-landing-guide-route__big-next strong {
  font-size: 1.45rem;
  line-height: 1;
}

.so-landing-guide-route__meta {
  display: grid;
  justify-items: end;
  gap: 2px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: right;
}

.so-landing-guide-route__meta strong {
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.05;
}

.so-landing-guide-route__meta span {
  overflow-wrap: anywhere;
}

.so-landing-guide-route__meta--empty strong {
  font-size: 0.72rem;
}

.so-landing-guide-route__chevron {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 900;
  transition: transform 0.16s ease;
}

.so-landing-guide-route[open] .so-landing-guide-route__chevron {
  transform: rotate(180deg);
}

.so-landing-guide-route__details {
  display: grid;
  gap: 9px;
  padding: 0 9px 10px 51px;
}

.so-landing-guide-route:not([open]) > .so-landing-guide-route__details {
  display: none;
}

.so-landing-guide-route__expanded-route {
  display: grid;
  gap: 7px;
}

.so-landing-guide-route__expanded-route + .so-landing-guide-route__expanded-route {
  padding-top: 9px;
  border-top: 1px solid rgba(21, 48, 56, 0.11);
}

.so-landing-guide-route__direction {
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
}

.so-landing-guide-route__times,
.so-landing-guide-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.so-landing-guide-route__times span,
.so-landing-guide-services span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #eff5f2;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 850;
}

.so-landing-guide-route__secondary-link button,
.so-landing-guide__switch button,
.so-route-choice button {
  min-height: 32px;
  padding: 6px 8px;
  border: 0;
  border-radius: 7px;
  background: #153038;
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 850;
}

.so-landing-guide-route__secondary-link button {
  background: transparent;
  color: #153038;
  padding-inline: 0;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.so-landing-guide__switch {
  display: flex;
  justify-content: stretch;
}

.so-landing-guide__switch button {
  width: 100%;
}

.so-route-choice {
  display: grid;
  gap: 6px;
  padding: 8px;
  border-radius: 8px;
  background: #ffffff;
}

.so-route-choice strong {
  font-size: 1rem;
}

.so-service-details {
  display: grid;
  gap: 8px;
  margin-top: 9px;
}

.so-service-detail {
  display: grid;
  gap: 8px;
  padding: 9px;
  border: 1px solid rgba(21, 48, 56, 0.12);
  border-radius: 8px;
  background: #f7f8f3;
}

.so-service-detail--expanded {
  gap: 7px;
  padding: 7px;
  border: 0;
  background: transparent;
}

.so-service-detail[hidden] {
  display: none;
}

.so-service-detail__head {
  display: grid;
  gap: 2px;
}

.so-service-detail__head strong,
.so-service-detail__head small {
  display: block;
}

.so-service-detail__head small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.so-service-detail__next,
.so-service-detail__empty {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}

.so-service-detail__next {
  font-weight: 900;
}

.so-bus-times-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.so-bus-times-list li {
  display: grid;
  gap: 4px;
  padding: 9px 0;
  border-top: 1px solid rgba(21, 48, 56, 0.13);
}

.so-bus-times-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.so-bus-times-list strong,
.so-bus-times-list span {
  display: block;
  min-width: 0;
}

.so-bus-times-list strong {
  font-size: 0.95rem;
  line-height: 1.2;
}

.so-bus-times-list span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.3;
}

.so-service-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.so-service-detail__actions button,
.so-service-records > li > button {
  min-height: 34px;
  padding: 7px 9px;
  border: 0;
  border-radius: 7px;
  background: #153038;
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 850;
}

.so-landing-drawer .so-service-detail__actions button {
  min-height: 32px;
  padding: 6px 8px;
  font-size: 0.68rem;
}

.so-landing-drawer .so-node-list--services {
  max-height: 112px;
  overflow: auto;
}

.so-service-records {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.so-service-records li {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.so-service-records--buttons {
  display: grid;
  gap: 8px;
}

.so-service-record-button {
  display: grid;
  gap: 3px;
  width: 100%;
  min-height: 52px;
  padding: 8px 10px;
  border: 1px solid rgba(21, 48, 56, 0.14);
  border-radius: 8px;
  background: #f5faf8;
  color: var(--ink);
  font: inherit;
  text-align: left;
}

.so-service-record-button--with-icon {
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
}

.so-service-record-button--advertiser {
  border-color: rgba(16, 16, 16, 0.28);
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(16, 16, 16, 0.06);
}

.so-service-record-button__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgb(var(--marker-icon-rim-rgb, 21 48 56) / var(--marker-icon-rim-opacity, 0.16));
  border-radius: 50%;
  background: var(--marker-icon-bg, #f7f8f3);
  overflow: hidden;
}

.so-service-record-button__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.so-service-record-button--photo .so-service-record-button__icon img {
  object-fit: cover;
}

.so-service-record-button__text {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.so-service-record-button strong,
.so-service-record-button small,
.so-service-record-button span {
  display: block;
}

.so-service-record-button strong {
  font-size: 0.9rem;
  line-height: 1.15;
}

.so-service-record-button small {
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.25;
}

.so-service-record-button span {
  color: var(--harbour);
  font-size: 0.72rem;
  font-weight: 900;
}

.so-service-records strong,
.so-service-records small {
  display: block;
}

.so-service-records small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.25;
}

.so-cluster-records {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.so-cluster-record {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 58px;
  padding: 7px;
  border: 1px solid rgba(21, 48, 56, 0.12);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  text-align: left;
}

.so-cluster-record--advertiser {
  border-color: rgba(16, 16, 16, 0.32);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 0 0 1px rgba(16, 16, 16, 0.08), 0 5px 12px rgba(21, 48, 56, 0.1);
}

.so-cluster-record__icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgb(var(--marker-icon-rim-rgb, 21 48 56) / var(--marker-icon-rim-opacity, 0.16));
  border-radius: 50%;
  background: var(--marker-icon-bg, #f7f8f3);
  color: var(--marker-icon-fg, var(--ink));
  overflow: hidden;
}

.so-cluster-record__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.so-cluster-record__icon--photo img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center center;
}

.so-cluster-record__text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.so-cluster-record__text strong,
.so-cluster-record__text small,
.so-cluster-record__text span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.so-cluster-record__text strong {
  font-size: 0.84rem;
  line-height: 1.16;
}

.so-cluster-record__text small,
.so-cluster-record__text span {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.22;
}

.so-shared-building-marker {
  z-index: 4300;
  display: flex;
  align-items: center;
  width: var(--shared-strip-width, 24px);
  min-width: 0;
  height: 24px;
  padding: 8px 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  filter: drop-shadow(0 1px 1px rgba(21, 48, 56, 0.42));
  cursor: pointer;
}

.so-shared-building-marker > span {
  flex: 1 1 0;
  height: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.94);
  border-right: 1px solid rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.94);
  background: var(--shared-building-color, var(--harbour));
}

.so-shared-building-marker > span:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 999px 0 0 999px;
}

.so-shared-building-marker > span:last-child {
  border-radius: 0 999px 999px 0;
}

.so-shared-building-marker.is-selected > span {
  height: 10px;
  border-color: #153038;
}

.so-shared-building-marker.is-deemphasized {
  opacity: 0.34;
}

.so-shared-building-marker:focus-visible {
  outline: 2px solid #153038;
  outline-offset: 1px;
}

.so-shared-building-picker {
  width: min(282px, calc(100% - 24px));
  max-height: min(360px, 52svh);
  padding: 14px;
  overflow: auto;
}

.so-shared-building-picker__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 8px;
  align-items: center;
}

.so-shared-building-picker__head small,
.so-shared-building-picker__head strong {
  display: block;
}

.so-shared-building-picker__head small {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.so-shared-building-picker__head strong {
  font-size: 0.9rem;
  line-height: 1.1;
}

.so-shared-building-picker__head button {
  display: grid;
  width: 44px;
  min-width: 0;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #153038;
  color: #ffffff;
  font-weight: 900;
}

.so-shared-building-picker__hint {
  margin: 10px 0 8px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 760;
}

.so-shared-building-records {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.so-shared-building-record {
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  width: 100%;
  min-height: 39px;
  padding: 5px 7px;
  border: 1px solid rgba(21, 48, 56, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  text-align: left;
}

.so-shared-building-record--advertiser {
  border-color: rgba(21, 48, 56, 0.32);
  box-shadow: inset 0 0 0 1px rgba(21, 48, 56, 0.06);
}

.so-shared-building-record__swatch {
  width: 7px;
  height: 24px;
  border-radius: 999px;
  background: var(--shared-building-color, var(--harbour));
}

.so-shared-building-record__text {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.so-shared-building-record__text strong,
.so-shared-building-record__text small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.so-shared-building-record__text strong {
  font-size: 0.78rem;
  line-height: 1.15;
}

.so-shared-building-record__text small {
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1.15;
}

@media (max-width: 640px) {
  .so-shared-building-picker {
    top: auto;
    right: 8px;
    bottom: calc(72px + env(safe-area-inset-bottom));
    width: min(282px, calc(100% - 16px));
    max-height: min(44svh, 330px);
  }
}

.so-loading {
  display: grid;
  min-height: 50svh;
  place-items: center;
  text-align: center;
}

.so-loading img {
  border-radius: 12px;
}

.so-events-frame-screen {
  display: grid;
  gap: 10px;
  margin: -18px -14px 0;
  padding: 12px 12px 24px;
  background: #ffffff;
}

.so-events-content,
.so-events-list {
  display: grid;
  gap: 10px;
}

.so-events-loading,
.so-events-fallback {
  margin: 0;
  padding: 14px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--muted);
  font-weight: 850;
}

.so-events-fallback {
  display: grid;
  gap: 10px;
}

.so-events-fallback button,
.so-events-card button {
  justify-self: start;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  background: #153038;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
}

.so-events-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  padding: 8px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(21, 48, 56, 0.08);
}

.so-events-card__image {
  width: 88px;
  height: 88px;
  border-radius: 8px;
  object-fit: cover;
  background: #eef5f2;
}

.so-events-card__copy {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
}

.so-events-card h2,
.so-events-card p {
  margin: 0;
}

.so-events-card h2 {
  font-size: 0.98rem;
  line-height: 1.1;
}

.so-events-card p {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.22;
}

.so-events-card__meta {
  color: var(--ink);
  font-weight: 850;
}

.so-directory-screen {
  display: grid;
  gap: 14px;
  padding-bottom: 24px;
}

.so-directory-group {
  display: grid;
  gap: 8px;
}

.so-directory-group h2 {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.so-directory-list {
  display: grid;
  gap: 7px;
}

.so-directory-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  text-align: left;
  box-shadow: 0 8px 20px rgba(21, 48, 56, 0.08);
}

.so-directory-card__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #eef5f2;
}

.so-directory-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.so-directory-card__copy {
  min-width: 0;
}

.so-directory-card strong,
.so-directory-card small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.so-directory-card strong {
  font-size: 0.92rem;
}

.so-directory-card small {
  color: var(--muted);
  font-size: 0.78rem;
}

.so-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(21, 48, 56, 0.08);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.so-hero__copy h2 {
  margin: 4px 0 8px;
  font-size: 1.85rem;
  line-height: 1.05;
}

.so-hero__copy p {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
}

.so-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.so-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 8px;
  background: #eaf4f0;
  color: #1f6955;
  font-size: 0.82rem;
  font-weight: 750;
}

.so-qr-card {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 116px;
  padding: 14px;
  border-radius: 8px;
  background: #123840;
  color: var(--white);
}

.so-qr-card strong {
  overflow-wrap: anywhere;
  font-size: 1rem;
}

.so-qr-card button,
.so-save-strip button,
.so-chip-row button {
  min-height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: inherit;
  font-weight: 750;
}

.so-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.so-action {
  display: grid;
  align-content: space-between;
  min-height: 94px;
  padding: 14px;
  border-radius: 8px;
  background: var(--harbour);
  color: var(--white);
  text-align: left;
  box-shadow: 0 12px 26px rgba(21, 48, 56, 0.12);
}

.so-action--with-icon {
  align-content: start;
  gap: 10px;
  min-height: 112px;
}

.so-action__icon-wrap {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 0 0 1px rgba(21, 48, 56, 0.08);
}

.so-action--sun .so-action__icon-wrap {
  background: rgba(255, 255, 255, 0.78);
}

.so-action__icon {
  display: block;
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.so-action__icon.so-icon-fallback {
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--harbour);
  font-size: 0.72rem;
  font-weight: 850;
}

.so-action-grid .so-action:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.so-action--coral {
  background: var(--coral);
}

.so-action--leaf {
  background: var(--leaf);
}

.so-action--sun {
  background: var(--sun);
  color: #332a10;
}

.so-action__title {
  font-weight: 820;
}

.so-action__note {
  margin-top: 10px;
  font-size: 0.78rem;
  opacity: 0.82;
}

.so-map-card {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  margin-top: 14px;
  border: 1px solid rgba(21, 48, 56, 0.09);
  border-radius: 8px;
  background: #cfe9eb;
  box-shadow: var(--shadow);
}

.so-map-tile-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #bedde2;
}

.so-coordinate-map .so-map-tile-layer {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.55) 25%, transparent 25%) 0 0 / 24px 24px,
    linear-gradient(135deg, transparent 75%, rgba(255, 255, 255, 0.36) 75%) 0 0 / 24px 24px,
    linear-gradient(180deg, #cfe9eb, #d8ead4);
}

.so-map-tile {
  position: absolute;
  width: 256px;
  height: 256px;
  user-select: none;
  -webkit-user-drag: none;
}

.so-map-label,
.so-map-attribution {
  position: absolute;
  z-index: 3;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 16px rgba(21, 48, 56, 0.12);
  color: var(--ink);
  font-weight: 850;
}

.so-map-label {
  top: 12px;
  left: 12px;
  padding: 8px 10px;
  font-size: 0.95rem;
}

.so-map-attribution {
  right: 8px;
  bottom: 8px;
  padding: 4px 7px;
  font-size: 0.68rem;
}

.so-map-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 4;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--harbour);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(21, 48, 56, 0.24);
  transform: translate(-50%, -50%);
}

.so-map-pin.is-selected {
  width: 44px;
  height: 44px;
  background: var(--coral);
}

.so-map-pin span {
  font-size: 0.82rem;
  font-weight: 850;
}

.so-panel-grid,
.so-conditions-status,
.so-conditions-grid,
.so-card-list,
.so-nearby,
.so-demo-tags,
.so-save-strip,
.so-context-card {
  margin-top: 14px;
}

.so-context-card {
  padding: 14px;
  border: 1px solid rgba(13, 115, 128, 0.18);
  border-radius: 8px;
  background: #edf8f6;
}

.so-context-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.so-panel-grid {
  display: grid;
  gap: 12px;
}

.so-panel {
  padding: 16px;
  border: 1px solid rgba(21, 48, 56, 0.09);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(21, 48, 56, 0.08);
}

.so-panel h3,
.so-condition-card h3,
.so-nearby h3,
.so-demo-tags h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.so-conditions-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.so-conditions-status span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #edf8f6;
  color: var(--harbour-dark);
  font-size: 0.82rem;
  font-weight: 750;
}

.so-conditions-grid {
  display: grid;
  gap: 12px;
}

.so-condition-card {
  padding: 16px;
  border: 1px solid rgba(21, 48, 56, 0.09);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(21, 48, 56, 0.08);
}

.so-condition-card__summary {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.45;
}

.so-condition-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.so-condition-metrics div {
  min-width: 0;
  padding: 10px;
  border-radius: 8px;
  background: #f4f5ee;
}

.so-condition-metrics dt {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.so-condition-metrics dd {
  margin: 3px 0 0;
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 850;
}

.so-tide-extremes,
.so-condition-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.so-tide-extremes span,
.so-condition-sources span,
.so-condition-sources button {
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #edf8f6;
  color: var(--harbour-dark);
  font-size: 0.82rem;
  font-weight: 750;
}

.so-condition-sources button {
  cursor: pointer;
}

.so-trips-board {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(13, 115, 128, 0.14);
  border-top: 4px solid var(--harbour);
  border-radius: 8px;
  background: #f8fbfb;
}

.so-trip-lead {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 12px;
  align-items: center;
  padding: 10px 12px;
  border-left: 3px solid var(--harbour);
  background: var(--white);
}

.so-trip-lead span {
  grid-row: span 2;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 850;
  text-transform: uppercase;
}

.so-trip-lead strong {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.18;
}

.so-trip-lead small {
  color: var(--muted);
  font-size: 0.84rem;
}

.so-trips-list {
  display: grid;
  gap: 0;
}

.so-trips-board .so-condition-card.so-trip-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(172px, auto);
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border: 0;
  border-top: 1px solid rgba(13, 115, 128, 0.13);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.so-trips-board .so-condition-card.so-trip-card:first-child {
  border-top: 0;
  padding-top: 2px;
}

.so-trips-board .so-condition-card.so-trip-card:last-child {
  padding-bottom: 2px;
}

.so-trips-board .so-condition-card.so-trip-card--empty {
  display: block;
}

.so-trip-card__image {
  width: 72px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  background: #edf8f6;
}

.so-trip-card__body {
  min-width: 0;
}

.so-trip-card__body h3 {
  margin-bottom: 4px;
  line-height: 1.2;
}

.so-trip-card__copy {
  margin: 0;
  color: var(--ink);
  line-height: 1.45;
}

.so-trip-card__times {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.so-trip-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.so-trip-slot {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 6px 9px;
  border: 1px solid rgba(13, 115, 128, 0.12);
  border-radius: 4px;
  background: var(--white);
  text-align: center;
}

.so-trip-slot strong,
.so-trip-slot span {
  font-size: 0.84rem;
  line-height: 1.2;
}

.so-trip-slot strong {
  color: var(--ink);
  white-space: nowrap;
}

.so-trip-slot span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.so-trip-card__button {
  min-height: 38px;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--harbour);
  color: var(--white);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

.so-trip-source-card {
  margin-top: 14px;
}

@media (max-width: 640px) {
  .so-trip-lead {
    grid-template-columns: 1fr;
  }

  .so-trip-lead span {
    grid-row: auto;
  }

  .so-trips-board .so-condition-card.so-trip-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .so-trip-card__image {
    display: none;
  }

  .so-trip-card__times {
    justify-items: stretch;
  }

  .so-trip-slots {
    justify-content: flex-start;
  }

  .so-trip-card__button {
    width: 100%;
  }
}

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

.so-list li {
  padding-left: 16px;
  color: var(--muted);
}

.so-list li::before {
  content: "";
  float: left;
  width: 7px;
  height: 7px;
  margin: 8px 0 0 -16px;
  border-radius: 50%;
  background: var(--sun);
}

.so-list--plain li {
  padding-left: 0;
}

.so-list--plain li::before {
  content: none;
}

.so-card-list {
  display: grid;
  gap: 8px;
}

.so-row-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 64px;
  padding: 12px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  text-align: left;
  box-shadow: 0 8px 20px rgba(21, 48, 56, 0.08);
}

.so-row-card strong,
.so-row-card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.so-row-card small {
  color: var(--muted);
  font-size: 0.82rem;
}

.so-demo-tags {
  padding: 16px;
  border-radius: 8px;
  background: #123840;
  color: var(--white);
}

.so-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.so-chip-row button {
  padding: 8px 10px;
}

.so-save-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.so-save-strip button {
  min-height: 46px;
  background: #dfe9e4;
  color: var(--ink);
}

.so-save-strip button.is-saved {
  background: var(--leaf);
  color: var(--white);
}

.so-empty {
  margin: 0;
  color: var(--muted);
}

.so-bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  min-height: calc(74px + env(safe-area-inset-bottom));
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(21, 48, 56, 0.1);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
}

.so-nav-button {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 54px;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.so-nav-button span:first-child {
  font-size: 1.25rem;
  line-height: 1;
}

.so-nav-button.is-active {
  background: #eaf4f0;
  color: var(--harbour-dark);
}

@media (min-width: 720px) {
  .so-shell {
    padding-bottom: 24px;
  }

  .so-topbar {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    padding-right: 24px;
    padding-left: 24px;
  }

  .so-header-menu {
    right: 0;
    left: 0;
    width: auto;
    padding-right: 24px;
    padding-left: 24px;
  }

  .so-calibration-panel {
    left: auto;
    width: 420px;
  }

  .so-node-popup {
    right: auto;
    left: 18px;
    width: min(380px, calc(100vw - 36px));
    max-height: min(54svh, 430px);
  }

  .so-map-footer {
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .so-filter-drawer {
    right: 0;
    bottom: calc(62px + env(safe-area-inset-bottom));
    left: 0;
    width: 100%;
    height: auto;
    max-height: var(--options-drawer-height);
  }

  .so-map-footer.is-open .so-filter-drawer {
    bottom: calc(62px + env(safe-area-inset-bottom));
  }

  .so-main {
    padding: 26px 24px 40px;
  }

  .so-events-frame-screen {
    margin: -26px -24px -40px;
    padding: 16px 18px 32px;
  }

  .so-events-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .so-directory-screen {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .so-hero {
    grid-template-columns: minmax(0, 1fr) 260px;
    align-items: stretch;
  }

  .so-action-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .so-action-grid .so-action:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .so-panel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .so-conditions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .so-map-card {
    min-height: 360px;
  }

  .so-bottom-nav {
    right: 24px;
    bottom: 18px;
    left: auto;
    width: min(430px, calc(100vw - 48px));
    min-height: 66px;
    border: 1px solid rgba(21, 48, 56, 0.1);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
}

@media (min-width: 1024px) {
  .so-main {
    display: block;
  }

  .so-hero__copy h2 {
    font-size: 2.25rem;
  }
}

@media (min-width: 960px) {
  .so-shell {
    padding-right: var(--desktop-rail-width);
    padding-bottom: 0;
  }

  .so-header,
  body.so-map-mode .so-header {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: var(--desktop-rail-width);
    border-left: 1px solid rgba(21, 48, 56, 0.14);
    background: var(--header-blue);
    box-shadow: -12px 0 28px rgba(21, 48, 56, 0.12);
  }

  .so-topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 70px;
    padding: 12px 14px 8px;
  }

  .so-menu-toggle {
    display: none;
  }

  .so-brand {
    justify-items: start;
  }

  .so-brand__online {
    width: min(190px, 100%);
  }

  .so-header-menu,
  .so-header-menu[hidden],
  body.so-menu-is-open .so-header-menu {
    position: static;
    display: grid;
    width: auto;
    padding: 6px 14px 14px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }

  .so-menu-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }

  .so-menu-route {
    min-height: 40px;
    place-items: center start;
    padding: 9px 12px;
    text-align: left;
  }

  .so-main {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 30px;
  }

  body.so-map-mode .so-shell {
    padding-right: var(--desktop-rail-width);
  }

  body.so-map-mode .so-main {
    height: 100svh;
    padding: 0;
  }

  .so-map-first {
    height: 100svh;
    min-height: 560px;
  }

  .so-direction-card,
  .so-route-guidance {
    right: calc(var(--desktop-rail-width) + 16px);
    left: 16px;
    width: min(560px, calc(100% - var(--desktop-rail-width) - 32px));
  }

  .so-map-footer {
    top: 208px;
    right: 0;
    bottom: 0;
    left: auto;
    width: var(--desktop-rail-width);
    padding: 0;
    border-left: 1px solid rgba(21, 48, 56, 0.14);
    background: var(--paper);
    pointer-events: auto;
  }

  .so-map-filter-bar--options {
    display: none;
  }

  .so-filter-drawer,
  .so-filter-drawer[hidden],
  .so-map-footer.is-open .so-filter-drawer {
    position: static;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }

  .so-filter-drawer__header {
    min-height: 72px;
    padding: 12px 14px;
  }

  .so-filter-close {
    display: none;
  }

  .so-filter-drawer__body {
    min-height: 0;
    padding: 10px;
  }

  .so-view-group {
    padding: 10px;
  }

  .so-category-toggle-grid {
    gap: 5px;
  }

  .so-category-toggle {
    min-height: 48px;
  }

  .so-icon-filter-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .so-route-filter-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .so-icon-filter-toggle,
  .so-route-filter-toggle {
    width: 100%;
  }

  .so-events-frame-screen {
    margin: -30px;
  }
}
/* Event window and the shared, read-only venue picker. */
.so-events-map-screen [data-event-window] { display:flex; flex-wrap:wrap; gap:12px; padding:12px; }
.so-events-map-screen [data-event-date-controls] { width:100%; min-width:0; }
.so-events-map-screen [data-event-window] label { display:grid; gap:4px; }
.so-events-map-screen .so-map-stage { position:relative; inset:auto; height:55svh; min-height:320px; isolation:isolate; }
.so-events-session { display:block; width:100%; padding:14px; text-align:left; margin:4px 0; }
.so-event-pin { background:#7f267d; color:white; border:3px solid white; border-radius:50%; width:38px; height:38px; font-weight:bold; }
.so-event-venue-picker { position:absolute; z-index:30; top:8px; left:8px; background:white; color:#163c43; padding:12px; border-radius:8px; width:min(320px, calc(100% - 16px)); max-height:70%; overflow:auto; box-shadow:0 2px 16px #0003; }
.so-event-venue-picker label,.so-event-venue-picker select { display:block; width:100%; margin:6px 0; }
.so-event-picker-mode .so-header,
.so-event-picker-mode .so-filter-drawer,
.so-event-picker-mode .so-map-footer,
.so-event-picker-mode .so-map-gps-control { display:none !important; }
.so-event-picker-mode .so-main,
.so-event-picker-mode .so-tourist-map { margin:0 !important; width:100% !important; }
.so-event-picker-mode .so-event-venue-picker { max-height:calc(100% - 16px); }
.so-building-hover { pointer-events: none; }
.so-building-hover .maplibregl-popup-content { padding: 12px 16px; border-radius: 12px; color: #203d43; box-shadow: 0 3px 18px #153d4333; font: 14px/1.4 system-ui, sans-serif; }
.so-building-hover__business + .so-building-hover__business { margin-top: 8px; }
.so-building-hover strong, .so-building-hover span, .so-building-hover small { display: block; }
.so-building-hover span, .so-building-hover small { font-size: 12px; color: #526b71; }
.so-building-hover small { margin-top: 8px; }
.so-child-event-detail { padding: 20px; margin: 14px 0; background: #fff; color: #173c4b; border: 1px solid #b7cbd2; border-radius: 8px; }
.so-child-event-detail[hidden] { display: none; }
.so-child-event-detail img { display: block; width: min(100%, 320px); height: auto; margin: 12px 0; }
.so-child-event-detail button, .so-child-event-detail a { display: block; margin: 10px 0; white-space: normal; text-align: left; }
.so-child-event-detail p { white-space: pre-wrap; }
.so-event-browse-layout { display:grid; grid-template-columns:minmax(0, 1fr) minmax(280px, 360px); gap:16px; }
.so-event-presets { display:flex; flex-wrap:wrap; gap:8px; }
.so-event-presets button, .so-events-session, .so-event-programme button, .so-child-event-detail button, [data-custom-dates] button { border:1px solid #a9c5c7; border-radius:8px; padding:10px 14px; font:inherit; background:#fff; color:#153d43; cursor:pointer; }
.so-event-presets button:hover, .so-events-session:hover { background:#e0efeb; }
.so-events-card.so-events-card--session { display:grid; grid-template-columns:88px minmax(0,1fr); gap:10px; width:100%; margin:8px 0; padding:8px; border:1px solid #b7cbd2; color:var(--ink); text-align:left; cursor:pointer; font:inherit; }
.so-events-card--session:hover { background:#f5faf8; border-color:#0d7e86; box-shadow:0 10px 24px rgba(21,48,56,.14); }
.so-events-card--session .so-events-card__media { display:grid; width:88px; height:88px; place-content:center; justify-items:center; overflow:hidden; border-radius:8px; background:#eef5f2; color:#0d5d66; text-transform:uppercase; }
.so-events-card--session .so-events-card__media strong { font-size:1.8rem; line-height:1; }
.so-events-card--session .so-events-card__media span { margin-top:4px; font-size:.72rem; font-weight:900; }
.so-events-card--session .so-events-card__image { display:block; width:100%; height:100%; border-radius:0; }
.so-events-card--session .so-events-card__copy { display:grid; align-content:center; gap:5px; min-width:0; }
.so-events-card--session .so-events-card__title { color:var(--ink); font-size:.98rem; line-height:1.15; }
.so-events-card--session .so-events-card__meta,
.so-events-card--session .so-events-card__summary,
.so-events-card--session .so-events-card__facts { color:var(--muted); font-size:.78rem; line-height:1.3; }
.so-events-card--session .so-events-card__facts { color:#765318; font-weight:800; }
.so-events-card--session .so-events-card__cue { color:#0d5d66; font-size:.72rem; font-weight:900; text-transform:uppercase; }
.so-events-map-screen input, .so-events-filter-drawer input { box-sizing:border-box; width:100%; padding:10px; border:1px solid #a9c5c7; border-radius:6px; font:inherit; }
.so-event-presets button[aria-pressed="true"] { background:#0d5d66; color:white; }
.so-event-date-slider { width:100%; min-width:0; margin:0; padding:0; border:0; color:#153d43; }
.so-event-date-slider legend { padding:0; font-weight:900; }
.so-event-date-slider__hint { margin:4px 0 0; color:#526b71; font-size:.84rem; }
.so-event-date-slider__summary { margin:8px 0; color:#0d5d66; font-weight:800; }
.so-event-date-slider__track { position:relative; height:34px; margin:4px 10px 8px; }
.so-event-date-slider__track::before,
.so-event-date-slider__selection { position:absolute; top:15px; height:5px; border-radius:99px; content:""; }
.so-event-date-slider__track::before { left:0; right:0; background:#c7d9d8; }
.so-event-date-slider__selection { left:var(--event-range-start); right:calc(100% - var(--event-range-end)); background:#0d7e86; }
.so-event-date-slider__track input[type="range"] { position:absolute; inset:0; z-index:2; width:100%; height:34px; margin:0; padding:0; border:0; border-radius:0; background:transparent; pointer-events:none; appearance:none; -webkit-appearance:none; }
.so-event-date-slider__track input[type="range"]:last-child { z-index:3; }
.so-event-date-slider.is-start-on-top .so-event-date-slider__track input[type="range"]:first-of-type { z-index:4; }
.so-event-date-slider__track input[type="range"]:focus-visible { outline:none; }
.so-event-date-slider__track input[type="range"]::-webkit-slider-runnable-track { height:5px; background:transparent; }
.so-event-date-slider__track input[type="range"]::-webkit-slider-thumb { width:24px; height:24px; margin-top:-10px; border:3px solid #fff; border-radius:50%; background:#0d5d66; box-shadow:0 1px 5px #0005; pointer-events:auto; appearance:none; -webkit-appearance:none; }
.so-event-date-slider__track input[type="range"]::-moz-range-track { height:5px; background:transparent; }
.so-event-date-slider__track input[type="range"]::-moz-range-thumb { width:18px; height:18px; border:3px solid #fff; border-radius:50%; background:#0d5d66; box-shadow:0 1px 5px #0005; pointer-events:auto; }
.so-event-date-slider__track input[type="range"]:focus-visible::-webkit-slider-thumb { outline:3px solid #e6a63a; outline-offset:2px; }
.so-event-date-slider__track input[type="range"]:focus-visible::-moz-range-thumb { outline:3px solid #e6a63a; outline-offset:2px; }
.so-event-date-slider__dates { display:flex; gap:6px; width:100%; overflow-x:auto; padding:2px 2px 8px; scrollbar-width:thin; scroll-snap-type:x proximity; }
.so-event-date-slider__dates button { flex:0 0 auto; min-width:76px; padding:8px 10px; border:1px solid #b7cbd2; border-radius:999px; background:#fff; color:#526b71; font:inherit; font-size:.78rem; font-weight:800; cursor:pointer; scroll-snap-align:center; }
.so-event-date-slider__dates button.is-selected { border-color:#0d7e86; background:#e0efeb; color:#0d5d66; }
.so-event-date-slider__dates button.is-edge { background:#0d5d66; color:#fff; }
.so-event-date-slider__dates button:focus-visible { outline:3px solid #e6a63a; outline-offset:2px; }
.so-event-results-panel { max-height:65svh; overflow:auto; padding:12px; border:1px solid #b7cbd2; background:#f8fbfa; }
.so-event-results-panel summary { cursor:pointer; font-weight:700; }
.so-event-programme { padding:12px 0; border-bottom:1px solid #b7cbd2; }
.so-event-outside-range { color:#765318; font-weight:600; }
.so-events-map-screen .so-map-footer, .so-events-map-screen .so-map-gps-control { display:none !important; }
@media(max-width:760px) { .so-event-browse-layout { grid-template-columns:1fr; } .so-event-results-panel { max-height:55svh; } }
.so-events-filter-drawer__body { align-content:start; min-height:0; }
.so-events-filter-drawer [data-event-window],
.so-events-filter-drawer [data-event-date-controls],
.so-events-filter-drawer [data-custom-dates] { display:grid; gap:10px; min-width:0; }
.so-events-filter-drawer [data-custom-dates] label { display:grid; gap:4px; color:var(--muted); font-size:.76rem; font-weight:800; }
.so-events-filter-drawer .so-event-results-panel { min-height:0; max-height:none; padding:0; border:0; background:transparent; overflow:visible; }
.so-events-filter-drawer .so-events-card--session { grid-template-columns:68px minmax(0,1fr); }
.so-events-filter-drawer .so-events-card--session .so-events-card__media { width:68px; height:68px; }
@media(max-width:959px) {
  .so-events-filter-drawer { max-height:min(78svh,680px); }
  .so-events-filter-drawer__body { overflow-y:auto; }
}
.so-focused-map .so-header, .so-focused-map .so-map-footer, .so-focused-map .so-map-gps-control { display:none!important; }
.so-focused-map .so-shell { padding:0!important; --desktop-rail-width:0px; }
.so-focused-map .so-tourist-map-stage { overscroll-behavior:auto; }
.so-focused-map:not(.so-embed-interactive) .so-tourist-map-stage,
.so-focused-map:not(.so-embed-interactive) .maplibregl-canvas-container,
.so-focused-map:not(.so-embed-interactive) .maplibregl-canvas { touch-action:pan-y!important; }
.so-focused-map .so-main { margin:0!important; padding:0!important; width:100%!important; max-width:none!important; }
.so-focused-map .so-item-drawer, .so-focused-map [data-node-popup], .so-focused-map .so-map-fullscreen { display:none!important; }
.so-focused-map .so-map-stage { top:0!important; right:0!important; }
.so-focused-map [data-map-expand] { position:fixed; bottom:10px; left:10px; z-index:10000; background:#fff; color:#075960; padding:10px; border-radius:6px; }

/* One visitor map; independently scrolling panels and two detail sizes. */
body.so-visitor-ui { --desktop-rail-width:340px; overflow:hidden; }
body.so-visitor-ui .so-shell { width:100%; max-width:none; margin:0; padding:0; }
body.so-visitor-ui .so-main { margin:0!important; padding:0!important; max-width:none!important; width:100%!important; }
body.so-visitor-ui .so-map-stage { inset:0; width:100%; height:100dvh; border:0; border-radius:0; }
body.so-visitor-ui .so-map-first { min-height:0; height:100dvh; }
body.so-visitor-ui .so-map-stage h2, body.so-visitor-ui .so-visitor-rail h2 { font-size:20px; line-height:1.25; margin:0 0 8px; text-transform:none; letter-spacing:0; color:var(--ink); }
body.so-visitor-ui .so-header { z-index:6000; }
body.so-visitor-ui .so-menu-toggle { display:none; }
body.so-visitor-ui .so-header-menu, body.so-visitor-ui .so-header-menu[hidden] { display:block; visibility:visible; opacity:1; transform:none; pointer-events:auto; }
body.so-visitor-ui .so-menu-grid { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
body.so-visitor-ui .so-menu-route { text-transform:none; letter-spacing:0; font-size:15px; }
body.so-visitor-ui .so-menu-route.is-active { background:#fff; color:#075960; }
.so-visitor-rail { position:fixed; z-index:6001; right:0; top:180px; bottom:0; width:var(--desktop-rail-width); background:#f7faf9; overflow:hidden; border-left:1px solid #d8e4e5; }
.so-visitor-rail > section { height:100%; overflow:auto; overscroll-behavior:contain; padding:18px 16px; box-sizing:border-box; }
.so-visitor-rail [hidden] { display:none!important; }
.so-visitor-rail p { font-size:14px; line-height:1.5; margin:6px 0 12px; }
.so-visitor-rail button { text-transform:none; letter-spacing:0; min-height:44px; }
.so-visitor-rail .so-view-group { margin:8px 0; padding:10px; box-shadow:none; }
.so-visitor-rail summary { cursor:pointer; font-size:16px; font-weight:700; min-height:28px; }
.so-visitor-rail .so-category-toggle,.so-visitor-rail .so-view-choice { min-height:44px; padding:6px 8px; font-size:14px; margin:4px 0; width:100%; }
.so-visitor-rail .so-category-toggle__mark,.so-visitor-rail .so-route-filter-toggle__mark { width:28px; height:28px; min-width:28px; }
.so-welcome-actions { display:grid; gap:6px; margin:12px 0; }
.so-welcome-actions button,.so-visitor-view-actions button,.so-visitor-row { border:1px solid #bad2d5; border-radius:7px; background:white; color:#075960; padding:8px 10px; text-align:left; }
.so-visitor-view-actions { display:flex; gap:8px; position:sticky; bottom:0; background:#f7faf9; padding-top:10px; }
.so-visitor-rail .so-filter-drawer { position:static; display:block; height:auto; width:100%; max-height:none; background:none; box-shadow:none; border:0; padding:0; transform:none; visibility:visible; opacity:1; pointer-events:auto; overflow:visible; }
.so-visitor-rail .so-filter-drawer__header { padding:4px 0 14px; min-height:0; }
.so-visitor-rail .so-filter-drawer__body { padding:0; overflow:visible; }
.so-visitor-rail .so-filter-close,.so-visitor-rail .so-filter-drawer__header small { display:none; }
.so-visitor-rail .so-event-presets { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
.so-visitor-rail .so-event-presets button { font-size:14px; padding:6px; }
.so-visitor-rail [data-event-fit] { width:100%; margin:8px 0; border:1px solid #0d6f77; border-radius:7px; background:#0d6f77; color:#fff; font:inherit; font-weight:800; }
.so-visitor-rail [data-event-fit]:hover:not(:disabled) { background:#075960; }
.so-visitor-rail [data-event-fit]:disabled { border-color:#bfd1d3; background:#e8efef; color:#6c7d80; cursor:not-allowed; }
.so-visitor-rail .so-event-programme h3,.so-visitor-rail .so-event-programme h4 { font-size:15px; margin:14px 0 6px; text-transform:none; letter-spacing:0; }
:is(.so-visitor-rail,.so-visitor-detail) .so-events-card.so-events-card--session { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; width:100%; min-height:64px; gap:10px; padding:9px; margin:6px 0; color:var(--ink); text-align:left; border:1px solid #d4e1e2; background:white; border-radius:7px; box-shadow:none; }
:is(.so-visitor-rail,.so-visitor-detail) button.so-events-card:not(.so-events-card--session) { display:block; width:100%; min-height:64px; margin:6px 0; padding:12px; border:1px solid #d4e1e2; border-radius:7px; background:#fff; color:#153038; -webkit-text-fill-color:#153038; font:inherit; font-weight:750; line-height:1.3; text-align:left; }
:is(.so-visitor-rail,.so-visitor-detail) button.so-events-card:not(.so-events-card--session):hover { border-color:#0d7e86; background:#f5faf8; }
:is(.so-visitor-rail,.so-visitor-detail) .so-events-card--session .so-events-card__media { flex:0 0 32px; width:32px; height:32px; min-height:0; overflow:hidden; }
:is(.so-visitor-rail,.so-visitor-detail) .so-events-card__image { width:32px; height:32px; object-fit:contain; }
:is(.so-visitor-rail,.so-visitor-detail) img[data-media-kind="photo"] { object-fit:cover; }
:is(.so-visitor-rail,.so-visitor-detail) .so-events-card__copy { display:grid; width:100%; min-width:0; gap:3px; color:var(--ink); visibility:visible; opacity:1; }
:is(.so-visitor-rail,.so-visitor-detail) .so-events-card__title { font-size:15px; line-height:1.25; text-transform:none; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
:is(.so-visitor-rail,.so-visitor-detail) .so-events-card__meta,:is(.so-visitor-rail,.so-visitor-detail) .so-events-card__facts { display:block; font-size:12px; line-height:1.4; letter-spacing:0; text-transform:none; }
:is(.so-visitor-rail,.so-visitor-detail) .so-events-card__summary,:is(.so-visitor-rail,.so-visitor-detail) .so-events-card__cue { display:none; }
:is(.so-visitor-rail,.so-visitor-detail) .so-events-card__media--date strong { font-size:14px; line-height:1; }
:is(.so-visitor-rail,.so-visitor-detail) .so-events-card__media--date span { margin-top:1px; font-size:9px; line-height:1; }
.so-visitor-detail { --so-popup-padding:14px; position:fixed!important; left:16px!important; right:auto!important; top:16px!important; bottom:auto!important; transform:none!important; width:min(560px,calc(100vw - var(--desktop-rail-width) - 32px))!important; max-width:none!important; max-height:calc(100dvh - 32px)!important; margin:0; overflow:auto; border:1px solid #aec9cd; border-radius:12px; background:#fff; box-shadow:0 6px 24px #143e4526; z-index:5500; padding:var(--so-popup-padding); box-sizing:border-box; }
.so-visitor-detail[hidden] { display:none!important; }
.so-visitor-detail [hidden] { display:none!important; }
.so-visitor-detail.is-preview { top:auto!important; bottom:24px!important; width:min(320px,calc(100vw - var(--desktop-rail-width) - 32px))!important; }
.so-visitor-detail .so-node-popup__head { position:sticky; top:calc(-1 * var(--so-popup-padding)); min-height:44px; padding:0 0 10px; background:white; z-index:1; }
.so-visitor-detail .so-event-detail-head { grid-template-columns:minmax(0,1fr) 44px; }
.so-visitor-detail .so-node-popup__head button { width:44px; height:44px; }
.so-visitor-detail .so-node-popup__image { max-height:240px; width:100%; object-fit:contain; border-radius:8px; }
.so-visitor-detail .so-node-popup__icon,.so-visitor-detail .so-node-popup__icon img { border-radius:7px; object-fit:contain; }
.so-visitor-detail h3 { margin:18px 0 8px; font-size:18px; }
.so-visitor-detail p { font-size:16px; line-height:1.5; overflow-wrap:anywhere; }
.so-visitor-detail button,.so-visitor-detail a { min-height:44px; }
.so-visitor-detail button { text-transform:none; letter-spacing:0; }
.so-visitor-preview p { margin:4px 0 8px; font-size:14px; }
.so-visitor-preview .so-node-popup__icon { width:32px; height:32px; }
.so-visitor-actions { display:flex; gap:8px; flex-wrap:wrap; }
.so-visitor-actions a,.so-visitor-actions button { display:inline-flex; align-items:center; padding:8px 12px; border:1px solid #aacbd0; border-radius:6px; color:#075960; background:#fff; }
.so-visitor-row { display:block; width:100%; margin:6px 0; }
.so-sheet-controls { display:none; }
.so-back-stop { pointer-events:auto; position:fixed; top:72px; left:16px; z-index:5500; padding:10px; background:white; }
.so-event-focus .so-map-marker:not(.is-event-host):not([data-map-layer="gps"]),.so-event-focus .so-route-marker { opacity:.25!important; filter:none!important; }
.so-event-focus .so-map-marker.is-event-host { opacity:1!important; filter:none!important; }
.so-map-marker--logo,.maplibregl-marker.so-map-marker--logo,.so-map-marker--logo.is-selected,.maplibregl-marker.so-map-marker--logo.is-selected { width:var(--advertiser-width,var(--advertiser-size,40px)); height:var(--advertiser-height,var(--advertiser-size,40px)); padding:2px; border-radius:7px; border:2px solid #153038; background:#fff; box-shadow:none; box-sizing:content-box; overflow:hidden; }
.so-map-marker--logo .so-map-marker__icon,.maplibregl-marker.so-map-marker--logo .so-map-marker__icon { width:100%; height:100%; padding:0; border-radius:4px; background:#fff; object-fit:contain; }
.so-map-marker--photo .so-map-marker__icon,.maplibregl-marker.so-map-marker--photo .so-map-marker__icon { object-fit:cover; border-radius:5px; }
.so-map-marker--logo.is-selected,.maplibregl-marker.so-map-marker--logo.is-selected { filter:drop-shadow(0 0 2px #fff) drop-shadow(0 0 3px #087a85); }
.maplibregl-marker.so-map-marker:not(.so-map-marker--landing):not(.so-map-marker--off-map),.maplibregl-marker.so-route-marker { contain:layout style; overflow:visible; }
.so-map-marker--with-icon:not(.so-map-marker--logo),.so-map-marker--with-icon.is-selected:not(.so-map-marker--logo),.so-map-marker--facilities.so-map-marker--with-icon.is-selected,.so-route-marker,.so-route-marker.is-selected { width:var(--map-marker-size,28px); height:var(--map-marker-size,28px); }
.so-event-list-heading { font-size:15px; line-height:1.3; margin:14px 0 6px; text-transform:none; letter-spacing:0; }
.so-visitor-rail input { max-width:100%; box-sizing:border-box; }
.so-map-marker:not(.so-map-marker--landing)::before,.so-route-marker::before { content:""; position:absolute; width:max(100%,44px); height:max(100%,44px); left:50%; top:50%; transform:translate(-50%,-50%); }
.so-map-marker--logo,.so-map-marker--with-icon { transition:opacity .18s,border-color .18s; }
.so-event-point { width:28px; height:28px; border-radius:8px; border:2px solid #075960; background:#fff; color:#075960; font-size:16px; font-weight:bold; }
.so-event-point--logo { padding:0; border:0; border-radius:0; background:transparent; overflow:visible; }
.so-event-point img { width:100%; height:100%; object-fit:contain; }
.so-event-point--group { display:flex; align-items:stretch; gap:3px; padding:0; border:0; background:transparent; overflow:visible; }
.so-event-point__icons { display:flex; width:100%; min-width:0; align-items:stretch; gap:3px; overflow:visible; }
.so-event-point__icon { display:grid; flex:1 1 0; min-width:0; place-items:center; overflow:visible; border:0; border-radius:0; background:transparent; box-sizing:border-box; }
.so-event-point__icon { position:relative; }
.so-event-point__icon img { position:absolute; inset:0; display:block; width:100%; height:100%; min-height:0; border-radius:0; background:transparent; }
.so-event-point__icon--fallback { overflow:hidden; border:1px solid #075960; border-radius:7px; background:#fff; }
.so-event-point__more { position:absolute; right:-7px; top:-8px; display:grid; min-width:20px; height:20px; padding:0 3px; place-items:center; border:2px solid #fff; border-radius:10px; background:#075960; color:#fff; box-sizing:border-box; font-size:10px; line-height:1; }
.so-map-cluster--overlap .so-map-cluster__totem { --cluster-icon-size:37px; --cluster-gap:3px; --cluster-pad-x:3px; --cluster-pad-y:3px; border:2px solid #153038; border-radius:8px; background:#fff; }
.so-map-cluster--overlap .so-map-cluster__totem-icon { border:0; border-radius:50%; background:var(--marker-icon-bg,#fff); box-shadow:none; object-fit:contain; }
.so-map-cluster--overlap .so-map-cluster__totem-icon--logo { border-radius:0; background:#fff; }
.so-map-cluster--overlap .so-map-cluster__totem-icon--featured { border-radius:4px; object-fit:cover; }
.so-popup-symbol { background:var(--marker-icon-bg); border-radius:50%; }
.so-view-choice:not(.is-active) .so-icon-filter-toggle__mark { opacity:.65; filter:none; }
.so-icon-filter-toggle__copy small { display:block; font-size:11px; line-height:1.2; }
.so-event-point::before { content:""; position:absolute; inset:50% auto auto 50%; width:max(100%,44px); height:max(100%,44px); transform:translate(-50%,-50%); }
.so-event-point[data-selected="true"] { box-shadow:0 0 0 2px white,0 0 0 4px #075960; z-index:4800; }
.so-event-point--logo[data-selected="true"],.so-event-point--group[data-selected="true"] { box-shadow:none; filter:drop-shadow(0 0 2px #fff) drop-shadow(0 0 3px #075960); }
.so-visitor-detail h3 { text-transform:none; letter-spacing:0; }
.so-visitor-chooser { padding:var(--so-popup-padding,14px); box-sizing:border-box; }
.so-visitor-chooser .so-node-popup__head { position:static; top:auto; padding:0 0 10px; }
.so-visitor-chooser .so-node-popup__head small { margin-bottom:2px; }
.so-visitor-chooser > p,.so-visitor-chooser__hint { margin:10px 0 8px; }
.so-visitor-chooser__image { display:block; width:100%; max-height:150px; border-radius:8px; object-fit:cover; }
.so-visitor-chooser__list { display:grid; gap:7px; }
.so-visitor-chooser__list .so-visitor-row { margin:0; }
.so-visitor-choice-row { display:grid; grid-template-columns:42px minmax(0,1fr); align-items:center; gap:10px; min-height:54px; }
.so-visitor-choice-row__icon { display:grid; width:38px; height:38px; place-items:center; padding:3px; border:1px solid #aec9cd; border-radius:7px; background:#fff; box-sizing:border-box; overflow:hidden; }
.so-visitor-choice-row__icon img { display:block; width:100%; height:100%; object-fit:contain; }
.so-visitor-choice-row__icon > span { display:grid; width:100%; height:100%; place-items:center; border-radius:5px; background:#e4f1f1; color:#075960; font-weight:800; }
.so-visitor-choice-row__copy { display:grid; gap:2px; min-width:0; }
.so-visitor-choice-row__copy strong,.so-visitor-choice-row__copy small { display:block; overflow:hidden; text-overflow:ellipsis; }
.so-visitor-choice-row__copy strong { color:#075960; font-size:15px; line-height:1.25; }
.so-visitor-choice-row__copy small { color:#536a6d; font-size:11px; font-weight:750; letter-spacing:.04em; line-height:1.25; text-transform:uppercase; }
.so-visitor-choice-row--advertiser { border-color:#6aaeb5; background:#f7fcfc; }
.so-visitor-choice-row--advertiser .so-visitor-choice-row__icon { border-color:#153038; }
.so-visitor-chooser--events .so-visitor-choice-row { grid-template-columns:minmax(0,1fr); }
.so-event-all-dialog__count { margin:0 0 10px; color:#536a6d; }
.so-event-all-dialog__list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.so-event-all-dialog__list .so-events-card.so-events-card--session { margin:0; }
.so-event-all-dialog__list .so-events-card--session .so-events-card__media { width:56px; height:56px; }
.so-event-all-dialog__list .so-events-card__image { width:56px; height:56px; }
@media(min-width:960px) {
  body.so-visitor-ui .so-map-stage { right:var(--desktop-rail-width); width:calc(100% - var(--desktop-rail-width)); }
}
@media(max-width:959px) {
  body.so-visitor-ui .so-shell { padding:0; }
  body.so-visitor-ui .so-header { position:fixed; inset:0 0 auto; width:100%; height:auto; }
  body.so-visitor-ui .so-topbar { min-height:42px; padding:6px 12px; grid-template-columns:1fr auto; }
  body.so-visitor-ui .so-brand__online { width:165px; }
  body.so-visitor-ui .so-header-menu { position:static; width:100%; padding:6px 10px 10px; border-radius:0; background:var(--header-blue); box-shadow:none; }
  body.so-visitor-ui .so-menu-grid { display:grid; grid-template-columns:1fr 1fr 1.3fr .65fr; gap:6px; }
body.so-visitor-ui .so-menu-route { min-height:44px; padding:7px 4px; font-size:12px; }
  body.so-visitor-ui .so-map-stage { top:106px; height:calc(100dvh - 106px); }
  .so-visitor-rail { top:auto; bottom:0; width:100%; height:42dvh; border-radius:14px 14px 0 0; border:1px solid #b7ced1; transition:height .18s; }
  .so-visitor-rail > section { height:calc(100% - 36px); padding:14px 12px; }
  .so-sheet-controls { display:flex; height:36px; justify-content:center; background:#f7faf9; }
  .so-sheet-controls button { min-height:36px; padding:2px 16px; border:0; background:none; color:#075960; }
  [data-visitor-sheet="collapsed"] .so-visitor-rail { height:44px; }
  [data-visitor-sheet="collapsed"] .so-visitor-rail > section { visibility:hidden; }
  [data-visitor-sheet="expanded"] .so-visitor-rail { height:calc(100dvh - 106px); }
  .so-visitor-detail { z-index:6500; inset:106px 8px 8px!important; width:calc(100vw - 16px)!important; max-height:none!important; border-radius:12px; }
  .so-visitor-detail.is-preview { inset:auto 8px calc(42dvh + 8px)!important; width:calc(100vw - 16px)!important; max-height:calc(58dvh - 112px)!important; }
  [data-visitor-sheet="collapsed"] .so-visitor-detail.is-preview { bottom:52px!important; }
  .so-visitor-detail-open .so-visitor-rail { visibility:hidden; }
  body.so-visitor-ui .so-direction-prompt { position:fixed; bottom:8px; max-height:calc(100dvh - 116px); }
  .so-welcome-actions { grid-template-columns:1fr 1fr; }
  .so-event-all-dialog__list { grid-template-columns:1fr; }
}
@media(prefers-reduced-motion:reduce) {
  .so-visitor-rail,.so-map-marker { transition:none!important; }
}
.so-visitor-detail.is-preview.is-anchored-preview {
  inset:var(--preview-top,120px) auto auto var(--preview-left,8px)!important;
  width:var(--preview-width,300px)!important; max-height:none!important;
  padding:0; overflow:visible;
}
.is-anchored-preview .so-visitor-preview { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:4px 8px; padding:12px; max-height:var(--preview-height,260px); overflow:auto; border-radius:12px; box-sizing:border-box; }
.is-anchored-preview .so-node-popup__head { grid-column:1 / -1; padding:0; }
.is-anchored-preview .so-visitor-preview p { margin:0; }
.so-transport-preview { grid-column:1 / -1; display:grid; gap:4px; max-height:126px; overflow:auto; }
.so-transport-preview p { display:flex; justify-content:space-between; gap:10px; padding:4px 0; border-bottom:1px solid #e2ecec; font-size:12px; line-height:1.25; }
.so-transport-preview p:last-child { border-bottom:0; }
.so-transport-preview strong { font-size:12px; }
.so-transport-preview span { text-align:right; }
.is-anchored-preview::after { content:""; position:absolute; left:var(--preview-tip,50%); bottom:-6px; width:10px; height:10px; background:white; border-right:1px solid #aec9cd; border-bottom:1px solid #aec9cd; transform:translateX(-50%) rotate(45deg); pointer-events:none; }
.is-anchored-preview[data-anchor-side="below"]::after { top:-6px; bottom:auto; transform:translateX(-50%) rotate(225deg); }
@media(min-width:960px) {
  .so-visitor-detail.is-full.is-anchored-full { inset:var(--preview-top,16px) auto auto var(--preview-left,16px)!important; width:var(--preview-width,560px)!important; max-height:var(--preview-height,calc(100dvh - 32px))!important; }
  .is-anchored-full::after { content:""; position:absolute; left:var(--preview-tip,50%); bottom:-6px; width:10px; height:10px; background:white; border-right:1px solid #aec9cd; border-bottom:1px solid #aec9cd; transform:translateX(-50%) rotate(45deg); pointer-events:none; }
  .is-anchored-full.is-anchor-offscreen::after { display:none; }
  .is-anchored-full[data-anchor-side="below"]::after { top:-6px; bottom:auto; transform:translateX(-50%) rotate(225deg); }
}

/* Visitor discovery and secondary content share one responsive rail. */
.so-visitor-rail .so-find-result { position:relative; inset:auto; display:grid; grid-template-columns:minmax(0,1fr); height:auto; overflow:visible; }
.so-visitor-rail .so-find-result__actions button { position:static; inset:auto; height:auto; color:#153038; background:#e7f0ed; }
.so-visitor-rail .so-find-result__actions button[data-find-result-direction] { color:#fff; background:#153038; }
.so-visitor-rail .so-find-result__copy strong { white-space:normal; line-height:1.35; }
.so-visitor-rail .so-find-tools h3,.so-visitor-rail h3 { font-size:16px; line-height:1.3; margin:16px 0 8px; text-transform:none; }
.so-visitor-rail .so-visitor-row { display:block; width:100%; margin:8px 0; }
.so-visitor-rail .so-hero,.so-visitor-rail .so-conditions-grid,.so-visitor-rail .so-panel-grid { display:grid; grid-template-columns:minmax(0,1fr); padding:0; gap:12px; }
.so-visitor-rail .so-hero { margin:16px 0; }
.so-visitor-rail .so-qr-card { display:none; }
.so-visitor-rail .so-condition-card,.so-visitor-rail .so-panel { padding:12px; }
.so-visitor-rail .so-hero h2 { font-size:20px; }
.so-visitor-rail .so-action-bar { display:flex; flex-wrap:wrap; gap:6px; }
.so-visitor-rail .so-action-bar button { min-height:44px; }
.so-visitor-rail .so-visitor-actions { display:flex; flex-wrap:wrap; gap:6px; }
.so-visitor-ui button:focus-visible,.so-visitor-ui a:focus-visible,.so-visitor-ui summary:focus-visible { outline:3px solid #bb651d; outline-offset:3px; }
.so-visitor-status { margin:8px 0; font-weight:700; }

/* Boarding points use public-service brown; individual route artwork retains its route colour. */
.so-map-cluster--bus-stops .so-map-cluster__single { border-radius:50%; background:var(--marker-icon-bg,#80624f); }
.so-boarding-route { display:flex; align-items:center; gap:10px; text-align:left; }
.so-boarding-route > span:last-child { min-width:0; overflow-wrap:anywhere; }
.so-boarding-route-icon { display:grid; flex:0 0 36px; width:36px; height:36px; padding:4px; box-sizing:border-box; border-radius:50%; background:var(--marker-icon-bg); }
.so-boarding-route-icon img { display:block; width:100%; height:100%; object-fit:contain; }
.so-bus-stop-group__stop { padding:12px 0; border-top:1px solid #c5d6d8; }
.so-bus-stop-group__stop > h3 { display:flex; align-items:center; gap:8px; margin:0; }
.so-bus-stop-group__stop > h3 img { width:32px; height:32px; flex:0 0 32px; object-fit:contain; }
.so-bus-stop-group__stop > h3 span { min-width:0; overflow-wrap:anywhere; }
.so-bus-stop-group__stop .so-stop-routes h3 { font-size:14px; margin:10px 0 6px; }
.so-bus-stop-group__stop .so-visitor-row { width:100%; margin-top:6px; }
.so-transport-preview .so-boarding-route > span:last-child { flex:1; text-align:left; }
.so-transport-preview .so-boarding-route > span:last-child > span { display:block; text-align:left; }
.so-bus-stop-group { display:flex; flex-direction:column; max-height:var(--preview-height,calc(100dvh - 130px)); overflow:hidden; border-radius:inherit; }
.so-bus-stop-group > .so-node-popup__head,.so-bus-stop-group > .so-visitor-chooser__hint { flex:none; }
.so-bus-stop-group > .so-visitor-chooser__list { min-height:0; overflow-y:auto; overscroll-behavior:contain; }
@media(max-width:959px) { .so-back-stop { top:174px; left:8px; max-width:calc(100vw - 16px); } }

/* Walk stops use the same in-map reading surface as route guidance. */
.so-walk-stop-list {margin:0 0 20px;}
.so-walk-stop-list button {display:block;width:100%;text-align:left;padding:12px;margin:6px 0;background:#f5f2ed;border:1px solid #b9ccc9;border-radius:8px;color:#16383b;min-height:44px;}
.so-walk-stop-list button span {font-weight:700;margin-right:8px;}
.so-walk-stop-pin {width:34px;height:34px;padding:0;border:2px solid white;border-radius:50%;background:#70552f;color:white;font:bold 14px system-ui;box-shadow:0 2px 7px #0006;cursor:pointer;z-index:12;}
.so-walk-stop-pin.is-selected,.so-walk-stop-pin:focus-visible {background:#143f45;outline:3px solid #efbd64;outline-offset:2px;}
.so-walk-stop-pin--fallback {position:absolute;transform:translate(-50%,-50%);}
.so-walk-stop-photo {margin:18px 0;}
.so-walk-stop-photo img {display:block;width:100%;height:auto;max-height:480px;object-fit:contain;background:#e8ebe6;}
.so-walk-stop-photo figcaption {font-size:14px;line-height:1.45;margin-top:8px;white-space:pre-line;}
.so-walk-stop-photo small {display:block;margin-top:5px;}
.so-walk-stop-note {padding:12px;border-left:3px solid #a57837;background:#fff5de;}
.so-walk-stop-credit {font-size:14px;border-top:1px solid #b9ccc9;padding-top:14px;}
.so-walk-stop-next {display:flex;justify-content:space-between;gap:12px;margin-top:20px;}
.so-walk-stop-sheet .so-route-guidance__body button {min-height:44px;padding:9px 12px;border:1px solid #b9ccc9;border-radius:6px;background:#eff5f2;color:#16383b;}
.so-walk-stop-sheet .so-route-guidance__head strong:focus {outline:none;}
.so-route-mini .so-direction-card__actions {flex-wrap:wrap;}
.so-walk-stop-sheet {max-height:75svh;width:min(640px,calc(100% - 16px));}
.so-walk-stop-sheet .so-route-guidance__head {grid-template-columns:minmax(0,1fr) 44px;}

.maplibregl-marker.so-walk-stop-pin {z-index:6600;}

/* Shared business reader typography; the surrounding map retains its design. */
.so-node-popup,.so-node-popup button,.so-node-popup a {font-family:'Roboto Condensed',sans-serif;}
.so-node-popup h2,.so-node-popup h3,.so-node-popup__head strong {font-family:Arimo,sans-serif;font-weight:700;}
.so-story-reader #masthead,.so-story-reader #colophon,.so-story-reader #wpadminbar {display:none!important;}
.so-story-reader,.so-story-reader body {margin:0!important;padding:0!important;min-width:0;}
.so-story-reader .so-shell {min-height:100dvh;}
.so-story-reader .so-conditions {font-family:'Roboto Condensed',sans-serif;}

.so-conditions-refresh {min-height:44px;margin-top:14px;}

/* Focused story conditions: outer reader owns title, save and Back controls. */
.so-story-conditions .so-header { display:none; }
.so-story-conditions body { background:#f5f3eb; color:#203137; font-family:'Roboto Condensed',sans-serif; }
.so-story-conditions .so-shell { display:block; width:100%; max-width:none; min-height:0; margin:0; padding:0; }
.so-story-conditions .so-main { display:block; width:100%; max-width:none; min-height:0; margin:0; padding:0 2px 16px; }
.so-story-conditions .so-conditions-grid { grid-template-columns:minmax(0,1fr); margin:0; gap:16px; }
.so-story-conditions .so-condition-card { padding:16px; background:transparent; border:1px solid #d8dbd3; box-shadow:none; border-radius:8px; }
.so-story-conditions .so-condition-card h3 { font-family:Arimo,sans-serif; color:#203137; font-size:1.15rem; }
.so-story-conditions .so-condition-card__summary { font-size:1rem; color:#52615f; }
.so-story-conditions .so-condition-metrics dd { font-size:1.12rem; }
.so-story-conditions .so-condition-metrics div,.so-story-conditions .so-tide-extremes span { background:#e9ece4; }
.so-story-conditions .so-tide-extremes { display:grid; grid-template-columns:minmax(0,1fr); }
.so-story-conditions .so-tide-extremes span { justify-content:flex-start; }
.so-story-conditions .so-conditions-status span { background:transparent; color:#52615f; padding:0; min-height:24px; font-weight:400; }
.so-story-conditions .so-conditions-refresh,.so-story-conditions .so-condition-sources button { min-height:44px; max-width:100%; padding:10px 14px; border:1px solid #7d8d84; border-radius:7px; background:transparent; color:#203137; font:600 1rem 'Roboto Condensed',sans-serif; box-shadow:none; }
.so-story-conditions button:focus-visible { outline:2px solid #203137; outline-offset:3px; }

/* The enclosing Story reader owns navigation; keep only the selected map. */
.so-story-map .so-header, .so-story-map .so-skip-link { display:none; }
.so-story-map body { background:#f5f3eb; font-family:'Roboto Condensed',sans-serif; }
.so-story-map .so-shell, .so-story-map body.so-map-mode .so-main { width:100%; max-width:none; margin:0; padding:0; }
.so-story-map .so-map-first { height:100dvh; min-height:0; }
.so-story-map .so-map-stage { inset:0; width:100%; height:100%; }
.so-story-map [data-saved-map-view] { font-family:'Roboto Condensed',sans-serif!important; color:#203137; background:#f5f3eb!important; }
.so-story-map [data-saved-map-view] button { min-height:44px; padding:8px 12px; border:1px solid #7d8d84; border-radius:7px; background:transparent; color:#203137; font:600 1rem 'Roboto Condensed',sans-serif; box-shadow:none; }
.so-story-map button:focus-visible { outline:2px solid #203137; outline-offset:3px; }

/* Page-hosted maps use the enclosing reader navigation to return or close. */
.so-page-map-mode [data-node-popup-close],.so-page-map-mode [data-cluster-drawer-close]{display:none}
