/* Desktop portal, scoped so the mobile feed keeps its own layout. */
.bp-app { display: none; }
@media (min-width: 900px) {
  .bp-desktop.feed-app { display: block; max-width: none; overflow: hidden; }
  .bp-desktop > .fd-side, .bp-desktop > .fd-main, .bp-desktop > .fd-detail, .bp-desktop > #fd-coach { display: none; }
  .bp-app { --bp-border: color-mix(in srgb,var(--fd-text) 13%,transparent); --bp-shadow: 0 4px 20px #06171b09; display: flex; flex-direction: column; height: 100dvh; background: var(--fd-bg); color: var(--fd-text); font-size: 14px; }
  .bp-app :is(button,input,select), .bp-detail-dialog button, .bp-compare-dialog button { font: inherit; }
  .bp-app :is(button,a,select,input[type="checkbox"]), .bp-detail-dialog button, .bp-compare-dialog button { cursor: pointer; }
  .bp-app button, .bp-detail-dialog button, .bp-compare-dialog button, .bp-searches-dialog button { color: inherit; }
  .bp-app button:disabled { opacity: .45; cursor: default; }
  .bp-app svg, .bp-detail-dialog svg, .bp-searches-dialog svg { flex: none; }
  .bp-header { min-height: 70px; flex: none; padding: 12px 32px; display: flex; align-items: center; gap: 44px; border-bottom: 1px solid var(--bp-border); background: var(--fd-surface); }
  .feed-body .bp-logo { position: relative; color: var(--fd-text); font: 300 34px/1 var(--fd-brand); letter-spacing: -1.7px; white-space: nowrap; }
  .bp-logo > span { color: var(--fd-terracotta); }
  .bp-logo > svg { position: absolute; left: 53%; top: -.25em; width: .4em; height: .24em; fill: none; stroke: var(--fd-sage); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
  .bp-header nav { display: flex; gap: 28px; align-self: stretch; }
  .bp-header nav a { position: relative; display: flex; align-items: center; font-size: 13px; color: var(--fd-text-soft); white-space: nowrap; }
  .bp-header nav a[aria-current] { font-weight: 600; color: var(--fd-text); }
  .bp-header nav a[aria-current]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -13px; height: 3px; background: var(--fd-terracotta); }
  .bp-account { margin-left: auto; display: flex; align-items: center; gap: 22px; white-space: nowrap; }
  .bp-account > button, .bp-account > a { display: inline-flex; align-items: center; gap: 7px; border: 0; background: none; padding: 10px 0; font-size: 12px; text-decoration: none; }
  .bp-account > a { color: var(--fd-text); }
  .bp-account .appearance-picker { min-height: 34px; max-width: 80px; border-color: var(--bp-border); border-radius: 7px; font-size: 11px; }
  .bp-favorites b { font-size: 10px; font-weight: 600; background: var(--fd-surface-2); min-width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center; }
  .bp-account .bp-favorites.is-active { color: var(--fd-terracotta); }
  .bp-account .bp-favorites.is-active svg { fill: color-mix(in srgb,var(--fd-terracotta) 15%,transparent); }
  .bp-search { flex: none; padding: 24px 32px 0; border-bottom: 1px solid var(--bp-border); }
  .bp-search-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
  .bp-eyebrow { display: block; color: var(--fd-sage-soft); font-size: 10px; font-weight: 600; letter-spacing: .13em; line-height: 1.5; text-transform: uppercase; margin-bottom: 6px; }
  .bp-search h1 { margin: 0; font: 700 30px/1.15 var(--fd-display); letter-spacing: -.9px; }
  .bp-live-label { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--fd-text-soft); }
  .bp-live-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--fd-sage); box-shadow: 0 0 0 4px color-mix(in srgb,var(--fd-sage) 12%,transparent); }
  .bp-lia { display: flex; align-items: center; gap: 10px; border: 1px solid var(--bp-border); background: var(--fd-surface); border-radius: 9px; padding: 8px 13px; font-size: 12px !important; }
  .bp-avatar { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--fd-teal); color: white; font: 20px var(--fd-brand); }
  .bp-form { display: grid; grid-template-columns: 1.05fr 1.65fr 1.15fr 1fr .72fr auto; gap: 12px; align-items: end; }
  .bp-form > label, .bp-advanced-grid > label { min-width: 0; display: flex; flex-direction: column; gap: 7px; font-size: 11px; font-weight: 600; color: var(--fd-text-soft); }
  .bp-form :is(input,select), .bp-advanced-grid :is(input,select) { width: 100%; min-width: 0; height: 46px; border: 1px solid var(--bp-border); border-radius: 8px; background: var(--fd-surface); padding: 0 13px; color: var(--fd-text); font-size: 13px; font-weight: 400; }
  .bp-form input::placeholder, .bp-advanced-grid input::placeholder { color: var(--fd-text-mute); }
  .bp-form .bp-input-icon { position: relative; }
  .bp-input-icon > svg { position: absolute; left: 12px; top: 14px; width: 16px; height: 16px; color: var(--fd-text-mute); pointer-events: none; }
  .bp-input-icon input { padding-left: 36px; }
  .bp-form select:disabled, .bp-advanced select:disabled { opacity: .6; cursor: default; }
  .bp-app .bp-primary, .bp-detail-dialog .bp-primary { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: 8px; background: var(--fd-terracotta); color: white; font-weight: 600; font-size: 13px; text-decoration: none; white-space: nowrap; }
  .bp-primary:hover:not(:disabled) { filter: brightness(1.08); }
  .bp-primary:disabled { opacity: .45; cursor: default; }
  .bp-filter-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 62px; }
  .bp-quick-filters { display: flex; align-items: center; gap: 9px; min-width: 0; }
  .bp-filter-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 33px; padding: 0 11px; border: 1px solid var(--bp-border); border-radius: 6px; background: transparent; font-size: 11px !important; white-space: nowrap; }
  .bp-filter-button[aria-pressed="true"], .bp-filter-button[aria-expanded="true"] { border-color: var(--fd-teal); background: color-mix(in srgb,var(--fd-teal) 10%,var(--fd-bg)); color: var(--fd-text); }
  .bp-filter-button svg { width: 15px; height: 15px; }
  .bp-filter-button b { min-width: 17px; height: 17px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--fd-teal); color: white; font-size: 10px; }
  .bp-save-search { display: flex; align-items: center; gap: 7px; border: 0; background: transparent; padding: 8px 0; color: var(--fd-sage-soft) !important; font-size: 11px !important; white-space: nowrap; }
  .bp-save-search svg { width: 15px; height: 15px; }
  .bp-active-filters { display: flex; align-items: center; gap: 7px; overflow: hidden; }
  .bp-active-filters > span { padding: 6px 8px; border-radius: 5px; font-size: 10px; color: var(--fd-text-soft); background: var(--fd-surface-2); white-space: nowrap; }
  .bp-advanced { max-height: 38dvh; overflow-y: auto; padding: 5px 0 18px; }
  .bp-advanced-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; }
  .bp-advanced-checks { display: flex; gap: 22px; flex-wrap: wrap; padding: 18px 0; }
  .bp-advanced-checks label { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--fd-text-soft); }
  .bp-advanced-checks input, .bp-map-follow input { accent-color: var(--fd-teal); margin: 0; width: 15px; height: 15px; }
  .bp-advanced-bottom { display: flex; align-items: center; justify-content: end; gap: 18px; }
  .bp-advanced-bottom p { margin: 0 auto 0 0; font-size: 11px; color: var(--fd-text-mute); line-height: 1.5; max-width: 460px; }
  .bp-advanced-bottom > button:not(.bp-primary) { border: 0; padding: 10px 0; background: transparent; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
  .bp-error { margin: 0 0 15px; color: var(--fd-terracotta); font-size: 13px; line-height: 1.5; }
  .bp-workspace { display: grid; grid-template-columns: minmax(490px,51%) minmax(0,1fr); flex: 1; min-height: 0; }
  .bp-results { min-width: 0; overflow-y: auto; padding: 25px 26px 100px 32px; scrollbar-gutter: stable; }
  .bp-results-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
  .bp-results-head .bp-eyebrow { font-size: 9px; margin-bottom: 6px; }
  .bp-results-head h2 { margin: 0; font: 700 26px/1.1 var(--fd-display); letter-spacing: -.7px; font-variant-numeric: tabular-nums; }
  .bp-sort { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 10px; color: var(--fd-text-mute); }
  .bp-sort select { max-width: 155px; padding: 4px 0 4px 8px; border: 0; background: var(--fd-bg); color: var(--fd-text); font-size: 12px; }
  .bp-results-sub { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 62px; }
  .bp-context { color: var(--fd-text-mute); font-size: 11px; line-height: 1.5; margin: 0; max-width: 75%; }
  .bp-view-switch { display: inline-flex; padding: 3px; border: 1px solid var(--bp-border); border-radius: 7px; flex: none; }
  .bp-view-switch button { width: 31px; height: 29px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--fd-text-mute); }
  .bp-view-switch button[aria-pressed="true"] { color: var(--fd-text); background: var(--fd-surface); box-shadow: 0 1px 4px #0001; }
  .bp-view-switch svg { width: 15px; height: 15px; }
  .bp-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; align-items: start; }
  .bp-card { min-width: 0; border: 1px solid var(--bp-border); background: var(--fd-surface); border-radius: 12px; overflow: hidden; box-shadow: var(--bp-shadow); transition: border-color .15s,box-shadow .15s; }
  .bp-card:hover { border-color: color-mix(in srgb,var(--fd-teal) 55%,var(--bp-border)); box-shadow: 0 6px 24px #06171b13; }
  .bp-card.is-selected { border-color: var(--fd-teal); box-shadow: 0 0 0 2px color-mix(in srgb,var(--fd-teal) 25%,transparent); }
  .bp-card-media { position: relative; background: var(--fd-surface-2); }
  .bp-card-photo { display: block; width: 100%; height: auto; aspect-ratio: 1.6; padding: 0; border: 0; background: transparent; overflow: hidden; }
  .bp-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
  .bp-card-photo:hover img { transform: scale(1.035); }
  .bp-no-photo { display: grid; place-items: center; width: 100%; height: 100%; min-height: 80px; padding: 14px; color: var(--fd-text-mute); background: var(--fd-surface-2); font-size: 12px; text-align: center; }
  .bp-score, .bp-new, .bp-transaction, .bp-photo-count { position: absolute; z-index: 1; pointer-events: none; border-radius: 5px; font-weight: 600; }
  .bp-score { left: 11px; top: 12px; padding: 6px 9px; background: #10292ce8; color: #eaf1df; font-size: 14px; }
  .bp-score small { font-size: 9px; margin-left: 3px; font-weight: 400; }
  .bp-new { left: 11px; top: 12px; padding: 6px 9px; background: #f6f6e9ed; color: #36503c; font-size: 10px; }
  .bp-transaction { left: 11px; bottom: 11px; padding: 5px 8px; background: #10292cda; color: white; font-size: 10px; }
  .bp-photo-count { right: 11px; bottom: 11px; padding: 5px 7px; background: #10292caa; color: white; font-size: 9px; font-weight: 400; }
  .bp-app .bp-heart { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #ffffffad; border-radius: 50%; background: #fffffff0; color: #213d3c; padding: 0; box-shadow: 0 2px 8px #0001; }
  .bp-heart svg { width: 17px; height: 17px; }
  .bp-app .bp-heart.is-saved { color: #aa5135; }
  .bp-heart.is-saved svg { fill: #aa5135; stroke: #aa5135; }
  .bp-card-body { padding: 16px 15px 0; }
  .bp-card-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; }
  .bp-card-price b { color: var(--fd-text); font: 700 24px/1.1 var(--fd-display); letter-spacing: -.7px; font-variant-numeric: tabular-nums; }
  .bp-card-price > span { color: var(--fd-text-mute); font-size: 10px; }
  .bp-cost { color: var(--fd-text-mute); font-size: 10px; line-height: 1.5; margin: 5px 0 14px; }
  .bp-app .bp-card-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; width: 100%; overflow: hidden; border: 0; background: transparent; padding: 0; text-align: left; font-size: 15px; font-weight: 600; line-height: 1.4; min-height: 42px; }
  .bp-card-title:hover { text-decoration: underline; text-underline-offset: 3px; }
  .bp-address { display: flex; align-items: center; gap: 5px; margin: 8px 0 6px; font-size: 12px; color: var(--fd-text-soft); }
  .bp-address svg { width: 13px; height: 13px; }
  .bp-facts { font-size: 12px; color: var(--fd-text-soft); margin: 0 0 15px; line-height: 1.5; }
  .bp-card-lia { display: flex; align-items: start; gap: 7px; margin: 0 0 12px; padding: 10px 0 0; border-top: 1px solid var(--bp-border); color: var(--fd-text-soft); font-size: 11px; line-height: 1.5; }
  .bp-card-lia > span { flex: none; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; color: white; background: var(--fd-teal); font-family: var(--fd-brand); }
  .bp-card-footer { display: flex; align-items: center; gap: 5px; min-height: 44px; border-top: 1px solid var(--bp-border); color: var(--fd-text-mute); }
  .bp-agency { margin-right: auto; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
  .bp-card-footer > button { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 34px; padding: 0 7px; background: transparent; border: 0; color: var(--fd-text-mute); font-size: 10px; }
  .bp-card-footer > button svg { width: 14px; height: 14px; }
  .bp-card-footer .bp-compare-choice.is-active { color: var(--fd-teal); font-weight: 600; }
  .bp-no-location { display: block; padding: 0 0 12px; color: var(--fd-text-mute); font-size: 10px; }
  .bp-list-bottom { text-align: center; margin-top: 24px; }
  .bp-list-bottom > p { color: var(--fd-text-mute); font-size: 11px; line-height: 1.5; }
  .bp-load-more { display: inline-flex; gap: 10px; align-items: center; justify-content: center; width: 100%; min-height: 45px; border: 1px solid var(--bp-border); background: var(--fd-surface); border-radius: 8px; font-size: 12px !important; font-weight: 600 !important; }
  .bp-map-panel { position: relative; min-width: 0; min-height: 0; background: #e4e9df; border-left: 1px solid var(--bp-border); isolation: isolate; }
  .bp-map { width: 100%; height: 100%; }
  .bp-map-tools { position: absolute; z-index: 500; top: 18px; left: 18px; right: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; pointer-events: none; }
  .bp-map-tools label, .bp-map-tools button { pointer-events: auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 12px; border: 1px solid #ced6ca; border-radius: 7px; background: #fffffff5; color: #28413a; box-shadow: 0 2px 10px #173b3015; font-size: 11px; white-space: nowrap; }
  .bp-map-tools svg { width: 15px; height: 15px; }
  .bp-map-note { position: absolute; z-index: 450; bottom: 19px; left: 18px; max-width: calc(100% - 86px); padding: 9px 12px; border: 1px solid #d2d9cf; border-radius: 7px; background: #fffffff0; color: #314b40; pointer-events: none; box-shadow: 0 2px 10px #173b3009; }
  .bp-map-note > span { display: block; font-size: 11px; font-weight: 600; margin-bottom: 3px; }
  .bp-map-note small { display: block; font-size: 9px; line-height: 1.5; }
  .bp-map-panel .leaflet-control-zoom { margin-right: 18px; margin-bottom: 80px; border: 1px solid #ced6ca; border-radius: 7px; overflow: hidden; box-shadow: 0 2px 10px #173b3015; }
  .bp-map-panel .leaflet-control-zoom a { color: #28413a; }
  .bp-marker-wrap { background: transparent; border: 0; }
  .bp-marker { display: block; text-align: center; padding: 8px 5px; border: 1px solid #a2b19c; border-radius: 7px; background: #fff; color: #254334; box-shadow: 0 2px 8px #0c171b25; font: 600 12px/16px 'Instrument Sans',sans-serif; white-space: nowrap; transition: background .12s,color .12s; }
  .bp-marker.is-selected, .bp-marker.is-hovered, .bp-marker:hover { background: #2a6670; color: white; border-color: #2a6670; }
  .bp-marker.is-cluster { min-height: 42px; border: 2px solid #fff; border-radius: 22px; background: #294f4b; color: white; box-shadow: 0 0 0 5px #294f4b1a,0 3px 10px #123f3933; padding: 5px; }
  .bp-marker.is-cluster b { display: block; font-size: 14px; line-height: 17px; }
  .bp-marker.is-cluster small { display: block; font-size: 8px; line-height: 10px; font-weight: 400; }
  .bp-map-preview { position: absolute; z-index: 550; bottom: 93px; left: 18px; width: min(460px,calc(100% - 36px)); display: grid; grid-template-columns: 140px 1fr; border: 1px solid #b7c5b1; border-radius: 10px; background: var(--fd-surface); color: var(--fd-text); box-shadow: 0 8px 35px #102e2a30; overflow: hidden; }
  .bp-map-preview > img, .bp-preview-placeholder { width: 140px; height: 100%; min-height: 170px; object-fit: cover; }
  .bp-preview-placeholder { display: grid; place-items: center; color: var(--fd-text-mute); background: var(--fd-surface-2); font-size: 11px; }
  .bp-map-preview > div:not(.bp-group-preview) { padding: 17px 15px; }
  .bp-map-preview .bp-eyebrow { font-size: 8px; padding-right: 15px; }
  .bp-preview-price { display: block; font: 700 22px var(--fd-display); letter-spacing: -.5px; }
  .bp-preview-price small { font: 10px var(--fd-body); color: var(--fd-text-mute); }
  .bp-map-preview h3 { margin: 8px 0; font-size: 12px; line-height: 1.5; font-weight: 600; }
  .bp-map-preview p { font-size: 11px; color: var(--fd-text-soft); margin: 0 0 12px; }
  .bp-map-preview .bp-primary { min-height: 35px; font-size: 11px; padding: 0 13px; }
  .bp-preview-close { position: absolute; z-index: 2; top: 8px; right: 8px; display: grid; place-items: center; width: 25px; height: 25px; border: 0; border-radius: 50%; background: var(--fd-surface); color: var(--fd-text); padding: 0; }
  .bp-preview-close svg { width: 14px; height: 14px; }
  .bp-group-preview { grid-column: 1/-1; padding: 18px !important; max-height: 310px; overflow-y: auto; }
  .bp-group-preview > button { display: flex; justify-content: space-between; gap: 16px; align-items: center; width: 100%; padding: 12px 0; border: 0; border-top: 1px solid var(--bp-border); background: transparent; text-align: left; font-size: 12px; }
  .bp-group-preview button > span { max-width: 70%; line-height: 1.4; }
  .bp-group-preview small { display: block; color: var(--fd-text-mute); font-size: 10px; margin-top: 4px; }
  .bp-group-preview button > b { flex: none; font-size: 11px; }
  .bp-map-fallback { position: absolute; top: 30%; left: 12%; right: 12%; color: #294f43; text-align: center; font-size: 13px; line-height: 1.6; }
  .bp-map-fallback > svg { width: 32px; height: 32px; }
  .bp-map-fallback h3 { font-size: 18px; }
  .bp-map-fallback button { min-height: 40px; padding: 0 18px; border: 1px solid #68826e; border-radius: 7px; background: white; color: #294f43; }
  .bp-empty { grid-column: 1/-1; text-align: center; padding: 60px 30px; border: 1px dashed var(--bp-border); border-radius: 12px; }
  .bp-empty > svg { width: 36px; height: 36px; color: var(--fd-sage); margin-bottom: 12px; }
  .bp-empty h3 { margin: 0 0 14px; font: 700 23px/1.2 var(--fd-display); }
  .bp-empty p { color: var(--fd-text-soft); font-size: 13px; line-height: 1.6; }
  .bp-empty button { border: 1px solid var(--bp-border); border-radius: 7px; min-height: 40px; background: var(--fd-surface); padding: 0 14px; font-size: 12px; }
  .bp-skeleton { height: 370px; border-radius: 12px; background: linear-gradient(100deg,var(--fd-surface) 20%,var(--fd-surface-2) 45%,var(--fd-surface) 70%); background-size: 250% 100%; animation: bp-shimmer 1.6s linear infinite; }
  @keyframes bp-shimmer { to { background-position: -250% 0; } }
  .bp-app[data-view="list"] .bp-workspace, .bp-app[data-view="grid"] .bp-workspace { grid-template-columns: 1fr; }
  .bp-app[data-view="list"] .bp-map-panel, .bp-app[data-view="grid"] .bp-map-panel { display: none; }
  .bp-app[data-view="list"] .bp-cards { grid-template-columns: 1fr; max-width: 1200px; margin-inline: auto; }
  .bp-app[data-view="list"] .bp-card { display: grid; grid-template-columns: 300px 1fr; }
  .bp-app[data-view="list"] .bp-card-photo { height: 100%; min-height: 235px; aspect-ratio: auto; }
  .bp-app[data-view="list"] .bp-card-body { padding: 22px 24px 0; }
  .bp-app[data-view="list"] .bp-card-title { font-size: 19px; min-height: 0; margin-top: 14px; }
  .bp-app[data-view="list"] .bp-cost { margin-bottom: 0; }
  .bp-app[data-view="list"] .bp-card-lia { display: none; }
  .bp-app[data-view="grid"] .bp-cards { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .bp-compare-tray { position: fixed; z-index: 650; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; align-items: center; gap: 16px; width: max-content; max-width: 94vw; padding: 12px 15px; background: var(--fd-surface); border: 1px solid var(--bp-border); border-radius: 12px; box-shadow: 0 8px 35px #0b282a35; }
  .bp-compare-miniatures { display: flex; gap: 5px; }
  .bp-compare-miniatures > span { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 6px; overflow: hidden; background: var(--fd-surface-2); }
  .bp-compare-miniatures img { width: 100%; height: 100%; object-fit: cover; }
  .bp-compare-tray > div > b { display: block; font-size: 12px; margin-bottom: 5px; }
  .bp-compare-tray small { display: block; font-size: 10px; color: var(--fd-text-mute); }
  .bp-compare-tray .bp-primary { min-height: 40px; font-size: 12px; }
  .bp-compare-clear { display: grid; place-items: center; width: 26px; height: 32px; border: 0; background: transparent; padding: 0; }
  .bp-compare-clear svg { width: 15px; height: 15px; }
  .bp-detail-dialog, .bp-compare-dialog, .bp-searches-dialog { --bp-border: color-mix(in srgb,var(--fd-text) 13%,transparent); width: min(1120px,94vw); max-width: 94vw; max-height: 92dvh; padding: 0; border: 1px solid var(--bp-border); border-radius: 14px; color: var(--fd-text); background: var(--fd-bg); font-family: var(--fd-body); }
  .bp-detail-dialog::backdrop, .bp-compare-dialog::backdrop, .bp-searches-dialog::backdrop { background: #06191cc4; backdrop-filter: blur(5px); }
  .bp-dialog-head { position: sticky; z-index: 5; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 28px; background: var(--fd-bg); border-bottom: 1px solid var(--bp-border); }
  .bp-dialog-head > div { min-width: 0; }
  .bp-dialog-head .bp-eyebrow { margin-bottom: 6px; }
  .bp-dialog-head h2 { margin: 0; font: 700 25px/1.2 var(--fd-display); letter-spacing: -.6px; }
  .bp-dialog-close { flex: none; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--bp-border); border-radius: 50%; background: transparent; color: var(--fd-text); cursor: pointer; }
  .bp-detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; }
  .bp-detail-content { min-width: 0; padding: 24px 28px 32px; }
  .bp-detail-content > .fd-price, .bp-detail-content > .fd-price + p { display: none; }
  .bp-detail-content .fd-grid { grid-template-columns: repeat(auto-fit,minmax(100px,1fr)); }
  .bp-detail-content .fd-gallery-photo img { background: var(--fd-surface-2); }
  .bp-detail-content .fd-cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; padding: 8px 18px; border: 0; border-radius: 8px; background: var(--fd-terracotta); color: white; font: inherit; margin-top: 12px; text-decoration: none; }
  .bp-detail-content .fd-link { display: inline-flex; padding: 14px 0; font-size: 13px; }
  .bp-detail-content .addr { display: flex; gap: 7px; align-items: start; color: var(--fd-text-soft); font-size: 14px; margin: 12px 0; }
  .bp-detail-content .fd-desc { margin-top: 22px; }
  .bp-detail-aside { position: sticky; align-self: start; top: 112px; padding: 30px 24px; border-left: 1px solid var(--bp-border); }
  .bp-detail-aside > b { display: block; font: 700 30px/1.2 var(--fd-display); letter-spacing: -.8px; margin: 10px 0 3px; }
  .bp-detail-aside > span:not(.bp-eyebrow) { font-size: 12px; color: var(--fd-text-mute); }
  .bp-detail-aside > p { font-size: 12px; color: var(--fd-text-soft); line-height: 1.6; margin: 15px 0; }
  .bp-detail-address { display: flex; gap: 7px; margin-top: 24px; font-size: 13px; line-height: 1.6; }
  .bp-detail-address svg { margin-top: 2px; width: 16px; height: 16px; }
  .bp-detail-aside .bp-primary, .bp-detail-aside .bp-secondary { width: 100%; min-height: 44px; font-size: 12px; margin-top: 10px; }
  .bp-secondary { display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--bp-border); border-radius: 8px; background: transparent; color: var(--fd-text); }
  .bp-detail-aside .bp-source-link { display: block; text-align: center; margin: 24px 0; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
  .bp-detail-aside > small { color: var(--fd-text-mute); font-size: 10px; line-height: 1.6; display: block; }
  .bp-compare-dialog { width: min(1180px,94vw); }
  .bp-compare-table-wrap { overflow-x: auto; padding: 0 28px 28px; }
  .bp-compare-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
  .bp-compare-table th, .bp-compare-table td { padding: 17px; border-bottom: 1px solid var(--bp-border); text-align: left; vertical-align: top; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
  .bp-compare-table th:first-child { width: 145px; padding-left: 0; color: var(--fd-text-mute); font-weight: 400; }
  .bp-compare-table thead th { padding-top: 24px; }
  .bp-compare-table thead img { display: block; width: 100%; aspect-ratio: 1.6; border-radius: 7px; object-fit: cover; margin-bottom: 14px; }
  .bp-compare-table thead button { display: block; padding: 0; border: 0; background: transparent; text-align: left; color: var(--fd-text); font-size: 14px; font-weight: 600; line-height: 1.4; }
  .bp-compare-table thead span { display: block; color: var(--fd-text-mute); font-size: 11px; margin-top: 6px; font-weight: 400; }
  .bp-compare-table strong { font: 700 21px var(--fd-display); letter-spacing: -.4px; }
  .bp-compare-table td > small { display: block; font-size: 10px; color: var(--fd-text-mute); margin-top: 4px; }
  .bp-compare-table a { text-decoration: underline; text-underline-offset: 3px; }
  .bp-searches-dialog { width: min(640px,90vw); }
  .bp-saved-searches { padding: 12px 28px 30px; }
  .bp-saved-searches > p { color: var(--fd-text-soft); font-size: 13px; line-height: 1.6; }
  .bp-saved-searches article { display: flex; align-items: center; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--bp-border); }
  .bp-saved-searches article > button:first-child { flex: 1; display: flex; align-items: center; gap: 14px; min-width: 0; padding: 0; border: 0; background: transparent; color: var(--fd-text); text-align: left; }
  .bp-saved-searches article button > span { flex: 1; }
  .bp-saved-searches article b { display: block; font-size: 13px; font-weight: 600; line-height: 1.6; }
  .bp-saved-searches article small { display: block; font-size: 11px; color: var(--fd-text-mute); margin-top: 4px; }
  .bp-saved-searches article > button:last-child { width: 30px; height: 34px; border: 0; background: transparent; color: var(--fd-text-mute); cursor: pointer; }
  .bp-saved-searches article > button:last-child svg { width: 15px; height: 15px; }
  .bp-conversation > .fd-main { display: block; position: fixed; z-index: 710; top: 56px; bottom: 0; left: calc(50% - 280px); width: 560px; height: calc(100dvh - 56px); background: var(--fd-bg); }
  .bp-conversation::after { content: ''; position: fixed; inset: 0; z-index: 700; background: #061014e8; backdrop-filter: blur(5px); }
  .bp-conversation-close { position: fixed; top: 12px; left: calc(50% - 260px); z-index: 720; border: 0; padding: 10px; background: transparent; color: white !important; font-size: 13px; }
  .bp-desktop .fd-toast { position: fixed; z-index: 800; top: auto; bottom: 100px; left: 50%; width: max-content; max-width: 90vw; }
  .bp-desktop :focus-visible { outline: 3px solid var(--fd-sage); outline-offset: 3px; }
}
@media (min-width: 900px) and (max-width: 1249px) {
  .bp-header { padding-inline: 24px; gap: 30px; }
  .bp-header nav { gap: 20px; }
  .bp-account { gap: 15px; }
  .bp-account .bp-account-searches { display: none; }
  .bp-search { padding-inline: 24px; }
  .bp-form { grid-template-columns: 1fr 1.7fr 1fr 1fr .8fr auto; gap: 8px; }
  .bp-form :is(input,select) { padding-inline: 10px; font-size: 12px; }
  .bp-form .bp-input-icon input { padding-left: 32px; }
  .bp-form .bp-primary { padding-inline: 14px; }
  .bp-form .bp-primary > svg { display: none; }
  .bp-workspace { grid-template-columns: minmax(420px,48%) 1fr; }
  .bp-results { padding: 23px 20px 100px 24px; }
  .bp-cards { grid-template-columns: 1fr; gap: 16px; }
  .bp-card { display: grid; grid-template-columns: 41% minmax(0,1fr); }
  .bp-card-photo { height: 100%; min-height: 220px; aspect-ratio: auto; }
  .bp-card-body { padding: 14px 12px 0; }
  .bp-card-price b { font-size: 22px; }
  .bp-card-title { min-height: 0 !important; font-size: 14px !important; }
  .bp-card-lia { display: none; }
  .bp-card-footer { gap: 2px; }
  .bp-agency { max-width: 42%; font-size: 9px; }
  .bp-card-footer > button { padding-inline: 4px; }
  .bp-compare-choice > span { display: none; }
  .bp-transaction { font-size: 9px; left: 8px; bottom: 8px; }
  .bp-photo-count { display: none; }
  .bp-new, .bp-score { left: 7px; top: 10px; font-size: 9px; padding: 5px; max-width: calc(100% - 52px); }
  .bp-score small { display: none; }
  .bp-heart { right: 8px !important; }
  .bp-active-filters { display: none; }
  .bp-map-tools { left: 12px; right: 12px; gap: 6px; }
  .bp-map-tools label, .bp-map-tools button { padding-inline: 9px; font-size: 10px; }
  .bp-map-preview { grid-template-columns: 100px 1fr; }
  .bp-map-preview > img, .bp-preview-placeholder { width: 100px; }
  .bp-map-preview > div:not(.bp-group-preview) { padding: 15px 12px; }
  .bp-preview-price { font-size: 19px; }
  .bp-app[data-view="grid"] .bp-cards { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .bp-app[data-view="grid"] .bp-card { display: block; }
  .bp-app[data-view="grid"] .bp-card-photo { height: auto; min-height: 0; aspect-ratio: 1.6; }
  .bp-app[data-view="list"] .bp-card { grid-template-columns: 260px 1fr; }
}
@media (min-width: 1600px) { .bp-workspace { grid-template-columns: minmax(680px,47%) 1fr; } .bp-card-photo { aspect-ratio: 1.7; } }
@media (prefers-reduced-motion: reduce) { .bp-card, .bp-card-photo img, .bp-marker { transition: none; } .bp-skeleton { animation: none; } }
@media (min-width: 900px) { .bp-marker.is-cluster.is-selected { background: #a45439; border-color: white; } }
@media (min-width: 900px) {
  .bp-marker.is-approximate { border-style: dashed; border-width: 2px; padding-block: 7px; }
  .bp-no-location.is-approximate { color: var(--fd-sage-soft); line-height: 1.5; }
  .bp-map-preview .bp-preview-location { font-size: 10px; color: var(--fd-sage-soft); }
  .bp-detail-aside .bp-approximate-note { padding: 12px; border: 1px dashed var(--bp-border); border-radius: 7px; background: var(--fd-surface); font-size: 11px; }
  .bp-locality-location { border-style: dashed; }
}
