.studio-producer-chat{margin:16px 0;padding:18px;border:1px solid var(--border,#d7dce5);border-radius:12px}
.studio-producer-chat-heading,.studio-producer-chat-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.studio-producer-chat-heading h3{margin:0}
.studio-producer-chat-history{max-height:270px;overflow:auto;display:grid;gap:9px;padding:10px;background:var(--surface-subtle,#f7f8fa);border-radius:8px}
.studio-producer-message{background:var(--surface,#fff);border:1px solid var(--border,#e1e4eb);padding:10px;border-radius:8px;overflow-wrap:anywhere}
.studio-producer-message p{margin:5px 0}.studio-producer-message small{display:block;opacity:.8;font-size:.79rem}
.studio-producer-chat-form{display:grid;gap:8px;margin-top:14px}.studio-producer-chat-form textarea{width:100%;box-sizing:border-box;min-height:78px}
.studio-producer-scenes{margin-top:12px}.studio-producer-scene-list{max-height:220px;overflow:auto}
#factoryProducerTranscript{max-height:180px;overflow:auto;margin:10px 0;padding:8px;background:var(--surface-subtle,#f7f8fa);border-radius:8px}
#factoryProducerTranscript p{font-size:.85rem;line-height:1.4;margin:4px 0}
@media(max-width:600px){.studio-producer-chat{padding:12px}.studio-producer-chat-heading{align-items:flex-start}}

.studio-producer-entry-mode{margin:5px 0 8px;letter-spacing:.01em}
.studio-producer-chat-jump{max-width:100%;white-space:normal}
@media(max-width:600px){.studio-producer-chat-jump{font-size:.85rem;padding:8px 10px}}


/* Script a Short — review and revise before draft acceptance. */
.scripted-short-feedback-review{margin:1rem 0;padding:1rem;border:1px solid var(--border-color,#d6dce5);border-radius:12px}
.scripted-short-feedback-review h3{margin:.1rem 0 .45rem}
.scripted-short-feedback-review label{display:block;font-weight:650;margin:.65rem 0 .35rem}
.scripted-short-feedback-review textarea{display:block;width:100%;min-height:6rem;box-sizing:border-box;padding:.7rem;border:1px solid var(--border-color,#cfd7e2);border-radius:8px;background:var(--panel-bg,#fff);color:inherit;resize:vertical}
.scripted-short-feedback-review .idea-generate-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;margin-top:.7rem}
.scripted-short-feedback-history{margin:.75rem 0 0;padding-left:1.6rem;max-height:11rem;overflow:auto}
.scripted-short-feedback-history li{margin:.3rem 0;overflow-wrap:anywhere}
