.task-video-layout {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(0, 2fr);
  gap: 12px;
  margin-top: 12px;
}
.task-video-case {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  padding: 10px;
  margin-bottom: 8px;
  text-align: left;
  border: 1px solid var(--line, #ddd);
  border-radius: 8px;
  background: transparent;
  color: inherit;
  overflow-wrap: anywhere;
}
.task-video-case.active { background: #eef0ff; }
.task-video-case small { width: 100%; }
.task-video-layout video { width: 100%; max-height: 65vh; background: #111; }
@media (max-width: 640px) {
  .task-video-layout { grid-template-columns: minmax(0, 1fr); }
}
