/* Compact, accessible filter controls for map and list search. */
body:has(#eh9-filters) .eh9-filter-row { flex-wrap:wrap; align-items:center; row-gap:6px; }
body:has(#eh9-filters) .eh9-searchbar { z-index:80; }
body:has(#eh9-filters) .eh9-filter[open] { z-index:90; }
body:has(#eh9-filters) .eh9-filter[open] > summary { border-color:#a81031; background:#fff3f5; color:#761023; }
body:has(#eh9-filters) .eh9-filter > summary:after { color:#a81031; }
body:has(#eh9-filters) .eh9-filter-content {
  position:fixed !important; top:var(--eh-filter-top,220px) !important; left:var(--eh-filter-left,16px) !important;
  right:auto !important; width:var(--eh-filter-width,min(900px,calc(100vw - 112px))) !important;
  max-width:calc(100vw - 24px) !important; height:auto !important; max-height:var(--eh-filter-height,65dvh) !important;
  box-sizing:border-box; overflow:auto; overscroll-behavior:contain; z-index:10000; isolation:isolate;
  background:#fff; border:1px solid #d7dce4; border-radius:12px; box-shadow:0 12px 36px #11182730;
}
body:has(#eh9-filters) .eh9-filter-content select, body:has(#eh9-filters) .eh9-filter-content input { touch-action:manipulation; }
body:has(#eh9-filters) .eh93-filter-panel { display:block; padding:14px; }
body:has(#eh9-filters) .eh93-filter-panel h2 { position:sticky; top:-14px; z-index:2; display:flex; align-items:center; justify-content:space-between; gap:10px; margin:-14px -14px 8px; padding:11px 14px 8px; background:#fff; border-bottom:1px solid #eee4e8; font-size:17px; }
body:has(#eh9-filters) .eh93-filter-close { flex:0 0 auto; width:34px; height:34px; display:grid; place-items:center; border:1px solid #d7dce4; border-radius:9px; background:#fff; color:#202b3b; font-size:23px; line-height:1; cursor:pointer; }
body:has(#eh9-filters) .eh93-filter-close:hover { border-color:#a81031; color:#a81031; }
body:has(#eh9-filters) .eh93-filter-sections { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:start; gap:8px; }
body:has(#eh9-filters) .eh93-filter-sections > .eh93-group { min-width:0; border:1px solid #e5dce0; border-radius:9px; padding:8px; margin:0; }
body:has(#eh9-filters) .eh93-filter-sections > .eh93-group legend { padding:0 4px; font-size:12px; font-weight:750; }
body:has(#eh9-filters) .eh93-group-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
body:has(#eh9-filters) .eh93-group-grid > label, body:has(#eh9-filters) .eh93-range { min-width:0; display:grid; gap:4px; align-content:start; }
body:has(#eh9-filters) .eh93-range > strong { font-size:11px; line-height:1.2; }
body:has(#eh9-filters) .eh93-group input[type=number], body:has(#eh9-filters) .eh93-group select, body:has(#eh9-filters) .eh93-keywords input { min-width:0; width:100%; box-sizing:border-box; }
body:has(#eh9-filters) .eh93-group .eh9-pair { gap:6px; }
body:has(#eh9-filters) .eh93-group label { font-size:11px; }
body:has(#eh9-filters) .eh93-group small, body:has(#eh9-filters) .eh93-keywords small { color:#647084; font-size:10px; line-height:1.3; }
body:has(#eh9-filters) .eh93-keywords { display:grid; gap:4px; grid-column:1/-1; }
body:has(#eh9-filters) .eh93-fee-exclude { display:flex; align-items:center; gap:8px; margin-top:6px; font-size:12px; }
body:has(#eh9-filters) .eh9-market-modes { display:flex; align-items:center; gap:8px; }
body:has(#eh9-filters) .eh9-market-modes label { display:grid; grid-template-columns:auto; gap:3px; font-size:11px; font-weight:650; }
body:has(#eh9-filters) .eh9-market-modes select { min-width:110px; min-height:38px; }
body:has(#eh9-filters) .eh9-power-sale { display:inline-flex; align-items:center; gap:7px; min-height:38px; padding:0 12px; border:1px solid #d7dce4; border-radius:9px; background:#fff; color:#263244; font-weight:650; white-space:nowrap; }
body:has(#eh9-filters) .eh9-days-filter > .eh9-filter-content { width:min(340px,calc(100vw - 24px)) !important; }
body:has(#eh9-filters) .eh9-type-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px 12px; border:0; margin:8px 0 0; padding:0; }
body:has(#eh9-filters) .eh9-type-options legend { font-size:12px; font-weight:700; margin-bottom:5px; }
body:has(#eh9-filters) .eh9-type-options label { display:flex; align-items:center; gap:7px; min-width:0; padding:5px 2px; }
body:has(#eh9-filters) .eh9-type-options input { accent-color:#a81031; }
@media(max-width:1050px) { body:has(#eh9-filters) .eh93-filter-sections { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:800px) {
  body:has(#eh9-filters) .eh9-filter-row { flex-wrap:nowrap; overflow-x:auto; overflow-y:visible; padding:6px 1px 8px; scrollbar-width:thin; }
  body:has(#eh9-filters) .eh9-filter { flex:0 0 auto; }
  body:has(#eh9-filters) .eh9-market-modes { flex:0 0 auto; }
  body:has(#eh9-filters) .eh9-filter-content { padding:12px !important; border-radius:12px; box-shadow:0 10px 30px #17223438; }
  body:has(#eh9-filters) .eh93-filter-panel { padding:12px !important; }
  body:has(#eh9-filters) .eh93-filter-panel h2 { top:-12px; margin:-12px -12px 8px; padding:10px 12px 7px; }
  body:has(#eh9-filters) .eh93-filter-sections { grid-template-columns:1fr; gap:7px; }
  body:has(#eh9-filters) .eh93-group-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body:has(#eh9-filters) .eh93-keywords { grid-column:auto; }
}
@media(max-width:390px) { body:has(#eh9-filters) .eh93-group-grid, body:has(#eh9-filters) .eh9-type-options { grid-template-columns:1fr; } }

body:has(#eh9-filters) .eh93-cost-sliders { display:grid; gap:5px; margin-top:7px; }
body:has(#eh9-filters) .eh93-cost-sliders label { display:grid; grid-template-columns:1fr auto; align-items:center; gap:6px; font-size:10px; }
body:has(#eh9-filters) .eh93-cost-sliders input[type=range], body:has(#eh9-filters) .eh93-range > input[type=range] { width:100%; min-width:0; accent-color:#a81031; }
body:has(#eh9-filters) .eh93-cost-sliders output, body:has(#eh9-filters) .eh93-range > output { color:#596477; font-variant-numeric:tabular-nums; font-size:10px; }
