/* JMH Virtual Leasing Assistant */
.jmh-va {
  --jmh-va-brand: #56774b;
  --jmh-va-accent: #bf9866;
  --jmh-va-header-text: #ffffff;
  --jmh-va-text: #1f2937;
  --jmh-va-muted: #6b7280;
  --jmh-va-border: #e5e7eb;
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 9998;
  font-family: inherit;
}

.jmh-va *,
.jmh-va *::before,
.jmh-va *::after { box-sizing: border-box; }

/* Compact greeting shown on initial page load */
.jmh-va__teaser {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: 228px;
  min-height: 66px;
  overflow: hidden;
  border-radius: 14px 14px 14px 3px;
  background: var(--jmh-va-brand);
  color: var(--jmh-va-header-text);
  box-shadow: 0 14px 34px rgba(0,0,0,.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.jmh-va.is-teaser-visible:not(.is-open) .jmh-va__teaser {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.jmh-va__teaser-open {
  width: 100%;
  min-height: 66px;
  padding: 15px 42px 14px 16px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.jmh-va__teaser-text {
  display: block;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 600;
}
.jmh-va__teaser-close {
  position: absolute;
  z-index: 2;
  top: 11px;
  right: 10px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.jmh-va__teaser-close:hover { background: rgba(255,255,255,.12); }
.jmh-va__teaser-close svg { width: 17px; height: 17px; fill: currentColor; }

/* Launcher */
.jmh-va__launcher {
  min-width: 148px;
  height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--jmh-va-brand);
  color: var(--jmh-va-header-text);
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.jmh-va__launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0,0,0,.26);
}
.jmh-va.is-open .jmh-va__launcher { opacity: 0; visibility: hidden; pointer-events: none; }
.jmh-va__launcher-icon { width: 24px; height: 24px; display: grid; place-items: center; }
.jmh-va__launcher-icon svg { width: 24px; height: 24px; }
.jmh-va__launcher-label { font-size: 14px; font-weight: 800; letter-spacing: .005em; }

.jmh-va__launcher:focus-visible,
.jmh-va__teaser-open:focus-visible,
.jmh-va__teaser-close:focus-visible,
.jmh-va__menu-button:focus-visible,
.jmh-va__end-chat:focus-visible,
.jmh-va__close:focus-visible,
.jmh-va__ask button:focus-visible,
.jmh-va__quick button:focus-visible,
.jmh-va__action:focus-visible,
.jmh-va__lead-form button:focus-visible,
.jmh-va__lead-form input:focus-visible,
.jmh-va__lead-form textarea:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--jmh-va-accent) 55%, transparent);
  outline-offset: 2px;
}

/* Full chat panel */
.jmh-va__panel {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(400px, calc(100vw - 32px));
  height: min(740px, calc(100vh - 56px));
  min-height: 500px;
  /* The host site applies vertical padding to all <section> elements.
     This widget is a <section>, so explicitly zero it out or a white
     band appears above and below the branded chat interface. */
  margin: 0 !important;
  padding: 0 !important;
  display: grid;
  grid-template-rows: 58px minmax(0, 1fr) auto auto;
  overflow: visible;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.985);
  transform-origin: right bottom;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.jmh-va.is-open .jmh-va__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.jmh-va__header {
  /* Keep the branded header flush against the very top of the chat panel. */
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  width: 100% !important;
  min-height: 58px;
  margin: 0 !important;
  padding: 0 12px 0 16px !important;
  display: flex;
  align-items: center;
  align-self: stretch;
  justify-content: space-between;
  gap: 12px;
  transform: none !important;
  background: var(--jmh-va-brand) !important;
  color: var(--jmh-va-header-text);
  border-radius: 15px 15px 0 0;
  z-index: 2;
}
.jmh-va__property {
  min-width: 0;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 800;
}
.jmh-va__header-actions { display: flex; align-items: center; gap: 1px; }
.jmh-va__menu-wrap { position: relative; }
.jmh-va__menu-button,
.jmh-va__close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.jmh-va__menu-button:hover,
.jmh-va__close:hover { background: rgba(255,255,255,.13); }
.jmh-va__menu-button svg { width: 22px; height: 22px; fill: currentColor; }
.jmh-va__close svg { width: 21px; height: 21px; fill: currentColor; }

.jmh-va__menu {
  position: absolute;
  z-index: 10;
  top: 44px;
  right: -38px;
  width: 192px;
  padding: 6px;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(0,0,0,.17);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.jmh-va__menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.jmh-va__end-chat {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  color: #d64b33;
  text-align: left;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.jmh-va__end-chat:hover { background: #fff5f2; }
.jmh-va__end-chat svg { width: 19px; height: 19px; flex: 0 0 auto; }

.jmh-va__body {
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
}
.jmh-va__messages {
  flex: 1 1 auto;
  min-height: 0;
  padding: 20px 12px 10px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
}
.jmh-va__message {
  width: fit-content;
  max-width: 92%;
  margin: 0 0 11px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.48;
  word-wrap: break-word;
}
.jmh-va__message--bot {
  margin-right: auto;
  border-bottom-left-radius: 4px;
  background: #f1f1f1;
  color: #111827;
}
.jmh-va__message--user {
  margin-left: auto;
  border-bottom-right-radius: 4px;
  background: var(--jmh-va-brand);
  color: var(--jmh-va-header-text);
}

/* Keep host-site paragraph rules from overriding visitor bubble contrast. */
.jmh-va__message--user p {
  color: var(--jmh-va-header-text) !important;
  font-family: inherit !important;
  font-weight: 600 !important;
  margin: 0 !important;
}
.jmh-va__message p { margin: 0; }
.jmh-va__message p + p { margin-top: 8px; }
.jmh-va__message strong { font-weight: 800; }
.jmh-va__message ul { margin: 8px 0 0; padding-left: 18px; }
.jmh-va__message li + li { margin-top: 4px; }

.jmh-va__typing { display: inline-flex; gap: 4px; align-items: center; min-width: 46px; }
.jmh-va__typing span { width: 6px; height: 6px; border-radius: 50%; background: #9ca3af; animation: jmhVaTyping 1s infinite ease-in-out; }
.jmh-va__typing span:nth-child(2){ animation-delay:.12s; }
.jmh-va__typing span:nth-child(3){ animation-delay:.24s; }
@keyframes jmhVaTyping {
  0%, 60%, 100% { transform: translateY(0); opacity:.5; }
  30% { transform: translateY(-4px); opacity:1; }
}

.jmh-va__quick {
  /* Knock-style guided choices: persistent, centered pills that wrap cleanly. */
  flex: 0 0 auto;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 10px 12px;
  overflow: visible;
  background: #fff;
  border-top: 1px solid #f0f1f2;
}
.jmh-va__quick button {
  width: auto;
  max-width: 100%;
  min-width: 0;
  min-height: 34px;
  border: 1px solid #d9dde2;
  border-radius: 999px;
  padding: 7px 11px;
  background: #fff;
  color: #535861;
  font: inherit;
  font-size: 11.25px;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.jmh-va__quick button:hover {
  border-color: color-mix(in srgb, var(--jmh-va-brand) 50%, #d9dde2);
  background: color-mix(in srgb, var(--jmh-va-brand) 6%, #fff);
  color: var(--jmh-va-brand);
}

.jmh-va__action-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.jmh-va__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid var(--jmh-va-brand);
  border-radius: 999px;
  color: var(--jmh-va-brand) !important;
  background: #fff;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer;
}
.jmh-va__action--primary { background: var(--jmh-va-brand); color: var(--jmh-va-header-text) !important; }
.jmh-va__action:hover { opacity: .9; border: 1px solid var(--jmh-va-brand); display: inline-flex;}

.jmh-va__specials { margin-top: 8px; display: grid; gap: 7px; }
.jmh-va__special {
  padding: 9px 10px;
  border: 1px solid #e3e6ea;
  border-radius: 9px;
  background: #fbfbfc;
  color: #323842;
  font-size: 12px;
  line-height: 1.4;
}

/* Message field + outlined send arrow */
.jmh-va__ask {
  min-height: 60px;
  display: grid;
  grid-template-columns: 1fr 44px;
  align-items: center;
  gap: 4px;
  padding: 8px 8px 8px 14px;
  background: #fff;
  border-top: 1px solid var(--jmh-va-border);
}
.jmh-va__ask input {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--jmh-va-text);
  font: inherit;
  font-size: 14px;
}
.jmh-va__ask input::placeholder { color: #8b8b8b; }
.jmh-va__ask button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--jmh-va-brand);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, opacity .15s ease;
}
.jmh-va__ask button:hover:not(:disabled) { background: color-mix(in srgb, var(--jmh-va-brand) 8%, #fff); }
.jmh-va__ask button:disabled { color: #9a9a9a; opacity: .72; cursor: default; }
.jmh-va__ask button svg { width: 23px; height: 23px; }
.jmh-va__fineprint {
  padding: 5px 10px 8px;
  background: #fff;
  color: #8d939d;
  text-align: center;
  font-size: 9.5px;
  line-height: 1.3;
  border-radius: 0 0 15px 15px;
}

.jmh-va__lead-wrap { width: 100%; max-width: 100%; }
.jmh-va__lead-intro { margin-bottom: 8px; }
.jmh-va__lead-form { display: grid; gap: 8px; margin-top: 10px; }
.jmh-va__lead-form .jmh-va__two { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.jmh-va__lead-form input,
.jmh-va__lead-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #d8dde5;
  border-radius: 9px;
  padding: 9px 10px;
  background: #fff;
  color: #1f2937;
  font: inherit;
  font-size: 12px;
}
.jmh-va__lead-form textarea { min-height: 72px; resize: vertical; }
.jmh-va__lead-form button {
  min-height: 38px;
  border: 0;
  border-radius: 9px;
  padding: 9px 12px;
  background: var(--jmh-va-brand);
  color: var(--jmh-va-header-text);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.jmh-va__lead-form button[disabled] { opacity:.6; cursor: wait; }
.jmh-va__lead-note { margin-top: 7px; color: #7b8492; font-size: 10px; line-height: 1.4; }
.jmh-va__lead-error { margin-top: 8px; color: #b42318; font-size: 11px; font-weight: 700; }

.jmh-va__availability { margin-top: 8px; display: grid; gap: 7px; }
.jmh-va__plan { padding: 8px 9px; border: 1px solid #e5e7eb; border-radius: 9px; background: #fbfbfc; }
.jmh-va__plan strong { display: block; font-size: 12px; color: #1f2937; }
.jmh-va__plan span { display: block; margin-top: 2px; color: #626b78; font-size: 10.5px; }

@media (max-width: 767.98px) {
  .jmh-va { right: 14px; bottom: 14px; }
  .jmh-va__teaser { width: 226px; bottom: 67px; }
  .jmh-va__launcher { height: 50px; min-width: 142px; padding: 0 18px; }
  .jmh-va__panel {
    position: fixed;
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
    height: min(700px, calc(100dvh - 24px));
    min-height: 0;
    border-radius: 16px;
  }
  .jmh-va__menu { right: -34px; }
}

@media (max-width: 420px) {
  .jmh-va__panel { right: 8px; left: 8px; bottom: 8px; height: calc(100dvh - 16px); }
  .jmh-va__teaser { right: 0; width: 226px; }
  .jmh-va__launcher-label { display: inline; }
  .jmh-va__lead-form .jmh-va__two { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .jmh-va__panel,
  .jmh-va__teaser,
  .jmh-va__launcher { transition: none; }
  .jmh-va__typing span { animation: none; }
}



/* Guided leasing overlays: availability, tours, request-a-text, and gallery */
.jmh-va__service-overlay,
.jmh-va__gallery-overlay {
  position: fixed;
  inset: 0;
  z-index: 62;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}
.jmh-va__service-overlay.is-open,
.jmh-va__gallery-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.jmh-va__service-backdrop,
.jmh-va__gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17,24,39,.58);
  backdrop-filter: blur(1px);
}
.jmh-va__service-overlay {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: clamp(52px, 8vh, 88px) 28px 28px clamp(28px, 4vw, 64px);
}
.jmh-va__service-modal {
  position: relative;
  z-index: 1;
  width: min(580px, calc(100vw - 56px));
  max-height: calc(100dvh - 100px);
  margin: 0 !important;
  padding: 0 !important;
  display: grid;
  grid-template-rows: auto minmax(0,1fr);
  overflow: hidden;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 28px 90px rgba(0,0,0,.34);
}
.jmh-va__service-modal.is-wide { width: min(650px, calc(100vw - 56px)); }
.jmh-va__service-toolbar {
  min-height: 62px;
  padding: 10px 12px 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--jmh-va-brand);
  color: var(--jmh-va-header-text);
}
.jmh-va__service-toolbar strong { font-size: 16px; line-height: 1.2; font-weight: 800; }
.jmh-va__service-close,
.jmh-va__gallery-close {
  width: 40px;
  height: 40px;
  border: 1px solid color-mix(in srgb, var(--jmh-va-header-text) 50%, transparent);
  border-radius: 0;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--jmh-va-header-text);
  cursor: pointer;
}
.jmh-va__service-close:hover,
.jmh-va__gallery-close:hover { background: rgba(255,255,255,.12); }
.jmh-va__service-close svg,
.jmh-va__gallery-close svg { width: 22px; height: 22px; fill: currentColor; }
.jmh-va__service-body {
  min-height: 0;
  padding: 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: #26313d;
  background: #fff;
}
.jmh-va__service-body p { margin: 0 0 12px !important; color: #4b5563 !important; font: inherit !important; font-size: 13px !important; line-height: 1.5 !important; }
.jmh-va__service-body h3 { margin: 0 0 6px; color: #111827; font-size: 15px; font-weight: 800; }
.jmh-va__service-loading { padding: 36px 18px; text-align: center; color: #6b7280; font-size: 13px; }
.jmh-va__service-error { padding: 12px 14px; border: 1px solid #f1c0ba; border-radius: 8px; background: #fff5f4; color: #a12b1f; font-size: 12px; font-weight: 700; }

.jmh-va__availability-list { display: grid; gap: 16px; }
.jmh-va__availability-plan { padding-bottom: 14px; border-bottom: 1px solid #e5e7eb; }
.jmh-va__availability-plan:last-child { border-bottom: 0; padding-bottom: 0; }
.jmh-va__availability-plan-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.jmh-va__availability-plan-name { color: var(--jmh-va-brand); font-size: 17px; font-weight: 800; }
.jmh-va__availability-rent { color: #111827; font-size: 13px; font-weight: 800; white-space: nowrap; }
.jmh-va__availability-unit { display: grid; grid-template-columns: minmax(90px,.8fr) minmax(0,1.8fr) auto; align-items: center; gap: 12px; padding: 7px 0; font-size: 12px; color: #374151; }
.jmh-va__availability-unit + .jmh-va__availability-unit { border-top: 1px dashed #e5e7eb; }
.jmh-va__availability-unit-meta { min-width: 0; color: #4b5563; }
.jmh-va__availability-unit-rent { font-weight: 800; color: #111827; }
.jmh-va__availability-tour {
  min-height: 32px;
  padding: 6px 10px;
  border: 0;
  background: transparent;
  color: var(--jmh-va-brand);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.jmh-va__availability-more {
  margin-top: 6px;
  padding: 2px 5px;
  border: 0;
  background: #eef1f3;
  color: #4b5563;
  font: inherit;
  font-size: 10.5px;
  cursor: pointer;
}
.jmh-va__availability-extra[hidden] { display: none !important; }
.jmh-va__service-footer-actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.jmh-va__service-link,
.jmh-va__service-submit {
  min-height: 40px;
  padding: 9px 16px;
  border: 1px solid var(--jmh-va-brand);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--jmh-va-brand);
  color: var(--jmh-va-header-text) !important;
  text-decoration: none !important;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.jmh-va__service-link--ghost { background: #fff; color: var(--jmh-va-brand) !important; }

.jmh-va__service-form { display: grid; gap: 12px; }
.jmh-va__service-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.jmh-va__service-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.jmh-va__service-field { display: grid; gap: 5px; min-width: 0; }
.jmh-va__service-field label,
.jmh-va__service-legend { color: #374151; font-size: 11px; font-weight: 800; }
.jmh-va__service-field input,
.jmh-va__service-field select,
.jmh-va__service-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 9px 10px;
  border: 1px solid #cfd6de;
  border-radius: 6px;
  outline: 0;
  background: #fff;
  color: #111827;
  font: inherit;
  font-size: 12px;
}
.jmh-va__service-field textarea { min-height: 78px; resize: vertical; }
.jmh-va__service-field input:focus,
.jmh-va__service-field select:focus,
.jmh-va__service-field textarea:focus { border-color: var(--jmh-va-brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--jmh-va-brand) 12%, transparent); }
.jmh-va__tour-types { display: flex; gap: 18px; flex-wrap: wrap; }
.jmh-va__tour-types label { display: inline-flex; align-items: center; gap: 6px; color: #374151; font-size: 12px; font-weight: 700; }
.jmh-va__service-consent { color: #6b7280; font-size: 9.5px; line-height: 1.45; }
.jmh-va__service-submit { width: 100%; border: 0; }
.jmh-va__service-submit:disabled { opacity: .58; cursor: wait; }
.jmh-va__service-result { padding: 18px; border-radius: 8px; background: #f4f7f2; color: #334155; font-size: 13px; line-height: 1.5; }
.jmh-va__office-hours-note { margin: 0 0 14px; padding: 12px 14px; border-left: 4px solid var(--jmh-va-brand); background: #f4f7f2; color: #334155; font-size: 12px; line-height: 1.5; }
.jmh-va__office-hours-note strong { display: block; margin-bottom: 5px; color: #1f2937; }
.jmh-va__office-hours-lines { white-space: pre-line; }

.jmh-va__gallery-overlay { display: grid; place-items: center; padding: 34px; }
.jmh-va__gallery-modal {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100vw - 68px));
  height: min(820px, calc(100dvh - 68px));
  margin: 0 !important;
  padding: 0 !important;
  display: grid;
  grid-template-rows: auto minmax(0,1fr) auto auto;
  overflow: hidden;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 28px 90px rgba(0,0,0,.34);
}
.jmh-va__gallery-toolbar {
  min-height: 62px;
  padding: 10px 12px 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--jmh-va-brand);
  color: var(--jmh-va-header-text);
}
.jmh-va__gallery-toolbar > div { min-width: 0; display: grid; gap: 2px; }
.jmh-va__gallery-toolbar strong { font-size: 16px; font-weight: 800; }
.jmh-va__gallery-subtitle { font-size: 10.5px; opacity: .88; }
.jmh-va__gallery-stage { position: relative; min-height: 0; display: grid; place-items: center; overflow: hidden; background: #111827; }
.jmh-va__gallery-image { width: 100%; height: 100%; object-fit: contain; display: block; }
.jmh-va__gallery-nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 84px;
  border: 1px solid rgba(255,255,255,.5);
  background: rgba(0,0,0,.38);
  color: #fff;
  font: inherit;
  font-size: 34px;
  cursor: pointer;
}
.jmh-va__gallery-prev { left: 14px; }
.jmh-va__gallery-next { right: 14px; }
.jmh-va__gallery-counter { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); padding: 7px 12px; border-radius: 6px; background: rgba(0,0,0,.72); color: #fff; font-size: 11px; font-weight: 800; }
.jmh-va__gallery-status { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; color: #fff; font-size: 13px; text-align: center; pointer-events: none; }
.jmh-va__gallery-thumbs { min-height: 76px; padding: 8px 10px; display: flex; gap: 8px; overflow-x: auto; background: #f7f7f7; border-top: 1px solid #e5e7eb; }
.jmh-va__gallery-thumb { flex: 0 0 92px; height: 58px; padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; background: #fff; cursor: pointer; }
.jmh-va__gallery-thumb.is-active { border-color: var(--jmh-va-brand); }
.jmh-va__gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jmh-va__gallery-footer { min-height: 44px; padding: 8px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; color: #6b7280; font-size: 10.5px; }
.jmh-va__gallery-full-link { color: var(--jmh-va-brand) !important; font-weight: 800; text-decoration: none !important; }
body.jmh-va-overlay-open { overflow: hidden !important; }

@media (max-width: 767.98px) {
  .jmh-va__service-overlay { padding: 8px; align-items: center; }
  .jmh-va__service-modal,
  .jmh-va__service-modal.is-wide { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 10px; }
  .jmh-va__service-body { padding: 16px 14px; }
  .jmh-va__service-grid-2,
  .jmh-va__service-grid-3 { grid-template-columns: 1fr; }
  .jmh-va__availability-unit { grid-template-columns: 1fr; gap: 4px; padding: 10px 0; }
  .jmh-va__availability-tour { justify-self: start; padding-left: 0; }
  .jmh-va__gallery-overlay { padding: 8px; }
  .jmh-va__gallery-modal { width: calc(100vw - 16px); height: calc(100dvh - 16px); border-radius: 10px; }
  .jmh-va__gallery-nav { width: 44px; height: 70px; font-size: 28px; }
  .jmh-va__gallery-thumbs { min-height: 68px; }
  .jmh-va__gallery-thumb { flex-basis: 78px; height: 50px; }
  .jmh-va__gallery-footer span { display: none; }
  .jmh-va__gallery-footer { justify-content: flex-end; }
}

/* Neighborhood map overlay */
.jmh-va__map-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}
.jmh-va__map-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.jmh-va__map-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17,24,39,.58);
  backdrop-filter: blur(1px);
}
.jmh-va__map-modal {
  position: relative;
  z-index: 1;
  width: min(1500px, calc(100vw - 56px));
  height: min(680px, calc(100dvh - 80px));
  min-height: 500px;
  margin: 0 !important;
  padding: 0 !important;
  display: grid;
  grid-template-rows: auto auto minmax(0,1fr) auto;
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 28px 90px rgba(0,0,0,.34);
}
.jmh-va__map-toolbar {
  min-height: 66px;
  padding: 12px 14px 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--jmh-va-brand);
  color: var(--jmh-va-header-text);
}
.jmh-va__map-property { min-width: 0; display: grid; gap: 2px; }
.jmh-va__map-property strong { font-size: 16px; line-height: 1.2; }
.jmh-va__map-address { font-size: 11px; line-height: 1.35; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jmh-va__map-toolbar-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.jmh-va__map-directions {
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid color-mix(in srgb, var(--jmh-va-header-text) 55%, transparent);
  border-radius: 999px;
  color: var(--jmh-va-header-text) !important;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
}
.jmh-va__map-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--jmh-va-header-text);
  cursor: pointer;
}
.jmh-va__map-close:hover { background: rgba(255,255,255,.13); }
.jmh-va__map-close svg { width: 22px; height: 22px; fill: currentColor; }
.jmh-va__map-categories {
  padding: 10px 14px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  background: #fff;
  border-bottom: 1px solid var(--jmh-va-border);
  scrollbar-width: thin;
}
.jmh-va__map-categories button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid color-mix(in srgb, var(--jmh-va-brand) 34%, #d8dde5);
  border-radius: 999px;
  background: #fff;
  color: var(--jmh-va-brand);
  font: inherit;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
}
.jmh-va__map-categories button.is-active,
.jmh-va__map-categories button:hover {
  background: var(--jmh-va-brand);
  border-color: var(--jmh-va-brand);
  color: var(--jmh-va-header-text);
}
.jmh-va__map-stage { position: relative; min-height: 0; background: #eef1f3; }
.jmh-va__map-canvas { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 360px; }
.jmh-va__map-status {
  position: absolute;
  z-index: 600;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  max-width: calc(100% - 30px);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  color: #374151;
  box-shadow: 0 6px 22px rgba(0,0,0,.14);
  font-size: 11px;
  font-weight: 700;
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s ease, visibility .15s ease;
}
.jmh-va__map-status.is-visible { opacity: 1; visibility: visible; }
.jmh-va__map-footer {
  min-height: 46px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border-top: 1px solid var(--jmh-va-border);
  color: #6b7280;
  font-size: 11px;
}
.jmh-va__map-full-link { color: var(--jmh-va-brand) !important; font-weight: 800; text-decoration: none !important; }
body.jmh-va-map-open { overflow: hidden !important; }

@media (max-width: 767.98px) {
  .jmh-va__map-overlay { padding: 8px; }
  .jmh-va__map-modal { width: calc(100vw - 16px); height: calc(100dvh - 16px); min-height: 0; border-radius: 14px; }
  .jmh-va__map-toolbar { padding: 10px 8px 10px 13px; min-height: 60px; }
  .jmh-va__map-address { max-width: 58vw; }
  .jmh-va__map-directions { display: none; }
  .jmh-va__map-categories { padding: 8px 10px; }
  .jmh-va__map-footer span { display: none; }
  .jmh-va__map-footer { justify-content: flex-end; }
  .jmh-va__map-canvas { min-height: 300px; }
}
@media (max-width: 767.98px) {
  .jmh-va__availability-unit-rent {
    display: inline-block;
    margin-right: 12px;
  }

  .jmh-va__availability-tour {
    margin-left: 0;
  }
}
