/* First-run guide + home streak chip + feed quick action */
.firstrun { margin-bottom: var(--space-4); }
.firstrun__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-3); }
.firstrun__title { margin: 0; font-size: var(--text-lg); }
.firstrun__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.firstrun__link {
  display: flex; align-items: center; gap: var(--space-3);
  min-height: 56px; padding: var(--space-2) var(--space-3);
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); color: inherit; text-decoration: none;
}
.firstrun__link:hover { border-color: var(--accent); text-decoration: none; }
.firstrun__num {
  flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; background: var(--accent-soft); color: var(--accent-text);
}
.firstrun__text { display: flex; flex-direction: column; min-width: 0; }
.firstrun__label { font-weight: 700; }
.firstrun__hint { font-size: var(--text-xs); color: var(--text-muted); }
.firstrun__step.is-next .firstrun__link { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.firstrun__step.is-done .firstrun__num { background: var(--accent); color: #fff; }
.firstrun__step.is-done .firstrun__label { text-decoration: line-through; color: var(--text-muted); }
.firstrun__alt { margin: var(--space-3) 0 0; font-size: var(--text-sm); color: var(--text-muted); }

.streak-chip {
  display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap;
  min-height: 48px; margin-bottom: var(--space-4); padding: var(--space-2) var(--space-4);
  background: var(--streak-soft); border: 1px solid var(--streak); border-radius: var(--radius);
  color: inherit; text-decoration: none;
}
.streak-chip:hover { text-decoration: none; box-shadow: var(--shadow); }
.streak-chip.is-risk { box-shadow: 0 0 0 1px var(--streak); }
.streak-chip__flame { font-size: 1.5rem; line-height: 1; }
.streak-chip__text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.streak-chip__main { font-weight: 800; color: var(--streak); }
.streak-chip__sub { font-size: var(--text-xs); color: var(--text-muted); overflow-wrap: anywhere; }
.streak-chip__more { font-size: var(--text-xs); font-weight: 700; color: var(--streak); }

/* Feed card: link + quick action side by side (no nested anchors). */
.session-row { display: flex; align-items: center; gap: var(--space-2); }
.session-row .session-item { flex: 1; min-width: 0; }
.session-again {
  flex: 0 0 auto; min-width: 44px; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1);
  padding: 0 var(--space-3); border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); color: var(--accent-text); font-weight: 700; font-size: var(--text-sm);
  text-decoration: none;
}
.session-again:hover { border-color: var(--accent); text-decoration: none; }
.session-again__text { display: none; }
@media (min-width: 640px) { .session-again__text { display: inline; } }
