/* plan label density (phones and desktop): per-piece seat numbers only when zoomed in enough to read them */
body.mobile-plan-no-seats #stationPlanLabels [data-furniture-seats]{display:none!important}
/* zoomed far out (phones and desktop): station badges and their leader lines hide; they return as you zoom in */
body.mobile-plan-overview #stationPlanLabels{display:none!important}
@media(max-width:700px){
 body #editor h2,body #sitePanel h2{font-size:24px!important;margin:4px 0!important}
 body #editor>p{font-size:12px;line-height:1.4;margin:6px 0}
 body #editor input,body #sitePanel input{max-width:100%;box-sizing:border-box;font-size:16px}
 body #planCapacity strong{font-size:19px!important}body #planCapacity span{font-size:11px!important}body #planCapacity small{font-size:10px!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere;line-height:1.35}
 body.mobile-plan-overview #zoneOutlines [data-zone-label],body.mobile-plan-overview #mgLabels{display:none!important}
 body #menuTabs{max-width:calc(100vw - 16px)!important;box-sizing:border-box;left:8px!important;right:8px!important;overflow-x:auto;white-space:nowrap}
 body #menuTabs button{font-size:11px!important;padding:8px!important;flex-shrink:0}
}

@media(max-width:700px){
 body #menuTabs{display:flex!important;align-items:center;gap:2px;padding:4px!important;right:auto!important;width:calc(100vw - 16px);overflow:hidden;border-radius:18px!important}
 body #menuTabs #siteMenu,body #menuTabs #eventMenu{flex:1;min-width:0}
 body #menuTabs button{height:38px!important;display:inline-flex;align-items:center;justify-content:center;gap:5px;border:0!important;box-shadow:none!important}
 body #menuTabs #mgViewToggle,body #menuTabs #layoutDownload{flex:0 0 38px;padding:8px!important}
 body #zoneCanvas{z-index:6!important}
 body #zoneToolbar{position:fixed!important;top:auto!important;bottom:calc(8px + env(safe-area-inset-bottom))!important;left:8px!important;right:8px!important;transform:none!important;width:auto!important;max-width:none!important;z-index:40;max-height:32dvh;overflow:auto;align-items:flex-start}
 body #zoneToolbar .zone-scroll{display:flex;flex-wrap:wrap;overflow:visible;min-width:0;gap:6px}
 body #zoneToolbar input{max-width:120px}body #zoneToolbar .zone-finish{position:sticky;top:0}
 body.zone-editing #gzRing,body.zone-editing #gzOverlay,body.zone-editing #mgRing{display:none!important}
 canvas{touch-action:none}
}
