:root{--bg:#f5f4ef;--surface:#fff;--text:#272f2b;--muted:#59635c;--border:#d8ded6;--accent:#805034;--accent-hover:#633c27;--wash:#ecefe7;--warning:#784810;--radius:8px;--space:8px;--panel:var(--surface);--card:var(--surface);--amber:var(--warning)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid transparent;border-radius:var(--radius);padding:10px 16px;background:var(--accent);color:white;min-height:44px}button:hover{background:var(--accent-hover)}button:disabled{opacity:.6;cursor:default}.secondary{background:var(--surface);border-color:var(--border);color:var(--text)}.secondary:hover,.quiet:hover{background:var(--wash)}.quiet{background:transparent;color:var(--muted)}:focus-visible{outline:3px solid #98663f;outline-offset:3px}input,select,textarea{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text);padding:10px 12px;min-height:44px;min-width:0;max-width:100%}textarea{width:100%;min-height:120px}label{display:block;font-weight:600;font-size:14px;margin-bottom:8px}h1,h2,h3,p{margin:0}h1{font-size:clamp(32px,4vw,48px);font-weight:600;letter-spacing:-1.5px;line-height:1.15}h2{font-size:24px;line-height:1.3;letter-spacing:-.5px}h3{font-size:18px}p{color:var(--muted)}a{color:var(--accent);overflow-wrap:anywhere}.masthead{max-width:1248px;margin:auto;padding:24px 40px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--border)}.brand{color:var(--text);text-decoration:none;font-size:22px;font-weight:650;letter-spacing:-.5px}.brand span{display:block;font-size:12px;font-weight:400;letter-spacing:0;color:var(--muted)}.privacy{font-size:13px;color:var(--muted)}.shell{max-width:1248px;margin:auto;padding:40px}.intro{max-width:640px;margin-bottom:40px}.intro>p:last-child{margin-top:16px;max-width:540px}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:1.4px;font-weight:600;margin-bottom:8px;color:var(--accent)}.surface{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}.access{padding:24px;display:grid;grid-template-columns:1fr 1fr;gap:24px}.access p{font-size:14px;margin-top:8px}.access form{align-self:center}.input-action{display:flex;gap:8px}.input-action input{flex:1;min-width:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:32px 0 16px}.toolbar{display:flex;flex-wrap:wrap;gap:8px}.add-property{padding:24px;display:grid;grid-template-columns:1fr 1.25fr;gap:24px;align-items:center}.add-property p{font-size:14px}.property-list{display:grid;gap:16px;margin-top:16px}.property-card{padding:24px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px}.property-card h3{margin-bottom:8px}.property-card .facts{display:flex;flex-wrap:wrap;gap:8px 24px;color:var(--text);font-size:15px}.property-card .next{font-size:14px;margin:12px 0}.property-card .card-actions{align-self:center;display:flex;gap:8px;flex-wrap:wrap}.status-pill{display:inline-block;background:var(--wash);padding:4px 8px;border-radius:4px;font-size:12px;color:var(--text)}.property-workspace{padding:24px;margin-top:32px;scroll-margin-top:24px}.property-workspace .section-heading{margin-top:0}.journey{list-style:none;margin:16px 0 24px;padding:0;display:flex;flex-wrap:wrap;gap:8px 24px;color:var(--muted);font-size:13px}.journey [aria-current]{font-weight:600;color:var(--accent)}footer{margin-top:40px;font-size:12px;color:var(--muted)}#shortlistStatus,#accessStatus{margin:16px 0}#map{height:100%;width:100%;background:var(--wash)}[hidden]{display:none!important}.empty{padding:32px}.empty h3{margin-bottom:8px}.viewing-form{display:grid;gap:8px;margin-top:16px}.viewing-form label{margin:0}.viewing-form textarea{min-height:80px}.technical{margin-top:16px}summary{cursor:pointer;font-weight:600;min-height:44px;padding:12px 0}pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;font:13px/1.6 ui-monospace,monospace}.source-caption{font-size:12px}#assessmentSources:empty{display:none}@media(max-width:768px){.masthead,.shell{padding:24px}.access,.add-property{grid-template-columns:1fr}.section-heading{align-items:flex-start}.property-card{grid-template-columns:1fr}.privacy{display:none}.toolbar{justify-content:flex-end}.intro{margin-bottom:24px}}@media(max-width:480px){.masthead,.shell{padding:16px}.input-action{flex-direction:column}.access,.add-property,.property-card,.property-workspace{padding:16px}.section-heading{flex-direction:column;align-items:flex-start}.toolbar{justify-content:flex-start}h1{font-size:32px}.intro br{display:none}.journey{gap:8px}.property-card .card-actions{width:100%}.property-card .card-actions button{flex:1}button{padding:10px 12px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.shortlist-controls{display:flex;align-items:flex-end;flex-wrap:wrap;gap:16px;margin:24px 0 16px}.shortlist-controls>div:first-child{flex:1;min-width:180px}.shortlist-controls input{width:100%}.shortlist-controls select{width:100%}.compare-choice{display:flex;align-items:center;gap:8px;margin:0;font-size:12px;font-weight:400;color:var(--muted)}.compare-choice input{min-height:20px;width:20px;height:20px}.property-card{padding:16px 24px}.property-card .next{margin:8px 0}.property-card .card-actions{align-items:center}#propertyComparison{padding:24px;margin:16px 0;overflow:auto}#propertyComparison table{border-collapse:collapse;width:100%;font-size:14px;margin:16px 0}#propertyComparison th,#propertyComparison td{text-align:left;padding:8px;border-bottom:1px solid var(--border)}@media(max-width:480px){.shortlist-controls{gap:12px}.shortlist-controls>div{flex:1;min-width:120px}.property-card{padding:16px}.property-card .card-actions{display:grid;grid-template-columns:1fr auto}.compare-choice{grid-column:1/-1}}

/* Geographic browsing uses the existing palette and one canonical result list. */
body.map-browsing .shell{max-width:none;padding:32px}
.browsing-workspace{scroll-margin-top:16px}
.map-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 0}
.map-header h3{font-size:18px}
.map-header p{font-size:13px;margin-top:4px}
#mapListToggle{display:none}
.browse-panels{min-width:0}
.map-mode .browse-panels{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,400px);gap:16px;height:calc(100dvh - 232px);min-height:550px}
.map-frame{position:relative;min-width:0;min-height:0;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;isolation:isolate}
.map-mode .property-list{display:flex;flex-direction:column;margin:0;padding:0 8px 16px 0;overflow-y:auto;min-height:0;min-width:0;overscroll-behavior:contain}
.map-mode .property-card{grid-template-columns:1fr;padding:16px;gap:12px;flex:none}
.map-mode .property-card .facts{gap:4px 16px;font-size:14px}
.map-mode .property-card .card-actions{display:flex;gap:8px;flex-wrap:wrap}
.map-mode .property-card .card-actions button{padding:8px 12px;font-size:14px}
.property-card.is-selected{border-color:var(--accent);box-shadow:inset 3px 0 var(--accent)}
.map-preview{position:absolute;z-index:800;left:16px;right:16px;bottom:16px;padding:16px;max-width:440px;box-shadow:0 2px 8px rgb(39 47 43 / .12)}
.map-preview h3{font-size:18px;margin-bottom:4px}
.map-preview p{font-size:14px;margin-bottom:12px}
.map-preview .toolbar{justify-content:flex-start}
.map-preview button{font-size:14px;padding:8px 12px}
.map-price-pin{background:none;border:0}
.map-price-pin button{display:block;width:100%;height:44px;min-height:44px;padding:8px;font:600 14px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;border:2px solid var(--surface);border-radius:6px;background:var(--surface);color:var(--text);box-shadow:0 1px 5px rgb(39 47 43 / .3);white-space:nowrap}
.map-price-pin button:hover,.map-price-pin button[aria-pressed="true"]{background:var(--accent);color:var(--surface);border-color:var(--surface)}
.map-price-pin button:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
@media(max-width:768px){
 body.map-browsing .shell{padding:24px}
 .map-mode .browse-panels{grid-template-columns:minmax(0,1fr);height:calc(100dvh - 200px);min-height:550px}
 .map-header{align-items:flex-start;flex-wrap:wrap}
 .map-header .toolbar{justify-content:flex-start}
 #mapListToggle{display:inline-block}
 .map-mode .property-list{padding-right:0}
 .map-preview{left:8px;right:8px;bottom:8px;padding:12px}
}
@media(max-width:480px){
 body.map-browsing .shell{padding:16px}
 .map-header .toolbar{width:100%}
 .map-header .toolbar button{font-size:14px;padding:8px 12px}
 .map-mode .browse-panels{height:calc(100dvh - 200px)}
}
