/* Original component layout and motion, with the smoother timing retained. */
:root{--jnb-ease:cubic-bezier(.22,1,.36,1)}
.jnb-icon{width:21px;height:21px;display:block;flex:none;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transform-origin:center;transition:transform .38s var(--jnb-ease)}
button .jnb-icon{margin:auto}
#search-toggle .jnb-icon{width:20px;height:20px}
#search-clear .jnb-icon{width:15px;height:15px}
#house-browse .jnb-icon{width:19px;height:19px;stroke-width:2.2}
:is(.slide-prev,.slide-next,#feed-prev,#feed-next,.close,#back,#search-toggle,#search-clear,#more,#restore-project,.construction-progress){transition:background-color .22s,color .22s,scale .3s var(--jnb-ease);touch-action:manipulation}
:is(button,a):focus-visible{outline:2px solid #45453f;outline-offset:4px}
:is(.slide-prev,.slide-next,#feed-prev,#feed-next,.close,#back,#search-toggle,#search-clear,#more,#restore-project,.construction-progress):active{scale:.94}
#results{transform-origin:top left;animation:jnb-results-in .3s var(--jnb-ease)}
.search-box{transition:background .3s,border-color .3s,box-shadow .3s}
.search-open .search-box{background:#fff;border-color:#d9d9d3;box-shadow:0 4px 16px #00000005}
@media(hover:hover) and (pointer:fine){
 :is(.slide-next,#feed-next,#house-next):hover .jnb-icon{transform:translateX(3px)}
 :is(.slide-prev,#feed-prev,#house-prev):hover .jnb-icon{transform:translateX(-3px)}
 :is(.close,#search-clear,#back):hover .jnb-icon-close{transform:rotate(90deg)}
 #search-toggle:hover .jnb-icon{transform:rotate(-8deg) scale(1.06)}
 :is(.close,#back,#search-toggle,#search-clear):hover{background:#e5e5df}
}
@keyframes jnb-results-in{from{opacity:0;translate:0 -5px;scale:.98}to{opacity:1;translate:0 0;scale:1}}
@media(prefers-reduced-motion:reduce){.jnb-icon,#results{animation:none!important;transition:none!important}:is(.slide-prev,.slide-next,#feed-prev,#feed-next,.close,#back,#search-toggle,#search-clear,#more,#restore-project,.construction-progress){transition:none!important}}
