/* NAVONAX independent workspace: consistent grid tracks and unclipped canvas. */
@media(min-width:861px){
 body.design-editor-active{--portal-nav-width:68px!important}
 .design-editor-active .portal-logo,.design-editor-active .portal-product,.design-editor-active .portal-nav-group,.design-editor-active .portal-nav-item>span,.design-editor-active .portal-user,.design-editor-active .portal-footer>.portal-avatar{display:none}
 .design-editor-active .portal-mark{display:block;width:42px;height:42px}
 .design-editor-active .portal-brand{padding:0;justify-content:center;height:64px;min-height:64px}
 .design-editor-active .portal-nav{padding:16px 8px}
 .design-editor-active .portal-nav-item{justify-content:center;padding:10px}
 .design-editor-active .portal-footer{justify-content:center;padding:12px 8px}
}
.design-editor-active .portal-topbar{height:64px;min-height:64px;padding:8px 18px;gap:12px}
.design-editor-active .workspace{height:calc(100dvh - 64px);display:grid;grid-template-columns:300px minmax(0,1fr);overflow:hidden}
.design-editor-active .workspace>.sidebar{width:auto;min-width:0;min-height:0;overflow:hidden;display:flex;flex-direction:column}
.design-editor-active .workspace .tabs{grid-template-columns:repeat(4,minmax(0,1fr))!important;padding:6px;gap:2px}
.design-editor-active .workspace .tabs button{min-height:34px;padding:6px 2px;font-size:11px}
.design-editor-active .workspace .properties{flex:1;min-height:0;overflow:auto;padding:12px;font-size:13px}
.design-editor-active .workspace .properties :is(label,input,select,button){font-size:13px}
.design-editor-active .metrics{flex-shrink:0;padding:8px;gap:5px;font-size:11px}
.design-editor-active .metrics b{font-size:14px;padding:7px 3px}
.design-editor-active .canvas-wrap{min-width:0;min-height:0;overflow:hidden}
.workspace-toggle{position:absolute;top:12px;left:12px;z-index:8;background:white;border:1px solid #b6cde0;padding:7px 12px;color:#0a3b62;box-shadow:0 2px 8px #061b3a12}
.design-editor-active .drawing-hint{top:58px;left:12px;max-width:calc(100% - 110px);font-size:12px;padding:8px;pointer-events:none}
.design-editor-active .canvas-toolbar{max-width:calc(100% - 24px);overflow-x:auto;display:flex;bottom:44px;gap:2px;padding:6px}
.design-editor-active .canvas-toolbar button{flex-shrink:0;width:34px;min-width:34px;min-height:34px;padding:5px}
.design-editor-active .workspace.panel-collapsed{grid-template-columns:0 minmax(0,1fr)}
.design-editor-active .panel-collapsed>.sidebar{visibility:hidden;pointer-events:none}
.report-brand{display:block;width:240px;max-width:100%;height:auto;object-fit:contain;margin-bottom:16px}
.pro-report article h2:before{content:'NAVONAX / ';color:#0872d5;font-size:.7em}
.pro-report footer strong{color:#0a3b62}
@media(max-width:860px){.design-editor-active .workspace{grid-template-columns:260px minmax(0,1fr)}.design-editor-active .portal-topbar{padding:8px 10px}.design-editor-active .portal-heading>strong{font-size:14px}.design-editor-active .portal-heading>span{font-size:9px}.design-editor-active .portal-topbar .actions{gap:4px}.design-editor-active .save-status{display:none}}
@media(max-width:600px){.design-editor-active .portal-topbar{height:106px;flex-wrap:wrap}.design-editor-active .portal-topbar .actions{width:100%;justify-content:flex-end}.design-editor-active .workspace{height:calc(100dvh - 106px);display:grid;grid-template-columns:min(250px,70vw) minmax(0,1fr)}.design-editor-active .workspace>.sidebar{max-height:none}.design-editor-active .workspace .canvas-wrap{min-height:0}.design-editor-active .canvas-toolbar{left:12px;transform:none}.design-editor-active .drawing-hint{display:none}.design-editor-active .view-controls{right:8px;bottom:102px}.design-editor-active .compass{top:58px;right:8px;width:40px;height:40px}.workspace-toggle{font-size:11px;padding:5px}}
@media print{.report-brand{width:200px}.pro-report article h2:before{color:#0a3b62}.pro-report{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
@media(max-width:860px){body.design-signed-in{--portal-nav-width:0px!important}.design-editor-active .workspace,.design-editor-active .portal-topbar{margin-left:0;width:100%}.design-editor-active .portal-heading{min-width:0}.design-editor-active .portal-topbar .actions{flex-direction:row}}
@media(max-width:600px){.design-editor-active .workspace.panel-collapsed{grid-template-columns:0 minmax(0,1fr)!important}.design-editor-active .statusbar{gap:8px;font-size:10px}.design-editor-active .statusbar>span:first-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.design-editor-active .portal-topbar .actions{display:flex;flex-wrap:nowrap}.design-editor-active .portal-topbar .actions button{white-space:nowrap}.design-editor-active .portal-heading>strong{max-width:300px}}

/* Persistent cursor controls remain visible while drafting and with panels hidden. */
.cursor-controls{position:absolute;top:12px;left:130px;z-index:8;display:flex;gap:6px}
.cursor-controls button{padding:7px 12px;background:white;color:#123b59;border:1px solid #b6cde0;white-space:nowrap;box-shadow:0 2px 8px #061b3a12}
.cursor-controls button.active{background:#0872d5;color:white;border-color:#0872d5}
#canvas [data-kind]{cursor:inherit}
@media(max-width:600px){.cursor-controls{left:108px;gap:4px}.cursor-controls button{padding:5px 7px;font-size:11px}}
