.document-editor-page textarea.editor-autogrow-input {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 38px;
    max-height: none;
    padding: 8px 10px;
    resize: none;
    overflow: hidden;
    field-sizing: content;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: normal;
    font: inherit;
    line-height: 1.5;
    color: var(--digital-text);
    background: var(--digital-surface);
    border: 1px solid var(--digital-border);
    border-radius: 5px;
}
.document-editor-page textarea.editor-autogrow-input[data-editor-autogrow] { field-sizing: fixed; }
.document-editor-page textarea.editor-autogrow-input:focus { outline: 2px solid rgba(63, 99, 255, .12); border-color: #4169e1; }
.document-editor-page textarea.editor-autogrow-input::placeholder { color: var(--digital-text-muted); opacity: 1; }
.document-editor-page .major-step-title.editor-autogrow-input { font-size: 1.12rem; font-weight: 700; }
.document-editor-page .process-step-title.editor-autogrow-input { font-weight: 600; }
.worker-process-header > div { min-width: 0; }
.checklist-process-card .worker-process-header :is(h2, p),
.document-preview h3 { white-space: pre-wrap; overflow-wrap: anywhere; }
.document-editor-page .step-list-item > span:nth-child(2) { min-width: 0; white-space: normal; overflow-wrap: anywhere; }

.media-evidence-input .media-evidence-toolbar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.media-evidence-input .media-evidence-toolbar > label { grid-column: 1 / -1; }
.media-evidence-input .media-evidence-toolbar > .media-evidence-add { min-width: 0; padding: 8px; }
