/* HomeLynx V8.0.155 — Bottom Dock Pass 01.
   Parent: V8.0.154 Chrome Pass 01.
   Presentation only: move the existing omnibox to the viewport bottom and
   reserve that lane beneath the existing property slider. No search/map/PSET/
   Worth/hopper/owner logic changes. */
:root{
  --hlx-provider-strip:26px;
  --hlx-dock-h:54px;
  --hlx-dock-side:18px;
  --hlx-dock-bottom-gap:8px;
  --hlx-dock-sheet-gap:10px;
  --hlx-keyboard-inset:0px;
  --hlx-dock-bottom:calc(var(--hlx-provider-strip) + env(safe-area-inset-bottom,0px) + var(--hlx-dock-bottom-gap) + var(--hlx-keyboard-inset));
  --hlx-sheet-bottom:calc(var(--hlx-provider-strip) + env(safe-area-inset-bottom,0px) + var(--hlx-dock-bottom-gap) + var(--hlx-dock-h) + var(--hlx-dock-sheet-gap));
}

/* The field is now a dedicated bottom input surface, no longer header flow. */
.hlx-v8-searchrow.hlx-bottom-dock{
  position:fixed!important;
  z-index:20!important;
  left:50%!important;
  right:auto!important;
  top:auto!important;
  bottom:var(--hlx-dock-bottom)!important;
  width:min(calc(100vw - 36px),560px)!important;
  height:var(--hlx-dock-h)!important;
  min-height:var(--hlx-dock-h)!important;
  margin:0!important;
  transform:translateX(-50%)!important;
  box-sizing:border-box!important;
  box-shadow:0 10px 30px rgba(11,13,12,.18)!important;
  isolation:isolate;
}
.hlx-v8-searchrow.hlx-bottom-dock .hlx-v8-input{height:52px!important}


/* Keep the existing Neo image-attachment activity orb attached to the field
   after the field leaves header flow. */
.hlx-neo-attach-chiphost.hlx-bottom-dock-chiphost{
  position:fixed!important;
  z-index:21!important;
  left:50%!important;
  right:auto!important;
  top:auto!important;
  bottom:calc(var(--hlx-dock-bottom) + var(--hlx-dock-h) + 6px)!important;
  width:min(calc(100vw - 36px),560px)!important;
  max-width:560px!important;
  min-height:0!important;
  margin:0!important;
  padding:0 0 0 48px!important;
  transform:translateX(-50%)!important;
  box-sizing:border-box!important;
  pointer-events:none;
}
.hlx-neo-attach-chiphost.hlx-bottom-dock-chiphost .hlx-neo-attach-chip{pointer-events:auto}

/* Suggestions open into the map, never beneath the dock. */
.hlx-v8-searchrow.hlx-bottom-dock .hlx-suggestions{
  top:auto!important;
  bottom:calc(100% + 8px)!important;
  left:0!important;
  right:0!important;
  max-height:min(42dvh,360px)!important;
  overflow:auto!important;
  overscroll-behavior:contain;
  border-radius:14px!important;
  box-shadow:0 16px 38px rgba(11,13,12,.18)!important;
}

/* The existing sheet now terminates above the dock. Its current slider code
   already reads computed bottom, so the expanded bound automatically stops
   at the top of the app while preserving the established drag mechanics. */
.hlx-v8-sheet{
  bottom:var(--hlx-sheet-bottom)!important;
}

/* Keep map helper copy above the new dock lane if it is ever exposed. */
.hlx-observe-map-sentence{
  bottom:calc(var(--hlx-sheet-bottom) + 174px)!important;
}

/* On phone keyboards the omnibox becomes the only lower-surface control.
   The sheet is not destroyed or rerendered; it simply steps back until blur,
   so its prior rail/property state returns intact. */
@media(max-width:640px){
  .hlx-v8-search.hlx-dock-input-focus .hlx-v8-sheet{
    opacity:0!important;
    pointer-events:none!important;
    transform:translate(-50%,14px)!important;
    transition:opacity .14s ease,transform .18s ease!important;
  }
}

/* Desktop keeps the dock centered in the map/content lane to the right of
   the established 86px navigation rail. */
@media(min-width:900px){
  .hlx-v8-searchrow.hlx-bottom-dock,
  .hlx-neo-attach-chiphost.hlx-bottom-dock-chiphost{
    left:calc(50% + 43px)!important;
    width:min(calc(100vw - 150px),560px)!important;
  }
  .hlx-v8-sheet{margin-left:43px!important}
}

@media(prefers-reduced-motion:reduce){
  .hlx-v8-searchrow.hlx-bottom-dock,
  .hlx-v8-search.hlx-dock-input-focus .hlx-v8-sheet{transition:none!important}
}
