.rmm {
  --ink: #173c32;
  --muted: #67736e;
  --line: #e3e7e2;
  position: relative;
  background: white;
  color: var(--ink);
  font:
    14px/1.45 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
}
.rmm * {
  box-sizing: border-box;
}
.rmm button,
.rmm input,
.rmm select {
  font: inherit;
}
.rmm button {
  cursor: pointer;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  min-height: 44px;
  padding: 9px 13px;
}
.rmm button:hover {
  background: #f1f5ed;
}
.rmm button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.rmm :focus-visible {
  outline: 3px solid #996015;
  outline-offset: 3px;
}
.rmm [hidden] {
  display: none !important;
}
.rmm-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.rmm-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
}
.rmm-emblem {
  background: var(--ink);
  color: white;
  padding: 10px;
  letter-spacing: -1px;
  font-weight: 900;
  border-radius: 50%;
  font-size: 14px;
}
.rmm-topnote {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
}
.rmm-body {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  height: 740px;
  max-height: calc(100dvh - 130px);
  min-height: 540px;
}
.rmm-sidebar {
  padding: 26px 20px;
  overflow: auto;
  z-index: 700;
  background: white;
  border-right: 1px solid var(--line);
}
.rmm-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  color: var(--muted);
  margin: 0 0 10px;
}
.rmm h2 {
  font:
    normal 30px/1.1 Georgia,
    serif;
  letter-spacing: -0.8px;
  margin: 0 0 12px;
}
.rmm-count {
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 24px;
}
.rmm-filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.rmm-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  color: #54665c;
}
.rmm-field:first-child,
.rmm-field:nth-child(2) {
  grid-column: 1/-1;
}
.rmm input,
.rmm select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid #d6ded5;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  padding: 8px;
  font-size: 12px;
}
.rmm input[type='search'] {
  background: #f7f8f4;
}
.rmm input:disabled,
.rmm select:disabled {
  background: #f3f4f0;
  color: #6e746c;
}
.rmm-reset {
  grid-column: 1/-1;
  border: none !important;
  text-decoration: underline;
  text-align: left;
  padding-left: 0 !important;
  font-size: 11px !important;
}
.rmm-list {
  margin-top: 12px;
}
.rmm-result {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 13px 0 !important;
  border: none !important;
  border-top: 1px solid var(--line) !important;
  border-radius: 0 !important;
  text-align: left;
}
.rmm-result > span {
  flex: 1;
  min-width: 0;
}
.rmm-result strong {
  display: block;
  font-size: 12px;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.rmm-result small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.rmm-result > b {
  font-size: 11px;
}
.rmm-more {
  width: 100%;
  margin-top: 12px;
}
.rmm-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #0002;
  flex-shrink: 0;
}
.rmm-stage {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #f9faf7;
}
.rmm-canvas {
  height: 100%;
  width: 100%;
  background: #fbfcfa;
}
.rmm-tools {
  position: absolute;
  z-index: 650;
  top: 20px;
  left: 20px;
  display: flex;
  gap: 8px;
}
.rmm-tools button {
  box-shadow: 0 3px 12px #173c3210;
  font-size: 12px;
}
.rmm-mobile-filter {
  display: none;
}
.rmm .leaflet-control-zoom {
  border: 1px solid var(--line);
  box-shadow: 0 3px 12px #173c3210;
  margin: 20px;
}
.rmm .leaflet-control-zoom a {
  width: 44px;
  height: 44px;
  line-height: 44px;
  color: var(--ink);
  font-weight: 400;
}
.rmm .leaflet-control-attribution {
  font-size: 9px;
  background: #ffffffcf;
}
.rmm-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
  border: 1px solid #809785;
  box-shadow:
    0 0 0 5px #cbd8c452,
    0 3px 9px #173c321a;
}
.rmm-marker {
  background: none;
  border: 0;
}
.rmm-pin {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  position: relative;
}
.rmm-pin i {
  width: 19px;
  height: 19px;
  border-radius: 50% 50% 50% 3px;
  transform: rotate(-45deg);
  background: var(--pin);
  border: 2px solid white;
  box-shadow: 0 2px 5px #0006;
}
.rmm-pin b {
  position: absolute;
  right: 1px;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #173c32;
  color: white;
  font: 700 12px/18px system-ui;
  text-align: center;
  border: 1px solid white;
}
.rmm-legend {
  position: absolute;
  z-index: 650;
  bottom: 26px;
  left: 20px;
  right: 20px;
  background: #ffffffed;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 4px 16px #173c320a;
}
.rmm-legend summary {
  cursor: pointer;
  font-size: 9px;
  letter-spacing: 1.4px;
  font-weight: 700;
  min-height: 20px;
}
.rmm-legend-items {
  display: flex;
  gap: 10px 18px;
  flex-wrap: wrap;
  padding-top: 10px;
}
.rmm-legend-items > span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #42564b;
}
.rmm-message {
  position: absolute;
  z-index: 900;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  background: white;
  box-shadow: 0 6px 24px #173c3220;
  border-radius: 12px;
  padding: 24px;
  width: min(85%, 370px);
  text-align: center;
}
.rmm-message button {
  display: block;
  margin: 15px auto 0;
}
.rmm-card {
  position: absolute;
  z-index: 800;
  right: 20px;
  top: 125px;
  width: 310px;
  max-width: calc(100% - 40px);
  max-height: calc(100% - 240px);
  overflow: auto;
  background: white;
  box-shadow: 0 12px 36px #173c3220;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}
.rmm-card h3 {
  font:
    normal 25px/1.15 Georgia,
    serif;
  margin: 0 20px 12px 0;
  overflow-wrap: anywhere;
}
.rmm-close {
  position: absolute;
  right: 5px;
  top: 5px;
  border: none !important;
  font-size: 24px !important;
}
.rmm-location,
.rmm-class {
  font-size: 11px;
  color: var(--muted);
}
.rmm-score {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 8px;
}
.rmm-score strong {
  font-size: 36px;
  line-height: 1;
}
.rmm-score span {
  font-size: 11px;
}
.rmm-status {
  display: inline-block;
  background: #f0f3ec;
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 11px;
}
.rmm-description {
  font-size: 12px;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.rmm-checkin {
  width: 100%;
  background: var(--ink) !important;
  color: white !important;
  font-size: 11px !important;
  letter-spacing: 1px;
  margin-top: 10px;
}
.rmm-card > small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 12px;
}
.rmm .leaflet-container {
  font-family: inherit;
}
.rmm .leaflet-pane {
  z-index: 400;
}
.rmm .leaflet-top,
.rmm .leaflet-bottom {
  z-index: 600;
}
@media (max-width: 760px) {
  .rmm {
    border-radius: 10px;
  }
  .rmm-top {
    padding: 12px;
  }
  .rmm-topnote {
    display: none;
  }
  .rmm-brand {
    font-size: 11px;
  }
  .rmm-body {
    display: block;
    height: calc(100dvh - 100px);
    max-height: none;
    min-height: 540px;
  }
  .rmm-stage {
    height: 100%;
  }
  .rmm-sidebar {
    display: none;
    position: absolute;
    top: 69px;
    bottom: 0;
    left: 0;
    width: min(310px, 85%);
    padding-top: 75px;
    box-shadow: 10px 0 30px #0002;
  }
  .rmm-show-filters .rmm-sidebar {
    display: block;
  }
  .rmm-mobile-filter {
    display: block;
  }
  .rmm-show-filters .rmm-tools {
    z-index: 750;
  }
  .rmm-tools {
    top: 14px;
    left: 12px;
  }
  .rmm .leaflet-control-zoom {
    margin: 14px 12px;
  }
  .rmm-legend {
    left: 12px;
    right: 12px;
    bottom: 25px;
    padding: 10px;
  }
  .rmm-legend-items {
    gap: 8px 12px;
  }
  .rmm-card {
    top: auto;
    bottom: 125px;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    max-height: 52%;
    padding: 20px;
  }
  .rmm input,
  .rmm select {
    font-size: 16px;
  }
  .rmm-card h3 {
    font-size: 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rmm * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
.rmm-legend summary {
  min-height: 44px;
  line-height: 24px;
  padding: 10px 0;
}
.rmm-legend-items {
  padding-top: 0;
}
@media (max-width: 760px) {
  .rmm-card {
    bottom: 164px;
    max-height: calc(100% - 240px);
  }
}

/* V5 Alfredo review · typography + route action */
.rmm{font-family:"Source Sans 3",Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.rmm h2,.rmm h3{font-family:"Trade Gothic Next LT Pro","Arial Narrow",Impact,sans-serif;text-transform:uppercase;letter-spacing:-.025em}
.rmm h2{font-size:30px;line-height:1}
.rmm-route{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;margin-top:12px;padding:10px 14px;border-radius:999px;background:#062D22;color:#fff!important;text-decoration:none;font-weight:900;letter-spacing:.03em;text-align:center}
.rmm-route:hover{background:#0B4435}
