/* ROLL EDIT (Simon, 15 Nov 2026 11:07): the roll at a cut where two clips touch (js/nle-roll.js) -- the ][ cursor over
   the cut, both edges lit, the marker on the cut while it is dragged (amber at the end of the footage), and the roll
   monitor over the viewer (js/nle-slip-preview.js #nle-rollmon, dressed as the slip monitor). */
html.desktop.nle-on.nle-roll-hover #nle-tracks .nle-clip,
html.desktop.nle-on.nle-roll-hover #nle-tracks .nle-clip *,
html.desktop.nle-on.nle-rolling,
html.desktop.nle-on.nle-rolling * {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><g fill='none' stroke-linecap='square' stroke-linejoin='miter'><path d='M7 5h3v14H7M17 5h-3v14h3M2 12h3M19 12h3' stroke='black' stroke-width='4'/><path d='M7 5h3v14H7M17 5h-3v14h3M2 12h3M19 12h3' stroke='white' stroke-width='2'/></g></svg>") 12 12, col-resize !important;
}
html.desktop.nle-on .nle-clip.roll-a > .nle-clip-edge.r,
html.desktop.nle-on .nle-clip.roll-b > .nle-clip-edge.l { background: rgba(var(--accent-rgb), .6); }
html.desktop.nle-on.ev-on .nle-clip.roll-a > .nle-clip-edge.r,
html.desktop.nle-on.ev-on .nle-clip.roll-b > .nle-clip-edge.l { background: rgba(232, 25, 79, .62); }
html.desktop.nle-on.ev-on .nle-aclip.roll-a > .nle-clip-edge.r,
html.desktop.nle-on.ev-on .nle-aclip.roll-b > .nle-clip-edge.l { background: rgba(95, 224, 196, .5); }

html.desktop.nle-on .nle-rollmark {
  position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; z-index: 6; pointer-events: none;
  background: #e8194f; box-shadow: 0 0 0 1px rgba(0, 0, 0, .45);
}
html.desktop.nle-on .nle-rollmark[hidden] { display: none; }
html.desktop.nle-on .nle-rollmark.at-limit { background: #ffb020; box-shadow: 0 0 6px 1px rgba(255, 176, 32, .6); }
html.desktop.nle-on .nle-rollmark .rm-amt {
  position: absolute; top: 3px; left: 6px; white-space: nowrap;
  font: 600 10px/1.2 Inter, system-ui, sans-serif; letter-spacing: .02em; color: #ececef;
  background: rgba(11, 11, 13, .92); border: 1px solid #2c2c33; border-radius: 5px; padding: 2px 6px;
}
html.desktop.nle-on .nle-rollmark.at-limit .rm-amt { border-color: #ffb020; color: #ffd27a; }

html.desktop.nle-on .nle-rollmon .sm-ra,
html.desktop.nle-on .nle-rollmon .sm-rb { flex: 0 1 42%; }
html.desktop.nle-on .nle-rollmon .sm-ra .sm-pic,
html.desktop.nle-on .nle-rollmon .sm-rb .sm-pic { border-color: #3a3a43; }
html.desktop.nle-on .nle-rollmon .sm-ra .sm-pic { border-right: 3px solid #e8194f; }
html.desktop.nle-on .nle-rollmon .sm-rb .sm-pic { border-left: 3px solid #e8194f; }
