/****************************************************************************
 ** @license
 ** This file is part of yFiles for HTML 3.1.0.1.
 **
 ** yWorks proprietary/confidential. Use is subject to license terms.
 **
 ** Copyright (c) 2026 by yWorks GmbH, Vor dem Kreuzberg 28,
 ** 72070 Tuebingen, Germany. All rights reserved.
 **
 ***************************************************************************/

.yfiles-canvascomponent:before {
  content: "__yfiles-stylesheet-loaded-3.1.0.1";
  display: none;
}

.yfiles-canvascomponent {
  min-width: 100px;
  min-height: 100px;
  position: relative;
  --yfiles-theme-primary: #000000;
  --yfiles-theme-secondary: #3399ff;
  --yfiles-theme-background: #ffffff;
  --yfiles-theme-variant: round-hatched;
  --yfiles-theme-scale: 1;
  --yfiles-theme-handle-offset: 2;
  --yfiles-theme-indicator-offset: 2;
  --yfiles-scrollbar-size: 12px;
  --yfiles-scrollbar-horizontal-size: var(--yfiles-scrollbar-size);
  --yfiles-scrollbar-vertical-size: var(--yfiles-scrollbar-size);
  display: grid !important;
  grid-template-columns: 1fr var(--yfiles-scrollbar-vertical-size);
  grid-template-rows: 1fr var(--yfiles-scrollbar-horizontal-size);
}

.yfiles-canvascomponent.yfiles-scrollbar-vertical-static
  .yfiles-rendertreepanel {
  grid-column-end: 2;
}
.yfiles-canvascomponent.yfiles-scrollbar-horizontal-static
  .yfiles-rendertreepanel {
  grid-row-end: 2;
}
.yfiles-canvascomponent:not(.yfiles-scrollbar-vertical-hidden):not(
    .yfiles-scrollbar-horizontal-hidden
  )
  .yfiles-scrollbar-vertical {
  grid-row-end: 2;
}
.yfiles-canvascomponent:not(.yfiles-scrollbar-vertical-hidden):not(
    .yfiles-scrollbar-horizontal-hidden
  )
  .yfiles-scrollbar-horizontal {
  grid-column-end: 2;
}

.yfiles-canvascomponent.yfiles-scrollbar-vertical-hidden
  .yfiles-scrollbar-vertical,
.yfiles-canvascomponent.yfiles-scrollbar-horizontal-hidden
  .yfiles-scrollbar-horizontal {
  display: none !important;
}
.yfiles-canvascomponent.yfiles-scrollbar-vertical-hidden
  .yfiles-scrollbar-corner,
.yfiles-canvascomponent.yfiles-scrollbar-horizontal-hidden
  .yfiles-scrollbar-corner {
  display: none !important;
}

.yfiles-rendertreepanel {
  grid-area: 1 / 1 / 3 / 3;
}

.yfiles-scrollbar {
  position: absolute;
  width: 100%;
  height: 100%;
  direction: ltr;
  display: flex;
  justify-content: space-between;
  cursor: default;
}

.yfiles-scrollbar-vertical {
  flex-direction: column;
  grid-area: 1 / 2 / 3 / 3;
}

.yfiles-scrollbar-horizontal {
  grid-area: 2 / 1 / 3 / 3;
}

.yfiles-scrollbar-range {
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.yfiles-scrollbar-vertical .yfiles-scrollbar-range {
  flex-direction: column;
}

.yfiles-scrollbar-vertical-dynamic
  .yfiles-scrollbar-disabled
  .yfiles-scrollbar-vertical.yfiles-scrollbar-slider,
.yfiles-scrollbar-horizontal-dynamic
  .yfiles-scrollbar-disabled
  .yfiles-scrollbar-horizontal.yfiles-scrollbar-slider,
.yfiles-scrollbar-vertical-dynamic
  .yfiles-scrollbar-vertical.yfiles-scrollbar-disabled,
.yfiles-scrollbar-horizontal-dynamic
  .yfiles-scrollbar-horizontal.yfiles-scrollbar-disabled {
  display: none !important;
}

.yfiles-scrollbar-slider {
  position: absolute;
  border: none;
  background: #cccccc;
  border-radius: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.yfiles-scrollbar-slider:hover {
  background: #bbb;
}

.yfiles-scrollbar-slider.yfiles-scrollbar-slider-dragging {
  background: #9b9b9b;
}

.yfiles-scrollbar-vertical .yfiles-scrollbar-slider {
  width: calc(100% - 4px);
  height: var(--yfiles-scrollbar-length);
  margin-top: var(--yfiles-scrollbar-start);
}

.yfiles-scrollbar-horizontal .yfiles-scrollbar-slider {
  width: var(--yfiles-scrollbar-length);
  height: calc(100% - 4px);
  margin-left: var(--yfiles-scrollbar-start);
}

.yfiles-scrollbar .yfiles-button {
  flex-grow: 0;
  flex-shrink: 0;
  border: none;
  border-radius: 0;
  background-position-x: center;
  background-position-y: center;
  background-size: contain;
  background-repeat: no-repeat;
  overflow: hidden;
  box-sizing: border-box;
}

.yfiles-scrollbar .yfiles-button.yfiles-button-left {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2215%22%20height%3D%2215%22%3E%3Cpath%20d%3D%22M5%207.5%20L10%204%20L10%2011%20Z%22/%3E%3C/svg%3E");
  flex-basis: var(--yfiles-scrollbar-horizontal-size);
}

.yfiles-scrollbar .yfiles-button.yfiles-button-right {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2215%22%20height%3D%2215%22%3E%3Cpath%20d%3D%22M5%204%20L10%207.5%20L5%2011%20Z%22/%3E%3C/svg%3E");
  flex-basis: var(--yfiles-scrollbar-horizontal-size);
}

.yfiles-scrollbar .yfiles-button.yfiles-button-up {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2215%22%20height%3D%2215%22%3E%3Cpath%20d%3D%22M4%2010%20L7.5%205%20L11%2010%20Z%22/%3E%3C/svg%3E");
  flex-basis: var(--yfiles-scrollbar-vertical-size);
}

.yfiles-scrollbar .yfiles-button.yfiles-button-down {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2215%22%20height%3D%2215%22%3E%3Cpath%20d%3D%22M4%205%20L11%205%20L7.5%2010%20Z%22/%3E%3C/svg%3E");
  flex-basis: var(--yfiles-scrollbar-vertical-size);
}

.yfiles-scrollbar:not(.yfiles-scrollbar-disabled)
  .yfiles-button:not(.yfiles-button-disabled):hover {
  background-color: #bbb;
}

.yfiles-scrollbar .yfiles-button.yfiles-button-disabled,
.yfiles-scrollbar-disabled .yfiles-button {
  opacity: 0.3;
}

.yfiles-scrollbar:not(.yfiles-scrollbar-disabled)
  .yfiles-button:not(.yfiles-button-disabled).yfiles-scrollbar-button-down {
  background-color: #9b9b9b;
}

.yfiles-scrollbar-corner {
  grid-area: 2 / 2 / 3 / 3;
  cursor: default;
}

.yfiles-scrollbar-vertical-static .yfiles-scrollbar,
.yfiles-scrollbar-horizontal-static .yfiles-scrollbar,
.yfiles-scrollbar-vertical-dynamic .yfiles-scrollbar,
.yfiles-scrollbar-horizontal-dynamic .yfiles-scrollbar {
  opacity: 1;
  background: transparent;
  border-radius: 6px;
}

.yfiles-scrollbar-vertical-static .yfiles-scrollbar:is(:hover, :active),
.yfiles-scrollbar-horizontal-static .yfiles-scrollbar:is(:hover, :active),
.yfiles-scrollbar-vertical-dynamic .yfiles-scrollbar:is(:hover, :active),
.yfiles-scrollbar-horizontal-dynamic .yfiles-scrollbar:is(:hover, :active) {
  background: rgba(238, 238, 238, 0.85);
}

.yfiles-scrollbar-vertical-static
  .yfiles-scrollbar-vertical
  .yfiles-scrollbar-slider,
.yfiles-scrollbar-horizontal-static
  .yfiles-scrollbar-horizontal
  .yfiles-scrollbar-slider,
.yfiles-scrollbar-vertical-dynamic
  .yfiles-scrollbar-vertical
  .yfiles-scrollbar-slider,
.yfiles-scrollbar-horizontal-dynamic
  .yfiles-scrollbar-horizontal
  .yfiles-scrollbar-slider {
  border-radius: 4px;
  background: #666666;
}

.yfiles-scrollbar-vertical-static
  .yfiles-scrollbar-vertical
  .yfiles-scrollbar-slider:hover,
.yfiles-scrollbar-horizontal-static
  .yfiles-scrollbar-horizontal
  .yfiles-scrollbar-slider:hover,
.yfiles-scrollbar-vertical-dynamic
  .yfiles-scrollbar-vertical
  .yfiles-scrollbar-slider:hover,
.yfiles-scrollbar-horizontal-dynamic
  .yfiles-scrollbar-horizontal
  .yfiles-scrollbar-slider:hover {
  background: #888;
}

.yfiles-scrollbar-vertical-static
  .yfiles-scrollbar-vertical
  .yfiles-scrollbar-slider.yfiles-scrollbar-slider-dragging,
.yfiles-scrollbar-horizontal-static
  .yfiles-scrollbar-horizontal
  .yfiles-scrollbar-slider.yfiles-scrollbar-slider-dragging,
.yfiles-scrollbar-vertical-dynamic
  .yfiles-scrollbar-vertical
  .yfiles-scrollbar-slider.yfiles-scrollbar-slider-dragging,
.yfiles-scrollbar-horizontal-dynamic
  .yfiles-scrollbar-horizontal
  .yfiles-scrollbar-slider.yfiles-scrollbar-slider-dragging {
  background: #aaa;
}

.yfiles-scrollbar-vertical-static .yfiles-scrollbar-vertical .yfiles-button,
.yfiles-scrollbar-horizontal-static .yfiles-scrollbar-horizontal .yfiles-button,
.yfiles-scrollbar-vertical-dynamic .yfiles-scrollbar-vertical .yfiles-button,
.yfiles-scrollbar-horizontal-dynamic
  .yfiles-scrollbar-horizontal
  .yfiles-button {
  opacity: 0.6;
  background-size: 16px;
}

.yfiles-scrollbar-vertical-static
  .yfiles-scrollbar-vertical.yfiles-scrollbar-inactive:not(:hover, :active),
.yfiles-scrollbar-horizontal-static
  .yfiles-scrollbar-horizontal.yfiles-scrollbar-inactive:not(:hover, :active),
.yfiles-scrollbar-vertical-dynamic
  .yfiles-scrollbar-vertical.yfiles-scrollbar-inactive:not(:hover, :active),
.yfiles-scrollbar-horizontal-dynamic
  .yfiles-scrollbar-horizontal.yfiles-scrollbar-inactive:not(:hover, :active) {
  transition-property: opacity, width, background;
  transition-duration: 0.3s, 0.3s, 0.2s;
  transition-delay: 1s;
  transition-timing-function: ease-in;
}

.yfiles-scrollbar-vertical-dynamic
  .yfiles-scrollbar-vertical.yfiles-scrollbar-inactive:not(:hover, :active),
.yfiles-scrollbar-horizontal-dynamic
  .yfiles-scrollbar-horizontal.yfiles-scrollbar-inactive:not(:hover, :active) {
  opacity: 0;
}

.yfiles-scrollbar-vertical-static
  .yfiles-scrollbar-vertical:not(:hover, :active),
.yfiles-scrollbar-horizontal-static
  .yfiles-scrollbar-horizontal:not(:hover, :active),
.yfiles-scrollbar-vertical-dynamic
  .yfiles-scrollbar-vertical:not(:hover, :active),
.yfiles-scrollbar-horizontal-dynamic
  .yfiles-scrollbar-horizontal:not(:hover, :active) {
  transition: background 0.3s ease-in 1s;
}

.yfiles-scrollbar-vertical-static
  .yfiles-scrollbar-vertical:not(:hover, :active)
  .yfiles-button,
.yfiles-scrollbar-horizontal-static
  .yfiles-scrollbar-horizontal:not(:hover, :active)
  .yfiles-button,
.yfiles-scrollbar-vertical-dynamic
  .yfiles-scrollbar-vertical:not(:hover, :active)
  .yfiles-button,
.yfiles-scrollbar-horizontal-dynamic
  .yfiles-scrollbar-horizontal:not(:hover, :active)
  .yfiles-button {
  opacity: 0;
  transition: opacity 0.3s ease-in 1s;
}

.yfiles-scrollbar-vertical-static
  .yfiles-scrollbar-vertical:not(:hover, :active)
  .yfiles-scrollbar-slider,
.yfiles-scrollbar-horizontal-static
  .yfiles-scrollbar-horizontal:not(:hover, :active)
  .yfiles-scrollbar-slider,
.yfiles-scrollbar-vertical-dynamic
  .yfiles-scrollbar-vertical:not(:hover, :active)
  .yfiles-scrollbar-slider,
.yfiles-scrollbar-horizontal-dynamic
  .yfiles-scrollbar-horizontal:not(:hover, :active)
  .yfiles-scrollbar-slider {
  transition-duration: 0.3s;
  transition-timing-function: ease-in;
  transition-delay: 1s;
}
.yfiles-scrollbar-vertical-static
  .yfiles-scrollbar-vertical:not(:hover, :active)
  .yfiles-scrollbar-slider,
.yfiles-scrollbar-vertical-dynamic
  .yfiles-scrollbar-vertical:not(:hover, :active)
  .yfiles-scrollbar-slider {
  transition-property: width;
  width: calc(100% - 8px);
}
.yfiles-scrollbar-horizontal-static
  .yfiles-scrollbar-horizontal:not(:hover, :active)
  .yfiles-scrollbar-slider,
.yfiles-scrollbar-horizontal-dynamic
  .yfiles-scrollbar-horizontal:not(:hover, :active)
  .yfiles-scrollbar-slider {
  transition-property: height;
  height: calc(100% - 8px);
}

.yfiles-popover__container {
  position: absolute;
  overflow: visible;
  z-index: 1070;
  border-style: none;
  background-color: transparent;
  box-sizing: content-box;
  margin: 0;
  padding: 0;
  outline: none;
  width: max-content; /* do not wrap the container at the document bounds */
}
.yfiles-popover__container-entering {
  transition: opacity 0.2s ease-in;
}
.yfiles-popover__container-enter {
  opacity: 0;
}
.yfiles-popover__container-enter-to {
  opacity: 1;
}
.yfiles-popover__container-leaving {
  transition: opacity 0.2s ease-out;
}
.yfiles-popover__container-leave {
  opacity: 1;
}
.yfiles-popover__container-leave-to {
  opacity: 0;
}
.yfiles-tooltip {
  font-size: 10pt;
  background-color: white;
  color: black;
  border: 1px solid black;
  padding: 6px 8px;
  overflow: visible;
  box-sizing: content-box;
  line-height: 1;
}
.yfiles-context-menu {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #d5d7d8;
  border-radius: 8px;
  box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.3);
  user-select: none;
}
.yfiles-context-menu:focus {
  outline: none;
}
.yfiles-context-menu__item {
  margin: 3px;
  padding: 0;
  border: none;
  border-radius: 5px;
  background-color: white;
  color: black;
  cursor: pointer;
  white-space: nowrap;
}
.yfiles-context-menu__item.text {
  padding: 0.4em 0.5em;
  text-align: left;
}
.yfiles-context-menu__item.icon {
  background-repeat: no-repeat;
  background-position: 0.2em center;
  background-size: 1.1em 1.1em;
  padding-left: 1.5em;
  min-height: 1.5em;
}
.yfiles-context-menu__item.icon.text {
  background-position: 0.4em center;
  padding-left: 2.1em;
  padding-right: 1em;
}

.yfiles-context-menu__item:hover {
  background-color: #f5f5f5 !important;
}
.yfiles-context-menu__item[disabled] {
  pointer-events: none;
  opacity: 0.5;
}
.yfiles-context-menu__item:focus {
  outline: none;
  background-color: #f5f5f5;
}
.yfiles-context-menu__separator {
  width: 100%;
  height: 1px;
  background-color: #ececec;
  min-width: 100px;
}
.yfiles-context-menu-entering {
  transition: opacity 0.2s ease-in;
}
.yfiles-context-menu-enter {
  opacity: 0;
}
.yfiles-context-menu-enter-to {
  opacity: 1;
}
.yfiles-context-menu-leaving {
  transition: opacity 0.2s ease-out;
}
.yfiles-context-menu-leave {
  opacity: 1;
}
.yfiles-context-menu-leave-to {
  opacity: 0;
}

.yfiles-popover__container::backdrop {
  backdrop-filter: none;
  background: transparent;
  opacity: 0;
  border-radius: 0;
  box-shadow: none;
  animation: none;
  transition: none;
}

.yfiles-labeleditbox-container {
  border: 1px solid black;
  background-color: white;
  padding: 2px;
}
.yfiles-labeleditbox-container-enter {
  opacity: 0;
}
.yfiles-labeleditbox-container-enter-to {
  opacity: 1;
}
.yfiles-labeleditbox-container-entering {
  transition: opacity 0.1s ease-in;
}
.yfiles-labeleditbox-container-leave {
  opacity: 1;
}
.yfiles-labeleditbox-container-leave-to {
  opacity: 0;
}
.yfiles-labeleditbox-container-leaving {
  transition: opacity 0.1s ease-out;
}

.yfiles-labeleditbox {
  color: black;
  background-color: transparent;
  border: 0 none;
  padding: 0;
  line-height: normal;
  font-family: sans-serif;
  font-size: 10pt;
  font-stretch: normal;
  font-style: normal;
  font-variant: normal;
  font-weight: 400;
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
  word-spacing: 0;
}

.yfiles-collapsebutton {
  cursor: pointer;
}

.yfiles-bend-template {
  fill: var(--yfiles-theme-primary);
}

.yfiles-port-candidate-template {
  transform: scale(var(--yfiles-theme-scale));
  stroke: var(--yfiles-theme-background);
  stroke-width: 1;
  stroke-linecap: butt;
  stroke-linejoin: miter;
  stroke-miterlimit: 10;
}

.yfiles-port-candidate-template.yfiles-valid {
  fill: #61a044;
}
.yfiles-port-candidate-template.yfiles-invalid {
  fill: #969696;
}

.yfiles-stripe-resize-template,
.yfiles-stripe-selection-template,
.yfiles-stripe-drag-template {
  fill: var(--yfiles-theme-secondary);
  fill-opacity: 0.25;
  stroke: var(--yfiles-theme-secondary);
  stroke-width: 1;
  stroke-linecap: butt;
  stroke-linejoin: miter;
  stroke-miterlimit: 10;
}

.yfiles-label-position-highlight-template,
.yfiles-label-position-candidate-template {
  stroke-width: 1;
  stroke-linecap: butt;
  stroke-linejoin: miter;
  stroke-miterlimit: 10;
}
.yfiles-label-position-highlight-template {
  stroke: var(--yfiles-theme-secondary);
}
.yfiles-label-position-candidate-template {
  stroke: var(--yfiles-theme-primary);
}

.yfiles-handle-template {
  transform: scale(var(--yfiles-theme-scale));
  stroke-width: 1;
  stroke-linecap: butt;
  stroke-linejoin: miter;
  stroke-miterlimit: 10;
}

.yfiles-handle-resize-template {
  fill: var(--yfiles-theme-background);
  stroke: var(--yfiles-theme-primary);
}
.yfiles-handle-move-template {
  fill: var(--yfiles-theme-primary);
  stroke: var(--yfiles-theme-background);
}
.yfiles-handle-move-variant2-template {
  fill: var(--yfiles-theme-primary);
  stroke: var(--yfiles-theme-background);
}
.yfiles-handle-move-variant3-template {
  fill: var(--yfiles-theme-background);
  stroke: var(--yfiles-theme-primary);
}
.yfiles-handle-custom1-template {
  fill: var(--yfiles-theme-background);
  stroke: var(--yfiles-theme-primary);
}
.yfiles-handle-custom2-template {
  fill: var(--yfiles-theme-background);
  stroke: var(--yfiles-theme-primary);
}
.yfiles-handle-custom3-template {
  fill: var(--yfiles-theme-primary);
  stroke: var(--yfiles-theme-background);
}
.yfiles-handle-custom4-template {
  fill: var(--yfiles-theme-primary);
  stroke: var(--yfiles-theme-background);
}
.yfiles-handle-custom5-template {
  fill: var(--yfiles-theme-background);
  stroke: var(--yfiles-theme-primary);
}
.yfiles-handle-custom6-template {
  fill: var(--yfiles-theme-background);
  stroke: var(--yfiles-theme-primary);
}

.yfiles-marquee-rect-template,
.yfiles-overview-viewport-template {
  fill: var(--yfiles-theme-secondary);
  fill-opacity: 0.25;
  stroke: var(--yfiles-theme-secondary);
  stroke-width: 1;
  stroke-linecap: butt;
  stroke-linejoin: miter;
  stroke-miterlimit: 10;
}

.yfiles-lasso-template {
  fill: var(--yfiles-theme-secondary);
  fill-opacity: 0.25;
  stroke: var(--yfiles-theme-secondary);
  stroke-width: 1;
  stroke-linecap: butt;
  stroke-linejoin: round;
  stroke-miterlimit: 10;
}

.yfiles-label-focus-template,
.yfiles-node-focus-template {
  fill: none;
  stroke: var(--yfiles-theme-primary);
  stroke-width: 2;
  stroke-linecap: butt;
  stroke-linejoin: round;
  stroke-miterlimit: 10;
  stroke-dasharray: 4, 4;
  stroke-dashoffset: 3;
}

.yfiles-port-selection-template {
  fill: var(--yfiles-theme-primary);
  stroke: var(--yfiles-theme-background);
  stroke-width: 1;
  stroke-linecap: butt;
  stroke-linejoin: round;
  stroke-miterlimit: 10;
}
.yfiles-popover__container[popover] {
  transition:
    opacity 200ms ease,
    display 200ms allow-discrete;
  opacity: 0;
  &:popover-open {
    opacity: 1;
    @starting-style {
      & {
        opacity: 0;
      }
    }
  }
}
