
.agent-document-inline{min-width:0}.agent-document-preview{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.85;border:1px solid var(--line2,#555);border-radius:10px;padding:14px;overflow:visible;background:var(--panel,#242424)}.agent-document-preview p{margin:0 0 12px}.agent-document-preview p:last-child{margin-bottom:0}.agent-document-preview h4{margin:14px 0 6px;font-size:13px}.agent-document-preview h4:first-child{margin-top:0}.agent-document-edit{margin:12px 0}.agent-document-edit>summary{cursor:pointer;font-size:12px;padding:5px 0}.agent-document-body textarea,.agent-document-question textarea,.agent-document-composer textarea{width:100%;box-sizing:border-box;border:1px solid var(--line2,#555);border-radius:8px;padding:10px;background:var(--panel,#242424);color:var(--text,#eee);font:inherit;line-height:1.75;resize:vertical;max-height:440px}.agent-document-text{min-height:260px}.agent-document-question{display:block;margin:12px 0;font-size:13px;line-height:1.6}.agent-document-question textarea{display:block;min-height:70px;margin-top:6px}.agent-document-shot{padding:10px;border:1px solid var(--line2,#555);border-radius:8px;margin:8px 0}.agent-document-shot summary{cursor:pointer}.agent-document-shot label{display:block;margin:10px 0;font-size:12px}.agent-document-shot input{display:block;width:100%;box-sizing:border-box;padding:8px;background:var(--panel,#242424);color:var(--text,#eee);border:1px solid var(--line2,#555);border-radius:6px}.agent-document-composer{margin-top:14px}.agent-document-composer>label{display:block;font-size:12px;margin-bottom:6px}.agent-document-composer textarea{display:block;min-height:76px}.agent-document-composer button{margin:8px 8px 0 0}.agent-document-composer small{font-size:11px;opacity:.7;line-height:1.6}.agent-document-notice{font-size:12px;line-height:1.7}.agent-document-edit[hidden],.agent-document-composer[hidden]{display:none!important}.node .agent-document-entry{display:flex;align-items:center;justify-content:center;min-height:130px;padding:16px;box-sizing:border-box}.node .agent-document-open{padding:10px 14px;border:1px solid var(--accent,#7986ec);border-radius:8px;color:var(--text,#eee);background:var(--panel,#242424);font-weight:600;cursor:pointer}.node .agent-document-open[data-review="true"]{background:var(--accent,#7986ec);color:var(--bg,#fff)}.agent-document-history-view{margin:12px 0;padding:12px;border:1px solid var(--line2,#555);border-radius:10px}.agent-document-history-view>strong{display:block;margin-bottom:10px}
@media(max-width:600px){.agent-document-preview{padding:10px}.agent-document-body textarea,.agent-document-question textarea,.agent-document-composer textarea{font-size:16px}.agent-document-composer small{display:block;margin-top:6px}}


.production-video-prompt-scroll{max-width:100%;overflow-x:auto;margin:12px 0;}
.production-video-prompt-table{width:100%;min-width:620px;border-collapse:collapse;table-layout:fixed;border:1px solid #53616b;font-size:12px;line-height:1.6;}
.production-video-prompt-table th,.production-video-prompt-table td{border:1px solid #53616b;padding:12px 10px;vertical-align:top;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;}
.production-video-prompt-table th{background:#273138;color:#e5eef2;font-weight:600;}
.production-video-prompt-table th:nth-child(1){width:9%;}.production-video-prompt-table th:nth-child(2){width:9%;}.production-video-prompt-table th:nth-child(3){width:40%;}.production-video-prompt-table th:nth-child(4){width:22%;}.production-video-prompt-table th:nth-child(5){width:20%;}
.production-video-prompt-open{color:#83e3f6;background:transparent;border:0;padding:0;text-align:left;cursor:pointer;}
.production-video-prompt-issue{color:#ffb0a4;font-size:11px;line-height:1.6;margin:8px 0 0;}
.production-video-prompt-dialog{width:min(1080px,calc(100vw - 32px));max-width:none;height:min(820px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #4c5962;border-radius:14px;background:#1b2228;color:#e5eef2;overflow:hidden;}
.production-video-prompt-dialog[open]{display:flex;flex-direction:column;}.production-video-prompt-dialog::backdrop{background:#0009;}
.production-video-prompt-content{flex:1;min-height:0;overflow:auto;padding:16px 20px;}
.production-video-prompt-document .agent-document-edit{display:block;margin:0;}.production-video-prompt-document .agent-document-body{padding:0;}
.production-video-prompt-document textarea.agent-document-text{width:100%;min-height:460px;font-size:14px;line-height:1.8;resize:vertical;}
.production-video-prompt-dialog .production-dialog-footer{flex-shrink:0;display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:14px 20px;}
.production-video-prompt-dialog .production-dialog-footer>span{margin-right:auto;}
@media(max-width:600px){.production-video-prompt-document textarea.agent-document-text{font-size:16px;min-height:55dvh;}.production-video-prompt-dialog{width:calc(100vw - 12px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);}.production-video-prompt-content{padding:12px;}}
