/* Phones: filter / brand windows open from the top and end above the keyboard, so search results stay visible.
   --sm-vvh is the visible height (minus the keyboard), kept by phone_dialogs.js. */
@media(max-width:767px){
 .sm-filter-dialog{margin:max(8px,env(safe-area-inset-top)) auto auto;max-height:calc(var(--sm-vvh,100dvh) - 16px)}
 .sm-filter-dialog .sm-filter-panel{max-height:calc(var(--sm-vvh,100dvh) - 18px)}
}
