/* One tracked action — Figma "Action Recommendation Card" (168:4239): a circular
 * check-in toggle for the selected day + title + untrack (trash) + body. Done
 * for the selected day dims the title; the body is collapsed server-side. */

.actions-card {
  display: flex;
  gap: var(--spacing-32);
  padding: var(--spacing-32);
  background-color: var(--background-surface-1);
  border-radius: var(--corner-radius-xs);
}

/* ---- Circular check-in toggle (40px) ---- */
.actions-card-check-form { flex-shrink: 0; }
.actions-card-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: var(--corner-radius-full);
  cursor: pointer;
}
.actions-card-check-icon { width: 24px; height: 24px; }

.actions-card-check--todo {
  background-color: var(--background-surface-2);
  color: var(--text-secondary);
}
.actions-card-check--todo:hover { color: var(--text-primary); }

.actions-card-check--done {
  background-color: var(--background-hover); /* grey-700 — a step up from the surface-2 todo circle */
  color: var(--text-primary);
}

/* ---- Body column ---- */
.actions-card-body {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-8);
}

.actions-card-head {
  display: flex;
  align-items: center;
  gap: var(--spacing-8);
}
.actions-card-title {
  flex: 1 1 0;
  min-width: 0;
  font-family: var(--font-family-display);
  font-size: var(--font-size-20);
  font-weight: var(--font-weight-700);
  line-height: 1.15;
  color: var(--text-primary);
}

.actions-card-untrack-form { flex-shrink: 0; line-height: 0; }
.actions-card-untrack {
  display: flex;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-secondary);
  cursor: pointer;
}
.actions-card-untrack svg { width: 20px; height: 20px; }
.actions-card-untrack:hover { color: var(--text-risk-factor); }

.actions-card-summary {
  font-size: var(--font-size-16);
  font-weight: var(--font-weight-400);
  line-height: 1.25;
  color: var(--text-secondary);
}

/* ---- Done: dim the title (the body is omitted while checked) ---- */
.actions-card--done .actions-card-title { color: var(--text-disabled); }
