.root { height: 100%; min-height: 0; display: flex; flex-direction: column; background: var(--bg-editor, var(--bg-app)); color: var(--fg); outline: none; } .toolbar { flex: none; display: flex; align-items: center; gap: var(--space-0-5); min-height: calc(var(--h-control) + var(--space-2)); padding: var(--space-1) var(--space-2); border-bottom: 1px solid var(--border-editor-tabs, var(--border)); } .separator { align-self: stretch; width: 1px; margin: var(--space-0-5) var(--space-1); background: var(--border-strong); } .zoom { margin-inline-start: auto; font-size: var(--fs-ui); font-variant-numeric: tabular-nums; color: var(--fg-secondary); } .canvas { flex: 1; min-height: 0; position: relative; overflow: hidden; cursor: grab; touch-action: none; user-select: none; } .canvas > svg { display: block; width: 100%; height: 100%; } .panning { cursor: grabbing; } .message { position: absolute; inset: 0; display: grid; place-items: center; color: var(--fg-secondary); } .table { cursor: default; } .body { fill: var(--bg-elev, var(--bg-editor)); stroke: var(--border-strong); } .header { fill: var(--bg-hover, var(--bg-elev)); } .title { font-family: var(--font-ui); font-size: var(--fs-small); font-weight: 600; fill: var(--fg-strong, var(--fg)); } .name { font-family: var(--font-ui); font-size: var(--fs-small); fill: var(--fg); } .type { font-family: var(--font-ui); font-size: var(--fs-small); fill: var(--fg-secondary); } .badge { font-family: var(--font-ui); font-size: var(--fs-tiny, 10px); font-weight: 600; fill: var(--accent); } .toggle { cursor: default; } .toggle > rect { fill: transparent; } .toggle:hover > rect { fill: var(--bg-toolbar-hover, var(--bg-hover)); } .selection { fill: none; stroke: var(--focus-ring, var(--accent)); stroke-width: 2; } .link { fill: none; stroke: var(--fg-secondary); stroke-width: 1.2; } .optional { stroke-dasharray: 5 3; } .arrow { fill: var(--fg-secondary); } .popup { height: min(600px, 100%); }