/* 使用系统字体、动态视口和安全区适配 iPhone；保留浏览器双指缩放。 */
html{-webkit-text-size-adjust:100%;scroll-padding-bottom:90px}
button,input,select,summary,a{-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #3183cc;outline-offset:3px}
.手机导航{display:none}
.地图容器,.地图侧栏,.容器{min-width:0}
.价格点{box-sizing:border-box;min-height:44px;display:flex;align-items:center;justify-content:center}
.地图容器 .leaflet-control-zoom a{width:44px;height:44px;line-height:44px}
.地图容器 .leaflet-popup-content{max-width:min(270px,calc(100vw - 100px));overflow-wrap:anywhere}
.地图容器 .leaflet-popup-close-button{min-width:36px;min-height:36px;line-height:36px}
.叶图弹窗 a{padding:9px 0;min-height:26px}
#空结果{padding:24px;text-align:center;background:white;border-radius:12px;color:#526b60}
[hidden]{display:none!important}
@media(max-width:767px),(max-width:950px) and (max-height:500px){
  body{padding:16px max(12px,env(safe-area-inset-right)) calc(92px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-size:16px}
  header{margin-bottom:12px}header h1{font-size:23px;line-height:1.35;letter-spacing:-.5px}header p{font-size:13px;line-height:1.6}
  header .提示{padding:12px;border-radius:10px;font-size:12px;line-height:1.65}header .提示 b{font-size:14px}
  .工具{display:none;position:static;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;padding:12px;margin:12px 0}
  body.筛选展开 .工具{display:grid}
  .工具 label{min-width:0;gap:6px;flex-wrap:wrap;font-size:14px}
  .工具 select{width:100%;min-width:0;min-height:44px;font-size:16px;padding:9px 8px}
  .工具 input[type=search]{grid-column:1/-1;box-sizing:border-box;width:100%;min-height:46px;font-size:16px}
  .工具 label:has(input[type=checkbox]){grid-column:1/-1;min-height:44px;flex-wrap:nowrap}
  .工具 input[type=checkbox]{width:22px;height:22px;flex-shrink:0;margin:0 6px 0 0;accent-color:#17634c}
  .工具 button{min-height:44px;font-size:15px;grid-column:1/-1}
  .工具 .计数{grid-column:1/-1;margin:0;font-size:14px}
  .图例{gap:6px 14px;font-size:11px;line-height:1.6}
  .地图布局{display:block;margin:10px 0 14px}
  .地图容器{height:410px;height:52svh;min-height:300px;max-height:540px;border-radius:12px;scroll-margin-top:12px}
  .地图侧栏{display:none;box-sizing:border-box;margin-top:12px;padding:16px;max-height:none;overflow:visible;overflow-wrap:anywhere}
  body.详情有选中 .地图侧栏{display:block}
  .地图侧栏 h2{font-size:21px}.地图侧栏 p{font-size:15px}.地图侧栏 a{display:inline-block;padding:10px 0;min-height:24px}
  .地图提示{font-size:12px;line-height:1.6;margin-bottom:16px}
  .容器{overflow:visible;border:0;background:transparent;scroll-margin-top:12px}
  .容器 table,.容器 tbody{display:block;min-width:0;width:100%}
  .容器 thead{display:none}
  .容器 tr{display:block;box-sizing:border-box;width:100%;padding:4px 16px 10px;margin:0 0 14px;background:white;border:1px solid #d3e2db;border-radius:14px;box-shadow:0 3px 10px #143e3406}
  .容器 td,.容器 td:first-child,.容器 td:nth-child(2),.容器 td:nth-child(3),.容器 td:nth-child(4),.容器 td:last-child{display:block;box-sizing:border-box;width:100%;min-width:0;padding:9px 0;border:0;line-height:1.65;overflow-wrap:anywhere}
  .容器 td+td{border-top:1px solid #edf2ef}
  .容器 td:first-child{position:relative;padding-right:100px;padding-top:12px;min-height:74px}
  .容器 td:first-child>a{font-size:19px;font-weight:700;display:inline-block;padding:4px 0}
  .容器 td:first-child .定位{position:absolute;right:0;top:12px;width:92px;min-height:44px;margin:0;font-size:14px;padding:8px 5px}
  .容器 td:nth-child(2)>b{font-size:25px;color:#17634c}.容器 td:nth-child(2)>small{display:inline;margin-left:10px;font-size:14px}
  .容器 td:nth-child(3)::before{content:'通勤';display:block;font-size:12px;color:#637c70;margin-bottom:3px}
  .容器 td:nth-child(4)::before{content:'小区年代';display:block;font-size:12px;color:#637c70;margin-bottom:3px}
  .容器 td:nth-child(5)::before{content:'判断与待核事项';display:block;font-size:12px;color:#637c70;margin-bottom:3px}
  .容器 small{font-size:13px}.新增{font-size:11px;max-width:100%;width:fit-content}
  summary{padding:10px 0;min-height:24px;line-height:1.5}
  details.项目{padding:4px 14px;font-size:14px}details p{font-size:14px;overflow-wrap:anywhere}
  .手机导航{position:fixed;z-index:1200;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:9px max(12px,env(safe-area-inset-right)) calc(9px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));background:#f6faf8f5;border-top:1px solid #ccdcd3;box-shadow:0 -3px 16px #143e3410;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
  .手机导航 button{font:600 15px -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;min-height:46px;color:#17523f;background:#fff;border:1px solid #b8cfc3;border-radius:10px;padding:8px 4px}
  .手机导航 button[aria-expanded=true]{background:#185b47;color:white;border-color:#185b47}
  .手机导航 button small{display:inline;color:inherit;font-size:12px;font-weight:400;margin-left:3px}
  .价格点{font-size:12px;padding:4px 6px;min-height:44px}
  footer{font-size:12px;line-height:1.7}
}
@media(max-width:950px) and (max-height:500px){.地图容器{height:68svh;min-height:250px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{scroll-behavior:auto!important}}
@media print{.手机导航{display:none!important}.工具{display:none!important}}
