/* ═══════════════════════════════════════════════════════════════
   css/people.css — Bible People feature
   Scoped classes (ppl-*) so they never collide with song library.
   ═══════════════════════════════════════════════════════════════ */

/* ─── BROWSE: search count ─── */
.ppl-count {
  font-size: 12px;
  color: #7a6045;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ─── TOPBAR + BACK BUTTON ─── */
.ppl-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #fffdf8;
  border-bottom: 1px solid rgba(107, 58, 18, .14);
  flex-shrink: 0;
}
.ppl-topbar-title {
  font-size: 16px;
  font-weight: 600;
  color: #6b3a12;
}
.ppl-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 1px solid rgba(107, 58, 18, .22);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 14px;
  font-family: inherit;
  color: #6b3a12;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s;
}
.ppl-back-btn:hover { background: #faf3e8; }
.ppl-back-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ─── BROWSE: category chips ─── */
.ppl-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 16px;
  background: #faf3e8;
  border-bottom: 1px solid rgba(107, 58, 18, .14);
}
.ppl-chip {
  border: 1px solid rgba(107, 58, 18, .28);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
  background: #fffdf8;
  color: #6b3a12;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.ppl-chip:hover { background: #f3e6d2; }
.ppl-chip.active {
  background: #854f0b;
  color: #fff;
  border-color: #854f0b;
}

/* ─── BROWSE: list rows ─── */
.ppl-list {
  flex: 1;
  overflow-y: auto;
  background: #fffdf8;
  -webkit-overflow-scrolling: touch;
}
.ppl-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: #fffdf8;
  border: none;
  border-bottom: 1px solid rgba(107, 58, 18, .10);
  padding: 14px 16px;
  cursor: pointer;
  font-family: inherit;
}
.ppl-row:hover { background: #faf3e8; }

.ppl-row-num {
  font-size: 12px;
  color: #b08a5f;
  min-width: 24px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.ppl-row-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ppl-row-title {
  font-size: 15px;
  font-weight: 600;
  color: #4a2e15;
  line-height: 1.35;
}
.ppl-row-role {
  font-size: 12px;
  color: #8a6d4f;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.ppl-row-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #c7a479;
}

.ppl-empty,
.ppl-loading {
  padding: 30px 16px;
  text-align: center;
  color: #8a6d4f;
  font-size: 14px;
}

/* ─── PROFILE: layout containers (rest is inline in people.js) ─── */
.ppl-profile { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; background: #fffdf8; }
