/* Draggable panel dividers (resize.js). Sam Hardacre, 23 Oct 2026. */

.panel-resizer {
  position: absolute;
  inset-block: 0;
  z-index: 35;
  inline-size: 8px;
  cursor: col-resize;
  touch-action: none;
  background: transparent;
}

.panel-resizer[hidden] {
  display: none;
}

.panel-resizer::after {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 3px;
  inline-size: 2px;
  background: transparent;
  transition: background-color 120ms ease;
}

.panel-resizer:hover::after,
.is-resizing > .panel-resizer::after {
  background: var(--line-strong, #9aa4b2);
}

.panel-resizer:focus-visible {
  outline: none;
}

.panel-resizer:focus-visible::after {
  inline-size: 3px;
  background: var(--focus, #2f5bd3);
}

/* Follow the pointer, not an animation catching up with it. */
.is-resizing,
.is-resizing * {
  transition: none !important;
  user-select: none;
}

.is-resizing {
  cursor: col-resize;
}
