/* Phone and small tablet layout (860px wide and under).

   This file only loads on narrow screens (see the media attribute on its
   link tag), so anything here never touches the desktop site. Desktop
   styling lives in site.css. Rules here load after site.css and win. */

/* ---- top bar: one slim row, first names, tap icons to call or email ---- */
.utilbar{flex-wrap:nowrap;gap:10px;padding:5px 12px}
.utilbar .who{gap:7px}
.utilbar .who .face{width:28px;height:28px}
.utilbar .who .nm{font-size:13px}
.utilbar .who .ln,.utilbar .tx{display:none}
.utilbar .who .lines{flex-direction:row;gap:2px}
.utilbar .who .lines a{
  width:32px;height:32px;justify-content:center;border-radius:50%;
  background:rgba(255,255,255,.12);opacity:1;
}
.utilbar svg{width:14px;height:14px}
.utilbar .push{width:32px;height:32px;justify-content:center}

/* ---- menu bar stays at the top while scrolling ---- */
.nav{position:sticky;top:0}

/* ---- home page search: every filter always showing at the top ---- */
.finder{padding:10px 12px}

/* ---- home page map: fills the phone, with a Map / List switch ---- */
.mapapp{
  position:relative;display:block;grid-template-columns:none;grid-template-rows:none;
  height:calc(100svh - 140px);min-height:400px;scroll-margin-top:64px;
}
.mapapp .lmap{position:absolute;inset:0;height:auto}
.mlist{position:absolute;inset:0;display:none;border:0}
.mapapp.show-list .mlist{display:flex}
/* List view: the listings sit right on the page and scroll with it, no
   box inside a box. The Map button stays pinned to the bottom. */
.mapapp.show-list{height:auto;min-height:0}
/* the map stays its full size, just out of sight, so it still knows what
   area it covers and keeps feeding the list */
.mapapp.show-list .lmap{visibility:hidden;pointer-events:none;inset:0 0 auto 0;height:calc(100svh - 140px);min-height:400px}
.mapapp.show-list .mlist{position:static;display:block}
.mapapp.show-list .mcards{overflow:visible;max-height:none;padding-bottom:84px}
.mapapp.show-list .mswap{position:fixed;bottom:calc(18px + env(safe-area-inset-bottom))}
.mswap{
  display:inline-flex;position:absolute;z-index:1000;left:50%;bottom:18px;transform:translateX(-50%);
  align-items:center;gap:8px;padding:11px 22px;border:0;border-radius:999px;
  background:var(--ink);color:var(--bg);font:inherit;font-size:15px;font-weight:600;
  box-shadow:0 3px 12px rgba(0,0,0,.35);cursor:pointer;
}
.mswap svg{width:16px;height:16px;fill:currentColor}
.mapapp .leaflet-control-layers{font-size:13px}
.mapapp .leaflet-popup-content a{display:inline-block;padding:6px 0}

/* ---- forms: bigger tap targets, no zoom on focus (iOS zooms under 16px) ---- */
input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px!important}
.cta,.fgo{min-height:46px}
