.automation-shell{max-width:1440px;margin:2rem auto;padding:1rem;color:#213047;font-family:system-ui,sans-serif}.automation-shell h1{font-size:2rem;margin:.2rem 0}.automation-shell p{line-height:1.45}.automation-toolbar{display:flex;flex-wrap:wrap;gap:.6rem;align-items:end;margin:1rem 0}.automation-toolbar button,.automation-shell button{cursor:pointer}.automation-toolbar button,.automation-choose,.automation-list button,.automation-editor button{background:#fff;border:1px solid #bac7d5;border-radius:9px;padding:.6rem .85rem;color:#1b3047}.automation-toolbar button:hover,.automation-choose:hover,.automation-list button:hover{border-color:#157ba6;background:#edf7fc}.automation-toolbar input,.automation-toolbar select,.automation-field input,.automation-field select,.automation-field textarea{border:1px solid #b5c2cf;border-radius:8px;padding:.55rem;background:#fff;color:#142a41}.automation-toolbar label,.automation-field{display:flex;flex-direction:column;gap:.3rem;font-size:.9rem}.automation-layout{display:grid;grid-template-columns:210px minmax(360px,1fr) 300px;gap:1rem;align-items:start}.automation-list,.automation-canvas,.automation-editor{border:1px solid #d4dee7;border-radius:14px;background:#f9fbfd;padding:1rem;min-height:250px}.automation-list button{display:block;text-align:left;width:100%;margin:.45rem 0}.automation-canvas{overflow:auto;min-height:600px;text-align:center}.automation-tree{display:flex;flex-direction:column;align-items:center;min-width:max-content}.automation-node{width:240px;display:flex;flex-direction:column;text-align:left;gap:.3rem;padding:.8rem 1rem;border:1px solid #9ebacb;border-radius:14px;background:#fff;box-shadow:0 2px 8px #20334c12;color:#183349}.automation-node small{font-size:.65rem;letter-spacing:.12em;color:#087aa4;font-weight:700}.automation-node strong{font-size:1rem}.automation-node span{font-size:.8rem;color:#627184;overflow-wrap:anywhere}.automation-slot{display:flex;flex-direction:column;align-items:center}.automation-wire{height:23px;width:2px;background:#89aabd}.automation-plus{width:30px;height:30px;border-radius:50%;border:2px solid #158bb8;background:#fff;color:#08759e;font-size:1.3rem;line-height:1}.automation-slot>.automation-tree{margin-top:20px}.automation-branches{display:flex;gap:32px;margin-top:8px;border-top:2px solid #89aabd;padding-top:5px}.automation-arm{min-width:250px;display:flex;flex-direction:column;align-items:center}.automation-branch-label{font-size:.75rem;color:#587084}.automation-editor h2{margin:.1rem 0 1rem;font-size:1.15rem}.automation-field{margin:.7rem 0;text-align:left}.automation-field textarea{min-height:95px;resize:vertical}.automation-chooser{display:grid;gap:.5rem}.automation-choose{text-align:left}.automation-rule{border:1px solid #d4dee7;padding:.6rem;border-radius:9px;margin:.8rem 0}.automation-delete{color:#9b2c2c!important}.automation-test{margin-top:1rem;border:1px solid #d4dee7;border-radius:14px;padding:1rem;background:#f9fbfd}.automation-test textarea{width:100%;min-height:130px;font:12px/1.4 ui-monospace,monospace}.automation-test-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.automation-test pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#eaf0f5;padding:1rem;border-radius:8px;max-height:28rem;overflow-y:auto}.automation-status{min-height:1.5em;color:#315b71}@media(max-width:1000px){.automation-layout{grid-template-columns:1fr}.automation-test-grid{grid-template-columns:1fr}.automation-canvas{min-height:350px}}

/* Dedicated editor workspace: the public header/footer never occupy the canvas. */
html:has(.automation-workspace-page),body.automation-workspace-page{height:100%;margin:0}
body.automation-workspace-page{overflow:hidden;background:#edf3f7}
.automation-workspace-page .automation-shell{box-sizing:border-box;width:100%;max-width:none;height:100dvh;min-height:0;margin:0;padding:0;display:flex;flex-direction:column;overflow:hidden}
.automation-workspace-bar{display:flex;align-items:center;gap:.75rem;min-height:64px;padding:.5rem 1rem;background:#fff;border-bottom:1px solid #d4dee7;flex-wrap:wrap}
.automation-workspace-bar .automation-back{color:#164e72;text-decoration:none;font-weight:700;white-space:nowrap;margin-right:.5rem}
.automation-workspace-bar .automation-back:hover,.automation-workspace-bar .automation-back:focus-visible{text-decoration:underline}
.automation-workspace-bar label{display:flex;align-items:center;gap:.4rem;font-size:.8rem;color:#4c6176}
.automation-workspace-bar .automation-title-label{flex:1;min-width:180px}
.automation-workspace-bar input{width:100%;min-width:160px;font-size:1rem;font-weight:700}
.automation-workspace-bar button,.automation-workspace-bar .automation-test-link{background:#fff;border:1px solid #bac7d5;border-radius:9px;padding:.6rem .85rem;color:#1b3047;text-decoration:none;white-space:nowrap;cursor:pointer}
.automation-workspace-bar button:hover,.automation-workspace-bar .automation-test-link:hover{background:#edf7fc;border-color:#157ba6}
.automation-workspace-tools{flex:0 0 auto;margin:0;padding:.45rem 1rem;background:#f9fbfd;border-bottom:1px solid #d4dee7;align-items:center}
.automation-workspace-tools label{flex-direction:row;align-items:center}
.automation-workspace-tools [data-automation-school]{width:230px}
.automation-workspace-tools [data-automation-version]{margin-left:auto;font-size:.76rem;color:#587084}
.automation-workspace-page .automation-status{flex:0 0 auto;min-height:1.25rem;margin:0;padding:.2rem 1rem;font-size:.8rem;background:#edf3f7}
.automation-workspace-page .automation-layout{flex:1;min-height:0;width:100%;grid-template-columns:190px minmax(0,1fr) 300px;gap:0;align-items:stretch}
.automation-workspace-page .automation-list,.automation-workspace-page .automation-canvas,.automation-workspace-page .automation-editor{min-height:0;max-height:100%;height:100%;box-sizing:border-box;border:0;border-radius:0;overflow:auto}
.automation-workspace-page .automation-list{border-right:1px solid #d4dee7}
.automation-workspace-page .automation-editor{border-left:1px solid #d4dee7}
.automation-workspace-page .automation-canvas{background:#f3f7fa;padding:2rem;overflow:auto}
.automation-workspace-page .automation-tests{display:none;position:fixed;z-index:20;inset:64px 0 0 auto;width:min(860px,100vw);box-sizing:border-box;padding:1rem;overflow:auto;background:#fff;border-left:1px solid #d4dee7;box-shadow:-10px 0 30px #20334c25}
.automation-workspace-page .automation-tests:target{display:block}
.automation-tests-close{display:inline-block;margin-bottom:.25rem;color:#164e72}
@media(max-width:900px){body.automation-workspace-page{overflow:auto}.automation-workspace-page .automation-shell{height:auto;min-height:100dvh;overflow:visible}.automation-workspace-page .automation-layout{display:flex;flex-direction:column;min-height:70dvh}.automation-workspace-page .automation-list{max-height:170px;border-right:0;border-bottom:1px solid #d4dee7}.automation-workspace-page .automation-canvas{min-height:60dvh}.automation-workspace-page .automation-editor{max-height:45dvh;border-left:0;border-top:1px solid #d4dee7}.automation-workspace-page .automation-tests{inset:0;width:100vw}}
.automation-workspace-page .automation-workspace-tools[hidden]{display:none}
.automation-workspace-page .automation-layout{grid-template-columns:minmax(0,1fr) 300px}
.automation-workspace-bar [data-automation-version]{font-size:.72rem;color:#587084;white-space:nowrap}
.automation-workspace-bar button:disabled{opacity:.6;cursor:not-allowed;background:#edf1f3}
.automation-workspace-page .automation-tests>[data-automation-publish]{margin:.3rem 0 .8rem;padding:.6rem .85rem;border:1px solid #bac7d5;border-radius:9px;background:#fff;color:#1b3047;cursor:pointer}
.automation-workspace-page .automation-editor-shell{display:flex;flex-direction:column;min-height:0;max-height:100%;height:100%;border-left:1px solid #d4dee7;background:#f9fbfd}
.automation-workspace-page .automation-editor-shell>.automation-test-link{display:block;flex:0 0 auto;padding:.8rem 1rem;border-bottom:1px solid #d4dee7;color:#164e72;font-weight:700}
.automation-workspace-page .automation-editor{flex:1;min-height:0;height:auto;border-left:0}
@media(max-width:900px){.automation-workspace-page .automation-editor-shell{max-height:45dvh;border-top:1px solid #d4dee7;border-left:0}}

/* Keep editor controls usable on touch screens without changing canvas layout. */
.automation-shell button,.automation-workspace-bar button{min-height:44px}
.automation-toolbar input,.automation-toolbar select,.automation-field input,.automation-field select,.automation-field textarea{box-sizing:border-box;min-width:0;min-height:44px}
.automation-plus{min-width:44px;width:44px;height:44px}

/* The HighLevel builder's visual grammar, with our supported mock-only controls. */
body.automation-workspace-page{padding-top:0;background:#f8f9fc}
.automation-workspace-page main.automation-shell{height:100dvh;min-height:0;padding:0;overflow:hidden}
.automation-workspace-bar{box-sizing:border-box;flex:0 0 auto;display:grid;grid-template-columns:1fr minmax(180px,320px) 1fr;gap:1rem;min-height:68px;padding:.55rem 1.25rem;background:#fff;border-bottom:1px solid #e4e8ee}
.automation-workspace-bar .automation-back{justify-self:start;margin:0;color:#172338;font-size:.9rem}
.automation-workspace-bar .automation-title-label{justify-self:center;width:100%;min-width:0}
.automation-workspace-bar input{box-sizing:border-box;width:100%;min-width:0;max-width:320px;border:1px solid transparent;background:transparent;text-align:center;font-size:1rem;font-weight:700;color:#172338}
.automation-workspace-bar input:hover,.automation-workspace-bar input:focus-visible{border-color:#b5c7eb;background:#f7faff}
.automation-workspace-actions{justify-self:end;display:flex;gap:.5rem;align-items:center}
.automation-workspace-actions [data-automation-save]{background:#215ce6;border-color:#215ce6;color:#fff;font-weight:700}
.automation-workspace-actions [data-automation-save]:hover{background:#174bd0;border-color:#174bd0}
.automation-workspace-nav{box-sizing:border-box;flex:0 0 auto;display:flex;align-items:stretch;gap:1.1rem;min-height:48px;padding:0 1.25rem;border-bottom:1px solid #e4e8ee;background:#fff}
.automation-workspace-nav [aria-current=page]{display:flex;align-items:center;border-bottom:2px solid #215ce6;color:#215ce6;font-weight:700}
.automation-workspace-nav .automation-test-link{display:flex;align-items:center;margin-left:auto;padding:0 .75rem;color:#215ce6;text-decoration:none;font-weight:700}
.automation-workspace-nav .automation-test-link:hover,.automation-workspace-nav .automation-test-link:focus-visible{background:#f0f4ff}
.automation-workspace-nav small{display:flex;align-items:center;color:#687689;font-weight:600}
.automation-workspace-page .automation-status{position:fixed;z-index:15;left:1rem;bottom:1rem;max-width:min(520px,calc(100vw - 2rem));box-sizing:border-box;min-height:0;margin:0;padding:.65rem .8rem;border:1px solid #d5e2ed;border-radius:9px;background:#fff;box-shadow:0 6px 24px #102b4520;font-size:.8rem}
.automation-workspace-page .automation-status:empty{display:none}
.automation-workspace-page .automation-layout{display:block;position:relative;flex:1;min-height:0}
.automation-workspace-page .automation-canvas{box-sizing:border-box;width:100%;height:100%;min-height:0;max-height:none;padding:3rem 1.25rem;overflow:auto;background-color:#f8f9fc;background-image:radial-gradient(#dce2eb 1.1px,transparent 1.1px);background-size:24px 24px}
.automation-tree{min-width:max-content}
.automation-node{box-sizing:border-box;width:330px;min-height:76px;display:flex;flex-direction:row;align-items:center;gap:.75rem;padding:.8rem 1rem;border:1px solid #d8e0eb;border-radius:11px;box-shadow:0 2px 5px #1c315013;background:#fff}
.automation-node:hover,.automation-node:focus-visible{border-color:#6a97ed;box-shadow:0 0 0 3px #dce9ff}
.automation-node__icon{flex:0 0 42px;display:grid;place-items:center;width:42px;height:42px;border-radius:8px;background:#edf3ff;color:#2460dc;font-size:1.25rem;font-weight:700}
.automation-node[data-automation-node-type=email] .automation-node__icon{background:#e7f8ef;color:#10855f}
.automation-node[data-automation-node-type=condition] .automation-node__icon{background:#f1eaff;color:#7740c9}
.automation-node[data-automation-node-type=wait] .automation-node__icon{background:#fff2e5;color:#bb6c16}
.automation-node__content{display:flex;min-width:0;flex-direction:column;gap:.15rem;text-align:left}
.automation-node__content small{font-size:.68rem;letter-spacing:.08em;color:#2460dc}
.automation-node__content strong{font-size:.95rem;color:#243146}
.automation-node__content>span{max-width:240px;color:#687689;font-size:.82rem;overflow-wrap:anywhere}
.automation-wire{height:24px;width:1px;background:#aeb9c8}
.automation-plus{position:relative;box-sizing:border-box;width:44px;height:44px;min-height:44px;border:0;background:transparent;color:#526278;font-size:1.45rem}
.automation-plus:hover,.automation-plus:focus-visible{color:#215ce6;background:#e8efff;border-radius:50%}
.automation-end{display:inline-block;padding:.28rem .75rem;border-radius:999px;background:#d9dde4;color:#5b6572;font-size:.73rem;font-weight:700;letter-spacing:.04em}
.automation-slot--root>.automation-plus{width:330px;height:82px;border:2px dashed #81a6ed;border-radius:10px;background:#eef4ff;color:#215ce6;font-size:1rem;font-weight:700}
.automation-slot--root>.automation-plus:hover,.automation-slot--root>.automation-plus:focus-visible{background:#e0ebff;border-radius:10px}
.automation-slot>.automation-tree{margin-top:0}
.automation-branches{gap:1.5rem;margin-top:1rem;border-top:1px solid #aeb9c8;padding-top:.3rem}
.automation-arm{min-width:330px}
.automation-branch-label{padding:.25rem .6rem;border-radius:6px;background:#f0ebff;color:#6841a3;font-size:.75rem;font-weight:700}
.automation-workspace-page .automation-editor-shell{position:fixed;z-index:12;top:116px;right:0;bottom:0;width:min(520px,100vw);height:auto;max-height:none;display:block;border-left:1px solid #d8e0eb;background:#fff;box-shadow:-12px 0 30px #172b471f}
.automation-workspace-page .automation-editor-shell[hidden]{display:none!important}
.automation-workspace-page .automation-editor{display:flex;flex-direction:column;width:100%;height:100%;max-height:none;min-height:0;padding:0;border:0;background:#fff;text-align:left;overflow:hidden}
.automation-editor-header{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.25rem;border-bottom:1px solid #e4e8ee}
.automation-editor-header h2{margin:0;font-size:1.18rem;color:#243146}
.automation-editor-close{flex:0 0 44px;border:0!important;background:transparent!important;color:#657083!important;font-size:1.5rem}
.automation-editor-body{flex:1;min-height:0;padding:1rem 1.25rem 2rem;overflow:auto}
.automation-editor-body>.automation-field{margin:0 0 1rem}
.automation-field>span{font-weight:700;color:#3b485c}
.automation-field input,.automation-field select,.automation-field textarea{box-sizing:border-box;width:100%;min-height:44px;padding:.65rem .75rem;border:1px solid #cbd5e2;border-radius:7px}
.automation-field textarea{min-height:180px;line-height:1.5}
.automation-help{margin:.15rem 0 1rem;color:#66758a;font-size:.85rem;line-height:1.5}
.automation-rule{display:grid;gap:.6rem;margin:1rem 0;padding:1rem;border-color:#dce4ef;background:#fbfcfe}
.automation-rule strong{color:#25354b}
.automation-editor-body>button{margin:.35rem .4rem .35rem 0}
.automation-editor-footer{flex:0 0 auto;display:flex;justify-content:flex-end;gap:.6rem;padding:.85rem 1.25rem;border-top:1px solid #e4e8ee;background:#fff}
.automation-editor-footer .automation-editor-done{min-width:90px;background:#215ce6;color:#fff;border-color:#215ce6;font-weight:700}
.automation-editor-footer .automation-editor-done:hover{background:#174bd0}
.automation-choose{min-height:52px;text-align:left}
.automation-chooser{grid-template-columns:1fr 1fr}
.automation-workspace-page .automation-tests{top:116px;inset:116px 0 0 auto}
@media(min-width:901px){.automation-layout:has(.automation-editor-shell:not([hidden])) .automation-canvas{padding-right:calc(min(520px,40vw) + 1.25rem)}}
@media(max-width:900px){body.automation-workspace-page{overflow:hidden}.automation-workspace-page .automation-shell{height:100dvh;min-height:0;overflow:hidden}.automation-workspace-page .automation-layout{display:block;min-height:0}.automation-workspace-page .automation-canvas{height:100%;min-height:0}.automation-workspace-page .automation-editor-shell{top:0;bottom:0;width:min(520px,100vw);max-height:none;height:auto;border-top:0;border-left:1px solid #d8e0eb}.automation-workspace-page .automation-tests{inset:0;width:100vw}}
@media(max-width:600px){.automation-workspace-bar{grid-template-columns:1fr auto;gap:.2rem .5rem;padding:.35rem .65rem}.automation-workspace-bar .automation-back{grid-column:1;grid-row:1;font-size:.8rem}.automation-workspace-actions{grid-column:2;grid-row:1;gap:.25rem}.automation-workspace-actions button{padding:.5rem .55rem;font-size:.75rem}.automation-workspace-bar .automation-title-label{grid-column:1/-1;grid-row:2}.automation-workspace-bar input{max-width:none;min-height:36px}.automation-workspace-nav{min-height:44px;padding:0 .65rem}.automation-workspace-nav small{display:none}.automation-workspace-page .automation-canvas{padding:2rem .75rem}.automation-node,.automation-slot--root>.automation-plus{width:290px}.automation-arm{min-width:290px}.automation-chooser{grid-template-columns:1fr}.automation-editor-header,.automation-editor-body,.automation-editor-footer{padding-left:1rem;padding-right:1rem}}
@media(max-width:600px){.automation-shell:has(.automation-editor-shell:not([hidden])) .automation-status{z-index:5}}

.automation-time-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.automation-advanced{border-top:1px solid #e5e7eb;padding:16px 0;margin-top:16px}
.automation-advanced summary{cursor:pointer;font-weight:600;margin-bottom:12px}
.automation-condition-branch{border:1px solid #dce2e9;border-radius:8px;padding:14px;margin:16px 0}
.automation-chooser button[hidden]{display:none}

/* Real workflow monitoring: one enrollment per row, or actions across contacts. */
.automation-workspace-page .automation-layout[hidden],.workflow-monitor[hidden],.automation-canvas-controls[hidden]{display:none!important}
.automation-workspace-nav{overflow-x:auto;gap:1rem}
.automation-workspace-nav>button{flex:none;border:0;border-bottom:2px solid transparent;background:#fff;padding:0 .35rem;color:#536175;font:inherit;font-size:.88rem;white-space:nowrap}
.automation-workspace-nav>button:focus-visible,.workflow-monitor button:focus-visible,.workflow-monitor input:focus-visible,.workflow-monitor select:focus-visible{outline:3px solid #215ce6;outline-offset:2px}
.automation-workspace-nav .automation-test-link{flex:none;white-space:nowrap}
.workflow-monitor{flex:1;min-height:0;overflow:auto;background:#f8fafb;padding:24px clamp(16px,3vw,44px);color:#253448}
.workflow-monitor h2{font-size:1.45rem;margin:0 0 8px}.workflow-monitor h3{font-size:1.05rem;margin:0 0 12px}.workflow-monitor p{font-size:.9rem;line-height:1.6;margin:8px 0 16px}
.workflow-monitor button{border:1px solid #bdc9d5;background:#fff;border-radius:7px;color:#23415a;padding:8px 12px;min-height:40px;font:inherit;font-size:.85rem}.workflow-monitor button:hover{background:#edf4f5}.workflow-monitor button:disabled{opacity:.5;cursor:default}
.workflow-history-filters{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:24px 0 12px}.workflow-monitor label{display:flex;flex-direction:column;gap:6px;font-size:.8rem;font-weight:600}.workflow-monitor input,.workflow-monitor select{max-width:100%;min-width:0;border:1px solid #bac7d1;border-radius:7px;background:#fff;padding:10px;color:#26364a;font:inherit;font-size:.9rem}
.workflow-history-table-wrap{overflow:auto;border:1px solid #dce3e7;border-radius:10px;background:white}.workflow-history-table-wrap>p{padding:20px}.workflow-history-table{width:100%;border-collapse:collapse;min-width:850px;text-align:left}.workflow-history-table th{font-size:.77rem;font-weight:600;background:#f0f4f6;white-space:nowrap}.workflow-history-table th,.workflow-history-table td{padding:14px 16px;border-bottom:1px solid #e6ebef;vertical-align:top}.workflow-history-table td{font-size:.86rem;max-width:300px;overflow-wrap:anywhere}.workflow-history-table small{display:block;color:#637487;margin-top:5px}.workflow-history-table tr.is-selected{background:#edf5f3}.workflow-history-table tr:last-child td{border-bottom:0}
.workflow-status{display:inline-block;font-weight:600;border-radius:30px;padding:5px 9px;background:#edf1f4;color:#48596b;white-space:nowrap;font-size:.77rem}.workflow-status-completed,.workflow-status-delivered{background:#deefe5;color:#24593b}.workflow-status-waiting,.workflow-status-queued,.workflow-status-pending{background:#e5eefc;color:#284f86}.workflow-status-failed{background:#fbe2e0;color:#942f29}.workflow-status-blocked,.workflow-status-reconcile{background:#fff0cf;color:#78520a}
.workflow-history-pager,.workflow-detail-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:18px 0;font-size:.85rem}.workflow-history-pager label{flex-direction:row;align-items:center}.workflow-history-notice{color:#5a6c7b}
.workflow-history-detail{background:#fff;border:1px solid #c6d6d0;border-radius:12px;padding:24px;margin:20px 0}.workflow-history-detail[hidden]{display:none}.workflow-history-detail dl{display:grid;grid-template-columns:170px minmax(0,1fr);gap:10px;font-size:.9rem}.workflow-history-detail dt{color:#617184}.workflow-history-detail dd{margin:0;overflow-wrap:anywhere}.workflow-result-note{border-left:3px solid #c99b30;padding:10px 14px;background:#fff7e4}.workflow-history-detail h4{margin-top:20px}.workflow-history-detail p{white-space:pre-wrap;overflow-wrap:anywhere}
.workflow-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0}.workflow-setting-card{padding:24px;border:1px solid #dce3e7;border-radius:12px;background:#fff}.workflow-setting-card p{color:#627284;font-size:.85rem}.workflow-setting-card .workflow-check{flex-direction:row;align-items:flex-start;font-size:.9rem;margin-top:18px}.workflow-check input{width:18px;height:18px;flex:none;margin:2px 5px 0 0}
.automation-value-row{display:flex;align-items:end;gap:8px}.automation-value-row>.automation-field{flex:1;min-width:0}.automation-value-row>button{margin-bottom:.7rem;flex:none}
@media(max-width:700px){.workflow-settings-grid{grid-template-columns:1fr}.workflow-history-filters>label{flex:1 1 180px}.workflow-history-detail dl{grid-template-columns:1fr;gap:4px}.workflow-history-detail dd{margin-bottom:12px}.workflow-monitor{padding:20px 14px}.automation-workspace-nav{gap:.8rem}}
.automation-editor-footer{gap:12px}

/* Continuous branch connectors: parent stem, horizontal junction, child stems. */
.automation-node{width:240px;min-height:68px;border-radius:7px;padding:12px;gap:10px}
.automation-node__icon{flex-basis:32px;width:32px;height:32px}
.automation-node__content strong{font-size:13px}.automation-node__content small{font-size:10px}.automation-node__content>span{font-size:12px;max-width:174px}
.automation-branches{position:relative;gap:20px;margin-top:0;padding-top:42px;border:0}
.automation-branches::before{content:"";position:absolute;top:0;left:50%;height:21px;border-left:1px solid #bdc4cf}
.automation-arm{position:relative;min-width:240px}
.automation-arm::before{content:"";position:absolute;top:-21px;left:-10px;right:-10px;border-top:1px solid #bdc4cf}
.automation-arm:first-child::before{left:50%;border-top-left-radius:10px}
.automation-arm:last-child::before{right:50%;border-top-right-radius:10px}
.automation-arm::after{content:"";position:absolute;top:-21px;height:21px;left:50%;border-left:1px solid #bdc4cf}
.automation-branch-label{box-sizing:border-box;width:240px;min-height:64px;display:flex;flex-direction:column;justify-content:center;gap:5px;padding:10px;background:#fff;border:1px solid #e4e7ed;border-bottom:3px solid #a16aff;border-radius:7px}
.automation-branch-label strong{font-size:12px;color:#8242d3}
.automation-branch-label span{font-size:11px;font-weight:400;color:#566172}
.automation-wire{position:relative;height:40px;background:#bdc4cf}
.automation-edge-plus{position:absolute!important;left:50%;top:50%;transform:translate(-50%,-50%);border:0!important;background:#f8f9fc!important;color:#6b7380!important;width:22px;height:22px;min-height:22px!important;padding:0;line-height:20px;font-size:17px}
.automation-diagram{width:max-content;min-width:100%}
.automation-canvas-controls{position:fixed;left:16px;bottom:100px;z-index:8;display:grid;background:#fff;border:1px solid #d9dfe7;border-radius:8px;box-shadow:0 2px 8px #21304712;text-align:center}
.automation-canvas-controls button{border:0;border-bottom:1px solid #edf0f4;background:#fff;padding:8px 12px;color:#516179}
.automation-canvas-controls span{padding:8px;font-size:12px}
@media(max-width:600px){.automation-node,.automation-arm,.automation-branch-label{width:240px;min-width:240px}}

.workflow-history-table .workflow-step-outcome{color:#354b5c;line-height:1.5;min-width:180px}.workflow-history-table .workflow-execution-state{white-space:nowrap;font-weight:600}
