/* Shared contact block: Get in touch dialog (panel) and About sign-off (compact). */
.ec-cc{--ec-qr-paper:transparent;--ec-qr-ink:var(--ec-choice,#1d1c1a);--ec-qr-size:112px;color:var(--ink);display:grid;gap:22px;min-width:0}
html[data-ec-appearance=dark] .ec-cc{--ec-qr-paper:#f2eee6;--ec-qr-ink:color-mix(in srgb,var(--ec-choice,#d7b77c) 35%,#191b1d)}
.ec-cc-person{display:flex;align-items:center;gap:18px}
.ec-cc-person img{width:96px;height:96px;border-radius:50%;object-fit:cover;object-position:50% 20%;border:1px solid var(--ec-choice,var(--line))}
.ec-cc-person strong{display:block;font-size:24px;font-weight:500;line-height:1.15}
.ec-cc-person span{display:block;margin-top:4px;font-size:13px;color:var(--stone)}
.ec-cc-rows{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.ec-cc-rows li{display:flex;align-items:center;gap:12px;font-size:15px;line-height:1.4;min-width:0}
.ec-cc-rows a{color:inherit;text-decoration:none;overflow-wrap:anywhere}
.ec-cc-rows a:hover{color:var(--ec-choice)}
.ec-cc-icon{flex:0 0 auto;width:20px;height:20px;color:var(--ec-choice,currentColor)}
.ec-cc-codes{display:flex;flex-wrap:wrap;gap:20px}
.ec-cc-code{margin:0;align-content:start;width:auto;min-width:var(--ec-qr-size);display:grid;gap:8px;justify-items:start}
.ec-cc-qr{display:block;width:var(--ec-qr-size);height:var(--ec-qr-size);box-sizing:border-box;padding:8px;border-radius:12px;background:var(--ec-qr-paper);color:var(--ec-qr-ink);overflow:hidden}
html[data-ec-appearance=dark] .ec-cc-qr{isolation:isolate}
.ec-cc-qr svg{display:block;width:100%;height:100%}
/* Uploaded QR: white becomes the card colour, black becomes the QR ink colour. */
.ec-cc-ink{display:block;width:100%;height:100%;background:var(--ec-qr-ink);mix-blend-mode:multiply}
.ec-cc-ink img{display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:lighten;filter:grayscale(1) contrast(1.6)}
.ec-cc-code figcaption{display:grid;gap:3px;font-size:13px;line-height:1.35;min-width:0;width:100%}
.ec-cc-kind{display:flex;align-items:center;gap:6px;color:var(--stone);font-size:12px}
.ec-cc-kind .ec-cc-icon{width:15px;height:15px}
.ec-cc-id{display:flex;align-items:center;gap:4px;min-width:0}
.ec-cc-id>span,.ec-cc-id>a{white-space:nowrap;color:inherit;text-decoration:none;min-width:0}
.ec-cc-copy{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;padding:0;border:0;background:transparent;color:var(--ec-choice,currentColor);cursor:pointer;opacity:.8;border-radius:4px}
.ec-cc-copy:hover,.ec-cc-copy:focus-visible{opacity:1}
.ec-cc-copy .ec-cc-icon{width:14px;height:14px}
.ec-cc .ec-social-links{margin:0;gap:10px}
.ec-cc-toast{position:fixed;left:50%;bottom:32px;transform:translate(-50%,12px);opacity:0;z-index:100000;padding:10px 16px;border-radius:8px;background:var(--ink);color:var(--ivory);font-size:14px;transition:opacity .25s,transform .25s;pointer-events:none}
.ec-cc-toast.is-on{opacity:1;transform:translate(-50%,0)}
/* Dialog left column */
#ec-contact-dialog .contact-copy.ec-cc-host{display:flex;flex-direction:column;justify-content:flex-start}
/* About sign-off: smaller */
.ec-cc--compact{--ec-qr-size:92px;gap:16px;margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}
.ec-cc--compact .ec-cc-rows{gap:8px}
.ec-cc--compact .ec-cc-rows li{font-size:14px;gap:10px}
.ec-cc--compact .ec-cc-icon{width:17px;height:17px}
.ec-cc--compact .ec-cc-codes{gap:16px}
.ec-cc--compact .ec-cc-qr{padding:8px;border-radius:10px}
.ec-cc--compact .ec-social-links a{width:34px;height:34px}
.ec-cc--compact .ec-social-links .ec-social-icon{width:17px;height:17px}
/* Listing detail pages: WeChat + WhatsApp only, under the action buttons */
.ec-cc--codes{--ec-qr-size:104px;gap:12px;margin-top:20px}
.ec-cc-lead{margin:0;font-size:13px;color:var(--stone)}
.ec-cc--codes .ec-cc-codes{gap:18px}
.ec-cc--codes .ec-cc-qr{padding:8px;border-radius:10px}
@media(max-width:480px){.ec-cc{--ec-qr-size:104px}.ec-cc-codes{gap:14px}}
/* Get in touch submit buttons follow the primary colour on every page (the old rule fell back to blue where --ec-accent was not set). */
html #ec-contact-dialog .mrs-form [type=submit],html #ec-contact-dialog .inquiry-form [type=submit]{background:var(--ec-choice,var(--ink))!important;border-color:var(--ec-choice,var(--ink))!important;color:var(--ec-choice-ink,var(--ivory))!important}
html #ec-contact-dialog .mrs-form [type=submit]:hover,html #ec-contact-dialog .inquiry-form [type=submit]:hover{filter:brightness(1.08)}
/* Get in touch: fit without a scrollbar on desktop. A bit taller where the screen allows, tighter form spacing, and no visible scrollbar on very short screens (wheel/touch still scroll). */
@media(min-width:761px){html #ec-contact-dialog{height:min(820px,calc(100dvh - 32px))}
html #ec-contact-dialog [data-ec-contact-panel],html #ec-contact-dialog .contact-copy{scrollbar-gutter:auto;scrollbar-width:none}
html #ec-contact-dialog [data-ec-contact-panel]::-webkit-scrollbar,html #ec-contact-dialog .contact-copy::-webkit-scrollbar{display:none}
html #ec-contact-dialog label{margin-bottom:8px}
html #ec-contact-dialog textarea{min-height:56px;height:56px}
html #ec-contact-dialog h3{margin:6px 0 8px}
html #ec-contact-dialog .mrs-help,html #ec-contact-dialog .small{margin:5px 0}}
@media(min-width:761px) and (max-height:820px){html #ec-contact-dialog input:not([type=checkbox]),html #ec-contact-dialog select{min-height:30px !important;height:30px !important;padding:4px 10px !important;margin-top:3px !important}
html #ec-contact-dialog label{margin-bottom:5px !important}
html #ec-contact-dialog textarea{min-height:44px !important;height:44px !important;margin-top:3px !important}
html #ec-contact-dialog h3{font-size:19px !important;margin:2px 0 6px !important}
html #ec-contact-dialog .ec-contact-tabs{margin-bottom:8px !important}
html #ec-contact-dialog .ec-contact-tabs button,html #ec-contact-dialog [type=submit]{min-height:32px !important;padding:6px 12px !important}}

html #ec-contact-dialog .mrs-status:empty{display:none}
/* Meet Edith (option B): photo as tall as the text; contact rows on the left, both QR codes right next to them */
@media(min-width:851px){.coast-about:has(.ec-cc--compact){align-items:stretch}
.coast-about:has(.ec-cc--compact) .coast-about-photo{align-self:stretch!important;height:auto!important;display:grid;grid-template-rows:minmax(0,1fr) auto;margin:0}
.coast-about:has(.ec-cc--compact) .coast-about-photo img{height:100%!important;max-height:none!important;min-height:0;aspect-ratio:auto}
.coast-about:has(.ec-cc--compact) .coast-about-copy{justify-content:center;gap:22px}
.coast-about:has(.ec-cc--compact) .ec-cc--compact{grid-template-columns:auto auto;justify-content:start;grid-template-areas:"rows codes" "social codes";column-gap:48px;row-gap:14px;align-items:start}
.coast-about:has(.ec-cc--compact) .ec-cc--compact .ec-cc-rows{grid-area:rows}
.coast-about:has(.ec-cc--compact) .ec-cc--compact .ec-cc-codes{grid-area:codes;flex-wrap:nowrap}
.coast-about:has(.ec-cc--compact) .ec-cc--compact .ec-social-links{grid-area:social}}
@media(min-width:851px) and (max-width:1279px){.coast-about:has(.ec-cc--compact) .ec-cc--compact{grid-template-columns:auto;grid-template-areas:"rows" "codes" "social"}}

/* Social icons: official brand glyphs, no outline circle, in the primary colour */
.ec-social-links{display:flex;flex-wrap:wrap;gap:6px}
.ec-social-links a{width:46px!important;height:46px!important;border:0!important;border-radius:10px!important;opacity:.92}
.ec-social-links .ec-social-icon{width:30px!important;height:30px!important}
.ec-social-links a:hover,.ec-social-links a:focus-visible{opacity:1;background:color-mix(in srgb,var(--ec-choice,currentColor) 12%,transparent)}
.ec-social-links a:first-child{margin-left:-8px}

/* Footer: phone and email, then one clean row of social icons; small QR codes under service area */
.site-footer .footer-contact-row{display:grid;gap:18px;justify-items:start;margin-top:6px}
.site-footer .footer-contact-lines{display:grid;gap:6px}
.site-footer .footer-contact-lines p{margin:0}
.site-footer .footer-contact-row .ec-social-links{margin:0}
.site-footer .footer-reach{display:grid;gap:18px;align-content:start}
.ec-cc--footer{--ec-qr-size:76px;gap:0}
.ec-cc--footer .ec-cc-codes{gap:20px}
.ec-cc--footer .ec-cc-qr{padding:5px;border-radius:8px}
.ec-cc--footer .ec-cc-code figcaption{font-size:12px}
@media(min-width:1101px){.site-footer .footer-reach{margin-right:max(0px,calc(80px - var(--ec-header-gutter,40px)))}}

/* Headline back on the contact panel (dialog and #contact) */
.ec-cc .ec-cc-headline{white-space:pre-line;margin:0;text-wrap:balance}
html #ec-contact-dialog .ec-cc .ec-cc-headline{font-size:clamp(26px,2.6vw,34px);line-height:1.08;margin:0 0 4px}

/* WeChat / WhatsApp labels under the codes: clearly visible brand glyphs */
.ec-cc-kind{gap:7px;font-size:13px;font-weight:500;color:var(--ink)}
.ec-cc-kind .ec-cc-icon{width:20px!important;height:20px!important;flex:none;color:var(--ec-choice,currentColor)}

/* Larger social marks in Meet Edith and the footer. */
.coast-about .ec-social-links a,.site-footer .ec-social-links a{width:54px!important;height:54px!important}
.coast-about .ec-social-links .ec-social-icon,.site-footer .ec-social-links .ec-social-icon{width:36px!important;height:36px!important}

.coast-about .ec-social-links a:first-child,.site-footer .ec-social-links a:first-child{margin-left:0}
@media(max-width:600px){.coast-about .ec-social-links,.site-footer .ec-social-links{gap:0}}

/* Footer: right column sits on the right content edge and starts level with the other columns */
@media(min-width:761px){.site-footer .footer-reach{justify-self:end;margin-right:0!important}}
.site-footer .footer-reach>p:first-child{margin-top:0}
/* WeChat ID (with copy button) and WhatsApp number share one row height, so both lines line up */
.ec-cc-id{min-height:22px}
/* Footer: contact column grouped with the right column (fixed gap), both on the right; logo stays left */
@media(min-width:1100px){.site-footer .footer-main{grid-template-columns:auto minmax(0,1fr) auto;column-gap:clamp(96px,9vw,150px)}
.site-footer .footer-main>div:not(.footer-reach){justify-self:end}}
/* Meet Edith: portrait keeps a natural 4:5 ratio (no longer stretched to the text height); track record stays inside the column; links in the primary colour */
@media(min-width:851px){body.ec-home .coast-about:has(.ec-cc--compact) .coast-about-photo{align-self:start!important;display:block;max-width:min(100%,520px)}
body.ec-home .coast-about:has(.ec-cc--compact) .coast-about-photo img{height:auto!important;aspect-ratio:4/5!important}}
.coast-about-copy .sold-home-stats{align-self:stretch;width:100%;min-width:0;box-sizing:border-box}
.coast-about-copy .sold-home-stats .sold-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
.coast-about-copy .sold-home-stats .sold-stats>div{min-width:0}
.coast-about-copy .sold-home-stats dt{overflow-wrap:anywhere}
@media(min-width:1400px){.coast-about-copy .sold-home-stats .sold-stats{grid-template-columns:repeat(4,minmax(0,1fr))}}
html body .coast-about-copy>.ec-about-consultation{color:var(--ec-choice,var(--ink));border-bottom-color:currentColor}
html body .coast-about-copy .sold-home-note a{color:var(--ec-choice,var(--ink))}
html body .coast-about-copy .sold-home-note{font-size:15px;line-height:1.6}
/* About: keep all six social icons on one row next to the QR codes (2026-11-22) */
@media(min-width:851px){.coast-about .ec-cc--compact .ec-social-links{flex-wrap:nowrap;gap:6px}}
/* Meet Edith (homepage, desktop): portrait fills the height of the text column instead of a short 4:5 box; narrower gap. */
@media(min-width:851px){
body:is(.ec-home,.ec-about-page) .coast-about:has(.ec-cc--compact){column-gap:clamp(32px,4vw,64px);align-items:stretch}
body:is(.ec-home,.ec-about-page) .coast-about:has(.ec-cc--compact) .coast-about-photo{grid-column:1/6;align-self:stretch!important;max-width:none;display:flex;flex-direction:column;margin:0}
body:is(.ec-home,.ec-about-page) .coast-about:has(.ec-cc--compact) .coast-about-photo img{flex:1 1 0;height:auto!important;min-height:520px;width:100%;aspect-ratio:auto!important;object-fit:cover;object-position:50% 18%}
body:is(.ec-home,.ec-about-page) .coast-about:has(.ec-cc--compact) .coast-about-copy{grid-column:6/13}
}

/* Meet Edith page: same portrait sizing as on the homepage; the section starts right under the header. */
body.ec-about-page .coast-about{padding-top:clamp(40px,5vw,72px)}
@media(min-width:851px){body.ec-about-page .coast-about:has(.ec-cc--compact) .coast-about-photo{display:flex}}
/* Floating contact button: same size as the other floating buttons, stacked above them, in the visitor's accent colour. */
.ec-contact-fab{position:fixed;right:16px;bottom:calc(180px + env(safe-area-inset-bottom,0px));z-index:86;display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;background:var(--ec-primary,#79550f);color:var(--ec-primary-ink,#fff);box-shadow:0 6px 18px rgba(0,0,0,.22);text-decoration:none;transition:transform .2s ease,filter .2s ease}
.ec-contact-fab:hover{transform:translateY(-2px);filter:brightness(1.08)}
.ec-contact-fab:focus-visible{outline:2px solid var(--ec-primary,#79550f);outline-offset:3px}
body.mr-pricing-page .ec-contact-fab{display:none}
@media print{.ec-contact-fab{display:none}}
/* Phone homepage already shows the bottom contact bar; hide the floating button there so it never overlaps. */
/* Square like the two floating buttons below it (same size, corners and right edge). */
.ec-contact-fab{border-radius:var(--ec-fab-radius,0)}

/* Floating buttons as one set: Contact (phone), My list (+), Ask AI (sparkle). Same square, accent fill, icon size, shadow and hover lift. */
.ec-contact-fab,#mr-interests .mri-launch,#mr-ai-widget .mrai-launch{width:48px!important;height:48px!important;min-height:48px!important;padding:0!important;display:inline-flex!important;align-items:center;justify-content:center;border:0!important;border-radius:0!important;background:var(--ec-primary,#79550f)!important;color:var(--ec-primary-ink,#fff)!important;box-shadow:0 6px 16px rgba(0,0,0,.18)!important;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease!important}
.ec-contact-fab:hover,#mr-interests .mri-launch:hover,#mr-ai-widget .mrai-launch:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(0,0,0,.24)!important;filter:brightness(1.06)}
.ec-contact-fab svg,#mr-interests .mri-launch svg,#mr-ai-widget .mrai-launch svg{width:22px;height:22px;flex:none}
#mr-interests .mri-launch .mri-count-badge{background:var(--ink,#1d1c1a);color:var(--ivory,#f2eee6)}
html[data-ec-appearance=dark] #mr-interests .mri-launch .mri-count-badge{background:var(--ivory,#f2eee6);color:#1d1c1a}
#mr-ai-widget .mrai-launch .mrai-ai-mark{font:800 17px/1 Manrope,"Microsoft YaHei",sans-serif;letter-spacing:.04em}

/* Listing action icons (cards, detail pages): + Interested, heart Save (filled when saved), bell Alerts, calendar Viewing. */
.ec-property-actions [data-mri-id]{--ec-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M4%206h11M4%2011h11M4%2016h7M18%2013v7M14.5%2016.5h7'/%3E%3C/svg%3E")}
.ec-property-actions :is([data-mrm-favorite],[data-mrm-favorite-login]){--ec-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%2020.5s-7.5-4.6-9.4-9.2C1.2%207.8%203.3%204.5%206.8%204.5c2%200%203.5%201.1%205.2%203%201.7-1.9%203.2-3%205.2-3%203.5%200%205.6%203.3%204.2%206.8-1.9%204.6-9.4%209.2-9.4%209.2z'/%3E%3C/svg%3E")}
.ec-property-actions [data-mrm-favorite][aria-pressed=true]{--ec-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='black'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%2020.5s-7.5-4.6-9.4-9.2C1.2%207.8%203.3%204.5%206.8%204.5c2%200%203.5%201.1%205.2%203%201.7-1.9%203.2-3%205.2-3%203.5%200%205.6%203.3%204.2%206.8-1.9%204.6-9.4%209.2-9.4%209.2z'/%3E%3C/svg%3E")}
.ec-property-actions :is([data-mrm-watch],[data-mrm-watch-login]){--ec-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M6%208a6%206%200%200%201%2012%200c0%207%203%208%203%208H3s3-1%203-8'/%3E%3Cpath%20d='M10.3%2021a1.9%201.9%200%200%200%203.4%200'/%3E%3C/svg%3E")}
.ec-property-actions :is(button,.ec-card-viewing):hover{border-color:var(--ec-primary);color:var(--ec-primary)}
.ec-property-actions [data-mri-id][aria-pressed=true],html[data-ec-accent] .ec-property-actions [data-mri-id][aria-pressed=true],.ec-property-actions [data-mrm-favorite][aria-pressed=true],html[data-ec-accent] button[data-mrm-favorite][aria-pressed=true]{background:transparent!important;border-color:var(--ec-primary)!important;color:var(--ec-primary)!important}

/* Floating set, option A (kevin): square buttons with a small label under each icon. */
.ec-contact-fab,html body #mr-interests .mri-launch,html body #mr-ai-widget .mrai-launch{width:56px!important;height:56px!important;min-height:56px!important;flex-direction:column!important;gap:3px!important;padding:0!important}
.ec-contact-fab svg,#mr-interests .mri-launch svg{width:20px!important;height:20px!important}
.ec-fab-label{display:block;font:600 9.5px/1 Manrope,"Microsoft YaHei","PingFang SC",sans-serif;letter-spacing:.01em;white-space:nowrap}
#mr-ai-widget .mrai-launch .mrai-ai-mark{font:800 16px/1 Manrope,sans-serif!important}
#mr-ai-widget .mrai-launch{bottom:calc(56px + env(safe-area-inset-bottom,0px))!important;right:16px!important}
#mr-interests .mri-launch{bottom:calc(120px + env(safe-area-inset-bottom,0px))!important;right:16px!important;top:auto!important;left:auto!important}
.ec-contact-fab{bottom:calc(184px + env(safe-area-inset-bottom,0px))!important}
/* Count: bright red with white number, fully inside the button. */
#mr-interests .mri-launch .mri-count-badge,html[data-ec-appearance=dark] #mr-interests .mri-launch .mri-count-badge{inset:4px 4px auto auto!important;min-width:18px;height:18px;padding:0 5px;border:0;border-radius:9px;background:#e5484d!important;color:#fff!important;font:700 11px/18px Manrope,sans-serif;box-shadow:0 0 0 2px var(--ec-primary,#79550f)}
#mr-interests .mri-launch .mri-count-badge.mri-pop{animation:mri-pop .5s ease}
@keyframes mri-pop{0%{transform:scale(1)}35%{transform:scale(1.5)}65%{transform:scale(.9)}100%{transform:scale(1)}}
.mri-launch.mri-glow{animation:mri-glow .9s ease!important}
@keyframes mri-glow{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--ec-primary) 70%,transparent)}60%{box-shadow:0 0 0 14px color-mix(in srgb,var(--ec-primary) 0%,transparent)}100%{box-shadow:0 6px 16px rgba(0,0,0,.18)}}
.mri-fly{width:40px!important;height:40px!important}
.mri-fly svg{width:40px!important;height:40px!important}

html body #mr-interests .mri-launch,html body #mr-ai-widget .mrai-launch{max-width:none!important;min-width:56px!important}
#mr-ai-widget .mrai-launch .mrai-ai-mark{display:block;line-height:0!important;font-size:0!important}#mr-ai-widget .mrai-launch .mrai-ai-mark svg{width:20px;height:20px;display:block}

/* Floating set, option C (kevin, replaces A): round, outlined in the accent, icon only with the name on hover.
   The My list button fills with the accent once it holds items. */
.ec-contact-fab,html body #mr-interests .mri-launch,html body #mr-ai-widget .mrai-launch{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;border-radius:50%!important;background:var(--ivory,#f2eee6)!important;color:var(--ec-primary,#79550f)!important;border:1.25px solid var(--ec-primary,#79550f)!important;box-shadow:0 4px 12px rgba(0,0,0,.16)!important;flex-direction:row!important;gap:0!important}
.ec-contact-fab .ec-fab-label,html body #mr-interests .mri-launch .ec-fab-label,html body #mr-ai-widget .mrai-launch .ec-fab-label{display:none!important}
.ec-contact-fab svg,html body #mr-interests .mri-launch svg,html body #mr-ai-widget .mrai-launch svg,html body #mr-ai-widget .mrai-launch .mrai-ai-mark svg{width:18px!important;height:18px!important;min-width:0!important;min-height:0!important;stroke-width:1.6;flex:none}
html body #mr-interests .mri-launch:has(.mri-count-badge:not(:empty)):not(:has(.mri-count-badge[data-zero])){background:var(--ec-primary,#79550f)!important;color:var(--ec-primary-ink,#fff)!important}
.ec-contact-fab:hover,html body #mr-interests .mri-launch:hover,html body #mr-ai-widget .mrai-launch:hover{background:var(--ec-primary,#79550f)!important;color:var(--ec-primary-ink,#fff)!important;transform:translateY(-2px)}
html body #mr-interests .mri-launch .mri-count-badge,html[data-ec-appearance=dark] body #mr-interests .mri-launch .mri-count-badge{inset:-3px -3px auto auto!important;box-shadow:0 0 0 2px var(--ivory,#f2eee6)!important}
/* Even 52px step from the bottom (kevin 2026-11-24): Assistant 60, My list 112, Contact 164; the homepage music button sits at 216. */
#mr-ai-widget .mrai-launch{bottom:calc(60px + env(safe-area-inset-bottom,0px))!important}
#mr-interests .mri-launch{bottom:calc(112px + env(safe-area-inset-bottom,0px))!important}
.ec-contact-fab{bottom:calc(164px + env(safe-area-inset-bottom,0px))!important}
/* Phones: 44px for the tap target, same 52px step. */
@media(max-width:540px){.ec-contact-fab,html body #mr-interests .mri-launch,html body #mr-ai-widget .mrai-launch{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}.ec-contact-fab svg,html body #mr-interests .mri-launch svg,html body #mr-ai-widget .mrai-launch svg,html body #mr-ai-widget .mrai-launch .mrai-ai-mark svg{width:19px!important;height:19px!important}}
.mri-launch.mri-glow{animation:mri-glow-round .9s ease!important}
@keyframes mri-glow-round{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--ec-primary) 70%,transparent)}60%{box-shadow:0 0 0 16px color-mix(in srgb,var(--ec-primary) 0%,transparent)}100%{box-shadow:0 4px 12px rgba(0,0,0,.16)}}
html body #mr-interests .mri-launch .mri-count-badge[data-zero]{display:none!important}
/* Count without red (kevin): ink circle with page-colour number, ring in the page colour. */
html body #mr-interests .mri-launch .mri-count-badge,html[data-ec-appearance=dark] body #mr-interests .mri-launch .mri-count-badge{background:var(--ink,#1d1c1a)!important;color:var(--ivory,#f2eee6)!important}
/* Smaller count badge for the 42px button: 16px tall, 10px digits, room for "9+". */
html body #mr-interests .mri-launch .mri-count-badge,html[data-ec-appearance=dark] body #mr-interests .mri-launch .mri-count-badge{inset:-4px -4px auto auto!important;min-width:16px!important;height:16px!important;padding:0 4px!important;border-radius:8px!important;box-sizing:border-box!important;font:700 10px/16px Manrope,system-ui,sans-serif!important;letter-spacing:0!important;display:inline-flex!important;align-items:center;justify-content:center;font-variant-numeric:tabular-nums}
html body #mr-interests .mri-launch .mri-count-badge[data-zero],html body #mr-interests .mri-launch .mri-count-badge:empty{display:none!important}

/* Alerts bell: filled accent when alerts are on for this listing (toggles off on a second click). */
.ec-property-actions [data-mrm-watch][aria-pressed=true]{--ec-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='black'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M6%208a6%206%200%200%201%2012%200c0%207%203%208%203%208H3s3-1%203-8'/%3E%3Cpath%20d='M10.3%2021a1.9%201.9%200%200%200%203.4%200'%20fill='none'/%3E%3C/svg%3E");border-color:var(--ec-primary)!important;color:var(--ec-primary)!important;background:transparent!important}
/* Full-screen map (z-index 5000): keep all three floating buttons above it, nudged left of the map's own zoom controls. */
body:has(.catalog-browse.mr-map-expanded) :is(.ec-contact-fab,#mr-interests .mri-launch,#mr-ai-widget .mrai-launch){z-index:6000!important}
body:has(.catalog-browse.mr-map-expanded) #mr-interests,body:has(.catalog-browse.mr-map-expanded) #mr-ai-widget{position:relative;z-index:6000}

/* The homepage bottom contact bar only exists on phones (<=540px); its "is-visible" class also toggles on desktop while
   scrolling, which used to lift two buttons onto the third. Only react to it where the bar is actually shown. */
@media(max-width:540px){
body:has(.mobile-contact-bar.is-visible) .ec-contact-fab{display:none!important}
body:has(.mobile-contact-bar.is-visible) #mr-ai-widget .mrai-launch{bottom:calc(122px + env(safe-area-inset-bottom,0px))!important}
body:has(.mobile-contact-bar.is-visible) #mr-interests .mri-launch{bottom:calc(174px + env(safe-area-inset-bottom,0px))!important}
}
/* Full-screen map: sit at the right edge of the map, left of the results list (the list is 340-424px wide). */
body:has(.catalog-browse.mr-map-expanded) :is(.ec-contact-fab,#mr-interests .mri-launch,#mr-ai-widget .mrai-launch){right:calc(clamp(340px,29.4vw,424px) + 16px)!important}
@media(max-width:900px){body:has(.catalog-browse.mr-map-expanded) :is(.ec-contact-fab,#mr-interests .mri-launch,#mr-ai-widget .mrai-launch){right:16px!important}}

/* Meet Edith portrait (kevin, laptop): a steady 4:5 head-and-shoulders crop that never zooms in, kept in view while
   the text column scrolls. Replaces the earlier "stretch to the text height" rule. */
@media(min-width:851px){
body:is(.ec-home,.ec-about-page) .coast-about:has(.ec-cc--compact) .coast-about-photo{align-self:start!important;position:sticky;top:112px;display:block!important}
body:is(.ec-home,.ec-about-page) .coast-about:has(.ec-cc--compact) .coast-about-photo img{flex:none!important;width:100%!important;height:auto!important;min-height:0!important;max-height:calc(100vh - 160px);aspect-ratio:4/5!important;object-fit:cover;object-position:50% 20%}
}

/* Keep page content clear of the floating buttons at laptop widths (they take the right 16px + 50px). On wide screens
   the margin outside the 1600px layout is already enough, so this becomes 0. */
@media(min-width:761px){
body>main{margin-right:calc(max(0px,74px - var(--ec-header-gutter,40px) - (100vw - min(100vw,1600px)) / 2))}
.site-footer>.footer-main,.site-footer>.footer-notes{margin-right:calc(max(0px,74px - var(--ec-header-gutter,40px) - (100vw - min(100vw,1600px)) / 2))}
}

/* Track record: the three small figures stay in one row under the $1.97 Billion lead, at every desktop width. */
@media(min-width:641px){html body .sold-home-stats .sold-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}html body .sold-home-stats .sold-stats .sold-stat-lead{grid-column:1/-1}}

/* Leave a message → "Prefer to pick a time? Book a consultation" */
.ec-contact-alt{margin:20px 0 0;padding-top:16px;border-top:1px solid var(--line,#d3cbbd);font-size:14px;color:var(--stone,#5d5850)}
.ec-contact-alt a{color:var(--ec-choice,var(--ink,#1d1c1a));font-weight:600;text-decoration:underline;text-underline-offset:4px;white-space:nowrap}
/* Get in touch: three equal tabs; booking form loads in a frame sized to its content. */
#ec-contact-dialog .ec-contact-tabs button[data-ec-contact-tab]{flex:1 1 0;font-weight:600}
.ec-booking-frame{display:block;width:100%;height:520px;border:0;background:transparent}
[data-ec-contact-panel=booking] .ec-booking-loading[hidden]{display:none}
/* Narrower contact column so the three tabs and the booking form get the room. */
@media(min-width:901px){
html body #ec-contact-dialog .contact-section{grid-template-columns:minmax(0,.62fr) minmax(0,1.38fr)!important;gap:28px!important}
html body #ec-contact-dialog .ec-cc-headline{font-size:clamp(24px,2.2vw,32px);margin-bottom:16px}
html body #ec-contact-dialog .ec-cc-person img{width:64px;height:64px}
html body #ec-contact-dialog .ec-cc-codes{gap:12px}
}
/* The tab already says "Book a consultation": drop the repeated heading so the form fits. */
#ec-contact-dialog [data-ec-contact-panel=booking]>h3,#ec-contact-dialog [data-ec-contact-panel=booking]>p.small:not(.ec-booking-loading){display:none}
/* Get in touch left column: QR codes always side by side, tighter spacing so it is no taller than the forms. */
@media(min-width:901px){
html body #ec-contact-dialog .ec-cc{gap:14px}
html body #ec-contact-dialog .ec-cc-headline{margin-bottom:4px}
html body #ec-contact-dialog .ec-cc-rows{gap:8px}
html body #ec-contact-dialog .ec-cc-rows li{font-size:14px}
html body #ec-contact-dialog .ec-cc-codes{flex-wrap:nowrap;gap:14px}
html body #ec-contact-dialog .ec-cc-code{flex:0 1 var(--ec-qr-size);width:var(--ec-qr-size);min-width:0}
html body #ec-contact-dialog .ec-cc-code figcaption{font-size:12px}
html body #ec-contact-dialog .ec-cc-code .ec-cc-id{overflow-wrap:anywhere}
html body #ec-contact-dialog .ec-social-links{margin:0}
html body #ec-contact-dialog .contact-section{align-items:stretch}
}
/* Dialog height follows the content (left column or the open tab, whichever is taller) instead of a fixed height. */
@media(min-width:761px){
html body #ec-contact-dialog{height:fit-content!important;max-height:calc(100dvh - 32px);margin-block:auto!important;overflow:auto!important}
html body #ec-contact-dialog .contact-section{height:auto!important}
html body #ec-contact-dialog .contact-form-wrap{height:auto!important}
}
/* Right column breathes a little more: taller fields, more space between rows. */
@media(min-width:901px){
html body #ec-contact-dialog .ec-contact-tabs{margin-bottom:20px}
html body #ec-contact-dialog .ec-contact-tabs button{min-height:44px!important}
html body #ec-contact-dialog [data-ec-contact-panel] h3{margin:0 0 10px}
html body #ec-contact-dialog [data-ec-contact-panel] label{margin:0 0 12px;font-size:13px}
html body #ec-contact-dialog [data-ec-contact-panel] input:not([type=checkbox]),html body #ec-contact-dialog [data-ec-contact-panel] select{height:42px!important;min-height:42px!important;padding:8px 12px!important;margin-top:6px!important;font-size:14px}
html body #ec-contact-dialog [data-ec-contact-panel] textarea{height:88px;min-height:88px;margin-top:6px;font-size:14px}
html body #ec-contact-dialog [data-ec-contact-panel=sell] textarea{height:56px;min-height:56px}
html body #ec-contact-dialog [data-ec-contact-panel] .mrs-help,html body #ec-contact-dialog [data-ec-contact-panel] .small{font-size:12px;margin:10px 0}
html body #ec-contact-dialog [data-ec-contact-panel] [type=submit]{min-height:46px!important;padding:12px 22px!important;font-size:14px!important;margin-top:6px}
}
/* All three tabs share one height (the tallest, Home valuation); shorter tabs stretch their message box so the button sits at the bottom. */
@media(min-width:901px){
html body #ec-contact-dialog{height:min(760px,calc(100dvh - 32px))!important}
html body #ec-contact-dialog .contact-section{height:100%!important}
html body #ec-contact-dialog .contact-form-wrap{height:100%!important;display:flex;flex-direction:column;min-height:0}
html body #ec-contact-dialog [data-ec-contact-panel]:not([hidden]){flex:1 1 auto;display:flex;flex-direction:column;min-height:0}
html body #ec-contact-dialog [data-ec-contact-panel=inquiry] .inquiry-form{flex:1 1 auto;display:flex;flex-direction:column;min-height:0}
html body #ec-contact-dialog [data-ec-contact-panel=inquiry] .inquiry-form label:has(textarea){flex:1 1 auto;display:flex;flex-direction:column;min-height:0}
html body #ec-contact-dialog [data-ec-contact-panel=inquiry] .inquiry-form textarea{flex:1 1 auto;height:auto;min-height:88px;resize:none}
html body #ec-contact-dialog [data-ec-contact-panel=booking] .ec-booking-frame{flex:none}
}
/* Home valuation: name, email and phone only (no WeChat / WhatsApp), on one row. */
#ec-contact-dialog [data-ec-contact-panel=sell] label:has(> input[name=wechat]),#ec-contact-dialog [data-ec-contact-panel=sell] label:has(> input[name=whatsapp]){display:none}
@media(min-width:901px){html body #ec-contact-dialog [data-ec-contact-panel=sell] .mrs-form-pair:first-of-type{grid-template-columns:repeat(3,minmax(0,1fr))}}
#ec-contact-dialog [data-ec-contact-panel=sell] .mrs-form-pair>div:empty{display:none}
/* Home valuation fits without scrolling: property details three across; tighter on shorter screens. */
@media(min-width:901px){
html body #ec-contact-dialog [data-ec-contact-panel=sell] .mrs-form-pair:not(:first-of-type){grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(min-width:901px) and (max-height:820px){
html body #ec-contact-dialog .ec-contact-tabs{margin-bottom:12px}
html body #ec-contact-dialog [data-ec-contact-panel] h3{margin-bottom:4px}
html body #ec-contact-dialog [data-ec-contact-panel] label{margin-bottom:8px}
html body #ec-contact-dialog [data-ec-contact-panel] input:not([type=checkbox]),html body #ec-contact-dialog [data-ec-contact-panel] select{height:38px!important;min-height:38px!important;margin-top:4px!important}
html body #ec-contact-dialog [data-ec-contact-panel] .mrs-help,html body #ec-contact-dialog [data-ec-contact-panel] .small{margin:6px 0}
html body #ec-contact-dialog [data-ec-contact-panel=sell] textarea{height:44px;min-height:44px}
html body #ec-contact-dialog [data-ec-contact-panel] [type=submit]{min-height:42px!important}
}
/* Get in touch left column: details at the top, QR codes + social icons pushed to the bottom. */
@media(min-width:901px){
html body #ec-contact-dialog .contact-copy.ec-cc-host{display:flex;flex-direction:column}
html body #ec-contact-dialog .ec-cc{flex:1 1 auto;display:flex;flex-direction:column;gap:14px}
html body #ec-contact-dialog .ec-cc-codes{margin-top:auto;padding-top:22px;border-top:1px solid var(--line,#d3cbbd)}
html body #ec-contact-dialog .ec-cc-code .ec-cc-id{gap:8px;flex-wrap:wrap}
html body #ec-contact-dialog .ec-cc-code .ec-cc-copy{flex:none}
/* Social icons: only platforms with a link are printed, so the grid simply flows; columns are chosen
   from the count so the rows stay balanced (4 = 2+2, 5 = 3+2, 6 = 3+3, 8 = 4+4). */
html body #ec-contact-dialog .ec-social-links{--ec-social-cols:3;display:grid!important;grid-template-columns:repeat(var(--ec-social-cols),46px);gap:8px 12px;justify-content:start;margin:6px 0 0}
html body #ec-contact-dialog .ec-social-links li{display:block;margin:0}
html body #ec-contact-dialog .ec-social-links a{margin:0!important}
html body #ec-contact-dialog .ec-social-links:not(:has(>li:nth-child(2))){--ec-social-cols:1}
html body #ec-contact-dialog .ec-social-links:has(>li:nth-child(2)):not(:has(>li:nth-child(3))){--ec-social-cols:2}
html body #ec-contact-dialog .ec-social-links:has(>li:nth-child(3)):not(:has(>li:nth-child(4))){--ec-social-cols:3}
html body #ec-contact-dialog .ec-social-links:has(>li:nth-child(4)):not(:has(>li:nth-child(5))){--ec-social-cols:2}
html body #ec-contact-dialog .ec-social-links:has(>li:nth-child(7)){--ec-social-cols:4}
html body #ec-contact-dialog .ec-social-links:has(>li:nth-child(9)){--ec-social-cols:5}
}
/* Every tab fills the fixed dialog height: the message box takes the leftover space, so the button sits at the bottom. */
@media(min-width:901px){
html body #ec-contact-dialog .contact-form-wrap>[data-ec-contact-panel]:not([hidden]){flex:1 1 0;min-height:0}
html body #ec-contact-dialog [data-ec-contact-panel=sell] form.mrs-form{flex:1 1 auto;display:flex;flex-direction:column;min-height:0}
html body #ec-contact-dialog [data-ec-contact-panel=sell] form.mrs-form>label:has(textarea){flex:1 1 auto;display:flex;flex-direction:column;min-height:0}
html body #ec-contact-dialog [data-ec-contact-panel=sell] form.mrs-form textarea{flex:1 1 auto;height:auto!important;min-height:44px!important;resize:none}
html body #ec-contact-dialog [data-ec-contact-panel=sell] form.mrs-form [type=submit]{align-self:flex-start}
html body #ec-contact-dialog [data-ec-contact-panel=sell] .mrs-contact-basic{grid-template-columns:repeat(3,minmax(0,1fr))}
html body #ec-contact-dialog [data-ec-contact-panel=booking] .ec-booking-frame{flex:1 1 auto!important;height:auto!important;min-height:0}
/* WeChat ID and its copy button stay on one line. */
html body #ec-contact-dialog .ec-cc-code{flex:0 0 auto;width:auto;min-width:var(--ec-qr-size)}
html body #ec-contact-dialog .ec-cc-code .ec-cc-id{flex-wrap:nowrap;overflow-wrap:normal;gap:6px}
}
/* "Personal Real Estate Corporation" spelled out, wrapped to the width of the name. */
html body #ec-contact-dialog .ec-cc-person>div{display:grid;width:min-content}
html body #ec-contact-dialog .ec-cc-person strong{white-space:nowrap}
html body #ec-contact-dialog .ec-cc-person span{margin-top:5px;font-size:10.5px;line-height:1.35;letter-spacing:.06em;text-transform:uppercase;background:none!important;color:var(--stone,#5d5850)}
#ec-contact-dialog .inquiry-form .ec-contact-alt{margin:2px 0 10px;padding-top:0;border-top:0}
/* Submit is grey until the form is complete, then switches to the accent colour. */
html body #ec-contact-dialog [type=submit]:disabled{background:color-mix(in srgb,var(--stone,#5d5850) 28%,transparent)!important;border-color:transparent!important;color:color-mix(in srgb,var(--ink,#1d1c1a) 55%,transparent)!important;opacity:1!important;cursor:not-allowed;transform:none!important}

/* Compact phone shortcuts; the invisible 44px hit area preserves comfortable tapping. */
@media(max-width:540px){
html body :is(.ec-contact-fab,#mr-interests .mri-launch,#mr-ai-widget .mrai-launch,.ec-music-fab,.mr-calc-toggle){box-sizing:border-box;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;max-width:40px;padding:0!important}
html body :is(.ec-contact-fab,#mr-interests .mri-launch,#mr-ai-widget .mrai-launch,.ec-music-fab,.mr-calc-toggle)::before{content:"";position:absolute;inset:-2px;border-radius:50%}
html body .mr-calc-toggle{position:relative}
html body :is(.ec-contact-fab,#mr-interests .mri-launch,#mr-ai-widget .mrai-launch,.ec-music-fab,.mr-calc-toggle) svg,html body #mr-ai-widget .mrai-launch .mrai-ai-mark svg{width:17px!important;height:17px!important}
html body #mr-ai-widget .mrai-launch{bottom:calc(60px + env(safe-area-inset-bottom,0px))!important}
html body #mr-interests .mri-launch{bottom:calc(108px + env(safe-area-inset-bottom,0px))!important}
html body .ec-contact-fab{bottom:calc(156px + env(safe-area-inset-bottom,0px))!important}
html body .mr-calc-dock{bottom:calc(204px + env(safe-area-inset-bottom,0px))!important}
html body .ec-music-fab{bottom:calc(204px + env(safe-area-inset-bottom,0px))!important}
html body:has(.mr-calc-dock:not([hidden])) .ec-music-fab{bottom:calc(252px + env(safe-area-inset-bottom,0px))!important}
html body:has(.mobile-contact-bar.is-visible) #mr-ai-widget .mrai-launch{bottom:calc(122px + env(safe-area-inset-bottom,0px))!important}
html body:has(.mobile-contact-bar.is-visible) #mr-interests .mri-launch{bottom:calc(170px + env(safe-area-inset-bottom,0px))!important}
html body:has(.mobile-contact-bar.is-visible) .mr-calc-dock{bottom:calc(218px + env(safe-area-inset-bottom,0px))!important}
html body:has(.mobile-contact-bar.is-visible) .ec-music-fab{bottom:calc(218px + env(safe-area-inset-bottom,0px))!important}
html body:has(.mr-calc-dock:not([hidden])):has(.mobile-contact-bar.is-visible) .ec-music-fab{bottom:calc(266px + env(safe-area-inset-bottom,0px))!important}
}
