/* Enterprise Pro v3.3 UI bridge. Presentation only; existing IDs, actions and canvas geometry stay intact. */
html[data-skin] #enterpriseProRoot{--ep-bg:var(--t-bg,#0a1320);--ep-panel:var(--t-bg2,#132133);--ep-text:var(--t-tx,#eaf2ff);--ep-line:var(--t-line2,#344b65);--ep-accent:var(--t-teal,#6ce3c2);font-family:inherit}
html[data-skin] #wfRoot{--wf-bg:var(--t-bg,#0c1420);--wf-panel:var(--t-bg2,#131f2d);--wf-text:var(--t-tx,#edf5ff);--wf-line:var(--t-line2,#41556c);--wf-accent:var(--t-teal,#43d5bc);font-family:inherit}
html[data-skin] #enterpriseProRoot :is(.ep-card small,.ep-muted,th,.ep-chip){color:var(--t-tx2)}
html[data-skin] #enterpriseProRoot .ep-chip{border-color:var(--t-line2)}
html[data-skin] #enterpriseProRoot .ep-chip.ep-on{border-color:var(--t-ok);color:var(--t-ok)}
html[data-skin] #enterpriseProRoot .ep-bar{background:linear-gradient(var(--t-teal),color-mix(in srgb,var(--t-teal) 45%,var(--t-bg2)))}
html[data-skin] #enterpriseProRoot :is(.ep-panel,.ep-card),html[data-skin] #wfRoot :is(.wf-layout,.wf-node){box-shadow:var(--t-shadow,none)}
html[data-skin] #wfRoot .wf-node{border-color:var(--wf-line)}
html[data-skin] #wfRoot .wf-board{background-image:radial-gradient(var(--t-line2) 1px,transparent 1px)}
html[data-skin] #wfRoot .wf-badge{background:color-mix(in srgb,var(--t-teal) 12%,var(--t-bg2));color:var(--t-teal);border-color:var(--t-teal)}
html[data-skin] #wfRoot .wf-error{border-color:var(--t-bad)}
html[data-skin=nexus] #enterpriseProRoot :is(.ep-card,.ep-panel),html[data-skin=nexus] #wfRoot :is(.wf-layout,.wf-side,.wf-node){border-radius:3px;box-shadow:none}
html[data-skin=nexus] #enterpriseProRoot .ep-head{border-bottom:1px solid var(--t-line);margin-bottom:18px}
html[data-skin=nexus] #enterpriseProRoot .ep-card{border-width:0 0 1px;padding:18px 10px}
html[data-skin=nexus] #enterpriseProRoot :is(.ep-kicker,th),html[data-skin=nexus] #wfRoot .wf-type{font-family:var(--nx-mono)}
html[data-skin] :is(.ep-standalone,.wf-standalone){background:var(--t-bg);color:var(--t-tx);padding:24px;margin:0}
/* Standalone operations pages have no sidebar. Do not inherit dashboard main/rail offsets. */
html[data-skin] .ep-standalone #enterpriseProRoot,html[data-skin] .wf-standalone #wfRoot{margin:0 auto!important;width:100%!important;max-width:1800px!important;padding:0!important}
html[data-skin] :is(.ep-standalone,.wf-standalone)>header{max-width:1800px;margin:0 auto 20px}
html[data-skin] :is(.ep-standalone,.wf-standalone) a{color:var(--t-teal)}
html[data-skin] .ep-standalone #epSession{max-width:1800px;margin:12px auto}
@media(max-width:700px){html[data-skin] :is(.ep-standalone,.wf-standalone){padding:12px}}

html[data-skin] :is(.ep-standalone,.wf-standalone)>header{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
html[data-skin] :is(.ep-standalone,.wf-standalone)>header>a{margin-left:auto}
html[data-skin] :is(.ep-standalone,.wf-standalone) .skin-fab{display:none}
