.document-workflow-dialog { width: min(900px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); padding: 24px; border: 1px solid #cbd8df; border-radius: 8px; color: #19343c; background: #fff; overflow: auto; box-sizing: border-box; }
.document-workflow-dialog::backdrop { background: #182c3880; }
.document-workflow-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.document-workflow-dialog h2 { margin: 0; font-size: 20px; }
.document-workflow-dialog p { font-size: 14px; line-height: 1.5; }
.workflow-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.workflow-actions > * { max-width: 100%; }
.workflow-actions button { white-space: normal; }
.workflow-files, .workflow-review-list { margin: 16px 0; padding: 0; list-style: none; }
.workflow-files li, .workflow-review-list li { padding: 16px 0; border-bottom: 1px solid #dae3e8; overflow-wrap: anywhere; }
.workflow-files li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; }
.workflow-files li p { grid-column: 1 / -1; margin: 0; }
.workflow-review-list li { display: flex; justify-content: space-between; gap: 16px; }
.workflow-review-list li > div:first-child { min-width: 0; flex: 1; }
.workflow-review-list li p { margin: 6px 0; }
.workflow-review-list li .workflow-actions { flex: 0 0 180px; align-content: center; }
.workflow-error { color: #b42318; }
.workflow-warning { color: #835600; }
.document-library-toolbar { flex-wrap: wrap; }
.document-workflow-dialog textarea { display: block; width: 100%; box-sizing: border-box; margin: 8px 0 16px; }
.document-workflow-dialog > p { overflow-wrap: anywhere; }
.pending-resolution-summary { margin: 16px 0; padding: 12px 0; border-block: 1px solid #d5e1e7; overflow-wrap: anywhere; }
.pending-resolution-summary h3 { margin: 0 0 12px; font-size: 16px; }
.pending-resolution-summary ul { padding-left: 20px; }
.pending-resolution-summary li { margin-bottom: 12px; }
.pending-resolution-summary li p { margin: 4px 0; }
.document-workflow-dialog .workflow-actions button { white-space: normal; max-width: 100%; }
.resolution-confirm-check { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0; line-height: 1.5; }
.resolution-confirm-check input { flex: 0 0 18px; width: 18px; height: 18px; margin: 2px 0 0; }
.document-review-band { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 16px 0; }
.batch-progress-header { display: flex; align-items: center; gap: 14px; min-height: 48px; }
.batch-activity { width: 24px; height: 24px; border: 3px solid #d5e1e7; border-top-color: #16787b; border-radius: 50%; flex: 0 0 24px; }
.batch-activity.active { animation: batch-spin 1s linear infinite; }
.batch-progress, .batch-file progress { display: block; width: 100%; height: 8px; accent-color: #16787b; }
.batch-file progress { grid-column: 1 / -1; }
.batch-file-status { font-size: 13px; color: #466171; }
.batch-file.is-processing { border-left: 3px solid #16787b; padding-left: 12px; background: #f1f8f8; }
.batch-file.is-processing .batch-file-status { animation: batch-pulse 1.5s ease-in-out infinite; }
.workflow-files { max-height: 45dvh; overflow: auto; }
.review-order { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border: 1px solid #cbd8df; border-radius: 4px; font-variant-numeric: tabular-nums; }
.review-recommendation { color: #286367; }
.asset-regulatory-review dd { min-width: 0; overflow-wrap: anywhere; }
.asset-regulatory-review p { font-size: 14px; line-height: 1.5; margin: 8px 0; }
.asset-regulatory-review summary { cursor: pointer; padding: 10px 0; }
.asset-regulatory-review q { display: block; border-left: 3px solid #aac8ca; padding: 8px 12px; margin: 8px 0; font-size: 14px; }
@keyframes batch-spin { to { transform: rotate(360deg); } }
@keyframes batch-pulse { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .batch-activity.active, .batch-file.is-processing .batch-file-status { animation: none; } }
.document-delete-icon-button { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex: 0 0 36px; padding: 0; }
#analysis-later-evidence dd { display: grid; gap: 10px; min-width: 0; }
#analysis-later-evidence p { margin: 0; font-size: 14px; line-height: 1.5; }
#analysis-later-evidence button { justify-self: start; max-width: 100%; white-space: normal; }
@media (max-width: 600px) {
  .document-workflow-dialog { padding: 16px; }
  .workflow-review-list li { flex-direction: column; }
  .workflow-review-list li .workflow-actions { flex: auto; }
  .workflow-files li { grid-template-columns: minmax(0, 1fr); }
}
