.rm {
  --rm-green: #37762b;
  --rm-map-green: var(--base-color-brand--r-green, #6cb33f);
  --rm-ink: #243a29;
  --rm-muted: #526354;
  --rm-border: #d9e0d3;
  box-sizing: border-box;
  max-width: 80rem;
  margin: 0 auto;
  padding: clamp(24px, 3vw, 44px) clamp(8px, 1.5vw, 20px);
  color: var(--rm-ink);
  font: inherit;
  line-height: 1.5;
}
.page-template-page-franchise-opportunity-available-markets .container-small:has([data-robeks-markets]) { max-width: 80rem; }
.rm *, .rm *::before, .rm *::after { box-sizing: border-box; }
.rm [hidden], .rm-popup:not([open]) { display: none !important; }
.rm-header { margin-bottom: 24px; text-align: center; }
.rm-header h2, .rm-popup-title { margin: 0; color: var(--rm-ink); font-family: inherit; font-weight: 750; letter-spacing: -.035em; line-height: 1.1; }
.rm-header h2 { font-size: clamp(32px, 4vw, 52px); }
.rm .rm-intro { margin: 12px auto 0; color: var(--rm-muted); font-size: 16px; }
.rm-map { display: block; width: 100%; height: auto; margin: 0 auto 12px; overflow: visible; }
.rm-state-shape { fill: var(--rm-map-green); stroke: #fff; stroke-width: 2.3; stroke-linejoin: round; transition: fill .15s ease; }
.rm-map-state { cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent; }
.rm-map-state--empty .rm-state-shape { fill: #e0e5d9; }
.rm-map-state:hover .rm-state-shape, .rm-map-state:focus .rm-state-shape { fill: #407e2e; }
.rm-map-state.is-selected .rm-state-shape { fill: #2e6026; }
.rm-state-label { fill: #233c23; font-family: inherit; font-size: 14px; font-weight: 700; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.rm-map-state--empty .rm-state-label { fill: #4a5946; }
.rm-map-state:hover .rm-state-label, .rm-map-state:focus .rm-state-label, .rm-map-state.is-selected .rm-state-label { fill: #fff; }
.rm-map-state:focus .rm-state-shape { stroke: #172c1d; stroke-width: 4; }
.rm-callout-line { fill: none; stroke: #a9b89f; stroke-width: 1; pointer-events: none; }
.rm-callout-box { fill: var(--rm-map-green); }
.rm-map-state--empty .rm-callout-box { fill: #e0e5d9; }
.rm-map-state:hover .rm-callout-box, .rm-map-state:focus .rm-callout-box, .rm-map-state.is-selected .rm-callout-box { fill: #2e6026; }
.rm-map-state--empty:is(:hover, :focus, .is-selected) :is(.rm-state-shape, .rm-callout-box) { fill: #50634e; }
.rm-map-footer, .rm-legend, .rm-legend > span { display: flex; align-items: center; gap: 8px; }
.rm-map-footer { flex-wrap: wrap; justify-content: center; gap: 4px 28px; }
.rm-legend { flex-wrap: wrap; justify-content: center; gap: 5px 16px; font-size: 13px; }
.rm-swatch { width: 12px; height: 12px; border-radius: 3px; background: #e0e5d9; border: 1px solid #b5c2ad; }
.rm-swatch--live { background: var(--rm-map-green); border-color: var(--rm-green); }
.rm .rm-browse { display: inline-flex; align-items: center; min-height: 44px; color: var(--rm-green); font-size: 14px; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.rm .rm-popup {
  position: fixed; inset: 0; margin: auto; width: min(100% - 28px, 510px); height: fit-content;
  max-height: calc(100% - 32px); max-height: calc(100dvh - 32px);
  padding: 0; border: 0; border-radius: 16px; background: white; color: var(--rm-ink);
  box-shadow: 0 14px 65px rgb(8 29 15 / .28); overflow: hidden;
}
.rm-popup::backdrop { background: rgb(15 27 20 / .66); }
html:has(.rm-popup[open]) { overflow: hidden; }
.rm-popup-inner { max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; padding: 24px clamp(20px, 4vw, 36px) 30px; }
.rm .rm-close { position: absolute; z-index: 1; top: 8px; right: 8px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #f1f4ec; color: var(--rm-ink); padding: 0; cursor: pointer; font: 28px/1 sans-serif; }
.rm-close:hover { background: #e3ebdb; }
.rm .rm-popup-logo { display: block; margin: 0 auto 12px; width: 98px; height: auto; }
.rm .rm-popup-title { font-size: clamp(28px, 4vw, 38px); text-align: center; }
.rm .rm-popup-title:focus { outline: none; }
.rm .rm-results-status { margin: 8px 0 18px; color: var(--rm-muted); text-align: center; font-size: 14px; }
.rm-controls { margin-top: 18px; }
.rm-controls label { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 650; }
.rm-controls input { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid #a6b5a1; border-radius: 6px; background: #fff; color: var(--rm-ink); font: inherit; }
.rm-directory { margin-top: 20px; }
.rm-popup .rm-directory { margin-top: 0; }
.rm-group { margin: 0 0 22px; scroll-margin-top: 28px; }
.rm-group:last-child { margin-bottom: 0; }
.rm-group h4 { font: inherit; font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.rm-state-popup .rm-group h4 { display: none; }
.rm-market-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rm-border); }
.rm-market { margin: 0; padding: 0; border-bottom: 1px solid var(--rm-border); }
.rm .rm-market-link { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 6px; text-decoration: none; color: var(--rm-ink); }
.rm .rm-market-link:hover { background: #f5f8f2; }
.rm-market-info { min-width: 0; overflow-wrap: anywhere; }
.rm-market-link strong { display: block; font-size: 18px; font-weight: 700; color: var(--rm-green); }
.rm-market-link:hover strong { text-decoration: underline; }
.rm-availability, .rm-summary { display: block; color: var(--rm-muted); font-size: 13px; }
.rm-availability { font-weight: 650; }
.rm-summary { margin-top: 4px; }
.rm-arrow { color: var(--rm-green); font-size: 22px; }
.rm-inquiry { text-align: center; }
.rm-inquiry p { max-width: 36ch; margin: 14px auto 20px; color: var(--rm-muted); }
.rm a.rm-contact { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 24px; border-radius: 6px; color: #fff; background: var(--rm-green); font-weight: 700; text-decoration: none; }
.rm a.rm-contact:hover { background: #285722; }
.rm a:focus-visible, .rm input:focus-visible, .rm button:focus-visible { outline: 3px solid #244e20; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .rm *, .rm *::before, .rm *::after { transition: none !important; }
}
