.mobile-plan-bar{display:flex;align-items:center;gap:5px;flex-wrap:wrap;flex:none}
body.plan-workspace #mapSection .plan-canvas-workspace{height:100dvh;min-height:360px;display:flex;flex-direction:column;gap:6px;padding:8px;background:#f6f8fb;border:1px solid #d6e0ea;border-radius:12px;overflow:hidden;box-sizing:border-box;margin:16px 0}
.mobile-plan-bar button{min-width:44px;min-height:44px;padding:5px 10px;font-family:inherit;font-size:12px;line-height:1.4;border:1px solid #ccd6e0;border-radius:8px;background:#f1f4f8;color:#172738;touch-action:manipulation}
.mobile-plan-bar button[aria-pressed=true]{background:#c7d4e4;border-color:#557392}
body.plan-workspace #mapSection .plan-canvas-workspace .grouped-map-tools{display:flex!important;flex-direction:row!important;gap:6px!important;margin:0!important;padding:0!important;position:static!important;flex:none!important;overflow:visible!important;width:100%!important}
body.plan-workspace #mapSection .plan-canvas-workspace .map-tool-group{flex:1!important;padding:5px!important;min-width:0!important}
body.plan-workspace #mapSection .plan-canvas-workspace .map-tool-buttons{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important}
body.plan-workspace #mapSection .plan-canvas-workspace .drawing-tools-group .map-tool-buttons{grid-template-columns:repeat(6,minmax(0,1fr))!important}
body.plan-workspace #mapSection .plan-canvas-workspace .map-tool-group.drawing-tools-group{flex:1.5!important}
body.plan-workspace #mapSection .plan-canvas-workspace .map-tool-group .map-tool-buttons button{width:100%!important;min-width:0!important;height:44px!important;min-height:44px!important;padding:3px!important;margin:0!important;font-size:12px!important;line-height:1.3!important;white-space:normal!important}
body.plan-workspace #mapSection .plan-canvas-workspace .board{flex:1!important;min-height:0!important;height:auto!important;margin:0!important;display:flex!important;align-items:stretch!important;border-radius:6px;overflow:hidden!important;width:100%!important}
body.plan-workspace #mapSection .plan-canvas-workspace #plan{width:100%!important;height:100%!important;aspect-ratio:auto!important;max-height:none!important;touch-action:none}
@media(max-width:1000px){
body.plan-workspace #mapSection .plan-canvas-workspace .grouped-map-tools{display:flex!important;flex-direction:row!important;gap:5px!important}
body.plan-workspace #mapSection .plan-canvas-workspace .map-tool-group{display:block!important;flex:1!important;padding:4px!important;border:1px solid #cfdeea!important;border-top:3px solid #568bb5!important;border-radius:9px!important;background:white!important}
body.plan-workspace #mapSection .plan-canvas-workspace .map-tool-group.drawing-tools-group{flex:1.5!important;border-top-color:#aa8ac5!important}
body.plan-workspace #mapSection .plan-canvas-workspace .map-tool-group:nth-child(3){border-top-color:#71a68a!important}
body.plan-workspace #mapSection .plan-canvas-workspace .map-tool-title{display:block!important;font-size:11px!important;line-height:1.5!important;margin-bottom:5px!important;min-height:30px}
body.plan-workspace #mapSection .plan-canvas-workspace .map-tool-buttons{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important}
body.plan-workspace #mapSection .plan-canvas-workspace .drawing-tools-group .map-tool-buttons{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:600px){body.plan-workspace main.wrap{padding:4px!important}body.plan-workspace #mapSection{padding:6px!important}body.plan-workspace #mapSection .plan-canvas-workspace{padding:4px;border-radius:6px;margin-inline:0;gap:4px}
body.plan-workspace #mapSection .plan-canvas-workspace .grouped-map-tools{flex-wrap:wrap!important}
body.plan-workspace #mapSection .plan-canvas-workspace .map-tool-group.editing-tools-group{flex:1 1 100%!important}
body.plan-workspace #mapSection .plan-canvas-workspace .editing-tools-group .map-tool-buttons{grid-template-columns:repeat(4,minmax(0,1fr))!important}
body.plan-workspace #mapSection .plan-canvas-workspace .map-tool-group.drawing-tools-group{flex:1.5 1 0!important}
body.plan-workspace #mapSection .plan-canvas-workspace .map-tool-group:nth-child(3){flex:1 1 0!important}
body.plan-workspace #mapSection .plan-canvas-workspace .map-tool-title{min-height:0;font-size:10px!important}
body.plan-workspace #mapSection .plan-canvas-workspace .map-tool-group .map-tool-buttons button{font-size:11px!important}
}

body.plan-workspace #mapSection .plan-canvas-workspace .mobile-plan-bar{border:1px solid #cfdeea;border-radius:9px;background:#fff;padding:4px 6px;gap:5px}
.view-tools-title{font-size:11px;line-height:1.3;color:#52677a;margin-inline-end:5px;white-space:nowrap}
body.plan-workspace #mapSection .plan-canvas-workspace .map-tool-group{padding-top:4px!important;padding-bottom:4px!important}
body.plan-workspace #mapSection .plan-canvas-workspace .map-tool-title{min-height:0!important;line-height:1.3!important;margin:0 0 3px!important;padding:0!important;font-size:11px!important}
