.pane-grid.sps-multi {
  position: relative;
  isolation: isolate;
}
.pane-grid.sps-multi > .sps-handle[hidden] {
  display: none;
}
.sps-handle {
  position: absolute;
  z-index: 5;
  touch-action: none;
  user-select: none;
  outline: 0;
  box-sizing: border-box;
}
.sps-handle:before,
.sps-handle:after {
  position: absolute;
  content: '';
  pointer-events: none;
}
.sps-handle:before {
  background: var(--line);
  opacity: 0.9;
}
.sps-handle:after {
  background: var(--muted);
  border-radius: 1px;
  opacity: 0.8;
}
.sps-handle:is(:hover, :focus-visible, .sps-active):before {
  background: var(--accent);
  opacity: 0.85;
}
.sps-handle:is(:hover, :focus-visible, .sps-active):after {
  background: var(--accent);
  opacity: 1;
}
.sps-vertical {
  width: 10px;
  transform: translateX(-50%);
  cursor: col-resize;
}
.sps-vertical:before {
  top: 0;
  bottom: 0;
  left: calc(50% - 1px);
  width: 2px;
}
.sps-vertical:after {
  top: calc(50% - 12px);
  height: 24px;
  width: 4px;
  left: calc(50% - 2px);
}
.sps-horizontal {
  height: 10px;
  transform: translateY(-50%);
  cursor: row-resize;
}
.sps-horizontal:before {
  left: 0;
  right: 0;
  top: calc(50% - 1px);
  height: 2px;
}
.sps-horizontal:after {
  left: calc(50% - 12px);
  width: 24px;
  height: 4px;
  top: calc(50% - 2px);
}
.sps-dragging {
  user-select: none;
}
.sdock-editing .sps-handle:after {
  background: var(--accent);
}
@media (min-width: 761px) {
  .pane-grid.sps-multi {
    display: block;
    min-width: 0;
    min-height: 0;
  }
  .pane-grid.sps-multi > .pane {
    position: absolute;
    left: var(--sps-l);
    top: var(--sps-t);
    right: var(--sps-r);
    bottom: var(--sps-b);
    min-height: 0;
    min-width: 0;
  }
  .pane-grid.sps-multi .chart-area {
    min-height: 0;
  }
}
@media (max-width: 760px) {
  .pane-grid.sps-multi {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 0 0 auto;
    min-height: 0;
    height: auto;
  }
  .pane-grid.sps-multi > .pane {
    flex: none;
    min-height: 0;
    max-height: none;
    height: var(--sps-height);
  }
  .pane-grid.sps-multi .chart-area {
    min-height: 0;
  }
  .pane-grid.sps-multi > .sps-phone {
    left: 0;
    right: 0;
    height: 16px;
  }
  .sdock-editing .pane-grid.sps-multi > .sps-phone {
    height: 28px;
  }
  .sdock-tile .pane-grid.sps-multi {
    overflow: auto;
    flex: 1 1 0;
    min-height: 0;
    overscroll-behavior: contain;
  }
}
