/* Home search for the moveto city guides. Inherits the site's fonts; the
   accent is read from the site's own primary button at runtime. */
.hs{--hs-accent:#1c4838;--hs-ink:#1d1d1b;--hs-muted:#5f5f5a;--hs-line:#e4e1d8;--hs-card:#fff;--hs-radius:14px;color:var(--hs-ink);margin:0 0 56px}
.hs *{box-sizing:border-box}
.hs h2,.hs h3,.hs-dialog h2,.hs-dialog h3{margin:0 0 8px;line-height:1.2}
.hs-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:11px 20px;border:1px solid var(--hs-accent,#1c4838);border-radius:999px;background:var(--hs-accent,#1c4838);color:#fff;font:inherit;font-weight:700;font-size:15px;cursor:pointer;text-decoration:none}
.hs-btn:disabled{opacity:.6;cursor:wait}
.hs-btn--ghost{background:transparent;color:var(--hs-accent,#1c4838)}
.hs-link{background:none;border:0;padding:0;color:var(--hs-accent,#1c4838);font:inherit;font-weight:600;text-decoration:underline;cursor:pointer}
.hs-fine{font-size:13px;color:var(--hs-muted);margin:10px 0 0}
.hs-loading{padding:32px 0;color:var(--hs-muted)}
.hs-message{padding:28px;border:1px solid var(--hs-line);border-radius:var(--hs-radius);background:var(--hs-card);display:grid;gap:10px;justify-items:start}

/* Signed out */
.hs-gate{display:grid;grid-template-columns:1.1fr 1fr;gap:28px;align-items:start;padding:28px;border:1px solid var(--hs-line);border-radius:var(--hs-radius);background:var(--hs-card)}
.hs-gate__copy ul{margin:14px 0 0;padding-left:20px;color:var(--hs-muted)}
.hs-gate__copy li{margin:4px 0}
.hs-form{display:grid;gap:12px;margin:12px 0}
.hs-form label,.hs-tour label,.hs-filters label{display:grid;gap:6px;font-size:14px;font-weight:600}
.hs input,.hs select,.hs textarea,.hs-dialog input,.hs-dialog select,.hs-dialog textarea{width:100%;min-height:44px;padding:10px 12px;border:1px solid #cfcbbf;border-radius:10px;background:#fff;color:var(--hs-ink);font:inherit;font-size:16px}
.hs-form__status{min-height:1.2em;margin:0;font-size:14px;color:var(--hs-muted)}

/* Signed in */
.hs-bar{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:end;justify-content:space-between;margin:0 0 20px}
.hs-filters{display:flex;flex-wrap:wrap;gap:10px;align-items:end}
.hs-filters label{min-width:120px}
.hs-account{margin:0;font-size:14px;color:var(--hs-muted)}
.hs-results-head{margin:0 0 16px}
.hs-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}
.hs-card{position:relative;display:flex;flex-direction:column;border:1px solid var(--hs-line);border-radius:var(--hs-radius);background:var(--hs-card);overflow:hidden}
.hs-card__open{display:block;width:100%;height:auto;padding:0;border:0;background:none;text-align:left;color:inherit;font:inherit;text-decoration:none;cursor:pointer}
.hs-card__media{position:relative;display:block;width:100%;aspect-ratio:4/3;overflow:hidden;background:#ecebe5}
.hs-card__media>.hs-card__photo{position:absolute;top:0;left:0;width:100%;height:100%;max-width:none;object-fit:cover;aspect-ratio:auto}
.hs-card__photo{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:#ecebe5}
.hs-card__photo--none{display:flex;align-items:center;justify-content:center;color:var(--hs-muted);font-size:14px}
.hs-card__body{display:grid;gap:2px;padding:14px 16px 4px}
.hs-card__status{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--hs-accent);margin:0}
.hs-card__price{font-size:22px;font-weight:700}
.hs-card__facts,.hs-card__place{color:var(--hs-muted);font-size:14px}
.hs-card__street{font-weight:600}
.hs-save{position:absolute;top:10px;right:10px;padding:7px 12px;border:0;border-radius:999px;background:rgba(255,255,255,.94);color:var(--hs-ink);font:inherit;font-size:14px;font-weight:700;cursor:pointer;box-shadow:0 1px 4px rgba(0,0,0,.15)}
.hs-home__actions .hs-save{position:static;box-shadow:none;border:1px solid var(--hs-line)}
.hs-source{position:static;display:flex;gap:8px;align-items:center;margin:auto 0 0;padding:8px 16px 14px;font-size:12px;line-height:1.4;color:var(--hs-muted)}
.hs-source .hs-mark--icon{flex:0 0 auto;width:auto;height:18px;max-width:60px}
.hs-more{display:flex;justify-content:center;margin:24px 0}

/* Realcomp marks and the page block */
.hs-mark--icon{width:auto;height:18px}
.hs-mark--logo{width:auto;height:34px}
.hs-mark--slot{display:inline-flex;align-items:center;padding:2px 6px;border:1px dashed #b9b5aa;border-radius:4px;font-size:11px;color:var(--hs-muted)}
.hs-idx{font-size:12px;font-weight:700;letter-spacing:.06em}
.hs-idx-region{margin:32px 0 0;padding:20px;border-top:1px solid var(--hs-line);font-size:13px;color:var(--hs-muted)}
.hs-idx-region__head{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}
.hs-idx-region h2{font-size:15px;color:var(--hs-ink);margin:0}
.hs-attribution{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:center;margin:24px 0 0;padding:16px;border:1px solid var(--hs-line);border-radius:12px;font-size:14px}
.hs-attribution p{margin:2px 0}
.hs-attribution__marks{display:flex;gap:10px;align-items:center}
.hs-credit{font-size:12px;color:var(--hs-muted);margin:10px 0 0}

/* A home's page */
html.hs-locked{overflow:hidden}
.hs-dialog{--hs-muted:#5f5f5a;--hs-line:#e4e1d8;--hs-ink:#1d1d1b;width:min(920px,100vw);max-height:100vh;margin:auto;padding:0;border:0;border-radius:18px;background:#fbfaf6;color:var(--hs-ink,#1d1d1b);overflow:auto}
.hs-dialog::backdrop{background:rgba(20,20,18,.55)}
.hs-dialog .hs-loading,.hs-dialog .hs-message{margin:48px 24px}
.hs-close{position:sticky;top:10px;float:right;margin:10px 10px 0 0;z-index:2;width:40px;height:40px;border:0;border-radius:50%;background:#fff;font-size:18px;cursor:pointer;box-shadow:0 1px 4px rgba(0,0,0,.2)}
.hs-home{padding:0 0 28px}
.hs-home>*:not(.hs-gallery){margin-left:24px;margin-right:24px}
.hs-gallery{position:relative;background:#111;aspect-ratio:16/10}
.hs-gallery img{display:block;width:100%;height:100%;object-fit:contain}
.hs-gallery--none{display:flex;align-items:center;justify-content:center;color:#ddd;background:#2a2a27}
.hs-gallery__prev,.hs-gallery__next{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.9);font-size:26px;line-height:1;cursor:pointer}
.hs-gallery__prev{left:12px}.hs-gallery__next{right:12px}
.hs-gallery__count{position:absolute;right:12px;bottom:12px;padding:4px 10px;border-radius:999px;background:rgba(0,0,0,.6);color:#fff;font-size:13px}
.hs-home__head{padding-top:20px}
.hs-home__head h2{font-size:32px}
.hs-home__facts{font-size:17px;font-weight:600;margin:0}
.hs-home__address,.hs-home__more{color:var(--hs-muted);margin:4px 0 0;text-transform:none}
.hs-home__actions{display:grid;grid-template-columns:auto 1fr;gap:16px;align-items:start;margin-top:20px}
.hs-tour{display:grid;gap:10px;padding:16px;border:1px solid var(--hs-line);border-radius:12px;background:#fff}
.hs-tour .hs-btn{background:var(--hs-accent,#1c4838);border-color:var(--hs-accent,#1c4838)}
.hs-home__description{white-space:pre-line;line-height:1.6}
.hs-features{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px 20px;margin:20px 24px 0}
.hs-features dt{font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--hs-muted)}
.hs-features dd{margin:2px 0 0}
.hs-dialog section{margin-top:22px}

@media (max-width:760px){
  .hs-gate{grid-template-columns:1fr;padding:20px}
  .hs-home__actions{grid-template-columns:1fr}
  .hs-dialog{border-radius:0;height:100vh}
  .hs-filters label{min-width:calc(50% - 5px);flex:1}
}

/* Results header with the purchase-plan button; the account pop-up */
.hs-results-head{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}
.hs-dialog--account{width:min(460px,100vw)}
.hs-account-pane{padding:8px 24px 24px}
.hs-account-why{color:var(--hs-muted);margin:0 0 4px}
@media (max-width:760px){.hs-dialog--account{height:auto;border-radius:18px 18px 0 0;margin-bottom:0}}

/* Purchase plan */
.hs-dialog--plan{width:min(640px,100vw)}
.hs-plan-pane{padding:8px 24px 28px}
.hs-plan{display:grid;gap:18px}
.hs-plan h2{font-size:26px;margin:0}
.hs-plan h3{font-size:17px;margin:0 0 10px}
.hs-plan section{margin:0}
.hs-plan__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px 16px;margin-top:12px}
.hs-plan label{display:grid;gap:6px;font-size:14px;font-weight:600}
.hs-plan__down{display:grid;grid-template-columns:1fr 130px;gap:8px}
.hs-plan__more{margin-top:14px}
.hs-plan__more summary{cursor:pointer;font-weight:600;color:var(--hs-accent,#1c4838)}
.hs-plan__result{padding:14px 16px;border-radius:12px;background:#fff;border:1px solid var(--hs-line)}
.hs-plan__result p{margin:0}
.hs-chips{display:flex;flex-wrap:wrap;gap:8px}
.hs-chip{padding:9px 16px;border:1px solid #cfcbbf;border-radius:999px;background:#fff;color:var(--hs-ink);font:inherit;font-weight:600;cursor:pointer}
.hs-chip[aria-pressed="true"]{background:var(--hs-accent,#1c4838);border-color:var(--hs-accent,#1c4838);color:#fff}
.hs-plan__fin-panel{margin-top:12px}
.hs-lender{display:grid;grid-template-columns:64px 1fr;gap:6px 14px;align-items:center;padding:16px;border:1px solid var(--hs-line);border-radius:12px;background:#fff}
.hs-lender img{border-radius:50%;object-fit:cover}
.hs-lender__name{margin:0;font-weight:700}
.hs-lender .hs-fine{margin:0}
.hs-lender__pitch,.hs-lender .hs-btn,.hs-lender .hs-form__status,.hs-lender>.hs-fine{grid-column:1/-1}
.hs-fit{margin-top:20px;padding:18px;border:1px solid var(--hs-line);border-radius:12px;background:#fff}
.hs-fit p{margin:4px 0}
.hs-fit__total{font-size:18px}
.hs-fit__total strong{font-size:26px}

/* Phones: full-screen home and plan views, no browser default dialog insets */
@media (max-width:760px){
  .hs-dialog,.hs-dialog--plan{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0}
  .hs-dialog--account{width:100vw;max-width:100vw;max-height:100dvh}
  .hs-home>*:not(.hs-gallery){margin-left:16px;margin-right:16px}
  .hs-features{margin-left:16px;margin-right:16px}
  .hs-home__head h2{font-size:28px}
  .hs-plan-pane,.hs-account-pane{padding:8px 16px 24px}
  .hs-plan__down{grid-template-columns:1fr 110px}
  .hs-results-head .hs-btn{width:100%}
  .hs-filters{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .hs-filters label{min-width:0}
  .hs-filters .hs-btn{grid-column:1/-1}
  .hs-bar{display:block}
}
.hs-fit__missing{font-size:14px;color:var(--hs-muted)}

/* Front-page row of homes */
.hs-strip{padding-top:40px;padding-bottom:8px}
.hs-strip h2{margin:0 0 6px}
.hs-count{margin:0;color:var(--hs-muted);font-weight:600}
.hs-results-actions{display:flex;flex-wrap:wrap;gap:10px}
.hs--preview .hs-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}
.hs--preview .hs-idx-region{margin-top:20px}
@media (max-width:760px){
  .hs--preview .hs-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:82%;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px;-webkit-overflow-scrolling:touch}
  .hs--preview .hs-card{scroll-snap-align:start}
  .hs-results-actions{width:100%}
  .hs-results-actions .hs-btn{flex:1}
}
.hs-strip--first{padding-top:20px}

/* City or ZIP box (sites without one fixed area) */
.hs-filters__where{min-width:200px;flex:1}
@media (max-width:760px){.hs-filters__where{grid-column:1/-1}}

/* Server-rendered listing page */
.lp{padding-top:28px;padding-bottom:48px}
.lp-crumbs{font-size:14px;color:var(--hs-muted);margin:0 0 14px}
.lp-crumbs a{color:inherit}
.lp-head h1{font-size:clamp(26px,4vw,40px);line-height:1.15;margin:4px 0 6px}
.lp-price{font-size:28px;font-weight:700;margin:0}
.lp-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:8px;margin:18px 0}
.lp-photos img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px;background:#ecebe5}
.lp-photos img:first-child{grid-column:1/-1;aspect-ratio:16/9;max-height:560px}
.lp-actions{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0 20px}
.lp .hs-features{margin:20px 0 0}
.lp-more{margin:24px 0 0;font-weight:600}
.hs-count-note{margin:.25rem 0 0;font-size:.82rem;color:var(--hs-muted)}
.hs-count-note[hidden]{display:none}
