/* Operations UI v3.4: reading, navigation and recorded execution state. */
html[data-skin] .ops-nav-toggle{display:inline-flex;align-items:center;justify-content:center;padding:8px!important;min-width:36px;min-height:36px;color:var(--t-tx2)!important;background:transparent!important;border:1px solid var(--t-line2)!important;border-radius:8px!important;cursor:pointer}
html[data-skin] .ops-nav-toggle svg{width:19px;height:19px;flex:none}
html[data-skin] .ops-nav-toggle span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
html[data-skin] .ops-nav-toggle:focus-visible{outline:2px solid var(--t-teal);outline-offset:3px}
@media(min-width:1000px){
 html[data-skin][data-nav] body #appView>aside{width:var(--ops-nav-width)!important;overflow-y:auto!important;overflow-x:hidden!important;padding:16px 10px!important;align-items:stretch!important}
 html[data-skin][data-nav=expanded]{--ops-nav-width:244px}
 html[data-skin][data-nav=compact]{--ops-nav-width:76px}
 html[data-skin][data-nav] body #appView>main{margin-left:var(--ops-nav-width)!important;width:calc(100% - var(--ops-nav-width))!important}
 html[data-skin][data-nav] body #appView>aside nav{display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;gap:3px!important;overflow:visible!important}
 html[data-skin][data-nav=expanded] body #appView>aside nav a{width:100%!important;height:auto!important;min-height:42px!important;padding:10px 12px!important;display:flex!important;justify-content:flex-start!important;gap:12px!important}
 html[data-skin][data-nav=expanded] body #appView>aside nav a>span:last-child{position:static!important;transform:none!important;opacity:1!important;display:inline!important;padding:0!important;color:inherit!important;background:transparent!important;font-size:13px!important;white-space:normal!important;pointer-events:auto!important}
 html[data-skin][data-nav=expanded] body #appView>aside .nav-group-label{font-size:10px!important;letter-spacing:.12em!important;width:auto!important;height:auto!important;padding:14px 12px 6px!important;margin:0!important;background:transparent!important}
 html[data-skin][data-nav=expanded] body #appView>aside .brand-image-wrap{width:100%!important;height:60px!important;padding:0!important;margin:0 0 12px!important}
 html[data-skin][data-nav=expanded] body #appView>aside .brand-image{width:100%!important;height:56px!important;max-width:100%!important;object-fit:contain!important;object-position:left center!important;margin:0!important}
 html[data-skin][data-nav=compact] body #appView>aside nav a{width:44px!important;height:42px!important;min-height:42px!important;padding:9px!important;margin:0 auto!important;display:flex!important;justify-content:center!important}
 html[data-skin][data-nav=compact] body #appView>aside nav a>span:last-child{display:none!important}
 html[data-skin][data-nav=compact] body #appView>aside .nav-group-label{font-size:0!important;line-height:0!important;height:1px!important;padding:0!important;width:28px!important;margin:10px auto!important;background:var(--t-line2)!important}
 html[data-skin][data-nav=compact] body #appView>aside .brand-image-wrap{width:44px!important;height:48px!important;min-height:48px!important;margin:0 auto 12px!important;padding:0!important;overflow:hidden!important}
 html[data-skin][data-nav=compact] body #appView>aside .brand-image{width:160px!important;max-width:none!important;height:48px!important;object-fit:cover!important;object-position:left center!important;margin:0!important}
 html[data-skin][data-nav=compact] body #appView>aside nav a:after{content:none!important}
}
/* Mobile keeps the existing menu drawer and its controls. */
@media(max-width:999px){html[data-skin] #opsNavToggle{display:none!important}}
html[data-skin] #enterpriseProRoot,html[data-skin] #wfRoot{font-size:14px;line-height:1.6}
html[data-skin] #enterpriseProRoot :is(th,.ep-card small,.ep-muted),html[data-skin] #wfRoot :is(.wf-muted,small){font-size:12px;color:var(--t-tx2,#a3b3c4);opacity:1}
html[data-skin] #enterpriseProRoot table{font-size:13px;line-height:1.6}
html[data-skin] #enterpriseProRoot :is(td,th){padding:13px 11px}
html[data-skin] #enterpriseProRoot label,html[data-skin] #wfRoot label{font-size:13px}
html[data-skin] :is(#epSession,#wfAuthState){color:var(--t-tx2)}
html[data-skin] #enterpriseProRoot .ep-tabs{gap:8px;padding-bottom:10px;border-bottom:1px solid var(--t-line2)}
html[data-skin] body #enterpriseProRoot .ep-tabs :is(#epTab_analytics,#epTab_routing,#epTab_security,#epTab_quality){position:relative;background:transparent!important;color:var(--t-tx2)!important;border:1px solid transparent!important;border-radius:8px!important;padding:11px 14px!important;min-height:44px;box-shadow:none!important;text-align:center!important}
html[data-skin] body #enterpriseProRoot .ep-tabs :is(#epTab_analytics,#epTab_routing,#epTab_security,#epTab_quality)[aria-selected=true]{background:color-mix(in srgb,var(--t-teal) 12%,var(--t-bg))!important;color:var(--t-teal)!important;border-color:var(--t-line2)!important;font-weight:700!important}
html[data-skin] #enterpriseProRoot .ep-tabs :is(#epTab_analytics,#epTab_routing,#epTab_security,#epTab_quality)[aria-selected=true]:after{content:"";position:absolute;bottom:-11px;height:3px;left:12px;right:12px;border-radius:2px;background:var(--t-teal)}
html[data-skin] body #enterpriseProRoot .ep-tabs :is(#epTab_analytics,#epTab_routing,#epTab_security,#epTab_quality):focus-visible{outline:2px solid var(--t-teal)!important;outline-offset:3px}
html[data-skin] #enterpriseRoot [data-eh-tab].active,html[data-skin] #enterpriseRoot [data-eh-tab][aria-selected=true]{color:var(--t-teal)!important;border-bottom:3px solid var(--t-teal)!important;font-weight:700!important}
.ops-state{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;border:1px solid currentColor;border-radius:999px;padding:2px 8px;font-size:12px;font-weight:600;line-height:1.5;color:var(--t-tx2,#a3b3c4)}
.ops-state:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.ops-state:is([data-state=completed],[data-state=approved],[data-state=enabled],[data-state=pass],[data-state=success]){color:var(--t-ok,#52c99b)}
.ops-state:is([data-state=failed],[data-state=rejected],[data-state=interrupted],[data-state=fail]){color:var(--t-bad,#e76e6e)}
.ops-state:is([data-state=running],[data-state=queued],[data-state=leased],[data-state=pending],[data-state=waiting],[data-state=awaiting_approval],[data-state=review]){color:var(--t-warn,#e7b75c)}
#enterpriseProRoot .ep-spark{display:block;width:100%;height:56px;margin-top:12px;overflow:visible;color:var(--ep-accent)}
#enterpriseProRoot .ep-spark path{fill:none;stroke:currentColor;stroke-width:2;vector-effect:non-scaling-stroke;stroke-linejoin:round;stroke-linecap:round}
#enterpriseProRoot .ep-spark circle{fill:currentColor;stroke:var(--ep-panel);stroke-width:1}
#enterpriseProRoot .ep-spark .ep-spark-grid{stroke:var(--ep-line);stroke-width:.5;opacity:.5}
#enterpriseProRoot .ep-spark-empty{display:flex;align-items:center;height:56px;font-size:12px;color:var(--t-tx2,#a3b3c4)}
#enterpriseProRoot .ep-compare{display:block;font-size:12px;margin:8px 0 0;color:var(--t-tx2,#a3b3c4)}
#enterpriseProRoot .ep-compare[data-change=good]{color:var(--t-ok,#52c99b)}
#enterpriseProRoot .ep-compare[data-change=bad]{color:var(--t-bad,#e76e6e)}
#enterpriseProRoot .ep-window-note{font-size:12px;color:var(--t-tx2,#a3b3c4);margin:4px 0 18px}
#wfRoot .wf-world .wf-kind-icon{position:static;inset:auto;pointer-events:none}
#wfRoot .wf-world .wf-kind-icon path{stroke:currentColor;stroke-width:1.6}
#wfRoot .wf-kind-icon{width:18px;height:18px;display:inline-block;vertical-align:middle;flex:none;color:var(--wf-accent)}
#wfRoot .wf-type{display:flex;align-items:center;gap:7px;font-size:11px;letter-spacing:.08em}
#wfRoot .wf-palette button{display:flex;align-items:center;gap:9px}
#wfRoot .wf-node[data-wf-kind=nodes] .wf-kind-icon{color:var(--t-violet,#a6a4ef)}
#wfRoot .wf-node[data-wf-kind=gateway] .wf-kind-icon{color:var(--t-teal,#6ce3c2)}
#wfRoot .wf-node[data-wf-kind=approval] .wf-kind-icon{color:var(--t-warn,#e7b75c)}
#wfRoot .wf-node[data-wf-kind=report] .wf-kind-icon{color:var(--t-ok,#52c99b)}
#wfRoot .wf-node[data-wf-state=completed]{border-color:var(--t-ok,#52c99b);box-shadow:inset 3px 0 0 var(--t-ok,#52c99b)}
#wfRoot .wf-node[data-wf-state=running]{border-color:var(--wf-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--wf-accent) 22%,transparent)}
#wfRoot .wf-node:is([data-wf-state=failed],[data-wf-state=interrupted]){border-color:var(--t-bad,#e76e6e)}
#wfRoot .wf-step-status{font-size:11px;color:var(--t-tx2,#a3b3c4);margin:5px 0 0}
#wfRoot svg path.wf-edge-completed{stroke:var(--t-ok,#52c99b);stroke-width:3}
#wfRoot svg path.wf-edge-active{stroke:var(--wf-accent);stroke-width:3;stroke-dasharray:8 5;animation:ops-flow 1.2s linear infinite}
#wfRoot svg path.wf-edge-failed{stroke:var(--t-bad,#e76e6e);stroke-width:3}
#wfRoot #wfNodeOutput{border-top:1px solid var(--wf-line);margin-top:20px;padding-top:16px}
#wfRoot #wfNodeOutput pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:340px;overflow:auto;font:12px/1.7 ui-monospace,monospace;background:var(--wf-bg);padding:12px;border-radius:6px}
#wfRoot #wfRunOverlay{min-height:20px;font-size:12px;color:var(--t-tx2,#a3b3c4);margin:8px 0}
@keyframes ops-flow{to{stroke-dashoffset:-26}}
@media(prefers-reduced-motion:reduce){#wfRoot svg path.wf-edge-active{animation:none}}
@media(max-width:700px){html[data-skin] body #enterpriseProRoot .ep-tabs :is(#epTab_analytics,#epTab_routing,#epTab_security,#epTab_quality){flex:1 1 42%;padding:10px!important;font-size:12px!important}html[data-skin] #enterpriseProRoot .ep-grid{gap:9px}}

html[data-skin] body #wfRoot #wfPalettePanel .wf-palette button{background:var(--wf-panel)!important;color:var(--wf-text)!important;border:1px solid var(--wf-line)!important;border-radius:7px!important;text-align:left!important;padding:10px 12px!important}
html[data-skin] body #wfRoot #wfPalettePanel .wf-palette button:hover:not(:disabled){border-color:var(--wf-accent)!important;background:color-mix(in srgb,var(--wf-accent) 9%,var(--wf-panel))!important}
html[data-skin] body #wfRoot #wfRunList button[data-wf-run]{display:block;width:100%;margin-bottom:7px;background:var(--wf-panel)!important;color:var(--wf-text)!important;border:1px solid var(--wf-line)!important;border-radius:8px!important;padding:12px!important;text-align:left!important}
html[data-skin] body #wfRoot #wfRunList button[aria-pressed=true]{border-color:var(--wf-accent)!important;background:color-mix(in srgb,var(--wf-accent) 8%,var(--wf-panel))!important}
#wfRoot svg path.wf-edge-pending{stroke:var(--wf-line);opacity:.65}
