/* ditaa editor — source-first: the whole diagram is one blob of ASCII art, edited in the Properties
   panel in a monospace textarea that must not wrap (every space and corner is part of the picture). */
.dia-ditaa .flow-props .flow-panel-body { width: 340px; max-width: 80vw; }

.dia-ditaa .ditaa-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: 8;
  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-ditaa .ditaa-src:focus { border-color: var(--accent); }
