:root {
  --ink: #172421;
  --muted: #56635f;
  --forest: #183b35;
  --forest-deep: #0d2b27;
  --mint: #d8eadf;
  --lime: #dfe86b;
  --paper: #f4f1e9;
  --paper-deep: #e8e3d7;
  --white: #fffef9;
  --line: rgba(23, 36, 33, .14);
  --danger: #a74b3e;
  --shadow: 0 18px 55px rgba(14, 40, 34, .12);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, Avenir, "Segoe UI", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid rgba(223, 232, 107, .9); outline-offset: 3px; }
button { color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 100; left: 14px; top: -80px; padding: 12px 18px; background: var(--lime); color: var(--forest-deep); border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 14px; }

.site-header { height: 74px; padding: 0 clamp(22px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; background: var(--forest); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.1); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-family: Georgia, serif; font-size: 21px; letter-spacing: -.3px; }
.brand-mark { width: 27px; height: 27px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 2px; }
.brand-mark span { background: var(--lime); border-radius: 8px 8px 2px 2px; }
.brand-mark span:nth-child(1) { height: 45%; }
.brand-mark span:nth-child(2) { height: 100%; }
.brand-mark span:nth-child(3) { height: 68%; }
.site-header nav { display: flex; align-items: center; gap: 8px; }
.nav-button { border: 0; background: transparent; color: rgba(255,255,255,.82); padding: 10px 12px; border-radius: 10px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; }
.nav-button:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #f0bf65; box-shadow: 0 0 0 4px rgba(240,191,101,.12); }
.count-badge { min-width: 21px; height: 21px; display: grid; place-items: center; background: var(--lime); color: var(--forest-deep); border-radius: 99px; font-size: 11px; }

.hero { position: relative; overflow: hidden; min-height: 566px; padding: 83px clamp(22px, 8vw, 124px) 48px; color: var(--white); background: var(--forest); isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -2; inset: 0 0 0 48%; background: linear-gradient(90deg, var(--forest) 0%, rgba(24,59,53,.38) 30%, rgba(13,43,39,.18) 100%), url("https://images.unsplash.com/photo-1600047509807-ba8f99d2cdde?auto=format&fit=crop&w=1800&q=85") center 52% / cover; filter: saturate(.75); }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, transparent 20%, rgba(24,59,53,.18)), linear-gradient(0deg, rgba(13,43,39,.45), transparent 45%); pointer-events: none; }
.hero-glow { position: absolute; z-index: -1; width: 520px; height: 520px; left: -260px; bottom: -390px; border-radius: 50%; background: var(--lime); filter: blur(90px); opacity: .13; }
.hero-copy { max-width: 700px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--lime); text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 750; }
.eyebrow i { width: 24px; height: 1px; background: currentColor; }
.hero h1 { margin: 19px 0 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 6.2vw, 88px); line-height: .96; letter-spacing: -.055em; font-weight: 400; }
.hero h1 em { color: var(--lime); font-weight: 400; }
.hero-copy > p { margin: 0; color: rgba(255,255,255,.74); max-width: 570px; font-size: 16px; line-height: 1.65; }

.search-shell { position: relative; z-index: 2; margin-top: 38px; width: min(1030px, 100%); background: var(--white); color: var(--ink); display: grid; grid-template-columns: 1.55fr .78fr .82fr auto; align-items: stretch; padding: 8px; border-radius: 16px; box-shadow: 0 26px 70px rgba(5,24,20,.3); }
.search-field { min-width: 0; padding: 9px 18px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.search-field > span, .select-label > span, .two-inputs label > span, .radius-label > span { font-size: 10px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-weight: 750; margin-bottom: 5px; }
.search-field input, .search-field select { width: 100%; border: 0; background: transparent; outline: 0; color: var(--ink); min-height: 25px; }
.search-field input::placeholder { color: #8f9895; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 9px) 52%, calc(100% - 5px) 52%; background-size: 4px 4px, 4px 4px; background-repeat: no-repeat; padding-right: 20px !important; }
.search-submit { min-width: 128px; border: 0; border-radius: 11px; background: var(--lime); color: var(--forest-deep); display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 750; }
.search-submit:hover { background: #e8f173; transform: translateY(-1px); }
.search-submit svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.hero-meta { margin-top: 30px; width: min(1000px, 100%); display: flex; gap: 34px; align-items: center; }
.hero-meta > div { display: flex; flex-direction: column; }
.hero-meta strong { font-family: Georgia, serif; font-size: 21px; font-weight: 400; }
.hero-meta div span { color: rgba(255,255,255,.58); font-size: 11px; margin-top: 2px; }
.hero-meta > p { margin: 0 0 0 auto; max-width: 290px; color: rgba(255,255,255,.58); font-size: 11px; line-height: 1.5; }
.demo-pill { display: inline-block; background: rgba(223,232,107,.15); color: var(--lime); border: 1px solid rgba(223,232,107,.3); border-radius: 99px; padding: 3px 7px; margin-right: 4px; }

.catalogue { padding: 74px clamp(22px, 6vw, 96px) 100px; max-width: 1540px; margin: 0 auto; }
.catalogue-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-kicker { margin: 0 0 9px; text-transform: uppercase; letter-spacing: .13em; font-size: 10px; font-weight: 800; color: #526a62; }
.catalogue h2, .drawer h2 { margin: 0; font-family: Georgia, serif; font-weight: 400; font-size: clamp(31px, 4vw, 48px); letter-spacing: -.035em; }
#results-summary { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.heading-actions { display: flex; gap: 10px; align-items: center; }
.sort-control { display: flex; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); font-size: 12px; background: rgba(255,255,255,.28); }
.sort-control select { border: 0; outline: 0; background-color: transparent; color: var(--ink); font-weight: 650; }
.catalogue-layout { display: grid; grid-template-columns: 236px minmax(0,1fr); gap: 36px; }
.filters { align-self: start; position: sticky; top: 18px; }
.filter-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.filter-top h3 { margin: 0; font-family: Georgia, serif; font-size: 22px; font-weight: 400; }
.filter-top button { border: 0; background: none; padding: 5px; color: var(--muted); font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.filters fieldset { margin: 0; padding: 22px 0; border: 0; border-bottom: 1px solid var(--line); }
.filters legend { width: 100%; margin: 0 0 13px; font-size: 12px; font-weight: 750; }
.segmented { display: flex; flex-wrap: wrap; gap: 7px; }
.segmented button { border: 1px solid var(--line); background: rgba(255,255,255,.25); padding: 8px 10px; border-radius: 99px; font-size: 11px; }
.segmented button:hover, .segmented button.active { color: var(--white); background: var(--forest); border-color: var(--forest); }
.two-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.two-inputs label, .select-label, .radius-label { display: flex; flex-direction: column; }
.two-inputs input, .select-label select, .radius-label select { min-width: 0; width: 100%; padding: 9px 8px; background-color: rgba(255,255,255,.4); border: 1px solid var(--line); border-radius: 8px; font-size: 12px; }
.field-hint { margin: 8px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.distance-row { display: grid; grid-template-columns: 1.45fr .7fr; gap: 8px; align-items: end; }
.location-button { min-height: 38px; padding: 8px; background: var(--forest); color: #fff; border: 0; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 11px; font-weight: 700; }
.location-button svg { width: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.location-button.active { background: #51766d; }

.results-column { min-width: 0; }
.active-filters { min-height: 0; display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.active-filters:empty { margin: 0; }
.filter-chip { border: 1px solid rgba(24,59,53,.2); background: rgba(255,255,255,.45); color: var(--forest); border-radius: 99px; padding: 6px 9px; font-size: 10px; }
.filter-chip::after { content: " ×"; font-size: 13px; }
.property-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px 18px; }
.property-card { position: relative; min-width: 0; overflow: hidden; background: rgba(255,254,249,.72); border: 1px solid rgba(23,36,33,.1); border-radius: 16px; transition: transform .2s ease, box-shadow .2s ease; }
.property-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-image { position: relative; display: block; width: 100%; aspect-ratio: 1.28; border: 0; padding: 0; overflow: hidden; background: var(--paper-deep); }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.property-card:hover .card-image img { transform: scale(1.035); }
.card-badges { position: absolute; left: 11px; top: 11px; right: 54px; display: flex; gap: 5px; flex-wrap: wrap; }
.card-badge { padding: 5px 8px; background: rgba(255,254,249,.9); color: var(--forest-deep); border-radius: 99px; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; backdrop-filter: blur(6px); }
.card-badge.dual { background: var(--lime); }
.star-button { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,254,249,.9); backdrop-filter: blur(6px); transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.star-button svg { width: 18px; fill: none; stroke: var(--forest); stroke-width: 1.7; }
.star-button.active { background: var(--forest); transform: scale(1.08); box-shadow: 0 0 0 3px var(--lime), 0 7px 18px rgba(13,43,39,.3); }
.star-button.active svg { fill: var(--lime); stroke: var(--lime); }
.card-body { padding: 16px 16px 15px; }
.card-location { margin: 0 0 7px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .09em; font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.map-link { display: inline-flex; align-items: baseline; gap: 4px; max-width: 100%; color: inherit; text-decoration-color: rgba(25,67,57,.35); text-underline-offset: 3px; }
.map-link:hover { color: var(--forest); text-decoration-color: currentColor; }
.map-link:focus-visible { border-radius: 3px; outline: 2px solid var(--forest); outline-offset: 3px; }
.card-location .map-link { overflow: hidden; text-overflow: ellipsis; }
.map-link span { flex: 0 0 auto; font-size: .85em; }
.card-body h3 { margin: 0 0 12px; min-height: 43px; font-family: Georgia, serif; font-size: 18px; line-height: 1.18; font-weight: 400; letter-spacing: -.015em; }
.price-line { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-height: 48px; }
.price-entry { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 7px; }
.price { font-size: 16px; font-weight: 800; }
.price-per-sqm, .price-mode { color: var(--muted); font-size: 10px; }
.card-specs { display: flex; gap: 10px; border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; color: var(--muted); font-size: 11px; }
.card-specs span + span::before { content: "·"; margin-right: 10px; color: #a6aeab; }
.card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 13px; }
.match-chip { display: inline-flex; align-items: center; gap: 5px; color: #52645f; font-size: 9px; }
.match-chip i { width: 6px; height: 6px; border-radius: 50%; background: #d29b4f; }
.view-link { border: 0; padding: 4px 0; background: none; color: var(--forest); font-size: 10px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

.skeleton { border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.35); }
.skeleton-image { aspect-ratio: 1.28; background: var(--paper-deep); }
.skeleton-lines { padding: 18px; }
.skeleton-lines i { display: block; height: 9px; border-radius: 9px; background: var(--paper-deep); margin-bottom: 10px; }
.skeleton-lines i:nth-child(2) { width: 72%; }
.skeleton-image, .skeleton-lines i { background-image: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent); background-size: 200% 100%; animation: shimmer 1.3s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty-state { text-align: center; padding: 80px 20px; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-key { font-size: 42px; color: #789188; }
.empty-state h3 { margin: 12px 0 5px; font-family: Georgia, serif; font-size: 25px; font-weight: 400; }
.empty-state p { margin: 0 0 20px; color: var(--muted); font-size: 13px; }
.outline-button { padding: 10px 14px; border: 1px solid var(--line); background: rgba(255,255,255,.35); border-radius: 9px; font-size: 11px; font-weight: 750; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 44px; }
.page-button { min-width: 36px; height: 36px; border: 1px solid var(--line); background: rgba(255,255,255,.25); border-radius: 8px; font-size: 11px; }
.page-button.active, .page-button:hover { background: var(--forest); color: var(--white); border-color: var(--forest); }
.page-button:disabled { opacity: .35; cursor: not-allowed; }

footer { padding: 42px clamp(22px, 6vw, 96px); color: rgba(255,255,255,.58); background: var(--forest-deep); display: flex; align-items: center; justify-content: space-between; gap: 30px; font-size: 11px; line-height: 1.55; }
.footer-brand span { color: #fff; font-family: Georgia, serif; font-size: 19px; }
.footer-brand p { margin: 3px 0 0; }
footer > p { margin: 0; max-width: 590px; text-align: right; }

.backdrop { position: fixed; z-index: 40; inset: 0; background: rgba(5,20,17,.52); backdrop-filter: blur(4px); }
.drawer { position: fixed; z-index: 50; top: 0; right: 0; bottom: 0; background: var(--paper); box-shadow: -30px 0 80px rgba(5,20,17,.22); overflow-y: auto; transform: translateX(102%); transition: transform .3s cubic-bezier(.22,.8,.24,1); }
.drawer.open { transform: translateX(0); }
.detail-drawer { width: min(940px, 94vw); }
.side-drawer { width: min(520px, 94vw); padding: 38px; }
.drawer-close { z-index: 4; position: absolute; top: 18px; right: 18px; width: 39px; height: 39px; border-radius: 50%; border: 0; background: rgba(255,254,249,.92); color: var(--forest); font-size: 24px; line-height: 1; box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.drawer-close.inline { position: static; flex: 0 0 auto; box-shadow: none; background: var(--paper-deep); }
.drawer-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.drawer-heading h2 { font-size: 38px; }
body.drawer-open { overflow: hidden; }

.detail-gallery { display: grid; grid-template-columns: 1.75fr 1fr; grid-template-rows: 190px 190px; gap: 4px; background: var(--forest); }
.detail-gallery img { width: 100%; height: 100%; object-fit: cover; }
.detail-gallery img:first-child { grid-row: 1 / 3; }
.detail-main { padding: 34px clamp(24px, 5vw, 58px) 70px; }
.detail-topline { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-bottom: 13px; }
.detail-topline span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 99px; font-size: 9px; text-transform: uppercase; letter-spacing: .07em; font-weight: 800; }
.detail-topline .warning-label { background: #efe5c8; border-color: transparent; color: #735b24; }
.detail-header { display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: start; }
.detail-header h2 { font-size: clamp(33px, 5vw, 52px); line-height: 1.02; }
.detail-address { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.detail-address .map-link { line-height: 1.45; }
.detail-price { text-align: right; white-space: nowrap; }
.detail-price .price-entry { display: grid; grid-template-columns: auto auto; align-items: baseline; justify-content: end; margin-bottom: 8px; }
.detail-price strong { display: block; font-size: 22px; }
.detail-price .price-per-sqm { font-size: 11px; }
.detail-price .price-mode { grid-column: 1 / -1; margin-top: 2px; font-size: 10px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 9px; margin: 25px 0; }
.primary-button, .secondary-button { min-height: 42px; padding: 10px 15px; border-radius: 9px; border: 0; font-weight: 750; font-size: 11px; }
.primary-button { background: var(--forest); color: #fff; }
.primary-button:hover { background: var(--forest-deep); }
.secondary-button { background: transparent; border: 1px solid var(--line); }
.secondary-button.active { background: var(--forest); border-color: var(--forest); color: var(--white); box-shadow: inset 0 0 0 2px var(--lime); }
.detail-specs { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.detail-specs div { padding: 15px; border-right: 1px solid var(--line); }
.detail-specs div:last-child { border-right: 0; }
.detail-specs strong { display: block; font-family: Georgia, serif; font-size: 19px; font-weight: 400; }
.detail-specs span { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .07em; }
.detail-section { padding: 28px 0; border-bottom: 1px solid var(--line); }
.detail-section h3 { margin: 0 0 14px; font-family: Georgia, serif; font-weight: 400; font-size: 23px; }
.detail-section > p { color: #56635f; font-size: 13px; line-height: 1.7; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; padding: 0; margin: 0; list-style: none; }
.feature-list li { padding-left: 19px; position: relative; font-size: 12px; }
.feature-list li::before { content: "◇"; position: absolute; left: 0; color: #729288; }
.registry-panel, .source-panel, .research-result, .outreach-result { padding: 17px; background: rgba(255,255,255,.48); border: 1px solid var(--line); border-radius: 12px; }
.panel-row { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.panel-row strong { font-size: 12px; }
.confidence { color: #80672e; font-size: 11px; white-space: nowrap; }
.registry-panel p, .source-panel p { margin: 8px 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.source-link { display: inline-flex; align-items: center; gap: 4px; color: var(--forest); font-size: 11px; font-weight: 750; }
.price-chart { width: 100%; height: 180px; overflow: visible; }
.price-chart .grid { stroke: rgba(23,36,33,.1); }
.price-chart .line { fill: none; stroke: var(--forest); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.price-chart .area { fill: url(#chart-gradient); opacity: .45; }
.price-chart circle { fill: var(--lime); stroke: var(--forest); stroke-width: 2; }
.chart-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 4px; font-size: 10px; color: var(--muted); }
.trend-up { color: #2f6c59; }
.trend-down { color: var(--danger); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-grid div { padding: 12px; background: rgba(255,255,255,.35); border-radius: 9px; }
.contact-grid span { display: block; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.contact-grid strong { font-size: 11px; overflow-wrap: anywhere; }
.outreach-result, .research-result { margin-top: 12px; }
.outreach-result label { display: block; margin-bottom: 10px; color: var(--muted); font-size: 10px; }
.outreach-result input, .outreach-result textarea { width: 100%; margin-top: 5px; padding: 9px; background: var(--white); border: 1px solid var(--line); border-radius: 7px; color: var(--ink); font-size: 12px; }
.outreach-result textarea { min-height: 148px; line-height: 1.5; resize: vertical; }
.copy-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.provider-note { color: var(--muted); font-size: 9px; }
.research-result > p { white-space: pre-wrap; color: #465550; line-height: 1.6; }
.research-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.research-meta span { padding: 4px 7px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .05em; }
.development-list { display: grid; gap: 8px; margin: 14px 0; }
.development-record { padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.45); }
.development-record h4 { margin: 9px 0 5px; font-family: Georgia, serif; font-size: 15px; font-weight: 400; }
.development-record p { margin: 0 0 8px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.research-impacts, .research-sources { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.research-impacts > strong, .research-sources > strong { display: block; margin-bottom: 10px; font-size: 11px; }
.research-sources div { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-top: 8px; }
.research-sources span { color: var(--muted); font-size: 9px; text-align: right; }
.research-warning { margin: 16px 0 8px; padding: 10px; border-radius: 8px; background: #efe5c8; color: #66501e; font-size: 10px; line-height: 1.45; }
.research-empty { padding: 12px; border-radius: 8px; background: rgba(255,255,255,.38); color: var(--muted); font-size: 11px; }
.comparable-analysis + .comparable-analysis { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.price-position { padding: 4px 8px; border-radius: 99px; font-size: 9px; text-transform: uppercase; letter-spacing: .05em; }
.price-position.below { background: #dbeade; color: #285c4c; }
.price-position.near { background: #ece7ce; color: #6b5825; }
.price-position.above { background: #eedbd6; color: #85483d; }
.comparison-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; }
.comparison-numbers div { padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.38); }
.comparison-numbers span, .comparison-numbers small { display: block; color: var(--muted); font-size: 9px; }
.comparison-numbers strong { display: block; margin: 4px 0; font-size: 14px; }
.comparable-list { display: grid; gap: 8px; }
.comparable-record { padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.36); }
.comparable-record .panel-row span { color: var(--muted); font-size: 9px; white-space: nowrap; }
.comparable-record p { margin: 5px 0; color: var(--muted); font-size: 10px; line-height: 1.4; }

.starred-list { display: grid; gap: 10px; }
.mini-card { display: grid; grid-template-columns: 92px 1fr auto; gap: 12px; align-items: center; padding: 9px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.38); }
.mini-card img { width: 92px; height: 78px; border-radius: 8px; object-fit: cover; }
.mini-card h3 { margin: 0 0 4px; font-family: Georgia, serif; font-weight: 400; font-size: 15px; }
.mini-card p { margin: 0; color: var(--muted); font-size: 10px; }
.mini-card button { border: 0; background: none; font-size: 20px; color: var(--muted); }
.drawer-empty { padding: 60px 10px; text-align: center; color: var(--muted); }
.drawer-empty strong { display: block; color: var(--ink); font-family: Georgia, serif; font-size: 24px; font-weight: 400; margin-bottom: 7px; }

.pulse-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 26px; }
.pulse-summary div { padding: 14px; background: var(--forest); color: #fff; border-radius: 11px; }
.pulse-summary strong { display: block; font-family: Georgia, serif; font-size: 23px; font-weight: 400; }
.pulse-summary span { color: rgba(255,255,255,.6); font-size: 9px; }
.diagnostic-warning { padding: 12px; margin-bottom: 20px; background: #efe5c8; color: #66501e; border-radius: 9px; font-size: 11px; line-height: 1.45; }
.source-list { display: grid; gap: 9px; }
.source-row { padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.35); }
.source-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.source-head strong { font-size: 11px; }
.source-status { padding: 4px 7px; border-radius: 99px; background: #e8dfc7; color: #6b5424; font-size: 8px; text-transform: uppercase; letter-spacing: .05em; font-weight: 800; }
.source-row p { margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.loading-block { padding: 60px 0; color: var(--muted); text-align: center; font-size: 12px; }
.toast { visibility: hidden; opacity: 0; position: fixed; z-index: 90; left: 50%; bottom: 24px; transform: translate(-50%, 12px); background: var(--forest-deep); color: #fff; border-radius: 9px; padding: 11px 15px; font-size: 11px; box-shadow: var(--shadow); transition: .2s ease; }
.toast.show { visibility: visible; opacity: 1; transform: translate(-50%, 0); }
.mobile-only { display: none; }

@media (max-width: 1120px) {
  .property-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero::before { inset-left: 40%; }
}

@media (max-width: 760px) {
  .site-header { height: 64px; padding: 0 18px; }
  #diagnostics-button { font-size: 0; }
  #diagnostics-button .status-dot { margin: 8px; }
  .hero { min-height: auto; padding: 58px 18px 36px; }
  .hero::before { inset: 0; opacity: .22; }
  .hero h1 { font-size: clamp(45px, 14vw, 66px); }
  .hero-copy > p { font-size: 14px; }
  .search-shell { grid-template-columns: 1fr 1fr; margin-top: 27px; }
  .search-location { grid-column: 1 / 3; border-right: 0; border-bottom: 1px solid var(--line); }
  .search-field { min-height: 64px; }
  .search-field:nth-child(3) { border-right: 0; }
  .search-submit { grid-column: 1 / 3; min-height: 48px; margin-top: 7px; }
  .hero-meta { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
  .hero-meta > p { grid-column: 1 / 4; margin: 3px 0 0; max-width: 100%; }
  .catalogue { padding: 52px 18px 74px; }
  .catalogue-heading { align-items: start; flex-direction: column; }
  .heading-actions { width: 100%; justify-content: space-between; }
  .catalogue-layout { grid-template-columns: 1fr; gap: 0; }
  .mobile-only { display: inline-flex; }
  .filters { display: none; position: fixed; z-index: 70; top: auto; left: 0; right: 0; bottom: 0; max-height: 84vh; overflow-y: auto; padding: 24px; background: var(--paper); border-radius: 20px 20px 0 0; box-shadow: 0 -20px 50px rgba(0,0,0,.2); }
  .filters.mobile-open { display: block; }
  .apply-button { width: 100%; justify-content: center; min-height: 44px; margin-top: 18px; background: var(--forest); color: white; border: 0; border-radius: 9px; font-weight: 750; }
  .property-grid { grid-template-columns: 1fr; gap: 16px; }
  .card-image { aspect-ratio: 1.5; }
  footer { align-items: start; flex-direction: column; }
  footer > p { text-align: left; }
  .side-drawer { padding: 28px 20px; }
  .detail-gallery { grid-template-rows: 130px 130px; }
  .detail-header { grid-template-columns: 1fr; }
  .detail-price { text-align: left; }
  .detail-price .price-entry { justify-content: start; }
  .detail-specs { grid-template-columns: repeat(2,1fr); }
  .detail-specs div:nth-child(2) { border-right: 0; }
  .detail-specs div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .feature-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .comparison-numbers { grid-template-columns: 1fr; }
}

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