
html,body{height:auto}
body{overflow:auto}

/* Give the opening results the full available width. The map remains a
   separate, interactive region in the same document after the results. */
html body.page.app .layout[data-view]:not([hidden]){display:flex;flex-direction:column;height:auto;min-height:0}
/* Full MLS search sets layout.hidden; layout rules must never reveal it. */
html body.page.app .layout[hidden]{display:none!important}
html body.page.app .layout>.results{order:0;position:static;height:auto;overflow:visible;min-width:0;width:100%;border-left:0}
html body.page.app .layout>.mapwrap{order:1;position:relative;inset:auto;width:100%;height:40dvh;min-height:18rem;flex:none}
html body.page.app .results.locked{overflow:visible}
@media(min-width:761px){
  html body.page.app [data-cards].cards{grid-template-rows:repeat(2,minmax(min-content,1fr));align-items:stretch}
}

/* Phone opening: property results precede the interactive map in page flow.
   Keep natural card height so all credit and disclosures remain readable. */
@media (max-width:760px){
  html body.page .layout{display:flex;flex-direction:column}
  html body.page .layout>.results{order:0;flex:none;min-width:0}
  html body.page .layout>.mapwrap{order:1;flex:none;width:100%}
}

.layout{height:calc(100vh - var(--top,58px) - 6rem);height:calc(100dvh - var(--top,58px) - 6rem);min-height:24rem}
.results{overscroll-behavior:auto}
.nextbar{display:flex;justify-content:center;align-items:center;gap:.5rem;padding:.8rem 1rem;background:#512888;color:#fff;font-weight:800;font-size:1.05rem;text-decoration:none}
.nextbar:hover{background:#6a3fa8}
.nextbar span{display:inline-block;animation:nudge 1.6s ease-in-out 2}   
.nextbar span.done{animation:none}
@keyframes nudge{0%,100%{transform:none}50%{transform:translateY(4px)}}
.maphint{position:absolute;z-index:900;left:50%;top:.6rem;transform:translateX(-50%);margin:0;padding:.3rem .7rem;border-radius:999px;background:rgba(81,40,136,.92);color:#fff;font-size:.8rem;font-weight:600;pointer-events:none;white-space:nowrap}
.maphint[hidden]{display:none}
.mlsview:not([hidden])~.home{display:none}
.home{background:#f7f8f6;color:#1d2a24;font:16px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;border-top:1px solid #ddd3ec}
.hsec{max-width:72rem;margin:0 auto;padding:1.6rem 1rem .4rem;scroll-margin-top:.5rem}
.hhead{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem 1rem;flex-wrap:wrap;margin-bottom:.6rem}
.hhead h2{margin:0;font-size:clamp(1.3rem,3vw,1.7rem);color:#512888}
.hlinks{display:flex;gap:.9rem;flex-wrap:wrap;font-weight:700}
.hlinks a{text-decoration:none}
.home .picker{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap;margin:0 0 .8rem}
.home .picker select{max-width:100%;padding:.45rem;border:1px solid #512888;border-radius:8px;background:#fff;font:inherit}
.home .call{display:inline-block;margin:.3rem 0;padding:.65rem 1.1rem;background:#512888;color:#fff;border-radius:10px;text-decoration:none;font-weight:800;font-size:1.1rem}
.sitefoot{max-width:72rem;margin:1.5rem auto 0;padding:1rem 1rem 10rem;border-top:1px solid #ddd3ec;font-size:.8rem;color:#5a6b62}
.sitefoot p{margin:.3rem 0}
.home *{box-sizing:border-box}
.home h1{font-size:clamp(1.7rem,4vw,2.6rem);line-height:1.15;margin:.2rem 0 .6rem}
.home h2{font-size:1.3rem;margin:2rem 0 .6rem}
.home .pulse{display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(32rem,1fr))}
.home .panel{background:#fff;border:1px solid #ddd3ec;border-radius:12px;padding:1rem}
.home .panel h3{margin:0;font-size:1.05rem;letter-spacing:.04em}
.home .panel .def{margin:.2rem 0 .6rem;font-size:.85rem;color:#43544b}
.home .panel svg{display:block;width:100%;height:auto}
.home .panel .foot,.home .foot{font-size:.75rem;color:#5a6b62;margin:.5rem 0 0}
.home .few{fill:#5a6b62;font-size:11px}
.home .addr{margin:.1rem 0;font-size:.9rem;color:#3d4c44}
.home .attr{font-size:.7rem;color:#5a6b62;margin:.3rem 0 0}
.home .note{color:#43544b}
@media (max-width:640px){.home .pulse{grid-template-columns:1fr}}
.home .ph{margin:0 0 .3rem;font-size:1.2rem}
.home .panel+.panel,.home section.panel{margin-top:1rem}
.home .more{margin-top:.6rem;border:1px solid #512888;background:#fff;border-radius:8px;padding:.45rem .8rem;font-weight:600;cursor:pointer}
.home .top5{margin:.4rem 0;padding-left:1.4rem;display:grid;gap:.35rem}.home .top5 a{display:inline-flex;gap:.6rem;font-weight:700;text-decoration:none}.home .top5 .score{background:#512888;color:#fff;border-radius:6px;padding:0 .4rem}.home .top5 .sub{display:block;font-size:.85rem;color:#43544b}
.home .justlisted{list-style:none;margin:.4rem 0;padding:0;display:grid;gap:.3rem}
.home .justlisted a{display:grid;grid-template-columns:auto auto 1fr;gap:.2rem .6rem;align-items:baseline;padding:.45rem .5rem;border:1px solid #efe9f6;border-radius:8px;text-decoration:none;color:#1d2a24}
.home .justlisted .attr{grid-column:1/-1;margin:0}.home .tagnew{background:#6a3fa8;color:#fff;font-size:.7rem;font-weight:700;border-radius:4px;padding:.05rem .35rem}.home .jlprice{font-weight:800}.home .jlfacts{color:#3d4c44;font-size:.9rem}
.home .region{border-top:1px solid #efe9f6;padding:.2rem 0}.home .region summary{display:flex;justify-content:space-between;gap:.75rem;flex-wrap:wrap;cursor:pointer;padding:.55rem .2rem}.home .rname{font-weight:700}.home .rsub{color:#43544b;font-size:.9rem}
.home .arealist{list-style:none;margin:0 0 .5rem;padding:0 0 0 .5rem;display:grid;gap:.1rem}.home .arealist a{display:flex;justify-content:space-between;gap:.75rem;padding:.3rem .25rem;text-decoration:none;color:#1d2a24;border-radius:6px}.home .arealist a:hover{background:#f1ebf8}.home .arealist span:last-child{color:#43544b;font-size:.88rem;white-space:nowrap}
.home .band{text-align:center;font-weight:800;margin:.2rem 0}.home .raw{margin:.4rem 0;padding-left:1.1rem;font-size:.9rem}
.home .arealist span:first-child,.home .rname,.home h1{overflow-wrap:anywhere;min-width:0}
.home .nearby{margin-top:1.25rem}.home .nbgrid{display:grid;gap:.75rem 1.5rem;grid-template-columns:repeat(auto-fill,minmax(16rem,1fr))}.home .nbgroup h3{margin:.3rem 0;font-size:1rem}.home .nbgroup ul{margin:0;padding-left:1.1rem;font-size:.92rem}
.home .otherareas{margin:.8rem 0 0;padding-top:.6rem;border-top:1px solid #efe9f6}

.tiles{display:grid;gap:.8rem;grid-template-columns:repeat(auto-fill,minmax(15rem,1fr))}
.tile{position:relative;display:flex;flex-direction:column;gap:.25rem;padding:.9rem 1rem 1rem;border-radius:14px;background:#fff;border:1px solid #ddd3ec;box-shadow:0 2px 8px rgba(81,40,136,.08);text-decoration:none;color:#1d2a24;transition:transform .2s ease,box-shadow .2s ease}
.tile:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(81,40,136,.16)}
.tile[hidden]{display:none}
.tile.hero{grid-column:span 2;background:linear-gradient(135deg,#512888,#6a3fa8);color:#fff;border:0}
@media (max-width:560px){.tile.hero{grid-column:auto}}
.tile .rank{align-self:flex-start;background:#512888;color:#fff;border-radius:999px;padding:.05rem .6rem;font-weight:800;font-size:.85rem}
.tile.hero .rank{background:#c9682e}
.tile .tname{font-weight:800;font-size:1.1rem;line-height:1.25;overflow-wrap:anywhere}
.tile .tsub,.tile .tband{font-size:.85rem;color:#43544b}
.tile.hero .tsub,.tile.hero .tband{color:#d9eadf}
.tile .tscore{font-size:.9rem;color:#43544b}.tile .tscore b{font-size:2rem;color:#1d2a24;margin-right:.2rem}
.tile .tgauge{display:block;max-width:18rem;background:#fff;border-radius:12px;padding:.3rem;margin:.2rem 0}
.tbar{display:block;height:.6rem;border-radius:999px;background:#e6ece8;overflow:hidden}
.tbar i{display:block;height:100%;width:0;border-radius:999px;background:#0072B2;transition:width 1.1s cubic-bezier(.2,.7,.2,1)}
.in .tbar i,.tbar.in i{width:calc(var(--v,0)*1%)}
.tile.bal .tbar i{background:#7A7A7A}.tile.sell .tbar i{background:#C2185B}
.tile.hero .tbar{background:rgba(255,255,255,.25)}.tile.hero .tbar i{background:#f2c14e}

.pulse.anim svg rect{transform-box:fill-box;transform-origin:50% 100%;transform:scaleY(0);transition:transform .8s cubic-bezier(.2,.7,.2,1)}
.pulse.anim.in svg rect{transform:none}

.ct-big{font-size:1.2rem;margin:0 0 .6rem}.ct-big b{font-size:1.6rem;color:#512888}
.stack{display:flex;height:2.4rem;border-radius:10px;overflow:hidden;background:#e6ece8;margin:.4rem 0 .8rem}
.stack .seg{width:0;transition:width 1s cubic-bezier(.2,.7,.2,1)}
.stack.in .seg{width:var(--w)}
.c1{background:#0072B2}.c2{background:#882255}.c3{background:#A65E00}.c4{background:#00785A}.c5{background:#5B4A14}.c6{background:#C2185B}.c7{background:#7A7A7A}.c8{background:#2F4F4F}.c9{background:#332288}
.legendc{list-style:none;margin:0 0 .6rem;padding:0;display:grid;gap:.35rem .9rem;grid-template-columns:repeat(auto-fill,minmax(15rem,1fr))}
.legendc li{display:flex;align-items:center;gap:.5rem;font-size:.92rem}.legendc li b{margin-left:auto}
.legendc i{flex:0 0 .9rem;height:.9rem;border-radius:3px}
.legendc li.off{color:#8a988f}.legendc li.off i{border:2px dashed #b9a5d8;background:none}

.ccards{display:grid;gap:.8rem;grid-template-columns:repeat(auto-fill,minmax(15rem,1fr))}
.ccard{border-radius:14px;overflow:hidden;background:#fff;border:1px solid #ddd3ec;box-shadow:0 2px 8px rgba(81,40,136,.08)}
.ccard[hidden]{display:none}
.ccard[open]{grid-column:1/-1}
.ccard summary{list-style:none;cursor:pointer;display:flex;flex-direction:column;gap:.25rem;padding:1rem;color:#fff;min-height:8rem;justify-content:flex-end}
.ccard summary::-webkit-details-marker{display:none}
.ccard.h0 summary{background:linear-gradient(135deg,#3d1e66,#512888)}.ccard.h1 summary{background:linear-gradient(135deg,#512888,#6a3fa8)}.ccard.h2 summary{background:linear-gradient(135deg,#2e1250,#512888)}
.ccard.h3 summary{background:linear-gradient(135deg,#43206f,#7d5bb8)}.ccard.h4 summary{background:linear-gradient(135deg,#3d1e66,#6a3fa8)}.ccard.h5 summary{background:linear-gradient(135deg,#512888,#7d5bb8)}
.ccard .cname{font-size:1.3rem;font-weight:800}.ccard .cstat b{font-size:1.15rem}.ccard .cmed{font-size:.9rem;opacity:.9}
.ccard .tbar{background:rgba(255,255,255,.3)}.ccard .tbar i{background:#fff}
.ccard .arealist{padding:.6rem .8rem}

.jtiles{list-style:none;margin:0;padding:0;display:grid;gap:.8rem;grid-template-columns:repeat(auto-fill,minmax(14rem,1fr))}
.jtiles li[hidden]{display:none}
.jtiles a{display:block;height:100%;background:#fff;border:1px solid #ddd3ec;border-radius:14px;overflow:hidden;text-decoration:none;color:#1d2a24;transition:transform .2s ease,box-shadow .2s ease}
.jtiles a:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(81,40,136,.16)}
.jpic{position:relative;display:block;aspect-ratio:3/2;background:linear-gradient(135deg,#efe9f6,#d9cdea)}
.jpic img{display:block;width:100%;height:100%;object-fit:cover}
.jpic .nopic{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#5a6b62;font-weight:600}
.jpic .tagnew{position:absolute;left:.5rem;top:.5rem}
.jbody{display:flex;flex-direction:column;gap:.15rem;padding:.6rem .7rem .7rem}
.home .jbody .jlprice{font-size:1.2rem}
.contactcard{display:flex;flex-direction:column;align-items:flex-start;gap:.3rem;background:linear-gradient(135deg,#f3f7f4,#fff)}
@media (prefers-reduced-motion:reduce){.nextbar span{animation:none}.tbar i,.stack .seg,.pulse.anim svg rect,.tile,.jtiles a{transition:none}.tbar i{width:calc(var(--v,0)*1%)}.stack .seg{width:var(--w)}.pulse.anim svg rect{transform:none}}

@media (max-width:760px){
  .layout{height:auto;min-height:0}
  .mapwrap{position:relative;inset:auto;height:60vh;height:60dvh;min-height:18rem}
  .results{position:static;height:auto;overflow:visible;border-radius:0;box-shadow:none;border-top:1px solid #ddd3ec;padding:.75rem}
  .results.open{height:auto;overflow:visible}
  .handle{display:none}
  .count{display:block}
  .peek{bottom:1rem}
}
@media (min-width:761px){.results.locked{overflow-y:hidden}}
.listhint{position:sticky;top:0;z-index:5;margin:0 0 .4rem;padding:.25rem .6rem;border-radius:999px;background:rgba(81,40,136,.92);color:#fff;font-size:.78rem;font-weight:600;text-align:center;width:max-content;max-width:100%}
.listhint[hidden]{display:none}

@media (min-width:761px){
  .layout{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}
  .cards{grid-template-columns:repeat(auto-fill,minmax(17rem,1fr))}
  .detail{right:-200%}   
}

.topbar .filters>.filter,.topbar .filters>.seg{display:none}
.searchby{margin:0;padding:.4rem 1.4rem;border:2px solid #512888;border-radius:999px;background:#fff;color:#512888;font-weight:800;font-size:1.05rem;letter-spacing:.02em;white-space:nowrap;position:relative;z-index:1}

.topbar{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"brand" "right" "menu";align-items:center}
.topbar .brand{grid-area:brand;justify-self:center;font-size:1.2rem}
.tleft{grid-area:left;display:flex;align-items:center;gap:.5rem;min-width:0}
.tleft .search{flex:0 1 22rem;min-width:9rem;max-width:none;order:0}
.tright{grid-area:right;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:.75rem;min-width:0}
.tright .searchby{grid-column:2}
.tend{grid-column:3;justify-self:end;display:flex;align-items:center;gap:.5rem}
.tright .filters{width:auto;overflow:visible;order:0}
.topbar .menu{grid-area:menu}
.menu{margin-top:1.9rem;position:relative;z-index:1}
.menu .filter{flex:1 1 0;display:flex}
.menu .filter>.chip{flex:1}
.menu .filter[hidden],.menu button[hidden]{display:none}
.menu .mls{margin-left:0}
.menu button[aria-pressed="true"]{background:#512888;color:#fff}
.sbarrows{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;overflow:visible}
@media (max-width:760px){   
  .tright{display:flex;gap:.5rem}
  .tend{margin-left:auto}
  .tright .searchby{padding:.4rem .9rem;font-size:.95rem}
  .menu{margin-top:1.4rem}
}
@media (max-width:560px){
  .menu{grid-template-columns:repeat(6,1fr)}
  .menu>*{grid-column:span 2}.menu>*:nth-child(n+4){grid-column:span 3}
  .menu a,.menu button{font-size:.82rem;padding:.35rem .15rem}
}

@keyframes hintpop{0%,100%{scale:1}50%{scale:1.09}}
.mapwrap:not(.calm) .maphint,.results:not(.calm) .listhint{animation:hintpop 1.6s ease-in-out infinite}   
.maphint.gone,.listhint.gone{display:none!important}
.hintx{pointer-events:auto;margin-left:.45rem;border:0;border-radius:50%;width:24px;height:24px;min-width:24px;line-height:1;padding:0;background:rgba(255,255,255,.15);color:#fff;font:inherit;font-size:1rem;font-weight:700;cursor:pointer;vertical-align:middle}
.hintx:hover{background:rgba(255,255,255,.1);outline:1px solid #fff}
@media (prefers-reduced-motion:reduce){.mapwrap:not(.calm) .maphint,.results:not(.calm) .listhint{animation:none}}

.results{padding-top:0}
.listsearch{position:sticky;top:0;z-index:6;background:#fafbfa;padding:.75rem 0 .6rem}
.listsearch{display:flex;gap:.5rem;align-items:stretch}
.listsearch .search{max-width:none;flex:1 1 auto;min-width:0}
.listsearch .mls{margin-left:0;flex:none;padding:.45rem .7rem;font-size:.9rem}
@media (max-width:760px){.listsearch{position:static;padding-top:.75rem;flex-wrap:wrap}.listsearch .search{order:0;flex:1 1 100%}.listsearch .mls{order:1;margin-left:auto}}
@media (max-width:560px){.menu a,.menu button{white-space:normal;line-height:1.15}}
.newcnote{margin:-.2rem 0 .5rem;font-size:.82rem;font-weight:600;color:#512888}
.newcnote[hidden]{display:none}

.pulse .panel{border:0;border-top:4px solid #512888;border-radius:16px;box-shadow:0 4px 18px rgba(81,40,136,.12);padding:1.1rem 1.1rem 1rem}
.pulse .panel h3{color:#512888;font-size:.95rem;letter-spacing:.08em}
.mstats{display:grid;grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));gap:.6rem;margin:.2rem 0 .8rem}
.mstat{background:linear-gradient(135deg,#512888,#6a3fa8);color:#fff;border-radius:12px;padding:.7rem .8rem;display:flex;flex-direction:column;gap:.1rem}
.mstat b{font-size:1.6rem;line-height:1.1}.mstat span{font-size:.8rem;opacity:.95}
.pulse.anim .mstat{opacity:0;transform:translateY(10px);transition:opacity .6s ease,transform .6s ease}
.pulse.anim.in .mstat{opacity:1;transform:none}
.pulse.anim svg line{opacity:0;transition:opacity .8s ease .3s}.pulse.anim.in svg line{opacity:1}
@media (prefers-reduced-motion:reduce){.pulse.anim .mstat,.pulse.anim svg line{opacity:1;transform:none;transition:none}}

html body.page .band-hw .panel,html body.page .lfcard{padding:1rem 1.1rem}html body.page .lfcard{margin-top:1rem}html body.page .lfcard h3{margin:0 0 .6rem;color:#512888}html body.page .leadform{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem 1rem}html body.page .leadform label{display:flex;flex-direction:column;gap:.25rem;font-weight:700;color:#512888;min-width:0}html body.page .leadform input,html body.page .leadform select,html body.page .leadform textarea{font:inherit;font-size:1rem;padding:.55rem .6rem;border:2px solid #512888;border-radius:4px;background:#ffffff;color:#0b0b0b;min-width:0}html body.page .leadform small{font-weight:400;font-size:.95rem;color:#0b0b0b}html body.page .leadform .lf-wide{grid-column:1/-1}html body.page .leadform .lf-consent{grid-column:1/-1;flex-direction:row;align-items:flex-start;gap:.5rem;font-weight:400;color:#0b0b0b;font-size:.95rem}html body.page .leadform .lf-consent input{margin-top:.2rem;flex:none;width:1.2rem;height:1.2rem}html body.page .leadform .lf-consent[hidden],html body.page .leadform .lf-err[hidden],html body.page .leadform .lf-done[hidden]{display:none}html body.page .leadform .lf-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}html body.page .leadform button[type=submit]{min-height:44px;padding:.6rem 1rem;border:0;border-radius:4px;background:#512888;color:#ffffff;font-weight:800;font-size:1.05rem;cursor:pointer}html body.page .leadform button[disabled]{opacity:.6;cursor:default}html body.page .lf-note,html body.page .lf-det,html body.page .al-note{margin:0;font-size:.95rem}html body.page .lf-err{margin:0;font-weight:700;color:#8a1f1f}html body.page .lf-done{margin:0;font-weight:800;color:#512888}html body.page .alertbox{margin:1rem 0;border:3px solid #512888;border-radius:4px;padding:.8rem 1rem;background:#ffffff}html body.page .alertbox .al-h{margin:0 0 .3rem;font-size:1.15rem;color:#512888}html body.page .alertbox .al-why{margin:0 0 .6rem}html body.page .alform{grid-template-columns:repeat(3,minmax(0,1fr))}html body.page .detail .alertbox{margin:1rem}html body.page .lf-bookbtn{display:inline-block;margin:1rem 1rem 0;padding:.6rem 1rem;border-radius:4px;background:#512888;color:#ffffff;font-weight:800;text-decoration:none}html body.page .hw-hero{display:inline-block;margin-top:.6rem;font-weight:800;color:#512888;text-decoration:underline}html body.page .hdr-cta.hdr-hw{background:#ffffff;color:#512888;border-color:#512888;margin-right:.5rem;padding:.45rem .8rem}html body.page .hdr-cta.hdr-hw+.hdr-cta{margin-left:0}html body.page .ss-det{margin:.4rem 0 0;font-size:.95rem}@media (max-width:760px){html body.page .leadform,html body.page .alform{grid-template-columns:1fr}}

html body.page .topbar .hdr-boxes{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center;grid-column:1/-1;margin:.3rem 0}html body.page .hdr-cta{display:inline-block;padding:.45rem .9rem;border:3px solid var(--purple);border-radius:4px;background:var(--purple);color:#ffffff;font-weight:800;text-decoration:none;white-space:nowrap}html body.page .hdr-cta.hdr-hw,html body.page .hdr-cta.hdr-list{background:#ffffff;color:var(--purple)}html body.page .bookwrap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1rem}html body.page .bookwrap>.lfcard{margin-top:0}@media (max-width:900px){html body.page .bookwrap{grid-template-columns:1fr}}

html body.page .ft-h{max-width:72rem;margin:1.2rem auto .2rem;padding:0 1rem;font-size:1.25rem;text-align:left}html body.page .ft-save{max-width:72rem;margin:.4rem auto 1rem;padding:0 1rem;display:flex;justify-content:flex-end}html body.page .ft-save .ftile{max-width:22rem}
