/* HomeLynx V8.0.161 — App Shell Lock + Arc Continuation.
   Parent: V8.0.160.
   Scope: presentation/interaction shell only.
   - Search/map shell stays visually fixed through iOS focus/keyboard churn.
   - Neo tap focuses the field without scrollIntoView / page zoom.
   - Sell + My Home adopt the new Ink/Paper/Graphite arc.
   No map data, pins, PSET, Worth, hoppers, source books, owner data, routing,
   media, or photo-claim logic changes. */

:root{
  --hlx-arc-paper:#FFFFFF;
  --hlx-arc-ink:#171816;
  --hlx-arc-graphite:#242724;
  --hlx-arc-mute:#6F7471;
  --hlx-arc-faint:#919591;
  --hlx-arc-line:rgba(23,24,22,.14);
  --hlx-arc-soft:#F5F5F2;
}

/* -------- Search / map: own the glass -------- */
@media(max-width:640px){
  html:has(body.hlx-search-active){
    overflow:hidden!important;
    overscroll-behavior:none!important;
    background:#fff!important;
  }
  body.hlx-search-active{
    position:fixed!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    min-height:100%!important;
    overflow:hidden!important;
    overscroll-behavior:none!important;
    background:#fff!important;
  }
  body.hlx-search-active #app,
  body.hlx-search-active #view,
  body.hlx-search-active .hlx-v8-search{
    height:100%!important;
    min-height:100%!important;
    overflow:hidden!important;
  }

  /* Header is one fixed white object. Safari may resize its own chrome; HomeLynx
     does not answer by moving the mark, Neo, or tabs. */
  body.hlx-search-active .hlx-v8-head{
    position:fixed!important;
    top:0!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    min-height:var(--hlx-fixed-header-height,132px)!important;
    background:#fff!important;
    background-image:none!important;
    transform:none!important;
    translate:none!important;
    transition:none!important;
    animation:none!important;
    contain:layout paint style;
  }
  body.hlx-search-active .hlx-v8-brand{
    top:calc(var(--hlx-stable-safe-top, env(safe-area-inset-top,0px)) + 8px)!important;
    transform:none!important;
    transition:none!important;
    animation:none!important;
  }
  body.hlx-search-active .hlx-v8-head .hlx-intent-tabs{
    margin-top:62px!important;
    transform:none!important;
    transition:none!important;
    animation:none!important;
  }
  body.hlx-search-active .hlx-neo-float{
    position:fixed!important;
    left:50%!important;
    right:auto!important;
    top:calc(var(--hlx-stable-safe-top, env(safe-area-inset-top,0px)) - 8px)!important;
    transform:translateX(-50%)!important;
    transition:none!important;
    animation:none!important;
  }
  body.hlx-search-active .hlx-neo-float__dock{
    transition:none!important;
  }

  /* 16px is the iOS no-auto-zoom floor. Keep the physical field where it is;
     focus may move only the keyboard-aware dock inset, never the page itself. */
  body.hlx-search-active .hlx-v8-searchrow.hlx-bottom-dock .hlx-v8-input{
    font-size:16px!important;
    line-height:1.2!important;
    -webkit-text-size-adjust:100%!important;
    touch-action:manipulation!important;
  }
}

/* Kill any surviving legacy rainbow/teal focus halo. Amber machine signal in
   V8.0.159 remains the only awake border. */
.hlx-v8-searchrow.hlx-bottom-dock,
.hlx-v8-searchrow.hlx-bottom-dock:focus,
.hlx-v8-searchrow.hlx-bottom-dock:focus-visible,
.hlx-v8-searchrow.hlx-bottom-dock:focus-within{
  outline:none!important;
}

/* -------- Sell + My Home: new arc, simple pass -------- */
body.hlx-arc-sell-161,
body.hlx-arc-myhome-161{
  --v2-paper:var(--hlx-arc-paper)!important;
  --v2-ink:var(--hlx-arc-ink)!important;
  --v2-mute:var(--hlx-arc-mute)!important;
  --v2-faint:var(--hlx-arc-faint)!important;
  --v2-line:var(--hlx-arc-line)!important;
  --v2-green:var(--hlx-arc-ink)!important;
  --v2-mint:#BFC3C0!important;
  --v2-soft:var(--hlx-arc-soft)!important;
  --v2-soft2:#FAFAF8!important;
  background:#fff!important;
  color:var(--hlx-arc-ink)!important;
}

body.hlx-arc-sell-161 #view,
body.hlx-arc-myhome-161 #view{
  background:#fff!important;
}

/* Old green identity leaves in-app product surfaces. */
body.hlx-arc-sell-161 .v2-eyebrow,
body.hlx-arc-myhome-161 .v2-eyebrow,
body.hlx-arc-sell-161 .v2-display.green,
body.hlx-arc-myhome-161 .v2-display.green,
body.hlx-arc-sell-161 .v2-signal.good,
body.hlx-arc-myhome-161 .v2-signal.good,
body.hlx-arc-sell-161 .v2-path .sel,
body.hlx-arc-myhome-161 .v2-path .sel{
  color:var(--hlx-arc-ink)!important;
}

body.hlx-arc-sell-161 .fixture-banner,
body.hlx-arc-myhome-161 .fixture-banner{
  background:#fff!important;
  border:1px solid var(--hlx-arc-line)!important;
  border-radius:5px!important;
  color:var(--hlx-arc-mute)!important;
  box-shadow:none!important;
}

/* Deburr the old mall cards: small engineering radius, hairline, no floaty shadow. */
body.hlx-arc-sell-161 .v2-page > .v2-sec,
body.hlx-arc-sell-161 .v2-page > .v2-sec-tight,
body.hlx-arc-myhome-161 .v2-page > .v2-sec,
body.hlx-arc-myhome-161 .v2-page > .v2-sec-tight,
body.hlx-arc-myhome-161 .v3-firewall,
body.hlx-arc-myhome-161 .hlx-first-lien,
body.hlx-arc-myhome-161 .hlx-finance-property,
body.hlx-arc-myhome-161 .hlx-prequal-promise,
body.hlx-arc-myhome-161 .hlx-finance-empty{
  border-radius:6px!important;
  border-color:var(--hlx-arc-line)!important;
  background:#fff!important;
  box-shadow:none!important;
}

body.hlx-arc-sell-161 .v2-paths,
body.hlx-arc-myhome-161 .v2-paths{gap:8px!important}
body.hlx-arc-sell-161 .v2-path,
body.hlx-arc-myhome-161 .v2-path{
  border-radius:6px!important;
  border-color:var(--hlx-arc-line)!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.hlx-arc-sell-161 .v2-path .chev,
body.hlx-arc-myhome-161 .v2-path .chev{color:var(--hlx-arc-mute)!important}

/* My Home lockups become Ink in-app. */
body.hlx-arc-myhome-161 .hlx-owner-auth-brand img,
body.hlx-arc-myhome-161 .hlx-owner-topline img,
body.hlx-arc-myhome-161 .hlx-finance-brand img{
  filter:grayscale(1) brightness(.28) contrast(1.18)!important;
}
body.hlx-arc-myhome-161 .hlx-google-btn,
body.hlx-arc-myhome-161 .hlx-email-btn,
body.hlx-arc-myhome-161 .hlx-balance-entry input,
body.hlx-arc-myhome-161 .hlx-balance-entry button,
body.hlx-arc-myhome-161 .hlx-options-cta{
  border-radius:6px!important;
  box-shadow:none!important;
}
body.hlx-arc-myhome-161 .hlx-equity-goals button,
body.hlx-arc-myhome-161 .hlx-cltv-grid>div{
  border-radius:5px!important;
  box-shadow:none!important;
}
body.hlx-arc-myhome-161 .hlx-equity-goals button.active,
body.hlx-arc-myhome-161 .hlx-cltv-grid>div.active{
  background:var(--hlx-arc-soft)!important;
  color:var(--hlx-arc-ink)!important;
  border-color:rgba(23,24,22,.26)!important;
}
body.hlx-arc-myhome-161 .hlx-first-lien-row>.num,
body.hlx-arc-myhome-161 .hlx-auth-preview button{color:var(--hlx-arc-ink)!important}

/* Bottom nav follows the same object language on Sell/My Home. */
body.hlx-arc-sell-161 #tabbar,
body.hlx-arc-myhome-161 #tabbar{
  left:16px!important;
  right:16px!important;
  bottom:12px!important;
  border-radius:6px!important;
  border:1px solid var(--hlx-arc-line)!important;
  background:rgba(255,255,255,.97)!important;
  box-shadow:0 8px 22px rgba(23,24,22,.08)!important;
}
body.hlx-arc-sell-161 #tabbar .tab,
body.hlx-arc-myhome-161 #tabbar .tab{
  margin:4px 2px!important;
  border-radius:4px!important;
  background:transparent!important;
  color:var(--hlx-arc-mute)!important;
}
body.hlx-arc-sell-161 #tabbar .tab.active,
body.hlx-arc-myhome-161 #tabbar .tab.active{
  background:var(--hlx-arc-soft)!important;
  color:var(--hlx-arc-ink)!important;
  font-weight:700!important;
}
