:root {
  --ink-900: #10253f;
  --ink-800: #19385f;
  --ink-700: #25507f;
  --sand-100: #f6f2e8;
  --sand-200: #ece4d2;
  --mint-100: #e4f3ef;
  --mint-300: #99d0c2;
  --gold-400: #cc8b2f;
  --gold-500: #b6761e;
  --white: #ffffff;
  --border: #d6deea;
  --text: #243348;
  --muted: #6e7d90;
  --page-width: 1240px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, #fff5df 0, transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-header,
.page-shell {
  width: min(var(--page-width), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  padding: 20px 0 10px;
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 24px;
  background: rgba(16, 37, 63, 0.92);
  color: var(--white);
  box-shadow: 0 20px 60px rgba(16, 37, 63, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand__badge {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand__copy {
  display: flex;
  flex-direction: column;
}

.brand__copy strong {
  font-size: 10px;
  letter-spacing: 0.02em;
}

.brand__copy small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.site-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 600;
}

.site-nav a.is-active,
.site-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.site-header__actions {
  display: flex;
  gap: 10px;
}

.button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.button--primary {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--white);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.button--soft {
  background: var(--mint-100);
  color: var(--ink-800);
}

.page-shell {
  padding: 16px 0 40px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
  gap: 20px;
  margin-bottom: 22px;
}

.hero__content,
.hero__panel,
.filters-panel,
.results-panel {
  border: 1px solid rgba(209, 220, 234, 0.9);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 50px rgba(42, 77, 120, 0.08);
}

.hero__content {
  padding: 30px;
  background:
    radial-gradient(circle at top right, rgba(153, 208, 194, 0.55), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f5f9ff 100%);
}

.eyebrow,
.section-tag {
  margin: 0 0 10px;
  color: var(--ink-700);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.results-panel__top h2,
.filters-panel__header h2 {
  margin: 0;
  color: var(--ink-900);
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 0.98;
}

.hero__text {
  max-width: 62ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.hero-stat {
  padding: 16px 18px;
  border: 1px solid var(--sand-200);
  border-radius: 22px;
  background: linear-gradient(180deg, #fffdfa 0%, var(--sand-100) 100%);
}

.hero-stat span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-stat strong {
  display: block;
  margin-top: 8px;
  color: var(--ink-900);
  font-size: 28px;
}

.hero__panel {
  padding: 28px;
  background: linear-gradient(180deg, var(--ink-900) 0%, var(--ink-800) 100%);
  color: var(--white);
}

.hero__panel h2 {
  margin: 0 0 16px;
  font-size: 9px;
}

.hero__checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.hero__checklist li {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  line-height: 1.5;
}

.workspace {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.filters-panel,
.results-panel {
  padding: 24px;
}

.filters-panel__header,
.results-panel__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.search-box {
  position: relative;
  margin: 18px 0 20px;
}

.search-box input {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 44px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  outline: none;
}

.search-box__icon {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 14px;
  height: 14px;
  border: 2px solid #7f8ea4;
  border-radius: 50%;
  transform: translateY(-50%);
}

.search-box__icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 7px;
  height: 2px;
  background: #7f8ea4;
  transform: rotate(45deg);
}

.filters-stack {
  display: grid;
  gap: 14px;
}

.filter-card {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.filter-card h3 {
  margin: 0 0 12px;
  color: var(--ink-900);
  font-size: 14px;
}

.filter-list {
  display: grid;
  gap: 10px;
}

#municipality-filter {
  min-height: 560px;
}

#municipality-filter .filter-list {
  max-height: 620px;
  overflow-y: auto;
  padding-right: 4px;
}

.filter-option,
.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 10px;
}

.filter-option input,
.radio-option input {
  margin: 0;
  accent-color: var(--ink-700);
}

.filter-label {
  flex: 1;
}

.pill-count {
  min-width: 28px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--mint-100);
  color: var(--ink-800);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.filter-search {
  width: 100%;
  height: 40px;
  margin-bottom: 12px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.show-more {
  margin-top: 12px;
  border: 0;
  background: transparent;
  color: var(--ink-700);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

#mrc-filter[hidden] {
  display: none !important;
}

.mrc-panel {
  display: grid;
  gap: 12px;
}

.mrc-panel__group {
  border: 1px solid rgba(16, 37, 63, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  overflow: hidden;
}

.mrc-panel__group-title {
  width: 100%;
  border: 0;
  padding: 10px 12px;
  background: rgba(16, 37, 63, 0.06);
  color: var(--ink-900);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
}

.mrc-panel__group-body {
  display: grid;
  gap: 8px;
  padding: 10px 12px 12px;
}

.mrc-panel__city-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.mrc-panel__city-name {
  color: var(--text);
  font-size: 12px;
  line-height: 1.4;
}

.mrc-panel__group-title:hover,
.mrc-panel__city-row:hover {
  color: var(--ink-700);
}

.mrc-panel__group-title.is-active {
  background: rgba(16, 37, 63, 0.14);
  color: var(--ink-900);
}

.mrc-panel__city-row.is-active {
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(228, 243, 239, 0.9);
}

.results-panel__meta {
  display: grid;
  gap: 4px;
  color: var(--muted);
  text-align: right;
  font-size: 10px;
}

.results-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.summary-card {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
}

.summary-card__label {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.summary-card strong {
  display: block;
  margin-top: 8px;
  color: var(--ink-900);
  font-size: 32px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.listing-card,
.results-empty-state {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
  box-shadow: 0 18px 40px rgba(26, 56, 95, 0.08);
}

.listing-card {
  overflow: hidden;
}

.listing-card__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  padding: 18px 18px 14px;
  background: linear-gradient(135deg, rgba(16, 37, 63, 0.98), rgba(37, 80, 127, 0.94));
  color: var(--white);
}

.listing-card__sale {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.listing-card__sale::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #86d7be;
}

.listing-card__amount {
  color: #fff4de;
  font-size: 24px;
  font-weight: 800;
  white-space: nowrap;
}

.listing-card__body {
  padding: 18px;
}

.listing-card__title {
  margin: 0;
  color: var(--ink-900);
  font-size: 22px;
  line-height: 1.1;
}

.listing-card__subtitle {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.listing-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.listing-card__tag {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--mint-100);
  color: var(--ink-800);
  font-size: 12px;
  font-weight: 700;
}

.listing-card__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.listing-card__meta {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.listing-card__meta span {
  display: block;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.listing-card__meta strong {
  display: block;
  margin-top: 6px;
  color: var(--ink-900);
  font-size: 15px;
  line-height: 1.4;
}

.listing-card__footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 10px;
}

.results-empty-state {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 30px;
  text-align: center;
}

.results-empty-state h3 {
  margin: 0;
  color: var(--ink-900);
  font-size: 28px;
}

.results-empty-state p {
  max-width: 56ch;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 1080px) {
  .hero,
  .workspace,
  .site-header__inner,
  .results-grid {
    grid-template-columns: 1fr;
  }

  .site-nav,
  .site-header__actions {
    justify-content: flex-start;
  }

  #municipality-filter {
    min-height: auto;
  }

  #municipality-filter .filter-list {
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 760px) {
  .overview-map {
    height: 320px;
  }

  .hero__content,
  .hero__panel,
  .filters-panel,
  .results-panel {
    padding: 20px;
  }

  .hero__stats,
  .results-summary,
  .listing-card__grid {
    grid-template-columns: 1fr;
  }

  .filters-panel__header,
  .results-panel__top,
  .listing-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .results-panel__meta {
    text-align: left;
  }

  .listing-card__amount {
    font-size: 9px;
  }
}

.language-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.language-switch__button {
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.language-switch__button.is-active {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-900);
}

@media (max-width: 1080px) {
  .language-switch {
    align-self: flex-start;
  }
}

.listing-card__preview {
  position: relative;
  height: 230px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(10, 31, 53, 0.16), rgba(26, 90, 68, 0.12)),
    linear-gradient(25deg, #365a45 0%, #4c7259 24%, #6c845f 24%, #78906a 43%, #56725a 43%, #385049 100%);
}

.listing-card__preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 14%, rgba(255, 255, 255, 0.08) 14% 15%, transparent 15% 100%),
    linear-gradient(0deg, transparent 0 18%, rgba(255, 255, 255, 0.05) 18% 19%, transparent 19% 100%);
  opacity: 0.55;
}

.listing-card__preview--urban {
  background:
    linear-gradient(135deg, rgba(10, 31, 53, 0.16), rgba(26, 90, 68, 0.08)),
    linear-gradient(0deg, #5d6a67 0 24%, #74806d 24% 40%, #556b5d 40% 58%, #405752 58% 100%);
}

.listing-card__preview--field {
  background:
    linear-gradient(135deg, rgba(10, 31, 53, 0.16), rgba(26, 90, 68, 0.08)),
    linear-gradient(90deg, #6a7448 0 26%, #76815b 26% 52%, #556247 52% 73%, #828a5c 73% 100%);
}

.listing-card__preview--river {
  background:
    linear-gradient(135deg, rgba(10, 31, 53, 0.16), rgba(26, 90, 68, 0.08)),
    linear-gradient(90deg, #436d57 0 21%, #6d8060 21% 49%, #4d6a58 49% 75%, #31535e 75% 100%);
}

.listing-card__roads,
.listing-card__parcel,
.listing-card__geo {
  position: absolute;
  z-index: 1;
}

.listing-card__roads {
  inset: 0;
}

.listing-card__roads::before,
.listing-card__roads::after {
  content: "";
  position: absolute;
  background: rgba(205, 209, 198, 0.9);
  box-shadow: 0 0 0 2px rgba(124, 132, 125, 0.12);
}

.listing-card__roads::before {
  width: 260px;
  height: 18px;
  top: 24px;
  left: -18px;
  transform: rotate(-24deg);
}

.listing-card__roads::after {
  width: 210px;
  height: 14px;
  bottom: 44px;
  left: -8px;
  transform: rotate(-6deg);
}

.listing-card__preview--urban .listing-card__roads::before {
  width: 100%;
  height: 16px;
  top: 36px;
  left: 0;
  transform: none;
}

.listing-card__preview--urban .listing-card__roads::after {
  width: 16px;
  height: 100%;
  top: 0;
  left: 58%;
  transform: none;
}

.listing-card__preview--field .listing-card__roads::before {
  width: 16px;
  height: 100%;
  top: 0;
  right: 40px;
  left: auto;
  transform: none;
}

.listing-card__preview--field .listing-card__roads::after {
  width: 100%;
  height: 12px;
  left: 0;
  bottom: 36px;
  transform: none;
}

.listing-card__parcel {
  border: 3px solid #f33a33;
  box-shadow: 0 0 0 1px rgba(90, 12, 8, 0.12);
}

.listing-card__parcel--wide {
  top: 86px;
  left: 42px;
  width: 170px;
  height: 52px;
  transform: rotate(4deg);
}

.listing-card__parcel--square {
  top: 66px;
  left: 110px;
  width: 90px;
  height: 82px;
  transform: rotate(-1deg);
}

.listing-card__parcel--tall {
  top: 54px;
  left: 122px;
  width: 78px;
  height: 112px;
  transform: rotate(1deg);
}

.listing-card__parcel--corner {
  top: 94px;
  left: 70px;
  width: 72px;
  height: 74px;
  transform: rotate(-3deg);
}

.listing-card__geo {
  top: 14px;
  left: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: calc(100% - 28px);
}

.listing-card__geo-chip {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(16, 37, 63, 0.8);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.listing-card__geo-chip--accent {
  background: rgba(182, 118, 30, 0.9);
}

.listing-card__header {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.listing-card__map-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: #dbe7d8;
}

.listing-card__map {
  width: 100%;
  height: 100%;
}

.listing-card__map-signals {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 560;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.listing-card__map-signal {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(214, 222, 234, 0.95);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 18px rgba(16, 37, 63, 0.14);
  backdrop-filter: blur(6px);
  pointer-events: auto;
}

.listing-card__map-signal-svg {
  width: 15px;
  height: 15px;
}

.listing-card__map-signal::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: max-content;
  max-width: 180px;
  padding: 7px 9px;
  border-radius: 10px;
  background: rgba(16, 37, 63, 0.94);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}

.listing-card__map-signal:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.listing-card__map-signal--positive {
  color: #1f8a62;
}

.listing-card__map-signal--negative {
  color: #d2483f;
}

.listing-card__map-signal--neutral {
  color: #b8c1ce;
}

.listing-card__map-badge,
.listing-card__map-geo {
  position: absolute;
  z-index: 500;
}

.listing-card__map-badge {
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(16, 37, 63, 0.86);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}

.listing-card__map-geo {
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: calc(100% - 24px);
}

.listing-card__map-geo span {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink-900);
  font-size: 9px;
  font-weight: 700;
}

.leaflet-control-attribution,
.leaflet-control-zoom {
  display: none !important;
}

.listing-card__title-link {
  display: block;
}

.listing-card__title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.listing-card__header {
  position: relative;
  padding: 12px 18px 10px;
}

.listing-card__title-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  color: #ffffff;
}

.listing-card__title-pin {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.listing-card__title {
  margin: 0;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.2;
}

.listing-card__title-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  color: #ffffff;
  text-decoration: none;
}

.listing-card__title-pin {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 2px solid #ffffff;
  border-radius: 999px 999px 999px 0;
  transform: rotate(-45deg);
  background: transparent;
}

.listing-card__title-pin::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #ffffff;
}

.listing-card__title {
  flex: 1;
  min-width: 0;
  padding-right: 38px;
  margin: 0;
  color: #ffffff;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.listing-card__favorite {
  position: absolute;
  top: 50%;
  right: 14px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.18s ease, color 0.18s ease;
}

.listing-card__favorite:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.listing-card__favorite.is-active {
  background: rgba(255, 255, 255, 0.18);
  color: #ff8593;
}

.listing-card__favorite-icon {
  width: 14px;
  height: 14px;
}

.listing-card__map-wrap {
  cursor: pointer;
}

.parcel-modal[hidden] {
  display: none;
}

.parcel-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
}

.parcel-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 20, 35, 0.7);
  backdrop-filter: blur(3px);
}

.parcel-modal__dialog {
  position: relative;
  width: min(1100px, calc(100% - 24px));
  margin: 28px auto;
  padding: 18px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(8, 20, 35, 0.35);
}

.parcel-modal__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 14px;
}

.parcel-modal__header h2 {
  margin: 0;
  color: var(--ink-900);
}

.parcel-modal__close {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--ink-900);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.parcel-modal__map {
  height: min(72vh, 760px);
  border-radius: 12px;
  overflow: hidden;
}

.parcel-modal .leaflet-control-zoom,
.parcel-modal .leaflet-control-attribution {
  display: block !important;
}
.parcel-modal__dialog {
  width: calc(100vw - 24px);
  height: calc(100vh - 24px);
  margin: 12px;
  padding: 18px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}
.parcel-modal__layout {
  display: grid;
  grid-template-rows: minmax(300px, 1fr) minmax(260px, 1fr);
  gap: 16px;
  min-height: 0;
}
.parcel-modal__map {
  height: 100%;
  min-height: 0;
  border-radius: 12px;
  overflow: hidden;
}
.parcel-modal__details {
  min-height: 0;
  overflow: auto;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
  display: grid;
  gap: 18px;
}
.parcel-modal__lead {
  display: grid;
  gap: 10px;
}
.parcel-modal__lead h3 {
  margin: 0;
  color: var(--ink-900);
  font-size: 28px;
}
.parcel-modal__lead p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.parcel-modal__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.parcel-modal__stat {
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #ffffff;
}
.parcel-modal__stat span {
  display: block;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.parcel-modal__stat strong {
  display: block;
  margin-top: 8px;
  color: var(--ink-900);
  font-size: 10px;
  line-height: 1.35;
}
.parcel-modal__sections {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}
.parcel-modal__card {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #ffffff;
}
.parcel-modal__card h4 {
  margin: 0 0 10px;
  color: var(--ink-900);
  font-size: 16px;
}
.parcel-modal__card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.parcel-modal__list {
  display: grid;
  gap: 10px;
}
.parcel-modal__list-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  padding-bottom: 10px;
  border-bottom: 1px solid #e8eef7;
}
.parcel-modal__list-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.parcel-modal__list-row span {
  color: var(--muted);
  font-size: 10px;
}
.parcel-modal__list-row strong {
  color: var(--ink-900);
  font-size: 14px;
  text-align: right;
}
@media (max-width: 900px) {
  .parcel-modal__dialog {
    width: calc(100vw - 12px);
    height: calc(100vh - 12px);
    margin: 6px;
    padding: 14px;
  }
  .parcel-modal__layout,
  .parcel-modal__sections,
  .parcel-modal__stats {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
}

.parcel-modal__header {
  margin-bottom: 10px;
}

.parcel-modal__dialog {
  width: min(1180px, calc(100vw - 24px));
  height: calc(100vh - 24px);
  margin: 12px auto;
  padding: 20px;
}

.parcel-modal__layout {
  display: grid;
  grid-template-rows: minmax(300px, 360px) minmax(0, 1fr);
  gap: 18px;
}

.parcel-modal__map {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #dbe7d8;
}

.parcel-modal__details {
  padding: 0;
  border: 0;
  background: transparent;
  overflow: auto;
}

.parcel-detail__hero,
.parcel-detail__auction,
.parcel-detail__stats,
.parcel-detail__columns,
.parcel-detail__stack {
  margin-bottom: 18px;
}

.parcel-detail__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 260px;
  gap: 18px;
  align-items: start;
}

.parcel-detail__hero h3 {
  margin: 0 0 10px;
  color: var(--ink-900);
  font-size: 30px;
  line-height: 1.1;
}

.parcel-detail__hero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.parcel-detail__cta {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #ffffff;
}

.parcel-detail__cta span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.parcel-detail__cta strong {
  display: block;
  margin-top: 10px;
  color: var(--ink-900);
  font-size: 10px;
  line-height: 1.35;
}

.parcel-detail__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.parcel-detail__stat,
.parcel-detail__card {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(16, 37, 63, 0.06);
}

.parcel-detail__stat span,
.parcel-detail__row span {
  display: block;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.parcel-detail__stat strong {
  display: block;
  margin-top: 8px;
  color: var(--ink-900);
  font-size: 10px;
}

.parcel-detail__columns {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 14px;
}

.parcel-detail__stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.parcel-detail__auction-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.parcel-detail__auction-item {
  display: grid;
  gap: 8px;
}

.parcel-detail__auction-item span,
.parcel-detail__group h5 {
  display: block;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.parcel-detail__auction-item strong {
  color: var(--ink-900);
  font-size: 18px;
  line-height: 1.45;
}

.parcel-detail__auction-item--location {
  grid-column: span 1;
}

.parcel-detail__auction-location {
  display: block;
}

.parcel-detail__location-block--auction {
  justify-items: start;
}

.parcel-detail__auction-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.parcel-detail__group {
  display: grid;
  gap: 10px;
}

.parcel-detail__group + .parcel-detail__group {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e8eef7;
}

.parcel-detail__group h5 {
  margin: 0;
}

.parcel-detail__card--full,
.parcel-detail__card--wide {
  grid-column: 1 / -1;
}

.parcel-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.property-records-paypal {
  width: min(100%, 280px);
  min-height: 46px;
}

.property-records-paypal .parcel-detail__button {
  width: 100%;
}

.property-records-checkout[hidden] {
  display: none;
}

.property-records-checkout {
  position: fixed;
  inset: 0;
  z-index: 5200;
}

.property-records-checkout__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 9, 18, 0.78);
  backdrop-filter: blur(8px);
}

.property-records-checkout__dialog {
  position: relative;
  width: min(500px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  margin: 16px auto;
  padding: 24px 28px 22px;
  overflow: auto;
  border: 1px solid rgba(116, 151, 188, 0.35);
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 0%, rgba(50, 93, 142, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(14, 22, 34, 0.96), rgba(7, 13, 21, 0.98));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.property-records-checkout__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 18px;
}

.property-records-checkout__header h2 {
  margin: 10px 0 0;
  color: #f7fbff;
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: 0;
}

.property-records-checkout .section-tag {
  margin: 0;
  color: #a8d8ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

#property-records-checkout-close-button {
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(126, 147, 173, 0.18);
  color: #d9e4f2;
  font-size: 14px;
  box-shadow: none;
}

.property-records-checkout__price {
  display: grid;
  gap: 7px;
  padding: 19px;
  border: 1px solid rgba(89, 125, 165, 0.42);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(28, 41, 56, 0.9), rgba(16, 24, 35, 0.92));
  color: #f8fbff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.property-records-checkout__price strong {
  font-size: 38px;
  line-height: 1;
  letter-spacing: 0;
}

.property-records-checkout__price span,
.property-records-checkout__label {
  color: #d8dee8;
}

.property-records-checkout__trust {
  margin: 16px 0 0;
  color: #99efb6;
  font-size: 16px;
  font-weight: 800;
}

.property-records-checkout__fields {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.property-records-checkout .request-records-form__field {
  gap: 10px;
}

.property-records-checkout .request-records-form__field span {
  color: #f5f8fc;
  font-size: 15px;
  font-weight: 900;
}

.property-records-checkout .request-records-form__field input {
  min-height: 54px;
  border: 1px solid rgba(91, 125, 164, 0.54);
  border-radius: 10px;
  background: rgba(15, 24, 36, 0.82);
  color: #f7fbff;
  font-size: 16px;
  box-shadow: none;
}

.property-records-checkout .request-records-form__field input::placeholder {
  color: rgba(220, 226, 235, 0.62);
}

.property-records-checkout .request-records-form__field input:focus {
  border-color: #2d8cff;
  box-shadow: 0 0 0 3px rgba(45, 140, 255, 0.16);
}

.property-records-checkout__label {
  margin: 20px 0 10px;
  font-size: 18px;
  font-weight: 900;
}

.property-records-checkout__method-selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.property-records-checkout__method {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
  min-height: 100px;
  padding: 16px;
  border: 1px solid rgba(91, 125, 164, 0.56);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(24, 34, 47, 0.72), rgba(15, 23, 34, 0.82));
  color: #f8fbff;
  text-align: left;
  cursor: pointer;
  align-content: start;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

#property-records-paypal-option {
  position: relative;
  grid-template-rows: 1fr;
  align-content: center;
}

.property-records-checkout__method:hover {
  transform: translateY(-1px);
  border-color: rgba(45, 140, 255, 0.68);
  background: linear-gradient(145deg, rgba(28, 41, 58, 0.86), rgba(17, 27, 40, 0.9));
}

.property-records-checkout__method.is-selected {
  border-color: #2d8cff;
  background: linear-gradient(145deg, rgba(27, 40, 56, 0.92), rgba(15, 24, 36, 0.96));
  box-shadow: 0 0 0 3px rgba(45, 140, 255, 0.16), inset 0 0 0 1px rgba(45, 140, 255, 0.3);
}

.property-records-checkout__method strong {
  font-size: 20px;
  line-height: 1.25;
}

.property-records-checkout__method span {
  color: inherit;
}

.property-records-checkout__method-heading {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  line-height: 1;
}

.property-records-checkout__radio {
  display: inline-flex;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(129, 149, 174, 0.58);
  border-radius: 999px;
}

.property-records-checkout__radio::after {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: transparent;
  content: '';
}

.property-records-checkout__method.is-selected .property-records-checkout__radio {
  border-color: #2d8cff;
  background: #2d8cff;
  box-shadow: 0 0 0 6px rgba(45, 140, 255, 0.16);
}

.property-records-checkout__method.is-selected .property-records-checkout__radio::after {
  background: #ffffff;
}

#property-records-paypal-option > .property-records-checkout__radio {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.property-records-checkout__brand-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin-top: 0;
  width: 100%;
  min-width: 0;
}

.property-records-checkout__brand-row--cards {
  padding-left: 12px;
}

.property-records-checkout__brand-row--paypal {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  height: 100%;
}

.payment-brand {
  display: inline-flex;
  width: auto;
  height: 26px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.payment-brand svg {
  display: block;
  width: auto;
  height: 26px;
}

.payment-brand--paypal {
  height: 26px;
}

.payment-brand--paypal svg {
  height: 26px;
}

.property-records-checkout__primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  margin-top: 18px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, #2a82ff, #064fdd);
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.property-records-checkout__primary[hidden] {
  display: none;
}

.property-records-checkout__primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(16, 91, 231, 0.28);
}

.property-records-checkout__primary:active {
  transform: translateY(0);
}

.property-records-checkout__primary:disabled {
  cursor: wait;
  opacity: 0.78;
  transform: none;
  box-shadow: none;
}

.property-records-checkout__spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  border-radius: 999px;
  animation: property-records-spin 0.8s linear infinite;
}

.property-records-checkout__primary.is-loading .property-records-checkout__spinner {
  display: inline-block;
}

@keyframes property-records-spin {
  to {
    transform: rotate(360deg);
  }
}

.property-records-checkout .property-records-paypal {
  width: 100%;
  margin-top: 18px;
}

.property-records-checkout__status {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.6;
}

.property-records-checkout__footnote {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 16px 0 0;
  color: rgba(220, 226, 235, 0.66);
  font-size: 14px;
  font-weight: 700;
}

.property-records-checkout__status[hidden] {
  display: none !important;
}

.property-records-checkout__status.is-error {
  background: #fff2f0;
  color: #9f3127;
}

.property-records-checkout__status.is-success {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(76, 217, 132, 0.34);
  background: rgba(27, 120, 71, 0.18);
  color: #a9f5c2;
  font-size: 15px;
  font-weight: 800;
}

.parcel-detail__button {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--ink-900), #24466e);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.parcel-detail__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(16, 37, 63, 0.18);
}

.parcel-detail__button:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.parcel-detail__card h4 {
  margin: 0 0 12px;
  color: var(--ink-900);
  font-size: 16px;
}

.parcel-detail__card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.parcel-detail__grid {
  display: grid;
  gap: 12px;
}

.parcel-detail__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  padding-bottom: 10px;
  border-bottom: 1px solid #e8eef7;
}

.parcel-detail__row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.parcel-detail__row strong {
  color: var(--ink-900);
  font-size: 14px;
  text-align: right;
}

.request-records-modal[hidden] {
  display: none;
}

.request-records-modal {
  position: fixed;
  inset: 0;
  z-index: 5100;
}

.request-records-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 20, 35, 0.72);
  backdrop-filter: blur(3px);
}

.request-records-modal__dialog {
  position: relative;
  width: min(620px, calc(100vw - 24px));
  margin: 40px auto;
  padding: 22px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(8, 20, 35, 0.35);
}

.request-records-modal__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 18px;
}

.request-records-modal__header h2 {
  margin: 0;
  color: var(--ink-900);
}

.request-records-modal__close {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--ink-900);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.request-records-modal__body {
  display: grid;
  gap: 18px;
}

.request-records-modal__body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.request-records-modal__message.is-success {
  padding: 14px 16px;
  border-radius: 14px;
  background: #edf8f1;
  color: #1f6a3b;
}

.request-records-modal__message.is-error {
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff2f0;
  color: #9f3127;
}

.request-records-form {
  display: grid;
  gap: 14px;
}

.request-records-form[hidden],
.request-records-form__field[hidden],
.request-records-form__actions[hidden],
.request-records-form__status[hidden] {
  display: none !important;
}

.request-records-form__field {
  display: grid;
  gap: 8px;
}

.request-records-form__field span {
  color: var(--ink-900);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.request-records-form__field input,
.request-records-form__field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #f8fbff;
  color: var(--ink-900);
  font: inherit;
  resize: vertical;
}

.request-records-form__field input:focus,
.request-records-form__field textarea:focus {
  outline: 0;
  border-color: #7ba0c7;
  box-shadow: 0 0 0 3px rgba(123, 160, 199, 0.18);
}

.request-records-form__status {
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.6;
}

.request-records-form__status.is-success {
  background: #edf8f1;
  color: #1f6a3b;
}

.request-records-form__status.is-error {
  background: #fff2f0;
  color: #9f3127;
}

.request-records-form__actions {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 720px) {
  .request-records-modal__dialog {
    width: calc(100vw - 12px);
    margin: 6px auto;
    padding: 16px;
  }

  .request-records-modal__header {
    flex-direction: column;
  }

  .request-records-form__actions {
    justify-content: stretch;
  }

  .request-records-form__actions .parcel-detail__button {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .parcel-detail__hero,
  .parcel-detail__stats,
  .parcel-detail__columns,
  .parcel-detail__stack {
    grid-template-columns: 1fr;
  }

  .parcel-modal__layout {
    grid-template-rows: 260px minmax(0, 1fr);
  }
}

.parcel-modal__layout {
  display: block;
  overflow: auto;
  padding-right: 4px;
}

.parcel-modal__map {
  height: 360px;
  margin-bottom: 18px;
}

.parcel-modal__details {
  overflow: visible;
}

@media (max-width: 900px) {
  .parcel-modal__map {
    height: 260px;
  }
}

.parcel-detail__maps-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}

.parcel-detail__cta {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.parcel-detail__stats--two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.parcel-detail__stats--two-up .parcel-detail__stat {
  min-height: 132px;
}

.parcel-detail__title-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.parcel-detail__maps-link--top {
  margin-top: 0;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .parcel-detail__title-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

.parcel-detail__address-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.parcel-detail__address-row h3 {
  margin: 0;
}

.parcel-detail__maps-icon {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 2px solid var(--gold-500);
  border-radius: 999px 999px 999px 0;
  transform: rotate(-45deg);
  background: transparent;
}

.parcel-detail__maps-icon::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold-500);
}

.parcel-detail__address-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.parcel-detail__address-row h3 {
  margin: 0;
}

@media (max-width: 900px) {
  .parcel-detail__address-row {
    align-items: flex-start;
  }
}

.parcel-modal__header > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.parcel-modal__title-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.parcel-modal__title-row h2 {
  margin: 0;
}

@media (max-width: 900px) {
  .parcel-modal__title-row {
    align-items: flex-start;
  }
}

.parcel-detail__stats--three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .parcel-detail__stats--three-up {
    grid-template-columns: 1fr;
  }
}

.parcel-detail__formula {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.parcel-detail__formula-item {
  display: grid;
  gap: 4px;
}

.parcel-detail__formula-item span {
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.parcel-detail__formula-item strong {
  color: var(--ink-900);
  font-size: 9px;
  line-height: 1.2;
}

.parcel-detail__formula-item--total strong {
  color: var(--gold-500);
}

.parcel-detail__formula-operator {
  color: var(--ink-900);
  font-size: 26px;
  font-weight: 700;
}


.parcel-modal__notice {
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(204, 139, 47, 0.12);
  color: var(--ink-900);
  font-size: 13px;
  line-height: 1.55;
}

.parcel-detail__row--stacked {
  align-items: flex-start;
}

.parcel-detail__row--stacked strong {
  max-width: 360px;
}

.parcel-detail__multiline {
  line-height: 1.55;
}

.parcel-detail__location-block {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.parcel-detail__inline-link {
  color: var(--ink-700);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.parcel-detail__inline-link:hover {
  text-decoration: underline;
}

.parcel-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.parcel-detail__card--actions {
  margin-bottom: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
}

.parcel-detail__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(16, 37, 63, 0.96), rgba(25, 56, 95, 0.92));
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.parcel-detail__button--secondary {
  background: rgba(16, 37, 63, 0.08);
  color: var(--ink-900);
  border: 1px solid rgba(16, 37, 63, 0.1);
}

.parcel-detail__card--muted {
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.parcel-detail__card--muted p {
  color: var(--ink-900);
  font-weight: 600;
}

@media (max-width: 900px) {
  .property-records-paypal {
    width: 100%;
  }

  .parcel-detail__button {
    width: 100%;
  }

  .parcel-detail__row--stacked strong {
    max-width: none;
  }

  .parcel-detail__location-block {
    justify-items: start;
  }

  .parcel-detail__auction-grid {
    grid-template-columns: 1fr;
  }
}
.overview-map-panel {
  margin-bottom: 22px;
}

.overview-map-panel__frame {
  overflow: hidden;
  border: 1px solid rgba(209, 220, 234, 0.9);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 50px rgba(42, 77, 120, 0.08);
}

.overview-map {
  height: 430px;
  background: #dbe7d8;
}

.overview-popup {
  min-width: 210px;
}

.overview-popup strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-900);
  font-size: 15px;
  line-height: 1.35;
}

.overview-popup span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.overview-popup .overview-popup__value {
  color: var(--ink-900);
  font-weight: 700;
}

.overview-map .leaflet-control-zoom,
.overview-map .leaflet-control-attribution {
  display: block !important;
}

.overview-province-label {
  background: transparent;
  border: 0;
}

.overview-province-label span {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink-800);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(16, 37, 63, 0.12);
}

@media (max-width: 520px) {
  .property-records-checkout__dialog {
    width: calc(100vw - 16px);
    margin: 8px auto;
    padding: 22px 18px;
  }

  .property-records-checkout__header {
    gap: 10px;
  }

  .property-records-checkout__price strong {
    font-size: 34px;
  }

  .property-records-checkout__method-selector {
    grid-template-columns: 1fr;
  }

  .property-records-checkout__method,
  .property-records-checkout__primary {
    min-height: 104px;
  }

  .property-records-checkout__header h2 {
    font-size: 24px;
  }

  .property-records-checkout__brand-row {
    gap: 16px;
  }

}

.map-view-modal[hidden] {
  display: none;
}

.map-view-modal {
  position: fixed;
  inset: 0;
  z-index: 5100;
}

.map-view-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 14, 24, 0.78);
  backdrop-filter: blur(3px);
}

.map-view-modal__dialog {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 14px;
  width: min(1160px, calc(100vw - 72px));
  height: min(760px, calc(100vh - 96px));
  margin: 48px auto;
  padding: 18px;
  border: 1px solid rgba(144, 214, 190, 0.28);
  border-radius: 18px;
  background: #071520;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.map-view-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  color: #ffffff;
}

.map-view-modal__header h2 {
  margin: 0;
  color: #ffffff;
  font-size: 28px;
}

.map-view-modal__header .section-tag {
  margin-bottom: 6px;
  color: #90d6be;
}

.map-view-modal__close {
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
}

.map-view-modal__map {
  position: relative;
  min-height: 0;
  border: 1px solid rgba(144, 214, 190, 0.32);
  border-radius: 14px;
  overflow: hidden;
  background: #12311f;
}

.map-view-modal .leaflet-control-zoom,
.map-view-modal .leaflet-control-attribution {
  display: block !important;
}

.canada-map-marker {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: linear-gradient(135deg, #f5c963 0%, #d79b2f 58%, #a96f16 100%);
  color: #10253f;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.36);
  font-size: 13px;
  font-weight: 900;
}

.canada-map-pin {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 3px solid rgba(255, 255, 255, 0.96);
  border-radius: 50% 50% 50% 0;
  background: #e4312b;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.42);
  transform: rotate(-45deg);
}

.canada-map-pin span {
  transform: rotate(45deg);
}

.canada-map-pin::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.82);
  pointer-events: none;
}

.canada-map-pin--province {
  width: 48px;
  height: 48px;
  background: #d79b2f;
  color: #10253f;
  font-size: 14px;
}

.canada-map-pin--cluster {
  width: 42px;
  height: 42px;
  background: #1a9a75;
  color: #071520;
}

.canada-map-pin--lot {
  width: 28px;
  height: 28px;
  background: #e4312b;
  font-size: 0;
}

.canada-map-pin--lot::after {
  inset: 7px;
}

.canada-map-pin--approx {
  background: #f1b23d;
}

.canada-map-marker--cluster {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #93e2c4 0%, #1a9a75 58%, #086047 100%);
  color: #071520;
  font-size: 14px;
}

.canada-map-lot-marker {
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  background: #ff3939;
  box-shadow: 0 0 0 4px rgba(255, 57, 57, 0.28), 0 10px 18px rgba(0, 0, 0, 0.36);
}

.canada-map-popup {
  min-width: 180px;
}

.canada-map-popup strong,
.canada-map-popup span {
  display: block;
}

.canada-map-popup strong {
  margin-bottom: 8px;
  color: var(--ink-900);
  font-size: 15px;
}

.canada-map-popup span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.canada-map-popup b {
  color: var(--ink-900);
}

@media (max-width: 760px) {
  .map-view-modal__dialog {
    width: calc(100vw - 16px);
    height: calc(100vh - 16px);
    margin: 8px auto;
    padding: 12px;
    border-radius: 14px;
  }

  .map-view-modal__header h2 {
    font-size: 22px;
  }
}


.filters-panel__brand {
  display: block;
  margin-bottom: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(209, 220, 234, 0.78);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(16, 37, 63, 0.96), rgba(25, 56, 95, 0.92));
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 12px 26px rgba(16, 37, 63, 0.14);
}


.results-panel__blank {
  min-height: 112px;
  display: flex;
  align-items: flex-start;
}

.results-topnav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 26px;
  border: 1px solid rgba(209, 220, 234, 0.82);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(16, 37, 63, 0.96), rgba(25, 56, 95, 0.92));
  box-shadow: 0 18px 38px rgba(16, 37, 63, 0.16);
  min-height: 92px;
}

.results-topnav a,
.results-topnav__upcoming {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.results-topnav__upcoming {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.results-topnav a:hover,
.results-topnav__upcoming:hover {
  opacity: 0.88;
}


.home-page {
  background:
    radial-gradient(circle at top left, rgba(255, 226, 163, 0.42) 0, transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

.home-shell {
  width: min(var(--page-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, 0.95fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
}

.home-hero__content,
.home-hero__notice,
.info-card,
.checklist-card,
.province-card {
  border: 1px solid rgba(209, 220, 234, 0.92);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px rgba(16, 37, 63, 0.08);
}

.home-hero__content {
  padding: 34px;
  background:
    linear-gradient(125deg, rgba(255,255,255,0.96), rgba(228,243,239,0.94)),
    linear-gradient(135deg, rgba(16,37,63,0.04), rgba(25,56,95,0.08));
}

.home-kicker,
.section-heading__eyebrow {
  margin: 0 0 12px;
  color: var(--ink-700);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.home-hero h1,
.section-heading h2 {
  margin: 0;
  color: var(--ink-900);
  line-height: 0.96;
}

.home-hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 7vw, 74px);
}

.home-lead,
.section-heading__lead,
.info-card p,
.checklist-card p,
.province-card p,
.home-hero__notice p {
  color: var(--muted);
  line-height: 1.72;
}

.home-lead {
  max-width: 760px;
  margin: 22px 0 0;
  font-size: 10px;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
}

.home-button--primary {
  background: linear-gradient(135deg, rgba(16, 37, 63, 0.96), rgba(25, 56, 95, 0.92));
  color: #fff;
}

.home-button--secondary {
  border: 1px solid rgba(16, 37, 63, 0.14);
  background: rgba(255,255,255,0.85);
  color: var(--ink-900);
}

.home-hero__notice {
  padding: 28px;
  background: linear-gradient(180deg, rgba(16, 37, 63, 0.98), rgba(25, 56, 95, 0.94));
  color: #fff;
}

.home-hero__notice h2 {
  margin: 0 0 18px;
  font-size: 28px;
}

.home-hero__notice p {
  margin: 0 0 16px;
  color: rgba(255,255,255,0.86);
}

.home-section {
  margin-top: 30px;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading__lead {
  max-width: 880px;
  margin: 16px 0 0;
}

.home-grid {
  display: grid;
  gap: 18px;
}

.home-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
  padding: 24px;
}

.info-card h3,
.province-card h3 {
  margin: 0 0 12px;
  color: var(--ink-900);
  font-size: 22px;
}

.info-card--bullet {
  position: relative;
  overflow: hidden;
}

.info-card--bullet::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--gold-400), #f3c987);
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.checklist-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px;
}

.checklist-card span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(16, 37, 63, 0.96), rgba(25, 56, 95, 0.92));
  color: #fff;
  font-size: 24px;
  font-weight: 800;
}

.province-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.province-card {
  padding: 24px 22px 22px;
  text-align: center;
}

.province-card__flag {
  position: relative;
  display: block;
  width: 118px;
  height: 118px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    inset 0 10px 16px rgba(255,255,255,0.26),
    inset 0 -14px 18px rgba(0,0,0,0.14),
    0 12px 22px rgba(16, 37, 63, 0.16);
  overflow: hidden;
}

.province-card__flag::before,
.province-card__flag::after {
  content: "";
  position: absolute;
  inset: 0;
}

.province-card__flag--bc {
  background:
    linear-gradient(180deg, #2456a6 0 54%, #ffffff 54% 74%, #f2c33b 74% 100%);
}
.province-card__flag--bc::after {
  inset: 38px 16px 18px;
  background:
    linear-gradient(180deg, #275e36 0 62%, #d8d6c2 62% 68%, #8aa3d8 68% 100%);
  clip-path: polygon(0 100%, 0 48%, 18% 58%, 32% 44%, 50% 60%, 68% 42%, 82% 58%, 100% 46%, 100% 100%);
}

.province-card__flag--ab {
  background: linear-gradient(180deg, #1b4ea3 0 100%);
}
.province-card__flag--ab::after {
  inset: 22px 28px 18px;
  background:
    linear-gradient(180deg, #ffffff 0 14%, #d83d47 14% 24%, #ffffff 24% 38%, #4b8e63 38% 70%, #d4bc58 70% 100%);
  border-radius: 4px 4px 14px 14px;
  box-shadow: 0 0 0 2px rgba(14, 37, 70, 0.18);
}

.province-card__flag--mb {
  background:
    linear-gradient(135deg, transparent 0 33%, #ffffff 33% 38%, #204d92 38% 46%, #ffffff 46% 51%, transparent 51% 100%),
    linear-gradient(45deg, transparent 0 33%, #ffffff 33% 38%, #204d92 38% 46%, #ffffff 46% 51%, transparent 51% 100%),
    linear-gradient(90deg, #c9242d 0 100%);
}
.province-card__flag--mb::after {
  inset: 28px 18px 30px 66px;
  background: linear-gradient(180deg, #3d7a34 0 60%, #8f5e37 60% 100%);
  border-radius: 10px;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.38);
}

.province-card__flag--nb {
  background:
    linear-gradient(180deg, #d7ac3d 0 28%, #c79829 28% 46%, #15457d 46% 78%, #d7ac3d 78% 100%);
}
.province-card__flag--nb::after {
  inset: 26px 24px 18px;
  background:
    radial-gradient(circle at 50% 40%, transparent 0 20px, #9a1620 20px 22px, transparent 22px),
    linear-gradient(180deg, transparent 0 36%, #1f2a4e 36% 52%, #e7c34b 52% 58%, #1f2a4e 58% 100%);
  clip-path: polygon(50% 12%, 60% 22%, 64% 46%, 84% 62%, 72% 76%, 28% 76%, 16% 62%, 36% 46%, 40% 22%);
}

.province-card__flag--nl {
  background:
    linear-gradient(35deg, transparent 0 43%, #204e9d 43% 49%, transparent 49% 100%),
    linear-gradient(-35deg, transparent 0 43%, #204e9d 43% 49%, transparent 49% 100%),
    linear-gradient(35deg, transparent 0 52%, #d72a37 52% 56%, transparent 56% 100%),
    linear-gradient(-35deg, transparent 0 52%, #d72a37 52% 56%, transparent 56% 100%),
    linear-gradient(90deg, #ffffff 0 100%);
}

.province-card__flag--ns {
  background:
    linear-gradient(45deg, transparent 0 42%, #25509a 42% 48%, transparent 48% 100%),
    linear-gradient(-45deg, transparent 0 42%, #25509a 42% 48%, transparent 48% 100%),
    linear-gradient(90deg, #ffffff 0 100%);
}
.province-card__flag--ns::after {
  inset: 34px 36px;
  background: linear-gradient(180deg, #f3d48d 0 100%);
  clip-path: polygon(50% 0, 100% 32%, 82% 100%, 18% 100%, 0 32%);
  box-shadow: 0 0 0 2px rgba(163, 35, 49, 0.8) inset;
}

.province-card__flag--on {
  background:
    linear-gradient(135deg, transparent 0 33%, #ffffff 33% 38%, #214d93 38% 46%, #ffffff 46% 51%, transparent 51% 100%),
    linear-gradient(45deg, transparent 0 33%, #ffffff 33% 38%, #214d93 38% 46%, #ffffff 46% 51%, transparent 51% 100%),
    linear-gradient(90deg, #c9242d 0 100%);
}
.province-card__flag--on::after {
  inset: 28px 18px 30px 66px;
  background: linear-gradient(180deg, #2c7f3a 0 65%, #c8b368 65% 100%);
  border-radius: 10px;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.38);
}

.province-card__flag--pe {
  background:
    linear-gradient(180deg, #d8ac42 0 22%, #d22c36 22% 27%, #ffffff 27% 92%, #d22c36 92% 100%);
}
.province-card__flag--pe::after {
  inset: 34px 18px 24px;
  background:
    radial-gradient(circle at 30% 62%, #578c42 0 10px, transparent 11px),
    radial-gradient(circle at 50% 46%, #7f9f52 0 14px, transparent 15px),
    radial-gradient(circle at 70% 62%, #578c42 0 10px, transparent 11px),
    linear-gradient(180deg, transparent 0 58%, #915930 58% 66%, transparent 66% 100%);
}

.province-card__flag--qc {
  background:
    linear-gradient(90deg, transparent 0 41%, #ffffff 41% 59%, transparent 59% 100%),
    linear-gradient(180deg, transparent 0 41%, #ffffff 41% 59%, transparent 59% 100%),
    linear-gradient(180deg, #2456a6 0 100%);
}

.province-card__flag--sk {
  background: linear-gradient(180deg, #2d8d43 0 50%, #f0cc35 50% 100%);
}
.province-card__flag--sk::after {
  inset: 16px 16px auto auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #c51f2f 0 8px, #f3c246 8px 12px, transparent 12px);
  box-shadow: -64px 56px 0 -10px rgba(38, 104, 39, 0.95);
}

.province-card__flag--nt {
  background: linear-gradient(90deg, #2b6eb3 0 20%, #ffffff 20% 80%, #2b6eb3 80% 100%);
}
.province-card__flag--nt::after {
  inset: 22px 34px 18px;
  background: linear-gradient(180deg, #9fd2ef 0 16%, #ffffff 16% 26%, #2b6eb3 26% 44%, #e1b351 44% 100%);
  border-radius: 10px 10px 18px 18px;
}

.province-card__flag--yt {
  background: linear-gradient(90deg, #2e994b 0 33.33%, #ffffff 33.33% 66.66%, #2d63b6 66.66% 100%);
}
.province-card__flag--yt::after {
  inset: 20px 34px 20px;
  background:
    linear-gradient(180deg, #ffffff 0 18%, #d32d39 18% 24%, #2553a4 24% 66%, #d8c1a0 66% 100%);
  border-radius: 12px;
}

.province-card__flag--nu {
  background: linear-gradient(90deg, #f1cb45 0 50%, #ffffff 50% 100%);
}
.province-card__flag--nu::after {
  inset: 18px 32px 16px;
  background: #db3c3b;
  clip-path: polygon(50% 0, 70% 16%, 62% 42%, 84% 52%, 56% 58%, 60% 100%, 40% 100%, 44% 58%, 16% 52%, 38% 42%, 30% 16%);
}

@media (max-width: 1080px) {
  .home-hero,
  .home-grid--three,
  .province-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .home-shell {
    width: min(var(--page-width), calc(100% - 22px));
    padding-top: 20px;
  }

  .home-hero,
  .home-grid--two,
  .home-grid--three,
  .checklist-grid,
  .province-grid {
    grid-template-columns: 1fr;
  }

  .home-hero__content,
  .home-hero__notice,
  .info-card,
  .checklist-card,
  .province-card {
    border-radius: 20px;
  }

  .home-hero h1 {
    line-height: 1.02;
  }
}

.results-topnav__lang {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 18px;
}

.results-topnav__lang-toggle {
  min-width: 116px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.results-topnav__lang-toggle::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.results-topnav__lang-toggle[aria-expanded="true"] {
  background: #ffffff;
  color: var(--ink-900);
}

.results-topnav__lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 700;
  display: grid;
  width: 214px;
  max-height: 264px;
  padding: 8px;
  overflow-y: auto;
  border: 1px solid rgba(209, 220, 234, 0.24);
  border-radius: 12px;
  background: rgba(10, 22, 34, 0.98);
  box-shadow: 0 18px 42px rgba(4, 12, 22, 0.42);
}

.results-topnav__lang-menu[hidden] {
  display: none;
}

.results-topnav__lang-option {
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.results-topnav__lang-option:hover,
.results-topnav__lang-option:focus-visible,
.results-topnav__lang-option.is-active {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}


.faq-shell {
  padding-bottom: 60px;
}

.faq-list {
  display: grid;
  gap: 18px;
}

.faq-item {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 24px;
  border: 1px solid rgba(209, 220, 234, 0.92);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(16, 37, 63, 0.08);
}

.faq-item__number {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(16, 37, 63, 0.96), rgba(25, 56, 95, 0.92));
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
}

.faq-item__body h3 {
  margin: 0 0 10px;
  color: var(--ink-900);
  font-size: 24px;
}

.faq-item__body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.faq-legal .info-card {
  padding: 24px;
}

.faq-hero .home-hero__notice {
  min-height: 100%;
}

@media (max-width: 780px) {
  .faq-item {
    grid-template-columns: 1fr;
  }

  .faq-item__number {
    width: 52px;
    height: 52px;
  }
}





.contact-shell {
  padding-bottom: 60px;
}

.contact-section {
  margin-top: 30px;
}

.contact-form {
  padding: 28px;
  border: 1px solid rgba(209, 220, 234, 0.92);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(16, 37, 63, 0.08);
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-field {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.contact-field span {
  color: var(--ink-900);
  font-size: 15px;
  font-weight: 700;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(185, 198, 216, 0.95);
  border-radius: 12px;
  background: rgba(248, 251, 255, 0.98);
  color: var(--ink-900);
  padding: 16px 18px;
  outline: none;
}

.contact-field textarea {
  resize: vertical;
  min-height: 180px;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: rgba(37, 80, 127, 0.75);
  box-shadow: 0 0 0 4px rgba(37, 80, 127, 0.12);
}

.contact-helper {
  margin: 0 0 16px;
  color: var(--muted);
}

.contact-status {
  min-height: 28px;
  margin: 14px 0 18px;
  color: var(--muted);
  font-weight: 600;
}

.contact-status--error {
  color: #b42318;
}

.contact-status--success {
  color: #087443;
}

.contact-status--pending {
  color: var(--ink-700);
}

.contact-submit {
  margin-top: 2px;
}

@media (max-width: 780px) {
  .contact-form__grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 22px;
  }
}

.notify-shell {
  padding-bottom: 60px;
}

.notify-section {
  margin-top: 30px;
}

.notify-form {
  padding: 28px;
  border: 1px solid rgba(209, 220, 234, 0.92);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(16, 37, 63, 0.08);
}

.notify-consent,
.notify-privacy {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.notify-privacy {
  margin-top: 8px;
}



.listing-card__countdown-panel {
  display: grid;
  gap: 3px;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(16, 37, 63, 0.08);
}



.listing-card__countdown-panel strong {
  color: var(--ink-900);
  font-size: 14px;
  line-height: 1.15;
}

.listing-card__countdown-panel span {
  color: var(--ink-800);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.listing-card__countdown-panel small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.listing-card__countdown-panel--live {
  background: linear-gradient(135deg, rgba(255, 246, 228, 0.96), rgba(255, 255, 255, 0.95));
}

.listing-card__countdown-panel--urgent,
.listing-card__countdown-panel--today {
  background: linear-gradient(135deg, rgba(255, 238, 210, 0.98), rgba(255, 255, 255, 0.95));
}

.listing-card__countdown-panel--ended {
  background: linear-gradient(135deg, rgba(243, 246, 250, 0.95), rgba(255, 255, 255, 0.94));
}






.listing-card__countdown-panel {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 3px;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(16, 37, 63, 0.12);
  box-shadow: 0 0 0 2px rgba(138, 215, 182, 0.58), 0 18px 28px rgba(18, 105, 71, 0.28);
}

.listing-card__countdown-panel strong {
  color: var(--ink-900);
  font-size: 14px;
  line-height: 1.15;
}

.listing-card__countdown-panel span {
  color: var(--ink-800);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.listing-card__countdown-panel small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.listing-card__countdown-panel--live {
  background: linear-gradient(135deg, rgba(206, 239, 223, 0.99), rgba(243, 255, 248, 0.97));
  border-color: rgba(24, 127, 86, 0.42);
}

.listing-card__countdown-panel--urgent,
.listing-card__countdown-panel--today {
  background: linear-gradient(135deg, rgba(186, 234, 210, 0.99), rgba(239, 255, 246, 0.98));
  border-color: rgba(12, 118, 76, 0.52);
  box-shadow: 0 0 0 2px rgba(124, 211, 173, 0.64), 0 20px 30px rgba(12, 96, 64, 0.34);
}

.listing-card__countdown-panel--ended {
  background: linear-gradient(135deg, rgba(243, 246, 250, 0.95), rgba(255, 255, 255, 0.94));
  border-color: rgba(110, 125, 144, 0.18);
  box-shadow: none;
}




.listing-card__discount-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1f988f, #2a8e96);
  color: #ffffff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  box-shadow: 0 8px 16px rgba(31, 152, 143, 0.18);
}

.listing-card__meta-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
  margin-top: 6px;
}

.listing-card__meta-inline .listing-card__discount-pill {
  margin-top: 0;
  margin-left: auto;
  flex: 0 0 auto;
}


.listing-card__meta--assessed .listing-card__meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
}

.listing-card__meta--assessed .listing-card__meta-row strong {
  margin-top: 0;
}

.listing-card__meta--assessed .listing-card__discount-pill {
  margin-top: 0;
  margin-left: auto;
  flex: 0 0 auto;
}


.listing-card__discount-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 0;
  padding: 5px 9px;
  min-height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1f988f, #2a8e96);
  color: #ffffff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 16px rgba(31, 152, 143, 0.18);
}

.listing-card__meta--assessed .listing-card__meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
}

.listing-card__meta--assessed .listing-card__discount-pill {
  margin-left: auto;
  flex: 0 0 auto;
}

.listing-card__meta--sale-outcome {
  grid-column: 1 / -1;
}

.listing-card__sale-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.listing-card__sale-metric {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(245, 248, 252, 0.96), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(184, 196, 211, 0.35);
  text-align: center;
}

.listing-card__sale-metric--below-market {
  border-color: rgba(19, 144, 86, 0.46);
  background: linear-gradient(135deg, rgba(230, 255, 243, 0.98), rgba(248, 255, 251, 0.98));
  box-shadow: 0 12px 24px rgba(19, 144, 86, 0.16), inset 0 0 0 1px rgba(19, 144, 86, 0.12);
}

.listing-card__sale-metric--below-market::after,
.listing-card__countdown-panel--below-market-sale::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -65%;
  width: 42%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  animation: ctsDealShine 4.8s ease-in-out infinite;
  pointer-events: none;
}

.listing-card__sale-metric small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.listing-card__sale-metric strong {
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.listing-card__sale-revenue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.listing-card__sale-revenue--positive {
  color: #0f8a44;
}

.listing-card__sale-revenue--negative {
  color: #c23131;
}

.listing-card__sale-revenue--neutral {
  color: var(--ink-900);
}

.listing-card__sale-revenue-arrow {
  font-size: 11px;
  line-height: 1;
}

.listing-card__sale-revenue-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.listing-card__sale-revenue-tag--positive {
  color: #0f8a44;
  background: rgba(15, 138, 68, 0.12);
}

.listing-card__sale-revenue-tag--negative {
  color: #c23131;
  background: rgba(194, 49, 49, 0.12);
}

.listing-card__sale-revenue-tag--neutral {
  color: var(--ink-800);
  background: rgba(122, 139, 161, 0.12);
}

.listing-card__countdown-panel--sold {
  position: relative;
  overflow: hidden;
  gap: 4px;
  min-height: 72px;
}

.listing-card__countdown-panel--below-market-sale {
  background: linear-gradient(135deg, rgba(13, 88, 58, 0.98), rgba(15, 128, 82, 0.96));
  border-color: rgba(123, 225, 170, 0.72);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(13, 88, 58, 0.28), 0 0 0 2px rgba(123, 225, 170, 0.22);
  animation: ctsDealPulse 3.6s ease-in-out infinite;
}

.listing-card__countdown-panel--below-market-sale span,
.listing-card__countdown-panel--below-market-sale small {
  color: rgba(255, 255, 255, 0.86);
}

.listing-card__countdown-panel--sold strong {
  font-size: 18px;
  line-height: 1.15;
}

@media (max-width: 720px) {
  .listing-card__sale-metrics {
    grid-template-columns: 1fr;
  }
}

@keyframes ctsDealShine {
  0%, 42% {
    left: -65%;
  }
  58%, 100% {
    left: 120%;
  }
}

@keyframes ctsDealPulse {
  0%, 100% {
    box-shadow: 0 14px 28px rgba(13, 88, 58, 0.24), 0 0 0 2px rgba(123, 225, 170, 0.18);
  }
  50% {
    box-shadow: 0 16px 34px rgba(13, 88, 58, 0.34), 0 0 0 3px rgba(123, 225, 170, 0.34);
  }
}

@media (prefers-reduced-motion: reduce) {
  .listing-card__sale-metric--below-market::after,
  .listing-card__countdown-panel--below-market-sale::after,
  .listing-card__countdown-panel--below-market-sale {
    animation: none;
  }
}

.listing-card__meta--assessed .listing-card__meta-row {
  gap: 6px;
}

.listing-card__meta--assessed .listing-card__meta-row strong {
  font-size: 14px;
  line-height: 1.1;
}

.listing-card__meta--assessed .listing-card__discount-pill {
  padding: 4px 7px;
  min-height: 24px;
  font-size: 9px;
  gap: 3px;
  box-shadow: 0 6px 12px rgba(31, 152, 143, 0.14);
}

.listing-card__discount-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10px;
  color: #d92525;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-shadow: none;
  transform: translateY(-1px);
}

.listing-card__discount-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10px;
  color: #d92525;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-shadow: none;
  transform: translateY(-1px);
}


.listing-card__discount-pill .listing-card__discount-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10px;
  color: #d92525 !important;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-shadow: none;
  transform: translateY(-1px);
}

.results-topnav__auth,
.results-topnav__logout,
.results-topnav__install,
.results-topnav__upcoming,
.results-topnav__map,
.results-topnav__user {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.results-topnav__auth {
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.12);
  color: #ffffff;
}

.results-topnav__map {
  border: 1px solid rgba(144, 214, 190, 0.46);
  background: rgba(35, 121, 95, 0.22);
  color: #ffffff;
  cursor: pointer;
}

.results-topnav__user {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
  max-width: 210px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.results-topnav__auth[hidden],
.results-topnav__logout[hidden],
.results-topnav__install[hidden],
.results-topnav__user[hidden] {
  display: none !important;
}

.results-topnav__logout {
  border: 0;
  background: rgba(255,255,255,0.92);
  color: var(--ink-900);
  cursor: pointer;
}

.results-topnav > a {
  flex: 0 0 auto;
}

.results-topnav > a:first-child {
  margin-left: 0;
}

.results-topnav__install {
  border: 1px solid rgba(255, 219, 140, 0.72);
  background: linear-gradient(135deg, #f5c963 0%, #d79b2f 52%, #a96f16 100%);
  color: #10253f;
  box-shadow: 0 10px 22px rgba(183, 118, 30, 0.28);
  cursor: pointer;
}

.results-topnav__install:hover,
.results-topnav__install:focus-visible {
  background: linear-gradient(135deg, #ffe08a 0%, #e2aa3e 52%, #b6761e 100%);
  color: #10253f;
}

.results-topnav {
  justify-content: center;
}

@media (max-width: 1240px) {
  .results-topnav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 26px;
  border: 1px solid rgba(209, 220, 234, 0.82);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(16, 37, 63, 0.96), rgba(25, 56, 95, 0.92));
  box-shadow: 0 18px 38px rgba(16, 37, 63, 0.16);
  min-height: 92px;
}
}

.auth-page {
  background:
    radial-gradient(circle at top left, rgba(255, 226, 163, 0.28) 0, transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

.auth-shell {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.auth-hero-card,
.auth-card {
  border: 1px solid rgba(209, 220, 234, 0.92);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(16, 37, 63, 0.08);
}

.auth-hero-card {
  padding: 32px;
  margin-bottom: 24px;
  background:
    linear-gradient(125deg, rgba(255,255,255,0.96), rgba(228,243,239,0.94)),
    linear-gradient(135deg, rgba(16,37,63,0.04), rgba(25,56,95,0.08));
}

.auth-kicker {
  margin: 0 0 12px;
  color: var(--ink-700);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.auth-hero-card h1 {
  margin: 0;
  color: var(--ink-900);
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1;
}

.auth-lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.auth-hero-actions {
  margin-top: 22px;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 22px;
}

.auth-card {
  padding: 24px;
}

.auth-tabs {
  display: inline-flex;
  gap: 8px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(16, 37, 63, 0.08);
}

.auth-tab {
  border: 0;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-800);
  font-weight: 700;
  cursor: pointer;
}

.auth-tab.is-active {
  background: var(--ink-900);
  color: #ffffff;
}

.auth-form {
  display: none;
  margin-top: 20px;
}

.auth-form--active {
  display: block;
}

.auth-field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.auth-field span {
  color: var(--ink-900);
  font-size: 14px;
  font-weight: 700;
}

.auth-field input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(185, 198, 216, 0.95);
  border-radius: 12px;
  background: rgba(248, 251, 255, 0.98);
  color: var(--ink-900);
  outline: none;
}

.auth-field input:focus {
  border-color: rgba(37, 80, 127, 0.75);
  box-shadow: 0 0 0 4px rgba(37, 80, 127, 0.12);
}

.auth-submit {
  margin-top: 6px;
}

.auth-status,
.auth-setup-note {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 14px;
  line-height: 1.6;
}

.auth-status {
  min-height: 24px;
}

.auth-status--error {
  background: rgba(217, 37, 37, 0.08);
  color: #b42318;
}

.auth-status--success {
  background: rgba(24, 127, 86, 0.1);
  color: #087443;
}

.auth-setup-note {
  background: rgba(16, 37, 63, 0.06);
  color: var(--ink-800);
}

.auth-card--info h2 {
  margin: 0 0 16px;
  color: var(--ink-900);
}

.auth-checklist {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.72;
}

.auth-session {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid rgba(209, 220, 234, 0.92);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

.auth-session strong {
  display: block;
  color: var(--ink-900);
}

.auth-session p {
  margin: 10px 0 16px;
  color: var(--muted);
  word-break: break-word;
}

@media (max-width: 900px) {
  .auth-layout {
    grid-template-columns: 1fr;
  }
}




.results-topnav__upgrade {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #cc8b2f, #b6761e);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(182, 118, 30, 0.18);
}

.results-topnav__upgrade[hidden] {
  display: none !important;
}

.listing-card__access {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(16, 37, 63, 0.1);
}

.listing-card__access strong {
  color: var(--ink-900);
  font-size: 12px;
}

.listing-card__access span {
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

.listing-card__access--free {
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
}

.listing-card__access--premium {
  background: linear-gradient(180deg, #fff8ee 0%, #fff2dd 100%);
  border-color: rgba(182, 118, 30, 0.22);
}

.subscribe-page {
  background:
    radial-gradient(circle at top left, rgba(255, 226, 163, 0.28) 0, transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

.subscribe-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.subscribe-hero,
.subscribe-card {
  border: 1px solid rgba(209, 220, 234, 0.92);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(16, 37, 63, 0.08);
}

.subscribe-hero {
  padding: 32px;
  margin-bottom: 24px;
  background:
    linear-gradient(125deg, rgba(255,255,255,0.96), rgba(228,243,239,0.94)),
    linear-gradient(135deg, rgba(16,37,63,0.04), rgba(25,56,95,0.08));
}

.subscribe-hero h1 {
  margin: 0;
  color: var(--ink-900);
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1;
}

.subscribe-lead {
  max-width: 780px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.subscribe-actions {
  margin-top: 22px;
}

.subscribe-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 22px;
}

.subscribe-card {
  padding: 24px;
}

.subscribe-card h2 {
  margin: 0;
  color: var(--ink-900);
}

.subscribe-plan-copy,
.subscribe-note {
  color: var(--muted);
  line-height: 1.7;
}

.subscribe-feature-list,
.subscribe-steps {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.subscribe-user {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(209, 220, 234, 0.92);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

.subscribe-user span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.subscribe-user strong {
  display: block;
  margin-top: 6px;
  color: var(--ink-900);
  word-break: break-word;
}

.subscribe-status {
  min-height: 24px;
  margin: 18px 0 16px;
  padding: 0;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.6;
}

.subscribe-status--error {
  padding: 12px 14px;
  border: 1px solid rgba(180, 35, 24, 0.18);
  border-radius: 14px;
  background: rgba(217, 37, 37, 0.08);
  color: #b42318;
}

.subscribe-status--success {
  padding: 12px 14px;
  border: 1px solid rgba(8, 116, 67, 0.14);
  border-radius: 14px;
  background: rgba(24, 127, 86, 0.08);
  color: #087443;
}

.subscribe-button {
  margin-top: 2px;
}

.subscribe-button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

@media (max-width: 900px) {
  .subscribe-grid {
    grid-template-columns: 1fr;
  }
}

/* Auth layout refresh */
.auth-page {
  background:
    radial-gradient(circle at top left, rgba(255, 226, 163, 0.28) 0, transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

.auth-page .auth-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
  display: grid;
  gap: 24px;
}

.auth-page .auth-hero-card,
.auth-page .auth-card {
  border: 1px solid rgba(209, 220, 234, 0.92);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(16, 37, 63, 0.08);
}

.auth-page .auth-hero-card {
  padding: 34px;
  background:
    linear-gradient(125deg, rgba(255,255,255,0.96), rgba(228,243,239,0.94)),
    linear-gradient(135deg, rgba(16,37,63,0.04), rgba(25,56,95,0.08));
}

.auth-page .auth-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.auth-page .auth-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(16, 37, 63, 0.96), rgba(25, 56, 95, 0.92));
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
  box-shadow: 0 12px 26px rgba(16, 37, 63, 0.16);
  margin: 0;
}

.auth-page .auth-top-button,
.auth-page .auth-back-button,
.auth-page .auth-submit {
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
}

.auth-page .auth-hero-card h1 {
  margin: 0;
  color: var(--ink-900);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
}

.auth-page .auth-lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.72;
  font-size: 18px;
}

.auth-page .auth-hero-actions {
  margin-top: 24px;
}

.auth-page .auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.75fr);
  gap: 24px;
  align-items: start;
}

.auth-page .auth-card {
  padding: 28px;
}

.auth-page .auth-card--forms {
  display: grid;
  gap: 18px;
}

.auth-page .auth-tabs {
  display: inline-flex;
  align-items: center;
  padding: 0;
  background: transparent;
}

.auth-page .auth-tab {
  border: 0;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: rgba(16, 37, 63, 0.08);
  color: var(--ink-800);
  font-weight: 700;
  cursor: pointer;
}

.auth-page .auth-tab.is-active {
  background: linear-gradient(135deg, rgba(16, 37, 63, 0.96), rgba(25, 56, 95, 0.92));
  color: #ffffff;
}

.auth-page .auth-form {
  display: none;
}

.auth-page .auth-form--active {
  display: grid !important;
  gap: 16px;
}

.auth-page .auth-field {
  display: grid;
  gap: 8px;
  margin: 0;
}

.auth-page .auth-field span {
  color: var(--ink-900);
  font-size: 14px;
  font-weight: 700;
}

.auth-page .auth-field input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(185, 198, 216, 0.95);
  border-radius: 14px;
  background: rgba(248, 251, 255, 0.98);
  color: var(--ink-900);
  outline: none;
}

.auth-page .auth-field input:focus {
  border-color: rgba(37, 80, 127, 0.75);
  box-shadow: 0 0 0 4px rgba(37, 80, 127, 0.12);
}

.auth-page .auth-submit {
  width: fit-content;
  margin-top: 6px;
}

.auth-page .auth-status,
.auth-page .auth-setup-note {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  line-height: 1.6;
}

.auth-page .auth-checklist {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.72;
}

.auth-page .auth-card--info h2 {
  margin: 0 0 16px;
  color: var(--ink-900);
  font-size: 32px;
}

.auth-page .auth-session {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid rgba(209, 220, 234, 0.92);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

@media (max-width: 900px) {
  .auth-page .auth-layout {
    grid-template-columns: 1fr;
  }

  .auth-page .auth-hero-top {
    flex-direction: column;
    align-items: stretch;
  }

  .auth-page .auth-top-button,
  .auth-page .auth-back-button,
  .auth-page .auth-submit {
    width: 100%;
  }
}

/* Auth layout refresh */
.auth-page {
  background:
    radial-gradient(circle at top left, rgba(255, 226, 163, 0.28) 0, transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

.auth-page .auth-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0 64px;
  display: grid;
  gap: 26px;
}

.auth-page .auth-hero-card,
.auth-page .auth-card {
  border: 1px solid rgba(209, 220, 234, 0.92);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(16, 37, 63, 0.08);
}

.auth-page .auth-hero-card {
  padding: 34px;
  background:
    linear-gradient(125deg, rgba(255,255,255,0.97), rgba(228,243,239,0.94)),
    linear-gradient(135deg, rgba(16,37,63,0.04), rgba(25,56,95,0.08));
}

.auth-page .auth-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.auth-page .auth-kicker,
.auth-page .auth-back-button,
.auth-page .auth-submit,
.auth-page .auth-top-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
}

.auth-page .auth-kicker,
.auth-page .auth-back-button,
.auth-page .auth-submit {
  background: linear-gradient(135deg, rgba(16, 37, 63, 0.96), rgba(25, 56, 95, 0.92));
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(16, 37, 63, 0.16);
}

.auth-page .auth-kicker {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.auth-page .auth-top-button {
  margin-left: auto;
}

.auth-page .auth-top-button:not(.is-active) {
  background: rgba(16, 37, 63, 0.09);
  color: var(--ink-900);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}

.auth-page .auth-hero-copy {
  display: grid;
  gap: 20px;
}

.auth-page .auth-hero-card h1 {
  margin: 0;
  color: var(--ink-900);
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.02;
}

.auth-page .auth-lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
  font-size: 18px;
}

.auth-page .auth-hero-actions {
  display: flex;
  justify-content: flex-start;
}

.auth-page .auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.78fr);
  gap: 24px;
  align-items: start;
}

.auth-page .auth-card {
  padding: 30px;
}

.auth-page .auth-card--forms {
  display: grid;
  gap: 18px;
}

.auth-page .auth-tabs {
  display: inline-flex;
  align-items: center;
  padding: 0;
  background: transparent;
}

.auth-page .auth-tab {
  border: 0;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  background: rgba(16, 37, 63, 0.08);
  color: var(--ink-800);
  font-weight: 800;
  cursor: pointer;
}

.auth-page .auth-tab.is-active {
  background: linear-gradient(135deg, rgba(16, 37, 63, 0.96), rgba(25, 56, 95, 0.92));
  color: #ffffff;
}

.auth-page .auth-form {
  display: none;
}

.auth-page .auth-form--active {
  display: grid !important;
  gap: 16px;
}

.auth-page .auth-field {
  display: grid;
  gap: 8px;
  margin: 0;
}

.auth-page .auth-field span {
  color: var(--ink-900);
  font-size: 14px;
  font-weight: 700;
}

.auth-page .auth-field input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(185, 198, 216, 0.95);
  border-radius: 14px;
  background: rgba(248, 251, 255, 0.98);
  color: var(--ink-900);
  outline: none;
}

.auth-page .auth-field input:focus {
  border-color: rgba(37, 80, 127, 0.75);
  box-shadow: 0 0 0 4px rgba(37, 80, 127, 0.12);
}

.auth-page .auth-submit {
  width: fit-content;
  margin-top: 6px;
}

.auth-page .auth-status,
.auth-page .auth-setup-note {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  line-height: 1.6;
}

.auth-page .auth-card--info h2 {
  margin: 0 0 16px;
  color: var(--ink-900);
  font-size: 34px;
}

.auth-page .auth-checklist {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.72;
}

.auth-page .auth-session {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid rgba(209, 220, 234, 0.92);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

@media (max-width: 900px) {
  .auth-page .auth-shell {
    width: min(100% - 24px, 1120px);
    padding: 24px 0 48px;
  }

  .auth-page .auth-layout {
    grid-template-columns: 1fr;
  }

  .auth-page .auth-hero-top {
    flex-direction: column;
    align-items: stretch;
  }

  .auth-page .auth-top-button,
  .auth-page .auth-back-button,
  .auth-page .auth-submit,
  .auth-page .auth-kicker {
    width: 100%;
  }
}

/* Auth exact layout */
.auth-page--exact {
  background:
    radial-gradient(circle at top left, rgba(255, 225, 150, 0.22) 0, transparent 24%),
    linear-gradient(180deg, #f6f9ff 0%, #eef4fb 100%);
}

.auth-page--exact .auth-shell--exact {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 38px 0 72px;
  display: grid;
  gap: 26px;
}

.auth-page--exact .auth-header-simple {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.auth-page--exact .auth-brand-title {
  margin: 0;
  color: var(--ink-900);
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.auth-page--exact .auth-top-button {
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  margin-left: auto;
}

.auth-page--exact .auth-main-exact {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.auth-page--exact .auth-status,
.auth-page--exact .auth-setup-note {
  width: min(100%, 520px);
  margin: 0 auto;
}

.auth-page--exact .auth-form-wrap {
  width: min(100%, 520px);
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: left;
}

.auth-page--exact .auth-form-wrap h1 {
  margin: 8px 0 0;
  width: 100%;
  color: var(--ink-900);
  font-size: clamp(38px, 4.8vw, 58px);
  line-height: 1.02;
  text-align: center;
}

.auth-page--exact .auth-lead {
  width: 100%;
  margin: 0;
  text-align: center;
  color: var(--muted);
  line-height: 1.7;
  font-size: 18px;
}

.auth-page--exact .auth-form {
  width: 100%;
}

.auth-page--exact .auth-form--active {
  display: grid !important;
  gap: 14px;
}

.auth-page--exact .auth-field {
  width: 100%;
  display: grid;
  gap: 8px;
}

.auth-page--exact .auth-field span {
  color: var(--ink-900);
  font-size: 14px;
  font-weight: 700;
}

.auth-page--exact .auth-field input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(185, 198, 216, 0.95);
  border-radius: 0;
  background: rgba(250, 252, 255, 0.95);
  color: var(--ink-900);
}

.auth-page--exact .auth-action-stack {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-top: 12px;
}

.auth-page--exact .auth-submit,
.auth-page--exact .auth-back-button,
.auth-page--exact .auth-switch-back {
  min-width: 202px;
  min-height: 50px;
  border-radius: 999px;
}

.auth-page--exact .auth-submit {
  background: linear-gradient(135deg, rgba(16, 37, 63, 0.96), rgba(25, 56, 95, 0.92));
  color: #ffffff;
  border: 0;
  box-shadow: 0 10px 24px rgba(16, 37, 63, 0.14);
}

.auth-page--exact .auth-back-button,
.auth-page--exact .auth-switch-back {
  background: #dfe7f2;
  color: var(--ink-900);
  border: 0;
  box-shadow: none;
}

.auth-page--exact .auth-info-exact {
  width: min(100%, 720px);
  margin-top: 18px;
}

.auth-page--exact .auth-info-exact h2 {
  margin: 0 0 16px;
  color: var(--ink-900);
  font-size: 24px;
}

.auth-page--exact .auth-checklist {
  margin: 0;
  padding-left: 24px;
  display: grid;
  gap: 10px;
  color: var(--muted);
  line-height: 1.7;
}

.auth-page--exact .auth-session {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(209, 220, 234, 0.92);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

@media (max-width: 900px) {
  .auth-page--exact .auth-shell--exact {
    width: min(100% - 24px, 1120px);
    padding: 26px 0 48px;
  }

  .auth-page--exact .auth-header-simple {
    align-items: stretch;
    flex-direction: column;
  }

  .auth-page--exact .auth-top-button {
    margin-left: 0;
    width: 100%;
  }

  .auth-page--exact .auth-form-wrap,
  .auth-page--exact .auth-info-exact {
    width: 100%;
  }

  .auth-page--exact .auth-submit,
  .auth-page--exact .auth-back-button,
  .auth-page--exact .auth-switch-back {
    width: 100%;
  }
}

.results-panel__intro {
  margin: 0 0 18px;
  padding: 0 6px;
  display: grid;
  justify-items: center;
  text-align: center;
}

.results-panel__intro h1 {
  margin: 0 0 10px;
  color: var(--ink-900);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
}

.results-panel__intro p {
  max-width: 68ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.listing-card__permalink {
  color: inherit;
  text-decoration: none;
}

.listing-card__permalink:hover,
.listing-card__permalink:focus-visible {
  text-decoration: underline;
}

.property-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.province-link-list,
.province-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.province-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(16, 37, 63, 0.08);
  color: var(--ink-800);
  font-size: 14px;
  font-weight: 700;
}

.province-chip--link {
  text-decoration: none;
}

.province-chip--link:hover,
.province-chip--link:focus-visible {
  background: rgba(16, 37, 63, 0.16);
}

.guide-checklist {
  margin: 0;
  padding-left: 22px;
  color: var(--text);
  line-height: 1.7;
}

.guide-checklist li + li {
  margin-top: 8px;
}

/* Keep assessed-value amount and discount badge inside the card at any browser zoom. */
.listing-card__meta--assessed {
  min-width: 0;
  overflow: hidden;
}

.listing-card__meta--assessed .listing-card__meta-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
  min-width: 0;
}

.listing-card__meta--assessed .listing-card__meta-row strong {
  flex: 1 1 8.5rem;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.listing-card__meta--assessed .listing-card__discount-pill {
  flex: 0 1 auto;
  max-width: 100%;
  margin-left: 0;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .listing-card__meta--assessed .listing-card__meta-row {
    align-items: flex-start;
  }
}

.listing-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px rgba(16, 37, 63, 0.06);
}

.listing-pagination[hidden] {
  display: none;
}

.listing-pagination__summary,
.listing-pagination__page {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.listing-pagination__controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.listing-pagination__button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--ink-900), var(--ink-800));
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.listing-pagination__button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

@media (max-width: 720px) {
  .listing-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .listing-pagination__controls {
    justify-content: space-between;
  }
}

/* Real mobile listing layout pass. Keeps the production page usable without a separate mobile page. */
@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header,
  .page-shell {
    width: 100%;
    max-width: 100%;
  }

  .page-shell {
    padding: 10px 10px 28px;
  }

  .workspace {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    min-width: 0;
  }

  .filters-panel,
  .results-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 14px;
    border-radius: 20px;
  }

  .filters-panel {
    max-height: 42vh;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .filters-stack {
    gap: 12px;
  }

  .filter-card {
    border-radius: 16px;
  }

  #municipality-filter {
    min-height: auto;
  }

  #municipality-filter .filter-list {
    max-height: 260px;
    overflow: auto;
  }

  .results-panel__blank {
    min-height: auto;
    margin-bottom: 14px;
  }

  .results-topnav {
    min-height: 0;
    padding: 12px;
    gap: 8px;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    border-radius: 18px;
  }

  .results-topnav::-webkit-scrollbar {
    display: none;
  }

  .results-topnav > a:first-child {
    margin-left: 0;
  }

  .results-topnav a,
  .results-topnav__upcoming,
  .results-topnav__map,
  .results-topnav__auth,
  .results-topnav__logout,
  .results-topnav__upgrade,
  .results-topnav__install,
  .results-topnav__lang-toggle {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .results-topnav__lang {
    flex: 0 0 auto;
    margin-left: 0;
  }

  .results-topnav__lang-toggle {
    min-width: 104px;
    height: 38px;
  }

  .results-panel__intro {
    padding: 0;
    margin: 14px 0 16px;
  }

  .results-panel__intro h1 {
    font-size: clamp(26px, 9vw, 34px);
    overflow-wrap: anywhere;
  }

  .results-panel__intro p {
    font-size: 15px;
    line-height: 1.55;
  }

  .province-link-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .province-link-list::-webkit-scrollbar {
    display: none;
  }

  .province-chip {
    flex: 0 0 auto;
  }

  .results-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 14px;
  }

  .listing-card {
    border-radius: 20px;
  }

  .listing-card__map-wrap,
  .listing-card__preview {
    height: 220px;
  }

  .listing-card__header {
    padding: 11px 14px;
  }

  .listing-card__title {
    padding-right: 34px;
    font-size: 14px;
  }

  .listing-card__body {
    padding: 14px;
  }

  .listing-card__countdown-panel {
    min-height: 58px;
    margin-top: 10px;
    padding: 10px;
  }

  .listing-card__grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 12px;
  }

  .listing-card__meta {
    padding: 11px 12px;
  }

  .listing-card__meta strong {
    font-size: 16px;
  }

  .listing-card__access {
    align-items: flex-start;
    flex-direction: column;
  }

  .listing-card__access span {
    text-align: left;
  }

  .listing-pagination {
    margin-top: 16px;
    padding: 14px;
  }

  .listing-pagination__controls {
    width: 100%;
  }

  .listing-pagination__button {
    flex: 1;
  }
}

@media (max-width: 420px) {
  .page-shell {
    padding-right: 8px;
    padding-left: 8px;
  }

  .filters-panel,
  .results-panel {
    padding: 12px;
    border-radius: 18px;
  }

  .listing-card__map-wrap,
  .listing-card__preview {
    height: 205px;
  }
}

.mobile-brand-bar,
.mobile-action-bar,
.filters-panel__close {
  display: none;
}

.filters-panel__mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 760px) {
  *,
  *::before,
  *::after {
    min-width: 0;
  }

  body.mobile-filters-open {
    overflow: hidden;
  }

  .page-shell {
    width: calc(100% - 24px);
    padding: 10px 0 28px;
  }

  .workspace {
    align-items: center;
  }

  .results-panel {
    width: 100%;
    max-width: 430px;
    padding: 12px;
    overflow-x: clip;
  }

  .mobile-action-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    margin-bottom: 10px;
  }

  .mobile-brand-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 58px;
    margin-bottom: 10px;
    padding: 8px 12px;
    border: 1px solid rgba(209, 220, 234, 0.82);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(16, 37, 63, 0.96), rgba(25, 56, 95, 0.92));
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .mobile-brand-bar img {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: cover;
    flex: 0 0 auto;
  }

  .mobile-brand-bar span {
    min-width: 0;
    line-height: 1;
    white-space: nowrap;
  }

  .mobile-action-bar__button,
  .filters-panel__close {
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--ink-900), var(--ink-800));
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
  }

  .filters-panel__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    background: rgba(16, 37, 63, 0.1);
    color: var(--ink-900);
  }

  .results-panel__blank {
    display: block;
    width: 100%;
    margin-bottom: 12px;
  }

  .results-topnav {
    display: none;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    width: 100%;
    min-height: 0;
    padding: 10px;
    gap: 8px;
    overflow: visible;
    border-radius: 14px;
  }

  .results-panel__blank.is-menu-open .results-topnav {
    display: grid;
  }

  .results-topnav a,
  .results-topnav__upcoming,
  .results-topnav__map,
  .results-topnav__auth,
  .results-topnav__logout,
  .results-topnav__upgrade,
  .results-topnav__install {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 40px;
    padding: 0 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    text-align: center;
    white-space: normal;
  }

  .results-topnav__install {
    border: 1px solid rgba(255, 219, 140, 0.72);
    background: linear-gradient(135deg, #f5c963 0%, #d79b2f 52%, #a96f16 100%);
    color: #10253f;
  }

  .results-topnav__map {
    border: 1px solid rgba(144, 214, 190, 0.46);
    background: rgba(35, 121, 95, 0.22);
    color: #ffffff;
  }

  .results-topnav > a:first-child {
    margin-left: 0;
  }

  .results-topnav__lang {
    grid-column: 1 / -1;
    display: block;
    width: 100%;
    margin-left: 0;
  }

  .results-topnav__lang-toggle {
    width: 100%;
    min-width: 0;
    border-radius: 8px;
  }

  .results-topnav__lang-menu {
    position: static;
    width: 100%;
    max-height: 210px;
    margin-top: 8px;
    border-radius: 8px;
  }

  .filters-panel {
    display: none;
    position: fixed;
    inset: 10px;
    z-index: 5200;
    width: auto;
    max-width: none;
    max-height: none;
    padding: 12px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 14px;
    box-shadow: 0 30px 90px rgba(8, 20, 35, 0.38);
  }

  .filters-panel.is-open {
    display: block;
  }

  .search-box {
    margin: 14px 0;
  }

  .filter-card {
    padding: 13px;
    border-radius: 12px;
  }

  .filter-option,
  .radio-option {
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.35;
  }

  #municipality-filter .filter-list {
    max-height: 230px;
  }

  .results-panel__intro,
  .province-link-list,
  .results-grid,
  .listing-card,
  .listing-card__body,
  .listing-card__header,
  .listing-pagination {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .results-panel__intro h1 {
    font-size: 30px;
    line-height: 1.12;
  }

  .results-panel__intro p {
    max-width: 100%;
  }

  .results-panel__intro h1,
  .listing-card__title,
  .listing-card__subtitle,
  .listing-card__meta strong,
  .listing-card__access span,
  .listing-card__access strong,
  .province-chip {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .listing-card__title {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    padding-right: 0;
    line-height: 1.25;
  }

  .listing-card__title-link {
    display: flex;
    align-items: flex-start;
  }

  .listing-card__amount {
    white-space: normal;
    text-align: right;
    font-size: 18px;
    line-height: 1.15;
  }

  .listing-card__footer,
  .listing-card__header {
    align-items: flex-start;
  }

  .listing-card__footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .province-link-list {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    padding-bottom: 0;
  }

  .province-chip {
    justify-content: center;
    width: 100%;
    border-radius: 8px;
    text-align: center;
  }

  .parcel-modal__dialog,
  .request-records-modal__dialog {
    max-width: calc(100vw - 12px);
  }
}

@media (max-width: 420px) {
  .page-shell {
    width: calc(100% - 20px);
  }

  .results-panel {
    max-width: 342px;
  }

  .results-panel__intro h1 {
    font-size: 28px;
  }
}
.intro-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 7px;
  border: 1px solid rgba(16, 37, 63, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink-900);
  letter-spacing: 0.08em;
}

.intro-brand-pill img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: cover;
  flex: 0 0 auto;
}

.intro-brand-pill span {
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .intro-brand-pill {
    max-width: 100%;
    gap: 7px;
    padding: 6px 9px 6px 6px;
    letter-spacing: 0.06em;
  }

  .intro-brand-pill img {
    width: 22px;
    height: 22px;
  }
}

.filters-panel__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 62px;
  padding: 10px 14px;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.035em;
}

.filters-panel__brand img {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 auto;
}

.filters-panel__brand span {
  line-height: 1;
  min-width: 0;
}

@media (max-width: 760px) {
  .filters-panel__mobile-head .filters-panel__brand {
    flex: 1;
    width: auto;
  }

  .filters-panel__brand img {
    width: 36px;
    height: 36px;
  }
}

:root {
  --brand-badge-width: 282px;
}

.filters-panel__brand,
.intro-brand-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, var(--brand-badge-width));
  min-height: 62px;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.intro-brand-pill {
  margin-bottom: 16px;
  padding: 6px 10px;
  border-color: rgba(16, 37, 63, 0.14);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 26px rgba(16, 37, 63, 0.08);
  font-size: 16px;
  letter-spacing: 0.025em;
  gap: 8px;
}

.intro-brand-pill img {
  width: 50px;
  height: 50px;
}

.filters-panel__brand img,
.intro-brand-pill img {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 auto;
}

.filters-panel__brand span,
.intro-brand-pill span {
  line-height: 1;
  min-width: 0;
}

.filters-panel__brand {
  min-height: 92px;
  padding: 8px 16px 8px 8px;
  border-radius: 22px;
  gap: 2px;
  font-size: 18px;
  letter-spacing: 0;
}

.filters-panel__brand img {
  width: 76px;
  height: 76px;
  border-radius: 10px;
}

.filters-panel__brand span {
  white-space: nowrap;
}

@media (max-width: 760px) {
  .filters-panel__brand,
  .intro-brand-pill {
    width: 100%;
    min-height: 58px;
    font-size: 14px;
  }

  .filters-panel__brand img,
  .intro-brand-pill img {
    width: 38px;
    height: 38px;
  }

  .filters-panel__brand {
    min-height: 68px;
    padding: 12px 14px;
    gap: 10px;
    font-size: 14px;
  }

  .filters-panel__brand img {
    width: 42px;
    height: 42px;
  }
}

.canada-map-property-card {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 780;
  width: min(360px, calc(100% - 44px));
  overflow: hidden;
  border: 1px solid rgba(144, 214, 190, 0.38);
  border-radius: 8px;
  background: #101719;
  color: #ffffff;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.46);
}

.canada-map-property-card__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  border: 0;
  border-radius: 8px;
  padding: 7px 9px;
  background: rgba(7, 21, 32, 0.78);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.canada-map-property-card__image {
  height: 112px;
  background:
    linear-gradient(135deg, rgba(16, 37, 63, 0.12), rgba(255, 209, 102, 0.08)),
    linear-gradient(28deg, #456a52 0%, #6e835e 31%, #2f574c 31%, #315c50 62%, #748462 62%, #405642 100%);
}

.canada-map-property-card__body {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.canada-map-property-card__kicker {
  color: #90d6be;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.canada-map-property-card h3,
.canada-map-property-card p {
  margin: 0;
}

.canada-map-property-card h3 {
  color: #ffffff;
  font-size: 18px;
  line-height: 1.2;
}

.canada-map-property-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.45;
}

.canada-map-property-card__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.canada-map-property-card__facts span {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(144, 214, 190, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.canada-map-property-card__facts small,
.canada-map-property-card__facts strong {
  display: block;
}

.canada-map-property-card__facts small {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.canada-map-property-card__facts strong {
  color: #ffffff;
  font-size: 13px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.canada-map-property-card__actions {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}

.canada-map-property-card__actions button,
.canada-map-property-card__details {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  background: #17385f;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.canada-map-property-card__actions button:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.canada-map-property-card__actions strong {
  color: #ffd166;
  font-size: 12px;
  white-space: nowrap;
}

.canada-map-property-card__details {
  width: 100%;
  background: linear-gradient(135deg, #f5c963 0%, #d79b2f 58%, #a96f16 100%);
  color: #10253f;
}

@media (max-width: 760px) {
  .canada-map-property-card {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
    max-height: 52vh;
    overflow-y: auto;
  }

  .canada-map-property-card__image {
    height: 84px;
  }

  .canada-map-property-card__facts {
    grid-template-columns: 1fr;
  }
}

.cts-cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1400;
  display: grid;
  gap: 16px;
  width: min(420px, calc(100vw - 24px));
  padding: 18px;
  border: 1px solid rgba(16, 37, 63, 0.14);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 251, 241, 0.98) 0%, rgba(242, 236, 218, 0.98) 100%);
  box-shadow: 0 24px 54px rgba(16, 37, 63, 0.24);
}

.cts-cookie-banner__content {
  display: grid;
  gap: 8px;
}

.cts-cookie-banner__eyebrow {
  margin: 0;
  color: #8a5b12;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cts-cookie-banner__text {
  margin: 0;
  color: #17385f;
  font-size: 14px;
  line-height: 1.5;
}

.cts-cookie-banner__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.cts-cookie-banner__button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 0;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.cts-cookie-banner__button--ghost {
  background: rgba(23, 56, 95, 0.08);
  color: #17385f;
}

.cts-cookie-banner__button--primary {
  background: #17385f;
  color: #ffffff;
}

@media (max-width: 760px) {
  .cts-cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    padding: 16px;
  }

  .cts-cookie-banner__actions {
    flex-direction: column;
  }

  .cts-cookie-banner__button {
    width: 100%;
  }
}
