:root {
  --cream: #f5f0e8;
  --white: #ffffff;
  --ink: #112d21;
  --primary: #1b4332;
  --gold-line: #e6dec9;
  --border: #d9d9d9;
  --muted: #4a5565;
  --subtle: #6a7282;
  --faint: #99a1af;
  --price: #101828;
  --chip: #364153;
  --font: "Inter", "Noto Sans", sans-serif;
  --logo: "Jacques Francois", Georgia, serif;
  --tag: "Roboto", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
}

.skip {
  position: absolute;
  left: -999px;
  z-index: 30;
}
.skip:focus,
.skip:focus-visible {
  left: 8px;
  top: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 6px;
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 48px;
  height: 80px;
  padding: 0 48px;
  border-bottom: 1px solid var(--gold-line);
  background: var(--cream);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--primary);
  flex-shrink: 0;
}
.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 18px;
  background: var(--primary);
}
.logo-mark img {
  width: 22px;
  height: 22px;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-word {
  font-family: var(--logo);
  font-size: 16px;
  line-height: 21px;
}
.logo-tag {
  font-family: var(--tag);
  font-weight: 300;
  font-size: 12px;
  line-height: 14px;
}

.tabs {
  display: flex;
  gap: 8px;
  flex: 1;
  justify-content: flex-end;
}
.tab,
.btn,
select,
.search input {
  font-family: var(--font);
  font-size: 14px;
}
.tab {
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  white-space: nowrap;
}
.tab:hover {
  background: rgba(27, 67, 50, 0.06);
}
.tab.is-active {
  background: #fff;
  color: var(--primary);
  box-shadow: inset 0 0 0 1.5px var(--primary);
}

.nav-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-shrink: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  color: var(--primary);
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
}
.btn.subtle:hover {
  background: rgba(27, 67, 50, 0.06);
}
.btn.primary {
  background: var(--primary);
  color: #fff;
}
.btn.ico,
.ico {
  display: inline-flex;
}

.filterbar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 80px;
  padding: 0 16px;
  border-bottom: 1px solid var(--border);
  background: var(--cream);
  position: relative;
  z-index: 30;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 326px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--subtle);
}
.search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13px;
}
.filterbar select {
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--primary);
}
.filter-btn {
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--primary);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
.filter-btn.is-on,
.bbg-filter.is-open .filter-btn {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}
.bbg-filter {
  position: relative;
}
.bbg-panel {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 40;
  width: min(420px, calc(100vw - 32px));
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(17, 45, 33, 0.18);
  overflow: hidden;
  padding-bottom: 8px;
}
.bbg-panel[hidden] {
  display: none !important;
}
.lot-filter .bbg-panel {
  left: auto;
  right: 0;
}
.bbg-band {
  margin: 0;
  padding: 8px 16px;
  background: #f3f4f6;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a93a3;
}
.bbg-row {
  padding: 12px 16px 16px;
}
.bbg-label {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: #111;
}
.bbg-segs {
  display: flex;
  width: 100%;
  border: 1px solid #d8dce3;
  border-radius: 8px;
  overflow: hidden;
}
.bbg-seg {
  flex: 1;
  min-width: 0;
  height: 36px;
  margin: 0;
  padding: 0 4px;
  border: 0;
  border-right: 1px solid #d8dce3;
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  color: #111;
}
.bbg-seg:last-child {
  border-right: 0;
}
.bbg-seg.is-on {
  background: #e8f1ec;
  color: var(--primary);
  box-shadow: inset 0 0 0 2px var(--primary);
  font-weight: 650;
}
.bbg-apply {
  display: block;
  width: calc(100% - 32px);
  margin: 4px 16px 12px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
}
.bbg-apply:hover,
.bbg-apply:focus-visible {
  filter: brightness(1.08);
  outline: 0;
}
.count {
  margin-left: auto;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}
.map-toggle {
  min-width: 84px;
  justify-content: center;
  text-transform: none;
  border: 1px solid var(--border);
  background: #fff;
}
.map-toggle.is-on {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
  background: #fff;
  color: var(--primary);
}
.map-toggle.is-on::after {
  content: " ×";
}

.hub {
  display: flex;
  height: calc(100vh - 160px);
  min-height: 560px;
}

.hub.is-article-split .map-pane {
  flex: 1 1 0;
  min-width: 0;
}
.hub.is-article-split .list-pane {
  width: auto;
  flex: 2 1 0;
  min-width: 0;
}

.article-reader {
  padding: 20px 28px 48px;
  max-width: 44rem;
}
.hub.is-article-split .article-reader {
  max-width: none;
}
.article-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
}
.article-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--subtle);
}
.article-reader h1 {
  font-family: var(--logo);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 12px;
}
.article-dek {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}
.article-hero {
  margin: 0 0 20px;
  border-radius: 12px;
  overflow: hidden;
}
.article-hero img {
  display: block;
  width: 100%;
  height: auto;
}
.article-body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}
.article-body h1,
.article-body h2 {
  font-family: var(--logo);
  font-weight: 400;
}
.article-body h1 { font-size: 26px; margin: 0 0 14px; }
.article-body h2 { font-size: 20px; margin: 22px 0 8px; }
.article-body p { margin: 0 0 12px; }
.article-credits {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--gold-line);
  font-size: 13px;
  color: var(--muted);
}
.article-credits a { color: var(--primary); margin-right: 10px; }

.rail {
  width: 119px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 16px 8px;
  border-right: 1px solid var(--border);
  background: var(--cream);
  transition: width 0.2s ease, padding 0.2s ease;
}
.rail.is-narrow {
  width: 64px;
  padding: 16px 8px 8px;
  gap: 10px;
}
.rail-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  font-size: 12px;
}
.rail.is-narrow .rail-btn {
  gap: 0;
}
.rail.is-narrow .rail-btn span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.rail-btn svg {
  width: 44px;
  height: 44px;
  padding: 13px;
  border-radius: 22px;
}
.rail.is-narrow .rail-btn svg {
  width: 40px;
  height: 40px;
  padding: 11px;
}
.rail-btn.is-active svg {
  background: var(--primary);
  color: #fff;
}
.rail-size {
  margin-top: auto;
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 8px 0 4px;
}
.rail-size-btn {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--primary);
  cursor: pointer;
}
.rail-size-btn:hover:not(:disabled),
.rail-size-btn:focus-visible {
  border-color: var(--primary);
  outline: 0;
}
.rail-size-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.rail.is-narrow .rail-size {
  flex-direction: column;
}

.map-pane {
  position: relative;
  flex: 1.15;
  min-width: 280px;
  background: #e8efe9;
}
.map-tools {
  position: absolute;
  top: 12px;
  left: 54px;
  z-index: 500;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 66px);
}
.map-chip {
  border: 0;
  background: #fff;
  color: var(--primary);
  border-radius: 999px;
  height: 30px;
  padding: 0 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(17, 45, 33, 0.16);
}
.map-chip.is-on {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 0 0 1.5px var(--primary);
}
.school-dd-btn.is-on {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 0 0 1.5px var(--primary);
}
.school-dd {
  position: relative;
}
.school-dd-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #111;
}
.school-dd-chevron {
  display: block;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.school-dd.is-open .school-dd-chevron {
  transform: rotate(180deg);
}
.school-dd-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 20;
  min-width: 176px;
  padding: 6px 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 45, 33, 0.16);
}
.school-dd-menu[hidden] {
  display: none !important;
}
.school-dd-opt {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 8px 16px;
  font: inherit;
  font-size: 13px;
  color: #111;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
}
.school-dd-opt:hover,
.school-dd-opt:focus-visible {
  background: #f3f7f4;
  outline: 0;
}
.school-dd-opt.is-on {
  font-weight: 700;
}
.school-dd-opt.is-on::before {
  content: "✓ ";
}
.map-note {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 500;
  margin: 0;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 10px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
  box-shadow: 0 4px 16px rgba(17, 45, 33, 0.12);
}
.map-note a { color: var(--primary); }
.map-note[hidden] { display: none !important; }
.leaflet-tooltip.region-label {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 12px;
  text-shadow: 0 0 4px #fff, 0 1px 2px #fff;
}
.leaflet-div-icon.school-dot {
  background: transparent;
  border: 0;
  overflow: visible;
}
.school-dot-mark {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 10px;
  background: #f5d090;
  border: 1.5px solid #8a4b12;
  box-shadow: 0 0 0 3px rgba(232, 184, 109, 0.45);
}
.school-dot-name {
  position: absolute;
  left: 14px;
  top: -3px;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.2;
  color: #6b3a10;
  text-shadow: 0 0 3px #fff, 0 1px 2px #fff, 1px 0 2px #fff, -1px 0 2px #fff;
  pointer-events: none;
}
.leaflet-container:not(.school-labels-on) .school-dot-name {
  display: none;
}
.leaflet-tooltip.school-hover {
  width: min(280px, 70vw);
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(17, 45, 33, 0.18);
  white-space: normal;
}
.leaflet-tooltip.school-hover::before {
  border-top-color: #fff;
}
.school-tip {
  margin: 0;
}
.school-tip-name {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.school-tip-desc,
.school-tip-feat {
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 1.4;
  color: #333;
}
.school-tip-feat {
  color: #555;
}
.school-tip-note {
  margin: 0;
  font-size: 11px;
  color: var(--subtle);
}
.school-tip-note a {
  color: var(--primary);
}
.leaflet-tooltip.pin-hover {
  width: min(280px, 70vw);
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(17, 45, 33, 0.18);
  white-space: normal;
}
.leaflet-tooltip.pin-hover::before {
  border-top-color: #fff;
}
.pin-tip {
  margin: 0;
}
.pin-tip-name {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
}
.pin-tip-price {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 650;
  color: var(--price);
}
.pin-tip-meta,
.pin-tip-feat {
  margin: 0 0 4px;
  font-size: 12px;
  line-height: 1.4;
  color: #444;
}
.pin-tip-feat {
  margin-bottom: 0;
  color: #555;
}
.map-pane.is-hidden {
  display: none;
}
#map {
  width: 100%;
  height: 100%;
}

.list-pane {
  width: 647px;
  flex-shrink: 0;
  overflow: auto;
  background: var(--cream);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.list-pane.is-wide {
  width: auto;
  flex: 1;
}

.explainer {
  margin: 16px 16px 0;
  padding: 14px 16px;
  border: 1px solid var(--gold-line);
  border-radius: 8px;
  background: #fff;
}
.explainer h2 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
}
.explainer p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}
.map-pick {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 12px 16px 0;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  color: var(--ink);
}
.map-pick[hidden] {
  display: none !important;
}
.map-pick strong {
  font-weight: 650;
}
#mapPickClear {
  margin-left: auto;
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 16px 8px 8px;
}

.card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-photo {
  cursor: pointer;
  position: relative;
  height: 176px;
  background: #e4e0d8;
  overflow: hidden;
}
.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.badge {
  position: absolute;
  top: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}
.badge.count {
  left: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  margin: 0;
}
.badge.stock {
  right: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--chip);
  font-weight: 500;
}
.card-body {
  padding: 12px;
}
.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.price {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: var(--price);
}
.heart {
  border: 0;
  background: transparent;
  color: var(--subtle);
  cursor: pointer;
  padding: 0;
}
.heart.is-on {
  color: #b42318;
}
.meta {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.addr {
  margin: 6px 0 0;
  font-size: 12px;
  color: #757575;
}
.dev {
  margin: 4px 0 0;
  font-size: 10px;
  color: #b3b3b3;
}
.why {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--primary);
}
.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #f3f4f6;
  font-size: 12px;
}
.avail {
  color: var(--faint);
}
.view {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  padding: 0;
}
button.view:hover {
  text-decoration: underline;
}

.sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 1600;
  background: rgba(17, 45, 33, 0.45);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 24px 16px 32px;
  overflow: auto;
}
.sheet-overlay[hidden] {
  display: none !important;
}
#lotSheet {
  z-index: 1700;
}
body.sheet-open {
  overflow: hidden;
}
.pd-card,
.ld-card {
  width: min(920px, 100%);
  margin: 12px auto 40px;
  background: #fff;
  border-radius: 24px;
  overflow: visible;
  box-shadow: 0 24px 64px rgba(17, 45, 33, 0.28);
}
.ld-card {
  width: min(760px, 100%);
  padding: 28px 28px 40px;
  position: relative;
}
.pd-hero {
  position: relative;
  height: 280px;
  background: #d7ddd8;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
}
.pd-hero img,
.ld-hero img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #eef3ef;
}
.pd-hero-fallback {
  height: 100%;
  background: linear-gradient(180deg, #c5d4cb, #1b4332);
}
.pd-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 45, 33, 0.72), transparent 55%);
  pointer-events: none;
}
.pd-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  z-index: 2;
}
.pd-close.dark {
  background: rgba(17, 45, 33, 0.08);
  color: var(--ink);
}
.pd-hero-copy {
  position: absolute;
  left: 20px;
  bottom: 28px;
  color: #fff;
  z-index: 1;
}
.pd-hero-copy h2 {
  margin: 0;
  font-family: var(--logo);
  font-size: 28px;
  font-weight: 400;
}
.pd-hero-copy p {
  margin: 4px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}
.pd-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 1;
}
.pd-dots.right {
  left: auto;
  right: 16px;
  transform: none;
  bottom: 14px;
}
.pd-dot {
  width: 6px;
  height: 6px;
  border-radius: 6px;
  border: 0;
  background: rgba(255, 255, 255, 0.4);
  padding: 0;
  cursor: pointer;
}
.pd-dot.is-on {
  background: #fff;
}
.pd-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid #f3f4f6;
}
.pd-stats div {
  padding: 14px 8px;
  text-align: center;
  border-right: 1px solid #f3f4f6;
}
.pd-stats div:last-child {
  border-right: 0;
}
.pd-stats strong {
  display: block;
  font-size: 16px;
  color: var(--price);
}
.pd-stats span {
  font-size: 12px;
  color: var(--faint);
}
.pd-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: #f7f8f7;
}
.pd-cta p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.pd-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: #128c7e;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.pd-body {
  padding: 18px 20px 28px;
}
.pd-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.pd-toolbar h3 {
  margin: 0;
  font-size: 16px;
}
.pd-sort {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--subtle);
  position: relative;
  z-index: 4;
}
.lot-filter {
  position: relative;
}
.chip {
  border: 1px solid #e6e8ec;
  background: #fff;
  border-radius: 999px;
  height: 28px;
  padding: 0 10px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  color: var(--ink);
}
.chip.is-on {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.pd-sort select {
  height: 28px;
  border: 1px solid #e6e8ec;
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
  padding: 0 8px;
  background: #fff;
}
.pd-lots {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pd-lot,
.update-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 12px 14px;
  border: 1px solid #eee;
  border-radius: 14px;
  background: #fff;
}
.pd-dot-status {
  width: 8px;
  height: 8px;
  border-radius: 8px;
  flex-shrink: 0;
}
.pd-dot-status.is-avail { background: #3d7a4a; }
.pd-dot-status.is-hold { background: #7c6bc4; }
.pd-dot-status.is-offer { background: #c47a2b; }
.pd-dot-status.is-soon { background: #8a93a3; }
.pd-lot-main { flex: 1; min-width: 0; }
.pd-lot-price {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  color: var(--price);
}
.pd-lot-spec {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--subtle);
}
.pd-lot-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.pd-icon {
  border: 0;
  background: transparent;
  color: var(--subtle);
  cursor: pointer;
  padding: 4px;
}
.pd-icon.is-on { color: #b42318; }
.pd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--primary);
  background: #fff;
  color: var(--primary);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
.pd-btn.solid {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.pd-btn.ghost {
  border-color: #d9d9d9;
  color: var(--ink);
}
.pd-btn.is-on {
  background: #eef3ef;
}
.st-pill {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  vertical-align: middle;
}
.st-pill.is-avail { background: #e4f4e8; color: #215c32; }
.st-pill.is-hold { background: #eee8fa; color: #5b4a9a; }
.st-pill.is-offer { background: #fbead6; color: #8a4b12; }
.st-pill.is-soon { background: #eef1f4; color: #4a5565; }
.pd-article-card {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid #e6e8ec;
  border-radius: 16px;
  background: #f8faf8;
}
.pd-article-card h3 {
  margin: 4px 0 8px;
  font-family: var(--logo);
  font-size: 20px;
  font-weight: 400;
}
.pd-kicker {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
}

.ld-kicker {
  margin: 0 40px 0 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--subtle);
}
.ld-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin: 6px 0 16px;
}
.ld-head h2 {
  margin: 0;
  font-family: var(--logo);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.15;
}
.ld-hero {
  position: relative;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  background: #eef3ef;
}
.ld-hero img {
  display: none;
  object-fit: cover;
}
.ld-hero img.is-on {
  display: block;
}
.ld-tags {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  z-index: 1;
}
.ld-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 18px;
  background: rgba(17, 45, 33, 0.55);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  z-index: 1;
}
.ld-nav.prev { left: 10px; }
.ld-nav.next { right: 10px; }
.ld-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 18px 0 12px;
}
.ld-price {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--price);
}
.ld-icons {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}
.ld-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ld-fact {
  background: #f5f6f7;
  border-radius: 12px;
  padding: 12px 14px;
}
.ld-fact span {
  display: block;
  font-size: 11px;
  color: var(--subtle);
  margin-bottom: 4px;
}
.ld-fact strong {
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
}
.ld-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 16px 0 22px;
}
.ld-actions .pd-btn,
.ld-actions .pd-wa {
  height: 36px;
  padding: 0 16px;
  font-size: 13px;
}
.ld-team {
  margin: 8px 0 24px;
}
.ld-team h3,
.ld-article h1,
.ld-article h2 {
  font-family: var(--logo);
  font-weight: 400;
}
.ld-team h3 {
  margin: 0 0 10px;
  font-size: 22px;
}
.ld-sources {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--subtle);
}
.ld-sources a {
  color: var(--primary);
  margin-right: 10px;
}
.ld-article {
  border-top: 1px solid #eee;
  padding-top: 20px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}
.ld-article h1 {
  font-size: 26px;
  line-height: 1.25;
  margin: 0 0 16px;
}
.ld-article h2 {
  font-size: 20px;
  margin: 22px 0 8px;
}
.ld-article p { margin: 0 0 12px; }
.ld-article .article-note {
  font-size: 12px;
  color: var(--subtle);
}
.article-card h3 {
  font-family: var(--logo);
  font-size: 18px;
  font-weight: 400;
  margin: 6px 0;
}
.article-card {
  cursor: pointer;
}
.compare-tray {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 1500;
  display: flex;
  align-items: stretch;
  gap: 14px;
  padding: 12px 18px 12px 16px;
  background: var(--primary);
  color: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(17, 45, 33, 0.28);
  max-width: min(980px, calc(100% - 32px));
  width: min(980px, calc(100% - 32px));
}
.compare-tray[hidden] { display: none !important; }
.tray-head {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 88px;
}
.tray-head p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}
.tray-cards {
  display: flex;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.tray-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 8px 28px 8px 8px;
  min-width: 0;
  flex: 1;
  font-size: 11px;
}
.tray-card img,
.tray-ph,
.cmp-card img,
.cmp-ph {
  width: 100%;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  background: #2a5644;
}
.tray-ph, .cmp-ph { height: 56px; }
.tray-card strong { font-size: 13px; }
.tray-name, .tray-spec { opacity: 0.9; line-height: 1.3; }
.tray-x {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 11px;
  background: rgba(0,0,0,0.25);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.tray-close-all {
  position: relative;
  top: 0;
  right: 0;
  background: rgba(255,255,255,0.16);
}
.tray-go {
  align-self: center;
  border: 0;
  background: #fff;
  color: var(--primary);
  height: 36px;
  padding: 0 16px;
  margin-right: 4px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.cmp-wrap { padding: 8px 8px 28px; }
.cmp-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.cmp-wrap h2 {
  margin: 0 0 8px;
  font-family: var(--logo);
  font-size: 28px;
  font-weight: 400;
  color: var(--primary);
}
.cmp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 16px 0;
}
.cmp-card {
  position: relative;
  background: #fff;
  border: 1px solid #e6e8ec;
  border-radius: 16px;
  padding: 12px 14px 16px;
}
.cmp-card img, .cmp-ph { height: 120px; margin-bottom: 10px; }
.cmp-x {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 14px;
  background: rgba(17, 45, 33, 0.72);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  z-index: 1;
}
.cmp-kicker { margin: 0; font-size: 11px; color: var(--subtle); letter-spacing: 0.04em; }
.cmp-card h3 { margin: 4px 0; font-size: 16px; }
.cmp-price { margin: 0; font-size: 20px; font-weight: 700; color: var(--price); }
.cmp-spec { margin: 4px 0 10px; font-size: 13px; color: var(--muted); }
.cmp-card ul { list-style: none; margin: 0 0 12px; padding: 0; }
.cmp-card li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  padding: 5px 0;
  border-top: 1px solid #f3f4f6;
}
.cmp-card li span { color: var(--subtle); }

@media (max-width: 720px) {
  .pd-stats { grid-template-columns: repeat(2, 1fr); }
  .pd-lot { flex-wrap: wrap; }
  .pd-lot-actions { width: 100%; justify-content: flex-end; }
  .ld-card { padding: 20px 16px 28px; }
  .ld-facts { grid-template-columns: 1fr; }
  .ld-price-row { flex-direction: column; align-items: flex-start; }
}

.handoff {
  margin: auto 16px 16px;
  padding: 8px 0;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.handoff a {
  color: var(--primary);
  font-weight: 600;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  z-index: 2100;
}

.talk-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(17, 45, 33, 0.42);
  backdrop-filter: blur(4px);
}
.talk-overlay[hidden] {
  display: none;
}
.talk-card {
  width: min(380px, 100%);
  max-height: min(90vh, 820px);
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 64px rgba(17, 45, 33, 0.28);
  display: flex;
  flex-direction: column;
}
.talk-card.is-booking {
  width: min(440px, 100%);
}
.talk-head {
  position: relative;
  flex-shrink: 0;
  padding: 28px 24px 22px;
  background: var(--primary);
  color: #fff;
  text-align: center;
}
.talk-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.talk-close:hover,
.talk-close:focus-visible {
  background: rgba(255, 255, 255, 0.24);
  outline: 0;
}
.talk-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.talk-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 28px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  background: var(--primary);
}
.talk-logo img {
  width: 28px;
  height: 28px;
}
.talk-word {
  font-family: var(--logo);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #f4e9dc;
}
.talk-head h2 {
  margin: 0;
  font-family: var(--logo);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.25;
}
.talk-sub {
  margin: 8px 0 0;
  font-size: 13px;
  color: #c5d4cb;
}
.talk-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 16px 18px;
}
.talk-body[hidden],
.talk-book[hidden],
.talk-wechat[hidden],
.talk-done[hidden],
.talk-error[hidden],
.talk-back-head[hidden],
.talk-sub[hidden] {
  display: none !important;
}
.talk-action {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px 14px;
  border: 1px solid #e6e8ec;
  border-radius: 16px;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
}
.talk-action:hover,
.talk-action:focus-visible {
  border-color: var(--primary);
  outline: 0;
}
.talk-action.is-featured {
  background: #f3f7f4;
  border: 1.5px solid var(--primary);
}
.talk-ico {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef3ef;
  color: var(--primary);
}
.talk-ico-wa {
  color: #128c7e;
}
.talk-ico-wx {
  color: #07c160;
}
.talk-ico-cal {
  background: var(--primary);
  color: #fff;
}
.talk-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.talk-copy strong {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
}
.talk-action.is-featured strong {
  color: var(--primary);
}
.talk-copy span {
  font-size: 12px;
  color: var(--subtle);
}
.talk-chevron {
  color: #c4c9d1;
  font-size: 16px;
}
.talk-action.is-featured .talk-chevron {
  color: var(--primary);
}
button.talk-action {
  width: 100%;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  appearance: none;
}

.talk-wechat {
  padding: 18px 20px 22px;
  overflow: auto;
  text-align: center;
}
.talk-card.is-wechat {
  width: min(400px, 100%);
}
.talk-wx-qr {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
  background: #fff;
}
.talk-wx-hint {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--subtle);
}
.talk-book,
.talk-done {
  padding: 16px 20px 18px;
  overflow: auto;
  flex: 1;
}
#talkFormPage {
  padding: 16px 28px 20px;
}
.talk-back-head {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 0;
}
.talk-back-head:hover,
.talk-back-head:focus-visible {
  text-decoration: underline;
  outline: 0;
}
.talk-card.is-booking .talk-head {
  padding-top: 48px;
}
.talk-card.is-form .talk-head h2 {
  font-size: 18px;
  line-height: 1.35;
  padding: 0 12px;
}
.talk-brand[hidden] {
  display: none;
}
.talk-label {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.talk-label span {
  font-weight: 400;
  color: var(--subtle);
  font-size: 12px;
}
.talk-days {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.talk-day,
.talk-time {
  border: 1px solid #e6e8ec;
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink);
}
.talk-day {
  flex: 0 0 auto;
  min-width: 64px;
  padding: 8px 10px;
  text-align: center;
}
.talk-day small {
  display: block;
  font-size: 10px;
  color: var(--subtle);
  text-transform: uppercase;
}
.talk-day strong {
  display: block;
  font-size: 16px;
}
.talk-day.is-on,
.talk-time.is-on {
  border-color: var(--primary);
  background: #f3f7f4;
  color: var(--primary);
}
.talk-day:disabled,
.talk-time:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.talk-times {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 8px 0 6px;
}
.talk-time {
  height: 36px;
  font-size: 13px;
}
.talk-slot {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--subtle);
}
.talk-fields {
  display: grid;
  gap: 10px;
}
.talk-fields label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.talk-req {
  color: #e11d48;
  font-weight: 700;
}
.talk-opt {
  font-weight: 400;
  color: var(--subtle);
}
.talk-fields input,
.talk-fields select,
.talk-fields textarea {
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  border: 1px solid #e6e8ec;
  border-radius: 10px;
  padding: 10px 16px 10px 12px;
  background: #fff;
}
.talk-fields select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 52px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%23555' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 12px 8px;
}
.talk-fields textarea {
  resize: vertical;
  min-height: 72px;
}
.talk-fields input:focus,
.talk-fields select:focus,
.talk-fields textarea:focus {
  outline: 0;
  border-color: var(--primary);
}
.talk-hp {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  opacity: 0;
}
.talk-error {
  margin: 8px 0 0;
  font-size: 12px;
  color: #b42318;
}
.talk-submit {
  margin-top: 12px;
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.talk-submit:disabled {
  opacity: 0.55;
  cursor: wait;
}
.talk-done {
  text-align: center;
  padding: 28px 20px 22px;
}
.talk-done-kicker {
  margin: 0 0 8px;
  font-family: var(--logo);
  font-size: 22px;
  color: var(--primary);
}
.talk-done p:nth-of-type(2) {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

body.talk-open {
  overflow: hidden;
}

.leaflet-container {
  font-family: var(--font);
  background: #e8efe9;
}

@media (max-width: 1100px) {
  .nav {
    gap: 16px;
    padding: 0 16px;
    overflow-x: auto;
  }
  .tabs {
    justify-content: flex-start;
  }
  .hub.is-article-split .map-pane {
    display: none;
  }
  .hub.is-article-split .list-pane {
    flex: 1;
  }
  .map-pane {
    display: none;
  }
  .list-pane {
    width: auto;
    flex: 1;
  }
  .rail {
    display: none;
  }
}

@media (max-width: 720px) {
  .filterbar {
    flex-wrap: wrap;
    height: auto;
    padding: 12px 16px;
  }
  .search {
    width: 100%;
  }
  .count {
    margin-left: 0;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .nav-actions .btn.subtle span:not(.ico) {
    display: none;
  }
}
