:root {
  --navy: #06264a;
  --navy-2: #0a315d;
  --ink: #101c2b;
  --muted: #6f7b89;
  --gold: #d7aa4f;
  --paper: #f5f2eb;
  --card: #fff;
  --line: #e2e4e5;
  --green: #1f7a55;
  --shadow: 0 16px 50px rgba(12, 35, 61, .12);
  --vvh: 100dvh;
  --photo-treatment: brightness(1.055) saturate(1.12) contrast(1.025);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: var(--vvh);
  background: linear-gradient(180deg, #f8f6f0, #f1efe8);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.shell { width: min(1360px, 100%); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.application-shell {
  position: relative;
  z-index: 30;
  padding-top: env(safe-area-inset-top);
  background: linear-gradient(180deg, rgba(248, 246, 240, .98) 78%, rgba(248, 246, 240, .9));
  border-bottom: 1px solid rgba(6, 38, 74, .07);
  backdrop-filter: blur(22px) saturate(145%);
  transition: box-shadow .2s ease;
}
.application-shell:focus-within { box-shadow: 0 12px 38px rgba(6, 38, 74, .12); }
.search-shell-spacer { width: 100%; }
.application-shell.search-docked {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(248, 246, 240, .97);
  box-shadow: 0 10px 32px rgba(6, 38, 74, .13);
}
.site-header { padding: 12px 30px 22px; }
.search-docked .site-header { padding: 8px 30px 10px; }
.search-docked .header-row { display: none; }
.search-docked .search-hero { max-width: 1180px; margin-top: 0; }
.search-docked .search-glass { padding: 4px 8px; border-radius: 18px; box-shadow: none; }
.search-docked .search-input svg { width: 21px; height: 21px; }
.search-docked .search-input input { height: 42px; font-size: 15px; }
.search-docked .quick-refinements { margin-top: 6px; }
.search-docked .quick-refinement-row { padding-bottom: 1px; }
.search-docked .quick-filter { min-height: 36px; border-radius: 11px; }
.search-docked .quick-filter select { height: 34px; }
.search-docked .quick-refinement-panel {
  position: absolute;
  z-index: 55;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  max-height: calc(var(--vvh) - 132px);
  overflow-y: auto;
  background: #fff;
  box-shadow: 0 18px 48px rgba(6, 38, 74, .18);
}
.header-row { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 13px; min-width: 250px; }
.brand-mark { color: var(--navy); font-size: 31px; font-weight: 900; letter-spacing: .12em; line-height: 1; }
.brand-mark::first-letter { letter-spacing: .05em; }
.brand-copy strong, .brand-copy small { display: block; }
.brand-copy strong { color: var(--navy); font-size: 14px; }
.brand-copy small { margin-top: 2px; color: #7b8490; font-size: 10px; letter-spacing: .05em; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.saved-action { min-height: 40px; padding: 0 13px; display: inline-flex; align-items: center; border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--navy); font-size: 13px; font-weight: 800; }
.saved-action:hover, .saved-action:focus-visible { border-color: rgba(6, 38, 74, .12); background: rgba(255, 255, 255, .7); }
.global-browse { position: relative; }
.global-browse summary { min-height: 40px; padding: 0 13px; display: inline-flex; align-items: center; border: 1px solid transparent; border-radius: 12px; color: var(--navy); font-size: 13px; font-weight: 800; cursor: pointer; list-style: none; }
.global-browse summary::-webkit-details-marker { display: none; }
.global-browse summary::after { content: "▾"; margin-left: 6px; font-size: 10px; }
.global-browse[open] summary, .global-browse summary:hover, .global-browse summary:focus-visible { border-color: rgba(6, 38, 74, .12); background: rgba(255, 255, 255, .7); }
.global-browse nav { position: absolute; top: calc(100% + 6px); right: 0; z-index: 10; width: 220px; padding: 8px; border: 1px solid rgba(6, 38, 74, .1); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.global-browse nav a { display: block; padding: 12px; border-radius: 10px; color: var(--navy); font-size: 13px; font-weight: 750; }
.global-browse nav a:hover, .global-browse nav a:focus-visible { background: #f4f2eb; }
.verify-action { display: grid; width: 154px; height: 42px; padding: 0; overflow: visible; place-items: center; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.verify-action img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; transition: transform 180ms cubic-bezier(.2, .8, .2, 1); }
.verify-action:hover img, .verify-action:focus-visible img { transform: translateX(4px); }

.search-hero { position: relative; max-width: 1040px; margin: clamp(24px, 4vw, 48px) auto 0; }
.active-search .search-hero { margin-top: clamp(20px, 3vw, 34px); }
.search-glass { display: grid; grid-template-columns: 1fr; gap: 0; padding: 10px; border: 1px solid rgba(6, 38, 74, .1); border-radius: 24px; background: rgba(255, 255, 255, .92); box-shadow: 0 18px 55px rgba(6, 38, 74, .14), inset 0 0 0 1px rgba(255, 255, 255, .9); backdrop-filter: blur(24px) saturate(140%); }
.search-glass:focus-within { background: #fff; border-color: rgba(215, 170, 79, .7); box-shadow: 0 12px 40px rgba(6, 38, 74, .16), 0 0 0 3px rgba(215, 170, 79, .14); }
.search-input { min-width: 0; display: flex; align-items: center; gap: 11px; padding: 0 10px; }
.search-input svg { width: 25px; height: 25px; flex: 0 0 auto; stroke: var(--navy); stroke-width: 2; }
.search-input input { width: 100%; height: 54px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 18px; }
.search-input input::placeholder { color: #8b949f; }
.quick-refinements { margin-top: 12px; }
.quick-refinement-row { display: flex; gap: 9px; align-items: stretch; overflow-x: auto; padding: 1px 1px 4px; scrollbar-width: thin; }
.quick-filter { min-width: 150px; min-height: 44px; padding: 0 13px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(6, 38, 74, .12); border-radius: 14px; background: rgba(255, 255, 255, .76); color: var(--navy); font-size: 12px; font-weight: 850; white-space: nowrap; }
.quick-filter label { cursor: default; }
.quick-filter span { flex: 0 0 auto; }
.quick-filter select { min-width: 0; max-width: 190px; height: 42px; border: 0; outline: 0; background: transparent; color: var(--navy); font-size: 12px; font-weight: 750; }
.quick-filter input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--navy); font-size: 12px; font-weight: 750; }
.quick-filter:has([data-discovery-control="location"]) { flex: 0 0 260px; }
.quick-filter:has([data-discovery-control="type"]) { flex: 0 0 190px; }
button.quick-filter { justify-content: space-between; }
.quick-filter.active { border-color: rgba(215, 170, 79, .7); background: #fff9eb; }
.quick-refinement-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 9px; padding: 13px; border: 1px solid rgba(6, 38, 74, .1); border-radius: 15px; background: rgba(255, 255, 255, .82); box-shadow: 0 12px 32px rgba(6, 38, 74, .07); }
.quick-refinement-panel label { display: grid; gap: 6px; color: #566474; font-size: 10px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.quick-refinement-panel select, .quick-refinement-panel input { width: 100%; height: 42px; padding: 0 11px; border: 1px solid rgba(6, 38, 74, .12); border-radius: 12px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.intelligent-filter-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.filter-coverage-note { grid-column: 1 / -1; margin: 2px 0 0; padding: 10px 12px; border-left: 3px solid var(--gold); border-radius: 8px; background: rgba(215, 170, 79, .1); color: #5f6874; font-size: 11px; line-height: 1.5; }

.page-shell { min-height: 70vh; padding: 12px 30px 100px; }
.page-shell:focus { outline: none; }
.catalog-view { max-width: 1280px; margin: auto; }
.catalog-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 18px 0 14px; }
.eyebrow { margin: 0; color: #8a6a29; font-size: 11px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.catalog-head h1, .detail-panel h1, .development-copy h1 { margin: 6px 0 0; color: var(--navy); font-size: clamp(28px, 3vw, 43px); line-height: 1.04; letter-spacing: -.045em; }
.catalog-head p:not(.eyebrow) { margin: 7px 0 0; color: var(--muted); font-size: 14px; }
.result-count { white-space: nowrap; }
.catalog-context { margin: 10px 0 12px; color: var(--muted); font-size: 12px; font-weight: 750; }
.chips { display: flex; gap: 9px; padding-bottom: 17px; overflow-x: auto; scrollbar-width: none; }
.chip { height: 38px; padding: 0 15px; border: 1px solid #d9dcdf; border-radius: 999px; background: rgba(255, 255, 255, .66); color: #516071; font-size: 13px; font-weight: 800; white-space: nowrap; }
.chip.active { border-color: var(--navy); background: var(--navy); color: #fff; }
.active-filter-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; color: #6b7683; font-size: 12px; }
.active-filter-summary button, .empty button { min-height: 38px; padding: 0 13px; border: 1px solid rgba(6, 38, 74, .13); border-radius: 11px; background: #fff; color: var(--navy); font-size: 12px; font-weight: 850; }
.catalog-pagination { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 28px 0 4px; color: var(--muted); font-size: 12px; font-weight: 800; }
.catalog-pagination button { min-height: 40px; padding: 0 15px; border: 1px solid rgba(6, 38, 74, .14); border-radius: 12px; background: #fff; color: var(--navy); font: inherit; cursor: pointer; }
.catalog-pagination button:hover:not(:disabled) { border-color: rgba(6, 38, 74, .3); box-shadow: 0 6px 18px rgba(6, 38, 74, .08); }
.catalog-pagination button:disabled { opacity: .4; cursor: default; }

/* Owner-approved SEO directory: below results/pagination, before the footer. */
.location-directory { margin-top: 44px; padding: 32px 0 12px; border-top: 1px solid var(--line); color: var(--navy); }
.location-directory-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; margin-bottom: 26px; }
.location-directory-heading .eyebrow { margin: 0 0 8px; color: #947132; font-size: 11px; letter-spacing: .13em; }
.location-directory-heading h2 { margin: 0 0 8px; font-size: clamp(22px, 2.5vw, 28px); line-height: 1.25; letter-spacing: -.025em; font-weight: 650; }
.location-directory-heading p:not(.eyebrow) { margin: 0; color: #617083; font-size: 14px; line-height: 1.5; }
.location-directory-all-link { flex-shrink: 0; display: inline-flex; gap: 9px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.location-directory-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.location-directory-column { min-width: 0; }
.location-directory-column h3 { margin: 0 0 10px; font-size: 14px; font-weight: 650; }
.location-directory-link { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 42px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.4; }
.location-directory-link > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.location-directory-count { flex-shrink: 0; font-size: 12px; font-variant-numeric: tabular-nums; color: #617083; }
.location-directory-link:hover, .location-directory-all-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.location-directory-picker { margin-top: 16px; border: 1px solid var(--line); border-radius: 9px; background: var(--card); }
.location-directory-picker summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; min-height: 46px; list-style: none; font-size: 13px; cursor: pointer; }
.location-directory-picker summary::-webkit-details-marker { display: none; }
.location-directory-picker[open] summary > span { transform: rotate(180deg); }
.location-directory-picker-body { padding: 0 14px 12px; }
.location-directory-picker input { width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; margin-bottom: 6px; border: 1px solid var(--line); border-radius: 7px; background: #f8f9fa; color: var(--navy); font: inherit; font-size: 16px; }
.location-directory-picker-body > nav { max-height: 300px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.location-directory-picker .location-directory-link { padding-right: 8px; font-size: 13px; }
.location-directory-picker .location-directory-link:last-child { border-bottom: 0; }
.location-directory-empty { margin: 12px 0 4px; color: #617083; font-size: 13px; }
.location-directory-all { margin-top: 26px; scroll-margin-top: 130px; }
.location-directory-all-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
@media (max-width: 760px) {
  .location-directory { margin-top: 32px; padding-top: 26px; }
  .location-directory-heading { flex-direction: column; gap: 12px; margin-bottom: 22px; }
  .location-directory-columns { grid-template-columns: 1fr; gap: 26px; }
  .location-directory-all-grid { grid-template-columns: 1fr; }
  .location-directory-all-link { min-height: 44px; align-items: center; }
}
.evidence-label-guide { margin: 18px 0 0; padding: 12px 15px; border: 1px solid rgba(6, 38, 74, .09); border-radius: 14px; background: rgba(255, 255, 255, .58); color: #596677; font-size: 12px; }
.ask-launcher { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 40; min-height: 44px; padding: 0 17px; border: 1px solid rgba(6, 38, 74, .14); border-radius: 999px; background: #fff; color: var(--navy); box-shadow: 0 12px 35px rgba(6, 38, 74, .16); font-weight: 850; }
.page-action-bar-active .ask-launcher {
  bottom: var(--page-action-bar-clearance, max(18px, env(safe-area-inset-bottom)));
}
.evidence-label-guide summary { color: var(--navy); font-weight: 800; cursor: pointer; }
.catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 19px; }
.property-card { overflow: hidden; border: 1px solid rgba(6, 38, 74, .08); border-radius: 22px; background: var(--card); box-shadow: 0 6px 28px rgba(6, 38, 74, .055); transition: transform .2s ease, box-shadow .2s ease; }
.property-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.property-media { position: relative; height: 250px; overflow: hidden; background: linear-gradient(135deg, #e9efe9, #d9e2de); }
.property-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(255, 253, 247, .17), transparent 58%, rgba(4, 24, 45, .08)); mix-blend-mode: soft-light; }
.property-media img { width: 100%; height: 100%; display: block; object-fit: cover; filter: var(--photo-treatment); transition: transform .4s ease, filter .25s ease; }
.property-media-data { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: end; gap: 7px; padding: 28px 20px 22px; background: linear-gradient(145deg, #dce8e2, #f6f0df); color: var(--navy); }
.property-media-data.bank { background: linear-gradient(145deg, #082d55, #315f77); color: #fff; }
.property-media-data.bank[data-bank-theme="bai-institutional-pvb-green"] {
  background: linear-gradient(145deg, #86c05b, #eff7e9);
  color: #173309;
}
.property-media-data.bank[data-bank-theme="bai-institutional-metrobank-blue"] {
  background: linear-gradient(145deg, #001A88, #0357FF);
  color: #FFFFFF;
}
.property-media-data.bank[data-bank-theme="bai-institutional-red"] {
  background: linear-gradient(145deg, #611014, #EE292B 68%, #C08E40);
  color: #FFFFFF;
}
.property-media-data.bank[data-bank-theme="bai-institutional-pnb-navy"] {
  background: linear-gradient(145deg, #0A2152, #10357F 68%, #30CDD7);
  color: #FFFFFF;
}
.property-media-data.bank[data-bank-theme="bai-institutional-gold"] {
  background: linear-gradient(145deg, #FFCC00, #FFE680);
  color: #000000;
}
.property-media-data span { width: fit-content; padding: 6px 9px; border: 1px solid currentColor; border-radius: 999px; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; opacity: .78; }
.property-media-data strong { max-width: 24ch; overflow-wrap: anywhere; font-family: Georgia, serif; font-size: 24px; line-height: 1.08; }
.property-media-data small { max-width: 34ch; font-size: 12px; line-height: 1.4; opacity: .78; }
/* Card placeholders keep institutional text centered in a protected field:
   upper-left classification, upper-right utilities, lower-left campaign tag. */
.property-card .property-media-data {
  align-items: center;
  justify-content: center;
  padding: 60px 16px 50px;
  text-align: center;
}
.property-card .property-media-data-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  max-height: 100%;
  min-width: 0;
  overflow: hidden;
}
.property-card .property-media-data-content strong {
  display: -webkit-box;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
  font-size: clamp(14px, 1.7vw, 22px);
  line-height: 1.12;
}
.property-card .property-media-data-content span { width: auto; }
.property-card .property-media-data-content small {
  max-width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.media-context-label { position: absolute; z-index: 2; left: 13px; bottom: 13px; padding: 7px 10px; border-radius: 999px; background: rgba(4, 24, 45, .82); color: #fff; font-size: 10px; font-weight: 800; }
.representation-label { margin-top: 10px; color: #38624d; font-size: 12px; font-weight: 800; }
.property-card:hover .property-media img { transform: scale(1.025); filter: brightness(1.075) saturate(1.15) contrast(1.025); }
.promotion-card-badge { position: absolute; z-index: 3; bottom: 12px; left: 13px; display: inline-flex; align-items: center; max-width: calc(100% - 26px); min-height: 32px; padding: 7px 11px; border: 1px solid rgba(255, 255, 255, .72); border-radius: 999px; background: #e2b84f; color: var(--navy); box-shadow: 0 8px 22px rgba(4, 24, 45, .18); font-size: 11px; font-weight: 850; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status-badge, .save-action { position: absolute; z-index: 1; top: 13px; border: 1px solid rgba(255, 255, 255, .82); background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); }
.status-badge { left: 13px; padding: 7px 10px; border-radius: 999px; color: var(--navy); font-size: 11px; font-weight: 850; }
.save-action { right: 13px; width: 40px; height: 40px; border-radius: 50%; color: var(--navy); font-size: 20px; }
.save-action.saved { background: var(--navy); color: #fff; }
.card-body { min-height: 250px; padding: 18px; display: flex; flex-direction: column; }
.card-type { margin-bottom: 8px; color: #8a6a29; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.card-transaction { align-self: flex-start; width: max-content; padding: 5px 8px; border-radius: 999px; }
.card-transaction[data-transaction="sale"] { background: rgba(6, 38, 74, .08); color: var(--navy); }
.card-transaction[data-transaction="lease"] { background: #f1dfab; color: #6b4e0e; }
.card-body h2 { margin: 6px 0; min-height: 2.5em; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: #17263a; font-size: 19px; line-height: 1.25; }
.location { min-height: 2.9em; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: var(--muted); font-size: 13px; line-height: 1.45; }
.card-facts { min-height: 48px; margin: 14px 0; display: flex; gap: 12px; }
.card-facts div { min-width: 0; }
.card-facts dt { color: #7d8792; font-size: 10px; font-weight: 750; }
.card-facts dd { margin: 3px 0 0; color: #303e4e; font-size: 12px; font-weight: 850; }
.card-summary { min-height: 58px; color: #596677; font-size: 12px; line-height: 1.55; }
.source-row { min-height: 42px; margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 12px; padding-top: 13px; border-top: 1px solid #edf0f1; }
.source-row strong, .source-row small { display: block; }
.source-row strong { max-width: 55%; overflow: hidden; color: #303e4e; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.source-row small { margin-top: 3px; color: #7d8792; font-size: 11px; }
.freshness { color: #8a6a29; font-size: 11px; font-weight: 800; text-align: right; }
.empty { grid-column: 1 / -1; padding: 70px 20px; color: var(--muted); text-align: center; }
.catalog-network-status { position: sticky; top: 0; z-index: 70; padding: 10px 20px; border-bottom: 1px solid rgba(138, 106, 41, .24); background: #fff2cd; color: #5f4b20; font-size: 12px; font-weight: 800; text-align: center; }
.catalog-network-status[hidden] { display: none; }
.catalog-exception { width: min(760px, calc(100% - 32px)); margin: 38px auto 80px; padding: clamp(28px, 6vw, 58px); border: 1px solid rgba(6, 38, 74, .1); border-radius: 24px; background: rgba(255, 255, 255, .78); box-shadow: 0 20px 55px rgba(6, 38, 74, .07); color: var(--muted); text-align: left; }
.catalog-exception h1 { max-width: 18ch; margin: 8px 0 12px; color: var(--navy); font-size: clamp(32px, 5vw, 52px); line-height: 1.02; letter-spacing: -.045em; }
.catalog-exception > p:not(.eyebrow) { max-width: 62ch; line-height: 1.65; }
.catalog-exception-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.catalog-exception-actions button { min-height: 44px; padding: 0 16px; border: 1px solid var(--navy); border-radius: 12px; background: var(--navy); color: #fff; font-weight: 850; }
.catalog-exception-actions button + button { background: #fff; color: var(--navy); }
.catalog-exception-actions button:disabled { cursor: not-allowed; opacity: .48; }
.catalog-loading-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.catalog-loading-grid span { min-height: 170px; border-radius: 18px; background: linear-gradient(100deg, #eef0ed 20%, #f8f7f2 45%, #eef0ed 70%); background-size: 240% 100%; animation: catalog-loading-sheen 1.4s ease-in-out infinite; }
@keyframes catalog-loading-sheen { to { background-position: -140% 0; } }
@media (prefers-reduced-motion: reduce) { .catalog-loading-grid span { animation: none; } }

.detail-view { max-width: 1180px; margin: 18px auto; }
.back-action { padding: 10px 0; border: 0; background: transparent; color: var(--navy); font-weight: 800; }
.back-action:hover, .back-action:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.development-hero { position: relative; min-height: 520px; display: flex; align-items: end; overflow: hidden; border-radius: 28px; background: #dbe3df; color: #fff; }
/* No-image hero backdrop must not duplicate source text beneath its heading.
   The named source remains in Development record details below the hero. */
.development-hero > .property-media-data > * { visibility: hidden; }
.development-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--photo-treatment); }
.development-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 250, 236, .04), rgba(4, 22, 41, .18) 45%, rgba(4, 22, 41, .9)); }
.development-copy { position: relative; z-index: 1; max-width: 790px; padding: clamp(26px, 5vw, 58px); }
.development-copy .eyebrow { color: #f1cf79; }
.development-copy h1 { color: #fff; font-family: Georgia, serif; font-size: clamp(40px, 6vw, 70px); }
.development-copy p { color: rgba(255, 255, 255, .82); line-height: 1.6; }
.development-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.development-badges span { padding: 8px 10px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: 12px; backdrop-filter: blur(8px); }
.development-developer-link { margin-top: 15px; padding: 10px 13px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 12px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 12px; font-weight: 800; backdrop-filter: blur(8px); }
.developer-view { max-width: 1180px; margin: 18px auto; }
.developer-landing-hero { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(250px, .7fr); overflow: hidden; border: 1px solid rgba(6, 38, 74, .08); border-radius: 28px; background: linear-gradient(135deg, #fffdf8 0%, #f3efe5 58%, #e5ebe7 100%); box-shadow: var(--shadow); }
.developer-landing-copy { padding: clamp(34px, 6vw, 72px); }
.developer-landing-copy h1 { max-width: 790px; margin: 10px 0 18px; color: var(--navy); font-family: Georgia, serif; font-size: clamp(38px, 5vw, 64px); line-height: 1.02; letter-spacing: -.045em; }
.developer-landing-copy > p:not(.eyebrow) { max-width: 700px; color: #526174; font-size: 16px; line-height: 1.7; }
.developer-landing-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.developer-landing-actions a, .developer-landing-actions button, .developer-project-copy .record-link { min-height: 45px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--navy); border-radius: 13px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 850; }
.developer-landing-actions button { background: transparent; color: var(--navy); }
.developer-landing-stat { display: flex; min-height: 290px; padding: 36px; flex-direction: column; align-items: center; justify-content: center; background: var(--navy); color: #fff; text-align: center; }
.developer-landing-stat strong { color: #efc765; font-family: Georgia, serif; font-size: 76px; line-height: .9; }
.developer-landing-stat span { max-width: 220px; margin-top: 14px; font-weight: 800; line-height: 1.45; }
.developer-landing-stat small { margin-top: 12px; color: rgba(255, 255, 255, .7); }
.developer-intro { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 7vw, 90px); padding: clamp(36px, 7vw, 72px) clamp(4px, 3vw, 28px); align-items: start; }
.developer-intro h2, .developer-section-head h2, .developer-verify-callout h2 { margin: 6px 0 0; color: var(--navy); font-size: clamp(27px, 3vw, 40px); line-height: 1.08; letter-spacing: -.035em; }
.developer-intro > p { margin: 0; color: #5b6877; font-size: 15px; line-height: 1.75; }
.developer-projects { padding: clamp(25px, 5vw, 48px); border-radius: 26px; background: rgba(255, 255, 255, .6); }
.developer-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.developer-section-head > p { color: var(--muted); font-size: 13px; }
.developer-project-grid { display: grid; gap: 20px; }
.developer-project-card { display: grid; grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr); overflow: hidden; border: 1px solid rgba(6, 38, 74, .09); border-radius: 22px; background: #fff; box-shadow: 0 10px 30px rgba(6, 38, 74, .07); }
.developer-project-media { min-height: 310px; overflow: hidden; }
.developer-project-media img { width: 100%; height: 100%; display: block; object-fit: cover; filter: var(--photo-treatment); }
.developer-project-copy { padding: clamp(24px, 4vw, 42px); display: flex; flex-direction: column; min-width: 0; }
.developer-project-copy .developer-project-meta { margin-top: auto; padding-top: 20px; }
.developer-project-copy > .record-link { align-self: flex-start; flex-shrink: 0; }
/* Existing exact-property card contract: keep footer below variable-length facts. */
.property-card { height: 100%; }
.property-card .card-body > .source-row { margin-top: auto; }

/* All cards use the height required by the longest visible card on this page. */
/* Each row hugs its own tallest card (footers still align within a row); no page-wide padding. */
:is(.catalog-view, .developer-view, .locked-development-page) .catalog-grid { grid-auto-rows: auto; align-items: stretch; }
:is(.catalog-view, .developer-view, .locked-development-page) .property-card { display: flex; flex-direction: column; height: 100%; min-height: 0; }
:is(.catalog-view, .developer-view, .locked-development-page) .property-media { height: 205px; flex: 0 0 205px; }
:is(.catalog-view, .developer-view, .locked-development-page) .property-media-data { padding: 60px 16px 50px; }
:is(.catalog-view, .developer-view, .locked-development-page) .property-media-data strong { font-size: clamp(14px, 1.7vw, 21px); }
:is(.catalog-view, .developer-view, .locked-development-page) .card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  padding: 14px 16px 12px;
}
:is(.catalog-view, .developer-view, .locked-development-page) .card-body h2 {
  min-height: 0;
  margin: 4px 0 3px;
  font-size: 17px;
  line-height: 1.24;
}
:is(.catalog-view, .developer-view, .locked-development-page) .card-body .location {
  min-height: 0;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
}
:is(.catalog-view, .developer-view, .locked-development-page) .card-facts {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 4px 8px;
  min-height: 0;
  margin: 8px 0 10px;
  color: #35475a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}
:is(.catalog-view, .developer-view, .locked-development-page) .card-facts > div { min-width: 0; flex: 1 1 auto; }
:is(.catalog-view, .developer-view, .locked-development-page) .card-facts dt { color: #7d8792; font-size: 10px; font-weight: 750; }
:is(.catalog-view, .developer-view, .locked-development-page) .card-facts dd { margin: 3px 0 0; color: #303e4e; font-size: 12px; font-weight: 850; }
:is(.catalog-view, .developer-view, .locked-development-page) .card-body > .card-price-disclosure {
  overflow: hidden;
  margin: 0 0 3px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
:is(.catalog-view, .developer-view, .locked-development-page) .card-summary {
  min-height: 0;
  margin: 7px 0 10px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
:is(.catalog-view, .developer-view, .locked-development-page) .property-card .card-body > .source-row {
  min-height: 34px;
  flex: 0 0 auto;
  margin-top: auto;
  align-items: center;
  padding-top: 6px;
}
:is(.catalog-view, .developer-view, .locked-development-page) .source-row .freshness { font-size: 12px; white-space: nowrap; }

/* Location discovery is a secondary crawlable directory, not the hero. */
.catalog-view #location-collections {
  margin-top: 28px;
  padding: 20px 24px;
  border: 1px solid rgba(6, 38, 74, .07);
  border-radius: 18px;
}
.catalog-view #location-collections .developer-section-head { margin-bottom: 14px; }
.catalog-view #location-collections h2 { font-size: clamp(20px, 2vw, 26px); }
.location-explorer { margin-top: 28px; padding: 20px 24px; border: 1px solid rgba(6, 38, 74, .07); border-radius: 18px; background: rgba(255,255,255,.68); }
.location-explorer .developer-section-head { margin-bottom: 14px; }
.location-explorer h2 { font-size: clamp(20px, 2vw, 26px); }
.location-explorer-select { display: grid; gap: 6px; max-width: 460px; color: #536475; font-size: 12px; font-weight: 800; }
.location-explorer-select select { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid rgba(6,38,74,.14); border-radius: 12px; background: #fff; color: var(--navy); font: inherit; }
.location-explorer-links { margin-top: 14px; color: var(--navy); }
.location-explorer-links summary { cursor: pointer; font-size: 12px; font-weight: 850; }
.location-explorer-links nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.location-explorer-links a { padding: 8px 10px; border: 1px solid rgba(6,38,74,.1); border-radius: 10px; color: var(--navy); font-size: 12px; font-weight: 750; }
.developer-project-copy h2 { margin: 7px 0; color: var(--navy); font-size: clamp(25px, 3vw, 36px); }
.developer-project-copy > p:not(.eyebrow, .location) { color: #5d6978; line-height: 1.65; }
.developer-project-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.developer-project-meta span { padding: 7px 10px; border-radius: 999px; background: #f4f1e9; color: #5b6672; font-size: 11px; font-weight: 800; }
.developer-verify-callout { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; margin-top: 28px; padding: clamp(28px, 5vw, 48px); align-items: center; border: 1px solid rgba(6, 38, 74, .09); border-radius: 24px; background: #f2efe7; color: var(--navy); }
.developer-verify-callout h2 { color: var(--navy); }
.developer-verify-callout p:not(.eyebrow) { max-width: 720px; color: var(--graphite); line-height: 1.65; }
.developer-verify-callout .eyebrow { color: #efc765; }
.developer-verify-callout button { width: 168px; height: 50px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.developer-verify-callout img { width: 100%; height: 100%; object-fit: contain; }
.detail-identity { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; overflow: hidden; border: 1px solid rgba(6, 38, 74, .09); border-radius: 18px; background: rgba(255, 255, 255, .76); box-shadow: 0 12px 30px rgba(6, 38, 74, .05); }
.detail-identity div { display: grid; gap: 6px; min-height: 92px; padding: 18px 20px; border-right: 1px solid rgba(6, 38, 74, .09); }
.detail-identity div:last-child { border-right: 0; }
.detail-identity span { color: #728092; font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.detail-identity strong { color: var(--navy); font-size: 14px; line-height: 1.4; }
.promotion-section { margin: 24px 0; padding: clamp(22px, 4vw, 38px); border: 1px solid rgba(178, 137, 44, .32); border-radius: 24px; background: linear-gradient(145deg, #fffdf8, #f7efd9); }
.promotion-section > h2 { margin: 4px 0 8px; color: var(--navy); }
.promotion-section > p:not(.eyebrow) { max-width: 760px; color: var(--muted); }
.promotion-detail-stack { display: grid; gap: 14px; margin-top: 20px; }
.promotion-detail-card { padding: 20px; border: 1px solid rgba(7, 34, 59, .1); border-radius: 16px; background: rgba(255, 255, 255, .86); }
.promotion-detail-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 14px; }
.promotion-detail-head > span { color: #765614; font-size: 12px; font-weight: 850; }
.promotion-detail-head small { color: var(--muted); }
.promotion-detail-card h3 { margin: 10px 0; color: var(--navy); font-size: 22px; }
.promotion-detail-card ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; padding: 0; list-style: none; }
.promotion-detail-card li { padding: 7px 9px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: 12px; font-weight: 750; }
.promotion-terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.promotion-terms p { margin: 0; padding: 11px; border-radius: 10px; background: rgba(7, 34, 59, .045); color: var(--muted); font-size: 12px; }
.promotion-terms strong { display: block; margin-bottom: 4px; color: var(--navy); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
.promotion-boundary { color: var(--muted); font-size: 12px; }
.promotion-source { display: flex; flex-wrap: wrap; gap: 6px 12px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.promotion-source a { color: var(--navy); font-weight: 800; }
.intelligence-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.info-card { padding: 22px; border: 1px solid rgba(6, 38, 74, .08); border-radius: 22px; background: #fff; }
.info-card h2 { margin: 7px 0 14px; color: var(--navy); }
.info-card p { color: var(--muted); line-height: 1.65; }
.evidence-list { display: grid; gap: 8px; }
.evidence-item { display: grid; grid-template-columns: 122px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid #eceeef; }
.evidence-item:last-child { border: 0; }
.evidence-state { width: max-content; height: max-content; padding: 6px 8px; border-radius: 8px; font-size: 10px; font-weight: 900; letter-spacing: .07em; }
.source-says { background: #eef1f5; color: #43566f; }
.observed { background: #e9f4ef; color: #176244; }
.derived { background: #f8f0dc; color: #825e16; }
.evidence-item strong, .evidence-item small { display: block; }
.evidence-item strong { color: #28384b; font-size: 13px; }
.evidence-item small { margin-top: 3px; color: var(--muted); }
.overview-card { background: linear-gradient(145deg, rgba(255, 255, 255, .97), rgba(246, 243, 234, .82)); }
.source-link, .record-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; color: var(--navy); font-size: 13px; font-weight: 850; text-decoration: underline; text-underline-offset: 4px; }
.detail-next-step { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 18px; margin-top: 18px; padding: clamp(23px, 4vw, 38px); border-radius: 24px; background: linear-gradient(130deg, #f2ecdf, #fffdf8 58%, #edf4ef); }
.detail-next-step h2 { max-width: 620px; margin: 7px 0 0; color: var(--navy); font-size: clamp(26px, 3vw, 38px); line-height: 1.08; letter-spacing: -.04em; }
.detail-checklist { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; counter-reset: detail-check; }
.detail-checklist li { position: relative; min-height: 48px; padding: 13px 13px 13px 50px; border: 1px solid rgba(6, 38, 74, .1); border-radius: 13px; background: rgba(255, 255, 255, .72); color: #4f6071; font-size: 13px; line-height: 1.5; }
.detail-checklist li::before { counter-increment: detail-check; content: counter(detail-check); position: absolute; top: 12px; left: 14px; display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-size: 10px; font-weight: 900; }
.detail-verify-card { align-self: stretch; padding: 22px; border: 1px solid rgba(6, 38, 74, .09); border-radius: 18px; background: #f2efe7; box-shadow: 0 18px 34px rgba(6, 38, 74, .1); color: var(--navy); }
.detail-verify-card img { display: block; width: min(100%, 180px); height: auto; margin-inline: auto; object-fit: contain; object-position: center; border-radius: 8px; }
.detail-verify-card h3 { margin: 22px 0 0; font-size: 22px; letter-spacing: -.035em; }
.detail-verify-card p { margin: 9px 0 18px; color: var(--graphite); font-size: 12px; line-height: 1.6; }
.detail-verify-card .canonical-verify-action { width: min(100%, 180px); min-height: 42px; }
.detail-verify-card button, .record-link { min-height: 42px; padding: 0 15px; border: 0; border-radius: 12px; background: #fff; color: var(--navy); font-size: 12px; font-weight: 850; text-decoration: none; }
.property-record-panel { max-width: 650px; padding: clamp(26px, 5vw, 54px); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.property-record-panel h1 { margin: 8px 0 0; color: var(--navy); font-size: clamp(32px, 5vw, 52px); letter-spacing: -.05em; }
.property-record-panel p:not(.eyebrow) { color: var(--muted); line-height: 1.65; }

.sheet-backdrop { position: fixed; inset: 0; z-index: 60; display: grid; align-items: end; background: rgba(4, 18, 34, .48); backdrop-filter: blur(8px); }
.action-sheet { width: min(620px, calc(100% - 24px)); margin: 0 auto 12px; padding: 24px; border-radius: 25px; background: #fff; box-shadow: 0 25px 80px rgba(3, 18, 36, .3); }
.sheet-brand { display: grid; height: 58px; margin: -7px 0 12px; padding: 0; overflow: visible; place-items: center; border-radius: 0; background: transparent; box-shadow: none; }
.sheet-brand img { display: block; width: 100%; min-width: 0; height: 100%; min-height: 0; max-width: 100%; max-height: 100%; align-self: stretch; justify-self: stretch; object-fit: contain; object-position: center; }
.sheet-head { display: flex; justify-content: space-between; gap: 20px; }
.sheet-head h2 { margin: 5px 0; color: var(--navy); }
.close-action { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f0f1f1; color: var(--navy); font-size: 24px; }
.action-sheet > p { color: var(--muted); line-height: 1.55; }
.action-sheet label { display: block; margin: 15px 0 7px; color: var(--navy); font-size: 12px; font-weight: 800; }
.action-sheet textarea { width: 100%; min-height: 100px; padding: 13px; resize: vertical; border: 1px solid #d9dcdf; border-radius: 14px; outline: 0; }
.broker-handoff { margin-top: 16px; padding: 16px; border: 1px solid rgba(195, 162, 100, .4); border-radius: 16px; background: #fbf8ef; }
.broker-provider { display: grid; gap: 4px; }
.broker-provider span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.broker-provider strong { color: var(--navy); font-size: 17px; }
.broker-handoff > p, .broker-handoff > small { display: block; margin: 10px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.broker-help-list { display: grid; gap: 5px; margin: 8px 0 0; padding-left: 19px; color: var(--navy); font-size: 11px; line-height: 1.45; }
.broker-handoff .broker-boundary { margin-top: 8px; }
.broker-contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.broker-contact-fields label { margin-top: 13px; }
.broker-contact-fields input { display: block; width: 100%; min-height: 44px; margin-top: 6px; padding: 0 11px; border: 1px solid #d9dcdf; border-radius: 11px; background: #fff; color: var(--navy); font: inherit; }
.action-sheet .broker-consent { display: grid; grid-template-columns: 18px 1fr; gap: 9px; align-items: start; margin-top: 14px; font-size: 11px; font-weight: 650; line-height: 1.5; }
.broker-consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--navy); }
.verify-scopes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.verify-scopes button { min-height: 42px; border: 1px solid #dce0e2; border-radius: 12px; background: #f7f6f2; color: #465566; font-size: 12px; font-weight: 750; }
.verify-scopes button.selected { border-color: var(--gold); background: #fbf5e6; color: var(--navy); }
.assistance-choices > p { margin: 14px 0 7px; color: var(--navy); font-size: 12px; font-weight: 800; }
.assistance-choices > div { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.assistance-choices button { min-height: 44px; padding: 8px 10px; border: 1px solid #dce0e2; border-radius: 12px; background: #fff; color: #465566; font-size: 12px; font-weight: 750; }
.assistance-choices button.selected { border-color: var(--gold); background: #fbf5e6; color: var(--navy); }
.sheet-submit { width: 100%; height: 48px; margin-top: 12px; border: 0; border-radius: 14px; background: var(--navy); color: #fff; font-weight: 850; }
.toast { position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 70; padding: 11px 15px; border-radius: 999px; background: #10263a; color: #fff; opacity: 0; transform: translate(-50%, 20px); pointer-events: none; transition: .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 920px) {
  .brand-copy { display: none; }
  .brand { min-width: auto; }
  .catalog-grid, .catalog-loading-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intelligent-filter-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .developer-landing-hero { grid-template-columns: 1fr; }
  .developer-landing-stat { min-height: 220px; }
}

@media (max-width: 640px) {
  .site-header { padding: 9px 12px 18px; }
  .header-row { min-height: 54px; gap: 8px; }
  .brand-mark { font-size: 30px; }
  .header-actions { margin-left: auto; gap: 5px; }
  .saved-action { min-height: 38px; padding: 0 8px; font-size: 11px; }
  .global-browse summary, .saved-action { min-height: 38px; padding: 0 8px; font-size: 11px; }
  .verify-action { width: 110px; height: 38px; padding: 5px 7px; }
  .search-hero { margin-top: 20px; }
  .search-glass { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 7px; border-radius: 19px; }
  .search-input { padding-left: 9px; }
  .search-input input { height: 48px; min-width: 0; }
  .quick-filter { min-width: 138px; }
  .quick-refinement-panel { grid-template-columns: 1fr; }
  .search-docked .site-header { padding: 6px 10px 8px; }
  .search-docked .search-glass { padding: 3px 6px; border-radius: 15px; }
  .search-docked .search-input { gap: 8px; padding-left: 7px; }
  .search-docked .search-input svg { width: 19px; height: 19px; }
  .search-docked .search-input input { height: 38px; font-size: 14px; }
  .search-docked .quick-refinement-row { gap: 6px; }
  .search-docked .quick-filter { min-width: 124px; min-height: 34px; padding: 0 10px; }
  .search-docked .quick-filter:has([data-discovery-control="location"]),
  .search-docked .quick-filter:has([data-discovery-control="type"]) {
    flex: 0 0 calc((100% - 6px) / 2);
    min-width: 0;
  }
  .search-docked .quick-filter select { height: 32px; max-width: 160px; }
  .search-docked .quick-refinement-panel {
    position: absolute;
    inset: calc(100% + 6px) 0 auto;
    max-height: calc(var(--vvh) - 112px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border-radius: 18px;
  }
  .page-shell { padding: 4px 16px 72px; }
  .catalog-head { align-items: start; margin-top: 17px; }
  .catalog-head h1 { font-size: 31px; max-width: 340px; }
  .result-count { display: none; }
  .catalog-grid, .catalog-loading-grid { grid-template-columns: 1fr; }
  .property-media { height: 270px; }
  :is(.catalog-view, .developer-view, .locked-development-page) .property-media { height: 215px; flex-basis: 215px; }
  /* Physical facts and locality remain legible on phones. */
  :is(.catalog-view, .developer-view, .locked-development-page) .card-body h2 { font-size: 18px; }
  :is(.catalog-view, .developer-view, .locked-development-page) .card-body .location { font-size: 14px; }
  :is(.catalog-view, .developer-view, .locked-development-page) .card-facts { font-size: 15px; }
  .catalog-view #location-collections { padding: 18px 16px; }
  .promotion-card-badge { bottom: 12px; left: 12px; }
  .promotion-terms { grid-template-columns: 1fr; }
  .intelligence-grid { grid-template-columns: 1fr; }
  .detail-identity { grid-template-columns: 1fr; }
  .detail-identity div { min-height: 0; border-right: 0; border-bottom: 1px solid rgba(6, 38, 74, .09); }
  .detail-identity div:last-child { border-bottom: 0; }
  .detail-next-step { grid-template-columns: 1fr; }
  .development-hero { min-height: 480px; }
  .developer-intro, .developer-project-card, .developer-verify-callout { grid-template-columns: 1fr; }
  .developer-projects { padding: 20px; }
  .developer-section-head { align-items: start; flex-direction: column; }
  .developer-project-media { min-height: 240px; }
  .developer-verify-callout button { width: 150px; }
  .verify-scopes { grid-template-columns: 1fr 1fr; }
  .broker-contact-fields { grid-template-columns: 1fr; gap: 0; }
  .action-sheet { max-height: calc(var(--vvh) - 24px); overflow-y: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .verify-action:hover img, .verify-action:focus-visible img { transform: none; }
}

.development-location-map {
  margin-top: 18px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(6, 38, 74, .09);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(6, 38, 74, .05);
}
.development-map-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.development-map-heading h2 {
  margin: 6px 0 4px;
  color: var(--navy);
  font-size: clamp(25px, 3vw, 36px);
}
.development-map-heading p:not(.eyebrow) { margin: 0; color: var(--muted); }
.development-map-heading a {
  min-height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--navy);
  border-radius: 12px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}
.development-map-frame {
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(6, 38, 74, .12);
  border-radius: 18px;
  background: #e7ece9;
}
.development-map-frame iframe {
  width: 100%;
  min-height: 390px;
  display: block;
  border: 0;
}
.development-map-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
}
.development-map-meta strong { color: var(--navy); }
.development-map-disclosure {
  max-width: 900px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}
@media (max-width: 720px) {
  .development-map-heading { align-items: stretch; flex-direction: column; }
  .development-map-heading a { width: 100%; }
  .development-map-frame, .development-map-frame iframe { min-height: 340px; }
}


/* Admitted project gallery and three-segment portfolio preview. */
.development-gallery { margin: 24px 0; overflow: hidden; border-radius: 24px; }
.development-gallery .canonical-gallery { height: 600px; min-height: 0; }
.development-gallery .canonical-gallery-primary img { object-fit: contain; }
.developer-collection-preview { min-width: 0; padding: 22px; text-decoration: none; }
.developer-collection-preview:focus-visible { outline: 3px solid var(--gold); outline-offset: -5px; }
.developer-collection-mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; width: 100%; height: 160px; overflow: hidden; border-radius: 14px; background: #fff9ea; }
.developer-collection-segment { min-width: 0; overflow: hidden; }
.developer-collection-segment img { display: block; width: 100%; height: 100%; object-fit: cover; }
.developer-collection-placeholder { display: flex; align-items: center; justify-content: center; padding: 8px; background: #e7e9e3; color: var(--navy); font-size: 11px; }
.developer-collection-preview strong { margin-top: 14px; font-size: 52px; }
@media (max-width: 600px) {
  .development-gallery .canonical-gallery { height: 430px; grid-template-rows: minmax(0, 1fr) 84px; }
}

/* Project art is context only when an exact Property has no verified photo. */
.property-project-context-media { position: relative; width: 100%; height: 100%; }
.property-project-context-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.project-context-media-caption {
  position: absolute; right: 12px; bottom: 12px; left: 12px;
  padding: 7px 10px; border-radius: 8px;
  background: rgba(9, 33, 62, .88); color: #fff;
  font-size: 12px; font-weight: 750; line-height: 1.3;
  text-align: center;
}

/* Buyer assistance conversion (owner-locked 2026-11-04). */
.canonical-assist-action { border: 0; border-radius: 999px; padding: 10px 16px; background: #0f2f4f; color: #fff; font-weight: 800; cursor: pointer; }
.canonical-assist-nudge, .canonical-assist-inline { margin: 8px 0 0; color: #23425f; font-weight: 700; }
.canonical-assist-link { border: 0; background: none; padding: 0; color: #0b5cad; font-weight: 800; cursor: pointer; text-decoration: underline; }
.bai-rep-points { margin: 8px 0 12px; padding-left: 18px; line-height: 1.5; }
.bai-rep-property { font-weight: 800; }
.bai-rep-consent { display: flex; gap: 8px; align-items: center; margin: 12px 0; }
.bai-rep-status { min-height: 1.2em; font-weight: 700; }
.bai-representation-sheet input:not([type="checkbox"]) { width: 100%; box-sizing: border-box; }

/* Owner-locked BDO reference template for bank portfolios only: properties
   remain the primary content; no change to developer or Property Detail UX. */
.bank-portfolio-hero { grid-template-columns: minmax(0, 1fr); border-radius: 20px; }
.bank-portfolio-hero .developer-landing-copy { padding: clamp(18px, 2.5vw, 30px) clamp(20px, 3vw, 38px); }
.bank-portfolio-hero .developer-landing-copy h1 { max-width: none; margin: 6px 0 9px; font-family: inherit; font-size: clamp(27px, 3.1vw, 40px); line-height: 1.13; letter-spacing: -.035em; }
.bank-portfolio-hero .developer-landing-copy > p:not(.eyebrow) { max-width: 860px; margin: 0; font-size: 14px; line-height: 1.5; }
.bank-portfolio-hero .developer-landing-actions { margin-top: 16px; }
.bank-portfolio-hero .developer-landing-actions a { min-height: 40px; }
.bank-portfolio-about { display: grid; grid-template-columns: minmax(210px, .7fr) minmax(0, 1.3fr); gap: clamp(20px, 3vw, 40px); align-items: start; padding: 22px 6px 28px; color: var(--navy); }
.bank-portfolio-about h2 { margin: 6px 0 0; font-size: clamp(23px, 2.3vw, 31px); line-height: 1.17; letter-spacing: -.025em; }
.bank-portfolio-about-copy { display: grid; gap: 9px; min-width: 0; }
.bank-portfolio-about-copy p { margin: 0; color: #526174; font-size: 14px; line-height: 1.55; }
.bank-portfolio-about-copy .bank-portfolio-about-note { color: #667586; font-size: 12px; }
.bank-portfolio-about-guide-link { justify-self: start; font-size: 13px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.bank-portfolio-view #bank-properties { scroll-margin-top: 130px; }
.bank-portfolio-guide { margin-top: 22px; }
.bank-portfolio-guide-disclosure { border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .78); }
.bank-portfolio-guide-disclosure > summary { display: flex; gap: 16px; align-items: center; justify-content: space-between; min-height: 70px; padding: 14px 20px; list-style: none; cursor: pointer; }
.bank-portfolio-guide-disclosure > summary::-webkit-details-marker { display: none; }
.bank-portfolio-guide-label { display: grid; gap: 4px; }
.bank-portfolio-guide-label strong { color: var(--navy); font-size: 17px; }
.bank-portfolio-guide-label small { color: #617083; font-size: 12px; }
.bank-portfolio-guide-disclosure > summary > span:last-child { color: #9a7129; font-size: 24px; }
.bank-portfolio-guide-disclosure[open] > summary > span:last-child { transform: rotate(45deg); }
.bank-portfolio-guide-body { padding: 0 20px 20px; }
.bank-portfolio-guide-body > p { max-width: 750px; margin: 4px 0 10px; color: #617083; font-size: 13px; }
.bank-portfolio-guide-body .acquisition-playbook-details { margin-top: 12px; }
@media (max-width: 640px) {
  .bank-portfolio-hero .developer-landing-copy { padding: 18px 20px 22px; }
  .bank-portfolio-hero .developer-landing-copy h1 { font-size: clamp(25px, 7vw, 32px); }
  .bank-portfolio-about { grid-template-columns: 1fr; gap: 12px; padding: 18px 2px 24px; }
  .bank-portfolio-about h2 { font-size: 25px; }
  .bank-portfolio-guide-disclosure > summary { padding: 14px; }
  .bank-portfolio-guide-body { padding: 0 14px 16px; }
}

/* Owner 2026-11-04: bank directory dropdown reads as a heading, not body text. */
.bank-directory-dropdown > summary { font-size: 18px; font-weight: 850; color: var(--navy); letter-spacing: -.01em; }
.bank-location-quickpick { margin: 4px 0 18px; max-width: 420px; }
.bank-location-quickpick > span { text-transform: uppercase; letter-spacing: .08em; font-size: 11px; color: #9a7129; }

/* Homepage discovery. Search and the exact Property grid retain their existing owners. */
.homepage-discovery { min-width: 0; max-width: 1280px; margin: 0 auto 26px; }
#app:has(.catalog-view.map-mode) .homepage-discovery,
#app:has(.catalog-view.map-mode) .homepage-all-heading { display: none; }
.homepage-intro {
  text-align: center; padding: 14px 16px 12px; margin-bottom: 24px;
  background: linear-gradient(115deg, #f6f2e7, #fff 55%, #f3f5f7);
  border: 1px solid #e4dfd1; border-radius: 10px;
}
.homepage-intro h2 {
  display: grid; align-items: center; justify-items: center; margin: 5px 0 7px;
  font-size: clamp(1.45rem, 4.5vw, 2.4rem); line-height: 1.12; letter-spacing: -.035em; text-wrap: balance;
}
.homepage-intro h2 span { grid-area: 1 / 1; }
.homepage-intro > p { margin: 0; }
.homepage-intro button { margin-top: 8px; }
.homepage-shelf { min-width: 0; margin-bottom: 24px; }
.homepage-shelf-head, .homepage-shelf-actions {
  display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap;
}
.homepage-shelf-head { margin-bottom: 8px; }
.homepage-shelf-head h2, .homepage-shelf-head p { margin: 0; }
.homepage-shelf-head p { color: #526171; font-size: .875rem; }
.homepage-shelf-controls { display: flex; gap: 6px; }
.homepage-shelf-controls[hidden], .homepage-intro button[hidden] { display: none; }
.homepage-shelf-controls button, .homepage-intro button {
  min-height: 36px; padding: 4px 10px; background: #fff; color: var(--navy);
  border: 1px solid #adb6be; border-radius: 8px; font: inherit; cursor: pointer;
}
.homepage-shelf-controls button { min-width: 36px; font-size: 1.15rem; }
.homepage-shelf-controls button:disabled { opacity: .45; cursor: default; }
.homepage-intro button { font-size: .8rem; }
.homepage-shelf-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 57px) / 4);
  gap: 19px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 3px 3px 9px;
}
.homepage-shelf-track > * { min-width: 0; scroll-snap-align: start; }
/* The track reuses the approved developer-view card context; only its page-width rule is neutralized. */
.homepage-shelf-track.developer-view { max-width: none; margin: 0; }
.homepage-project-card h3 { margin: 0; }
/* The whole project card opens the project page, not only its name. */
.homepage-project-card { position: relative; cursor: pointer; }
.homepage-project-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.homepage-project-card .card-body { gap: 6px; }
.homepage-all-heading { margin: 0 0 6px; }
@media (max-width: 920px) {
  .homepage-shelf-track { grid-auto-columns: calc((100% - 19px) / 2); }
}
@media (max-width: 690px) {
  .homepage-shelf-track { grid-auto-columns: 86%; gap: 12px; }
}

/* Fixed value line with rotating sub-phrase and chips (owner-approved 2026-11-08). */
.homepage-intro { background: #fbf8f1; }
.homepage-intro h2.homepage-value { display: block; margin: 2px 0 4px; font-size: clamp(1.4rem, 4vw, 2.1rem); }
.homepage-rotator { margin: 0 0 10px; color: #526171; font-size: 1.02rem; }
.homepage-rotator-slot { display: inline; }
.homepage-rotator-slot > span { grid-area: 1 / 1; }
.homepage-intro .homepage-rotator-slot {
  margin: 0; padding: 0; min-height: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer;
}
.homepage-rotator .homepage-headline { color: #8a5f22; font-weight: 600; }
.homepage-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.homepage-chips a {
  display: inline-block; padding: 4px 12px; border: 1px solid #d8cfba; border-radius: 999px;
  background: #fff; color: var(--navy); font-size: .82rem; text-decoration: none;
}
.homepage-chips a:hover { border-color: #a3722c; }
@media (max-width: 690px) {
  .homepage-intro .homepage-rotator-slot { display: grid; width: 100%; text-align: center; }
}

/* Compact homepage shelf card, phones only (owner-requested 2026-11-08).
   ~1.4 cards visible; media, price, one-line title, one-line location, one fact,
   one quiet source/As-of line. The main grid and Property Detail are unchanged. */
@media (max-width: 690px) {
  .homepage-shelf-track.developer-view { grid-auto-columns: 70%; gap: 10px; }
  .homepage-shelf-track.developer-view .property-media { height: 160px; flex: 0 0 160px; }
  .homepage-shelf-track.developer-view .card-body { padding: 10px 12px 9px; }
  /* Generated bank tile (no photo): keep bank name and city legible at the shorter height. */
  .homepage-shelf-track.developer-view .property-media-data { padding: 46px 10px 10px; }
  .homepage-shelf-track.developer-view .property-media-data strong { font-size: 17px; }
  .homepage-shelf-track.developer-view .card-price { font-size: 19px; }
  /* Only the generic channel line (the shelf title already says it); real price-basis disclosures stay. */
  .homepage-shelf-track.developer-view .card-channel-note,
  .homepage-shelf-track.developer-view .card-summary { display: none; }
  .homepage-shelf-track.developer-view .card-body :is(h2, h3) {
    margin: 2px 0 1px; font-size: 15px; -webkit-line-clamp: 1; line-clamp: 1;
    display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden;
  }
  .homepage-shelf-track.developer-view .card-body .location {
    font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block;
  }
  .homepage-shelf-track.developer-view .card-facts { margin: 6px 0 6px; }
  .homepage-shelf-track.developer-view .card-facts > :not(:first-child) { display: none; }
  .homepage-shelf-track.developer-view .property-card .card-body > .source-row {
    min-height: 26px; padding-top: 5px; font-size: 11px;
  }
  .homepage-shelf-track.developer-view .source-row .freshness { font-size: 11px; }
  .homepage-shelf-track.developer-view .card-body > a,
  .homepage-shelf-track.developer-view .card-body > .project-link { display: none; }
}

/* Search scaling (owner 2026-11-14): results per page, broad-search notice and refine chips. */
.catalog-context-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.catalog-context-row .catalog-context { margin: 10px 0 12px; }
.page-size-choice { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 750; }
.page-size-choice select { min-height: 34px; padding: 0 8px; border: 1px solid rgba(6, 38, 74, .14); border-radius: 10px; background: #fff; color: var(--navy); font: inherit; }
.broad-search-notice { margin: 0 0 16px; padding: 14px 16px; border: 1px solid rgba(138, 106, 41, .28); border-radius: 14px; background: #fffaf0; color: #4a4030; font-size: 13px; line-height: 1.45; }
.broad-search-notice p { margin: 0 0 10px; }
.refine-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.refine-group > span { min-width: 104px; color: #8a6a29; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.refine-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border: 1px solid rgba(6, 38, 74, .14); border-radius: 999px; background: #fff; color: var(--navy); font-size: 12px; font-weight: 800; cursor: pointer; }
.refine-chip span { color: var(--muted); font-weight: 700; }
.refine-chip:hover, .refine-chip:focus-visible { border-color: var(--navy); }
@media (max-width: 640px) { .refine-group > span { min-width: 100%; } }
/* Location funnel and 300-result notice (owner 2026-11-22). */
.location-funnel { margin: 0 0 20px; padding: 14px 16px; border: 1px solid rgba(6, 38, 74, .1); border-radius: 14px; background: #fff; }
.location-funnel-widen { margin: 0 0 6px; color: var(--muted); font-size: 13px; }
.location-funnel-widen a { color: var(--navy); font-weight: 800; }
a.refine-chip { text-decoration: none; }
.refine-chip[aria-current="page"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.refine-chip[aria-current="page"] span { color: rgba(255, 255, 255, .75); }
.location-cap-notice { margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: #fffaf0; color: #4a4030; font-size: 13px; }
/* Bank-first homepage place cards and place hero images (owner 2026-11-22). */
.homepage-place-card { min-width: 0; }
.homepage-place-card > a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid rgba(6, 38, 74, .12); border-radius: 18px; background: #fff; color: var(--navy); text-decoration: none; }
.homepage-place-card > a:hover, .homepage-place-card > a:focus-visible { border-color: var(--navy); }
.homepage-place-media { position: relative; display: flex; align-items: flex-end; aspect-ratio: 16 / 9; padding: 14px 16px; background: linear-gradient(135deg, #06264a 0%, #0f4c81 60%, #8a6a29 140%); color: #fff; }
.homepage-place-media .location-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.homepage-place-media:has(.location-hero-image)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .62) 100%); }
.homepage-place-media .location-hero-image + .homepage-place-name { z-index: 1; text-shadow: 0 1px 8px rgba(0, 0, 0, .55); }
.homepage-place-name { position: relative; font-family: var(--display-font, Georgia, serif); font-size: 24px; font-weight: 800; line-height: 1.1; }
.homepage-place-body { display: grid; gap: 4px; padding: 14px 16px 16px; font-size: 13px; color: var(--muted); }
.homepage-place-body strong { color: var(--navy); font-size: 16px; }
.homepage-place-body small { font-size: 12px; }
.location-landing-hero-has-media { position: relative; overflow: hidden; }
.location-landing-hero-media { position: absolute; inset: 0; z-index: 0; }
.location-landing-hero-media .location-hero-image { width: 100%; height: 100%; object-fit: cover; }
.location-landing-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(250, 248, 243, .97) 0%, rgba(250, 248, 243, .9) 42%, rgba(250, 248, 243, .25) 72%, rgba(250, 248, 243, 0) 100%); }
@media (max-width: 690px) { .location-landing-hero-media::after { background: linear-gradient(180deg, rgba(250, 248, 243, .55) 0%, rgba(250, 248, 243, .94) 55%); } }
.location-landing-hero-has-media .developer-landing-copy { position: relative; z-index: 1; }
.location-collection-view .property-context-bar { justify-content: flex-start; flex-wrap: wrap; gap: 6px 8px; }
.location-collection-view .property-context-bar > * + *::before { content: "›"; margin-right: 8px; color: var(--muted); }
/* Owner 2026-11-22: quieter location hero headline. */
.location-collection-view .developer-landing-copy h1 { max-width: 640px; margin: 8px 0 14px; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.08; letter-spacing: -.03em; }
@media (max-width: 690px) { .location-collection-view .developer-landing-copy h1 { font-size: clamp(26px, 7vw, 32px); } }
/* "About {place}" block (owner 2026-11-22). */
.location-about { margin: 0 0 20px; padding: 18px 20px; border: 1px solid rgba(6, 38, 74, .1); border-radius: 14px; background: #fff; color: var(--navy); }
.location-about summary { list-style: none; cursor: pointer; }
.location-about summary::-webkit-details-marker { display: none; }
.location-about summary h2 { display: inline; margin: 0; font-size: 20px; }
.location-about-intro { margin: 10px 0 8px; font-size: 15px; }
.location-about-facts { margin: 0 0 10px; padding-left: 20px; font-size: 14px; line-height: 1.55; color: #33404f; }
.location-about-note { margin: 6px 0; font-size: 14px; color: #33404f; }
.location-about-sources { margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.location-about-sources a { color: var(--muted); }
.location-about-source { margin-left: 4px; font-size: 11px; color: var(--muted); white-space: nowrap; }
.location-about-note ul { margin-top: 4px; }
