.workflow-designer-nav{display:flex;align-items:center;gap:10px;width:100%;border:0;background:transparent;text-align:left;font:inherit;cursor:pointer}.workflow-designer-nav:hover,.workflow-designer-nav:focus-visible{background:#eaf3ec;outline:2px solid transparent}
.business-workflow-designer{box-sizing:border-box;width:min(1080px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;color:#203b32;font:inherit}.business-workflow-designer h3{margin:0;font-size:15px}.business-workflow-designer p{margin:0;line-height:1.55}.bwd-step-heading p,.bwd-hint{color:#66796d;font-size:13px}
.business-workflow-designer>.portal-content{padding:0}
.bwd-layout{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:360px;max-height:min(65dvh,710px);overflow:auto}.bwd-layout aside{padding:22px 16px 22px 24px;border-right:1px solid #e3ebe5;background:#fbfdfb}.bwd-aside-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.bwd-layout aside h3{margin:24px 0 10px}.bwd-flow-list,.bwd-template-list{display:grid;gap:7px}.bwd-flow-item,.bwd-template{display:grid;gap:4px;width:100%;padding:11px 12px;border:1px solid #dce8e0;border-radius:9px;background:#fff;text-align:left;color:#244736;font:inherit;font-size:13px;cursor:pointer}.bwd-flow-item small,.bwd-template small{font-size:11px;color:#6c7d71;line-height:1.45}.bwd-template:disabled{opacity:.5;cursor:not-allowed}.bwd-empty{list-style:none;margin:6px 0;color:#728276;font-size:13px;line-height:1.5}
.bwd-editor{padding:24px 28px 26px;min-width:0}.bwd-fields{display:grid;grid-template-columns:minmax(180px,2fr) 100px minmax(160px,1.2fr);gap:12px}.bwd-fields label{display:grid;gap:6px;color:#526c5c;font-size:12px;font-weight:600}.bwd-fields input,.bwd-fields select,.bwd-add select{box-sizing:border-box;width:100%;min-width:0;padding:10px 11px;border:1px solid #cdded2;border-radius:8px;background:#fff;color:#203b32;font:inherit;font-size:13px}.bwd-fields input:read-only{background:#f5f8f5}.bwd-hint{margin-top:9px!important}.bwd-step-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:26px 0 12px}.bwd-step-heading p{margin-top:5px}.bwd-add{display:flex;gap:7px;min-width:280px}.bwd-add select{max-width:260px}.business-workflow-designer :is(.bwd-layout,footer) button{border:1px solid #bfd8c6;border-radius:8px;padding:8px 11px;background:#fff;color:#23523a;font:inherit;font-size:12px;cursor:pointer}.business-workflow-designer :is(.bwd-layout,footer) button:hover:not(:disabled){background:#eaf4ed}.business-workflow-designer :is(.bwd-layout,footer) button:disabled{opacity:.5;cursor:not-allowed}.business-workflow-designer :is(.bwd-layout,footer) button.primary{background:#246b46;color:#fff;border-color:#246b46}.business-workflow-designer :is(.bwd-layout,footer) button.primary:hover:not(:disabled){background:#175536}
.bwd-steps{display:grid;gap:9px;list-style:none;margin:0;padding:0}.bwd-step{display:flex;align-items:center;gap:12px;padding:11px 13px;border:1px solid #dfe9e1;border-radius:10px;background:#fbfdfb}.bwd-step-number{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;background:#e2efe6;color:#246b46;font-size:12px;font-weight:700}.bwd-step-copy{display:grid;gap:3px;min-width:0;flex:1}.bwd-step-copy strong{font-size:13px}.bwd-step-copy small{overflow:hidden;text-overflow:ellipsis;color:#728075;font-size:11px}.bwd-step-controls{display:flex;gap:5px}.bwd-warning{margin-top:13px!important;padding:10px 12px;border:1px solid #efd9a7;border-radius:8px;background:#fff9ea;color:#775b20;font-size:12px}.bwd-review{margin-top:18px;padding:14px;border:1px solid #b9dec4;border-radius:10px;background:#f1faf3}.bwd-review strong{color:#246b46}.bwd-review p{margin:7px 0!important;font-size:13px}.bwd-review small{word-break:break-all;color:#6c7d71;font-size:11px}.bwd-status{min-height:22px;margin-top:16px!important;color:#5d7263;font-size:13px}.bwd-status[data-tone=error]{color:#ad3e31}.bwd-status[data-tone=success]{color:#237044}
.business-workflow-designer>footer{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 28px;border-top:1px solid #e3ebe5;background:#f8fbf8}.business-workflow-designer>footer>span{color:#66796d;font-size:12px}.business-workflow-designer>footer>div{display:flex;gap:8px;flex-wrap:wrap}
.business-workflow-designer.portal-maximized .bwd-layout{flex:1;min-height:0;max-height:none}
@media(max-width:800px){.bwd-layout{grid-template-columns:1fr;max-height:calc(100dvh - 150px)}.bwd-layout aside{border-right:0;border-bottom:1px solid #e3ebe5}.bwd-flow-list,.bwd-template-list{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}.bwd-fields{grid-template-columns:1fr 90px}.bwd-fields label:last-child{grid-column:1/-1}.bwd-step-heading{display:grid}.bwd-add{min-width:0}.business-workflow-designer>footer{align-items:start;flex-direction:column}.bwd-editor{padding:20px}}

/* Desktop business paths read left to right; legacy runtime styles are retained. */
.business-workflow-designer{width:min(1480px,calc(100vw - 48px))}
.bpd-center{container-type:inline-size}
.business-workflow-designer .bpd-node-button{grid-template-columns:18px minmax(0,1fr);gap:6px;padding:10px 8px}.business-workflow-designer .bpd-node-button svg{width:18px;height:18px}
.business-workflow-designer .bpd-layout{grid-template-rows:minmax(0,1fr)}.business-workflow-designer .bpd-layout>aside,.business-workflow-designer .bpd-center{min-height:0}.business-workflow-designer .bwd-tabs{flex:none}.business-workflow-designer .bpd-library{display:flex;flex-direction:column;overflow:hidden}.business-workflow-designer .bpd-library>[data-library]{flex:1;min-height:0;overflow:auto;scrollbar-width:thin}.business-workflow-designer .bpd-library>h3,.business-workflow-designer .bpd-library>input,.business-workflow-designer .bpd-library>[data-manage]{flex:none}.business-workflow-designer .bpd-path-viewport{box-sizing:border-box;min-height:100%;height:100%;display:flex;align-items:center;padding-top:40px;padding-bottom:100px}
.business-workflow-designer .bpd-path{gap:24px}.business-workflow-designer .bpd-path>li:not(:last-child)::after{width:24px}.business-workflow-designer .bpd-node-button{width:clamp(100px,calc((100cqw - 290px)/4),146px)}.business-workflow-designer .bpd-terminal{box-sizing:border-box;min-width:54px;padding:9px 13px}.business-workflow-designer .bpd-path-viewport{padding-left:20px;padding-right:20px}.business-workflow-designer [data-runs]{overflow:auto;min-height:0;flex:1}
.business-workflow-designer:has(.bpd-layout){width:min(1600px,calc(100vw - 48px));height:min(900px,calc(100dvh - 48px));display:flex;flex-direction:column;background:#fff}
.business-workflow-designer:has(.bpd-layout)>.portal-content{display:flex;flex-direction:column;overflow:hidden;flex:1;padding:0}
.business-workflow-designer [data-design]{display:flex;flex-direction:column;flex:1;min-height:0}
.bpd-toolbar{display:flex;align-items:center;gap:12px;padding:14px 20px;border-bottom:1px solid #e3ebe5;flex-wrap:wrap;flex:none}
.bpd-toolbar [data-name]{flex:1;min-width:180px;font-size:17px;font-weight:600;border-color:transparent}.bpd-toolbar [data-flows]{max-width:250px}.bpd-toolbar input,.bpd-toolbar select,.bpd-library input,.bpd-inspector input,.bpd-inspector select,.bpd-settings input,.bpd-settings select{box-sizing:border-box;border:1px solid #d3dfd8;background:#fff;border-radius:5px;padding:9px;font:inherit;color:inherit;min-width:0}.bpd-toolbar button,.bpd-layout button{border:1px solid #cfddd5;border-radius:5px;padding:8px 11px;background:#fff;color:#245d43;font:inherit;font-size:13px;cursor:pointer}.bpd-layout button:disabled{opacity:.5;cursor:not-allowed}
.bpd-layout{display:grid;grid-template-columns:235px minmax(0,1fr) 285px;min-height:0;flex:1}.bpd-library,.bpd-inspector{padding:20px;overflow:auto;scrollbar-width:thin}.bpd-library{border-right:1px solid #e3ebe5}.bpd-inspector{border-left:1px solid #e3ebe5}.bpd-library>input{width:100%;font-size:12px;margin:16px 0 4px}.bpd-library h4{font-size:12px;color:#6c7d73;margin:20px 0 10px}.bpd-library-node{display:flex;align-items:center;width:100%;gap:8px;text-align:left;margin:6px 0}.bpd-library-node svg{width:18px;height:18px;stroke:#436651;fill:none;stroke-width:1.5}.bpd-plugin-tile{display:grid;width:100%;margin:10px 0;padding:12px!important;gap:6px;text-align:left;border:1px solid #dce5df;border-radius:6px;background:white}.bpd-plugin-tile svg{width:25px;height:25px;stroke:#2b7151;fill:none;stroke-width:1.5}.bpd-plugin-tile strong{font-size:13px}.bpd-plugin-tile small{font-size:11px;color:#697d71}.bpd-plugin-tile summary{font-size:13px;cursor:pointer}.bpd-library>[data-manage]{margin-top:18px;border:0;color:#26744f;padding:0}
.bpd-center{min-width:0;display:flex;flex-direction:column;background:#fafcfb}.bpd-settings{padding:10px 16px;flex:none;border-bottom:1px solid #e3ebe5;background:white;font-size:12px;color:#63786c}.bpd-settings summary{cursor:pointer}.bpd-settings label{display:inline-flex;gap:6px;align-items:center;margin:12px 12px 4px 0}.bpd-canvas{flex:1;min-height:0;overflow:auto;position:relative;background-image:radial-gradient(#dbe6df .7px,transparent .7px);background-size:16px 16px}.bpd-path-viewport{overflow:auto;min-height:340px;padding:120px 26px 95px;scrollbar-width:thin}.bpd-path{display:flex;align-items:center;gap:40px;list-style:none;margin:0;padding:0;width:max-content;min-width:100%;box-sizing:border-box}.bpd-path>li{position:relative;flex:none}.bpd-path>li:not(:last-child)::after{content:'→';position:absolute;left:100%;width:40px;top:50%;transform:translateY(-50%);text-align:center;font-size:19px;color:#8b9c92}.bpd-terminal{border:1px solid #3c8562;background:#edf6f0;border-radius:24px;padding:10px 18px;font-size:13px;white-space:nowrap}.bpd-node-button{display:grid;grid-template-columns:22px 1fr;gap:6px 10px;width:146px;min-height:86px;text-align:left;box-shadow:0 2px 4px #27463808}.bpd-node-button svg{width:20px;height:20px;stroke:#3e6050;fill:none;stroke-width:1.5;grid-row:1/3;align-self:center}.bpd-node-button strong{font-size:13px;align-self:end}.bpd-node-button small{font-size:11px;color:#6b8073;grid-column:2}.bpd-node-button[aria-pressed=true]{border-color:#28724e;background:#f4faf6;box-shadow:0 0 0 1px #28724e}.bpd-reject-branch{position:absolute;left:50%;top:100%;display:flex;flex-direction:column;align-items:center;transform:translateX(-50%);font-size:11px;color:#b44848;padding-top:26px;gap:9px}.bpd-reject-branch::before{content:'';width:1px;background:#c96767;height:25px;position:absolute;top:0}.bpd-reject-end{border:1px solid #d99898;background:#fff8f8;border-radius:22px;padding:7px 13px;white-space:nowrap}.bpd-empty{position:absolute;left:24px;bottom:26px;color:#7b8d82;font-size:13px}.bpd-canvas-footer{padding:13px 20px;display:flex;justify-content:space-between;border-top:1px solid #e3ebe5;color:#7a8a80;font-size:11px;gap:10px}.bpd-inspector h3{font-size:16px;margin-bottom:22px}.bpd-inspector h4{font-size:13px;margin:26px 0 12px}.bpd-inspector label{display:flex;flex-direction:column;gap:8px;font-size:13px;margin:14px 0}.bpd-inspector button{margin:12px 5px 0 0;font-size:12px}.bpd-field-chip{font-size:12px;padding:7px 10px;border:1px solid #e1e9e4;border-radius:5px;margin:7px 0!important;background:#fafcfb}.bpd-result{font-size:12px;margin:10px 0!important}.bpd-result.rejected{color:#b45050}.bpd-run-row{display:block;width:100%;text-align:left;margin:10px 0}.business-workflow-designer>.portal-status{padding:10px 22px;font-size:12px;border-top:1px solid #e3ebe5}.business-workflow-designer .bpd-layout [hidden]{display:none!important}.business-workflow-designer.portal-maximized .bpd-layout{flex:1;min-height:0;max-height:none}
@media(max-width:1100px){.bpd-layout{grid-template-columns:190px minmax(0,1fr) 230px}.bpd-library,.bpd-inspector{padding:15px}.bpd-path-viewport{padding-left:20px}.bpd-toolbar [data-flows]{max-width:190px}}
@media(max-width:800px){.business-workflow-designer:has(.bpd-layout){width:calc(100vw - 20px);height:calc(100dvh - 20px)}.business-workflow-designer:has(.bpd-layout)>.portal-content{overflow:auto}.bpd-layout{display:flex;flex-direction:column;overflow:visible}.bpd-library{border-bottom:1px solid #e3ebe5;border-right:0;max-height:230px;flex:none}.bpd-library [data-library]{display:flex;gap:12px;flex-wrap:wrap}.bpd-library-node,.bpd-plugin-tile{width:auto;min-width:130px}.bpd-library h4{width:100%}.bpd-center{min-height:400px;flex:none}.bpd-inspector{border-left:0;border-top:1px solid #e3ebe5;flex:none;overflow:visible}.bpd-toolbar [data-name]{flex-basis:100%}.bpd-path-viewport{padding-top:70px}.bpd-canvas-footer{flex-wrap:wrap}}
.business-workflow-designer [hidden]{display:none!important}
.business-workflow-designer>.portal-content{overflow:auto;min-height:0}
.bwd-tabs{display:flex;gap:8px;padding:12px 22px;border-bottom:1px solid #e3ebe5;background:#fff}
.bwd-tabs button,.bwd-runs button{font:inherit;font-size:13px;border:1px solid #bfd8c6;border-radius:8px;padding:9px 12px;background:#fff;color:#23523a;cursor:pointer}
.bwd-tabs button[aria-pressed=true]{background:#e2efe6;border-color:#246b46;font-weight:600}
.business-workflow-designer button:focus-visible,.business-workflow-designer :is(input,select,textarea,summary):focus-visible{outline:2px solid #246b46;outline-offset:3px}
.bwd-layout{grid-template-columns:205px minmax(0,1fr);max-height:none;overflow:visible;min-height:420px}
.bwd-layout aside{padding:20px 14px}.bwd-editor{padding:22px;min-width:0}
.bwd-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.bwd-title h3{font-size:19px}.bwd-badge{display:inline-block;border-radius:6px;padding:3px 7px;background:#eaf3ec;font-size:12px;color:#23523a}
.bwd-settings{margin-bottom:18px;padding:10px 12px;border:1px solid #e3ebe5;border-radius:8px}
.bwd-settings summary,.bwr-more summary,.bwr-history summary{cursor:pointer;font-size:13px;color:#526c5c}.bwd-settings .bwd-fields{margin-top:12px}
.bwd-canvas{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;align-items:start}
.bwd-path-viewport{min-width:0;overflow-x:auto;padding:12px 4px 48px;scrollbar-width:thin}
.bwd-path-viewport:focus-visible{outline:2px solid #246b46;outline-offset:2px}
.bwd-path{display:flex;flex-direction:row;align-items:center;list-style:none;padding:0;margin:0;gap:36px;min-width:940px}
.bwd-path>li{position:relative;margin:0;min-width:0;flex:1 0 140px}
.bwd-path>li.bwd-terminal{box-sizing:border-box;flex:0 0 100px}
.bwd-path>li:not(:last-child)::after{content:'→';position:absolute;top:50%;left:100%;transform:translateY(-50%);width:36px;text-align:center;color:#71877a;font-size:20px;pointer-events:none}
.bwd-terminal{padding:9px 12px;border:1px solid #b8d2c0;border-radius:22px;background:#f1f7f3;text-align:center;font-size:13px;line-height:1.5}
.bwd-node{box-sizing:border-box;display:grid;gap:7px;border:1px solid #d5e4da;border-radius:10px;background:#fff;padding:13px;min-height:132px}
.bwd-node small{font-size:12px;color:#617669;line-height:1.5}.bwd-node strong{font-size:14px}
.bwd-node:has(.bwd-node-button){padding:0}
.business-workflow-designer .bwd-layout .bwd-node-button{display:grid;grid-template-columns:28px minmax(0,1fr);gap:7px 10px;width:100%;min-height:130px;padding:13px;text-align:left;border:0;background:#fff;white-space:normal}
.bwd-node-button small{grid-column:1/-1}.bwd-node-button strong{align-self:center}
.business-workflow-designer .bwd-layout .bwd-node-button[aria-pressed=true]{background:#f0f8f3;box-shadow:inset 0 0 0 2px #246b46}
.business-workflow-designer .bwd-layout .bwd-insert{position:absolute;top:calc(50% + 22px);right:-32px;width:28px;height:28px;padding:0;border-radius:50%;font-size:18px;line-height:1}
.bwd-inspector{padding:18px;border:1px solid #dfe9e1;border-radius:10px;background:#fbfdfb;display:flex;flex-wrap:wrap;gap:12px;min-width:0}
.bwd-inspector :is(h3,p,details){width:100%}.bwd-inspector p{font-size:13px}.bwd-inspector details{overflow-wrap:anywhere;font-size:12px}
.bwd-picker-action{display:grid;gap:6px;width:100%;padding:12px;margin-bottom:8px;border:1px solid #d5e4da;border-radius:8px;background:#fff;text-align:left;color:#23523a;cursor:pointer;font:inherit;font-size:14px}
.bwd-picker-action small{font-size:12px;color:#617669}.bwd-picker-action:disabled{opacity:.6;cursor:not-allowed}
.bwd-status{padding:12px 22px;margin:0!important;border-top:1px solid #e3ebe5;overflow-wrap:anywhere}
.bwd-runs{padding:20px 22px}.bwr-toolbar{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.business-workflow-runner .bwd-runs{background:#fff}.business-workflow-runner .bwr-toolbar{justify-content:flex-end}.business-workflow-runner :is(.bwr-quote-form,.bwr-operation)>button{justify-self:start}.business-workflow-runner :is(button,input,select,textarea):focus-visible{outline:2px solid #246b46;outline-offset:3px}
.business-workflow-runner .bwd-path-viewport{overflow-x:auto;overflow-y:hidden}.business-workflow-runner .bwd-path{flex-direction:row;align-items:center;min-width:940px;max-width:none;margin:0}.business-workflow-runner .bwd-path>li{flex:1 0 140px}.business-workflow-runner .bwd-path>li.bwd-terminal{flex:0 0 100px}.business-workflow-runner .bwd-path>li:not(:last-child)::after{content:'→';top:50%;left:100%;transform:translateY(-50%);height:auto;line-height:normal}
.bwr-toolbar label,.bwr-quote-form label{display:grid;gap:6px;font-size:12px;color:#526c5c;min-width:0}
.bwd-runs :is(input,select,textarea){box-sizing:border-box;min-width:0;width:100%;padding:9px 10px;border:1px solid #cdded2;border-radius:8px;background:#fff;font:inherit;color:#203b32}
.bwr-toolbar label{flex:1;min-width:180px}.bwr-layout{display:grid;grid-template-columns:180px minmax(0,1fr);gap:20px;margin-top:20px}
.bwr-list h3{margin-bottom:12px}.bwr-list [data-run-list]{display:grid;gap:8px}.bwr-list .bwd-flow-item{overflow-wrap:anywhere;text-align:left}
.bwr-list .bwd-flow-item[aria-pressed=true]{border-color:#246b46;background:#f0f8f3}.bwr-pages{display:flex;gap:5px;align-items:center;flex-wrap:wrap;margin-top:14px;font-size:12px}
.bwr-pages button{padding:6px}.bwr-detail{min-width:0}.bwr-detail>h3{font-size:17px}.bwr-process{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;margin-top:20px}
.bwr-process .bwd-path-viewport{padding-bottom:16px}
.bwr-operation{min-width:0}.bwr-operation h3{margin:14px 0 10px}.bwr-operation>button{margin-top:12px}
.bwd-runs button.primary{background:#246b46;border-color:#246b46;color:#fff}.bwd-runs button:disabled{opacity:.5;cursor:not-allowed}
.bwd-node[data-step-status='当前待处理']{border:2px solid #246b46;background:#f0f8f3}.bwd-node[data-step-status='未开始']{background:#f8faf8;color:#617669}
.bwd-node[data-step-status='需核对结果']{border-color:#bc8530;background:#fff9ea}.bwd-node[data-step-status='处理中']{border-color:#bc8530}
.bwr-document{border:1px solid #dfe9e1;border-radius:9px;padding:12px;font-size:13px;overflow-wrap:anywhere}.bwr-document h3{margin-top:0}.bwr-document ul{padding-left:18px;line-height:1.7}.bwr-document summary{cursor:pointer;margin-top:10px}
.bwr-quote-form{display:grid;gap:12px;margin-top:12px}.bwr-quote-items{display:grid;gap:12px}.bwr-quote-item{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px;border:1px solid #dfe9e1;border-radius:9px;min-width:0}
.bwr-quote-item legend{font-size:13px}.bwr-quote-item button{grid-column:1/-1}.bwr-more[open]{display:grid;gap:10px}.bwr-history{margin-top:18px;border-top:1px solid #e3ebe5;padding-top:12px}.bwr-history p{font-size:12px;margin-top:8px!important;overflow-wrap:anywhere}
@media(max-width:800px){.business-workflow-designer{width:calc(100vw - 32px)}.bwd-layout,.bwr-layout{grid-template-columns:1fr}.bwd-layout aside{border-right:0;border-bottom:1px solid #e3ebe5}.bwr-list [data-run-list]{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.bwd-canvas{gap:14px}.bwd-path-viewport{padding:12px 4px 4px;overflow:visible}.bwd-path{flex-direction:column;align-items:stretch;gap:36px;min-width:0;max-width:480px;margin:auto}.bwd-path>li,.bwd-path>li.bwd-terminal{flex:none}.bwd-path>li:not(:last-child)::after{content:'↓';top:100%;left:50%;transform:translateX(-50%);height:36px;line-height:36px}.business-workflow-designer .bwd-layout .bwd-insert{top:calc(100% + 4px);right:calc(50% - 54px)}.bwd-runs{padding:16px}.bwr-quote-item{grid-template-columns:repeat(2,minmax(0,1fr))}.bwd-fields{grid-template-columns:1fr 90px}}
@media(max-width:480px){.bwr-quote-item{grid-template-columns:1fr}.bwd-fields{grid-template-columns:1fr}.bwd-fields label:last-child{grid-column:auto}}
.bpd-condition-paths{display:grid;gap:6px;margin-top:12px;font-size:12px}.bpd-condition-paths span{padding:6px 8px;border-radius:6px;background:#edf3fa;color:#355873;overflow-wrap:anywhere}.bpd-inspector select{max-width:100%;width:100%}.bpd-inspector label{display:grid;gap:6px;margin:12px 0}.ep-runtime-progress{display:flex;gap:24px;list-style:none;padding:16px;overflow-x:auto}.ep-runtime-progress li{min-width:160px;border:1px solid #cfddd5;border-radius:9px;padding:14px}.ep-runtime-progress small{display:block;line-height:1.8;margin-top:10px;color:#526b60}

.bpd-parallel-branches{display:flex;flex-direction:column;gap:12px;min-width:240px;padding:12px;border-left:2px solid #bbd6cc;border-right:2px solid #bbd6cc}.bpd-parallel-lane{display:flex;align-items:center;gap:10px;padding:12px;background:#f7faf8;border:1px solid #d4e2dc;border-radius:8px}.bpd-parallel-editor{display:grid;gap:12px;margin:16px 0;padding:12px;border:1px solid #d4e2dc;border-radius:8px}.bpd-parallel-editor>section{display:grid;gap:10px;padding-top:10px;border-top:1px solid #d4e2dc}

.bpd-node-button strong,.bpd-node-button small{overflow-wrap:anywhere;line-height:1.5}.bpd-node-button:focus-visible,.bpd-library button:focus-visible{outline:2px solid #28724e;outline-offset:3px}
.bpd-inspector label:has(input[type=checkbox]){display:flex;flex-direction:row;align-items:center;gap:9px}.bpd-inspector input[type=checkbox]{width:17px;height:17px;flex:none;accent-color:#246b46}
.bpd-parallel-lane{align-items:flex-start;flex-wrap:wrap}.bpd-parallel-lane>strong{width:100%;font-size:13px}.bpd-parallel-lane .bpd-field-chip{margin:0!important}

.bpd-parallel-editor>details{padding:10px;border:1px solid #dbe6df;border-radius:6px;background:#fff}.bpd-parallel-editor summary{cursor:pointer;font-weight:600}.bpd-field-chip>small{display:block;margin-top:5px}.bpd-field-chip .bpd-parallel-branches{margin-top:8px;min-width:200px}

.business-workflow-designer .bpd-path-viewport:has(.bpd-parallel-branches){height:auto;min-height:100%;overflow:visible;align-items:flex-start;padding-top:24px;padding-bottom:32px}.bpd-view-controls{display:flex;align-items:center;gap:6px}.bpd-view-controls button{padding:4px 8px;font-size:11px;white-space:nowrap}

/* Task-guided authoring: choose a form, configure a horizontal path, preview/publish. */
.business-workflow-designer{--flow-primary:#246b46;--flow-text:#203b32;--flow-muted:#697b73;--flow-line:#dce6e1}
.business-workflow-designer [hidden]{display:none!important}
.business-workflow-designer:has(.bpg-stages){width:min(1600px,calc(100vw - 32px));height:min(1080px,calc(100dvh - 32px));max-height:calc(100dvh - 32px)}
.business-workflow-designer [data-editor]{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}
.business-workflow-designer .bwd-tabs{padding:5px 24px;gap:8px;border-bottom:1px solid var(--flow-line)}.business-workflow-designer .bwd-tabs button{padding:5px 10px;font-size:13px;min-height:30px}
.business-workflow-designer .bpd-toolbar{padding:14px 24px;gap:12px}
.business-workflow-designer .bpd-toolbar [data-name]{font-size:19px;field-sizing:content;flex:0 1 auto;width:auto;min-width:200px;max-width:min(520px,45vw)}
.business-workflow-designer .bwd-badge{font-size:12px;padding:4px 9px;border:1px solid #e4d3a6;border-radius:5px;background:#fff8e9;color:#856018;white-space:nowrap}
.business-workflow-designer .bwd-badge[data-tone=published]{border-color:#c8dfd2;background:#edf6f0;color:var(--flow-primary)}
.business-workflow-designer :is(.bpg-home,.bpg-form-stage,.bpg-review) h2{margin:0;font-size:22px;line-height:1.5}
.business-workflow-designer :is(.bpg-home,.bpg-form-stage,.bpg-review)>p{margin:8px 0 24px;color:var(--flow-muted)}
.business-workflow-designer :is(.bpg-home,.bpg-form-stage,.bpg-review,.bpg-stages,.bpg-summary) button{font:inherit;cursor:pointer;color:var(--flow-primary);background:#fff;border:1px solid #cdded5;border-radius:6px;padding:9px 14px;min-height:38px}
.business-workflow-designer button.primary{background:var(--flow-primary);color:#fff;border-color:var(--flow-primary)}
.business-workflow-designer button:disabled{opacity:.55;cursor:not-allowed}
.business-workflow-designer button:focus-visible,.business-workflow-designer summary:focus-visible,.business-workflow-designer :is(input,select):focus-visible{outline:2px solid #28724e;outline-offset:3px}
.bpg-home,.bpg-form-stage,.bpg-review{padding:28px 32px;overflow:auto;flex:1;min-height:0}
.bpg-home-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}.bpg-home-heading p{color:var(--flow-muted);margin-top:6px!important}
.bpg-home .connector-tile-source{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bpg-home .connector-tile-footer{justify-content:flex-start}
.bpg-empty{color:var(--flow-muted);line-height:1.7;padding:20px 0;grid-column:1/-1}
.bpg-more{margin-left:auto;position:relative;font-size:14px;flex:none}.bpg-more summary{cursor:pointer;color:var(--flow-primary);padding:9px 14px;border:1px solid #cdded5;border-radius:6px;list-style-position:inside}.bpg-more[open]>summary{background:#edf6f0;border-color:#32865e}.bpg-more>div{box-sizing:border-box;position:absolute;z-index:5;right:0;top:calc(100% + 8px);width:300px;max-width:calc(100vw - 64px);max-height:calc(100dvh - 250px);overflow:auto;padding:8px;border:1px solid var(--flow-line);border-radius:10px;background:#fff;box-shadow:0 10px 32px #173f2920}.bpg-menu-switch{padding:8px 10px 14px}.bpg-more label{display:grid;gap:8px;color:var(--flow-muted);font-size:12px}.bpg-more select{width:100%;max-width:none!important;font-size:14px}.bpg-menu-actions,.bpg-menu-advanced{padding-top:6px;border-top:1px solid var(--flow-line)}.bpg-menu-advanced{margin-top:6px}.business-workflow-designer .bpg-more button{display:flex;align-items:center;gap:12px;width:100%;padding:11px 10px;border:0;background:transparent;text-align:left;color:var(--flow-text)}.bpg-more button:hover:not(:disabled){background:#f0f6f2}.bpg-more button:disabled{opacity:.5;cursor:not-allowed}.bpg-more button svg{width:20px;height:20px;flex:none;stroke:var(--flow-primary);stroke-width:1.5;fill:none}.bpg-more button span{display:grid;gap:3px}.bpg-more button strong{font-size:14px;font-weight:600}.bpg-more button small{font-size:12px;color:var(--flow-muted);font-weight:400}.bpg-technical-dialog .bpd-settings{display:grid;gap:20px;padding:0;border:0;background:#fff;font-size:14px;color:#526c5c}.bpg-technical-dialog .bpd-settings[hidden]{display:none}.bpg-technical-dialog .bpd-settings label{display:grid;gap:8px;margin:0}.bpg-technical-dialog .bpd-settings input,.bpg-technical-dialog .bpd-settings select{width:100%;min-height:40px}.bpg-technical-dialog .bpd-settings input:read-only{background:#f5f8f6}.bpg-technical-dialog .bpd-settings [hidden]{display:none!important}
.bpg-stages{display:flex;align-items:center;gap:24px;padding:22px 5%;border-bottom:1px solid var(--flow-line);background:#fff;flex:none}
.business-workflow-designer .bpg-stages>button{display:flex;align-items:center;gap:14px;flex:1;padding:0;border:0;text-align:left;background:none;min-width:0;color:var(--flow-muted)}
.bpg-stages>button>span{width:40px;height:40px;display:grid;place-items:center;border:1px solid #cdded5;border-radius:50%;font-size:17px;font-weight:600;flex:none}.bpg-stages strong{font-size:16px;color:var(--flow-text)}.bpg-stages small{display:block;margin-top:3px;font-size:13px;color:var(--flow-muted)}
.bpg-stages>button[aria-current=step]>span{background:var(--flow-primary);border-color:var(--flow-primary);color:#fff}.bpg-stages>button[data-complete=true]>span{background:#edf6f0;color:var(--flow-primary);border-color:#8cbca3}.bpg-stages>button:not(:last-child)::after{content:'';height:1px;background:#c9d9cf;flex:1;margin-left:10px;min-width:16px}
.bpg-form-stage .connector-pool{margin:24px 0}.bpg-form-stage .connector-tile-footer{gap:8px;flex-wrap:wrap}.bpg-form-stage button[aria-pressed=true]{border-color:var(--flow-primary);background:#edf6f0}
.business-workflow-designer .bpd-layout{grid-template-columns:250px minmax(0,1fr);flex:1;min-height:0;overflow:hidden;grid-template-rows:minmax(0,1fr)}
.bpg-summary{overflow:auto;border-right:1px solid var(--flow-line);background:#f5f9f7;padding:22px 16px;min-height:0}.bpg-summary h3{font-size:15px;margin:0 0 14px}.bpg-summary [data-form-summary]{border-bottom:1px solid var(--flow-line);padding:0 0 22px;margin-bottom:22px}.bpg-summary [data-form-summary]>svg{width:28px;height:28px;stroke:var(--flow-primary);fill:none;vertical-align:middle;margin-right:9px}.bpg-summary [data-form-summary]>strong{font-size:16px;overflow-wrap:anywhere}.bpg-summary p{color:var(--flow-muted);font-size:13px;margin-top:10px!important}.business-workflow-designer .bpg-summary [data-form-summary]>button{margin-top:12px;padding:4px 0;border:0;background:none;font-size:13px;text-align:left}.bpg-summary ol{list-style:none;padding:0;margin:0;display:grid;gap:6px}
.business-workflow-designer .bpg-step-link{display:flex;gap:12px;text-align:left;align-items:flex-start;padding:12px 10px;border:0;background:transparent;width:100%;min-width:0}.bpg-step-link>span{display:grid;place-items:center;width:27px;height:27px;border:1px solid #c7d7cd;border-radius:50%;font-size:13px;flex:none}.bpg-step-link>div{min-width:0}.bpg-step-link strong{font-size:14px;overflow-wrap:anywhere;color:var(--flow-text)}.bpg-step-link small{font-size:12px;color:var(--flow-muted);display:block;margin-top:4px;overflow-wrap:anywhere}.bpg-step-link[aria-current=step]{background:#e4f0e9}.bpg-step-link[aria-current=step]>span{background:var(--flow-primary);color:#fff;border-color:var(--flow-primary)}
.business-workflow-designer .bpd-center{background:#fff;overflow:auto;display:block;container-type:inline-size;padding:22px 24px 16px}
.bpg-task-heading h2{margin:0;font-size:23px;line-height:1.5}.bpg-task-heading p{margin-top:5px!important;color:var(--flow-muted);font-size:14px}.business-workflow-designer .bpd-settings{padding:0;border:0;margin:12px 0;color:var(--flow-muted)}.bpd-settings[open]{padding:12px;border:1px solid var(--flow-line);border-radius:6px}.bpd-settings summary{font-size:13px}
.business-workflow-designer .bpd-canvas{background:#fff;overflow:visible;min-height:0;flex:none}
.business-workflow-designer .bpd-path-viewport{height:auto;min-height:145px;padding:22px 4px;display:flex;align-items:center;overflow:auto}
.business-workflow-designer .bpd-path{gap:44px;min-width:max-content}.business-workflow-designer .bpd-path>li:not(:last-child)::after{width:44px}
.business-workflow-designer .bpd-node-button{width:164px;min-height:82px;grid-template-columns:24px minmax(0,1fr);gap:5px 10px;padding:12px;border-radius:7px;background:#fff}.business-workflow-designer .bpd-node-button strong{font-size:15px;line-height:1.4}.business-workflow-designer .bpd-node-button small{font-size:13px;line-height:1.4}.business-workflow-designer .bpd-node-button svg{width:24px;height:24px;stroke:#16846c}.business-workflow-designer .bpd-node-button[aria-pressed=true]{background:#fff;box-shadow:0 0 0 1px var(--flow-primary)}
.bpd-node:has(.bpg-insert)::after{z-index:0}.business-workflow-designer .bpg-insert{position:absolute;z-index:1;left:calc(100% + 6px);top:50%;transform:translateY(-50%);border-radius:50%;width:26px;height:26px;min-height:0;padding:0;line-height:22px;font-size:19px;background:#fff;border-color:#32865e}.business-workflow-designer .bpg-insert:hover{background:#edf6f0}
.business-workflow-designer .bpd-terminal{width:72px;height:72px;border-radius:50%;padding:0;display:grid;place-items:center;white-space:normal;font-size:14px;text-align:center}
.business-workflow-designer .bpd-reject-branch{display:none}.business-workflow-designer .bpd-inspector{padding:20px;border:1px solid var(--flow-line);border-radius:9px;margin:0 0 18px;overflow:visible}.bpd-inspector [data-inspector]{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:16px 24px}.business-workflow-designer .bpd-inspector h3{grid-column:1/-1;margin:0;font-size:18px}.bpd-inspector [data-inspector]>:not(.bpg-inspector-basic,.bpg-inspector-outcomes){grid-column:1/-1}.business-workflow-designer .bpd-inspector h4{font-size:14px;margin:12px 0 8px}.business-workflow-designer .bpd-inspector label{font-size:14px;margin:10px 0}.bpg-inspector-outcomes{padding-left:24px;border-left:1px solid var(--flow-line)}.business-workflow-designer .bpd-inspector input,.business-workflow-designer .bpd-inspector select{min-height:38px;font-size:14px;width:100%}.bpg-assignee>select+select{margin-top:8px}.business-workflow-designer .bpd-inspector .bwd-hint{font-size:13px;line-height:1.6}.bpg-assignee-more{margin-top:14px}.bpg-assignee-more summary,.bpg-inspector-more summary{cursor:pointer;color:var(--flow-muted);font-size:13px}.bpg-inspector-more{margin-top:0}.business-workflow-designer .bpg-shortcuts{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:10px}.business-workflow-designer .bpg-shortcuts button{margin:0;padding:6px 10px;font-size:13px}.bpg-shortcuts button[aria-pressed=true]{background:#edf6f0;border-color:#32865e}
.business-workflow-designer .bpg-approval-mode{display:flex;flex-wrap:wrap;gap:8px 14px;border:0;margin:0;padding:0;min-width:0}.bpg-approval-mode legend{font-size:14px;font-weight:600;margin-bottom:8px}.business-workflow-designer .bpg-approval-mode label{display:flex;flex-direction:row;align-items:center;gap:6px;margin:0;font-size:13px}.business-workflow-designer .bpg-approval-mode input[type=radio]{width:17px;height:17px;min-height:0;flex:none;accent-color:var(--flow-primary)}.bpg-approval-mode p{width:100%}.business-workflow-designer .bpd-result{padding:9px 12px;border:1px solid var(--flow-line);border-radius:5px;font-size:13px;margin:7px 0!important}
.bpg-add-strip{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;background:#f3f8f5;border-radius:8px;margin-bottom:10px}.bpg-add-strip h3{font-size:15px}.bpg-add-strip small{display:block;color:var(--flow-muted);font-size:12px;margin-top:4px;overflow-wrap:anywhere}.bpg-add-strip [data-quick-add]{display:flex;gap:8px;flex-wrap:wrap}.business-workflow-designer .bpg-add-strip button{display:flex;align-items:center;gap:7px;padding:10px 12px;font-size:14px;min-height:40px}.bpg-add-strip svg{width:20px;height:20px;stroke:var(--flow-primary);fill:none}
.business-workflow-designer .bpd-library{display:block;overflow:visible;border:1px solid var(--flow-line);border-radius:8px;padding:20px;margin-bottom:16px}.bpg-library-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.business-workflow-designer .bpd-library>input{font-size:14px;margin:14px 0 0;max-width:400px}.business-workflow-designer .bpd-library>[data-library]{overflow:visible}.business-workflow-designer .bpd-library h4{font-size:14px;color:var(--flow-text)}.bpg-foundations{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.business-workflow-designer .bpg-foundation{display:grid;grid-template-columns:24px 1fr;gap:7px 10px;padding:14px;text-align:left}.bpg-foundation svg{grid-row:1/3;width:24px;height:24px;stroke:var(--flow-primary);fill:none}.bpg-foundation strong{font-size:14px}.bpg-foundation small{font-size:12px;color:var(--flow-muted)}.business-workflow-designer .bpd-library .connector-pool{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.bpd-library .connector-tile-footer{display:grid;gap:8px}.bpd-library .connector-tile-footer button{margin:0}.business-workflow-designer .bpd-canvas-footer{padding:10px 0;border:0;font-size:12px}.business-workflow-designer .bpd-view-controls button{font-size:12px}
.business-workflow-designer>footer{padding:14px 24px;background:#fff;align-items:center}.business-workflow-designer>footer .bpg-feedback{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;max-width:60%;min-width:0}.bpg-feedback strong{font-size:14px;overflow-wrap:anywhere;font-weight:500}.bpg-feedback strong[data-pending=true]{color:#a86819}.bpg-feedback small{width:100%;font-size:12px;color:var(--flow-muted)}.business-workflow-designer>footer button{font-size:14px;padding:9px 15px;min-height:40px}.business-workflow-designer>footer [data-fix]{padding:2px 7px;min-height:0;border:0;text-decoration:underline;background:none}.business-workflow-designer>footer .bpg-footer-actions{display:flex;gap:10px;flex-wrap:wrap}
.bpg-review-path{display:flex;gap:16px;overflow:auto;list-style:none;padding:24px 0;margin:0}.bpg-review-path>li{display:grid;gap:6px;min-width:170px;border:1px solid var(--flow-line);border-radius:7px;padding:16px;align-content:start}.bpg-review-path small{color:var(--flow-muted);font-size:13px}.bpg-review h3{margin:20px 0 8px}
.business-workflow-designer .bpd-center{display:flex;flex-direction:column;overflow:hidden}.bpg-config-scroll{flex:1;min-height:0;overflow:auto;padding-right:2px}.bpg-add-strip,.business-workflow-designer .bpd-canvas-footer{flex:none}.business-workflow-designer .bpg-add-strip{margin:12px 0 0}.business-workflow-designer .bpd-layout .bpg-step-link{border:0;background:transparent}.business-workflow-designer .bpd-layout .bpg-step-link[aria-current=step]{background:#e4f0e9}
.business-workflow-designer .bpd-toolbar{padding:10px 24px}.bpg-stages{padding-top:14px;padding-bottom:14px}.business-workflow-designer .bpd-path-viewport{min-height:125px;padding:16px 4px}.business-workflow-designer .bpd-inspector{padding:16px;margin-bottom:8px}.bpd-inspector [data-inspector]{gap:12px 24px}.business-workflow-designer .bpd-result{padding:7px 12px;margin:4px 0!important}.business-workflow-designer .bpd-inspector h4{margin-top:8px}.business-workflow-designer .bpg-add-strip{padding:12px}.business-workflow-designer .bpd-canvas-footer{padding:6px 0}
.bpg-form-fields{font-size:14px;color:var(--flow-muted);margin:12px 0!important;line-height:1.6}.bpg-form-stage .connector-tile-footer{justify-content:flex-start}.bpg-assignment-rule{padding:10px 12px;background:#f3f8f5;border:1px solid var(--flow-line);border-radius:6px;font-size:14px}.bpg-member-list{max-height:180px;overflow:auto}.business-workflow-designer .bpg-shortcuts button{min-height:36px;padding:7px 14px}.business-workflow-designer .bpg-next-person{justify-self:start;color:var(--flow-primary);margin-top:4px}.business-workflow-designer .bpg-add-strip>[data-quick-add]{flex:1;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.business-workflow-designer .bpg-add-strip button{justify-content:center;min-height:48px}.business-workflow-designer .bpg-add-strip>div:first-child{max-width:180px;flex:none}
.business-workflow-designer .connector-tile-icon svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:1200px){.business-workflow-designer .bpd-layout{grid-template-columns:210px minmax(0,1fr)}.business-workflow-designer .bpd-center{padding:20px 18px}.bpg-add-strip{align-items:flex-start;flex-direction:column}.bpg-stages{gap:16px;padding:18px 24px}.bpg-stages small{font-size:12px}.business-workflow-designer .bpg-add-strip>[data-quick-add]{width:100%;flex:none}.business-workflow-designer .bpg-add-strip>div:first-child{max-width:none}}
@media(max-width:800px){.business-workflow-designer:has(.bpg-stages){height:calc(100dvh - 32px);width:calc(100vw - 32px)}.business-workflow-designer:has(.bpg-stages)>.portal-content{overflow:hidden}.business-workflow-designer .bpd-layout{display:grid;grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);overflow:hidden}.bpg-summary{border-right:0;border-bottom:1px solid var(--flow-line);padding:12px 16px;max-height:145px}.bpg-summary [data-form-summary]{display:none}.bpg-summary h3{margin-bottom:8px}.bpg-summary ol{display:flex;overflow:auto;gap:8px}.business-workflow-designer .bpg-step-link{width:170px;padding:8px}.bpg-stages{padding:14px 16px;gap:10px}.bpg-stages>button>span{width:30px;height:30px;font-size:14px}.bpg-stages>button{gap:8px!important}.bpg-stages strong{font-size:13px}.bpg-stages small,.bpg-stages>button::after{display:none}.business-workflow-designer .bpd-toolbar{padding:10px 16px}.business-workflow-designer .bpd-toolbar [data-name]{min-width:120px;font-size:16px}.bpg-more>div{width:220px}.business-workflow-designer .bpd-center{padding:16px;min-height:0;overflow:auto}.business-workflow-designer .bpd-path-viewport{overflow:auto;min-height:140px;max-height:none;flex:none}.business-workflow-designer .bpd-path{gap:38px;flex-direction:row;min-width:max-content}.business-workflow-designer .bpd-node-button{width:155px}.business-workflow-designer .bpd-path>li:not(:last-child)::after{content:'→';left:100%;top:50%;width:38px;height:auto;transform:translateY(-50%)}.bpd-inspector [data-inspector]{grid-template-columns:1fr;gap:14px}.bpg-inspector-outcomes{border-left:0;padding-left:0}.business-workflow-designer .bpd-inspector{padding:16px}.bpg-foundations{grid-template-columns:repeat(2,minmax(0,1fr))}.bpg-home,.bpg-form-stage,.bpg-review{padding:20px 16px}.business-workflow-designer>footer{flex-direction:row;padding:12px 16px;gap:12px;flex-wrap:wrap}.business-workflow-designer>footer .bpg-feedback{max-width:100%;flex:1}.business-workflow-designer>footer .bpg-footer-actions{margin-left:auto}.business-workflow-designer>footer button{font-size:13px;padding:8px 11px}.business-workflow-designer .bpd-path-viewport:has(.bpd-parallel-branches){overflow:auto}}

@media(max-width:800px){.business-workflow-designer .bpd-toolbar{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px}.business-workflow-designer .bpd-toolbar [data-name]{flex:1;min-width:120px;width:auto}.business-workflow-designer .bpd-toolbar .bpg-more{margin-left:auto}.business-workflow-designer .bpd-center{overflow:hidden}}
.bwd-runs .bpg-runs-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.bwd-runs .bpg-runs-heading h2{margin:0;font-size:22px;line-height:1.5}
.business-workflow-designer .bwd-runs{padding:28px 32px;background:#fff}
.bwd-runs .ep-history-filters{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 20px;font-size:13px}
.bwd-runs .ep-history-filters>input{flex:1 1 260px;width:auto;height:40px;border-radius:6px}
.bwd-runs .ep-history-filters>select{flex:0 1 160px;width:160px;height:40px;border-radius:6px}
.bwd-runs .ep-history-filters>button,.bwd-runs .ep-export-link{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;height:40px;padding:8px 14px;border:1px solid #cdded5;border-radius:6px;background:#fff;color:#245d43;text-decoration:none;white-space:nowrap}
.bwd-runs .ep-history-filters>button{background:#246b46;border-color:#246b46;color:#fff}
.bwd-runs .ep-history-filters>details{order:2;flex-basis:100%;margin:0;color:#607368}
.bwd-runs .ep-history-filters>details>summary{cursor:pointer;padding:4px 0}
.bwd-runs .ep-history-filters>details[open]{padding:12px 16px;background:#f8faf9;border:1px solid #dfe7e2;border-radius:6px}
.bwd-runs .ep-history-more-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:12px}
.bwd-runs .ep-history-more-fields .ep-field{display:grid;gap:6px;min-width:0;margin:0;font-size:12px}
.bwd-runs .bpg-runs-table{margin:0;min-height:180px;flex:none}
.bwd-runs .bpg-runs-table table{min-width:780px}
.bwd-runs .bpg-runs-table th:first-child{width:35%}.bwd-runs .bpg-runs-table th:nth-child(2){width:110px}.bwd-runs .bpg-runs-table th:nth-child(3){width:130px}.bwd-runs .bpg-runs-table th:nth-child(4){width:175px}.bwd-runs .bpg-runs-table th:nth-child(5){width:90px}.bwd-runs .bpg-runs-table th:last-child{width:70px}
.bwd-runs .bpg-runs-table td{height:48px;font-size:13px}
.business-workflow-designer .bwd-runs .bpg-run-name{display:block;width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;border:0;background:transparent;padding:4px 0;color:#235d42;font-weight:600;font-size:14px}
.business-workflow-designer .bwd-runs .bpg-run-name:hover{text-decoration:underline}
.business-workflow-designer .bwd-runs .bpg-run-view{border:0;background:transparent;padding:6px 0;color:#235d42}
.bpg-run-state{display:inline-flex;align-items:center;padding:4px 9px;line-height:1.4;border-radius:5px;font-size:12px;color:#51645a;background:#f0f3f1;white-space:nowrap}
.bpg-run-state[data-state='已完成']{background:#e8f4ed;color:#216442}.bpg-run-state[data-state='办理中']{background:#eaf1fb;color:#315e93}.bpg-run-state:is([data-state='待修改'],[data-state='结果需核对'],[data-state='已暂停']){background:#fff4df;color:#946017}.bpg-run-state[data-state='已拒绝']{background:#fceced;color:#a14343}
.bpg-form-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}.bpg-form-heading h2{margin:0 0 8px}.bpg-form-heading p{margin:0}.bpg-form-empty{grid-column:1/-1;text-align:center;padding:48px 24px;border:1px dashed var(--flow-line);border-radius:10px;background:#f8fbf9;max-width:800px;width:100%;box-sizing:border-box;margin:24px auto}.bpg-form-empty>svg{width:40px;height:40px;color:var(--flow-primary)}.bpg-form-empty h3{font-size:20px;margin:20px 0 12px}.bpg-form-empty p{margin:0 auto 24px;max-width:480px;line-height:1.7}.bpg-form-empty button{min-height:40px}.bpg-form-empty~*{display:none}@media(max-width:800px){.bpg-form-heading{align-items:flex-start;flex-wrap:wrap}.bpg-form-empty{padding:32px 16px}}
.bpg-step-facts{display:flex;flex-wrap:wrap;gap:24px 48px;margin:0;padding:16px 20px;border-radius:6px;background:#f7faf8}.bpg-step-facts>div{display:grid;gap:5px}.bpg-step-facts dt{color:var(--flow-muted);font-size:12px}.bpg-step-facts dd{margin:0;color:var(--flow-text);font-size:14px;font-weight:600}.bpg-step-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding-top:16px;border-top:1px solid var(--flow-line)}.business-workflow-designer .bpg-step-actions button{width:auto;margin:0;padding:8px 14px;font-size:13px}.business-workflow-designer .bpg-step-actions .bpg-remove-step{margin-left:auto;color:#a14343;border-color:#e8d4d4}.business-workflow-designer .bpg-step-actions .bpg-remove-step:hover{background:#fff5f5}
.bwd-runs .bpg-runs-empty{height:220px;text-align:center;white-space:normal}.bpg-runs-empty strong{font-size:15px;color:#40564a}.bpg-runs-empty p{color:#6c7c72;margin-top:8px!important}
.bpg-runs-pages{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;font-size:13px;color:#6a7970}.bpg-runs-pages>div{display:flex;align-items:center;gap:12px}
.bwd-runs>[data-business-runs]{padding-top:18px;margin-top:8px;border-top:1px solid #e3ebe5;font-size:13px}.bwd-runs>[data-business-runs]>summary{cursor:pointer;color:#526c5c}
@media(max-width:1000px){.bwd-runs .ep-history-more-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.business-workflow-designer .bwd-runs{padding:20px 16px}.bwd-runs .ep-history-filters>input{flex-basis:100%;width:100%}.bwd-runs .ep-history-filters>select{flex:1 1 150px;width:auto}.bpg-runs-pages{flex-wrap:wrap}.bwd-runs .bpg-runs-table th:first-child{width:230px}}
