=== [ BUG REPORT: #2025-07-16-01 ] ===
Status: OPEN (unresolved)

Summary:
When using the CLI with `--output` to specify a single-stage render, the output does not land in the output folder.

Command:
  target/debug/render_regex 'a(b|c)*d' --stage dfa --layout layeredbfs --output dfa.svg

Output:
  ✔ Saved to .../rusty-lang-kit/dfa.svg

Expected:
  Output should be saved in the `output/` subdirectory:
  ✔ Saved to .../rusty-lang-kit/output/dfa.svg

Notes:
- This bug does not occur with the default multi-stage behavior (no `--stage`).
- Likely cause: conditional logic in `render_regex::lib::render_regex_svg()` or `main.rs` that skips output folder logic when `--output` is provided.
