/* People & Members (CRM) - admin module. Classes prefixed .pp- */
.mb-0 { margin-bottom: 0; }
.pp-intro { margin-bottom: 18px; display: grid; gap: 12px; max-width: 980px; }
.pp-tiles { margin-bottom: 22px; }
.tabs a .badge-a { margin-left: 4px; vertical-align: 1px; }
.pp-search { min-width: 260px !important; flex: 1; max-width: 420px; }
.pp-table td { vertical-align: top; }
.pp-table .title-cell a { margin-right: 8px; }
.pp-due td:first-child { box-shadow: inset 3px 0 0 var(--terracotta); }
.pp-overdue { color: #9B1C12; font-weight: 800; }
.pp-tags { max-width: 240px; }
.pp-tag { display: inline-block; margin: 0 6px 6px 0; padding: 2px 10px; border-radius: 999px; background: var(--sand); color: var(--walnut); font-size: .8rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.pp-tag:hover { background: var(--honey-soft); }

/* Person page */
.pp-head .panel-body { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; }
.pp-head-main { display: flex; gap: 18px; align-items: center; min-width: 0; flex: 1 1 420px; }
.pp-avatar { width: 64px; height: 64px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--honey-soft); color: var(--ember); font: 600 1.4rem/1 "Lora", Georgia, serif; }
.pp-badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 8px; }
.pp-badges .pp-tag { margin: 0; }
.pp-reach { flex: none; }
.pp-grid { display: grid; gap: 22px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1100px) { .pp-grid { grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr); } }
.pp-fields { display: grid; gap: 18px; }
.pp-kv { grid-template-columns: 130px 1fr; }

/* Log a touch */
.pp-log { display: grid; gap: 14px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.pp-types { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pp-type { cursor: pointer; }
.pp-type input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pp-type span { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: .9rem; color: var(--walnut); }
.pp-type input:checked + span { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }
.pp-type input:focus-visible + span { outline: 3px solid var(--honey); outline-offset: 2px; }
.pp-log textarea { min-height: 96px; }
.pp-log-foot { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: flex-end; }
.pp-log-foot .f { min-width: 200px; }
.pp-log-foot .check { padding-bottom: 11px; }

/* Timeline */
.pp-empty { margin: 0; }
.pp-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pp-entry { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid #F1E7DA; }
.pp-entry:last-child { border-bottom: 0; }
.pp-entry-icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--ember); }
.pp-entry-call .pp-entry-icon, .pp-entry-text .pp-entry-icon, .pp-entry-email .pp-entry-icon, .pp-entry-visit .pp-entry-icon { background: #DFEBDB; color: #2F4A2A; }
.pp-entry-meta { margin: 0 0 4px; font-size: .88rem; color: var(--ink-soft); }
.pp-entry-meta strong { color: var(--walnut); }
.pp-entry-text { margin: 0; white-space: normal; word-break: break-word; }
.pp-remove { margin: 4px 0 22px; text-align: right; }
.pp-kv { margin: 0 0 10px; }

/* Address: city / state / ZIP on one row (Planning Center sync, 2026-11-30). */
.pp-addr-row { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr) 70px 90px; }
.pp-household li { padding: 4px 0; }
.pp-household .hint { margin-left: 6px; }
