/* Shared visual treatment for property discovery and detail pages. */
.leaf-browse, .leaf-detail { background: #f7f6f2; color: #253044; }
.browse-welcome { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 24px; background: #f7f6f2; border-bottom: 1px solid #e2e4e6; }
.browse-welcome p { font-size: 10px; letter-spacing: .13em; color: #765719; font-weight: 800; margin-bottom: 4px; }
.browse-welcome strong { font-family: Outfit, sans-serif; font-size: 24px; font-weight: 600; color: #0e2a4f; }
.browse-welcome a { font-size: 13px; font-weight: 700; color: #0e2a4f; text-decoration: underline; text-underline-offset: 4px; }
.leaf-browse #listings-pane { background: #f7f6f2; }
.leaf-browse #listings-pane > div { padding: 20px; }
.leaf-browse #listings-pane h1 { font-family: Outfit, sans-serif; font-size: 22px; color: #0e2a4f; white-space: normal; line-height: 1.35; }
.leaf-browse #listings-grid { gap: 16px !important; }
.leaf-browse #listings-grid .card-property { border: 1px solid #dedfe0; border-radius: 16px; background: white; box-shadow: 0 3px 10px #0e2a4f04; overflow: hidden; }
.leaf-browse #listings-grid .card-property:hover { border-color: #a17b30; box-shadow: 0 8px 24px #0e2a4f10; }
.leaf-browse .card-body { padding: 18px; }
.leaf-browse .card-body h3 { color: #0e2a4f; font-size: 17px; line-height: 1.4; -webkit-line-clamp: 2; }
.leaf-browse .card-price-text { display: flex; color: #0e2a4f; font-family: Outfit, sans-serif; font-size: 23px; margin-bottom: 6px; }
.leaf-browse .card-img-wrap .price-overlay { display: none; }
.leaf-browse .card-features { color: #526171; gap: 6px; margin-top: 8px; }
.leaf-browse :is(input:not([type=checkbox]),select) { min-height: 44px; }
.leaf-browse :is(#filter-toggle,#toggle-map-mobile) { min-height: 44px; }
.leaf-browse .chip-bar a { min-height: 38px; display: inline-flex; align-items: center; }
.leaf-browse .save-search-panel { border-color: #d9cba8; background: #fbf8f0; }
.leaf-detail .property-jump-links { max-width: 1240px; margin: 0 auto 24px; padding: 0 24px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 24px; }
.property-jump-links a { padding: 10px 0; color: #0e2a4f; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.property-jump-links button { margin-left: auto; background: #0e2a4f; color: white; border-radius: 10px; padding: 12px 20px; font-size: 14px; font-weight: 700; }
.leaf-detail h1, .leaf-detail h2 { color: #0e2a4f; font-family: Outfit, sans-serif; }
.leaf-detail h1 { letter-spacing: -.025em; line-height: 1.2; }
.leaf-detail :is(#property-overview,#property-description) { scroll-margin-top: 105px; }
.leaf-detail .prose { line-height: 1.85; }
.leaf-detail aside > .sticky > div { border-radius: 18px; box-shadow: 0 12px 28px #0e2a4f08; }
.leaf-detail aside .text-emerald-600 { color: #0e2a4f; }
.leaf-detail .pl-hero { background: #f7f6f2; }
.leaf-detail .pl-section { border-radius: 18px; }
.leaf-detail .pl-fact-card { background: #fff; border: 1px solid #e2e4e6; border-radius: 12px; }
.leaf-detail .pl-contact-card { background: #0e2a4f; }
.leaf-detail .pl-contact-card h2 { color: white; }
.property-advisor-summary { background: white; border: 1px solid #dedfe0; padding: 24px; border-radius: 18px; line-height: 1.7; color: #526171; }
.property-advisor-summary .property-advisor-label { font-size: 11px; letter-spacing: .12em; font-weight: 800; color: #765719; }
.property-advisor-summary h2 { font-size: 21px; margin-top: 8px; }
.property-advisor-summary p + p { margin-top: 12px; }
.property-advisor-summary a { display: inline-block; color: #0e2a4f; margin-top: 16px; text-decoration: underline; text-underline-offset: 4px; }
:is(.leaf-browse,.leaf-detail) :is(a,button,input,select,textarea):focus-visible { outline: 3px solid #a17b30; outline-offset: 3px; }
@media (min-width: 1024px) {
  .leaf-browse .card-img-wrap { width: 40%; min-width: 150px; max-width: 220px; }
  .leaf-browse .card-body { padding: 16px; }
}
@media (max-width: 639px) {
  .browse-welcome { padding: 14px 16px; }
  .browse-welcome strong { font-size: 21px; }
  .browse-welcome a { display: none; }
  .leaf-browse #listings-pane > div { padding: 16px; }
  .leaf-browse #listings-pane h1 { font-size: 19px; }
  .leaf-detail .property-jump-links { padding: 0 16px; gap: 8px 20px; }
  .property-jump-links button { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  :is(.leaf-browse,.leaf-detail) *, :is(.leaf-browse,.leaf-detail) *::before { transition: none !important; animation: none !important; }
}
