/* E1: presentation only. Original feature/view visibility remains authoritative. */
:root {
  --rd-paper:#f7f4ef;
  --rd-card:#fff;
  --rd-ink:#1f1530;
  --rd-muted:#5d5866;
  --rd-line:#e4ded4;
  --rd-brand:#512888;
  --rd-brand-hover:#3d1e66;
  --rd-radius:14px;
  --rd-serif:"Fraunces",Georgia,"Times New Roman",serif;
  --rd-sans:"Instrument Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  --rd-width:1180px;
}
html:has(body.rd.page.app) {
  height:auto!important;min-height:100%;overflow:auto!important;
  overscroll-behavior:auto;
}
html body.rd.page.app {height:auto!important;min-height:100%;overflow:visible!important;overscroll-behavior:auto}
html body.rd.page {
  margin:0;background:var(--rd-paper)!important;background-image:none!important;
  color:var(--rd-ink);font:400 16px/1.55 var(--rd-sans);
}
html body.rd :is(button,input,select,textarea):not(:where(.cover-band,.sh-btn,.sh-back,.sh-toast,[data-save-search-open]),:where(.cover-band,.sh-btn,.sh-back,.sh-toast,[data-save-search-open]) *) {font-family:var(--rd-sans)}
html body.rd.page.app :is(.home,.band,.panel,.leadform,.agentsband,.fc-notice,.results,.sitefoot,.contactcard,.pop,.mapctl,.attr,.note,.def,.sub):not(:where(.cover-band,.sh-btn,.sh-back,.sh-toast,[data-save-search-open]),:where(.cover-band,.sh-btn,.sh-back,.sh-toast,[data-save-search-open]) *) {font-family:var(--rd-sans)}
html body.rd :is(h1,h2,h3,h4,.herot,.ct-big):not(:where(.cover-band,.sh-btn,.sh-back,.sh-toast,[data-save-search-open]),:where(.cover-band,.sh-btn,.sh-back,.sh-toast,[data-save-search-open]) *) {
  font-family:var(--rd-serif);font-weight:600;letter-spacing:-.015em;color:var(--rd-ink);
}
html body.rd a:not(:where(.cover-band,.sh-btn,.sh-back,.sh-toast,[data-save-search-open]),:where(.cover-band,.sh-btn,.sh-back,.sh-toast,[data-save-search-open]) *) {color:var(--rd-brand);text-underline-offset:3px}
html body.rd :is(button,a,summary,input,select,textarea):focus-visible:not(:where(.cover-band,.sh-btn,.sh-back,.sh-toast,[data-save-search-open]),:where(.cover-band,.sh-btn,.sh-back,.sh-toast,[data-save-search-open]) *) {
  outline:2px solid var(--rd-brand)!important;outline-offset:3px;box-shadow:none!important;
}
html body.rd img:not(.leaflet-map-pane *):not(:where(.cover-band,.sh-btn,.sh-back,.sh-toast,[data-save-search-open]),:where(.cover-band,.sh-btn,.sh-back,.sh-toast,[data-save-search-open]) *) {outline:none!important}
html body.rd :is(button,[role="button"],a.button,a.btn,.hdr-cta,.brand-home,.contact-call,.nextbar,.home .call,.lf-bookbtn):not(.leaflet-marker-icon):not([data-home-id]):not(.home-dot):not(.neighborhood-dot):not(:where(.cover-band,.sh-btn,.sh-back,.sh-toast,[data-save-search-open]),:where(.cover-band,.sh-btn,.sh-back,.sh-toast,[data-save-search-open]) *) {
  border:1px solid var(--rd-line)!important;border-radius:999px;
  box-shadow:none!important;font-weight:600;
}
html body.rd.page.app :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea):not(:where(.cover-band,.sh-btn,.sh-back,.sh-toast,[data-save-search-open]),:where(.cover-band,.sh-btn,.sh-back,.sh-toast,[data-save-search-open]) *) {
  box-sizing:border-box;max-width:100%;min-width:0;min-height:48px;
  border:1px solid #cfc8bc!important;border-radius:10px!important;
  padding:11px 14px!important;background:var(--rd-card)!important;color:var(--rd-ink)!important;
  font:400 16px/1.4 var(--rd-sans)!important;box-shadow:none!important;
}
html body.rd :is(input,select,textarea):focus:not(:where(.cover-band,.sh-btn,.sh-back,.sh-toast,[data-save-search-open]),:where(.cover-band,.sh-btn,.sh-back,.sh-toast,[data-save-search-open]) *) {
  border-color:var(--rd-brand)!important;outline:2px solid var(--rd-brand)!important;
  outline-offset:1px;box-shadow:none!important;
}
html body.rd textarea {min-height:110px;resize:vertical}
html body.rd :is(input[type=checkbox],input[type=radio]) {
  width:20px;height:20px;min-height:0;flex:none;accent-color:var(--rd-brand);
}
html body.rd :is(button:disabled,[aria-disabled=true]):not(:where(.cover-band,.sh-btn,.sh-back,.sh-toast,[data-save-search-open]),:where(.cover-band,.sh-btn,.sh-back,.sh-toast,[data-save-search-open]) *) {cursor:default}
html body.rd button:disabled:not(:where(.cover-band,.sh-btn,.sh-back,.sh-toast,[data-save-search-open]),:where(.cover-band,.sh-btn,.sh-back,.sh-toast,[data-save-search-open]) *) {opacity:.6}

/* Header and the contract navigation. Do not override header's search-view hide. */
html body.rd header.topbar {
  background:var(--rd-paper);border-bottom:1px solid var(--rd-line)!important;
  box-shadow:none;padding:12px max(24px,calc((100% - var(--rd-width))/2));gap:20px;
}
html body.rd .brand {letter-spacing:0;color:var(--rd-ink)}
html body.rd .brand img {object-fit:contain;max-height:56px;border:0!important;border-radius:8px}
html body.rd .brand-zoom-trigger {background:transparent;border:0!important;box-shadow:none!important}
html body.rd .rd-topnav {
  display:none;position:sticky;top:0;z-index:1200;align-items:center;justify-content:center;
  gap:clamp(12px,2vw,28px);min-height:76px;padding:12px 24px;
  background:var(--rd-paper);border-bottom:1px solid var(--rd-line);
  font:500 15px/1.4 var(--rd-sans);
}
html body.rd .rd-topnav>a,html body.rd .rd-dd>summary {
  padding:10px 0;min-height:44px;text-decoration:none;color:var(--rd-brand);cursor:pointer;
}
html body.rd .rd-topnav>a:hover {text-decoration:underline}
html body.rd .rd-topnav>a.rd-brand {flex:none;padding:0;line-height:0;min-height:40px}
html body.rd .rd-brand>img {display:block;height:40px;width:auto;max-width:80px;object-fit:contain;border:0!important;outline:0!important}
html body.rd .rd-topnav>.rd-psr {flex:none;display:block;height:32px;width:auto;object-fit:contain}
html body.rd .rd-dd {position:relative}
html body.rd .rd-dd>summary {list-style:none;font-weight:500}
html body.rd .rd-dd>summary::-webkit-details-marker {display:none}
html body.rd .rd-dd>summary::after {content:" ▾";font-size:11px}
html body.rd .rd-ddpanel {
  position:absolute;left:-16px;top:calc(100% + 10px);width:260px;
  max-height:calc(100dvh - 120px);overflow-y:auto;padding:8px;
  border:1px solid var(--rd-line);border-radius:12px;background:var(--rd-card);
  box-shadow:0 16px 36px -22px #1f153066;
}
html body.rd .rd-ddpanel>a {
  display:block;padding:11px 12px;min-height:44px;border-radius:8px;
  color:var(--rd-brand);text-decoration:none;font-size:15px;
}
html body.rd .rd-ddpanel>a:hover {background:var(--rd-paper)}


/* One neutral card surface, with nested content flattened. */
html body.rd :is(.band,.band:nth-of-type(odd),.band:nth-of-type(even)):not(:where(.cover-band,.sh-btn,.sh-back,.sh-toast,[data-save-search-open]),:where(.cover-band,.sh-btn,.sh-back,.sh-toast,[data-save-search-open]) *) {
  background:transparent;border:0;padding:32px 24px 8px;color:var(--rd-ink);
}
html body.rd .band:not(:where(.cover-band,.sh-btn,.sh-back,.sh-toast,[data-save-search-open]),:where(.cover-band,.sh-btn,.sh-back,.sh-toast,[data-save-search-open]) *)::after {content:none!important}
html body.rd header.hero {
  max-width:1132px;margin:0 auto 24px;padding:28px 0 24px;
  color:var(--rd-ink);background:transparent;border:0;border-bottom:1px solid var(--rd-line);
  border-radius:0;box-shadow:none;
}
html body.rd .herot {font:600 clamp(34px,4vw,50px)/1.08 var(--rd-serif);margin:0 0 12px}
html body.rd header.hero .eyebrow {
  color:var(--rd-muted);font:600 13px/1.5 var(--rd-sans);letter-spacing:.14em;margin:0 0 14px;
}
html body.rd header.hero .sub {color:var(--rd-muted);font-size:19px;max-width:40em;margin:0}
html body.rd .hsec {
  max-width:1132px;margin:0 auto 32px!important;padding:0 0 24px!important;
  border:0!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;
}
html body.rd .hhead {gap:16px;margin-bottom:14px;flex-wrap:wrap}
html body.rd .hlinks {gap:16px;font-size:15px}
html body.rd .def {color:var(--rd-muted);max-width:48em;font-size:16px;line-height:1.6}
html body.rd.page.app :is(.panel,.tile,.ccard,.property-six-card,.card,.lfcard,.contactcard,.mstat,.fc-notice,.viewedstrip,.search-disclosures,.contact-showing-request) {
  background:var(--rd-card)!important;color:var(--rd-ink)!important;
  border:1px solid var(--rd-line)!important;border-radius:var(--rd-radius)!important;box-shadow:none!important;
}
html body.rd :is(.panel,.lfcard,.contactcard,.mstat,.fc-notice,.contact-showing-request) {padding:22px}
html body.rd :is(.panel,.tile,.ccard,.hsec)::after {content:none!important}
html body.rd :is(.panel .panel,.panel .lfcard,.lfcard .panel) {
  border:0!important;border-radius:0!important;background:transparent!important;padding:16px 0;box-shadow:none!important;
}
html body.rd :is(.tile,.ccard,.mstat) :is(h2,h3,b,strong,.cname,.cstat,.cmed,.tname,.tscore,.tstat) {color:var(--rd-ink)!important}
html body.rd .ccard:not([open]) {background:var(--rd-card)!important}
html body.rd .ccard>summary {background:transparent!important;color:var(--rd-ink)!important;padding:22px}
html body.rd .ccard>summary :is(span,b) {color:var(--rd-ink)!important}
html body.rd .tile {padding:22px}
html body.rd .tile.hero {background:var(--rd-card)!important;color:var(--rd-ink)!important}
html body.rd .tile :is(.tstat,.tscore),html body.rd .mstat :is(b,strong) {font-family:var(--rd-serif)}
html body.rd :is(.attr,.foot,.note,.snapdate,.legend,.cap-row,.cc-note,.ag-addr,.lf-call-alt) {color:var(--rd-muted)}
html body.rd :is(.attr,.foot) {font-size:13px;line-height:1.5}
html body.rd .results-reliable {padding-top:12px;border-top:1px solid var(--rd-line)}
html body.rd :is(.tdj-banner,.solo-title) {background:transparent!important;color:var(--rd-ink)!important;border-color:var(--rd-line)!important}
html body.rd .fc-notice {font-size:16px;line-height:1.6;margin:0 0 20px;padding:20px}
html body.rd .fc-notice p {margin:6px 0}
html body.rd .fc-imp {font-size:13px;letter-spacing:.08em;font-weight:600}
html body.rd.page.app :is(header.hero .sub,.ag-broker,.ag-addr,.def,.foot,.note,.snapdate) {font-weight:400!important}
html body.rd .agentsband {max-width:1132px;margin:0 auto 28px;padding:0;background:transparent!important;border:0!important;border-radius:0;box-shadow:none!important;color:var(--rd-ink)}
html body.rd .agentsband>h2 {font-size:30px;color:var(--rd-ink)}
html body.rd .ag-broker {color:var(--rd-muted);margin:4px 0 20px}
html body.rd .ag-bios {gap:20px;align-items:stretch}
html body.rd .ag-bio h3 {margin:0 0 12px;font-size:23px}
html body.rd .ag-bio p {font-size:16px;line-height:1.65;color:var(--rd-ink)}
html body.rd .contactcard p {margin:4px 0}
html body.rd .ct-big {font-size:26px}
html body.rd :is(.ag-call,.contactcard .call,.jl-search button[type=submit],.cc-search button[type=submit],.search button[type=submit],.phs button) {
  background:var(--rd-brand)!important;color:#fff!important;border:1px solid var(--rd-brand)!important;
  border-radius:999px!important;min-height:46px;padding:10px 20px;font-weight:600;text-decoration:none;
}
html body.rd :is(.ag-call,.contactcard .call) {display:inline-flex;align-items:center;max-width:100%;white-space:normal}
html body.rd .jl-search {max-width:720px;gap:8px;align-items:stretch;margin:16px 0}
html body.rd :is(.jl-search,.cc-search)>input {min-width:0;flex:1}
html body.rd :is(.cc-mapbox,.cc-col) {border-color:var(--rd-line);background:transparent}

/* The forms retain every field and consent string. */
html body.rd .leadform {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;
  border:1px solid var(--rd-line)!important;border-radius:var(--rd-radius)!important;
  padding:24px!important;background:var(--rd-card);box-shadow:none!important;margin:12px 0;
}
html body.rd :is(.panel,.lfcard,.contact-showing-request) .leadform {
  border:0!important;border-radius:0!important;background:transparent!important;padding:12px 0 0!important;margin:0;
}
html body.rd .leadform label {display:flex;flex-direction:column;gap:6px;min-width:0;font-size:14px;font-weight:600;color:var(--rd-ink)}
html body.rd .leadform label>span:first-child {color:var(--rd-ink);font-weight:600}
html body.rd .leadform .lf-wide {grid-column:1/-1}
html body.rd .leadform small {font-size:13px;font-weight:400;color:var(--rd-muted)}
html body.rd .leadform .lf-consent {flex-direction:row;align-items:flex-start;gap:12px;line-height:1.55;font-weight:400}
html body.rd .leadform .lf-consent input {margin-top:2px}
html body.rd .leadform .lf-consent span {font-weight:400;color:var(--rd-ink)}
html body.rd .leadform .lf-det {margin:0;color:var(--rd-muted);font-size:14px;line-height:1.6}
html body.rd .leadform :is(.lf-offline,.lf-note) {
  grid-column:1/-1;background:#f5f1e7;color:var(--rd-muted);border:0;border-radius:8px;padding:12px;
  margin:0;font-size:14px;line-height:1.55;
}
html body.rd .leadform button[type=submit] {
  border:1px solid var(--rd-brand)!important;border-radius:999px!important;min-height:52px;
  background:var(--rd-brand)!important;color:#fff!important;font:600 16px var(--rd-sans);padding:12px 22px!important;
}
html body.rd .lf-hp {display:none!important}

/* Search surfaces. Only layout/style properties: existing display gates survive. */
html body.rd.page.app .mapctl {
  background:var(--rd-paper)!important;color:var(--rd-ink);border:0!important;
  border-bottom:1px solid var(--rd-line)!important;padding:20px 24px!important;gap:12px!important;
}
html body.rd.page.app .mapctl .solo-title {color:var(--rd-ink)!important;font:600 28px var(--rd-serif)}
html body.rd .mapctl .recovery-geography {background:transparent;border:0;border-radius:0;padding:0;gap:12px}
html body.rd .mapctl .recovery-geography label {color:var(--rd-muted);font-size:14px;font-weight:600}
html body.rd .mapctl .recovery-geography p {color:var(--rd-muted);font-size:13px}
html body.rd :is(.chip,.menu>a,.menu>button,.savesearch,.mls,.mm-toggle,.mm-link,.seg button):not(:where(.cover-band,.sh-btn,.sh-back,.sh-toast,[data-save-search-open]),:where(.cover-band,.sh-btn,.sh-back,.sh-toast,[data-save-search-open]) *) {
  min-height:44px;padding:8px 16px;background:var(--rd-card)!important;color:var(--rd-brand)!important;
  border:1px solid var(--rd-line)!important;border-radius:999px!important;box-shadow:none!important;font-weight:500;
}
html body.rd :is(.chip.on,.chip[aria-expanded=true],.seg button[aria-pressed=true],.menu>[aria-current=page]) {
  background:var(--rd-brand)!important;color:#fff!important;border-color:var(--rd-brand)!important;
}
html body.rd .seg {background:transparent;border:0;padding:0;gap:6px}
html body.rd :is(.pop,.mm-dd) {
  border:1px solid var(--rd-line);border-radius:12px;padding:16px;background:var(--rd-card);
  color:var(--rd-ink);box-shadow:0 16px 36px -22px #1f153066;z-index:1250;
}
html body.rd .pop {max-width:calc(100vw - 48px);min-width:0;width:280px}
html body.rd .pop label {min-width:0;gap:10px;font-size:14px}
html body.rd .pop select {max-width:160px;flex:1;min-width:0}
html body.rd .pop fieldset {border:0;padding:0}
html body.rd .searchby {font-weight:600;color:var(--rd-muted)}
html body.rd :is(.search,.jl-search,.cc-search) {box-shadow:none!important}
html body.rd.page.app .results form.search {max-width:none;border:0!important;gap:8px;background:transparent;align-items:stretch;border-radius:0!important}
html body.rd .listsearch {gap:8px;margin:0 0 14px;background:transparent}
html body.rd .listsearch input {width:100%}
html body.rd.page.app .layout[data-view]:not([hidden]):not(.app-off) {
  position:relative!important;inset:auto!important;top:auto!important;left:auto!important;bottom:auto!important;
  width:100%;height:auto!important;min-height:0;max-width:var(--rd-width);margin:0 auto;
  padding:16px 24px 32px;gap:24px;overflow:visible;grid-template-rows:auto!important;align-items:start;
}
html body.rd.page.app[data-v=search] .layout>.results {
  position:relative;inset:auto;width:100%;height:auto;max-height:none;min-height:0;
  padding:0;border:0;background:transparent;contain:none;overflow:visible;box-shadow:none;
}
html body.rd.page.app .results>.homes-scroll {
  overflow:visible;min-height:0;flex:none;padding-bottom:0!important;scrollbar-gutter:auto;
}
html body.rd.page.app[data-v=search] .layout>.mapwrap {
  position:sticky;top:100px;height:calc(100dvh - 124px);min-height:420px;max-height:760px;
  border:1px solid var(--rd-line);border-radius:var(--rd-radius);background:#e7ecea;
}
html body.rd.page.app[data-v=search][data-brand-six-fit] [data-cards].cards,
html body.rd .property-six,html body.rd [data-jtiles] {
  height:auto!important;grid-template-rows:none!important;grid-auto-rows:auto;gap:16px;align-items:stretch;
}
html body.rd.page.app[data-v=search][data-brand-six-fit] [data-cards]>.card {
  height:auto!important;min-height:0!important;overflow:hidden;border:1px solid var(--rd-line)!important;
}
html body.rd.page.app[data-v=search][data-brand-six-fit] [data-cards]>.card>.card-open {border:0!important;border-radius:0;background:transparent!important;color:var(--rd-ink)!important}
html body.rd.page.app[data-v=search][data-brand-six-fit] [data-cards]>.card>.card-open>:is(img,.nophoto) {
  height:180px!important;min-height:180px!important;max-height:none;flex:none;object-fit:cover;
}
html body.rd :is(.property-six-card,.card) :is(.body,.jbody) {padding:12px!important}
html body.rd.page.app[data-v=search][data-brand-six-fit] [data-cards]>li.card .body {padding:12px!important}
html body.rd.page.app[data-v=search][data-brand-six-fit] [data-cards]>li.card .price {font:600 22px/1.3 var(--rd-serif)!important;margin:0 0 4px}
html body.rd.page.app[data-v=search][data-brand-six-fit] [data-cards]>li.card :is(.addr,.addr2) {font:400 14px/1.45 var(--rd-sans)!important;color:var(--rd-ink);margin:2px 0}
html body.rd.page.app[data-v=search][data-brand-six-fit] [data-cards]>li.card .see-more {
  border:1px solid var(--rd-line)!important;border-radius:999px!important;
  background:var(--rd-card)!important;color:var(--rd-brand)!important;
  padding:8px 12px!important;min-height:44px!important;margin-top:10px!important;
  font:600 14px/1.4 var(--rd-sans)!important;box-shadow:none!important;
}
html body.rd :is(.property-six-card,.card) :is(.price,.jlprice) {color:var(--rd-ink);font-family:var(--rd-serif);font-weight:600!important}
html body.rd :is(.property-six-card,.card) :is(.addr,.property-address,.facts,.jladdr) {color:var(--rd-ink);line-height:1.45!important}
html body.rd :is(.property-six-card,.card) :is(.attr,.property-credit,.card-credit) {color:var(--rd-muted);line-height:1.5!important}
html body.rd.page.app [data-cards]>.card .card-credit {padding:0 12px 12px}
html body.rd .property-six-card>a>img,html body.rd .property-six-card .jpic {height:220px!important}
html body.rd .property-more {border-top:1px solid var(--rd-line);padding:8px 12px}
html body.rd.page.app :is([data-cards]>li.card,.jtiles a,.tile,.ccard,.panel,.hoodrow,.fullgallery .photo-stage)::after {content:none!important}
html body.rd .property-six-card>a {border:0!important;border-radius:0!important;background:transparent!important}
html body.rd.page.app .mapwrap::after {
  background:var(--rd-card)!important;color:var(--rd-ink)!important;
  border:1px solid var(--rd-line)!important;border-radius:10px!important;box-shadow:none!important;
  font:600 18px/1.4 var(--rd-serif)!important;animation:none!important;
  top:10px;left:56px;right:10px;min-height:44px;padding:8px 12px;
}
html body.rd.page.app .recovery-map-imagery-note {top:68px;border:1px solid var(--rd-line)!important;min-height:30px}
html body.rd .leaflet-bar {border:1px solid var(--rd-line)!important;box-shadow:none;border-radius:8px}
html body.rd .leaflet-bar a {border-color:var(--rd-line)!important;background:var(--rd-card);color:var(--rd-brand)}
html body.rd :is(.property-more summary,.card .see-more) {color:var(--rd-brand);min-height:44px!important;font-weight:600}
html body.rd .recovery-map-imagery-note {border:1px solid var(--rd-line)!important;border-radius:8px;color:var(--rd-muted);font-family:var(--rd-sans)}
html body.rd [data-recovery-status] {border:1px solid var(--rd-line);border-radius:10px;background:#f5f1e7;color:var(--rd-muted);font:400 15px/1.55 var(--rd-sans)}

/* The pin occupies its own line, never an overlay on navigation or copy. */
html body.rd.page.app a.idx-pin {
  position:relative;inset:auto;left:auto;bottom:auto;transform:none;z-index:auto;
  width:fit-content;max-width:calc(100% - 48px);margin:12px 24px 0;
  min-height:44px;padding:8px 14px!important;border:1px solid var(--rd-line)!important;
  border-radius:999px;background:var(--rd-card);font:500 13px/1.4 var(--rd-sans);color:var(--rd-brand);
}
html body.rd .sitefoot {
  max-width:none;background:var(--rd-ink);border-top:1px solid var(--rd-line);
  color:#ded9e4;padding:36px max(24px,calc((100% - 1132px)/2)) 36px!important;margin:32px 0 0;
  font-size:13px;line-height:1.6;
}
html body.rd .sitefoot :is(.fbrand b,.eho) {color:#fff}
html body.rd .sitefoot a {color:#ded3ed}
html body.rd .sitefoot p {line-height:1.6;max-width:84em}
html body.rd .footband {gap:24px}
html body.rd .rd-mbar {display:none}

@media(min-width:901px) {
  html body.rd.page.app {padding-left:0!important}
  html body.rd .rd-topnav {display:flex}
  /* Keep the original licensed-entity text beneath the single logo/nav row.
     Clip only duplicate controls, leaving source links available to the mirror. */
  html body.rd.page.app nav#choices.apprail {
    position:sticky;inset:auto;top:76px;z-index:1199;width:100%;height:26px;min-height:26px;
    overflow:visible;clip-path:none;margin:0;padding:0 max(24px,calc((100% - var(--rd-width))/2)) 8px;
    background:var(--rd-paper);border:0;border-bottom:1px solid var(--rd-line);
  }
  html body.rd.page.app nav#choices.apprail>ul {
    position:absolute;left:-10000px;top:0;width:232px;height:1px;
    overflow:hidden;clip-path:inset(50%);padding:0;margin:0;
  }
  html body.rd.page.app nav#choices.apprail :is(.rail-brand,.rail-psr>button) {
    position:absolute;left:-10000px;top:0;width:1px;height:1px;min-height:0;
    overflow:hidden;clip-path:inset(50%);visibility:hidden;
  }
  html body.rd.page.app nav#choices.apprail .rail-psr {
    display:block;position:static;margin:0;padding:0;background:transparent;
  }
  html body.rd.page.app nav#choices.apprail .firm-line {
    display:block;visibility:visible;margin:0;padding:0;color:var(--rd-muted);
    font:400 12px/18px var(--rd-sans);text-align:right;white-space:nowrap;
  }
  html body.rd.page.app header.topbar {display:none!important}
  html body.rd .rd-topnav {
    flex-wrap:nowrap;white-space:nowrap;justify-content:space-between;
    padding-inline:max(24px,calc((100% - var(--rd-width))/2));border-bottom:0;
  }
  html:not([data-m=menu]) body.rd.page.app[data-v=search] .layout[data-view]:not([hidden]):not(.app-off) {
    grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)!important;
  }
  html body.rd.page.app[data-v=search] .layout>.results {order:0}
  html body.rd.page.app[data-v=search] .layout>.mapwrap {order:1}
  html body.rd.page.app[data-v=search][data-brand-six-fit] [data-cards].cards {grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body.rd.page.app[data-v=search][data-solo=filters] .mapctl {
    position:relative;inset:auto;top:auto;left:auto;right:auto;max-width:1132px;margin:0 auto;
  }
}
@media(max-width:1100px) and (min-width:901px) {
  html body.rd .rd-topnav {gap:14px;font-size:13px;padding:12px 16px}
  html body.rd.page.app nav#choices.apprail {padding-inline:16px}
}
@media(max-width:900px) {
  html body.rd.page.app {padding-bottom:calc(88px + env(safe-area-inset-bottom))!important}
  html body.rd .band:not(:where(.cover-band,.sh-btn,.sh-back,.sh-toast,[data-save-search-open]),:where(.cover-band,.sh-btn,.sh-back,.sh-toast,[data-save-search-open]) *) {padding:24px 20px 8px}
  html body.rd header.hero {padding:20px 0;margin-bottom:24px}
  html body.rd header.hero .sub {font-size:17px}
  html body.rd .herot {font-size:34px}
  html body.rd .leadform {grid-template-columns:minmax(0,1fr);padding:18px!important}
  html body.rd :is(.ag-bios,.fcwrap) {grid-template-columns:minmax(0,1fr);gap:16px}
  html body.rd :is(.panel,.lfcard,.contactcard,.fc-notice,.contact-showing-request) {padding:18px}
  html body.rd :is(.jl-search,.cc-search) {flex-wrap:wrap}
  html body.rd :is(.jl-search,.cc-search)>input {flex-basis:100%}
  html body.rd .app-mbar {background:var(--rd-paper);border-bottom:1px solid var(--rd-line);gap:6px;padding:8px 12px}
  html body.rd .app-mbar button {background:var(--rd-card);color:var(--rd-brand);border:1px solid var(--rd-line)!important;border-radius:999px;font-weight:500}
  html body.rd.page.app .layout[data-view]:not([hidden]):not(.app-off) {
    grid-template-columns:minmax(0,1fr)!important;padding:16px 20px 24px;
    margin-top:var(--phone-search-top,56px);
  }
  html body.rd.page.app[data-v=search][data-brand-six-fit] [data-cards].cards {grid-template-columns:minmax(0,1fr)!important}
  html body.rd.page.app[data-v=search] .layout>.mapwrap {
    top:0;height:380px;min-height:260px;max-height:none;
  }
  /* Preserve phone-results.js pane visibility and its inert map treatment. */
  html body.rd.page.app[data-v=search]:is([data-phone-search-pane=results],[data-phone-search-pane=search]) .layout>.mapwrap {
    position:absolute;inset:0;height:100%;min-height:0;
  }
  html body.rd.page.app[data-v=search][data-phone-search-pane=map] .layout>.mapwrap {position:relative}
  /* Filters use the full available width, in flow below the existing phone bar. */
  html body.rd.page.app[data-v=search][data-solo=filters] main#main>.mapctl {
    position:relative!important;inset:auto!important;top:auto!important;left:0!important;right:0!important;
    width:100%;max-width:100%;box-sizing:border-box;margin:16px 0 0;
    padding:18px 20px!important;overflow:visible;z-index:1050;
  }
  html body.rd.page.app[data-solo=filters] .layout[data-view]:not([hidden]):not(.app-off) {margin-top:0!important}
  html body.rd.page.app .mapctl .recovery-geography {max-width:100%}
  html body.rd .mapctl .recovery-geography label {flex:1 1 100%;min-width:0}
  html body.rd .mapctl .recovery-geography select {width:100%;min-width:0}
  html body.rd .mapctl .filter {position:relative}
  html body.rd.page.app[data-solo=filters] main#main .mapctl :is(.tright,.tend,.filters) {width:100%;margin-left:0;justify-content:flex-start;gap:10px}
  html body.rd .mapctl .pop {position:static!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;width:100%!important;max-width:100%;min-width:0;margin-top:8px;box-sizing:border-box;box-shadow:none}
  html body.rd .mapctl .filter:has(>.pop:not([hidden])) {width:100%}
  html body.rd .mapctl .pop label {flex-wrap:wrap}
  html body.rd .mapctl .pop select {max-width:100%}
  html[data-m=menu] body.rd.page.app nav#choices.apprail {
    min-height:0;background:transparent;padding:20px 20px 24px;
  }
  html[data-m=menu] body.rd.page.app .app-mtitle {color:var(--rd-ink);font:600 24px/1.25 var(--rd-serif);margin:0 0 20px}
  html[data-m=menu] body.rd.page.app nav#choices.apprail ul {gap:10px}
  html[data-m=menu] body.rd.page.app nav#choices.apprail li>a:not(.leaflet-marker-icon):not([data-home-id]):not(.home-dot):not(.neighborhood-dot) {
    min-height:52px;height:auto;padding:12px 16px;margin:0;background:var(--rd-card);color:var(--rd-brand);
    border:1px solid var(--rd-line)!important;border-radius:12px!important;box-shadow:none!important;font:500 16px/1.4 var(--rd-sans);
  }
  html[data-m=menu] body.rd.page.app nav#choices.apprail li>a[aria-current]:not(.leaflet-marker-icon):not([data-home-id]):not(.home-dot):not(.neighborhood-dot) {
    background:var(--rd-brand);color:#fff;box-shadow:none!important;
  }
  html body.rd .rail-brand {background:transparent!important;gap:16px!important}
  html body.rd .rail-psr {margin-top:24px;color:var(--rd-muted)}
  html body.rd .rail-psr img {max-width:150px;height:auto}
  html body.rd .firm-line {color:var(--rd-muted);font-size:13px;line-height:1.55}
  html body.rd .rd-mbar,html[data-m=menu] body.rd.page.app>nav.rd-mbar:not([hidden]):not(.apprail) {
    display:flex!important;position:fixed;left:0;right:0;bottom:0;z-index:1300;gap:8px;
    padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:var(--rd-paper);
    border-top:1px solid var(--rd-line);
  }
  html body.rd .rd-mbar-btn {
    flex:1;min-width:0;min-height:46px;padding:12px;display:inline-flex;align-items:center;justify-content:center;
    border:1px solid var(--rd-line);border-radius:999px;background:var(--rd-card);
    color:var(--rd-brand);text-decoration:none;font:600 15px/1.4 var(--rd-sans);
  }
  html body.rd .rd-mbar-btn.rd-call {background:var(--rd-brand);border-color:var(--rd-brand);color:#fff}
  html body.rd.page.app:has(article.detail:not([hidden]))>.rd-mbar {display:none!important}
  html body.rd.page.app a.idx-pin {margin:12px 20px 0;max-width:calc(100% - 40px)}
  html:not([data-m=menu]) body.rd.page.app[data-v=search] a.idx-pin {margin-top:calc(var(--phone-search-top,57px) + 12px)}
  html body.rd .sitefoot {padding:28px 20px 28px!important}
  html body.rd.page.app[data-v=search] .layout>.results,
  html body.rd.page.app[data-v=search] .results>.homes-scroll {padding-bottom:calc(88px + env(safe-area-inset-bottom))!important}
  html body.rd.page.app[data-v=search] .layout[data-view]:not([hidden]):not(.app-off) {margin-top:0!important}
}
/* No presentation display rule may revive a hidden node, feature or honeypot. */
html body.rd [hidden],html body.rd .rd-topnav a[hidden],html body.rd .rd-mbar-btn[hidden] {display:none!important}
/* Planner-approved: #map tools use data-solo; the new hero is for landing only. */
html body.rd.page.app.rd-landing[data-solo]:not([data-solo=search])>.rd-hero {display:none!important}
@media(prefers-reduced-motion:reduce) {
  html:has(body.rd) {scroll-behavior:auto}
  html body.rd :is(button,a,input,select,textarea):not(:where(.cover-band,.sh-btn,.sh-back,.sh-toast,[data-save-search-open]),:where(.cover-band,.sh-btn,.sh-back,.sh-toast,[data-save-search-open]) *) {transition:none}
}
/* J2 (BRIEF-J2): personal home copy paths, contact centring, phone one-bar header. Presentation only. */
/* FLAG-3: the brokerage sub-line and address were 832px boxes pinned left inside a centred band. */
html body.rd .agentsband>:is(.ag-broker,.ag-addr) {margin-left:auto!important;margin-right:auto!important}
html body.rd .agentsband>.ag-cta {justify-content:center}
@media(max-width:900px) {
  /* FLAG-A: on phone sub-views, one bar: Back | TD logo | Home. The topbar's couple thumbnail and its
     second "Home" link duplicate the hero photo and the bar's Home button; both stay reachable from the
     Home screen (#choices rail brand + rail list). Search view keeps its own existing bar unchanged. */
  html[data-m=page] body.rd.page.app:not([data-v=search]) {padding-top:60px!important}
  html[data-m=page] body.rd.page.app:not([data-v=search]) .app-mbar {
    position:fixed!important;top:0;left:0;right:0;height:60px;box-sizing:border-box;align-items:center;z-index:1150;margin:0;
  }
  html[data-m=page] body.rd.page.app:not([data-v=search]) header.topbar {
    position:fixed!important;top:0;left:50%;transform:translateX(-50%);z-index:1160;
    display:flex!important;align-items:center;justify-content:center;width:auto;height:60px;min-height:0;
    margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;
  }
  html[data-m=page] body.rd.page.app:not([data-v=search]) header.topbar .brand {display:flex;align-items:center;margin:0;padding:0;gap:0}
  html[data-m=page] body.rd.page.app:not([data-v=search]) header.topbar :is(.brand-zoom-trigger[data-brand-zoom=portrait],.brand-home) {display:none!important}
  html[data-m=page] body.rd.page.app:not([data-v=search]) header.topbar .brand-zoom-trigger[data-brand-zoom=logo] {padding:0;margin:0;border:0!important;background:transparent;min-height:0}
  html[data-m=page] body.rd.page.app:not([data-v=search]) header.topbar .brandlogo {height:40px!important;width:auto;border:0!important;border-radius:6px;display:block}
}
/* B1 (BRIEF-B1): landing hero. Desktop >900px = H1 (search card on the photo, copy + two buttons left).
   Phone/tablet <=900px = W1 (full-bleed photo, headline on a solid ink panel, floating card), shown on the
   phone landing (the #choices menu) above the existing list. Presentation only. */
html body.rd .rd-hero {display:none}
html body.rd .rd-hero-photo>img {display:block;width:100%;height:100%;object-fit:cover;object-position:50% 14%;border:0!important}
html body.rd .rd-hero .rd-eyebrow {margin:0 0 14px;font:600 13px/1.4 var(--rd-sans);letter-spacing:.1em;text-transform:uppercase;color:var(--rd-muted)}
html body.rd .rd-hero h1 {margin:0;font:600 clamp(38px,3.4vw,50px)/1.06 var(--rd-serif);letter-spacing:-.025em;color:var(--rd-ink)}
html body.rd .rd-hero h1 .rd-accent {display:block;color:var(--rd-brand)}
html body.rd .rd-hero .rd-intro {margin:20px 0 0;max-width:26em;font-size:19px;line-height:1.55;color:var(--rd-muted)}
html body.rd .rd-card {box-sizing:border-box;background:var(--rd-card);color:var(--rd-ink);border-radius:20px;padding:6px 22px 18px;box-shadow:0 24px 60px rgba(31,21,48,.18),0 2px 6px rgba(31,21,48,.06)}
html body.rd .rd-tabs {list-style:none;display:flex;gap:4px;margin:0;padding:0;border-bottom:1px solid var(--rd-line)}
html body.rd .rd-tabs>li {margin:0;padding:0}
html body.rd .rd-tabs a {display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 14px;margin-bottom:-1px;border-bottom:3px solid transparent;color:var(--rd-ink);font:600 15px/1.2 var(--rd-sans);text-decoration:none}
html body.rd .rd-tabs a:hover {color:var(--rd-brand);border-bottom-color:var(--rd-brand)}
html body.rd form.rd-search {display:flex;gap:14px;align-items:center;margin:0;padding:16px 0 0;background:transparent;border:0;box-shadow:none}
html body.rd .rd-field {flex:1;min-width:0;display:block;margin:0;border:1.5px solid #857d8c;border-radius:12px;padding:6px 16px 2px;background:#fff;cursor:text}
html body.rd .rd-field:hover {border-color:var(--rd-ink)}
html body.rd .rd-field:focus-within {border-color:var(--rd-brand);outline:3px solid var(--rd-brand);outline-offset:2px}
html body.rd.page form.rd-search label.rd-field>span:first-child {display:block;margin:0 0 2px;font:600 12px/1.3 var(--rd-sans);letter-spacing:.06em;text-transform:uppercase;color:var(--rd-muted)}
html body.rd.page.app form.rd-search label.rd-field>input[type=search]:not([type=hidden]) {display:block;box-sizing:border-box;width:100%;height:40px;min-height:40px;margin:0;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--rd-ink)!important;font:400 17px/1.3 var(--rd-sans)!important;outline:none}
html body.rd.page.app form.rd-search label.rd-field>input[type=search]:not([type=hidden]):focus-visible {outline:none!important}
/* DESIGN-SYSTEM focus: 3px #512888 in the hero (E1's site-wide rule is 2px; left as is outside B1 scope). */
html body.rd section.rd-hero :is(a,button):focus-visible {outline:3px solid var(--rd-brand)!important;outline-offset:3px}
html body.rd .rd-field>input::placeholder {color:#6a6370;opacity:1}
html body.rd form.rd-search>button {flex:none;min-height:56px;padding:0 26px;margin:0;border:2px solid var(--rd-brand);border-radius:999px;background:#fff;color:var(--rd-brand);font:600 16px/1.2 var(--rd-sans);cursor:pointer;box-shadow:none}
html body.rd form.rd-search>button:hover {background:#efe9f6}
html body.rd .rd-quick {display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:14px 0 0;font-size:14px}
html body.rd .rd-quick>span {margin-right:4px;color:var(--rd-muted)}
html body.rd .rd-quick>a {display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border-radius:999px;background:#efe9f6;color:#3d1e66;font-weight:500;text-decoration:none}
html body.rd .rd-quick>a:hover {background:#e3d8f1}
html body.rd .rd-btns {display:flex;flex-wrap:wrap;gap:12px}
html body.rd a.rd-btn {display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:56px;padding:0 28px;border:2px solid var(--rd-brand);border-radius:999px;background:var(--rd-brand);color:#fff;font:600 16px/1.2 var(--rd-sans);text-decoration:none;white-space:nowrap}
html body.rd a.rd-btn:hover {background:var(--rd-brand-hover);border-color:var(--rd-brand-hover)}
html body.rd a.rd-btn.rd-btn-outline {background:transparent;color:var(--rd-brand)}
html body.rd a.rd-btn.rd-btn-outline:hover {background:#efe9f6;border-color:var(--rd-brand)}
html body.rd .rd-note {margin:12px 0 0;font-size:14px;line-height:1.5;color:var(--rd-muted)}
html body.rd section.rd-hero:focus {outline:none}
@media(min-width:901px) {
  html body.rd .rd-hero-top {display:none}
  /* FIXLAP D1: while the hero is on the landing, the live search's submit is outlined, so "Book a showing"
     stays the only solid purple action at any scroll position. Hero hidden (Buy/Rent/... set data-solo)
     = the live Search keeps its solid fill. Function unchanged. */
  html body.rd.page.app.rd-landing:is(:not([data-solo]),[data-solo=search]) form.search[data-search] button[type=submit] {
    background:#fff!important;color:var(--rd-brand)!important;border:2px solid var(--rd-brand)!important;box-shadow:none!important;
  }
  html body.rd.page.app.rd-landing:is(:not([data-solo]),[data-solo=search]) form.search[data-search] button[type=submit]:hover {background:#efe9f6!important}
}
/* FIXLAP D3: H1 desktop scale and placement (>=1101px). Photo on the right edge, faded in from paper; the card
   (760px wide, as H1) sits on the photo's lower part and projects left of it; copy stays on opaque paper. */
@media(min-width:1101px) {
  html body.rd.rd-landing>section.rd-hero {
    --rd-g:max(24px,calc((100vw - 1240px)/2));
    display:block;position:relative;box-sizing:border-box;height:clamp(600px,48.6vw,700px);margin:0;padding:0;overflow:hidden;
  }
  html body.rd .rd-hero-photo {position:absolute;z-index:1;top:0;right:0;bottom:0;width:min(50vw,900px)}
  html body.rd .rd-hero-photo>img {position:absolute;inset:0;object-position:50% 16%;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 18%);mask-image:linear-gradient(90deg,transparent 0,#000 18%)}
  html body.rd .rd-hero-copy {position:relative;z-index:2;padding:48px 0 0 var(--rd-g)}
  html body.rd .rd-hero h1 {font-size:clamp(44px,4.2vw,60px);line-height:1.02;max-width:10.6em}
  html body.rd .rd-hero .rd-intro {max-width:24em}
  html body.rd .rd-hero-actions {position:relative;z-index:2;padding-left:var(--rd-g);margin-top:32px;max-width:calc(30em + var(--rd-g))}
  html body.rd .rd-card {position:absolute;z-index:3;right:max(40px,calc(var(--rd-g) - 36px));bottom:48px;width:min(760px,48vw);margin:0}
}
@media(min-width:1300px) {
  html body.rd .rd-card {width:min(760px,54vw)}
}
@media(max-width:1100px) and (min-width:901px) {
  html body.rd.rd-landing>section.rd-hero {
    display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto 1fr;column-gap:32px;
    box-sizing:border-box;max-width:var(--rd-width);margin:0 auto;padding:20px 24px 24px;
  }
  /* Lap 3 (REVIEW-DESIGN-B1-lap2): the card gets its own row under the photo, so it can never cover a face.
     The photo is a fixed 260px band cropped to the faces; the card overlaps only its bottom 32px (bodies, as in H1). */
  html body.rd .rd-hero-photo {grid-column:2;grid-row:1;align-self:start;position:relative;height:260px;border-radius:22px;overflow:hidden}
  html body.rd .rd-hero-photo>img {position:absolute;inset:0;object-position:50% 16%}
  html body.rd .rd-hero-copy {grid-column:1;grid-row:1;min-width:0;padding-top:12px}
  html body.rd .rd-hero-actions {grid-column:1;grid-row:2;margin-top:28px}
  html body.rd .rd-card {grid-column:2;grid-row:2/4;align-self:start;position:relative;z-index:2;margin:-32px 16px 0;padding:6px 16px 16px}
  html body.rd form.rd-search {flex-wrap:wrap}
  html body.rd form.rd-search>button {flex:1 1 100%}
  html body.rd a.rd-btn {padding:0 22px}
}
@media(max-width:900px) {
  html[data-m=menu] body.rd.page.app>section.rd-hero:not([hidden]) {display:block!important;margin:0;padding:0 0 8px;background:var(--rd-paper)}
  html body.rd .rd-hero-top {display:flex;align-items:center;gap:8px;padding:10px 16px}
  html body.rd .rd-hero-top>img {display:block;height:44px;width:auto;border:0!important;margin-right:auto}
  /* FIXLAP D5: phone first screen has a Call route (outlined text link; Search stays the only filled button). */
  html body.rd a.rd-call-top {display:inline-flex;align-items:center;min-height:44px;padding:0 8px;color:var(--rd-brand);font:600 15px/1.2 var(--rd-sans);text-decoration:underline;text-underline-offset:4px;white-space:nowrap}
  html body.rd a.rd-menu {display:inline-flex;align-items:center;min-height:44px;padding:0 20px;border:1.5px solid var(--rd-brand);border-radius:999px;background:var(--rd-card);color:var(--rd-brand);font:600 15px/1.2 var(--rd-sans);text-decoration:none}
  html body.rd .rd-hero-photo {position:relative;height:clamp(300px,56vw,460px);overflow:hidden}
  html body.rd .rd-hero-copy {position:relative;z-index:1;margin:-88px 12px 0;padding:18px 18px 20px;border-radius:16px;background:var(--rd-ink)}
  html body.rd .rd-hero .rd-eyebrow {margin:0 0 8px;font-size:12px;letter-spacing:.08em;color:#e3d9f2}
  html body.rd .rd-hero h1 {font-size:30px;line-height:1.1;color:#fff}
  html body.rd .rd-hero h1 .rd-accent {display:inline;color:#dccbf5}
  /* FIXLAP S1: the A intro shows at every width (planner ruling). */
  html body.rd .rd-hero .rd-intro {margin-top:10px;font-size:16px;line-height:1.5;color:#ece6f4}
  html body.rd .rd-card {margin:12px 12px 0;padding:4px 16px 16px;border:1px solid var(--rd-line);border-radius:16px;box-shadow:0 12px 32px rgba(31,21,48,.12)}
  html body.rd .rd-tabs {display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
  html body.rd .rd-tabs a {display:flex;width:100%;box-sizing:border-box}
  html body.rd form.rd-search {flex-direction:column;align-items:stretch;gap:10px;padding-top:14px}
  html body.rd form.rd-search>button {min-height:52px;background:var(--rd-brand);color:#fff}
  html body.rd form.rd-search>button:hover {background:var(--rd-brand-hover);border-color:var(--rd-brand-hover)}
  html body.rd .rd-quick {margin-top:12px}
  html body.rd .rd-quick>a {padding:0 14px}
  html body.rd .rd-hero-actions {display:none}
  html body.rd .rd-mbar {transition:transform .2s,visibility .2s}
  html[data-m=menu] body.rd.page.app>nav.rd-mbar.rd-wait {transform:translateY(110%);visibility:hidden}
}
/* FIXLAP D4: tablet keeps >=16px side gutters right down to 641px (auto margins alone gave 0 below 680px). */
@media(max-width:900px) and (min-width:641px) {
  html body.rd .rd-hero-copy,html body.rd .rd-card {box-sizing:border-box;width:calc(100% - 32px);max-width:680px;margin-left:auto;margin-right:auto}
  html body.rd .rd-hero-copy {margin-top:-120px;padding:24px 28px}
  html body.rd .rd-hero h1 {font-size:40px}
  html body.rd .rd-hero .rd-intro {font-size:17px}
}
@media(max-width:360px) {
  html body.rd .rd-hero-top {padding:10px 12px;gap:4px}
  html body.rd .rd-hero-top>img {height:38px}
  html body.rd a.rd-menu {padding:0 14px}
}
@media(prefers-reduced-motion:reduce) {
  html body.rd .rd-mbar {transition:none}
}
/* B2 (BRIEF-B2, option A): the licensed brokerage name sits with every phone number / Call in the header,
   phone top row and phone bar (61J2-10.025(3)(a)); the PSR mark is never smaller than the TD logo and no
   "TD Jones Group" text is larger than the brokerage name in the same view (61J2-10.026(6)). Presentation only. */
html body.rd .rd-firm,html body.rd .rd-firm-top,html body.rd .rd-mbar-firm {color:var(--rd-muted);font:400 13px/16px var(--rd-sans);letter-spacing:0}
html body.rd .sitefoot .fbrand b {font-size:14px}
html body.rd .sitefoot .fbrand .firm-line {font-size:16px;line-height:1.5;color:#ded9e4}
html body.rd .tdj-banner {font-size:12px!important}
@media(min-width:901px) {
  /* One header row. B2 lap 2 (planner ruling): the EXISTING rail firm line stays visible, not as a strip: the rail
     leaves the flow and sits right-aligned in the IDX-pin row under the header (the rail's other parts stay clipped). */
  html body.rd.page.app nav#choices.apprail {
    position:absolute;top:auto;left:auto;right:max(24px,calc((100% - var(--rd-width))/2));z-index:1;
    display:flex;align-items:center;width:auto;max-width:calc(100% - 240px);height:44px;min-height:0;
    margin:12px 0 0;padding:0;border:0;background:transparent;overflow:visible;clip-path:none;
  }
  html body.rd .rd-topnav {border-bottom:1px solid var(--rd-line)}
  html body.rd .rd-topnav>.rd-contact {display:flex;flex-direction:column;align-items:flex-end;justify-content:center;flex:0 1 auto;min-width:9em;white-space:normal;text-align:right}
  html body.rd .rd-contact>a {display:inline-flex;align-items:flex-end;min-height:44px;padding:0;color:var(--rd-brand);font:600 15px/20px var(--rd-sans);text-decoration:none;white-space:nowrap}
  html body.rd .rd-contact>a:hover {text-decoration:underline}
  html body.rd .rd-contact>.rd-firm {display:block;margin-top:1px}
  html body.rd .rd-topnav>a.rd-brand {display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
  html body.rd .rd-topnav>.rd-psr {height:44px;width:auto}
}
@media(min-width:1101px) {
  html body.rd .rd-contact>.rd-firm {white-space:nowrap}
}
@media(max-width:1100px) and (min-width:901px) {
  /* Narrow desktop: tighter row so the name stays on one line from ~970px; below that it wraps to two. */
  html body.rd .rd-topnav {gap:10px;padding-top:8px;padding-bottom:8px}
  html body.rd .rd-contact>a {font-size:13px}
  html body.rd .rd-contact>.rd-firm {font-size:12px;line-height:15px}
  html body.rd .rd-brand>img {height:32px}
  html body.rd .rd-topnav>.rd-psr {height:36px}
}
@media(max-width:900px) {
  /* Phone/tablet landing top row: TD logo | PSR mark (same height) | Menu, with the Call number and the
     brokerage name together (beside each other when they fit, else the name directly below). */
  html body.rd .rd-hero-top {
    display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;grid-template-areas:"td psr . menu" "call call call call";
    align-items:center;column-gap:10px;row-gap:0;padding:10px 16px 6px;
  }
  html body.rd .rd-hero-top>img {grid-area:td;height:44px;width:auto;margin:0}
  html body.rd .rd-hero-top>img.rd-psr-top {grid-area:psr;height:48px;border:0!important}
  html body.rd .rd-hero-top>a.rd-menu {grid-area:menu}
  html body.rd .rd-call-block {grid-area:call;display:flex;flex-wrap:wrap;align-items:baseline;column-gap:10px;min-width:0}
  html body.rd .rd-call-block>a.rd-call-top {padding:0 0 2px;align-items:flex-end}
  html body.rd .rd-call-block>.rd-firm-top {padding-bottom:4px}
  /* Phone menu list: its TD logo is no larger than its PSR mark. */
  html body.rd.page.app nav#choices.apprail .rail-brand .brand-zoom-trigger:has(.rail-logo) {flex:none!important}
  html body.rd.page.app nav#choices.apprail .rail-logo {width:auto!important;height:56px!important;max-width:none}
  html body.rd.page.app nav#choices.apprail .rail-psr .brand-zoom-trigger {width:auto}
  html body.rd.page.app nav#choices.apprail .rail-psr img {width:auto!important;height:60px!important;max-width:none}
  /* Phone sub-view top bar logo, then the bottom bar: PSR mark + name directly above Search By / Call. */
  html[data-m=page] body.rd.page.app:not([data-v=search]) header.topbar .brandlogo {height:36px!important}
  html body.rd .rd-mbar,html[data-m=menu] body.rd.page.app>nav.rd-mbar:not([hidden]):not(.apprail) {flex-wrap:wrap;row-gap:8px;padding-top:8px}
  html body.rd .rd-mbar-firm {flex:1 1 100%;display:flex;align-items:center;justify-content:center;gap:8px;min-width:0}
  html body.rd .rd-mbar-firm>img {flex:none;display:block;height:40px;width:auto;border:0!important}
  html body.rd.page.app {padding-bottom:calc(132px + env(safe-area-inset-bottom))!important}
  html body.rd.page.app[data-v=search] .layout>.results,
  html body.rd.page.app[data-v=search] .results>.homes-scroll {padding-bottom:calc(132px + env(safe-area-inset-bottom))!important}
}
@media(max-width:900px) and (min-width:641px) {
  html body.rd .rd-hero-top {grid-template-columns:auto auto minmax(0,1fr) auto auto;grid-template-areas:"td psr . call menu"}
  html body.rd .rd-call-block {flex-direction:column;align-items:flex-end;text-align:right}
  html body.rd .rd-call-block>a.rd-call-top {min-height:44px;align-items:flex-end}
  html body.rd .rd-call-block>.rd-firm-top {padding-bottom:0}
}
@media(max-width:360px) {
  html body.rd .rd-hero-top {padding:10px 12px 6px;column-gap:6px}
  html body.rd .rd-hero-top>img {height:38px}
  html body.rd .rd-hero-top>img.rd-psr-top {height:42px}
}
/* B2 lap 2 (FIXLAP-B2). 1: the baseline map label (comps.css content "TD Jones Group") is never larger than the
   brokerage name: 12px at every width. 4: at <=900px the fixed bar's Call is the one filled Call; body Call links are
   outlined. 5: the phone sub-view logo button gets a 44x44 hit area (the logo image size is unchanged). */
html body.rd.page.app .mapwrap::after {font-size:12px!important;line-height:1.4!important}
@media(max-width:900px) {
  html body.rd.page :is(.ag-call,.contactcard .call) {background:var(--rd-card)!important;color:var(--rd-brand)!important;border:2px solid var(--rd-brand)!important}
  html[data-m=page] body.rd.page.app:not([data-v=search]) header.topbar .brand-zoom-trigger[data-brand-zoom=logo] {display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
}
/* B3 (BRIEF-B3): transparent TD logo (td-jones-logo-transparent.webp, edge-connected white removed with colour-to-alpha).
   The fenced logos use it as src; outside the fences the original src stays and CSS swaps the rendered image. The rounded
   corners that softened the old white box are dropped. Light backgrounds only (the purple wordmark fails on dark ink). */
html body.rd :is(header.topbar img.brandlogo,nav#choices img.rail-logo,h1.logoh1 .brand-zoom-trigger>img) {content:url(td-jones-logo-transparent.webp)}
html body.rd :is(.brand img.brandlogo,nav#choices img.rail-logo,h1.logoh1 .brand-zoom-trigger>img,.rd-brand>img,.rd-hero-top>img) {border-radius:0!important}
html[data-m=page] body.rd.page.app:not([data-v=search]) header.topbar .brandlogo {border-radius:0!important}
/* B4 (BRIEF-B4): Damorow's headline "Buy or Sell Your Next Home With Toni & Damorow". Two ampersand options on the h1:
   .amp-a (default) = Fraunces' own plain ampersand: the same variable font at optical size 20 (opsz 20 is the largest
   size that still draws the plain form; 24+ draws the swash); .amp-b = Instrument Sans 600 set into the headline.
   Lines are balanced so no single word is left alone on a line. */
html body.rd .rd-hero h1 {text-wrap:balance}
html body.rd .rd-hero h1.amp-a .rd-amp {font-variation-settings:'opsz' 20}
html body.rd .rd-hero h1.amp-b .rd-amp {font-family:var(--rd-sans);font-weight:600;font-size:.86em;letter-spacing:0}
html body.rd .rd-hero h1 .rd-accent {display:block}
@media(min-width:1101px) {
  /* Two lines on desktop: line 1 ends before the photo's left edge, so the type steps down from 60px to <=52px. */
  html body.rd .rd-hero h1 {font-size:clamp(40px,3.5vw,50px);max-width:none}
}
@media(max-width:640px) {
  /* Phone: the purple line "With Toni & Damorow" stays on one line down to 320px (no lone "With"). */
  html body.rd .rd-hero h1 {font-size:clamp(24px,7.5vw,30px)}
}
/* B6: keep the phone number on one line in the call links (inline styles are blocked by the page CSP) */
.tel-nowrap{white-space:nowrap}

/* Owner decision 2026-11-09: on desktop the top navigation already shows the TD Jones logo, phone, PSR logo and the
   broker name, so the cover's own logo/phone row is hidden there. Phones (900px and below) keep it. */
@media(min-width:901px) {
  html body.rd .cover-band .cv-top {display:none}
}

/* v23s5 (2026-11-09): phone cover shows one logo. The phone top bar is hidden on the landing/cover view only. */
@media(max-width:900px){
  html[data-m=page] body.rd.page.app.rd-landing:not([data-v=search]){padding-top:0!important}
  html[data-m=page] body.rd.page.app.rd-landing:not([data-v=search]) header.topbar{display:none!important}
}

/* 11-15 contrast (WCAG AA 4.5:1), colour only: the light Buyer Index card kept the old pale text of the dark card, the #1 chip was too light, and the Market chart headers lost their white. */
html body.rd .tile.hero .tsub,html body.rd .tile.hero .tband{color:#3b2a5e!important}
html body.rd .tile.hero .rank{background:#9a4a14!important;color:#fff!important}
html body.rd .pulse .panel>h3{color:#fff!important}

/* v23u24 (Blake #3): photo-viewport.css makes .layout overflow:hidden, which turns it into the scroll container so the sticky map slid away with the list. clip clips the same but is not a scroll container. Laptop and wider only. */
@media (min-width:901px){html body.rd.page.app[data-v="search"] .layout[data-view]:not([hidden]):not(.app-off){overflow:clip!important}}

/* v23u27 (Blake #4): the "TD Jones Group" box over the top of the map becomes a small tag in the top-right corner (it was a wide white bar over the north edge). */
html body.rd.page.app .mapwrap::after{left:auto!important;right:10px!important;top:10px!important;width:auto!important;min-height:0!important;padding:3px 10px!important;font:600 13px/1.4 var(--rd-serif)!important;border-radius:8px!important}

/* v23u31 (dj 11-23): the TD Jones Group banner sits at the left on the same line as the capture note (it floated loose in the middle column above the first cards). */
html body.rd.page.app .cap-row{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:start;column-gap:12px}
html body.rd.page.app .cap-row .tdj-banner-list{grid-column:1!important;grid-row:1!important;justify-self:start!important;align-self:start;margin:0;padding:0;font-size:12px!important;font-weight:700;white-space:nowrap}
html body.rd.page.app .cap-row .snapdate{grid-column:2!important;grid-row:1!important;justify-self:start}
