/* HomeLynx V8.0.156 — Chrome Pass 02b + 02c.
   02b: evidence photos become square IBM/Atari plates.
   02c: restore the original live Neo attach/input/send instrument in the lower dock.
   No hopper, Worth, map, PSET, source-book, photo-claim, or routing changes. */

:root{
  --hlx-paper:#F4F6F4;
  --hlx-ink:#0B0D0C;
  --hlx-graphite:#161916;
  --hlx-mute:#8B918E;
  --hlx-lynx:#0D9B86;
}

/* PASS 02b — evidence is a plate, not a coupon. The outer result card keeps
   only a hair of softness so its overflow can no longer round the photo. */
.hlx-v8-result-card{
  border-radius:3px!important;
}
@media(max-width:480px){
  .hlx-v8-result-card{border-radius:3px!important}
}

.hlx-v8-result-photo,
.hlx-v8-result-photo-rail,
.hlx-v8-result-photo-rail>img,
.hlx-v8-photo-stage,
.hlx-v8-hero-photo .hlx-v8-photo-stage{
  border-radius:0!important;
}

/* 1px Ink inset plate hairline above the image without changing its crop. */
.hlx-v8-result-photo::after,
.hlx-v8-photo-stage::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:3;
  pointer-events:none;
  box-shadow:inset 0 0 0 1px var(--hlx-ink)!important;
  border-radius:0!important;
}

.hlx-v8-result-photo-count,
.hlx-v8-hero-counter,
.hlx-v8-photo-head [data-photo-counter]{
  border-radius:0!important;
  font-family:'IBM Plex Mono',monospace!important;
  font-variant-numeric:tabular-nums!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.hlx-v8-result-photo-count,
.hlx-v8-hero-counter{
  background:rgba(11,13,12,.86)!important;
  border:1px solid rgba(244,246,244,.48)!important;
  box-shadow:none!important;
  z-index:5!important;
}

/* Photo-local locate/track instrument: square evidence control. */
.hlx-v8-result-photo-track{z-index:5!important}
.hlx-v8-result-card .hlx-track-home-btn,
.hlx-v8-result-card .hlx-track-home-card,
.hlx-v8-result-card .hlx-v8-card-action[data-hlx-track-fallback]{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  border-radius:0!important;
  border:1px solid var(--hlx-ink)!important;
  background:rgba(244,246,244,.95)!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.hlx-v8-result-selected{
  border-radius:0!important;
  box-shadow:none!important;
}

/* Cited-photo next/previous controls are part of the evidence plate too. */
.hlx-v8-photo-nav{
  border-radius:0!important;
  box-shadow:none!important;
  border-color:var(--hlx-ink)!important;
}

/* PASS 02c — the moved dock is the actual live field. Keep V8.0.155 placement
   and keyboard behavior; restore the controls and establish an instrument row. */
.hlx-v8-searchrow.hlx-bottom-dock{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  background:var(--hlx-graphite)!important;
  transition:border-color .4s ease,box-shadow .4s ease!important;
  overflow:visible!important;
}
.hlx-v8-searchrow.hlx-bottom-dock:focus-within{
  border-color:var(--hlx-lynx)!important;
  box-shadow:0 10px 30px rgba(11,13,12,.18),inset 0 0 0 1px var(--hlx-lynx)!important;
}
.hlx-v8-searchrow.hlx-bottom-dock .hlx-v8-input{
  position:relative!important;
  flex:1 1 auto!important;
  min-width:0!important;
  width:auto!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:var(--hlx-paper)!important;
  font-family:'IBM Plex Sans',sans-serif!important;
  z-index:2!important;
}
.hlx-v8-searchrow.hlx-bottom-dock .hlx-v8-input::placeholder{
  color:var(--hlx-mute)!important;
  opacity:1!important;
}

/* 44px tap target around a 36px Paper disc. */
.hlx-v8-searchrow.hlx-bottom-dock .hlx-neo-attach-plus,
.hlx-v8-searchrow.hlx-bottom-dock .hlx-neo-send-btn{
  position:relative!important;
  inset:auto!important;
  top:auto!important;
  left:auto!important;
  right:auto!important;
  flex:0 0 44px!important;
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  min-height:44px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--hlx-ink)!important;
  display:grid!important;
  place-items:center!important;
  z-index:4!important;
}
.hlx-v8-searchrow.hlx-bottom-dock .hlx-neo-attach-plus::before,
.hlx-v8-searchrow.hlx-bottom-dock .hlx-neo-send-btn::before{
  content:"";
  position:absolute;
  width:36px;
  height:36px;
  border-radius:50%;
  background:var(--hlx-paper);
  inset:50% auto auto 50%;
  transform:translate(-50%,-50%);
  z-index:-1;
}
.hlx-v8-searchrow.hlx-bottom-dock .hlx-neo-attach-plus svg,
.hlx-v8-searchrow.hlx-bottom-dock .hlx-neo-send-btn svg{
  position:relative;
  z-index:1;
}

/* Hidden legacy search/locate chrome does not take flex space. Location remains
   reachable through the existing + sheet; this does not create a new module. */
.hlx-v8-searchrow.hlx-bottom-dock>.hlx-v8-searchicon,
.hlx-v8-searchrow.hlx-bottom-dock>#hlx-v8-locate{
  display:none!important;
  position:absolute!important;
}

/* On phones the Graphite dock becomes the full lower instrument lane. Reserve
   provider attribution below it; the existing V8.0.155 visualViewport lift stays active. */
@media(max-width:640px){
  :root{
    --hlx-dock-h:72px;
    --hlx-sheet-bottom:calc(var(--hlx-provider-strip) + env(safe-area-inset-bottom,0px) + var(--hlx-dock-h) + var(--hlx-dock-sheet-gap));
  }
  .hlx-v8-searchrow.hlx-bottom-dock{
    left:0!important;
    right:0!important;
    width:100%!important;
    max-width:none!important;
    height:auto!important;
    min-height:72px!important;
    bottom:calc(var(--hlx-provider-strip) + var(--hlx-keyboard-inset))!important;
    transform:none!important;
    margin:0!important;
    padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px))!important;
    border-radius:0!important;
    box-sizing:border-box!important;
  }
  .hlx-v8-searchrow.hlx-bottom-dock .hlx-v8-input{height:52px!important}
}

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