/* Editor-Chat: Umbau der ganzen Seite (Plan-Karte, Fortschritt je Teil) und Hinweis zur Ausgabe-Grenze – views/chat-rebuild.js */
.rb { display: grid; gap: 8px; min-width: 0; border: 1px solid var(--rule); border-radius: 10px; background: #fff; padding: 10px; }
.rb-head { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; }
.rb-head svg { width: 15px; height: 15px; color: var(--violet); flex: none; }
.rb-goal { font-size: 13px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.rb-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.rb-steps li { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 1.4; min-width: 0; color: var(--ink-2); }
.rb-steps li.done { color: var(--muted); }
.rb-steps li.now { color: var(--ink); }
.rb-dot { flex: none; width: 18px; height: 18px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--bg-2); color: var(--muted); font-size: 10.5px; font-weight: 700; margin-top: 1px; }
.rb-steps li.done .rb-dot { background: var(--green-soft); color: var(--green); }
.rb-steps li.now .rb-dot { background: var(--violet-soft); color: var(--violet); }
.rb-dot svg { width: 11px; height: 11px; }
.rb-dot .spin { width: 10px; height: 10px; border-width: 2px; }
.rb-t { min-width: 0; overflow-wrap: anywhere; }
.rb-t b { font-weight: 650; color: var(--ink); }
.rb-box { font-size: 12.5px; background: var(--bg); border-radius: 8px; padding: 7px 9px; display: grid; gap: 3px; overflow-wrap: anywhere; }
.rb-box ul { margin: 0; padding-left: 17px; display: grid; gap: 2px; }
.rb-box.warn { background: var(--yellow-soft); color: #6b5500; }
.rb-act { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; min-width: 0; }
.rb-act > .tiny { flex: 1 1 180px; line-height: 1.35; }
.rb-act .ok { color: var(--green); font-weight: 650; display: inline-flex; align-items: center; gap: 4px; }
.rb-act .ok svg { width: 13px; height: 13px; }
.rb-note { display: flex; gap: 6px; align-items: flex-start; font-size: 12.5px; flex: 1 1 100%; min-width: 0; overflow-wrap: anywhere; }
.rb-note svg { width: 14px; height: 14px; flex: 0 0 14px; margin-top: 2px; color: var(--orange); }
.rb-note.ok { color: var(--ink); }
.rb-note.ok svg { color: var(--green); }
.rb-run { display: grid; gap: 6px; }
.rb-bar { height: 6px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.rb-bar i { display: block; height: 100%; background: var(--violet); border-radius: 999px; transition: width 0.4s; }
.rb-run-row { gap: 8px; align-items: center; min-width: 0; }
.rb-run-row .grow { min-width: 0; overflow-wrap: anywhere; }
.chat-model-note { display: flex; gap: 6px; align-items: flex-start; padding: 6px 12px; border-bottom: 1px solid var(--rule); color: #6b5500; background: var(--yellow-soft); line-height: 1.35; }
.chat-model-note svg { width: 13px; height: 13px; flex: 0 0 13px; margin-top: 1px; }
.chat-act .btn svg { width: 13px; height: 13px; }
@media (max-width: 420px) {
  .rb { padding: 8px; }
  .rb-act .btn { flex: 1 1 auto; }
}
/* Plan: die Anweisung je Teil, wie sie an die KI geht (Security-Review Chat robust M1: nichts Unsichtbares) */
.rb-instr { display: block; font-size: 11.5px; color: var(--muted, #6b7280); margin-top: 2px; line-height: 1.35; }
/* Sperr-Hinweis mit „Hängenden Auftrag beenden“ (Nachprüfung R2): Text kürzt sich, der Knopf bleibt ganz sichtbar */
.gen-banner { grid-template-columns: minmax(0, 1fr); }
.gen-banner .row > .btn { flex: none; }
