.filter-sheet{--ps-gold:#c58b31;--ps-ink:#172735;--agency-gold:#cd932e;position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,760px);max-width:100%;height:auto;max-height:86vh;max-height:86dvh;padding:0;border:1px solid #e4eaf1;border-bottom:0;border-radius:24px 24px 0 0;background:#fff;color:#17384a;box-shadow:0 -12px 60px #10233224;overflow:hidden;direction:rtl}
.filter-sheet[open]{display:flex;flex-direction:column;animation:filter-sheet-enter .2s ease-out}
.filter-sheet::backdrop{background:#10233280;backdrop-filter:blur(3px)}
.filter-sheet-handle{flex-shrink:0;width:42px;height:4px;border-radius:5px;margin:10px auto 0;background:#d2dbe1}
.filter-sheet-header{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 22px;border-bottom:1px solid #e8edf1}
.filter-sheet-header h2{margin:0;font-size:17px;font-weight:800}
.filter-sheet-header button{display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:10px;background:#f2f5f7;color:#17384a;font-size:22px;cursor:pointer}
.filter-sheet-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-bottom:env(safe-area-inset-bottom);-webkit-overflow-scrolling:touch}
#shared-filter-sheet .ps-sticky-filter-panel,#shared-filter-sheet .agencies-filter-panel{position:static;display:block;width:100%;max-width:none;max-height:none;padding:0;border:0;border-radius:0;box-shadow:none;overflow:visible;background:transparent}
#shared-filter-sheet .ps-sticky-panel-heading,#shared-filter-sheet .agencies-filter-heading{display:none}
#shared-filter-sheet #ps-sticky-filter-content{overflow:visible;scrollbar-gutter:auto}
#shared-filter-sheet #property-search-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:22px}
#shared-filter-sheet .agencies-filter-fields{padding:22px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#shared-filter-sheet .agencies-filter-fields label{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:12px;color:#526a7c}
#shared-filter-sheet .agencies-filter-fields select{width:100%;min-width:0;padding:12px;border:1px solid #e4eaf1;border-radius:10px;background:white;color:#17384a;font-size:14px}
#shared-filter-sheet .agencies-filter-fields select:disabled{opacity:.6}
#shared-filter-sheet .agencies-filter-actions{margin:0;padding:16px 22px;display:flex;gap:12px;border-top:1px solid #e8edf1}
#shared-filter-sheet .agencies-filter-actions>*{flex:1;text-align:center;justify-content:center}
.dark .filter-sheet{background:#142333;color:#e4edf6;border-color:#344658}
.dark .filter-sheet-header,.dark #shared-filter-sheet .agencies-filter-actions{border-color:#344658}
.dark .filter-sheet-header button,.dark #shared-filter-sheet .agencies-filter-fields select{background:#203345;color:#e4edf6;border-color:#344658}
.dark #shared-filter-sheet .agencies-filter-fields label{color:#b7c9d6}
@keyframes filter-sheet-enter{from{transform:translateY(45px);opacity:.5}to{transform:translateY(0);opacity:1}}
@media(max-width:600px){.filter-sheet{border-radius:20px 20px 0 0;max-height:90dvh}.filter-sheet-header{padding:12px 16px}#shared-filter-sheet #property-search-form,#shared-filter-sheet .agencies-filter-fields{grid-template-columns:minmax(0,1fr);padding:16px;gap:14px}#shared-filter-sheet input:not([type=checkbox]),#shared-filter-sheet select{font-size:16px}}
@media(prefers-reduced-motion:reduce){.filter-sheet[open]{animation:none}}
