/* HomeLynx V8.0.167 — Expanded Sheet Hard Anchor.
   Parent: V8.0.166.
   Scope: expanded mobile results-sheet geometry only.
   Fixes the remaining Safari map moat by anchoring the expanded sheet directly
   between the measured fixed header and the bottom dock. Do not derive the top
   edge indirectly from viewport-height arithmetic.
   No map/pin/PSET/Worth/hopper/source-book/owner/routing/Neo/media/photo logic. */

@media(max-width:640px){
  /* Safari's layout/visual viewport split made the old
     height = 100svh - header - dock calculation land short. In the fully
     expanded state, use the two real app-shell boundaries instead. */
  body.hlx-search-active .hlx-v8-sheet.is-slidable.is-expanded{
    top:calc(var(--hlx-fixed-header-height,132px) - 1px)!important;
    bottom:var(--hlx-sheet-bottom)!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    box-sizing:border-box!important;
    border-top:0!important;
    border-radius:0!important;
    transform:none!important;
  }

  /* Keep the opaque sheet surface continuous to the header datum. */
  body.hlx-search-active .hlx-v8-sheet.is-slidable.is-expanded::before{
    content:"";
    position:absolute;
    z-index:-1;
    top:0;
    left:0;
    right:0;
    height:2px;
    background:#FFFFFF;
    pointer-events:none;
  }
}
