.pane-controls, .pane-separators {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.pane-controls { z-index: 1; }
.pane-separators { z-index: 0; }
.pane-separator {
  position: absolute;
  height: 10px;
  transform: translateY(-50%);
  pointer-events: auto;
  cursor: row-resize;
  touch-action: none;
  user-select: none;
  color: var(--muted);
}
.pane-separator[data-fixed] { cursor: default; }
.pane-separator::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(24px, 100%);
  border-block-start: 2px solid currentColor;
  transform: translate(-50%, -50%);
}
.pane-separator:is(:hover, :focus-visible, [data-resizing]) { color: var(--accent); }
.pane-separator:is(:hover, [data-resizing])::after { inset-inline: 0; width: auto; transform: translateY(-50%); }
@media (pointer: coarse) {
  .pane-separator { height: 18px; }
}
.pane-actions {
  position: absolute;
  inset-inline-end: 4px;
  display: flex;
  inline-size: 88px;
  border-radius: 4px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  opacity: 0;
}
.pane-controls[data-mode="always"] .pane-actions,
.pane-actions[data-hovered], .pane-actions:has(button:focus-visible) {
  opacity: 1;
  pointer-events: auto;
}
.pane-actions button {
  display: grid;
  place-items: center;
  flex: 1 1 0;
  min-width: 0;
  padding: 0;
}
.pane-actions button svg {
  width: 15px;
  height: 15px;
  max-height: 100%;
}
