.workbench-scene-preview-panel {
  min-width: 0;
}

.workbench-scene-preview-panel__body {
  padding: 10px 0 0;
}

.workbench-scene-preview-panel__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.workbench-scene-preview-panel__frame {
  min-width: 0;
}

.workbench-scene-preview-panel__thumbnail {
  min-height: 220px;
}

.workbench-scene-preview-panel__fallback {
  display: flex;
  height: 100%;
  width: 100%;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 26% 24%, color-mix(in srgb, var(--ms-color-muted-foreground) 18%, transparent), transparent 32%),
    linear-gradient(135deg, var(--ms-color-muted), var(--ms-color-background));
  padding: 16px;
}

.workbench-scene-preview-panel__fallback-header,
.workbench-scene-preview-panel__top-badges,
.workbench-scene-preview-panel__bottom-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.workbench-scene-preview-panel__fallback-kicker {
  color: var(--ms-color-muted-foreground);
  font-size: var(--ms-text-label);
  line-height: 18px;
}

.workbench-scene-preview-panel__fallback-copy {
  max-width: 640px;
}

.workbench-scene-preview-panel__unit-title {
  margin: 0;
  color: var(--ms-color-foreground);
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.workbench-scene-preview-panel__prompt {
  display: -webkit-box;
  margin: 8px 0 0;
  overflow: hidden;
  color: var(--ms-color-muted-foreground);
  font-size: var(--ms-text-body);
  line-height: 24px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.workbench-scene-preview-panel__top-badges {
  position: absolute;
  top: 12px;
  left: 12px;
}

.workbench-scene-preview-panel__bottom-badges {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
}

.workbench-scene-preview-panel__overlay-badge {
  background: color-mix(in srgb, var(--ms-color-background) 90%, transparent);
  box-shadow: var(--ms-shadow-sm);
}
