/* Retenra study plan surfaces, premium redesign experiment
   Phase 5: the plan card on the progress page and the compact
   plan line beside the command center on the practice page.
   Built only from the Phase 1 tokens. Gold appears nowhere
   here; it stays with the progression insignia and unlock
   moments. Red appears nowhere; nothing on these surfaces is
   an error state. */

.plan-h { margin: var(--space-4) 0 var(--space-2); }

.plan-focus { margin: 0; padding-left: var(--space-5); }
.plan-focus li { margin: var(--space-2) 0; }

.plan-state {
  display: inline-block;
  font-size: var(--text-caption);
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 2px 8px;
  background: var(--surface-2);
  color: var(--muted);
  vertical-align: middle;
}
.plan-state[data-state="Early"] { background: var(--blue-soft); color: var(--blue-dark); }
.plan-state[data-state="Developing"] { background: var(--amber-soft); color: var(--amber-dark); }
.plan-state[data-state="Solid"] { background: var(--teal-soft); color: var(--teal); }
.plan-state[data-state="Strong"] { background: var(--teal); color: var(--surface); }

.plan-milestones { margin: 0; padding-left: var(--space-5); }
.plan-milestones li { margin: var(--space-2) 0; }

.plan-controls {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  align-items: end;
  margin-top: var(--space-5);
}
.plan-controls .field { margin-bottom: 0; flex: 1 1 200px; }
.plan-btns { display: flex; gap: var(--space-3); flex-wrap: wrap; }

.plan-guide { color: var(--muted); font-size: var(--text-small); margin-bottom: 0; }

/* The compact line beside the command center (practice page). */
.plan-line { margin-top: var(--space-4); }
.plan-line-text { margin: 0; }

@media (max-width: 700px) {
  .plan-controls { flex-direction: column; align-items: stretch; }
  .plan-btns .btn { flex: 1 1 auto; }
}
