/* Layout editor: the drawing is the primary workspace; tools use the same
   restrained surfaces as the pattern studio. No business/map status styling. */
.shell.view-editor .topbar{display:none}
.shell.view-editor .page{max-width:none;padding:10px 14px 0}
.shell.view-editor .page-heading{min-height:44px;margin:0 0 8px;gap:12px}
.shell.view-editor .page-heading .eyebrow,.shell.view-editor .page-heading p,.shell.view-editor .shop-clock{display:none}
.shell.view-editor .page-heading h1{font-size:20px;line-height:1.3;letter-spacing:-.03em}
.shell.view-editor .heading-actions .btn{min-height:40px;touch-action:manipulation}
.shell.view-editor .os-editor-tools{display:flex;flex-wrap:nowrap;align-items:center;gap:10px;min-height:56px;margin:0;padding:5px 9px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;border-radius:16px;background:var(--ds-panel)}
.shell.view-editor .tool-cluster{flex:none;flex-direction:row;align-items:center;gap:4px;padding:0 10px 0 0}
.shell.view-editor .tool-cluster>span{padding:0 3px;font-size:11px;white-space:nowrap}
.shell.view-editor .tool-cluster>div{flex-wrap:nowrap}
.shell.view-editor .tool-cluster:last-child{position:sticky;right:0;z-index:2;min-height:42px;padding:0 0 0 9px;border:0;border-left:1px solid var(--ds-edge);background:var(--ds-panel)}
.shell.view-editor .os-editor-tools .btn{min-height:38px;padding:6px 9px;font-size:11px;white-space:nowrap}
.shell.view-editor .os-editor-tools .btn .icon{width:15px;height:15px;margin:0}
.shell.view-editor .editor-hint{display:none}
.shell.view-editor .editor-workspace{margin-top:8px;gap:12px}
.shell.view-editor .editor-workspace .panel-heading{min-height:40px;padding:6px 13px}
.shell.view-editor .editor-workspace .map-bottom{display:none}
.shell.view-editor .map-scroll.editing{height:var(--map-viewport-height,65dvh);max-height:none;overflow:hidden;background:#f7f8fa}
.shell.view-editor .map-scroll.editing .map-scale{height:100%!important;min-width:0!important}
.shell.view-editor .map-scroll.editing .floor-map{width:100%;height:100%!important;max-height:none}
.shell.view-editor .editor-inspector{padding:16px;max-height:calc(100dvh - 110px)}
.shell.view-editor .wall-endpoint-target{fill:transparent;stroke:transparent;cursor:crosshair;pointer-events:all}
.shell.view-editor .wall-endpoint-dot{fill:#fff;stroke:var(--purple);stroke-width:2;pointer-events:none}
.shell.view-editor .wall-endpoint-target:hover+.wall-endpoint-dot{fill:var(--purple-soft);stroke-width:3}
.shell.view-editor .architecture.glass .glass-body{stroke:#7795a8;stroke-width:1.2}
@media(max-width:767px){
  .shell.view-desk .page-heading .heading-actions .action-label{display:none}
  .shell.view-desk .page-heading .heading-actions [data-action=quick-start],
  .shell.view-desk .page-heading .heading-actions [data-action=toggle-focus]{width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border-radius:13px}
  .shell.view-desk .page-heading .heading-actions .icon{width:20px;height:20px}
  .shell.view-editor .page{padding:6px 8px 0}
  .shell.view-editor .page-heading{margin-bottom:5px}
  .shell.view-editor .editor-workspace{margin-top:5px}
  .shell.view-editor .editor-workspace .panel-heading{min-height:39px}
  .shell.view-editor .editor-inspector{max-height:none}
}
