/* Empty-state actions stay inside their card instead of sitting on its edge. */
.reback .workspace-theme .project-task-heading,
.reback .workspace-theme .project-task-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.reback .workspace-theme .project-task-heading { margin-bottom: 0; }
.reback .workspace-theme .project-task-heading .card-title { margin: 0; }
.reback .workspace-theme .worktime-panel-summary {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.reback .workspace-theme .lead-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 24px;
  margin-block: 0;
  text-align: center;
}
.reback .workspace-theme .lead-empty-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ws-accent-soft);
  color: var(--ws-accent);
}
.reback .workspace-theme .lead-empty-state h2 {
  margin: 0;
  color: var(--ws-ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}
.reback .workspace-theme .lead-empty-state p {
  max-width: 52ch;
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}
.reback .workspace-theme .lead-empty-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
@media (max-width: 767px) {
  .reback .workspace-theme .lead-empty-state { padding: 24px 18px; }
  .reback .workspace-theme .lead-empty-actions .btn { min-height: 44px; }
}
