/* Round 14: chip badges shared by the CRM and the Sales app (see /shared/chips.js). */
.ff-badge-row { display: flex; flex-wrap: wrap; gap: 4px; margin: 3px 0 2px; }
.ff-badge {
  display: inline-block; font-size: 10.5px; font-weight: 600; line-height: 1.5;
  padding: 0 7px; border-radius: 10px; white-space: nowrap; border: 1px solid transparent;
}

/* Customer stage */
.ff-stage { background: #eef1ee; color: #4b5a51; }
.ff-stage-lead { background: #eef1ee; color: #4b5a51; }
.ff-stage-contacted { background: #e8f0fb; color: #1d4ed8; }
.ff-stage-quoted { background: #f3e8ff; color: #7e22ce; }
.ff-stage-sampled { background: #fdf2e3; color: #b45309; }
.ff-stage-first_order { background: #e3f6e9; color: #1f5c38; }
.ff-stage-repeat { background: #1f5c38; color: #ffffff; }
.ff-stage-dormant { background: #f1f1f1; color: #8a8a8a; }

/* Follow-up date */
.ff-followup-upcoming { background: #f6f7f5; color: #6b7a71; border-color: #e2e6e2; }
.ff-followup-today { background: #fff4d6; color: #92600a; border-color: #f3d58a; }
.ff-followup-overdue { background: #fde8e8; color: #b91c1c; border-color: #f5b5b5; }

/* Cross-app status */
.ff-with-sales { background: #e0f2fe; color: #0369a1; border-color: #bae6fd; }
.ff-in-crm { background: #e3f6e9; color: #1f5c38; border-color: #bfe3cb; }

/* Timeline extras */
.ff-tl-inbox { font-size: 10.5px; color: #0369a1; background: #e0f2fe; border-radius: 8px; padding: 0 5px; margin-left: 2px; }
.timeline-entry.ff-tl-handoff { background: #eef6fb; padding: 6px 8px; border-radius: 6px; border-bottom: none; margin: 4px 0; }

/* Stage + follow-up editor */
.ff-stage-row { display: flex; gap: 8px; }
.ff-stage-row select, .ff-stage-row input { flex: 1; min-width: 0; }

/* "Forgot password?" on login screens */
.ff-link-btn { background: none !important; border: none; color: var(--green-dark, #1f5c38) !important; font-size: 13px; cursor: pointer; padding: 6px 0 !important; text-decoration: underline; width: auto !important; }
.ff-ok-msg { color: #1f5c38; font-size: 13px; margin-top: 8px; }
