/* The listing page and "Find an agent" (harmony-ops#697 day 3), on the same design system as the account pages (ink #12303a, teal text #146c75,
   page #f4f7f9, lines #cbd8de). Mobile first; the two-column layout and the sticky contact box start at 992px. Text colours meet WCAG AA. */

.lp, .af { background: #f4f7f9; color: #12303a; overflow-x: hidden; }
.lp { padding: 12px 0 96px; }
.lp-wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.lp h1, .lp h2, .lp h3, .af h1, .af h2, .af h3 { color: #12303a; overflow-wrap: anywhere; }
.lp a, .af a { color: #146c75; }
.lp img, .af img { max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* buttons */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 10px; border: 2px solid #146c75; background: #146c75; color: #fff !important; font-weight: 700; font-size: 16px; text-decoration: none !important; cursor: pointer; }
.lp-btn:hover, .lp-btn:focus-visible { background: #0f555c; border-color: #0f555c; }
.lp-btn-ghost { background: #fff; color: #146c75 !important; }
.lp-btn-ghost:hover, .lp-btn-ghost:focus-visible { background: #e6f6f7; color: #0f555c !important; }
.lp-btn-wa { background: #1d7a46; border-color: #1d7a46; }
.lp-btn-wa:hover, .lp-btn-wa:focus-visible { background: #165f37; border-color: #165f37; }
.lp-btn-call { background: #12303a; border-color: #12303a; }
.lp-btn-call:hover, .lp-btn-call:focus-visible { background: #0a1d23; border-color: #0a1d23; }
.lp-btn-sm { min-height: 40px; padding: 0 12px; font-size: 14px; }
.lp a:focus-visible, .lp button:focus-visible, .af a:focus-visible, .af button:focus-visible, .af input:focus-visible, .af select:focus-visible, .lp input:focus-visible { outline: 3px solid #f2a541; outline-offset: 2px; }

.lp-alert { padding: 12px 14px; border-radius: 10px; margin: 0 0 12px; font-size: 15px; }
.lp-alert-warn { background: #fff4de; border-left: 4px solid #b26a00; color: #5a3600; }
.lp-alert-bad { background: #fde8e8; border-left: 4px solid #b42318; color: #7a1a12; }
.lp-alert-ok { background: #e3f5e9; border-left: 4px solid #1d7a46; color: #10462a; }
.lp-meta { font-size: 13px; color: #4b6670; margin: 8px 0 0; }
.lp-pill { display: inline-block; font-size: 12px; font-weight: 700; color: #10462a; background: #e3f5e9; border-radius: 999px; padding: 2px 8px; vertical-align: middle; }

/* gallery */
.lp-gallery { position: relative; margin: 0 -16px 16px; }
.lp-g-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; list-style: none; margin: 0; padding: 0; gap: 4px; scrollbar-width: none; }
.lp-g-list::-webkit-scrollbar { display: none; }
.lp-g-list li { flex: 0 0 100%; scroll-snap-align: start; }
.lp-g-item { display: block; width: 100%; padding: 0; border: 0; background: #dfe8ec; cursor: zoom-in; aspect-ratio: 3 / 2; overflow: hidden; }
.lp-g-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-g-all { position: absolute; right: 12px; bottom: 12px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 0; background: rgba(10,29,35,.85); color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; }
.lp-g-none { display: flex; align-items: center; justify-content: center; gap: 8px; aspect-ratio: 3 / 2; max-height: 320px; width: 100%; background: #dfe8ec; color: #4b6670; font-weight: 600; }
@media (min-width: 768px) {
	.lp-gallery { margin: 0 0 20px; border-radius: 14px; overflow: hidden; }
	.lp-g-list { display: grid; overflow: visible; gap: 6px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 210px 210px; }
	.lp-g-list li { min-width: 0; }
	.lp-g-list li:first-child { grid-row: 1 / 3; }
	.lp-g-list li:nth-child(n+6) { display: none; }
	.lp-g-item { aspect-ratio: auto; height: 100%; }
	.lp-g-list[data-count="1"] { grid-template-columns: 1fr; grid-template-rows: 440px; }
	.lp-g-list[data-count="2"] { grid-template-columns: 2fr 1fr; }
	.lp-g-list[data-count="2"] li:nth-child(2) { grid-row: 1 / 3; }
	.lp-g-list[data-count="3"] { grid-template-columns: 2fr 1fr; }
	.lp-g-list[data-count="4"] li:nth-child(4) { grid-column: 2 / 4; }
}

/* the page grid */
@media (min-width: 992px) {
	.lp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
	.lp-side { position: sticky; top: 90px; }
}

.lp-head { margin: 0 0 12px; }
.lp-price { font-size: 28px; font-weight: 800; color: #12303a; margin: 0 0 4px; line-height: 1.2; }
.lp-price span { font-size: 16px; font-weight: 600; color: #4b6670; }
.lp-price .lp-tag { display: inline-block; font-size: 13px; font-weight: 700; color: #146c75; background: #e6f6f7; border-radius: 999px; padding: 3px 10px; vertical-align: middle; text-transform: capitalize; }
.lp-head h1 { font-size: 22px; line-height: 1.3; font-weight: 800; margin: 0 0 6px; }
.lp-addr { font-size: 15px; color: #4b6670; margin: 0; overflow-wrap: anywhere; }
.lp-addr-private { font-size: 14px; color: #7a4b00; background: #fff4de; border-radius: 8px; padding: 6px 10px; margin: 6px 0 0; overflow-wrap: anywhere; }
@media (min-width: 768px) { .lp-head h1 { font-size: 28px; } .lp-price { font-size: 32px; } }

.lp-offer { background: #fff4de; border: 1px solid #f2c97a; color: #5a3600; border-radius: 12px; padding: 12px 14px; margin: 0 0 12px; font-size: 15px; overflow-wrap: anywhere; }
.lp-offer i { color: #8a5300; }
.lp-team { background: #eef6f7; border-left: 4px solid #146c75; padding: 10px 12px; border-radius: 8px; margin: 0 0 12px; font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }

.lp-facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 16px; padding: 0; }
.lp-facts li { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #cbd8de; border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 600; color: #12303a; }
.lp-facts i { color: #146c75; }

.lp-card { background: #fff; border-radius: 14px; padding: 16px; margin: 0 0 16px; box-shadow: 0 1px 3px rgba(18,48,58,.08); }
.lp-card h2 { font-size: 19px; font-weight: 800; margin: 0 0 10px; }
.lp-card p { font-size: 15px; line-height: 1.6; color: #26414b; }
.lp-desc { white-space: normal; overflow-wrap: anywhere; }
.lp-note { font-size: 14px !important; color: #4b6670 !important; margin: 0 0 12px; }
.lp-list { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.lp-list li { padding: 4px 0; }
.lp-video { position: relative; aspect-ratio: 16 / 9; }
.lp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 10px; }
/* video or 3D tour link (owner, 2 Nov 2026): a poster and a play button; the provider's player is made only on tap (ep-media.js) */
.lm-frame { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 10px; overflow: hidden; background: #12303a; }
.lm-frame.is-portrait { aspect-ratio: 9 / 16; max-width: 360px; max-height: 640px; margin: 0 auto; }
.lm-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lm-face { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; color: #fff; text-decoration: none !important; }
.lm-poster { position: absolute; inset: 0; background: #12303a center / cover no-repeat; opacity: .85; }
.lm-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(0, 0, 0, .65); }
.lm-play::after { content: ""; position: absolute; left: 26px; top: 20px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; }
.lm-face:hover .lm-play, .lm-face:focus-visible .lm-play { background: #146c75; }
.lm-face:focus-visible { outline: 3px solid #146c75; outline-offset: -3px; }
.lm-src { position: absolute; left: 8px; bottom: 8px; padding: 0 8px; border-radius: 4px; background: rgba(0, 0, 0, .65); font-size: 13px; line-height: 24px; }
.lm-note { font-size: 14px; color: #4b6670; margin: 8px 0 0; }
.lm-tour .lm-tour-btn { margin: 0 8px 8px 0; }
.lm-out { font-size: 14px; }
.lm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lm-dialog { width: min(960px, 100vw); max-width: 100vw; height: min(640px, 90vh); padding: 0; border: 0; border-radius: 10px; background: #12303a; }
.lm-dialog::backdrop { background: rgba(0, 0, 0, .7); }
.lm-dialog iframe { width: 100%; height: calc(100% - 48px); border: 0; display: block; }
.lm-dialog-bar { display: flex; justify-content: flex-end; height: 48px; padding: 0 8px; align-items: center; }
.lm-dialog-bar button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 8px; background: #fff; color: #12303a; font-weight: 700; cursor: pointer; }
@media (max-width: 600px) { .lm-dialog { width: 100vw; height: 100vh; max-height: 100vh; border-radius: 0; } }
.lp-feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; font-size: 15px; }
.lp-feats i { color: #1d7a46; }
.lp-area .ar-card { margin: 0 0 16px; }

/* move-in calculator */
.lp-calc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #e3eaee; }
.lp-calc-row label { grid-column: 1 / -1; font-size: 14px; font-weight: 600; color: #26414b; margin: 0; }
.lp-in { display: flex; align-items: center; gap: 6px; border: 1px solid #9fb3bb; border-radius: 10px; padding: 0 10px; background: #fff; min-height: 44px; }
.lp-in input { border: 0; outline: 0; width: 100%; min-width: 0; min-height: 44px; font-size: 16px; color: #12303a; background: transparent; }
.lp-in span { color: #4b6670; font-weight: 600; }
.lp-calc-row output { font-weight: 700; color: #12303a; font-size: 15px; text-align: right; min-width: 96px; }
.lp-calc-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 12px 0 0; font-weight: 800; font-size: 17px !important; color: #12303a !important; }
.lp-calc-total output { font-size: 22px; color: #146c75; }
@media (min-width: 600px) { .lp-calc-row { grid-template-columns: minmax(0, 1fr) 200px 120px; } .lp-calc-row label { grid-column: auto; } }

.lp-median strong { font-size: 18px; color: #12303a; }

.lp-faq details { border-bottom: 1px solid #e3eaee; }
.lp-faq summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 700; font-size: 15px; color: #12303a; list-style-position: inside; }
.lp-faq details p { margin: 0 0 12px; }
.lp-safety ol { padding-left: 20px; font-size: 15px; color: #26414b; }

/* contact box */
.lp-contact { background: #fff; border-radius: 14px; padding: 16px; box-shadow: 0 2px 10px rgba(18,48,58,.10); display: grid; gap: 10px; margin: 0 0 16px; }
.lp-poster { display: flex; gap: 12px; align-items: center; }
.lp-poster img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: #e3eaee; }
.lp-poster-name { font-weight: 800; font-size: 17px; margin: 0; color: #12303a; overflow-wrap: anywhere; }
.lp-poster .lp-meta { margin: 0; }
.lp-contact .lp-btn { width: 100%; }
.lp-mail summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #146c75; border: 2px solid #cbd8de; border-radius: 10px; }
.lp-mail form { display: grid; gap: 6px; margin-top: 10px; }
.lp-mail label { font-size: 14px; font-weight: 600; margin: 4px 0 0; color: #26414b; }
.lp-mail input, .lp-mail textarea, .af-form input, .af-form select, .af-form textarea { width: 100%; min-height: 44px; border: 1px solid #9fb3bb; border-radius: 10px; padding: 8px 10px; font-size: 16px; color: #12303a; background: #fff; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.lp-act { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 0 12px; border: 1px solid #cbd8de; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none !important; color: #146c75; background: #fff; }

/* similar */
.lp-similar { margin: 8px 0 0; }
.lp-similar h2 { font-size: 20px; font-weight: 800; margin: 0 0 12px; }
.lp-similar ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.lp-similar a { display: block; background: #fff; border-radius: 12px; overflow: hidden; text-decoration: none !important; box-shadow: 0 1px 3px rgba(18,48,58,.08); height: 100%; }
.lp-similar img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-position: center; object-fit: cover; display: block; background: #dfe8ec; }
.lp-sim-price { display: block; padding: 10px 12px 0; font-weight: 800; color: #12303a; }
.lp-sim-title { display: block; padding: 2px 12px 12px; color: #26414b; font-size: 14px; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }   /* at most 2 lines (owner, 4 Nov 2026) */

/* phone bar */
.lp-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9970; display: flex; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #dbe5ea; box-shadow: 0 -2px 10px rgba(18,48,58,.08); }
.lp-bar .lp-btn { flex: 1 1 0; }
@media (min-width: 992px) { .lp-bar { display: none; } .lp { padding-bottom: 32px; } }

/* full-screen viewer */
.lp-viewer { position: fixed; inset: 0; z-index: 10050; background: #050f12; display: flex; align-items: center; justify-content: center; }
.lp-viewer[hidden] { display: none; }
.lp-v-img { max-width: 100vw; max-height: 86vh; object-fit: contain; user-select: none; }
.lp-viewer button { position: absolute; border: 0; background: rgba(255,255,255,.14); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; }
.lp-viewer button:focus-visible { outline: 3px solid #f2a541; }
.lp-v-close { top: 12px; right: 12px; }
.lp-v-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lp-v-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lp-v-count { position: absolute; top: 20px; left: 16px; color: #fff; font-weight: 700; margin: 0; }
.lp-noscroll, .lp-noscroll body { overflow: hidden; }

/* ===== Find an agent ===== */
.af { padding: 0 0 48px; }
.af-hero { background: #12303a; color: #fff; padding: 28px 0 24px; margin: 0 0 20px; }
.af-hero h1 { color: #fff; font-size: 28px; font-weight: 800; margin: 0 0 6px; }
.af-hero .af-sub { color: #d5e4e9; font-size: 15px; margin: 0 0 16px; max-width: 640px; }
.af-crumb { margin: 0 0 6px; font-size: 14px; color: #d5e4e9; }
.af-crumb a { color: #fff !important; text-decoration: underline; }
.af-search { display: flex; gap: 8px; max-width: 560px; }
.af-search input { flex: 1 1 auto; min-width: 0; min-height: 48px; border-radius: 10px; border: 0; padding: 0 14px; font-size: 16px; color: #12303a; }
.af-search .lp-btn { background: #f2a541; border-color: #f2a541; color: #12303a !important; }
.af-search .lp-btn:hover { background: #e08f22; border-color: #e08f22; }
@media (min-width: 768px) { .af-hero { padding: 44px 0 36px; } .af-hero h1 { font-size: 36px; } }

@media (min-width: 992px) { .af-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; } .af-help { position: sticky; top: 90px; } }
.af-count { font-size: 18px; font-weight: 800; margin: 0 0 12px; }
.af-empty { background: #fff; border-radius: 14px; padding: 20px 16px; box-shadow: 0 1px 3px rgba(18,48,58,.08); margin: 0 0 16px; }
.af-empty p { font-size: 15px; color: #26414b; }
.af-empty p:last-child { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.af-cards { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .af-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.af-card { background: #fff; border-radius: 14px; padding: 14px; box-shadow: 0 1px 3px rgba(18,48,58,.08); display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 4px 12px; grid-template-rows: 1fr; }
/* cards in a row stretch to the tallest; the first row (photo + details) takes the extra height, so the buttons stay pinned to the bottom at their own size (owner, 2 Nov 2026) */
.af-photo img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: #e3eaee; display: block; }
.af-body h3 { font-size: 17px; font-weight: 800; margin: 0 0 4px; }
.af-body h3 a { color: #12303a !important; }
.af-body p { margin: 0 0 4px; font-size: 14px; color: #26414b; }
.af-areas span { font-weight: 700; }
.af-areas .af-more { font-weight: 400; color: #4b6670; white-space: nowrap; }
.af-n { color: #4b6670 !important; }
.af-badge { display: inline-block; background: #e3f5e9; color: #10462a !important; font-weight: 700; border-radius: 999px; padding: 2px 10px; font-size: 13px !important; }
.af-featured { display: inline-block; background: #fff1d6; color: #5a3d00 !important; font-weight: 700; border-radius: 999px; padding: 2px 10px; font-size: 13px !important; margin-left: 4px; }
.af-team { display: inline-block; background: #eef6f7; color: #0f555c !important; border-radius: 999px; padding: 2px 10px; font-size: 13px !important; }
.af-cta, .af-admin { grid-column: 1 / -1; display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
/* agent card buttons: View profile and WhatsApp are the same fixed size on every card, never stretched by a taller neighbour */
.af-cta { display: grid; grid-template-columns: repeat(2, minmax(0, 168px)); align-items: start; align-self: end; }
.af-cta .lp-btn { width: 100%; height: 44px; min-height: 44px; padding: 0 12px; white-space: nowrap; }
.af-pages { display: flex; flex-wrap: wrap; gap: 6px; }
.af-pages a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: #fff; border: 1px solid #cbd8de; font-weight: 700; text-decoration: none; }
.af-pages a[aria-current] { background: #12303a; color: #fff; border-color: #12303a; }
.af-help { background: #fff; border-radius: 14px; padding: 16px; box-shadow: 0 2px 10px rgba(18,48,58,.10); }
.af-help h2 { font-size: 19px; font-weight: 800; margin: 0 0 6px; }
.af-help > p { font-size: 15px; color: #26414b; }
.af-form { display: grid; gap: 4px; }
.af-form label { font-size: 14px; font-weight: 600; color: #26414b; margin: 8px 0 0; }
.af-form [aria-invalid="true"] { border-color: #b42318; border-width: 2px; }
.af-consent { display: flex; gap: 8px; align-items: flex-start; font-weight: 400 !important; font-size: 13px !important; line-height: 1.5; }
.af-consent input { width: 20px !important; min-height: 20px !important; flex: 0 0 20px; margin-top: 2px; }
.af-form .lp-btn { margin-top: 12px; width: 100%; }
.af-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* agent-details: the Verified line */
.agency-content .af-badge { margin: 8px 0 0; }

/* "Nearby areas" strip above the footer (views/inc/nearby-areas.inc.php) */
.na-strip { background: #fff; border-top: 1px solid #dbe5ea; padding: 24px 0 20px; color: #12303a; }
.na-strip .lp-wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.na-strip h2 { font-size: 18px; font-weight: 800; color: #12303a; margin: 0 0 6px; }
.na-sum { font-size: 14px; color: #4b6670; margin: 0 0 12px; overflow-wrap: anywhere; }
.na-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 4px 16px; }
.na-links a { display: inline-flex; align-items: center; min-height: 44px; color: #146c75; font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.na-more summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; color: #146c75; }

/* the theme capitalises every heading: keep ours as written */
.lp h1, .lp h2, .lp h3, .af h1, .af h2, .af h3, .na-strip h2, .lp summary, .af summary, .lp-btn, .lp-pill { text-transform: none; }
/* the theme pads every <section> by 80px */
.lp-gallery, .lp-similar, .af-results { padding: 0; }

/* preview of a listing that is not live (audit 30 Oct): one clear banner, and the admin's Approve / Decline in reach */
.lp-review { background: #fff4de; border: 1px solid #f0d49b; border-left: 4px solid #b26a00; border-radius: 12px; padding: 14px 16px; margin: 0 0 16px; color: #5a3600; }
.lp-review-bad { background: #fde8e8; border-color: #f4c2bd; border-left-color: #b42318; color: #7a1a12; }
.lp-review p { margin: 0 0 6px; font-size: 15px; line-height: 1.5; }
.lp-review-title { font-weight: 700; font-size: 17px !important; }
.lp-review-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.lp-review-actions form { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.lp-reason input { min-height: 44px; min-width: 220px; padding: 8px 12px; border: 1px solid #cfd8dc; border-radius: 8px; font: inherit; font-size: 15px; }
.lp-btn-ok { background: #157a3c; border-color: #157a3c; }
.lp-btn-ok:hover, .lp-btn-ok:focus-visible { background: #0f5c2d; border-color: #0f5c2d; }
@media (max-width: 575px) { .lp-review-actions > * { flex: 1 1 100%; } .lp-review-actions .lp-btn { width: 100%; } }

/* the agent's public profile (/agent-details, audit 30 Oct): the Find-an-agent card as the page head, listings as cards */
.ad .ad-head { grid-template-columns: 96px minmax(0, 1fr); align-items: center; margin: 8px 0 16px; padding: 18px; }
.ad .ad-head .af-photo img { width: 96px; height: 96px; }
.ad .ad-head h1 { font-size: 26px; font-weight: 800; margin: 0 0 6px; line-height: 1.2; }
.ad .ad-cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; margin-top: 10px; }
.ad .ad-cta .lp-btn { flex: 1 1 200px; height: 48px; min-height: 48px; white-space: nowrap; }
.ad .ad-social { display: flex; gap: 12px; margin: 8px 0 0; }
.ad .ad-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #e6f6f7; }
.ad .ad-sim-place { display: block; padding: 0 12px 12px; font-size: 13px; color: #4a5b63; }
.ad .ad-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin: 16px 0 0; }
.ad .ad-empty { margin: 0; }
.ad .ad-note { margin: 18px 0 8px; }
@media (max-width: 575px) { .ad .ad-head { grid-template-columns: 72px minmax(0, 1fr); padding: 14px; } .ad .ad-head .af-photo img { width: 72px; height: 72px; } .ad .ad-head h1 { font-size: 22px; } }

/* harmony-ops#715 S1: breadcrumb above the heading, the poster's own title under it, and the "No longer available" banner */
.lp-crumbs { font-size: 14px; color: #5b6573; margin: 0 0 8px; line-height: 1.6; overflow-wrap: anywhere; }
.lp-crumbs a { color: #177b85; display: inline-flex; align-items: center; min-height: 44px; }
.lp-subtitle { margin: 4px 0 0; color: #3a4452; font-size: 16px; overflow-wrap: anywhere; }
.lp-gone { margin: 12px 0; padding: 14px 16px; border-radius: 10px; background: #fdecea; border-left: 4px solid #b42318; color: #5c1610; font-size: 16px; line-height: 1.5; }
.lp-gone a { color: #8a1c12; font-weight: 700; text-decoration: underline; display: inline-flex; align-items: center; min-height: 44px; }
/* tap target of 44 px (QA pass batch 3, harmony-ops#697): the area links on an agent card are plain text links, so inline padding gives the hit area */
/* QA pass 4 (owner GO 3 Nov): inline padding overlapped the line above when the areas wrap; rows of 44 px instead */
.af-areas { display: flex; flex-wrap: wrap; align-items: center; column-gap: 4px; row-gap: 0; }
.af-areas a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 2px; }

/* "Also listed by N agents" (harmony-ops#762): one property, several agents; plain rows, 48px tap targets */
.lp-also ul { list-style: none; margin: 8px 0 0; padding: 0; }
.lp-also li { border-top: 1px solid #e3eaed; }
.lp-also li:first-child { border-top: 0; }
.lp-also a { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 48px; padding: 8px 0; color: #12303a; text-decoration: none; font-size: 15px; }
.lp-also a:hover .lp-also-name, .lp-also a:focus-visible .lp-also-name { text-decoration: underline; }
.lp-also-name { font-weight: 700; overflow-wrap: anywhere; }
.lp-also-price { color: #26414b; white-space: nowrap; }

/* the video state for the poster (harmony-ops#877) */
.lp-video-state{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 16px;font-size:15px;color:#4A5560}.vu-badge{display:inline-block;padding:4px 10px;border-radius:999px;font-weight:600;font-size:13px;text-decoration:none}.vu-badge.is-wait{background:#fff4dc;color:#7a4f00}.vu-badge.is-bad{background:#fdecea;color:#8a1c12}a.vu-badge.is-bad{text-decoration:underline}
.lp-pill.lp-pill-check{color:#1A1F24;background:#fdecec}
.lp-in select{border:0;outline:0;background:transparent;font-size:16px;color:#12303a;min-height:44px;width:56px;flex:0 0 56px}
.lp-calc-gap{font-size:14px;font-weight:600;color:#26414b}

/* Report this listing / agent (owner feedback 19 Nov 2026, harmony-ops#1105): a quiet link that opens a short form; 44px taps, 16px inputs */
.rp { margin: 16px 0; }
.rp-sum { display: inline-flex; align-items: center; min-height: 44px; color: #4A5560; font-size: 15px; text-decoration: underline; cursor: pointer; list-style: none; }
.rp-sum::-webkit-details-marker { display: none; }
.rp-body { border: 1px solid #dfe5e8; border-radius: 12px; padding: 16px; margin-top: 8px; background: #fff; }
.rp-form fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.rp-form legend { font-weight: 600; font-size: 16px; color: #1A1F24; margin: 0 0 8px; }
.rp-opt { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 16px; color: #1A1F24; cursor: pointer; }
.rp-opt input[type=radio] { -webkit-appearance: radio; appearance: auto; display: inline-block; position: static; opacity: 1; visibility: visible; width: 20px; height: 20px; margin: 0; flex: 0 0 auto; accent-color: #146c75; }
.rp-form label[for] { display: block; font-weight: 600; font-size: 15px; color: #1A1F24; margin: 8px 0 4px; }
.rp-form textarea, .rp-form input[type=tel] { display: block; width: 100%; max-width: 100%; box-sizing: border-box; font-size: 16px; min-height: 44px; padding: 10px 12px; border: 1px solid #b8c4ca; border-radius: 8px; }
.rp-meta { font-size: 14px; color: #4A5560; margin: 4px 0 12px; }
.rp-send { min-height: 44px; }
.rp-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lp-poster a { color: inherit; text-decoration: none; }
.lp-poster-name a { display: inline-flex; align-items: center; min-height: 44px; }
.lp-poster-name a:hover, .lp-poster-name a:focus { text-decoration: underline; }
.lp-poster-photo { display: inline-flex; min-width: 56px; min-height: 56px; }
.lp-verified { color: #137333; font-weight: 600; }
.lp-claim { margin: 8px 0 16px; }
.lp-claim { line-height: 1.5; }
.lp-claim a { padding: 12px 0; }
.apg-rv-sum { margin: 4px 0 8px; font-size: 16px; }
.apg-rv-sum a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: #1A1F24; text-decoration: none; }
.apg-rv-stars { color: #1A1F24; }
.apg-leave { margin: 0 0 16px; }
.apg-leave .lp-btn { min-height: 44px; }
/* the key facts table (owner, 20 Nov 2026; listingdetails.php ld_key_facts) */
.lp-kf { width: 100%; border-collapse: collapse; font-size: 15px; }
.lp-kf th, .lp-kf td { text-align: left; vertical-align: top; padding: 8px 0; border-bottom: 1px solid #e3eaed; color: #1A1F24; }
.lp-kf th { width: 42%; font-weight: 500; color: #4A5560; padding-right: 16px; }
.lp-kf td { font-weight: 600; overflow-wrap: anywhere; }
.lp-kf tr:last-child th, .lp-kf tr:last-child td { border-bottom: 0; }
