/* svgbob (ASCII diagram) editor — source-first: the whole diagram is one blob of ASCII art, so
   there is no canvas selection. Editing happens in the Properties panel, in a large monospace
   textarea. It must not wrap or re-flow (every space and box character is part of the picture). */
.dia-svgbob .flow-props .flow-panel-body { width: 340px; max-width: 80vw; }

.dia-svgbob .svgbob-src {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 260px;
  resize: vertical;
  font-family: var(--mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
  font-size: 0.85rem;
  line-height: 1.35;
  tab-size: 4;
  white-space: pre;
  overflow: auto;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--fg);
  outline: none;
}
.dia-svgbob .svgbob-src:focus { border-color: var(--accent); }

/* the rendered svgbob art is plain black strokes on transparent — give it room to breathe */
.dia-svgbob .flow-canvas svg text { font-family: var(--mono, monospace); }
