
.page-shell > .nearby-page {
  width: min(1600px, calc(100% - 1rem));
  margin: 0 auto 3rem;
}.page-shell:has(> .nearby-page) {
  padding-top: 118px;
}.breadcrumbs:has(+ .nearby-page) {
  display: none;
}.nearby-page {
  --nearby-accent: var(--mtt-blue);
  --nearby-accent-dark: var(--mtt-blue-dark);
  --nearby-accent-soft: rgba(57, 132, 243, 0.12);
  --nearby-route: #ff6630;
  padding-top: 0;
  padding-bottom: 0;
  color: var(--mtt-text);
}.nearby-page--ev {
  --nearby-accent: var(--mtt-green);
  --nearby-accent-dark: #157657;
  --nearby-accent-soft: rgba(31, 157, 114, 0.12);
  --nearby-route: var(--mtt-blue);
}.nearby-shell {
  display: grid;
  grid-template-columns: minmax(330px, 430px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}.nearby-sidebar {
  position: sticky;
  top: 108px;
  display: grid;
  max-height: calc(100svh - 128px);
  gap: 1rem;
  overflow: auto;
  border: 1px solid rgba(8, 18, 36, 0.08);
  border-radius: 8px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 58px rgba(8, 18, 36, 0.08);
}.nearby-brand {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}.nearby-brand-mark {
  display: inline-flex;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--nearby-accent);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 500;
  box-shadow: 0 16px 30px color-mix(in srgb, var(--nearby-accent) 28%, transparent);
}.nearby-brand h2 {
  margin: 0;
  color: var(--mtt-navy);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.05;
}.nearby-brand .eyebrow {
  margin-bottom: 0.22rem;
}.nearby-control-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  align-items: stretch;
}.nearby-radius-control {
  display: grid;
  gap: 0.35rem;
  min-width: 118px;
  margin: 0;
  color: var(--mtt-muted);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
}.nearby-radius-control select {
  min-height: 50px;
  border: 1px solid rgba(8, 18, 36, 0.1);
  border-radius: 8px;
  background: #fff;
  color: var(--mtt-navy);
  font-weight: 500;
}.nearby-action,
.nearby-map-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 0.82rem 1rem;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background 170ms var(--ease-standard), color 170ms var(--ease-standard), transform 170ms var(--ease-standard), box-shadow 170ms var(--ease-standard);
}.nearby-action:hover,
.nearby-action:focus,
.nearby-map-button:hover,
.nearby-map-button:focus {
  transform: translateY(-1px);
}.nearby-action-primary {
  background: var(--nearby-accent);
  color: #fff;
  box-shadow: 0 14px 28px color-mix(in srgb, var(--nearby-accent) 26%, transparent);
}.nearby-action-primary:hover,
.nearby-action-primary:focus {
  background: var(--nearby-accent-dark);
  color: #fff;
}.nearby-action-ghost {
  grid-column: 1 / -1;
  min-height: 46px;
  border: 1px solid rgba(8, 18, 36, 0.08);
  background: var(--mtt-soft);
  color: var(--mtt-blue-dark);
}.nearby-action-dark {
  justify-self: start;
  min-height: 44px;
  background: var(--mtt-navy);
  color: #fff;
  box-shadow: 0 14px 28px rgba(8, 18, 36, 0.18);
}.nearby-action-dark:hover,
.nearby-action-dark:focus {
  background: #06142b;
  color: #fff;
}.nearby-live-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}.nearby-live-row span,
.nearby-map-footer span,
.nearby-map-kicker {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border-radius: 999px;
  padding: 0.34rem 0.7rem;
  background: var(--mtt-soft);
  color: var(--mtt-blue-dark);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
}.nearby-live-row span:first-child {
  background: var(--nearby-accent-soft);
  color: var(--nearby-accent-dark);
}.nearby-status {
  margin: 0;
  border-left: 3px solid var(--nearby-accent);
  padding: 0.35rem 0 0.35rem 0.72rem;
  color: var(--mtt-muted);
  font-size: 0.95rem;
}.nearby-route-panel {
  display: grid;
  gap: 0.45rem;
  border-radius: 8px;
  padding: 1rem;
  background:
    linear-gradient(135deg, var(--nearby-accent-soft), rgba(234, 244, 255, 0.76)),
    #fff;
}.nearby-route-panel[hidden],
.nearby-map-button[hidden],
.nearby-action[hidden] {
  display: none;
}.nearby-route-panel strong {
  color: var(--mtt-navy);
  font-size: 1.08rem;
  line-height: 1.2;
}.nearby-route-panel p,
.nearby-source-note {
  margin: 0;
  color: var(--mtt-muted);
}.nearby-source-note {
  font-size: 0.88rem;
}.nearby-station-list {
  display: grid;
  gap: 0.7rem;
}.nearby-empty-state {
  display: grid;
  gap: 0.35rem;
  border: 1px dashed rgba(8, 18, 36, 0.12);
  border-radius: 8px;
  padding: 1rem;
  background: #fff;
}.nearby-empty-state strong {
  color: var(--mtt-navy);
}.nearby-empty-state p {
  margin: 0;
  color: var(--mtt-muted);
}.nearby-page .station-card {
  display: grid;
  gap: 0.65rem;
  border: 0;
  border-radius: 8px;
  padding: 1rem;
  background: #fff;
  box-shadow: inset 3px 0 0 transparent, 0 10px 26px rgba(8, 18, 36, 0.06);
  cursor: pointer;
  transition: transform 170ms var(--ease-standard), box-shadow 170ms var(--ease-standard), background 170ms var(--ease-standard);
}.nearby-page .station-card:hover,
.nearby-page .station-card:focus {
  transform: translateX(2px);
  box-shadow: inset 3px 0 0 var(--nearby-accent), 0 15px 34px rgba(8, 18, 36, 0.09);
  outline: 0;
}.nearby-page .station-card.is-active {
  background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--nearby-accent) 6%, #fff));
  box-shadow: inset 3px 0 0 var(--nearby-accent), 0 16px 36px rgba(8, 18, 36, 0.1);
}.station-card__head {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  justify-content: space-between;
}.station-card__head strong {
  display: block;
  color: var(--mtt-navy);
  font-size: 1.02rem;
  line-height: 1.15;
}.station-card__distance {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 0.25rem 0.52rem;
  background: var(--nearby-accent-soft);
  color: var(--nearby-accent-dark);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
}.station-card__meta,
.station-card__address,
.station-card__hours {
  color: var(--mtt-muted);
  font-size: 0.91rem;
  line-height: 1.35;
}.station-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}.station-card__chips span {
  border-radius: 999px;
  padding: 0.24rem 0.5rem;
  background: var(--mtt-soft);
  color: var(--mtt-blue-dark);
  font-size: 0.78rem;
  font-weight: 500;
}.station-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}.station-card__actions .nearby-action {
  min-height: 40px;
  padding: 0.62rem 0.78rem;
  font-size: 0.9rem;
}.station-card__actions .nearby-action-primary {
  box-shadow: none;
}.nearby-map-stage {
  position: sticky;
  top: 108px;
  padding-top: 0;
  padding-bottom: 0;
}.nearby-map-card {
  position: relative;
  overflow: hidden;
  height: calc(100svh - 128px);
  min-height: 610px;
  border: 1px solid rgba(8, 18, 36, 0.08);
  border-radius: 8px;
  background: #eef3f8;
  box-shadow: 0 24px 58px rgba(8, 18, 36, 0.1);
}.nearby-map-card::before {
  display: none;
}.nearby-page .leaflet-tool-map {
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  border: 0;
  border-radius: 8px;
}.nearby-map-topbar,
.nearby-map-footer {
  position: absolute;
  z-index: 430;
  display: flex;
  gap: 0.7rem;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}.nearby-map-topbar {
  top: 1rem;
  left: 1rem;
  right: 1rem;
}.nearby-map-topbar > div {
  display: grid;
  gap: 0.35rem;
}.nearby-map-topbar strong {
  display: inline-flex;
  width: fit-content;
  max-width: min(520px, 56vw);
  border-radius: 8px;
  padding: 0.72rem 0.9rem;
  background: rgba(255, 255, 255, 0.88);
  color: var(--mtt-navy);
  font-size: clamp(1rem, 1.6vw, 1.42rem);
  font-weight: 500;
  line-height: 1.1;
  box-shadow: 0 12px 28px rgba(8, 18, 36, 0.09);
}.nearby-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  pointer-events: auto;
}.nearby-map-button {
  min-height: 44px;
  border: 1px solid rgba(8, 18, 36, 0.08);
  background: rgba(255, 255, 255, 0.88);
  color: var(--mtt-navy);
  box-shadow: 0 12px 28px rgba(8, 18, 36, 0.1);
}.nearby-map-button:hover,
.nearby-map-button:focus {
  background: rgba(255, 255, 255, 0.96);
  color: var(--mtt-blue-dark);
}.nearby-map-button-dark {
  border-color: var(--mtt-navy);
  background: var(--mtt-navy);
  color: #fff;
}.nearby-map-button-dark:hover,
.nearby-map-button-dark:focus {
  background: #06142b;
  color: #fff;
}.nearby-map-footer {
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
}.nearby-map-footer span {
  background: rgba(255, 255, 255, 0.84);
  color: var(--mtt-muted);
  box-shadow: 0 12px 28px rgba(8, 18, 36, 0.08);
}.nearby-marker {
  display: grid;
  place-items: center;
  width: 20px !important;
  height: 20px !important;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--nearby-accent);
  box-shadow: 0 6px 14px rgba(8, 18, 36, 0.2);
}.nearby-marker span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.78);
}.nearby-marker.is-active {
  transform: scale(1.22);
  box-shadow: 0 0 0 5px var(--nearby-accent-soft), 0 10px 22px rgba(8, 18, 36, 0.24);
}.nearby-user-marker {
  width: 22px !important;
  height: 22px !important;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--mtt-blue);
  box-shadow: 0 0 0 7px rgba(57, 132, 243, 0.18), 0 12px 24px rgba(8, 18, 36, 0.22);
}.nearby-page .leaflet-popup-content-wrapper {
  border-radius: 8px;
}.nearby-page .leaflet-popup-content {
  margin: 0.8rem 0.9rem;
  color: var(--mtt-text);
  font-family: "Circular Std", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}.nearby-page .leaflet-control-zoom {
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(8, 18, 36, 0.12);
}.nearby-page .leaflet-control-zoom a {
  border: 0;
  color: var(--mtt-navy);
  font-weight: 500;
}.nearby-notice {
  margin-top: 0;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
}@media (max-width: 1100px) {
  .nearby-shell {
    grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  }

  .nearby-control-panel {
    grid-template-columns: 1fr;
  }

  .nearby-radius-control {
    min-width: 0;
  }
}@media (max-width: 860px) {
  .page-shell:has(> .nearby-page) {
    padding-top: 98px;
  }

  .page-shell > .nearby-page {
    width: min(100%, calc(100% - 0.5rem));
    margin-top: 0.25rem;
  }

  .nearby-shell {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .nearby-map-stage {
    position: relative;
    top: auto;
    order: 1;
  }

  .nearby-sidebar {
    position: relative;
    top: auto;
    order: 2;
    max-height: none;
  }

  .nearby-map-card {
    height: min(76svh, 620px);
    min-height: 430px;
  }

  .nearby-map-topbar {
    align-items: flex-start;
  }

  .nearby-map-topbar strong {
    max-width: 56vw;
    font-size: 1rem;
  }

  .nearby-map-actions {
    max-width: 40vw;
  }

  .nearby-map-button {
    min-height: 40px;
    padding: 0.62rem 0.72rem;
    font-size: 0.9rem;
  }
}@media (max-width: 560px) {
  .page-shell:has(> .nearby-page) {
    padding-top: 92px;
  }

  .nearby-map-card {
    height: 72svh;
    min-height: 390px;
  }

  .nearby-map-topbar {
    left: 0.65rem;
    right: 0.65rem;
    top: 0.65rem;
  }

  .nearby-map-topbar strong {
    max-width: 62vw;
    padding: 0.58rem 0.68rem;
  }

  .nearby-map-kicker {
    display: none;
  }

  .nearby-map-actions {
    max-width: 34vw;
  }

  .nearby-map-button {
    width: 100%;
    min-height: 38px;
    padding: 0.55rem 0.62rem;
    font-size: 0.82rem;
  }

  .nearby-map-footer {
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.65rem;
  }

  .nearby-map-footer span:last-child {
    display: none;
  }

  .nearby-sidebar {
    padding: 0.85rem;
  }

  .nearby-brand h2 {
    font-size: 1.35rem;
  }

  .nearby-control-panel {
    gap: 0.55rem;
  }

  .station-card__head {
    align-items: flex-start;
    flex-direction: column;
  }
}.page-shell:has(> .nearby-page) {
  padding-top: 104px;
}.page-shell > .nearby-page {
  width: min(1500px, calc(100% - 2rem));
}.nearby-shell {
  grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
  gap: 1.15rem;
}.nearby-sidebar,
.nearby-brand-mark,
.nearby-action-primary,
.nearby-action-dark,
.nearby-page .station-card,
.nearby-page .station-card:hover,
.nearby-page .station-card:focus,
.nearby-page .station-card.is-active,
.nearby-map-card,
.nearby-map-topbar strong,
.nearby-map-button,
.nearby-map-footer span,
.nearby-page .leaflet-control-zoom,
.nearby-marker,
.nearby-marker.is-active,
.nearby-user-marker {
  box-shadow: none !important;
}.nearby-sidebar {
  top: 104px;
  max-height: calc(100svh - 124px);
  border-color: rgba(225, 232, 245, 0.98);
  background: #fff;
}.nearby-brand-mark {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
}.nearby-control-panel {
  gap: 0.7rem;
}.nearby-action,
.nearby-map-button {
  min-height: 48px;
  padding: 0.72rem 0.92rem;
}.nearby-action:hover,
.nearby-action:focus,
.nearby-map-button:hover,
.nearby-map-button:focus {
  transform: none;
}.nearby-action-ghost {
  background: #f7faff;
}.nearby-route-panel {
  background:
    linear-gradient(135deg, var(--nearby-accent-soft), rgba(255, 255, 255, 0.96)),
    #fff;
}.nearby-page .station-card {
  border: 1px solid rgba(225, 232, 245, 0.96);
  background: #fff;
}.nearby-page .station-card:hover,
.nearby-page .station-card:focus,
.nearby-page .station-card.is-active {
  border-color: color-mix(in srgb, var(--nearby-accent) 45%, var(--mtt-line));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--nearby-accent) 6%, #fff), #fff),
    #fff;
}.nearby-map-stage {
  top: 104px;
}.nearby-map-card {
  height: calc(100svh - 124px);
  min-height: 620px;
  border-color: rgba(225, 232, 245, 0.98);
  background: #eef5fb;
}.nearby-map-topbar {
  top: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
}.nearby-map-topbar strong {
  max-width: min(500px, 46vw);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
}.nearby-map-button {
  border-color: rgba(225, 232, 245, 0.96);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
}.nearby-map-button-dark {
  border-color: var(--mtt-navy);
  background: var(--mtt-navy);
}.nearby-map-footer {
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.85rem;
}.nearby-map-footer span {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
}.nearby-page .leaflet-top.leaflet-right {
  top: 4.9rem;
  right: 0.85rem;
}.nearby-page .leaflet-control-zoom {
  border: 1px solid rgba(225, 232, 245, 0.96);
  background: rgba(255, 255, 255, 0.88);
}.nearby-marker {
  width: 16px !important;
  height: 16px !important;
  border: 2px solid #fff;
}.nearby-marker span {
  width: 5px;
  height: 5px;
}.nearby-marker.is-active {
  transform: scale(1.18);
  outline: 3px solid var(--nearby-accent-soft);
}.nearby-user-marker {
  width: 18px !important;
  height: 18px !important;
  border-width: 3px;
  outline: 5px solid rgba(57, 132, 243, 0.16);
}@media (max-width: 860px) {
  .page-shell:has(> .nearby-page) {
    padding-top: 94px;
  }

  .page-shell > .nearby-page {
    width: min(100%, calc(100% - 0.75rem));
  }

  .nearby-map-stage {
    order: -1;
  }

  .nearby-map-card {
    height: min(76svh, 620px);
    min-height: 430px;
  }

  .nearby-sidebar {
    max-height: none;
  }

  .nearby-page .leaflet-top.leaflet-right {
    top: 4.5rem;
    right: 0.65rem;
  }
}@media (max-width: 560px) {
  .page-shell:has(> .nearby-page) {
    padding-top: 88px;
  }

  .nearby-map-card {
    height: 72svh;
    min-height: 390px;
  }

  .nearby-map-topbar {
    left: 0.55rem;
    right: 0.55rem;
    top: 0.55rem;
  }

  .nearby-map-topbar strong {
    max-width: 58vw;
    font-size: 0.96rem;
  }

  .nearby-map-actions {
    max-width: 36vw;
  }

  .nearby-map-button {
    min-height: 36px;
    padding: 0.48rem 0.56rem;
    font-size: 0.78rem;
  }
}