.workflow-summary { padding:12px 14px;margin-bottom:12px;border-left:3px solid var(--ui-primary); }
.workflow-summary h2 { margin-bottom:8px; }
.completion-record .prose { white-space:normal;overflow-wrap:anywhere;line-height:1.55;font-size:14px;margin:8px 0; }
.workflow-action > summary,.external-escalation > summary,.workflow-history > summary { cursor:pointer;padding:12px;font-weight:650; }
.workflow-action .state-form { gap:10px; }
.workflow-action textarea { min-height:100px; }
.workflow-history { border-bottom:1px solid var(--line); }
.workflow-history .completion-record { padding:0 12px 12px; }
.draft-status { font-size:12px;color:var(--muted);margin:6px 0; }
.draft-status:empty { display:none; }
.compose-form > label:has([data-reply-outcome]) { margin-bottom:10px; }
.workflow-action .checkbox,.compose-form .checkbox { flex-direction:row;align-items:flex-start; }
.workflow-action .checkbox input,.compose-form .checkbox input { width:16px;flex-shrink:0; }
.workflow-buttons { display:flex;gap:10px;flex-wrap:wrap;align-items:center; }
.workflow-summary .workflow-buttons { margin-top:12px; }
.workflow-history .muted { margin-top:8px; }
[data-bulk-workflow] { padding:12px;border:1px solid var(--line);border-radius:5px; }
[data-bulk-workflow] label { margin:8px 0; }

/* Form label display rules must not override conditional visibility. */
.workflow-action [hidden] { display:none !important; }
