/* #39 - a person's page on their native Local's website (/people/<id>), in the public design (public-tokens.css +
   base.css): the favourite line in a band of the Local's colour, the photo over its edge, the name with the verified
   badges (local.css .vbadges), what they do, about, the links, the contact card (a number only after "Show number").
   Same parts as the Foundation's profile head (components.css section 9) and #39's links (section 20). */

.pp-page { padding: 24px 0 48px; }
.pp-stack > * + * { margin-top: 20px; }
.pp-note { padding: 12px 16px; border: 1px solid var(--border); border-left: 4px solid var(--accent-ink); border-radius: var(--radius-md); background: var(--bg-soft); }

/* head: the band, the photo over its edge, the name */
.pp-head { overflow: hidden; padding: 0; }
.pp-band { height: 72px; background: color-mix(in srgb, var(--accent-ink) 14%, var(--surface)); }
.pp-quote { container-type: inline-size; margin: 0; padding: 24px 24px 56px; text-align: center; background: color-mix(in srgb, var(--accent-ink) 14%, var(--surface)); }
.pp-quote .icon { display: block; width: 22px; height: 22px; margin: 0 auto 8px; fill: currentColor; stroke: none; color: var(--accent-ink); opacity: 0.6; }
.pp-quote blockquote { margin: 0; }
.pp-quote p { margin: 0 auto; max-width: 36rem; font-size: 1.375rem; line-height: 1.45; font-weight: 600; overflow-wrap: anywhere; }
.pp-quote figcaption { margin-top: 8px; font-size: 0.875rem; color: var(--ink-3); }
.pp-body { display: grid; gap: 10px; padding: 0 20px 20px; }
.pp-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: -44px; }
.pp-avatar { display: grid; place-items: center; width: 88px; height: 88px; overflow: hidden; border: 4px solid var(--surface); border-radius: 999px; background: var(--bg-muted, var(--bg-soft)); color: var(--ink-3); }
.pp-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pp-avatar .icon { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 2; }
.pp-actions { margin: 0; }
.pp-name { margin: 0; font-size: 1.75rem; line-height: 1.25; overflow-wrap: anywhere; }
.pp-chip { justify-self: start; margin: 0; padding: 4px 12px; border: 1px solid var(--border); border-radius: 999px; font-size: 0.875rem; font-weight: 600; color: var(--accent-ink); }

/* the two columns (one on a phone) */
.pp-layout { display: grid; gap: 20px; align-items: start; }
@media (min-width: 760px) { .pp-layout { grid-template-columns: minmax(0, 1fr) 18rem; } }
.pp-main, .pp-side { display: grid; gap: 20px; min-width: 0; }
.pp-card { padding: 20px; }
.pp-title { margin: 0 0 12px; font-size: 1.125rem; }
.pp-text { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.pp-muted { margin: 0; color: var(--ink-3); }
.pp-small { margin: 8px 0 0; font-size: 0.8125rem; color: var(--ink-3); }

/* links */
.pp-links { display: grid; margin: 0; padding: 0; list-style: none; }
.pp-links > li + li { border-top: 1px solid var(--border); }
.pp-link { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 0; color: var(--ink-1); text-decoration: none; }
.pp-link:hover b { text-decoration: underline; text-underline-offset: 3px; }
.pp-link:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; border-radius: var(--radius-sm); }
.pp-link-icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: var(--radius-md); background: var(--bg-soft); }
.pp-link-icon .icon { width: 18px; height: 18px; }
.pp-link-text { display: grid; flex: 1 1 auto; min-width: 0; }
.pp-link-text b { font-weight: 600; }
.pp-link-text small { font-size: 0.8125rem; color: var(--ink-3); overflow-wrap: anywhere; }
.pp-badge { flex: none; padding: 2px 8px; border: 1px solid var(--border); border-radius: 999px; font-size: 0.75rem; color: var(--ink-3); }
.pp-ext { flex: none; color: var(--ink-3); }

/* contact */
.pp-contact form { margin: 0 0 8px; }
.pp-block { display: flex; width: 100%; justify-content: center; gap: 8px; }
.pp-block .icon { width: 18px; height: 18px; }
.pp-number { display: grid; gap: 8px; margin-bottom: 8px; }
.pp-number-text { font-family: var(--lc-font-mono, ui-monospace, monospace); font-size: 1.25rem; font-weight: 700; }
.pp-number-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* profile.localcen.com (#39 Phase 4): LocalCen's header, the language links, the open-a-profile box, the footer */
.pp-brand { display: inline-flex; align-items: center; gap: 8px; }
.pp-mark { display: inline-flex; width: 24px; height: 24px; color: var(--accent-ink); }
.pp-mark svg { width: 100%; height: 100%; }
.pp-langs { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 0.875rem; }
.pp-langs a { color: var(--ink-3); text-decoration: none; }
.pp-langs a[aria-current] { color: var(--ink-1); font-weight: 700; }
.pp-center { text-align: center; }
.pp-open { display: grid; gap: 10px; }
.pp-open-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-input { flex: 1 1 14rem; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--field); border-radius: 999px; background: var(--surface); color: var(--ink-1); font: inherit; font-family: var(--lc-font-mono, ui-monospace, monospace); }
.pp-input:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.pp-input[aria-invalid] { border-color: var(--ink-1); }
.pp-error { margin: 0; font-size: 0.875rem; font-weight: 600; }
.pp-foot { padding: 24px 0 32px; border-top: 1px solid var(--border); font-size: 0.8125rem; color: var(--ink-3); }
.pp-foot .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.pp-foot a { color: inherit; }
