@media(min-width:1600px){.map-layout{--panel-width:380px}}
@media(max-width:1050px) and (min-width:761px){.map-layout{--panel-width:350px}}
@media(max-width:760px){

.map-layout{height:calc(100dvh - 56px);display:block}.map-stage{position:absolute;inset:0}.search-panel{position:absolute;left:0;bottom:0;height:38%;width:100%;min-width:0;border-radius:17px 17px 0 0;border:1px solid var(--line);box-shadow:0 -3px 16px #1e212414;margin:0!important;transition:height .16s;padding-bottom:env(safe-area-inset-bottom);overflow:visible}.sheet-handle{height:24px;min-height:24px;display:flex;justify-content:center;touch-action:none}.sheet-handle button{display:flex;align-items:center;justify-content:center;border:0;background:transparent;padding:0;width:100%;height:24px;min-height:24px}.sheet-handle span{width:34px;height:4px;background:#b1b8be;border-radius:3px}
.search-area{position:fixed;top:68px;left:12px;right:12px;border:0;padding:0;pointer-events:none;background:transparent;z-index:18}.search-area>*{pointer-events:auto}.search-box{min-height:52px;padding:4px;gap:6px;background:#fff;border-radius:6px;box-shadow:0 2px 8px #1e21241a}.search-box input#query{font-size:14px}.search-box button{min-height:44px;font-size:14px}.search-shortcuts{margin-top:8px;gap:7px}.search-shortcuts button{background:white;border-color:#cdd1d5;min-height:44px;font-size:13px;padding:7px 11px;box-shadow:none}.active-filters{margin-top:8px;gap:5px;flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px;max-width:100%}.filter-chip{flex-shrink:0;box-shadow:0 1px 4px #1e212414;min-height:30px;background:#ecf2fe;border:1px solid #d8e5fd}.result-heading{padding:2px 18px 12px}.result-heading h2{font-size:13px}.result-summary>span{font-size:12px}.facility-card{padding:16px 18px;min-height:108px;gap:0}.card-title-row h3{font-size:16px}.card-info .card-address{font-size:14px}.card-title-row .distance{font-size:13px}.card-info .card-type{font-size:13px;margin:4px 0}.load-more{padding:12px 18px 20px}.empty{padding:22px}.empty-symbol{font-size:30px;margin-bottom:10px}.empty p{font-size:12px}.search-status:not(.sr-only){padding:0 18px 10px;font-size:11px}
.panel-toggle{display:none}.map-tools{right:13px;top:auto;bottom:var(--map-tools-bottom,240px);gap:8px}.map-tools button{width:44px;height:44px}.research{top:116px;font-size:12px;min-height:38px;padding:8px 13px;left:calc(50% - 10px)}.has-active-filters .research{top:155px}.map-message{top:40%;padding:22px;width:300px}.map-message h2{font-size:15px}.map-message p{font-size:11px}
.mobile-view{display:inline-flex;position:static;flex-shrink:0;min-height:44px;padding:7px 10px;border:1px solid #cdd1d5;border-radius:4px;box-shadow:none;background:#fff;font-size:12px;font-weight:500;color:var(--ink);white-space:nowrap}.sheet-expanded .search-panel{height:76%}.map-only .search-panel{height:calc(86px + env(safe-area-inset-bottom))}.map-only .result-scroll,.map-only .search-status{display:none}.detail-open .search-panel{height:72%}.detail-open .mobile-view{display:none}.detail-content{padding:15px 22px 28px}.detail-content h2{font-size:22px}.detail-top{padding:2px 16px 8px}.detail-top button{min-height:36px}.detail-section{padding-top:18px;margin-top:18px}.detail-meta{margin-bottom:18px}.detail-open .research{display:none}
.filter-dialog{left:0;right:0;top:auto;bottom:0;width:100%;max-height:85dvh;border-radius:16px 16px 0 0;border:0;box-shadow:0 -4px 24px #1e21241f;padding-bottom:env(safe-area-inset-bottom)}.filter-dialog::backdrop{background:#0005}.filter-header{padding:10px 12px 10px 20px}.filter-body{padding:18px 20px}.filter-footer{padding:12px 20px}.filter-footer #apply-filters{flex:1;max-width:230px}.amenity-option{font-size:15px;min-height:46px}.filters-open .map-tools,.filters-open .mobile-view{visibility:hidden}.map-controls-compact .zoom-tools{display:none}.map-controls-hidden .map-tools{display:none}.result-heading{align-items:center;min-height:58px}
.toast{bottom:calc(38% + 60px);font-size:12px;max-width:90vw}.detail-open .toast{bottom:25px}
}

@media(max-width:760px){.manual-monitoring-entry{display:none;padding:6px 18px}.sheet-expanded:not(.map-only) .manual-monitoring-entry{display:flex}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}.is-loading:after{animation:none}}

