.szm-mobile-map-toolbar,.szm-backlog-short,.szm-plan-short{display:none!important}
@media(max-width:760px), (max-height:500px) and (pointer:coarse){
 #szm-brand-typography .staff-app .szm-mobile-map-toolbar{display:flex!important;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
 #szm-brand-typography .staff-app .szm-mobile-map-toolbar button{min-height:44px!important;padding:8px 12px!important;font-size:14px!important}
 #szm-brand-typography .staff-app .szm-tour-workspace.szm-mobile-planning-map.szm-mobile-planning-map .szm-mobile-map-toolbar{position:fixed!important;top:env(safe-area-inset-top,0px);left:8px;right:8px;z-index:1002;margin:0;padding:8px 0;pointer-events:none}
 #szm-brand-typography .staff-app .szm-tour-workspace.szm-mobile-planning-map.szm-mobile-planning-map .szm-mobile-map-toolbar>*{pointer-events:auto;background:#fff!important;color:#18344c!important;box-shadow:0 2px 10px #18344c26;border-radius:10px}
 #szm-brand-typography .staff-app .szm-tour-workspace.szm-mobile-planning-map.szm-mobile-planning-map .szm-mobile-map-toolbar strong{padding:10px;font-size:14px!important}
 #szm-brand-typography .staff-app .szm-tour-workspace.szm-mobile-planning-map.szm-mobile-planning-map .szm-map-frame{position:fixed!important;inset:0!important;width:100%!important;height:100vh!important;height:100dvh!important;min-height:0!important;max-height:none!important;border:0!important;border-radius:0!important;z-index:1000}
 #szm-brand-typography .staff-app .szm-tour-workspace.szm-mobile-planning-map.szm-mobile-planning-map .szm-pilot-map{width:100%!important;height:100%!important;min-height:0!important;border-radius:0!important}
 #szm-brand-typography .staff-app .szm-tour-workspace.szm-mobile-planning-map.szm-mobile-planning-map .szm-map-top-controls{top:calc(64px + env(safe-area-inset-top,0px))!important;right:8px!important}
 #szm-brand-typography .staff-app .szm-tour-workspace.szm-mobile-planning-map.szm-mobile-planning-map .leaflet-top{top:calc(64px + env(safe-area-inset-top,0px))!important}
 #szm-brand-typography .staff-app .szm-tour-workspace.szm-mobile-planning-map.szm-mobile-planning-map .szm-map-overlay-controls{left:8px!important;right:8px!important;bottom:calc(26px + env(safe-area-inset-bottom,0px))!important;width:auto!important;max-width:none!important;margin:0!important}
 #szm-brand-typography .staff-app .szm-tour-workspace.szm-mobile-planning-map.szm-mobile-planning-map .szm-map-planning-controls{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px!important;padding:6px!important;gap:6px!important;border-radius:12px!important}
 #szm-brand-typography .staff-app .szm-tour-workspace.szm-mobile-planning-map.szm-mobile-planning-map .szm-map-backlog-toggle{grid-column:auto!important;display:flex!important;align-items:center!important;gap:6px!important;min-width:0!important;min-height:44px!important;padding:4px!important;font-size:12px!important;line-height:1.15!important;cursor:pointer}
 #szm-brand-typography .staff-app .szm-tour-workspace.szm-mobile-planning-map.szm-mobile-planning-map .szm-map-backlog-toggle input{width:20px!important;height:20px!important;min-width:20px!important;margin:0!important}
 #szm-brand-typography .staff-app .szm-tour-workspace.szm-mobile-planning-map.szm-mobile-planning-map .szm-map-plan{grid-column:auto!important;min-width:0!important;min-height:44px!important;padding:6px!important;gap:5px!important;font-size:12px!important;line-height:1.15!important}
 #szm-brand-typography .staff-app .szm-tour-workspace.szm-mobile-planning-map.szm-mobile-planning-map .szm-map-plan svg{flex-shrink:0;width:16px!important}
 #szm-brand-typography .staff-app .szm-tour-workspace.szm-mobile-planning-map.szm-mobile-planning-map .szm-backlog-long,#szm-brand-typography .staff-app .szm-tour-workspace.szm-mobile-planning-map.szm-mobile-planning-map .szm-plan-long{display:none!important}
 #szm-brand-typography .staff-app .szm-tour-workspace.szm-mobile-planning-map.szm-mobile-planning-map .szm-backlog-short,#szm-brand-typography .staff-app .szm-tour-workspace.szm-mobile-planning-map.szm-mobile-planning-map .szm-plan-short{display:inline!important}
 #szm-brand-typography .staff-app .szm-tour-workspace.szm-mobile-planning-map.szm-mobile-planning-map .leaflet-popup-content-wrapper{max-height:calc(100dvh - 180px);overflow:auto}
}

@media(max-width:760px), (max-height:500px) and (pointer:coarse){#szm-brand-typography .staff-app .szm-tour-workspace.szm-mobile-planning-map.szm-mobile-planning-map .szm-tour-shared-toolbar{display:none!important}}

@media(max-width:760px), (max-height:500px) and (pointer:coarse){#szm-brand-typography .staff-app .szm-tour-workspace.szm-mobile-planning-map.szm-mobile-planning-map .szm-map-planning-controls>.szm-map-reset-tour{width:44px!important;min-width:44px!important;max-width:44px!important;min-height:44px!important;height:44px!important;padding:8px!important;box-sizing:border-box}}
