/* MPVR listings. Brand colors sampled from mypuertoviejorealtor.com: mint buttons #80C4B5, charcoal #383838, logo coral #D6666E, white. */
:root {
  color-scheme: light;
  --sea: #80c4b5; --on-sea: #14302a; --sea-2: #383838; --jungle: #80c4b5; --coral: #d6666e; --mint-ink: #3a8a77; --charcoal: #383838;
  --bg: #ffffff; --ink: #404040; --muted: #6a6a6a; --line: #e4e4e4; --soft: #f4f4f4; --card: #ffffff;
  --head: "Outfit", Inter, system-ui, sans-serif; --body: Inter, system-ui, sans-serif;
  --r: 14px;
}
* { box-sizing: border-box; min-width: 0; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--body); overflow-x: clip; }
img { max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
[hidden] { display: none !important; }

/* Sign in */
.signin { min-height: 100dvh; display: grid; place-items: center; padding: 24px max(16px, env(safe-area-inset-left)); background: radial-gradient(120% 80% at 70% 0%, #4a4a4a, #383838 60%); }
.signin-card { width: min(420px, 100%); background: var(--card); border-radius: 20px; padding: 32px 28px; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.signin-logo { display: block; max-height: 90px; width: auto; margin-bottom: 20px; }
.signin h1 { font: 700 30px/1.1 var(--head); margin: 0 0 6px; }
.signin p { margin: 0 0 20px; color: var(--muted); }
.signin label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.signin input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); font-size: 16px; }
.signin button { margin-top: 14px; width: 100%; min-height: 48px; border: 0; border-radius: 10px; background: var(--sea); color: var(--on-sea); font-weight: 600; cursor: pointer; }
.signin button:disabled { opacity: .6; }
.err { color: var(--coral); min-height: 1.4em; margin: 10px 0 0 !important; font-size: 14px; }

/* Header */
.top { background: var(--bg); color: var(--ink); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
.top-in { max-width: 1320px; margin: 0 auto; padding: 12px max(16px, env(safe-area-inset-left)); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand img { display: block; height: 72px; width: auto; }
.top-right { display: flex; align-items: center; gap: 12px; }
.updated { font-size: 13px; color: var(--muted); }
.top .ghost { color: var(--ink); border-color: var(--line); }
.ghost { min-height: 40px; padding: 6px 14px; border: 1px solid var(--line); background: transparent; border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 500; }
.primary { min-height: 44px; padding: 8px 16px; border: 0; background: var(--sea); color: var(--on-sea); border-radius: 10px; cursor: pointer; font-weight: 600; white-space: nowrap; }
.notice { background: #fff4d6; color: #5a4300; font-size: 14px; padding: 10px max(16px, env(safe-area-inset-left)); text-align: center; }

/* Filters */
.filters { position: relative; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); }
.filters-in { max-width: 1320px; margin: 0 auto; padding: 12px max(16px, env(safe-area-inset-left)); display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.search input { width: 100%; min-height: 46px; padding: 10px 14px 10px 40px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23586a6c' stroke-width='2'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='m13 13 4 4'/%3E%3C/svg%3E") 14px 50% no-repeat; font-size: 16px; }
.more-btn span { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 4px; border-radius: 10px; background: var(--coral); color: #fff; font-size: 12px; }
.more-btn span:empty { display: none; }
.advanced { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px 12px; align-items: end; }
.advanced label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.advanced select { min-height: 42px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); font-size: 15px; color: var(--ink); }
.advanced .tog { flex-direction: row; align-items: center; gap: 8px; color: var(--ink); font-size: 14px; white-space: nowrap; min-height: 42px; }
.advanced .tog input { width: 18px; height: 18px; accent-color: var(--sea); }
.more-btn { display: none; }

/* Grid */
.main { max-width: 1320px; margin: 0 auto; padding: 18px max(16px, env(safe-area-inset-left)) 40px; }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.bar h1 { font: 600 22px/1.2 var(--head); margin: 0; font-variant-numeric: tabular-nums; }
.sort { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.sort select { min-height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 4px 8px; background: var(--card); color: var(--ink); font-size: 15px; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s ease-out; }
.card:hover { box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.card button.open { all: unset; cursor: pointer; display: flex; flex-direction: column; flex: 1; }
.card button.open:focus-visible { outline: 3px solid var(--coral); outline-offset: -3px; border-radius: var(--r); }
.ph { position: relative; aspect-ratio: 4 / 3; background: var(--soft); overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph .none { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; background: linear-gradient(180deg, var(--soft), var(--line)); }
.badges { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--charcoal); }
.badge.mpvr { background: var(--sea); color: var(--on-sea); }
.badge.pocket { background: #fff4d6; color: #5a4300; }
.pc { position: absolute; right: 10px; bottom: 10px; font-size: 12px; padding: 2px 8px; border-radius: 6px; background: rgba(0,0,0,.6); color: #fff; font-variant-numeric: tabular-nums; }
.cb { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.price { font: 700 22px/1.2 var(--head); color: var(--sea-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price small { font: 500 13px var(--body); color: var(--muted); margin-left: 6px; }
.name { font-weight: 600; line-height: 1.35; margin: 2px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.where { color: var(--muted); font-size: 14px; margin: 0; }
.facts-row { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; margin-top: auto; padding-top: 8px; font-variant-numeric: tabular-nums; }
.facts-row span { white-space: nowrap; }
.agency { font-size: 13px; color: var(--muted); }
.more { display: flex; justify-content: center; margin-top: 24px; }
.more button { min-height: 46px; padding: 10px 22px; border-radius: 999px; border: 0; background: var(--sea); color: var(--on-sea); font-weight: 600; cursor: pointer; }
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 60px 16px; }
.skel { height: 340px; border-radius: var(--r); background: linear-gradient(90deg, var(--soft), var(--line), var(--soft)); background-size: 200% 100%; }
@media (prefers-reduced-motion: no-preference) { .skel { animation: sh 1.2s linear infinite; } @keyframes sh { to { background-position: -200% 0; } } }
.foot { max-width: 1320px; margin: 0 auto; padding: 18px max(16px, env(safe-area-inset-left)) calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); }

/* Detail */
dialog { padding: 0; border: 0; border-radius: 18px; width: min(980px, calc(100% - 24px)); max-height: calc(100dvh - 24px); background: var(--card); color: var(--ink); overflow: hidden; }
dialog::backdrop { background: rgba(5, 20, 22, .7); }
.d-wrap { position: relative; max-height: calc(100dvh - 24px); overflow-y: auto; }
.close { position: absolute; z-index: 3; right: 12px; top: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.gallery { position: relative; background: #000; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 16 / 10; max-height: 62dvh; }
.slides::-webkit-scrollbar { display: none; }
.slides > div { flex: 0 0 100%; scroll-snap-align: center; display: grid; place-items: center; }
.slides img { width: 100%; height: 100%; object-fit: contain; }
.slides .none { color: #bbb; }
.nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--charcoal); font-size: 28px; line-height: 1; cursor: pointer; }
.prev { left: 10px; } .next { right: 10px; }
.pcount { position: absolute; left: 12px; bottom: 10px; font-size: 13px; color: #fff; background: rgba(0,0,0,.55); padding: 2px 8px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.d-body { padding: 20px 22px 26px; display: grid; gap: 16px; }
.d-head { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; align-items: flex-start; }
.d-price { font: 700 30px/1.1 var(--head); color: var(--sea-2); margin: 0; font-variant-numeric: tabular-nums; }
.d-head h2 { font: 600 20px/1.3 var(--head); margin: 6px 0 2px; text-wrap: balance; }
.d-where { margin: 0; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin: 0; }
.facts div { background: var(--soft); border-radius: 10px; padding: 10px 12px; }
.facts dt { font-size: 12px; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--soft); }
.d-summary { margin: 0; max-width: 72ch; white-space: pre-line; }
.d-share { width: 100%; box-sizing: border-box; display: grid; gap: 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--soft); }
.d-share-label { font: 600 12px var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.d-url { color: var(--mint-ink); font-weight: 600; word-break: break-all; }
.d-share-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.d-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; }
.d-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.d-links { display: flex; flex-wrap: wrap; gap: 10px; }
.d-links a { color: var(--mint-ink); font-weight: 600; }

@media (max-width: 1100px) { .advanced { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .more-btn { display: inline-block; }
  .advanced { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .advanced.open { display: grid; }
  .advanced { max-height: 75dvh; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 4px; }
  .show-btn { display: inline-flex !important; }
  .filters { position: static; }
  .updated { display: none; }
  .brand img { height: 54px; }
  .d-price { font-size: 26px; }
  dialog { width: 100%; max-height: 100dvh; border-radius: 0; margin: 0; height: 100dvh; max-width: 100%; }
  .d-wrap { max-height: 100dvh; }
}
.brand { color: var(--ink); text-decoration: none; font: 600 18px var(--head); }


/* Client picks */
.client { background: var(--soft); border-bottom: 1px solid var(--line); }
.client-in { max-width: 1320px; margin: 0 auto; padding: 10px max(16px, env(safe-area-inset-left)); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.client-form { display: flex; align-items: center; gap: 8px; }
.client-form label { font-weight: 600; font-size: 14px; white-space: nowrap; }
.client-form input { width: 100px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); font-size: 16px; font-variant-numeric: tabular-nums; }
.client-on { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 15px; }
.client-on .tog { display: flex; align-items: center; gap: 8px; font-size: 14px; min-height: 44px; }
.client-on .tog input { width: 18px; height: 18px; accent-color: var(--sea); }
.c-meta { color: var(--muted); font-variant-numeric: tabular-nums; }
.c-msg { margin: 0; font-size: 14px; color: var(--muted); }
.c-msg:empty { display: none; }
.c-msg.bad { color: var(--coral); }
.card { position: relative; }
.heart { min-width: 44px; min-height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--coral); font-size: 22px; line-height: 1; cursor: pointer; }
.heart[aria-pressed="true"] { background: var(--coral); color: #fff; border-color: var(--coral); }
.card .heart { position: absolute; z-index: 2; right: 10px; top: 10px; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.heart.big { font-size: 15px; font-weight: 600; padding: 8px 16px; white-space: nowrap; }
.heart:disabled { opacity: .5; }
.d-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ghost { white-space: nowrap; } .top-right { gap: 8px; }

.bar-right { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.ghost.icon { width: 44px; height: 44px; padding: 0; display: inline-grid; place-items: center; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 28px; }
.pager button { min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 600; cursor: pointer; font-variant-numeric: tabular-nums; }
.pager button[aria-current="page"] { background: var(--sea); border-color: var(--sea); color: var(--on-sea); }
.pager button:disabled { opacity: .4; cursor: default; }
.pager .gap { color: var(--muted); padding: 0 2px; }

@media (max-width: 700px) { .pager .pl { display: none; } .bar-right { flex-wrap: nowrap; } .pager { gap: 4px; } }

.client-form { position: relative; flex: 1 1 260px; max-width: 420px; }
.client-form input { flex: 1; width: auto; }
.c-results { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.c-results button { all: unset; display: block; width: 100%; box-sizing: border-box; padding: 12px; border-radius: 8px; cursor: pointer; font-weight: 500; }
.c-results button:hover, .c-results button:focus-visible { background: var(--soft); }

/* Intro */
.intro { background: var(--bg); border-bottom: 1px solid var(--line); }
.intro-in { max-width: 1320px; margin: 0 auto; padding: 32px max(16px, env(safe-area-inset-left)) 36px; display: grid; gap: 18px; }
.intro-top { display: flex; justify-content: space-between; align-items: center; }
.eyebrow { margin: 0; font: 600 13px var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--mint-ink); }
.intro h1 { margin: 0; font: 700 clamp(28px, 5vw, 46px)/1.08 var(--head); max-width: 20ch; text-wrap: balance; }
.intro-lede { margin: 0; max-width: 62ch; color: var(--muted); font-size: 17px; }
.intro-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.intro-text { display: grid; gap: 18px; align-content: center; }
.intro-photo { width: 100%; height: 100%; max-height: 360px; object-fit: cover; border-radius: 18px; display: block; }
@media (max-width: 800px) { .intro-head { grid-template-columns: 1fr; gap: 20px; } .intro-photo { max-height: 220px; } }
.intro-stats { display: flex; flex-wrap: wrap; gap: 10px 36px; margin: 4px 0 0; }
.intro-stats div { display: grid; }
.intro-stats dt { order: 2; font-size: 13px; color: var(--muted); }
.intro-stats dd { order: 1; margin: 0; font: 700 28px/1.1 var(--head); font-variant-numeric: tabular-nums; }
.steps { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--soft); border-radius: var(--r); padding: 18px; display: grid; gap: 6px; align-content: start; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sea); color: var(--on-sea); font: 700 14px var(--head); margin-bottom: 4px; }
.steps strong { font: 600 16px var(--head); }
.steps span { color: var(--muted); font-size: 15px; }
.intro-note { margin: 0; font-size: 14px; color: var(--muted); }
.intro-go { justify-self: start; text-decoration: none; display: inline-grid; place-items: center; }
.link-btn { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; min-height: 44px; font-size: 14px; }
.intro-show { display: block; margin: 10px auto 0; background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; min-height: 40px; font-size: 14px; }
.intro-show[hidden] { display: none; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .intro-in { padding-top: 24px; } }

.foot { background: var(--charcoal); color: #d8d8d8; border-top: 0; max-width: none; }
.foot > span { max-width: 1320px; }

.steps.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .steps.steps-3 { grid-template-columns: 1fr; } }

/* Sign-up gate and form (full MLS) */
.gate { margin: 26px 0 8px; padding: 24px; border-radius: var(--r); background: var(--soft); border: 1px solid var(--line); display: grid; gap: 10px; justify-items: start; }
.gate h2 { margin: 0; font: 700 clamp(20px, 3vw, 26px)/1.2 var(--head); text-wrap: balance; }
.gate p { margin: 0; color: var(--muted); max-width: 60ch; }
#join, #mylink { border: 0; border-radius: 18px; padding: 0; height: fit-content; margin: auto; width: min(480px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); }
#join::backdrop, #mylink::backdrop { background: rgba(20, 20, 20, .55); }
.join { position: relative; display: grid; gap: 12px; padding: 28px 24px 22px; }
.join h2 { margin: 0; font: 700 24px/1.2 var(--head); padding-right: 28px; }
.join-lede { margin: 0; color: var(--muted); }
.join label { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
.join input:not([type=radio]):not([type=checkbox]) { min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-weight: 400; }
.join fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.join legend { font-size: 14px; font-weight: 600; margin-bottom: 6px; width: 100%; }
.join .pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 500; }
.join .pill:has(input:checked) { border-color: var(--mint-ink); background: #e6f3f0; }
.join .close { position: absolute; top: 10px; right: 10px; }
.join select { min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-weight: 400; background: #fff; color: inherit; }
.j-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.j-phone { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.join[hidden] { display: none; }
.join .err { margin: 0; color: var(--coral); font-size: 14px; min-height: 1em; }
.join-fine { margin: 0; font-size: 12px; color: var(--muted); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.d-disc { margin: 0 0 14px; font-size: 14px; color: var(--muted); background: var(--soft); border-radius: 10px; padding: 10px 12px; }
.signin-back { margin-bottom: 14px; }
.c-list-lab { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }

.gate-top { margin: 0 0 16px; padding: 12px 16px; border-radius: var(--r); background: var(--soft); border: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; justify-content: space-between; }
.gate-top p { margin: 0; flex: 1 1 280px; }
.gate-top[hidden] { display: none; }
.intro-acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.intro-acts .intro-go { margin: 0; }
.join-btn[hidden] { display: none; }
.me-bar { margin: 0 0 16px; padding: 12px 16px; border-radius: var(--r); background: #e6f3f0; border: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; justify-content: space-between; }
.me-bar p { margin: 0; flex: 1 1 260px; }
.me-bar[hidden] { display: none; }
.me-bar [aria-pressed="true"] { background: var(--coral); color: #fff; border-color: var(--coral); }
.linkish { background: none; border: 0; padding: 4px 0; font: inherit; font-size: 14px; color: var(--mint-ink); text-decoration: underline; cursor: pointer; justify-self: start; }
.join-in { display: grid; gap: 12px; }
.join-in[hidden] { display: none; }
#ml-done:empty { display: none; }

/* Filters: features as tap-on pills, actions on their own row (directives 2.2) */
.feats { grid-column: 1 / -1; border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.feats[hidden] { display: none; }
.feats legend { font-size: 13px; color: var(--muted); margin-bottom: 6px; padding: 0; width: 100%; }
.feat { min-height: 38px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
.feat[aria-pressed="true"] { background: var(--sea); color: var(--on-sea); border-color: var(--sea); }
.adv-end { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.show-btn { display: none; margin-left: auto; }
/* Cards: Property ID and share links under each card (directives 4) */
.share-row { display: flex; align-items: center; gap: 8px; padding: 10px 16px 14px; border-top: 1px solid var(--line); font-size: 13px; }
.share-row .pid { color: var(--muted); margin-right: auto; font-variant-numeric: tabular-nums; }
.share-row .sh { color: var(--ink); text-decoration: none; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; min-height: 32px; display: inline-flex; align-items: center; }
.share-row .sh:hover { border-color: var(--ink); }
/* Listing window: contact our team (directives 6.4) */
.d-contact { margin-top: 22px; padding: 18px; border-radius: var(--r); background: var(--soft); display: grid; gap: 10px; }
.d-contact[hidden] { display: none; }
.d-contact h3 { margin: 0; font: 600 19px/1.3 var(--head); }
.d-contact p { margin: 0; color: var(--muted); max-width: 64ch; }
.d-contact-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.d-contact-btns a { text-decoration: none; display: inline-flex; align-items: center; }
.d-due a { color: var(--ink); font-size: 14px; }
/* Homepage: Have a Property for Sale, and the MLS disclosure (directives 7.2 and 8) */
.sell, .due { margin: 32px 0 0; padding: 24px; border-radius: var(--r); border: 1px solid var(--line); display: grid; gap: 10px; justify-items: start; }
.sell { background: var(--soft); }
.sell h2, .due h2 { margin: 0; font: 700 clamp(20px, 3vw, 24px)/1.2 var(--head); }
.sell p, .due p { margin: 0; max-width: 72ch; }
.due p { color: var(--muted); font-size: 15px; }
#sell { border: 0; border-radius: 18px; padding: 0; height: fit-content; margin: auto; width: min(520px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto; }
#sell::backdrop { background: rgba(20, 20, 20, .55); }
.join textarea { min-height: 96px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-weight: 400; resize: vertical; }
.foot a { color: inherit; }
