/* ============================================================
   pahang.co — Property section (property.pahang.co)
   Builds on main.css tokens + shared .chip/.hscroll/.pcard,
   and reuses .hsec/.hcta/.search-* (home) and .br-*/.ld-* (listing) rules below.
   ============================================================ */

.pp-body { background: #f8faff; }

/* Nav (own markup; resets the generic `nav` rule where needed) */
.pp-nav { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--border); padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; box-shadow: 0 1px 10px rgba(13,43,94,.07); }
.pp-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.pp-brand img { height: 32px; display: block; }
.pp-brand span { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 18px; color: var(--navy); border-left: 1px solid var(--border); padding-left: 8px; }
.pp-nav-links { display: none; list-style: none; gap: 2px; }
.pp-nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.pp-nav-links a:hover, .pp-nav-links a.is-active { color: var(--navy); background: var(--pale); }
.pp-nav-right { display: flex; align-items: center; gap: 6px; }
.pp-nav-ghost { display: none; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; padding: 8px 12px; }
.pp-nav-cta { background: var(--accent); color: #1f1300; font-size: 13px; font-weight: 700; padding: 9px 14px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.pp-nav-cta:hover { background: #e08c00; }
.pp-flash { padding: 12px 16px; text-align: center; font-size: 14px; font-weight: 500; color: #fff; }
.pp-flash.is-success { background: #16a34a; } .pp-flash.is-error { background: #dc2626; } .pp-flash.is-info { background: #2563eb; }

/* Hero */
.pp-hero { background: var(--navy); padding: 36px 16px 24px; }
.pp-hero-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.pp-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(28px, 6vw, 44px); color: #fff; line-height: 1.15; }
.pp-hero h1 em { font-style: normal; color: #fbbf24; }
.pp-hero p { color: rgba(255,255,255,.72); font-size: 14px; margin: 10px auto 18px; max-width: 460px; line-height: 1.6; }
.pp-search { background: #fff; border-radius: 18px; padding: 12px; box-shadow: 0 18px 48px rgba(0,0,0,.28); text-align: left; }
.pp-search select { flex: 1; min-width: 0; border: 1.5px solid var(--border); border-radius: 10px; padding: 11px 10px; font: 400 14px 'DM Sans', sans-serif; color: var(--charcoal); background: #fff; }
.pp-hero-stats { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.pp-hero-stats a { color: rgba(255,255,255,.75); font-size: 12px; text-decoration: none; background: rgba(255,255,255,.08); padding: 6px 12px; border-radius: 999px; }
.pp-hero-stats b { color: #fff; }
.pp-spot { padding: 0 16px; background: #fff; }
.pp-daerah-chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* Card extras */
.pp-type-badge { position: absolute; top: 8px; left: 8px; font-size: 10px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; color: #fff; background: var(--navy); }
.pp-type-badge.is-sale { background: #1a56db; } .pp-type-badge.is-rent { background: #0d9488; } .pp-type-badge.is-takeover { background: #7c3aed; }
.ld-kicker .pp-type-badge { position: static; margin-right: 6px; }
.pp-sold { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(13,43,94,.6); color: #fff; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.pp-price { font-weight: 700; font-size: 15px; color: var(--navy); }
.pp-specs { font-size: 12px; color: var(--muted); }
.pp-card .pcard-name { font-weight: 600; font-size: 13px; }

/* Browse tone + extra input */
.br-head.tone-prop { background: linear-gradient(135deg, #0d2b5e, #1e3a8a); }
.pp-max { width: 110px; flex: 0 0 auto !important; }

/* Detail */
.pp-gallery { margin-top: 8px; }
.pp-gallery-item { display: block; width: 86%; aspect-ratio: 4 / 3; border-radius: var(--r-card); overflow: hidden; background: #e8eef8; }
.pp-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-nophoto { aspect-ratio: 16 / 9; }
.pp-detail-price { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: var(--blue); margin-top: 8px; }
.pp-sold-inline { font: 700 12px 'DM Sans', sans-serif; color: #fff; background: var(--error); padding: 4px 10px; border-radius: 999px; vertical-align: middle; margin-left: 8px; }
.pp-actions { grid-template-columns: 2fr 1fr; }
.pp-poster { margin-bottom: 12px; }
.pp-poster-name { font-weight: 700; color: var(--navy); }
.pp-poster-role { font-size: 12px; color: var(--muted); margin-top: 2px; }
.pp-sticky { display: none; }

/* Forms */
.pp-form-wrap { max-width: 760px; margin: 0 auto; padding: 20px 16px 40px; }
.pp-form-title { font-family: 'Playfair Display', serif; font-size: 26px; color: var(--navy); }
.pp-form-sub { font-size: 14px; color: var(--muted); margin: 6px 0 16px; }
.pp-form { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 18px 16px; box-shadow: var(--shadow-card); }
.pp-form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.pp-form legend { font-weight: 700; font-size: 14px; color: var(--navy); margin-bottom: 10px; }
.pp-form .form-group { margin-bottom: 14px; }
.pp-form .btn-primary { margin-top: 6px; }
.pp-grid-2, .pp-grid-4 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.pp-radio-row { display: grid; grid-template-columns: 1fr; gap: 8px; }
.pp-radio { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--border); border-radius: 10px; padding: 10px 12px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--charcoal); }
.pp-radio:has(input:checked) { border-color: var(--blue); background: var(--pale); color: var(--navy); }
.pp-hint { font-size: 12px; color: var(--muted); margin-top: 6px; font-weight: 400; }
.pp-alert { border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-bottom: 14px; line-height: 1.5; }
.pp-alert.is-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.pp-alert.is-warn { background: #fffbeb; color: #78350f; border: 1px solid #fde68a; }
.pp-alert ul { padding-left: 18px; }
.pp-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.pp-photo { display: block; position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 1; background: #eef3fb; }
.pp-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-photo span { position: absolute; left: 6px; bottom: 6px; background: rgba(0,0,0,.65); color: #fff; font-size: 11px; padding: 3px 7px; border-radius: 6px; }

/* My listings */
.pp-my-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.pp-my-item { display: flex; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 10px; margin-bottom: 10px; }
.pp-my-thumb { width: 92px; flex-shrink: 0; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: #e8eef8; display: grid; place-items: center; font-size: 28px; text-decoration: none; }
.pp-my-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-my-body { min-width: 0; flex: 1; }
.pp-my-status { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; padding: 3px 8px; border-radius: 6px; background: #dcfce7; color: #15803d; margin-bottom: 4px; }
.pp-my-status.is-sold { background: #fee2e2; color: #b91c1c; } .pp-my-status.is-hidden, .pp-my-status.is-expired { background: #f1f5f9; color: #475569; }
.pp-my-title { display: block; font-weight: 700; color: var(--navy); text-decoration: none; font-size: 14px; line-height: 1.3; }
.pp-my-meta { font-size: 12px; color: var(--muted); margin: 4px 0 8px; }
.pp-my-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pp-my-actions form { display: contents; }
.pp-my-actions .chip { font-size: 12px; padding: 7px 11px; }
.chip.is-danger { color: var(--error); border-color: #fecaca; }

/* Footer */
.pp-footer { background: var(--navy); padding: 36px 16px 20px; color: rgba(255,255,255,.6); font-size: 13px; }
.pp-footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pp-footer-inner > div:first-child { grid-column: 1 / -1; }
.pp-footer-logo { height: 32px; display: block; margin-bottom: 10px; }
.pp-footer p { line-height: 1.6; }
.pp-footer a { color: rgba(255,255,255,.75); text-decoration: none; display: block; margin-bottom: 8px; }
.pp-footer p a { display: inline; color: #93c5fd; }
.pp-footer-h { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 12px; }
.pp-footer-bottom { max-width: 1200px; margin: 24px auto 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); font-size: 11px; color: rgba(255,255,255,.35); line-height: 1.6; }
.pp-empty { text-align: center; padding: 48px 16px; }
.pp-empty h1, .pp-empty h2 { font-family: 'Playfair Display', serif; color: var(--navy); margin-bottom: 8px; }
.pp-empty p { color: var(--muted); margin-bottom: 16px; }

/* ── DESKTOP ── */
@media (min-width: 860px) {
    .pp-nav { padding: 0 24px; height: 66px; }
    .pp-nav-links { display: flex; }
    .pp-nav-ghost { display: inline-block; }
    .pp-hero { padding: 64px 24px 48px; }
    .pp-radio-row { grid-template-columns: repeat(3, 1fr); }
    .pp-grid-4 { grid-template-columns: repeat(4, 1fr); }
    .pp-form { padding: 24px; }
    .pp-footer-inner { grid-template-columns: 2fr 1fr 1fr; }
    .pp-footer-inner > div:first-child { grid-column: auto; }
    .pp-gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; }
    .pp-gallery-item { width: auto; }
    .pp-gallery-item:first-child { grid-row: span 2; }
    .pp-gallery-item:nth-child(n+4) { display: none; }
}
@media (max-width: 859px) {
    .pp-sticky { display: block; }
}

/* ── Language switch ── */
/* Language switch: EN | BM pill, active side filled */
.pp-lang { display: inline-flex; flex-shrink: 0; border: 1.5px solid var(--border); border-radius: 999px; padding: 2px; background: #fff; }
.pp-lang a { font-size: 12px; font-weight: 700; color: var(--muted); text-decoration: none; padding: 5px 9px; border-radius: 999px; line-height: 1; transition: background var(--duration-fast, .15s), color var(--duration-fast, .15s); }
.pp-lang a:hover { color: var(--blue); }
.pp-lang a.is-on { background: var(--navy); color: #fff; }
.pp-lang a:focus-visible { outline: 2px solid var(--sky); outline-offset: 1px; }
.pp-footer-lang a { display: inline; color: #93c5fd; }
.pp-my-note { font-size: 12px; color: #b45309; background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: 6px 10px; margin: 4px 0 8px; }

/* ── Admin ── */
.pa-bar { background: var(--navy); color: #fff; padding: 10px 16px 0; }
.pa-bar-inner { max-width: 1200px; margin: 0 auto; }
.pa-title { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.pa-bar .pa-title { color: #fff; font-size: 18px; }   /* row titles below also use .pa-title (navy) */
.pa-tabs { gap: 4px; padding-bottom: 0; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.pa-tab { color: rgba(255,255,255,.7); text-decoration: none; font-size: 13px; font-weight: 600; padding: 10px 14px; border-radius: 10px 10px 0 0; white-space: nowrap; }
.pa-tab b { background: var(--accent); color: #1f1300; border-radius: 999px; padding: 1px 7px; font-size: 11px; margin-left: 4px; }
.pa-tab.is-active { background: #f8faff; color: var(--navy); }
.pa-tab.is-ghost { margin-left: auto; color: rgba(255,255,255,.5); }
.pa-wrap { max-width: 1200px; margin: 0 auto; padding: 16px 16px 40px; }
.pa-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 20px; }
.pa-stat { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 14px; text-decoration: none; color: var(--charcoal); box-shadow: var(--shadow-card); }
.pa-stat b { display: block; font-family: 'Playfair Display', serif; font-size: 26px; color: var(--navy); }
.pa-stat span { font-size: 12px; color: var(--muted); }
.pa-stat.is-warn { border-color: #fde68a; background: #fffbeb; }
.pa-h2 { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--navy); margin-bottom: 10px; }
.pa-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.pa-filters input[type=search] { grid-column: 1 / -1; }
.pa-filters select, .pa-filters input { border: 1.5px solid var(--border); border-radius: 10px; padding: 10px 12px; font: 400 14px 'DM Sans', sans-serif; background: #fff; min-width: 0; }
.pa-filters button { grid-column: 1 / -1; border: 0; background: var(--blue); color: #fff; border-radius: 10px; padding: 10px; font: 600 14px 'DM Sans', sans-serif; cursor: pointer; }
.pa-table { display: flex; flex-direction: column; gap: 10px; }
.pa-row { display: flex; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 10px; }
.pa-row.is-pending { border-color: #fde68a; background: #fffdf5; }
.pa-row.is-hidden, .pa-row.is-rejected { opacity: .75; }
.pa-thumb { width: 72px; flex-shrink: 0; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: #e8eef8; display: grid; place-items: center; font-size: 24px; text-decoration: none; }
.pa-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pa-main { min-width: 0; flex: 1; }
.pa-line1 { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-bottom: 4px; }
.pa-title { display: block; font-weight: 700; color: var(--navy); text-decoration: none; font-size: 14px; line-height: 1.3; }
.pa-meta { font-size: 12px; color: var(--muted); margin: 4px 0 8px; line-height: 1.6; }
.pa-meta small { color: #94a3b8; }
.pa-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pa-inline { display: contents; }
.pa-actions .chip { font-size: 12px; padding: 7px 11px; }
.pa-actions .chip.is-ok { background: #16a34a; border-color: #16a34a; color: #fff; }
.pa-reject { display: flex; gap: 4px; }
.pa-reject input { border: 1.5px solid var(--border); border-radius: 999px; padding: 6px 10px; font: 400 12px 'DM Sans', sans-serif; width: 150px; }

@media (min-width: 860px) {
    .pa-bar { padding: 14px 24px 0; }
    .pa-tabs { margin: 0; padding: 0; }
    .pa-wrap { padding: 24px 24px 56px; }
    .pa-stats { grid-template-columns: repeat(6, 1fr); }
    .pa-filters { grid-template-columns: 160px 160px 1fr auto; }
    .pa-filters input[type=search], .pa-filters button { grid-column: auto; }
    .pa-thumb { width: 96px; }
}

/* ── Agent (stage 2) ── */
.pp-handle { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: 8px; overflow: hidden; }
.pp-handle span { padding: 0 10px; font-size: 13px; color: var(--muted); background: var(--pale); align-self: stretch; display: flex; align-items: center; white-space: nowrap; }
.pp-handle input { border: 0 !important; border-radius: 0 !important; }
.pp-poster-link { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--blue); text-decoration: none; }
.pp-agent-cta { margin-bottom: 14px; }
.pp-agent-head { background: var(--navy); color: #fff; padding: 28px 16px; }
.pp-agent-inner { display: flex; gap: 16px; align-items: flex-start; }
.pp-agent-avatar { width: 72px; height: 72px; flex-shrink: 0; border-radius: 50%; background: var(--accent); color: #1f1300; display: grid; place-items: center; font: 700 30px 'Playfair Display', serif; overflow: hidden; }
.pp-agent-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pp-agent-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; background: rgba(255,255,255,.12); padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; }
.pp-agent-text h1 { font-family: 'Playfair Display', serif; font-size: 26px; line-height: 1.15; }
.pp-agent-agency { color: rgba(255,255,255,.75); font-size: 14px; margin-top: 4px; }
.pp-agent-bio { color: rgba(255,255,255,.8); font-size: 14px; line-height: 1.6; margin-top: 10px; max-width: 560px; }
.pp-agent-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.pp-agent-actions .hcta-secondary { background: transparent; cursor: pointer; font: 700 14px 'DM Sans', sans-serif; }
.pa-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.pa-thumb-tall { aspect-ratio: 3 / 4; }
.pa-bio { font-size: 13px; color: var(--charcoal); margin: 0 0 8px; }
.pp-my-status.is-approved { background: #dcfce7; color: #15803d; }
.pp-my-status.is-none { background: #f1f5f9; color: #475569; }
@media (min-width: 860px) {
    .pp-agent-head { padding: 44px 24px; }
    .pp-agent-avatar { width: 96px; height: 96px; font-size: 40px; }
    .pp-agent-text h1 { font-size: 34px; }
}

/* ── Report (stage 3) ── */
.pp-report { margin: 4px 0 16px; font-size: 13px; color: var(--muted); }
.pp-report summary { cursor: pointer; display: inline-block; text-decoration: underline; }
.pp-report-form { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; max-width: 420px; }
.pp-report-form select, .pp-report-form textarea { border: 1.5px solid var(--border); border-radius: 8px; padding: 9px 10px; font: 400 13px 'DM Sans', sans-serif; }
.pp-report-form button { align-self: flex-start; }
.pp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ── Agencies + co-broke (stage 4) ── */
.pp-agent-avatar.is-agency { border-radius: 16px; background: #fff; font-size: 34px; }
.pp-agent-avatar.is-small { width: 44px; height: 44px; font-size: 18px; border-radius: 50%; }
.pp-agent-agency a { color: inherit; text-decoration: underline; }
.pp-agents-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.pp-agent-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; text-decoration: none; color: var(--charcoal); }
.pp-agent-card:hover { border-color: var(--blue); }
.pp-agent-card-text { display: flex; flex-direction: column; min-width: 0; }
.pp-agent-card-text b { color: var(--navy); font-size: 14px; }
.pp-agent-card-text small { color: var(--muted); font-size: 12px; }
.pp-coagent { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid #f1f5f9; font-size: 14px; }
.pp-coagent:first-of-type { border-top: 0; }
.pp-coagent small { color: var(--muted); font-size: 12px; }
.pp-coagent a { color: var(--navy); text-decoration: none; }
.pp-coagent-add { display: flex; gap: 8px; align-items: stretch; margin-top: 10px; }
.pp-coagent-add .pp-handle { flex: 1; }
.pp-my-item.is-invite { border-color: #fde68a; background: #fffdf5; }
@media (min-width: 720px) { .pp-agents-grid { grid-template-columns: repeat(3, 1fr); } }

/* ── Contact + legal pages ── */
.pp-contact-direct { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.pp-contact-chip { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--navy); font-weight: 700; font-size: 14px; text-decoration: none; }
.pp-contact-chip.is-wa { background: #25d366; border-color: #25d366; color: #fff; }
.pp-contact-cards { display: grid; gap: 12px; margin-top: 20px; }
.pp-contact-cards .ld-card { margin: 0; }
.pp-contact-cards .ld-card p { font-size: 14px; color: var(--muted); line-height: 1.55; }
@media (min-width: 760px) { .pp-contact-cards { grid-template-columns: repeat(3, 1fr); } }
.pp-legal-body { padding: 20px 18px; font-size: 15px; line-height: 1.65; color: var(--charcoal); }
.pp-legal-body h2 { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--navy); margin: 26px 0 8px; }
.pp-legal-body h2:first-of-type { margin-top: 10px; }
.pp-legal-body p { margin: 0 0 12px; }
.pp-legal-body ul { margin: 0 0 12px; padding-left: 20px; }
.pp-legal-body li { margin-bottom: 8px; }
.pp-legal-body a { color: var(--blue); }
.pp-legal-updated { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
/* ── Loan calculator ── */
.pp-loan .pp-loan-sub { font-size: 13px; color: var(--muted); margin: -4px 0 14px; }
.pp-loan-ctrl { margin-bottom: 14px; }
.pp-loan-ctrl label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--charcoal); margin-bottom: 6px; }
.pp-loan-ctrl label output { font-weight: 800; color: var(--navy); }
.pp-loan-ctrl input[type=range] { width: 100%; accent-color: var(--blue); }
.pp-loan-rate { display: flex; align-items: center; gap: 8px; }
.pp-loan-rate input { width: 90px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; font-size: 15px; font-weight: 700; }
.pp-loan-monthly { background: var(--pale); border-radius: 12px; padding: 14px 16px; margin: 6px 0 12px; }
.pp-loan-monthly small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.pp-loan-monthly strong { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--navy); }
.pp-loan-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; font-size: 13px; }
.pp-loan-rows div { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--border); padding-bottom: 6px; }
.pp-loan-rows b { color: var(--navy); }
.pp-loan-note { font-size: 12px; color: var(--muted); line-height: 1.5; margin-top: 12px; }
@media (max-width: 480px) { .pp-loan-rows { grid-template-columns: 1fr; } }
/* ── Dashboard plan strip ── */
.pp-plan-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; }
.pp-plan { flex: 1 1 140px; display: flex; flex-direction: column; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: #fff; }
.pp-plan small { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); font-weight: 700; }
.pp-plan b { font-size: 14px; color: var(--navy); }
.pp-plan.is-ren { border-color: #bfdbfe; background: var(--pale); }
.pp-plan.is-ren b { color: var(--blue); }
.pp-plan-link { flex: 1 1 100%; font-size: 14px; font-weight: 700; color: var(--blue); text-decoration: none; }
@media (min-width: 560px) { .pp-plan-link { flex: 0 0 auto; margin-left: auto; } }

/* ── Agent benefits page ── */
.pb { --ren: #1a56db; }
.pb-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.16,1,.3,1); }
.pb-reveal.is-in { opacity: 1; transform: none; }
.pb-hero { position: relative; background: linear-gradient(135deg, var(--navy), #1e40af); color: #fff; border-radius: 18px; padding: 26px 20px 22px; margin-bottom: 16px; overflow: hidden; }
.pb-hero::after { content: ''; position: absolute; inset: auto -40px -60px auto; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.07); }
.pb-hero h1 { font-family: 'Playfair Display', serif; font-size: 28px; margin: 10px 0 8px; line-height: 1.15; }
.pb-hero p { font-size: 14px; line-height: 1.55; opacity: .9; margin: 0 0 18px; max-width: 520px; }
.pb-free { display: inline-block; background: var(--accent); color: #1e293b; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.pb-vs { display: flex; align-items: stretch; gap: 10px; }
.pb-vs-col { flex: 1; background: rgba(255,255,255,.1); border-radius: 14px; padding: 14px 12px; text-align: center; }
.pb-vs-col.is-ren { background: #fff; color: var(--navy); }
.pb-vs-col small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .6px; font-weight: 700; opacity: .8; }
.pb-vs-col strong { display: block; font-family: 'Playfair Display', serif; font-size: 44px; line-height: 1.1; margin: 4px 0; }
.pb-vs-col.is-ren strong { color: var(--ren); }
.pb-vs-col span { font-size: 13px; opacity: .85; }
.pb-vs-mid { align-self: center; font-weight: 800; font-size: 13px; opacity: .7; }
.pb-inf { animation: pbPop 1.2s cubic-bezier(.16,1,.3,1) both; }
@keyframes pbPop { 0% { transform: scale(.4); opacity: 0; } 100% { transform: none; opacity: 1; } }
.pb-compare { margin-bottom: 18px; }
.pb-table { display: flex; flex-direction: column; font-size: 13px; }
.pb-tr { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 6px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--border); opacity: 0; transform: translateX(-10px); transition: opacity .5s ease, transform .5s ease; transition-delay: calc(var(--i, 0) * 70ms); }
.is-in .pb-tr { opacity: 1; transform: none; }
.pb-tr > div { text-align: center; }
.pb-tr .pb-td-label { text-align: left; color: var(--charcoal); }
.pb-tr .is-ren { background: var(--pale); border-radius: 8px; padding: 6px 4px; font-weight: 700; color: var(--navy); }
.pb-tr .is-yes { color: var(--ren); font-size: 16px; }
.pb-tr .is-no { color: #cbd5e1; font-size: 15px; }
.pb-th { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); font-weight: 800; }
.pb-th .is-ren { color: var(--ren); background: none; }
.pb-feature { display: grid; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.pb-kicker { font-size: 12px; font-weight: 800; color: var(--accent); letter-spacing: 1px; }
.pb-text h2 { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--navy); margin: 4px 0 8px; }
.pb-text p { font-size: 14px; line-height: 1.6; color: var(--charcoal); margin: 0 0 10px; }
.pb-text ul { margin: 0; padding-left: 0; list-style: none; }
.pb-text li { font-size: 13px; color: var(--muted); padding: 4px 0 4px 22px; position: relative; }
.pb-text li::before { content: '✓'; position: absolute; left: 0; color: var(--ren); font-weight: 800; }
.pb-mock { background: linear-gradient(160deg, var(--pale), #e0eaff); border-radius: 18px; padding: 22px 18px; display: flex; align-items: center; justify-content: center; min-height: 240px; }
@media (min-width: 700px) { .pb-feature { grid-template-columns: 1fr 1fr; align-items: center; } .pb-feature.is-flip .pb-text { order: 2; } }
/* phone mockup */
.pb-phone { width: 230px; background: #fff; border-radius: 26px; padding: 14px 12px; box-shadow: 0 18px 40px rgba(13,43,94,.18), 0 0 0 6px #1e293b; }
.pb-phone-url { font-size: 11px; background: #f1f5f9; border-radius: 999px; padding: 5px 10px; color: var(--muted); margin-bottom: 12px; text-align: center; }
.pb-phone-url b { color: var(--navy); }
.pb-ag-head { display: flex; gap: 10px; align-items: center; }
.pb-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 15px; flex: 0 0 auto; }
.pb-ag-name { font-size: 13px; font-weight: 800; color: var(--navy); }
.pb-ag-sub { font-size: 11px; color: var(--muted); }
.pb-badge { display: inline-block; background: var(--ren); color: #fff; font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 999px; vertical-align: middle; }
.pb-badge.is-pulse { animation: pbPulse 1.8s ease-in-out infinite; }
@keyframes pbPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(26,86,219,.5); } 60% { box-shadow: 0 0 0 10px rgba(26,86,219,0); } }
.pb-wa { margin: 10px 0; background: #25d366; color: #fff; text-align: center; border-radius: 10px; padding: 7px; font-size: 12px; font-weight: 800; }
.pb-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pb-tile { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; opacity: 0; transform: translateY(8px); animation: pbIn .6s ease forwards; animation-delay: calc(.3s + var(--d) * .18s); }
.pb-tile i { display: block; height: 46px; background: linear-gradient(90deg, #dbe4f3 0%, #eef2f9 50%, #dbe4f3 100%); background-size: 200% 100%; animation: pbShimmer 2.2s linear infinite; }
.pb-tile b { display: block; font-size: 11px; padding: 5px 7px; color: var(--navy); }
@keyframes pbIn { to { opacity: 1; transform: none; } }
@keyframes pbShimmer { to { background-position: -200% 0; } }
.is-in .pb-tile, .is-in .pb-members .pb-avatar, .is-in .pb-stack-row { animation-play-state: running; }
.pb-tile, .pb-members .pb-avatar, .pb-stack-row { animation-play-state: paused; }
/* badge mockup */
.pb-mock-badge { flex-direction: column; gap: 12px; }
.pb-card { width: 240px; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px rgba(13,43,94,.14); }
.pb-card.is-ghost { opacity: .45; transform: scale(.94); box-shadow: none; }
.pb-card-img { height: 90px; background: linear-gradient(135deg, #c7d2fe, #93c5fd); position: relative; }
.pb-card-img .pb-badge { position: absolute; top: 8px; left: 8px; font-size: 11px; }
.pb-card-body { padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.pb-card-body b { color: var(--navy); font-size: 15px; }
.pb-card-body span { font-size: 12px; color: var(--charcoal); }
.pb-card-body small { font-size: 11px; color: var(--muted); }
/* agency mockup */
.pb-agency { width: 260px; background: #fff; border-radius: 16px; padding: 16px; box-shadow: 0 10px 30px rgba(13,43,94,.14); }
.pb-agency-head { display: flex; gap: 10px; align-items: center; }
.pb-agency-head b { display: block; font-size: 13px; color: var(--navy); }
.pb-agency-head span { font-size: 11px; color: var(--muted); }
.pb-logo { width: 42px; height: 42px; border-radius: 10px; background: var(--navy); color: var(--accent); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.pb-members { display: flex; margin: 14px 0 10px; }
.pb-members .pb-avatar { width: 34px; height: 34px; font-size: 12px; margin-left: -8px; border: 2px solid #fff; opacity: 0; transform: scale(.5); animation: pbIn .5s cubic-bezier(.16,1,.3,1) forwards; animation-delay: calc(.2s + var(--d) * .15s); }
.pb-members .pb-avatar:first-child { margin-left: 0; }
.pb-avatar.is-you { background: var(--accent); color: #1e293b; font-size: 10px; }
.pb-join { font-size: 12px; font-weight: 700; color: #15803d; background: #dcfce7; border-radius: 999px; padding: 4px 10px; display: inline-block; opacity: 0; animation: pbIn .5s ease 1.1s forwards; }
.is-in .pb-join { animation-play-state: running; }
.pb-join { animation-play-state: paused; }
/* co-broke mockup */
.pb-mock-cobroke { gap: 6px; }
.pb-cb-agent { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); text-align: center; width: 70px; }
.pb-cb-agent.is-you .pb-avatar { background: var(--accent); color: #1e293b; font-size: 11px; }
.pb-cb-flow { flex: 1; position: relative; height: 70px; max-width: 160px; }
.pb-cb-line { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, var(--ren) 0 8px, transparent 8px 14px); opacity: .5; }
.pb-cb-card { position: absolute; top: 50%; left: 0; width: 64px; margin-top: -24px; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 8px 20px rgba(13,43,94,.18); z-index: 1; animation: pbSlide 3s ease-in-out infinite; }
.pb-cb-card i { display: block; height: 28px; background: linear-gradient(135deg, #c7d2fe, #93c5fd); }
.pb-cb-card b { display: block; font-size: 10px; padding: 3px 6px; color: var(--navy); }
@keyframes pbSlide { 0%, 15% { transform: translateX(0); } 55%, 70% { transform: translateX(calc(100% + 32px)); } 100% { transform: translateX(0); } }
/* stack mockup */
.pb-mock-stack { flex-direction: column; gap: 8px; align-items: stretch; }
.pb-stack-row { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 10px; padding: 8px 10px; opacity: 0; transform: translateX(-14px); animation: pbIn .5s ease forwards; animation-delay: calc(var(--d) * .22s); }
.pb-stack-row i { width: 34px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, #c7d2fe, #93c5fd); flex: 0 0 auto; }
.pb-stack-row b { flex: 1; height: 8px; border-radius: 4px; background: #e2e8f0; }
.pb-stack-row em { font-style: normal; font-size: 10px; font-weight: 800; color: #15803d; background: #dcfce7; border-radius: 999px; padding: 2px 8px; }
/* steps */
.pb-steps { margin-top: 18px; }
.pb-steps ol { list-style: none; padding: 0; margin: 0 0 16px; counter-reset: pb; }
.pb-steps li { position: relative; padding: 8px 0 8px 44px; counter-increment: pb; }
.pb-steps li::before { content: counter(pb); position: absolute; left: 0; top: 8px; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.pb-steps li b { display: block; font-size: 15px; color: var(--navy); }
.pb-steps li span { font-size: 13px; color: var(--muted); line-height: 1.5; }
.pb-foot { font-size: 12px; color: var(--muted); margin: 14px 0 0; line-height: 1.5; }
@media (prefers-reduced-motion: reduce) { .pb-reveal, .pb-tr, .pb-tile, .pb-members .pb-avatar, .pb-join, .pb-stack-row { opacity: 1; transform: none; transition: none; animation: none; } .pb-cb-card, .pb-badge.is-pulse, .pb-tile i, .pb-inf { animation: none; } }
/* Agent benefits v2: full-width desktop, language toggle, "why pahang.co" section */
.pp-form-wrap.pb { max-width: 1140px; overflow-x: clip; }
.pb :lang(zh-Hans), .pb:lang(zh-Hans) { word-break: normal; line-break: strict; }
.pb:lang(zh-Hans) .pb-hero h1, .pb:lang(zh-Hans) .pb-text h2, .pb:lang(zh-Hans) .pb-why-head h2 { font-family: 'DM Sans', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif; font-weight: 800; letter-spacing: 0; }
.pb-lang { display: flex; justify-content: flex-end; gap: 0; margin: 0 0 12px; }
.pb-lang a { font-size: 12px; font-weight: 700; color: var(--muted); text-decoration: none; padding: 6px 12px; border: 1px solid var(--border); background: #fff; min-width: 44px; text-align: center; transition: background .2s, color .2s; }
.pb-lang a:first-child { border-radius: 999px 0 0 999px; }
.pb-lang a:last-child { border-radius: 0 999px 999px 0; }
.pb-lang a + a { border-left: 0; }
.pb-lang a:hover { color: var(--navy); background: var(--pale); }
.pb-lang a.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.pb-lang a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* why section */
.pb-why { margin: 30px 0 8px; }
.pb-why-head { text-align: center; max-width: 720px; margin: 0 auto 22px; }
.pb-why-head h2 { font-family: 'Playfair Display', serif; font-size: 26px; line-height: 1.2; color: var(--navy); margin: 6px 0 10px; }
.pb-why-head p { font-size: 14.5px; line-height: 1.65; color: var(--charcoal); margin: 0; }
.pb-ba { display: grid; gap: 14px; align-items: stretch; }
.pb-ba-col { border-radius: 20px; padding: 16px 14px 18px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.pb-ba-col.is-before { background: linear-gradient(170deg, #f1f5f9, #e2e8f0); }
.pb-ba-col.is-after { background: linear-gradient(170deg, #ecfdf5, #d1fae5); }
.pb-ba-label { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; width: 100%; max-width: 300px; }
.pb-ba-label i { grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-style: normal; font-weight: 800; font-size: 14px; color: #fff; background: #94a3b8; }
.is-after .pb-ba-label i { background: #16a34a; }
.pb-ba-label b { font-size: 14px; color: var(--navy); }
.pb-ba-label span { font-size: 12px; color: var(--muted); }
.pb-ba-arrow { display: flex; align-items: center; justify-content: center; }
.pb-ba-arrow svg { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--accent); stroke: #1e293b; stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; transform: rotate(90deg); box-shadow: 0 6px 16px rgba(245,158,11,.35); }
.pb-screen { width: 100%; max-width: 300px; height: 380px; background: #fff; border-radius: 22px; box-shadow: 0 18px 40px rgba(13,43,94,.16), 0 0 0 6px #1e293b; overflow: hidden; display: flex; flex-direction: column; position: relative; }

/* Facebook feed mock */
.pb-fb-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid #e5e7eb; font-size: 12px; color: #1c1e21; flex: 0 0 auto; }
.pb-fb-f { width: 22px; height: 22px; border-radius: 50%; background: #1877f2; color: #fff; font-weight: 900; font-size: 15px; display: flex; align-items: flex-end; justify-content: center; line-height: 1; font-family: Arial, sans-serif; }
.pb-fb-feed { flex: 1; overflow: hidden; background: #f0f2f5; position: relative; }
.pb-fb-feed::after { content: ''; position: absolute; inset: auto 0 0 0; height: 90px; background: linear-gradient(transparent, #f0f2f5 85%); pointer-events: none; }
.pb-fb-track { display: flex; flex-direction: column; gap: 8px; padding: 8px; animation: pbFeed 14s linear infinite; animation-play-state: paused; }
.is-in .pb-fb-track { animation-play-state: running; }
@keyframes pbFeed { to { transform: translateY(calc(-50% - 4px)); } }
.pb-fb-post { background: #fff; border-radius: 10px; padding: 10px; }
.pb-fb-who { display: flex; align-items: center; gap: 8px; }
.pb-fb-who div { flex: 1; min-width: 0; }
.pb-fb-who b { display: block; font-size: 12px; color: #050505; }
.pb-fb-who small { font-size: 10px; color: #65676b; }
.pb-fb-who em { font-style: normal; font-size: 9.5px; font-weight: 800; color: #b91c1c; background: #fee2e2; border-radius: 999px; padding: 2px 7px; white-space: nowrap; }
.pb-fb-av { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.pb-fb-av.is-buyer { background: #64748b; }
.pb-fb-post p { font-size: 11.5px; color: #050505; margin: 7px 0; line-height: 1.4; }
.pb-fb-img { height: 64px; border-radius: 6px; background: linear-gradient(135deg, #cbd5e1, #e2e8f0); }
.pb-fb-cmts { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 7px; }
.pb-fb-cmts span { font-size: 10px; background: #f0f2f5; color: #050505; border-radius: 12px; padding: 3px 8px; }
.pb-fb-buried { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%) rotate(-4deg); background: #b91c1c; color: #fff; font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 8px; white-space: nowrap; box-shadow: 0 8px 18px rgba(185,28,28,.3); z-index: 1; animation: pbStamp 14s ease infinite; animation-play-state: paused; }
.is-in .pb-fb-buried { animation-play-state: running; }
@keyframes pbStamp { 0%, 30% { opacity: 0; transform: translateX(-50%) rotate(-4deg) scale(1.6); } 36%, 92% { opacity: 1; transform: translateX(-50%) rotate(-4deg) scale(1); } 100% { opacity: 0; transform: translateX(-50%) rotate(-4deg) scale(1); } }

/* WhatsApp chat mock */
.pb-chat-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: #075e54; color: #fff; flex: 0 0 auto; }
.pb-chat-bar b { display: block; font-size: 12px; }
.pb-chat-bar small { font-size: 10px; opacity: .8; }
.pb-chat-body { flex: 1; background: #efeae2; padding: 10px; display: flex; flex-direction: column; gap: 7px; overflow: hidden; }
.pb-msg { max-width: 82%; font-size: 11.5px; line-height: 1.4; padding: 7px 9px; border-radius: 10px; color: #111b21; box-shadow: 0 1px 1px rgba(0,0,0,.08); opacity: 0; transform: translateY(8px) scale(.96); animation-duration: 11s; animation-iteration-count: infinite; animation-timing-function: ease; animation-play-state: paused; }
.pb-msg.is-in { align-self: flex-start; background: #fff; border-top-left-radius: 2px; }
.pb-msg.is-out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 2px; }
.pb-msg.is-card { padding: 4px; width: 82%; }
.pb-lc-img { height: 74px; border-radius: 7px; background: linear-gradient(135deg, #c7d2fe, #93c5fd); position: relative; }
.pb-lc-img .pb-badge { position: absolute; top: 6px; left: 6px; }
.pb-lc-body { background: rgba(0,0,0,.04); border-radius: 0 0 7px 7px; padding: 6px 7px; display: flex; flex-direction: column; gap: 1px; }
.pb-lc-body small { font-size: 9.5px; color: #667781; }
.pb-lc-body b { font-size: 11.5px; color: #111b21; }
.pb-lc-body span { font-size: 10px; color: #3b4a54; }
.pb-msg.is-card u { display: block; font-size: 10px; color: #027eb5; padding: 5px 4px 2px; word-break: break-all; }
.pb-typing { align-self: flex-start; background: #fff; border-radius: 10px; padding: 9px 11px; display: flex; gap: 3px; opacity: 0; animation: pbTyping 11s ease infinite; animation-play-state: paused; }
.pb-typing i { width: 5px; height: 5px; border-radius: 50%; background: #8696a0; animation: pbDot 1s ease-in-out infinite; }
.pb-typing i:nth-child(2) { animation-delay: .15s; } .pb-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes pbDot { 0%, 100% { transform: none; opacity: .5; } 50% { transform: translateY(-3px); opacity: 1; } }
.is-in .pb-msg, .is-in .pb-typing { animation-play-state: running; }
.pb-msg.m1 { animation-name: pbM1; } .pb-msg.m2 { animation-name: pbM2; } .pb-msg.m3 { animation-name: pbM3; } .pb-msg.m5 { animation-name: pbM5; }
@keyframes pbM1 { 0%, 3% { opacity: 0; transform: translateY(8px) scale(.96); } 7%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes pbM2 { 0%, 16% { opacity: 0; transform: translateY(8px) scale(.96); } 20%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes pbM3 { 0%, 27% { opacity: 0; transform: translateY(8px) scale(.96); } 32%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes pbTyping { 0%, 44% { opacity: 0; max-height: 0; padding: 0 11px; } 47%, 58% { opacity: 1; max-height: 30px; padding: 9px 11px; } 61%, 100% { opacity: 0; max-height: 0; padding: 0 11px; } }
@keyframes pbM5 { 0%, 59% { opacity: 0; transform: translateY(8px) scale(.96); } 63%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }

/* reasons */
.pb-reasons { display: grid; gap: 12px; margin-top: 18px; }
.pb-reason { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 16px; transition: transform .25s ease, box-shadow .25s ease, opacity .6s ease; transition-delay: calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms), 0s; }
.pb-reason.is-in:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(13,43,94,.1); transition-delay: 0s; }
.pb-reason-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--pale); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.pb-reason-ic svg { width: 21px; height: 21px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pb-reason h3 { font-size: 15px; color: var(--navy); margin: 0 0 4px; }
.pb-reason p { font-size: 13px; line-height: 1.55; color: var(--muted); margin: 0; }

/* small phones */
@media (max-width: 380px) { .pb-screen { height: 350px; } .pb-hero h1 { font-size: 24px; } .pb-vs-col strong { font-size: 38px; } .pb-why-head h2 { font-size: 22px; } }
/* tablets */
@media (min-width: 560px) { .pb-reasons { grid-template-columns: 1fr 1fr; } }
@media (min-width: 760px) {
    .pb-ba { grid-template-columns: 1fr auto 1fr; }
    .pb-ba-arrow svg { transform: none; width: 44px; height: 44px; padding: 10px; }
    .pb-ba-col { padding: 22px 20px 26px; }
}
/* desktop: use the full width */
@media (min-width: 960px) {
    .pp-form-wrap.pb { padding: 28px 28px 56px; }
    .pb-hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; padding: 44px 44px 40px; border-radius: 24px; }
    .pb-hero h1 { font-size: 40px; }
    .pb-hero p { font-size: 16px; margin-bottom: 0; }
    .pb-hero::after { width: 360px; height: 360px; }
    .pb-vs-col { padding: 22px 16px; }
    .pb-vs-col strong { font-size: 58px; }
    .pb-why { margin-top: 48px; }
    .pb-why-head h2 { font-size: 34px; }
    .pb-why-head p { font-size: 16px; }
    .pb-screen { max-width: 320px; height: 400px; }
    .pb-reasons { grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
    .pb-reason { padding: 20px; }
    .pb-compare { padding: 28px 32px; }
    .pb-table { font-size: 14px; }
    .pb-feature { gap: 48px; padding: 40px 0; }
    .pb-text h2 { font-size: 28px; }
    .pb-text p { font-size: 15px; }
    .pb-text li { font-size: 14px; }
    .pb-mock { min-height: 320px; padding: 32px; }
    .pb-steps ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .pb-fb-track, .pb-fb-buried, .pb-typing, .pb-typing i { animation: none; }
    .pb-fb-buried { opacity: 1; }
    .pb-msg { animation: none; opacity: 1; transform: none; }
    .pb-typing { display: none; }
    .pb-reason { transition: none; }
}
.pp-my-expiring { color: #b45309; font-weight: 700; }

.pp-avatar-row { display: flex; align-items: center; gap: 14px; }
.pp-avatar-row input[type=file] { font-size: 13px; }
.pp-check { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; font-weight: 500; }
.pp-poster.has-avatar { display: flex; align-items: center; gap: 12px; }

/* ── Paid featured ── */
.chip.is-feature { color: #92400e; border-color: #fcd34d; background: #fffbeb; }
.hsec.is-featured { background: linear-gradient(180deg, #fffbeb, #fff); }
.hsec-more { font-size: 13px; font-weight: 700; color: var(--blue); text-decoration: none; }
.ld-related.is-featured h2::before { content: ''; }
.pp-feature-listing { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 12px; margin-bottom: 16px; }
.pp-feature-thumb { width: 72px; height: 56px; border-radius: 8px; background: var(--pale); display: grid; place-items: center; overflow: hidden; flex: 0 0 auto; font-size: 24px; }
.pp-feature-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pp-feature-until { font-size: 12px; font-weight: 700; color: #92400e; margin-top: 4px; }
.pp-feature-opts { display: grid; gap: 10px; margin-bottom: 16px; }
@media (min-width: 560px) { .pp-feature-opts { grid-template-columns: repeat(3, 1fr); } }
.pp-feature-opt { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px 12px; border: 2px solid var(--border); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.pp-feature-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pp-feature-opt:has(input:checked) { border-color: var(--accent); box-shadow: 0 6px 20px rgba(245,158,11,.18); }
.pp-feature-opt.is-popular { border-color: #fcd34d; }
.pp-feature-days { font-size: 14px; font-weight: 700; color: var(--muted); }
.pp-feature-price { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--navy); }
.pp-feature-per { font-size: 11px; color: var(--muted); }
.pp-feature-tag { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #1f1300; font-size: 10px; font-weight: 800; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.pp-feature-list { list-style: none; padding: 0; margin: 0 0 16px; }
.pp-feature-list li { font-size: 14px; color: var(--charcoal); padding: 4px 0 4px 24px; position: relative; }
.pp-feature-list li::before { content: '⭐'; position: absolute; left: 0; font-size: 12px; top: 6px; }
.pp-grid-3 { display: grid; gap: 10px; }
@media (min-width: 560px) { .pp-grid-3 { grid-template-columns: repeat(3, 1fr); } }
/* ── Account page ── */
.pp-my-head-actions { display: flex; align-items: center; gap: 8px; }
.pp-account-card { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 16px; margin-bottom: 12px; }
.pp-account-name { font-weight: 800; color: var(--navy); font-size: 17px; }
.pp-account-mail { font-size: 13px; color: var(--muted); }
.pp-account-role { font-size: 12px; color: var(--blue); font-weight: 700; margin-top: 3px; }
.pp-account-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.pp-account-stats a { display: flex; flex-direction: column; align-items: center; background: var(--pale); border-radius: 12px; padding: 12px 6px; text-decoration: none; color: var(--navy); }
.pp-account-stats b { font-family: 'Playfair Display', serif; font-size: 24px; }
.pp-account-stats span { font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.pp-account-stats .is-cta { background: var(--accent); color: #1f1300; }
.pp-account-stats .is-cta span { color: #1f1300; }
.pp-account-links { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.pp-account-link { display: grid; grid-template-columns: 32px 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; text-decoration: none; color: var(--navy); }
.pp-account-link span { grid-row: 1 / 3; font-size: 20px; text-align: center; }
.pp-account-link b { font-size: 14px; }
.pp-account-link small { font-size: 12px; color: var(--muted); }
.pp-account-link.is-danger { color: var(--error); }
/* ── Post form photos ── */
.pp-photo.is-cover { outline: 3px solid var(--accent); outline-offset: -3px; }
.pp-photo-cover { position: absolute; left: 6px; top: 6px; background: rgba(255,255,255,.92); color: var(--navy); font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 6px; display: flex; align-items: center; gap: 4px; cursor: pointer; }
.pp-photo.is-cover .pp-photo-cover { background: var(--accent); color: #1f1300; }
.pp-photo-tools { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 4px; padding: 6px; background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.pp-photo-move { width: 26px; height: 26px; border-radius: 6px; border: 0; background: rgba(255,255,255,.9); color: var(--navy); font-size: 11px; cursor: pointer; }
.pp-photo-remove { margin-left: auto; color: #fff; font-size: 11px; display: flex; align-items: center; gap: 3px; cursor: pointer; }
.pp-photo span.pp-photo-newtag { position: absolute; left: 6px; top: 6px; background: var(--accent); color: #1f1300; font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 6px; bottom: auto; }
.pp-dropzone { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px 14px; border: 2px dashed #bfd0ee; border-radius: 12px; background: var(--pale); cursor: pointer; text-align: center; margin-bottom: 10px; }
.pp-dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pp-dropzone-icon { font-size: 26px; }
.pp-dropzone-text { font-weight: 700; color: var(--blue); font-size: 14px; }
.pp-photo-preview { margin-top: 4px; }
.pp-photo.is-new { outline: 2px dashed #bfd0ee; outline-offset: -2px; }
/* ── Listing facts bar ── */
.pp-ico { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }
.pp-facts { background: var(--navy); color: #fff; border-radius: 14px; padding: 18px 16px 14px; margin: 14px 0; }
.pp-facts-top { display: flex; flex-direction: column; gap: 12px; }
.pp-facts-kicker { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.75); }
.pp-facts-kicker .pp-type-badge { position: static; }
.pp-facts h1 { font: 700 22px/1.25 'DM Sans', sans-serif; margin: 8px 0 0; color: #fff; text-wrap: balance; }
.pp-facts-addr { display: flex; gap: 6px; align-items: flex-start; font-size: 14px; color: rgba(255,255,255,.78); margin: 6px 0 0; }
.pp-facts-price { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pp-facts-price strong { font: 700 26px/1.1 'DM Sans', sans-serif; color: #fff; }
.pp-nego { font-size: 11px; font-weight: 600; color: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.35); border-radius: 6px; padding: 3px 8px; }
.pp-stats { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); margin-top: 16px; border-top: 1px solid rgba(255,255,255,.16); }
.pp-stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 12px 2px 4px; min-width: 0; }
.pp-stat + .pp-stat { border-left: 1px solid rgba(255,255,255,.16); }
.pp-stat .pp-ico { width: 18px; height: 18px; color: #ffe2a0; }
.pp-stat b { font-size: 16px; white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.pp-stat span { font-size: 10.5px; color: rgba(255,255,255,.72); line-height: 1.3; }
.pp-psf-cmp { font-size: 13px; line-height: 1.5; margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.9); }
.pp-psf-cmp.is-below { box-shadow: inset 3px 0 0 #34d399; }
.pp-psf-cmp.is-above { box-shadow: inset 3px 0 0 #fbbf24; }
.pp-facts-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 12px; color: rgba(255,255,255,.6); }
.pp-facts-meta span { display: inline-flex; align-items: center; gap: 4px; }
.pp-facts-meta .pp-ico { width: 14px; height: 14px; }
@media (min-width: 760px) {
    .pp-facts { padding: 22px 24px 16px; }
    .pp-facts-top { flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 24px; }
    .pp-facts h1 { font-size: 26px; }
    .pp-facts-price { flex-wrap: nowrap; white-space: nowrap; }
    .pp-facts-price strong { font-size: 28px; }
    .pp-stat { padding: 14px 6px 6px; gap: 3px; }
    .pp-stat .pp-ico { width: 22px; height: 22px; }
    .pp-stat b { font-size: 20px; }
    .pp-stat span { font-size: 12px; }
}

/* ── Map ── */
.pp-map-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pp-map-head h2 { margin: 0; }
.pp-map-head .chip { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; padding: 7px 11px; }
.pp-map-addr { font-size: 14px; color: var(--muted); margin: 8px 0 10px; }
.pp-map-frame { border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--pale); }
.pp-map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.pp-map-note { font-size: 12px; color: var(--muted); margin: 8px 0 0; }
.pp-nearby { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
.pp-nearby > span { font-size: 12px; font-weight: 700; color: var(--muted); margin-right: 2px; }
.pp-nearby .chip { font-size: 12px; padding: 7px 11px; }

/* ── Lister card ── */
.pp-lister-head { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.pp-lister-photo { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--accent); color: #1f1300; font: 700 26px 'DM Sans', sans-serif; text-decoration: none; }
.pp-lister-photo img { width: 100%; height: 100%; object-fit: cover; }
.pp-verified { display: inline-flex; align-items: center; gap: 4px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.pp-verified .pp-ico { width: 13px; height: 13px; stroke-width: 2.2; }
.pp-verified.is-owner { background: var(--pale); color: var(--navy); }
.pp-lister-name { font-size: 17px; font-weight: 700; color: var(--charcoal); margin-top: 5px; }
.pp-lister-agency { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; text-decoration: none; text-transform: uppercase; letter-spacing: .2px; line-height: 1.4; }
a.pp-lister-agency:hover { color: var(--navy); }
.pp-lister-go { font-size: 26px; color: var(--muted); text-decoration: none; padding: 0 4px; }
.pp-lister-trust { list-style: none; margin: 12px 0 14px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.pp-lister-trust li { display: flex; gap: 6px; font-size: 13px; color: var(--muted); line-height: 1.4; }
.pp-lister-trust .pp-ico { width: 16px; height: 16px; color: var(--muted); margin-top: 1px; }
.pp-lister-cta { display: flex; flex-direction: column; gap: 8px; }
.pp-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 12px; border-radius: 10px; border: 1px solid var(--border); background: #fff; color: var(--charcoal); font: 600 15px 'DM Sans', sans-serif; text-decoration: none; cursor: pointer; }
.pp-btn:hover { border-color: var(--navy); }
.pp-btn.is-wa { background: var(--navy); border-color: var(--navy); color: #fff; }
.pp-btn.is-wa:hover { background: var(--blue); border-color: var(--blue); }
.pp-btn.is-revealed { color: var(--navy); font-weight: 700; letter-spacing: .3px; }
.pp-lister-safe { font-size: 12px; color: var(--muted); line-height: 1.5; margin: 12px 0 0; }.ld-action .pp-ico { width: 22px; height: 22px; }

/* ── Save (heart), price drop, parks/floor, alerts, compare ── */
.pp-card { position: relative; }
.pp-save-form { margin: 0; }
.pp-save { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); color: var(--navy); cursor: pointer; box-shadow: 0 2px 8px rgba(13,43,94,.18); text-decoration: none; }
.pp-save svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; transition: transform .15s; }
.pp-save.is-saved { color: #e11d48; }
.pp-save.is-saved svg { fill: currentColor; }
.pp-save:active svg { transform: scale(.85); }
.pp-save-form.is-card, a.pp-save.is-card { position: absolute; top: 8px; right: 8px; z-index: 2; }
.pp-facts-price .pp-save-form, .pp-facts-price a.pp-save { order: 9; }
.pp-drop { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: #6ee7b7; }
.pp-drop .pp-ico { width: 14px; height: 14px; }
.pp-drop s { color: rgba(255,255,255,.6); font-weight: 500; }
.pp-card-drop { font-size: 11px; font-weight: 700; color: #047857; white-space: nowrap; }
.pp-card-drop s { color: var(--muted); font-weight: 500; }
.pp-drop-badge { position: absolute; left: 8px; bottom: 8px; font-size: 10px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: #047857; color: #fff; }
.pp-facts-extra { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 13px; color: rgba(255,255,255,.85); }
.pp-facts-extra span { display: inline-flex; align-items: center; gap: 5px; }
.pp-facts-extra .pp-ico { width: 16px; height: 16px; color: #ffe2a0; }
.pp-nav-saved { display: inline-flex; align-items: center; gap: 5px; }
.pp-nav-saved .pp-ico { width: 17px; height: 17px; }
@media (max-width: 600px) { .pp-nav-saved span { display: none; } }

.pp-alert-cta { margin-top: 8px; padding: 14px; border-radius: 12px; background: var(--pale); }
.pp-alert-cta form { margin: 0; }
.pp-alert-cta button, .pp-alert-cta a { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; padding: 11px; border-radius: 10px; border: 1px solid var(--navy); background: #fff; color: var(--navy); font: 700 14px 'DM Sans', sans-serif; cursor: pointer; text-decoration: none; }
.pp-alert-cta button:hover, .pp-alert-cta a:hover { background: var(--navy); color: #fff; }
.pp-alert-cta small { display: block; text-align: center; font-size: 12px; color: var(--muted); margin-top: 6px; }
.pp-alert-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.pp-alert-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.pp-alert-row.is-paused { opacity: .65; }
.pp-alert-main { flex: 1 1 260px; min-width: 0; }
.pp-alert-label { display: block; font-weight: 700; color: var(--navy); text-decoration: none; line-height: 1.4; }
.pp-alert-main small { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.pp-alert-actions { display: flex; gap: 6px; margin: 0; }

.pp-compare-bar { position: sticky; top: 64px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; margin-bottom: 14px; border-radius: 12px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-card, 0 6px 18px rgba(13,43,94,.06)); font-size: 13px; font-weight: 600; color: var(--muted); }
.pp-compare-bar .btn-primary { width: auto; padding: 9px 18px; margin: 0; }
.pp-compare-bar .btn-primary:disabled { opacity: .45; cursor: not-allowed; }
.pp-saved-item { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pp-saved-pick { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--navy); cursor: pointer; }
.pp-compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.pp-compare-table { width: 100%; min-width: calc(120px + var(--cols) * 170px); border-collapse: collapse; font-size: 14px; }
.pp-compare-table th, .pp-compare-table td { padding: 11px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.pp-compare-table tbody th { width: 120px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; position: sticky; left: 0; background: #fff; }
.pp-compare-table thead th { vertical-align: bottom; }
.pp-cmp-photo { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--pale); margin-bottom: 8px; }
.pp-cmp-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-cmp-title { font-size: 13px; font-weight: 700; color: var(--navy); text-decoration: none; line-height: 1.35; }
.pp-compare-table td.is-best { background: #ecfdf5; color: #065f46; font-weight: 700; }
.pp-cmp-none { color: #cbd5e1; }
/* Lister card placement: under the facts bar on phones, sidebar from 860px */
.pp-lister-mobile { margin: 0 0 14px; }
@media (min-width: 860px) { .pp-lister-mobile { display: none; } }

/* ── Listing gallery: cover + thumbnail strip on its bottom edge ── */
.pp-gal { margin-bottom: 14px; outline: none; }
.pp-gal-stage { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #0b1730; isolation: isolate; }
.pp-gal-stage::before { content: ''; position: absolute; inset: -20px; z-index: -1; background: var(--bg) center / cover no-repeat; filter: blur(22px) brightness(.55); transform: scale(1.1); }
.pp-gal-open { position: absolute; inset: 0; display: block; }
.pp-gal-open img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pp-gal-count { position: absolute; top: 10px; right: 10px; z-index: 2; background: rgba(8,20,45,.7); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.pp-gal-nav { position: absolute; top: 42%; z-index: 2; width: 38px; height: 38px; margin-top: -19px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--navy); font: 700 24px/1 'DM Sans', sans-serif; cursor: pointer; display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0,0,0,.25); padding-bottom: 3px; }
.pp-gal-nav.is-prev { left: 10px; } .pp-gal-nav.is-next { right: 10px; }
.pp-gal-nav:hover { background: #fff; }
.pp-gal-thumbs { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; gap: 6px; padding: 26px 10px 10px; overflow-x: auto; scrollbar-width: none; background: linear-gradient(180deg, rgba(8,20,45,0), rgba(8,20,45,.75)); scroll-snap-type: x proximity; }
.pp-gal-thumbs::-webkit-scrollbar { display: none; }
.pp-gal-thumb { flex: 0 0 auto; width: 52px; height: 40px; border-radius: 6px; overflow: hidden; border: 2px solid rgba(255,255,255,.35); opacity: .75; scroll-snap-align: center; transition: opacity .15s, border-color .15s; }
.pp-gal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-gal-thumb:hover { opacity: 1; }
.pp-gal-thumb.is-active { border-color: #fff; opacity: 1; }
@media (min-width: 760px) {
    .pp-gal-stage { aspect-ratio: 16 / 10; }
    .pp-gal-thumb { width: 72px; height: 54px; }
    .pp-gal-nav { width: 44px; height: 44px; margin-top: -22px; }
}
@media (prefers-reduced-motion: reduce) { .pp-gal-thumb { transition: none; } }
/* ── Shared home blocks for the property site (moved from the old main-site home.css, 2026-11-09) ── */
.search-types { display: flex; gap: 4px; background: var(--pale); border-radius: 10px; padding: 4px; margin-bottom: 10px; }
.search-type {
    flex: 1;
    border: 0; background: transparent;
    font: 600 13px/1 'DM Sans', sans-serif;
    color: var(--muted);
    padding: 9px 4px;
    border-radius: 8px;
    cursor: pointer;
    transition: all .15s;
}
.search-type.is-active { background: #fff; color: var(--navy); box-shadow: 0 1px 4px rgba(13,43,94,.14); }
.search-row { display: flex; gap: 8px; }
.search-row input {
    flex: 1; min-width: 0;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    font: 400 15px 'DM Sans', sans-serif;
    color: var(--charcoal);
    outline: none;
}
.search-row input:focus { border-color: var(--blue); }
.search-go {
    border: 0; background: var(--blue); color: #fff;
    font: 600 14px 'DM Sans', sans-serif;
    padding: 0 20px; border-radius: 10px; cursor: pointer;
}
.search-go:hover { background: var(--navy); }
.hsec { padding: 28px 16px; background: #fff; }
.hsec.is-pale { background: var(--pale); }
.hsec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.hsec-head h2 {
    font-family: 'Playfair Display', serif;
    font-size: 22px; font-weight: 700; color: var(--navy);
}
.hsec-more { font-size: 13px; font-weight: 600; color: var(--blue); text-decoration: none; white-space: nowrap; }
.hsec-more:hover { text-decoration: underline; }
.hcta { background: var(--navy); padding: 40px 16px; text-align: center; }
.hcta h2 { font-family: 'Playfair Display', serif; font-size: 24px; color: #fff; margin-bottom: 8px; }
.hcta p { color: rgba(255,255,255,.65); font-size: 14px; margin-bottom: 20px; }
.hcta-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hcta-primary, .hcta-secondary {
    padding: 12px 22px; border-radius: 10px; font-size: 14px; font-weight: 700; text-decoration: none;
}
.hcta-primary { background: var(--accent); color: #1f1300; }
.hcta-secondary { color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
@media (min-width: 720px) {
    .search-types { max-width: 420px; margin: 0 auto 12px; }
    .hsec { padding: 40px 24px; }
    .hsec-head h2 { font-size: 28px; }
    .hcta { padding: 56px 24px; }
    .hcta h2 { font-size: 32px; }
}

/* ── Admin bulk actions + users ── */
.pa-bulk { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; margin: 0 0 12px; border: 1px solid var(--border); border-radius: 12px; background: #fff; position: sticky; top: 64px; z-index: 5; }
.pa-bulk select { padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; font: 500 13px 'DM Sans', sans-serif; }
.pa-bulk-all { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; margin-right: auto; }
.pa-check { display: flex; align-items: flex-start; padding-top: 4px; }
.pa-check input { width: 18px; height: 18px; }
.pa-feature select, .pa-quota select { padding: 6px 8px; border: 1px solid var(--border); border-radius: 8px; font: 500 12px 'DM Sans', sans-serif; }
.pa-quota input { padding: 6px 8px; border: 1px solid var(--border); border-radius: 8px; }

/* Header fits on small phones with the Saved heart shown */
@media (max-width: 420px) {
    .pp-nav-right { gap: 4px; }
    .pp-nav-saved { padding: 6px; }
}
/* Phones: the bottom bar already has + Post, so the header keeps only brand, language and Saved (never overlaps) */
.pp-brand { min-width: 0; }
.pp-brand img { flex-shrink: 0; }
.pp-brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-nav-right { flex-shrink: 0; }
@media (max-width: 859px) { .pp-nav-cta { display: none; } }

/* ── Post form: attribute groups ── */
.pp-attrs[hidden], .pp-attrs [hidden] { display: none !important; }
.pp-grid-3 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
@media (min-width: 640px) { .pp-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pp-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-check-chip { display: inline-flex; cursor: pointer; }
.pp-check-chip input { position: absolute; opacity: 0; pointer-events: none; }
.pp-check-chip span { padding: 8px 13px; border: 1.5px solid var(--border); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--charcoal); background: #fff; }
.pp-check-chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.pp-check-chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

/* Lister links */
a.pp-lister-name { display: block; text-decoration: none; }
a.pp-lister-name:hover { color: var(--blue); text-decoration: underline; }
.pp-lister-trust a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.pp-agent-badge.is-owner { background: rgba(255,255,255,.14); }
.pp-agent-actions .pp-ico { width: 18px; height: 18px; }

/* ── Account: tappable profile photo ── */
.pp-avatar-form { margin: 0; flex: 0 0 auto; }
.pp-avatar-edit { position: relative; cursor: pointer; }
.pp-avatar-edit:hover img, .pp-avatar-edit:hover #pp-avatar-initial { opacity: .85; }
.pp-avatar-cam { position: absolute; right: -2px; bottom: -2px; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); border: 2px solid #fff; display: grid; place-items: center; }
.pp-avatar-cam svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }
.pp-avatar-busy { position: absolute; inset: 0; border-radius: 50%; background: rgba(13,43,94,.75); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; text-align: center; padding: 6px; }
.pp-agent-avatar.pp-avatar-edit { overflow: visible; }
.pp-agent-avatar.pp-avatar-edit img { border-radius: 50%; }
.pp-avatar-actions { display: flex; gap: 14px; margin-top: 6px; }
.pp-avatar-link { font-size: 13px; font-weight: 700; color: var(--blue); cursor: pointer; background: none; border: 0; padding: 0; font-family: inherit; }
.pp-avatar-link.is-danger { color: var(--error); }
.pp-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* ── Lister card: agency band ── */
.pp-lister { overflow: hidden; }
.pp-lister-agencyband { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 16px -16px -16px; padding: 14px 16px 16px; background: #1f2937; color: #fff; text-decoration: none; text-align: center; }
.pp-lister-agencyband:hover { background: #111827; }
.pp-lister-agencyname { font-size: 13px; font-weight: 600; letter-spacing: .2px; line-height: 1.35; }
.pp-lister-agencyband img { max-width: 180px; max-height: 44px; width: auto; height: auto; object-fit: contain; background: #fff; border-radius: 6px; padding: 5px 9px; }
.pp-logo-preview { display: inline-flex; padding: 10px 14px; border: 1px solid var(--border); border-radius: 10px; background: #fff; margin-bottom: 8px; }
.pp-logo-preview img { max-height: 60px; max-width: 220px; object-fit: contain; }
.pa-add-agency { flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
/* hidden always wins */
[hidden] { display: none !important; }

/* ── Share panel ── */
.pp-sheet { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: flex-end; justify-content: center; }
.pp-sheet-backdrop { position: absolute; inset: 0; background: rgba(8,20,45,.55); animation: ppFade .15s ease; }
.pp-sheet-panel { position: relative; width: 100%; max-width: 460px; background: #fff; border-radius: 18px 18px 0 0; padding: 18px 18px calc(18px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -10px 40px rgba(0,0,0,.25); animation: ppUp .2s cubic-bezier(.16,1,.3,1); }
@media (min-width: 600px) { .pp-sheet { align-items: center; } .pp-sheet-panel { border-radius: 18px; } }
.pp-sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.pp-sheet-head h2 { font: 700 18px 'DM Sans', sans-serif; color: var(--navy); margin: 0; }
.pp-sheet-x { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--pale); color: var(--navy); font-size: 22px; line-height: 1; cursor: pointer; }
.pp-share-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 8px; margin-bottom: 16px; }
.pp-share-opt { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 4px; border: 0; background: none; border-radius: 12px; font: 600 12px 'DM Sans', sans-serif; color: var(--charcoal); text-decoration: none; cursor: pointer; }
.pp-share-opt:hover, .pp-share-opt:focus-visible { background: var(--pale); outline: none; }
.pp-share-opt span { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.pp-share-opt svg { width: 24px; height: 24px; fill: currentColor; }
.pp-share-opt.is-wa span { background: #25d366; } .pp-share-opt.is-fb span { background: #1877f2; } .pp-share-opt.is-tg span { background: #229ed9; }
.pp-share-opt.is-x span { background: #111; } .pp-share-opt.is-mail span { background: #64748b; } .pp-share-opt.is-more span { background: var(--navy); }
.pp-share-copy { display: flex; gap: 8px; }
.pp-share-copy input { flex: 1; min-width: 0; padding: 11px 12px; border: 1px solid var(--border); border-radius: 10px; font: 400 13px 'DM Sans', sans-serif; color: var(--muted); background: var(--pale); }
.pp-share-copy button { border: 0; border-radius: 10px; padding: 0 16px; background: var(--navy); color: #fff; font: 700 13px 'DM Sans', sans-serif; cursor: pointer; white-space: nowrap; }
@keyframes ppUp { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ppFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pp-sheet-panel, .pp-sheet-backdrop { animation: none; } }
/* Agency logos stored as *-dark.png are white artwork: no white plate, dark box instead */
.pp-lister-agencyband img[src*="-dark."] { background: transparent; padding: 0; }
.pp-agent-avatar.is-agency:has(img[src*="-dark."]), .pa-thumb:has(img[src*="-dark."]), .pp-logo-preview:has(img[src*="-dark."]) { background: #1f2937; }
.pp-agent-avatar.is-agency img { object-fit: contain; padding: 8px; }

/* Expired listings: still public, clearly marked, always after live ones */
.pp-card.is-expired .pcard-media img { filter: grayscale(.85); opacity: .75; }
.pp-card.is-expired .pp-price { color: var(--muted); }
.pp-expired-badge { position: absolute; bottom: 8px; left: 8px; font-size: 10px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; color: #fff; background: #475569; }
.pp-sold-inline.is-expired { background: #475569; }
.pp-expired-banner { border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; background: #f1f5f9; border: 1px solid #cbd5e1; border-left: 5px solid #475569; color: #1e293b; font-size: 14px; line-height: 1.55; }
.pp-expired-banner strong { display: block; font-size: 16px; color: #0f172a; margin-bottom: 2px; }
.pp-expired-banner p { margin: 4px 0 0; }
.pp-expired-banner a { color: var(--blue); font-weight: 600; }
.pp-grid-divider { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 18px 0 6px; margin-top: 6px; border-top: 2px dashed #cbd5e1; }
.pp-grid-divider strong { font-family: 'Playfair Display', serif; font-size: 20px; color: #334155; }
.pp-grid-divider span { font-size: 13px; color: var(--muted); }

/* Lister / agent page sections */
.pp-ls-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.pp-ls-jump a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--navy); text-decoration: none; transition: border-color .15s, background .15s; }
.pp-ls-jump a:hover, .pp-ls-jump a:focus-visible { border-color: var(--blue); background: var(--pale); }
.pp-ls-jump a span { font-size: 11px; color: var(--muted); font-weight: 700; }
.pp-ls-sec { margin-bottom: 38px; scroll-margin-top: 80px; }
.pp-ls-sec > h3 { display: flex; align-items: center; gap: 10px; font-family: 'Playfair Display', serif; font-size: 22px; color: var(--navy); margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.pp-ls-sec > h3 .pp-type-badge { position: static; font-size: 11px; }
.pp-ls-sec > h3 small { font: 600 13px 'DM Sans', sans-serif; color: var(--muted); }
.pp-ls-sec.is-sold > h3, .pp-ls-sec.is-expired > h3 { color: #475569; }
.pp-ls-note { font-size: 13px; color: var(--muted); margin: -6px 0 14px; }
.pp-ls-sub { font-size: 14px; font-weight: 700; color: #334155; text-transform: uppercase; letter-spacing: .6px; margin: 18px 0 10px; }
.pp-ls-sub:first-of-type { margin-top: 4px; }
.pp-ls-sub small { color: var(--muted); font-weight: 600; letter-spacing: 0; }
@media (min-width: 768px) { .pp-ls-sec > h3 { font-size: 26px; } }

/* Admin → Users: email a user */
.pa-notify { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); cursor: pointer; }
.pa-mail-last { margin-top: 8px; font-size: 12px; color: var(--muted); }
.pa-mail { margin-top: 10px; }
.pa-mail > summary { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; padding: 7px 11px; cursor: pointer; list-style: none; }
.pa-mail > summary::-webkit-details-marker { display: none; }
.pa-mail[open] > summary { background: var(--pale); border-color: var(--blue); color: var(--blue); }
.pa-mail-form { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; padding: 14px; background: var(--pale); border: 1px solid var(--border); border-radius: 12px; max-width: 560px; }
.pa-mail-form label { display: flex; flex-direction: column; gap: 4px; font: 600 12px 'DM Sans', sans-serif; color: var(--charcoal); }
.pa-mail-form input[type=text], .pa-mail-form select, .pa-mail-form textarea { width: 100%; box-sizing: border-box; padding: 9px 10px; border: 1px solid var(--border); border-radius: 8px; font: 400 14px 'DM Sans', sans-serif; background: #fff; }
.pa-mail-form textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.pa-mail-form input:focus, .pa-mail-form select:focus, .pa-mail-form textarea:focus { outline: 2px solid var(--sky); outline-offset: 1px; border-color: var(--blue); }
.pa-mail-to { margin: 0; font-size: 13px; color: var(--muted); }
.pa-mail-btns { display: flex; gap: 8px; }
.pa-mail-btns .chip { font-size: 13px; padding: 8px 14px; }
.pa-mail-btns .chip.is-ok { background: #16a34a; border-color: #16a34a; color: #fff; }
