﻿/* WizReal Phase 2 components (P0-b, 2026-11-04).
   Re-expressions of the designer's prototype components on top of Bootstrap 5.3.
   Every selector is scoped to body.wz2 and prefixed wz- so nothing collides with
   Bootstrap (.row/.col/.modal/.toast/.badge/.card) or with site.css/dashboard.css.
   Breakpoints are Bootstrap's only: 576 / 768 / 992 / 1200 / 1400. */

/* ---- Icons ----------------------------------------------------------------- */

body.wz2 .wz-ic {
    display: inline-block;
    flex: 0 0 auto;
    vertical-align: -0.18em;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---- Layout helpers -------------------------------------------------------- */

body.wz2 .wz-page {
    width: 100%;
    max-width: var(--wz-page-max);
    margin-inline: auto;
    padding-inline: var(--wz-page-x);
}

body.wz2 .wz-grid-2,
body.wz2 .wz-grid-3 {
    display: grid;
    gap: var(--wz-grid-gap);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.wz2 .wz-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.wz2 .wz-grid-4 {
    display: grid;
    gap: var(--wz-grid-gap);
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.wz2 .wz-flex {
    display: flex;
    align-items: center;
}

body.wz2 .wz-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

body.wz2 .wz-wrap { flex-wrap: wrap; }
body.wz2 .wz-gap-4 { gap: 4px; }
body.wz2 .wz-gap-8 { gap: 8px; }
body.wz2 .wz-gap-12 { gap: 12px; }
body.wz2 .wz-gap-16 { gap: 16px; }
body.wz2 .wz-gap-24 { gap: 24px; }

body.wz2 .wz-mt-0 { margin-top: 0; }
body.wz2 .wz-mt-4 { margin-top: 4px; }
body.wz2 .wz-mt-8 { margin-top: 8px; }
body.wz2 .wz-mt-12 { margin-top: 12px; }
body.wz2 .wz-mt-16 { margin-top: 16px; }
body.wz2 .wz-mt-24 { margin-top: 24px; }
body.wz2 .wz-mt-32 { margin-top: 32px; }
body.wz2 .wz-mb-0 { margin-bottom: 0; }
body.wz2 .wz-mb-4 { margin-bottom: 4px; }
body.wz2 .wz-mb-8 { margin-bottom: 8px; }
body.wz2 .wz-mb-12 { margin-bottom: 12px; }
body.wz2 .wz-mb-16 { margin-bottom: 16px; }
body.wz2 .wz-mb-24 { margin-bottom: 24px; }
body.wz2 .wz-mb-32 { margin-bottom: 32px; }

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

@media (max-width: 991.98px) {
    body.wz2 .wz-grid-2,
    body.wz2 .wz-grid-3 {
        grid-template-columns: minmax(0, 1fr);
    }
}

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

/* ---- Dashboard shell ------------------------------------------------------- */

/* site.css makes body a flex column (sticky footer); the shell fills it. */
body.wz2 > .wz-dash {
    flex: 1 0 auto;
    width: 100%;
}

body.wz2 .wz-dash {
    --wz-side-w: 252px;
    display: grid;
    grid-template-columns: var(--wz-side-w) minmax(0, 1fr);
    grid-template-rows: 72px minmax(0, 1fr);
    grid-template-areas: "side top" "side main";
    min-height: 100vh;
    background: var(--wz-dash-bg);
}

body.wz2 .wz-sidebar {
    grid-area: side;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 14px 24px;
    background: var(--wz-bg);
    border-right: 1px solid var(--wz-line);
    z-index: 1020;
}

body.wz2 .wz-side-logo {
    display: flex;
    align-items: center;
    height: 40px;
    padding: 0 8px;
    margin-bottom: 12px;
}

    body.wz2 .wz-side-logo img {
        height: 36px;
        width: auto;
    }

    body.wz2 .wz-side-logo .wz-side-logo-sm {
        display: none;
        height: 32px;
    }

body.wz2 .wz-side-role {
    padding: 8px 10px 6px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--wz-faint);
}

body.wz2 .wz-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.wz2 .wz-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    padding: 9px 12px;
    border-radius: var(--wz-r);
    color: var(--wz-ink2);
    font-weight: 500;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}

    body.wz2 .wz-nav-item:hover {
        background: var(--wz-soft);
        color: var(--wz-ink);
    }

    body.wz2 .wz-nav-item.on {
        background: var(--wz-tint);
        color: var(--wz-p-d);
        font-weight: 600;
    }

    body.wz2 .wz-nav-item:focus-visible {
        outline: none;
        box-shadow: var(--wz-focus-ring);
    }

body.wz2 .wz-nav-l {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.wz2 .wz-nav-c {
    min-width: 22px;
    height: 20px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--wz-p);
    color: #fff;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 20px;
    text-align: center;
}

body.wz2 .wz-dash-top {
    grid-area: top;
    position: sticky;
    top: 0;
    z-index: 1010;
    display: flex;
    align-items: center;
    gap: 16px;
    height: 72px;
    padding: 0 var(--wz-page-x);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--wz-line);
}

body.wz2 .wz-top-search {
    position: relative;
    flex: 0 1 420px;
    min-width: 0;
    margin: 0;
}

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

    body.wz2 .wz-top-search input {
        width: 100%;
        height: 42px;
        padding: 0 14px 0 40px;
        border: 1px solid var(--wz-line);
        border-radius: 999px;
        background: var(--wz-soft);
        color: var(--wz-ink);
        font-size: 14px;
    }

        body.wz2 .wz-top-search input:focus {
            outline: none;
            border-color: var(--wz-p);
            background: #fff;
            box-shadow: var(--wz-focus-ring);
        }

body.wz2 .wz-top-r {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

body.wz2 .wz-iconbtn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: var(--wz-ink2);
    text-decoration: none;
}

    body.wz2 .wz-iconbtn:hover {
        background: var(--wz-soft);
        color: var(--wz-ink);
    }

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

    body.wz2 .wz-iconbtn .dot {
        position: absolute;
        top: 9px;
        right: 10px;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--wz-err);
        box-shadow: 0 0 0 2px #fff;
    }

body.wz2 .wz-usermenu-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 4px 10px 4px 4px;
    border: 1px solid var(--wz-line);
    border-radius: 999px;
    background: #fff;
    color: var(--wz-ink);
}

    body.wz2 .wz-usermenu-btn:hover {
        border-color: var(--wz-line2);
    }

    body.wz2 .wz-usermenu-btn:focus-visible {
        outline: none;
        box-shadow: var(--wz-focus-ring);
    }

body.wz2 .wz-usermenu-name {
    max-width: 160px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.wz2 .wz-main {
    grid-area: main;
    min-width: 0;
    padding: 28px var(--wz-page-x) 48px;
    background: var(--wz-dash-bg);
}

/* Page header: title, sub, actions (prototype wzHead). */
body.wz2 .wz-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

    body.wz2 .wz-head h1 {
        margin: 0;
    }

body.wz2 .wz-head-sub {
    margin: 6px 0 0;
    color: var(--wz-muted);
}

body.wz2 .wz-head-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Rail: 76px icon rail with tooltips at <=1280 (design value; P9-a 2026-11-05 restored it from
   the 1200 normalisation), 60px at <=768 below. */
@media (max-width: 1280px) {
    body.wz2 .wz-dash {
        --wz-side-w: 76px;
    }

    body.wz2 .wz-sidebar {
        align-items: center;
        padding: 16px 10px;
        overflow: visible;
    }

    body.wz2 .wz-side-logo {
        justify-content: center;
        padding: 0;
    }

        body.wz2 .wz-side-logo .wz-side-logo-lg {
            display: none;
        }

        body.wz2 .wz-side-logo .wz-side-logo-sm {
            display: block;
        }

    body.wz2 .wz-side-role {
        display: none;
    }

    /* Visually hidden, not display:none: the label stays the link's accessible name (P9-a). */
    body.wz2 .wz-nav-l {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0 0 0 0);
        border: 0;
    }

    body.wz2 .wz-nav-item {
        justify-content: center;
        width: 48px;
        height: 48px;
        padding: 0;
    }

    body.wz2 .wz-nav-c {
        position: absolute;
        top: 4px;
        right: 2px;
        min-width: 18px;
        height: 16px;
        padding: 0 4px;
        font-size: 10px;
        line-height: 16px;
    }

    body.wz2 .wz-nav-item::after {
        content: attr(data-tip);
        position: absolute;
        left: calc(100% + 10px);
        top: 50%;
        transform: translateY(-50%);
        padding: 6px 10px;
        border-radius: 8px;
        background: var(--wz-ink);
        color: #fff;
        font-size: 12px;
        font-weight: 500;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: opacity .12s ease;
        z-index: 1080;
    }

    body.wz2 .wz-nav-item:hover::after,
    body.wz2 .wz-nav-item:focus-visible::after {
        opacity: 1;
    }
}

@media (max-width: 767.98px) {
    body.wz2 .wz-dash {
        --wz-side-w: 60px;
        grid-template-rows: 60px minmax(0, 1fr);
    }

    body.wz2 .wz-sidebar {
        padding: 12px 6px;
    }

    body.wz2 .wz-nav-item {
        width: 44px;
        height: 44px;
    }

    body.wz2 .wz-dash-top {
        height: 60px;
    }

    /* Design hides the dashboard search on phones; the avatar stays (it is the only
       way to sign out) but collapses to the picture. */
    body.wz2 .wz-top-search,
    body.wz2 .wz-usermenu-name,
    body.wz2 .wz-usermenu-btn .wz-ic {
        display: none;
    }

    body.wz2 .wz-usermenu-btn {
        padding: 2px;
    }

    body.wz2 .wz-main {
        padding-top: 20px;
    }
}

/* ---- Cards and KPI tiles --------------------------------------------------- */

body.wz2 .wz-card {
    background: var(--wz-bg);
    border: 1px solid var(--wz-line);
    border-radius: var(--wz-r-lg);
    box-shadow: none;
}

body.wz2 .wz-card-h {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px 0;
}

    body.wz2 .wz-card-h h2,
    body.wz2 .wz-card-h h3,
    body.wz2 .wz-card-h .wz-card-t {
        margin: 0;
        font-size: 17px;
        font-weight: 700;
    }

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

body.wz2 .wz-kpi {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 20px;
    background: var(--wz-bg);
    border: 1px solid var(--wz-line);
    border-radius: var(--wz-r-lg);
    color: inherit;
    text-decoration: none;
}

    body.wz2 .wz-kpi.click {
        cursor: pointer;
        transition: border-color .15s ease, box-shadow .15s ease;
    }

        body.wz2 .wz-kpi.click:hover {
            border-color: var(--wz-line2);
            box-shadow: var(--wz-shadow-pop);
        }

body.wz2 .wz-kpi-l {
    font-size: 13px;
    font-weight: 500;
    color: var(--wz-muted);
}

body.wz2 .wz-kpi-v {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.15;
    color: var(--wz-ink);
}

body.wz2 .wz-kpi-s {
    font-size: 12px;
    color: var(--wz-muted);
}

body.wz2 .wz-kpi-ic {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--wz-tint);
    color: var(--wz-p);
}

/* ---- Badges, tags, source pills ------------------------------------------- */

body.wz2 .wz-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--wz-neutral-bg);
    color: var(--wz-neutral);
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
}

    body.wz2 .wz-badge.ok { background: var(--wz-ok-bg); color: var(--wz-ok); }
    body.wz2 .wz-badge.warn { background: var(--wz-warn-bg); color: var(--wz-warn); }
    body.wz2 .wz-badge.err { background: var(--wz-err-bg); color: var(--wz-err); }
    body.wz2 .wz-badge.info { background: var(--wz-info-bg); color: var(--wz-info); }
    body.wz2 .wz-badge.neutral { background: var(--wz-neutral-bg); color: var(--wz-neutral); }
    body.wz2 .wz-badge.purple { background: var(--wz-purple-bg); color: var(--wz-purple); }
    body.wz2 .wz-badge.dark { background: var(--wz-ink); color: #fff; }

    body.wz2 .wz-badge.dot::before {
        content: "";
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: currentColor;
    }

body.wz2 .wz-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border: 1px solid var(--wz-line2);
    border-radius: 999px;
    background: #fff;
    color: var(--wz-ink2);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

body.wz2 .wz-src {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    border: 1px solid var(--wz-line);
    color: var(--wz-ink2);
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
}

    body.wz2 .wz-src::before {
        content: "";
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--wz-faint);
    }

    body.wz2 .wz-src.mls::before { background: var(--wz-mls); }
    body.wz2 .wz-src.fsbo::before { background: var(--wz-fsbo); }
    body.wz2 .wz-src.precon::before { background: var(--wz-precon); }

body.wz2 .wz-newtag {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: #FFF6DA;
    color: #7A5208;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    white-space: nowrap;
}

/* ---- Buttons --------------------------------------------------------------- */

body.wz2 .wz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--wz-line2);
    border-radius: var(--wz-r);
    background: #fff;
    color: var(--wz-ink);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

    body.wz2 .wz-btn:hover {
        border-color: var(--wz-faint);
        color: var(--wz-ink);
    }

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

    body.wz2 .wz-btn:disabled,
    body.wz2 .wz-btn.disabled {
        opacity: .5;
        pointer-events: none;
    }

    body.wz2 .wz-btn.primary {
        background: var(--wz-p);
        border-color: var(--wz-p);
        color: #fff;
    }

        body.wz2 .wz-btn.primary:hover {
            background: var(--wz-p-d);
            border-color: var(--wz-p-d);
            color: #fff;
        }

    body.wz2 .wz-btn.outline {
        background: #fff;
        border-color: var(--wz-line2);
        color: var(--wz-ink);
    }

        body.wz2 .wz-btn.outline:hover {
            border-color: var(--wz-p);
            color: var(--wz-p-d);
            background: var(--wz-tint2);
        }

    body.wz2 .wz-btn.ghost {
        background: transparent;
        border-color: transparent;
        color: var(--wz-ink2);
    }

        body.wz2 .wz-btn.ghost:hover {
            background: var(--wz-soft);
            color: var(--wz-ink);
        }

    body.wz2 .wz-btn.danger {
        background: #fff;
        border-color: var(--wz-line2);
        color: var(--wz-err);
    }

        body.wz2 .wz-btn.danger:hover {
            background: var(--wz-err-bg);
            border-color: var(--wz-err);
            color: var(--wz-err);
        }

        body.wz2 .wz-btn.danger.solid {
            background: var(--wz-err);
            border-color: var(--wz-err);
            color: #fff;
        }

            body.wz2 .wz-btn.danger.solid:hover {
                background: #8A2822;
                border-color: #8A2822;
                color: #fff;
            }

    body.wz2 .wz-btn.sm {
        min-height: 38px;
        padding: 0 12px;
        font-size: 13px;
        border-radius: 10px;
        gap: 6px;
    }

    body.wz2 .wz-btn.lg {
        min-height: 48px;
        padding: 0 24px;
        font-size: 15px;
    }

    body.wz2 .wz-btn.block {
        display: flex;
        width: 100%;
    }

/* Existing Bootstrap buttons inside wz2 pages pick up the same shape. */
body.wz2 .btn {
    --bs-btn-font-weight: 600;
    --bs-btn-border-radius: var(--wz-r);
    --bs-btn-padding-x: 18px;
    --bs-btn-font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
}

body.wz2 .btn-sm {
    --bs-btn-border-radius: 10px;
    --bs-btn-padding-x: 12px;
    --bs-btn-font-size: 13px;
    min-height: 34px;
    gap: 6px;
}

body.wz2 .btn-lg {
    --bs-btn-padding-x: 24px;
    --bs-btn-font-size: 15px;
    min-height: 52px;
}

body.wz2 .btn-link {
    min-height: 0;
}

body.wz2 .btn-danger {
    --bs-btn-bg: var(--wz-err);
    --bs-btn-border-color: var(--wz-err);
    --bs-btn-hover-bg: #8A2822;
    --bs-btn-hover-border-color: #8A2822;
    --bs-btn-active-bg: #8A2822;
    --bs-btn-active-border-color: #8A2822;
}

body.wz2 .btn-outline-danger {
    --bs-btn-color: var(--wz-err);
    --bs-btn-border-color: var(--wz-line2);
    --bs-btn-hover-color: var(--wz-err);
    --bs-btn-hover-bg: var(--wz-err-bg);
    --bs-btn-hover-border-color: var(--wz-err);
    --bs-btn-active-color: var(--wz-err);
    --bs-btn-active-bg: var(--wz-err-bg);
    --bs-btn-active-border-color: var(--wz-err);
}

body.wz2 .btn-outline-secondary,
body.wz2 .btn-light {
    --bs-btn-color: var(--wz-ink);
    --bs-btn-bg: #fff;
    --bs-btn-border-color: var(--wz-line2);
    --bs-btn-hover-color: var(--wz-ink);
    --bs-btn-hover-bg: var(--wz-soft);
    --bs-btn-hover-border-color: var(--wz-faint);
    --bs-btn-active-color: var(--wz-ink);
    --bs-btn-active-bg: var(--wz-soft);
    --bs-btn-active-border-color: var(--wz-faint);
}

/* ---- Tabs, tab overflow, segmented control --------------------------------- */

body.wz2 .wz-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    body.wz2 .wz-tabs > a,
    body.wz2 .wz-tabs > button,
    body.wz2 .wz-tabs .wz-tab {
        display: inline-flex;
        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;
        text-decoration: none;
        white-space: nowrap;
        cursor: pointer;
    }

        body.wz2 .wz-tabs > a:hover,
        body.wz2 .wz-tabs > button:hover,
        body.wz2 .wz-tabs .wz-tab:hover {
            border-color: var(--wz-line2);
            color: var(--wz-ink);
        }

        body.wz2 .wz-tabs > .on,
        body.wz2 .wz-tabs .wz-tab.on {
            background: var(--wz-ink);
            border-color: var(--wz-ink);
            color: #fff;
            font-weight: 600;
        }

    body.wz2 .wz-tabs .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 .wz-tabs .on .c {
        background: rgba(255, 255, 255, .2);
        color: #fff;
    }

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

    body.wz2 .wz-tabsx > .wz-tabs {
        overflow-x: auto;
        scrollbar-width: none;
        scroll-behavior: smooth;
        padding: 2px;
    }

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

body.wz2 .wz-tabsx-btn {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid var(--wz-line);
    border-radius: 50%;
    background: #fff;
    color: var(--wz-ink2);
    box-shadow: var(--wz-shadow-pop);
    transform: translateY(-50%);
}

    body.wz2 .wz-tabsx-btn.prev { left: 0; }
    body.wz2 .wz-tabsx-btn.next { right: 0; }

body.wz2 .wz-tabsx::before,
body.wz2 .wz-tabsx::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 56px;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity .15s ease;
}

body.wz2 .wz-tabsx::before {
    left: 0;
    background: linear-gradient(90deg, var(--wz-tabsx-fade, var(--wz-dash-bg)) 40%, transparent);
}

body.wz2 .wz-tabsx::after {
    right: 0;
    background: linear-gradient(270deg, var(--wz-tabsx-fade, var(--wz-dash-bg)) 40%, transparent);
}

body.wz2 .wz-tabsx.can-l::before,
body.wz2 .wz-tabsx.can-r::after {
    opacity: 1;
}

body.wz2 .wz-tabsx.can-l .wz-tabsx-btn.prev,
body.wz2 .wz-tabsx.can-r .wz-tabsx-btn.next {
    display: inline-flex;
}

body.wz2 .wz-seg {
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    border-radius: var(--wz-r);
    background: var(--wz-neutral-bg);
}

    body.wz2 .wz-seg > a,
    body.wz2 .wz-seg > button,
    body.wz2 .wz-seg > label {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        height: 34px;
        margin: 0;
        padding: 0 14px;
        border: 0;
        border-radius: 9px;
        background: transparent;
        color: var(--wz-ink2);
        font-size: 13px;
        font-weight: 500;
        text-decoration: none;
        white-space: nowrap;
        cursor: pointer;
    }

        body.wz2 .wz-seg > .on,
        body.wz2 .wz-seg > input:checked + label {
            background: #fff;
            color: var(--wz-ink);
            font-weight: 600;
            box-shadow: var(--wz-shadow);
        }

    body.wz2 .wz-seg > input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

/* ---- Tables, kebab, floating menus ---------------------------------------- */

body.wz2 .wz-tbl-wrap,
body.wz2 .wz-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin; /* Design audit C33 / A12 / admin 19 (2026-11-27): slim 6 px scrollbar (design scrollux). */
    scrollbar-color: var(--wz-line2) transparent;
}

    body.wz2 .wz-tbl-wrap::-webkit-scrollbar,
    body.wz2 .wz-table-wrap::-webkit-scrollbar { height: 6px; }

    body.wz2 .wz-tbl-wrap::-webkit-scrollbar-thumb,
    body.wz2 .wz-table-wrap::-webkit-scrollbar-thumb { border-radius: 3px; background: var(--wz-line2); }

/* Overlay added by wz-ui.js initTblScroll: sticky at the left edge of the scroller, zero height, so it never moves the table. */
body.wz2 .wz-tsx-ov {
    position: sticky;
    left: 0;
    z-index: 3;
    height: 0;
    pointer-events: none;
}

body.wz2 .wz-tsx-fade {
    position: absolute;
    top: 0;
    width: 36px;
    height: var(--wz-tsx-h, 0);
    opacity: 0;
    transition: opacity .15s;
}

    body.wz2 .wz-tsx-fade.l { left: 0; background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0)); }
    body.wz2 .wz-tsx-fade.r { right: 0; background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0)); }

body.wz2 .wz-tsx-btn {
    position: absolute;
    top: calc(var(--wz-tsx-h, 64px) / 2 - 16px);
    display: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid var(--wz-line);
    border-radius: 50%;
    background: #fff;
    color: var(--wz-ink2);
    box-shadow: var(--wz-shadow-pop);
    pointer-events: auto;
}

    body.wz2 .wz-tsx-btn.prev { left: 6px; }
    body.wz2 .wz-tsx-btn.next { right: 6px; }

body.wz2 .wz-tsx-on.can-l .wz-tsx-fade.l,
body.wz2 .wz-tsx-on.can-r .wz-tsx-fade.r { opacity: 1; }

body.wz2 .wz-tsx-on.can-l .wz-tsx-btn.prev,
body.wz2 .wz-tsx-on.can-r .wz-tsx-btn.next { display: inline-flex; }

/* Phones (P9-a): tables keep their columns and scroll sideways instead of crushing. */
@media (max-width: 640px) {
    body.wz2 .wz-tbl-wrap > table,
    body.wz2 .wz-table-wrap > table {
        min-width: 640px;
    }
}

body.wz2 .wz-tbl {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
}

    body.wz2 .wz-tbl th {
        padding: 10px 14px;
        border-bottom: 1px solid var(--wz-line);
        background: transparent;
        color: var(--wz-muted);
        font-size: 12px;
        font-weight: 500;
        text-align: left;
        white-space: nowrap;
    }

    body.wz2 .wz-tbl td {
        padding: 12px 14px;
        border-bottom: 1px solid var(--wz-line);
        vertical-align: middle;
        color: var(--wz-ink);
    }

    body.wz2 .wz-tbl tbody tr:last-child td {
        border-bottom: 0;
    }

    body.wz2 .wz-tbl tr.click {
        cursor: pointer;
    }

        body.wz2 .wz-tbl tr.click:hover td {
            background: var(--wz-soft);
        }

    body.wz2 .wz-tbl .num {
        text-align: right;
        font-variant-numeric: tabular-nums;
    }

    body.wz2 .wz-tbl th:last-child.wz-act,
    body.wz2 .wz-tbl td:last-child.wz-act {
        position: sticky;
        right: 0;
        background: var(--wz-bg);
        text-align: right;
        white-space: nowrap;
    }

    body.wz2 .wz-tbl tr.click:hover td.wz-act {
        background: var(--wz-soft);
    }

body.wz2 .wz-thumb {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 10px;
    background: var(--wz-soft);
    object-fit: cover;
}

body.wz2 .wz-kebab-wrap {
    position: relative;
    display: inline-flex;
}

body.wz2 .wz-kebab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--wz-ink2);
    cursor: pointer;
}

    body.wz2 .wz-kebab:hover,
    body.wz2 .wz-kebab[aria-expanded="true"] {
        background: var(--wz-soft);
        border-color: var(--wz-line);
        color: var(--wz-ink);
    }

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

/* Floating menu; also used to style Bootstrap .dropdown-menu inside the shell. */
body.wz2 .wz-rm-pop {
    position: fixed;
    z-index: 1070;
    min-width: 200px;
    padding: 6px;
    border: 1px solid var(--wz-line);
    border-radius: var(--wz-r-pop);
    background: #fff;
    box-shadow: var(--wz-shadow-pop);
}

    body.wz2 .wz-rm-pop[hidden] {
        display: none;
    }

body.wz2 .dropdown-menu {
    --bs-dropdown-border-color: var(--wz-line);
    --bs-dropdown-border-radius: var(--wz-r-pop);
    --bs-dropdown-box-shadow: var(--wz-shadow-pop);
    --bs-dropdown-link-active-bg: var(--wz-tint);
    --bs-dropdown-link-active-color: var(--wz-p-d);
    --bs-dropdown-link-hover-bg: var(--wz-soft);
    --bs-dropdown-padding-x: 6px;
    --bs-dropdown-padding-y: 6px;
    --bs-dropdown-font-size: 14px;
}

body.wz2 .wz-rm-pop form,
body.wz2 .wz-menu form {
    margin: 0;
}

body.wz2 .wz-rm-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 38px;
    padding: 8px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--wz-ink);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

    body.wz2 .wz-rm-item:hover,
    body.wz2 .wz-rm-item:focus-visible {
        outline: none;
        background: var(--wz-soft);
        color: var(--wz-ink);
    }

    /* Keyboard focus must differ from hover (P9-a). */
    body.wz2 .wz-rm-item:focus-visible {
        box-shadow: inset 0 0 0 2px rgba(var(--wz-p-rgb), .45);
    }

    body.wz2 .wz-rm-item .wz-ic {
        color: var(--wz-muted);
    }

    /* Item with a second line (WzMenuItem.Sub, e.g. "Visit Website / Open the public site"). */
    body.wz2 .wz-rm-item.has-sub {
        align-items: flex-start;
        white-space: normal;
    }

        body.wz2 .wz-rm-item.has-sub .wz-ic {
            margin-top: 2px;
        }

    body.wz2 .wz-rm-txt {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    body.wz2 .wz-rm-sub {
        margin-top: 2px;
        color: var(--wz-muted);
        font-size: 12.5px;
        font-weight: 400;
        line-height: 1.35;
    }

    body.wz2 .wz-rm-item.danger,
    body.wz2 .wz-rm-item.danger .wz-ic {
        color: var(--wz-err);
    }

        body.wz2 .wz-rm-item.danger:hover {
            background: var(--wz-err-bg);
        }

body.wz2 .wz-rm-sep {
    height: 1px;
    margin: 6px 4px;
    background: var(--wz-line);
}

body.wz2 .wz-menu-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px 12px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--wz-line);
}

body.wz2 .wz-menu-head-t {
    font-weight: 600;
    line-height: 1.3;
}

body.wz2 .wz-menu-head-s {
    font-size: 12px;
    color: var(--wz-muted);
    word-break: break-all;
}

/* Notifications popover in the top bar. */
body.wz2 .wz-notif-pop {
    width: min(380px, calc(100vw - 24px));
    padding: 0;
}

body.wz2 .wz-notif-h {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--wz-line);
}

    body.wz2 .wz-notif-h h2 {
        margin: 0;
        font-size: 15px;
    }

body.wz2 .wz-notif-list {
    max-height: 420px;
    overflow-y: auto;
    padding: 6px;
}

body.wz2 .wz-notif-item {
    display: flex;
    gap: 12px;
    padding: 10px;
    border-radius: 12px;
    color: var(--wz-ink);
    text-decoration: none;
}

    body.wz2 .wz-notif-item:hover {
        background: var(--wz-soft);
        color: var(--wz-ink);
    }

body.wz2 .wz-notif-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--wz-tint);
    color: var(--wz-p);
}

body.wz2 .wz-notif-t {
    font-weight: 600;
    line-height: 1.35;
}

body.wz2 .wz-notif-m {
    margin-top: 2px;
    font-size: 13px;
    color: var(--wz-muted);
}

/* ---- Modal and toast ------------------------------------------------------- */

body.wz2 .modal {
    --bs-modal-border-radius: var(--wz-r-modal);
    --bs-modal-inner-border-radius: calc(var(--wz-r-modal) - 1px);
    --bs-modal-border-color: var(--wz-line);
    --bs-modal-header-padding: 20px 24px 12px;
    --bs-modal-header-border-width: 0;
    --bs-modal-footer-border-width: 0;
    --bs-modal-padding: 8px 24px 16px;
    --bs-modal-box-shadow: var(--wz-shadow-lg);
}

body.wz2 .modal-content.wz-modal,
body.wz2 .wz-modal .modal-content {
    border-radius: var(--wz-r-modal);
    border: 1px solid var(--wz-line);
    box-shadow: var(--wz-shadow-lg);
}

body.wz2 .wz-modal .modal-header {
    padding: 22px 24px 8px;
    border-bottom: 0;
}

body.wz2 .wz-modal .modal-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.02em;
}

body.wz2 .wz-modal .modal-body {
    padding: 8px 24px 16px;
    color: var(--wz-ink2);
}

body.wz2 .wz-modal .modal-footer {
    gap: 8px;
    padding: 8px 24px 22px;
    border-top: 0;
}

    body.wz2 .wz-modal .modal-footer > * {
        margin: 0;
    }

/* Design audit C32 (2026-11-27): dialogs the design draws with divider lines under the title and above the buttons. */
body.wz2 .wz-modal-lines .modal-header {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--wz-line);
}

body.wz2 .wz-modal-lines .modal-body {
    padding-top: 16px;
}

body.wz2 .wz-modal-lines .modal-footer {
    padding-top: 16px;
    border-top: 1px solid var(--wz-line);
}

/* Design audit A27 (2026-11-27): Claim Lead looks disabled until the referral agreement box is ticked (the box stays, CG Q15). */
body.wz2 .modal:has(input[name="agreementAccepted"]:not(:checked)) .modal-footer button[type="submit"] {
    opacity: .5;
    pointer-events: none;
}

body.wz2 .wz-toast-stack {
    position: fixed;
    top: 16px;
    left: 50%;
    z-index: 1090;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: max-content;
    max-width: calc(100vw - 32px);
    transform: translateX(-50%);
    pointer-events: none;
}

body.wz2 .wz-toast {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 520px;
    padding: 12px 16px;
    border-radius: var(--wz-r);
    background: var(--wz-ink);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--wz-shadow-lg);
    pointer-events: auto;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease;
}

    body.wz2 .wz-toast.show {
        opacity: 1;
        transform: translateY(0);
    }

    body.wz2 .wz-toast .wz-ic {
        color: #fff;
    }

    body.wz2 .wz-toast.ok {
        background: var(--wz-ok);
    }

    body.wz2 .wz-toast.err {
        background: var(--wz-err);
    }

/* ---- Forms ----------------------------------------------------------------- */

body.wz2 .wz-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

    body.wz2 .wz-field > label,
    body.wz2 .wz-field > .wz-label {
        margin: 0;
        font-size: 12px;
        font-weight: 600;
        color: var(--wz-muted);
    }

    body.wz2 .wz-field .wz-hint {
        font-size: 12px;
        color: var(--wz-muted);
    }

    body.wz2 .wz-field .wz-err-text {
        font-size: 12px;
        color: var(--wz-err);
    }

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

body.wz2 textarea.form-control {
    min-height: 96px;
}

body.wz2 .form-control-sm,
body.wz2 .form-select-sm {
    min-height: 34px;
    border-radius: 10px;
}

body.wz2 .form-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--wz-muted);
}

/* Floating-label box (prototype wzF). */
body.wz2 .wz-ff {
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 56px;
    border: 1px solid var(--wz-line2);
    border-radius: var(--wz-r);
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

    body.wz2 .wz-ff:focus-within {
        border-color: var(--wz-p);
        box-shadow: var(--wz-focus-ring);
    }

    body.wz2 .wz-ff > label {
        position: absolute;
        top: 8px;
        left: 14px;
        margin: 0;
        font-size: 11.5px;
        font-weight: 600;
        color: var(--wz-muted);
        pointer-events: none;
    }

    body.wz2 .wz-ff input,
    body.wz2 .wz-ff select,
    body.wz2 .wz-ff textarea {
        flex: 1 1 auto;
        min-width: 0;
        padding: 24px 14px 8px;
        border: 0;
        border-radius: var(--wz-r);
        background: transparent;
        color: var(--wz-ink);
        font-size: 14px;
    }

        body.wz2 .wz-ff input:focus,
        body.wz2 .wz-ff select:focus,
        body.wz2 .wz-ff textarea:focus {
            outline: none;
        }

    body.wz2 .wz-ff .wz-ff-pre {
        display: flex;
        align-items: flex-end;
        padding: 0 0 8px 14px;
        color: var(--wz-muted);
        font-size: 14px;
    }

        body.wz2 .wz-ff .wz-ff-pre + input {
            padding-left: 6px;
        }

    body.wz2 .wz-ff .wz-ff-eye {
        display: inline-flex;
        align-items: center;
        padding: 0 14px;
        border: 0;
        background: transparent;
        color: var(--wz-muted);
    }

/* Chip input and chips. */
body.wz2 .wz-tagin {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 6px 10px;
    border: 1px solid var(--wz-line2);
    border-radius: var(--wz-r);
    background: #fff;
}

    body.wz2 .wz-tagin:focus-within {
        border-color: var(--wz-p);
        box-shadow: var(--wz-focus-ring);
    }

    body.wz2 .wz-tagin input {
        flex: 1 1 120px;
        min-width: 80px;
        border: 0;
        outline: none;
        background: transparent;
        font-size: 14px;
    }

body.wz2 .wz-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 12px;
    border: 1px solid var(--wz-line2);
    border-radius: 999px;
    background: #fff;
    color: var(--wz-ink2);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
}

    body.wz2 .wz-chip:hover {
        border-color: var(--wz-faint);
    }

    body.wz2 .wz-chip.on {
        background: var(--wz-tint);
        border-color: var(--wz-p);
        color: var(--wz-p-d);
        font-weight: 600;
    }

    body.wz2 .wz-chip .wz-chip-x {
        display: inline-flex;
        padding: 0;
        border: 0;
        background: transparent;
        color: inherit;
        opacity: .7;
    }

/* Number stepper. */
body.wz2 .wz-counter {
    display: inline-flex;
    align-items: center;
    height: 44px;
    border: 1px solid var(--wz-line2);
    border-radius: var(--wz-r);
    background: #fff;
    overflow: hidden;
}

    body.wz2 .wz-counter button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 100%;
        border: 0;
        background: transparent;
        color: var(--wz-ink2);
    }

        body.wz2 .wz-counter button:hover {
            background: var(--wz-soft);
        }

        body.wz2 .wz-counter button:disabled {
            color: var(--wz-faint);
            background: transparent;
        }

    body.wz2 .wz-counter input {
        width: 52px;
        height: 100%;
        border: 0;
        border-inline: 1px solid var(--wz-line);
        background: transparent;
        text-align: center;
        font-weight: 600;
        -moz-appearance: textfield;
        appearance: textfield;
    }

        body.wz2 .wz-counter input::-webkit-outer-spin-button,
        body.wz2 .wz-counter input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

        body.wz2 .wz-counter input:focus {
            outline: none;
        }

/* ---- Upload ---------------------------------------------------------------- */

body.wz2 .wz-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 32px 20px;
    border: 1.5px dashed var(--wz-line2);
    border-radius: var(--wz-r-lg);
    background: var(--wz-soft);
    color: var(--wz-muted);
    text-align: center;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}

    body.wz2 .wz-dropzone:hover,
    body.wz2 .wz-dropzone.drag {
        border-color: var(--wz-p);
        background: var(--wz-tint2);
        color: var(--wz-p-d);
    }

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

body.wz2 .wz-file {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--wz-line);
    border-radius: var(--wz-r);
    background: #fff;
}

body.wz2 .wz-file-kind {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--wz-err-bg);
    color: var(--wz-err);
    font-size: 11px;
    font-weight: 700;
}

body.wz2 .wz-file-n {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.wz2 .wz-file-m {
    font-size: 12px;
    font-weight: 400;
    color: var(--wz-muted);
}

body.wz2 .wz-file-a {
    display: flex;
    gap: 4px;
}

/* ---- Focused flow: stepper, bottom bar, live preview ----------------------- */

body.wz2 .wz-steps {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
}

    body.wz2 .wz-steps > li {
        position: relative;
        display: flex;
        align-items: flex-start;
        gap: 10px;
        flex: 1 1 0;
        min-width: 140px;
        padding-top: 12px;
        border-top: 3px solid var(--wz-line);
        color: var(--wz-muted);
    }

        body.wz2 .wz-steps > li.done {
            border-top-color: var(--wz-p);
        }

        body.wz2 .wz-steps > li.on {
            border-top-color: var(--wz-p);
            color: var(--wz-ink);
        }

body.wz2 .wz-step-n {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--wz-neutral-bg);
    color: var(--wz-neutral);
    font-size: 12px;
    font-weight: 700;
}

body.wz2 .wz-steps > li.done .wz-step-n {
    background: var(--wz-p);
    color: #fff;
}

body.wz2 .wz-steps > li.on .wz-step-n {
    background: var(--wz-ink);
    color: #fff;
}

body.wz2 .wz-step-l {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

body.wz2 .wz-step-s {
    font-size: 12px;
    color: var(--wz-muted);
}

body.wz2 .wz-flowbar {
    position: sticky;
    bottom: 0;
    z-index: 1015;
    margin-top: 32px;
    background: #fff;
    border-top: 1px solid var(--wz-line);
}

body.wz2 .wz-flowbar-progress {
    height: 3px;
    background: var(--wz-line);
}

    body.wz2 .wz-flowbar-progress > span {
        display: block;
        height: 100%;
        background: var(--wz-p);
        transition: width .2s ease;
    }

body.wz2 .wz-flowbar-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px var(--wz-page-x);
}

body.wz2 .wz-flowbar-l,
body.wz2 .wz-flowbar-r {
    display: flex;
    align-items: center;
    gap: 8px;
}

body.wz2 .wz-flowbar-step {
    font-size: 13px;
    color: var(--wz-muted);
}

@media (max-width: 575.98px) {
    body.wz2 .wz-flowbar-step {
        display: none;
    }
}

body.wz2 .wz-preview {
    position: sticky;
    top: 96px;
    padding: 16px;
    border: 1px solid var(--wz-line);
    border-radius: var(--wz-r-lg);
    background: #fff;
}

body.wz2 .wz-preview-t {
    margin-bottom: 12px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--wz-faint);
}

/* Design: previews hidden <=1100; normalised to 1200. */
@media (max-width: 1199.98px) {
    body.wz2 .wz-preview {
        display: none;
    }
}

/* ---- Timeline, alert, progress, avatar, lock, note thread ------------------ */

body.wz2 .wz-timeline {
    position: relative;
    margin: 0;
    padding: 0 0 0 22px;
    list-style: none;
}

    body.wz2 .wz-timeline::before {
        content: "";
        position: absolute;
        top: 6px;
        bottom: 6px;
        left: 6px;
        width: 2px;
        background: var(--wz-line);
    }

    body.wz2 .wz-timeline > li {
        position: relative;
        padding-bottom: 16px;
    }

        body.wz2 .wz-timeline > li::before {
            content: "";
            position: absolute;
            top: 5px;
            left: -21px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #fff;
            border: 2px solid var(--wz-line2);
        }

        body.wz2 .wz-timeline > li.on::before,
        body.wz2 .wz-timeline > li.done::before {
            border-color: var(--wz-p);
            background: var(--wz-p);
        }

body.wz2 .wz-tl-t {
    font-weight: 600;
}

body.wz2 .wz-tl-m {
    font-size: 12px;
    color: var(--wz-muted);
}

body.wz2 .wz-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--wz-r);
    background: var(--wz-neutral-bg);
    color: var(--wz-neutral);
    font-size: 13.5px;
}

    body.wz2 .wz-alert .wz-alert-ic {
        flex: 0 0 auto;
        margin-top: 1px;
    }

    body.wz2 .wz-alert .wz-alert-b {
        flex: 1 1 auto;
        min-width: 0;
    }

    body.wz2 .wz-alert strong {
        color: inherit;
    }

    body.wz2 .wz-alert.ok { background: var(--wz-ok-bg); color: var(--wz-ok); }
    body.wz2 .wz-alert.warn { background: var(--wz-warn-bg); color: var(--wz-warn); }
    body.wz2 .wz-alert.err { background: var(--wz-err-bg); color: var(--wz-err); }
    body.wz2 .wz-alert.info { background: var(--wz-info-bg); color: var(--wz-info); }
    body.wz2 .wz-alert.neutral { background: var(--wz-neutral-bg); color: var(--wz-neutral); }

body.wz2 .wz-progress {
    height: 8px;
    border-radius: 999px;
    background: var(--wz-neutral-bg);
    overflow: hidden;
}

    body.wz2 .wz-progress > span {
        display: block;
        height: 100%;
        border-radius: inherit;
        background: var(--wz-p);
    }

body.wz2 .wz-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--wz-tint);
    color: var(--wz-p-d);
    font-size: 13px;
    font-weight: 700;
    overflow: hidden;
    text-transform: uppercase;
}

    body.wz2 .wz-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    body.wz2 .wz-avatar.sm { width: 28px; height: 28px; font-size: 11px; }
    body.wz2 .wz-avatar.md { width: 36px; height: 36px; font-size: 13px; }
    body.wz2 .wz-avatar.lg { width: 48px; height: 48px; font-size: 16px; }
    body.wz2 .wz-avatar.xl { width: 72px; height: 72px; font-size: 22px; }

    body.wz2 .wz-avatar.gray {
        background: var(--wz-neutral-bg);
        color: var(--wz-neutral);
    }

body.wz2 .wz-lock {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 28px 20px;
    border: 1px dashed var(--wz-line2);
    border-radius: var(--wz-r-lg);
    background: var(--wz-soft);
    color: var(--wz-muted);
    text-align: center;
}

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

body.wz2 .wz-ro-chat {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 360px;
    overflow-y: auto;
    padding: 4px;
}

body.wz2 .wz-bubble {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 13.5px;
    line-height: 1.45;
    word-wrap: break-word;
}

    body.wz2 .wz-bubble.them {
        align-self: flex-start;
        background: var(--wz-soft);
        color: var(--wz-ink);
        border-bottom-left-radius: 4px;
    }

    body.wz2 .wz-bubble.me {
        align-self: flex-end;
        background: var(--wz-p);
        color: #fff;
        border-bottom-right-radius: 4px;
    }

    body.wz2 .wz-bubble .wz-bubble-m {
        display: block;
        margin-top: 4px;
        font-size: 11px;
        opacity: .75;
    }

/* ---- Empty state ----------------------------------------------------------- */

body.wz2 .wz-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 48px 20px;
    text-align: center;
}

body.wz2 .wz-empty-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 6px;
    border-radius: 16px;
    background: var(--wz-tint);
    color: var(--wz-p);
}

body.wz2 .wz-empty-t {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--wz-ink);
}

body.wz2 .wz-empty-x {
    max-width: 420px;
    margin: 0;
    color: var(--wz-muted);
}

body.wz2 .wz-empty .wz-btn {
    margin-top: 10px;
}

body.wz2 .wz-empty.wz-empty-c {
    padding: 24px 16px;
    gap: 4px;
}

    body.wz2 .wz-empty.wz-empty-c .wz-empty-ic {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    body.wz2 .wz-empty.wz-empty-c .wz-empty-t {
        font-size: 14px;
    }

    body.wz2 .wz-empty.wz-empty-c .wz-empty-x {
        font-size: 13px;
    }

/* ---- Focus rings (P9-a) -------------------------------------------------------
   Fallback ring for anything a component does not style itself. :where() keeps the
   specificity at body.wz2 level, so every component's own :focus-visible rule wins.
   Bootstrap controls with their own focus glow (.btn, .btn-close, .nav-link, .page-link,
   .accordion-button, form controls) keep it. */

body.wz2 :where(a, button, summary, [role="button"], [role="tab"], [role="menuitem"], [tabindex]:not([tabindex="-1"])):where(:not(.btn):not(.btn-close):not(.nav-link):not(.page-link):not(.accordion-button)):focus-visible,
body.wz2 :where(input:not(.form-control):not(.form-check-input):not(.form-range), select:not(.form-select)):focus-visible {
    outline: 2px solid var(--wz-p);
    outline-offset: 2px;
}

body.wz2 :where(.form-check-input):focus-visible {
    box-shadow: var(--wz-focus-ring);
}

/* ---- Reduced motion -------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    body.wz2 .wz-toast,
    body.wz2 .wz-nav-item,
    body.wz2 .wz-btn,
    body.wz2 .wz-flowbar-progress > span {
        transition: none;
    }

    body.wz2 .wz-tabsx > .wz-tabs {
        scroll-behavior: auto;
    }
}

/* =============================================================================
   Public site shell (Phase 2 P2-a, 2026-11-04): site nav + More overflow, drawer,
   Residential/Commercial switch, account menu, bell, footer, auth modals, agent bar.
   Prototype: siteNav / siteFooter / wzLogin / wzRegister + case.js overflow.
   ============================================================================= */

/* ---- Site nav ---------------------------------------------------------------- */

body.wz2 .wz-site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    flex-shrink: 0;
    background: #fff;
    border-bottom: 1px solid var(--wz-line);
}

    /* Design audit C6 / C18 (2026-11-27): on listing and development detail pages the site nav scrolls away and only the
       section bar stays on top (design wizreal-detailnav.js); wz-detail.js headerOffset() then returns 0. */
    body.wz2:has([data-wzd-page]) .wz-site-header {
        position: relative;
    }

body.wz2 .wz-site-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 72px;
    padding: 0 var(--wz-page-x);
}

body.wz2 .wz-nav-logo {
    display: flex;
    align-items: center;
    flex: none;
    height: 100%;
    margin-right: 8px;
}

    body.wz2 .wz-nav-logo img {
        display: block;
        width: auto;
        height: 30px;
    }

body.wz2 .wz-nav-burger {
    display: none;
    flex: none;
    margin-left: -8px;
}

body.wz2 .wz-nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
}

    body.wz2 .wz-nav-links [hidden],
    body.wz2 .wz-nav-more-pop [hidden] {
        display: none;
    }

body.wz2 .wz-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: none;
    padding: 8px 14px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--wz-ink2);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
}

    body.wz2 .wz-nav-link:hover {
        background: var(--wz-soft);
        color: var(--wz-ink);
    }

    body.wz2 .wz-nav-link:focus-visible {
        outline: none;
        box-shadow: var(--wz-focus-ring);
    }

    body.wz2 .wz-nav-link.on {
        background: var(--wz-soft);
        color: var(--wz-ink);
        font-weight: 600;
    }

body.wz2 .wz-nav-more {
    flex: none;
}

body.wz2 .wz-nav-more-pop {
    min-width: 220px;
}

body.wz2 .wz-rm-item.on {
    background: var(--wz-tint);
    color: var(--wz-p-d);
    font-weight: 600;
}

body.wz2 .wz-nav-act {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
    margin-left: auto;
}

body.wz2 .wz-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 14px;
    border: 1.5px solid var(--wz-p);
    border-radius: 999px;
    background: var(--wz-tint);
    color: var(--wz-ok);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

    body.wz2 .wz-nav-cta:hover {
        background: rgba(var(--wz-p-rgb), .16);
        color: var(--wz-ok);
    }

    body.wz2 .wz-nav-cta:focus-visible {
        outline: none;
        box-shadow: var(--wz-focus-ring);
    }

body.wz2.commercial .wz-nav-cta,
body.wz2.commercial .wz-nav-cta:hover {
    color: var(--wz-p-d);
}

/* Residential / Commercial pill + menu. */
body.wz2 .wz-modebtn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 12px 0 14px;
    border: 1px solid var(--wz-line2);
    border-radius: 999px;
    background: #fff;
    color: var(--wz-ink);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

    body.wz2 .wz-modebtn:hover {
        border-color: var(--wz-ink);
    }

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

    body.wz2 .wz-modebtn > .wz-ic:first-child {
        color: var(--wz-p);
    }

body.wz2 .wz-mode-pop {
    min-width: 270px;
}

body.wz2 .wz-modei {
    gap: 12px;
    padding: 8px 10px;
    white-space: normal;
}

body.wz2 .wz-modei-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--wz-tint);
    color: var(--wz-p);
}

    body.wz2 .wz-rm-item .wz-modei-ic .wz-ic {
        color: inherit;
    }

body.wz2 .wz-modei-t {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 600;
}

body.wz2 .wz-modei-d {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--wz-muted);
}

body.wz2 .wz-modei-ck {
    display: inline-flex;
    visibility: hidden;
}

body.wz2 .wz-modei.on {
    background: var(--wz-tint);
    color: var(--wz-ok);
}

    body.wz2 .wz-modei.on .wz-modei-ic {
        background: var(--wz-p);
        color: #fff;
    }

    body.wz2 .wz-rm-item.wz-modei.on .wz-modei-ck,
    body.wz2 .wz-rm-item.wz-modei.on .wz-modei-ck .wz-ic {
        visibility: visible;
        color: var(--wz-p);
    }

/* Bell and avatar on the public bar (40px, outlined like the prototype). */
body.wz2 .wz-site-nav .wz-nav-act .wz-iconbtn {
    width: 40px;
    height: 40px;
    border-color: var(--wz-line2);
    background: #fff;
}

    body.wz2 .wz-site-nav .wz-nav-act .wz-iconbtn:hover {
        border-color: var(--wz-ink);
    }

    body.wz2 .wz-site-nav .wz-nav-act .wz-iconbtn .dot {
        top: 7px;
        right: 8px;
    }

body.wz2 .wz-usermenu-trigger {
    height: 40px;
    gap: 8px;
    padding: 0 4px 0 12px;
    border-color: var(--wz-line2);
}

    body.wz2 .wz-usermenu-trigger:hover {
        border-color: var(--wz-ink);
    }

    body.wz2 .wz-usermenu-trigger .wz-avatar {
        width: 30px;
        height: 30px;
    }

body.wz2 .wz-usermenu-pop {
    min-width: 270px;
}

body.wz2 .wz-nav-auth {
    display: flex;
    align-items: center;
    gap: 8px;
}

    body.wz2 .wz-nav-auth .wz-btn {
        height: 40px;
    }

/* Notifications (public bell); .wz-notif-pop / -item / -t / -m come from the shell set above. */
body.wz2 .wz-notif [hidden] {
    display: none;
}

body.wz2 .wz-notif-item.unread {
    background: var(--wz-tint2);
}

    body.wz2 .wz-notif-item.unread:hover {
        background: var(--wz-tint);
    }

body.wz2 .wz-notif-udot {
    flex: none;
    width: 8px;
    height: 8px;
    margin-top: 7px;
    border-radius: 50%;
    background: transparent;
}

body.wz2 .wz-notif-item.unread .wz-notif-udot {
    background: var(--wz-p);
}

body.wz2 .wz-notif-time {
    margin-top: 2px;
    font-size: 12px;
    color: var(--wz-faint);
}

body.wz2 .wz-notif-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 32px 16px;
    font-size: 14px;
    color: var(--wz-muted);
}

/* Slide-in drawer (Bootstrap offcanvas). */
body.wz2 .wz-nav-drawer {
    --bs-offcanvas-width: min(320px, 86vw);
    border-right: 1px solid var(--wz-line);
}

body.wz2 .wz-nav-drawer-h {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: none;
    height: 64px;
    padding: 0 12px 0 20px;
    border-bottom: 1px solid var(--wz-line);
}

    body.wz2 .wz-nav-drawer-h .wz-nav-logo img {
        height: 26px;
    }

body.wz2 .wz-nav-drawer-b {
    flex: 1 1 auto;
    padding: 12px 12px 24px;
    overflow-y: auto;
}

body.wz2 .wz-drawer-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--wz-ink);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
}

    body.wz2 .wz-drawer-link:hover {
        background: var(--wz-soft);
        color: var(--wz-ink);
    }

    body.wz2 .wz-drawer-link.on {
        background: var(--wz-tint);
        color: var(--wz-p-d);
        font-weight: 600;
    }

body.wz2 .wz-drawer-h {
    padding: 16px 12px 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--wz-faint);
}

body.wz2 .wz-drawer-auth {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

@media (max-width: 1399.98px) {
    body.wz2 .wz-site-nav {
        gap: 12px;
    }

    body.wz2 .wz-nav-link {
        padding: 8px 10px;
        font-size: 13.5px;
    }
}

@media (max-width: 1199.98px) {
    body.wz2 .wz-nav-cta {
        padding: 0 10px;
    }

        body.wz2 .wz-nav-cta > span {
            display: none;
        }
}

@media (max-width: 991.98px) {
    body.wz2 .wz-site-nav {
        gap: 8px;
        height: 64px;
    }

    body.wz2 .wz-nav-burger {
        display: inline-flex;
    }

    body.wz2 .wz-nav-links,
    body.wz2 .wz-nav-cta {
        display: none;
    }

    body.wz2 .wz-nav-logo img {
        height: 26px;
    }
}

@media (max-width: 575.98px) {
    body.wz2 .wz-nav-act {
        gap: 6px;
    }

    body.wz2 .wz-modebtn {
        gap: 4px;
        padding: 0 8px 0 10px;
    }

    body.wz2 .wz-modebtn-l,
    body.wz2 .wz-nav-signup,
    body.wz2 .wz-usermenu-trigger > .wz-ic {
        display: none;
    }

    body.wz2 .wz-usermenu-trigger {
        padding: 0 4px;
    }
}

/* ---- "No agent yet" bar (restyle of _NoAgentBar) ----------------------------- */

body.wz2 .wz-agentbar {
    flex-shrink: 0;
    background: var(--wz-info-bg);
    border-bottom: 1px solid rgba(36, 80, 143, .14);
    font-size: 13px;
}

body.wz2 .wz-agentbar-in {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px var(--wz-page-x);
}

body.wz2 .wz-agentbar-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    color: var(--wz-info);
}

body.wz2 .wz-agentbar-t {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--wz-ink2);
}

    body.wz2 .wz-agentbar-t strong {
        color: var(--wz-ink);
    }

body.wz2 .wz-agentbar .wz-agentbar-x {
    width: 32px;
    height: 32px;
    color: var(--wz-info);
}

/* ---- Footer ------------------------------------------------------------------ */

body.wz2 .wz-footer {
    flex-shrink: 0;
    margin-top: 56px;
    background: var(--wz-soft);
    border-top: 1px solid var(--wz-line);
    color: var(--wz-muted);
    font-size: 14px;
}

    body.wz2 .wz-footer.compact {
        margin-top: 0;
    }

body.wz2 .wz-footer-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    max-width: var(--wz-page-max);
    margin: 0 auto;
    padding: 40px var(--wz-page-x) 28px;
}

body.wz2 .wz-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

    body.wz2 .wz-footer-brand img {
        display: block;
        width: auto;
        height: 28px;
    }

body.wz2 .wz-footer-tag {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--wz-ink2);
}

body.wz2 .wz-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}

    body.wz2 .wz-footer-links a {
        color: var(--wz-ink2);
        text-decoration: none;
    }

        body.wz2 .wz-footer-links a:hover {
            color: var(--wz-ink);
            text-decoration: underline;
        }

body.wz2 .wz-footer-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 20px;
    max-width: var(--wz-page-max);
    margin: 0 auto;
    padding: 18px var(--wz-page-x) 24px;
    border-top: 1px solid var(--wz-line);
    font-size: 13px;
    text-align: center;
    color: var(--wz-muted);
}

body.wz2 .wz-footer.compact .wz-footer-bar {
    border-top: 0;
}

body.wz2 .wz-footer-bar a {
    color: var(--wz-ink2);
}

body.wz2 .wz-footer-ver {
    font-size: 12px;
    color: var(--wz-faint);
}

@media (max-width: 767.98px) {
    body.wz2 .wz-footer-in {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 32px;
    }
}

/* ---- Log-in / Register modals ------------------------------------------------- */

body.wz2 .wz-auth-modal .modal-dialog {
    max-width: 440px;
}

body.wz2 .wz-auth-modal[data-wz-auth="register"] .modal-dialog {
    max-width: 520px;
}

body.wz2 .wz-auth-modal .modal-header {
    padding: 20px 24px 4px;
}

body.wz2 .wz-auth-modal .modal-body {
    padding: 8px 28px 28px;
    color: var(--wz-ink);
}

body.wz2 .wz-auth-logo {
    display: block;
    width: auto;
    height: 28px;
}

body.wz2 .wz-auth-title {
    margin: 4px 0 6px;
    font-size: 24px;
}

body.wz2 .wz-auth-sub {
    margin: 0 0 20px;
    color: var(--wz-muted);
}

body.wz2 .wz-auth-errors {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--wz-err-bg);
    color: var(--wz-err);
    font-size: 13px;
}

    body.wz2 .wz-auth-errors:empty {
        display: none;
    }

body.wz2 .wz-auth-link {
    color: var(--wz-p);
    font-weight: 600;
    text-decoration: none;
}

    body.wz2 .wz-auth-link:hover {
        color: var(--wz-p-d);
        text-decoration: underline;
    }

body.wz2 .wz-auth-foot {
    margin: 20px 0 0;
    text-align: center;
    font-size: 14px;
    color: var(--wz-muted);
}

body.wz2 .wz-reg-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body.wz2 .wz-reg {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--wz-line2);
    border-radius: 16px;
    background: #fff;
    color: var(--wz-ink);
    font-family: inherit;
    text-align: left;
    transition: border-color .15s ease, background-color .15s ease;
}

    body.wz2 .wz-reg:hover {
        border-color: var(--wz-p);
        background: var(--wz-tint);
    }

    body.wz2 .wz-reg:focus-visible {
        outline: none;
        border-color: var(--wz-p);
        box-shadow: var(--wz-focus-ring);
    }

    body.wz2 .wz-reg > .wz-ic {
        flex: none;
        color: var(--wz-faint);
    }

body.wz2 .wz-reg-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--wz-tint);
    color: var(--wz-p);
}

body.wz2 .wz-reg-b {
    flex: 1 1 auto;
    min-width: 0;
}

body.wz2 .wz-reg-t {
    display: block;
    font-size: 15px;
    font-weight: 700;
}

body.wz2 .wz-reg-d {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    color: var(--wz-muted);
}

@media (prefers-reduced-motion: reduce) {
    body.wz2 .wz-reg {
        transition: none;
    }
}

/* ===================================================================== listing card (moved from wz-home.css so every page that renders _WzListingCard — home, map, AI, saved, detail comparables — gets it) */
/* ============================================================ listing card */

body.wz2 .wz-lc {
    position: relative;
    min-width: 0;
    color: var(--wz-ink);
}

body.wz2 .wz-lc-img {
    position: relative;
    aspect-ratio: 20 / 17;
    overflow: hidden;
    border-radius: var(--wz-r-pop);
    background: #EEEFEC;
}

    body.wz2 .wz-lc-img > img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s ease;
    }

body.wz2 .wz-lc:hover .wz-lc-img > img {
    transform: scale(1.04);
}

/* Map ↔ card sync: the map adds .is-hl to the card whose data-wz-key matches the hovered pin. */
body.wz2 .wz-lc.is-hl .wz-lc-img {
    box-shadow: 0 0 0 3px var(--wz-p);
}

body.wz2 .wz-lc-st {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: calc(100% - 64px);
    pointer-events: none;
}

    body.wz2 .wz-lc-st .wz-badge {
        background: rgba(255, 255, 255, .95);
        color: var(--wz-ink);
        box-shadow: 0 1px 4px rgba(17, 20, 24, .1);
    }

        body.wz2 .wz-lc-st .wz-badge.ok::before { background: var(--wz-p); }
        body.wz2 .wz-lc-st .wz-badge.warn::before { background: var(--wz-fsbo); }
        body.wz2 .wz-lc-st .wz-badge.dark::before { background: var(--wz-ink); }
        body.wz2 .wz-lc-st .wz-badge.err::before { background: var(--wz-err); }
        body.wz2 .wz-lc-st .wz-badge.purple::before { background: var(--wz-purple); }
        /* PM 2026-11-29: "Exclusive Assignment" always sits under the status badge (a wide card had them side by side). */
        body.wz2 .wz-lc-st:has(.wz-badge.purple) { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; }

body.wz2 .wz-lc-match {
    display: inline-flex;
    flex-basis: 100%;
    align-items: center;
    gap: 5px;
    width: max-content;
    max-width: max-content;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .96);
    color: var(--wz-ok);
    font-size: 11.5px;
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(17, 20, 24, .1);
}

    body.wz2 .wz-lc-match svg {
        color: var(--wz-p);
    }

    body.wz2 .wz-lc-match.close {
        color: var(--wz-warn);
    }

    body.wz2 .wz-lc-match.match {
        color: var(--wz-info);
    }

body.wz2 .wz-lc-src {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 2;
    pointer-events: none;
}

body.wz2 .wz-lc-id {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    max-width: 50%;
    overflow: hidden;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(17, 20, 24, .5);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 10.5px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
}

body.wz2 .wz-lc-fav {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: transform .15s;
}

    body.wz2 .wz-lc-fav svg {
        fill: rgba(17, 20, 24, .38);
        filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .35));
    }

    body.wz2 .wz-lc-fav.on svg {
        fill: var(--wz-fav);
    }

    body.wz2 .wz-lc-fav:hover {
        transform: scale(1.1);
    }

    body.wz2 .wz-lc-fav:focus-visible {
        outline: 3px solid #fff;
        outline-offset: -3px;
    }

/* Guest lock (sold / leased): blurred photo, overlay with the login prompt. */
body.wz2 .wz-lc.is-locked .wz-lc-img > img {
    filter: blur(6px) brightness(.85);
    transform: scale(1.08);
}

body.wz2 .wz-lc-lock {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 16px;
    background: rgba(17, 20, 24, .28);
    color: #fff;
    text-align: center;
    pointer-events: none; /* blank areas fall through to the stretched (login) link */
}

    body.wz2 .wz-lc-lock a {
        pointer-events: auto;
    }

    body.wz2 .wz-lc-lock strong {
        font-size: 15px;
    }

body.wz2 .wz-lc-lock-x {
    max-width: 220px;
    color: rgba(255, 255, 255, .92);
    font-size: 13px;
}

body.wz2 .wz-lc-lock .wz-btn {
    margin-top: 6px;
}

body.wz2 .wz-lc-lock-s {
    color: rgba(255, 255, 255, .9);
    font-size: 12px;
}

    body.wz2 .wz-lc-lock-s a {
        color: #fff;
        text-decoration: underline;
    }

body.wz2 .wz-lc-bd {
    padding: 12px 2px 4px;
}

body.wz2 .wz-lc-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

body.wz2 .wz-lc-price {
    min-width: 0;
    overflow: hidden;
    color: var(--wz-ink);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.wz2 .wz-lc-per {
    color: var(--wz-muted);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
}

body.wz2 .wz-lc-dom {
    flex: none;
    color: var(--wz-muted);
    font-size: 12px;
    white-space: nowrap;
}

body.wz2 .wz-lc-addr {
    margin-top: 2px;
    overflow: hidden;
    color: var(--wz-ink2);
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.wz2 .wz-lc-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0 6px;
    margin-top: 3px;
    color: var(--wz-ink2);
    font-size: 13px;
}

    body.wz2 .wz-lc-facts > span + span::before {
        content: "\00B7";
        margin-right: 6px;
        color: var(--wz-faint);
    }

body.wz2 .wz-lc-type {
    margin-top: 2px;
    overflow: hidden;
    color: var(--wz-muted);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.wz2 .wz-lc-oh {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    margin-top: 6px;
    color: var(--wz-ok);
    font-size: 12.5px;
    font-weight: 600;
}

    body.wz2 .wz-lc-oh .wz-ic {
        flex: none;
        color: var(--wz-p);
    }

    body.wz2 .wz-lc-oh span {
        overflow: hidden;
        font-weight: 500;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.wz2 .wz-lc-oh b {
        font-weight: 700;
    }

body.wz2 .wz-lc-why {
    margin: 6px 0 0;
    padding: 0;
    color: var(--wz-ink2);
    font-size: 12.5px;
    list-style: none;
}

    body.wz2 .wz-lc-why li {
        position: relative;
        padding-left: 14px;
    }

        body.wz2 .wz-lc-why li::before {
            content: "";
            position: absolute;
            top: .6em;
            left: 2px;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--wz-p);
        }

/* Stretched link: the whole card opens the detail page; heart and lock sit above it. */
body.wz2 .wz-lc-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: var(--wz-r-pop);
}

    body.wz2 .wz-lc-link:focus-visible {
        outline: 3px solid var(--wz-p);
        outline-offset: 3px;
    }

/* PM 2026-11-05 — account menu sections (design account.js sortMenu) + footer app badges (design admin2.js footer). */
body.wz2 a.wz-menu-head { text-decoration: none; color: inherit; position: relative; padding-right: 36px; }
body.wz2 a.wz-menu-head:hover { background: var(--wz-soft); }
body.wz2 .wz-menu-head-chev { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--wz-faint); }
body.wz2 .wz-menu-sec { padding: 10px 14px 4px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--wz-muted); }
body.wz2 .wz-rm-item.wz-rm-out { color: var(--wz-ink); }
body.wz2 .wz-footer-bar { justify-content: space-between; text-align: left; }
body.wz2 .wz-app-badges { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
body.wz2 .wz-app-lbl { color: var(--wz-muted); font-size: 13px; margin-right: 4px; }
body.wz2 .wz-app-badge { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 12px; border-radius: 10px; background: var(--wz-ink); color: #fff; text-decoration: none; line-height: 1.05; }
body.wz2 .wz-app-badge:hover { color: #fff; background: var(--wz-ink2); }
body.wz2 .wz-app-badge small { display: block; font-size: 10px; font-weight: 500; opacity: .85; }
body.wz2 .wz-app-badge b { display: block; font-size: 14px; font-weight: 700; }
@media (max-width: 767.98px) {
    body.wz2 .wz-footer-bar { justify-content: center; text-align: center; }
    body.wz2 .wz-app-badges { justify-content: center; }
}

/* PM 2026-11-06 — store badges per the design (black, white type, platform logo) + slim compact bar (map page). */
body.wz2 .wz-app-badge {
    gap: 9px;
    height: 44px;
    padding: 0 16px 0 12px;
    border-radius: 9px;
    background: #111;
    color: #fff;
    line-height: 1.1;
    transition: background-color .15s ease, transform .15s ease;
}

body.wz2 .wz-app-badge:hover { background: #000; color: #fff; transform: translateY(-1px); }
body.wz2 .wz-app-badge small { font-size: 10px; font-weight: 500; opacity: 1; letter-spacing: .01em; }
body.wz2 .wz-app-badge b { font-size: 15px; font-weight: 700; margin-top: 1px; }
body.wz2 .wz-app-lbl { color: var(--wz-ink2); font-size: 13px; }

body.wz2 .wz-footer.compact .wz-footer-bar { padding: 8px var(--wz-page-x); gap: 6px 16px; font-size: 12px; }
body.wz2 .wz-footer.compact .wz-app-lbl { display: none; }
body.wz2 .wz-footer.compact .wz-app-badges { gap: 8px; }
body.wz2 .wz-footer.compact .wz-app-badge { height: 30px; padding: 0 11px 0 9px; gap: 7px; border-radius: 7px; }
body.wz2 .wz-footer.compact .wz-app-badge svg { width: 15px; height: 15px; }
body.wz2 .wz-footer.compact .wz-app-badge small { display: none; }
body.wz2 .wz-footer.compact .wz-app-badge b { font-size: 12px; margin: 0; }

/* PM 2026-11-06: the footer-bar link colour (ink2) was beating the badge colour, which is why the badges looked dull. */
body.wz2 .wz-footer-bar a.wz-app-badge,
body.wz2 .wz-footer-bar a.wz-app-badge:hover { color: #fff; background: #000; }
body.wz2 .wz-footer-bar a.wz-app-badge:hover { background: #222; }

/* Design 2026-11-10: on tablet / phone the guest header collapses Sign in / Sign up into one account button
   (the icon opens the login modal, which links to Sign up). */
@media (max-width: 991.98px) {
    body.wz2 .wz-nav-auth .wz-nav-signup {
        display: none;
    }

    body.wz2 .wz-nav-auth .wz-nav-signin {
        width: 40px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
    }

        body.wz2 .wz-nav-auth .wz-nav-signin span {
            display: none;
        }
}

/* Design 2026-11-10: Feature Templates show eight chips per group, the rest behind "+N more". */
body.wz2 .wz-ft-more {
    cursor: pointer;
    background: var(--wz-surface-2, #F4F5F2);
    border: 1px dashed var(--wz-border, #D9DDD6);
    color: var(--wz-text-2, #4B5563);
}

/* Design 2026-11-10: provider business profile card inside /Profile (_WzProviderBusinessCard). */
body.wz2 .wz-spb .wz-card-h {
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

body.wz2 .wz-spb-id {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

    body.wz2 .wz-spb-id .wz-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: inherit;
    }

body.wz2 .wz-spb-sub {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--wz-text-2, #5B6472);
    margin-top: 4px;
}

body.wz2 .wz-spb-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 20px;
}

@media (max-width: 575.98px) {
    body.wz2 .wz-spb-grid {
        grid-template-columns: 1fr;
    }
}

body.wz2 .wz-spb-k {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: var(--wz-text-2, #5B6472);
    margin-bottom: 4px;
}

body.wz2 .wz-spb-v {
    font-size: 14px;
    color: var(--wz-text, #1B1F23);
    overflow-wrap: anywhere;
}

body.wz2 .wz-spb-hint {
    margin-top: 14px;
    font-size: 13px;
    color: var(--wz-text-2, #5B6472);
}

/* UI fix 2026-11-11 (PM): a sticky action cell is its own stacking context, so an open kebab menu in one row was painted
   under the next row's View button. The cell with the open menu rises above its siblings while the menu is open. */
body.wz2 .wz-tbl td.wz-act:has(.wz-kebab[aria-expanded="true"]) { z-index: 3; }
body.wz2 .wz-tbl td.wz-act:has(.wz-rm-pop:not([hidden])) { z-index: 3; }

/* ---- UI sweep, round 13 (2026-11-12) ---------------------------------------------- */
/* UI-2: a visually-hidden header label is absolutely positioned; without a positioned scroll box it escaped the
   wrapper and widened the whole page on phones (Pipeline, Lead Detail, Bookings, admin Properties, developer lists). */
body.wz2 .table-responsive,
body.wz2 .wz-tbl-wrap { position: relative; }
/* UI-3: on phones the icon rail (z 1020) covered the left part of the bell menu and of menus opened in the page. */
@media (max-width: 991.98px) {
    body.wz2 .wz-dash-top { z-index: 1025; }
    body.wz2 .wz-main .dropdown-menu { z-index: 1030; }
}
/* UI-4: one unbroken value (a 3,000-character name) must wrap, not widen the page. */
body.wz2 .wz-head h1,
body.wz2 .wz-card-t,
body.wz2 .ad-name,
body.wz2 .ad-uid h1,
body.wz2 .wz-ap-meta { overflow-wrap: anywhere; } /* .wz-tbl td removed 2026-11-12: table cells are single-line now (see the PM block below). */
body.wz2 .ad-name, body.wz2 .ad-uid { min-width: 0; }
/* UI-5: tab rows scroll inside the page; single-column grids may shrink below their content. */
body.wz2 nav.wz-tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
body.wz2 nav.wz-tabs::-webkit-scrollbar { display: none; }
body.wz2 .wz-ms-pair > *, body.wz2 .wz-dt-grid > *, body.wz2 .wz-ft-grid > * { min-width: 0; }
/* UI-10: toasts sit under the top bar instead of over its controls. */
body.wz2 .wz-toast-stack { top: 76px; }
/* UI-8: small text links get a phone-sized tap area. */
@media (max-width: 767.98px) {
    body.wz2 .wz-ps-link { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 36px; }
}

/* ---- "Are you lost?" page (PM 2026-11-12) ---------------------------------------- */
body.wz2 .wz-lost { max-width: 640px; margin: 0 auto; padding: 72px 16px 96px; text-align: center; }
body.wz2 .wz-lost-art { position: relative; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 20px; }
body.wz2 .wz-lost-code { font-size: clamp(88px, 22vw, 152px); font-weight: 800; line-height: 1; letter-spacing: -.05em; color: var(--wz-tint); -webkit-text-stroke: 2px var(--wz-p); }
body.wz2 .wz-lost-pin { position: absolute; top: -6px; right: -18px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--wz-p); color: #fff; box-shadow: var(--wz-shadow-pop); }
body.wz2 .wz-lost h1 { margin: 0 0 8px; font-size: 30px; font-weight: 700; letter-spacing: -.02em; color: var(--wz-ink); }
body.wz2 .wz-lost-msg { margin: 0 auto 24px; max-width: 460px; color: var(--wz-muted); font-size: 16px; line-height: 1.5; }
body.wz2 .wz-lost-acts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
body.wz2 .wz-lost-help { margin: 28px 0 0; font-size: 13.5px; color: var(--wz-muted); }
body.wz2 .wz-lost-help a { color: var(--wz-p-d); font-weight: 600; }

/* ---- Alert settings (PM 2026-11-12) ------------------------------------------------ */
body.wz2 .wz-alerts { max-width: 760px; margin: 0 auto; padding: 32px 16px 72px; }
body.wz2 .wz-al-flash { max-width: 760px; margin: 16px auto 0; padding: 10px 14px; border-radius: 12px; background: var(--wz-ok-bg); color: var(--wz-ok); font-weight: 600; font-size: 14px; display: flex; gap: 8px; align-items: center; }
body.wz2 .wz-al-card { padding: 18px 20px; margin-bottom: 16px; }
body.wz2 .wz-al-row { display: flex; gap: 14px; align-items: flex-start; }
body.wz2 .wz-al-ic { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--wz-tint); color: var(--wz-p-d); }
body.wz2 .wz-al-b { flex: 1; min-width: 0; }
body.wz2 .wz-al-b h2 { margin: 0 0 2px; font-size: 16px; font-weight: 700; color: var(--wz-ink); }
body.wz2 .wz-al-b p { margin: 0; font-size: 13.5px; color: var(--wz-muted); line-height: 1.45; }
body.wz2 .wz-al-act { flex: none; display: flex; gap: 10px; align-items: center; margin: 0; }
body.wz2 .wz-al-none { margin: 14px 0 0 54px; font-size: 13.5px; color: var(--wz-muted); }
body.wz2 .wz-al-list { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--wz-line); }
body.wz2 .wz-al-list li { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 0 12px 54px; border-bottom: 1px solid var(--wz-line); }
body.wz2 .wz-al-list li:last-child { border-bottom: 0; padding-bottom: 0; }
body.wz2 .wz-al-name { min-width: 0; overflow-wrap: anywhere; font-weight: 600; color: var(--wz-ink); font-size: 14px; }
body.wz2 .wz-al-freq { flex: none; margin: 0; }
body.wz2 .wz-al-freq .form-select { min-width: 150px; }
body.wz2 .wz-al-alloff { text-align: right; margin: 0; }
@media (max-width: 575.98px) {
    body.wz2 .wz-al-row { flex-wrap: wrap; }
    body.wz2 .wz-al-act { width: 100%; padding-left: 54px; }
    body.wz2 .wz-al-list li { padding-left: 0; flex-wrap: wrap; }
    body.wz2 .wz-al-none { margin-left: 0; }
}

/* ==== PM: modal spacing, clamps, table cells (2026-11-12) ================================================
   1. Modals. Root cause: the wz2 theme sets --bs-modal-padding to a three-value shorthand ("8px 24px 16px");
      Bootstrap 5.3 computes the footer padding as calc(var(--bs-modal-padding) - gap/2), which is invalid with a
      shorthand, so every footer that is not inside .wz-modal got padding 0 and its buttons sat 5px from the
      rounded (24px) corner. All dialogs now get the same inner spacing; page rules with more specific selectors
      (.wz-modal, .wzm-modal) still win.
   2. Tables: every cell is one line ending with "…"; a cell can never grow past --wz-cell-max, so one long value
      cannot squeeze the other columns. Stacked "name + sub-line" cells truncate line by line.
   3. Lists and cards: names, titles and one-line meta stop after two lines with "…" (replaces the round-13
      overflow-wrap rule, which let a 3,000-character value grow into a screen-high block). Body text still wraps. */

/* ---- 1. Dialogs ---- */
body.wz2 .modal { --bs-modal-footer-gap: 8px; }
body.wz2 .modal-footer { gap: 8px; padding: 8px 24px 22px; }
    body.wz2 .modal-footer > * { margin: 0; }
body.wz2 .modal-header .btn-close { margin: -4px -6px -4px auto; }

/* ---- 2. Table cells: single line + ellipsis, stable columns ---- */
body.wz2 .wz-tbl { --wz-cell-max: clamp(180px, 18vw, 300px); }
body.wz2 .wz-tbl > tbody > tr > td,
body.wz2 .wz-ap-tbl > tbody > tr > td {
    max-width: var(--wz-cell-max, 260px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow-wrap: normal;
}
/* Stacked lines inside a cell (name + e-mail, title + meta) each end with "…". Cells with menus are left alone. */
body.wz2 :is(.wz-tbl, .wz-ap-tbl) > tbody > tr > td:not(.wz-act, .sp-act, :has(.dropdown-menu, .wz-kebab-wrap, .wz-rm-pop)) :where(div, p, h3, h4, h5, li, label) {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow-wrap: normal;
}
/* Avatars, thumbnails, icons and badges keep their size; text next to them gives way. */
body.wz2 :is(.wz-tbl, .wz-ap-tbl) td :is(.wz-avatar, .wz-thumb, .wz-ap-thumb, .wz-ap-thumb-ph, .wz-badge, .wz-tag, .wz-btn, svg) { flex-shrink: 0; }
body.wz2 :is(.wz-tbl, .wz-ap-tbl) td:not(.wz-act, .sp-act) :is(a, span):not(.wz-badge):not(.wz-tag):not(.wz-btn) { min-width: 0; }
/* Action cells and anything holding a menu or popover are never clipped (kebab menus open outside the cell). */
body.wz2 .wz-tbl > tbody > tr > td:is(.wz-act, .sp-act, :has(.dropdown, .dropdown-menu, .wz-kebab-wrap, .wz-rm-pop, select, input, textarea)),
body.wz2 .wz-ap-tbl > tbody > tr > td:is(.wz-act, :has(.dropdown, .dropdown-menu, .wz-kebab-wrap, .wz-rm-pop, select, input, textarea)) {
    max-width: none;
    overflow: visible;
    text-overflow: clip;
}
/* The action column takes only what its buttons need, so spare width goes to the text columns. */
body.wz2 .wz-tbl :is(th, td).wz-act { width: 1%; }

/* ---- 3. Lists, cards and headers: at most two lines, then "…" ---- */
/* Names, titles and one-line meta in lists and cards of every portal. Inside a table the cell rule above wins
   (one line), so these selectors skip anything inside a td. */
body.wz2 :is(
    .wz-head h1, .wz-main h1, .wz-card-h .wz-card-t, .wz-card-h h2, .wz-card-h h3,
    .ad-uid h1, .ad-row .ad-name, .ad-row .ad-xs, .wz-kpi-l, .wz-kpi-s, .wz-ap-meta,
    .rh-name, .rh-grow .rh-xs, .rh-tr-l, .wz-al-name, .wz-al-who .wz-al-xs, .wz-rl-rows > li > span,
    .wz-mod-b, .wz-mod-who h1, .wz-mod-who .wz-mod-sm, .wz-mod-who .wz-mod-xs,
    .wz-notif-t, .wz-rl-eng-t, .wz-rl-strip-t, .wz-rl-lc-t, .wz-saved-name, .wz-saved-fallback-addr,
    .wz-spq-n, .wz-spd-row-n, .wz-spp-svc-n, .wz-m2h-n, .wz-menu-head-t, .wz-menu-head-s, .wz-rm-sub,
    .wz-su-match-n, .wz-own-h3, .wz-evk-t, .wz-evd-b, .wz-hv-addr-t, .wz-mk-plan-n, .wzd-plan-n, .wzd-fgrp-t,
    .wz-ps-me-n, .wz-ps-me-e, .sp-grow > .sp-xs, .wz-spd-t h1, .wz-spd-area > span,
    .wz-clamp2
):not(td *) {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    overflow-wrap: anywhere;
    min-width: 0;
}
/* Bootstrap .d-block is !important; the clamped names that carry it keep the clamp box. */
body.wz2 :is(.wz-notif-t, .rh-grow .rh-xs).d-block:not(td *) { display: -webkit-box !important; }
body.wz2 .wz-head > div:first-child,
body.wz2 .wz-card-h > :first-child { min-width: 0; max-width: 100%; }
body.wz2 .ad-name, body.wz2 .ad-uid { min-width: 0; }
/* Names that sit beside an avatar or badge in a flex row (blockified spans / links) also end with "…".
   overflow: clip keeps the text baseline where it was, so inline chips do not shift. */
body.wz2 :is(.wz-tbl, .wz-ap-tbl) > tbody > tr > td:not(.wz-act, .sp-act, :has(.dropdown-menu, .wz-kebab-wrap, .wz-rm-pop)) :is(a, span, b, strong):not(.wz-badge, .wz-tag, .wz-btn, .wz-avatar, .wz-thumb, .visually-hidden, :has(svg, img)) {
    overflow: hidden;
    overflow: clip;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* A cell that starts with an avatar or thumbnail gets that much extra room, so the name is not the part that pays for it. */
body.wz2 :is(.wz-tbl, .wz-ap-tbl) > tbody > tr > td:has(.wz-avatar, .wz-thumb, .wz-ap-thumb, .wz-ap-thumb-ph):not(.wz-act, .sp-act) { max-width: calc(var(--wz-cell-max, 260px) + 56px); }

/* ---- PM 2026-11-16 (design, easy items) ---- */
/* External nav link (Proptimize): small arrow after the label. */
body.wz2 .wz-nav-ext svg { margin-left: 4px; opacity: .6; vertical-align: -1px; }
body.wz2 .wz-nav-ext:hover svg { opacity: 1; }
/* Card headers: the action drops under the title on narrow cards instead of squeezing it. */
body.wz2 .wz-card-h { flex-wrap: wrap; }

/* ---- PM 2026-11-16 (design): phone / tablet bottom bar and bottom sheet on detail pages (wz-mbar.js) ---- */
body.wz2 .wz-mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--wz-line); box-shadow: 0 -6px 20px rgba(16, 24, 40, .08); }
body.wz2 .wz-mbar[hidden] { display: none; }
body.wz2 .wz-mbar-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 4px 0; border: 0; background: transparent; text-align: left; color: var(--wz-ink); font-family: inherit; }
body.wz2 .wz-mbar-sub { max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; color: var(--wz-muted); }
body.wz2 .wz-mbar-t { max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 17px; font-weight: 700; line-height: 1.25; }
body.wz2 .wz-mbar-info:focus-visible { outline: none; box-shadow: var(--wz-focus-ring); border-radius: var(--wz-r); }
body.wz2 .wz-mbar-go { flex: none; max-width: 56%; min-height: 44px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
body.wz2.has-wz-mbar { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
body.wz2.has-wz-mbar .wzd-cta { display: none; }
body.wz2.has-wz-mbar .pwa-install-prompt { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
body.wz2 .wz-msheet { position: fixed; inset: 0; z-index: 1050; display: flex; align-items: flex-end; justify-content: center; }
body.wz2 .wz-msheet[hidden] { display: none; }
body.wz2 .wz-msheet-scrim { position: absolute; inset: 0; background: rgba(16, 24, 40, .45); }
body.wz2 .wz-msheet-panel { position: relative; display: flex; flex-direction: column; width: 100%; max-width: 640px; max-height: 88vh; background: #fff; border-radius: 20px 20px 0 0; box-shadow: 0 -12px 40px rgba(16, 24, 40, .2); outline: none; }
body.wz2 .wz-msheet-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 10px 20px; border-bottom: 1px solid var(--wz-line); }
    body.wz2 .wz-msheet-h h2 { margin: 0; font-size: 16px; font-weight: 700; }
body.wz2 .wz-msheet-b { overflow-y: auto; padding: 16px 16px calc(20px + env(safe-area-inset-bottom, 0px)); -webkit-overflow-scrolling: touch; }
body.wz2.wz-msheet-open { overflow: hidden; }
@media (min-width: 700px) { body.wz2 .wz-msheet { align-items: center; } body.wz2 .wz-msheet-panel { border-radius: 20px; } }

/* === 2026-11-18 design update: realtor dashboard chrome (R-20) === */
/* 2026-11-18 design: unread counts are dark pills and turn green only on the active item; logo 32px; top bar 68px (60px on phone).
   Scoped to the realtor layout (body.wz-realtor); the other dashboards keep their values until their owners align them. */
body.wz2.wz-realtor .wz-dash { grid-template-rows: 68px minmax(0, 1fr); }
body.wz2.wz-realtor .wz-dash-top { height: 68px; }
body.wz2.wz-realtor .wz-side-logo img { height: 32px; }
body.wz2.wz-realtor .wz-nav-c { background: var(--wz-ink); font-size: 10.5px; font-weight: 700; }
body.wz2.wz-realtor .wz-nav-item.on .wz-nav-c { background: var(--wz-p); }
@media (max-width: 1280px) { body.wz2.wz-realtor .wz-nav-c { font-size: 10px; } }
@media (max-width: 767.98px) {
    body.wz2.wz-realtor .wz-dash { grid-template-rows: 60px minmax(0, 1fr); }
    body.wz2.wz-realtor .wz-dash-top { height: 60px; }
}
/* === end === */

/* === 2026-11-18 design update: logo sizes, navigation and phone drawer (chrome) === */
/* Logo sizes per place (design wizreal-web.css 4274-4281, 4792): nav 30px everywhere above 560px, 28px (max 96px wide)
   at <=560px; footer 30px; drawer 28px; dashboard sidebar 32px, collapsed mark 30x30. */
body.wz2 .wz-footer-brand img { height: 30px; }
body.wz2 .wz-side-logo img { height: 32px; }
body.wz2 .wz-side-logo .wz-side-logo-sm { width: 30px; height: 30px; }
body.wz2 .wz-nav-logo .wz-nav-mark { display: none; }
/* Optical centre: the wordmark sits low in its box, the design lifts the top-nav logo by 4px (wizreal-web.css 5430). */
body.wz2 [data-wz-site-nav] .wz-nav-logo img:not(.wz-nav-mark) { transform: translateY(-4px); }
@media (max-width: 991.98px) {
    body.wz2 .wz-nav-logo img { height: 30px; }
}
@media (max-width: 560px) {
    body.wz2 .wz-site-nav .wz-nav-logo img { height: 28px; max-width: 96px; object-fit: contain; object-position: left center; }
}
/* Home page, phone: once the hero has scrolled away (body.wz-hx-stuck from wz-home.js) the bar shows the mark alone. */
@media (max-width: 760px) {
    body.wz2.wz-hx-stuck [data-wz-site-nav] .wz-nav-logo img:not(.wz-nav-mark) { display: none; }
    body.wz2.wz-hx-stuck [data-wz-site-nav] .wz-nav-logo .wz-nav-mark { display: block; width: 30px; height: 30px; max-width: 30px; transform: none; }
}

/* Phone drawer (design navDrawer .nd-*): logo 28px, round close button on the soft background, no divider,
   every item an icon tile + label; the active item is tinted with a white tile in the brand colour. */
body.wz2 .wz-nav-drawer-h { height: auto; padding: 20px 16px 16px 20px; border-bottom: 0; }
body.wz2 .wz-nav-drawer-h .wz-nav-logo img { height: 28px; }
body.wz2 .wz-nav-drawer-h .wz-drawer-x { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--wz-soft); color: var(--wz-ink); }
body.wz2 .wz-nav-drawer-h .wz-drawer-x:hover { background: var(--wz-line); }
body.wz2 .wz-nav-drawer-b { padding: 4px 12px 24px; }
body.wz2 .wz-nav-drawer-b > nav { display: flex; flex-direction: column; gap: 2px; }
body.wz2 .wz-drawer-link { gap: 14px; padding: 12px; border-radius: 12px; font-size: 15px; font-weight: 500; line-height: 1.2; }
body.wz2 .wz-drawer-link.on { color: var(--wz-p-d); }
body.wz2 .wz-drawer-ic { display: flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--wz-soft); color: var(--wz-ink2); }
body.wz2 .wz-drawer-link.on .wz-drawer-ic { background: #fff; color: var(--wz-p); }
body.wz2 .wz-drawer-link:hover .wz-drawer-ic { background: #fff; }
body.wz2 .wz-drawer-t { flex: 1 1 auto; min-width: 0; }
body.wz2 .wz-nav-ext .wz-drawer-ic svg { margin-left: 0; opacity: 1; vertical-align: 0; }
body.wz2 .wz-drawer-link:focus-visible { outline: none; box-shadow: var(--wz-focus-ring); }
/* === end === */

/* === 2026-11-18 design update: My Profile inside the dashboards (portals agent, V-12 / R-03 / A-02) === */
/* 2026-11-18 design: /Profile renders in the dashboard's .wz-main for developers, providers, realtors and admins
   (prototype devShell / spShell / agentShell / adminShell ".main .ps2"): left-aligned at 1080px, no page padding of
   its own (the dashboard main already has it), smaller title, tighter grid. Clients keep the website page. */
body.wz2 .wz-main > .wz-ps {
    margin-left: 0;
    margin-right: 0;
    padding: 0;
}

    body.wz2 .wz-main > .wz-ps .wz-ps-head h1 {
        font-size: 28px;
    }

@media (min-width: 992px) {
    body.wz2 .wz-main > .wz-ps .wz-ps-grid {
        margin-top: 28px;
        gap: 40px;
    }
}
/* === end === */

/* === 2026-11-18 design update: cleanup (dashboard top bar, A-03) === */
/* Prototype dev.js wzTopRight: the account pill is the menu icon + a 32px avatar (no name, no chevron) and the bell
   dot is a 16px pill with the unread count. Shared by every dashboard (_WzDashShell). */
body.wz2 .wz-dash-top .wz-dash-user .wz-avatar {
    width: 32px;
    height: 32px;
}

body.wz2 .wz-dash-top .wz-iconbtn .dot.wz-dot-n {
    top: 4px;
    right: 2px;
    width: auto;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--wz-p);
    color: #fff;
    font-size: 9.5px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

@media (max-width: 767.98px) {
    body.wz2 .wz-dash-top .wz-dash-user {
        height: 40px;
        padding: 0 4px;
    }
}
/* === end === */

/* === 2026-11-18 design update: visual QA === */
/* 2026-11-18 design: a tab row that is a plain div (role tablist, e.g. Realtor My Valuations) ran 15px into
   the right gutter on 375px phones; like nav.wz-tabs it scrolls sideways inside the page there. */
@media (max-width: 575.98px) {
    body.wz2 .wz-tabs[role="tablist"] { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
    body.wz2 .wz-tabs[role="tablist"]::-webkit-scrollbar { display: none; }
}
/* 2026-11-18 design: a visually-hidden label in a table header (e.g. "Actions" on the floor-plan table) is absolutely
   positioned against the page, not the table's scroll wrapper, so on phones it sat 800px to the right and made the
   whole page scroll sideways. Pinning it to the top-left of its containing block keeps it out of the way. */
body.wz2 th .visually-hidden,
body.wz2 td .visually-hidden { top: 0; left: 0; }
/* === end === */

/* === 2026-11-18 round 2: search === */
/* 2026-11-18 design round 2 (listing card, every page): the source tag is not drawn on the photo (the design keeps it
   for screen readers only), beds / baths are icon + number, the type line has a house icon and sits 14px lower. */
body.wz2 .wz-lc-src {
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

body.wz2 .wz-lc-facts { gap: 0 14px; }
body.wz2 .wz-lc-facts > span + span::before { content: none; }

body.wz2 .wz-lc-fi {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

body.wz2 .wz-lc-fi svg,
body.wz2 .wz-lc-ti .wz-ic { flex: none; color: var(--wz-muted); }

body.wz2 .wz-lc-ti {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 11px;
    color: var(--wz-ink2);
}

body.wz2 .wz-lc-ti > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.wz2 .wz-lc-st .wz-badge.precon::before { background: var(--wz-precon); }

/* Locked (guest, sold / leased): lock in a white circle, darker gradient, muted "Price hidden" (design lock.js). */
body.wz2 .wz-lc.is-locked .wz-lc-img > img { filter: blur(12px) saturate(.9); }
body.wz2 .wz-lc-lock { gap: 10px; background: linear-gradient(180deg, rgba(17, 20, 24, .18), rgba(17, 20, 24, .42)); }
body.wz2 .wz-lc-lock strong { max-width: 200px; font-size: 14.5px; font-weight: 600; line-height: 1.3; text-shadow: 0 1px 8px rgba(0, 0, 0, .25); }
body.wz2 .wz-lc-lock .wz-btn { margin-top: 0; min-height: 36px; font-size: 13.5px; box-shadow: 0 4px 14px rgba(17, 20, 24, .18); }

body.wz2 .wz-lc-lock-ic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: var(--wz-p);
    box-shadow: 0 4px 14px rgba(17, 20, 24, .18);
}

body.wz2 .wz-lc-price.wz-lc-hid { color: var(--wz-muted); font-size: 15px; font-weight: 600; }
/* === end === */

/* === 2026-11-18 round 2: public === */
/* 2026-11-18 design: photo hero of the public tool pages (prototype `.hx.hx-inset.hx-page.hx-left`) - Service Provider
   list, Events, Home Valuation. Inset 16px, 28px radius, 468px tall (320px on phones), white text on the page's left edge. */
body.wz2 .wz-phx {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 468px;
    margin: 0 16px;
    border-radius: 28px;
    overflow: hidden;
    background: #1E4A27;
    color: #fff;
}

    body.wz2 .wz-phx > img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    body.wz2 .wz-phx::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(17, 20, 24, .58) 0%, rgba(17, 20, 24, .34) 38%, rgba(17, 20, 24, .06) 64%, rgba(17, 20, 24, 0) 100%), linear-gradient(0deg, rgba(17, 20, 24, .22) 0%, rgba(17, 20, 24, 0) 35%);
    }

body.wz2 .wz-phx-in {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 40px max(24px, calc((100% - 1114px) / 2));
}

    body.wz2 .wz-phx-in h1 {
        max-width: 640px;
        margin: 0;
        color: #fff;
        font-size: 52px;
        font-weight: 600;
        line-height: 1.06;
        letter-spacing: -.045em;
    }

    body.wz2 .wz-phx-in p {
        max-width: 580px;
        margin: 14px 0 0;
        color: #fff;
        font-size: 16px;
        line-height: 1.65;
    }

@media (max-width: 1024px) {
    body.wz2 .wz-phx-in h1 { font-size: 32px; letter-spacing: -.045em; }
}

@media (max-width: 767.98px) {
    body.wz2 .wz-phx { min-height: 320px; margin: 0 8px; border-radius: 22px; }
    body.wz2 .wz-phx-in { padding: 40px 24px; }
}

/* 2026-11-18 design (wave 3): the hero line break applies on desktop only; tablet / phone wrap naturally. */
@media (max-width: 1024px) {
    body.wz2 .wz-phx-in h1 br { display: none; }
}
/* 2026-11-18 design: the public pages use the prototype content column (1114px at 1440, the marketing footer column) */
body.wz2 .wz-page.wz-pub-page { max-width: 1194px; padding-inline: 40px; }
@media (max-width: 767.98px) {
    body.wz2 .wz-page.wz-pub-page { padding-inline: 20px; }
}
/* === end === */

/* === 2026-11-18 round 2: portals === */
/* Dashboard shell (_WzDashShell, every portal): top bar 68px (60px at <=768px) with 28px side padding, the bell is a 40px
   bordered circle with the count pill on its edge, the account pill is menu icon + 30px dark initials circle
   (design .wz-tr .iconbtn / .usermenu, wizreal-web.css 1814-1820). */
body.wz2 .wz-dash { grid-template-rows: 68px minmax(0, 1fr); }
body.wz2 .wz-dash-top { height: 68px; padding: 0 28px; }
body.wz2 .wz-dash-top .wz-top-r { gap: 10px; }
body.wz2 .wz-dash-top .wz-iconbtn { width: 40px; height: 40px; border: 1px solid var(--wz-line2); background: #fff; color: var(--wz-ink); }
body.wz2 .wz-dash-top .wz-iconbtn:hover { border-color: var(--wz-ink); background: #fff; }
body.wz2 .wz-dash-top .wz-iconbtn .dot.wz-dot-n { top: -4px; right: -4px; min-width: 18px; height: 18px; font-size: 10px; line-height: 14px; border: 2px solid #fff; box-shadow: none; }
body.wz2 .wz-dash-top .wz-dash-user { height: 40px; padding: 0 4px 0 12px; gap: 8px; border-color: var(--wz-line2); }
body.wz2 .wz-dash-top .wz-dash-user:hover { border-color: var(--wz-ink); }
body.wz2 .wz-dash-top .wz-dash-user .wz-avatar { width: 30px; height: 30px; font-size: 11px; }
body.wz2 .wz-dash-av { background: var(--wz-ink); color: #fff; font-weight: 600; letter-spacing: .02em; }
body.wz2 .wz-dash-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
/* Sidebar unread counts are dark pills, green only on the active item (design dashShell .cnt). */
body.wz2 .wz-nav-c { background: var(--wz-ink); font-size: 10.5px; font-weight: 700; }
body.wz2 .wz-nav-item.on .wz-nav-c { background: var(--wz-p); }

/* Account menu (design .dropdown with the website switch): 300px, 16px radius, head = avatar + name + role + chevron,
   tinted switch tile, small caps "ACCOUNT" header, plain 40px items. */
body.wz2 .wz-dash-menu { min-width: 300px; padding: 6px; margin-top: 10px !important; border-radius: 16px; box-shadow: var(--wz-shadow-lg); }
body.wz2 .wz-dash-menu .wz-menu-head { gap: 12px; margin: 0; padding: 10px 36px 10px 12px; border-bottom: 0; border-radius: 10px; }
body.wz2 .wz-dash-menu .wz-menu-head + * { margin-top: 0; }
body.wz2 .wz-dash-menu .wz-menu-head::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: -6px; height: 1px; background: var(--wz-line); }
body.wz2 .wz-dash-menu .wz-menu-head { margin-bottom: 12px; }
body.wz2 .wz-dash-menu .wz-menu-head .wz-avatar { width: 36px; height: 36px; font-size: 12px; }
body.wz2 .wz-dash-menu .wz-menu-head-t { font-size: 14px; font-weight: 600; }
body.wz2 .wz-dash-menu .wz-menu-head-s { font-size: 12px; word-break: normal; }
body.wz2 .wz-dash-menu .wz-menu-head-chev { color: var(--wz-muted); }
body.wz2 .wz-dash-menu .wz-rm-item { min-height: 40px; gap: 12px; font-size: 14px; }
body.wz2 .wz-dash-menu .wz-rm-item.wz-rm-switch { align-items: center; margin: 2px 0; padding: 12px; border-radius: 12px; background: var(--wz-tint); }
body.wz2 .wz-dash-menu .wz-rm-item.wz-rm-switch:hover { background: #e3efdc; }
body.wz2 .wz-dash-menu .wz-rm-swic { display: flex; flex: none; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(17, 20, 24, .06); }
body.wz2 .wz-dash-menu .wz-rm-swic .wz-ic { margin: 0; color: var(--wz-ink2); }
body.wz2 .wz-dash-menu .wz-rm-switch .wz-rm-txt { flex: 1 1 auto; }
body.wz2 .wz-dash-menu .wz-rm-swt { font-weight: 700; color: var(--wz-ink); }
body.wz2 .wz-dash-menu .wz-rm-switch .wz-rm-sub { font-size: 12px; margin-top: 1px; }
body.wz2 .wz-dash-menu .wz-rm-swch { display: flex; flex: none; }
body.wz2 .wz-dash-menu .wz-rm-swch .wz-ic { margin: 0; color: var(--wz-p); }
body.wz2 .wz-dash-menu .wz-menu-sec { padding: 10px 12px 6px; letter-spacing: .1em; color: var(--wz-faint); }

@media (max-width: 768px) {
    /* Design: the 60px rail and 60px top bar start at 768px (site rule started at 767.98px). */
    body.wz2 .wz-dash { --wz-side-w: 60px; grid-template-rows: 60px minmax(0, 1fr); }
    body.wz2 .wz-dash-top { height: 60px; padding: 0 14px; }
    body.wz2 .wz-sidebar { padding: 12px 6px; }
    body.wz2 .wz-nav-item { width: 44px; height: 44px; }
}
@media (max-width: 767.98px) {
    /* Phone: the account pill is the avatar alone in a bordered circle (design .usermenu>svg hidden at <=760px). */
    body.wz2 .wz-dash-top .wz-dash-user { width: 40px; padding: 0; justify-content: center; }
    body.wz2 .wz-dash-top .wz-dash-user > .wz-ic { display: none; }
}

/* ---- Developer and provider pages (body.wz-developer / body.wz-provider): design .kpi, .card-h, .tbl, .tabs, .seg ---- */
body.wz2:is(.wz-developer, .wz-provider) .wz-kpi { gap: 0; padding: 22px 24px; }
body.wz2:is(.wz-developer, .wz-provider) .wz-kpi-l { font-size: 12.5px; padding-right: 40px; }
body.wz2:is(.wz-developer, .wz-provider) .wz-kpi-ic { top: 22px; right: 24px; width: 34px; height: 34px; }
body.wz2:is(.wz-developer, .wz-provider) .wz-kpi-ic .wz-ic { width: 16px; height: 16px; }
/* Card head: 18px 24px with a line under it; the body then starts its own padding. */
body.wz2:is(.wz-developer, .wz-provider) .wz-card-h.wz-hl { padding: 18px 28px; border-bottom: 1px solid var(--wz-line); min-height: 66px; }
body.wz2:is(.wz-developer, .wz-provider) .wz-card-h .wz-card-t { font-size: 16px; }
body.wz2:is(.wz-developer, .wz-provider) .wz-card-h.wz-hl { flex-wrap: nowrap; }
body.wz2:is(.wz-developer, .wz-provider) .wz-card-h.wz-hl > :first-child { flex: 1 1 auto; }
body.wz2:is(.wz-developer, .wz-provider) .wz-card-h.wz-hl > :not(:first-child) { flex: none; }
body.wz2:is(.wz-developer, .wz-provider) .wz-card-sub { margin-top: 4px; font-size: 13px; color: var(--wz-muted); }
body.wz2:is(.wz-developer, .wz-provider) .wz-card-h .wz-card-meta { font-size: 13px; color: var(--wz-muted); }
body.wz2:is(.wz-developer, .wz-provider) .wz-card-b.wz-flush { padding: 0; }
/* Tables: tinted header row, 16px cells, the table runs to the card edges. */
body.wz2:is(.wz-developer, .wz-provider) .wz-tbl th { padding: 14px 24px 14px 16px; background: #FBFBFA; font-size: 12px; font-weight: 600; color: var(--wz-muted); }
body.wz2:is(.wz-developer, .wz-provider) .wz-tbl td { padding: 16px; line-height: 1.45; }
body.wz2:is(.wz-developer, .wz-provider) .wz-tbl :is(th, td):first-child { padding-left: 24px; }
body.wz2:is(.wz-developer, .wz-provider) .wz-tbl :is(th, td):last-child { padding-right: 24px; }
body.wz2:is(.wz-developer, .wz-provider) :is(.wz-card > .wz-tbl-wrap, .wz-card > .wz-card-b.wz-flush:first-child > .wz-tbl-wrap) .wz-tbl tr:first-child th:first-child { border-top-left-radius: var(--wz-r-lg); }
body.wz2:is(.wz-developer, .wz-provider) :is(.wz-card > .wz-tbl-wrap, .wz-card > .wz-card-b.wz-flush:first-child > .wz-tbl-wrap) .wz-tbl tr:first-child th:last-child { border-top-right-radius: var(--wz-r-lg); }
body.wz2:is(.wz-developer, .wz-provider) .wz-head { margin-bottom: 32px; }
body.wz2:is(.wz-developer, .wz-provider) .wz-kpi-v { margin-top: 30px; font-size: 28px; }
body.wz2:is(.wz-developer, .wz-provider) .wz-kpi-s { margin-top: 8px; font-size: 12.5px; }
/* Status tabs: outlined pills, "Label (n)", the active one tinted green (design .tabs, wizreal-web.css 781-795). */
body.wz2:is(.wz-developer, .wz-provider) .wz-tabs { gap: 8px; }
body.wz2:is(.wz-developer, .wz-provider) .wz-tabs > a,
body.wz2:is(.wz-developer, .wz-provider) .wz-tabs > button,
body.wz2:is(.wz-developer, .wz-provider) .wz-tabs .wz-tab { gap: 4px; height: 36px; padding: 0 14px; border: 1.5px solid #E6E6E6; color: var(--wz-ink); font-size: 13.5px; font-weight: 600; }
body.wz2:is(.wz-developer, .wz-provider) .wz-tabs > a:hover,
body.wz2:is(.wz-developer, .wz-provider) .wz-tabs .wz-tab:hover { border-color: #CFCFCC; }
body.wz2:is(.wz-developer, .wz-provider) .wz-tabs > .on,
body.wz2:is(.wz-developer, .wz-provider) .wz-tabs .wz-tab.on { background: var(--wz-tint); border-color: var(--wz-p); color: var(--wz-ok); }
body.wz2:is(.wz-developer, .wz-provider) .wz-tabs .c,
body.wz2:is(.wz-developer, .wz-provider) .wz-tabs .on .c { min-width: 0; height: auto; padding: 0; background: none; color: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; }
body.wz2:is(.wz-developer, .wz-provider) .wz-tabs .c::before { content: "("; }
body.wz2:is(.wz-developer, .wz-provider) .wz-tabs .c::after { content: ")"; }
/* Segmented controls (List / Calendar View, 7 / 30 / 90 Days): one outlined pill, active tinted with a green ring. */
body.wz2:is(.wz-developer, .wz-provider) .wz-seg { gap: 2px; padding: 3px; border: 1px solid var(--wz-line2); border-radius: 999px; background: #fff; }
body.wz2:is(.wz-developer, .wz-provider) .wz-seg > a,
body.wz2:is(.wz-developer, .wz-provider) .wz-seg > button { height: 32px; padding: 0 14px; border: 1.5px solid transparent; border-radius: 999px; color: var(--wz-ink2); font-size: 13px; font-weight: 600; }
body.wz2:is(.wz-developer, .wz-provider) .wz-seg > a:hover,
body.wz2:is(.wz-developer, .wz-provider) .wz-seg > button:hover { background: var(--wz-soft); }
body.wz2:is(.wz-developer, .wz-provider) .wz-seg > .on { background: var(--wz-tint); border-color: var(--wz-p); color: var(--wz-ok); box-shadow: none; }
/* Initials avatars in portal lists are dark circles (design .avatar). */
body.wz2:is(.wz-developer, .wz-provider) .wz-av-dark { background: var(--wz-ink); color: #fff; }
/* Row "more" button: a 34px bordered square with horizontal dots (design .iconbtn.sm in tables). */
body.wz2:is(.wz-developer, .wz-provider) .wz-main .wz-tbl .wz-kebab { width: 34px; height: 34px; border: 1px solid var(--wz-line2); border-radius: 10px; background: #fff; }
body.wz2:is(.wz-developer, .wz-provider) .wz-main .wz-kebab .wz-ic { transform: rotate(90deg); }
/* My Events cards (devdash / provider spevents .ev-card): photo inset 10px with rounded corners, category in Title Case,
   footer line inset, "33 going" with the number in bold ink. */
body.wz2:is(.wz-developer, .wz-provider) .wz-ev-card .wz-ev-img { margin: 10px 10px 0; aspect-ratio: 3 / 2; border-radius: 14px; }
body.wz2:is(.wz-developer, .wz-provider) .wz-ev-card .wz-ev-b { gap: 4px; padding: 14px 16px 12px; }
body.wz2:is(.wz-developer, .wz-provider) .wz-ev-card .wz-ev-cat { color: var(--wz-p); font-size: 12.5px; font-weight: 600; letter-spacing: 0; text-transform: none; }
body.wz2:is(.wz-developer, .wz-provider) .wz-ev-card .wz-ev-d { color: var(--wz-muted); font-size: 14px; line-height: 1.5; }
body.wz2:is(.wz-developer, .wz-provider) .wz-ev-card .wz-ev-m { color: var(--wz-ink2); font-size: 13.5px; }
body.wz2:is(.wz-developer, .wz-provider) .wz-ev-card .wz-ev-f { margin: 0 10px; padding: 12px 6px 12px; }
body.wz2:is(.wz-developer, .wz-provider) .wz-ev-card .wz-ev-go { color: var(--wz-ink2); font-size: 14px; }
body.wz2:is(.wz-developer, .wz-provider) .wz-ev-card .wz-ev-go b { color: var(--wz-ink); font-weight: 700; }
body.wz2:is(.wz-developer, .wz-provider) .wz-ev-card .wz-kebab { border: 0; background: transparent; }
/* Event detail (devdash myevent): category as a tinted pill, no rules between the sections, the side card floats with a
   shadow and "Cancel Event" is a red text button. */
body.wz2:is(.wz-developer, .wz-provider) .wz-evd-cat { padding: 6px 12px; border-radius: 999px; background: var(--wz-tint); color: var(--wz-p-d); }
body.wz2:is(.wz-developer, .wz-provider) .wz-evd .wz-evd-sec { border-top: 0; }
body.wz2:is(.wz-developer, .wz-provider) .wz-evd .wz-evd-row { border-bottom: 0; }
body.wz2:is(.wz-developer, .wz-provider) .wz-evd .wz-evd-card { box-shadow: 0 8px 28px rgba(17, 20, 24, .08); }
body.wz2:is(.wz-developer, .wz-provider) .wz-evd .wz-evd-ctas .wz-btn.ghost.danger { border-color: transparent; background: transparent; }
body.wz2:is(.wz-developer, .wz-provider) .wz-evd .wz-evd-ctas .wz-btn.ghost.danger:hover { background: var(--wz-err-bg); }
/* My Profile, every role (account.js settings): the active section is tinted with a green title and chevron and a white
   icon tile, the other tiles have no frame; Edit / Add links are green without underline; no-photo = initials. */
body.wz2 .wz-ps .wz-ps-navi.on { background: var(--wz-tint); }
body.wz2 .wz-ps .wz-ps-navi.on .wz-ps-nt,
body.wz2 .wz-ps .wz-ps-navi.on > .wz-ic { color: var(--wz-p-d); }
body.wz2 .wz-ps .wz-ps-nic { border: 0; background: var(--wz-soft); }
body.wz2 .wz-ps .wz-ps-navi.on .wz-ps-nic { background: #fff; box-shadow: 0 1px 2px rgba(17, 20, 24, .06); }
body.wz2 .wz-ps .wz-ps-link { color: var(--wz-p); text-decoration: none; }
body.wz2 .wz-ps .wz-ps-link:hover { color: var(--wz-p-d); text-decoration: underline; }
body.wz2 .wz-ps-init { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: var(--wz-ink); color: #fff; }
body.wz2 .wz-ps .wz-ps-av.md { width: 64px; height: 64px; font-size: 26px; }
body.wz2 .wz-ps .wz-kebab .wz-ic { transform: rotate(90deg); }
@media (max-width: 991.98px) {
    /* Design: below desktop the section list is one row of tiles (icon + title, no sub line or chevron), scrolling
       sideways on phones; the photo button sits on the right. */
    body.wz2 .wz-ps .wz-ps-nav { flex-direction: row; gap: 8px; overflow-x: auto; scrollbar-width: none; }
    body.wz2 .wz-ps .wz-ps-nav::-webkit-scrollbar { display: none; }
    body.wz2 .wz-ps .wz-ps-navi { flex: 1 0 auto; width: auto; padding: 12px 14px; }
    body.wz2 .wz-ps .wz-ps-nd,
    body.wz2 .wz-ps .wz-ps-navi > .wz-ic { display: none; }
    body.wz2 .wz-ps #uploadPhotoBtn { margin-left: auto; }
}
/* Create / Edit Event (every role; devdash.js devevform + agentportal.js withPv): the hint sits on its own muted line
   under "Step n of 4 · ...", the preview card has the photo inset with rounded corners, a white category pill with a
   blue dot and the date in small green capitals. */
body.wz2 .wz-evf-bar .wz-flowbar-step { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; }
body.wz2 .wz-evf-bar .wz-evf-hint { color: var(--wz-muted); font-size: 12.5px; font-weight: 400; }
body.wz2 .wz-evf-bar .wz-evf-hint:empty { display: none; }
body.wz2 .wz-evf .wz-evf-pvcard { border-radius: 18px; box-shadow: 0 8px 28px rgba(17, 20, 24, .06); }
body.wz2 .wz-evf .wz-evf-pvimg { margin: 10px 10px 0; border-radius: 14px; overflow: hidden; }
body.wz2 .wz-evf .wz-evf-pvcat { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--wz-ink); font-weight: 600; box-shadow: 0 1px 3px rgba(17, 20, 24, .12); }
body.wz2 .wz-evf .wz-evf-pvcat::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--wz-precon); }
body.wz2 .wz-evf .wz-evf-pvd { color: var(--wz-p); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
/* Wave 3: My Developments keeps its button top-right on tablet and stacks only on phones (devdash mylistings). */
@media (min-width: 768px) {
    body.wz2:is(.wz-developer, .wz-provider) .wz-main .wz-head.wz-head-row { flex-wrap: nowrap; align-items: flex-start; }
    body.wz2:is(.wz-developer, .wz-provider) .wz-main .wz-head.wz-head-row > :first-child { min-width: 0; }
    body.wz2:is(.wz-developer, .wz-provider) .wz-main .wz-head.wz-head-row > .wz-head-actions { flex: none; }
}
@media (max-width: 767.98px) {
    body.wz2:is(.wz-developer, .wz-provider) .wz-main .wz-head.wz-head-row { flex-direction: column; align-items: flex-start; }
}
/* Wave 3: below desktop the Event Details card follows the title, before "About This Event" (devdash / agentportal myevent). */
@media (max-width: 991.98px) {
    body.wz2:is(.wz-developer, .wz-provider) .wz-evd-g { display: flex; flex-direction: column; gap: 0; }
    body.wz2:is(.wz-developer, .wz-provider) .wz-evd-main { display: contents; }
    body.wz2:is(.wz-developer, .wz-provider) .wz-evd-main > * { order: 3; }
    body.wz2:is(.wz-developer, .wz-provider) .wz-evd-main > .wz-evd-hero { order: 0; }
    body.wz2:is(.wz-developer, .wz-provider) .wz-evd-main > .wz-evd-cat { order: 1; align-self: flex-start; }
    body.wz2:is(.wz-developer, .wz-provider) .wz-evd-main > .wz-evd-h1 { order: 1; }
    body.wz2:is(.wz-developer, .wz-provider) .wz-evd-g > .wz-evd-side { order: 2; width: 100%; max-width: none; margin: 8px 0 24px; position: static; }
    body.wz2:is(.wz-developer, .wz-provider) .wz-evd-main > .wz-evd-hero { aspect-ratio: 23 / 10; }
}
/* Wave 3: on phones a card head with range pills (provider Profile Views) puts the pills under the title. */
@media (max-width: 767.98px) {
    body.wz2:is(.wz-developer, .wz-provider) .wz-card-h.wz-hl:has(> .wz-tabs) { flex-wrap: wrap; }
}
/* Wave 3: the event form's live preview shows only beside the form (design hides .lp-pv at <=1100px). */
@media (max-width: 1199.98px) {
    body.wz2 .wz-evf .wz-evf-pv { display: none; }
}
/* Provider booking details dialog (provider.js spDetails). */
@media (min-width: 576px) { body.wz2 .wz-sp-dlg { max-width: 580px; } }
body.wz2 .wz-sp-dlg .modal-header { padding: 22px 28px 18px; border-bottom: 1px solid var(--wz-line); }
body.wz2 .wz-sp-dlg .modal-body { padding: 24px 28px 20px; }
body.wz2 .wz-sp-dlg .modal-footer { padding: 14px 28px; border-top: 1px solid var(--wz-line); }
body.wz2 .wz-sp-dlg .sp-v a { color: var(--wz-ink); text-decoration: none; }
body.wz2 .wz-sp-dlg .sp-v a:hover { color: var(--wz-p); text-decoration: underline; }
body.wz2 .wz-sp-dlg [data-sp-dt-avatar] { width: 34px; height: 34px; font-size: 12px; }
/* Empty states inside a page-level card get the prototype's tall padding (es: 64px 24px). */
body.wz2:is(.wz-developer, .wz-provider) .wz-main > .wz-card > .wz-empty:not(.wz-empty-c),
body.wz2:is(.wz-developer, .wz-provider) .wz-dv-es-tall > .wz-empty { padding: 96px 24px; }
/* Insights link in tables: green text with the trend icon (design .dh-go / .dv-ins). */
body.wz2:is(.wz-developer, .wz-provider) .wz-go { display: inline-flex; align-items: center; gap: 6px; color: var(--wz-p); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
body.wz2:is(.wz-developer, .wz-provider) .wz-go:hover { color: var(--wz-p-d); }
@media (max-width: 768px) {
    /* Design: the page head's action drops under the title on tablet and phone. */
    body.wz2:is(.wz-developer, .wz-provider) .wz-main > .wz-head:not(.wz-head-row),
    body.wz2:is(.wz-developer, .wz-provider) .wz-main > * > .wz-head:not(.wz-head-row) { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767.98px) {
    body.wz2:is(.wz-developer, .wz-provider) .wz-card-h.wz-hl { padding: 18px 20px; }
    body.wz2:is(.wz-developer, .wz-provider) .wz-tbl :is(th, td):first-child { padding-left: 16px; }
    body.wz2:is(.wz-developer, .wz-provider) .wz-tbl :is(th, td):last-child { padding-right: 16px; }
}
/* === end === */

/* === 2026-11-18 round 2: marketing === */
/* 2026-11-18 design round 2 (site chrome, measured on the design screenshots at 1440 / 768 / 390):
   - top bar: 32px side padding and tighter links (11px) above 1400px, so Events stays in the row as in the design;
     "Sign in" is a plain outline button without the person icon on desktop;
   - footer: white with a top rule, the same 1114px content column as the marketing pages, no rule above the copyright
     line, copyright in small faint type. */
@media (min-width: 1400px) {
    body.wz2 .wz-site-nav {
        gap: 14px;
        padding: 0 32px;
    }

    body.wz2 .wz-nav-link {
        padding: 8px 11px;
    }
}

@media (min-width: 992px) {
    body.wz2 .wz-nav-auth .wz-nav-signin > svg {
        display: none;
    }
}

body.wz2 .wz-footer {
    background: #fff;
}

body.wz2 .wz-footer-in,
body.wz2 .wz-footer-bar {
    max-width: 1194px;
    padding-inline: 40px;
}

body.wz2 .wz-footer-in {
    padding-top: 32px;
    padding-bottom: 8px;
}

body.wz2 .wz-footer:not(.compact) .wz-footer-bar {
    padding-top: 16px;
    padding-bottom: 32px;
    border-top: 0;
}

    body.wz2 .wz-footer-bar > span:first-child {
        font-size: 12px;
        color: var(--wz-faint);
    }

body.wz2 .wz-footer-links a {
    font-size: 14.5px;
}

@media (max-width: 767.98px) {
    body.wz2 .wz-footer-in,
    body.wz2 .wz-footer-bar {
        padding-inline: 20px;
    }

    /* Phone footer as the design: brand, links, app label + badges, then the copyright last, all left aligned. */
    body.wz2 .wz-footer:not(.compact) .wz-footer-bar {
        flex-direction: column-reverse;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 20px;
        text-align: left;
    }

        body.wz2 .wz-footer:not(.compact) .wz-footer-bar .wz-app-badges {
            justify-content: flex-start;
        }
}
/* === end === */

/* === 2026-11-18 round 2: accounts === */
/* Notification panel (design wzMenu('bell') dropdown): 340 px, small uppercase "NOTIFICATIONS" label, plain rows with a
   green dot for unread, no tinted row backgrounds. "Mark all read" stays (site extra). */
body.wz2 .wz-notif-pop {
    width: min(340px, calc(100vw - 24px));
    border-radius: 16px;
}

body.wz2 .wz-notif-h {
    padding: 14px 18px 6px;
    border-bottom: 0;
}

    body.wz2 .wz-notif-h h2 {
        color: var(--wz-muted);
        font-size: 11.5px;
        font-weight: 600;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

body.wz2 .wz-notif-list {
    padding: 0 6px 8px;
}

body.wz2 .wz-notif-item,
body.wz2 .wz-notif-item.unread {
    padding: 10px 12px;
    background: transparent;
}

    body.wz2 .wz-notif-item:hover,
    body.wz2 .wz-notif-item.unread:hover {
        background: var(--wz-soft);
    }

body.wz2 .wz-notif-t {
    font-size: 14px;
    font-weight: 500;
}
/* === end === */

/* === 2026-11-18 round 2: final === */
/* Guest header on tablet / phone (design wizauth-m): one pill, menu icon + grey avatar, opening Sign up / Sign in. */
body.wz2 .wz-nav-authm { display: none; }
body.wz2 .wz-guest-av { background: #6b7280; color: #fff; }
body.wz2 .wz-guest-pop { width: 240px; padding: 6px; }
body.wz2 .wz-guest-pop .wz-rm-item.wz-guest-up { font-weight: 700; }
body.wz2 .wz-guest-note { font-size: 12px; color: var(--wz-muted); padding: 8px 12px 6px; border-top: 1px solid var(--wz-line); margin-top: 4px; }
@media (max-width: 991.98px) {
    body.wz2 .wz-nav-auth .wz-nav-signin,
    body.wz2 .wz-nav-auth .wz-nav-signup { display: none; }
    body.wz2 .wz-nav-authm { display: block; }
    body.wz2 .wz-nav-authm .wz-usermenu-btn { height: 42px; gap: 8px; padding: 0 5px 0 12px; }
    /* design: the burger sits in an outlined circle like the other header buttons */
    body.wz2 .wz-nav-burger { width: 40px; height: 40px; margin-left: 0; border-color: var(--wz-line2); background: #fff; }
}
@media (max-width: 575.98px) {
    body.wz2 .wz-nav-authm .wz-usermenu-btn { padding: 0 4px; height: 40px; }
    body.wz2 .wz-nav-authm .wz-usermenu-btn > svg { display: none; }
}
/* Website bell: green count bubble (design), same look as the dashboard bell. */
body.wz2 .wz-site-nav .wz-nav-act .wz-iconbtn .dot.wz-bell-n,
body.wz2 .wz-iconbtn .dot.wz-bell-n {
    top: -4px; right: -4px; width: auto; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px;
    background: var(--wz-p); color: #fff; font-size: 10px; font-weight: 700; line-height: 14px; text-align: center;
    border: 2px solid #fff; box-shadow: none;
}
body.wz2 .wz-iconbtn .dot.wz-bell-n[hidden] { display: none; }
/* Shared confirm dialog frame (design wzConfirm): 580 px, rules under the title and above the buttons. */
body.wz2 .wz-cf-dlg { max-width: 580px; }
body.wz2 .wz-cf-dlg .modal-header { padding: 22px 28px; border-bottom: 1px solid var(--wz-line); }
body.wz2 .wz-cf-dlg .modal-title { font-size: 17px; font-weight: 700; }
body.wz2 .wz-cf-dlg .modal-body { padding: 28px; }
body.wz2 .wz-cf-dlg .modal-footer { padding: 14px 28px; border-top: 1px solid var(--wz-line); }
/* Admin action dialogs (hide / delete / suspend / reject ...) use the same designed frame. */
body.wz2.wz-admin .modal-dialog.modal-dialog-centered:not(.modal-lg):not(.modal-xl):not(.modal-sm):not(.wz-al-asgdlg) { max-width: 580px; }
body.wz2.wz-admin .modal-dialog:not(.modal-lg):not(.modal-xl) .modal-content > .modal-header { border-bottom: 1px solid var(--wz-line); }
body.wz2.wz-admin .modal-dialog:not(.modal-lg):not(.modal-xl) .modal-content > .modal-footer { border-top: 1px solid var(--wz-line); }
@media (max-width: 575.98px) {
    body.wz2 .wz-cf-dlg .modal-header { padding: 18px 20px; }
    body.wz2 .wz-cf-dlg .modal-body { padding: 20px; }
    body.wz2 .wz-cf-dlg .modal-footer { padding: 12px 20px; }
}
/* Messages: a shared listing is a white listing card (photo, price, address), not a green bubble (design chats). */
body.wz2 .wz-bubble:has(> .wz-chat-lst:not(.wz-chat-lst-sm)) {
    background: #fff; color: var(--wz-ink); border: 1px solid var(--wz-line); padding: 8px; border-radius: 16px;
}
body.wz2 .wz-bubble > .wz-chat-lst:not(.wz-chat-lst-sm),
body.wz2 .wz-bubble > .wz-chat-lst:not(.wz-chat-lst-sm) * { text-decoration: none !important; }
body.wz2 .wz-bubble > .wz-chat-lst:not(.wz-chat-lst-sm) { width: 246px; min-width: 0; max-width: 100%; }
body.wz2 .wz-bubble > .wz-chat-lst:not(.wz-chat-lst-sm) img { max-width: none; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; }
body.wz2 .wz-bubble > .wz-chat-lst:not(.wz-chat-lst-sm) .wz-chat-lst-b { display: flex; flex-direction: column; gap: 4px; padding: 8px 8px 4px; margin: 0; }
body.wz2 .wz-bubble > .wz-chat-lst:not(.wz-chat-lst-sm) .wz-chat-lst-b strong { font-weight: 400; font-size: 14px; color: var(--wz-ink2); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.wz2 .wz-bubble > .wz-chat-lst:not(.wz-chat-lst-sm) .wz-chat-lst-p { order: -1; font-size: 16px; font-weight: 700; color: var(--wz-ink); }
body.wz2 .wz-bubble > .wz-chat-lst:not(.wz-chat-lst-sm) .wz-chat-lst-go { color: var(--wz-p); text-decoration: none; }
/* Cards without a photo: a small picture icon on the grey tile instead of the stretched placeholder (design). */
body.wz2 .wz-lc-img > img[src="/img/no-image.svg"] { object-fit: contain; padding: 34% 38%; background: var(--wz-soft); opacity: .7; }
/* The "Install WizReal" prompt covered the Messages composer; the design shows it on listing pages only. */
body.wz2:has(.wz-chat-shell) .pwa-install-prompt { display: none !important; }
/* === end final === */

/* === 2026-11-18 wave 3: marketing === */
/* 2026-11-18 design wave 3: Proptimize in the bar is semibold ink with a small diagonal arrow (design). */
body.wz2 .wz-nav-link.wz-nav-ext {
    color: var(--wz-ink);
    font-weight: 600;
}
/* Website avatar (header trigger): black disc with white initials (design). */
body.wz2 .wz-usermenu-trigger .wz-avatar:not(.wz-guest-av) {
    background: var(--wz-ink);
    color: #fff;
}
/* Client menu: the site-section links show only on tablet / phone (design client menu at 768 / 390). */
body.wz2 .wz-rm-item.wz-rm-navdup {
    padding-left: 16px;
}
@media (min-width: 1025px) {
    body.wz2 .wz-rm-item.wz-rm-navdup {
        display: none;
    }
}
/* === end === */

/* === 2026-11-18 wave 3: portals === */
/* 2026-11-18 design (devhome 390): on phones the Development Performance head puts "Last 30 Days" under the title. */
@media (max-width: 560px) {
    body.wz2.wz-developer .wz-card-h.wz-hl:has(> .wz-card-meta) { flex-direction: column; align-items: flex-start; gap: 6px; }
}
/* 2026-11-18 design (devdash myvaluations): the tabs keep their 24px gap above the form (the row gutter ate it), and on
   phones the counter rows drop their icon tiles so label, sub line and buttons fit on one line. */
body.wz2.wz-developer #wzVal > .row { margin-top: 0; }
@media (max-width: 560px) {
    body.wz2.wz-developer #wzVal .wz-hv-ctric { display: none; }
}
/* 2026-11-18 design (interested): the KPI tiles have no icon, so the figure sits closer under the label. */
body.wz2.wz-developer .wz-dv-ikpi .wz-kpi-v { margin-top: 14px; }
/* === end === */
/* === 2026-11-18 wave 3: cross === */
/* 2026-11-18 design (mbar.js .mb-sec): provider profile bar - outline "Message" before "Get a Quote"; icon only on phones. */
body.wz2 .wz-mbar-sec { flex: none; min-height: 44px; white-space: nowrap; }
body.wz2 .wz-mbar-sec svg { display: none; }
@media (max-width: 440px) {
    body.wz2 .wz-mbar-sec { width: 44px; padding: 0; justify-content: center; }
    body.wz2 .wz-mbar-sec svg { display: block; }
    body.wz2 .wz-mbar-sec .wz-mbar-bl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
/* SysAdmin "Select Dashboard" dialog (no design): rows like the account menu items, in bordered tiles. */
body.wz2 .wz-adm-dsel-t { color: var(--wz-muted); margin: 0 0 12px; }
body.wz2 .wz-adm-dsel { display: flex; flex-direction: column; gap: 8px; }
body.wz2 .wz-adm-dsel .wz-rm-item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--wz-line); border-radius: 12px; color: var(--wz-ink); font-weight: 500; text-decoration: none; }
body.wz2 .wz-adm-dsel .wz-rm-item:hover { background: var(--wz-soft); }
/* === end === */
/* === 2026-11-18 round 4: portals === */
/* Messages (design chats .chat-card): a shared MLS listing is the site's listing card, 264px wide, in a white bordered
   box (photo 150px, status pill, heart, MLS number, price + days on market, address, beds / baths, type, open house). */
body.wz2 .wz-bubble.has-card,
body.wz2 .wz-chat-m .wz-bubble.has-card.me,
body.wz2 .wz-chat-m .wz-bubble.has-card.them { background: #fff !important; color: var(--wz-ink) !important; border: 1px solid var(--wz-line); padding: 8px 8px 4px; border-radius: 18px; max-width: 100%; }
body.wz2 .wz-chat-card { width: 264px; max-width: 100%; }
body.wz2 .wz-chat-card .wz-lc { box-shadow: none; border: 0; background: transparent; }
body.wz2 .wz-chat-card .wz-lc-img { height: 150px; aspect-ratio: auto; border-radius: 12px; overflow: hidden; }
body.wz2 .wz-chat-card .wz-lc-img > img { height: 100%; width: 100%; object-fit: cover; }
body.wz2 .wz-chat-card .wz-lc-bd { padding: 14px 12px 10px; }
/* === end === */

/* === 2026-11-18 wave 4: public === */
/* Website account menu: "Go to Dashboard" as the design's green-tinted switch card (di-switch: white icon tile, bold title,
   sub line, green chevron), the head avatar black with white initials (design .avatar), 300px wide when the card is there,
   exit icon on Sign Out (design di-out: ink2, red on hover), admin "Logout" red. */
body.wz2 .wz-usermenu-pop:has(.wz-rm-switch) { min-width: 300px; }
body.wz2 .wz-usermenu-pop .wz-rm-item.wz-rm-switch { align-items: center; gap: 12px; margin: 2px 0; padding: 12px; border-radius: 12px; background: var(--wz-tint); white-space: normal; }
body.wz2 .wz-usermenu-pop .wz-rm-item.wz-rm-switch:hover { background: #e3efdc; }
body.wz2 .wz-usermenu-pop .wz-rm-swic { display: flex; flex: none; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: #fff; color: var(--wz-p); box-shadow: 0 1px 2px rgba(17, 20, 24, .06); }
body.wz2 .wz-usermenu-pop .wz-rm-swic .wz-ic { margin: 0; color: var(--wz-p); }
body.wz2 .wz-usermenu-pop .wz-rm-switch .wz-rm-txt { flex: 1 1 auto; }
body.wz2 .wz-usermenu-pop .wz-rm-swt { display: block; color: var(--wz-ink); font-size: 14px; font-weight: 700; }
body.wz2 .wz-usermenu-pop .wz-rm-switch .wz-rm-sub { margin-top: 1px; font-size: 12px; }
body.wz2 .wz-usermenu-pop .wz-rm-swch { display: flex; flex: none; }
body.wz2 .wz-usermenu-pop .wz-rm-swch .wz-ic { margin: 0; color: var(--wz-p); }
body.wz2 .wz-usermenu-pop .wz-menu-head .wz-avatar,
body.wz2 .wz-usermenu-btn .wz-avatar:not(.wz-guest-av) { background: var(--wz-ink); color: #fff; font-weight: 600; letter-spacing: .02em; }
body.wz2 .wz-usermenu-pop .wz-rm-out { color: var(--wz-ink2); }
body.wz2 .wz-usermenu-pop .wz-rm-out .wz-ic { color: currentColor; }
body.wz2 .wz-usermenu-pop .wz-rm-out:hover { background: var(--wz-err-bg); color: var(--wz-err); }
body.wz2 .wz-usermenu-pop .wz-rm-out.wz-rm-out-adm { color: var(--wz-err); }
/* Home: the Saved Homes count reads "(2)" inside the chip (design .tabs button .c with brackets); on phones the chip row
   is one scrolling strip (design), not two wrapped rows. */
body.wz2 .wz-home .wz-home-bar .wz-tab .c { min-width: 0; height: auto; margin: 0; padding: 0; border-radius: 0; background: none; color: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; }
body.wz2 .wz-home .wz-home-bar .wz-tab .c::before { content: "("; }
body.wz2 .wz-home .wz-home-bar .wz-tab .c::after { content: ")"; }
@media (max-width: 560px) {
    body.wz2 .wz-home .wz-home-bar .wz-tabsx { width: 100%; }
    /* Valuation hero: the phone headline breaks "Get Your Free / Home Valuation" (design 390) */
    body.wz2 .wz-phx-in h1 br.wz-phx-br-ph { display: inline; }
    body.wz2 .wz-home .wz-home-bar .wz-tabsx > .wz-tabs { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; }
    body.wz2 .wz-home .wz-home-bar .wz-tabsx > .wz-tabs > .wz-tab { flex: none; }
}
/* === end === */

/* === 2026-11-19 round 5: public === */
/* Website header (design .nav-burger / .usermenu): the burger and the menu icon in the avatar pill are ink, 22px, stroke 2;
   the bar is 72px tall down to 561px and 64px on phones; the guest avatar keeps its white person glyph on phones. */
body.wz2 .wz-site-nav .wz-nav-burger { color: var(--wz-ink); }
body.wz2 .wz-site-nav .wz-nav-burger .wz-ic { width: 22px; height: 22px; stroke-width: 2; }
body.wz2 .wz-site-nav .wz-usermenu-btn > .wz-ic { color: var(--wz-ink); stroke-width: 2; }
body.wz2 .wz-site-nav .wz-guest-av .wz-ic { display: inline-block; }
@media (min-width: 561px) and (max-width: 991.98px) {
    body.wz2 .wz-site-nav { height: 72px; }
}
/* Website account menu (design .dropdown .di): 40px rows, 12px icon gap; the e-mail stays on one line and ends in "..."
   instead of breaking mid-word (full address in the tooltip); 240px wide on phones (design 243px). */
body.wz2 .wz-usermenu-pop .wz-rm-item { min-height: 40px; gap: 12px; }
body.wz2 .wz-usermenu-pop .wz-menu-head > div { flex: 1 1 auto; min-width: 0; }
body.wz2 .wz-usermenu-pop .wz-menu-head .wz-menu-head-s { display: block; width: 0; min-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; word-break: normal; -webkit-line-clamp: unset; }
@media (max-width: 575.98px) {
    body.wz2 .wz-usermenu-pop { min-width: 240px; max-width: calc(100vw - 24px); }
}
/* Desktop bar at 1400px+ (design 1440: links 13.5px with 10px sides, first link 16px after the logo). */
@media (min-width: 1400px) {
    body.wz2 .wz-site-nav .wz-nav-link { padding: 8px 10px; font-size: 13.5px; }
    body.wz2 .wz-site-nav .wz-nav-links { margin-left: -6px; }
}
/* Client's view of an agent page (/Agent/{id}): the client account pages' 5vw side gutter between 641 and 1199px. */
@media (min-width: 641px) and (max-width: 1199.98px) {
    html body.wz2 .wz-page.wz-pub-page.wz-ag-client { --wz-page-x: clamp(32px, 5vw, 48px); padding-inline: var(--wz-page-x); }
}
/* === end === */

/* === 2026-11-19 round 5: portals === */
/* Client account pages on the website layout (My Listings, Saved, My Agent, Messages, Profile, My Valuations, owner
   listing / draft preview, List a Property): the design's side gutter is 5vw between phone and desktop (32 px at 640,
   38 px at 768, 48 px from 960), not the site's 24 / 32 px steps. */
@media (min-width: 641px) and (max-width: 1199.98px) {
    body.wz2:not(.wz-admin):not(.wz-realtor):not(.wz-developer):not(.wz-provider) :is(#wzMyListings, .wz-saved, .wz-m2, .wz-msgs, .wz-ps, .wz-hv-mine, .wzd-page.wz-lpv, .wz-lf) {
        --wz-page-x: clamp(32px, 5vw, 48px);
    }

    html body.wz2 .wz-page.wz-pub-page.wz-hv-mine { padding-inline: var(--wz-page-x); }
}
/* Client page titles are 30 px in the design (site 32). */
@media (min-width: 768px) {
    html body.wz2 #wzMyListings .wz-ml-h1,
    html body.wz2 .wz-saved .wz-saved-title,
    html body.wz2 .wz-m2 .wz-m2-top h1,
    html body.wz2 .wz-msgs .wz-msgs-head h1,
    html body.wz2 .wz-lf .wz-lf-h1 { font-size: 30px; }
}
/* === end === */
/* === 2026-11-19 round 5: portals (provider Home Profile Views on phones: the 7d / 30d / 90d pills stay right of the title, design sphome 390) === */
@media (max-width: 767.98px) {
    body.wz2.wz-provider .wz-card-h.sp-card-h.wz-hl:has(> .sp-views-tabs) { flex-wrap: nowrap; align-items: center; gap: 12px; }
    body.wz2.wz-provider .wz-card-h.sp-card-h.wz-hl:has(> .sp-views-tabs) > :first-child { min-width: 0; }
    body.wz2.wz-provider .wz-card-h.sp-card-h.wz-hl > .sp-views-tabs { flex: none; margin: 0; }
}
/* Admin Messages (Chats/Index, Chats/View: .wz-am compose box): the "Install WizReal" banner never covers the message box,
   as on the other chat pages (.wz-chat-shell rule above). */
body.wz2:has(.wz-am-compose) .pwa-install-prompt { display: none !important; }
/* === end === */

/* === 2026-11-19 round 5: cross-area (requests the area passes left for the shared shell) === */
/* Admin account menu on tablet / phone (design .dropdown at <= 860px: about 238px wide; the admin menu has no website
   switch tile. The realtor, developer and provider menus keep 300px: their "Visit Website" tile needs it). The
   e-mail line stays on one line and ends in "...". */
@media (max-width: 860px) {
    body.wz2.wz-admin .wz-dash-menu { min-width: 238px; max-width: min(260px, calc(100vw - 24px)); }
    body.wz2.wz-admin .wz-dash-menu .wz-menu-head > div { flex: 1 1 auto; min-width: 0; }
    body.wz2.wz-admin .wz-dash-menu .wz-menu-head .wz-menu-head-s { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
}
/* Scrolling pill rows on phones (design: the row is swiped, no arrow button sits over the first / last pill); the soft
   edge fade stays as the hint that there is more. Arrows stay from 641px up. */
/* PM 2026-11-27: the ‹ › arrows show on phones too (they were hidden up to 640px); the fade is as wide as the arrow. */
@media (max-width: 640px) {
    body.wz2 .wz-tabsx::before,
    body.wz2 .wz-tabsx::after { width: 44px; }
}
/* === end === */

/* === 2026-11-19 round 6: public === */
/* Website account menu (design .dropdown): opens 10px under the avatar pill (was 2px, over the bar edge at 768) and is
   244px wide from 576px up (the menus with a "Visit Website" / dashboard tile keep 300px). */
body.wz2 .wz-usermenu-pop { margin-top: 8px !important; }
@media (min-width: 576px) {
    body.wz2 .wz-usermenu-pop:not(:has(.wz-rm-switch)) { min-width: 244px; width: 244px; }
}
/* === end === */

/* === 2026-11-19 round 7: portals === */
/* Realtor top bar at 768: the "R-20" realtor block (body.wz2.wz-realtor, 68px) outranks the shell's 60px rule at <=768px
   and only drops to 60px below 767.98px, so the realtor portal alone was 68px at exactly 768. Same 60px bar / row as the
   developer and provider portals from 768px down (design .wz-tr height 60 at <=768). */
@media (max-width: 768px) {
    body.wz2.wz-realtor .wz-dash { grid-template-rows: 60px minmax(0, 1fr); }
    body.wz2.wz-realtor .wz-dash-top { height: 60px; }
}
/* === end === */

/* === 2026-11-19 round 8: portals === */
/* Developer and provider portals above 768: the page starts 36px under the 68px top bar, as in the design (.main padding
   32 + head) and the realtor portal (wz-realtor-portal.css); the shell's 28px left every page 9px high at 1440.
   768 and below keep 28 / 20 (they match). */
@media (min-width: 769px) {
    body.wz2:is(.wz-developer, .wz-provider) .wz-main { padding-top: 36px; }
}
/* === end === */

/* === 2026-11-20: listing === */
/* CG #30: the account menu's "Become a WIZREAL Developer" item fits on one line. */
body.wz2 .wz-usermenu-pop:has([data-bs-target="#wzNavBecomeDev"]) { min-width: 300px; }
/* === end === */

/* === 2026-11-23: design1 === */
/* Designer G7: rows of tabs, chips and cards that scroll sideways hide their scrollbar (swipe, wheel or the row's own
   arrow still scroll them); vertical scrolling and tables keep theirs. The Events pills have their own rule (design2). */
body.wz2 .wz-row-cards,
body.wz2 #wzdFeatureTabs,
body.wz2 .wzd-rooms,
body.wz2 .wz-hx-panel-tabs,
body.wz2 .ai-chips,
body.wz2 .wz-tabsx > .wz-tabs { scrollbar-width: none; }
body.wz2 .wz-row-cards::-webkit-scrollbar,
body.wz2 #wzdFeatureTabs::-webkit-scrollbar,
body.wz2 .wzd-rooms::-webkit-scrollbar,
body.wz2 .wz-hx-panel-tabs::-webkit-scrollbar,
body.wz2 .ai-chips::-webkit-scrollbar,
body.wz2 .wz-tabsx > .wz-tabs::-webkit-scrollbar { display: none; }
/* === end design1 === */

/* === 2026-11-24: decide === */
/* PM 2026-11-24: "Become a WIZREAL Developer" leaves the account menu at the burger-drawer widths (phones / tablets). */
@media (max-width: 991.98px) {
    body.wz2 .wz-rm-item.wz-rm-deskonly {
        display: none;
    }
}
/* === end decide === */

/* === 2026-11-24 CG: public === */
/* Q83 "Get the WizReal app" banner (pwa-install.js): prototype .cd-install card, bottom left, phones and tablets only. */
body.wz2 .wz-appban {
    left: 20px;
    right: auto;
    bottom: 20px;
    width: 420px;
    max-width: calc(100vw - 40px);
    margin: 0;
    padding: 12px 12px 12px 14px;
    gap: 12px;
    flex-direction: row;
    align-items: center;
    border: 1px solid var(--wz-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--wz-shadow-lg);
}
body.wz2 .wz-appban .pwa-install-content { gap: 12px; }
body.wz2 .wz-appban .pwa-install-icon { width: 34px; height: 34px; border-radius: 0; object-fit: contain; }
body.wz2 .wz-appban .pwa-install-text { gap: 2px; line-height: 1.35; }
body.wz2 .wz-appban .pwa-install-text strong { color: var(--wz-ink); font-size: 14px; font-weight: 700; }
body.wz2 .wz-appban .pwa-install-text span { color: var(--wz-muted); font-size: 12px; }
body.wz2 .wz-appban .pwa-install-actions { gap: 6px; flex-wrap: nowrap; }
body.wz2 .wz-appban .wz-btn { white-space: nowrap; text-decoration: none; }
body.wz2.has-wz-mbar .wz-appban { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 575.98px) {
    body.wz2 .wz-appban { left: 16px; right: 16px; bottom: 16px; width: auto; max-width: none; flex-direction: column; align-items: stretch; gap: 10px; }
    body.wz2 .wz-appban .pwa-install-actions { justify-content: flex-end; }
}
/* Room under the banner: the footer grows (its own background), so the copyright bar and store badges stay visible
   above the banner; portal pages pad their main column. The old 7rem / 11rem gap on <main> is not needed with a footer. */
body.wz2.has-pwa-prompt .wz-footer { padding-bottom: calc(var(--wz-appban-h, 96px) + 24px); }
body.wz2.has-pwa-prompt:has(.wz-footer) main[role="main"] { padding-bottom: 0; }
body.wz2.has-pwa-prompt .wz-main { padding-bottom: calc(var(--wz-appban-h, 96px) + 40px); }
body.wz2.has-wz-mbar.has-pwa-prompt .wz-footer { padding-bottom: calc(var(--wz-appban-h, 96px) + 88px); }
/* Floating "Show map" (home) and "Map / List" (map page) pills move up above the banner. */
body.wz2.has-pwa-prompt .wz-showmap,
body.wz2.has-pwa-prompt .wzm-viewtoggle { bottom: calc(var(--wz-appban-h, 96px) + 32px); }
/* === end === */
/* === 2026-11-27: scroll arrows (PM) === */
/* Pill rows that scroll sideways outside .wz-tabsx (wz-ui.js initScrollArrows): the same round arrow, placed over the
   row's left / right edge by the script; the row fades out under it. The map filter bar gets the arrows, no fade. */
body.wz2 .wz-tabsx-btn.wz-arrow-float { display: inline-flex; right: auto; transform: none; margin: 0; }
body.wz2 .wz-tabsx-btn.wz-arrow-float[hidden] { display: none; }
body.wz2 .wz-arrows-l:not(.wzm-bar) { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 48px); mask-image: linear-gradient(90deg, transparent 0, #000 48px); }
body.wz2 .wz-arrows-r:not(.wzm-bar) { -webkit-mask-image: linear-gradient(270deg, transparent 0, #000 48px); mask-image: linear-gradient(270deg, transparent 0, #000 48px); }
body.wz2 .wz-arrows-l.wz-arrows-r:not(.wzm-bar) { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%); }
/* === end === */
