/* Preserve the original canvas proportions; the script only scales it down. */
body { padding: 12px; min-height: 100dvh; }
.wrap { width: 1240px; max-width: none; }
.grid>div:nth-child(2)>.panel.fit-output-panel {
  flex: none;
  overflow: auto;
  scrollbar-gutter: stable;
}
.fit-output-panel .output-box {
  flex: none !important;
  max-height: 300px;
  overflow: auto;
  overflow-wrap: anywhere;
}
