/* 색상은 아래 토큰으로만 쓴다. 문서 작성 모드의 숨김은 body 접두 선택자로 ai_agent_page 의 단일 클래스 규칙보다 우선순위를 높여 처리한다. */
#document-workflow {
 --dw-line: #cbd5e1;
 --dw-ink: #182333;
 --dw-surface: #f8fafc;
 --dw-control-line: #b8c5d6;
 --dw-link: #1549ae;
}
#document-workflow{border:1px solid var(--dw-line);border-radius:12px;padding:12px;margin-bottom:12px;color:var(--dw-ink);background:var(--dw-surface)}
#document-workflow label{display:flex;align-items:center;gap:8px;min-height:44px;line-height:1.5}
#document-workflow button,#document-workflow select{min-height:44px;max-width:100%;border:1px solid var(--dw-control-line);border-radius:8px;background:white;color:var(--dw-ink);padding:8px 12px;margin:4px 4px 4px 0;font:inherit}
#document-workflow select{width:100%}#document-workflow p{margin:8px 0;line-height:1.5}
#document-workflow [hidden]{display:none}#document-workflow-result{overflow-wrap:anywhere}
#document-workflow-result pre{white-space:pre-wrap;max-height:320px;overflow:auto;background:white;padding:8px;border-radius:8px;font:inherit;line-height:1.6}
#document-workflow-result ul{padding-left:20px}#document-workflow a{display:inline-flex;min-height:44px;align-items:center;color:var(--dw-link);text-decoration:underline}
@media(max-width:375px){#document-workflow{padding:8px}#document-workflow button{width:100%;margin-right:0}}
body.document-writing-mode .agent-config,body.document-writing-mode .scenario-panel,body.document-writing-mode .agent-system-prompt,body.document-writing-mode .agent-status-bar,body.document-writing-mode .agent-meta,body.document-writing-mode .chat-body,body.document-writing-mode .chat-hint{display:none}
.document-writing-mode .agent-chat{margin-top:8px}.document-writing-mode #document-workflow-result pre{max-height:180px}
