﻿/* WizReal Phase 2 / P6-c - public pre-construction (PM 2026-11-05).
   Find a Development (wz-dvs-*), the developers marketing page extras (wz-pcm-*), pre-con detail extras (wz-pc-*)
   and the card's project-name line (wz-lc-name). Prototype: wizreal-dev.js devsearch + WZ_PAGES.developers,
   wizreal-detail-all.js. Scoped under body.wz2; tokens from wz-tokens.css; mobile-first at 576/768/992/1200/1400. */

/* ---------- shared card: pre-con project name above the address ---------- */
body.wz2 .wz-lc-name {
    margin-top: 2px;
    overflow: hidden;
    color: var(--wz-ink);
    font-size: 15px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------- Find a Development ---------- */
body.wz2 .wz-dvs {
    padding-top: 32px;
    padding-bottom: 72px;
    color: var(--wz-ink);
}

body.wz2 .wz-dvs-head,
body.wz2 .wz-dvs-rh {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

body.wz2 .wz-dvs-head h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

body.wz2 .wz-dvs-rh {
    margin-top: 32px;
}

    body.wz2 .wz-dvs-rh h2 {
        margin: 0;
        font-size: 20px;
        font-weight: 700;
    }

body.wz2 .wz-dvs-sub,
body.wz2 .wz-dvs-count {
    margin: 4px 0 0;
    color: var(--wz-muted);
    font-size: 14px;
}

body.wz2 .wz-dvs-card {
    padding: 16px;
}

body.wz2 .wz-dvs-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    padding: 4px;
    overflow-x: auto;
    border-radius: var(--wz-r);
    background: var(--wz-soft);
}

    body.wz2 .wz-dvs-tabs a {
        display: inline-flex;
        flex: 1 0 auto;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 9px 14px;
        border-radius: calc(var(--wz-r) - 2px);
        color: var(--wz-ink2);
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        white-space: nowrap;
    }

        body.wz2 .wz-dvs-tabs a:hover {
            color: var(--wz-p);
        }

        body.wz2 .wz-dvs-tabs a.on {
            background: #fff;
            box-shadow: var(--wz-shadow);
            color: var(--wz-p);
        }

        body.wz2 .wz-dvs-tabs a:focus-visible {
            outline: none;
            box-shadow: var(--wz-focus-ring);
        }

body.wz2 .wz-dvs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

body.wz2 .wz-dvs-f {
    position: relative;
    min-width: 0;
}

    body.wz2 .wz-dvs-f .form-control,
    body.wz2 .wz-dvs-f .form-select {
        height: 44px;
        border-color: var(--wz-line);
        border-radius: var(--wz-r);
        font-size: 14px;
    }

body.wz2 .wz-dvs-in > .wz-ic {
    position: absolute;
    top: 50%;
    left: 14px;
    color: var(--wz-muted);
    transform: translateY(-50%);
    pointer-events: none;
}

body.wz2 .wz-dvs-in .form-control {
    padding-left: 40px;
}

body.wz2 .wz-dvs-sugg {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    left: 0;
    z-index: 20;
    max-height: 240px;
    padding: 4px;
    overflow-y: auto;
    border: 1px solid var(--wz-line);
    border-radius: var(--wz-r);
    background: #fff;
    box-shadow: var(--wz-shadow-pop);
}

body.wz2 .wz-dvs-opt {
    padding: 9px 12px;
    border-radius: calc(var(--wz-r) - 4px);
    color: var(--wz-ink);
    font-size: 14px;
    cursor: pointer;
}

    body.wz2 .wz-dvs-opt:hover,
    body.wz2 .wz-dvs-opt.on {
        background: var(--wz-tint);
        color: var(--wz-p);
    }

body.wz2 .wz-dvs-go {
    display: flex;
    gap: 8px;
}

    body.wz2 .wz-dvs-go .wz-btn {
        flex: 1 1 auto;
        justify-content: center;
        min-height: 44px;
    }

body.wz2 .wz-dvs-empty {
    padding: 40px 20px;
    text-align: center;
}

body.wz2 .wz-dvs-empty-t {
    color: var(--wz-ink);
    font-weight: 600;
}

body.wz2 .wz-dvs-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 32px;
    flex-wrap: wrap;
}

body.wz2 .wz-dvs-pg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid var(--wz-line);
    border-radius: var(--wz-r);
    color: var(--wz-ink2);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

    body.wz2 .wz-dvs-pg:hover {
        border-color: var(--wz-p);
        color: var(--wz-p);
    }

    body.wz2 .wz-dvs-pg.on {
        border-color: var(--wz-p);
        background: var(--wz-p);
        color: #fff;
    }

body.wz2 .wz-dvs-gap {
    color: var(--wz-muted);
}

@media (min-width: 576px) {
    body.wz2 .wz-dvs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    body.wz2 .wz-dvs-head h1 {
        font-size: 30px;
    }

    body.wz2 .wz-dvs-card {
        padding: 20px;
    }

    body.wz2 .wz-dvs-tabs {
        display: inline-flex;
    }

        body.wz2 .wz-dvs-tabs a {
            flex: 0 0 auto;
        }
}

@media (min-width: 992px) {
    body.wz2 .wz-dvs-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ---------- Pre-con detail ---------- */
body.wz2 .wz-pc-by {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: -4px 0 16px;
    color: var(--wz-ink2);
    font-size: 14px;
}

body.wz2 .wz-pc-by-l {
    color: var(--wz-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.wz2 .wz-pc-owner {
    margin-top: 16px;
}

    body.wz2 .wz-pc-owner h3 {
        margin: 12px 0 6px;
        font-size: 17px;
        font-weight: 700;
    }

/* === 2026-11-18 design update: pre-construction detail (floor plans, viewer, deposits, side card) and Add Floor Plan form === */
/* Prototype wizreal-floorplans.js / wizreal-precon.js (.fp-*, .fpv-*, .fpu-*, #cd-dep), mapped onto the wz tokens. */

/* ---------- Floor Plans section: cards two per row (one on phones) ---------- */
body.wz2 .wz-fp-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

@media (min-width: 761px) {
    body.wz2 .wz-fp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

body.wz2 .wz-fp-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--wz-line);
    border-radius: 18px;
    background: #fff;
    transition: box-shadow .15s;
}

    body.wz2 .wz-fp-card[hidden] { display: none; }
    body.wz2 .wz-fp-card:hover { box-shadow: var(--wz-shadow); }

body.wz2 .wz-fp-img {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    padding: 0;
    border: 0;
    background: var(--wz-soft);
    cursor: pointer;
}

    body.wz2 .wz-fp-img img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .3s;
    }

    body.wz2 .wz-fp-img:focus-visible { outline: 2px solid var(--wz-p); outline-offset: -2px; }
    body.wz2 .wz-fp-card:hover .wz-fp-img img { transform: scale(1.03); }

body.wz2 .wz-fp-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--wz-muted);
    font-size: 40px;
}

body.wz2 .wz-fp-av { position: absolute; top: 12px; left: 12px; }

body.wz2 .wz-fp-hint {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    color: var(--wz-ink);
    font-size: 12.5px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(4px);
    transition: .15s;
}

    body.wz2 .wz-fp-img:hover .wz-fp-hint,
    body.wz2 .wz-fp-img:focus-visible .wz-fp-hint { opacity: 1; transform: none; }

body.wz2 .wz-fp-bd { display: flex; flex: 1; flex-direction: column; padding: 16px 18px 18px; }
body.wz2 .wz-fp-type { color: var(--wz-p); font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }
body.wz2 .wz-fp-name { margin: 2px 0 8px; font-size: 19px; font-weight: 700; line-height: 1.25; }
body.wz2 .wz-fp-sp { color: var(--wz-ink2); font-size: 14px; line-height: 1.6; }
    body.wz2 .wz-fp-sp span { white-space: nowrap; }
    body.wz2 .wz-fp-sp i { margin: 0 3px; color: var(--wz-line2); font-style: normal; }
body.wz2 .wz-fp-pr { display: flex; flex-direction: column; margin: 12px 0 14px; }
    body.wz2 .wz-fp-pr span,
    body.wz2 .wz-fp-pr em { color: var(--wz-muted); font-size: 12.5px; font-style: normal; }
    body.wz2 .wz-fp-pr em { margin-top: 2px; }
    body.wz2 .wz-fp-pr b { font-size: 22px; font-weight: 800; line-height: 1.2; }
    body.wz2 .wz-fp-pr b.wz-fp-cfp { font-size: 17px; font-weight: 700; }
body.wz2 .wz-fp-btn { align-self: flex-start; margin-top: auto; min-height: 40px; }
body.wz2 .wz-fp-card.so .wz-fp-img img { filter: grayscale(.6); opacity: .75; }
body.wz2 .wz-fp-card.so .wz-fp-pr b { color: var(--wz-muted); }
body.wz2 .wz-fp-more { display: flex; margin: 16px auto 0; min-height: 40px; }

/* ---------- Floor plan viewer (Bootstrap modal, full screen below 768 px) ---------- */
body.wz2 .wz-fpv .modal-dialog { max-width: min(1080px, calc(100% - 48px)); }
body.wz2 .wz-fpv .modal-content {
    display: flex;
    flex-direction: column;
    height: min(880px, calc(100vh - 64px));
    overflow: hidden;
    border: 0;
    border-radius: var(--wz-r-modal, 20px);
}

body.wz2 .wz-fpv [hidden] { display: none !important; }

body.wz2 .wz-fpv-h {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--wz-line);
}

body.wz2 .wz-fpv-th {
    display: block;
    flex: none;
    width: 84px;
    height: 58px;
    overflow: hidden;
    border-radius: 10px;
    background: var(--wz-soft);
}

    body.wz2 .wz-fpv-th img { display: block; width: 100%; height: 100%; object-fit: cover; }

body.wz2 .wz-fpv-hd { flex: 1; min-width: 0; }
body.wz2 .wz-fpv-t { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; font-size: 20px; font-weight: 700; line-height: 1.2; }
body.wz2 .wz-fpv-s { margin-top: 4px; color: var(--wz-ink2); font-size: 13.5px; line-height: 1.7; }
    body.wz2 .wz-fpv-s span { white-space: nowrap; }
    body.wz2 .wz-fpv-s i { margin: 0 3px; color: var(--wz-line2); font-style: normal; }
body.wz2 .wz-fpv-p { display: flex; flex: none; flex-direction: column; align-items: flex-end; }
    body.wz2 .wz-fpv-p span,
    body.wz2 .wz-fpv-p em { color: var(--wz-muted); font-size: 12px; font-style: normal; }
    body.wz2 .wz-fpv-p b { font-size: 20px; font-weight: 800; }
body.wz2 .wz-fpv-h .btn-close { flex: none; }

body.wz2 .wz-fpv-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 20px;
    border-bottom: 1px solid var(--wz-line);
}

body.wz2 .wz-fpv-tabs {
    display: flex;
    gap: 4px;
    max-width: 100%;
    overflow-x: auto;
    padding: 4px;
    border-radius: 999px;
    background: var(--wz-soft);
    scrollbar-width: none;
}

    body.wz2 .wz-fpv-tabs::-webkit-scrollbar { display: none; }

    body.wz2 .wz-fpv-tabs button {
        min-height: 40px;
        padding: 8px 14px;
        border: 0;
        border-radius: 999px;
        background: none;
        color: var(--wz-ink2);
        font: inherit;
        font-size: 13.5px;
        font-weight: 600;
        white-space: nowrap;
        cursor: pointer;
    }

        body.wz2 .wz-fpv-tabs button.on { background: #fff; color: var(--wz-ink); box-shadow: 0 1px 3px rgba(17, 20, 24, .12); }
        body.wz2 .wz-fpv-tabs button:focus-visible { outline: 2px solid var(--wz-p); outline-offset: 1px; }

body.wz2 .wz-fpv-one { color: var(--wz-ink2); font-size: 13.5px; font-weight: 600; }
body.wz2 .wz-fpv-tools { display: flex; align-items: center; gap: 6px; }

body.wz2 .wz-fpv-zoom {
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0 4px;
    border: 1px solid var(--wz-line2);
    border-radius: 999px;
}

    body.wz2 .wz-fpv-zoom button {
        display: grid;
        place-items: center;
        width: 40px;
        height: 40px;
        border: 0;
        border-radius: 50%;
        background: none;
        color: var(--wz-ink);
        cursor: pointer;
    }

        body.wz2 .wz-fpv-zoom button:hover { background: var(--wz-soft); }
        body.wz2 .wz-fpv-zoom button:focus-visible { outline: 2px solid var(--wz-p); }

    body.wz2 .wz-fpv-zoom span { min-width: 44px; font-size: 13px; font-weight: 600; text-align: center; }

body.wz2 .wz-fpv-cv {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    min-height: 0;
    overflow: auto;
    padding: 20px;
    background: #F6F7F5;
}

    body.wz2 .wz-fpv-cv:focus-visible { outline: 2px solid var(--wz-p); outline-offset: -2px; }

body.wz2 .wz-fpv-in { flex: none; max-width: none; margin: auto; transition: width .15s; }
    body.wz2 .wz-fpv-in img { display: block; width: 100%; height: auto; border-radius: 12px; background: #fff; box-shadow: 0 1px 3px rgba(17, 20, 24, .08); }
    body.wz2 .wz-fpv-in.pdf { align-self: center; width: 100%; }
    body.wz2 .wz-fpv-in.empty { align-self: center; }
body.wz2 .wz-fpv-pdfcard { display: flex; flex-direction: column; align-items: center; gap: 8px; max-width: 360px; margin: auto; padding: 28px 24px; border: 1px solid var(--wz-line); border-radius: 16px; background: #fff; text-align: center; }
body.wz2 .wz-fpv-pdfic { display: grid; place-items: center; width: 56px; height: 64px; border-radius: 10px; background: var(--wz-err-bg); color: var(--wz-err); font-size: 13px; font-weight: 800; letter-spacing: .04em; }
body.wz2 .wz-fpv-pdft { margin: 4px 0 0; font-size: 16px; font-weight: 700; }
body.wz2 .wz-fpv-pdfs { margin: 0 0 8px; color: var(--wz-muted); font-size: 13.5px; }
body.wz2 .wz-fpv-none { margin: 0; color: var(--wz-muted); font-size: 14px; }

body.wz2 .wz-fpv-f {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 20px;
    border-top: 1px solid var(--wz-line);
}

body.wz2 .wz-fpv-nav { display: flex; align-items: center; gap: 8px; }
body.wz2 .wz-fpv-pos { color: var(--wz-muted); font-size: 12.5px; white-space: nowrap; }
body.wz2 .wz-fpv-so { color: var(--wz-muted); font-size: 13.5px; }
body.wz2 .wz-fpv .wz-btn.sm { min-height: 40px; }

@media (max-width: 767.98px) {
    body.wz2 .wz-fpv .modal-dialog { max-width: none; }
    body.wz2 .wz-fpv .modal-content { height: 100vh; height: 100dvh; border-radius: 0; }
    body.wz2 .wz-fpv-h { flex-wrap: wrap; gap: 10px 12px; padding: 12px 16px; }
    body.wz2 .wz-fpv-th { display: none; }
    body.wz2 .wz-fpv-hd { flex: 1 1 calc(100% - 50px); order: 1; }
    body.wz2 .wz-fpv-h .btn-close { order: 2; }
    body.wz2 .wz-fpv-p { flex-direction: row; align-items: baseline; gap: 8px; order: 3; }
    body.wz2 .wz-fpv-t { font-size: 18px; }
    body.wz2 .wz-fpv-bar { gap: 8px; padding: 8px 16px; }
    body.wz2 .wz-fpv-tabs { flex: 1 1 100%; }
    body.wz2 .wz-fpv-tools { flex: 1 1 100%; }
    body.wz2 .wz-fpv-tools > .wz-btn:first-of-type { margin-left: auto; }
    body.wz2 .wz-fpv-tools .wz-btn span,
    body.wz2 .wz-fpv-nav .wz-btn span { display: none; }
    body.wz2 .wz-fpv-cv { padding: 12px; }
    body.wz2 .wz-fpv-f { padding: 10px 16px; }
    body.wz2 .wz-fpv-f > .wz-btn { flex: 1 1 100%; }
}

/* ---------- Deposit Structure: tabs scroll sideways; Total Deposit stands out ---------- */
body.wz2 .wz-pc-deptabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    body.wz2 .wz-pc-deptabs::-webkit-scrollbar { display: none; }
    body.wz2 .wz-pc-deptabs .wzd-tab { flex: none; white-space: nowrap; }
body.wz2 .wz-pc-dept { margin-bottom: 4px; }
body.wz2 .wz-pc-deptotal .wzd-v { font-weight: 700; }

/* ---------- Side card: guest "Sign in to Message" and developer / provider note ---------- */
body.wz2 .wz-pc-note h3 { margin: 4px 0 0; }
body.wz2 .wz-pc-note p { margin: 0; }
body.wz2 .wz-pc-note-b { display: inline-flex; align-items: center; gap: 4px; }

body.wz2 .wz-pc-pts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 8px 0;
    padding: 0;
    list-style: none;
}

    body.wz2 .wz-pc-pts.soft { padding: 14px 16px; border-radius: 14px; background: var(--wz-soft); }

    body.wz2 .wz-pc-pts li { display: flex; align-items: flex-start; gap: 10px; color: var(--wz-ink2); font-size: 14px; line-height: 1.4; }
    body.wz2 .wz-pc-pts .wz-ic { flex: none; margin-top: 2px; color: var(--wz-p); }

/* ---------- Add Floor Plan form (/ListDevelopment/FloorPlans) ---------- */
body.wz2 .wz-fpu-sec + .wz-fpu-sec { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--wz-line); }
body.wz2 .wz-fpu-h { margin: 0 0 12px; color: var(--wz-muted); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
body.wz2 .wz-fpu-l { display: block; margin-bottom: 6px; color: var(--wz-ink); font-size: 14px; font-weight: 600; }
body.wz2 .wz-fpu-hint { margin: 0 0 8px; }
body.wz2 .wz-fpu-grid { display: grid; gap: 14px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 561px) {
    body.wz2 .wz-fpu-grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

body.wz2 .wz-fpu-drop {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 40px;
    margin: 0;
    padding: 8px 12px;
    border: 1.5px dashed var(--wz-line2);
    border-radius: 12px;
    color: var(--wz-muted);
    font-size: 13px;
    cursor: pointer;
}

    body.wz2 .wz-fpu-drop span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    body.wz2 .wz-fpu-drop.lg { justify-content: center; min-height: 64px; }
    body.wz2 .wz-fpu-drop:hover,
    body.wz2 .wz-fpu-drop:focus-within { border-color: var(--wz-p); color: var(--wz-p); }
    body.wz2 .wz-fpu-drop input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

body.wz2 .wz-fpu-lvs { display: flex; flex-direction: column; gap: 8px; }

body.wz2 .wz-fpu-lv {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
}

    body.wz2 .wz-fpu-lv .form-select { min-height: 40px; }
    body.wz2 .wz-fpu-lv .wz-iconbtn[hidden] { display: none; }

@media (max-width: 560px) {
    body.wz2 .wz-fpu-lv { grid-template-columns: minmax(0, 1fr) auto auto; }
    body.wz2 .wz-fpu-lv .wz-fpu-drop { grid-column: 1 / -1; grid-row: 2; }
}

/* table: Home type and Levels columns */
body.wz2 .wz-df-tbl td.wz-df-sm { font-size: 13px; white-space: nowrap; }
/* === end === */

/* === 2026-11-18 design update: visual QA === */
/* 2026-11-18 design: the viewer spec line ("3 Beds | 2 Baths | ... | 1 Car Garage") is written without spaces, so it
   never wrapped and ran under the close button and off a 375px screen; it now wraps between the items. */
body.wz2 .wz-fpv-s { display: flex; flex-wrap: wrap; align-items: baseline; }
/* 2026-11-18 design: the viewer close button was Bootstrap's 21px cross; 40px touch target on phones, same icon. */
body.wz2 .wz-fpv .btn-close { box-sizing: border-box; width: 40px; height: 40px; padding: 0; margin: -10px -10px -10px 0; }
/* === end === */

/* === 2026-11-18 round 2: precon === */
/* Side card for clients, realtors and admins: the design's "Contact Development Owner" card (prototype cd-devc). */
body.wz2 .wz-pc-dc { display: flex; flex-direction: column; gap: 0; }
    body.wz2 .wz-pc-dc > .wz-badge { align-self: flex-start; }
    body.wz2 .wz-pc-dc h3 { margin: 12px 0 0; font-size: 18px; font-weight: 700; }
    body.wz2 .wz-pc-dc > p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.45; }
body.wz2 .wz-pc-dco { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px 16px; border: 1px solid var(--wz-line); border-radius: 14px; background: var(--wz-soft); }
body.wz2 .wz-pc-dco-ic { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--wz-tint); color: var(--wz-p); }
body.wz2 .wz-pc-dco-n { color: var(--wz-ink); font-size: 14px; font-weight: 700; }
/* 2026-11-19 (PM): the contact tile keeps the icon; the project name may wrap to two lines. The developer's logo has its
   own "Developer" box under the contact card (side column, and inside the phone sheet): small grey label, the logo on a
   white tile (contained, never cropped) and the company name. */
body.wz2 .wz-pc-devbox { gap: 12px; }
body.wz2 .wz-pc-devbox-l { color: var(--wz-muted); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
body.wz2 .wz-pc-devbox-r { display: flex; align-items: center; gap: 14px; min-width: 0; }
body.wz2 .wz-pc-devbox-logo { display: flex; flex: none; align-items: center; justify-content: center; width: 96px; height: 56px; padding: 6px; overflow: hidden; border: 1px solid var(--wz-line); border-radius: 12px; background: #fff; }
body.wz2 .wz-pc-devbox-logo > img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
body.wz2 .wz-pc-devbox-n { min-width: 0; color: var(--wz-ink); font-size: 14.5px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
body.wz2 .wz-msheet .wz-pc-devbox { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--wz-line); border-radius: 0; }
body.wz2 .wz-pc-dco-t { min-width: 0; }
body.wz2 .wz-pc-dco-t .wz-pc-dco-n { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
body.wz2 .wz-pc-dc-f { margin: 16px 0 0; }
    body.wz2 .wz-pc-dc-f label { display: block; margin-bottom: 6px; color: var(--wz-ink); font-size: 13px; font-weight: 600; }
    body.wz2 .wz-pc-dc-f textarea { min-height: 96px; border-radius: 10px; resize: vertical; }
    body.wz2 .wz-pc-dc-f .wz-btn { margin-top: 16px; }
body.wz2 .wz-pc-dc-err { margin-top: 6px; color: var(--wz-err); font-size: 13px; }
body.wz2 .wz-pc-dc-ok { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: var(--wz-ok-bg); color: var(--wz-ok); font-size: 13px; line-height: 1.4; }
    body.wz2 .wz-pc-dc-ok .wz-ic { flex: none; margin-top: 2px; }
/* kept site links (not in the design): agent chat / Chat with WizReal, as quiet text links under the button */
body.wz2 .wz-pc-dc-more { margin: 10px 0 0; text-align: center; }
body.wz2 .wz-pc-dc-link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 8px; border: 0; background: none; color: var(--wz-p); font-size: 13.5px; font-weight: 600; }
    body.wz2 .wz-pc-dc-link:hover { text-decoration: underline; }
body.wz2 .wz-pc-dc-cl { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--wz-line); }
    body.wz2 .wz-pc-dc-cl ul { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
    body.wz2 .wz-pc-dc-cl li { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
/* viewer: Download and Print are green text buttons in the design */
body.wz2 .wz-fpv-tools > .wz-btn.ghost { color: var(--wz-p); }
    body.wz2 .wz-fpv-tools > .wz-btn.ghost:hover { color: var(--wz-p-d); }
/* Add / Edit Floor Plan: the form wraps header, body and footer, so make it the scrolling column (design: fixed
   title bar and Cancel / Add Plan bar, the fields scroll between them, divider lines under the title and over the buttons). */
body.wz2 #dfPlanModal .wz-fpu-form { display: flex; flex-direction: column; min-height: 0; max-height: 100%; overflow: hidden; }
    body.wz2 #dfPlanModal .wz-fpu-form > .modal-body { overflow-y: auto; }
    body.wz2 #dfPlanModal .wz-fpu-form > .modal-header { padding-bottom: 16px; border-bottom: 1px solid var(--wz-line); }
    body.wz2 #dfPlanModal .wz-fpu-form > .modal-footer { padding-top: 14px; border-top: 1px solid var(--wz-line); }
body.wz2 #dfPlanModal .modal-content { max-height: calc(100vh - 3.5rem); }
/* === end === */

/* === 2026-11-18 wave 3: precon === */
/* Phone / tablet (one column, up to 1100px): the design has no side card in the page, only the sticky bottom bar; the
   bar's sheet (wz-mbar.js) moves the card's content in on demand, so the column itself stays hidden here. */
@media (max-width: 1100.98px) {
    body.wz2 .wz-pc .wzd-side { display: none; }
}
/* In the phone sheet the sheet title already reads "Contact Development Owner": no second heading. */
body.wz2 .wz-msheet .wz-pc-dc > h3 { display: none; }
/* === end === */
/* === 2026-11-19 round 5: public === */
/* Find a Development filter card at desktop (design dvs card 1440): 32px padding, 52px segmented control (5px inset,
   40px tabs), 20px under it, 14px between the field rows: 240px tall. */
@media (min-width: 992px) {
    body.wz2 .wz-dvs-card { padding: 32px; }
    body.wz2 .wz-dvs-tabs { margin-bottom: 20px; padding: 5px; }
    body.wz2 .wz-dvs-tabs a { height: 42px; padding: 0 16px; }
    body.wz2 .wz-dvs-grid { gap: 14px; }
}
/* === end === */

/* === 2026-11-19 round 6: public === */
/* Find a Development below desktop (design dvs at 768 / 390): page gutter clamp(20px, 5vw, 48px) (38px at 768, 20px
   on phones); filter card 32px padding from 768px (20px on phones) with the design card shadow; pill segmented control
   (5px inset, 40-42px pill tabs); on phones the three tabs share the row as text only (13px, no icons) so "Commercial"
   fits; "Available Developments" 24px at every width. */
@media (max-width: 1199.98px) {
    body.wz2 .wz-page.wz-dvs { padding-left: clamp(20px, 5vw, 48px); padding-right: clamp(20px, 5vw, 48px); }
}
body.wz2 .wz-dvs-card { border-radius: 18px; box-shadow: 0 10px 36px rgba(17, 20, 24, .08); }
body.wz2 .wz-dvs-tabs { margin-bottom: 20px; padding: 5px; border: 1px solid var(--wz-line); border-radius: 999px; }
    body.wz2 .wz-dvs-tabs a { height: 40px; padding: 0 18px; border-radius: 999px; }
body.wz2 .wz-dvs-rh h2 { font-size: 24px; }
body.wz2 .wz-dvs-head h1 { letter-spacing: -.022em; } /* design: the 26px phone title stays on one line at 390 */
@media (min-width: 768px) {
    body.wz2 .wz-dvs-card { padding: 32px; }
    body.wz2 .wz-dvs-tabs a { height: 42px; padding: 0 16px; }
    body.wz2 .wz-dvs-grid { gap: 14px; }
}
@media (max-width: 767.98px) {
    body.wz2 .wz-dvs-card { padding: 20px; }
}
@media (max-width: 560px) {
    body.wz2 .wz-dvs-tabs { display: flex; scrollbar-width: none; }
    body.wz2 .wz-dvs-tabs a { flex: 1 1 0; min-width: 0; padding: 0 12px; font-size: 13px; }
    body.wz2 .wz-dvs-tabs a > svg,
    body.wz2 .wz-dvs-tabs a > .wz-ic { display: none; }
}
/* === end === */
