/* Home search (/search/ and /search/home/). Phone first; desktop from 900px like site.css. Uses site.css tokens. */
.vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hs,.hs-home,.hs-sheet{--soft:#F2F0EC;--line2:#ECE9E3}
.hs-wait{padding:40px 20px;color:var(--muted)}

/* search bar and filters */
.hs-top{padding-block:8px 12px;display:flex;flex-direction:column;gap:12px}
.hs-search{display:flex;align-items:center;gap:10px;height:56px;padding:0 6px 0 18px;background:var(--white);border:1px solid var(--line2);border-radius:999px;box-shadow:0 6px 24px rgba(20,20,20,.08)}
.hs-search svg{width:20px;height:20px;flex:none}
.hs-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:700 16px var(--font);color:var(--ink)}
.hs-go{height:44px;padding:0 18px;border:0;border-radius:999px;background:var(--ink);color:var(--white);font:700 15px var(--font);cursor:pointer}
.hs-pills{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin-inline:calc(var(--gutter) * -1);padding-inline:var(--gutter)}
.hs-pills::-webkit-scrollbar{display:none}
.hs-pill{flex:none;position:relative;display:flex}
.hs-pill select,.hs-sort select{appearance:none;-webkit-appearance:none;height:40px;padding:0 34px 0 16px;border:0;border-radius:999px;background:var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141414' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 14px center;font:600 15px var(--font);color:var(--ink);cursor:pointer}
.hs-pill.on select{background-color:var(--ink);color:var(--white);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23ffffff' stroke-width='1.8'/%3E%3C/svg%3E");font-weight:700}
.hs-sort select{background-color:transparent;padding-left:0;font-weight:700}

/* results: a bar with the count, sort and the view switch */
.hs-head{display:flex;align-items:center;gap:10px 14px;flex-wrap:wrap;padding-block:2px 18px}
.hs-count{font-size:16px;color:var(--muted)}.hs-count b{color:var(--ink);font-weight:800;font-size:19px}
.hs-views{display:inline-flex;padding:4px;border-radius:999px;background:#ECE8E1;gap:2px;flex:none}
.hs-views button{height:40px;padding:0 15px;border:0;border-radius:999px;background:transparent;font:700 14px var(--font);color:#4A4740;cursor:pointer;display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.hs-views button svg{width:16px;height:16px;flex:none}
.hs-views button[aria-pressed="true"]{background:var(--white);color:var(--ink);box-shadow:0 2px 8px rgba(20,20,20,.12)}
.hs-views button:focus-visible{outline:2px solid var(--ink);outline-offset:1px;box-shadow:0 0 0 4px var(--gold)}
.hs-views .sm{display:none}
.hs-body{padding-bottom:40px}
.hs-list{min-width:0}
.hs-sample{margin:0 0 14px;padding:10px 14px;border-radius:12px;background:#FBF3E6;color:#6E4E20;font-size:14px;font-weight:600}

/* cards: big photos, the words on a soft shade over the bottom of the photo only */
.hs-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:30px 22px;transition:opacity .2s}
.hs-grid.dim{opacity:.45}
.hs-card{position:relative;display:flex;flex-direction:column;min-width:0;margin:0}
.hs-photo{position:relative;border-radius:20px;overflow:hidden;aspect-ratio:4/3;background:#E6E1D8;isolation:isolate}
.hs-link{position:absolute;inset:0;display:block;color:#fff;text-decoration:none}
.hs-link:hover{color:#fff}
.hs-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.hs-link:hover .hs-img{transform:scale(1.035)}
.hs-ph{display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.85)}
.hs-ph svg{width:56px;height:56px}
.hs-scrim{position:absolute;left:0;right:0;bottom:0;height:46%;background:linear-gradient(to top,rgba(8,8,10,.74),rgba(8,8,10,.34) 48%,rgba(8,8,10,0));pointer-events:none}
.hs-txt{position:absolute;left:18px;right:18px;bottom:15px;display:flex;flex-direction:column;gap:1px;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.4)}
.hs-price{font-size:28px;font-weight:800;letter-spacing:-.02em;line-height:1.1;font-variant-numeric:tabular-nums}
.hs-addr{font-size:16px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hs-facts{font-size:14px;font-weight:600;white-space:pre}
.hs-link:focus-visible{outline:none}
.hs-link:focus-visible::after{content:"";position:absolute;inset:0;border-radius:20px;box-shadow:inset 0 0 0 3px var(--gold),inset 0 0 0 6px var(--ink)}
.hs-badge{position:absolute;left:14px;top:14px;height:30px;padding:0 12px;border-radius:999px;background:rgba(255,255,255,.93);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:var(--ink);font-size:13px;font-weight:800;display:inline-flex;align-items:center;pointer-events:none}
.hs-heart{position:absolute;right:12px;top:12px;width:44px;height:44px;border:0;border-radius:999px;background:rgba(20,20,20,.34);-webkit-backdrop-filter:blur(10px) saturate(1.4);backdrop-filter:blur(10px) saturate(1.4);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s}
.hs-heart:hover{background:rgba(20,20,20,.5)}
.hs-heart svg{width:22px;height:22px}
.hs-heart.on{background:var(--white);color:#C0392B}
.hs-heart.on svg,.hs-heart2.on svg{fill:#C0392B;stroke:#C0392B}
.hs-heart:focus-visible{outline:3px solid var(--white);outline-offset:2px;box-shadow:0 0 0 6px var(--ink)}
.hs-credit{margin:9px 4px 0;font-size:13px;line-height:1.35;color:var(--muted)} /* MLS Grid IDX Rule 13/22: readily visible, not small print */
.hs-more{margin:28px auto 0;display:flex}
.hs-notice{margin-top:22px}
.hs-listedby{font-size:15px;color:var(--ink);margin-top:6px}.hs-listedby b{font-weight:700}
.hs-idx{display:flex;flex-direction:column;gap:8px;margin-top:14px;padding-top:14px;border-top:1px solid var(--line,rgba(0,0,0,.12));font-size:13px;line-height:1.5;color:var(--ink)}
.hs-idx p{margin:0}.hs-idx-src{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:14px}
.hs-idx-logo{height:28px;width:auto}.hs-idx-mark{display:inline-block;padding:4px 8px;border:1.5px solid currentColor;border-radius:6px;font-size:12px;font-weight:800;letter-spacing:.08em}
.hs-dmca summary{cursor:pointer;font-weight:700;min-height:44px;display:flex;align-items:center}.hs-dmca p{margin-top:8px}
.hs-cap{display:block;font-size:13px;color:var(--muted);margin-top:2px}
.hs-preview{margin:0 0 12px;padding:10px 14px;border-radius:12px;background:#FFF4DF;color:#5B3E12;font-size:14px;font-weight:600}
.hs-gone-mls{margin-top:28px}
.hs-empty{padding:28px;border:1px dashed var(--dash);border-radius:20px;background:var(--white);display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.hs-empty h1,.hs-empty h2{font-size:24px;font-weight:800}
.hs-empty p{color:var(--muted)}
.hs-empty.big{margin-block:40px;padding:32px}

/* the map (Photos + map, Big map): price pins, the picked home's card floating on it */
.hs-mapbox{display:none;position:relative}
.hs.view-split .hs-mapbox,.hs.view-map .hs-mapbox{display:block}
.hs-map{width:100%;height:100%;border-radius:22px;overflow:hidden;background:#ECE8DF;border:1px solid var(--line);isolation:isolate}
.hs-area{position:absolute;left:50%;top:14px;transform:translateX(-50%);z-index:500;height:40px;padding:0 16px;border:0;border-radius:999px;background:var(--ink);color:var(--white);font:700 14px var(--font);box-shadow:0 4px 14px rgba(20,20,20,.25);cursor:pointer}
.hs-expand{position:absolute;left:14px;top:14px;z-index:500;height:44px;padding:0 16px;border:0;border-radius:999px;background:var(--white);color:var(--ink);font:700 14px var(--font);box-shadow:0 4px 14px rgba(20,20,20,.16);display:inline-flex;align-items:center;gap:8px;cursor:pointer}
.hs-expand svg{width:16px;height:16px}
.hs-area:focus-visible,.hs-expand:focus-visible{outline:2px solid var(--ink);outline-offset:2px;box-shadow:0 0 0 5px var(--gold)}
.hs-pin{background:none;border:0}
.hs-pin span{display:inline-block;transform:translate(-50%,-50%);white-space:nowrap;height:32px;line-height:28px;padding:0 11px;border-radius:999px;background:var(--ink);color:var(--white);font:800 13.5px var(--font);box-shadow:0 6px 16px rgba(20,20,20,.25);border:2px solid var(--white);transition:transform .15s}
.hs-pin:hover span,.hs-pin.hot span{transform:translate(-50%,-50%) scale(1.1)}
.hs-pin.sel span{background:var(--gold);color:var(--ink);transform:translate(-50%,-50%) scale(1.12)}
.hs-pin:focus{outline:none}.hs-pin:focus-visible span{box-shadow:0 0 0 3px var(--white),0 0 0 6px var(--ink)}
/* Clusters (Nov 1 2026): a round count for homes whose pins would overlap. Ink with white text (18:1); gold with ink
   text (7:1) when the picked home is in it. The soft gold halo is decoration only. Tap size 44px and up. */
.hs-clu{background:none;border:0}
.hs-clu span{display:grid;place-items:center;box-sizing:border-box;transform:translate(-50%,-50%);width:44px;height:44px;border-radius:50%;background:var(--ink);color:var(--white);font:800 15px var(--font);border:2px solid var(--white);box-shadow:0 0 0 5px rgba(197,148,75,.45),0 6px 16px rgba(20,20,20,.28);cursor:pointer;transition:transform .15s}
.hs-clu.m span{width:50px;height:50px;font-size:16px}
.hs-clu.l span{width:56px;height:56px;font-size:16px}
.hs-clu:hover span,.hs-clu.hot span{transform:translate(-50%,-50%) scale(1.08)}
.hs-clu.sel span{background:var(--gold);color:var(--ink)}
.hs-clu:focus{outline:none}.hs-clu:focus-visible span{box-shadow:0 0 0 3px var(--white),0 0 0 6px var(--ink)}
/* the ring is drawn on the round marker itself; the site-wide focus ring would sit on the marker's untranslated box */
.hs-pin:focus-visible,.hs-clu:focus-visible{outline:none;box-shadow:none}
/* Homes at one spot: a list in the floating panel */
.hs-fh{margin:2px 44px 10px 6px;font-size:17px;font-weight:800;color:var(--ink)}
.hs-flist{list-style:none;margin:0;padding:2px;display:flex;flex-direction:column;gap:6px;max-height:min(330px,46vh);overflow:auto}
/* the list never grows over the map's zoom buttons (top right): it scrolls inside the panel instead */
.hs-float.list{display:flex;flex-direction:column;max-height:calc(100% - 112px)}.hs-float.list[hidden]{display:none}
.hs-float.list .hs-flist{flex:1 1 auto;min-height:0}
.hs-frow{width:100%;min-height:52px;padding:8px 14px;border:1px solid var(--line);border-radius:14px;background:var(--white);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;text-align:left;font:inherit;color:var(--ink);cursor:pointer}
.hs-frow b{font-size:16px;font-weight:800}
.hs-frow span{font-size:14px;color:var(--ink-2)}
.hs-frow:hover{border-color:var(--ink)}
.hs-frow:focus-visible{outline:2px solid var(--ink);outline-offset:1px;box-shadow:0 0 0 4px var(--gold)}
.hs-fback{display:inline-flex;align-items:center;gap:6px;height:44px;margin:0 0 6px;padding:0 14px 0 8px;border:0;border-radius:999px;background:var(--soft);color:var(--ink);font:700 14px var(--font);cursor:pointer}
.hs-fback svg{width:18px;height:18px}
.hs-fback:focus-visible{outline:2px solid var(--ink);outline-offset:2px;box-shadow:0 0 0 5px var(--gold)}
.hs-float{position:absolute;left:16px;bottom:16px;z-index:600;width:340px;max-width:calc(100% - 32px);background:var(--white);border-radius:20px;padding:10px 10px 12px;box-shadow:0 18px 40px rgba(20,20,20,.24)}
.hs-float[hidden]{display:none}
.hs-float .hs-photo{border-radius:14px;aspect-ratio:16/10}
.hs-float .hs-link:focus-visible::after{border-radius:14px}
.hs-float .hs-price{font-size:24px}
.hs-float .hs-credit{margin:8px 4px 0}
.hs-fx{position:absolute;right:-12px;top:-12px;z-index:2;width:40px;height:40px;border-radius:999px;border:2px solid var(--white);background:var(--ink);color:var(--white);display:grid;place-items:center;cursor:pointer;box-shadow:0 4px 12px rgba(20,20,20,.25)}
.hs-fx svg{width:16px;height:16px}
.hs-fx:focus-visible{outline:2px solid var(--ink);outline-offset:2px;box-shadow:0 0 0 4px var(--gold)}
.leaflet-control-zoom a{width:40px!important;height:40px!important;line-height:38px!important;font-size:20px!important}
/* Big map: a tall map, then a strip of cards to slide through */
.hs.view-map .hs-body{display:flex;flex-direction:column}
.hs.view-map .hs-mapbox{order:-1;height:max(420px,calc(100dvh - 300px - var(--tabbar)))}
.hs.view-map .hs-grid{grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:minmax(260px,300px);overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:20px 2px 10px;gap:18px;scrollbar-width:thin}
.hs.view-map .hs-card{scroll-snap-align:start}
.hs.view-map .hs-price{font-size:22px}
.hs.view-map .hs-sample,.hs.view-map .hs-preview{margin-top:16px}
.hs.view-map .hs-grid .hs-empty{grid-column:auto;width:min(560px,85vw)}

/* sheets: centered */
.hs-sheet{position:fixed;inset:0;z-index:1100;background:rgba(20,20,20,.45);display:flex;align-items:center;justify-content:center;padding:16px}
.hs-sheet-card{width:min(460px,100%);max-height:calc(100dvh - 32px);overflow:auto;background:var(--white);border-radius:28px;padding:24px 20px 20px;box-shadow:0 16px 48px rgba(20,20,20,.3);display:flex;flex-direction:column;gap:16px}
.hs-sheet-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.hs-sheet-top h2{font-size:28px;font-weight:800;letter-spacing:-.02em}
.hs-x{width:44px;height:44px;margin:-10px -10px 0 0;border:0;background:none;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--ink)}
.hs-x svg{width:20px;height:20px}
.hs-mini{display:flex;gap:12px;align-items:center;padding:10px;border-radius:18px;background:var(--bone)}
.hs-mini-img{width:64px;height:64px;border-radius:12px;object-fit:cover;flex:none}
.hs-mini .hs-ph svg{width:28px;height:28px}
.hs-mini b{display:block;font-size:18px}.hs-mini span{font-size:14px;color:var(--muted)}
.hs-form{display:flex;flex-direction:column;gap:6px}
.hs-form label{font-size:14px;font-weight:700;margin-top:8px}
.hs-form input:not([type=checkbox]),.hs-form textarea{height:48px;padding:0 16px;border:1px solid var(--bone);border-radius:14px;background:var(--bone);font:16px var(--font);color:var(--ink)}
.hs-form textarea{height:auto;padding:12px 16px;resize:vertical}
.hs-form input:focus,.hs-form textarea:focus{outline:2px solid var(--ink);outline-offset:1px;box-shadow:0 0 0 2px var(--gold)}
.hs-form .hs-check{display:flex;gap:10px;align-items:flex-start;font-weight:500;line-height:1.4}
.hs-check input{width:20px;height:20px;margin:1px 0 0;accent-color:var(--ink);flex:none}
.hs-sub{font-size:15px;color:var(--ink-2);line-height:1.45}
.hs-fine{font-size:12px;color:var(--muted);text-align:center;margin-top:6px}
.hs-err{color:#A1281C;font-size:14px;font-weight:600}
.hs-ok{display:flex;align-items:center;gap:8px;padding:12px 14px;border-radius:14px;background:#EEF5EF;color:#1F5C34;font-weight:700}
.hs-done{display:flex;flex-direction:column;gap:12px}
.hs-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:52px;padding:0 22px;border-radius:999px;font:800 15px var(--font);text-decoration:none;cursor:pointer;border:1.5px solid transparent}
.hs-btn.dark{background:var(--ink);color:var(--white)}.hs-btn.dark:hover{color:var(--white);background:#2a2926}
.hs-btn.gold{background:var(--gold);color:var(--ink)}
.hs-btn.line{background:var(--white);color:var(--ink);border-color:var(--ink)}
.hs-btn:disabled{opacity:.6;cursor:wait}

/* a home's page: the photos first, nothing on them; the details below */
.hs-home{background:var(--white);padding-bottom:96px}
.hs-hwrap{position:relative}
.hs-hbar{display:flex;align-items:center;gap:10px;padding-block:14px}
.hs-sp{flex:1}
.hs-hb{height:44px;padding:0 18px;border-radius:999px;border:1px solid var(--line);background:var(--white);color:var(--ink);font:700 15px var(--font);display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;cursor:pointer}
.hs-hb:hover{color:var(--ink);border-color:var(--ink)}
.hs-hb svg{width:19px;height:19px;flex:none}
.hs-hb:focus-visible{outline:2px solid var(--ink);outline-offset:2px;box-shadow:0 0 0 5px var(--gold)}
.hs-gal{position:relative;background:#E6E1D8}
.hs-gtrack{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;height:min(108vw,470px)}
.hs-gtrack::-webkit-scrollbar{display:none}
.hs-tile{position:relative;flex:0 0 100%;display:block;border:0;padding:0;margin:0;cursor:zoom-in;background:#E6E1D8;overflow:hidden;scroll-snap-align:center;scroll-snap-stop:always}
.hs-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.hs-tile:hover img{transform:scale(1.03)}
.hs-tile:focus-visible{outline:none}
.hs-tile:focus-visible::after{content:"";position:absolute;inset:0;box-shadow:inset 0 0 0 3px var(--gold),inset 0 0 0 6px var(--ink)}
.hs-gal-none .hs-ph{height:min(80vw,380px)}
.hs-gal-none .hs-ph svg{width:76px;height:76px}
.hs-gcount{position:absolute;right:14px;bottom:14px;height:30px;line-height:30px;padding:0 12px;border-radius:999px;background:rgba(20,20,20,.62);color:var(--white);font-size:13px;font-weight:700;display:inline-block;pointer-events:none;font-variant-numeric:tabular-nums}
.hs-all{display:none;position:absolute;right:18px;bottom:18px;height:44px;padding:0 18px;border-radius:999px;border:0;background:var(--white);color:var(--ink);font:800 14px var(--font);align-items:center;gap:8px;cursor:pointer;box-shadow:0 8px 24px rgba(20,20,20,.2)}
.hs-all svg{width:18px;height:18px}
.hs-all:focus-visible{outline:2px solid var(--ink);outline-offset:2px;box-shadow:0 0 0 5px var(--gold)}
.hs-sheet-body{position:relative;background:var(--white);padding-block:24px 10px;display:grid;grid-template-columns:minmax(0,1fr);gap:26px}
.hs-main-col{display:flex;flex-direction:column;gap:26px;min-width:0}
.hs-main-col section{display:flex;flex-direction:column;gap:10px}
.hs-main-col h2{font-size:22px;font-weight:800}
.hs-eyebrow{font-size:12px;font-weight:800;letter-spacing:.14em;color:var(--gold-text)}
.hs-eb2{letter-spacing:.06em}
.hs-bigprice{font-size:38px;font-weight:800;letter-spacing:-.03em;line-height:1;margin-top:-16px}
.hs-street{font-size:19px;font-weight:700;line-height:1.3;margin-top:-16px}.hs-street span{color:var(--muted);font-weight:500;font-size:17px}
.hs-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line2);border-radius:18px;background:var(--white)}
.hs-stats div{padding:14px;border-left:1px solid var(--line2)}.hs-stats div:first-child{border-left:0}
.hs-stats b{display:block;font-size:22px;font-weight:800;letter-spacing:-.02em}.hs-stats span{font-size:12px;font-weight:600;color:var(--muted)}
.hs-remarks{font-size:17px;line-height:1.65;color:var(--ink-2);max-width:70ch}
.hs-dl{margin:0}.hs-row{display:flex;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid var(--line2);font-size:15px}
.hs-row:last-child{border-bottom:0}.hs-row dt{color:var(--muted)}.hs-row dd{margin:0;font-weight:700;text-align:right}
.hs-locmap{height:240px;border-radius:20px;overflow:hidden;background:#ECE8DF;isolation:isolate}
.hs-dot{width:22px;height:22px;border-radius:999px;background:var(--ink);border:4px solid var(--white);box-shadow:0 0 0 8px rgba(197,148,75,.3)}
.hs-side{display:flex;flex-direction:column;gap:10px}
.hs-agent{display:flex;gap:14px;align-items:center;padding:16px;border-radius:20px;background:var(--bone)}
.hs-av{position:relative;width:88px;height:88px;flex:none}.hs-face{display:block;width:88px;height:88px;border-radius:999px;object-fit:cover;object-position:50% 20%;background:var(--soft)}.hs-w{position:absolute;right:-8px;bottom:-6px;width:46px;height:46px;border-radius:50%;background:var(--ink);border:3px solid var(--bone);display:flex;align-items:center;justify-content:center;box-sizing:border-box}.hs-w img{width:26px;height:26px;display:block}
.hs-agent b{display:block;font-size:17px}.hs-agent span{display:block;font-size:13px;color:var(--muted)}.hs-agent .hs-av{display:block}.hs-agent .hs-w{display:flex}
.hs-side .hs-btn{width:100%}
.hs-mls{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--muted);line-height:1.5}.hs-mls b{color:var(--ink);font-size:13px}
.hs-actbar{position:fixed;left:0;right:0;bottom:calc(var(--tabbar) + env(safe-area-inset-bottom,0px));z-index:500;display:flex;gap:10px;padding:12px 16px;background:rgba(255,255,255,.94);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid var(--line2)}
.hs-actbar .hs-btn{flex:1}

/* the photo viewer: full screen, black, each photo whole */
html.hs-lock,html.hs-lock body{overflow:hidden}
.hs-viewer{position:fixed;inset:0;z-index:1150;background:#0B0B0C;color:var(--white);display:flex;flex-direction:column}
.hs-vtop{display:flex;align-items:center;gap:16px;min-height:68px;padding:10px 16px 10px 22px}
.hs-vpos{margin:0;font-weight:800;font-size:15px;font-variant-numeric:tabular-nums;flex:none}
.hs-vby{flex:1;min-width:0;margin:0;font-size:14px;color:rgba(255,255,255,.82);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hs-vbtn{width:48px;height:48px;border-radius:999px;border:0;background:rgba(255,255,255,.14);color:var(--white);display:grid;place-items:center;cursor:pointer;flex:none;transition:background .15s}
.hs-vbtn:hover{background:rgba(255,255,255,.26)}
.hs-vbtn svg{width:22px;height:22px}
.hs-viewer button:focus-visible{outline:3px solid var(--white);outline-offset:2px}
.hs-stage{flex:1;min-height:0;position:relative;display:flex;align-items:center;justify-content:center;padding:0 92px;touch-action:pan-y pinch-zoom;-webkit-user-select:none;user-select:none}
.hs-vimg{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.hs-vprev,.hs-vnext{position:absolute;top:50%;transform:translateY(-50%)}
.hs-vprev{left:22px}.hs-vnext{right:22px}
.hs-thumbs{display:flex;gap:8px;overflow-x:auto;padding:14px 20px calc(18px + env(safe-area-inset-bottom,0px));scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.3) transparent}
.hs-thumbs::before,.hs-thumbs::after{content:"";margin:auto}
.hs-th{flex:none;width:84px;height:56px;border-radius:8px;overflow:hidden;border:2px solid transparent;padding:0;background:#222;opacity:.55;cursor:pointer;transition:opacity .15s}
.hs-th:hover{opacity:.85}
.hs-th[aria-current="true"]{border-color:var(--white);opacity:1}
.hs-th img{width:100%;height:100%;object-fit:cover;display:block}
@media (max-width:700px){
  .hs-vtop{padding-left:16px;gap:12px}
  .hs-vby{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:13px;line-height:1.35}
  .hs-stage{padding:0}
  .hs-vprev,.hs-vnext{background:rgba(0,0,0,.45)}
  .hs-vprev{left:10px}.hs-vnext{right:10px}
  .hs-th{width:64px;height:44px}
}

@media (max-width:899px){
  .hs-views [data-view="split"]{display:none}
  .hs-views .lg,.hs-views svg{display:none}
  .hs-views .sm{display:inline}
  .hs-head .hs-count{flex-basis:100%}
  .hs-head .hs-sort{margin-right:auto}
  .hs.view-map .hs-expand{display:none}
  .hs.view-map .hs-mapbox{height:max(380px,calc(100dvh - 330px - var(--tabbar)));margin-inline:calc(var(--gutter) * -1)}
  .hs.view-map .hs-map{border-radius:0;border-inline:0}
  .hs-float{left:10px;right:10px;bottom:12px;width:auto;max-width:none}
  .hs-float .hs-photo{aspect-ratio:2.2/1}
  .hs-float .hs-price{font-size:21px}
  .hs-fx{right:-4px;top:-14px}
  /* a home: the photos edge to edge, round buttons over their top */
  .hs-hwrap{padding-inline:0}
  .hs-hbar{position:absolute;left:12px;right:12px;top:12px;z-index:2;padding:0;pointer-events:none}
  .hs-hb{pointer-events:auto;width:44px;padding:0;border:0;background:rgba(255,255,255,.94);box-shadow:0 4px 14px rgba(20,20,20,.18)}
  .hs-hbl{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
}
@media (min-width:640px){.hs.view-grid .hs-grid,.hs-gone-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:900px){
  .hs-top{flex-direction:row;align-items:center;padding-block:16px 18px}
  .hs-search{flex:0 1 460px}
  .hs-pills{margin:0;padding:0;flex-wrap:wrap;overflow:visible}
  .hs-head .hs-count{flex:1}
  /* Photos + map: cards on the left, the map stays beside them */
  .hs.view-split .hs-body{display:flex;gap:24px;align-items:flex-start}
  .hs.view-split .hs-list{flex:1 1 56%}
  .hs.view-split .hs-mapbox{flex:0 0 42%;position:sticky;top:96px;height:calc(100vh - 120px)}
  .hs.view-split .hs-price{font-size:25px}
  .hs-home{padding-bottom:40px}
  .hs-hbar{padding-block:18px}
  .hs-gal{border-radius:24px;overflow:hidden;background:transparent}
  .hs-gtrack{display:grid;gap:8px;overflow:visible;height:clamp(420px,58vh,580px);grid-template-columns:2fr 1fr 1fr;grid-template-rows:repeat(2,minmax(0,1fr))}
  .hs-tile{min-height:0;min-width:0}
  .hs-tile:nth-child(n+6){display:none}
  .hs-tile.big{grid-row:span 2}
  .hs-gal[data-n="1"] .hs-gtrack{grid-template-columns:1fr;grid-template-rows:1fr}
  .hs-gal[data-n="2"] .hs-gtrack{grid-template-columns:1fr 1fr;grid-template-rows:1fr}
  .hs-gal[data-n="2"] .hs-tile.big{grid-row:auto}
  .hs-gal[data-n="3"] .hs-gtrack{grid-template-columns:2fr 1fr}
  .hs-gal[data-n="4"] .hs-tile:nth-child(2){grid-row:span 2}
  .hs-gal-none{border-radius:24px;overflow:hidden}
  .hs-gal-none .hs-ph{height:clamp(320px,44vh,440px)}
  .hs-gcount{display:none}
  .hs-all{display:inline-flex}
  .hs-sheet-body{grid-template-columns:minmax(0,1fr) 360px;column-gap:56px;padding-top:40px}
  .hs-bigprice{font-size:50px}
  .hs-street{font-size:22px}
  .hs-stats div{padding:18px 20px}
  .hs-stats b{font-size:26px}.hs-stats span{font-size:13px}
  .hs-dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:40px}
  .hs-row:last-child{border-bottom:1px solid var(--line2)}
  .hs-locmap{height:300px}
  .hs-side{position:sticky;top:110px;align-self:start;grid-column:2;grid-row:1;padding:22px;border:1px solid var(--line);border-radius:22px;background:var(--white);box-shadow:0 14px 40px rgba(20,20,20,.06)}
  .hs-side .hs-agent{background:transparent;padding:0 0 6px}
  .hs-side .hs-w{border-color:var(--white)}
  .hs-mls{grid-column:1/-1}
  .hs-actbar{display:none}
  .hs-sheet{padding:24px}
}
@media (min-width:1100px){.hs.view-grid .hs-grid,.hs-gone-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:34px 26px}}
@media (min-width:1200px){.hs.view-split .hs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (prefers-reduced-motion:reduce){.hs-grid,.hs-img,.hs-tile img,.hs-pin span,.hs-clu span,.hs-heart,.hs-th,.hs-vbtn{transition:none}.hs-link:hover .hs-img,.hs-tile:hover img{transform:none}}

/* More filters (4.22) */
.hs-morebtn{flex:none;display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 16px;border:0;border-radius:999px;background:var(--soft);font:600 15px var(--font);color:var(--ink);cursor:pointer;white-space:nowrap}
.hs-morebtn svg{width:18px;height:18px}
.hs-morebtn.on{background:var(--ink);color:var(--white);font-weight:700}
.hs-fs{border:0;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;min-width:0}
.hs-fs legend{padding:0;margin-bottom:10px;font-weight:800;font-size:15px}
.hs-mf{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:14px}
.hs-msel{appearance:none;-webkit-appearance:none;width:100%;height:46px;padding:0 34px 0 14px;border:1.5px solid var(--line2);border-radius:14px;background:var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141414' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 12px center;font:600 15px var(--font);color:var(--ink)}
.hs-chips{display:flex;flex-wrap:wrap;gap:8px}
.hs-chip{min-height:40px;padding:0 14px;border-radius:999px;border:1.5px solid var(--line2);background:var(--white);font:600 14px var(--font);color:var(--ink);cursor:pointer}
.hs-chip[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:var(--white)}
.hs-mf-acts{display:flex;gap:10px;position:sticky;bottom:-20px;background:var(--white);padding:12px 0 4px;margin-top:4px}
.hs-mf-acts .hs-btn{flex:1}.hs-mf-acts [data-apply]{flex:1.6}
/* Map credit (OpenFreeMap / OpenMapTiles / OpenStreetMap): small, wraps inside the map, never over the List/Map button */
.hs-map .leaflet-control-attribution,.hs-locmap .leaflet-control-attribution{font-size:10px;line-height:1.35;max-width:calc(100% - 12px);white-space:normal;background:rgba(255,255,255,.85);border-radius:8px 0 0 0;padding:2px 6px}
.hs-map .maplibregl-canvas,.hs-locmap .maplibregl-canvas{outline:none}
/* A home that sold, went under contract or came off the market (4.23) */
.hs-gone{padding-block:28px 48px;display:flex;flex-direction:column;gap:22px}
.hs-gone-hero{display:grid;gap:22px;background:var(--white);border-radius:28px;padding:16px;box-shadow:0 10px 36px rgba(20,20,20,.07)}
.hs-gone-art{position:relative;border-radius:20px;overflow:hidden;aspect-ratio:4/3}
.hs-gone-img{width:100%;height:100%;object-fit:cover;display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.85)}
.hs-gone-img svg{width:72px;height:72px}
.hs-gone.off .hs-gone-img,.hs-gone.pending .hs-gone-img{filter:saturate(.35)}
.hs-stamp{position:absolute;top:18px;left:18px;display:inline-flex;align-items:center;gap:8px;transform:rotate(-7deg);background:rgba(255,255,255,.94);border:3px solid var(--gold);color:var(--gold-text,#946A2E);font:800 20px/1 var(--font);letter-spacing:.12em;text-transform:uppercase;padding:9px 14px;border-radius:12px;box-shadow:0 6px 18px rgba(20,20,20,.18)}
.hs-stamp img{width:26px;height:auto}
.hs-gone.sold .hs-stamp{animation:hsStamp .5s cubic-bezier(.2,1.4,.4,1) both}
@keyframes hsStamp{from{transform:rotate(-7deg) scale(1.6);opacity:0}to{transform:rotate(-7deg) scale(1);opacity:1}}
@media (prefers-reduced-motion:reduce){.hs-gone.sold .hs-stamp{animation:none}}
.hs-gone-copy{display:flex;flex-direction:column;gap:12px;padding:4px 8px 8px}
.hs-gone-copy h1{font-size:34px;line-height:1.05;font-weight:800;letter-spacing:-.02em}
.hs-gone-copy p{color:var(--muted);font-size:17px;line-height:1.5;margin:0}
.hs-gone-acts{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
.hs-gone-h{font-size:22px;font-weight:800;margin-top:10px}
@media (min-width:900px){
  .hs-gone-hero{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:center;padding:20px;gap:36px}
  .hs-gone-copy h1{font-size:46px}
}
/* 4.24: clients signed in to their portal save searches and homes with one tap */
.hs-savesearch{min-height:40px;padding:0 14px;border-radius:999px;border:1.5px solid var(--ink);background:var(--white);color:var(--ink);font:700 14px/1 var(--font);cursor:pointer;white-space:nowrap}
.hs-savesearch.on{background:var(--ink);color:var(--white)}
.hs-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:1200;display:flex;align-items:center;gap:14px;max-width:calc(100% - 32px);background:var(--ink);color:var(--white);padding:12px 16px;border-radius:14px;box-shadow:0 10px 30px rgba(20,20,20,.25);font:600 15px/1.3 var(--font)}
.hs-toast a{color:var(--gold);font-weight:800;white-space:nowrap}

/* Accessibility: the search box shows focus (its input has no outline of its own); every control gets a visible ring. */
.hs-search:focus-within{outline:2px solid var(--ink);outline-offset:2px;box-shadow:0 0 0 4px var(--gold)}
.hs-form .hs-consent span{font-size:13.5px;line-height:1.45;color:var(--muted,#5b5b5b)}

/* notes on a saved home (a portal client's own notes and their agent's replies, Oct 31 2026) */
.hs-notes{display:flex;flex-direction:column;gap:12px}
.hs-nlist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.hs-note{background:var(--white);border:1px solid #DCD8D0;border-radius:14px;padding:10px 14px}
.hs-note.me{background:#F7F5F1}
.hs-note.ag{background:#FBF6EE;border-color:#EACB98}
.hs-nwho{margin:0;font-size:14px;color:#5F5C56;display:flex;flex-wrap:wrap;gap:4px 8px;align-items:baseline}
.hs-nwho b{color:var(--ink)}
.hs-ntext{margin:4px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ink)}
.hs-nacts{display:inline-flex;gap:12px;margin-left:auto}
.hs-linkb{border:0;background:none;padding:2px 0;min-height:24px;font:700 14px var(--font);color:#866027;text-decoration:underline;cursor:pointer}
.hs-linkb:focus-visible{outline:2px solid var(--ink);outline-offset:2px;box-shadow:0 0 0 4px var(--gold)}
.hs-nform{display:flex;flex-direction:column;gap:6px}
.hs-nform label{font-weight:800}
.hs-nform .hs-sub{margin:0}
.hs-nform textarea{width:100%;min-height:96px;padding:12px 14px;border:1px solid #8A867E;border-radius:14px;background:var(--white);font:16px/1.45 var(--font);color:var(--ink);resize:vertical}
.hs-nform textarea:focus{outline:2px solid var(--ink);outline-offset:1px;box-shadow:0 0 0 4px var(--gold)}
.hs-nform textarea[aria-invalid=true]{border-color:#A1281C}
.hs-nrow{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.hs-nrow .hs-btn{width:auto;flex:none}
.hs-ncount{margin-right:auto;font-size:14px;color:#5F5C56}.hs-ncount.over{color:#A1281C;font-weight:800}

/* Remove this home? (a saved home with notes, Nov 1 2026) */
.hs-acts{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;margin-top:14px}

/* Shared lists (/shared/, branch client-searches): a client's searches or liked homes, read only. */
.sh{padding-block:18px 40px;display:flex;flex-direction:column;gap:14px}
.sh-h1{margin:0;font-size:32px;line-height:1.1;letter-spacing:-.02em}
.sh-note,.sh-msg,.sh-sum{margin:0;font-size:16px;color:var(--muted)}
.sh-name{margin:6px 0 0;font-size:22px}
.sh-count{margin:0;font-size:16px;color:var(--muted)}.sh-count b{color:var(--ink);font-size:19px}
.sh-pick{display:flex;gap:8px;flex-wrap:wrap}
.sh-chip{min-height:44px;padding:8px 16px;border-radius:999px;border:1px solid #CFCAC1;background:var(--white);color:var(--ink);font:700 15px var(--font);cursor:pointer;text-align:left}
.sh-chip.on{background:var(--ink);border-color:var(--ink);color:var(--white)}
.sh-chip:focus-visible{outline:3px solid var(--ink);outline-offset:2px;box-shadow:0 0 0 5px var(--gold)}
.hs-badge.sh-liked{background:var(--ink);color:var(--white)}
.sh-more{align-self:center}
@media (min-width:640px){.sh-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1100px){.sh-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.sh-acts{display:flex;gap:10px;flex-wrap:wrap;margin:8px 4px 0}
.sh-up,.sh-sug{min-height:44px;display:inline-flex;align-items:center;gap:6px;padding:0 14px;border-radius:999px;border:1.5px solid var(--ink);background:var(--white);color:var(--ink);font:700 14px var(--font);cursor:pointer}
.sh-up.on{background:var(--ink);color:var(--white)}
.sh-up:focus-visible,.sh-sug:focus-visible{outline:3px solid var(--ink);outline-offset:2px;box-shadow:0 0 0 5px var(--gold)}
.sh-suggest{border:1px solid #CFCAC1;border-radius:18px;padding:16px;background:var(--white);display:flex;flex-direction:column;gap:8px}
.sh-suggest h2{margin:0;font-size:20px}
.sh-form{display:flex;flex-direction:column;gap:6px;max-width:520px}
.sh-form label{font-size:14px;font-weight:700}
.sh-form input{font:400 16px var(--font);min-height:44px;padding:8px 12px;border:1.5px solid #6A6760;border-radius:10px;background:var(--white);color:var(--ink)}
.sh-form input[aria-invalid=true]{border-color:#B3261E;border-width:2px}
.sh-form button{align-self:flex-start;margin-top:6px}
.sh-err{margin:0;color:#B3261E;font-size:14px;font-weight:700}
