/* Search fields only. All existing property content and English evidence stay immutable. */
.hero:has(#home-search){overflow:visible;isolation:isolate}
#home-search.search-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.2fr) auto;align-items:stretch;position:relative;z-index:5}
#home-search.search-controls>label{min-width:0}
#home-search.search-controls select{width:100%;min-width:0}
.home-preferences{position:relative;min-width:0;color:var(--ink,#243d32);text-align:left}
.home-preferences>summary{list-style:none;cursor:pointer;padding:12px 18px;display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;height:100%;min-height:72px;box-sizing:border-box}
.home-preferences>summary::-webkit-details-marker{display:none}
.home-preferences>summary:after{content:'⌄';position:absolute;right:14px;top:36px}
.home-preferences>summary:focus-visible{outline:3px solid #24836a;outline-offset:2px;border-radius:6px}
.preference-selection{font-size:14px;font-weight:400;padding-right:18px}
.home-preference-panel{position:absolute;right:0;top:calc(100% + 12px);width:min(440px,calc(100vw - 48px));max-height:min(55dvh,440px);overflow-y:auto;overscroll-behavior:contain;padding:22px;background:#fff;color:#243d32;border:1px solid #d5dfd7;border-radius:12px;box-shadow:0 14px 38px #142c2a33;box-sizing:border-box;z-index:10}
.home-preference-panel fieldset{border:0;margin:0 0 18px;padding:0}
.home-preference-panel legend{font-size:14px;font-weight:700;margin-bottom:12px}
#home-search .home-preference-panel label.check{display:flex;flex-direction:row;align-items:center;gap:10px;padding:7px 0;font-size:14px;font-weight:400;border:0}
#home-search .home-preference-panel input[type=checkbox]{width:18px;height:18px;min-height:18px;padding:0;flex:0 0 auto;accent-color:#205b48}
.preference-buttons{display:flex;gap:10px;justify-content:space-between;margin-top:16px}
.home-preference-panel .small{line-height:1.65}
@media(max-width:700px){#home-search.search-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}#home-search>.home-preferences,#home-search.search-controls>button{grid-column:1/-1}.home-preferences>summary{min-height:72px;border-top:1px solid #e0e6df}.home-preference-panel{left:0;right:auto;width:100%;max-height:min(52dvh,420px)}.hero:has(#home-search){margin-bottom:0}}
.home-preference-panel p.small{color:#52665b;line-height:1.65}
@media(max-width:700px){#home-search.search-controls{grid-template-columns:minmax(0,1fr)}#home-search.search-controls>label{grid-column:1/-1;border-right:0}.hero:has(#home-search) .hero-credit{position:static;display:block;text-align:right;padding:4px 16px 14px;margin-top:10px}.hero:has(#home-search) .hero-chips{row-gap:9px}}
@media(max-width:700px){.hero:has(#home-search){flex-direction:column;align-items:stretch}.hero:has(#home-search) .hero-credit{align-self:flex-end;max-width:calc(100% - 32px)}}
