.workflow-editor{width:calc(100vw - 28px);height:calc(100dvh - 28px);max-width:1800px;max-height:none;padding:0;border:1px solid #ccdcd6;border-radius:13px;background:#f6f9f7;color:#36564b;box-shadow:0 24px 100px #163a3940}
.workflow-editor[open]{display:flex;flex-direction:column}
.workflow-editor::backdrop{background:#15383885;backdrop-filter:blur(4px)}
.ed-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 23px;background:#fff;border-bottom:1px solid #dfebe4;flex-shrink:0}
.ed-brand{display:flex;align-items:center;gap:13px;min-width:0}
.ed-brand img{border-radius:9px;flex-shrink:0}
.ed-brand>div>span{display:block;font-size:9px;color:#8ca296;margin-bottom:4px}
.ed-brand h2{font-size:16px;font-weight:600;line-height:1.8;color:#2c5347}
.ed-personal{font-size:8px;line-height:1.9;color:#8b9e77;border:1px solid #e4eacb;background:#f8faee;border-radius:5px;font-weight:400;padding:3px 7px;margin-right:8px;white-space:nowrap}
.ed-header-actions{display:flex;align-items:center;gap:12px}
.ed-header-actions>.button{font-size:10px;min-height:36px;padding:8px 13px}
.ed-header-actions>.button .icon{width:16px;height:16px}
.ed-close{display:flex;align-items:center;gap:6px;font-size:9px;color:#789485;border:1px solid #e0e8de;border-radius:6px;padding:8px 10px;background:#fbfdf8;min-height:34px}
.ed-close .icon{width:15px;height:15px}
.ed-close:hover{border-color:#b9cebd;background:#f1f7ed}
.ed-save-state{display:flex;align-items:center;gap:6px;font-size:9px;white-space:nowrap;color:#89a083;margin-left:7px}
.ed-save-state:before{content:'';width:5px;height:5px;border-radius:50%;background:#8ab18b}
.ed-save-state.dirty{color:#ad9860}
.ed-save-state.dirty:before{background:#cbb06f}
.ed-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:59px;padding:11px 20px;background:#fcfefb;border-bottom:1px solid #dde9e0;flex-shrink:0}
.ed-toolbar button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:31px;padding:6px 9px;border:1px solid transparent;border-radius:6px;font-size:9px;color:#829780;white-space:nowrap}
.ed-toolbar button>.icon{width:15px;height:15px}
.ed-toolbar button:hover{background:#eff6ed;border-color:#e1eada;color:#48765c}
.ed-add-group,.ed-edit-tools,.ed-mode-switch{display:flex;align-items:center;gap:5px}
.ed-toolbar .ed-add-stage{background:#eaf5eb;color:#467d58;border-color:#d5e8d4;padding:6px 11px;margin-left:5px}
.ed-edit-tools>i{height:18px;width:1px;background:#dfe8dc;margin:0 7px}
.ed-edit-tools button.active{background:#eef5e9;border-color:#dce8d1;color:#557e49}
.ed-edit-tools button:empty{display:none}
.ed-edit-tools [data-ed-action=undo],.ed-edit-tools [data-ed-action=redo]{padding:6px;min-width:30px;gap:0}
.ed-edit-tools [data-ed-action=redo]>.icon{transform:scaleX(-1)}
.ed-mode-switch{padding:2px;border:1px solid #dae6d9;border-radius:7px;background:#f1f6ef;gap:2px}
.ed-mode-switch button{padding:5px 9px;min-height:27px;font-size:9px;border-radius:5px}
.ed-mode-switch button.active{background:white;border-color:#dbe8d4;color:#4d7d48;box-shadow:0 1px 4px #31593108}
.ed-server-error{background:#fffaeb;border-bottom:1px solid #efe2be;color:#a08346;font-size:10px;line-height:2;padding:12px 24px;flex-shrink:0}
.ed-body{display:flex;flex:1;min-height:0;min-width:0}
.ed-workarea{display:flex;flex-direction:column;flex:1;min-width:0;background:#f3f8f4}
.ed-canvas-caption{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:8.5px;padding:13px 19px 8px;color:#90a58e;flex-shrink:0}
.ed-canvas-caption>span:first-child{display:flex;align-items:center;gap:7px}
.ed-canvas-caption .icon{width:13px;height:13px}
.ed-grid-label{font-size:7px;color:#a8b8a2;white-space:nowrap}
.ed-viewport{position:relative;overflow:auto;flex:1;min-height:0;outline:none;cursor:grab;overscroll-behavior:contain;scrollbar-color:#baccb5 transparent;scrollbar-width:thin}
.ed-viewport:focus-visible{box-shadow:inset 0 0 0 2px #a3c29145}
.ed-sheet{position:relative;min-width:100%;min-height:100%}
.ed-canvas{position:absolute;left:28px;top:22px;transform-origin:0 0;direction:ltr;border:1px solid #dce9dd;border-radius:13px;background-color:#fbfdf9;background-image:radial-gradient(#bdcfbe66 .8px,transparent .8px);background-size:10px 10px;box-shadow:0 3px 12px #2c53320a;overflow:visible}
.ed-wires{position:absolute;inset:0;overflow:visible;pointer-events:none}
.ed-wire{outline:none;cursor:pointer}
.ed-edge-line{stroke:#75a18d;stroke-width:1.7;fill:none;pointer-events:none}
.ed-wire.alternative .ed-edge-line{stroke:#b39c62;}
.ed-edge-hit{stroke:transparent;stroke-width:17;fill:none;pointer-events:stroke}
.ed-wire:hover .ed-edge-line,.ed-wire:focus-visible .ed-edge-line{stroke-width:3;stroke:#438963}
.ed-wire.selected .ed-edge-line{stroke:#258259;stroke-width:3}
.ed-edge-label rect{fill:#fbfdf6;stroke:#e7eddc;stroke-width:.5;pointer-events:all}
.ed-edge-label text{fill:#8a9f78;font-family:Vazirmatn,Tahoma,sans-serif;font-size:9px;pointer-events:all}
.ed-wire.alternative .ed-edge-label text{fill:#ac955b}
.ed-node{position:absolute;direction:rtl;text-align:right;cursor:move;background:#fff;border:1px solid #cfdfd0;border-radius:9px;box-shadow:0 3px 0 #e5eddf,0 4px 10px #325a3510;touch-action:none;padding:11px 13px;user-select:none;transition:box-shadow .15s,border-color .15s}
.ed-node:hover{border-color:#8ab48a;box-shadow:0 3px 0 #d8e9ce,0 7px 16px #5074420a}
.ed-node.selected{border:1.6px solid #43976b;box-shadow:0 0 0 4px #5aa47a17,0 3px 0 #d8e9d1}
.ed-node.connect-source{border-color:#5e9eac;box-shadow:0 0 0 5px #76baca26}
.ed-node-meta{display:flex;justify-content:space-between;align-items:center;font-size:8.5px;color:#9bb295;margin-bottom:9px;line-height:1.5}
.ed-node-meta>i{font-style:normal;display:flex;align-items:center}
.ed-node-meta .icon{width:11px;height:11px;color:#a5b99a}
.ed-node-title{display:flex;align-items:center;gap:9px;margin-bottom:12px;min-width:0}
.ed-node-icon{width:31px;height:31px;display:grid;place-items:center;color:#6d9d6c;background:#eff7e9;border-radius:7px;flex-shrink:0}
.ed-node-icon>.icon{width:19px;height:19px}
.ed-node-title>strong{font-size:13px;line-height:1.8;color:#3d624b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600;min-width:0}
.ed-node.automatic{border-color:#d5e3e9;box-shadow:0 3px 0 #e5eef1,0 4px 10px #32515a08}
.ed-node.automatic .ed-node-icon{background:#f0f6f8;color:#7aa0b0}
.ed-node.decision{border-color:#e7d9b6;box-shadow:0 3px 0 #f0e7d3,0 4px 10px #5a4b3208}
.ed-node.decision .ed-node-icon{background:#fbf5e5;color:#b59b59}
.ed-node-role{display:flex;align-items:center;gap:5px;font-size:8.5px;color:#8ca285;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ed-node-role .icon{width:11px;height:11px}
.ed-branch{display:flex;align-items:center;gap:7px;padding:7px 11px;background:#fcf9ed;border-color:#e7dcbc;box-shadow:0 3px 0 #f0e7cc}
.ed-branch>.icon{height:13px;width:13px;color:#b7a568}
.ed-branch>strong{font-size:10px;color:#a4925c;line-height:1.8;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ed-branch.rose{background:#fcf6ef;border-color:#e8d7c7;box-shadow:0 3px 0 #f0e3d7}
.ed-branch.rose>strong,.ed-branch.rose>.icon{color:#b2937c}
.ed-branch.teal{background:#f6faef;border-color:#d9e9cd;box-shadow:0 3px 0 #e4ecd8}
.ed-branch.teal>strong,.ed-branch.teal>.icon{color:#8eaa77}
.ed-event{display:grid;place-items:center;border-radius:50%;padding:0;background:#f0f8eb;border-color:#9fc398;color:#81ab72;box-shadow:0 2px 0 #dcead4}
.ed-event>.icon{width:15px;height:15px}
.ed-event>span{position:absolute;top:39px;left:50%;transform:translateX(-50%);font-size:9px;color:#a1b28a;white-space:nowrap;max-width:150px;overflow:hidden;text-overflow:ellipsis;pointer-events:none}
.ed-event.is-end{background:#487b50;border-color:#9bbb83;color:white;box-shadow:0 0 0 3px #eef5e6}
.ed-caption{display:flex;align-items:center;gap:6px;background:transparent;border:1px dashed transparent;box-shadow:none;padding:1px 7px;border-radius:5px}
.ed-caption>.icon{width:11px;height:11px;color:#adbc9a}
.ed-caption>strong{font-size:9px;font-weight:400;line-height:1.7;color:#9eaf8d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ed-caption:hover{background:#f8fbf0;box-shadow:none;border:1px dashed #c5d6b2}
.ed-caption.selected{border:1px dashed #8db177;background:#f5faeb;box-shadow:0 0 0 3px #a8c79317}
.ed-canvas-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 17px;min-height:44px;border-top:1px solid #e0ead9;background:#fafdf7;flex-shrink:0}
.ed-counts{font-size:8px;color:#96aa85;white-space:nowrap}
.ed-zoom{display:flex;align-items:center;gap:2px}
.ed-zoom>button{display:grid;place-items:center;border-radius:5px;padding:5px;min-width:26px;height:26px;color:#8da17b}
.ed-zoom>button:hover{background:#edf5e5;color:#548743}
.ed-zoom .icon{height:14px;width:14px}
.ed-zoom output{font-size:9px;min-width:38px;text-align:center;direction:rtl;color:#80956a}
.ed-zoom>i{width:1px;height:15px;background:#dfe8d4;margin:0 4px}
.ed-audit{display:flex;align-items:center;gap:5px;color:#92a47c;font-size:8px}
.ed-audit>.icon{height:13px;width:13px}
.ed-audit.has-warnings{color:#b59e5e}
.ed-audit:hover{color:#6b8d53}
.ed-sidebar{width:332px;flex-shrink:0;display:flex;flex-direction:column;border-right:1px solid #dce7d9;background:white;min-height:0}
.ed-panel-tabs{display:flex;align-items:center;justify-content:space-between;gap:4px;border-bottom:1px solid #e2ecdc;padding:0 16px;flex-shrink:0}
.ed-panel-tabs>button{display:flex;align-items:center;gap:6px;font-size:9px;color:#8da381;border-bottom:2px solid transparent;padding:15px 4px 13px;position:relative;top:1px}
.ed-panel-tabs>button>.icon{height:14px;width:14px}
.ed-panel-tabs>button.active{color:#4f8a5b;border-bottom-color:#74ac71}
.ed-inspector{flex:1;overflow:auto;min-height:0;padding:22px 21px;overscroll-behavior:contain}
.ed-property-form fieldset{border:0;padding:0;margin:0;min-width:0}
.ed-property-heading{display:flex;align-items:center;gap:11px;margin-bottom:22px}
.ed-property-heading>span{display:grid;place-items:center;width:38px;height:38px;border:1px solid #dfead7;background:#f3f8ec;color:#8dae77;border-radius:9px}
.ed-property-heading>span>.icon{width:21px;height:21px}
.ed-property-heading strong{font-size:12px;font-weight:500;color:#597950;display:block;line-height:1.8}
.ed-property-heading small{display:block;font-size:8px;color:#a4b395;margin-top:4px}
.ed-field{display:block;margin-bottom:16px;min-width:0}
.ed-field>span{display:block;font-size:9px;line-height:2;color:#839871;margin-bottom:6px}
.ed-field>input,.ed-field>textarea,.ed-field>select{width:100%;border:1px solid #dfe8d6;background:#fcfef9;border-radius:6px;min-height:35px;padding:8px 10px;color:#5d7a4e;font-size:11px;line-height:1.8;min-width:0;transition:border-color .16s,box-shadow .16s}
.ed-field>input:focus,.ed-field>textarea:focus,.ed-field>select:focus{outline:0;border-color:#95b679;box-shadow:0 0 0 3px #a2c38314}
.ed-field>textarea{resize:vertical;min-height:60px;max-height:300px;line-height:2.1;font-size:10px}
.ed-field>select{font-size:10px;cursor:pointer}
.ed-field>input::placeholder{font-size:10px;color:#b1c09e}
.ed-field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ed-coordinates .ed-field>span{font-family:Vazirmatn;letter-spacing:.5px;font-size:9px}
.ed-coordinates .ed-field>input{font-size:11px;color:#81986d}
.ed-position-title{display:flex;align-items:center;gap:6px;font-size:9px;color:#9eb188;border-top:1px solid #e8efdf;padding-top:18px;margin:20px 0 12px}
.ed-position-title>.icon{height:13px;width:13px}
.ed-advanced{border-top:1px solid #e8efdf;border-bottom:1px solid #e8efdf;margin:19px 0 18px}
.ed-advanced>summary{font-size:9px;display:flex;align-items:center;justify-content:space-between;list-style:none;padding:13px 0;color:#91a777;cursor:pointer;gap:12px}
.ed-advanced>summary::-webkit-details-marker{display:none}
.ed-advanced>summary>.icon{height:13px;width:13px}
.ed-advanced[open]>summary{padding-bottom:20px}
.ed-advanced[open]>summary>.icon{transform:rotate(180deg)}
.ed-advanced .ed-field{margin-bottom:14px}
.ed-channel-label{font-size:8px;color:#a7b590;margin-bottom:12px}
.ed-check-row{display:flex;align-items:center;gap:22px}
.ed-checkbox{display:flex;align-items:center;gap:7px;font-size:10px;color:#809567;line-height:1.9;margin-bottom:13px;cursor:pointer}
.ed-checkbox>input{width:14px;height:14px;accent-color:#72a161;margin:0}
.ed-property-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:23px 0 12px}
.ed-property-actions>.button{font-size:9px;min-height:34px;padding:8px 11px}
.ed-property-actions .icon{height:14px;width:14px}
.ed-delete{display:flex;align-items:center;gap:5px;font-size:9px;color:#b69685;border:1px solid #efdeda;border-radius:6px;padding:7px 9px;background:#fffaf6;min-height:33px}
.ed-delete:hover{background:#fceddf;color:#a27965;border-color:#e3c5b6}
.ed-apply-hint{display:block;color:#aebb99;font-size:7px;line-height:2.2;text-align:center}
.ed-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.ed-panel-heading strong{font-size:12px;font-weight:500;color:#6b8557}
.ed-panel-heading>span{font-size:8px;color:#a8b68f}
.ed-panel-tip{font-size:8px;color:#a1b28d;line-height:2.2;margin:10px 0 18px}
.ed-outline,.ed-edge-list{display:flex;flex-direction:column;gap:7px}
.ed-outline>button,.ed-edge-list>button{display:flex;align-items:center;gap:10px;text-align:right;width:100%;padding:11px;border:1px solid #e4edda;background:#fcfef8;border-radius:7px}
.ed-outline>button:hover,.ed-edge-list>button:hover{background:#f3f9e9;border-color:#cdddba}
.ed-outline-icon{width:28px;height:29px;display:grid;place-items:center;color:#9bb77f;background:#f0f7e5;border-radius:6px;flex-shrink:0}
.ed-outline-icon>.icon{height:16px;width:16px}
.ed-outline>button>span:nth-child(2),.ed-edge-list>button>span:nth-child(2){flex:1;min-width:0}
.ed-outline strong,.ed-edge-list strong{font-size:9px;font-weight:500;color:#77945f;display:block;line-height:2;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.ed-outline small{font-size:7px;color:#b0bf99;display:block;margin-top:3px}
.ed-outline>button>.icon,.ed-edge-list>button>.icon{height:12px;width:12px;color:#b1c49b}
.ed-edge-list small{display:flex;align-items:center;gap:4px;font-size:8px;line-height:2.2;color:#a4b68c;margin-top:4px}
.ed-edge-list small>.icon{width:10px;height:10px}
.ed-edge-list em{display:inline-block;font-style:normal;background:#f6f8e9;border:1px solid #e9edd6;font-size:7px;color:#b0b991;padding:1px 5px;border-radius:3px;margin-top:5px}
.ed-edge-kind{display:inline-block;width:15px;border-top:1px solid #89af7b;flex-shrink:0}
.ed-edge-kind.alt{border-top:1px dashed #c1ab6b}
.ed-wide-add{display:flex;align-items:center;justify-content:center;gap:7px;border:1px dashed #d0e0bb;color:#95ac76;font-size:9px;background:#fafff2;border-radius:6px;width:100%;padding:10px;margin:14px 0 18px}
.ed-wide-add>.icon{height:14px;width:14px}
.ed-inline-note{display:flex;align-items:flex-start;gap:7px;background:#f6faed;border:1px solid #e5edd6;color:#a6b58c;font-size:8px;line-height:2.2;border-radius:7px;padding:13px;margin-top:21px}
.ed-inline-note>.icon{height:13px;width:13px;margin-top:3px}
.ed-empty{display:flex;align-items:center;flex-direction:column;text-align:center;padding:65px 15px}
.ed-empty>.icon{width:37px;height:37px;color:#b2c89b;margin-bottom:23px}
.ed-empty h3{font-size:14px;font-weight:500;color:#819e67;line-height:2}
.ed-empty p{font-size:10px;line-height:2.4;color:#a6b993;margin-top:12px}
.ed-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:52px;background:#fff;border-top:1px solid #dfe8d9;padding:11px 20px;flex-shrink:0}
.ed-footer>span{font-size:8px;line-height:2;display:flex;align-items:center;gap:7px;color:#9eaf8b}
.ed-footer>span>.icon{height:14px;width:14px}
.ed-footer>div{display:flex;align-items:center;gap:14px}
.ed-footer button{display:flex;align-items:center;gap:6px;font-size:8px;color:#8fa977;padding:5px 0;white-space:nowrap}
.ed-footer button>.icon{height:13px;width:13px}
.ed-footer button:hover{color:#5c8f48}
.ed-footer [data-ed-action=reset]{border-right:1px solid #e3ebd7;padding-right:15px;color:#af9e76}
.ed-preview{position:relative;flex:1;min-height:0;background:radial-gradient(ellipse at 30% 30%,#e8f2e3,transparent 60%),#f5f9f0;overflow:hidden}
.ed-preview-tip{position:absolute;bottom:15px;left:20px;right:20px;text-align:center;pointer-events:none;font-size:8px;color:#a5b593;line-height:2}
.ed-busy .ed-toolbar,.ed-busy .ed-footer{opacity:.5;pointer-events:none}
.ed-busy .ed-viewport,.ed-busy .ed-preview{pointer-events:none}
.ed-confirm{width:430px;max-width:calc(100vw - 28px);border:1px solid #dce7d2;border-radius:13px;background:#fff;padding:27px;text-align:center;box-shadow:0 25px 100px #183e3730}
.ed-confirm::backdrop{background:#163b324d;backdrop-filter:blur(2px)}
.ed-confirm-symbol{display:inline-grid;place-items:center;width:42px;height:42px;border:1px solid #e8e4ca;border-radius:12px;background:#fbf9ea;color:#bdad73;margin-bottom:17px}
.ed-confirm-symbol>.icon{height:22px;width:22px}
.ed-confirm h3{font-size:18px;font-weight:600;line-height:1.9;color:#46683f}
.ed-confirm p{font-size:11px;line-height:2.3;color:#889e77;margin:14px 0 24px;white-space:pre-line}
.ed-confirm>div{display:flex;align-items:center;justify-content:center;gap:10px}
.ed-confirm .button{font-size:10px;min-height:35px;white-space:normal}
.ed-danger-button{background:#b18b66;color:white;border-color:#b18b66}
.ed-danger-button:hover{background:#9d7957;color:white}
.workflow-editor>.toast-container{position:absolute;left:22px;right:auto;bottom:65px;max-width:440px;z-index:20}
.edit-workflow-button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:29px;color:#6e9377;background:#f2f8ef;border:1px solid #dce9d6;border-radius:6px;font-size:9px;padding:5px 9px;white-space:nowrap}
.edit-workflow-button>.icon{height:14px;width:14px}
.edit-workflow-button:hover{background:#e6f2e2;border-color:#afcda8;color:#477d4a}
.personal-version{font-size:7px;color:#a09164;background:#faf6e7;border:1px solid #eee4c4;padding:2px 5px;border-radius:4px;white-space:nowrap}
.workflow-selector .flow-code{max-width:40px}
.node-title>strong{min-width:0;overflow:hidden;text-overflow:ellipsis}
.node-role>span{overflow:hidden;text-overflow:ellipsis}
.branch-top>span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.scene-caption{overflow:hidden;text-overflow:ellipsis}
.world-floor{width:calc(var(--world-w) - 2px);height:calc(var(--world-h) - 16px)}
.floor-front{width:calc(var(--world-w) - 2px);top:calc(var(--world-h) - 30px)}
.floor-side{left:calc(var(--world-w) - 20px);height:calc(var(--world-h) - 16px)}
.floor-side-left{left:-18px}
.ed-field>span,.ed-panel-tip,.ed-apply-hint,.ed-inline-note,.ed-footer>span{color:#80926f}
.ed-outline strong,.ed-edge-list strong{color:#5f7e4f}
.ed-field>input,.ed-field>textarea,.ed-field>select{color:#466539}
.ed-panel-tabs>button{color:#78956e}
.ed-node-meta,.ed-node-role{color:#819a79}
@media(min-width:1650px){.ed-sidebar{width:357px}
.ed-inspector{padding:24px}
.ed-field>input,.ed-field>select{font-size:12px;min-height:38px}
.ed-field>textarea{font-size:11px}
.ed-field>span{font-size:10px}
.ed-toolbar button{font-size:10px}
.ed-header h2{font-size:18px}
.ed-counts,.ed-audit{font-size:9px}
.ed-footer button,.ed-footer>span{font-size:9px}
}
@media(max-width:1160px){.ed-sidebar{width:298px}
.ed-header{padding:16px 19px;gap:12px}
.ed-brand h2{font-size:14px}
.ed-save-state{font-size:8px;margin-left:2px}
.ed-header-actions{gap:8px}
.ed-header-actions>.button{font-size:9px;min-height:34px;padding:8px 11px}
.ed-personal{font-size:7px;margin-right:2px}
.ed-toolbar{padding:10px 15px;gap:8px}
.ed-toolbar button{font-size:8px;padding:5px 7px;gap:5px}
.ed-add-group{gap:2px}
.ed-toolbar .ed-add-stage{padding:5px 8px;margin-left:2px}
.ed-edit-tools{gap:2px}
.ed-edit-tools>i{margin:0 3px}
.ed-edit-tools [data-ed-action=select-tool]>span,.ed-edit-tools [data-ed-action=connect-tool]>span{display:none}
.ed-mode-switch button{font-size:8px;padding:5px 7px;gap:4px}
.ed-inspector{padding:20px 18px}
.ed-canvas-caption{padding-right:15px;padding-left:15px;font-size:7.5px}
.ed-grid-label{display:none}
.ed-footer{padding:10px 16px;gap:12px}
.ed-footer>span{font-size:7px}
.ed-footer>div{gap:12px}
.ed-footer button{font-size:7px}
.ed-footer button>.icon{height:12px;width:12px}
.ed-footer [data-ed-action=reset]{padding-right:12px}
.ed-canvas-footer{padding:8px 12px;gap:7px}
.ed-counts,.ed-audit{font-size:7px}
.ed-audit>span{max-width:90px}
.ed-zoom>button{min-width:24px}
.ed-zoom output{font-size:8px;min-width:32px}
.ed-panel-tabs{padding:0 14px}
.ed-panel-tabs>button{font-size:8px;padding:14px 4px}
.ed-panel-tabs>button>.icon{width:13px;height:13px}
}
@media(max-width:900px){.workflow-editor{width:calc(100vw - 16px);height:calc(100dvh - 16px)}
.ed-header{padding:15px 17px}
.ed-brand{gap:10px}
.ed-brand img{width:33px;height:33px}
.ed-brand>div>span{font-size:8px}
.ed-brand h2{font-size:13px}
.ed-personal{display:none}
.ed-save-state{font-size:7px;max-width:106px;white-space:normal;line-height:2}
.ed-close>span{display:none}
.ed-close{padding:7px}
.ed-toolbar{gap:6px;padding:9px 12px;flex-wrap:wrap}
.ed-mode-switch{margin-right:auto}
.ed-add-group{gap:3px}
.ed-toolbar button{font-size:8px}
.ed-edit-tools{order:3;margin-right:auto}
.ed-mode-switch{order:2}
.ed-sidebar{width:270px}
.ed-inspector{padding:19px 16px}
.ed-property-heading strong{font-size:11px}
.ed-field>input,.ed-field>select{font-size:10px}
.ed-field>textarea{font-size:9px}
.ed-field>span{font-size:8px}
.ed-panel-tabs{padding:0 11px}
.ed-panel-tabs>button{font-size:8px;gap:4px}
.ed-property-actions>.button{font-size:8px;padding:7px 9px}
.ed-delete{font-size:8px}
.ed-property-actions{gap:8px}
.ed-footer{flex-wrap:wrap;justify-content:center;gap:7px;padding:9px 14px}
.ed-footer>span{width:100%;justify-content:center;font-size:7px}
.ed-footer>div{gap:23px}
.ed-footer button{font-size:8px}
.ed-canvas-footer{flex-wrap:wrap;justify-content:center;gap:3px 16px;min-height:49px}
.ed-zoom{order:1}
.ed-counts{order:0}
.ed-audit{order:2}
.ed-audit>span{font-size:6.5px}
.ed-preview-tip{font-size:7px}
.edit-workflow-button>span{display:none}
.edit-workflow-button{padding:5px 6px;min-height:27px}
}
@media(max-width:650px){.workflow-editor{width:calc(100vw - 12px);height:calc(100dvh - 12px);border-radius:11px}
.ed-header{padding:14px 15px 12px;gap:12px;flex-wrap:wrap}
.ed-brand{flex:1;min-width:210px}
.ed-brand>div>span{font-size:7px;margin-bottom:3px}
.ed-brand h2{font-size:13px;line-height:1.8}
.ed-brand img{width:33px;height:33px}
.ed-header-actions{width:100%;justify-content:space-between;gap:8px}
.ed-save-state{margin-left:auto;max-width:none;font-size:8px}
.ed-header-actions>.button{font-size:9px;min-height:31px;padding:7px 10px}
.ed-close{min-height:29px;height:29px;padding:6px 7px}
.ed-close>.icon{width:14px;height:14px}
.ed-toolbar{padding:9px 10px;gap:7px 9px;min-height:0}
.ed-add-group{width:100%;justify-content:space-between;gap:3px;order:0}
.ed-toolbar .ed-add-stage{font-size:9px;padding:6px 8px;min-height:30px;margin-left:3px}
.ed-add-group button{font-size:8px;padding:5px 7px;gap:5px;min-height:29px}
.ed-toolbar button>.icon{height:14px;width:14px}
.ed-mode-switch{margin-right:0;order:1;gap:2px}
.ed-mode-switch button{font-size:8px;padding:4px 7px;min-height:25px;gap:5px}
.ed-edit-tools{margin-right:auto;order:2}
.ed-edit-tools button{min-height:27px;padding:4px 6px}
.ed-edit-tools [data-ed-action=undo],.ed-edit-tools [data-ed-action=redo]{min-width:24px;gap:0;padding:4px 5px}
.ed-edit-tools>i{margin:0 3px;height:13px}
.ed-body{flex-direction:column;overflow:auto;overscroll-behavior:contain}
.ed-workarea{flex:none;height:335px;min-height:335px;border-bottom:1px solid #dce7d2}
.ed-viewport{min-height:220px}
.ed-canvas-caption{font-size:7px;padding:10px 12px 6px;min-height:34px;line-height:1.9}
.ed-canvas-caption>span>.icon{width:11px;height:11px}
.ed-canvas-footer{flex-wrap:nowrap;justify-content:space-between;min-height:39px;padding:6px 10px;gap:6px}
.ed-counts{font-size:6.5px}
.ed-audit{font-size:6.5px;gap:3px}
.ed-audit>.icon{height:11px;width:11px}
.ed-audit>span{max-width:77px}
.ed-zoom{gap:0}
.ed-zoom>button{min-width:23px;height:24px}
.ed-zoom output{font-size:8px;min-width:30px}
.ed-zoom>i{margin:0 2px}
.ed-sidebar{width:100%;flex:none;border-right:0;min-height:300px}
.ed-panel-tabs{padding:0 20px;justify-content:flex-start;gap:30px;position:sticky;top:0;z-index:2;background:#fff}
.ed-panel-tabs>button{font-size:9px;padding:15px 0 12px;gap:6px}
.ed-panel-tabs>button>.icon{height:14px;width:14px}
.ed-inspector{overflow:visible;padding:21px 22px;min-height:240px;flex:none}
.ed-property-heading{margin-bottom:22px}
.ed-property-heading strong{font-size:12px}
.ed-property-heading small{font-size:8px}
.ed-field>span{font-size:10px}
.ed-field>input,.ed-field>select{font-size:12px;min-height:37px}
.ed-field>textarea{font-size:11px;min-height:75px}
.ed-field{margin-bottom:17px}
.ed-property-actions>.button{font-size:10px;min-height:35px;padding:8px 12px}
.ed-delete{font-size:9px;min-height:34px}
.ed-apply-hint{font-size:8px}
.ed-position-title{font-size:9px}
.ed-advanced>summary{font-size:10px}
.ed-panel-heading strong{font-size:13px}
.ed-panel-tip{font-size:9px}
.ed-outline strong,.ed-edge-list strong{font-size:11px}
.ed-outline small,.ed-edge-list small{font-size:9px}
.ed-outline>button,.ed-edge-list>button{padding:12px}
.ed-outline-icon{width:31px;height:31px}
.ed-inline-note{font-size:9px}
.ed-footer{padding:9px 10px;gap:5px}
.ed-footer>span{font-size:6.5px;gap:4px}
.ed-footer>span>.icon{width:11px;height:11px}
.ed-footer>div{gap:14px;justify-content:center;width:100%}
.ed-footer button{font-size:7px;gap:4px;padding:5px 0}
.ed-footer button>.icon{width:12px;height:12px}
.ed-footer [data-ed-action=reset]{padding-right:12px}
.ed-confirm{padding:23px 21px;width:calc(100vw - 28px)}
.ed-confirm h3{font-size:17px}
.ed-confirm p{font-size:10px;line-height:2.4}
.ed-confirm .button{font-size:9px;min-height:35px}
.ed-confirm-symbol{width:40px;height:40px}
.workflow-editor>.toast-container{left:12px;right:12px;bottom:79px;max-width:none}
.ed-server-error{font-size:9px;padding:10px 15px;max-height:105px;overflow:auto}
.ed-preview{min-height:0}
.ed-preview-tip{font-size:6.5px;left:12px;right:12px;bottom:10px}
.ed-workarea:has(.ed-preview:not([hidden])){height:355px}
.edit-workflow-button{padding:4px 5px;min-height:26px;gap:0}
.edit-workflow-button>.icon{height:13px;width:13px}
.personal-version{display:none}
}
@media(max-width:350px){.ed-toolbar{gap:7px 4px}
.ed-add-group button{font-size:7px;padding:5px}
.ed-toolbar .ed-add-stage{font-size:8px;padding:5px 7px}
.ed-mode-switch button{font-size:7px;padding:4px 5px;gap:3px}
.ed-edit-tools button{padding:4px 5px}
.ed-edit-tools>i{margin:0 2px}
.ed-inspector{padding:20px 18px}
.ed-panel-tabs{gap:23px;padding:0 18px}
.ed-footer>div{gap:10px}
.ed-footer button{font-size:6.5px}
.ed-footer [data-ed-action=reset]{padding-right:10px}
.ed-audit>span{display:none}
.ed-counts{font-size:6px}
.ed-canvas-caption{font-size:6.5px}
.ed-save-state{font-size:7px}
}
.ed-viewport{touch-action:none}
.ed-node.selected{border-color:#43976b;box-shadow:0 0 0 4px #5aa47a17,0 3px 0 #d8e9d1}
.ed-node.connect-source{border-color:#5e9eac;box-shadow:0 0 0 5px #76baca26}
@media(max-height:560px) and (min-width:651px){.ed-header{padding-top:10px;padding-bottom:10px}
.ed-header h2{font-size:12px}
.ed-toolbar{padding-top:6px;padding-bottom:6px;min-height:43px}
.ed-footer>span{display:none}
.ed-footer{min-height:35px;padding-top:5px;padding-bottom:5px}
.ed-inspector{padding-top:15px}
}
@media(max-width:650px){.ed-field>input,.ed-field>select,.ed-field>textarea{font-size:16px}
.ed-header-actions>.button{min-height:35px}
.ed-close{height:35px;min-height:35px;min-width:35px}
.ed-footer button{min-height:28px}
}
@media(max-width:650px){.personal-version{display:inline-block;font-size:6.5px;padding:1px 4px;margin-top:3px}
}
.modal-head h2,.presentation-details h3,.role-card h2,.stage-description{overflow-wrap:anywhere}
.branch-top>span{white-space:nowrap}
.stage-modal-title>h2,.responsible-card strong,.stage-tasks p,.stage-output strong,.stage-branches li,.participants,.presentation-role{overflow-wrap:anywhere}
.responsible-card>div,.stage-output>div{min-width:0}
.responsible-card>span{flex-shrink:0}
