﻿/* WizReal Phase 2 — listing detail (P2-d, PM 2026-11-04).
   One layout for MLS / condo / lease / FSBO / pre-construction (prototype condo.js + detail-all.js + detailnav.js +
   openhouse.js). Scoped under body.wz2; tokens from wz-tokens.css; mobile-first at 576/768/992/1200/1400. */

body.wz2 .wzd-page {
    --wzd-sticky-top: 16px;
    max-width: var(--wz-page-max);
    margin: 0 auto;
    padding: 16px 16px 72px;
    color: var(--wz-ink);
}

/* ---------- small utilities ---------- */
body.wz2 .wzd-muted { color: var(--wz-muted); }
body.wz2 .wzd-xs { font-size: 12px; }
body.wz2 .wzd-b { font-weight: 600; }
body.wz2 .wzd-mt8 { margin-top: 8px; }
body.wz2 .wzd-mt12 { margin-top: 12px; }
body.wz2 .wzd-mt48 { margin-top: 48px; }
body.wz2 .wzd-grow { flex: 1 1 auto; min-width: 0; }
body.wz2 .wzd-block { display: flex; width: 100%; }
body.wz2 .wzd-right { display: flex; justify-content: flex-end; }
body.wz2 .wzd-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
body.wz2 .wzd-empty {
    padding: 20px;
    border: 1px dashed var(--wz-line2);
    border-radius: var(--wz-r);
    background: var(--wz-soft);
    color: var(--wz-muted);
    font-size: 14px;
    text-align: center;
}

/* ---------- not found ---------- */
body.wz2 .wzd-notfound {
    max-width: 560px;
    margin: 48px auto;
    padding: 32px;
    border: 1px solid var(--wz-line);
    border-radius: var(--wz-r-lg);
    text-align: center;
}
body.wz2 .wzd-notfound h1 { font-size: 24px; font-weight: 700; }
body.wz2 .wzd-notfound p { color: var(--wz-muted); }
body.wz2 .wzd-actions-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }

/* ---------- header ---------- */
body.wz2 .wzd-toprow { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
body.wz2 .wzd-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: -4px;
    padding: 6px 10px 6px 4px;
    border-radius: 999px;
    color: var(--wz-ink2);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background .15s, color .15s;
}
body.wz2 .wzd-back:hover { background: var(--wz-soft); color: var(--wz-ink); }
body.wz2 .wzd-actions { display: flex; align-items: center; gap: 6px; }
body.wz2 .wzd-iconbtn { color: var(--wz-ink); font-size: 18px; }
body.wz2 .wzd-iconbtn:hover { background: var(--wz-soft); }
body.wz2 .wzd-fav .bi-heart-fill { color: var(--wz-fav); }

body.wz2 .wzd-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px 24px; margin-top: 12px; }
body.wz2 .wzd-title { flex: 1 1 320px; min-width: 0; }
body.wz2 .wzd-title h1 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; overflow-wrap: anywhere; }
body.wz2 .wzd-addr { display: flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--wz-muted); font-size: 14px; }
body.wz2 .wzd-addr .wz-ic { flex: none; }
body.wz2 .wzd-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
body.wz2 .wzd-badges .wz-badge .bi { font-size: 11px; }
body.wz2 .wzd-tprice { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
body.wz2 .wzd-big { font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
body.wz2 .wzd-per { margin-left: 4px; color: var(--wz-muted); font-size: .5em; font-weight: 600; letter-spacing: 0; }
body.wz2 .wzd-per-pre { margin: 0 6px 0 0; }
body.wz2 .wzd-strike { color: var(--wz-muted); font-size: 15px; text-decoration: line-through; }
body.wz2 .wzd-sub { color: var(--wz-muted); font-size: 13px; }
body.wz2 .wzd-estl { margin-top: 4px; color: var(--wz-p); font-size: 14px; font-weight: 600; text-decoration: none; }
body.wz2 .wzd-estl:hover { text-decoration: underline; }

@media (min-width: 768px) {
    body.wz2 .wzd-page { padding: 24px 24px 80px; }
    body.wz2 .wzd-title h1 { font-size: 30px; }
    body.wz2 .wzd-tprice { align-items: flex-end; text-align: right; }
    body.wz2 .wzd-big { font-size: 36px; }
}

@media (min-width: 1200px) {
    body.wz2 .wzd-page { padding: 24px var(--wz-page-x) 96px; }
}

/* ---------- gallery ---------- */
body.wz2 .wzd-gallery {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 280px;
    gap: 8px;
    margin-top: 24px;
    overflow: hidden;
    border-radius: var(--wz-r-lg);
}
body.wz2 .wzd-tile {
    position: relative;
    display: block;
    min-height: 0;
    overflow: hidden;
    background: #EEEFEC;
    cursor: pointer;
}
body.wz2 .wzd-tile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: filter .2s; }
body.wz2 .wzd-tile:hover img { filter: brightness(.9); }
body.wz2 .wzd-gallery > .wzd-tile:nth-child(n+2) { display: none; }
body.wz2 .wzd-allph {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--wz-ink);
    border-radius: 10px;
    background: #fff;
    color: var(--wz-ink);
    font-size: 13px;
    font-weight: 600;
}
body.wz2 .wzd-allph:hover { background: var(--wz-soft); }
body.wz2 .has-tour .wzd-allph { right: auto; left: 16px; }
body.wz2 .wzd-tour {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(17, 20, 24, .38);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
body.wz2 .wzd-tour:hover { color: #fff; background: rgba(17, 20, 24, .48); }
body.wz2 .wzd-play {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    color: var(--wz-ink);
    font-size: 22px;
}
body.wz2 .wzd-tour-only { background: var(--wz-ink); }

@media (min-width: 768px) {
    body.wz2 .wzd-gallery { grid-template-columns: 2fr 1fr; grid-template-rows: 200px 200px; }
    body.wz2 .wzd-gallery > .wzd-tile:nth-child(n+2) { display: block; }
    body.wz2 .wzd-gallery > .wzd-tile:first-child { grid-row: 1 / 3; }
    body.wz2 .wzd-gallery > .wzd-tile:nth-child(n+4) { display: none; }
    body.wz2 .wzd-gallery.wzd-n1 { grid-template-columns: minmax(0, 1fr); grid-template-rows: 400px; }
    body.wz2 .wzd-gallery.wzd-n1 > .wzd-tile:first-child { grid-row: auto; }
    body.wz2 .wzd-gallery.wzd-n2 { grid-template-rows: 400px; }
    body.wz2 .wzd-gallery.wzd-n2 > .wzd-tile:first-child { grid-row: auto; }
}

@media (min-width: 992px) {
    body.wz2 .wzd-gallery { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; border-radius: 24px; }
    body.wz2 .wzd-gallery > .wzd-tile:nth-child(n+4) { display: block; }
    body.wz2 .wzd-gallery.wzd-n2 { grid-template-columns: 2fr 1fr; grid-template-rows: 448px; }
    body.wz2 .wzd-gallery.wzd-n3 { grid-template-columns: 2fr 1fr; }
    body.wz2 .wzd-gallery.wzd-n4 > .wzd-tile:nth-child(4) { grid-column: 2 / 4; }
}

/* photos modal */
body.wz2 .wzd-phgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
body.wz2 .wzd-ph {
    display: block;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: var(--wz-r);
    background: #EEEFEC;
    aspect-ratio: 4 / 3;
}
body.wz2 .wzd-ph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
body.wz2 .wzd-ph:hover img { transform: scale(1.03); }
@media (min-width: 768px) { body.wz2 .wzd-phgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { body.wz2 .wzd-phgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* FSBO seller contact (AC9), beside the photos */
body.wz2 .wzd-seller {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-top: 16px;
    padding: 12px 16px;
    border: 1px solid var(--wz-line);
    border-radius: var(--wz-r);
    background: var(--wz-soft);
}
body.wz2 .wzd-seller-n { display: flex; align-items: center; gap: 8px; margin-right: auto; font-weight: 600; }
body.wz2 .wzd-seller .wz-btn { overflow-wrap: anywhere; }

/* ---------- section sub-nav + sticky bar (detailnav.js) ---------- */
body.wz2 .wzd-subnav {
    display: flex;
    gap: 4px;
    margin-top: 24px;
    padding: 8px 0;
    overflow-x: auto;
    border-bottom: 1px solid var(--wz-line);
    scrollbar-width: none;
}
body.wz2 .wzd-subnav::-webkit-scrollbar { display: none; }
body.wz2 .wzd-subnav a {
    padding: 7px 14px;
    border-radius: 999px;
    color: var(--wz-ink2);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
body.wz2 .wzd-subnav a:hover { background: var(--wz-soft); color: var(--wz-ink); }

body.wz2 .wzd-bar {
    position: fixed;
    top: var(--wzd-bar-top, 0px);
    left: 0;
    right: 0;
    z-index: 1020;
    height: 56px;
    border-bottom: 1px solid var(--wz-line);
    background: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: transform .25s cubic-bezier(.2, .8, .2, 1), opacity .2s ease, visibility 0s linear .25s;
}
body.wz2 .wzd-bar.show {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: transform .25s cubic-bezier(.2, .8, .2, 1), opacity .2s ease, visibility 0s;
}
body.wz2 .wzd-in {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 100%;
    max-width: var(--wz-page-max);
    margin: 0 auto;
    padding: 0 16px;
}
body.wz2 .wzd-links {
    display: flex;
    flex: 1;
    gap: 20px;
    height: 100%;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
body.wz2 .wzd-links::-webkit-scrollbar { display: none; }
body.wz2 .wzd-links a {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    color: var(--wz-ink);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
body.wz2 .wzd-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--wz-p);
    transform: scaleX(0);
    transition: transform .22s ease;
}
body.wz2 .wzd-links a:hover,
body.wz2 .wzd-links a.on { color: var(--wz-p); }
body.wz2 .wzd-links a:hover::after,
body.wz2 .wzd-links a.on::after { transform: scaleX(1); }
body.wz2 .wzd-cta {
    display: flex;
    flex: none;
    align-items: center;
    gap: 16px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity .2s ease, transform .2s ease;
}
body.wz2 .wzd-cta.show { opacity: 1; pointer-events: auto; transform: none; }
body.wz2 .wzd-p { display: none; font-size: 17px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
body.wz2 .wzd-cta .wz-btn { min-height: 40px; padding: 0 14px; }

@media (min-width: 768px) {
    body.wz2 .wzd-bar { height: 64px; }
    body.wz2 .wzd-in { padding: 0 24px; }
    body.wz2 .wzd-links { gap: 28px; }
    body.wz2 .wzd-p { display: block; }
    body.wz2 .wzd-cta .wz-btn { min-height: 44px; padding: 0 18px; }
}
@media (min-width: 1200px) { body.wz2 .wzd-in { padding: 0 var(--wz-page-x); } }

/* ---------- two-column body ---------- */
body.wz2 .wzd-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 32px; align-items: start; }
body.wz2 .wzd-side { min-width: 0; }
@media (min-width: 768px) { body.wz2 .wzd-side { max-width: 560px; } }
@media (min-width: 1101px) { /* 2026-11-18 design: the side column sits beside the content from 1101px (was 1200px) */
    body.wz2 .wzd-wrap { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; }
    /* WIZREALMA-436: a side card taller than the window must still scroll to its send button. */
    body.wz2 .wzd-side { position: sticky; top: var(--wzd-sticky-top); max-width: none; max-height: calc(100vh - var(--wzd-sticky-top) - 16px); overflow-y: auto; scrollbar-width: thin; }
}

body.wz2 .wzd-sec {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--wz-line);
    scroll-margin-top: 96px;
}
body.wz2 .wzd-main > .wzd-sec:last-child,
body.wz2 .wzd-main .wzd-sec:last-of-type { border-bottom: 0; }
body.wz2 .wzd-sh { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
body.wz2 .wzd-shi {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--wz-tint);
    color: var(--wz-p);
    font-size: 19px;
}
body.wz2 .wzd-sh h2 { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.2; }
body.wz2 .wzd-sh p { margin: 2px 0 0; color: var(--wz-muted); font-size: 14px; }
body.wz2 .wzd-h3 { margin: 32px 0 0; font-size: 17px; font-weight: 700; }
body.wz2 .wzd-l { color: var(--wz-muted); font-size: 12.5px; }
body.wz2 .wzd-v { margin-top: 4px; font-size: 14px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
@media (min-width: 768px) { body.wz2 .wzd-sh h2 { font-size: 22px; } }

/* ---------- overview ---------- */
body.wz2 .wzd-assign { margin-bottom: 20px; background: var(--wz-purple-bg); color: var(--wz-purple); }
body.wz2 .wzd-assign a { color: inherit; font-weight: 600; }
body.wz2 .wzd-facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 40px; border-top: 1px solid var(--wz-line); }
body.wz2 .wzd-fact { display: flex; align-items: center; gap: 16px; min-width: 0; padding: 16px 0; border-bottom: 1px solid var(--wz-line); }
body.wz2 .wzd-fic {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--wz-soft);
    color: var(--wz-ink2);
    font-size: 18px;
}
body.wz2 .wzd-fact .wzd-v { margin-top: 3px; }
@media (min-width: 576px) { body.wz2 .wzd-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

body.wz2 .wzd-ovh { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 32px; }
body.wz2 .wzd-ovh h3 { margin: 0; font-size: 17px; font-weight: 700; }
body.wz2 .wzd-desc { max-width: 760px; margin: 12px 0 0; color: var(--wz-ink2); font-size: 15px; line-height: 1.7; white-space: pre-line; }
body.wz2 .wzd-est {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 24px;
    padding: 20px 22px;
    border: 1px solid var(--wz-line);
    border-radius: var(--wz-r-lg);
    background: var(--wz-tint2);
}
body.wz2 .wzd-est-l { font-size: 14px; }
body.wz2 .wzd-estv { color: var(--wz-p); font-size: 30px; font-weight: 700; letter-spacing: -.03em; }
body.wz2 .wzd-est-s { color: var(--wz-muted); font-size: 12.5px; }
body.wz2 .wzd-est-a { align-self: flex-start; margin-top: 4px; color: var(--wz-p); font-size: 14px; font-weight: 600; }

/* ---------- history ---------- */
body.wz2 .wzd-tl { display: flex; gap: 14px; }
body.wz2 .wzd-tl + .wzd-tl,
body.wz2 .wzd-tl-list .collapse .wzd-tl,
body.wz2 .wzd-tl-list .collapsing .wzd-tl { margin-top: 20px; }
body.wz2 .wzd-tld { flex: none; width: 12px; height: 12px; margin-top: 6px; border-radius: 50%; background: var(--wz-line2); }
body.wz2 .wzd-tld.cur { background: var(--wz-p); box-shadow: 0 0 0 4px var(--wz-tint); }
body.wz2 .wzd-tl-d { font-weight: 600; }
body.wz2 .wzd-tl-b { margin-top: 4px; color: var(--wz-muted); font-size: 12.5px; }
body.wz2 .wzd-hgrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
    margin-top: 14px;
    padding: 16px 18px;
    border: 1px solid var(--wz-line);
    border-radius: 14px;
}
body.wz2 .wzd-hgrid a { color: var(--wz-ink2); font-weight: 600; }
body.wz2 .wzd-hgrid a.wzd-cur { color: var(--wz-p); }
body.wz2 .wzd-more { margin-top: 16px; }
body.wz2 .wzd-more .bi { transition: transform .15s; }
body.wz2 .wzd-more[aria-expanded="true"] .bi { transform: rotate(180deg); }
@media (min-width: 768px) { body.wz2 .wzd-hgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1400px) { body.wz2 .wzd-hgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- tabs (Bootstrap tab plugin, .active) ---------- */
body.wz2 .wzd-tabs {
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 0 0 2px;
    overflow-x: auto;
    scrollbar-width: none;
}
body.wz2 .wzd-tabs::-webkit-scrollbar { display: none; }
body.wz2 .wzd-tab {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 14px;
    border: 1px solid var(--wz-line);
    border-radius: 999px;
    background: #fff;
    color: var(--wz-ink2);
    font-size: 13.5px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
}
body.wz2 .wzd-tab:hover { border-color: var(--wz-line2); color: var(--wz-ink); }
body.wz2 .wzd-tab.active { border-color: var(--wz-ink); background: var(--wz-ink); color: #fff; font-weight: 600; }
body.wz2 .wzd-tab .c {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--wz-neutral-bg);
    color: var(--wz-neutral);
    font-size: 11.5px;
    font-weight: 600;
    line-height: 20px;
    text-align: center;
}
body.wz2 .wzd-tab.active .c { background: rgba(255, 255, 255, .2); color: #fff; }
body.wz2 .wzd-tabc { margin-top: 16px; }

/* ---------- features ---------- */
body.wz2 .wzd-kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
body.wz2 .wzd-kv > div { padding: 16px 0; border-bottom: 1px solid var(--wz-line); min-width: 0; }
@media (min-width: 768px) { body.wz2 .wzd-kv { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; } }

body.wz2 .wzd-fgrps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px 24px; margin-top: 4px; }
body.wz2 .wzd-fgrp-t { font-size: 14px; font-weight: 600; }
body.wz2 .wzd-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
body.wz2 .wzd-chips .wz-chip { cursor: default; }
body.wz2 .wzd-chips.sm { margin-top: 0; }
@media (min-width: 768px) { body.wz2 .wzd-fgrps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

body.wz2 .wzd-links-list { margin: 0; padding: 0; list-style: none; }
body.wz2 .wzd-links-list li + li { margin-top: 8px; }
body.wz2 .wzd-links-list a { display: inline-flex; align-items: center; gap: 6px; color: var(--wz-p); font-weight: 600; }

body.wz2 .wzd-rooms-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
body.wz2 .wzd-rooms-h p { margin: 0; color: var(--wz-muted); font-size: 13px; }
body.wz2 .wzd-unit { display: flex; align-items: center; gap: 8px; color: var(--wz-muted); font-size: 13px; }
body.wz2 .wzd-level { margin: 16px 0 8px; color: var(--wz-muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
body.wz2 .wzd-rooms { overflow-x: auto; }
body.wz2 .wzd-rooms table { min-width: 520px; }
body.wz2 .wzd-room-n { font-weight: 600; }
body.wz2 .wzd-live { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--wz-line); }

/* floor plans (pre-con, Dev.1) */
body.wz2 .wzd-plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 12px; }
body.wz2 .wzd-plan { display: flex; gap: 14px; padding: 12px; border: 1px solid var(--wz-line); border-radius: 16px; background: #fff; }
body.wz2 .wzd-plth { flex: none; width: 96px; height: 80px; overflow: hidden; border-radius: 12px; background: var(--wz-soft); }
body.wz2 .wzd-plth img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.wz2 .wzd-plth-ic { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--wz-muted); font-size: 26px; }
body.wz2 .wzd-plan-n { font-weight: 600; }
body.wz2 .wzd-plan-s { margin-top: 4px; color: var(--wz-muted); font-size: 12.5px; }
body.wz2 .wzd-plan-p { font-weight: 700; }
body.wz2 .wzd-plan-f { color: var(--wz-muted); font-size: 12.5px; }
@media (min-width: 768px) { body.wz2 .wzd-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- comparables ---------- */
body.wz2 .wzd-carousel {
    display: grid;
    grid-auto-columns: 86%;
    grid-auto-flow: column;
    gap: 20px;
    padding-bottom: 2px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
body.wz2 .wzd-carousel::-webkit-scrollbar { display: none; }
body.wz2 .wzd-comp { min-width: 0; scroll-snap-align: start; }
body.wz2 .wzd-comp > a { display: block; height: 100%; color: inherit; }
body.wz2 .wzd-arrows { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
body.wz2 .wzd-arr {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--wz-line2);
    border-radius: 50%;
    background: #fff;
    color: var(--wz-ink);
    transition: border-color .15s;
}
body.wz2 .wzd-arr:hover { border-color: var(--wz-ink); }
body.wz2 .wzd-arr:disabled { opacity: .4; cursor: default; }
@media (min-width: 768px) { body.wz2 .wzd-carousel { grid-auto-columns: calc((100% - 20px) / 2); } }

/* ---------- neighbourhood ---------- */
body.wz2 .wzd-subh { margin-bottom: 16px; }
body.wz2 .wzd-subh h3 { margin: 0; font-size: 17px; font-weight: 700; }
body.wz2 .wzd-subh p { margin: 4px 0 0; color: var(--wz-muted); font-size: 13.5px; }
body.wz2 .wzd-map { height: 380px; overflow: hidden; border: 1px solid var(--wz-line); border-radius: var(--wz-r-lg); background: var(--wz-soft); }
body.wz2 .wzd-map .marker-wrapper { display: flex; flex-direction: column; align-items: center; }
body.wz2 .wzd-alist { border-top: 1px solid var(--wz-line); }
body.wz2 .wzd-arow { border-bottom: 1px solid var(--wz-line); }
body.wz2 .wzd-arow:last-child { border-bottom: 0; }
body.wz2 .wzd-ahead { display: flex; align-items: center; gap: 16px; padding: 16px 4px; }
body.wz2 .wzd-ahead[role="button"] { cursor: pointer; }
body.wz2 .wzd-ahead[role="button"]:hover .wzd-an { color: var(--wz-p); }
body.wz2 .wzd-an { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; }
body.wz2 .wzd-an a { color: inherit; text-decoration: none; }
body.wz2 .wzd-an a:hover { color: var(--wz-p); }
body.wz2 .wzd-asub { color: var(--wz-muted); font-size: 13px; }
body.wz2 .wzd-chev { display: inline-flex; color: var(--wz-muted); transition: transform .15s; }
body.wz2 .wzd-ahead[aria-expanded="true"] .wzd-chev { transform: rotate(180deg); }
body.wz2 .wzd-ext { display: inline-flex; color: var(--wz-muted); }
body.wz2 .wzd-score {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 2px solid rgba(var(--wz-p-rgb), .55);
    border-radius: 50%;
    color: var(--wz-p-d);
    font-size: 13px;
    font-weight: 700;
}
body.wz2 .wzd-score.mid { border-color: #E3B341; color: var(--wz-warn); }
body.wz2 .wzd-score.lo { border-color: #E39A93; color: var(--wz-err); }
body.wz2 .wzd-score.na { border-color: var(--wz-line2); color: var(--wz-muted); }
body.wz2 .wzd-ai {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--wz-soft);
    color: var(--wz-p);
    font-size: 19px;
}
body.wz2 .wzd-ai.safety { color: #C8463D; }
body.wz2 .wzd-ai.transit { color: #2F8FD1; }
body.wz2 .wzd-dist { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; color: var(--wz-ink2); font-size: 13px; white-space: nowrap; }
body.wz2 .wzd-dist span { display: inline-flex; align-items: center; gap: 6px; }
body.wz2 .wzd-dist .bi { color: var(--wz-muted); }
body.wz2 .wzd-adet { display: grid; gap: 4px; margin: 0 4px 16px; padding: 14px 16px; border-radius: 12px; background: var(--wz-soft); font-size: 13.5px; }
body.wz2 .wzd-moreinfo { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--wz-p); font-weight: 600; }
@media (min-width: 768px) { body.wz2 .wzd-adet { margin-left: 68px; } }

body.wz2 .wzd-pie { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; }
body.wz2 .wzd-pie-c { position: relative; width: 260px; height: 260px; flex: none; }
body.wz2 .wzd-pie-t {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    text-align: center;
}
body.wz2 .wzd-pie-t span { color: var(--wz-muted); font-size: 12px; }
body.wz2 .wzd-pie-t b { font-size: 20px; font-weight: 700; }
body.wz2 .wzd-legend { display: grid; gap: 9px; color: var(--wz-ink2); font-size: 13px; }
body.wz2 .wzd-legend span { display: flex; align-items: center; gap: 10px; }
body.wz2 .wzd-legend i { flex: none; width: 12px; height: 12px; border-radius: 4px; }
@media (min-width: 768px) { body.wz2 .wzd-pie-c { width: 300px; height: 300px; } }

/* ---------- mortgage ---------- */
body.wz2 .wzd-calc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 20px; border: 1px solid var(--wz-line); border-radius: var(--wz-r-lg); }
body.wz2 .wzd-calc-f { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
body.wz2 .wzd-calc-f label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; }
body.wz2 .wzd-calc .form-control,
body.wz2 .wzd-calc .form-select { min-height: 44px; border-color: var(--wz-line2); border-radius: var(--wz-r); }
/* wave 4: plain "$" inside the field (design .cd-money: absolute at 14px, muted, input padded 28px) */
body.wz2 .wzd-ltt .input-group { position: relative; flex-wrap: nowrap; }
body.wz2 .wzd-ltt .input-group > .input-group-text:first-child { position: absolute; top: 50%; left: 14px; z-index: 5; padding: 0; transform: translateY(-50%); border: 0; background: none; color: var(--wz-muted); pointer-events: none; }
body.wz2 .wzd-ltt .input-group > .input-group-text:first-child + .form-control { padding-left: 28px; border-radius: var(--wz-r) !important; margin-left: 0 !important; }
body.wz2 .wzd-money { position: relative; flex-wrap: nowrap; }
body.wz2 .wzd-money .input-group-text { position: absolute; top: 50%; left: 14px; z-index: 5; padding: 0; transform: translateY(-50%); border: 0; background: none; color: var(--wz-muted); pointer-events: none; }
body.wz2 .wzd-money .form-control { padding-left: 28px; border-radius: var(--wz-r) !important; margin-left: 0 !important; }
body.wz2 .wzd-result { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 24px; border-radius: 14px; background: var(--wz-tint2); }
body.wz2 .wzd-resv { color: var(--wz-ink); font-size: 30px; font-weight: 700; letter-spacing: -.03em; }
body.wz2 .wzd-ltt { margin-top: 24px; }
@media (min-width: 576px) {
    body.wz2 .wzd-calc-f { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.wz2 .wzd-calc-f .wzd-span2 { grid-column: 1 / -1; }
}
@media (min-width: 992px) {
    body.wz2 .wzd-calc { grid-template-columns: minmax(0, 1.5fr) minmax(220px, 1fr); padding: 24px; }
    body.wz2 .wzd-resv { font-size: 34px; }
}

/* ---------- market ---------- */
body.wz2 .wzd-cdesc { max-width: 760px; color: var(--wz-muted); font-size: 13.5px; line-height: 1.65; }
body.wz2 .wzd-cdesc b { color: var(--wz-ink2); }
body.wz2 .wzd-cdesc .wzd-red { color: #C8463D; }
body.wz2 .wzd-cdesc .wzd-green { color: var(--wz-p); }
body.wz2 .wzd-chhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 16px; }
body.wz2 .wzd-stats { display: flex; flex-wrap: wrap; gap: 10px; }
body.wz2 .wzd-stat {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border: 1.5px solid rgba(var(--wz-p-rgb), .35);
    border-radius: 999px;
    background: var(--wz-tint2);
    color: var(--wz-ok);
    font-size: 13px;
    font-weight: 700;
}
body.wz2 .wzd-stat b { color: var(--wz-ink); }
body.wz2 .wzd-legs { display: flex; flex-wrap: wrap; gap: 8px 18px; }
body.wz2 .wzd-leg { display: inline-flex; align-items: center; gap: 7px; color: var(--wz-muted); font-size: 12.5px; }
body.wz2 .wzd-leg i { width: 12px; height: 12px; border-radius: 3px; }
body.wz2 .wzd-leg i.p { background: var(--wz-p); }
body.wz2 .wzd-leg i.r { border-radius: 50%; background: #C8463D; }
body.wz2 .wzd-seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--wz-soft); }
body.wz2 .wzd-seg button {
    height: 30px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--wz-ink2);
    font-size: 12.5px;
    font-weight: 600;
}
body.wz2 .wzd-seg button.on { background: #fff; color: var(--wz-ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
body.wz2 .wzd-chart { position: relative; height: 300px; margin-top: 16px; padding: 16px 12px 6px; border: 1px solid var(--wz-line); border-radius: var(--wz-r-lg); }
@media (min-width: 768px) { body.wz2 .wzd-legs { margin-left: auto; } }

/* ---------- side card ---------- */
body.wz2 .wzd-card {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border: 1px solid var(--wz-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 6px 28px rgba(17, 20, 24, .08);
}
body.wz2 .wzd-card + .wzd-card { margin-top: 16px; }
body.wz2 .wzd-card h3 { margin: 12px 0 4px; font-size: 18px; font-weight: 700; }
body.wz2 .wzd-card p { margin: 0 0 12px; font-size: 13.5px; }
body.wz2 .wzd-sprice { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--wz-line); }
body.wz2 .wzd-sbig { margin: 2px 0; font-size: 28px; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
body.wz2 .wzd-contact .contact-sidebar-card,
body.wz2 .wzd-contact .lcc-card { border: 0; border-radius: 0; box-shadow: none !important; } /* !important: Bootstrap .shadow-sm is !important (UI fix 2026-11-11, PM: shadow over the price divider) */
body.wz2 .wzd-contact .card-body { padding: 0; }
/* Conditional listing notice above the contact card (PM 2026-11-16, design). */
body.wz2 .wzd-cond { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; padding: 12px 14px; border-radius: var(--wz-r); background: #FFF6DA; color: #7A5208; font-size: 13px; line-height: 1.45; }
    body.wz2 .wzd-cond svg { flex: none; margin-top: 2px; }
    body.wz2 .wzd-cond b { display: block; font-weight: 600; }
    body.wz2 .wzd-cond span { display: block; }
/* Sold / leased result in the side card (PM 2026-11-16, design). */
body.wz2 .wzd-closed { display: flex; flex-direction: column; gap: 8px; }
body.wz2 .wzd-closed-rows { margin: 0 0 4px; }
    body.wz2 .wzd-closed-rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--wz-line); font-size: 14px; }
    body.wz2 .wzd-closed-rows dt { margin: 0; font-weight: 400; color: var(--wz-muted); }
    body.wz2 .wzd-closed-rows dd { margin: 0; font-weight: 600; color: var(--wz-ink); text-align: right; }
body.wz2 .wzd-closed-note { margin: 4px 0; }
body.wz2 .wzd-promo { display: flex; flex-direction: column; gap: 8px; }
body.wz2 .wzd-promo .wz-badge { align-self: flex-start; }
body.wz2 .wzd-promo h3 { margin-top: 4px; }
body.wz2 .wzd-devo { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border-radius: 14px; background: var(--wz-soft); }
body.wz2 .wzd-devo-ic { display: flex; flex: none; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--wz-p); }
body.wz2 .wzd-devc .wz-badge { align-self: flex-start; }
body.wz2 .wzd-owner .development-card { margin-top: 4px; }
@media (min-width: 1200px) { body.wz2 .wzd-card { padding: 24px; } }

/* open-house line (openhouse.js) */
body.wz2 .wzd-oh-wrap { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--wz-line); }
body.wz2 .wzd-oh { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--wz-tint); color: var(--wz-ink); font-size: 13.5px; cursor: default; }
body.wz2 .wzd-oh > .bi { flex: none; margin-top: 1px; color: var(--wz-p); }
body.wz2 .wzd-oh-l { display: flex; flex-wrap: wrap; gap: 2px 6px; line-height: 1.4; }
body.wz2 .wzd-oh-l b { color: var(--wz-ok); font-weight: 700; }
body.wz2 .wzd-oh-a { display: flex; flex-wrap: wrap; gap: 4px; }
body.wz2 .wzd-oh-a .wz-btn { min-height: 34px; padding: 0 10px; font-size: 13px; }
body.wz2 .wzd-oh-more { color: var(--wz-muted); font-size: 12.5px; cursor: help; }

/* guest lock (existing <auth-content>) keeps its overlay; give it the section rhythm */
body.wz2 .wzd-main .content-preview-wrapper { border-radius: var(--wz-r-lg); }

/* === 2026-11-18 design update: listing detail side card (status cards, guest card) === */
/* status badge at the top of the conditional / sold / leased card (design status.js) */
body.wz2 .wzd-card-badge { align-self: flex-start; margin-bottom: 12px; }
/* 1101-1199px: two columns at the site's 24px page padding; keep the gap a little tighter */
@media (min-width: 1101px) and (max-width: 1199.98px) { body.wz2 .wzd-wrap { gap: 32px; } }
/* conditional card: the button sits under the rows with breathing room */
body.wz2 .wzd-cond + .wzd-closed { gap: 0; }
    body.wz2 .wzd-cond + .wzd-closed .wzd-block { margin-top: 16px; }
    body.wz2 .wzd-cond + .wzd-closed .wzd-closed-rows { margin: 0; }
/* the realtor's own clients list under a conditional status card */
body.wz2 .wzd-cond-clients { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--wz-line); }
    body.wz2 .wzd-cond-clients h4 { margin: 0 0 10px; font-size: 15px; font-weight: 700; }
body.wz2 .wzd-cond-client { padding: 12px; border: 1px solid var(--wz-line); border-radius: 14px; background: var(--wz-soft); }
    body.wz2 .wzd-cond-client + .wzd-cond-client { margin-top: 8px; }
body.wz2 .wzd-cond-client-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
body.wz2 .wzd-cond-chat { min-height: 40px; padding: 0 14px; font-size: 13px; }
/* check points (guest card; design dv-pts) */
body.wz2 .wzd-pts { display: grid; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; font-size: 13.5px; color: var(--wz-ink2); }
    body.wz2 .wzd-pts li { display: flex; align-items: flex-start; gap: 8px; }
    body.wz2 .wzd-pts svg { flex: none; margin-top: 2px; color: var(--wz-p); }
body.wz2 .wzd-promo .wz-btn.primary { margin-top: 8px; }
/* === end === */

/* === 2026-11-18 round 2: detail (rendered-page comparison with the design) === */
/* header: share and save are plain 40px icon buttons (design .iconbtn), no circle or shadow */
body.wz2 .wzd-actions .wzd-iconbtn,
body.wz2 .wzd-actions .btn-favorite { width: 40px; height: 40px; padding: 0; border: 0 !important; border-radius: 50%; background: transparent !important; box-shadow: none !important; font-size: 19px; display: inline-flex; align-items: center; justify-content: center; }
body.wz2 .wzd-actions .wzd-iconbtn:hover { background: var(--wz-soft) !important; }
/* overview facts: green icon tiles (design #app .fic) */
body.wz2 .wzd-fic { background: var(--wz-tint); color: var(--wz-p); }
/* pill tabs (design .tabs button): 44px, 2px light border, bold ink; active = tint + green border + green text */
body.wz2 .wzd-tab { height: 36px; padding: 0 16px; gap: 6px; border: 1.5px solid #E6E6E6; color: var(--wz-ink); font-size: 14px; font-weight: 700; } /* wave 4: design .page .tabs size (36-38px, 16px sides) so the five tabs fit at 1440 */
body.wz2 .wzd-tab:hover { border-color: #CFCFCC; color: var(--wz-ink); }
body.wz2 .wzd-tab.active { border-color: var(--wz-p); background: var(--wz-tint); color: var(--wz-ok); font-weight: 700; }
body.wz2 .wzd-tab .c,
body.wz2 .wzd-tab.active .c { min-width: 0; height: auto; padding: 0; border-radius: 0; background: none; color: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; }
body.wz2 .wzd-tab .c::before { content: "("; }
body.wz2 .wzd-tab .c::after { content: ")"; }
body.wz2 .wzd-tabs { gap: 8px; }
body.wz2 .wzd-tabs.sm .wzd-tab { height: 38px; padding: 0 16px !important; font-size: 13.5px; }
@media (max-width: 767.98px) { body.wz2 .wzd-tab { height: 40px; padding: 0 16px; font-size: 13.5px; } }
/* mortgage calculator: fields in rows of up to three, the result under them (design: the 700px main column stacks) */
body.wz2 .wzd-calc,
body.wz2 .wzd-calc-f { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 576px) { body.wz2 .wzd-calc-f { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); } }
@media (min-width: 992px) { body.wz2 .wzd-calc { grid-template-columns: minmax(0, 1fr); } }
body.wz2 .wzd-calc-f label.wzd-lbl { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; white-space: nowrap; }
body.wz2 .wzd-pct { color: var(--wz-muted); font-size: 12px; font-weight: 400; }
body.wz2 .wzd-result { padding: 20px 24px; }
body.wz2 .wzd-resper { margin-left: 2px; color: var(--wz-muted); font-size: 16px; font-weight: 500; letter-spacing: 0; }
/* land transfer calculator (site extra, kept): same section rhythm and ink heading as the calculator above */
body.wz2 .wzd-ltt { margin-top: 32px; }
body.wz2 .wzd-ltt h3, body.wz2 .wzd-ltt h4, body.wz2 .wzd-ltt h5 { color: var(--wz-ink) !important; font-size: 17px; font-weight: 700; }
/* comparable card (design cdComp) */
body.wz2 .wzd-cc { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--wz-line); border-radius: 18px; background: #fff; color: inherit; text-decoration: none; transition: box-shadow .15s; }
body.wz2 .wzd-cc:hover { box-shadow: 0 10px 30px rgba(17, 20, 24, .12); color: inherit; }
body.wz2 .wzd-cc-img { position: relative; aspect-ratio: 16 / 10; background: #EEEFEC; }
body.wz2 .wzd-cc-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.wz2 .wzd-cc-st { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--wz-ok); font-size: 12px; font-weight: 700; }
body.wz2 .wzd-cc-st.neutral { color: var(--wz-ink2); }
body.wz2 .wzd-cc-mls { position: absolute; right: 12px; bottom: 12px; padding: 3px 8px; border-radius: 8px; background: rgba(17, 20, 24, .62); color: #fff; font-size: 11.5px; font-weight: 600; }
body.wz2 .wzd-cc-bd { display: flex; flex: 1; flex-direction: column; padding: 16px 18px 18px; }
body.wz2 .wzd-cc-r1 { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
body.wz2 .wzd-cc-t { color: var(--wz-muted); font-size: 13.5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.wz2 .wzd-cc-p { flex: none; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
body.wz2 .wzd-cc-ln { display: flex; align-items: flex-start; gap: 6px; margin-top: 4px; color: var(--wz-ink2); font-size: 13px; line-height: 1.45; }
body.wz2 .wzd-cc-ln.m { color: var(--wz-muted); font-size: 12.5px; }
body.wz2 .wzd-cc-ln svg { flex: none; margin-top: 2px; }
body.wz2 .wzd-cc-ln .pin { color: var(--wz-p); }
body.wz2 .wzd-cc-f { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--wz-line); color: var(--wz-ink2); font-size: 13px; }
body.wz2 .wzd-cc-f span { display: inline-flex; align-items: center; gap: 6px; }
body.wz2 .wzd-cc-f .bi { color: var(--wz-muted); }
body.wz2 .wzd-cc-d { margin: 8px 0 0; color: var(--wz-muted); font-size: 12.5px; line-height: 1.55; }
body.wz2 .wzd-cc-oh { margin-top: 12px; padding: 10px 12px; border: 1px solid #EBD3A0; border-radius: 12px; background: #FBF6EA; color: var(--wz-ink); font-size: 12.5px; line-height: 1.5; }
body.wz2 .wzd-cc-ohl { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; color: #9A6B12; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
/* neighbourhood: Amenities holds the place lists under small sub-tabs (design cd-tabs-sm) */
body.wz2 .wzd-amen .wzd-tabs { margin: 0 0 4px; }
body.wz2 .wzd-amen .tab-content { margin-top: 12px; }
body.wz2 .wzd-mb8 { margin-bottom: 8px; }
/* phone / tablet sheet opened from "Message {name}": only the message part of the card (design .mb-msg) */
body.wz2 .wz-msheet--msg .wzd-sprice,
body.wz2 .wz-msheet--msg .wzd-oh-wrap { display: none !important; }
/* the inline section menu: the design hides it (body.wz-detail .cd-subnav); the sticky bar #wzDbar carries the links */
body.wz2 .wzd-page .wzd-subnav { display: none; }
/* bottom sheet: the card loses its own frame inside the sheet (design .mb-sb .cd-agent) */
body.wz2 .wz-msheet .wzd-card { padding: 0; border: 0; box-shadow: none; }
body.wz2 .wzd-actions .wzd-iconbtn i { font-size: 19px; line-height: 1; }
/* the sticky side column scrolls (WIZREALMA-436); give the card room so its shadow is not cut off */
@media (min-width: 1101px) { body.wz2 .wzd-side { margin: -12px -16px 0; padding: 12px 16px 28px; } }
/* owner's own listing (Client/ListingPreview): price card and "Your listing" read as one card */
body.wz2 .wzd-side.wz-own-side { margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--wz-line); border-radius: 22px; background: #fff; box-shadow: 0 6px 28px rgba(17, 20, 24, .08); }
body.wz2 .wz-own-side > .wzd-card { border: 0; border-radius: 0; box-shadow: none; }
body.wz2 .wz-own-side > .wzd-card + .wzd-card { margin-top: 0; padding-top: 0; }
/* tablet at 768px and below (design max-width:768px): one hero photo, one column of facts, two-column history and feature grids */
@media (max-width: 768px) {
    body.wz2 .wzd-gallery { grid-template-columns: minmax(0, 1fr); grid-template-rows: 280px; }
    body.wz2 .wzd-gallery > .wzd-tile:first-child { grid-row: auto; }
    body.wz2 .wzd-gallery > .wzd-tile:nth-child(n+2) { display: none; }
    body.wz2 .wzd-facts { grid-template-columns: minmax(0, 1fr); }
    body.wz2 .wzd-hgrid, body.wz2 .wzd-kv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1101px) { body.wz2 .wzd-side.wz-own-side { max-height: none; overflow: hidden; } }
/* guest members-only block (design lock.js .lk-sec / .lk-gate) */
body.wz2 .wzd-lock { position: relative; min-height: 360px; margin-top: 32px; overflow: hidden; border: 1px solid var(--wz-line); border-radius: 18px; }
body.wz2 .wzd-lock-body { max-height: 440px; padding: 24px; overflow: hidden; filter: blur(7px); opacity: .55; pointer-events: none; user-select: none; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
body.wz2 .wzd-lock-body .wzd-sec { margin: 0; padding: 0; border: 0; }
body.wz2 .wzd-lock-gate { position: absolute; top: 50%; left: 50%; display: flex; flex-direction: column; align-items: center; width: min(400px, calc(100% - 32px)); padding: 24px; transform: translate(-50%, -50%); border: 1px solid var(--wz-line); border-radius: 20px; background: #fff; box-shadow: 0 16px 40px rgba(17, 20, 24, .12); text-align: center; }
body.wz2 .wzd-lock-ic { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 12px; border-radius: 50%; background: var(--wz-tint); color: var(--wz-p); }
body.wz2 .wzd-lock-t { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.3; }
body.wz2 .wzd-lock-d { max-width: 300px; margin: 6px 0 16px; color: var(--wz-muted); font-size: 13.5px; line-height: 1.5; }
body.wz2 .wzd-lock-btn { min-height: 44px; justify-content: center; font-size: 15px; }
body.wz2 .wzd-lock-s { margin-top: 12px; color: var(--wz-muted); font-size: 13px; }
body.wz2 .wzd-lock-s a { color: var(--wz-p); font-weight: 600; text-decoration: none; }
@media (max-width: 767.98px) { body.wz2 .wzd-lock { min-height: 340px; } body.wz2 .wzd-lock-body { max-height: 380px; } }
/* === end === */

/* === 2026-11-18 round 2: final === */
/* No photos: a small icon and "No photos yet" centred on the grey tile (design lppreview). */
body.wz2 .wzd-tile.wzd-tile-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: var(--wz-soft); color: var(--wz-muted); font-size: 13px; font-weight: 500; }
/* Draft preview: no outer card frame; the Active Chats card and Continue Editing stand alone, the price / status card is
   not drawn (the draft notice says it). */
body.wz2 .wzd-side.wz-own-side.is-draft { border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
body.wz2 .wz-own-side.is-draft > .wzd-card.wz-lpv-chats { border: 1px solid var(--wz-line); border-radius: 16px; }
body.wz2 .wz-own-side.is-draft > .wzd-card:not(.wz-lpv-chats) { display: none; }
/* === end final === */

/* === 2026-11-18 wave 3: detail === */
/* tablet / phone (design: the side card lives only in the bottom bar's sheet, never printed after the charts) */
@media (max-width: 1100.98px) { body.wz2 .wzd-page .wzd-wrap > .wzd-side { display: none; } }
/* bar: round chevron-up for developer / provider accounts (design mbar note card) */
body.wz2 .wz-mbar .wz-mbar-more { flex: none; width: 44px; height: 44px; border: 1px solid var(--wz-line2); border-radius: 50%; background: #fff; color: var(--wz-ink); }
/* chart heads: totals as plain text, range toggle as outlined pills with a green active one (design .cd-stat, .tabs) */
body.wz2 .wzd-stat { padding: 0; border: 0; background: none; color: var(--wz-muted); font-weight: 500; }
body.wz2 .wzd-stat b { font-weight: 700; }
body.wz2 .wzd-stats { gap: 6px 18px; }
/* wave 4: 1Y / 2Y / All as ONE outlined segmented pill (design .seg.cd-rng: 1px line2 frame, 3px padding, green-outlined active) */
body.wz2 .wzd-seg { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--wz-line2); border-radius: 999px; background: #fff; }
body.wz2 .wzd-seg button { height: auto; padding: 4px 12px; border: 1.5px solid transparent; border-radius: 999px; background: transparent; color: var(--wz-ink2, var(--wz-ink)); font-size: 12.5px; font-weight: 600; }
body.wz2 .wzd-seg button:hover { background: var(--wz-soft); }
body.wz2 .wzd-seg button.on { border-color: var(--wz-p); background: var(--wz-tint); color: var(--wz-ok); box-shadow: none; }
/* links that the design draws plain */
body.wz2 .wzd-est-a, body.wz2 .wzd-hgrid a { text-decoration: none; }
/* comparables: one large card with the next one peeking up to 768px (design .cd-carousel 86%) */
@media (max-width: 768px) { body.wz2 .wzd-carousel { grid-auto-columns: 86%; } }
/* section titles keep 22px on phones (design .cd-sh h2) */
body.wz2 .wzd-sh h2 { font-size: 22px; }
/* land transfer calculator (site extra): its heading gets the green icon tile of the other section heads */
body.wz2 .wzd-ltt #land-transfer-calculator { padding: 0 !important; }
body.wz2 .wzd-ltt #land-transfer-calculator > h5 { display: flex; align-items: center; gap: 14px; margin-bottom: 4px !important; font-size: 20px !important; }
body.wz2 .wzd-ltt #land-transfer-calculator > h5 > .bi { display: flex; flex: none; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--wz-tint); color: var(--wz-p); font-size: 19px; }
body.wz2 .wzd-ltt #land-transfer-calculator > h5 + p { margin-left: 54px; }
/* content column 1114px wide at desktop (design .page.cd: 163px side padding at 1440) */
@media (min-width: 1200px) { body.wz2 .wzd-page { max-width: calc(1114px + 2 * var(--wz-page-x)); } }
/* wave 4: no width override for "View All N Photos" - the design (.gallery.has-tour .allph{left:16px}, no media query;
   ref listing-active 768 / 390) keeps it bottom-left at every width when the listing has a virtual tour. */
/* overflowing tab rows: round ">" at the right end (wz-detail.js adds .wzd-tabs-wrap / .wzd-tabs-more) */
body.wz2 .wzd-tabs-wrap { position: relative; }
body.wz2 .wzd-tabs-more { position: absolute; top: 50%; right: 0; z-index: 2; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; transform: translateY(-50%); border: 1px solid var(--wz-line2); border-radius: 50%; background: #fff; color: var(--wz-ink); box-shadow: -12px 0 12px #fff; }
body.wz2 .wzd-tabs-more[hidden] { display: none; }
/* lead listing (Realtor/LeadListing, design ldlisting): sections as white cards on the portal background, Key Facts card */
body.wz2 .wz-ldl .wzd-main > .wzd-sec { margin-top: 24px; padding: 28px; border: 1px solid var(--wz-line); border-top: 1px solid var(--wz-line); border-radius: 18px; background: #fff; }
body.wz2 .wz-ldl .wzd-main > #wzd-overview { margin-top: 0; padding: 0; border: 0; background: none; }
body.wz2 .wz-ldl .wzd-ocard { padding: 28px; border: 1px solid var(--wz-line); border-radius: 18px; background: #fff; }
body.wz2 .wz-ldl .wzd-ocard + .wzd-ocard { margin-top: 24px; }
body.wz2 .wz-ldl .wzd-ocard-h { margin: 0 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--wz-line); font-size: 17px; font-weight: 700; }
body.wz2 .wz-ldl .wzd-ocard .wzd-h3 { margin-top: 0; }
body.wz2 .wz-ldl .wzd-ocard .wzd-desc { margin-bottom: 0; }
@media (max-width: 768px) { body.wz2 .wz-ldl .wzd-ocard .wzd-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; } }
@media (min-width: 1600px) { body.wz2 .wz-ldl .wzd-ocard .wzd-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { body.wz2 .wz-ldl .wzd-main > .wzd-sec, body.wz2 .wz-ldl .wzd-ocard { padding: 20px 16px; } }
/* === end wave 3 === */

/* === 2026-11-18 wave 3: cross (ldlisting, design realtor/ldlisting) === */
/* Header: pills, full address, bed · bath · type line, MLS® # and brokerage; Save / Share outline buttons on the right
   (under the text below 768px). */
body.wz2 .wz-ldl-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-top: 20px; }
body.wz2 .wz-ldl-tt { min-width: 0; }
body.wz2 .wz-ldl-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
body.wz2 .wz-ldl-src { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--wz-line); color: var(--wz-ink); font-weight: 700; }
body.wz2 .wz-ldl-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wz-p); }
body.wz2 .wz-ldl-head h1 { margin: 0; font-size: 30px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
body.wz2 .wz-ldl-facts { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 12px; color: var(--wz-ink2, #3D4349); font-size: 15px; }
body.wz2 .wz-ldl-facts > span { display: inline-flex; align-items: center; gap: 8px; }
body.wz2 .wz-ldl-facts svg { color: var(--wz-muted); }
body.wz2 .wz-ldl-ref { margin-top: 8px; color: var(--wz-muted); font-size: 13px; }
body.wz2 .wz-ldl-acts { display: flex; flex: none; gap: 8px; }
body.wz2 .wz-ldl-acts .wz-btn { display: inline-flex; align-items: center; gap: 8px; }
body.wz2 .wz-ldl-acts .bi-heart-fill { color: var(--wz-danger, #D92D20); }
body.wz2 .wz-ldl .wzd-gallery, body.wz2 .wz-ldl .wzd-gal { margin-top: 20px; }
@media (max-width: 767.98px) {
    body.wz2 .wz-ldl-top { flex-direction: column; gap: 16px; }
    body.wz2 .wz-ldl-head h1 { font-size: 26px; }
}
/* Main column: Features and Market Insights as plain white cards with the 17px card heading (no icon tile / sub line). */
body.wz2 .wz-ldl .wzd-main > .wzd-sec > .wzd-sh { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--wz-line); }
body.wz2 .wz-ldl .wzd-main > .wzd-sec > .wzd-sh .wzd-shi,
body.wz2 .wz-ldl .wzd-main > .wzd-sec > .wzd-sh p { display: none; }
body.wz2 .wz-ldl .wzd-main > .wzd-sec > .wzd-sh h2 { font-size: 17px; }
body.wz2 .wz-ldl-mi > .wzd-sec { margin-top: 20px; padding: 0; border: 0; }
body.wz2 .wz-ldl-mi > .wzd-sec:first-of-type { margin-top: 0; }
body.wz2 .wz-ldl-mi .wzd-sh { margin-bottom: 12px; }
body.wz2 .wz-ldl-mi .wzd-sh h2 { font-size: 15px; }
body.wz2 .wz-ldl-mi .wzd-shi { width: 32px; height: 32px; }
/* Neighbourhood card: under the side card from 1101px, at the end of the page below. */
body.wz2 .wz-ldl-map { min-width: 0; }
body.wz2 .wz-ldl-map > .wzd-sec { margin: 0; padding: 28px; border: 1px solid var(--wz-line); border-radius: 18px; background: #fff; }
body.wz2 .wz-ldl-map > .wzd-sec > .wzd-sh,
body.wz2 .wz-ldl-map #neighborhood-map > .wzd-subh { display: none; }
body.wz2 .wz-ldl-map .wzd-tabs { flex-wrap: wrap; }
@media (min-width: 1101px) {
    body.wz2 .wz-ldl .wzd-wrap { grid-template-areas: "main side" "main map"; grid-template-rows: auto 1fr; row-gap: 24px; }
    body.wz2 .wz-ldl .wzd-wrap > .wzd-main { grid-area: main; }
    body.wz2 .wz-ldl .wzd-wrap > .wzd-side { grid-area: side; position: static; max-height: none; }
    body.wz2 .wz-ldl .wzd-wrap > .wz-ldl-map { grid-area: map; align-self: start; }
    body.wz2 .wz-ldl-map > .wzd-sec { padding: 24px; }
}
@media (max-width: 560px) { body.wz2 .wz-ldl-map > .wzd-sec { padding: 20px 16px; } }
/* === end === */
/* === 2026-11-18 wave 3: cross (ldlisting, more) === */
/* The portal's generic h1 clamp (two lines) must not cut the address; Save / Share go under the text below 1101px (design 768). */
body.wz2 .wz-ldl-head h1 { -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; display: block; }
@media (max-width: 1100.98px) {
    body.wz2 .wz-ldl-top { flex-direction: column; gap: 16px; }
}
/* === end === */
/* === 2026-11-19 round 5: public === */
/* Features & Details tabs at desktop: the design's 13.5px tabs, a little tighter, so five or six tabs fit the 698px column
   on one row; a longer set wraps to a second row instead of hiding the last tab behind ">" (the ">" stays for phones). */
@media (min-width: 992px) {
    body.wz2 #wzdFeatureTabs { flex-wrap: wrap; row-gap: 8px; gap: 6px; overflow: visible; }
    body.wz2 #wzdFeatureTabs .wzd-tab { padding: 0 11px; gap: 5px; font-size: 13.5px; }
}
/* Comparable cards (design cdComp): save heart top-right on the photo; feature icons muted. */
body.wz2 .wzd-cc-fav { top: 6px; right: 6px; }
body.wz2 .wzd-cc-f svg { flex: none; color: var(--wz-muted); }
/* Tablet / phone (design max-width:768px): one 280px hero photo also when the listing has only one or two photos
   (the 400px one- / two-photo rows of the wider layout no longer win there). */
@media (max-width: 768px) {
    body.wz2 .wzd-gallery.wzd-n1,
    body.wz2 .wzd-gallery.wzd-n2 { grid-template-columns: minmax(0, 1fr); grid-template-rows: 280px; }
}
/* "Back to ..." row and the title sit lower under the header, as in the design (listing back link 46px under the bar,
   title 54px under the back link; phones 34px). */
body.wz2:has(.wz-site-header) .wzd-head:not(.wz-ldl-head) > .wzd-toprow { margin-top: 18px; }
body.wz2:has(.wz-site-header) .wzd-head:not(.wz-ldl-head) > .wzd-toprow + .wzd-top { margin-top: 18px; }
@media (max-width: 560px) {
    body.wz2:has(.wz-site-header) .wzd-head:not(.wz-ldl-head) > .wzd-toprow { margin-top: 14px; }
}
/* === end === */

/* === 2026-11-19 round 6: public === */
/* Signed-in header: the save heart (an <a class="btn-favorite">) picked up the older 16px margin of site.css, which made the
   back / share row 72px tall instead of 40px and pushed "Back to ..." and the title down. */
body.wz2 .wzd-actions .btn-favorite { margin: 0 !important; } /* !important: site.css .btn-favorite { margin: 1rem !important } */
/* Mortgage calculator (design .cd-calc): 24px card padding at every width, 16px grid gap, fields 72px (20px label,
   8px, 44px control) with no extra margin; result box 20px padding, value clamp(26px, 3vw, 34px) at line-height 1.1. */
body.wz2 .wzd-calc { padding: 24px; }
body.wz2 .wzd-calc-f { gap: 16px; }
body.wz2 .wzd-calc-f > .wz-field { gap: 8px; margin: 0; }
body.wz2 .wzd-calc-f > .wz-field > label { min-height: 20px; margin: 0; line-height: 20px; color: var(--wz-ink); font-size: 13px; }
/* Features & Details tabs at desktop: a set that does not fit stays on one row and scrolls, with the fade and the round
   ">" at the right end (design .tabsx.ov), instead of wrapping onto a second row (round 5). Six tabs still fit. */
@media (min-width: 992px) {
    body.wz2 #wzdFeatureTabs { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; }
    body.wz2 .wzd-tabs-wrap:has(> .wzd-tabs-more:not([hidden])) > #wzdFeatureTabs {
        -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 72px), transparent);
        mask-image: linear-gradient(90deg, #000 calc(100% - 72px), transparent);
    }
}
/* The owner's own live listing (Sell / Rent Listing, owner viewer) at 641-1199px: the account pages' gutter
   clamp(32px, 5vw, 48px) = 38px at 768 (design ownlisting), not the 24px public listing gutter. */
@media (min-width: 641px) and (max-width: 1199.98px) {
    body.wz2 .wzd-page.wzd-owner-view { padding-left: clamp(32px, 5vw, 48px); padding-right: clamp(32px, 5vw, 48px); }
}
body.wz2 .wzd-calc-f .form-text:empty { display: none; } /* empty message line the calculator script adds under a field */
body.wz2 .wzd-result { padding: 20px; }
body.wz2 .wzd-result > .wzd-muted:first-child { font-size: 13px; }
body.wz2 .wzd-resv { font-size: clamp(26px, 3vw, 34px); line-height: 1.1; white-space: nowrap; }
/* === end === */

/* === 2026-11-19 round 7: public === */
/* Listing section headings wrap like the design's h2 { text-wrap: pretty } (phones: "Median Sold Price & Days / on Market"). */
body.wz2 .wzd-sh h2 { text-wrap: pretty; }
/* === end === */

/* === 2026-11-19 round 8: public === */
/* Chart heads (design .cd-chhead): legend markers are 8px dots (the design's 3px corners on 8px read round), 13px labels
   6px from the dot, 14px between items; the second total ("Avg days") sits 16px after a thin line2 divider (12px on
   phones) instead of an 18px gap. */
body.wz2 .wzd-legs { gap: 6px 14px; }
body.wz2 .wzd-leg { gap: 6px; font-size: 13px; white-space: nowrap; }
body.wz2 .wzd-leg i { flex: none; width: 8px; height: 8px; }
body.wz2 .wzd-stats { gap: 6px 0; }
body.wz2 .wzd-stat { gap: 6px; white-space: nowrap; }
body.wz2 .wzd-stat + .wzd-stat { margin-left: 16px; padding-left: 16px; border-left: 1px solid var(--wz-line2); border-radius: 0; }
@media (max-width: 640px) {
    body.wz2 .wzd-stat + .wzd-stat { margin-left: 12px; padding-left: 12px; }
}
/* === end === */

/* === 2026-11-20: listing (CG #7) - the guest lock names what is behind it === */
body.wz2 .wzd-lock:has(.wzd-lock-list) { min-height: 470px; }
body.wz2 .wzd-lock-d { margin-bottom: 12px; }
body.wz2 .wzd-lock-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; width: 100%; margin: 0 0 16px; padding: 0; list-style: none; text-align: left; }
body.wz2 .wzd-lock-list li { display: flex; align-items: center; gap: 6px; min-width: 0; color: var(--wz-ink, #1a1d21); font-size: 13px; line-height: 1.35; }
body.wz2 .wzd-lock-list svg { flex: 0 0 auto; color: var(--wz-p); }
@media (max-width: 767.98px) { body.wz2 .wzd-lock:has(.wzd-lock-list) { min-height: 480px; } body.wz2 .wzd-lock-list { gap: 6px 8px; } body.wz2 .wzd-lock-list li { font-size: 12.5px; } }
/* === end === */
/* === 2026-11-23: design2 === */
/* Designer A9: "All Photos" viewer as the design (wizreal-ui.js wzAllPhotos): a 780px dialog, 2 large photos per row
   (one per row on phones), 10px gap, 14px corners, 10:7 frames. */
@media (min-width: 768px) { body.wz2 .wzd-photos-modal .modal-dialog { max-width: 780px; } }
body.wz2 .wzd-photos-modal .modal-header { padding: 20px 28px; border-bottom: 1px solid var(--wz-line); }
body.wz2 .wzd-photos-modal .modal-title { font-size: 18px; font-weight: 700; }
body.wz2 .wzd-photos-modal .modal-body { padding: 28px; }
body.wz2 .wzd-phgrid,
body.wz2 .wzd-photos-modal .wzd-phgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
body.wz2 .wzd-ph { border-radius: 14px; aspect-ratio: 10 / 7; }
@media (max-width: 560px) {
    body.wz2 .wzd-phgrid,
    body.wz2 .wzd-photos-modal .wzd-phgrid { grid-template-columns: minmax(0, 1fr); }
    body.wz2 .wzd-photos-modal .modal-header { padding: 18px 20px; }
    body.wz2 .wzd-photos-modal .modal-body { padding: 20px; }
}
/* === end === */
/* === 2026-11-25 QA: listing === */
/* BUG-066: "Write a message first." under an empty message box (contact card, by-owner seller box, dialogs). */
body.wz2 .wzd-msg-err { margin: 6px 0 8px; color: var(--wz-err, #b42318); font-size: 13px; font-weight: 500; }
body.wz2 .wzd-msg-err[hidden] { display: none; }
/* BUG-079: short note when the MLS feed did not answer on an owner listing. */
body.wz2 .wzd-feednote { color: var(--wz-ink2, #4b5563); font-size: 14px; background: var(--wz-surface2, #f6f7f5); border-radius: 12px; padding: 14px 16px; }
/* === end === */
