/* Activity interaction fixes: ports, selectable wires, zoom, focus and window modes */
#up-activities-dialog .uaf-node-port{pointer-events:auto!important;cursor:crosshair!important;z-index:12!important;touch-action:none!important}
#up-activities-dialog .uaf-world svg{pointer-events:none!important}
#up-activities-dialog .uaf-world svg path[data-edge-id]{pointer-events:stroke!important;cursor:pointer!important}
#up-activities-dialog .uaf-world svg .uaf-edge-hit-target{pointer-events:stroke!important;cursor:pointer!important}
#up-activities-dialog .uaf-world svg .is-selected{stroke:#35f5d4!important;filter:drop-shadow(0 0 4px #26c8db)!important}
#up-activities-dialog .uaf-node.active{outline:2px solid #4af5e1!important;outline-offset:3px!important;box-shadow:0 0 0 5px #10c7bf40,0 0 22px #13e4db70!important;z-index:10!important}
#up-activities-dialog .uaf-node:not(.active):hover{box-shadow:0 0 0 2px #3dded04d!important;filter:brightness(1.08)}
#up-activities-dialog .uaf-node.start,#up-activities-dialog .uaf-node.end{width:175px!important;height:72px!important;min-height:72px!important;max-height:72px!important}
#up-activities-dialog .uaf-node.start .uaf-node-symbol,#up-activities-dialog .uaf-node.end .uaf-node-symbol{flex-basis:36px!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;max-width:36px!important;max-height:36px!important}
#up-activities-dialog .uaf-toolbar{flex-wrap:wrap!important}
#up-activities-dialog #uaf-zoom-in,#up-activities-dialog #uaf-zoom-out{min-width:34px!important;padding:7px!important}
#up-activities-dialog #uaf-zoom-label{min-width:42px;text-align:center;font-weight:700}
#up-activities-dialog[data-window-mode="restore"]{inset:7vh 7vw auto 7vw!important;width:86vw!important;max-width:86vw!important;height:84dvh!important;max-height:84dvh!important;resize:both!important;border-radius:14px!important}
#up-activities-dialog[data-window-mode="left"]{inset:1vh auto auto 0!important;width:62vw!important;max-width:62vw!important;height:98dvh!important;max-height:98dvh!important;resize:horizontal!important;border-radius:12px!important}
#up-activities-dialog[data-window-mode="right"]{inset:1vh 0 auto auto!important;width:62vw!important;max-width:62vw!important;height:98dvh!important;max-height:98dvh!important;resize:horizontal!important;border-radius:12px!important}
#up-activities-dialog[data-window-mode="full"]{inset:0!important;width:100vw!important;height:100dvh!important;border-radius:0!important;resize:none!important}
