:root {
    /* COLOUR PALETTE — change these first to experiment with the whole site. */
    --color-primary: #173e36;
    --color-primary-hover: #26584b;
    --color-accent: #ae5c40;
    --color-accent-soft: #f3e7df;
    --color-background: #ffffff;
    --color-surface: #f5f5ef;
    --color-surface-green: #edf2eb;
    --color-text: #233b33;
    --color-muted: #5e6b64;
    --color-border: #dfe4dc;
    --color-white: #ffffff;
    --color-warning: #825127;
    --color-warning-bg: #fff5e7;
    --color-danger: #a42e3b;
    --color-shadow: rgba(23, 62, 54, .08);
    --color-gallery-overlay: rgba(14, 28, 24, .82);
    --font-body: "Segoe UI", Arial, sans-serif;
    --font-heading: Georgia, "Times New Roman", serif;
    --radius: 12px;
    --bs-primary: var(--color-primary);
    --bs-body-color: var(--color-text);
    --bs-body-bg: var(--color-background);
    --bs-link-color: var(--color-primary);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 15px/1.6 var(--font-body); color: var(--color-text); background: var(--color-background); }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-hover); }
p a, .data-credit a { text-decoration: underline; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0 0 16px; }
h1, h2 { font-family: var(--font-heading); font-weight: 400; letter-spacing: -.04em; line-height: 1.12; }
h1 { font-size: clamp(36px, 4.6vw, 62px); }
h2 { font-size: 34px; }
h3 { font-size: 19px; font-weight: 600; line-height: 1.35; }
em { color: var(--color-primary-hover); font-weight: 400; }
small, .small { font-size: 12px; }
.container { width: 92%; max-width: 1264px; padding: 0; margin-inline: auto; }
.icon { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; vertical-align: middle; }
.muted { color: var(--color-muted); }
.text-danger { color: var(--color-danger) !important; }
.break-word { overflow-wrap: anywhere; }
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .17em; color: var(--color-primary-hover); margin-bottom: 20px; display: flex; gap: 12px; align-items: center; }
.little-line { display: inline-block; width: 28px; height: 1px; background: var(--color-accent); }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; font-weight: 600; font-size: 13px; border: 0; background: none; padding: 0; color: var(--color-primary); }
.text-link span { font-size: 21px; font-weight: 400; }
.button, .btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 20px; border: 1px solid transparent; border-radius: 6px; font-weight: 600; font-size: 13px; line-height: 1.4; text-decoration: none; min-height: 46px; transition: background .15s, border-color .15s; white-space: nowrap; }
.button-primary, .btn-primary { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-white); }
.button-primary:hover, .btn-primary:hover { background: var(--color-primary-hover); border-color: var(--color-primary-hover); color: var(--color-white); }
.button-outline { border-color: var(--color-border); color: var(--color-primary); background: var(--color-white); }
.button-outline:hover { border-color: var(--color-primary); background: var(--color-surface-green); }
label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 7px; }
input:not([type=checkbox]):not([type=radio]):not([type=hidden]), select, textarea { width: 100%; border: 1px solid var(--color-border); border-radius: 5px; background: var(--color-white); color: var(--color-text); padding: 11px 12px; min-height: 46px; }
input::placeholder, textarea::placeholder { color: #7b867e; opacity: 1; }
input[readonly] { background: var(--color-surface) !important; }
input[type=checkbox], input[type=radio] { accent-color: var(--color-primary); width: 16px; height: 16px; flex-shrink: 0; }
select { padding-right: 25px; }
.input-icon { position: relative; }
.input-icon .icon { position: absolute; left: 12px; top: 13px; color: var(--color-primary-hover); }
.input-icon input { padding-left: 41px !important; }
.check-label { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 400; margin: 0; }
.skip-link { position: fixed; top: -100px; z-index: 9999; background: var(--color-white); padding: 12px; }
.skip-link:focus { top: 0; }
.utility-bar { background: var(--color-primary); color: #f1f3ec; font-size: 11px; }
.utility-inner, .utility-note, .account-links { display: flex; align-items: center; gap: 12px; }
.utility-inner { min-height: 39px; justify-content: space-between; }
.utility-note .icon { width: 16px; height: 16px; }
.utility-country { margin-left: 20px; color: #c5d1c8; font-size: 10px; }
.account-links { gap: 20px; }
.account-links a, .account-links button { color: #f1f3ec; display: flex; align-items: center; gap: 7px; font-size: 11px; border: 0; background: transparent; padding: 0; }
.account-links .icon { width: 16px; height: 16px; }
.account-divider { height: 12px; width: 1px; background: #597269; }
.masthead { display: flex; align-items: center; justify-content: space-between; min-height: 121px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand strong { font-size: 25px; font-weight: 650; letter-spacing: -.055em; line-height: 1.2; display: block; }
.brand small { font-size: 8px; letter-spacing: .31em; color: var(--color-muted); display: block; margin-top: 6px; }
.header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 19px; }
.header-search { width: 300px; position: relative; }
.header-search input { font-size: 11px; padding: 7px 35px 7px 13px !important; min-height: 33px !important; background: var(--color-surface) !important; }
.header-search button { position: absolute; right: 8px; top: 5px; border: 0; background: none; color: var(--color-muted); }
.header-search .icon { width: 17px; height: 17px; }
.main-nav { display: flex; align-items: center; gap: 32px; font-size: 12px; font-weight: 500; }
.main-nav a { padding-bottom: 3px; border-bottom: 1px solid transparent; }
.main-nav a:hover, .main-nav a.active { border-color: var(--color-accent); }
.nav-saved { display: flex; align-items: center; gap: 7px; }
.nav-saved .icon { width: 16px; height: 16px; }
.announcement { text-align: center; padding: 10px 20px; font-size: 13px; background: var(--color-accent-soft); }
.hero { background: var(--color-surface); padding-top: 24px; padding-bottom: 1px; }
.hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 45px; align-items: center; }
.hero-copy { padding: 25px 0 62px; }
.hero-copy h1 { font-size: clamp(42px, 4.6vw, 67px); line-height: 1.08; margin-bottom: 23px; }
.hero-copy p { max-width: 402px; color: var(--color-muted); font-size: 15px; line-height: 1.85; margin-bottom: 27px; }
.hero-copy .eyebrow { margin-bottom: 28px; }
.hero-photo { height: 424px; position: relative; border-radius: 80px 8px 8px 8px; overflow: hidden; }
.hero-photo > img { height: 100%; width: 100%; object-fit: cover; }
.hero-photo:after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(8,33,26,.65)); pointer-events: none; }
.photo-caption { position: absolute; bottom: 60px; left: 30px; z-index: 1; color: white; display: flex; gap: 12px; align-items: center; font-size: 15px; }
.photo-caption small { display: block; color: #e0e7dc; font-size: 11px; margin-top: 4px; }
.caption-pin { width: 40px; height: 40px; border: 1px solid #c7d1bf80; display: grid; place-items: center; border-radius: 50%; }
.photo-index { position: absolute; bottom: 20px; left: 32px; z-index: 1; color: #d8e4d7; font-size: 8px; letter-spacing: .17em; }
.hero-search-wrap { position: relative; z-index: 2; margin-top: -20px; margin-bottom: -61px; }
.home-search { padding: 23px 28px 0; border: 1px solid var(--color-border); border-radius: 10px; background: white; box-shadow: 0 12px 24px var(--color-shadow); display: grid; grid-template-columns: 2fr 1fr 1.25fr 1fr; column-gap: 22px; align-items: end; }
.home-search label { font-size: 11px; }
.home-search input, .home-search select { border: 0 !important; padding-left: 0; font-size: 13px; }
.home-search .home-location { border-right: 1px solid var(--color-border); }
.home-search .input-icon .icon { left: 0; }
.home-search .input-icon input { padding-left: 29px !important; }
.home-search-bottom { grid-column: 1/-1; border-top: 1px solid #eef0e9; margin-top: 15px; min-height: 48px; display: flex; align-items: center; gap: 24px; }
.location-button { border: 0; background: none; display: inline-flex; gap: 7px; align-items: center; padding: 5px 0; font-size: 11px; font-weight: 600; color: var(--color-primary); }
.location-button .icon { width: 15px; height: 15px; }
.location-status { font-size: 11px; color: var(--color-muted); }
.reassurance-row { display: flex; justify-content: space-around; padding: 104px 0 38px; border-bottom: 1px solid var(--color-border); }
.reassurance-row > div { display: flex; align-items: center; gap: 16px; }
.reassurance-row .icon { width: 28px; height: 28px; color: var(--color-primary-hover); }
.reassurance-row strong { display: block; font-size: 12px; font-weight: 600; }
.reassurance-row small { color: var(--color-muted); font-size: 11px; display: block; margin-top: 3px; }
.section-space { padding-block: 61px 76px; }
.section-bottom { padding-bottom: 70px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading p { color: var(--color-muted); margin: 8px 0 0; }
.demo-note { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; font-size: 11px; color: var(--color-muted); padding: 10px 0 20px; }
.demo-note a { margin-left: auto; text-decoration: underline; }
.status-dot { display: inline-block; height: 5px; width: 5px; background: var(--color-primary-hover); border-radius: 50%; margin-right: 5px; vertical-align: middle; }
.property-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.property-card { border: 1px solid var(--color-border); border-radius: 9px; overflow: hidden; background: white; min-width: 0; transition: box-shadow .2s; }
.property-card:hover { box-shadow: 0 10px 24px var(--color-shadow); }
.property-image { height: 229px; position: relative; background: var(--color-surface-green); }
.property-image > a:first-child { display: block; width: 100%; height: 100%; }
.property-image img { width: 100%; height: 100%; object-fit: cover; }
.property-badges { position: absolute; top: 15px; left: 15px; display: flex; gap: 5px; max-width: 75%; flex-wrap: wrap; }
.badge-light { display: inline-block; padding: 4px 7px; background: #fffffff0; font-size: 8px; font-weight: 600; letter-spacing: .08em; border-radius: 3px; }
.save-button { position: absolute; right: 13px; top: 13px; border: 0; width: 34px; height: 34px; border-radius: 50%; background: white; color: var(--color-primary); display: grid; place-items: center; }
.save-button .icon { width: 17px; height: 17px; }
.save-button.is-saved .icon { fill: var(--color-accent); color: var(--color-accent); }
.distance-badge { position: absolute; left: 13px; bottom: 13px; display: flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 4px; background: #fffffff0; font-size: 10px; }
.distance-badge .icon { width: 13px; height: 13px; }
.property-content { padding: 21px 20px 0; }
.property-price-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.property-price { font-size: 22px; font-weight: 650; letter-spacing: -.04em; }
.property-type { font-size: 10px; color: var(--color-muted); }
.property-card h3 { font-size: 15px; margin-bottom: 4px; letter-spacing: -.02em; }
.property-address { color: var(--color-muted); font-size: 12px; margin-bottom: 17px; }
.property-facts { display: flex; gap: 15px; font-size: 11px; padding-bottom: 20px; color: var(--color-muted); }
.property-facts span { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.property-facts .icon { width: 16px; height: 16px; }
.property-source { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--color-border); padding: 13px 0; font-size: 10px; }
.property-source > span { color: var(--color-muted); }
.property-source a { font-weight: 600; }
.property-source a span { margin-left: 7px; font-size: 14px; }
.explore-band { background: var(--color-surface-green); padding: 62px 0; }
.explore-inner { text-align: center; }
.explore-inner .eyebrow { justify-content: center; margin-bottom: 17px; }
.explore-inner h2 { font-size: 39px; }
.explore-inner p { color: var(--color-muted); font-size: 13px; }
.area-links { display: flex; justify-content: center; gap: 15px; margin-top: 29px; }
.area-links a { background: white; border: 1px solid var(--color-border); padding: 15px 22px; border-radius: 6px; min-width: 210px; font-size: 12px; display: flex; gap: 30px; justify-content: space-between; }
.site-footer { background: #f9faf6; border-top: 1px solid var(--color-border); }
.footer-main { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.1fr; gap: 35px; padding-block: 47px 38px; }
.footer-brand { margin-bottom: 18px; gap: 9px; }
.footer-brand strong { font-size: 19px; }
.footer-main p { color: var(--color-muted); font-size: 12px; }
.footer-main > div > strong { display: block; font-size: 12px; margin: 9px 0 15px; }
.footer-main > div > a:not(.brand) { display: block; color: var(--color-muted); font-size: 11px; margin-bottom: 9px; }
.footer-note { border-left: 1px solid var(--color-border); padding-left: 27px; }
.footer-note > .icon { width: 30px; height: 30px; margin-bottom: 17px; color: var(--color-primary-hover); }
.footer-bottom { display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid var(--color-border); padding-block: 16px; font-size: 9px; color: var(--color-muted); }
.page-intro { padding: 40px 0 25px; }
.page-intro h1 { font-size: 43px; margin-bottom: 12px; }
.page-intro .eyebrow { margin-bottom: 13px; }
.page-intro p { color: var(--color-muted); font-size: 13px; }
.filter-panel { border: 1px solid var(--color-border); padding: 20px; border-radius: 9px; background: var(--color-surface); }
.filter-main { display: grid; grid-template-columns: 2fr .8fr 1fr 1fr 1.05fr auto; gap: 12px; align-items: end; }
.filter-panel input, .filter-panel select { font-size: 12px; }
.filter-panel label { font-size: 10px; }
.filter-secondary { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 13px; }
.advanced-filters { display: contents; }
.advanced-filters summary { font-size: 11px; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.advanced-filters summary .icon { width: 15px; height: 15px; }
.advanced-fields { order: 5; width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding-top: 15px; border-top: 1px solid var(--color-border); }
.advanced-fields > div { width: 160px; }
.advanced-fields .check-label { font-size: 12px; }
.sort-control { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.sort-control label { white-space: nowrap; margin: 0; }
.sort-control select { padding: 5px 10px; min-height: 32px; width: 148px; }
.results-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 30px; }
.results-heading h2 { font-family: var(--font-body); font-size: 21px; font-weight: 650; margin-bottom: 6px; }
.results-heading h2 span { font-size: 14px; font-weight: 400; color: var(--color-muted); letter-spacing: 0; }
.results-heading p { font-size: 11px; color: var(--color-muted); margin-bottom: 8px; }
.result-actions { display: flex; align-items: center; gap: 8px; }
.result-actions .button { padding: 9px 12px; font-size: 11px; min-height: 39px; }
.result-actions .icon { width: 16px; height: 16px; }
.results-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; padding-top: 10px; }
.results-list .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.results-list .property-image { height: 195px; }
.results-list .property-content { padding: 16px 15px 0; }
.results-list .property-facts { gap: 9px; font-size: 10px; }
.results-list .property-price { font-size: 21px; }
.map-panel { border: 1px solid var(--color-border); border-radius: 8px; overflow: hidden; position: sticky; top: 15px; background: white; }
.map-topline { padding: 13px 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 10px; }
.map-topline .text-link { font-size: 10px; }
.property-map { height: 610px; background: var(--color-surface-green); }
.map-footnote { font-size: 10px; padding: 11px 14px; color: var(--color-muted); margin: 0; }
.price-marker { background: transparent; border: 0; }
.price-marker span { background: white; border: 1px solid var(--color-primary); color: var(--color-primary); display: inline-block; padding: 4px 8px; border-radius: 16px; font: 600 11px var(--font-body); box-shadow: 0 2px 7px #173e3622; white-space: nowrap; }
.price-marker:hover span { background: var(--color-primary); color: white; }
.map-popup strong, .map-popup a { display: block; margin: 5px 0; }
.results-layout.map-hidden { grid-template-columns: 1fr; }
.results-layout.map-hidden .map-panel { display: none; }
.results-layout.map-hidden .property-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.pagination-bar { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 25px 0; font-size: 12px; }
.data-credit { font-size: 10px; color: var(--color-muted); padding: 26px 0 50px; }
.notice { display: flex; gap: 12px; align-items: center; padding: 14px 18px; background: var(--color-surface-green); border: 1px solid var(--color-border); border-radius: 6px; margin: 15px 0; font-size: 13px; }
.notice button[data-dismiss-notice] { margin-left: auto; border: 0; background: transparent; font-size: 22px; }
.notice-warning { background: var(--color-warning-bg); color: var(--color-warning); border-color: #eddbc2; }
.empty-state { padding: 50px 25px; background: var(--color-surface); border: 1px dashed var(--color-border); border-radius: 9px; text-align: center; }
.empty-state > .icon { width: 38px; height: 38px; margin-bottom: 22px; }
.empty-state p { max-width: 470px; margin: 15px auto 23px; color: var(--color-muted); font-size: 13px; }
.location-choices { padding: 30px 0; }
.location-choices a { display: flex; gap: 14px; border-bottom: 1px solid var(--color-border); padding: 16px; }
.location-choices a span { margin-left: auto; }
.location-choices small { display: block; padding: 20px 0; }
.content-page { padding: 50px 0 80px; }
.content-page > h1 { max-width: 820px; margin-bottom: 30px; }
.lead-copy { font-size: 18px; max-width: 740px; color: var(--color-muted); }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 36px; margin: 50px 0; }
.step-number { display: block; font-family: var(--font-heading); color: var(--color-accent); margin-bottom: 20px; font-size: 29px; }
.steps-grid h2 { font-size: 27px; }
.steps-grid p, .prose-panel p { color: var(--color-muted); font-size: 14px; }
.prose-panel { background: var(--color-surface); padding: 35px; border-radius: 10px; margin: 35px 0; }
.coverage-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-top: 30px; }
.prose { max-width: 840px; }
.prose h2 { font-size: 28px; margin-top: 35px; }
.prose p { color: var(--color-muted); }
.breadcrumbs { display: flex; gap: 12px; padding: 27px 0; font-size: 11px; color: var(--color-muted); }
.detail-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.detail-heading h1 { font-size: 43px; margin-bottom: 13px; }
.detail-heading p { color: var(--color-muted); font-size: 13px; }
.detail-heading .eyebrow { margin-bottom: 13px; }
.detail-gallery { display: flex; gap: 12px; overflow: auto; border-radius: 12px; margin: 8px 0 35px; }
.detail-gallery img { height: 430px; min-width: min(100%,600px); object-fit: cover; flex: 1; }
.detail-gallery img:only-child { width: 100%; }
.detail-grid { display: grid; grid-template-columns: 1.75fr 1fr; gap: 50px; padding-bottom: 60px; align-items: start; }
.detail-facts { display: flex; gap: 30px; flex-wrap: wrap; border-bottom: 1px solid var(--color-border); padding-bottom: 24px; font-size: 13px; }
.detail-facts span { display: flex; align-items: center; gap: 8px; }
.detail-section { padding: 30px 0 0; }
.detail-section h2 { font-size: 30px; }
.property-description { white-space: pre-line; color: var(--color-muted); font-size: 14px; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.feature-tags span { background: var(--color-surface-green); padding: 7px 12px; border-radius: 5px; font-size: 11px; }
.detail-map { height: 310px; border-radius: 9px; }
.detail-section .muted { font-size: 11px; margin-top: 9px; }
.seller-panel { background: var(--color-surface); border: 1px solid var(--color-border); padding: 28px; border-radius: 10px; position: sticky; top: 20px; }
.seller-panel > p { font-size: 12px; color: var(--color-muted); }
.detail-price { font-size: 34px; font-weight: 650; letter-spacing: -.045em; }
.seller-offer { border-top: 1px solid var(--color-border); padding: 22px 0; }
.seller-offer-title { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.seller-offer small, .seller-offer p { color: var(--color-muted); font-size: 11px; }
.seller-offer p { margin: 8px 0 16px; }
.seller-offer .button { width: 100%; justify-content: space-between; }
.seller-note { margin: 0; line-height: 1.7; }
.price-history { margin-top: 15px; font-size: 11px; }
.price-history div { display: flex; justify-content: space-between; padding: 6px 0; }
.report-panel { padding: 25px 0; margin-top: 30px; border-top: 1px solid var(--color-border); font-size: 12px; }
.report-panel form { padding-top: 20px; }
.report-panel label { margin-top: 13px; }
.report-panel button { margin-top: 15px; }
.honeypot { position: absolute; left: -9999px; }
.count-pill { display: inline-block; font-family: var(--font-body); font-size: 12px; background: var(--color-surface-green); padding: 6px 10px; vertical-align: middle; border-radius: 20px; letter-spacing: 0; }
.saved-search-heading { margin-top: 60px; }
.saved-search-list > div { display: flex; align-items: center; gap: 18px; padding: 20px; border-bottom: 1px solid var(--color-border); }
.saved-search-list > div > a:first-of-type { flex: 1; }
.saved-search-list small { display: block; color: var(--color-muted); }
.icon-button { border: 0; background: transparent; padding: 10px; color: var(--color-muted); }
.identity-main { padding: 45px 0 80px; min-height: 550px; }
.auth-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 90px; align-items: center; max-width: 1050px; margin: 0 auto; }
.auth-story h1 { font-size: 42px; }
.auth-story p { color: var(--color-muted); font-size: 14px; }
.auth-story img { height: 270px; width: 100%; object-fit: cover; border-radius: 55px 7px 7px 7px; margin-top: 25px; }
.auth-form h2 { font-size: 36px; margin-bottom: 12px; }
.auth-form > p { color: var(--color-muted); font-size: 13px; }
.auth-form label { margin-top: 17px; }
.auth-form small { color: var(--color-muted); display: block; margin-top: 5px; }
.auth-form .button { width: 100%; justify-content: space-between; margin-top: 20px; }
.auth-options { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; font-size: 11px; }
.auth-options label { margin: 0; }
.auth-switch { border-top: 1px solid var(--color-border); margin-top: 25px; padding-top: 20px; }
.auth-form form > .small { margin-top: 17px; }
.nav-pills .nav-link.active { background: var(--color-primary); }
.identity-main .form-floating { margin-top: 15px; }
.identity-main .form-floating input { height: 58px; padding-top: 23px; }
.identity-main .form-floating label { padding-top: 16px; }
.identity-main .btn { margin-block: 10px; }
.admin-shell { display: grid; grid-template-columns: 200px minmax(0,1fr); gap: 35px; padding: 35px 0 70px; }
.admin-sidebar { border-right: 1px solid var(--color-border); padding-right: 20px; }
.admin-sidebar h2 { font-family: var(--font-body); font-size: 18px; font-weight: 650; letter-spacing: -.04em; margin-bottom: 25px; }
.admin-sidebar .eyebrow { font-size: 8px; margin-bottom: 12px; }
.admin-sidebar nav { display: flex; flex-direction: column; gap: 6px; }
.admin-sidebar nav a { display: flex; align-items: center; gap: 9px; padding: 11px 10px; font-size: 11px; border-radius: 5px; }
.admin-sidebar nav a.active, .admin-sidebar nav a:hover { background: var(--color-surface-green); }
.admin-sidebar .icon { width: 17px; height: 17px; }
.sidebar-note { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--color-border); font-size: 10px; }
.sidebar-note p { color: var(--color-muted); margin-top: 10px; line-height: 1.8; }
.admin-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.admin-heading h1 { font-size: 38px; margin-bottom: 10px; }
.admin-heading p { font-size: 12px; color: var(--color-muted); margin: 0; }
.admin-heading .eyebrow { margin-bottom: 12px; font-size: 9px; }
.admin-heading .text-link { margin-bottom: 20px; }
.metric-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 23px; }
.metric-grid > div { border: 1px solid var(--color-border); border-radius: 7px; padding: 20px 16px; background: var(--color-surface); }
.metric-grid span { font-size: 11px; color: var(--color-muted); }
.metric-grid strong { font-size: 32px; display: block; font-weight: 600; line-height: 1.5; }
.metric-grid small { display: block; font-size: 9px; color: var(--color-muted); }
.panel { border: 1px solid var(--color-border); border-radius: 8px; padding: 23px; margin-bottom: 22px; background: white; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.panel h2 { font-family: var(--font-body); font-size: 17px; font-weight: 600; letter-spacing: -.025em; margin-bottom: 5px; }
.panel p { font-size: 12px; }
.panel-heading a, .panel-heading > span { font-size: 10px; }
.panel-heading p { margin: 5px 0 0; color: var(--color-muted); }
.bar-chart { display: flex; gap: 6px; height: 145px; align-items: end; border-bottom: 1px solid var(--color-border); margin-top: 30px; }
.bar-column { display: flex; flex: 1; align-items: flex-end; height: 100%; }
.bar-column span { display: block; width: 100%; background: var(--color-primary-hover); border-radius: 3px 3px 0 0; min-height: 1px; }
.chart-labels { display: flex; justify-content: space-between; padding: 9px 0; font-size: 9px; color: var(--color-muted); }
.admin-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.data-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 12px 0; border-bottom: 1px solid var(--color-border); font-size: 11px; }
.data-row:last-child { border: 0; }
.data-row small { display: block; color: var(--color-muted); font-size: 10px; margin-top: 4px; }
.pill { font-size: 9px; background: var(--color-surface-green); color: var(--color-primary); display: inline-block; border-radius: 20px; padding: 4px 9px; white-space: nowrap; }
.pill-warning { background: var(--color-warning-bg); color: var(--color-warning); }
.table-wrap { overflow-x: auto; border: 1px solid var(--color-border); border-radius: 7px; }
table { width: 100%; border-collapse: collapse; font-size: 11px; }
th { text-align: left; font-size: 9px; letter-spacing: .04em; color: var(--color-muted); background: var(--color-surface); font-weight: 600; }
td, th { padding: 15px 14px; border-bottom: 1px solid var(--color-border); }
td small { display: block; color: var(--color-muted); font-size: 9px; margin-top: 4px; }
tr:last-child td { border-bottom: 0; }
.table-actions { display: flex; align-items: center; gap: 13px; }
.table-actions button { border: 0; background: transparent; font-size: 10px; color: var(--color-primary); padding: 4px 0; white-space: nowrap; }
.empty-table { padding: 25px; color: var(--color-muted); margin: 0; font-size: 12px; }
.admin-filter { display: flex; gap: 12px; margin-bottom: 20px; }
.admin-filter input { flex: 1; font-size: 12px; }
.admin-filter select { width: 175px; font-size: 12px; }
.admin-form label { margin-top: 4px; font-size: 11px; }
.admin-form input, .admin-form select, .admin-form textarea { font-size: 12px; }
.admin-form small { color: var(--color-muted); display: block; margin-top: 6px; font-size: 10px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1/-1; }
.checkbox-row { display: flex; flex-wrap: wrap; gap: 25px; margin: 25px 0; }
.checkbox-stack { display: flex; flex-direction: column; gap: 15px; margin: 27px 0; }
.form-actions { display: flex; align-items: center; gap: 12px; margin-top: 25px; }
.source-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; font-size: 10px; color: var(--color-muted); }
.import-form { display: flex; gap: 20px; align-items: end; padding-top: 20px; margin-top: 20px; border-top: 1px solid var(--color-border); }
.import-form > div { flex: 1; }
.import-form input { font-size: 11px !important; }
.report-resolution { margin-top: 25px; display: grid; gap: 12px; }
.report-resolution .button { justify-self: start; }
.validation-summary-valid { display: none; }
@media (max-width: 1100px) {
    .hero-grid { gap: 25px; } .hero-photo { height: 400px; } .hero-copy h1 { font-size: 52px; }
    .filter-main { grid-template-columns: 2fr 1fr 1fr; } .filter-main .button { grid-column: auto; }
    .results-layout { grid-template-columns: 1.2fr 1fr; gap: 17px; } .results-list .property-grid { grid-template-columns: 1fr; }
    .results-list .property-image { height: 245px; } .results-list .property-facts { gap: 20px; }
    .admin-shell { grid-template-columns: 170px minmax(0,1fr); gap: 22px; } .metric-grid { grid-template-columns: repeat(2,1fr); }
    .admin-sidebar nav a { font-size: 10px; padding-inline: 7px; }
}
@media (max-width: 800px) {
    .utility-country { display: none; } .utility-note { font-size: 10px; } .account-links { gap: 12px; }
    .masthead { min-height: 100px; } .brand strong { font-size: 22px; } .brand img { width: 40px; height: 40px; }
    .header-search { display: none; } .main-nav { gap: 15px; font-size: 11px; } .nav-saved { display: none; }
    .hero-copy h1 { font-size: 44px; } .hero-photo { height: 360px; border-top-left-radius: 55px; }
    .hero-copy p { font-size: 13px; } .hero-copy .eyebrow { font-size: 8px; } .photo-caption { left: 17px; font-size: 12px; }
    .photo-caption small { font-size: 9px; } .home-search { column-gap: 15px; padding: 20px 20px 0; grid-template-columns: 1.5fr 1fr; row-gap: 14px; }
    .home-search .home-location { border: 0; } .home-search-bottom { margin-top: 0; } .reassurance-row { gap: 20px; }
    .reassurance-row > div { gap: 10px; } .reassurance-row strong { font-size: 11px; } .reassurance-row small { font-size: 9px; }
    .property-grid { gap: 15px; } .property-image { height: 175px; } .property-content { padding: 16px 13px 0; }
    .property-facts { gap: 8px; flex-wrap: wrap; } .property-facts span { font-size: 9px; } .property-price { font-size: 20px; }
    .property-price-row { flex-wrap: wrap; gap: 0; } .property-card h3 { font-size: 13px; }
    .area-links a { min-width: 0; flex: 1; } .footer-main { grid-template-columns: 1.3fr 1fr 1fr; } .footer-note { display: none; }
    .auth-layout { gap: 35px; } .auth-story h1 { font-size: 33px; } .auth-story img { height: 250px; }
    .detail-grid { gap: 25px; grid-template-columns: 1.4fr 1fr; } .seller-panel { padding: 20px; } .detail-price { font-size: 29px; }
    .detail-heading h1 { font-size: 36px; } .detail-facts { gap: 15px; font-size: 11px; }
    .steps-grid { gap: 25px; } .steps-grid h2 { font-size: 24px; }
    .admin-shell { display: block; } .admin-sidebar { border: 0; padding: 0 0 20px; }
    .admin-sidebar nav { flex-direction: row; flex-wrap: wrap; gap: 3px; } .admin-sidebar h2, .admin-sidebar .eyebrow, .sidebar-note { display: none; }
    .admin-sidebar nav a { padding: 8px; } .admin-heading h1 { font-size: 35px; }
}
@media (max-width: 600px) {
    .container { width: 91%; } .utility-note > span { display: none; } .utility-inner { min-height: 37px; }
    .account-links a, .account-links button { font-size: 10px; } .masthead { flex-direction: column; align-items: stretch; gap: 18px; padding-block: 21px 15px; }
    .brand { align-self: flex-start; } .header-right { align-items: stretch; } .main-nav { justify-content: space-between; gap: 12px; }
    .nav-saved { display: flex; font-size: 10px; } .nav-saved .icon { width: 14px; }
    .hero { padding-top: 8px; } .hero-grid { grid-template-columns: 1fr; gap: 5px; }
    .hero-copy { padding: 25px 0 16px; } .hero-copy h1 { font-size: 47px; } .hero-copy p { max-width: 360px; margin-bottom: 14px; }
    .hero-copy .eyebrow { margin-bottom: 20px; } .hero-photo { height: 250px; border-top-left-radius: 45px; }
    .photo-caption { bottom: 52px; } .hero-search-wrap { margin-top: 20px; margin-bottom: -67px; }
    .home-search { padding: 17px 17px 0; gap: 10px; grid-template-columns: 1fr 1fr; }
    .home-location { grid-column: 1/-1; border-bottom: 1px solid var(--color-border) !important; }
    .home-search .button { grid-column: 1/-1; } .home-search input, .home-search select { min-height: 40px !important; }
    .home-search-bottom { flex-direction: column; align-items: flex-start; padding: 8px 0 13px; gap: 0; }
    .reassurance-row { padding-top: 101px; flex-wrap: wrap; justify-content: flex-start; padding-bottom: 26px; gap: 20px; }
    .reassurance-row > div { width: calc(50% - 10px); } .reassurance-row > div:last-child { width: 100%; }
    .reassurance-row .icon { width: 24px; height: 24px; }
    .section-space { padding-block: 38px 45px; } .section-heading { flex-direction: column; align-items: flex-start; gap: 16px; }
    h2 { font-size: 31px; } .section-heading .eyebrow { font-size: 9px; }
    .property-grid, .results-layout.map-hidden .property-grid { grid-template-columns: 1fr; gap: 23px; }
    .property-image, .results-list .property-image { height: 240px; } .property-content { padding: 20px 19px 0; }
    .property-price { font-size: 24px; } .property-card h3 { font-size: 16px; } .property-price-row { flex-wrap: nowrap; }
    .property-facts { gap: 20px; } .property-facts span { font-size: 11px; } .property-source { font-size: 11px; padding: 15px 0; }
    .demo-note { font-size: 10px; padding-bottom: 18px; } .demo-note a { margin-left: 0; }
    .explore-band { padding-block: 40px; } .explore-inner h2 { font-size: 32px; } .area-links { flex-direction: column; gap: 10px; }
    .area-links a { padding: 15px 20px; text-align: left; }
    .footer-main { grid-template-columns: 1fr 1fr; padding-top: 33px; gap: 20px; } .footer-main > div:first-child { grid-column: 1/-1; }
    .footer-main > div:first-child p br { display: none; } .footer-bottom { flex-direction: column; gap: 5px; }
    .page-intro { padding-top: 30px; } .page-intro h1 { font-size: 35px; }
    .filter-panel { padding: 16px; } .filter-main { grid-template-columns: 1fr 1fr; }
    .filter-location { grid-column: 1/-1; } .filter-main .button { grid-column: 1/-1; }
    .filter-secondary { gap: 13px; } .sort-control { margin-left: 0; } .sort-control select { width: 155px; }
    .advanced-fields { gap: 14px; } .advanced-fields > div { width: calc(50% - 7px); }
    .results-heading { align-items: flex-start; flex-direction: column; gap: 15px; padding-top: 25px; }
    .result-actions { margin-bottom: 10px; } .results-layout { display: flex; flex-direction: column; }
    .results-list { width: 100%; order: 2; } .map-panel { width: 100%; order: 1; position: static; margin-bottom: 8px; }
    .property-map { height: 310px; } .results-layout.map-hidden .map-panel { display: none; }
    .steps-grid, .coverage-grid { grid-template-columns: 1fr; gap: 20px; } .steps-grid { margin: 30px 0; }
    .prose-panel { padding: 25px; } .content-page { padding-top: 35px; }
    .detail-heading { align-items: flex-start; flex-direction: column; gap: 10px; } .detail-heading h1 { font-size: 35px; }
    .detail-heading form { margin-bottom: 15px; } .detail-gallery img { height: 280px; }
    .detail-grid { display: flex; flex-direction: column; gap: 30px; } .detail-grid > div { order: 2; width: 100%; }
    .seller-panel { position: static; order: 1; width: 100%; } .detail-facts { gap: 14px; }
    .saved-search-list > div { flex-wrap: wrap; padding: 18px 0; gap: 10px; } .saved-search-list > div > a:first-of-type { min-width: 70%; }
    .auth-layout { grid-template-columns: 1fr; gap: 25px; } .auth-story { display: none; } .identity-main { padding-top: 30px; }
    .auth-form h2 { font-size: 36px; } .admin-heading { align-items: flex-start; flex-direction: column; }
    .admin-shell { padding-top: 20px; } .admin-sidebar nav a { font-size: 10px; } .admin-sidebar .icon { width: 15px; height: 15px; }
    .admin-heading h1 { font-size: 35px; } .admin-heading .button { font-size: 11px; }
    .metric-grid { gap: 10px; } .metric-grid > div { padding: 14px; } .metric-grid strong { font-size: 28px; }
    .admin-two-col, .form-grid { grid-template-columns: 1fr; } .panel { padding: 18px; } .bar-chart { gap: 3px; }
    .admin-filter { flex-wrap: wrap; } .admin-filter input { flex-basis: 100%; } .admin-filter select { flex: 1; }
    .form-grid .full { grid-column: auto; } .import-form { flex-direction: column; align-items: stretch; } .checkbox-row { gap: 17px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Compact presentation for factual listings whose photos remain with their publisher. */
.facts-card .property-image, .results-list .facts-card .property-image { height: 112px; }
.facts-card .property-image > a.facts-cover { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--color-primary); font-size: 12px; padding: 16px 45px 20px 18px; }
.facts-cover .icon { width: 31px; height: 31px; flex-shrink: 0; }

/* Source-hosted listing thumbnails. */
.property-image .photo-credit { position: absolute; right: 9px; bottom: 9px; max-width: calc(100% - 110px); padding: 2px 7px; border-radius: 4px; background: var(--color-primary); color: var(--color-white); font-size: 10px; line-height: 1.7; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.property-image .photo-credit:hover { background: var(--color-primary-hover); text-decoration: underline; }
.photo-credit[hidden] { display: none; }
.listing-preview { max-width: 600px; margin: 8px 0 26px; }
.listing-preview img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); background: var(--color-surface-green); }
.listing-preview figcaption { padding-top: 9px; font-size: 12px; color: var(--color-muted); }

/* Area exploration, shortlist and operator tools. Palette stays at the top. */
[hidden] { display: none !important; }
.property-card.map-selected { outline: 3px solid var(--color-accent); outline-offset: 3px; }
.listing-change { font-size: 12px; font-weight: 600; color: var(--color-primary); margin: 7px 0; }
.listing-checked { font-size: 11px; color: var(--color-muted); margin: 10px 0; }
.card-tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--color-border); }
.card-tools button { min-height: 32px; font-size: 12px; }
.card-tools [aria-pressed=true] { color: var(--color-accent); }
.cluster-marker span { background: var(--color-primary); color: var(--color-white); border: 2px solid var(--color-white); }
.map-popup img { width: 240px; height: 150px; object-fit: cover; border-radius: 5px; }
.map-popup small { display: block; color: var(--color-muted); }
.map-popup button { min-height: 40px; margin-top: 5px; }
.map-topline button { min-height: 40px; text-align: right; }
.map-footnote + .map-footnote { padding-top: 0; }
.comparison-bar { position: fixed; z-index: 1100; bottom: 16px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 24px); background: var(--color-white); border: 1px solid var(--color-border); border-radius: 10px; box-shadow: 0 4px 30px var(--color-shadow); padding: 12px 16px; display: flex; align-items: center; gap: 16px; }
.comparison-bar > span { max-width: 280px; font-size: 13px; }
.has-comparison { padding-bottom: 100px; }
.comparison-scroll { overflow-x: auto; border: 1px solid var(--color-border); border-radius: 10px; }
.comparison-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.comparison-table th, .comparison-table td { min-width: 225px; max-width: 320px; padding: 18px; vertical-align: top; text-align: left; border-bottom: 1px solid var(--color-border); border-right: 1px solid var(--color-border); }
.comparison-table th:first-child { min-width: 150px; background: var(--color-surface); }
.comparison-table thead img { width: 100%; height: 170px; object-fit: cover; margin-bottom: 14px; border-radius: 6px; }
.comparison-table small { display: block; color: var(--color-muted); font-weight: 400; margin: 6px 0; }
.comparison-table button { display: block; margin-top: 12px; min-height: 40px; }
.saved-home { min-width: 0; }
.private-note { margin-top: 10px; border: 1px solid var(--color-border); background: var(--color-surface); padding: 12px 14px; border-radius: 6px; }
.private-note summary { cursor: pointer; font-size: 13px; font-weight: 600; }
.private-note form { margin-top: 15px; }
.private-note button { margin-top: 10px; }
.saved-search-description { flex: 1; min-width: 180px; }
.saved-search-description p { margin: 7px 0; font-size: 12px; }
.alert-history { margin-top: 25px; }
.alert-history summary { cursor: pointer; padding: 12px 0; }
.quality-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 25px 0; }
.quality-metrics > div { border: 1px solid var(--color-border); border-radius: 8px; padding: 18px; background: var(--color-white); }
.quality-metrics strong { display: block; font-size: 27px; font-weight: 500; }
.quality-metrics span { font-size: 12px; color: var(--color-muted); }
.quality-table small { display: block; font-size: 11px; margin: 4px 0; }
.quality-table { min-width: 800px; }
.quality-table td { max-width: 240px; overflow-wrap: anywhere; }
.quality-table form { margin: 10px 0; }
.quality-table .button { padding: 8px 12px; min-height: 38px; }
.duplicate-pair { border: 1px solid var(--color-border); border-radius: 10px; padding: 22px; margin-bottom: 24px; }
.duplicate-homes { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.duplicate-homes > div { min-width: 0; background: var(--color-surface); padding: 16px; border-radius: 6px; }
.duplicate-homes h2 { font: 600 18px/1.4 var(--font-body); letter-spacing: 0; }
.duplicate-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: end; }
.duplicate-actions > label { flex-basis: 100%; }
@media (max-width: 900px) { .quality-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } .saved-search-list > div { flex-wrap: wrap; } }
@media (max-width: 600px) {
    .results-layout.map-only .results-list { display: none; }
    .results-layout.map-only .property-map { height: min(66dvh, 580px); min-height: 330px; }
    .map-topline { flex-wrap: wrap; gap: 5px; }
    .comparison-bar { bottom: 10px; width: calc(100% - 24px); gap: 8px; flex-wrap: wrap; padding: 10px; }
    .comparison-bar > span { flex-basis: 100%; max-width: none; }
    .comparison-bar a { flex: 1; }
    .has-comparison { padding-bottom: 125px; }
    .duplicate-homes { grid-template-columns: 1fr; }
    .duplicate-pair { padding: 14px; }
    .saved-search-description { flex-basis: 100%; }
    .comparison-table th:first-child { min-width: 120px; }
}.comparison-bar.comparison-toolbar { position: static; transform: none; width: 100%; max-width: 100%; margin: 0 0 18px; box-shadow: none; }
.comparison-table thead th > a { display: block; font-size: 16px; line-height: 1.4; }

/* Property photos: one large image plus small, lazy thumbnails. */
.card-photos-button { position: absolute; right: 12px; bottom: 12px; z-index: 1; display: inline-flex; gap: 9px; align-items: center; border: 0; border-radius: 5px; padding: 8px 12px; min-height: 40px; background: var(--color-primary); color: var(--color-white); font-size: 12px; font-weight: 600; }
.card-photos-button:hover { background: var(--color-primary-hover); }
.card-photos-button .icon { width: 16px; height: 16px; }
.property-image .photo-credit { right: 12px; bottom: 60px; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.property-gallery { margin: 10px 0 30px; min-width: 0; }
.gallery-stage { position: relative; display: grid; place-items: center; height: clamp(280px, 51vw, 560px); background: var(--color-surface-green); border-radius: var(--radius); overflow: hidden; }
.gallery-stage > img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; touch-action: pan-y pinch-zoom; }
.gallery-arrow, .gallery-expand, .gallery-counter { position: absolute; background: var(--color-gallery-overlay); color: var(--color-white); border: 0; border-radius: 5px; }
.gallery-arrow { top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 46px; height: 52px; padding: 0; font-size: 34px; line-height: 1; }
.gallery-previous { left: 12px; } .gallery-next { right: 12px; }
.gallery-counter { bottom: 12px; left: 14px; padding: 6px 11px; font-size: 12px; }
.gallery-expand { right: 12px; bottom: 12px; padding: 9px 14px; min-height: 40px; font-size: 12px; }
.gallery-thumbnails { position: relative; display: flex; gap: 8px; overflow-x: auto; padding: 12px 3px 8px; overscroll-behavior-x: contain; scrollbar-width: thin; }
.gallery-thumbnail { flex: 0 0 96px; padding: 3px; border: 2px solid transparent; border-radius: 6px; background: var(--color-surface); }
.gallery-thumbnail img { width: 100%; height: 64px; object-fit: cover; border-radius: 3px; display: block; }
.gallery-thumbnail[aria-pressed=true] { border-color: var(--color-primary); background: var(--color-surface-green); }
.gallery-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 2px 0; font-size: 12px; }
.gallery-footer p { margin: 0 0 3px; }
.gallery-footer a { text-decoration: underline; text-underline-offset: 3px; }
.gallery-source-choice { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin: 0; font-size: 12px; }
.gallery-source-choice select { width: auto; max-width: 230px; font-size: 12px; }
.gallery-open { overflow: hidden; }
.photo-dialog { width: min(1100px, calc(100% - 40px)); max-width: 1100px; max-height: calc(100dvh - 32px); padding: 22px; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-background); color: var(--color-text); overflow-y: auto; }
.photo-dialog::backdrop { background: var(--color-gallery-overlay); }
.photo-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.photo-dialog-heading h2 { margin: 0; font: 600 18px/1.4 var(--font-body); letter-spacing: 0; }
.photo-dialog-heading button { flex-shrink: 0; padding: 10px 13px; }
.photo-dialog .property-gallery { margin: 0 0 16px; }
.photo-dialog .gallery-stage { height: clamp(200px, 55dvh, 580px); }
.gallery-detail-link { display: inline-block; font-size: 13px; }
.property-gallery [hidden], .card-photos-button[hidden] { display: none !important; }
@media (max-width: 600px) {
    .gallery-stage { height: 300px; }
    .gallery-footer { flex-wrap: wrap; gap: 10px; }
    .gallery-footer > div { flex-basis: 100%; }
    .gallery-source-choice { width: 100%; }
    .gallery-source-choice select { flex: 1; max-width: none; }
    .gallery-thumbnail { flex-basis: 76px; }
    .gallery-thumbnail img { height: 52px; }
    .photo-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); padding: 13px; }
    .photo-dialog-heading { align-items: start; gap: 10px; }
    .photo-dialog-heading h2 { font-size: 15px; }
    .photo-dialog .gallery-stage { height: clamp(200px, 42dvh, 450px); }
}
/* Search and listing review improvements */
.hero-layout { width: 90%; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: .95fr 1.05fr; column-gap: 45px; align-items: center; }
.hero-layout > .hero-grid { width: 100%; padding: 0; display: block; grid-column: 1; grid-row: 1; }
.hero-layout > .hero-photo { grid-column: 2; grid-row: 1; }
.hero-layout > .hero-search-wrap { width: 100%; padding: 0; grid-column: 1 / -1; grid-row: 2; }
.hero-layout .home-search { position: relative; }
.filter-main { grid-template-columns: 1.8fr .75fr 1.5fr 1fr .9fr auto; }
.map-search-context { margin-top: 14px; padding: 12px; background: var(--color-surface-green); border-radius: 8px; font-size: 13px; }
.map-search-context .text-link { margin-left: 8px; }
.location-map-picker { grid-column: 1 / -1; margin: 14px 0; border: 1px solid var(--color-border); border-radius: 8px; overflow: hidden; background: white; }
.location-map-picker > summary { padding: 12px 16px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--color-primary); }
.location-map-picker > summary .icon { width: 18px; height: 18px; vertical-align: middle; margin: 0 7px; }
.location-picker-tools { padding: 0 16px 12px; font-size: 13px; }
.location-picker-tools p { margin: 0 0 8px; }
.location-picker-tools > div { display: flex; flex-wrap: wrap; gap: 20px; }
.location-picker-map { height: 400px; height: clamp(300px, 52vh, 460px); width: 100%; background: #e9eee5; }
.location-map-picker > .map-footnote { padding: 10px 16px; margin: 0; }
.search-centre-pin span { display: block; width: 26px; height: 26px; border: 3px solid white; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--color-primary); box-shadow: 0 2px 6px #0005; }
.location-status { overflow-wrap: anywhere; }
.results-intro { padding-block: 24px 18px; }
.results-intro h1 { font-size: 34px; margin: 0; }
.results-intro .eyebrow { margin-bottom: 8px; }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0; }
.filter-chip { display: inline-flex; gap: 12px; align-items: center; min-height: 40px; padding: 5px 13px; border: 1px solid var(--color-border); border-radius: 22px; background: var(--color-surface-green); font-size: 12px; }
.filter-chip:hover { border-color: var(--color-primary); }
.filter-chip span { font-size: 20px; }
.active-filters > .text-link { padding: 8px; }
.area-coverage { font-size: 12px; color: var(--color-muted); padding: 12px 0 18px; }
.area-coverage summary { cursor: pointer; line-height: 1.6; }
.area-coverage p { max-width: 850px; margin: 12px 0 0; }
.empty-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; align-items: center; }
.refresh-ready { display: inline-block; font-weight: 650; padding: 6px 12px; background: white; border: 1px solid var(--color-primary); border-radius: 6px; }
.location-suggest-host { position: relative; }
.location-suggestions { position: absolute; z-index: 20; top: 100%; left: 0; min-width: 100%; width: min(400px, 80vw); background: white; border: 1px solid var(--color-border); box-shadow: 0 8px 25px var(--color-shadow); border-radius: 8px; overflow: hidden; }
.location-suggestions [role=option] { padding: 12px 14px; min-height: 44px; font-size: 13px; cursor: pointer; border-bottom: 1px solid var(--color-border); }
.location-suggestions [role=option]:last-child { border-bottom: 0; }
.location-suggestions [role=option]:hover, .location-suggestions [aria-selected=true] { background: var(--color-surface-green); color: var(--color-primary); }
.detail-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; padding: 0 0 24px; }
.detail-summary > div { display: flex; flex-direction: column; }
.summary-price { font-size: 32px; font-weight: 650; line-height: 1.2; }
.detail-summary span, .detail-summary p { color: var(--color-muted); font-size: 13px; margin: 4px 0 0; }
.detail-summary .button { margin-left: auto; }
.property-fact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.property-fact-list > div { padding: 10px 0; border-bottom: 1px solid var(--color-border); }
.property-fact-list dt { font-size: 12px; color: var(--color-muted); font-weight: 400; }
.property-fact-list dd { margin: 4px 0 0; }
#seller-listings { scroll-margin-top: 20px; }
.save-confirmation { max-width: 760px; }
.save-confirmation form { margin-bottom: 24px; }
.duplicate-preview { width: 100%; height: 170px; object-fit: cover; border-radius: 8px; margin-bottom: 15px; }
.duplicate-evidence { background: var(--color-surface-green); padding: 12px; border-radius: 8px; }
.duplicate-offers { padding: 0; list-style: none; font-size: 12px; }
.duplicate-offers li { padding-block: 8px; border-bottom: 1px solid var(--color-border); }
@media (max-width: 1100px) {
    .hero-layout { column-gap: 25px; }
    .filter-main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .filter-main .filter-location { grid-column: span 2; }
    .filter-main .button { grid-column: 3; }
}
@media (max-width: 600px) {
    .hero-layout { width: 91%; display: flex; flex-direction: column; align-items: stretch; gap: 18px; padding-bottom: 22px; }
    .hero-layout .hero-copy { padding: 16px 0 0; }
    .hero-layout .hero-copy h1 { font-size: 39px; margin-bottom: 12px; }
    .hero-layout .hero-copy .eyebrow { margin-bottom: 12px; }
    .hero-layout .hero-copy p { margin-bottom: 0; line-height: 1.6; }
    .hero-layout .hero-copy > .text-link { display: none; }
    .hero-layout > .hero-search-wrap { margin: 0; }
    .hero-layout > .hero-photo { height: 210px; }
    .hero-layout .home-search { box-shadow: 0 5px 20px var(--color-shadow); }
    .reassurance-row { padding-top: 28px; }
    .results-intro { padding-block: 18px 16px; }
    .results-intro h1 { font-size: 29px; }
    .filter-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .filter-main .filter-location, .filter-main .button { grid-column: 1 / -1; }
    .filter-main .filter-price { grid-column: 1 / -1; }
    .filter-panel label { font-size: 12px; }
    .filter-panel input, .filter-panel select { font-size: 14px; }
    .detail-heading h1 { font-size: 28px; }
    .detail-heading { margin-bottom: 14px; }
    .detail-heading p { font-size: 12px; }
    .detail-summary { display: grid; grid-template-columns: 1fr; gap: 7px; padding-bottom: 20px; }
    .detail-summary .button { margin: 6px 0 0; width: 100%; }
    .summary-price { font-size: 29px; }
    .detail-summary p { margin: 0; }
}
