.mod_workflow_form { max-width: 640px; }
.mod_workflow_form .tw-message { padding: .75rem 1rem; border-radius: 4px; margin-bottom: 1rem; }
.mod_workflow_form .tw-error { background: #fdecea; color: #611a15; }
.mod_workflow_form .tw-info { background: #e8f0fe; color: #1a3a61; }
.mod_workflow_form .tw-success { background: #e6f4ea; color: #1e4620; }
.mod_workflow_form .tw-row { margin-bottom: 1rem; display: flex; flex-direction: column; gap: .25rem; }
.mod_workflow_form .tw-row label { font-weight: 600; }
.mod_workflow_form input[type="text"],
.mod_workflow_form input[type="email"],
.mod_workflow_form input[type="date"],
.mod_workflow_form textarea,
.mod_workflow_form select { padding: .5rem; border: 1px solid #ccc; border-radius: 4px; width: 100%; box-sizing: border-box; }
.mod_workflow_form .tw-question { border: 1px solid #ccc; border-radius: 4px; padding: .75rem 1rem; margin-bottom: 1rem; }
.mod_workflow_form .tw-question legend { font-weight: 600; padding: 0 .35rem; }
.mod_workflow_form .tw-question .tw-option { display: block; margin: .25rem 0; font-weight: normal; }
.mod_workflow_form .tw-question .tw-option input { margin-right: .4rem; }
.mod_workflow_form .tw-required { color: #c00; }
.mod_workflow_form .tw-signature { margin-bottom: 1rem; }
.mod_workflow_form .tw-signature canvas { display: block; border: 1px dashed #999; border-radius: 4px; touch-action: none; background: #fff; max-width: 100%; }
.mod_workflow_form .tw-signature button { margin-top: .5rem; }
.mod_workflow_form .tw-submit { padding: .6rem 1.4rem; cursor: pointer; }
