.crm-workflow-settings,.workflow-settings-overview,.workflow-settings-editor,.workflow-settings-result,.workflow-settings-form,.workflow-settings-list{display:grid;gap:18px;min-width:0}.crm-workflow-settings h2,.crm-workflow-settings h3,.crm-workflow-settings p{margin:0;overflow-wrap:anywhere}.crm-workflow-settings h2{font-size:21px}.crm-workflow-settings h3{font-size:17px}.workflow-settings-editor:empty,.workflow-settings-result:empty,.crm-workflow-settings [role=alert]:empty,.crm-workflow-settings [role=status]:empty{display:none}.workflow-settings-editor,.workflow-settings-result{scroll-margin-top:20px}.workflow-settings-editor{padding-top:24px;border-top:1px solid var(--line)}
.workflow-settings-stage,.workflow-settings-stage-read,.workflow-settings-preview{display:grid;gap:14px;padding:18px;border:1px solid var(--line);border-radius:11px;background:#fff;min-width:0;scroll-margin-top:20px}.workflow-settings-stage-read{gap:9px;padding:14px}.workflow-settings-top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;min-width:0}.workflow-settings-actions{display:flex;flex-wrap:wrap;gap:9px;min-width:0}.workflow-settings-muted{color:var(--muted);font-size:13px}.workflow-settings-notice,.workflow-settings-warning,.workflow-settings-result{padding:16px;border-radius:10px;overflow-wrap:anywhere}.workflow-settings-notice{background:#edf4f8;color:#285169}.workflow-settings-warning{display:grid;gap:13px;background:#fff6e5;color:#775319}.workflow-settings-result{background:#edf8f0;border:1px solid #c6e4cd}.workflow-settings-stage-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:end}.workflow-settings-stage .field-group{margin:0;min-width:0}.workflow-settings-stage-options .field-title label{display:flex;align-items:center;min-height:44px;margin:0;cursor:pointer}.workflow-settings-sequence{display:flex;flex-wrap:wrap;gap:10px 28px;padding-left:22px;margin:0}.workflow-settings-sequence li{padding-right:6px;overflow-wrap:anywhere;max-width:100%}.workflow-settings-sequence .status-badge{margin-left:8px}.workflow-settings-existing>summary{min-height:44px;cursor:pointer;font-weight:600;padding:10px 0}.workflow-settings-existing .workflow-settings-list{padding-top:10px}
.crm-workflow-settings .btn,.crm-workflow-settings .form-control,.crm-workflow-settings .form-select{min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere}.crm-workflow-settings .form-check-input{min-height:0}.crm-workflow-settings .status-badge{white-space:normal;overflow-wrap:anywhere}.workflow-settings-back{justify-self:start;min-height:44px}
@media(max-width:900px){.workflow-settings-top{flex-direction:column}.workflow-settings-stage-options{grid-template-columns:repeat(2,minmax(0,1fr))}.workflow-settings-stage-options>.field-group:last-child{grid-column:1/-1}}
@media(max-width:600px){.workflow-settings-stage-options{grid-template-columns:minmax(0,1fr)}.workflow-settings-stage,.workflow-settings-preview{padding:15px}.workflow-settings-actions>.btn{flex:1 1 130px}.workflow-settings-sequence{display:grid;gap:10px}.workflow-settings-editor{padding-top:18px}}
