/* Единый выпадающий список (select-ui.js): кнопка выглядит как поле ввода, плашка — как списки в фильтрах финансов. */
.ui-select-native { position:absolute!important; width:1px!important; height:1px!important; margin:0!important; padding:0!important; border:0!important; opacity:0!important; overflow:hidden; pointer-events:none!important; }
html body button.ui-select-trigger.ui-select-trigger { display:flex; align-items:center; justify-content:space-between; gap:10px; width:100%; min-width:0; min-height:44px; padding:0 12px!important; border-radius:9px!important; font:inherit; font-size:16px; font-weight:500; text-align:left; cursor:pointer; }
/* Как у фильтров финансов: приподнятая кнопка, анимация при наведении (общий стиль кнопок), без цветной подсветки и ореола при фокусе */
html body button.ui-select-trigger.ui-select-trigger:focus,html body button.ui-select-trigger.ui-select-trigger:focus-visible { outline:none; }
html body button.ui-select-trigger.ui-select-trigger:disabled { opacity:.55; cursor:default; }
.ui-select-trigger .ui-select-label { flex:1 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ui-select-trigger.is-empty .ui-select-label { color:var(--muted); }
.ui-select-trigger svg { flex:0 0 auto; color:var(--muted); transition:transform .15s ease; }
.ui-select-trigger.is-open svg { transform:rotate(180deg); }
.health-filter-grid label .ui-select-trigger,.room-filter-grid label .ui-select-trigger { margin-top:6px; }
.ui-select-pop { z-index:2147483000; display:flex; flex-direction:column; min-width:200px; overflow:hidden; overscroll-behavior:contain; border:1px solid color-mix(in srgb,var(--neo-light-shadow) 42%,var(--line)); border-radius:14px; background:var(--paper); color:var(--ink); box-shadow:0 12px 30px rgba(0,0,0,.35); font-size:16px; }
html[data-theme="dark"] .ui-select-pop { background:var(--neo-raised); }
.ui-select-search { flex:0 0 auto; width:calc(100% - 20px)!important; margin:10px 10px 4px!important; min-height:40px; }
.ui-select-list { overflow-y:auto; padding:6px; scrollbar-width:thin; overscroll-behavior:contain; }
.ui-select-opt { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:40px; padding:8px 12px; border-radius:10px; cursor:pointer; line-height:1.3; }
.ui-select-opt.is-active { background:color-mix(in srgb,var(--ink) 8%,transparent); }
.ui-select-opt.is-selected { font-weight:700; }
.ui-select-opt.is-selected svg { flex:0 0 auto; color:var(--accent); }
.ui-select-opt.is-disabled { opacity:.4; cursor:default; }
.ui-select-group { padding:10px 12px 4px; color:var(--muted); font-size:13px; font-weight:700; letter-spacing:.03em; text-transform:uppercase; }
.ui-select-empty { margin:0; padding:14px 12px; color:var(--muted); text-align:center; }

html body button.ui-select-trigger.ui-select-trigger[hidden] { display:none; }
/* Мобильная вёрстка (узкий экран) не затронута: если окно стало узким после включения, возвращаем системный список. */
@media (max-width:640px) {
  .ui-select-trigger { display:none!important; }
  .ui-select-native { position:static!important; width:auto!important; height:auto!important; opacity:1!important; pointer-events:auto!important; }
}
