header .readonly{background:#fff0ce;color:#654b12;font-size:11px;font-weight:700}.notice{height:auto;min-height:38px;font-size:12px;padding:7px 12px;line-height:1.4}main{height:calc(100dvh - 96px)}
.sidebar{width:340px;top:72px;bottom:76px;overflow-y:auto;padding:20px}.intro h1{font-size:23px}.intro p{font-size:13px;line-height:1.5}.search-label,.filter-heading,.results-heading{font-size:13px}.search-wrap input{font-size:16px;min-height:26px}.filters{max-height:170px;min-height:90px;flex-shrink:0}.filter{font-size:12px;min-height:44px}.filter small{font-size:11px}.results{flex:1 0 120px;max-height:260px}.result{min-height:54px;padding:10px 5px}.result b{font-size:14px}.result small{font-size:12px;white-space:normal}.result>span:nth-child(2){flex:1}.load-more{min-height:44px;background:#edf4ee;border:1px solid #becfc2;border-radius:7px;color:#254d35;margin:8px 0;flex-shrink:0}.load-more[hidden]{display:none}
.panel-toggle{height:44px;font-size:14px;font-weight:600}.fit{font-size:13px;bottom:26px;min-height:44px}.location-tools{bottom:26px;right:16px;max-width:270px}.location-tools button{font-size:13px;min-height:44px}.location-tools p{font-size:12px}.map-key{top:74px;max-height:calc(100% - 180px)}.key-type{min-height:32px}
.map-options{flex-shrink:0;margin-top:14px;border-top:1px solid #dce5de;padding-top:8px}.map-options summary{cursor:pointer;min-height:44px;padding:12px 0;font-size:14px;font-weight:600}.sidebar .background-picker{margin:0;padding:6px 0 12px;border:0}.background-picker label{font-size:11px}.background-picker select{font-size:14px;min-height:40px}.map-options .rotation-controls{position:static;box-shadow:none;max-width:none;border:1px solid #dce5de}.rotation-controls #phone-compass{font-size:13px;flex:1}.rotation-controls button{min-height:44px}.option-help{font-size:12px;line-height:1.5;color:#657267}
.detail{top:76px;bottom:auto;max-height:calc(100% - 170px);width:320px;padding:22px;border-radius:14px;box-shadow:0 8px 30px #183a2926}.detail h2{font-size:26px;margin-right:30px}.detail .species{font-size:14px;line-height:1.5}.detail dl{font-size:13px;gap:12px 10px}.harvest b{font-size:14px}.detail summary,.detail .note{font-size:12px;line-height:1.5}.share-tree{font-size:14px;min-height:44px}.detail .close{min-width:44px;min-height:44px}.leaflet-control-scale{margin-bottom:80px!important}.filter-summary{top:16px;max-width:38%}
@media(max-width:650px), (max-width:950px) and (max-height:500px){header{height:48px}.brand-image{width:145px}.readonly{max-width:140px;text-align:center}.notice{min-height:42px;font-size:11px}main{height:calc(100dvh - 90px)}.panel-toggle{left:10px;top:10px;min-height:44px;font-size:13px}.sidebar{left:10px;right:10px;width:auto;top:64px;bottom:78px;padding:18px}.intro h1{font-size:22px}.intro p{font-size:13px}.filters{max-height:142px}.filter{min-height:44px;font-size:12px}.results{min-height:120px;max-height:200px}.key-toggle{left:10px;top:64px;min-height:44px;font-size:12px}.map-key{left:10px;top:114px;max-width:155px;max-height:calc(100% - 245px)}.key-type{min-height:36px;font-size:11px}.fit{left:10px;bottom:26px;font-size:12px;min-height:44px}.location-tools{right:10px;bottom:26px;max-width:205px}.location-tools button{min-height:44px;font-size:12px}.location-tools p{font-size:11px;max-height:70px}.filter-summary{top:auto;bottom:82px;right:10px;max-width:calc(100% - 20px);font-size:12px}.detail{left:10px;right:10px;width:auto;top:auto;bottom:82px;max-height:52%;padding:18px}.detail h2{font-size:25px}.detail .species{font-size:14px}.detail dl{font-size:13px}.detail summary{font-size:13px;min-height:44px}.harvest b{font-size:14px}.share-tree{min-height:44px;font-size:14px}.leaflet-control-zoom{width:44px;margin:10px 10px 0 0!important}.leaflet-control-zoom a,.leaflet-touch .leaflet-control-zoom a{width:44px;height:44px;line-height:44px}.panel-closed .sidebar{visibility:hidden}.map-options .rotation-controls{max-width:none}.map-options .rotation-controls button{min-height:44px}
}
@media(max-width:950px) and (max-height:500px){header{height:36px}.notice{display:none}main{height:calc(100dvh - 36px)}.sidebar{width:340px;right:auto;bottom:15px}.detail{left:auto;width:300px;max-height:72%}.location-tools p{max-height:44px}}

#map-message{max-width:420px;bottom:82px;left:16px;right:16px;}
