.search-filter-form{display:flex;flex-direction:column;max-height:min(90dvh,900px)}
.search-filter-form .dialog-header{flex:none;border-bottom:1px solid #dce5eb;padding-bottom:22px}
.search-filter-form .filter-body{overflow:auto;overscroll-behavior:contain;padding-bottom:20px;scrollbar-width:thin}
.search-filter-form .dialog-footer{flex:none;position:sticky;bottom:0;z-index:2;background:#fff;border-top:1px solid #dce5eb;padding-top:16px;padding-bottom:max(16px,env(safe-area-inset-bottom));gap:12px}
.search-filter-form .dialog-footer .primary-button{min-width:180px;justify-content:center}
.search-filter-form .dialog-footer .primary-button:disabled{opacity:.5;cursor:not-allowed}
.search-filter-extension{display:grid;gap:24px;margin-top:24px}
.search-filter-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.search-filter-hint{font-size:.78rem;line-height:1.55;color:#667b89;margin:0 0 12px;font-weight:400}
.search-unit-filter{border:1px solid #d6e2ea;border-radius:16px;background:#f7fafc}
.search-unit-filter summary{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:.9rem;font-weight:650;cursor:pointer;list-style:none;padding:17px;color:#244456}
.search-unit-filter summary::-webkit-details-marker{display:none}
.search-unit-filter summary:focus-visible{outline:2px solid #448bb5;outline-offset:3px;border-radius:16px}
.search-unit-filter[open] summary span{transform:rotate(45deg)}
.search-unit-filter>div{padding:0 17px 17px}
.search-amenity-options{display:flex;gap:8px;flex-wrap:wrap}
.search-amenity-option{position:relative;display:inline-flex!important;cursor:pointer;margin:0!important}
.search-amenity-option input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none}
.search-amenity-option span{display:block;padding:10px 13px;border:1px solid #d6e2ea;border-radius:30px;background:#fff;font-size:.8rem;line-height:1.35;color:#526777;transition:background .15s,border-color .15s;min-height:40px}
.search-amenity-option input:checked+span{background:#e9f4fc;border-color:#6eacca;color:#14394f}
.search-amenity-option input:focus-visible+span{outline:2px solid #448bb5;outline-offset:3px}
.search-filter-status{margin:22px 0 0;font-size:.8rem;line-height:1.5;color:#526777}
@media(max-width:540px){.filters-dialog:has(.search-filter-form){width:calc(100% - 16px);max-width:100%;max-height:calc(100dvh - 16px);padding:20px}.search-filter-form{max-height:calc(100dvh - 56px)}.search-filter-form .dialog-header h2{font-size:1.55rem}.search-filter-form .dialog-footer .primary-button{min-width:0;flex:1;padding:14px 12px;font-size:.82rem}.search-filter-form .dialog-footer .text-button{font-size:.78rem}.search-filter-form .field-pair{gap:10px}.search-filter-form input,.search-filter-form select{font-size:16px!important;min-height:46px}.search-filter-pair{gap:10px}.search-filter-extension{gap:21px}.search-amenity-option span{min-height:44px;padding:12px}.search-filter-form .filter-body{padding-right:3px}}
@media(prefers-reduced-motion:reduce){.search-amenity-option span{transition:none}}
