/* Plan Dashboard — three-card "what needs my attention" page */

/* Topline -- where the program sits in its cycle, what ends or starts
   next, this week's session count, and the same ranked headline chips
   the weekly planner's brief shows. Reuses .week-brief-clear,
   .week-brief-more and .brief-chip-verb from weekly_planner.css, which
   loads on every page -- only the elements unique to this strip get a
   .plan-topline* class. */
.plan-topline {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  background: var(--surface-white);
  color: var(--text-primary);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.plan-topline-where {
  display: flex;
  gap: 0.875rem;
  align-items: baseline;
  flex-wrap: wrap;
}

.plan-topline-cycle {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.plan-topline-next {
  color: var(--text-secondary);
  font-size: 0.8125rem;
}

.plan-topline-sessions {
  color: var(--text-secondary);
  font-size: 0.8125rem;
  margin-left: auto;
}

.plan-topline-chips-label {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}


/* Cycle Outlook — gap row distinction */
.plan-dashboard-gap-row {
  background-color: var(--light-gray, #f8f9fa);
  color: var(--medium-gray, #6c757d);
  font-style: italic;
}

.plan-dashboard-gap-row td:first-child {
  font-weight: 500;
}

/* Cycle Outlook -- the status badge folded into the name cell, indented child rows, and a whole-row
   click target (row-link controller opens the cycle). */
.cycle-outlook-row {
  cursor: pointer;
}

.cycle-outlook-title {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.cycle-outlook-status {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.125rem;
  white-space: nowrap;
}

.cycle-outlook-status-ending_soon {
  color: var(--alert-warning-text);
}

.cycle-outlook-dates {
  width: 1%;
  white-space: nowrap;
}

.cycle-outlook-child .cycle-outlook-name {
  padding-left: 1.25rem;
}

.cycle-outlook-child-mark {
  flex: none;
  color: var(--text-muted);
}

.cycle-outlook-count {
  color: var(--text-secondary);
  font-size: 0.8125rem;
}

.cycle-outlook-drafts {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.cycle-outlook-weeks {
  width: 1%;
  white-space: nowrap;
}
