/* Search-first homepage, clearer cards and a mobile filter dialog. */
.portal-hero{min-height:0;padding:34px 26px 48px;background-position:center 48%}
.portal-hero .hero-copy{max-width:760px}
.portal-hero h1{font-size:42px;margin:10px 0 14px;line-height:1.14}
.portal-hero .hero-description{margin-bottom:10px;max-width:580px}
.hero-shortcuts{display:none}
.nh-natural{margin-top:14px;max-width:620px}
.nh-natural summary{color:#fff;cursor:pointer;font-size:12px;text-decoration:underline;text-underline-offset:4px}
.nh-natural .natural-search-label{margin-top:14px}
.reference-intro .search-panel{margin-top:-20px;transform:none;position:relative;z-index:2}
.explore{margin-top:22px;margin-bottom:12px}
.results{padding-top:22px;scroll-margin-top:90px}
.results>.sectiontop{align-items:center;gap:16px}
.resulttools{flex-wrap:wrap}
.nh-active-filters{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}
.nh-active-filters:empty{display:none}
.nh-filter-chip{border:1px solid #c6e1e3;background:#edf7f7;border-radius:24px;color:#243d57;padding:8px 12px;font-size:12px;max-width:100%;overflow-wrap:anywhere}
.nh-clear{border:0;background:none;color:#243d57;text-decoration:underline;font-size:12px;min-height:40px}
.results .grid{gap:24px}
.results .card{border:1px solid #eef7f7;border-radius:16px;overflow:hidden;background:white;box-shadow:0 5px 18px #243d5708}
.results .card .photo{height:auto;aspect-ratio:4/3}
.results .card .photo img{width:100%;height:100%;object-fit:cover}
.results .cardbody{padding:19px}
.results .price-line{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px}
.results .price{font-size:25px;font-weight:800;letter-spacing:-.7px}
.results .unit-price{font-size:11px;color:#526171;white-space:nowrap}
.results .card h3{font-size:17px;line-height:1.45;margin:12px 0 7px;min-height:0}
.results .location{font-size:12px;color:#526171}
.results .specs{display:flex;flex-wrap:wrap;gap:10px 14px;padding:13px 0;color:#243d57;font-weight:600}
.results .cardfoot{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding-top:13px}
.results .cardfoot .owner{margin-left:auto;border-radius:20px;background:#eef7f7;color:#243d57;padding:4px 9px;font-size:11px}
.results .cardfoot>span:last-child{display:none}
.results .favorite{width:40px;height:40px}
.results .grid.list .photo{aspect-ratio:auto;min-height:210px}
.portal-category-section{padding-top:38px}
.reference-stats{margin-top:26px}
.nh-mobile-search,.nh-results-filter{display:none}
#nhFilterDialog{padding:0;border:0;border-radius:18px;width:min(100%,620px);max-width:100%;max-height:94vh;max-height:94dvh;color:#243d57;background:#fff;overflow:hidden}
#nhFilterDialog[open]{display:flex;flex-direction:column}
#nhFilterDialog::backdrop{background:#243d57b3}
.nh-filter-head{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #e1e6eb;flex-shrink:0}
.nh-filter-head h2{font-size:20px;margin:0}
#nhFilterBody{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:0 18px}
#nhFilterDialog .search-panel{display:block;width:100%;margin:0;padding:0;border:0;box-shadow:none;transform:none;border-radius:0}
#nhFilterDialog .search-fields{grid-template-columns:1fr 1fr;padding:16px 0;gap:14px}
#nhFilterDialog .location-field,#nhFilterDialog .search-fields>div:nth-child(2){grid-column:1/-1}
#nhFilterDialog .search-fields>div:nth-child(4){grid-column:auto}
#nhFilterDialog .search-button,#nhFilterDialog .filter-submit,#nhFilterDialog .reset-field{display:none}
#nhFilterDialog .search-bottom{flex-wrap:wrap;gap:12px;padding-bottom:16px}
#nhFilterDialog .advanced.open{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding-bottom:18px}
#nhFilterDialog .advanced .full,#nhFilterDialog .common-checks{grid-column:1/-1}
#nhFilterDialog input,#nhFilterDialog select{font-size:16px;min-width:0;width:100%}
#nhFilterDialog input[type=checkbox]{width:18px;min-height:18px;flex-shrink:0}
.nh-filter-footer{display:flex;gap:12px;justify-content:space-between;padding:14px 18px max(14px,env(safe-area-inset-bottom));border-top:1px solid #e1e6eb;background:white;flex-shrink:0}
.nh-filter-footer .btn:last-child{flex:1}
@media(max-width:1000px){.results>.sectiontop{align-items:flex-start;flex-direction:column}.results .resulttools{width:100%;justify-content:space-between}}
@media(max-width:760px){
 .portal-hero{padding:26px 20px 24px;min-height:0}
 .portal-hero h1{font-size:34px;line-height:1.15;margin:10px 0 12px}
 .portal-hero .hero-description{font-size:12px;line-height:1.7;margin-bottom:0}
 .nh-natural{margin-top:12px}.nh-natural summary{font-size:11px}
 .intro>#searchForm{display:none}
 .nh-mobile-search{display:flex;flex-direction:column;gap:10px;padding:18px 20px;background:#fff;border-bottom:1px solid #e1e6eb}
 .nh-mobile-search>span{color:#6b7785;font-size:12px}.nh-mobile-search .btn{justify-content:center;min-height:46px}
 .nh-results-filter{display:inline-flex;min-height:42px}
 .explore{margin-top:15px;flex-wrap:nowrap;overflow-x:auto;padding-bottom:8px}.explore>*{flex-shrink:0}
 .results{padding-top:16px;scroll-margin-top:76px}
 .results h2{font-size:25px}.results .resulttools{gap:10px;justify-content:flex-start}
 .results .resulttools .sort{margin-left:auto}.results .resulttools .sort label{display:none}
 .results .resulttools select{font-size:12px;max-width:165px;min-height:42px}
 .results .favorite-filter{font-size:11px;min-height:40px}.results .view-toggle{display:none}
 .listing-extra-tools{overflow-x:auto;flex-wrap:nowrap;padding-bottom:8px}.listing-extra-tools button{white-space:nowrap;min-height:40px}
 .results .grid,.results .grid.list{grid-template-columns:1fr;gap:20px}
 .results .grid.list .card{display:block}.results .grid.list .photo{aspect-ratio:4/3;min-height:0;width:100%}
 .results .cardbody{padding:17px}.results .price{font-size:26px}
 .nh-active-filters{gap:6px}.nh-filter-chip{font-size:11px;min-height:36px}
 #nhFilterDialog{margin:auto 0 0;width:100%;border-radius:18px 18px 0 0}
 .category-directory{margin-top:26px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
