/* One compact capture action. Never inherit the unrelated task-card grid,
   whose two stretching columns made summary prompts look like giant buttons. */
.requested-work-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-block: 0.5rem 0;
}
.requested-work-actions > .requested-work-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  min-width: 44px;
  min-height: 44px;
  max-width: 100%;
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
}

/* A retained source pane preserves the exact reading position without adding
   a layout box or exposing its controls while Chat owns preparation. */
.requested-work-source-return { display: contents; }
.requested-work-source-return[hidden] { display: none; }

.requested-work-context { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.requested-work-context > button { min-height: 44px; }
