/* HomeLynx V8.0.170 — Composer Over Sheet.
   Parent: V8.0.169.
   Scope: stacking + lower sheet clearance + attachment neon only.
   The frosted composer now floats in front of the property slider; attachment
   thumbnails visibly emit the restored neon signal while mounted/searching.
   No map, pin, PSET, Worth, hopper, routing, listing, photo-claim or Neo-answer changes. */

/* Native overlay law: slider may continue beneath the floating composer, but
   the composer always owns the foreground interaction plane. */
.hlx-v8-searchrow.hlx-bottom-dock{
  z-index:2147481200!important;
}
.hlx-neo-attach-chiphost.hlx-bottom-dock-chiphost{
  z-index:2147481201!important;
}

/* The sheet no longer reserves a dead lane above the composer. It reaches
   behind the dock; bottom padding ensures the final result can still scroll
   fully above the floating control. */
body.hlx-search-active .hlx-v8-sheet.is-slidable{
  bottom:var(--hlx-dock-bottom)!important;
  padding-bottom:calc(var(--hlx-dock-h) + 22px)!important;
}
@media(max-width:640px){
  body.hlx-search-active .hlx-v8-sheet.is-slidable.is-expanded{
    bottom:var(--hlx-dock-bottom)!important;
  }
}

/* Attachment = live neon instrument. V8.0.159 deliberately killed this;
   V8.0.170 restores it with stronger selectors so the mounted photo itself
   visibly glows, even before/after the active search animation. */
.hlx-neo-attach-chiphost.hlx-bottom-dock-chiphost .hlx-neo-attach-chip{
  width:54px!important;
  height:54px!important;
  filter:drop-shadow(0 0 4px rgba(255,94,209,.58))
         drop-shadow(0 0 7px rgba(74,168,255,.48))
         drop-shadow(0 0 8px rgba(46,230,192,.34))!important;
}
.hlx-neo-attach-chiphost.hlx-bottom-dock-chiphost .hlx-neo-attach-chip::before{
  content:""!important;
  position:absolute!important;
  z-index:1!important;
  inset:0!important;
  border-radius:50%!important;
  background:conic-gradient(from 0deg,var(--hlx-neon-a),var(--hlx-neon-b),var(--hlx-neon-c),var(--hlx-neon-d),var(--hlx-neon-e),var(--hlx-neon-a))!important;
  opacity:.94!important;
  box-shadow:0 0 7px rgba(255,94,209,.42),0 0 10px rgba(74,168,255,.38),0 0 12px rgba(46,230,192,.24)!important;
  animation:hlx-170-photo-neon-idle 3.2s linear infinite!important;
}
.hlx-neo-attach-chiphost.hlx-bottom-dock-chiphost .hlx-neo-attach-chip::after{
  content:""!important;
  position:absolute!important;
  z-index:0!important;
  inset:-5px!important;
  border-radius:50%!important;
  background:radial-gradient(circle,rgba(255,94,209,.18),rgba(74,168,255,.14) 42%,rgba(46,230,192,.09) 58%,transparent 74%)!important;
  opacity:.92!important;
  transform:scale(1.02)!important;
  box-shadow:none!important;
  animation:hlx-170-photo-neon-breathe 2.2s ease-in-out infinite!important;
}
.hlx-neo-attach-chiphost.hlx-bottom-dock-chiphost .hlx-neo-chip-media{
  z-index:2!important;
  box-shadow:0 0 0 2px rgba(255,255,255,.98),0 4px 14px rgba(27,50,45,.12)!important;
}
.hlx-neo-attach-chiphost.hlx-bottom-dock-chiphost .hlx-neo-attach-chip.is-searching::before{
  opacity:1!important;
  filter:brightness(1.14) saturate(1.18)!important;
  animation:hlx-photo-locator-spin 1.15s linear infinite!important;
}
.hlx-neo-attach-chiphost.hlx-bottom-dock-chiphost .hlx-neo-attach-chip.is-searching::after{
  opacity:1!important;
  transform:scale(1.12)!important;
  animation:hlx-photo-locator-breathe 1.45s ease-in-out infinite!important;
}

/* With a mounted attachment, let the composer edge acknowledge the state too. */
.hlx-v8-search:has(.hlx-neo-attach-chip) .hlx-v8-searchrow.hlx-bottom-dock::before{
  opacity:.82!important;
  filter:saturate(1.28) brightness(1.04)!important;
  box-shadow:0 0 8px rgba(255,94,209,.18),0 0 10px rgba(74,168,255,.18),0 0 8px rgba(46,230,192,.14)!important;
}

@keyframes hlx-170-photo-neon-idle{to{transform:rotate(360deg)}}
@keyframes hlx-170-photo-neon-breathe{
  0%,100%{opacity:.64;transform:scale(.98)}
  50%{opacity:1;transform:scale(1.08)}
}

@media(prefers-reduced-motion:reduce){
  .hlx-neo-attach-chiphost.hlx-bottom-dock-chiphost .hlx-neo-attach-chip::before,
  .hlx-neo-attach-chiphost.hlx-bottom-dock-chiphost .hlx-neo-attach-chip::after{animation:none!important}
}
