dialog:has(.process-diagram){width:min(1200px,96vw);max-width:96vw}.wf-instance,.wf-view{display:flex;flex-direction:column;gap:10px}.process-diagram{height:min(60vh,560px);border:1px solid var(--line,#d8dcd9);border-radius:8px;background:#ffffff}.process-diagram .djs-element.wf-current .djs-visual>:first-child{stroke:#d97706!important;stroke-width:4px!important;fill:#fef3c7!important}.process-diagram .djs-element.wf-incident .djs-visual>:first-child{stroke:#b42318!important;stroke-width:4px!important;fill:#fde2df!important}.process-diagram .djs-element.wf-selected .djs-visual>:first-child{stroke:#1d4ed8!important;stroke-width:5px!important;fill:#dbeafe!important}.process-diagram .djs-element.wf-selected.wf-current .djs-visual>:first-child{fill:#fef3c7!important}.process-diagram .djs-element.wf-selected.wf-incident .djs-visual>:first-child{fill:#fde2df!important}.process-diagram .djs-element.wf-clickable{cursor:pointer}.process-diagram .bjs-powered-by{opacity:.4}.process-diagram-frame{display:flex;flex-direction:column;gap:6px;background:var(--bg,#ffffff)}.process-diagram-frame:-webkit-full-screen{position:fixed;inset:0;z-index:1000;padding:12px}.process-diagram-frame.full,.process-diagram-frame:fullscreen{position:fixed;inset:0;z-index:1000;padding:12px}.process-diagram-frame:-webkit-full-screen{position:static}.process-diagram-frame:fullscreen{position:static}.process-diagram-frame:-webkit-full-screen .process-diagram{flex:1 1;height:auto;min-height:0}.process-diagram-frame.full .process-diagram,.process-diagram-frame:fullscreen .process-diagram{flex:1 1;height:auto;min-height:0}.pd-toolbar{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.pd-toolbar button{padding:2px 10px;font-size:.85em;min-width:32px}.pd-scale{min-width:48px;text-align:center;font-size:.85em;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.pill.wf-current{background:#fef3c7;color:#7a4a00;margin-right:4px}.wf-legend{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.wf-swatch{display:inline-block;width:14px;height:10px;border-radius:2px;border:2px solid;margin-left:8px}.wf-swatch.wf-current{border-color:#d97706;background:#fef3c7}.wf-swatch.wf-incident{border-color:#b42318;background:#fde2df}.wf-swatch.wf-selected{border-color:#1d4ed8;background:#dbeafe}.wf-tabs{display:flex;gap:4px}.wf-tabs button.active{background:var(--accent,#1f6f4a);color:var(--accent-text,#ffffff)}.wf-history{width:100%;border-collapse:collapse;font-size:.9em}.wf-history td,.wf-history th{text-align:left;padding:4px 8px;border-bottom:1px solid var(--line,#d8dcd9);vertical-align:top}.wf-history tr.wf-row{cursor:pointer}.wf-history tr.wf-row:hover td{background:#f1f5fb}.wf-history tr.wf-row:focus-visible{outline:2px solid #1d4ed8;outline-offset:-2px}.wf-history tr.wf-row.wf-selected td{background:#dbeafe;color:#1d2420}.wf-history tr.wf-row.wf-selected td:first-child{box-shadow:inset 4px 0 0 #1d4ed8}.wf-stage{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.wf-stage button{padding:2px 8px;font-size:.85em}.wf-waiting{list-style:none;margin:0;padding:0}.lc-diagram{overflow-x:auto;border:1px solid var(--line,#d8dcd9);border-radius:8px;background:#ffffff;padding:4px}.lc-diagram svg{display:block;max-width:none;height:auto}.lc-edge{stroke:#b5bcb8;stroke-width:1.3}.lc-edge.on{stroke:#1f6f4a;stroke-width:2.4}.lc-state rect{fill:#f6f7f6;stroke:#9aa39e;stroke-width:1.3}.lc-state text{font:12px system-ui,sans-serif;fill:#1d2420}.lc-state.lc-bad rect{stroke:#b42318}.lc-state.lc-good rect{stroke:#1f6f4a}.lc-state.visited rect{fill:#e7f3ec;stroke:#1f6f4a;stroke-width:2}.lc-state.current rect{fill:#fef3c7;stroke:#d97706;stroke-width:3.5}.lc-state.current.lc-bad rect{fill:#fde2df;stroke:#b42318}.lc-state .lc-start-mark{fill:#1f6f4a!important;stroke:none!important}.lc-state.selected rect:not(.lc-start-mark){stroke:#1d4ed8;stroke-width:4}.lc-state.selected:not(.current):not(.visited) rect:not(.lc-start-mark){fill:#dbeafe}.lc-state.clickable{cursor:pointer}.lc-edge.selected{stroke:#1d4ed8;stroke-width:3}.wf-swatch.lc-visited{border-color:#1f6f4a;background:#e7f3ec}.lc-record{display:flex;flex-direction:column;gap:10px}dialog:has(.lc-diagram){width:min(1200px,96vw);max-width:96vw}.wf-open{padding:2px 8px;font-size:.85em}