/* New property profile (/Property/{id}) — isolated from legacy PropertyDetails */
.pd-page {
    --pd-navy: #0f172a;
    --pd-orange: #ea580c;
    --pd-orange-dark: #c2410c;
    --pd-slate-50: #f8fafc;
    --pd-slate-200: #e2e8f0;
    --pd-slate-600: #475569;
    --pd-slate-800: #1e293b;
    --pd-slate-900: #0f172a;
    background: var(--pd-slate-50);
    min-height: 100vh;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.pd-page .pd-container {
    max-width: 72rem;
    margin: 0 auto;
    padding: 1.5rem 1rem 4rem;
}

/* Prototype: 12-col main — left ~8 scrolls, right ~4 sticky */
.pd-main-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.pd-sticky-rail {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/*
 * Mobile (<992px): flatten the two columns so blocks can interleave.
 * Desired order: Back → Pictures → Info card → Concessions → Agent → Map → Mortgage (in row) → Vault.
 */
@media (max-width: 991.98px) {
    .pd-main-grid > .pd-col-left {
        display: contents;
    }

    .pd-main-grid > .pd-col-right {
        display: contents;
    }

    .pd-main-grid > .pd-col-right > .pd-sticky-rail {
        display: contents;
    }

    .pd-inline-nav {
        order: 10;
    }

    .pd-hero {
        order: 20;
    }

    .pd-card.pd-card-listing {
        order: 30;
    }

    #pdSavingsWrap {
        order: 40;
    }

    .pd-agent-card {
        order: 50;
    }

    .pd-map-mortgage-row {
        order: 60;
    }

    .pd-vault {
        order: 70;
    }
}

@media (min-width: 992px) {
    .pd-main-grid {
        display: grid;
        grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
        gap: 3rem;
        align-items: stretch;
    }

    .pd-main-grid > .pd-col-left {
        display: flex;
        flex-direction: column;
    }

    .pd-main-grid > .pd-col-right {
        display: block;
    }

    .pd-main-grid > .pd-col-right > .pd-sticky-rail {
        display: flex;
        flex-direction: column;
    }

    .pd-sticky-rail {
        position: sticky;
        /* Single global navbar (no second pd-top-nav) */
        top: 5.5rem;
    }
}

.pd-col-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-width: 0;
}

@media (min-width: 992px) {
    .pd-col-left {
        max-height: none;
        overflow-y: visible;
        padding-right: 0.35rem;
    }
}


.pd-inline-nav {
    margin-bottom: 0;
}

.pd-inline-back {
    font-size: 0.65rem !important;
    letter-spacing: 0.1em !important;
    text-decoration: none !important;
}

.pd-inline-back:hover {
    color: var(--pd-orange) !important;
}

.pd-col-right {
    min-width: 0;
}

.pd-hero {
    position: relative;
    border-radius: 2.5rem;
    overflow: hidden;
    height: 22rem;
    /* .pd-col-left is a column flex + max-height on lg; abs-positioned controls don't
       contribute min-height, so the flex item can shrink to 0 without this. */
    flex-shrink: 0;
    background: var(--pd-slate-200);
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.12);
    border: 1px solid var(--pd-slate-200);
}

@media (min-width: 992px) {
    .pd-hero {
        height: 31.25rem;
    }
}

.pd-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pd-badge-verified {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid rgba(234, 88, 12, 0.22);
    color: var(--pd-slate-900);
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.12);
}

.pd-badge-verified-ico {
    color: var(--pd-orange);
    font-size: 1.05rem;
}

.pd-fav-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 15;
}

.pd-hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 12;
    width: 2.75rem;
    height: 2.75rem;
    border: none;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.55);
    color: #fff;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

.pd-hero-nav:hover {
    background: rgba(15, 23, 42, 0.75);
    color: #fff;
}

.pd-hero-nav:focus-visible {
    outline: 2px solid var(--pd-orange);
    outline-offset: 2px;
}

.pd-hero-nav--prev {
    left: 1rem;
}

.pd-hero-nav--next {
    right: 1rem;
}

.pd-hero-counter {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 12;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(15, 23, 42, 0.55);
    pointer-events: none;
}

.pd-hero:focus-visible {
    outline: 2px solid var(--pd-orange);
    outline-offset: 3px;
}

.pd-agent-profile-hit {
    color: inherit;
    transition: opacity 0.15s ease;
}

.pd-agent-profile-hit:hover {
    opacity: 0.92;
}

.pd-agent-profile-hit:focus-visible {
    outline: 2px solid var(--pd-orange);
    outline-offset: 2px;
    border-radius: 0.5rem;
}

.pd-inq-inline-err {
    margin: 0.35rem 0 0.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: 0.9rem;
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid rgba(239, 68, 68, 0.45);
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.22);
    font-size: 0.9rem;
    line-height: 1.25rem;
}

.pd-inq-pwd-wrap {
    position: relative;
}

.pd-inq-pwd-wrap .pd-inq-input {
    padding-right: 3.1rem;
}

.pd-inq-pwd-toggle {
    position: absolute;
    top: 50%;
    right: 0.55rem;
    transform: translateY(-50%);
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(15, 23, 42, 0.18);
    color: rgba(255, 255, 255, 0.88);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pd-inq-pwd-toggle:hover {
    background: rgba(15, 23, 42, 0.28);
}

.pd-inq-pwd-toggle:focus-visible {
    outline: 2px solid var(--pd-orange);
    outline-offset: 2px;
}

.pd-card {
    background: #fff;
    border-radius: 2.5rem;
    border: 1px solid var(--pd-slate-200);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    padding: 2.5rem;
}

.pd-card-listing {
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 800;
}

.pd-listing-header {
    width: 100%;
    text-align: left;
}

.pd-headline-title {
    font-size: clamp(1.35rem, 3vw, 2.25rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--pd-slate-900);
    text-transform: none;
}

.pd-address-lines {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
    text-transform: none;
    letter-spacing: normal;
    font-weight: normal;
}

.pd-address-pin {
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.pd-address-stack {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    flex: 1;
}

.pd-address-lines .pd-street-line,
.pd-address-lines .pd-location-line {
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.4;
    color: var(--pd-slate-600);
    font-family: inherit;
}

.pd-location-icon {
    color: var(--pd-orange);
}

.pd-price-block {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 1rem;
}

.pd-tx-label {
    font-size: 0.8rem;
    color: var(--pd-orange);
    letter-spacing: 0.18em;
}

.pd-price-big {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 900;
    color: var(--pd-slate-900);
}

.pd-about-block {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--pd-slate-200);
    text-align: left;
}

.pd-about-heading {
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--pd-slate-900);
    margin-bottom: 1rem;
}

.pd-about-text {
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.65;
    color: var(--pd-slate-600);
    text-transform: none;
    letter-spacing: normal;
}

.pd-headline-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
    width: 100%;
}

.pd-status-pill {
    padding: 0.35rem 1rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid var(--pd-slate-200);
}

.pd-status-pill.active {
    background: #ecfdf5;
    color: #047857;
    border-color: #a7f3d0;
}

.pd-status-pill.lease {
    background: #fff7ed;
    color: #c2410c;
    border-color: #fed7aa;
}

.pd-share-btn {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 999px;
    border: 1px solid var(--pd-orange-dark);
    background: var(--pd-orange);
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
}

.pd-open-house {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    box-sizing: border-box;
    padding: 0.85rem 1.25rem;
    background: var(--pd-orange);
    color: var(--pd-slate-900);
    border-radius: 1rem;
    font-weight: 800;
    font-size: 0.8rem;
    border: 1px solid var(--pd-orange-dark);
    letter-spacing: 0.06em;
    line-height: 1.4;
    text-transform: none;
}

.pd-open-house span {
    flex: 1;
    min-width: 0;
}

.pd-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--pd-slate-200);
}

@media (max-width: 767px) {
    .pd-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pd-card.pd-card-listing {
        padding: 1.5rem;
    }

    .pd-listing-header .pd-price-block {
        margin-top: 1.25rem !important;
    }

    .pd-listing-header .pd-open-house {
        margin-top: 1rem !important;
    }
}

.pd-stat-cell {
    text-align: center;
    padding: 1rem;
    background: var(--pd-slate-50);
    border-radius: 1.5rem;
    border: 1px solid var(--pd-slate-200);
}

.pd-stat-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--pd-slate-900);
}

.pd-stat-lbl {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pd-slate-600);
    font-weight: 700;
}

.pd-stat-ico {
    display: block;
    margin: 0 auto 0.5rem;
    font-size: 1.35rem;
    color: var(--pd-orange);
}

/* Map + mortgage: For sale — two columns from 640px; lease — map only, full width */
.pd-map-mortgage-row {
    width: 100%;
    min-width: 0;
}

.pd-map-mortgage-lease .pd-map-proto {
    width: 100%;
    min-height: 21.875rem;
}

.pd-map-mortgage-sale {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: stretch;
}

@media (min-width: 640px) {
    .pd-map-mortgage-sale {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 3rem;
    }
}

.pd-map-mortgage-sale .pd-map-proto,
.pd-map-mortgage-sale .pd-mortgage-proto {
    min-width: 0;
}

.pd-map-wrap {
    border-radius: 2.5rem;
    overflow: hidden;
    border: 2px solid #1e3a5f;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.15);
    background: var(--pd-navy);
}

.pd-map-tab {
    display: inline-block;
    background: var(--pd-orange);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.5rem 1.25rem;
    border-bottom-right-radius: 1.25rem;
    border-right: 1px solid var(--pd-orange-dark);
    border-bottom: 1px solid var(--pd-orange-dark);
}

.pd-map-inner {
    height: 20rem;
}

@media (min-width: 768px) {
    .pd-map-inner {
        min-height: 22rem;
        height: 100%;
    }
}

.pd-mortgage-card {
    background: var(--pd-slate-800);
    color: #fff;
    border-radius: 2.5rem;
    padding: 2rem;
    border: 1px solid #334155;
    display: flex;
    flex-direction: column;
    min-height: 20rem;
}

.pd-mortgage-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.pd-savings-wrap {
    position: relative;
}

.pd-savings-blur {
    filter: blur(10px);
    opacity: 0.45;
    pointer-events: none;
    user-select: none;
    transform: scale(0.98);
}

.pd-unlock-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.pd-unlock-card {
    background: rgba(6, 78, 59, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 3rem;
    padding: 2rem 1.75rem;
    text-align: center;
    width: 100%;
    max-width: 100%;
    border: 1px solid rgba(16, 185, 129, 0.45);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 0 0 8px rgba(16, 185, 129, 0.08);
}

.pd-unlock-icon-wrap {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1rem;
    border-radius: 1rem;
    background: rgba(6, 95, 70, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6ee7b7;
    font-size: 1.35rem;
    border: 2px solid rgba(52, 211, 153, 0.25);
}

.pd-unlock-card h3 {
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

.pd-unlock-btn {
    width: 100%;
    padding: 1.35rem 1rem;
    border-radius: 1.5rem;
    border: 2px solid #fff;
    background: #fff;
    color: #064e3b;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.65rem;
    cursor: pointer;
}

.pd-savings-engine {
    background: #fff;
    border-radius: 1.5rem;
    border: 1px solid rgba(15, 23, 42, 0.1);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.1);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.pd-se-header {
    background: #64748b;
    color: #fff;
    text-align: center;
    padding: 1.1rem 1.25rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 1rem;
    border-bottom: 1px solid #475569;
}

.pd-se-toggle-wrap {
    padding: 1rem 1rem 0.5rem;
}

.pd-se-toggle-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.25rem;
}

.pd-se-toggle {
    padding: 0.65rem 0.25rem;
    border-radius: 0.5rem;
    border: 1px solid var(--pd-orange-dark);
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    cursor: pointer;
    background: var(--pd-orange);
    color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.pd-se-toggle.on {
    background: var(--pd-slate-900);
    color: #fff;
    border-color: var(--pd-slate-900);
}

.pd-se-math {
    background: var(--pd-navy);
    color: #fff;
    padding: 1rem 1.25rem;
    font-size: 0.75rem;
}

.pd-se-math-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-variant-numeric: tabular-nums;
}

.pd-se-math-row--bt {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(51, 65, 85, 0.9);
}

.pd-se-math-lbl {
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.04em;
}

.pd-se-math-val {
    font-size: 0.9rem;
    font-weight: 800;
}

.pd-se-total {
    background: var(--pd-orange);
    color: var(--pd-slate-900);
    text-align: center;
    padding: 1rem 1rem 1.15rem;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.25);
}

.pd-se-total-kicker {
    font-size: 0.5rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.92;
    margin-bottom: 0.2rem;
}

.pd-se-total-big {
    font-size: 1.65rem;
    font-variant-numeric: tabular-nums;
    font-weight: 900;
}

.pd-se-body {
    padding: 1rem;
    background: rgba(248, 250, 252, 0.85);
    border-top: 1px solid #e2e8f0;
}

.pd-se-price-block {
    margin-bottom: 1rem;
}

.pd-se-price-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 0.35rem;
    font-variant-numeric: tabular-nums;
}

.pd-se-price-lbl {
    font-size: 0.56rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--pd-slate-600);
}

.pd-se-price-num {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--pd-slate-900);
}

.pd-se-slider {
    width: 100%;
    height: 0.35rem;
    border-radius: 999px;
    background: var(--pd-slate-200);
    appearance: none;
    cursor: pointer;
    accent-color: var(--pd-orange);
}

.pd-se-detail-card {
    background: #fff;
    border: 1px solid var(--pd-slate-200);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    min-height: 7.5rem;
}

.pd-se-flex-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-variant-numeric: tabular-nums;
}

.pd-se-flex-lbl {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pd-slate-900);
}

.pd-se-flex-ico {
    color: var(--pd-orange);
    font-size: 0.85rem;
}

.pd-se-flex-vals {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.pd-se-flex-pct {
    font-size: 0.62rem;
    background: var(--pd-orange);
    color: var(--pd-slate-900);
    padding: 0.15rem 0.45rem;
    border-radius: 0.35rem;
    border: 1px solid var(--pd-orange-dark);
    font-weight: 800;
}

.pd-se-flex-amt {
    font-size: 0.8rem;
    font-weight: 800;
}

.pd-se-static-block {
    margin-top: 0.65rem;
    padding-top: 0.65rem;
    border-top: 1px solid #f1f5f9;
}

.pd-se-static-title {
    font-size: 0.56rem;
    color: #94a3b8;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.pd-se-static-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: 0.62rem;
    margin-bottom: 0.35rem;
}

.pd-se-static-lbl {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--pd-slate-900);
}

.pd-se-static-arrow {
    font-size: 0.45rem;
    opacity: 0.85;
    color: var(--pd-orange);
}

.pd-se-static-val {
    font-size: 0.72rem;
    color: #ea580c;
}

.pd-se-consolidated-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 2px dashed #f1f5f9;
    font-variant-numeric: tabular-nums;
}

.pd-se-consolidated-lbl {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pd-slate-900);
}

.pd-se-consolidated-val {
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--pd-slate-900);
}

.pd-agent-card {
    background: var(--pd-slate-900);
    color: #fff;
    border-radius: 2rem;
    padding: 1.5rem;
    border: 1px solid #1e293b;
}

.pd-agent-outline-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.pd-tour-btn {
    background: #ea580c !important;
    border: none !important;
    font-size: 0.65rem !important;
    letter-spacing: 0.12em !important;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.pd-agent-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #334155;
}

.pd-agent-logo {
    max-width: 2.5rem;
    max-height: 2.5rem;
    object-fit: contain;
    background: #fff;
    padding: 0.2rem;
    border-radius: 0.5rem;
}

.pd-vault {
    background: var(--pd-slate-900);
    border-radius: 1.5rem;
    border: 1px solid #334155;
    overflow: hidden;
}

.pd-vault-head {
    padding: 1.25rem 1.25rem;
    border-bottom: 1px solid #334155;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: rgba(15, 23, 42, 0.5);
}

.pd-vault-head-main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.pd-vault-head-icon-wrap {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: rgba(59, 130, 246, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #60a5fa;
    font-size: 0.95rem;
}

.pd-vault-head-titles {
    min-width: 0;
}

.pd-vault-head-title {
    font-size: 0.875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #fff;
    line-height: 1.2;
}

.pd-vault-head-sub {
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #94a3b8;
    margin-top: 0.15rem;
}

.pd-vault-secure-pill {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.22);
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
}

.pd-vault-secure-pill i {
    font-size: 0.65rem;
}

.pd-vault-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid #334155;
    cursor: pointer;
    font-size: 0.8rem;
    color: #fff;
}

.pd-vault-row span,
.pd-vault-row i {
    color: inherit;
}

#pdVaultList:empty::after {
    content: "No documents uploaded yet.";
    display: block;
    padding: 1rem 1.25rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
}

.pd-vault-row:hover {
    background: rgba(255, 255, 255, 0.04);
}

.pd-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.pd-modal-backdrop.show {
    display: flex;
}

.pd-modal {
    background: #fff;
    border-radius: 1.5rem;
    max-width: 28rem;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    padding: 1.5rem;
}

.pd-toast-pd {
    position: fixed;
    top: 5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    padding: 0.85rem 1.5rem;
    border-radius: 1.25rem;
    font-weight: 700;
    font-size: 0.85rem;
    display: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.pd-toast-pd.show {
    display: block;
}

.pd-toast-pd.ok {
    background: var(--pd-orange);
    color: #fff;
}

.pd-toast-pd.err {
    background: #b91c1c;
    color: #fff;
}

.pd-modal-wide {
    max-width: 32rem;
}

.pd-inq-role.on {
    background: rgba(234, 88, 12, 0.12);
    border-color: var(--pd-orange) !important;
    color: var(--pd-orange-dark);
}

/* Google map embed — prototype dark shell + grayscale iframe */
.pd-map-proto {
    background: var(--pd-navy);
    border-radius: 2.5rem;
    border: 2px solid #1e3a5f;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 22rem;
}

.pd-map-embed-shell {
    flex: 1;
    min-height: 21.875rem;
    position: relative;
}

@media (max-width: 639px) {
    .pd-map-proto {
        min-height: 18rem;
    }

    .pd-map-embed-shell {
        min-height: 16rem;
    }
}

.pd-map-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(1);
    opacity: 0.82;
    transition: filter 0.7s ease, opacity 0.7s ease;
}

.pd-map-proto:hover .pd-map-iframe {
    filter: grayscale(0);
    opacity: 1;
}

/* Mortgage summary — prototype slate card */
.pd-mortgage-proto {
    background: var(--pd-slate-800);
    color: #fff;
    border-radius: 2.5rem;
    padding: 2.5rem;
    border: 1px solid #334155;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
    min-height: 22rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pd-mortgage-proto-title {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    margin-bottom: 2rem;
    color: #fff;
}

.pd-mortgage-proto-rows {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.pd-mortgage-row {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #334155;
}

.pd-mortgage-row label {
    display: flex;
    justify-content: space-between;
    font-size: 0.62rem;
    color: #94a3b8;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    width: 100%;
}

.pd-mortgage-slider-wrap {
    position: relative;
    height: 1.75rem;
    display: flex;
    align-items: center;
}

.pd-mortgage-track-stack {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 0.375rem;
    border-radius: 999px;
    pointer-events: none;
    overflow: hidden;
}

.pd-mortgage-track-line {
    position: absolute;
    inset: 0;
    background: #334155;
    border-radius: 999px;
}

.pd-mortgage-track-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    max-width: 100%;
    background: var(--pd-orange);
    border-radius: 999px 0 0 999px;
}

.pd-mortgage-range {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 1.75rem;
    margin: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.pd-mortgage-range:focus {
    outline: none;
}

.pd-mortgage-range:focus-visible {
    outline: 2px solid var(--pd-orange);
    outline-offset: 2px;
    border-radius: 0.25rem;
}

.pd-mortgage-range::-webkit-slider-runnable-track {
    height: 0.375rem;
    background: transparent;
    border-radius: 999px;
}

.pd-mortgage-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1rem;
    height: 1rem;
    margin-top: calc(0.1875rem - 0.5rem);
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--pd-orange);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.pd-mortgage-range::-moz-range-track {
    height: 0.375rem;
    background: transparent;
    border-radius: 999px;
}

.pd-mortgage-range::-moz-range-thumb {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--pd-orange);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.pd-mortgage-proto-foot {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

.pd-mortgage-foot-lbl {
    font-size: 0.62rem;
    color: #94a3b8;
    letter-spacing: 0.1em;
    margin-bottom: 0.35rem;
}

.pd-mortgage-foot-pi {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 900;
    margin: 0;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.pd-mortgage-term-wrap {
    position: relative;
    padding-bottom: 0.35rem;
}

.pd-mortgage-term-select {
    appearance: none;
    background: rgba(2, 6, 23, 0.55);
    color: #94a3b8;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.5rem 2rem 0.5rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid #334155;
    cursor: pointer;
    max-width: 11rem;
}

.pd-mortgage-term-select:focus {
    outline: none;
    border-color: var(--pd-orange);
}

.pd-mortgage-term-wrap::after {
    content: "";
    position: absolute;
    right: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #64748b;
    pointer-events: none;
}

/* Inquiry modal — prototype */
.pd-inq-backdrop {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
}

.pd-inq-panel {
    background: #fff;
    border-radius: 2.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 32rem;
    max-height: 90vh;
    overflow-y: auto;
}

.pd-inq-inner {
    padding: 2.5rem;
    text-align: left;
}

.pd-inq-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.pd-inq-title {
    font-size: clamp(1.75rem, 4vw, 2rem);
    font-weight: 900;
    color: var(--pd-slate-900);
    letter-spacing: -0.02em;
    text-transform: none;
    margin: 0;
    line-height: 1.15;
}

.pd-inq-sub {
    font-size: 0.62rem;
    color: #94a3b8;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0.35rem 0 0;
    line-height: 1.4;
}

.pd-inq-close-x {
    flex-shrink: 0;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 1.75rem;
    line-height: 1;
    padding: 0.35rem 0.5rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.pd-inq-close-x:hover {
    background: #f8fafc;
    color: var(--pd-slate-900);
}

.pd-inq-segments {
    display: flex;
    gap: 0.35rem;
    padding: 0.35rem;
    background: #f1f5f9;
    border-radius: 1rem;
    margin-bottom: 2.5rem;
    box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.06);
}

/* Isolate from Bootstrap / global button styles — prototype Guest/Join/Sign in */
#pdInquiryModal .pd-inq-seg {
    flex: 1;
    border: none;
    border-radius: 0.75rem;
    padding: 1rem 0.35rem;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, opacity 0.2s;
    appearance: none;
    -webkit-appearance: none;
    color: #64748b !important;
    background: transparent !important;
    box-shadow: none !important;
}

#pdInquiryModal .pd-inq-seg:hover:not(:disabled) {
    color: #334155 !important;
}

#pdInquiryModal .pd-inq-seg:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed;
    color: #64748b !important;
}

#pdInquiryModal .pd-inq-seg.pd-inq-seg--on-dark {
    background: #0f172a !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2) !important;
}

#pdInquiryModal .pd-inq-seg.pd-inq-seg--on-join {
    background: #ea580c !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35) !important;
}

.pd-inq-join-panel {
    margin-bottom: 2rem;
}

.pd-inq-label-block {
    display: block;
    font-size: 0.62rem;
    color: #94a3b8;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.pd-inq-roles {
    display: flex;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.pd-inq-role {
    flex: 1;
    padding: 1rem 0.25rem;
    border-radius: 1rem;
    border: 2px solid #f1f5f9;
    background: #fff;
    font-size: 0.56rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #94a3b8;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.pd-inq-name-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.pd-inq-fields {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.pd-inq-input,
.pd-inq-textarea {
    width: 100%;
    padding: 1.15rem 1.25rem;
    border-radius: 1rem;
    border: 1px solid #f1f5f9;
    background: #f8fafc;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--pd-slate-900);
    text-transform: none;
    letter-spacing: normal;
}

.pd-inq-input::placeholder,
.pd-inq-textarea::placeholder {
    color: #94a3b8;
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.06em;
}

.pd-inq-input-full {
    grid-column: 1 / -1;
}

.pd-inq-textarea {
    min-height: 7rem;
    resize: none;
}

#pdInquiryModal .pd-inq-submit {
    width: 100%;
    border: none;
    border-radius: 1.5rem;
    padding: 1.5rem 1rem;
    background: #0f172a !important;
    color: #fff !important;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25) !important;
    transition: transform 0.1s, opacity 0.15s;
    appearance: none;
    -webkit-appearance: none;
}

#pdInquiryModal .pd-inq-submit:hover {
    opacity: 0.92;
}

#pdInquiryModal .pd-inq-submit:active {
    transform: scale(0.98);
}

#pdInquiryModal .pd-inq-submit.pd-inq-submit--join {
    background: #ea580c !important;
    box-shadow: 0 10px 30px rgba(234, 88, 12, 0.35) !important;
}

.pd-inq-forgot {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.56rem;
    letter-spacing: 0.06em;
    color: #94a3b8;
}

.pd-inq-forgot-a {
    color: var(--pd-orange);
    font-weight: 800;
    text-decoration: none;
}

.pd-inq-forgot-a:hover {
    text-decoration: underline;
}

/* Share modal — prototype */
.pd-share-backdrop {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.pd-share-panel {
    background: #fff;
    border-radius: 2.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 28rem;
    overflow: hidden;
}

.pd-share-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background: var(--pd-slate-900);
    border-bottom: 1px solid #1e293b;
}

.pd-share-head-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pd-share-head-close {
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.pd-share-head-close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.pd-share-body {
    padding: 2.5rem;
    text-align: left;
}

.pd-share-callout {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 1.5rem;
    margin-bottom: 2rem;
}

.pd-share-callout-ico {
    color: #059669;
    font-size: 1.35rem;
    margin-top: 0.15rem;
}

.pd-share-callout-kicker {
    margin: 0 0 0.25rem;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #059669;
}

.pd-share-callout-text {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: #065f46;
    line-height: 1.45;
    text-transform: none;
    letter-spacing: normal;
}

.pd-share-url-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pd-slate-600);
    margin-bottom: 0.5rem;
}

.pd-share-url-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.pd-share-url-input {
    flex: 1;
    min-width: 0;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    border: 1px solid var(--pd-slate-200);
    background: #f8fafc;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--pd-slate-900);
}

.pd-share-copy-btn {
    flex-shrink: 0;
    padding: 0.85rem 1.25rem;
    border-radius: 1rem;
    border: none;
    background: var(--pd-orange);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.15s;
}

.pd-share-copy-btn:hover {
    opacity: 0.92;
}

.pd-share-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.pd-share-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s;
    cursor: pointer;
}

.pd-share-tile:active {
    transform: scale(0.94);
}

.pd-share-tile-ico {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s;
}

.pd-share-tile:hover .pd-share-tile-ico {
    transform: scale(1.08);
}

.pd-share-ico-wa {
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
}

.pd-share-ico-sms {
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
}

.pd-share-ico-mail {
    background: rgba(59, 130, 246, 0.12);
    color: #2563eb;
}

.pd-share-ico-fb {
    background: rgba(24, 119, 242, 0.12);
    color: #1877f2;
}

.pd-share-ico-li {
    background: rgba(10, 102, 194, 0.12);
    color: #0a66c2;
}

.pd-share-ico-x {
    background: rgba(15, 23, 42, 0.06);
    color: var(--pd-slate-900);
}

.pd-share-tile-lbl {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
}

.pd-share-report-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.35rem 1rem;
    border-radius: 1.5rem;
    border: 1px solid var(--pd-slate-200);
    background: #f1f5f9;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pd-slate-700);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.pd-share-report-btn:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.pd-share-report-btn i {
    color: var(--pd-slate-600);
}

.pd-share-close-foot {
    width: 100%;
    margin-top: 0.75rem;
    border: none;
    background: transparent;
    padding: 0.75rem;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #94a3b8;
    cursor: pointer;
}

.pd-share-close-foot:hover {
    color: var(--pd-slate-800);
}

/* Footer disclaimer — prototype (App.jsx footer) */
.pd-footer {
    width: 100%;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    padding: 4rem 0;
    margin-top: 5rem;
    text-align: center;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.pd-footer-inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.pd-footer-legal-box {
    background: #f8fafc;
    border-radius: 2rem;
    padding: 2.5rem;
    border: 1px solid #f1f5f9;
    margin-bottom: 3rem;
    box-shadow: inset 0 2px 12px rgba(15, 23, 42, 0.06);
}

.pd-footer-legal-text {
    font-size: 0.6875rem;
    line-height: 1.65;
    max-width: 56rem;
    margin: 0 auto;
    color: #64748b;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: center;
}

.pd-footer-brand {
    font-family: "Train One", cursive;
    font-size: 1.25rem;
    letter-spacing: 0.25em;
    color: #cbd5e1;
    font-weight: 900;
    text-transform: uppercase;
}

.pd-footer-brand-equa {
    color: var(--pd-orange);
}

@media print {
    .pd-fav-btn,
    #pdShareBtn,
    .pd-share-btn,
    .pd-modal-backdrop,
    #pdToast,
    .toast-container,
    #pdUnlockOverlay,
    #pdUnlockBtn,
    #pdInquiryOpenBtn,
    #pdNavBack {
        display: none !important;
    }

    .pd-page {
        background: #fff !important;
    }

    .pd-savings-blur {
        filter: none !important;
    }

    #pdSavingsInner {
        filter: none !important;
    }

    .pd-container {
        max-width: 100% !important;
        padding: 0 !important;
    }

    .pd-main-grid {
        display: block !important;
    }

    .pd-main-grid > .pd-col-left,
    .pd-main-grid > .pd-col-right {
        display: block !important;
    }

    .pd-main-grid > .pd-col-right > .pd-sticky-rail {
        display: flex !important;
        flex-direction: column !important;
    }

    .pd-inline-nav,
    .pd-hero,
    .pd-card.pd-card-listing,
    #pdSavingsWrap,
    .pd-agent-card,
    .pd-map-mortgage-row,
    .pd-vault {
        order: unset !important;
    }

    .pd-sticky-rail {
        position: static !important;
    }

    .pd-hero {
        height: 14rem;
        border-radius: 0;
    }

    .pd-card {
        box-shadow: none;
        border: none;
    }
}
