/* ── Video Workspace Wrapper (Capture page layout) ── */
#video-workspace-wrapper {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 16px;
  padding: 16px;
  min-width: 0;
  overflow-y: auto;
}

@media (max-width: 1024px) {
  #video-workspace-wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
}

/* ── Video Panel (Capture page) ── */
#video-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#video-area {
  flex: 1;
  position: relative;
  background-color: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

#road-video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: none;
}
#road-video[src] { display: block; }

#video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-align: center;
  pointer-events: none;
}
#video-placeholder span { font-size: 0.95rem; font-weight: 500; }
#video-placeholder .text-xs { font-size: 0.75rem; color: var(--text-faint); }

/* ── Editor Column (Capture page) ── */
#editor-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

/* ── Sidebar inside video-panel (Capture page) ── */
#video-panel #sidebar {
  width: 100%;
  height: auto;
  max-height: 360px;
  border-left: none;
  border-right: none;
  border-top: 1px solid var(--border-color);
  flex-shrink: 0;
  overflow-y: auto;
}
#video-panel #sidebar #entries-list {
  flex: none;
  overflow-y: visible;
  max-height: none;
}
