/* People (people.js, docs/CONSOLE-REDESIGN.md §1.5, step 7): one list with kinds in the list pane, a person's page with
   its tabs in the detail pane, the latest conversation or "Possibly the same" in the context pane. Built on the panels
   (panels.css) and the Tasks list's rows and chips (templates.css: .tl-row, .fchip, .tag). Flat: hairlines, no boxed
   cards. Theme tokens only (docs/THEMES.md). Every class here starts with pp-. */

/* the list */
.pp-list { display: flex; flex-direction: column; min-height: 100%; }
.pp-chips a.fchip { text-decoration: none; }
.pp-list .pp-search { padding: 10px 16px 6px; }
.pp-rows { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-top: 6px; }
.pp-rows .pp-row { align-items: center; }
.pp-side { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex: none; }
.pp-side .when { font-size: 11.5px; color: var(--text-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pp-row .t3 { column-gap: 0; }
/* the flags run as one line of words: "1 needed · possibly the same as 1 other", the dot spaced once (the row's .t3 gap
   is taken back, so the gap and the dot's own space no longer double) */
.pp-row .t3 .tag + .tag::before { content: "·"; color: var(--text-3); margin: 0 4px; }
.pp-more { display: flex; gap: 10px; align-items: center; padding: 12px 16px 20px; font-size: 12.5px; }
.pp-more:empty { display: none; }
.pp-none { margin: 0; padding: 6px 0; font-size: 13px; }
.pn-pad.pp-none p { margin: 0; }

/* the round mark with a person's initials */
.pp-av { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; background: var(--ink-3); color: var(--text-2);
  font: 600 12px/1 var(--sans); letter-spacing: .02em; }
.pp-av.lg { width: 52px; height: 52px; font-size: 17px; }

/* the kind, in small capitals: on a row's right, and in the detail's header */
.pp-kind, .pp-kindh { font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; }
.pp-kindh { font-size: 11px; font-weight: 600; }

/* a person's page */
.pp-page { padding: 16px 20px 32px; min-width: 0; }
.pp-who { display: flex; gap: 14px; align-items: center; min-width: 0; }
.pp-name { min-width: 0; }
.pp-name h2 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.01em; overflow-wrap: anywhere; color: var(--text); }
.pp-name p { margin: 3px 0 0; font-size: 12.5px; overflow-wrap: anywhere; }
.pp-given { font-style: italic; }
.pp-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0 2px; }
.pp-acts a.btn { text-decoration: none; }
.pp-page .ct-blocked { margin-top: 12px; }
.pp-page .ct-block { margin-top: 10px; }
.pp-page .pp-tabs { margin: 14px -20px 0; padding: 0 20px; }
.pp-tab { min-width: 0; }
.pp-h { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); font-weight: 600; margin: 20px 0 6px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.pp-h .c { letter-spacing: 0; text-transform: none; font-weight: 400; }
.pp-h .c a { color: var(--canopy-2); }
.pp-lede { margin: 0 0 8px; font-size: 13.5px; color: var(--text-2); max-width: 680px; }
.pp-small { font-size: 12.5px; margin: 8px 0 0; }
.pp-kv { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; }
.pp-dev { padding: 10px 0 12px; border-bottom: 1px solid var(--line); min-width: 0; }
.pp-dev .mono { font: 11.5px var(--mono); }
.pp-k { font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--text-3); margin-right: 4px; }
.pp-tw:empty { display: none; }

/* the context pane: its two tabs in the header, the latest conversation under it */
.pn-h .pp-ctabs { border-bottom: 0; padding: 0; gap: 14px; }
.pp-ctx { padding: 12px 16px 24px; min-width: 0; }
.pp-ctx > .ct-list, .pp-ctx > .ct-none { margin-top: 0; }
.pp-subj { font-weight: 600; font-size: 13.5px; margin: 8px 0 0; overflow-wrap: anywhere; }
.pp-ctx .btn { margin-top: 10px; text-decoration: none; }

@media (max-width: 780px) {
  .pp-page { padding: 14px 14px 28px; }
  .pp-page .pp-tabs { margin: 12px -14px 0; padding: 0 14px; }
  .pp-list .pp-search { padding: 10px 14px 6px; }
  .pp-ctx { padding: 12px 14px 24px; }
  .pp-av.lg { width: 44px; height: 44px; font-size: 15px; }
}
