/* The search workspace is deliberately denser than editorial estate/home pages. */
.nce-property-search-page .nce-shell { width: min(1320px, calc(100% - 40px)); }
.nce-property-search-page .nce-property-search-stage { padding-top: 20px; background: transparent; }
.nce-property-search-page .nce-property-discovery { box-shadow: none; border: 1px solid var(--nce-border); }
.nce-property-search-page .nce-property-discovery__topline { min-height: 48px; padding: 0 12px; }
.nce-property-search-page .nce-property-search__modes { gap: 4px; }
.nce-property-search-page .nce-property-search__modes span { min-height: 48px; min-width: 72px; padding: 12px; font-size: 12px; color: #dce4f2; }
.nce-property-search-page .nce-property-search__modes input:checked + span { color: #fff; background: #284779; }
.nce-property-search-page .nce-property-discovery__more-toggle { min-height: 48px; grid-template-columns: auto 1fr 26px 14px; gap: 12px; padding: 8px 16px; }
.nce-property-search-page .nce-property-discovery__more-toggle strong { font: 700 14px/1.3 var(--nce-sans); }
.nce-property-search-page .nce-property-discovery__more-toggle em { font-size: 12px; color: #53647d; }
.nce-property-search-page .nce-property-discovery__more-toggle b { width: 26px; font-size: 12px; }
.nce-property-search-page .nce-property-discovery[data-search-more-open] .nce-property-discovery__more-toggle em { color: #e0e8f2; }
.nce-property-search-page .nce-property-discovery__primary { grid-template-columns: minmax(180px,1.3fr) minmax(130px,1fr) minmax(100px,.6fr) minmax(220px,1.4fr) minmax(145px,.8fr); }
.nce-property-search-page .nce-property-discovery__primary > label,
.nce-property-search-page .nce-property-discovery__price { min-height: 86px; padding: 10px 14px; gap: 3px; }
.nce-property-search-page .nce-property-discovery__primary > label > span,
.nce-property-search-page .nce-property-discovery__price > span { font-size: 11px; letter-spacing: .07em; color: #52627c; }
.nce-property-search-page .nce-property-discovery__primary select { min-height: 44px; font: 600 14px/1.3 var(--nce-sans); }
.nce-property-search-page .nce-property-discovery__destination > small,
.nce-property-search-page .nce-property-discovery__submit small { display: none; }
.nce-property-search-page .nce-property-discovery__submit { min-height: 48px; grid-column: auto; padding: 12px 32px 12px 16px; background: var(--nce-ink); color: #fff; }
.nce-property-search-page .nce-property-discovery__submit span { font: 700 14px/1.4 var(--nce-sans); }
.nce-property-search-page .nce-property-discovery__submit i { right: 12px; }
.nce-property-search-page .nce-property-discovery__submit:hover { background: #214d80; color: #fff; }
.nce-property-search-page .nce-property-discovery__lifestyle { padding: 16px; }
.nce-property-search-page .nce-property-discovery__lifestyle > header { display: block; margin-bottom: 12px; }
.nce-property-search-page .nce-property-discovery__lifestyle .nce-eyebrow,
.nce-property-search-page .nce-property-discovery__lifestyle > header > p { display: none; }
.nce-property-search-page .nce-property-discovery__lifestyle h2 { font: 700 15px/1.4 var(--nce-sans); letter-spacing: 0; }
.nce-property-search-page .nce-property-discovery__chips { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.nce-property-search-page .nce-property-discovery__chip > span { min-height: 48px; grid-template-columns: 24px minmax(0,1fr) 16px; gap: 8px; padding: 8px 10px; }
.nce-property-search-page .nce-property-discovery__chip svg { width: 24px; height: 24px; padding: 3px; }
.nce-property-search-page .nce-property-discovery__chip strong { align-self: center; font: 600 13px/1.3 var(--nce-sans); }
.nce-property-search-page .nce-property-discovery__chip small { display: none; }
.nce-property-search-page .nce-property-discovery__chip input:checked + span { background: #062d6b; border-color: #062d6b; transform: none; }
.nce-property-search-page .nce-property-search__advanced summary { min-height: 48px; padding: 10px 16px; }
.nce-property-search-page .nce-property-search__advanced summary small { display: none; }
.nce-property-search-page .nce-property-search__advanced summary strong { font: 600 14px/1.4 var(--nce-sans); }
.nce-property-search-page .nce-property-search__footer { min-height: 44px; padding: 8px 16px; }
.nce-property-search-page .nce-property-search__footer > span > span { display: none; }
.nce-property-search-page .nce-property-search__footer strong,
.nce-property-search-page .nce-property-search__footer a { color: #234b77; font-size: 11px; }

.nce-property-search-page > .nce-property-results { padding-top: 18px; padding-bottom: 48px; }
.nce-property-search-page .nce-property-results__header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin: 0 0 16px; padding: 0; }
.nce-property-search-page .nce-property-results__header h2 { max-width: none; margin: 0; font: 700 21px/1.35 var(--nce-sans); letter-spacing: -.025em; }
.nce-property-search-page .nce-property-results__controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 16px; margin: 0; }
.nce-property-search-page .nce-property-results__controls label { display: flex; align-items: center; gap: 8px; }
.nce-property-search-page .nce-property-results__controls label > span { font-size: 12px; letter-spacing: 0; text-transform: none; color: #53647d; }
.nce-property-search-page .nce-property-results__controls select { width: auto; max-width: 100%; min-height: 44px; padding: 8px 30px 8px 10px; font: 600 13px/1.4 var(--nce-sans); background-color: #fff; }
.nce-property-search-page [data-save-search] { min-height: 44px; font-size: 12px; }
.nce-property-search-page .nce-property-results > .nce-form-status:empty { display: none; }
.nce-property-search-page .nce-property-results > .nce-form-status { margin: 0 0 12px; font-size: 13px; }
.nce-property-search-page .nce-card-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; align-items: stretch; }
.nce-property-search-page .nce-listing-card { min-width: 0; align-self: stretch; border: 1px solid var(--nce-border); border-radius: 8px; overflow: hidden; background: #fff; }
.nce-property-search-page .nce-listing-card > a { height: 100%; }
.nce-property-search-page .nce-listing-card > a:focus-visible { outline-offset: -3px; }
.nce-property-search-page .nce-card-media { aspect-ratio: 16 / 9; }
.nce-property-search-page .nce-listing-card .nce-card-body { min-height: 0; padding: 14px 16px 16px; border: 0; }
.nce-property-search-page .nce-listing-card .nce-card-price { margin: 0 0 7px; font: 750 24px/1.15 var(--nce-sans); letter-spacing: -.025em; color: var(--nce-ink); }
.nce-property-search-page .nce-card-body .nce-eyebrow { display: block; margin: 0 0 5px; font-size: 12px; font-weight: 650; letter-spacing: 0; line-height: 1.4; text-transform: none; color: #425776; }
.nce-property-search-page .nce-card-body .nce-eyebrow::before { display: none; }
.nce-property-search-page .nce-card-body h3 { font: 500 15px/1.4 var(--nce-sans); letter-spacing: 0; color: #263e60; -webkit-line-clamp: 2; }
.nce-property-search-page .nce-listing-card .nce-card-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 11px 0 0; padding-top: 10px; font-size: 12px; line-height: 1.4; color: #465b77; }
.nce-property-search-page .nce-listing-card .nce-card-meta span { display: inline; white-space: nowrap; }
.nce-property-search-page .nce-listing-card .nce-card-meta strong { display: inline; font-size: 13px; line-height: inherit; }
.nce-property-search-page .nce-card-cta { display: none; }
.nce-property-search-page .nce-listing-card__save { top: 8px; right: 8px; min-width: 44px; width: 44px; height: 44px; min-height: 44px; padding: 0; justify-content: center; font-size: 21px; background: #fff; }
.nce-property-search-page .nce-listing-card__save > span { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nce-property-search-page .nce-listing-card__save[aria-pressed="true"] { background: #062d6b; color: #fff; }
.nce-property-search-page .nce-card-status { top: 10px; left: 10px; padding: 5px 8px; font-size: 10px; line-height: 1.4; letter-spacing: .04em; }
.nce-property-search-page .nce-card-kind { bottom: 10px; left: 10px; padding: 5px 8px; font-size: 10px; line-height: 1.4; letter-spacing: .04em; }
.nce-property-search-page .nce-card-fresh { top: auto; bottom: 10px; right: 10px; left: auto; transform: none; padding: 5px 8px; font-size: 10px; line-height: 1.4; letter-spacing: .02em; }
.nce-property-search-page .nce-search-alert { margin: 24px 0 0; }
.nce-property-search-page .nce-search-alert summary { min-height: 56px; padding: 12px 16px; }
.nce-property-search-page .nce-search-alert summary small { display: none; }
.nce-property-search-page .nce-search-alert summary strong { font: 650 15px/1.4 var(--nce-sans); }
.nce-property-search-page .nce-pagination { flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.nce-property-search-page .nce-pagination > * { min-width: 44px; min-height: 44px; }
.nce-property-search-page .nce-empty-state { padding: 40px 20px; }
.nce-property-search-page .nce-empty-state h3 { font-size: 28px; }

@media (min-width: 1024px) {
  .nce-property-search-page .nce-property-discovery { display: grid; grid-template-columns: minmax(0,1fr) minmax(380px,.9fr); }
  .nce-property-search-page .nce-property-discovery__more-panel { grid-column: 1 / -1; }
}
@media (max-width: 1023px) {
  .nce-property-search-page .nce-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  .nce-property-search-page .nce-property-discovery__primary { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nce-property-search-page .nce-property-discovery__destination,
  .nce-property-search-page .nce-property-discovery__price,
  .nce-property-search-page .nce-property-discovery__submit { grid-column: 1 / -1; }
  .nce-property-search-page .nce-property-discovery__price select { font-size: 16px; }
}
@media (min-width: 601px) and (max-width: 760px) {
  .nce-property-search-page .nce-property-discovery__more-toggle em { display: block; }
}
@media (max-width: 600px) {
  .nce-property-search-page .nce-shell { width: calc(100% - 24px); }
  .nce-property-search-page .nce-property-search-stage { padding-top: 12px; }
  .nce-property-search-page .nce-property-discovery__topline { padding: 0; }
  .nce-property-search-page .nce-property-search__modes { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 0; padding: 0; }
  .nce-property-search-page .nce-property-search__modes span { min-width: 0; width: 100%; min-height: 44px; padding: 10px 3px; font-size: 10px; letter-spacing: .03em; }
  .nce-property-search-page .nce-property-discovery__more-toggle { min-height: 44px; grid-template-columns: 1fr 26px 14px; padding: 7px 12px; }
  .nce-property-search-page .nce-property-discovery__more-toggle em { display: none; }
  .nce-property-search-page .nce-property-discovery__primary > label,
  .nce-property-search-page .nce-property-discovery__price { min-height: 76px; padding: 8px 12px; }
  .nce-property-search-page .nce-property-discovery__primary select { font-size: 16px; }
  .nce-property-search-page .nce-property-discovery__chips { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nce-property-search-page .nce-property-discovery__chip > span { grid-template-columns: minmax(0,1fr) 16px; }
  .nce-property-search-page .nce-property-discovery__chip svg { display: none; }
  .nce-property-search-page .nce-property-discovery__chip i { grid-column: 2; }
  .nce-property-search-page > .nce-property-results { padding-top: 12px; }
  .nce-property-search-page .nce-property-results__header { gap: 4px; margin-bottom: 12px; }
  .nce-property-search-page .nce-property-results__header h2 { font-size: 18px; }
  .nce-property-search-page .nce-property-results__controls { width: 100%; justify-content: space-between; gap: 4px; }
  .nce-property-search-page .nce-property-results__controls label { gap: 5px; }
  .nce-property-search-page .nce-property-results__controls select { max-width: 180px; font-size: 12px; }
  .nce-property-search-page [data-save-search] { font-size: 11px; padding: 4px; }
  .nce-property-search-page .nce-card-grid { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .nce-property-search-page .nce-card-media { aspect-ratio: 1.9; }
  .nce-property-search-page .nce-listing-card .nce-card-body { padding: 12px 14px 14px; }
  .nce-property-search-page .nce-listing-card .nce-card-price { font-size: 22px; }
}

/* Keep the secondary action readable against the light results toolbar. */
.nce-property-search-page [data-save-search] { color: #062d6b; }

/* Continuous results: quiet progress, with an accessible manual/retry action. */
.nce-property-search-page .nce-pagination[hidden],
.nce-property-search-page .nce-infinite-results [hidden] { display: none !important; }
.nce-property-search-page .nce-infinite-results { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 24px 0 0; padding: 16px; text-align: center; }
.nce-property-search-page .nce-infinite-results [data-infinite-status] { margin: 0; color: #425776; font: 500 13px/1.5 var(--nce-sans); }
.nce-property-search-page .nce-infinite-results__more { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 10px 22px; border: 1px solid #aab8c9; border-radius: 6px; background: #fff; color: #062d6b; font: 700 14px/1.4 var(--nce-sans); cursor: pointer; }
.nce-property-search-page .nce-infinite-results__more:hover { background: #e1f3f1; border-color: #287d80; color: #062d6b; }
.nce-property-search-page .nce-infinite-results__more:focus-visible { outline: 2px solid #062d6b; outline-offset: 3px; }
.nce-property-search-page .nce-infinite-results__more[aria-disabled="true"] { cursor: default; opacity: .7; }
.nce-property-search-page [data-infinite-sentinel] { width: 1px; height: 1px; pointer-events: none; }

/* Lifestyle filters: compact choices with readable, explicit selection states. */
.nce-property-search-page .nce-property-discovery__lifestyle { padding: 14px 16px; background: #fff; }
.nce-property-search-page .nce-property-discovery__lifestyle > header { margin-bottom: 10px; }
.nce-property-search-page .nce-property-discovery__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nce-property-search-page .nce-property-discovery__chip { flex: 0 1 auto; min-width: 0; max-width: 100%; }
.nce-property-search-page .nce-property-discovery__chip > span { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; gap: 8px; padding: 8px 12px; color: #062d6b !important; background: #fff; border: 1px solid #aab8c9; border-radius: 999px; transition: background-color .15s ease, border-color .15s ease; }
.nce-property-search-page .nce-property-discovery__chip strong { align-self: center; color: #062d6b; font: 600 13px/1.3 var(--nce-sans); }
.nce-property-search-page .nce-property-discovery__chip svg { display: none; }
.nce-property-search-page .nce-property-discovery__chip i { position: relative; order: -1; flex: 0 0 18px; width: 18px; height: 18px; margin: 0; border: 1px solid #7c8fa9; border-radius: 4px; background: #fff; box-shadow: none; }
.nce-property-search-page .nce-property-discovery__chip:hover > span { background: #f2f7f7; border-color: #527d83; }
.nce-property-search-page .nce-property-discovery__chip input:checked + span { color: #062d6b !important; background: #e1f3f1; border-color: #287d80; transform: none; }
.nce-property-search-page .nce-property-discovery__chip input:checked + span strong { color: #062d6b; }
.nce-property-search-page .nce-property-discovery__chip input:checked + span i { border-color: #062d6b; background: #062d6b; box-shadow: none; }
.nce-property-search-page .nce-property-discovery__chip input:checked + span i::after { content: ""; position: absolute; top: 2px; left: 5px; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.nce-property-search-page .nce-property-discovery__chip input:focus-visible + span { outline: 2px solid #062d6b; outline-offset: 3px; }
@media (max-width: 360px) {
  .nce-property-search-page .nce-property-discovery__chip > span { gap: 6px; padding: 8px; }
  .nce-property-search-page .nce-property-discovery__chip strong { font-size: 12px; }
  .nce-property-search-page .nce-property-discovery__chip i { flex-basis: 16px; width: 16px; height: 16px; }
  .nce-property-search-page .nce-property-discovery__chip input:checked + span i::after { top: 1px; left: 4px; }
}
