/* CLAUDE-NOTE (Ilyas 2026-10-16): draggable column edges (panel-resize.js). Loaded after screening-room.css. The
   variables are only set once he drags an edge; until then each column keeps its old default width. */
@media (min-width: 761px) {
  #review-tab.active, #compare-tab.active, #sets-tab.active {
    grid-template-columns: var(--list-w, minmax(240px, 284px)) minmax(0, 1fr);
  }
}
@media (min-width: 1600px) {
  #review-tab .scene-viewer-grid:not([hidden]) {
    grid-template-columns: minmax(0, 1fr) var(--inspector-w, minmax(340px, 400px));
  }
}

.panel-edge {
  position: fixed; z-index: 60; width: 8px; cursor: col-resize; touch-action: none;
  background: transparent; transition: background .12s;
}
.panel-edge[hidden] { display: none; }
.panel-edge::after {
  content: ""; position: absolute; left: 3px; top: 0; bottom: 0; width: 2px; background: transparent; transition: background .12s;
}
.panel-edge:hover::after, .panel-edge:focus-visible::after, .panel-edge.dragging::after { background: var(--gold, #c9a96a); }
.panel-edge:focus-visible { outline: none; }
body.panel-resizing, body.panel-resizing * { cursor: col-resize !important; user-select: none !important; }
body.panel-resizing video, body.panel-resizing iframe { pointer-events: none; }
