.vb-mobile-signin { max-width: 420px; margin: 0 auto; text-align: center; padding-bottom: 32px; }
.vb-mobile-signin .vb-gate-heading { margin: 24px 0; font-size: 36px; line-height: 1.3; color: #222; }
.vb-mobile-signin .vb-social-intro { font-size: 14px; line-height: 1.8; color: #666; }
.vb-mobile-signin .vb-gate-note { margin: 20px 0; color: #777; font-size: 13px; line-height: 1.7; }
.vb-mobile-browse { display: inline-block; margin-top: 12px; color: #777; text-decoration: underline; font-size: 13px; }
.vb-mobile-social { margin: 24px 0; }
.vb-mobile-social .vb-login-area,
.vb-member-gate-dialog .vb-login-area { display: flex; flex-direction: column; align-items: stretch; width: 100%; gap: 12px; }
.vb-mobile-social .vb-login-btn, .vb-mobile-social .vb-google-wrap,
.vb-member-gate-dialog .vb-login-btn, .vb-member-gate-dialog .vb-google-wrap { width: 100%; height: 48px; }
.vb-mobile-social .vb-google-real, .vb-member-gate-dialog .vb-google-real { height: 48px; }
.vb-member-gate-dialog { width: 360px; max-width: calc(100% - 24px); margin: 12vh auto; z-index: 20000; }
.vb-member-gate-dialog .modal-header { padding: 18px; }
.vb-member-gate-dialog .modal-body { padding: 20px; }
.vb-member-gate-dialog .vb-gate-heading { font-size: 17px; line-height: 1.6; }
#vb-member-gate { z-index: 20000; }
.modal-backdrop { z-index: 19999; }
.column-right .store_name { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 8px; row-gap: 2px; min-width: 0; line-height: 1.45; }
.column-right .store_name .building_name { flex: 0 0 auto; min-width: 0; max-width: 100%; overflow: visible; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; }
.column-right .store_name .room_no { flex: 1 1 48px; min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: 13px; font-weight: 600; color: #3865c0; white-space: nowrap; }
.column-right .store_name .approval_year { flex: 0 0 auto; font-size: 12px; font-weight: 400; color: #777; white-space: nowrap; margin-left: auto; }
.list > .list-message:first-of-type .approval_year { font-weight: 600; color: #555; }
.list > .list-message:first-of-type .vb-approval-short { display: none; }
.list > .list-message:first-of-type .vb-approval-full { display: inline !important; }

/* Mobile realtor details: keep each password label beside its complete value. */
.vb-product-detail .vb-realtor-password-field { display:flex; align-items:baseline; gap:5px; min-width:0; }
.vb-product-detail .vb-realtor-password-field dt { flex:0 0 auto; margin:0 !important; white-space:nowrap; }
.vb-product-detail .vb-realtor-password-field dd { flex:1 1 auto; min-width:0; overflow-x:auto; white-space:pre !important; font-variant-numeric:tabular-nums; }
.vb-product-detail .vb-password-label-full { display:none; }
.vb-product-detail .vb-password-label-short { display:inline; }

/* Keep inquiry actions and the scroll-to-top control in separate touch areas. */
.vb-product-detail { --vb-browser-control-space: 48px; }
.vb-product-detail .body { padding-bottom: 144px; padding-bottom: calc(96px + var(--vb-browser-control-space) + env(safe-area-inset-bottom, 0px)); }
#question.vb-detail-actions { box-sizing: border-box; position: fixed; bottom: 0; display: flex; justify-content: center; align-items: center; gap: 10px; padding: 10px 14px; padding-bottom: 58px; padding-bottom: calc(10px + var(--vb-browser-control-space) + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid #e6e6e6; box-shadow: 0 -2px 10px rgba(0,0,0,.06); z-index: 10000; }
#question.vb-detail-actions > .btn { flex: 1; min-height: 48px; width: auto !important; border-radius: 8px; font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.vb-product-detail #topcontrol { bottom: var(--vb-detail-controls-bottom, 80px) !important; right: var(--vb-detail-controls-right, 14px) !important; z-index: 9998; }
.vb-product-detail.modal-open #topcontrol { visibility: hidden; }
.vb-product-detail #concern_dialog .modal-dialog { z-index: 20000; }

/* Shared by guest and signed-in mobile/app menus. Use viewport width so
   Webflow moving the menu into its overlay cannot shrink it a second time. */
.w-nav .nav-menu {
  box-sizing: border-box;
  width: calc(100vw - 24px);
  max-width: 480px;
  padding-right: 14px;
  padding-left: 14px;
  padding-bottom: 24px;
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
  overflow-y: auto;
}
.nav-menu > .text-right > a {
  position: absolute;
  top: 6px;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}
/* Override the legacy inline positioning to give the close link a touch area. */
.nav-menu > .text-right .ion-close-round {
  position: static !important;
  margin-top: 0 !important;
}
.nav-menu .nav-menu-link {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 52px;
  height: auto;
  padding: 6px 0;
  font-size: 26px;
  font-weight: 700;
}
.nav-menu .nav-menu-titles {
  flex: 1;
  min-width: 0;
  float: none;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: break-word;
}
.nav-menu .icon-list-menu {
  flex: 0 0 44px;
  width: 44px;
  height: auto;
  float: none;
  font-size: 26px;
  line-height: 1.35;
}
/* Keep the desktop preview of the mobile site inside its phone wrapper. */
@media (min-width: 768px) {
  .w-nav .nav-menu { width: 336px; }
}

/* Map header: identity after the back arrow, with space for one search button. */
.vb-mobile-map-navbar > .w-container { position: relative; }
.vb-mobile-map-identity {
  position: absolute;
  top: 0;
  left: 90px;
  right: 164px;
  height: 45px;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
  padding: 0 4px;
  color: #333;
  text-align: left;
  pointer-events: none;
}
.vb-mobile-map-avatar, .vb-mobile-map-realtor {
  display: flex;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
}
.vb-mobile-map-avatar { border-radius: 50%; overflow: hidden; background: #f1f1f1; }
.vb-mobile-map-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vb-mobile-map-realtor { color: #ff6268; }
.vb-mobile-map-realtor svg { width: 30px; height: 30px; }
.vb-mobile-map-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}
.vb-mobile-map-navbar .vb-mobile-map-search {
  position: absolute;
  top: 0;
  right: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  width: 164px;
  height: 45px;
  padding: 0 2px;
  color: #4b50ef;
  text-decoration: none;
  white-space: nowrap;
}
.vb-mobile-map-search-label { font-size: 30px; font-weight: 800; line-height: 1.2; }
.vb-mobile-map-search-icon { flex: 0 0 28px; width: 28px; height: 28px; color: #d85364; }
.vb-mobile-map-search:focus-visible { outline: 2px solid #4b50ef; outline-offset: -2px; }

/* Keep signed-in identity in the same row on both map and listing pages.
   Flex layout prevents absolute-positioned controls from covering the member. */
.vb-mobile-map-navbar .vb-mobile-browse-controls { display:flex;align-items:center;width:100%;min-width:0;height:45px; }
.vb-mobile-browse-controls > .navbar-button { flex:0 0 44px;width:44px;float:none; }
.vb-mobile-browse-controls > a.navbar-button .navbar-button-icon { width:44px; }
.vb-mobile-browse-controls > .vb-mobile-map-identity { position:static;flex:1 1 0;min-width:0;padding:0 4px; }
.vb-mobile-map-navbar .vb-mobile-browse-controls > .vb-mobile-map-search { position:static;flex:0 0 auto;width:auto;margin-left:auto; }
.vb-mobile-browse-controls .vb-mobile-map-avatar,
.vb-mobile-browse-controls .vb-mobile-map-realtor { flex-shrink:0; }
.vb-mobile-browse-controls .vb-mobile-map-name { flex:1 1 auto;min-width:0; }
