@charset "UTF-8";
.user-menu {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: auto;
}
.user-menu__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 40px;
  background-color: #3b82f6;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  cursor: default;
  border: none;
  padding: 0;
  flex-shrink: 0;
  transition: background-color 0.1s ease-out;
}
.user-menu__avatar:hover {
  background-color: #2563eb;
}
.user-menu__avatar:active {
  background-color: #1d4ed8;
}
.user-menu__avatar:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
.user-menu__avatar:has(.user-menu__avatar-photo) {
  background-color: transparent;
}
.user-menu__avatar-photo {
  width: 100%;
  height: 100%;
  border-radius: 40px;
  object-fit: cover;
  display: block;
}
.user-menu__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  z-index: 1001;
  border-top-right-radius: 3px;
  display: flex;
  flex-direction: column;
}
.user-menu__header {
  display: flex;
  padding: 8px;
  flex-direction: column;
}
.user-menu__profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 12px 12px;
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.05);
  text-align: center;
}
.user-menu__header-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #3b82f6;
  margin-bottom: 2px;
}
.user-menu__header-avatar-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.user-menu__header-avatar-fallback {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.user-menu__name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1a1a1a;
  max-width: 190px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-menu__email {
  font-size: 0.75rem;
  color: #666;
  max-width: 190px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-menu__item:disabled, .user-menu__item[aria-disabled=true] {
  opacity: 1;
}
.user-menu__item:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: -2px;
}
.user-menu__item--signout:hover {
  background-color: #fff1f1;
}
.user-menu__item--signout:hover .context-menu-item__label {
  color: #b91c1c;
}

.auth-loading,
.auth-error,
.auth-signed-out {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  font-family: inherit;
  font-size: 0.95rem;
  color: #e0e0e0;
  background-color: #202020;
  flex-direction: column;
  gap: 12px;
}
.auth-loading pre,
.auth-error pre,
.auth-signed-out pre {
  font-size: 0.8rem;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 12px 16px;
  border-radius: 4px;
  max-width: 520px;
  overflow: auto;
}

.auth-signed-out {
  background-color: whitesmoke;
  color: #404040;
}

.auth-signed-out__signin {
  padding: 8px 20px;
  font-family: inherit;
  font-size: 0.9rem;
  color: #ffffff;
  background-color: #3b82f6;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.auth-signed-out__signin:hover {
  filter: brightness(1.1);
}

.shapegallery {
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color: whitesmoke;
}
.shapegallery.scroll {
  height: 100%;
}
.shapegallery input {
  width: 100%;
  height: 32px;
  border-left: none;
  border-right: none;
  border-top: none;
  border-bottom: 1px solid #d0d0d0;
  padding: 10px;
  font-family: inherit;
  margin-bottom: 1px;
  /* This is needed to prevent the focus outline from being cut off */
}
.shapegallery input:hover::-webkit-search-cancel-button, .shapegallery input:focus::-webkit-search-cancel-button {
  font-size: 14pt;
  color: #404040;
}
.shapegallery .vert_scroll {
  overflow-y: auto;
  flex: 1 1 auto;
  will-change: transform;
  scrollbar-gutter: stable;
  scrollbar-width: inherit;
  scrollbar-color: transparent transparent;
}
.shapegallery .vert_scroll:hover {
  scrollbar-color: rgba(0, 0, 0, 0.25) transparent;
}
.shapegallery .vert_scroll::-webkit-scrollbar {
  width: 6px;
}
.shapegallery .vert_scroll::-webkit-scrollbar-track {
  background: transparent;
}
.shapegallery .vert_scroll::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 3px;
}
.shapegallery .vert_scroll:hover::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.25);
}

.icon-grid {
  background-color: transparent;
  padding-top: 0;
  padding-bottom: 0;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  flex-wrap: wrap;
  align-content: center;
}
.icon-grid .icon {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}

/* Important: When we create a drop shadow object, we add a new element to the body of the page.
 * The effective selector for this new element is "body .icon svg".
 * We want the shadow element to have the same style as the original svg element, so we cannot be 
 * too specific in the style selectors here.
 * Therefore - we use the selector ".icon svg" instead of ".shapegallery .icon svg" or similar.
 */
.icon {
  text-align: center;
  contain: layout paint style;
}
.icon svg {
  fill: #ffffff;
  stroke: #202020;
  /* This surprising trick makes the svg look better if stroke-line is 1 px */
  padding-left: 0.5px;
  padding-top: 0.5px;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.icon .name {
  text-align: center;
  font-size: 9pt;
  color: #404040;
  margin-top: 4px;
  white-space: pre-line;
  line-height: 1.2;
}
.icon:hover {
  background-color: #d0d0d0;
}
.icon:hover svg {
  margin-top: -1px;
  margin-left: -1px;
  margin-right: 1px;
  margin-bottom: 1px;
}

.ribbon-gallery {
  position: relative;
  height: 68px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ribbon-gallery .ribbon-gallery-strip {
  display: flex;
  align-items: stretch;
  width: fit-content;
  border: 1px solid #c8c8c8;
  overflow: hidden;
  border-radius: 3px;
}
.ribbon-gallery .ribbon-gallery-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  padding: 4px 4px;
}
.ribbon-gallery .ribbon-gallery-chevron {
  background: none;
  border: none;
  border-left: 1px solid #d0d0d0;
  padding: 0 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: inherit;
  flex-shrink: 0;
}
.ribbon-gallery .ribbon-gallery-chevron:hover, .ribbon-gallery .ribbon-gallery-chevron.toggled {
  background-color: #d0d0d0;
}
.ribbon-gallery .ribbon-gallery-chevron svg {
  width: 12px;
  height: 12px;
}

.custom-block-just-added {
  border-radius: 4px;
  animation: custom-block-flash 1.2s ease-out;
}

@keyframes custom-block-flash {
  from {
    background-color: rgba(59, 130, 246, 0.35);
  }
  to {
    background-color: transparent;
  }
}
.custom-block-name-slot {
  position: relative;
  width: 100%;
  min-height: 1.5em;
}

.name.custom-block-name--editing {
  visibility: hidden;
}

textarea.custom-block-rename-input {
  position: absolute;
  z-index: 9999;
  height: auto;
  padding: 0;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  border: 2px inset ButtonBorder;
  outline: none;
  resize: none;
  overflow: hidden;
  background-color: #ffffff;
  font-family: inherit;
  font-size: 9pt;
  text-align: center;
  color: #404040;
  line-height: 1.2;
}

.cursor-crosshair {
  cursor: crosshair;
}

.cursor-default {
  cursor: default;
}

.cursor-grab {
  cursor: grab;
}

.cursor-grabbing {
  cursor: grabbing;
}

.cursor-ew-resize {
  cursor: col-resize;
}

.cursor-ns-resize {
  cursor: row-resize;
}

.jointjs-container {
  width: 100%;
  height: auto;
  background-color: #f8f8f8;
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  overflow: hidden;
}

.jointjs-container.interactivity-inert .jointjs-paper-el, .jointjs-container.interactivity-inert .jointjs-paper-el * {
  pointer-events: none;
}
.jointjs-container.interactivity-inert .joint-tools, .jointjs-container.interactivity-inert .link-tools, .jointjs-container.interactivity-inert .marker-arrowheads,
.jointjs-container.interactivity-inert .joint-highlight-stroke, .jointjs-container.interactivity-inert .joint-highlight-mask, .jointjs-container.interactivity-inert .alignment-guide {
  display: none;
}

.jointjs-container.interactivity-select-only .joint-tools, .jointjs-container.interactivity-select-only .link-tools, .jointjs-container.interactivity-select-only .marker-arrowheads {
  display: none;
}

.jointjs-background-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.jointjs-paper-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Dynamic hide/show of ports on hover */
.joint-port {
  visibility: hidden;
}
.joint-port.visible-port {
  visibility: visible;
}
.joint-port:hover {
  visibility: visible;
}

.joint-element {
  cursor: default;
}
.joint-element:hover .joint-port {
  visibility: visible;
}

/* While a marquee selection rectangle or a gallery block is being dragged,
   suppress the hover-reveal of ports so they don't flicker as the cursor
   passes over blocks — including the moment a host dropdown panel (e.g.
   `RibbonGallery`'s) closes mid-drag and exposes whatever's underneath: the
   browser recomputes `:hover` purely from that DOM change, independent of the
   mouse events a native drag normally suppresses. The explicit always-on
   `visible-port` toggle is intentionally left untouched. */
.marquee-active .joint-port:hover,
.marquee-active .joint-element:hover .joint-port,
.gallery-drag-active .joint-port:hover,
.gallery-drag-active .joint-element:hover .joint-port {
  visibility: hidden;
}
.marquee-active .joint-element[data-type=Subdiagram]:hover .joint-port-body,
.marquee-active .joint-element[data-type=Subdiagram]:hover .joint-port.custom-icon-port .custom-icon-port-label,
.gallery-drag-active .joint-element[data-type=Subdiagram]:hover .joint-port-body,
.gallery-drag-active .joint-element[data-type=Subdiagram]:hover .joint-port.custom-icon-port .custom-icon-port-label {
  visibility: hidden;
}

/* Special port visibility for Subdiagram blocks */
/* Labels are always visible, magnets appear only on hover */
.joint-element[data-type=Subdiagram] {
  /* Port labels (text elements) should always be visible */
}
.joint-element[data-type=Subdiagram] .joint-port-label {
  visibility: visible;
}
.joint-element[data-type=Subdiagram] {
  /* With a custom icon, labels are hover-only to reduce visual clutter. */
}
.joint-element[data-type=Subdiagram] .joint-port.custom-icon-port .custom-icon-port-label {
  visibility: hidden;
}
.joint-element[data-type=Subdiagram] {
  /* Port magnets (connection points) hidden by default */
}
.joint-element[data-type=Subdiagram] .joint-port-body {
  visibility: hidden;
}
.joint-element[data-type=Subdiagram] {
  /* Show magnets on element hover */
}
.joint-element[data-type=Subdiagram]:hover .joint-port-body {
  visibility: visible;
}
.joint-element[data-type=Subdiagram]:hover .joint-port.custom-icon-port .custom-icon-port-label {
  visibility: visible;
}
.joint-element[data-type=Subdiagram] {
  /* Global "show always" setting - override custom behavior */
}
.joint-element[data-type=Subdiagram] .joint-port.visible-port .joint-port-body {
  visibility: visible;
}
.joint-element[data-type=Subdiagram] .joint-port.custom-icon-port.visible-port .custom-icon-port-label {
  visibility: visible;
}

/* Foreign object select in shapes */
.fo-select {
  margin: 4px;
}

.diagram {
  position: relative;
  width: 100%;
  height: 100%;
}

/* In-place rename input box for elements/links */
.inplace-rename-input {
  position: absolute;
  padding: 0;
  margin: 0;
  outline: none;
  background-color: #ffffff;
}

/* Text block styles */
.text-block-content {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  overflow: hidden;
  word-wrap: break-word;
  white-space: pre-wrap;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
}

/* Hide the auto-generated caption label ("TEXT-1") of a Text block or Text
 * Callout. The block shows its own content via the foreignObject below, so
 * the caption is redundant. */
g.joint-type-textblock > text,
g.joint-type-textcallout > text {
  visibility: hidden;
}

/* Alignment guide SVG lines rendered inside .joint-viewport during drag */
.alignment-guide {
  pointer-events: none;
}

/* Root container for block view embedding Yew controlled content. */
.block-view-root {
  font-size: 10pt;
  height: 100%;
  overflow: hidden;
}
.block-view-root > div {
  height: 100%;
}

/* Scalar Expression block styles */
/* Shared cell chrome (border, rounding, gradient) used by both the expression */
/* summary boxes and the variable labels so the two columns match visually. */
/* Top-level two-column wrapper: variables (left) | expressions (right). */
/* The 10px gap is mirrored by COLUMN_GAP in the Leptos scalar_expression view. */
/* The block root's height is set inline by the Leptos component (a definite */
/* pixel height = 40·max(inputs, outputs)), because a foreignObject does not give */
/* its HTML child a resolvable percentage height in WebKit. That definite height */
/* lets the `flex: 1` rows in both columns stretch evenly to fill the block. */
.scalar-expression-block {
  display: flex;
  flex-direction: row;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Left column: fixed width matches VARIABLES_COLUMN_WIDTH in the Leptos view. */
/* No explicit height: `align-items: stretch` sizes this column to the block's */
/* (inline, definite) height. The gap/padding mirror `.scalar-expression-rows` so */
/* the variable cells line up with the expression cells row-for-row. */
.scalar-expression-variables {
  display: flex;
  flex-direction: column;
  flex: 0 0 40px;
  gap: 3px;
  padding-top: 1px;
}

/* One row per IN scalar port. Equal heights so each row center lines up with */
/* the auto-spaced left-edge ports (JointJS places port i at (i+0.5)/N). */
.scalar-expression-variable-row {
  flex: 1 1 0;
  display: flex;
  padding: 2px;
  min-height: 0;
  box-sizing: border-box;
  overflow: hidden;
}

/* Boxed cell matching the expression summary boxes. */
.scalar-expression-variable__label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0 4px;
  color: #404040;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  background: linear-gradient(180deg, #ffffff 0%, #f3f4f6 100%);
  box-sizing: border-box;
}

/* Right column: takes the remaining width (~120px at the 200px block width). */
.scalar-expression-view {
  flex: 1 1 0;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  font-size: 12px;
  overflow: hidden;
}

.scalar-expression-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 100%;
  height: 100%;
  padding: 8px 10px;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  background: linear-gradient(180deg, #ffffff 0%, #f3f4f6 100%);
  box-sizing: border-box;
}
.scalar-expression-summary.is-empty {
  border-style: dashed;
}
.scalar-expression-summary.is-error {
  border-color: #b3261e;
  background: linear-gradient(180deg, #ffffff 0%, #fef7f7 100%);
}

.scalar-expression-summary__headline {
  display: flex;
  align-items: baseline;
  gap: 4px;
  min-width: 0;
  align-items: center;
}

.scalar-expression-summary__label {
  color: #808080;
  flex: 0 0 auto;
}

.scalar-expression-summary__expression {
  color: #404040;
  font-weight: 600;
  line-height: 1.25;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.scalar-expression-summary.is-empty .scalar-expression-summary__expression {
  color: #808080;
  font-weight: 400;
}

.scalar-expression-summary__result {
  color: #404040;
  font-size: 9pt;
  font-weight: 500;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scalar-expression-summary__error-icon {
  display: flex;
  align-items: center;
  color: #ff8f00;
  line-height: 1;
}
.scalar-expression-summary__error-icon svg {
  width: 14px;
  height: 14px;
}

.scalar-expression-rows {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  gap: 3px;
  padding-top: 1px;
}

.scalar-expression-row {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2px;
  border-bottom: none;
  box-sizing: border-box;
  min-height: 0;
  overflow: hidden;
}

/* Select Router View block styles */
/* The block root carries a definite, inline pixel height set by the Leptos */
/* component, and its inner view is stretched via flexbox off that height (a */
/* foreignObject does not resolve a percentage height for its HTML child in */
/* WebKit), matching the proven Scalar Expression layout. */
/* */
/* CRITICAL: nothing inside this foreignObject may use `position: relative` or */
/* `position: absolute`. WebKitGTK 6.0 (GTK4 — the engine behind Epiphany and */
/* the Tauri Linux webview) lays such elements out but never PAINTS them, which */
/* left the whole Select Router interior blank. The active-input arrow is placed */
/* in a left flex gutter and offset with `margin-top` instead of `top`. */
.select-router-block {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

/* Left column reserving room for the active-input arrow. */
.select-router-gutter {
  flex: 0 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.select-router-view {
  flex: 1 1 auto;
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  font-size: 12px;
  overflow: hidden;
  padding: 4px;
}

.select-router-arrow {
  flex: 0 0 auto;
  font-size: 14px;
  font-family: monospace;
  color: inherit;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.select-router-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 100%;
  height: 100%;
  padding: 8px 10px;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  background: linear-gradient(180deg, #ffffff 0%, #f3f4f6 100%);
  box-sizing: border-box;
}
.select-router-summary.is-empty {
  border-style: dashed;
}

.select-router-summary__headline {
  display: flex;
  align-items: baseline;
  gap: 4px;
  min-width: 0;
}

.select-router-summary__label {
  color: #808080;
  flex: 0 0 auto;
}

.select-router-summary__value {
  color: #404040;
  font-weight: 600;
  line-height: 1.25;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.select-router-summary__meta {
  color: #808080;
  font-size: 9pt;
}

/* Scalar Range Selector (Select One) block view */
.scalar-range-source-view,
.scalar-range-selector-view {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  font-size: 12px;
  overflow: hidden;
  justify-content: space-evenly;
}

.scalar-range-selector-row {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

/* Compounds block styles */
.compounds-view {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 8px;
  background-color: #ffffff;
  border: 2px solid #000000;
  font-size: 10pt;
  color: #000000;
  font-weight: 400;
  overflow: hidden;
}

.compounds-view__row {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 18px;
  min-height: 18px;
  color: #000000;
  font-weight: 400;
}

.compounds-view__row--more {
  color: #a0a0a0;
  font-style: italic;
}

.compounds-view__empty {
  color: #a0a0a0;
  line-height: 18px;
  min-height: 18px;
}

/* Diagnostic badges on blocks and connections */
.badge-error,
.badge-warning {
  overflow: visible;
}

.isometric-rosette {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 10;
  pointer-events: none;
  opacity: 0.3;
  transition: opacity 0.2s;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.isometric-rosette:hover {
  opacity: 1;
}

.isometric-rosette__grid {
  display: grid;
  grid-template-columns: 28px 28px;
  grid-template-rows: 28px 28px;
  gap: 1px;
  background-color: #e4e4e4;
  border-radius: 16px;
  position: relative;
}

.isometric-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: #404040;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  padding: 0;
  transition: background 0.15s;
  position: relative;
  z-index: 0;
}
.isometric-btn svg {
  color: #404040;
  pointer-events: none;
}
.isometric-btn:hover {
  background: #d0d0d0;
  color: #ffffff;
}
.isometric-btn:hover svg {
  color: #ffffff;
}
.isometric-btn:hover:active {
  background: #404040;
  color: #f0f0f0;
}
.isometric-btn:hover:active svg {
  color: #f0f0f0;
}
.isometric-btn--active {
  background: #333333;
  color: #ffffff;
}
.isometric-btn--active svg {
  color: #ffffff;
}
.isometric-btn--active:hover {
  background: #333333;
  color: #ffffff;
}
.isometric-btn--active:hover svg {
  color: #ffffff;
}

.isometric-btn--tl {
  border-radius: 16px 0 0 0;
}

.isometric-btn--tr {
  border-radius: 0 16px 0 0;
}

.isometric-btn--bl {
  border-radius: 0 0 0 16px;
}

.isometric-btn--br {
  border-radius: 0 0 16px 0;
}

.isometric-btn--center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid #e8e8e8;
  z-index: 1;
  background: #e4e4e4;
}
.isometric-btn--center.isometric-btn--active {
  background: #333333;
}

.diagram-zoom-controls {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  background-color: #e4e4e4;
  border-radius: 8px;
  pointer-events: auto;
}

.zoom-btn {
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #404040;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s;
}
.zoom-btn svg {
  color: #404040;
  pointer-events: none;
}
.zoom-btn:hover {
  background: #d0d0d0;
  color: #ffffff;
}
.zoom-btn:hover svg {
  color: #ffffff;
}
.zoom-btn:hover:active {
  background: #404040;
  color: #f0f0f0;
}
.zoom-btn:hover:active svg {
  color: #f0f0f0;
}
.zoom-btn:disabled {
  opacity: 0.3;
  pointer-events: none;
}

.zoom-slider {
  width: 120px;
  height: 24px;
  margin: 0 6px;
  position: relative;
  cursor: pointer;
  pointer-events: auto;
  touch-action: none;
}
.zoom-slider__track {
  position: absolute;
  top: 50%;
  left: 4px;
  right: 4px;
  height: 2px;
  transform: translateY(-50%);
  background: #404040;
  border-radius: 1px;
  opacity: 0.5;
  transition: opacity 0.15s;
}
.zoom-slider:hover .zoom-slider__track {
  opacity: 0.8;
}
.zoom-slider__handle {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #404040;
  transform: translate(-50%, -50%);
  cursor: grab;
  transition: background 0.15s;
}
.zoom-slider__handle:hover {
  background: #404040;
}
.zoom-slider__handle:active {
  cursor: grabbing;
}
.zoom-slider__tick {
  position: absolute;
  top: 50%;
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
  background: #404040;
  opacity: 0.55;
  pointer-events: none;
}
.zoom-slider__label {
  position: absolute;
  top: calc(50% + 12px);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  color: #404040;
  opacity: 0.65;
  transform: translateX(-50%);
  pointer-events: none;
  white-space: nowrap;
}

.cm-legend-overlay {
  position: absolute;
  left: 12px;
  top: 80px;
  /* transform: translateY(-50%); */
  pointer-events: none;
  z-index: 10;
}

.cm-legend-bar-wrap {
  position: absolute;
  left: 0;
}

.cm-legend-title {
  font-family: Ubuntu, sans-serif;
  font-size: 10pt;
  color: #808080;
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  line-height: 1;
}

.cm-legend-bar {
  position: absolute;
  border: 1px solid #808080;
  /* The -1 offset is because border add 1px on all side: top and bottom. */
  top: -1px;
  left: 0;
  border-radius: 4px;
  width: 10px;
}

.cm-legend-svg {
  /* position: absolute; */
  left: 0;
  top: 0;
  display: block;
  overflow: visible;
}

.cm-legend-tick {
  stroke: #808080;
  stroke-width: 1;
  opacity: 0.7;
}

.cm-legend-tick-label {
  font-family: Ubuntu, sans-serif;
  font-size: 10pt;
  fill: #808080;
  dominant-baseline: central;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.85));
}

.drag-drop-overlay {
  fill: none;
  stroke: #007acc;
  stroke-width: 3;
  stroke-dasharray: 10 5;
  pointer-events: none;
}

.drag-drop-hint {
  fill: #007acc;
  font-size: 15px;
  text-anchor: middle;
  dominant-baseline: auto;
  pointer-events: none;
  font-family: sans-serif;
  user-select: none;
}

.property-report:has(.property-report-placeholder) {
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.property-report-placeholder {
  border: 2px solid black;
  width: 100%;
  box-sizing: border-box;
  background-color: whitesmoke;
  text-align: center;
  color: #a0a0a0;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.data-grid {
  background-color: #fff;
}

.data-grid-table {
  border: 2px solid #0845c9;
  width: 100%;
  border-collapse: collapse;
}

.data-grid-cell-num {
  background-color: #f3f7fb;
  color: #303030;
}

.data-grid-cell-text {
  background-color: #fafafa;
  color: #606060;
}

.data-grid-cell-compound {
  background-color: #ffffff;
  color: #000000;
  font-size: 10pt;
  font-weight: 400;
  box-sizing: border-box;
  text-align: left;
  padding: 2px 8px;
  border: 1px solid #ddd;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.data-grid-cell-selected {
  box-shadow: inset 0 0 0 1px #0e80ef;
  outline: none;
}
.data-grid-cell-selected[contenteditable=true] {
  box-shadow: inset 0 0 0 2px #0e80ef;
  outline: 3px solid rgba(14, 128, 239, 0.35);
  outline-offset: -1px;
  overflow: visible;
}

table.custom-props-table {
  width: 100%;
  border-collapse: collapse;
}

tr.custom-props-row {
  height: 28px;
  max-height: 28px;
  overflow: hidden;
}

.custom-props-name {
  text-wrap-mode: nowrap;
  padding-left: 1em;
}

td.custom-props-units {
  width: 10px;
  text-wrap-mode: nowrap;
  padding-right: 1em;
}
td.custom-props-units span {
  padding-right: 0.5em;
}

td.custom-props-value {
  text-wrap-mode: nowrap;
}

.marker-segment [joint-selector=handle] {
  fill: #0E80EF;
  stroke: #ffffff;
  stroke-width: 2;
}

.marker-segment [joint-selector=line] {
  stroke: #0E80EF;
}

.marker-vertex {
  fill: #0E80EF;
  stroke: #ffffff;
  stroke-width: 2;
}

.joint-vertices-path {
  stroke: #0E80EF;
}

.ribbon {
  font-size: 12px;
  border-bottom: 1px solid #d0d0d0;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.ribbon-tabs {
  display: flex;
  flex-direction: row;
  border-bottom: 1px solid transparent;
  background-color: #404040;
  padding-left: 24px;
  padding-right: 24px;
  padding-top: 4px;
}

/* ── Custom title-bar for Tauri / Electron ─────────────────────────────────────────────— */
.titlebar-drag-region {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  align-self: stretch;
}

.titlebar-drag-region.titlebar-draggable {
  -webkit-app-region: drag;
}

.titlebar-title {
  font-size: 10pt;
  color: #919191;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}

.titlebar-drag-region.titlebar-collapsed {
  justify-content: flex-start;
  padding-left: 2em;
}
.titlebar-drag-region.titlebar-collapsed .titlebar-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.titlebar-controls {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  margin-top: -4px;
  margin-right: -24px;
  flex-shrink: 0;
}

.titlebar-user-menu {
  display: flex;
  align-items: center;
  margin-right: 2em;
  margin-top: -4px;
  -webkit-app-region: no-drag;
}
.titlebar-user-menu .user-menu {
  margin-left: 0;
}

.titlebar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 100%;
  background: transparent;
  border: none;
  color: #e0e0e0;
  cursor: default;
  padding: 0;
  -webkit-app-region: no-drag;
}
.titlebar-btn:hover {
  background-color: rgba(255, 255, 255, 0.15);
}
.titlebar-btn:active {
  background-color: rgba(255, 255, 255, 0.1);
}
.titlebar-btn svg {
  pointer-events: none;
}

.titlebar-close:hover {
  background-color: #ef4444 !important;
  color: #ffffff;
}

/* ── end custom title-bar ───────────────────────────────────────────────────── */
.ribbon-tab {
  padding: 4px 10px;
  cursor: default;
  user-select: none;
  color: #e0e0e0;
  background-color: transparent;
  margin-bottom: -1px;
  border: 1px solid transparent;
  min-width: 75px;
  text-align: center;
  font-family: inherit;
}
.ribbon-tab:not(.active):not(:disabled):hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
.ribbon-tab:disabled {
  opacity: 0.4;
  cursor: default;
}
.ribbon-tab.active {
  color: #000000;
  background-color: whitesmoke;
  /* border-bottom: 1px solid $color-white; */
  margin-bottom: -1px;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

.ribbon-content {
  display: flex;
  flex-direction: row;
  height: 90px;
  background-color: whitesmoke;
}

.ribbon-resizer {
  display: flex;
  flex-direction: row;
  flex: 1;
}

.page-navigator {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px;
  white-space: nowrap;
}

.page-navigator-page-index {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-left: 1em;
  margin-right: 1em;
}

.page-navigator-page-index p {
  margin: 0;
}

.page-navigator-count {
  font-size: 9pt;
  color: #404040;
}

.page-navigator-page-index input.page-navigator-input {
  width: 3em;
  border: 1px solid #d0d0d0;
  border-radius: 3px;
  padding: 3px 4px;
  text-align: right;
  font-family: inherit;
  font-size: 9pt;
}

.page-navigator button {
  border: 1px solid #d0d0d0;
  border-radius: 3px;
  background: #ffffff;
  color: #404040;
  padding: 3px 6px;
}
.page-navigator button:disabled {
  opacity: 0.4;
}

.print-preview-margin {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 2px 4px;
  font-size: 9pt;
}

.print-preview-margins-grid {
  display: grid;
  justify-items: end;
  grid-template-columns: auto auto;
  margin-top: 12px;
  margin-left: 0.5em;
  margin-right: 0.5em;
  gap: 2px;
}

.ribbon-section {
  padding-bottom: 0;
  position: relative;
}
.ribbon-section::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 75px;
  background-color: #e8e8e8;
  top: 10px;
  right: 0;
}
.ribbon-section .content {
  padding: 0 8px;
  padding-top: 4px;
  display: flex;
  flex-direction: row;
}
.ribbon-section .label {
  padding-top: 1px;
  padding-bottom: 2px;
  text-align: center;
  /* background-color: rgba($color-neutral-900, 0.06); */
  font-size: 8pt;
  color: #606060;
}
.ribbon-section .large {
  display: flex;
  flex-direction: row;
  height: 64px;
  padding-bottom: 4px;
}
.ribbon-section .large button.ribbon-button {
  display: flex;
  flex-direction: column;
  padding: 4px;
  align-items: center;
  white-space: pre-line;
  text-align: center;
  color: #404040;
  padding-top: 2px;
}
.ribbon-section .large button.ribbon-button svg {
  width: 24px;
  height: 24px;
  color: #404040;
  margin-top: 4px;
  margin-bottom: 6px;
}
.ribbon-section .large button.ribbon-button span.dropdown-arrow svg {
  width: 14px;
  height: 14px;
  padding-top: 0px;
  margin-bottom: 0px;
  margin-top: -1px;
}
.ribbon-section .large button.ribbon-button span {
  color: #404040;
  line-height: 1em;
  padding-top: 2px;
  font-size: 10pt;
  font-family: Ubuntu, sans-serif;
  text-wrap-mode: nowrap;
}
.ribbon-section .small,
.ribbon-section .tiny {
  display: flex;
  flex-direction: column;
  height: 68px;
}
.ribbon-section .small div input[type=number] {
  min-width: 22px;
  width: 4em;
  height: 16px;
  font-size: 9pt;
  border-radius: 4px;
  border: 1px solid #d0d0d0;
  color: #404040;
  padding-inline: 4px;
  background-color: #ffffff;
}
.ribbon-section .small div input[type=number]:disabled {
  background-color: rgba(255, 255, 255, 0.4);
  color: rgba(64, 64, 64, 0.4);
  pointer-events: none;
}
.ribbon-section .small div input[type=number]:disabled + label {
  color: rgba(64, 64, 64, 0.4);
}
.ribbon-section .small div input[type=number]:focus {
  outline: 1px solid #3b82f6;
  border-color: #3b82f6;
}
.ribbon-section .small .ribbon-button,
.ribbon-section .tiny .ribbon-button {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-left: 4px;
  padding-right: 4px;
  color: #404040;
  padding-bottom: 2px;
}
.ribbon-section .small .ribbon-angle-field,
.ribbon-section .small .ribbon-size-field {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  gap: 0.5em;
}
.ribbon-section .small .ribbon-angle-field label,
.ribbon-section .small .ribbon-size-field label {
  font-size: 8pt;
  color: #606060;
}
.ribbon-section .small .ribbon-angle-field input[type=number] {
  margin-left: 8px;
}
.ribbon-section .small.ribbon-size-column {
  justify-content: flex-start;
  gap: 1px;
}
.ribbon-section .small .ribbon-size-field {
  justify-content: flex-start;
  padding-left: 8px;
}
.ribbon-section .small .labeled-input-group {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  margin-bottom: 1px;
  align-items: center;
}
.ribbon-section .small .labeled-input-group span {
  width: 2.5em;
}
.ribbon-section {
  /* Just to manually fine tune when needed */
}
.ribbon-section .left-space {
  margin-left: 4px;
}
.ribbon-section {
  /* Panels section (View tab): keep the Left/Right/Bottom panel dropdowns
     equal in width. A grid with equal 1fr columns sized to fit-content makes
     every column take the width of the widest dropdown; the outer ribbon row
     is content-sized, so plain flex can't equalize shrink-to-fit siblings. */
}
.ribbon-section .panels-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  width: fit-content;
}
.ribbon-section .small button.ribbon-button svg,
.ribbon-section .tiny button.ribbon-button svg {
  width: 16px;
  height: 16px;
  padding-left: 4px;
  padding-right: 0;
  padding-top: 1px;
  padding-bottom: 1px;
}
.ribbon-section .tiny button.ribbon-button svg {
  padding-right: 4px;
}
.ribbon-section .small button.ribbon-button span {
  text-align: left;
  padding-right: 4px;
  font-size: 10pt;
  font-family: Ubuntu, sans-serif;
  text-wrap-mode: nowrap;
}
.ribbon-section .tiny .ribbon-button span {
  display: none;
  font-size: 10pt;
  font-family: Ubuntu, sans-serif;
}
.ribbon-section div button.ribbon-button span,
.ribbon-section div button.ribbon-button svg {
  color: #404040;
}
.ribbon-section .content div select {
  height: 22px;
  font-size: 9pt;
  margin-bottom: 2px;
  border-radius: 4px;
  border: 1px solid #d0d0d0;
  background-color: #ffffff;
  color: #404040;
  margin-right: 2px;
  padding-left: 2px;
}
.ribbon-section .large button.ribbon-button.split-upper {
  padding-bottom: 0;
}
.ribbon-section .large button.ribbon-button.split-lower {
  width: 100%;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  padding-top: 0;
  padding-bottom: 5px;
  height: 28px;
}
.ribbon-section .large button.ribbon-button.split-lower .dropdown-arrow {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.ribbon-section div button.ribbon-button.split-lower.toggled span {
  color: #404040;
}
.ribbon-section div button.ribbon-button.toggled span,
.ribbon-section div button.ribbon-button.toggled svg {
  color: #f0f0f0;
}

button.ribbon-button {
  border-width: 0;
  background-color: transparent;
  cursor: default;
  border-radius: 4px;
}
button.ribbon-button:not(:where(:disabled, [aria-disabled=true])):hover {
  background-color: #d0d0d0;
  color: #ffffff;
}
button.ribbon-button:not(:where(:disabled, [aria-disabled=true])):hover svg,
button.ribbon-button:not(:where(:disabled, [aria-disabled=true])):hover span {
  background-color: none;
  color: #ffffff;
}
button.ribbon-button:not(:where(:disabled, [aria-disabled=true])):hover:active {
  background-color: #404040;
  color: #f0f0f0;
}
button.ribbon-button:not(:where(:disabled, [aria-disabled=true])):hover:active svg,
button.ribbon-button:not(:where(:disabled, [aria-disabled=true])):hover:active span {
  background-color: none;
  color: #f0f0f0;
}
button.ribbon-button:is(:disabled, [aria-disabled=true]) {
  opacity: 0.3;
  cursor: default;
}
button.ribbon-button.toggled {
  background-color: #333333;
  color: white;
}
button.ribbon-button.split-upper {
  width: 100%;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
button.ribbon-button.split-lower span {
  display: block;
}

/* Input elements styling */
.ribbon select,
.ribbon option {
  accent-color: #404040;
  color: #404040;
}
.ribbon input[type=checkbox] {
  accent-color: #404040;
  color: #d0d0d0;
  padding-left: 4px;
}
.ribbon label {
  color: #404040;
  margin-left: 6px;
  margin-right: 6px;
}
.ribbon div label:disabled {
  color: #a0a0a0;
  pointer-events: none;
}

/* Special section of ribbon for "technical" buttons aligned to the right */
.ribbon-tab-right-align {
  flex-basis: 100%;
  text-align: right;
}
.ribbon-tab-right-align button {
  border: none;
  background-color: #f0f0f0;
  border-radius: 4px;
  border-color: none;
  padding-top: 4px;
  width: 64px;
}
.ribbon-tab-right-align button:hover {
  background-color: #d0d0d0;
}

/* Button groups and toggle buttons */
.button-group {
  display: flex;
  flex-direction: row;
  /* border: 1px solid $color-neutral-300; */
  background-color: #e4e4e4;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1px;
  margin-top: 3px;
}
.button-group:disabled {
  border-color: #d0d0d0;
}
.button-group button.ribbon-button {
  border: none;
  border-right: 1px solid #c8c8c8;
  border-radius: 0;
  margin: 0;
}
.button-group button.ribbon-button:active {
  border-radius: 0;
}
.button-group button.ribbon-button:active:hover {
  background-color: #404040;
}
.button-group button.ribbon-button:last-child {
  border-right: none;
}
.button-group button.ribbon-button.toggled {
  border-right: 1px solid #606060;
}
.button-group button.ribbon-button.toggled:last-child {
  border-right: none;
}

/* Targets every .my-element EXCEPT the first one */
.button-group + .button-group {
  margin-left: 6px;
}

/* Dropdown and split buttons */
.ribbon-button-dropdown {
  position: relative;
}
.ribbon-button-dropdown.page-setup button.ribbon-button > span.ribbon-button {
  min-width: 50px;
}
.ribbon-button-dropdown:not(.split) button.ribbon-button {
  width: 100%;
  padding-bottom: 0;
  height: 64px;
}
.ribbon-button-dropdown:not(.split) button.ribbon-button > span.ribbon-button {
  display: inline-block;
  text-align: center;
}
.ribbon-button-dropdown:not(.split) button.ribbon-button > * {
  flex-shrink: 0;
}
.ribbon-button-dropdown:not(.split) button.ribbon-button > span.dropdown-arrow {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.ribbon-button-dropdown .ribbon-button.toggled,
.ribbon-button-dropdown .ribbon-button.toggled:active {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
  background-color: #ffffff;
  color: #404040;
}
.ribbon-button-dropdown .btndropwncntnt div {
  border-top-left-radius: 0;
  border-top-right-radius: 8px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  overflow: hidden;
}
.ribbon-button-dropdown:not(.split):has(.btndropwncntnt) {
  z-index: 1002;
}
.ribbon-button-dropdown:not(.split):has(.btndropwncntnt) .ribbon-button.toggled {
  position: relative;
}
.ribbon-button-dropdown:not(.split):has(.btndropwncntnt) .ribbon-button.toggled svg,
.ribbon-button-dropdown:not(.split):has(.btndropwncntnt) .ribbon-button.toggled span {
  color: #404040;
}
.ribbon-button-dropdown:not(.split):has(.btndropwncntnt) .ribbon-button.toggled::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #d0d0d0;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  pointer-events: none;
}
.ribbon-button-dropdown.split:hover button {
  background-color: #f0f0f0;
}
.ribbon-button-dropdown.split button.ribbon-button.split-upper:not(:where(:disabled, [aria-disabled=true])):hover,
.ribbon-button-dropdown.split button.ribbon-button.split-lower:not(:where(:disabled, [aria-disabled=true])):hover {
  background-color: #d0d0d0;
}
.ribbon-button-dropdown.split button.ribbon-button.split-upper:not(:where(:disabled, [aria-disabled=true])):hover:active,
.ribbon-button-dropdown.split button.ribbon-button.split-lower:not(:where(:disabled, [aria-disabled=true])):hover:active {
  background-color: #404040;
  color: #f0f0f0;
}
.ribbon-button-dropdown.split:hover .btndropwncntnt .dropdown-content button {
  background-color: #ffffff;
  /* Keep the active panel tab reading as "on" (dark) inside an open menu,
     overriding the hover-reset above with higher specificity. */
}
.ribbon-button-dropdown.split:hover .btndropwncntnt .dropdown-content button.toggled {
  background-color: #333333;
  color: #ffffff;
}
.ribbon-button-dropdown.split:hover .btndropwncntnt .dropdown-content button.toggled svg,
.ribbon-button-dropdown.split:hover .btndropwncntnt .dropdown-content button.toggled span {
  color: #ffffff;
}
.ribbon-button-dropdown.split:hover .btndropwncntnt .dropdown-content button.toggled:hover {
  background-color: #333333;
  color: #ffffff;
}
.ribbon-button-dropdown.split .btndropwncntnt .dropdown-content button:hover {
  background-color: #f0f0f0;
}
.ribbon-button-dropdown.split:hover button:is(:disabled, [aria-disabled=true]) {
  background-color: whitesmoke;
}
.ribbon-button-dropdown.split:has(.btndropwncntnt) {
  z-index: 1002;
  background-color: #ffffff;
  border-radius: 4px 4px 0 0;
}
.ribbon-button-dropdown.split:has(.btndropwncntnt)::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #d0d0d0;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  pointer-events: none;
  z-index: 1002;
  height: 64px;
}
.ribbon-button-dropdown.split:has(.btndropwncntnt) button.ribbon-button {
  background-color: #ffffff;
  color: #404040;
}
.ribbon-button-dropdown.split:has(.btndropwncntnt) button.ribbon-button svg,
.ribbon-button-dropdown.split:has(.btndropwncntnt) button.ribbon-button span {
  color: #404040;
}
.ribbon-button-dropdown.split:has(.btndropwncntnt) button.ribbon-button.split-upper.toggled {
  background-color: #333333;
  color: #ffffff;
}
.ribbon-button-dropdown.split:has(.btndropwncntnt) button.ribbon-button.split-upper.toggled svg,
.ribbon-button-dropdown.split:has(.btndropwncntnt) button.ribbon-button.split-upper.toggled span {
  color: #ffffff;
}
.ribbon-button-dropdown.split:not(:has(.btndropwncntnt)) button.ribbon-button.split-upper.toggled {
  background-color: #333333;
  color: #ffffff;
}
.ribbon-button-dropdown.split:not(:has(.btndropwncntnt)) button.ribbon-button.split-upper.toggled svg,
.ribbon-button-dropdown.split:not(:has(.btndropwncntnt)) button.ribbon-button.split-upper.toggled span {
  color: #ffffff;
}
.ribbon-button-dropdown.split:not(:has(.btndropwncntnt)) button.ribbon-button.split-upper.toggled:hover {
  background-color: #333333;
  color: #ffffff;
}
.ribbon-button-dropdown.split:not(:has(.btndropwncntnt)) button.ribbon-button.split-upper.toggled:hover svg,
.ribbon-button-dropdown.split:not(:has(.btndropwncntnt)) button.ribbon-button.split-upper.toggled:hover span {
  color: #ffffff;
}

/* Dropdown content */
.dropdown-content {
  display: block;
  position: absolute;
  background-color: #ffffff;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  padding: 4px;
  color: #404040;
  font-family: Ubuntu, sans-serif;
  font-size: 10pt;
  z-index: 1001;
}
.dropdown-content button {
  color: #404040;
  font-family: inherit;
  font-size: inherit;
  padding: 8px 1em 8px 2em;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5em;
  cursor: default;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}
.dropdown-content button:hover {
  background-color: #f0f0f0;
  color: #000000;
}
.dropdown-content button:disabled {
  color: #b0b0b0;
  pointer-events: none;
}
.dropdown-content button {
  /* Toggled/checked state mirrors `button.ribbon-button.toggled` so the
     active item in a panel dropdown reads as "on". */
}
.dropdown-content button.toggled {
  background-color: #333333;
  color: #ffffff;
}
.dropdown-content button.toggled svg,
.dropdown-content button.toggled span {
  color: #ffffff;
}
.dropdown-content button.toggled:hover {
  background-color: #333333;
  color: #ffffff;
}
.dropdown-content .context-menu-item__icon-label {
  display: flex;
  align-items: center;
  gap: 0.55em;
}
.dropdown-content .context-menu-item__icon-label svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Show the dropdown content on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* When any item in a dropdown has an icon, halve the left padding */
.dropdown-content:has(.context-menu-item__icon-label) button {
  padding-left: 1em;
}
.dropdown-content:has(.context-menu-item__icon-label) .file-menu-submenu-item {
  padding-left: 1em;
}

/* Nested dropdowns (submenus) that don't have icons: restore original padding */
.dropdown-content:has(.context-menu-item__icon-label) .dropdown-content:not(:has(.context-menu-item__icon-label)) button {
  padding-left: 2em;
}

hr.dropdown-separator {
  border: none;
  border-top: 1px solid #d0d0d0;
  margin: 4px 0;
}

/* Grid size picker panel — override .btndropwncntnt div inherited styles */
.ribbon-button-dropdown .btndropwncntnt .grid-picker-panel {
  min-width: auto;
  padding: 8px;
  overflow: visible;
  border-radius: 8px;
}
.ribbon-button-dropdown .btndropwncntnt .grid-picker-panel div {
  border-radius: 0;
  overflow: visible;
}

/* Ribbon gallery dropdown — full by-category view with its own vertical scrollbar.
 * Fixed width: CSS `width: fit-content` doesn't reliably size to a category's
 * widest icon row through the nested flex/scroll containers in between (the
 * chain is all indefinite/percentage-width, so nothing propagates a
 * max-content size up to the panel), so a flat width is far simpler and more
 * predictable than trying to make it content-driven. */
.ribbon-button-dropdown .btndropwncntnt .ribbon-gallery-panel {
  width: 600px;
  max-height: 60vh;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
}
.ribbon-button-dropdown .btndropwncntnt .ribbon-gallery-panel div {
  border-radius: 0;
  overflow: visible;
}
.ribbon-button-dropdown .btndropwncntnt .ribbon-gallery-panel .vert_scroll {
  max-height: 60vh;
  overflow-y: auto;
  will-change: transform;
}

.grid-picker-grid {
  display: grid;
  gap: 0;
  cursor: default;
}

.grid-picker-cell {
  width: 18px;
  height: 18px;
  margin: 1px;
  border: 1px solid #d0d0d0;
  background-color: #ffffff;
}
.grid-picker-cell.highlighted {
  background-color: rgba(59, 130, 246, 0.4);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 0 0 1px #f0f0f0;
}

.grid-picker-checkbox {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 2px 8px;
  font-size: 9pt;
  color: #404040;
  cursor: default;
  user-select: none;
}
.grid-picker-checkbox input[type=checkbox] {
  margin: 0;
  cursor: default;
}

.grid-picker-label {
  text-align: center;
  margin-top: 6px;
  font-size: 9pt;
  color: #404040;
  white-space: nowrap;
  user-select: none;
  min-height: 1.2em;
}

/* File menu button - styled like a tab but slightly different */
.file-menu-button {
  position: relative;
  display: flex;
  align-items: flex-end;
}

.ribbon-file-tab {
  padding: 4px 10px;
  cursor: default;
  user-select: none;
  background-color: #2563eb;
  color: #ffffff;
  margin-bottom: -1px;
  border: 1px solid transparent;
  min-width: 60px;
  text-align: center;
  font-family: inherit;
  font-size: 12px;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  margin-right: 8px;
}
.ribbon-file-tab:hover {
  background-color: #3b82f6;
  /* distinct color to differentiate from regular tabs */
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
.ribbon-file-tab:hover:active {
  background-color: #1d4ed8;
}
.ribbon-file-tab.active {
  color: #000000;
  background-color: #ffffff;
  border: 1px solid #d0d0d0;
  border-bottom: 1px solid #ffffff;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  position: relative;
  z-index: 1002;
}

.file-menu-dropdown {
  top: 100%;
  left: 0;
  border-radius: 8px;
  border-top-left-radius: 0;
}
.file-menu-dropdown button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5em;
  padding-right: 1em;
  padding-left: 2em;
  white-space: nowrap;
}
.file-menu-dropdown .context-menu-item__icon-label {
  display: flex;
  align-items: center;
  gap: 0.55em;
}
.file-menu-dropdown .context-menu-item__icon-label svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.file-menu-dropdown .context-menu-item__icon-placeholder {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.file-menu-submenu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5em;
  padding: 8px 1em 8px 2em;
  cursor: default;
  color: #404040;
  position: relative;
  white-space: nowrap;
  font-family: Ubuntu, sans-serif;
  font-size: 10pt;
}
.file-menu-submenu-item:hover {
  background-color: #f0f0f0;
  color: #000000;
}
.file-menu-submenu-item.context-menu-item--disabled {
  opacity: 0.5;
}
.file-menu-submenu-item.context-menu-item--disabled:hover {
  background-color: transparent;
  color: #404040;
}
.file-menu-submenu-item .file-menu-submenu {
  position: absolute;
  left: 100%;
  top: 0;
  border-radius: 8px;
}

.left-side-panel {
  display: flex;
  flex-wrap: nowrap;
  height: 100%;
  position: relative;
  background-color: whitesmoke;
  user-select: none;
}
.left-side-panel .left-tab-content {
  border-right: 1px solid #d0d0d0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}
.left-side-panel .tabs {
  flex: 0 0 40px;
  border-right: 1px solid #d0d0d0;
}

.right-side-panel {
  display: flex;
  flex-wrap: nowrap;
  height: 100%;
  position: relative;
  user-select: none;
  background-color: whitesmoke;
}
.right-side-panel .right-tab-content {
  border-left: 1px solid #d0d0d0;
  display: flex;
  flex-direction: row;
  min-width: 0;
  overflow: hidden;
}
.right-side-panel .tabs {
  flex: 0 0 40px;
  border-left: 1px solid #d0d0d0;
}

.bottom-panel {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  position: relative;
  user-select: none;
  background-color: whitesmoke;
}

.bottom-panel .resize-handle--top {
  width: 100%;
  height: 7px;
  flex: 0 0 7px;
  cursor: row-resize;
  background-color: transparent;
  border-bottom: 1px solid #d0d0d0;
  position: relative;
  user-select: none;
  transition: background-color 0.1s ease;
}
.bottom-panel .resize-handle--top::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 2px;
  background: repeating-linear-gradient(to right, #808080 0px, #808080 2px, transparent 2px, transparent 6px);
  opacity: 0.4;
}
.bottom-panel .resize-handle--top:hover {
  background-color: rgba(128, 128, 128, 0.4);
}
.bottom-panel .resize-handle--top:hover::before {
  opacity: 0.85;
}
.bottom-panel .resize-handle--top:active {
  background-color: rgba(128, 128, 128, 0.7);
}

.bottom-tab-strip {
  flex: 0 0 40px;
  display: flex;
  flex-direction: row;
  align-items: center;
  border-top: 1px solid #d0d0d0;
  padding: 0 4px;
  overflow: visible;
}
.bottom-tab-strip .tab {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 32px;
  margin: 0 2px;
  flex: 0 0 auto;
}

.bottom-status {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 8px;
}
.bottom-status__selection {
  font-size: 9pt;
  color: #202020;
  white-space: nowrap;
}
.bottom-status .ws-message {
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9pt;
  color: #202020;
}

.sim-strip {
  flex: 0 1 420px;
  min-width: 0;
  height: 32px;
  margin: 0 8px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  container-type: inline-size;
}
.sim-strip__workers, .sim-strip__progress {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  line-height: 1.15;
}
.sim-strip__workers {
  flex: 0 0 auto;
}
.sim-strip__progress {
  flex: 1 1 auto;
}
.sim-strip__workers-label, .sim-strip__status, .sim-strip__pct {
  font-size: 8pt;
  color: #808080;
  white-space: nowrap;
}
.sim-strip__status {
  overflow: hidden;
  text-overflow: ellipsis;
}
.sim-strip__bar-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.sim-strip__pct {
  flex: 0 0 auto;
  color: #202020;
  font-weight: 500;
}
.sim-strip__bar {
  flex: 1 1 auto;
  min-width: 0;
  height: 6px;
  appearance: none;
  border: none;
  border-radius: 3px;
  background-color: #e0e0e0;
}
.sim-strip__bar::-webkit-progress-bar {
  background-color: #e0e0e0;
  border-radius: 3px;
}
.sim-strip__bar::-webkit-progress-value {
  background-color: #3b82f6;
  border-radius: 3px;
}
.sim-strip__bar::-moz-progress-bar {
  background-color: #3b82f6;
  border-radius: 3px;
}
.sim-strip__dots {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 2px;
}
.sim-strip__dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background-color: #e0e0e0;
}
.sim-strip__dot.is-busy {
  background-color: #3b82f6;
}
.sim-strip__dot.is-faulted {
  background-color: #b3261e;
}
.sim-strip__dot.is-starting {
  opacity: 0.7;
}
.sim-strip__dot--dormant {
  opacity: 0.35;
}
.sim-strip__cancel {
  flex: 0 0 auto;
  height: 22px;
  padding: 0 8px;
  font-size: 8pt;
}
.sim-strip__cancel-icon {
  display: none;
}

@container (max-width: 260px) {
  .sim-strip__workers,
  .sim-strip__status,
  .sim-strip__cancel-text {
    display: none;
  }
  .sim-strip__cancel-icon {
    display: inline;
  }
}
.bottom-tab-content {
  flex: 1 1 auto;
  overflow: auto;
  background-color: whitesmoke;
  min-height: 0;
}

.dock-list {
  height: 100%;
}
.dock-list__messages {
  height: 100%;
  overflow: auto;
  list-style: none;
  margin: 0;
  padding: 4px 8px;
}
.dock-list__message {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 9pt;
  line-height: 1.5;
  color: #404040;
  white-space: pre-wrap;
  word-break: break-word;
  padding: 1px 4px;
  border-left: 2px solid transparent;
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
}
.dock-list__message svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.dock-list__message--empty {
  color: #808080;
  font-style: italic;
}
.dock-list__message.is-error {
  background: #fef7f7;
  border-left-color: #b3261e;
  color: #b3261e;
}
.dock-list__message.is-warning {
  background: #fffbf0;
  border-left-color: #ff8f00;
  color: #7c5700;
}
.dock-list__message.is-info {
  border-left-color: #3b82f6;
}
.dock-list__message.is-info svg {
  color: #3b82f6;
}
.dock-list__message-text {
  flex: 1 1 0;
  min-width: 0;
}

.ws-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  cursor: default;
}
.ws-dot--connected {
  background-color: #22c55e;
  box-shadow: 0 0 4px #16a34a;
}
.ws-dot--disconnected {
  background-color: #ef4444;
  box-shadow: 0 0 4px #b91c1c;
}

.bottom-status__connect {
  padding: 1px 8px;
  font-size: 11px;
  line-height: 18px;
  cursor: pointer;
  border: 1px solid #d0d0d0;
  border-radius: 3px;
  background: whitesmoke;
  color: #444444;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.bottom-status__connect:hover {
  background: #e8e8e8;
}

.tab {
  background-color: whitesmoke;
  min-height: 32px;
  width: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 4px;
  margin-left: 4px;
  margin-top: 4px;
  border-radius: 3px;
  color: #404040;
  position: relative;
}
.tab svg {
  pointer-events: none;
  width: 20px;
  height: 20px;
}
.tab.selected {
  background-color: #333333;
  color: #ffffff;
}
.tab:hover {
  color: #404040;
  background-color: #d0d0d0;
}
.tab.selected:hover {
  color: #ffffff;
  background-color: #333333;
}

.tab__badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  line-height: 1;
  text-align: center;
  font-weight: 600;
  pointer-events: none;
}
.tab__badge--error {
  background-color: #ef4444;
  color: #ffffff;
}
.tab__badge--warning {
  background-color: #ff8f00;
  color: #7c5700;
}

.diagram_breadcrumbs {
  cursor: default;
  position: absolute;
  top: 0.75em;
  left: 0.5em;
  background-color: #f8f8f8;
  font-size: 10pt;
  line-height: 1.4;
  color: #808080;
  margin: 0;
}
.diagram_breadcrumbs span.sep {
  padding-inline: 0.1em;
}
.diagram_breadcrumbs span.name,
.diagram_breadcrumbs span.link {
  padding: 0.1em;
  padding-inline: 0.5em;
  border-radius: 3px;
}
.diagram_breadcrumbs span.name {
  cursor: pointer;
}
.diagram_breadcrumbs span.name:hover {
  background-color: #d0d0d0;
}
.diagram_breadcrumbs span.name.selected {
  background-color: #0E80EF;
  color: #ffffff;
}
.diagram_breadcrumbs span.link {
  color: #444444;
  text-decoration: underline;
  text-decoration-style: dashed;
  text-underline-offset: 3px;
  cursor: pointer;
}
.diagram_breadcrumbs span.link:hover {
  background-color: #d0d0d0;
}
.diagram_breadcrumbs span.link:active {
  background-color: #404040;
  color: #f0f0f0;
}
.diagram_breadcrumbs span.link:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.list-section {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.list-section--grow {
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
}

.list-section-body {
  display: block;
  min-height: 0;
}
.list-section-body[hidden] {
  display: none;
}
.list-section-body--grow {
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.list-section-body--grow[hidden] {
  display: none;
}

.list-section-header {
  position: sticky;
  top: 0;
  z-index: 1;
  backface-visibility: hidden;
  transform: translateZ(0);
  background-color: whitesmoke;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0.25rem 0.5rem;
  padding-top: 1.5rem;
  font-size: 9pt;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0E80EF;
  border-bottom: 1px solid #d0d0d0;
  cursor: default;
  user-select: none;
}
.list-section-header svg {
  padding-right: 0.5em;
}

.list-section-header__chevron {
  background: none;
  border: none;
  padding: 0;
  margin-right: 0.25em;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: inherit;
  flex-shrink: 0;
}
.list-section-header__chevron svg {
  padding-right: 0;
  width: 16px;
  height: 16px;
}

.list-section-header__icon {
  display: inline-flex;
  align-items: center;
  margin-right: 0.25em;
  flex-shrink: 0;
}
.list-section-header__icon svg {
  width: 14px;
  height: 14px;
}

.list-section-header .list-section-header__checkbox {
  width: 14px;
  height: 14px;
  min-width: 14px;
  padding: 0;
  margin: 0 0.6em 0 0;
  border: none;
  flex-grow: 0;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: #0E80EF;
}
.list-section-header .list-section-header__checkbox:disabled {
  cursor: not-allowed;
}

.navigator-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: whitesmoke;
  overflow: hidden;
}

.navigator-toolbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  height: 31px;
  border-bottom: 1px solid #d0d0d0;
  background-color: whitesmoke;
}

.navigator-toolbar-buttons {
  display: flex;
  flex-direction: row;
  gap: 0.25rem;
  padding-right: 0.25rem;
}

.navigator-toolbar-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: default;
  border-radius: 3px;
  color: #808080;
  transition: all 0.15s ease;
}
.navigator-toolbar-button:hover {
  background-color: #d0d0d0;
  color: #404040;
}
.navigator-toolbar-button:active {
  background-color: #9ca3af;
}
.navigator-toolbar-button svg {
  width: 16px;
  height: 16px;
}

.navigator-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  scrollbar-width: inherit;
  scrollbar-color: transparent transparent;
}
.navigator-content:hover {
  scrollbar-color: #808080 transparent;
}
.navigator-content::-webkit-scrollbar-track {
  background: transparent;
}
.navigator-content::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 3px;
}
.navigator-content:hover::-webkit-scrollbar-thumb {
  background: #808080;
}
.navigator-content::-webkit-scrollbar-thumb:hover {
  background: #808080;
}

.tree-node {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0.25rem 0.5rem;
  cursor: default;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition: background-color 0.15s ease;
}
.tree-node:hover {
  background-color: #d0d0d0;
}
.tree-node svg {
  stroke-width: 1;
}
.tree-node .tree-node-chevron {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 16px;
  height: 16px;
  margin-right: 4px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.tree-node .tree-node-chevron:hover {
  background-color: rgba(128, 128, 128, 0.1);
  border-radius: 3px;
}
.tree-node .tree-node-chevron svg {
  width: 24px;
  height: 24px;
}
.tree-node .tree-node-chevron-spacer {
  width: 18px;
  height: 18px;
  margin-right: 4px;
  flex-shrink: 0;
}
.tree-node .tree-node-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 18px;
  margin-right: 0.25rem;
  flex-shrink: 0;
}
.tree-node .tree-node-icon svg {
  width: 18px;
  height: 18px;
}
.tree-node .tree-node-icon.icon-heat {
  color: #ef4444;
}
.tree-node .tree-node-icon.group svg {
  fill: #ffdd88;
}
.tree-node .tree-node-label {
  flex: 1;
  font-size: 10pt;
  color: #404040;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tree-node.tree-node-selected {
  background-color: #0E80EF;
  color: #ffffff;
}
.tree-node.tree-node-selected:hover {
  color: #d0d0d0;
}
.tree-node.tree-node-selected .tree-node-chevron {
  color: #ffffff;
}
.tree-node.tree-node-selected .tree-node-icon {
  color: #ffffff;
}
.tree-node.tree-node-selected .tree-node-label {
  color: #ffffff;
}

.reaction-search-panel .compound-status {
  padding: 1rem 0.5rem;
  font-size: 9pt;
  color: #808080;
  text-align: center;
}
.reaction-search-panel .reaction-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-sizing: border-box;
  padding: 5px 0.5rem;
  cursor: default;
  line-height: 1.35;
  transition: background-color 0.1s ease-out;
}
.reaction-search-panel .reaction-row:hover {
  background-color: #d0d0d0;
}
.reaction-search-panel .reaction-row__name {
  font-size: 10pt;
  font-weight: 500;
  color: #404040;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.reaction-search-panel .reaction-row__equation {
  font-size: 9pt;
  color: #808080;
  overflow-wrap: anywhere;
}

.mixture-search-panel .mixture-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-sizing: border-box;
  padding: 5px 0.5rem;
  cursor: grab;
  line-height: 1.35;
  transition: background-color 0.1s ease-out;
}
.mixture-search-panel .mixture-row:hover {
  background-color: #d0d0d0;
}
.mixture-search-panel .mixture-row:active {
  cursor: grabbing;
}
.mixture-search-panel .mixture-row__name {
  font-size: 10pt;
  font-weight: 500;
  color: #404040;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mixture-search-panel .mixture-row__components {
  font-size: 9pt;
  color: #808080;
  overflow-wrap: anywhere;
}

.units-panel .units-panel__category {
  margin-bottom: 0.5rem;
}
.units-panel .units-panel__category:last-child {
  margin-bottom: 0;
}
.units-panel .units-panel__rows {
  padding: 0.25rem 0;
}
.units-panel .unit-row {
  display: grid;
  grid-template-columns: minmax(125px, 1fr) minmax(88px, auto);
  align-items: center;
  column-gap: 0.5rem;
  min-height: 22px;
  padding: 2px 0.5rem;
  border-bottom: 1px solid #e8e8e8;
}
.units-panel .unit-row:last-child {
  border-bottom: none;
}
.units-panel .unit-label {
  color: #404040;
  font-size: 10pt;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.units-panel .unit-editor {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  font-size: 10pt;
  line-height: normal;
  color: #404040;
  background-color: #ffffff;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  padding: 2px 20px 2px 6px;
  box-sizing: border-box;
  outline: none;
  cursor: pointer;
  justify-self: end;
  max-width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23808080' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 10px 6px;
}
.units-panel .unit-editor:hover {
  border-color: #808080;
}
.units-panel .unit-editor:focus-visible {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.4);
}

.compound-search-panel .compound-status,
.compound-selector .compound-status,
.compound-selector__dropdown .compound-status {
  padding: 1rem 0.5rem;
  font-size: 9pt;
  color: #808080;
  text-align: center;
}
.compound-search-panel .compound-status--error,
.compound-selector .compound-status--error,
.compound-selector__dropdown .compound-status--error {
  color: #b3261e;
}
.compound-search-panel .compound-row,
.compound-selector .compound-row,
.compound-selector__dropdown .compound-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 5px 0.5rem;
  cursor: default;
  transition: background-color 0.1s ease-out;
}
.compound-search-panel .compound-row:hover,
.compound-selector .compound-row:hover,
.compound-selector__dropdown .compound-row:hover {
  background-color: #d0d0d0;
}
.compound-search-panel .compound-row__left,
.compound-selector .compound-row__left,
.compound-selector__dropdown .compound-row__left {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.compound-search-panel .compound-row__right,
.compound-selector .compound-row__right,
.compound-selector__dropdown .compound-row__right {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.compound-search-panel .compound-row__name,
.compound-selector .compound-row__name,
.compound-selector__dropdown .compound-row__name {
  font-weight: 500;
  color: #404040;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 10pt;
}
.compound-search-panel .compound-row__formula,
.compound-selector .compound-row__formula,
.compound-selector__dropdown .compound-row__formula {
  font-size: 9pt;
  color: #404040;
}
.compound-search-panel .compound-row__mw,
.compound-selector .compound-row__mw,
.compound-selector__dropdown .compound-row__mw {
  font-size: 9pt;
  color: #808080;
}
.compound-search-panel .compound-row__cas,
.compound-selector .compound-row__cas,
.compound-selector__dropdown .compound-row__cas {
  font-size: 9pt;
  color: #9ca3af;
}
.compound-search-panel .compound-row__synonym-hint,
.compound-selector .compound-row__synonym-hint,
.compound-selector__dropdown .compound-row__synonym-hint {
  font-size: 9pt;
  color: #808080;
  font-style: italic;
}
.compound-search-panel .compound-highlight,
.compound-selector .compound-highlight,
.compound-selector__dropdown .compound-highlight {
  color: #3b82f6;
  font-weight: 600;
}

.compound-selector {
  width: 100%;
}
.compound-selector__input {
  width: 100%;
  box-sizing: border-box;
}

.compound-selector__dropdown {
  position: fixed;
  z-index: 1001;
  min-width: 220px;
  max-height: 260px;
  overflow-y: auto;
  background-color: #ffffff;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}
.compound-selector__dropdown .compound-row {
  cursor: pointer;
}
.compound-selector__dropdown .compound-row--highlighted {
  background-color: #d0d0d0;
}

.context-menu {
  position: absolute;
  border-radius: 4px;
  border: 1px solid #d0d0d0;
  font-family: Ubuntu, sans-serif;
  font-size: 10pt;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  min-width: fit-content;
  white-space: nowrap;
  opacity: 1;
  transition: opacity 0.1s ease;
}
.context-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5em;
  padding-right: 1em;
  padding-left: 2em;
  font-family: inherit;
  font-size: inherit;
}
.context-menu-item__shortcut {
  font-size: 0.85em;
  opacity: 0.5;
  font-family: inherit;
  letter-spacing: 0.02em;
}
.context-menu-item__submenuarrow {
  font-size: 1.25em;
  font-family: inherit;
  letter-spacing: 0.02em;
  margin-top: -4px;
  margin-bottom: -4px;
}
.context-menu:focus, .context-menu:focus-visible {
  outline: none;
}

.context-menu--fixed {
  position: fixed;
  z-index: 9999;
  padding: 4px;
  border-radius: 8px;
}

.context-menu:has(.context-menu-item__icon-label) button {
  padding-left: 1em;
}

.context-menu:has(.context-menu-item__icon-label) .dropdown-content:not(:has(.context-menu-item__icon-label)) button {
  padding-left: 2em;
}

.context-menu-submenu-wrapper {
  position: relative;
}
.context-menu-submenu-wrapper .context-menu-submenu-trigger {
  width: 100%;
  gap: 5em;
}

.context-menu-submenu-flyout {
  position: absolute;
  left: 100%;
  top: 0;
  z-index: 10000;
  padding: 4px;
  border-radius: 8px;
  min-width: 10em;
}

/* Hide separators that end up first or last in a submenu flyout */
.context-menu-submenu-flyout > .dropdown-separator:first-child,
.context-menu-submenu-flyout > .dropdown-separator:last-child {
  display: none;
}

/* Prevent consecutive separators in any dropdown/context menu */
.dropdown-separator + .dropdown-separator {
  display: none;
}

.ps-tooltip {
  position: fixed;
  pointer-events: none;
  z-index: 10001;
  box-sizing: border-box;
  max-width: 280px;
  padding: 8px 10px;
  background: whitesmoke;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  font-family: Ubuntu, sans-serif;
  text-align: left;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  opacity: 0;
}
.ps-tooltip__title {
  font-size: 10pt;
  font-weight: 600;
  color: #404040;
  line-height: 1.25;
}
.ps-tooltip__description {
  margin-top: 4px;
  font-size: 9pt;
  color: #808080;
  line-height: 1.35;
}
.ps-tooltip__reason {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid #e8e8e8;
  font-size: 9pt;
  color: #7c5700;
  line-height: 1.35;
}
.ps-tooltip__shortcut {
  margin-top: 6px;
  font-size: 8pt;
  color: #606060;
  letter-spacing: 0.02em;
}
.ps-tooltip__arrow {
  position: absolute;
  width: 0;
  height: 0;
  margin-left: -8px;
}
.ps-tooltip__arrow::before, .ps-tooltip__arrow::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
}
.ps-tooltip__arrow {
  top: -8px;
}
.ps-tooltip__arrow::before {
  border-bottom: 8px solid #d0d0d0;
}
.ps-tooltip__arrow::after {
  top: 1px;
  left: 1px;
  border-left-width: 7px;
  border-right-width: 7px;
  border-bottom: 7px solid whitesmoke;
}

.ps-tooltip--shown {
  animation: ps-tooltip-fade 0.1s ease-out forwards;
}

.ps-tooltip--above .ps-tooltip__arrow {
  top: auto;
  bottom: -8px;
}

.ps-tooltip--above .ps-tooltip__arrow::before {
  border-bottom: none;
  border-top: 8px solid #d0d0d0;
}

.ps-tooltip--above .ps-tooltip__arrow::after {
  top: auto;
  bottom: 1px;
  border-bottom: none;
  border-top: 7px solid whitesmoke;
}

@keyframes ps-tooltip-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.discrete-slider {
  position: relative;
  display: flex;
  align-items: center;
  height: 20px;
  flex: 1;
  min-width: 0;
  user-select: none;
  cursor: pointer;
  margin-left: 11px;
}
.discrete-slider--disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.discrete-slider__track {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 4px;
  background: #cbd5e1;
  border-radius: 2px;
  cursor: pointer;
}
.discrete-slider--disabled .discrete-slider__track {
  cursor: not-allowed;
}
.discrete-slider__thumb {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-left: -11px;
  transform: translateY(-50%);
  background: #3b82f6;
  border-radius: 50%;
  pointer-events: none;
  border: 4px solid white;
  filter: drop-shadow(0 0 2px #666);
}
.discrete-slider--disabled .discrete-slider__thumb {
  background: #94a3b8;
}
.discrete-slider__tick {
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  transform: translateY(-50%);
  background: #64748b;
  border-radius: 50%;
  pointer-events: none;
}
.discrete-slider__tick--forbidden {
  background: #e2e8f0;
  outline: 1px solid #cbd5e1;
}
.discrete-slider__drag-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  cursor: grabbing;
}

.fixed-headers {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5em;
}

.fixed_headers td,
.fixed_headers thead th {
  padding: 5px;
  text-align: left;
}
.fixed_headers thead,
.fixed_headers textarea {
  background-color: #404040;
  color: #ffffff;
}
.fixed_headers thead tr {
  position: relative;
}
.fixed_headers tbody tr:nth-child(even) {
  background-color: #d1d5db;
}
.fixed_headers thead th {
  position: sticky;
  top: 0;
  background-color: #404040;
  resize: horizontal;
  overflow: auto;
  min-width: 70px;
}

.no-selection {
  padding-top: 4em;
  text-align: center;
  color: #808080;
}

.property-panel {
  position: relative;
  font-size: 10pt;
  width: 100%;
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  will-change: transform;
  scrollbar-gutter: stable;
  scrollbar-width: inherit;
  scrollbar-color: transparent transparent;
}
.property-panel:hover {
  scrollbar-color: rgba(0, 0, 0, 0.25) transparent;
}
.property-panel::-webkit-scrollbar {
  width: 6px;
}
.property-panel::-webkit-scrollbar-track {
  background: transparent;
}
.property-panel::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 3px;
}
.property-panel:hover::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.25);
}
.property-panel > table.fixed-headers {
  flex-shrink: 0;
  margin-bottom: 2px;
}
.property-panel .property-group .properties {
  display: flex;
  flex-direction: column;
}

.property-group .group-name {
  text-transform: uppercase;
  text-align: center;
  height: 32px;
  background-color: #ffffff;
  border-bottom: 1px solid #d0d0d0;
  color: #000000;
  font-weight: 600;
  padding: 0;
}

.properties .property-item {
  padding-top: 4px;
  padding-bottom: 4px;
}

.property-item.composite {
  border-bottom: 1px solid transparent;
}
.property-item .property-icon {
  padding-left: 6px;
  padding-right: 4px;
  color: #404040;
}
.property-item .property-icon svg {
  stroke-width: 1.5px;
  width: 18px;
  height: 18px;
}
.property-item .property-name {
  min-width: 120px;
  padding-left: 4px;
  padding-right: 6px;
  color: #404040;
}
.property-item .property-name.total-row-field {
  padding-left: 17px;
}
.property-item .property-units {
  padding-right: 12px;
  min-width: 10px;
}
.property-item td button {
  height: 22px;
  width: 22px;
  padding: 2px;
  justify-content: center;
  align-items: center;
  border: 1px solid transparent;
  background-color: transparent;
  border-radius: 3px;
  color: #404040;
}
.property-item td button:hover:not(:disabled) {
  background-color: #d0d0d0;
}
.property-item td button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.property-item td button svg {
  height: 16px;
  width: 16px;
}

.fixed-headers > tbody > .property-item:last-child {
  border-bottom: none;
}

.chemistry-section__entry {
  padding: 0.25rem 1rem;
  border-bottom: 1px solid #e8e8e8;
}
.chemistry-section__entry:last-child {
  border-bottom: none;
}

.chemistry-section__name {
  font-size: 10pt;
  font-weight: 500;
  color: #404040;
}

.chemistry-section__sources {
  font-size: 9pt;
  color: #808080;
  padding-top: 4px;
}

.chemistry-section__source-link {
  color: #808080;
  text-decoration: none;
  cursor: pointer;
}
.chemistry-section__source-link:hover {
  background-color: #f8f8f8;
  color: #0e80ef;
}
.chemistry-section__source-link:active {
  background-color: #404040;
  color: #f0f0f0;
}
.chemistry-section__source-link:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.chemistry-section__source-sep {
  color: #808080;
}

.chemistry-section__empty {
  padding: 0.5rem 1rem;
  font-size: 10pt;
  color: #808080;
}

.property-value.enum {
  flex: 1 0 auto;
  padding-top: 4px;
  padding-bottom: 4px;
  padding-right: 12px;
}
.property-value.toolbar {
  padding-top: 4px;
  text-wrap-mode: nowrap;
}
.property-value.read-only {
  color: #808080;
}
.property-value select,
.property-value input {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  font-size: inherit;
  color: #404040;
  background-color: #ffffff;
  border: 1px solid #d0d0d0;
  padding: 2px 4px;
  border-radius: 4px;
  box-sizing: border-box;
  box-shadow: none;
  outline: none;
  line-height: normal;
}
.property-value select::placeholder,
.property-value input::placeholder {
  color: #b0b0b0;
  opacity: 1;
}
.property-value select:focus-visible,
.property-value input:focus-visible {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.4);
}
.property-value select:disabled,
.property-value input:disabled {
  background-color: #f3f4f6;
  color: #808080;
  cursor: not-allowed;
  opacity: 0.7;
}
.property-value select,
.property-value input {
  color: #404040;
}
.property-value input.modified,
.property-value select.modified {
  border-left: 2px solid #3b82f6;
  color: #202020;
}
.property-value input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}
.property-value input[type=number]::-webkit-inner-spin-button, .property-value input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.property-value select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23808080' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 5px center;
  background-size: 10px 6px;
  padding-right: 20px;
  cursor: pointer;
  width: 100%;
  max-width: 200px;
}
.property-value select:hover {
  border-color: #808080;
}

.suffix {
  margin-left: 4px;
  color: #404040;
}

td.property-value input[type=text],
td.property-name input[type=text],
td.property-value input[type=number] {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

td.property-value input[type=range] {
  height: 4px;
}

td.property-value.align-right input {
  text-align: right;
}

td.property-value.align-left input {
  text-align: left;
}

input[type=number] {
  width: 8em;
}

td.property-name input[type=text] {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  font-size: inherit;
  color: #404040;
  background-color: #ffffff;
  border: 1px solid #d0d0d0;
  padding: 2px 4px;
  border-radius: 4px;
  box-sizing: border-box;
  box-shadow: none;
  outline: none;
  line-height: normal;
}
td.property-name input[type=text]::placeholder {
  color: #b0b0b0;
  opacity: 1;
}
td.property-name input[type=text]:focus-visible {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.4);
}
td.property-name input[type=text]:disabled {
  background-color: #f3f4f6;
  color: #808080;
  cursor: not-allowed;
  opacity: 0.7;
}

.select-router-editor__control {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
  margin-bottom: 6px;
}

.select-router-editor__summary {
  color: #808080;
  font-size: 9pt;
}

.select-router-editor__hint,
.select-router-editor__empty,
.select-one-editor__hint,
.property-panel__message {
  color: #808080;
  font-size: 9pt;
  margin-top: 6px;
  margin-bottom: 6px;
}

.select-one-editor__range-summary {
  color: #808080;
  font-size: 9pt;
  min-height: 21px;
  display: flex;
  align-items: center;
}

.select-one-editor__slider-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 auto;
}

.select-one-editor__index-label {
  min-width: 2em;
  text-align: right;
  color: #808080;
  font-size: 9pt;
  margin-right: 1em;
}

.select-router-editor__count-toolbar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.select-router-editor__count-toolbar button:disabled {
  opacity: 0.4;
}
.select-router-editor__count-toolbar button:disabled,
.select-router-editor__count-toolbar button:disabled:hover {
  background-color: whitesmoke;
}

.select-router-editor__count-value {
  min-width: 2em;
  color: #404040;
}

.select-router-editor__sources {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 4px;
  margin-top: 4px;
  margin-right: 3px;
}

.select-router-editor__source {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 2px 8px;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  background-color: #ffffff;
  box-sizing: border-box;
  text-align: left;
  cursor: pointer;
}
.select-router-editor__source.is-active {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.4);
}
.select-router-editor__source.is-disconnected {
  background-color: #f3f4f6;
  cursor: default;
}
.select-router-editor__source.is-disconnected.is-active {
  border-color: #e0e0e0;
  box-shadow: none;
}
.select-router-editor__source.is-disconnected:hover {
  border-color: #d0d0d0;
}
.select-router-editor__source:not(.is-disconnected):hover {
  border-color: #808080;
}

.select-router-editor__source-main {
  min-width: 0;
  display: flex;
  align-items: center;
}

.select-router-editor__source-label {
  color: #404040;
  font-size: 10pt;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.select-router-editor__source.is-active .select-router-editor__source-label {
  font-weight: 600;
}

.select-router-editor__badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.select-router-editor__badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  font-size: 9pt;
  color: #808080;
  color: #3b82f6;
}
.select-router-editor__badge.is-disconnected {
  color: #808080;
}
.select-router-editor__badge.is-active {
  background-color: #3b82f6;
  color: #ffffff;
}

td.property-units input.unit-placeholder {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  font-size: inherit;
  color: #404040;
  background-color: #ffffff;
  border: 1px solid #d0d0d0;
  padding: 2px 4px;
  border-radius: 4px;
  box-sizing: border-box;
  box-shadow: none;
  outline: none;
  line-height: normal;
}
td.property-units input.unit-placeholder::placeholder {
  color: #b0b0b0;
  opacity: 1;
}
td.property-units input.unit-placeholder:focus-visible {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.4);
}
td.property-units input.unit-placeholder:disabled {
  background-color: #f3f4f6;
  color: #808080;
  cursor: not-allowed;
  opacity: 0.7;
}
td.property-units input.unit-placeholder {
  width: auto;
  min-width: 0;
  max-width: 100%;
  field-sizing: content;
  border: none;
  background-color: transparent;
}
td.property-units input.unit-placeholder:disabled {
  background-color: transparent;
  padding-left: 5px;
}
td.property-units select {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  font-size: inherit;
  color: #404040;
  background-color: #ffffff;
  border: 1px solid #d0d0d0;
  padding: 2px 4px;
  border-radius: 4px;
  box-sizing: border-box;
  box-shadow: none;
  outline: none;
  line-height: normal;
}
td.property-units select::placeholder {
  color: #b0b0b0;
  opacity: 1;
}
td.property-units select:focus-visible {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.4);
}
td.property-units select:disabled {
  background-color: #f3f4f6;
  color: #808080;
  cursor: not-allowed;
  opacity: 0.7;
}
td.property-units select {
  border: 1px solid transparent;
  background-color: transparent;
  background-image: none;
  padding: 2px 20px 2px 4px;
  cursor: text;
}
td.property-units select:hover, td.property-units select:focus {
  border: 1px solid #d0d0d0;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23808080' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 5px center;
  background-size: 10px 6px;
  cursor: pointer;
}
td.property-units select:hover {
  border-color: #808080;
}
td.property-units select.unit-overridden {
  color: #1d4ed8;
}
td.property-units optgroup {
  font-size: 0.85em;
}
td.property-units .unit-default-option {
  font-size: 1.2em;
  color: #808080;
}

.property-subitems {
  border-left: 4px solid #88ccff;
  padding-left: 4px;
}

.reaction-equation {
  width: 100%;
  max-width: 0;
}
.reaction-equation__text {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scalar-expression-result {
  font-size: 9pt;
  color: #808080;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80px;
  display: inline-block;
  vertical-align: middle;
}

.scalar-expression-result--error {
  color: #ff8f00;
  display: inline-flex;
  align-items: center;
  cursor: default;
}

.total-row-field {
  padding-left: 6px;
}

.results-panel.merged {
  flex: 1 1 0;
  min-height: 0;
  height: auto;
  overflow: visible;
}

.results-panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-size: 10pt;
}
.results-panel__object-name {
  flex-shrink: 0;
  padding: 8px;
  border-bottom: 1px solid #d0d0d0;
  background-color: whitesmoke;
  font-weight: 600;
  color: #404040;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.results-panel__empty {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  padding-top: 4em;
  color: #808080;
  text-align: center;
}
.results-panel__report-wrapper {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: inherit;
  scrollbar-color: transparent transparent;
}
.results-panel__report-wrapper:hover {
  scrollbar-color: rgba(0, 0, 0, 0.25) transparent;
}
.results-panel__report-wrapper::-webkit-scrollbar {
  width: 6px;
}
.results-panel__report-wrapper::-webkit-scrollbar-track {
  background: transparent;
}
.results-panel__report-wrapper::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 3px;
}
.results-panel__report-wrapper:hover::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.25);
}
.results-panel__computed-section {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-height: 0;
}
.results-panel__report-scroll {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: inherit;
  scrollbar-color: transparent transparent;
}
.results-panel__report-scroll:hover {
  scrollbar-color: rgba(0, 0, 0, 0.25) transparent;
}
.results-panel__report-scroll::-webkit-scrollbar {
  width: 6px;
}
.results-panel__report-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.results-panel__report-scroll::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 3px;
}
.results-panel__report-scroll:hover::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.25);
}
.results-panel__report {
  width: 100%;
  border-collapse: collapse;
  font-size: 10pt;
}
.results-panel__report thead {
  position: sticky;
  top: 0;
  background-color: #404040;
  color: #ffffff;
}
.results-panel__report thead th {
  padding: 4px 8px;
  text-align: left;
  font-weight: 600;
}
.results-panel__report tbody tr:nth-child(even) {
  background-color: #f3f4f6;
}
.results-panel__report tbody tr:hover {
  background-color: #e0e0e0;
}
.results-panel__prop-name {
  padding: 3px 12px;
  padding-left: 3px;
  color: #404040;
  word-break: break-word;
}
.results-panel__prop-value {
  padding: 3px 8px;
  color: #444444;
  text-align: right;
  white-space: nowrap;
}
.results-panel__prop-unit {
  padding: 3px 8px;
  color: #808080;
  white-space: nowrap;
}
.results-panel__alert-icon {
  padding: 0;
  padding-left: 8px;
  white-space: nowrap;
  vertical-align: middle;
}
.results-panel__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 4px 8px;
  border-bottom: 1px solid #d0d0d0;
  flex-shrink: 0;
}
.results-panel__phase-toggles {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  background-color: #e4e4e4;
  border-radius: 4px;
  overflow: hidden;
}
.results-panel__phase-toggle {
  border: none;
  border-right: 1px solid #c8c8c8;
  border-radius: 0;
  margin: 0;
  padding: 4px;
  padding-top: 2px;
  font-size: 10pt;
  background-color: transparent;
  color: #404040;
  cursor: default;
  min-width: 24px;
}
.results-panel__phase-toggle:active {
  border-radius: 0;
}
.results-panel__phase-toggle:hover {
  background-color: #d0d0d0;
}
.results-panel__phase-toggle:active:hover {
  background-color: #404040;
  color: #f0f0f0;
}
.results-panel__phase-toggle:last-child {
  border-right: none;
}
.results-panel__phase-toggle--active {
  background-color: #333333;
  color: #f0f0f0;
  border-right: 1px solid #606060;
}
.results-panel__phase-toggle--active:hover {
  background-color: #333333;
}
.results-panel__phase-toggle--active:active:hover {
  background-color: #333333;
}
.results-panel__phase-toggle--active:last-child {
  border-right: none;
}
.results-panel__comp-select {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.results-panel__comp-select label {
  font-size: 9pt;
  color: #808080;
  white-space: nowrap;
}
.results-panel__comp-select select {
  font-size: 9pt;
  padding: 1px 4px;
  border: 1px solid #d0d0d0;
  border-radius: 3px;
  background: #ffffff;
  cursor: pointer;
}

input[type=checkbox].misc-values {
  opacity: 0.6;
  accent-color: #606060;
}

label.misc-values {
  color: #808080;
}

.filter-patterns-section {
  flex-shrink: 0;
}

.bar-chart-config-section {
  flex-shrink: 0;
}
.bar-chart-config-section__hint {
  margin: 0;
  padding: 0 0.5rem 0.5rem;
  color: #808080;
  font-size: 9pt;
}

.bar-chart-selection-bucket {
  margin: 0 0.5rem 0.5rem;
  padding: 0.5rem;
  border: 1px solid silver;
  border-radius: 4px;
  background-color: #ffffff;
}
.bar-chart-selection-bucket--warning {
  border-color: #3b82f6;
  background-color: rgba(59, 130, 246, 0.4);
}
.bar-chart-selection-bucket__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.bar-chart-selection-bucket__heading {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.bar-chart-selection-bucket__title {
  font-weight: 600;
  color: #404040;
}
.bar-chart-selection-bucket__unit {
  color: #808080;
  font-size: 9pt;
}
.bar-chart-selection-bucket__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.bar-chart-selection-bucket__control {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #808080;
  font-size: 9pt;
}
.bar-chart-selection-bucket__select {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  font-size: inherit;
  color: #404040;
  background-color: #ffffff;
  border: 1px solid #d0d0d0;
  padding: 2px 4px;
  border-radius: 4px;
  box-sizing: border-box;
  box-shadow: none;
  outline: none;
  line-height: normal;
}
.bar-chart-selection-bucket__select::placeholder {
  color: #b0b0b0;
  opacity: 1;
}
.bar-chart-selection-bucket__select:focus-visible {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.4);
}
.bar-chart-selection-bucket__select:disabled {
  background-color: #f3f4f6;
  color: #808080;
  cursor: not-allowed;
  opacity: 0.7;
}
.bar-chart-selection-bucket__select {
  min-width: 96px;
  border: 1px solid #d0d0d0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23808080' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 5px center;
  background-size: 10px 6px;
  padding-right: 20px;
  cursor: pointer;
}
.bar-chart-selection-bucket__select:hover {
  border-color: #808080;
}
.bar-chart-selection-bucket__checkbox {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #808080;
  font-size: 9pt;
}
.bar-chart-selection-bucket__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0.5rem;
}
.bar-chart-selection-bucket__warning-text {
  margin: 0 0 0.5rem;
  color: #808080;
  font-size: 9pt;
}

.splitter-normalized-value {
  margin-left: 6px;
}

.report-config-section {
  font-size: 10pt;
  color: #404040;
}
.report-config-section__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  padding-left: 14px;
}
.report-config-section__mode-btns {
  display: flex;
  flex-direction: row;
  border: 1px solid #a0a0a0;
  border-radius: 4px;
  overflow: hidden;
}
.report-config-section__mode-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 7px;
  border-right: 1px solid #a0a0a0;
  border-radius: 0;
  color: #404040;
  background: transparent;
  cursor: pointer;
  font-size: 9pt;
  transition: background-color 0.15s, color 0.15s;
  border: none;
}
.report-config-section__mode-btn:last-child {
  border-right: none;
}
.report-config-section__mode-btn:hover:not(.active) {
  background-color: #d0d0d0;
  color: #ffffff;
}
.report-config-section__mode-btn.active {
  background: #88ccff;
  color: white;
}
.report-config-section__affinity-badge {
  font-size: 8pt;
  color: #808080;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: auto;
}
.report-config-section__hint {
  margin: 0;
  color: #808080;
}
.report-config-section__selected-ids {
  margin-top: 0.25rem;
}

.viz-tag-input-section {
  padding: 0 0.5rem 0.5rem;
}

.tag-input {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
}
.tag-input__combobox {
  position: relative;
}
.tag-input__input {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  font-size: inherit;
  color: #404040;
  background-color: #ffffff;
  border: 1px solid #d0d0d0;
  padding: 2px 4px;
  border-radius: 4px;
  box-sizing: border-box;
  box-shadow: none;
  outline: none;
  line-height: normal;
}
.tag-input__input::placeholder {
  color: #b0b0b0;
  opacity: 1;
}
.tag-input__input:focus-visible {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.4);
}
.tag-input__input:disabled {
  background-color: #f3f4f6;
  color: #808080;
  cursor: not-allowed;
  opacity: 0.7;
}
.tag-input__input {
  width: 100%;
}
.tag-input__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 1em;
  min-height: 22px;
}
.tag-input .chip--drag-hidden {
  display: none !important;
}
.tag-input__chip-placeholder {
  display: inline-flex;
  min-width: 60px;
  height: 20px;
  border: 1px dashed #6b7280;
  border-radius: 999px;
  background: #d1d5db;
  opacity: 0.5;
}
.tag-input__hint {
  margin: 0;
  font-size: 9pt;
  color: #808080;
  font-style: italic;
}
.tag-input__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1001;
  margin: 2px 0 0;
  background-color: #ffffff;
  border: 1px solid silver;
  border-radius: 4px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}
.tag-input__dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 200px;
  overflow-y: auto;
}
.tag-input__dropdown-item {
  padding: 5px 0.5rem;
  cursor: pointer;
  font-size: 10pt;
}
.tag-input__dropdown-item:hover, .tag-input__dropdown-item--active {
  background-color: #e0e0e0;
}
.tag-input__dropdown-create {
  padding: 5px 0.5rem;
  cursor: pointer;
  font-size: 10pt;
  color: #3b82f6;
}
.tag-input__dropdown-create:hover, .tag-input__dropdown-create--active {
  background-color: rgba(59, 130, 246, 0.4);
}
.tag-input__create-section {
  border-top: 1px solid #e0e0e0;
}
.tag-input__dropdown-groups {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #e0e0e0;
}
.tag-input__dropdown-group-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tag-input__dropdown-group-count {
  font-size: 9pt;
  color: #3b82f6;
  opacity: 0.7;
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 1em;
  padding-right: 2px;
  border-radius: 999px;
  font-size: 10pt;
  white-space: nowrap;
}
.chip__label {
  overflow: hidden;
  text-overflow: ellipsis;
}
.chip__dismiss {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 1px;
  opacity: 0.6;
  transition: opacity 0.1s ease-out, background-color 0.1s ease-out;
  width: 16px;
  height: 16px;
}
.chip__dismiss:hover {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.15);
}
.chip--neutral {
  background-color: #ffffff;
  color: #404040;
  border: 1px solid #d1d5db;
}
.chip--wildcard {
  background-color: #ffffff;
  color: #404040;
  border: 1px solid #d1d5db;
}
.chip--wildcard .chip__label {
  font-weight: 600;
}
.chip--warning {
  background-color: rgba(59, 130, 246, 0.4);
  color: #404040;
  border: 1px solid #3b82f6;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 18px;
  flex-shrink: 0;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.toggle-switch__slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #c8c8c8;
  border-radius: 18px;
  transition: background-color 0.15s;
}
.toggle-switch__slider::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: transform 0.15s;
}
input:checked + .toggle-switch__slider {
  background-color: #88ccff;
}
input:checked + .toggle-switch__slider::before {
  transform: translateX(14px);
}
.toggle-switch--disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.toggle-switch--disabled .toggle-switch__slider {
  cursor: not-allowed;
}

.composition-port-row {
  opacity: 0.7;
}
.composition-port-row:hover {
  opacity: 1;
}

.port-row-hint {
  color: #808080;
  font-size: 9pt;
  font-style: italic;
}

.compound-drop-overlay {
  position: fixed;
  z-index: 100;
  pointer-events: none;
}
.compound-drop-overlay svg {
  width: 100%;
  height: 100%;
}
.compound-drop-overlay rect {
  fill: none;
  stroke: #007acc;
  stroke-width: 2;
  stroke-dasharray: 8 4;
  rx: 4;
  ry: 4;
}

.mpsc-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
  will-change: transform;
  padding: 8px 0;
  width: 100%;
}
.mpsc-panel-selectors {
  display: flex;
  flex-direction: column;
}
.mpsc-panel--empty {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  padding: 16px;
  padding-top: 4em;
  font-size: 10pt;
}
.mpsc-panel__empty-message {
  color: #808080;
  text-align: center;
}
.mpsc-panel__item {
  display: flex;
  flex-direction: column;
  padding: 8px 12px;
  border-bottom: 1px solid #f1f5f9;
}
.mpsc-panel__item:last-child {
  border-bottom: none;
}
.mpsc-panel__item--inactive .mpsc-panel__item-label,
.mpsc-panel__item--inactive .mpsc-panel__item-current-value,
.mpsc-panel__item--inactive .mpsc-panel__item-index {
  color: #94a3b8;
}
.mpsc-panel__item-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
  min-width: 0;
}
.mpsc-panel__item-label {
  font-size: 0.78rem;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}
.mpsc-panel__item-current-value {
  font-size: 0.78rem;
  color: #334155;
  white-space: nowrap;
  flex-shrink: 0;
}
.mpsc-panel__item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mpsc-panel__item-index {
  font-size: 0.8rem;
  color: #334155;
  text-align: right;
  flex-shrink: 0;
  width: 3ch;
  font-variant-numeric: tabular-nums;
}

.viz-panel {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-y: auto;
  will-change: transform;
  flex: 1 1 0;
  min-height: 0;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
  padding-bottom: 1rem;
  font-size: 10pt;
}
.viz-panel::-webkit-scrollbar {
  width: 6px;
}
.viz-panel::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 3px;
}
.viz-panel:hover {
  scrollbar-color: rgba(0, 0, 0, 0.25) transparent;
}
.viz-panel:hover::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.25);
}

.viz-panel--empty {
  flex: 1 1 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #808080;
  font-size: 9pt;
  padding: 2rem;
}

.viz-item {
  background: #ffffff;
  border: 1px solid silver;
  border-left: 3px solid transparent;
  border-radius: 4px;
  margin: 0 0.5rem 0.5rem;
  overflow: hidden;
  transition: border-left-color 0.1s ease-out, opacity 0.1s ease-out;
}
.viz-item--info {
  border-left-color: #3b82f6;
}
.viz-item--warning {
  border-left-color: #ff8f00;
  color: black;
}
.viz-item--error {
  border-left-color: #b3261e;
}
.viz-item--disabled {
  border-left-color: #d1d5db !important;
}
.viz-item--disabled .viz-severity-btn.active {
  background-color: #d1d5db !important;
}
.viz-item--disabled .viz-item__details {
  opacity: 0.55;
}

.viz-toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  width: 32px;
  height: 18px;
}

.viz-toggle__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.viz-toggle__input:checked + .viz-toggle__slider {
  background-color: #333333;
}
.viz-toggle__input:checked + .viz-toggle__slider::after {
  left: 16px;
}
.viz-toggle__input:focus-visible + .viz-toggle__slider {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.viz-toggle__slider {
  position: absolute;
  inset: 0;
  background-color: #d0d0d0;
  border-radius: 40px;
  transition: background-color 0.15s ease-in-out;
  pointer-events: none;
}
.viz-toggle__slider::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 14px;
  height: 14px;
  background: #ffffff;
  border-radius: 50%;
  transition: left 0.15s ease-in-out;
}

.viz-item__details {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0.5rem 0.5rem 0.5rem;
}

.viz-item__detail-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.25rem;
  min-height: 24px;
}

.viz-item__detail-label {
  flex-shrink: 0;
  width: 72px;
  font-size: 9pt;
  color: #808080;
  text-transform: capitalize;
  white-space: nowrap;
  margin-right: 2em;
}

.viz-comparison-select {
  flex-shrink: 0;
  width: calc(72px + 2em);
  padding: 2px 0.25rem;
  font-size: 9pt;
  font-family: inherit;
  color: #404040;
  background: #ffffff;
  border: 1px solid #d0d0d0;
  border-radius: 3px;
  appearance: auto;
  cursor: pointer;
}
.viz-comparison-select:hover {
  border-color: #9ca3af;
}
.viz-comparison-select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.4);
  outline: none;
}

.viz-severity-btns {
  display: flex;
  flex-direction: row;
  border: 1px solid #a0a0a0;
  border-radius: 4px;
  overflow: hidden;
}

.viz-severity-btn {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 7px;
  border-right: 1px solid #a0a0a0;
  border-radius: 0;
  color: #404040;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.1s ease-out, color 0.1s ease-out;
}
.viz-severity-btn svg {
  display: block;
  pointer-events: none;
  width: 12px;
  height: 12px;
}
.viz-severity-btn:last-child {
  border-right: none;
}
.viz-severity-btn:hover:not(.active) {
  background-color: #d0d0d0;
  color: #ffffff;
}
.viz-severity-btn.active {
  color: #ffffff;
}
.viz-severity-btn--info.active {
  background-color: #3b82f6;
}
.viz-severity-btn--warning.active {
  background-color: #ff8f00;
  color: black;
}
.viz-severity-btn--error.active {
  background-color: #b3261e;
}

.viz-tag-input-section {
  flex-shrink: 0;
}

.color-map-section {
  position: relative;
}

.color-map-header-row {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0 0.5rem 0.25rem;
}
.color-map-header-row .color-map-toggle {
  margin-left: auto;
}

.color-map-legend {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-right: 1em;
}

.color-map-legend__min,
.color-map-legend__max {
  font-size: 8pt;
  color: #808080;
  white-space: nowrap;
  flex: 0 0 auto;
}

.color-map-legend__min {
  padding-right: 4px;
}

.color-map-legend__max {
  padding-left: 4px;
}

.color-map-placeholder {
  margin: 0.25rem 0.5rem;
  font-size: 9pt;
  color: #808080;
}

.color-map-card {
  background: #ffffff;
  border: 1px solid silver;
  border-left: 3px solid #3b82f6;
  border-radius: 4px;
  margin: 0 0.5rem 0.5rem;
  transition: border-left-color 0.1s ease-out;
}
.color-map-card--disabled {
  border-left-color: #d1d5db !important;
}
.color-map-card--disabled .color-map-card__details {
  opacity: 0.55;
}

.color-map-card__details {
  padding: 0.5rem;
}

.color-map-card__header {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.color-map-card__chip {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
}
.color-map-card__chip .chip {
  max-width: 100%;
}
.color-map-card__chip .chip__label {
  min-width: 0;
}

.palette-picker-wrap {
  position: relative;
  flex: 0 0 auto;
  width: 84px;
  height: 18px;
  border: 1px solid #d0d0d0;
  border-radius: 3px;
  cursor: pointer;
  transition: border-color 0.1s ease-out, box-shadow 0.1s ease-out;
}
.palette-picker-wrap::after {
  content: "";
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  width: 16px;
  height: 16px;
  background-color: #404040;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}
.palette-picker-wrap:hover:not(.palette-picker-wrap--disabled) {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.4);
}
.palette-picker-wrap:hover:not(.palette-picker-wrap--disabled)::after {
  background-color: #3b82f6;
}
.palette-picker-wrap--disabled {
  cursor: default;
  opacity: 0.4;
  pointer-events: none;
}

.palette-picker__backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: transparent;
}

.palette-picker__dropdown.dropdown-content {
  position: fixed;
  min-width: 84px;
}

.palette-picker__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 6px;
}

.palette-picker__swatch-btn {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  border: 1px solid #666;
  cursor: pointer;
}

.palette-picker__swatch {
  display: inline-block;
  width: 45px;
  height: 16px;
  border-radius: 3px;
  flex-shrink: 0;
  margin-right: 1em;
}

.palette-picker__checkmark {
  color: #404040;
  font-weight: 700;
}

.drag-drop-frame-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 10;
}
.drag-drop-frame-svg .drag-drop-overlay {
  opacity: 0;
  transition: opacity 150ms ease;
}

.drag-drop-active .drag-drop-frame-svg .drag-drop-overlay {
  opacity: 1;
}

span.property-report-alert-icon {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-right: 3px;
}
span.property-report-alert-icon svg {
  width: 14px;
  height: 14px;
}
span.property-report-alert-icon--info {
  color: #2563eb;
}
span.property-report-alert-icon--warning {
  color: #d97706;
}
span.property-report-alert-icon--error {
  color: #dc2626;
}

.cm-legend-overlay {
  position: absolute;
  left: 12px;
  top: 80px;
  pointer-events: none;
  z-index: 10;
}

.cm-legend-bar-wrap {
  position: absolute;
  left: 0;
}

.cm-legend-title {
  font-family: Ubuntu, sans-serif;
  font-size: 10pt;
  color: #808080;
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  line-height: 1;
}

.cm-legend-bar {
  position: absolute;
  border: 1px solid #808080;
  top: -1px;
  left: 0;
  border-radius: 4px;
  width: 10px;
}

.cm-legend-svg {
  left: 0;
  top: 0;
  display: block;
  overflow: visible;
}

.cm-legend-tick {
  stroke: #808080;
  stroke-width: 1;
  opacity: 0.7;
}

.cm-legend-tick-label {
  font-family: Ubuntu, sans-serif;
  font-size: 10pt;
  fill: #808080;
  dominant-baseline: central;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.85));
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.33s ease-out;
  pointer-events: none;
  z-index: 1000;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #808080;
  max-width: 80%;
  min-width: 400px;
  text-align: center;
  position: relative;
  transition: transform 0.1s ease-out;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}
.modal.dragging {
  transition: none;
  z-index: 1001;
}

.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
  cursor: move;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding-inline: 1rem;
  padding-bottom: 1rem;
  padding-top: 1rem;
}
.modal__header.dragging {
  cursor: grabbing;
}
.modal__header h3 {
  margin: 0;
  flex-grow: 1;
  text-align: left;
}

.modal__close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #606060;
  padding: 0.25rem 0.5rem;
  margin: -0.25rem -0.5rem;
  border-radius: 4px;
  line-height: 1;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}
.modal__close:hover {
  background-color: #f9fafb;
  color: #404040;
}
.modal__close:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.modal__body {
  padding-inline: 1.5rem;
  padding-bottom: 1rem;
}

.modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  padding-inline: 1.5rem;
  padding-bottom: 1.5rem;
  align-items: center;
}

.modal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease-in-out;
  outline: none;
  position: relative;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.modal__btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.4);
}
.modal__btn:active:not(:disabled) {
  transform: translateY(1px);
}
.modal__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.modal__btn--primary {
  background-color: #3b82f6;
  border-color: #3b82f6;
  color: #ffffff;
}
.modal__btn--primary:hover:not(:disabled) {
  background-color: #2563eb;
  border-color: #2563eb;
}
.modal__btn--primary:active:not(:disabled) {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
}
.modal__btn--danger {
  background-color: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
}
.modal__btn--danger:hover:not(:disabled) {
  background-color: #dc2626;
  border-color: #dc2626;
}
.modal__btn--danger:active:not(:disabled) {
  background-color: #b91c1c;
  border-color: #b91c1c;
}
.modal__btn--secondary {
  background-color: #ffffff;
  border-color: #d1d5db;
  color: #374151;
}
.modal__btn--secondary:hover:not(:disabled) {
  background-color: #f9fafb;
  border-color: #9ca3af;
  color: #111827;
}
.modal__btn--secondary:active:not(:disabled) {
  background-color: #f3f4f6;
  border-color: #6b7280;
}

.modal--keybindings {
  max-width: 840px;
  width: 90%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: auto;
}
.modal--keybindings .modal__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.modal--keybindings .modal__body--scrollable {
  overflow-y: auto;
  flex-grow: 1;
  min-height: 0;
}
.modal--keybindings .modal-keybindings__category {
  margin-bottom: 1rem;
}
.modal--keybindings .modal-keybindings__category:last-child {
  margin-bottom: 0;
}
.modal--keybindings .modal-keybindings__category-title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #404040;
  margin: 0;
  padding: 0.5rem 0.5rem;
  border-bottom: 1px solid #e0e0e0;
  background-color: #f9fafb;
  border-radius: 4px 4px 0 0;
}
.modal--keybindings .modal-keybindings__bindings {
  border: 1px solid #e0e0e0;
  border-top: none;
  border-radius: 0 0 4px 4px;
  overflow: hidden;
  background-color: #ffffff;
}
.modal--keybindings .modal-keybindings__binding {
  display: grid;
  grid-template-columns: minmax(140px, 240px) 1fr;
  column-gap: 1rem;
  align-items: center;
  padding: 0.5rem;
  border-bottom: 1px solid #f3f4f6;
  transition: background-color 0.1s ease-out;
}
.modal--keybindings .modal-keybindings__binding:last-child {
  border-bottom: none;
}
.modal--keybindings .modal-keybindings__binding:hover {
  background-color: rgba(249, 250, 251, 0.7);
}
.modal--keybindings .modal-keybindings__key-sequence {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
}
.modal--keybindings .modal-keybindings__key-separator {
  color: #808080;
  font-weight: 500;
  line-height: 1;
}
.modal--keybindings .modal-keybindings__key {
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: #404040;
  background-color: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  padding: 0.12rem 0.45rem;
  line-height: 1.25;
  white-space: nowrap;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}
.modal--keybindings .modal-keybindings__description {
  min-width: 0;
  color: #404040;
  line-height: 1.4;
  font-family: inherit;
}
@media (max-width: 700px) {
  .modal--keybindings {
    width: 95%;
    max-height: 85vh;
  }
  .modal--keybindings .modal-keybindings__binding {
    grid-template-columns: 1fr;
    row-gap: 0.25rem;
    align-items: start;
  }
}

.modal__form-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.5rem 1rem;
}

.modal__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #404040;
  white-space: nowrap;
}

.modal__input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.5rem 1rem;
  border: 1px solid #808080;
  border-radius: 4px;
  font-size: 0.875rem;
  color: #404040;
  background: #ffffff;
  transition: border-color 0.1s ease-out;
}
.modal__input:focus {
  outline: none;
  border-color: #3b82f6;
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
.modal__input--flex {
  width: auto;
  flex: 1 1 0;
  min-width: 0;
}

.modal__dir-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal__browse-btn {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  border: 1px solid #808080;
  border-radius: 4px;
  background: #f9fafb;
  color: #404040;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.1s ease-out, border-color 0.1s ease-out;
}
.modal__browse-btn:hover {
  background-color: #f3f4f6;
  border-color: #d1d5db;
}
.modal__browse-btn:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.modal__hint {
  margin: 0 0 0.5rem 0;
  font-size: 0.875rem;
  color: #808080;
}

.modal__icon-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-height: 280px;
  overflow-y: auto;
  padding: 0.25rem;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
}

.modal__icon-thumb {
  align-items: center;
  border: 2px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  display: flex;
  height: 72px;
  justify-content: center;
  padding: 0.25rem;
  transition: background-color 0.1s ease-out, border-color 0.1s ease-out;
  width: 72px;
}
.modal__icon-thumb svg {
  fill: none;
}
.modal__icon-thumb:hover {
  background: #f3f4f6;
  border-color: #3b82f6;
}
.modal__icon-thumb.selected {
  background: #e0e0e0;
  border-color: #3b82f6;
}

.modal--about {
  max-width: 640px;
  width: 90%;
  height: 800px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: auto;
}
.modal--about .modal__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.modal-about__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.modal-about__tab-bar {
  display: flex;
  flex-direction: row;
  background-color: whitesmoke;
  border-bottom: 1px solid #e0e0e0;
  flex-shrink: 0;
}

.modal-about__tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: #808080;
  cursor: pointer;
  transition: color 0.1s ease-out, border-color 0.1s ease-out;
}
.modal-about__tab:hover {
  color: #404040;
  background-color: #f9fafb;
}

.modal-about__tab-active {
  color: #3b82f6;
  border-bottom-color: #3b82f6;
}
.modal-about__tab-active:hover {
  color: #3b82f6;
  background-color: transparent;
}

.modal-about__tab-panel {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  padding: 16px 24px;
}

.modal-about__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 0;
  color: #808080;
  font-size: 0.875rem;
}

.modal-about__empty {
  color: #808080;
  font-size: 0.875rem;
  text-align: center;
  padding: 24px 0;
}

.modal-about__overview {
  text-align: center;
}

.modal-about__app-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: #404040;
  margin: 0 0 4px 0;
}

.modal-about__version {
  font-size: 0.875rem;
  color: #808080;
  margin: 0 0 16px 0;
}

.modal-about__description {
  font-size: 10pt;
  color: #404040;
  line-height: 1.5;
  margin: 0 0 16px 0;
  text-align: left;
}

.modal-about__copyright {
  font-size: 9pt;
  color: #808080;
  margin: 0 0 16px 0;
}

.modal-about__license-details {
  margin: 0;
  text-align: left;
}

.modal-about__license-summary {
  font-size: 0.875rem;
  font-weight: 500;
  color: #3b82f6;
  cursor: pointer;
  padding: 4px 0;
  user-select: none;
}
.modal-about__license-summary:hover {
  color: #2563eb;
}

.modal-about__license-text {
  font-family: "Consolas", "Menlo", "Monaco", monospace;
  font-size: 0.75rem;
  line-height: 1.5;
  white-space: pre-wrap;
  background-color: #f9fafb;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  padding: 12px 16px;
  margin: 8px 0 0 0;
  overflow-x: auto;
  max-height: 240px;
}

.modal-about__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.modal-about__table th {
  font-weight: 600;
  color: #808080;
  text-align: left;
  padding: 8px 12px;
  border-bottom: 2px solid #e0e0e0;
  font-size: 9pt;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.modal-about__table td {
  padding: 8px 12px;
  border-bottom: 1px solid #e8e8e8;
  color: #404040;
}
.modal-about__table tbody tr:hover {
  background-color: rgba(249, 250, 251, 0.7);
}
.modal-about__table a {
  color: #3b82f6;
  text-decoration: none;
}
.modal-about__table a:hover {
  text-decoration: underline;
}

.modal-about__comp-version {
  color: #808080;
  white-space: nowrap;
}

.modal-about__comp-license {
  white-space: nowrap;
}

.modal-about__licenses {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.modal-about__accordion {
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.modal-about__accordion:last-child {
  margin-bottom: 0;
}

.modal-about__accordion--expanded {
  flex: 1;
  min-height: 0;
}

.modal-about__accordion-header {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  background-color: #ffffff;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: #404040;
  text-align: left;
  transition: background-color 0.1s ease-out;
}
.modal-about__accordion-header:hover {
  background-color: #f9fafb;
}

.modal-about__accordion-expanded {
  border-radius: 4px 4px 0 0;
}

.modal-about__accordion-chevron {
  font-size: 0.7rem;
  color: #808080;
  flex-shrink: 0;
  width: 12px;
}

.modal-about__accordion-title {
  flex: 1;
}

.modal-about__accordion-body {
  font-family: "Consolas", "Menlo", "Monaco", monospace;
  font-size: 0.75rem;
  line-height: 1.5;
  white-space: pre-wrap;
  background-color: #f9fafb;
  border: 1px solid #d0d0d0;
  border-top: none;
  border-radius: 0 0 4px 4px;
  padding: 12px 16px;
  margin: 0;
  overflow-x: auto;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.modal-about__credit-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid #e8e8e8;
  gap: 16px;
}
.modal-about__credit-row:last-child {
  border-bottom: none;
}

.modal-about__credit-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.modal-about__credit-name {
  font-weight: 500;
  color: #404040;
  font-size: 0.875rem;
}

.modal-about__credit-desc {
  font-size: 9pt;
  color: #808080;
}

.modal-about__credit-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}

.modal-about__credit-url {
  font-size: 9pt;
  color: #3b82f6;
  text-decoration: none;
}
.modal-about__credit-url:hover {
  text-decoration: underline;
}

.modal-about__credit-license {
  font-size: 8pt;
  color: #808080;
}

.modal-about__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modal-about__link-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  transition: background-color 0.1s ease-out;
}
.modal-about__link-row:hover {
  background-color: #f9fafb;
}
.modal-about__link-row a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
}
.modal-about__link-row a:hover {
  text-decoration: underline;
}

.modal-about__link-url {
  font-size: 9pt;
  color: #808080;
}

.toaster {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 200px;
  max-width: 360px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  animation: toast-in 0.15s ease-out;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.toast--info {
  background: #2d6cdf;
}

.toast--error {
  background: #c0392b;
}

.toast__text {
  flex: 1;
  word-break: break-word;
}

.toast__close {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: none;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.15s;
}
.toast__close:hover {
  background: rgba(255, 255, 255, 0.35);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@font-face {
  font-display: block;
  font-family: "Ubuntu";
  src: url("/assets/fonts/Ubuntu-Regular.ttf");
}
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Ubuntu, sans-serif;
  background-color: whitesmoke;
  color: #404040;
}

.box {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

.row.header {
  flex: 0 1 auto;
  background-color: #f0f0f0;
}
.row.content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  min-height: 0;
}

.column.left {
  position: relative;
}
.column.center {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
.column.center.diagram {
  background: #f8f8f8;
  position: relative;
  overflow: hidden;
}
.column.right {
  position: relative;
}

.diagram-area {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  min-height: 0;
}

.resize-handle {
  width: 8px;
  cursor: col-resize;
  background-color: transparent;
  position: relative;
  flex: 0 0 6px;
  user-select: none;
  transition: background-color 0.1s ease;
}
.resize-handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2px;
  height: 30px;
  background: repeating-linear-gradient(to bottom, #808080 0px, #808080 2px, transparent 2px, transparent 6px);
  opacity: 0.4;
}
.resize-handle:hover {
  background-color: rgba(128, 128, 128, 0.5);
}
.resize-handle:hover::before {
  opacity: 0.8;
}
.resize-handle:active {
  background-color: rgba(128, 128, 128, 0.8);
}

.panel-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #808080;
  font-size: 12px;
}
