:root{
  --blue:#006aff; --blue-d:#0053c7; --navy:#0a1f44;
  --ink:#1a1a1a; --muted:#5f6b7a; --line:#dfe3ea; --bg:#f4f6f9; --card:#ffffff;
  --red:#d92228; --green:#0e7a33; --gold:#c9a227;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;background:var(--bg);color:var(--ink)}
/* ---------- top bar (Zillow-clean white) ---------- */
.topbar{position:sticky;top:0;z-index:60;display:flex;justify-content:space-between;align-items:center;background:#fff;color:var(--ink);padding:8px 16px;border-bottom:1px solid var(--line)}
.brand{display:flex;gap:10px;align-items:center}
.logo{width:36px;height:36px}
.brand-name{font-weight:800;font-size:21px;letter-spacing:.2px;color:var(--blue)}
.brand-tag{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:1.2px}
.topbar-note{font-size:13px;color:var(--muted);font-weight:600}
.saved-btn{background:var(--blue);color:#fff;border:0;border-radius:999px;padding:8px 14px;font-weight:700;cursor:pointer}
.saved-btn span{background:#fff;color:var(--blue);border-radius:999px;padding:1px 8px;margin-left:4px}
.top-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
main{max-width:1440px;margin:0 auto;padding:0 14px 90px}
/* ---------- hero: compact ---------- */
.hero{background:#fff;border:1px solid var(--line);border-radius:0 0 14px 14px;padding:16px 18px 14px;margin:0 -14px}
.hero h1{margin:0 0 4px;font-size:clamp(22px,4vw,32px);color:var(--navy)}
.benefit{margin:0 0 12px;color:var(--muted);max-width:680px;font-size:15px}
.searchbar{display:flex;gap:8px;max-width:760px}
.searchbar input{flex:1;padding:13px 14px;border-radius:8px;border:1.5px solid var(--blue);font-size:16px;min-width:0}
.searchbar .go{background:var(--blue);color:#fff;font-weight:800;border:0;border-radius:8px;padding:0 22px;cursor:pointer}
.searchbar .go:hover{background:var(--blue-d)}
.chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.chip{background:#eef4ff;color:var(--blue-d);border:1px solid #c9ddff;border-radius:999px;padding:5px 12px;cursor:pointer;font-size:13px;font-weight:600}
.coverage{margin-top:12px;background:#fff8e1;color:#5c4a00;border:1px solid var(--gold);border-radius:8px;padding:9px 12px;font-size:13px;line-height:1.45;max-width:900px}
/* ---------- filter bar: one bar, one sheet (Zillow-style) ---------- */
.filterbar{position:sticky;top:53px;z-index:50;background:var(--bg);display:flex;gap:10px;align-items:center;padding:10px 0 6px}
.filter-main{display:flex;gap:8px;flex-wrap:wrap;flex:1;align-items:center}
.filters-btn{background:var(--blue);color:#fff;border:0;border-radius:999px;padding:8px 15px;font-weight:800;font-size:13.5px;cursor:pointer;white-space:nowrap}
.fcount{background:#fff;color:var(--blue);border-radius:999px;padding:1px 8px;margin-left:4px}
.qchip{background:#fff;border:1.5px solid var(--blue);color:var(--blue-d);border-radius:999px;padding:7px 13px;font-weight:700;font-size:13.5px;cursor:pointer;white-space:nowrap}
.active-chips{display:flex;gap:6px;flex-wrap:wrap;padding:2px 0 4px}
.active-chip{background:#eef4ff;color:var(--blue-d);border:1px solid #c9ddff;border-radius:999px;padding:4px 6px 4px 11px;font-size:12.5px;font-weight:700;display:inline-flex;gap:4px;align-items:center}
.active-chip button{border:0;background:none;color:var(--blue-d);font-weight:900;cursor:pointer;font-size:15px;line-height:1;padding:0 3px}
.filter-sheet-wrap[hidden]{display:none}
.filter-sheet-wrap{position:fixed;inset:0;background:rgba(6,17,38,.62);z-index:900;display:flex;align-items:flex-end;justify-content:center}
.filter-sheet{background:#fff;width:100%;max-width:640px;max-height:88vh;overflow:auto;border-radius:16px 16px 0 0;padding:16px 18px}
.sheet-head{display:flex;justify-content:space-between;align-items:center}
.sheet-head h3{margin:0;color:var(--navy);font-size:20px}
.sheet-head button{border:0;background:var(--navy);color:#fff;width:34px;height:34px;border-radius:999px;font-size:19px;cursor:pointer}
.fgroup{margin-top:14px}
.fgroup h4{margin:0 0 7px;color:var(--navy)}
.fopts{display:flex;gap:7px;flex-wrap:wrap}
.fopts button{background:#fff;border:1.5px solid var(--line);border-radius:999px;padding:7px 13px;font-size:13.5px;font-weight:700;cursor:pointer;color:var(--ink)}
.fopts button.sel{background:var(--blue);color:#fff;border-color:var(--blue)}
.sheet-foot{display:flex;gap:10px;justify-content:space-between;margin-top:20px;position:sticky;bottom:0;background:#fff;padding:10px 0 2px}
.sheet-clear{background:#fff;border:1.5px solid var(--red);color:var(--red);border-radius:10px;padding:11px 16px;font-weight:800;cursor:pointer}
.sheet-apply{background:var(--blue);color:#fff;border:0;border-radius:10px;padding:11px 20px;font-weight:800;cursor:pointer;flex:1}
.viewtoggle{display:none;gap:0;border:1.5px solid var(--blue);border-radius:999px;overflow:hidden;background:#fff}
.viewtoggle .vt{border:0;background:#fff;color:var(--blue-d);font-weight:800;padding:7px 14px;cursor:pointer;font-size:13.5px}
.viewtoggle .vt.on{background:var(--blue);color:#fff}
@media (min-width:901px){.filter-sheet-wrap{align-items:center}.filter-sheet{border-radius:16px}}
/* ---------- split: map + list ---------- */
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start;position:relative}
.mapcol{position:sticky;top:112px;height:calc(100vh - 128px);min-height:420px}
#map{width:100%;height:100%;border-radius:12px;border:1px solid var(--line);z-index:1}
.map-note{font-size:12px;color:var(--muted);margin-top:6px}
.pin{background:var(--blue);color:#fff;font-weight:800;font-size:12.5px;border-radius:999px;padding:4px 9px;border:2px solid #fff;box-shadow:0 2px 8px rgba(0,0,0,.35);white-space:nowrap;text-align:center;cursor:pointer}
.pin:hover{background:var(--blue-d)}
.leaflet-div-icon.pin-wrap{background:none;border:none}
.agent-strip{margin-top:6px;background:#fff;border:1px solid var(--line);border-left:5px solid var(--blue);border-radius:12px;padding:12px 14px}
.agent-strip h3{margin:0 0 4px;color:var(--navy)}
.agent-strip p{margin:0;color:var(--ink)}
.roster-block{margin-top:10px;border-top:1px dashed var(--line);padding-top:10px}
.roster-block h4{margin:0 0 6px;color:var(--navy);font-size:15px}
.agent-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:7px 0;border-bottom:1px solid #eef2f9}
.agent-row:last-child{border-bottom:0}
.agent-row-main{font-size:14.5px}
.badge.holder-badge{background:var(--green)}
.badge.racing-badge{background:#5b6b8c}
.claimed-note{color:var(--green);font-weight:700;font-size:12.5px}
.agents-section{margin-top:30px}
.agents-section h2{margin:0 0 6px;color:var(--navy)}
.agents-tools input{width:100%;box-sizing:border-box;padding:11px 16px;border:1.5px solid var(--line);border-radius:999px;font-size:16px;margin:8px 0;background:#fff}
.agents-list{margin-top:4px}
/* ---------- v2.7 realtors rail (browse screen, under the owner strip) ---------- */
.realtor-rail{margin:4px 0 2px}
.rail-head{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin:0 0 8px}
.rail-head h2{margin:0;font-size:18px;color:var(--navy)}
.rail-note{color:var(--muted);font-size:12.5px}
.rail-track{display:flex;gap:10px;overflow-x:auto;padding:2px 2px 8px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.rail-track::-webkit-scrollbar{display:none}
.rail-card{flex:0 0 auto;width:228px;min-height:86px;display:flex;gap:10px;align-items:flex-start;text-align:left;background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 12px;cursor:pointer;font:inherit;color:var(--ink)}
a.rail-card{text-decoration:none}
.rail-card{position:relative}
.rail-card .badge{position:absolute;bottom:8px;left:60px;font-size:10.5px;padding:2px 7px;line-height:1.2}
.rail-mono{flex:none;width:38px;height:38px;border-radius:50%;background:var(--blue);color:#fff;font-weight:800;font-size:15px;display:flex;align-items:center;justify-content:center}
.rail-card-main{display:flex;flex-direction:column;gap:1px;min-width:0;padding-bottom:22px}
.rail-card-main strong{font-size:14.5px;line-height:1.25}
.rail-metro{color:var(--muted);font-size:12.5px;line-height:1.3}
.rail-more{align-items:center;justify-content:center;border-style:dashed}
.rail-more .rail-card-main{padding-bottom:0}
.results-head{display:flex;align-items:baseline;gap:10px;margin:8px 0 10px}
.results-head h2{margin:0;font-size:20px;color:var(--navy)}
.muted{color:var(--muted);font-size:13px}
/* ---------- Realtor.com-style clean white cards ---------- */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(255px,1fr));gap:14px}
.card{background:var(--card);border:1px solid var(--line);border-radius:10px;overflow:hidden;cursor:pointer;display:flex;flex-direction:column;position:relative;box-shadow:0 1px 3px rgba(10,31,68,.06)}
.card:hover{box-shadow:0 6px 18px rgba(10,31,68,.14)}
.photo{position:relative}
.card img.ph{width:100%;height:180px;object-fit:cover;background:#cfd8ea;display:block}
.tag{position:absolute;top:10px;left:10px;background:var(--red);color:#fff;font-size:11px;font-weight:800;border-radius:4px;padding:3px 8px;text-transform:uppercase;letter-spacing:.4px}
.tag.status{background:rgba(10,31,68,.85);text-transform:none;letter-spacing:0}
.card .pad{padding:12px 14px 6px}
.price{font-size:24px;font-weight:800;color:var(--ink)}
.cut{color:var(--red);font-weight:700;font-size:13px}
.spec{font-size:15px;color:var(--ink);margin:5px 0 2px;font-weight:600}
.addr{font-weight:600;font-size:14.5px;margin-top:3px}
.cityline{color:var(--muted);font-size:13.5px}
.range{margin-top:9px;background:#f2f7ff;border:1px solid #c9ddff;border-radius:8px;padding:8px 10px;font-size:13px;line-height:1.45}
.range b{color:var(--blue-d)}
.nolead{margin-top:7px;font-size:12.5px;color:var(--green);font-weight:700}
.changed{color:var(--red);font-weight:700;font-size:13px;margin-top:4px}
.heart{position:absolute;top:8px;right:8px;background:rgba(255,255,255,.94);border:1px solid var(--line);border-radius:999px;width:40px;height:40px;font-size:18px;cursor:pointer;color:#98a5c0;z-index:2}
.heart.on{color:var(--red);border-color:var(--red)}
.badge{display:inline-block;background:var(--navy);color:#fff;font-size:11px;border-radius:6px;padding:2px 7px}
.empty{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px;margin-top:14px}
.saved-section{margin-top:28px}
.how{margin-top:30px}
.how-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.how-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px}
.how-card h3{margin:0 0 6px;color:var(--navy)}
.how-card p{margin:0;color:#3c4a66;line-height:1.5;font-size:14.5px}
.fineprint{color:var(--muted);font-size:12px;margin-top:22px;line-height:1.5}
/* ---------- detail ---------- */
.detail{position:fixed;inset:0;background:rgba(6,17,38,.72);z-index:950;overflow:auto;padding:18px 10px}
.detail-card{background:#fff;border-radius:16px;max-width:860px;margin:0 auto;padding:0 0 20px;position:relative;overflow:hidden}
.detail-card .close{position:absolute;top:10px;right:10px;z-index:2;background:var(--navy);color:#fff;border:0;width:36px;height:36px;border-radius:999px;font-size:20px;cursor:pointer}
.detail-card img.main{width:100%;height:min(46vh,420px);object-fit:cover}
.thumbs{display:flex;gap:6px;padding:10px 16px 0;flex-wrap:wrap}
.thumbs img{width:74px;height:54px;object-fit:cover;border-radius:8px;cursor:pointer;border:2px solid transparent}
.thumbs img.sel{border-color:var(--blue)}
.detail-body{padding:6px 18px 0}
.detail-body .price{font-size:28px}
.comp{border:1px solid var(--line);border-radius:10px;padding:9px 11px;margin:7px 0;font-size:14px}
.agent-box{background:#f7faff;border:1px solid var(--blue);border-radius:12px;padding:12px 14px;margin-top:14px}
.savebtn{position:static;width:auto;padding:0 16px;height:40px;background:var(--blue);color:#fff;border:0;border-radius:8px;font-weight:800;cursor:pointer;font-size:14px}
.savebtn.on{background:#fff;color:var(--red);border:1.5px solid var(--red)}
.panbtn{background:#fff;color:var(--blue-d);border:1.5px solid var(--blue);border-radius:8px;padding:0 14px;height:40px;font-weight:800;cursor:pointer;font-size:14px;margin-left:8px}
.askai{position:fixed;left:0;right:0;bottom:0;z-index:65;background:var(--navy);color:#fff;padding:8px 14px}
.askai summary{cursor:pointer;font-weight:700;color:#9cc2ff}
.askai-body{padding:8px 0 4px}
.ask-log{max-height:150px;overflow:auto;font-size:14px;line-height:1.5}
.askai form{display:flex;gap:8px;margin-top:6px}
.askai input{flex:1;padding:9px;border-radius:8px;border:0;min-width:0}
.askai button{background:var(--blue);color:#fff;border:0;border-radius:8px;padding:0 16px;font-weight:700;cursor:pointer}
.foot{text-align:center;color:var(--muted);font-size:12.5px;padding:18px 10px 64px}
/* ---------- phone: List/Map toggle, Zillow-app style ---------- */
@media (max-width:900px){
  .split{grid-template-columns:1fr}
  .mapcol{display:none;position:relative;top:0;height:62vh;min-height:340px}
  .split.mapview .mapcol{display:block}
  .split.mapview .listcol{display:none}
  .viewtoggle{display:flex}
  .topbar-note{display:none}
  .filterbar{top:52px}
}
@media (max-width:900px){
  .filterbar{flex-direction:column;gap:6px}
  .viewtoggle{align-self:flex-end}
  .chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}
  .chips::-webkit-scrollbar{display:none}
  .chip{white-space:nowrap;flex:0 0 auto}
  .filterbar{position:sticky}
}
@media (max-width:480px){
  .grid{grid-template-columns:1fr}
  .card img.ph{height:215px}
  .hero{padding:14px 14px 12px}
  .hero h1{font-size:22px}
  .benefit{font-size:13.5px}
  .qchip,.filters-btn{font-size:12.5px;padding:6px 11px}
  .coverage{font-size:12.5px}
}

@media (max-width:480px){
  .topbar{flex-wrap:wrap}
  .top-actions{order:3;width:100%;justify-content:space-between;flex-wrap:nowrap}
}
/* ---------- v1.4 Steer A: search pill, single summary chip, dots, sheet, tabs ---------- */
.hdr-link{background:#fff;color:var(--blue-d);border:1.5px solid var(--blue);border-radius:999px;padding:8px 13px;font-weight:700;font-size:13.5px;text-decoration:none;white-space:nowrap}
.searchzone{display:flex;gap:10px;align-items:flex-start;flex-wrap:wrap;margin-top:10px}
.searchzone .searchbar{flex:1;max-width:640px}
.searchzone .searchbar input{border-radius:999px}
.searchzone .searchbar .go{border-radius:999px}
.searchzone .filterbar{position:static;padding:2px 0 0;background:transparent}
.searchzone .active-chips{flex-basis:100%;padding:0}
.ac-label,.ac-x{background:none;border:0;font:inherit;color:inherit;cursor:pointer;padding:0}
.ac-x{font-weight:900;font-size:15px}
.filters-btn{border-radius:999px}
.dotpin{width:14px;height:14px;border-radius:50%;background:var(--blue);border:2.5px solid #fff;box-shadow:0 1px 6px rgba(0,0,0,.4);margin:1px}
.you-dot{width:16px;height:16px;border-radius:50%;background:var(--red);border:3px solid #fff;box-shadow:0 1px 6px rgba(0,0,0,.45)}
.poe-badge{display:inline-block;background:var(--navy);color:#f5c542;border:1px solid #f5c542;font-size:11.5px;font-weight:800;border-radius:999px;padding:3px 9px;margin-left:6px}
.mtype-line{font-size:12.5px;color:var(--muted);font-weight:700;margin-top:4px}
.tag.soon{background:var(--gold);color:#241d05}
.saved-search-row{display:flex;justify-content:space-between;gap:10px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:10px;padding:9px 12px;margin:6px 0;font-size:14px}
.saved-search-row button{background:#fff;border:1.5px solid var(--blue);color:var(--blue-d);border-radius:999px;padding:5px 11px;font-weight:700;cursor:pointer;font-size:12.5px}
.wide-note{grid-column:1/-1;margin:0}
#sheetPeek{display:none}
#tabbar{display:none}
.maptools{position:absolute;left:10px;bottom:36px;z-index:610;display:flex;flex-direction:column;gap:8px}
.maptool{width:42px;height:42px;border-radius:50%;border:1px solid var(--line);background:#fff;font-size:18px;box-shadow:0 2px 8px rgba(0,0,0,.25);cursor:pointer;color:var(--navy)}
.save-search-btn{position:absolute;right:10px;bottom:36px;z-index:610;background:var(--blue);color:#fff;border:0;border-radius:999px;padding:11px 18px;font-weight:800;cursor:pointer;box-shadow:0 3px 10px rgba(0,0,0,.3);font-size:14px}
.save-search-note{position:absolute;right:10px;bottom:88px;z-index:611;background:#fff;border:1px solid var(--line);border-radius:10px;padding:9px 12px;font-size:13px;max-width:320px;box-shadow:0 4px 14px rgba(0,0,0,.22);line-height:1.45}
@media (max-width:900px){
  .hero{display:none}
  main{position:relative}
  .searchzone{position:absolute;top:6px;left:10px;right:10px;z-index:640;display:flex;flex-wrap:wrap;gap:8px;margin:0}
  .searchzone .searchbar{flex:1 1 180px;max-width:none;box-shadow:0 3px 12px rgba(6,17,38,.25);border-radius:999px;background:#fff}
  .searchzone .filterbar{position:static;padding:0;background:transparent;flex:0 0 auto}
  .searchzone .filters-btn{box-shadow:0 3px 12px rgba(6,17,38,.25);height:46px}
  .searchzone .active-chips{flex-basis:100%}
  .searchzone .active-chip{box-shadow:0 2px 8px rgba(6,17,38,.2)}
  .agent-strip{margin-top:96px}
  .split{display:block;position:relative;height:78dvh;margin:0 -14px;grid-template-columns:none}
  .mapcol{display:block;position:absolute;inset:0;height:auto;min-height:0;top:0}
  .mapcol .map-note{display:none}
  .listcol{position:absolute;left:0;right:0;bottom:0;height:88%;background:var(--bg);border-radius:18px 18px 0 0;box-shadow:0 -6px 24px rgba(6,17,38,.28);transform:translateY(calc(100% - 60px));transition:transform .3s ease;overflow-y:auto;z-index:620;padding:0 12px 24px}
  .split.sheet-half .listcol{transform:translateY(44%)}
  .split.sheet-full .listcol{transform:translateY(0)}
  #sheetPeek{display:block;position:sticky;top:0;z-index:7;background:#fff;margin:0 -12px;padding:8px 16px 10px;border-radius:18px 18px 0 0;cursor:grab;touch-action:none}
  .peek-grab{width:44px;height:5px;border-radius:99px;background:#c7cfdd;margin:2px auto 7px}
  .peek-title{font-weight:800;font-size:17px;color:var(--navy)}
  .peek-sub{font-size:12.5px;color:var(--muted)}
  .viewtoggle{display:none !important}
  .maptools{bottom:76px}
  .save-search-btn{bottom:76px}
  .save-search-note{bottom:128px;max-width:78vw}
  #tabbar{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:665;background:#fff;border-top:1px solid var(--line);padding:6px 2px calc(6px + env(safe-area-inset-bottom))}
  #tabbar button{flex:1;background:none;border:0;display:flex;flex-direction:column;align-items:center;gap:1px;font-size:11.5px;font-weight:700;color:var(--muted);cursor:pointer;padding:4px 0}
  #tabbar button.on{color:var(--blue)}
  #tabbar .tab-ic{font-size:19px;line-height:1}
  .askai{position:static;margin-top:18px;border-radius:12px}
}

.sheet-links{display:none}
@media (max-width:900px){
  .topbar{flex-wrap:nowrap}
  .top-actions{order:0;width:auto;flex-wrap:nowrap}
  .top-actions .watch-btn,.top-actions .saved-btn{display:none}
  .top-actions .hdr-link{display:none}
  .brand-name{font-size:18px}
  .sheet-links{display:flex;gap:8px;padding:10px 2px 0}
  .sheet-links a{flex:1;text-align:center;background:#fff;border:1.5px solid var(--blue);color:var(--blue-d);border-radius:999px;padding:9px 8px;font-weight:700;font-size:13px;text-decoration:none}
}

.maptools,.save-search-btn{z-index:630}
.save-search-note{z-index:631}
@media (min-width:901px){
  .maptools{left:calc(50% + 18px);bottom:26px}
  .save-search-btn{bottom:26px}
  .save-search-note{bottom:78px}
}
@media (max-width:900px){ .leaflet-control-zoom{display:none} }
/* ---- v1.9: address typeahead + home page + worth form + identity strip ---- */
#searchForm{position:relative}
.addr-suggest{position:absolute;top:calc(100% + 6px);left:0;right:0;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 10px 30px rgba(6,17,38,.22);z-index:80;overflow:hidden}
.addr-opt{display:flex;flex-direction:column;align-items:flex-start;gap:1px;width:100%;text-align:left;background:#fff;border:0;border-bottom:1px solid var(--line);padding:10px 14px;cursor:pointer;font:inherit}
.addr-opt:last-child{border-bottom:0}
.addr-opt:hover,.addr-opt:focus{background:#eef4fd}
.addr-opt-main{font-weight:700;color:var(--ink)}
.addr-opt-sub{font-size:13px;color:#5b6b7c}
#homePage{z-index:940}
.home-addr{font-size:26px;line-height:1.2}
.home-h{margin:20px 0 8px}
.home-map{width:100%;height:280px;border-radius:12px;border:1px solid var(--line);background:#eef2f7}
.home-state{background:#fff8e6;border:1px solid #ecd9a0;border-radius:12px;padding:14px 16px;margin:14px 0}
.home-state h3{margin:0 0 6px}
.home-state p{margin:0 0 8px}
.home-state .btn{display:inline-block;background:#c8a24a;color:#231a00;text-decoration:none;font-weight:700;border-radius:12px;padding:11px 16px;font-size:15px}
.home-grid{margin-bottom:6px}
.home-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px 18px;background:#f4f7fb;border:1px solid var(--line);border-radius:12px;padding:14px 16px}
.home-facts div{font-weight:600}
.home-facts div b{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.4px;color:#5b6b7c;font-weight:700;margin-bottom:2px}
.home-tag{font-size:13px;background:#e8f6ec;color:#14622e;border:1px solid #bfe3c9;border-radius:999px;padding:2px 9px;vertical-align:middle;white-space:nowrap}
.worth-block{background:#eef4fd;border:1px solid #cfe0f7;border-radius:12px;padding:16px;margin:18px 0 6px}
.worth-block h3{margin-top:0}
.worth-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0}
.worth-fields label{display:flex;flex-direction:column;gap:4px;font-weight:600;font-size:14px}
.worth-fields input{padding:10px 12px;border:1px solid var(--line);border-radius:8px;font-size:15px;font:inherit}
.home-src{margin-top:16px}
.id-strip{background:#f4f7fb;border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin:0 0 14px}
.id-strip p{margin:0 0 6px}
.id-strip p:last-child{margin-bottom:0}
@media (max-width:640px){ .worth-fields{grid-template-columns:1fr} .home-map{height:230px} }
/* ---- v1.9 client-eyes pass: sample label on cards, address hint, mobile fit ---- */
.sample-tag{position:absolute;left:10px;bottom:10px;background:rgba(10,31,68,.88);color:#ffd97a;font-size:11px;font-weight:800;border-radius:4px;padding:3px 8px;text-transform:uppercase;letter-spacing:.4px}
.addr-hint{flex-basis:100%;font-size:13.5px;color:#5b6b7c;margin:2px 2px 0;line-height:1.45}
.worth-fields input{font-size:16px}
.agent-row-main{min-width:0}
.agent-row .badge{white-space:nowrap;flex:none}
@media (max-width:900px){ .searchzone .ai-eyebrow{display:none} .addr-hint{display:none} }

/* HomeHunt v2.0 — category / source / freshness lines on cards + detail */
.catline{ display:flex; flex-wrap:wrap; gap:6px; align-items:center; margin-top:8px; }
.cat-badge{ font-size:11.5px; font-weight:700; border-radius:999px; padding:2px 8px; letter-spacing:.2px; }
.cat-forsale{ background:#e8f1fe; color:#0b3d91; }
.cat-newcon{ background:#e6f4ea; color:#14622e; }
.cat-offmarket{ background:#fdf0e2; color:#8a5a00; }
.src-label{ font-size:12.5px; color:#44536b; }
.verified-stamp{ font-size:12.5px; color:#14622e; font-weight:600; }
.stale-flag{ display:inline-block; background:#fdecec; border:1px solid #f3c2c2; color:#8f1d1d; border-radius:999px; padding:2px 8px; font-size:12px; font-weight:700; }
.tag.offmarket{ background:#f59e0b; color:#231a00; }
.trust-line{ font-size:13.5px; color:#44536b; background:#f6f9fc; border:1px solid #e2eaf3; border-radius:10px; padding:8px 11px; }

/* HomeHunt v2.3 — FSBO badge + feed-first layout. The photo card feed is
   the default view at every width; the map is demoted to the List/Map
   toggle and only takes space when the visitor opens it. */
.cat-fsbo{ background:#e5f4ec; color:#0a5c33; }
.tag.fsbo{ background:#0a7a42; color:#fff; text-transform:none; letter-spacing:0; }
.tag.fsbo.detail-badge{ position:static; vertical-align:middle; }
.viewtoggle{ display:flex; }
.split{ grid-template-columns:1fr; }
.mapcol{ display:none; }
.split.mapview{ grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
.split.mapview .mapcol{ display:block; }
.maptools, .save-search-btn{ display:none; }
.split.mapview .maptools{ display:flex; }
.split.mapview .save-search-btn{ display:block; }
.split:not(.mapview) .save-search-note{ position:fixed; right:14px; bottom:calc(76px + env(safe-area-inset-bottom)); }
@media (max-width:900px){
  .viewtoggle{ display:flex !important; }
  .agent-strip{ margin-top:14px; }
  .split{ display:block; height:auto; margin:0; }
  .split .listcol{ position:static; transform:none; height:auto; overflow:visible; box-shadow:none; border-radius:0; padding:0; background:transparent; }
  .split.sheet-half .listcol, .split.sheet-full .listcol{ transform:none; }
  .split.mapview{ display:block; position:relative; height:78dvh; margin:0 -14px; }
  .split.mapview .mapcol{ display:block; position:absolute; inset:0; height:auto; min-height:0; top:0; }
  .split.mapview .listcol{ position:absolute; left:0; right:0; bottom:0; height:88%; overflow-y:auto; background:var(--bg); border-radius:18px 18px 0 0; box-shadow:0 -6px 24px rgba(6,17,38,.28); transform:translateY(calc(100% - 60px)); padding:0 12px 24px; z-index:620; }
  .split.mapview.sheet-half .listcol{ transform:translateY(44%); }
  .split.mapview.sheet-full .listcol{ transform:translateY(0); }
}

/* HomeHunt v2.4 — BROWSE-FIRST (Craigslist / Facebook Marketplace
   style). The listings are the opening screen: a slim sticky browse
   bar (one compact search field + the category chips row) sits under
   the header and the photo feed starts immediately. No hero, no
   example-query chips, no map backdrop — the map still opens only
   from the List/Map toggle, now beside the results count. Cards go
   photo-grid: two columns on phone widths. */
.top-actions .hdr-link, .top-actions .watch-btn, .top-actions .saved-btn{ display:none; }
.browsebar{ position:sticky; top:53px; z-index:55; background:var(--bg); padding:10px 0 8px; }
.browse-search{ max-width:none; align-items:center; background:#fff; border:1.5px solid var(--line); border-radius:999px; padding:4px 6px 4px 14px; box-shadow:0 1px 3px rgba(10,31,68,.06); }
.browse-search .mag{ font-size:15px; flex:0 0 auto; }
.browse-search input{ flex:1; border:0; padding:9px 6px; font-size:16px; min-width:0; background:transparent; }
.browse-search input:focus{ outline:none; }
.browse-search .go{ border-radius:999px; padding:9px 18px; }
.chipsrow{ display:flex; gap:8px; align-items:center; margin-top:10px; }
.catchips{ display:flex; gap:7px; flex-wrap:nowrap; overflow-x:auto; flex:1; scrollbar-width:none; padding-bottom:2px; }
.catchips::-webkit-scrollbar{ display:none; }
.cat-chip{ flex:0 0 auto; background:#fff; border:1.5px solid var(--line); color:var(--ink); border-radius:999px; padding:7px 13px; font-size:13.5px; font-weight:700; cursor:pointer; white-space:nowrap; }
.cat-chip.on{ background:var(--navy); color:#fff; border-color:var(--navy); }
.chipsrow .filters-btn{ flex:0 0 auto; }
.browsebar .coverage{ margin-top:10px; max-width:none; }
.browsebar .ai-understood{ margin-top:8px; }
.results-head{ flex-wrap:wrap; }
.results-head .viewtoggle{ margin-left:auto; flex:0 0 auto; }
@media (max-width:900px){
  .browsebar{ top:52px; }
  /* The peek handle belongs to the map-view bottom sheet only — in
     browse mode the results head carries the count. */
  #sheetPeek{ display:none; }
  .split.mapview #sheetPeek{ display:block; }
}
@media (max-width:640px){
  .results-head h2{ font-size:18px; }
  .grid{ grid-template-columns:1fr 1fr; gap:10px; }
  .card img.ph{ height:118px; }
  .card .pad{ padding:9px 10px 4px; }
  .card .price{ font-size:19px; }
  .card .spec{ font-size:13px; }
  .card .addr{ font-size:13px; }
  .card .cityline{ font-size:12px; }
  .card .range{ font-size:11.5px; padding:6px 8px; }
  .card .nolead{ font-size:11px; }
  .card .heart{ width:34px; height:34px; font-size:15px; }
}

/* HomeHunt v2.5 — MARKETPLACE GRID + CRAIGSLIST GALLERY (Steven's two
   reference screenshots, Nov 8). The feed copies Facebook Marketplace:
   a gray search pill, ONE scrollable pills row (Filters with the count
   in parens, the category pills, plain Price/Beds/Baths shortcuts), a
   bold results head with a blue location line, then a FULL-BLEED photo
   grid — photos edge to edge with only a few px of white gutter, no
   card borders, shadows or rounded boxes, plain text under each photo.
   Gallery mode (the view switcher) copies Craigslist: one big photo,
   price tag on the photo, dots, plain meta line. */
/* search pill: Marketplace gray fill */
.browse-search{ background:#f0f2f5; border:1.5px solid transparent; box-shadow:none; }
.browse-search input{ background:transparent; }
/* one pills row, everything scrolls together */
.chipsrow{ flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; padding-bottom:2px; }
.chipsrow::-webkit-scrollbar{ display:none; }
.catchips{ display:contents; }
.chipsrow .filters-btn{ display:inline-flex; align-items:center; gap:6px; background:#e7f0fe; color:#0b3d91; }
.chipsrow .filters-btn .fcount{ background:transparent; color:inherit; padding:0; margin:0; font-weight:800; }
.chipsrow .filters-btn .fsliders{ flex:0 0 auto; }
.sc-chip{ flex:0 0 auto; background:#fff; border:1.5px solid var(--line); color:var(--ink); border-radius:999px; padding:7px 13px; font-size:13.5px; font-weight:700; cursor:pointer; white-space:nowrap; }
/* results head: bold label left, blue location line right, tools row under */
.results-head{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; margin:10px 0 8px; }
.results-head h2{ font-size:21px; font-weight:800; color:var(--ink); }
.loc-line{ margin-left:auto; background:none; border:0; color:var(--blue); font-size:14.5px; font-weight:600; cursor:pointer; display:inline-flex; align-items:center; gap:3px; padding:2px 0; white-space:nowrap; }
.loc-line .loc-pin{ font-size:13px; }
.res-tools{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; width:100%; }
.res-tools .viewtoggle{ margin-left:0; }
.res-tools #resultCount{ margin-left:auto; font-size:13.5px; }
.sortwrap{ display:inline-flex; align-items:center; gap:6px; font-size:13.5px; font-weight:700; color:var(--ink); }
.sortwrap select{ font:inherit; font-weight:600; border:1.5px solid var(--line); background:#fff; border-radius:999px; padding:6px 10px; cursor:pointer; }
.viewtoggle .vt{ padding:7px 12px; }
/* the grid: white, photos full-bleed, a few px of gutter, NO card chrome */
.grid{ background:#fff; padding:2px 0 12px; gap:16px 5px; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); }
.mpcard{ background:transparent; border:0; border-radius:0; box-shadow:none; overflow:visible; cursor:pointer; display:flex; flex-direction:column; position:relative; }
.mpcard:hover{ box-shadow:none; }
.mp-photo{ position:relative; }
.mpcard img.ph{ width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; background:#cfd8ea; display:block; }
.mp-tags{ position:absolute; top:8px; left:8px; display:flex; gap:5px; flex-wrap:wrap; max-width:calc(100% - 58px); z-index:1; }
.mp-tags .tag, .mp-tags .sample-tag{ position:static; }
.mp-tags .tag{ border-radius:999px; padding:3px 9px; text-transform:none; letter-spacing:0; font-size:11.5px; }
.mp-tags .sample-tag{ border-radius:999px; }
.mp-pill{ display:inline-block; font-size:11.5px; font-weight:700; border-radius:999px; padding:3px 9px; }
.mp-pill.src{ background:rgba(255,255,255,.94); color:#33415c; border:1px solid var(--line); }
.mp-pill.catpill{ background:#e6f4ea; color:#14622e; }
.mpcard .heart{ top:8px; right:8px; }
.mp-text{ padding:7px 2px 0; }
.mp-price .price{ font-size:19px; font-weight:800; }
.mp-spec{ font-size:14.5px; color:var(--ink); margin-top:2px; }
.mp-city{ color:var(--muted); font-size:13.5px; margin-top:1px; }
.mp-member{ margin-top:5px; }
/* gallery mode: Craigslist big-photo list */
.grid.gallery{ grid-template-columns:1fr; gap:22px; }
.mpcard.gal img.ph{ aspect-ratio:4/3; }
.gal-price{ position:absolute; top:10px; left:10px; background:rgba(255,255,255,.96); color:var(--green); font-weight:800; font-size:16px; border-radius:4px; padding:3px 9px; z-index:1; }
.mpcard.gal .mp-tags{ left:auto; right:8px; max-width:55%; justify-content:flex-end; }
.gal-dots{ display:flex; gap:5px; justify-content:center; padding:7px 0 0; }
.gdot{ width:7px; height:7px; border-radius:50%; background:#c3ccd9; }
.gdot.on{ background:var(--blue); }
.gal-meta{ display:flex; align-items:center; gap:7px; font-size:14.5px; color:var(--ink); }
.gal-star{ background:none; border:0; font-size:18px; line-height:1; cursor:pointer; color:#98a5c0; padding:0; }
.gal-star.on{ color:var(--gold); }
.fgroup-flash{ background:#fff8e1; border-radius:10px; }
@media (max-width:900px){
  .grid{ margin:0 -14px; padding-left:0; padding-right:0; }
  .split.mapview .grid{ margin:0 -12px; }
}
@media (max-width:640px){
  .grid{ grid-template-columns:1fr 1fr; }
  .grid.gallery{ grid-template-columns:1fr; }
  .mp-price .price{ font-size:17px; }
  .mp-spec{ font-size:13.5px; }
  .mp-city{ font-size:12.5px; }
}
