/* map.lotland.ai v106 property-card navigation fix (PROPOSED, not deployed).
   Adds: sticky card bar (grip, Back, Home, X), three snap heights, menu above card,
   44px targets, safe-area insets, reduced-motion. Load AFTER light_v100.css and reality_v105.css. */
:root{--hdr-b:132px}
.pcard{display:flex;flex-direction:column;overflow:hidden;padding:0}
.pcard[hidden]{display:none!important}
.pc-bar{position:relative;flex:none;display:flex;align-items:center;gap:6px;padding:0 8px 4px 8px;background:#fff;border-radius:18px 18px 0 0;touch-action:none;user-select:none;-webkit-user-select:none}
.pc-grip{flex:1;min-height:44px;display:flex;align-items:center;justify-content:center;border:0;background:none;padding:0;cursor:grab;touch-action:none}
.pc-grip::before{content:"";width:44px;height:5px;border-radius:3px;background:#C9C3B8}
.pc-nav{flex:none;display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 10px;border:0;border-radius:12px;background:none;color:#B93D0C;font:600 14px Inter,system-ui,sans-serif;text-decoration:none;cursor:pointer}
.pc-bar .x{position:static;min-width:44px;min-height:44px;font-size:26px;line-height:1;color:#5F656C}
#pcbody{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:0 18px calc(20px + env(safe-area-inset-bottom)) 18px}
.pcard h2{margin-right:0}
.pc-acts a,.pc-acts button{min-height:44px;display:inline-flex;align-items:center}
.pcard.pc-dragging{transition:none!important}
@media(max-width:760px){
  .pcard{top:auto;bottom:0;left:0;right:0;width:auto;max-height:none;height:var(--pc-h,46dvh);
    transition:height .22s cubic-bezier(.2,.8,.2,1);border-radius:18px 18px 0 0;padding-bottom:0;
    padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}
  .float-pop{z-index:9;max-height:calc(100dvh - var(--hdr-b) - 12px - env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  .float-pop .tool{min-height:44px}
  .info-i{bottom:calc(var(--pc-h,0px) + 12px + env(safe-area-inset-bottom));width:44px;height:44px;right:max(12px,env(safe-area-inset-right));transition:bottom .22s}
  .maplibregl-ctrl-top-right{top:var(--hdr-b)}
  .maplibregl-ctrl-group button{width:44px!important;height:44px!important}
  .panel{top:var(--hdr-b)}
  .ltoast{top:calc(var(--hdr-b) + 6px)}
  .reality-badge{top:calc(var(--hdr-b) + 2px)}
  header{left:max(8px,env(safe-area-inset-left));right:max(8px,env(safe-area-inset-right))}
  .wm{min-height:44px;padding:4px 10px}
  #aerial-mode button{min-height:44px}
  .hdr-menu{width:44px;height:44px}
  form.lsearch button{min-height:44px}
  form.lsearch input{height:44px!important}
  .reality-badge button{position:relative}.reality-badge button::after{content:"";position:absolute;inset:-15px -8px}
}
@media(min-width:761px){.pc-grip{display:none}.pcard{height:auto;max-height:calc(100% - 100px)}}
@media(prefers-reduced-motion:reduce){.pcard,.info-i{transition:none!important}}
/* w002: menu never taller than the screen at any width (landscape phones, short tablets) */
@media(min-width:761px){.float-pop{z-index:9;max-height:calc(100dvh - 90px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}}
/* w002: 44px touch targets on every touch device, including landscape and tablets (wider than 760px) */
@media(pointer:coarse){
  .float-pop .tool{min-height:44px}
  .maplibregl-ctrl-group button{width:44px!important;height:44px!important}
  .info-i{width:44px;height:44px}
  .wm{min-height:44px;padding:4px 10px}
  #aerial-mode button{min-height:44px}
  .hdr-menu{width:44px;height:44px}
  form.lsearch button{min-height:44px}
  form.lsearch input{height:44px!important}
  .reality-badge button{position:relative}.reality-badge button::after{content:"";position:absolute;inset:-15px -8px}
}
/* w003: the dead "Full card" link is hidden by JS; make [hidden] win over .pc-acts a{display:inline-flex} */
.pc-acts a[hidden]{display:none!important}
