/* makaug.com design refresh 2026-11-04: price-tag maps, cards, marketplace art, short stay, ai chatbot */

/* ---------- price-tag markers ---------- */
.mk-price-tag-wrap { background: none !important; border: 0 !important; }
.mk-price-tag {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -100%);
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
  padding: 5px 10px; border-radius: 999px; background: #111827; color: #fff;
  font: 800 12px/1 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: -.01em;
  box-shadow: 0 2px 6px rgba(0,0,0,.28), 0 0 0 2px #fff; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.mk-price-tag::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 9px; height: 9px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 1px; }
.mk-price-tag.is-approx { background: #fff; color: #111827; box-shadow: 0 2px 6px rgba(0,0,0,.2), inset 0 0 0 1.5px #111827; }
.mk-price-tag.is-approx::after { box-shadow: 1.5px 1.5px 0 0 #111827; }
.mk-price-tag.is-cluster { background: #b3134f; padding: 7px 12px; font-size: 13px; }
.mk-price-tag.is-hovered, .mk-price-tag:hover { background: #b3134f; color: #fff; transform: translate(-50%, -100%) scale(1.12); z-index: 2; }

/* ---------- mini property card in map popup ---------- */
.mk-map-popup .leaflet-popup-content-wrapper { padding: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.mk-map-popup .leaflet-popup-content { margin: 0; width: 240px !important; }
.mk-map-card { display: block; color: #111827 !important; text-decoration: none !important; }
.mk-map-card-img { display: block; width: 100%; height: 132px; object-fit: cover; background: #f3f4f6; }
.mk-map-card-body { padding: 10px 12px 12px; }
.mk-map-card-price { font-weight: 900; font-size: 15px; }
.mk-map-card-title { font-weight: 700; font-size: 13px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-map-card-loc { font-size: 12px; color: #6b7280; margin-top: 2px; }
.mk-map-card-cta { margin-top: 8px; font-size: 12px; font-weight: 800; color: #b3134f; }

/* ---------- broker popup card ---------- */
.mk-broker-pop { width: 230px; padding: 12px; font-family: system-ui, sans-serif; }
.mk-broker-pop-head { display: flex; gap: 10px; align-items: center; }
.mk-broker-pop-head img, .mk-broker-initials { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 999px; object-fit: cover; background: #fff1f6; }
.mk-broker-pop-head img.is-logo { border-radius: 12px; object-fit: contain; background: #fff; border: 1px solid #e5e7eb; }
.mk-broker-initials { display: grid; place-items: center; font-weight: 900; color: #b3134f; }
.mk-broker-pop-name { font-weight: 900; font-size: 14px; color: #111827; }
.mk-broker-pop-meta { font-size: 12px; color: #6b7280; }
.mk-broker-pop-btn { display: block; margin-top: 10px; text-align: center; padding: 8px 10px; border-radius: 999px; background: #111827; color: #fff !important; font-weight: 800; font-size: 13px; text-decoration: none !important; }
.mk-broker-pop-btn:hover { background: #b3134f; }
.leaflet-marker-icon.is-hovered { filter: hue-rotate(140deg) saturate(1.6) drop-shadow(0 0 6px rgba(179,19,79,.6)); }

/* ---------- homepage map tabs ---------- */
.mk-home-map-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; column-gap: 20px; row-gap: 8px; margin-bottom: 14px; }
.mk-home-map-head h2 { margin: 0; }
.mk-home-map-count { flex-basis: 100%; font-size: 14px; font-weight: 700; color: #4b5563; }
.mk-home-map-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #f3f4f6; overflow-x: auto; max-width: 100%; }
.mk-home-map-tabs button { border: 0; background: transparent; padding: 8px 14px; border-radius: 999px; font-weight: 800; font-size: 13px; color: #374151; white-space: nowrap; cursor: pointer; }
.mk-home-map-tabs button:hover { background: #e5e7eb; }
.mk-home-map-tabs button.is-active, .mk-home-map-tabs button[aria-selected="true"], .mk-home-map-tabs button[aria-pressed="true"] { background: #111827; color: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
#home-map-count { font-size: 13px; color: #6b7280; font-weight: 600; }

/* ---------- Nyumba-style property cards ---------- */
.property-card.mk-card { border-radius: 18px; border-color: #eef0f3; box-shadow: 0 1px 2px rgba(16,24,40,.04); transition: transform .2s ease, box-shadow .2s ease; }
.property-card.mk-card:hover, .property-card.mk-card.is-map-hovered { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(16,24,40,.12); }
.property-card.mk-card > .h-48 { height: 14.5rem; margin: 8px 8px 0; border-radius: 14px; }
.property-card.mk-card > .h-48 img { transition: transform .5s ease; }
.property-card.mk-card:hover > .h-48 img { transform: scale(1.05); }
.property-card.mk-card > .h-48 > .absolute.bottom-2.right-2 { background: rgba(17,24,39,.88) !important; backdrop-filter: blur(4px); border-radius: 999px; padding: 5px 12px; }
.property-card.mk-card h3 { font-size: 1.02rem; letter-spacing: -.01em; }

/* ---------- marketplace tile art ---------- */
.mkc-tile-art { display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #fdf6ec; margin-bottom: 10px; }
.mkc-tile-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.mkc-tile:hover .mkc-tile-art img { transform: scale(1.04); }
.mkc-tile-head:has(.mkc-tile-art) { flex-direction: column; align-items: stretch !important; text-align: left; }
.mkc-tile[aria-current="true"] .mkc-tile-art { box-shadow: 0 0 0 3px #b3134f; }
@media (max-width: 640px) { .mkc-tile-art { aspect-ratio: 16 / 9; } }

/* ---------- ai chatbot page ---------- */
.mk-ai-hero { background: radial-gradient(1200px 500px at 85% 10%, #dcfce7 0%, transparent 60%), radial-gradient(800px 400px at 0% 100%, #fff1f6 0%, transparent 60%), #fbfaf7; border-bottom: 1px solid #f0eee8; }
.mk-ai-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; }
@media (max-width: 900px) { .mk-ai-hero-grid { grid-template-columns: 1fr; gap: 28px; } }
.mk-ai-eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #dcfce7; color: #166534; font-weight: 800; font-size: 13px; margin-bottom: 14px; }
.mk-ai-usps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; list-style: none; padding: 0; }
.mk-ai-usps li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 12px; background: #fff; border: 1px solid #ececec; font-weight: 800; font-size: 13px; color: #111827; }
.mk-ai-usps i { color: #b3134f; }
.mk-ai-langs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.mk-ai-langs button { border: 1px solid #e5e7eb; background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; color: #374151; cursor: pointer; }
.mk-ai-langs button[aria-pressed="true"] { background: #111827; border-color: #111827; color: #fff; }
.mk-ai-prompts .mk-ai-prompt { transition: transform .12s ease, box-shadow .12s ease; }
.mk-ai-prompts .mk-ai-prompt:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,.08); }
.mk-ai-cta { box-shadow: 0 10px 24px rgba(22,101,52,.28); }
.mk-ai-phone-col { display: flex; justify-content: center; }
.mk-iphone { position: relative; width: min(340px, 100%); padding: 12px; border-radius: 54px; background: linear-gradient(145deg, #1f2937, #0b0f17); box-shadow: 0 30px 60px rgba(0,0,0,.28), inset 0 0 0 2px #374151; }
.mk-iphone-island { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; border-radius: 20px; background: #000; z-index: 3; }
.mk-iphone .chatbot-phone.mk-iphone-screen { width: 100%; border: 0; border-radius: 42px; display: flex; flex-direction: column; height: 640px; box-shadow: none; }
@media (max-width: 640px) { .mk-iphone .chatbot-phone.mk-iphone-screen { height: 560px; } }
.mk-iphone .chatbot-phone-head { justify-content: flex-start; padding-top: 52px; background: #075e54; }
.mk-ai-bot-avatar { width: 34px; height: 34px; border-radius: 999px; background: #b3134f; color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 13px; }
.mk-iphone .chatbot-bubble-wrap { flex: 1; max-height: none; scroll-behavior: smooth; }
.mk-iphone .chatbot-listing-card { display: block; color: inherit; text-decoration: none; }
.mk-iphone-input { margin: 8px 10px 16px; padding: 10px 14px; border-radius: 999px; background: #fff; color: #9ca3af; font-size: 13px; display: flex; justify-content: space-between; align-items: center; }
.mk-dots { display: inline-flex; gap: 4px; }
.mk-dots i { width: 6px; height: 6px; border-radius: 999px; background: #9ca3af; animation: mkdot 1s infinite ease-in-out; }
.mk-dots i:nth-child(2) { animation-delay: .15s; } .mk-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes mkdot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

/* ---------- short stay (nyumba / turebe style) ---------- */
#page-short-term .st-hero { background: radial-gradient(900px 400px at 90% 0%, #ffe9d6 0%, transparent 60%), #fffaf5; padding: 44px 0 30px; }
#page-short-term .st-hero h1 { font-size: clamp(28px, 4vw, 46px); font-weight: 900; letter-spacing: -.02em; color: #111827; }
#page-short-term .st-hero p.st-hero-sub { color: #4b5563; }
#page-short-term .st-search { background: #fff; border-radius: 999px; padding: 8px 8px 8px 20px; box-shadow: 0 12px 34px rgba(17,24,39,.12); border: 1px solid #f0ece6; gap: 0; align-items: center; }
#page-short-term .st-search .st-field { border-right: 1px solid #eee; padding: 4px 14px; }
#page-short-term .st-search .st-field:last-of-type { border-right: 0; }
#page-short-term .st-search .st-field label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #111827; }
#page-short-term .st-search .st-input { border: 0 !important; padding: 2px 0 !important; background: transparent; box-shadow: none !important; }
#page-short-term .st-search-go { border-radius: 999px; background: #111827 !important; color: #fff; padding: 14px 22px; font-weight: 800; }
@media (max-width: 900px) {
  #page-short-term .st-search { border-radius: 22px; padding: 12px; }
  #page-short-term .st-search .st-field { border-right: 0; border-bottom: 1px solid #f1f1f1; padding: 8px 4px; }
  #page-short-term .st-search-go { width: 100%; margin-top: 8px; }
}
#page-short-term .st-notice { display: flex; gap: 12px; margin-top: 18px; padding: 14px 16px; border-radius: 16px; background: #fff7ed; border: 1px solid #fed7aa; color: #7c2d12; font-size: 14px; }
#page-short-term .st-notice i { margin-top: 3px; color: #c2410c; }
#page-short-term .st-notice b { display: block; font-weight: 900; }
#page-short-term .st-notice p { margin: 2px 0 0; line-height: 1.45; }
#page-short-term .st-card { border-radius: 18px; border: 1px solid #f0eee8; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
#page-short-term .st-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(16,24,40,.12); }
#page-short-term .st-map-shell { border-radius: 20px; overflow: hidden; }
#page-short-term .st-price-pin .mk-price-tag i { font-size: 11px; }

/* 1104b: visible card-hover highlight on the price tag + view card polish */
.leaflet-marker-icon.mk-price-tag-wrap.is-hovered { filter: none; z-index: 10000 !important; }
.mk-price-tag-wrap.is-hovered .mk-price-tag { background: #b3134f; color: #fff; transform: translate(-50%, -100%) scale(1.15); box-shadow: 0 4px 14px rgba(179,19,79,.45); }
.mk-map-popup .leaflet-popup-content { margin: 0; width: 240px !important; }
.mk-map-popup .leaflet-popup-content-wrapper { padding: 0; overflow: hidden; border-radius: 14px; }
.mk-map-card-body { display: flex; flex-direction: column; }
.mk-map-card-go { margin-top: 8px; font-size: 12px; font-weight: 800; color: #b3134f; }
.mk-map-card-noimg { display: flex; align-items: center; justify-content: center; height: 90px; background: #f3f4f6; color: #9ca3af; font-size: 22px; }
[data-map-card-id].is-map-hovered { outline: 2px solid #b3134f; outline-offset: 2px; }

/* Mobile list/map toggle (Nyumba KE style) */
.mk-map-toggle { display: none; }
@media (max-width: 1023px) {
  body.mk-has-listing-map .mk-map-toggle { display: inline-flex; position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 1200; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: #111827; color: #fff; font-weight: 800; font-size: 14px; border: 0; box-shadow: 0 6px 20px rgba(0,0,0,.3); }
  body.mk-mobile-map-open .listing-map-col.mk-map-col-active { display: block !important; position: fixed; inset: 0; z-index: 1100; background: #fff; padding: 0; }
  body.mk-mobile-map-open .listing-map-col.mk-map-col-active .listing-map-shell { position: static; height: 100%; }
  body.mk-mobile-map-open .listing-map-col.mk-map-col-active .map-h { height: 100vh !important; height: 100dvh !important; border-radius: 0; }
  body.mk-has-listing-map .mk-map-toggle { min-height: 52px; min-width: 120px; justify-content: center; padding: 14px 26px; font-size: 16px; }
  body.mk-mobile-map-open .mk-map-toggle { bottom: auto; top: 14px; }
  body.mk-mobile-map-open .listing-map-col.mk-map-col-active .map-assist-card { display: none !important; }
  body.mk-mobile-map-open { overflow: hidden; }
  .mk-map-carousel { display: none; }
  body.mk-mobile-map-open .mk-map-col-active .mk-map-carousel { display: flex; position: absolute; left: 0; right: 0; bottom: 18px; z-index: 1000; gap: 12px; padding: 0 9vw; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .mk-map-carousel::-webkit-scrollbar { display: none; }
  .mk-map-carousel { align-items: flex-end; }
  .mk-map-carousel-item { flex: 0 0 84vw; max-width: 340px; height: auto; align-self: flex-end; scroll-snap-align: center; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.22); border: 2px solid transparent; }
  .mk-map-carousel-item.is-active { border-color: #b3134f; }
  .mk-map-carousel-item .mk-map-card { display: flex !important; flex-direction: row !important; align-items: stretch; gap: 0; height: 124px; min-height: 0; text-decoration: none; color: inherit; }
  .mk-map-carousel-item .mk-map-card-img { width: 112px !important; height: 112px !important; min-height: 0 !important; margin: 6px; border-radius: 12px; object-fit: cover; flex: 0 0 112px; }
  .mk-map-carousel-item .mk-map-card-noimg { width: 112px !important; height: 112px !important; min-height: 0 !important; margin: 6px; border-radius: 12px; flex: 0 0 112px; font-size: 28px; }
  .mk-map-carousel-item .mk-map-card-noimg small { display: none; }
  .mk-map-carousel-item .mk-map-card-body { flex: 1 1 auto; min-width: 0; padding: 8px 12px 8px 6px; gap: 2px; justify-content: center; }
  .mk-map-carousel-item .mk-map-card-price { font-size: 15px; line-height: 1.2; }
  .mk-map-carousel-item .mk-map-card-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; font-size: 13px; line-height: 1.25; }
  .mk-map-carousel-item .mk-map-card-loc { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; color: #6b7280; }
  .mk-map-carousel-item .mk-map-card-go { margin-top: 4px; }
}
.mk-no-map-note { position: absolute; left: 10px; bottom: 10px; z-index: 5; font-size: 11px; font-weight: 700; color: #4b5563; background: rgba(255,255,255,.92); padding: 2px 8px; border-radius: 999px; pointer-events: none; }

/* SPA route change: slim top progress bar instead of a placeholder page */
html.route-loading body::before { content: ""; position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 99999; background: linear-gradient(90deg, #b3134f 0%, #f59e0b 50%, #b3134f 100%); background-size: 200% 100%; animation: mkRouteBar 1s linear infinite; }
@keyframes mkRouteBar { from { background-position: 200% 0; } to { background-position: 0 0; } }

/* Short stay 1104: hover sync, availability, safety tips, expandable guide tiles */
#page-short-term .st-card.is-map-hover { box-shadow: 0 0 0 2px #b3134f, 0 8px 22px rgba(15,23,42,.12); }
#page-short-term .st-badge.is-approved { background: #0f6b3f; color: #fff; }
#page-short-term .st-avail-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
#page-short-term .st-avail-tag { font-size: .74rem; font-weight: 700; color: #92400e; background: #fef3c7; border-radius: 999px; padding: 3px 9px; }
#page-short-term .st-avail-btn { font-size: .8rem; font-weight: 800; color: #fff; background: #0f6b3f; border-radius: 999px; padding: 6px 12px; text-decoration: none; }
#page-short-term .st-avail-btn:hover { background: #0b5130; }
#page-short-term .st-safety-v2 { background: #fff; border: 1px solid #e5e7eb; border-radius: 20px; padding: 20px; margin: 26px 0; }
#page-short-term .st-safety-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
#page-short-term .st-safety-head h2 { color: #0f172a; font-size: 1.3rem; font-weight: 900; margin: 0 0 4px; }
#page-short-term .st-safety-head p { margin: 0; color: #64748b; font-size: .9rem; }
#page-short-term .st-safety-icon { flex: 0 0 44px; height: 44px; border-radius: 14px; background: #fde7ef; color: #b3134f; display: grid; place-items: center; font-size: 1.2rem; }
#page-short-term .st-safety-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
#page-short-term .st-safety-tip { border: 1px solid #e5e7eb; border-radius: 14px; background: #f8fafc; }
#page-short-term .st-safety-tip[open] { background: #fff; border-color: #f3b4c9; }
#page-short-term .st-safety-tip summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-weight: 800; font-size: .9rem; color: #0f172a; }
#page-short-term .st-safety-tip summary::-webkit-details-marker { display: none; }
#page-short-term .st-safety-tip summary > i:first-child { color: #b3134f; width: 18px; text-align: center; }
#page-short-term .st-safety-tip summary span { flex: 1; }
#page-short-term .st-safety-chev { color: #94a3b8; transition: transform .2s; }
#page-short-term details[open] > summary .st-safety-chev { transform: rotate(180deg); }
#page-short-term .st-safety-tip p { margin: 0; padding: 0 14px 14px 42px; font-size: .86rem; line-height: 1.55; color: #475569; }
#page-short-term .st-safety-foot { margin: 12px 0 0; font-size: .78rem; color: #64748b; }
@media (max-width: 767px) {
  #page-short-term .st-safety-list { grid-template-columns: 1fr; }
}
/* Mobile broker map carousel */
.mk-map-mini--broker { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; background: #fff; border-radius: 14px; box-shadow: 0 4px 16px rgba(0,0,0,.18); font-size: 13px; color: #374151; min-height: 84px; }
.mk-map-mini--broker strong { font-size: 15px; color: #111827; }
.mk-map-mini--broker .mk-broker-pop-loc { color: #166534; font-weight: 700; }
.mk-map-carousel-item.is-active .mk-map-mini--broker { outline: 2px solid #166534; }
/* Mobile booking sheet: step-by-step, no sideways scroll */
.agent-booking-swipe-hint { display: none; }
@media (max-width: 767px) {
  body.mk-booking-sheet-open { overflow: hidden; }
  body .agent-profile-contact.is-open { max-block-size: var(--mk-sheet-max, 88dvh); inset-block-end: var(--mk-sheet-bottom, 0px); overflow-x: hidden; overscroll-behavior: contain; }
  body .agent-profile-contact .agent-profile-card, body .property-booking-panel { overflow-x: hidden; max-inline-size: 100%; }
  body .agent-booking-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  body .agent-booking-tabs button { inline-size: auto; block-size: auto; min-block-size: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 6px 2px; border-radius: 12px; font-size: 14px; }
  body .agent-booking-tabs button span { position: static; inline-size: auto; block-size: auto; overflow: visible; clip: auto; font-size: 11px; line-height: 1.1; }
  body .agent-booking-step.is-single-place select.agent-booking-place { display: none; }
  body select.agent-booking-place { max-inline-size: 100%; inline-size: 100%; font-size: 14px; text-overflow: ellipsis; }
  body .agent-booking-place-line { align-items: flex-start; min-inline-size: 0; }
  body .agent-booking-place-line img { inline-size: 64px; block-size: 48px; }
  body .agent-booking-place-line strong, body .agent-booking-place-line em { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
  body .agent-booking-place-line strong { font-size: 14px; line-height: 1.3; }
  body .agent-booking-date-strip { gap: 6px; scroll-snap-type: x proximity; -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); padding-inline-end: 24px; }
  body .agent-booking-day { inline-size: 48px; min-block-size: 48px; font-size: 11px; scroll-snap-align: start; }
  body .agent-booking-day strong { font-size: 16px; }
  body .agent-booking-more { inline-size: 36px; block-size: 48px; }
  body .agent-booking-swipe-hint { display: block; margin: 4px 0 0; font-size: 12px; color: #166534; font-weight: 600; }
  body .agent-booking-time-label { margin-block-start: 10px; }
  body .agent-booking-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  body .agent-booking-slot { min-block-size: 42px; font-size: 13px; inline-size: 100%; }
  body .agent-booking-who, body .property-booking-panel .agent-booking-who { display: grid; grid-template-columns: 1fr; gap: 10px; }
  body .agent-booking-who input { inline-size: 100%; min-block-size: 46px; font-size: 16px; }
  body #agent-profile-submit { position: sticky; inset-block-end: 0; z-index: 2; min-block-size: 50px; font-size: 16px; box-shadow: 0 -8px 16px #fff; }
}
.mk-map-mini--broker .mk-map-mini-link { align-self: flex-start; margin-top: 4px; font-weight: 800; color: #166534; text-decoration: underline; }

/* Home map tabs: six tabs scroll sideways on a phone, inside the pill only. */
@media (max-width: 767px) {
  .mk-home-map-tabs { display: flex; scrollbar-width: none; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
  .mk-home-map-tabs::-webkit-scrollbar { display: none; }
  .mk-home-map-tabs button { flex: 0 0 auto; scroll-snap-align: start; }
}
