/* outreach-funnel.css — Phase 3 kanban styles.
 * UI Kit tokens only: zero raw hex / px literals.
 * Borders use the --rk-border shorthand; whites via --rk-white; spacings via
 * --rk-space-*; type sizes / weights / radii / colours all via --rk-*.
 */

.ofn-board {
  display: grid;
  /* 256px column floor: var(--rk-space-16) = 64px × 4 */
  grid-template-columns: repeat(5, minmax(calc(var(--rk-space-16) * 4), 1fr));
  gap: var(--rk-space-4);
  padding: var(--rk-space-4);
  overflow-x: auto;
}

.ofn-column {
  background: var(--rk-blue-subtle);
  border: var(--rk-border);
  border-radius: var(--rk-radius-lg);
  padding: var(--rk-space-3);
  display: flex;
  flex-direction: column;
  gap: var(--rk-space-2);
  min-height: 60vh;
}

.ofn-column-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--rk-text-md);
  font-weight: var(--rk-weight-medium);
  color: var(--rk-navy);
  padding-bottom: var(--rk-space-1);
}

.ofn-column-label { letter-spacing: 0.01em; }

.ofn-count {
  font-size: var(--rk-text-xs);
  font-weight: var(--rk-weight-normal);
  color: var(--rk-slate);
  background: var(--rk-gray-light);
  border-radius: var(--rk-radius-pill);
  padding: 0 var(--rk-space-2);
}

.ofn-column-body {
  display: flex;
  flex-direction: column;
  gap: var(--rk-space-2);
}

.ofn-card {
  background: var(--rk-white);
  border: var(--rk-border);
  border-radius: var(--rk-radius-md);
  padding: var(--rk-space-2);
  display: flex;
  align-items: center;
  gap: var(--rk-space-2);
}

.ofn-card-photo {
  width: var(--rk-space-10);
  height: var(--rk-space-10);
  border-radius: var(--rk-radius-pill);
  object-fit: cover;
  background: var(--rk-gray-light);
  flex-shrink: 0;
}

.ofn-card-photo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--rk-text-sm);
  font-weight: var(--rk-weight-medium);
  color: var(--rk-slate);
}

.ofn-card-meta {
  flex: 1;
  min-width: 0;
}

.ofn-card-name {
  font-size: var(--rk-text-sm);
  font-weight: var(--rk-weight-medium);
  color: var(--rk-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ofn-card-time {
  font-size: var(--rk-text-xs);
  color: var(--rk-slate-light);
}

.ofn-reject-btn {
  background: transparent;
  border: var(--rk-border);
  color: var(--rk-slate);
  border-radius: var(--rk-radius-sm);
  padding: var(--rk-space-1) var(--rk-space-2);
  font-size: var(--rk-text-xs);
  font-weight: var(--rk-weight-medium);
  cursor: pointer;
  flex-shrink: 0;
}

.ofn-reject-btn:hover:not(:disabled) {
  border-color: var(--rk-navy);
  color: var(--rk-navy);
}

.ofn-reject-btn:disabled {
  cursor: default;
  opacity: 0.5;
}

.ofn-empty {
  color: var(--rk-slate-light);
  font-size: var(--rk-text-sm);
  padding: var(--rk-space-4);
  text-align: center;
}

.ofn-more {
  color: var(--rk-slate);
  font-size: var(--rk-text-xs);
  text-align: center;
  padding: var(--rk-space-2);
  border-top: var(--rk-border);
  margin-top: var(--rk-space-1);
}

.ofn-loading,
.ofn-error,
.ofn-empty-page {
  padding: var(--rk-space-12) var(--rk-space-4);
  text-align: center;
  color: var(--rk-slate);
}

.ofn-empty-page h2 {
  color: var(--rk-navy);
  font-size: var(--rk-text-xl);
  font-weight: var(--rk-weight-medium);
  margin: 0 0 var(--rk-space-2);
}

.ofn-empty-page p {
  font-size: var(--rk-text-base);
  margin: 0;
}

.ofn-retry {
  margin-top: var(--rk-space-3);
  background: var(--rk-navy);
  color: var(--rk-white);
  border: 0;
  border-radius: var(--rk-radius-md);
  padding: var(--rk-space-2) var(--rk-space-4);
  font-size: var(--rk-text-sm);
  font-weight: var(--rk-weight-medium);
  cursor: pointer;
}

.ofn-retry:hover { background: var(--rk-navy-light); }

/* Mobile breakpoint: 720px is a raw px literal here because UI Kit doesn't
 * define a breakpoint token convention. Matches the value used by factory.css
 * and other coachbot mobile styles. */
@media (max-width: 720px) {
  .ofn-board {
    grid-template-columns: repeat(5, 80vw);
    padding: var(--rk-space-3);
    gap: var(--rk-space-3);
  }
}
