/* People in a community and a member's own page (community-people.js, community-profile.js; owner, 2026-11-29, marks 6
   and 8). The app's own cards, chips, tags and buttons (community.css, community-app.css); what is new is the page a
   member makes their own. A member's page reads every colour from the --pf-* values its look sets (applyLook,
   community-profile-looks.js); nothing a member typed is ever a style. */

/* A name anywhere in the community: a quiet link that opens the person's page. */
/* Wherever it sits (a post's writer, a reply's, "Led by", a conversation's title) it is a big enough thing to press,
   44 px tall, without moving the line it is in: the padding that makes it tall is taken back by the margin. */
.cm-person-link { display: inline; min-height: 0; padding: 11px 0; margin: -11px 0; border: 0; background: none; color: inherit; font: inherit; font-weight: inherit;
  text-align: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
.cm-person-link:hover, .cm-person-link:focus-visible { text-decoration-color: currentColor; }
/* The focus ring is drawn round the name itself, not the taller box that makes it easy to press. */
.cm-person-link { position: relative; }
.cm-person-link:focus-visible { outline: none; }
.cm-person-link:focus-visible::after { content: ""; position: absolute; inset: 8px -5px; border: 3px solid var(--cm-focus); border-radius: 5px; pointer-events: none; }
.cm-person-link[data-gone] { cursor: default; text-decoration: none; }

/* The parts across the top of People. */
.cm-people-parts { display: flex; flex-wrap: wrap; gap: 8px; }
.cm-people-back { justify-self: start; }
#people-everyone, #people-groups, #people-roles, #people-extra, #people-person { display: grid; gap: 16px; min-width: 0; }
/* A small round picture covers the first letter once it has arrived (the letter shows until then). */
.pf-avatar { position: relative; overflow: hidden; }
.pf-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; font-size: 0; }
.pf-row-line { color: var(--cm-ink); }
.cm-group .cm-tag.good { margin-left: 0; }
.pf-reported { border-color: var(--cm-accent-line-strong); }
.pf-role .pf-names { font-weight: 650; }
.pf-leaders { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
#roles-body { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: start; }
#roles-body > #roles-alone, #roles-body > p { grid-column: 1 / -1; }
/* "Choose moderators" / "Choose the care team" open a checklist of every member: its card takes the whole row, so a
   long list sits in columns and Save and Cancel side by side, not squeezed into a third of the width (walk, 2026-11-29). */
#roles-body > .pf-role:has(.cm-picker) { grid-column: 1 / -1; }
/* The three cards are as tall as the tallest, with their buttons along one line at the bottom (live check, 2026-11-29). */
#roles-body { align-items: stretch; }
.pf-role { display: flex; flex-direction: column; gap: 12px; }
.pf-role .cm-button { align-self: flex-start; }
.pf-role > .cm-button:last-child { margin-top: auto; }

/* ---- a member's page in its look */
.pf-page { --pf-radius: 18px; display: grid; overflow: hidden; border-radius: var(--pf-radius); border: 1px solid var(--pf-line); background-color: var(--pf-page); color: var(--pf-ink); }
.pf-page[data-pattern="dots"] { background-image: radial-gradient(var(--pf-line) 1.6px, transparent 1.8px); background-size: 18px 18px; }
.pf-page[data-pattern="stripes"] { background-image: repeating-linear-gradient(135deg, var(--pf-line) 0 2px, transparent 2px 16px); }
.pf-page[data-pattern="grid"] { background-image: linear-gradient(var(--pf-line) 1px, transparent 1px), linear-gradient(90deg, var(--pf-line) 1px, transparent 1px); background-size: 24px 24px; }
.pf-page[data-pattern="waves"] { background-image: radial-gradient(circle at 50% 100%, transparent 9px, var(--pf-line) 10px, var(--pf-line) 11px, transparent 12px); background-size: 28px 14px; }
.pf-cover { height: clamp(96px, 16vw, 150px); background: linear-gradient(135deg, var(--pf-accent), var(--pf-cover-to)); }
.pf-page[data-cover="tall"] .pf-cover { height: clamp(150px, 26vw, 260px); }
.pf-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pf-body { display: grid; gap: 16px; padding: 0 clamp(14px, 3vw, 28px) clamp(16px, 3vw, 28px); min-width: 0; }
/* The top of a page: the photo (or logo), then the name box filling the rest of the row, their tops on one line; the
   buttons on their own row under the name box (live check, 2026-11-29: with four buttons beside it the name box was
   left a third of the row and the name broke in two, and the photo sat lower than the box). One column on a phone. */
.pf-head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 12px 18px; margin-top: -48px; }
.pf-head > .pf-actions { grid-column: 2; }
.pf-photo { position: relative; flex: none; display: grid; place-items: center; width: 112px; height: 112px; overflow: hidden; border-radius: 50%; border: 4px solid var(--pf-card);
  background: var(--pf-card); color: var(--pf-accent); font-size: 2.6rem; font-weight: 750; line-height: 1; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }
.pf-page[data-photo="square"] .pf-photo { border-radius: 18px; }
/* The picture covers the first letter once it has arrived; until then the letter shows, never the picture's words. */
.pf-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; font-size: 0; }
.pf-who { display: grid; gap: 4px; min-width: 0; padding: 12px 16px; border-radius: 14px; background: var(--pf-card); border: 1px solid var(--pf-line); }
.pf-name { margin: 0; font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 750; line-height: 1.2; letter-spacing: -.02em; color: var(--pf-ink); overflow-wrap: anywhere; }
.pf-tagline { margin: 0; font-size: 1.06rem; color: var(--pf-ink); overflow-wrap: anywhere; }
.pf-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 0; }
.pf-page .cm-tag { background: color-mix(in srgb, var(--pf-accent) 12%, var(--pf-card)); color: var(--pf-ink); border: 1px solid var(--pf-line); }
.pf-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-bottom: 4px; }
.pf-page .cm-primary { background: var(--pf-accent); border-color: var(--pf-accent); color: var(--pf-accent-ink); }
.pf-page .cm-button { background: var(--pf-card); color: var(--pf-ink); border-color: var(--pf-soft); }
.pf-page .cm-link, .pf-page .cm-muted, .pf-page .cm-meta { color: var(--pf-soft); }
.pf-page a { color: var(--pf-accent); font-weight: 600; overflow-wrap: anywhere; }
.pf-page :focus-visible { outline: 3px solid var(--pf-accent); outline-offset: 2px; }
/* Every state of a control in the page's own look (live check, 2026-11-29: on a dark look the app's pale hover put white
   words on a pale button). ".cm-app .pf-page" outranks the app's own ".cm-app .cm-button:hover"; the colours come from
   the look (community-profile-looks.js hoverOf), and each pair is held readable by community-profile-looks.test.js. */
.cm-app .pf-page :is(.cm-button, .cm-chip):hover { background: var(--pf-hover); color: var(--pf-ink); border-color: var(--pf-ink); }
.cm-app .pf-page .cm-primary:hover { background: var(--pf-accent-hover); border-color: var(--pf-accent-hover); color: var(--pf-accent-ink); }
.cm-app .pf-page .cm-link:hover { color: var(--pf-ink); }
.cm-app .pf-page a:hover { color: var(--pf-ink); }
.cm-app .pf-page :focus-visible { outline: 3px solid var(--pf-accent); outline-offset: 2px; }
.cm-app .pf-page .cm-person-link:focus-visible { outline: none; }
.cm-app .pf-page .cm-person-link:focus-visible::after { border-color: var(--pf-accent); }
/* A button that waits (a picture being checked) keeps the look's colours, only quieter in its border: its words stay
   readable. */
.cm-app .pf-page :is(.cm-button, .cm-primary, .cm-chip):disabled { background: var(--pf-card); color: var(--pf-ink); border-color: var(--pf-line); cursor: default; }
/* A field on a page (a title, a checklist's search) is a white box with dark words in every look. */
.cm-app .pf-page :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { background: #fff; color: #1c2b3a; border-color: var(--pf-soft); }
.cm-app .pf-page .cm-check { color: var(--pf-ink); }
.pf-parts { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: start; }
.pf-card { display: grid; gap: 10px; min-width: 0; padding: 16px 18px; border-radius: 14px; background: var(--pf-card); border: 1px solid var(--pf-line); }
.pf-card-title { margin: 0; font-size: 1.05rem; font-weight: 750; color: var(--pf-ink); }
.pf-card .cm-pre { margin: 0; color: var(--pf-ink); overflow-wrap: anywhere; }
.pf-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pf-page .cm-chip { background: var(--pf-card); color: var(--pf-ink); border-color: var(--pf-soft); }
.pf-reach { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pf-reach li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 44px; }
.pf-reach-label { min-width: 72px; color: var(--pf-soft); font-weight: 650; }
/* Each way to reach them is pressed to call, write or open: the whole 44 px row height, not the height of its words. */
.pf-reach a { display: inline-flex; align-items: center; min-height: 44px; }
.pf-posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pf-posts li { display: grid; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid var(--pf-line); }
.pf-posts li:last-child { border-bottom: 0; padding-bottom: 0; }
.pf-posts .cm-link { justify-self: start; }
.pf-hidden-note { margin: 0; padding: 8px 12px; border-radius: 10px; background: var(--cm-warm); color: var(--cm-warm-ink); font-weight: 600; }
.pf-is-hidden { opacity: .45; }
.pf-mod-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.pf-hide { justify-self: start; }
/* A moderator's Hide link starts where the card's words start. */
.pf-card > .pf-hide { padding-inline: 0; }

/* ---- Edit my page: the form, and the preview beside it on a wide screen (under it on a narrow one) */
.pf-edit { display: grid; gap: 20px; align-items: start; }
.pf-editor { min-width: 0; }
.pf-editor h2 { margin: 0; font-size: 1.4rem; }
.pf-editor label { display: grid; gap: 6px; }
.pf-editor label.cm-check { display: flex; }
.pf-picture-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.pf-picture-row .cm-label { min-width: 140px; }
.pf-swatches { grid-template-columns: repeat(auto-fill, minmax(min(100%, 130px), 1fr)); }
.pf-order { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pf-order li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 6px 12px; border: 1px solid var(--cm-line); border-radius: 12px; background: var(--cm-card); }
.pf-order li.pf-off { background: var(--cm-paper); }
.pf-order-moves { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.pf-order-moves .cm-button { min-height: 44px; padding-inline: 12px; font-size: .94rem; }
.pf-order-moves .cm-button:disabled { opacity: .45; cursor: default; }
.pf-preview { display: grid; gap: 8px; min-width: 0; }
.pf-preview-page { pointer-events: none; }
.pf-preview .pf-head { margin-top: -40px; }
.pf-preview .pf-photo { width: 88px; height: 88px; font-size: 2rem; }
.pf-preview .pf-parts { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) {
  .pf-edit { grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr); }
  .pf-preview { position: sticky; top: 24px; }
}
@media (max-width: 520px) {
  .pf-head { grid-template-columns: minmax(0, 1fr); margin-top: -40px; }
  .pf-head > .pf-actions { grid-column: 1; }
  .pf-photo { width: 92px; height: 92px; font-size: 2.1rem; }
}
/* A very wide screen: the page keeps a reading width, as Home does. */
@media (min-width: 1260px) {
  .cm-app .cm-main > #view-members { max-width: 1180px; }
}

/* ==== Second pass on a member's page (owner, 2026-11-29: "you can't position your picture"; "the background doesn't
   cover the whole width ... tons of templates ... live wallpaper options ... cool cursors ... stats ... badge";
   company/workflow/tasks/owner-marks-1129b/plan.md). Everything below reads the look's own --pf-* colours. A moving
   background and a pointer are KEYS (community-profile-looks.js); nothing a member typed is ever a style. */

/* ---- the open page fills the main column from edge to edge: its colour, pattern and cover run the whole width, and
   its words stay in a centred column. The parts of People above it keep their own side room. */
/* Only the sides and the foot give up their room: the top keeps the main column's own, so the search box and anything
   else above the page are not pressed against the top of the window (live check, 2026-11-30). */
.cm-app .cm-main:has(> #view-members > #people-person.pf-page:not([hidden])) { padding-inline: 0; padding-bottom: 0; max-width: none; }
.cm-app .cm-main:has(> #view-members > #people-person.pf-page:not([hidden])) > :not(#view-members) { max-width: min(760px, calc(100% - 32px)); }
.cm-app .cm-main > #view-members:has(> #people-person.pf-page:not([hidden])) { max-width: none; gap: 0; }
#view-members:has(> #people-person.pf-page:not([hidden])) > .cm-directory { width: 100%; max-width: 1180px; justify-self: center; box-sizing: border-box; padding: 20px clamp(14px, 3vw, 28px) 14px; }
#people-person.pf-page { border-radius: 0; border-width: 1px 0 0; min-height: calc(100vh / var(--cm-zoom, 1) - 130px); min-height: calc(100dvh / var(--cm-zoom, 1) - 130px); align-content: start; }
#people-person.pf-page > .pf-body { width: 100%; max-width: 1180px; justify-self: center; box-sizing: border-box; padding-bottom: 48px; }
/* The cover keeps close to its own shape as the page widens, so a picture is not cut to a thin band on a big screen. */
#people-person.pf-page > .pf-cover { height: clamp(120px, 12vw, 220px); }
#people-person.pf-page[data-cover="tall"] > .pf-cover { height: clamp(170px, 17vw, 320px); }

/* ---- a picture where its member placed it: zoomed inside its frame, never over it */
.pf-cover { overflow: hidden; }
.pf-page { position: relative; isolation: isolate; }
.pf-mod-row { justify-self: start; padding: 4px 12px; border-radius: 10px; background: var(--pf-card); border: 1px solid var(--pf-line); }

/* ---- Edit my page: "Move your photo" */
.pf-pos { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding: 14px; border: 1px solid var(--cm-line); border-radius: 14px; background: var(--cm-paper); }
.pf-pos-frame { position: relative; flex: none; overflow: hidden; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; background: var(--cm-card);
  border: 3px solid var(--cm-accent); box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }
.pf-pos-frame.pf-pos-moving { cursor: grabbing; }
.pf-pos-frame:focus-visible { outline: 3px solid var(--cm-focus); outline-offset: 3px; }
.pf-pos-photo { width: 176px; height: 176px; border-radius: 50%; }
.pf-pos-photo.pf-pos-square { border-radius: 22px; }
.pf-pos-cover { width: min(100%, 440px); aspect-ratio: 4 / 1; border-radius: 12px; }
.pf-pos-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.pf-pos-tools { display: grid; gap: 8px; flex: 1 1 250px; min-width: 0; justify-items: start; }
.pf-pos-tools p { margin: 0; }
.pf-editor label.pf-zoom { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 380px; font-weight: 650; }
.pf-zoom input { flex: 1; min-width: 0; min-height: 44px; padding: 0; accent-color: var(--cm-accent); }

/* ---- Edit my page: "Your own color", a slider through every colour */
.pf-editor label.pf-hue-row { display: grid; gap: 4px; max-width: 520px; font-weight: 650; }
/* The slider is 44 px tall to press; its colours are a 20 px band through its middle. */
.cm-app .pf-hue { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; min-height: 44px; margin: 0; padding: 0; border: 0; border-radius: 10px; cursor: pointer;
  background: center / 100% 20px no-repeat linear-gradient(90deg, hsl(0 70% 50%), hsl(30 80% 50%), hsl(60 75% 45%), hsl(120 55% 42%), hsl(180 65% 40%), hsl(210 70% 50%), hsl(240 65% 58%), hsl(280 60% 55%), hsl(320 65% 52%), hsl(359 70% 50%)); }
.pf-hue::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 4px solid #1c2b3a; box-shadow: 0 1px 4px rgba(0, 0, 0, .35); }
.pf-hue::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid #1c2b3a; box-shadow: 0 1px 4px rgba(0, 0, 0, .35); }
.pf-hue::-moz-range-track { background: transparent; }
.pf-hue::-webkit-slider-runnable-track { background: transparent; }

/* ---- more still patterns */
.pf-page[data-pattern="zigzag"] { background-image: linear-gradient(135deg, var(--pf-line) 25%, transparent 25%), linear-gradient(225deg, var(--pf-line) 25%, transparent 25%),
  linear-gradient(45deg, var(--pf-line) 25%, transparent 25%), linear-gradient(315deg, var(--pf-line) 25%, transparent 25%); background-position: 14px 0, 14px 0, 0 0, 0 0; background-size: 28px 28px; }
.pf-page[data-pattern="diamonds"] { background-image: linear-gradient(45deg, var(--pf-line) 25%, transparent 25%, transparent 75%, var(--pf-line) 75%),
  linear-gradient(45deg, var(--pf-line) 25%, transparent 25%, transparent 75%, var(--pf-line) 75%); background-position: 0 0, 16px 16px; background-size: 32px 32px; }
.pf-page[data-pattern="plaid"] { background-image: repeating-linear-gradient(0deg, color-mix(in srgb, var(--pf-line) 70%, transparent) 0 6px, transparent 6px 34px),
  repeating-linear-gradient(90deg, color-mix(in srgb, var(--pf-line) 70%, transparent) 0 6px, transparent 6px 34px); }

/* ---- moving backgrounds. One element behind the page's words (.pf-wall, drawn by community-profile.js) with two
   layers. Only transform and opacity move, so the page's words are never redrawn. Colours come from the look. */
.pf-page { --pf-wall-1: color-mix(in srgb, var(--pf-accent) 30%, transparent); --pf-wall-2: color-mix(in srgb, var(--pf-cover-to) 24%, transparent);
  --pf-wall-dot: color-mix(in srgb, var(--pf-accent) 50%, var(--pf-page)); --pf-wall-soft: color-mix(in srgb, var(--pf-card) 85%, transparent); }
.pf-page.pf-dark { --pf-wall-1: color-mix(in srgb, var(--pf-accent) 24%, transparent); --pf-wall-2: color-mix(in srgb, var(--pf-cover-to) 55%, transparent);
  --pf-wall-dot: color-mix(in srgb, var(--pf-ink) 62%, var(--pf-page)); --pf-wall-soft: color-mix(in srgb, var(--pf-ink) 9%, transparent); }
.pf-wall { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.pf-wall::before, .pf-wall::after { content: ""; position: absolute; inset: 0; will-change: transform; }

@keyframes pf-sway { from { transform: translate3d(-7%, -4%, 0) rotate(-5deg) scale(1); } to { transform: translate3d(7%, 5%, 0) rotate(7deg) scale(1.14); } }
@keyframes pf-slide-left { to { transform: translate3d(-50%, 0, 0); } }
@keyframes pf-fall { to { transform: translate3d(0, 600px, 0); } }
@keyframes pf-rise { to { transform: translate3d(0, -600px, 0); } }
@keyframes pf-slant { to { transform: translate3d(-300px, 600px, 0); } }
@keyframes pf-twinkle { from { opacity: .2; } to { opacity: 1; } }
@keyframes pf-turn { to { transform: rotate(360deg); } }
@keyframes pf-drift-x { to { transform: translate3d(-900px, 0, 0); } }
@keyframes pf-roll { to { transform: translate3d(-120px, 0, 0); } }

[data-wall="aurora"] > .pf-wall::before { inset: -30%; background: radial-gradient(40% 34% at 30% 30%, var(--pf-wall-1), transparent 70%), radial-gradient(34% 40% at 72% 62%, var(--pf-wall-2), transparent 70%);
  animation: pf-sway 22s ease-in-out infinite alternate; }
[data-wall="aurora"] > .pf-wall::after { inset: -30%; background: radial-gradient(30% 30% at 62% 24%, var(--pf-wall-2), transparent 70%), radial-gradient(36% 30% at 24% 76%, var(--pf-wall-1), transparent 70%);
  animation: pf-sway 31s ease-in-out infinite alternate-reverse; }

[data-wall="drift"] > .pf-wall::before { inset: 0 -100% 0 0; animation: pf-slide-left 40s linear infinite;
  background: linear-gradient(90deg, transparent 0, var(--pf-wall-1) 16.6%, var(--pf-wall-2) 33.3%, transparent 50%, var(--pf-wall-1) 66.6%, var(--pf-wall-2) 83.3%, transparent 100%); }

[data-wall="stars"] > .pf-wall::before, [data-wall="stars"] > .pf-wall::after, [data-wall="fireflies"] > .pf-wall::before, [data-wall="fireflies"] > .pf-wall::after {
  background-image: radial-gradient(circle at 24px 36px, var(--pf-wall-dot) 1.6px, transparent 2.4px), radial-gradient(circle at 150px 96px, var(--pf-wall-dot) 2.4px, transparent 3.2px),
    radial-gradient(circle at 248px 204px, var(--pf-wall-dot) 1.6px, transparent 2.4px), radial-gradient(circle at 92px 250px, var(--pf-wall-dot) 2px, transparent 2.8px); background-size: 300px 300px; }
[data-wall="stars"] > .pf-wall::before { animation: pf-twinkle 2.6s ease-in-out infinite alternate; }
[data-wall="stars"] > .pf-wall::after { background-size: 220px 220px; background-position: 70px 110px; animation: pf-twinkle 3.9s ease-in-out infinite alternate-reverse; }
[data-wall="fireflies"] > .pf-wall::before, [data-wall="fireflies"] > .pf-wall::after { inset: -12%; filter: drop-shadow(0 0 5px var(--pf-wall-dot)); }
[data-wall="fireflies"] > .pf-wall::before { animation: pf-sway 17s ease-in-out infinite alternate, pf-twinkle 3.1s ease-in-out infinite alternate; }
[data-wall="fireflies"] > .pf-wall::after { background-size: 380px 380px; animation: pf-sway 23s ease-in-out infinite alternate-reverse, pf-twinkle 4.3s ease-in-out infinite alternate-reverse; }

[data-wall="snow"] > .pf-wall::before, [data-wall="snow"] > .pf-wall::after { inset: -600px 0 0 0;
  background-image: radial-gradient(circle at 30px 40px, var(--pf-wall-dot) 3px, transparent 4px), radial-gradient(circle at 170px 120px, var(--pf-wall-dot) 2px, transparent 3px),
    radial-gradient(circle at 250px 230px, var(--pf-wall-dot) 4px, transparent 5px), radial-gradient(circle at 96px 270px, var(--pf-wall-dot) 2.5px, transparent 3.5px); background-size: 300px 300px; }
[data-wall="snow"] > .pf-wall::before { animation: pf-fall 19s linear infinite; }
[data-wall="snow"] > .pf-wall::after { background-size: 200px 200px; opacity: .6; animation: pf-fall 12s linear infinite; }

[data-wall="bubbles"] > .pf-wall::before, [data-wall="bubbles"] > .pf-wall::after { inset: 0 0 -600px 0;
  background-image: radial-gradient(circle at 60px 70px, transparent 12px, var(--pf-wall-dot) 13px, var(--pf-wall-dot) 14.5px, transparent 15.5px),
    radial-gradient(circle at 210px 180px, transparent 7px, var(--pf-wall-dot) 8px, var(--pf-wall-dot) 9.5px, transparent 10.5px),
    radial-gradient(circle at 120px 250px, transparent 18px, var(--pf-wall-dot) 19px, var(--pf-wall-dot) 20.5px, transparent 21.5px); background-size: 300px 300px; }
[data-wall="bubbles"] > .pf-wall::before { animation: pf-rise 24s linear infinite; }
[data-wall="bubbles"] > .pf-wall::after { background-size: 200px 200px; opacity: .55; animation: pf-rise 15s linear infinite; }

/* Shapes cut from the look's own colour (a mask), so hearts and leaves match the page. */
[data-wall="hearts"] > .pf-wall::before, [data-wall="hearts"] > .pf-wall::after, [data-wall="leaves"] > .pf-wall::before, [data-wall="leaves"] > .pf-wall::after,
[data-wall="rain"] > .pf-wall::before, [data-wall="rain"] > .pf-wall::after { background: var(--pf-wall-dot); -webkit-mask-size: 300px 300px; mask-size: 300px 300px; -webkit-mask-repeat: repeat; mask-repeat: repeat; }
[data-wall="hearts"] > .pf-wall::before, [data-wall="hearts"] > .pf-wall::after { inset: 0 0 -600px 0;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cg id='a'%3E%3Cpath transform='translate(30 36) scale(1.3)' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3Cpath transform='translate(196 96) scale(.8)' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3Cpath transform='translate(104 190) scale(1.05)' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3Cpath transform='translate(244 232) scale(1.5)' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cg id='a'%3E%3Cpath transform='translate(30 36) scale(1.3)' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3Cpath transform='translate(196 96) scale(.8)' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3Cpath transform='translate(104 190) scale(1.05)' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3Cpath transform='translate(244 232) scale(1.5)' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/g%3E%3C/svg%3E"); }
[data-wall="hearts"] > .pf-wall::before { opacity: .55; animation: pf-rise 26s linear infinite; }
[data-wall="hearts"] > .pf-wall::after { -webkit-mask-size: 200px 200px; mask-size: 200px 200px; opacity: .3; animation: pf-rise 17s linear infinite; }
[data-wall="leaves"] > .pf-wall::before, [data-wall="leaves"] > .pf-wall::after { inset: -600px 0 0 0;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cpath transform='translate(34 30) rotate(18) scale(1.2)' d='M17 8C8 10 5.9 16.17 3.82 21.34l1.89.66.95-2.3c.48.17.98.3 1.34.3C19 20 22 3 22 3c-1 2-8 2.25-13 3.25S2 11.5 2 13.5s1.75 3.75 1.75 3.75C7 8 17 8 17 8z'/%3E%3Cpath transform='translate(200 84) rotate(-30) scale(.9)' d='M17 8C8 10 5.9 16.17 3.82 21.34l1.89.66.95-2.3c.48.17.98.3 1.34.3C19 20 22 3 22 3c-1 2-8 2.25-13 3.25S2 11.5 2 13.5s1.75 3.75 1.75 3.75C7 8 17 8 17 8z'/%3E%3Cpath transform='translate(110 196) rotate(60) scale(1.1)' d='M17 8C8 10 5.9 16.17 3.82 21.34l1.89.66.95-2.3c.48.17.98.3 1.34.3C19 20 22 3 22 3c-1 2-8 2.25-13 3.25S2 11.5 2 13.5s1.75 3.75 1.75 3.75C7 8 17 8 17 8z'/%3E%3Cpath transform='translate(236 226) rotate(-8) scale(1.4)' d='M17 8C8 10 5.9 16.17 3.82 21.34l1.89.66.95-2.3c.48.17.98.3 1.34.3C19 20 22 3 22 3c-1 2-8 2.25-13 3.25S2 11.5 2 13.5s1.75 3.75 1.75 3.75C7 8 17 8 17 8z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cpath transform='translate(34 30) rotate(18) scale(1.2)' d='M17 8C8 10 5.9 16.17 3.82 21.34l1.89.66.95-2.3c.48.17.98.3 1.34.3C19 20 22 3 22 3c-1 2-8 2.25-13 3.25S2 11.5 2 13.5s1.75 3.75 1.75 3.75C7 8 17 8 17 8z'/%3E%3Cpath transform='translate(200 84) rotate(-30) scale(.9)' d='M17 8C8 10 5.9 16.17 3.82 21.34l1.89.66.95-2.3c.48.17.98.3 1.34.3C19 20 22 3 22 3c-1 2-8 2.25-13 3.25S2 11.5 2 13.5s1.75 3.75 1.75 3.75C7 8 17 8 17 8z'/%3E%3Cpath transform='translate(110 196) rotate(60) scale(1.1)' d='M17 8C8 10 5.9 16.17 3.82 21.34l1.89.66.95-2.3c.48.17.98.3 1.34.3C19 20 22 3 22 3c-1 2-8 2.25-13 3.25S2 11.5 2 13.5s1.75 3.75 1.75 3.75C7 8 17 8 17 8z'/%3E%3Cpath transform='translate(236 226) rotate(-8) scale(1.4)' d='M17 8C8 10 5.9 16.17 3.82 21.34l1.89.66.95-2.3c.48.17.98.3 1.34.3C19 20 22 3 22 3c-1 2-8 2.25-13 3.25S2 11.5 2 13.5s1.75 3.75 1.75 3.75C7 8 17 8 17 8z'/%3E%3C/svg%3E"); }
[data-wall="leaves"] > .pf-wall::before { opacity: .6; animation: pf-fall 22s linear infinite; }
[data-wall="leaves"] > .pf-wall::after { -webkit-mask-size: 200px 200px; mask-size: 200px 200px; opacity: .32; animation: pf-fall 14s linear infinite; }
[data-wall="rain"] > .pf-wall::before, [data-wall="rain"] > .pf-wall::after { inset: -600px -300px 0 0;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' d='M40 20l-9 18M150 60l-9 18M262 12l-9 18M92 150l-9 18M212 182l-9 18M22 250l-9 18M282 262l-9 18M132 242l-9 18'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' d='M40 20l-9 18M150 60l-9 18M262 12l-9 18M92 150l-9 18M212 182l-9 18M22 250l-9 18M282 262l-9 18M132 242l-9 18'/%3E%3C/svg%3E"); }
[data-wall="rain"] > .pf-wall::before { opacity: .7; animation: pf-slant 2.8s linear infinite; }
[data-wall="rain"] > .pf-wall::after { -webkit-mask-position: 150px 90px; mask-position: 150px 90px; opacity: .4; animation: pf-slant 4.2s linear infinite; }

/* Confetti keeps its own party colours on every look. */
[data-wall="confetti"] > .pf-wall::before, [data-wall="confetti"] > .pf-wall::after { inset: -600px 0 0 0; background-size: 300px 300px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Crect x='30' y='24' width='12' height='6' rx='1' fill='%23e4572e' transform='rotate(24 36 27)'/%3E%3Crect x='150' y='70' width='10' height='5' rx='1' fill='%23f0a202' transform='rotate(-32 155 72)'/%3E%3Crect x='250' y='30' width='12' height='6' rx='1' fill='%2317bebb' transform='rotate(60 256 33)'/%3E%3Crect x='90' y='150' width='12' height='6' rx='1' fill='%2376b041' transform='rotate(-12 96 153)'/%3E%3Crect x='210' y='170' width='10' height='5' rx='1' fill='%239b5de5' transform='rotate(40 215 172)'/%3E%3Crect x='24' y='236' width='12' height='6' rx='1' fill='%23f15bb5' transform='rotate(-48 30 239)'/%3E%3Crect x='140' y='250' width='10' height='5' rx='1' fill='%23e4572e' transform='rotate(12 145 252)'/%3E%3Crect x='268' y='256' width='12' height='6' rx='1' fill='%23f0a202' transform='rotate(-70 274 259)'/%3E%3Ccircle cx='190' cy='120' r='3' fill='%2317bebb'/%3E%3Ccircle cx='60' cy='96' r='3' fill='%239b5de5'/%3E%3C/svg%3E"); }
[data-wall="confetti"] > .pf-wall::before { opacity: .8; animation: pf-fall 13s linear infinite; }
[data-wall="confetti"] > .pf-wall::after { background-size: 200px 200px; opacity: .45; animation: pf-fall 8.5s linear infinite; }

[data-wall="clouds"] > .pf-wall::before, [data-wall="clouds"] > .pf-wall::after { inset: 0 -900px 0 0; background-size: 900px 420px;
  background-image: radial-gradient(ellipse 130px 42px at 160px 90px, var(--pf-wall-soft) 60%, transparent 100%), radial-gradient(ellipse 80px 34px at 230px 66px, var(--pf-wall-soft) 60%, transparent 100%),
    radial-gradient(ellipse 150px 46px at 620px 250px, var(--pf-wall-soft) 60%, transparent 100%), radial-gradient(ellipse 90px 36px at 540px 226px, var(--pf-wall-soft) 60%, transparent 100%); }
[data-wall="clouds"] > .pf-wall::before { animation: pf-drift-x 90s linear infinite; }
[data-wall="clouds"] > .pf-wall::after { background-position: 380px 160px; opacity: .6; animation: pf-drift-x 140s linear infinite; }

[data-wall="sunrays"] > .pf-wall::before { inset: auto; left: 50%; top: 0; width: 300vmax; height: 300vmax; margin: -150vmax 0 0 -150vmax;
  background: repeating-conic-gradient(from 0deg, var(--pf-wall-1) 0 7deg, transparent 7deg 22deg); opacity: .5; animation: pf-turn 160s linear infinite; }

[data-wall="waves"] > .pf-wall::before, [data-wall="waves"] > .pf-wall::after { inset: 0 -120px 0 0; background-size: 120px 60px;
  background-image: radial-gradient(circle at 50% 100%, transparent 40px, var(--pf-wall-dot) 41px, var(--pf-wall-dot) 43px, transparent 44px); opacity: .45; }
[data-wall="waves"] > .pf-wall::before { animation: pf-roll 7s linear infinite; }
[data-wall="waves"] > .pf-wall::after { background-position: 60px 30px; opacity: .25; animation: pf-roll 11s linear infinite reverse; }

/* Anyone whose device asks for less motion gets the same picture, standing still. */
@media (prefers-reduced-motion: reduce) {
  .pf-wall::before, .pf-wall::after { animation: none !important; }
}

/* ---- activity and badges (community-badges.js) */
.pf-activity { gap: 14px; }
.pf-stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(46%, 142px), 1fr)); }
.pf-stats li { display: grid; justify-items: center; gap: 2px; padding: 12px 8px; border-radius: 12px; text-align: center; border: 1px solid var(--pf-line);
  background: color-mix(in srgb, var(--pf-accent) 8%, var(--pf-card)); color: var(--pf-ink); }
.pf-stat-mark { font-size: 1.3rem; line-height: 1; }
.pf-stats b { font-size: 1.7rem; font-weight: 750; line-height: 1.1; }
.pf-stat-label { font-size: .9rem; font-weight: 650; }
.pf-badges { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.pf-badge { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px; border: 1.5px solid var(--pf-line);
  background: var(--pf-card); color: var(--pf-ink); }
.pf-badge-2 { border-color: var(--pf-soft); }
.pf-badge-3 { border-color: var(--pf-accent); box-shadow: inset 0 0 0 1.5px var(--pf-accent); }
.pf-badge-mark { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; font-size: 1.4rem; line-height: 1;
  background: color-mix(in srgb, var(--pf-accent) 14%, var(--pf-card)); border: 1px solid var(--pf-line); }
.pf-badge-words, .pf-next-words { display: grid; gap: 2px; min-width: 0; }
.pf-badge-words b, .pf-next-words b { font-weight: 750; color: var(--pf-ink); overflow-wrap: anywhere; }
.pf-badge-words span, .pf-next-words > span:not(.pf-bar) { color: var(--pf-soft); font-size: .92rem; }
.pf-badge-level { color: var(--pf-accent); font-size: 1rem; letter-spacing: 1px; white-space: nowrap; }
.pf-next { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--pf-line); }
.pf-next-title { margin: 0; font-size: 1rem; font-weight: 750; color: var(--pf-ink); }
.pf-next ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.pf-next li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; }
.pf-bar { display: block; height: 8px; margin-top: 3px; border-radius: 4px; overflow: hidden; background: var(--pf-line); }
.pf-bar > span { display: block; height: 100%; border-radius: 4px; background: var(--pf-accent); }

/* ---- a recent post's own photos and video on the page */
.pf-post-media { display: grid; gap: 8px; max-width: 460px; margin: 4px 0; }
.pf-post-media .cm-photo { border-radius: 10px; }

/* ==== Owner, 2026-11-30: "The Scaling really needs to be fixed on this" (a member's page on a 2731 px screen: a 1180 px
   column of 16 px type, and holes beside a tall card), and three marks
   (company/workflow/tasks/owner-marks-1130/plan.md). */

/* The parts flow as columns: a short card sits under a short card, and a tall one leaves no hole beside it. */
#people-person.pf-page .pf-parts { display: block; columns: 3 330px; column-gap: 14px; }
#people-person.pf-page .pf-parts > * { break-inside: avoid; margin: 0 0 14px; width: 100%; box-sizing: border-box; }
/* A big screen: the whole app grows with it (community-app.css --cm-zoom), and the open page's column is wider. */
#people-person.pf-page > .pf-body, #view-members:has(> #people-person.pf-page:not([hidden])) > .cm-directory { max-width: 1320px; }
/* The tiles of the activity strip share its whole row. */
#people-person.pf-page .pf-stats { grid-template-columns: repeat(auto-fit, minmax(min(46%, 142px), 1fr)); }
#people-person.pf-page .pf-badges { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }

/* Save stays in reach the whole way down Edit my page. */
.pf-save-row { position: sticky; bottom: 0; z-index: 3; margin: 0 -4px; padding: 12px 4px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--cm-paper, #fff); border-top: 1px solid var(--cm-line); }

/* A moving background takes the place of the pattern: the two are never drawn together (the pattern's lines hid it). */
.pf-page[data-wall]:not([data-wall="none"]):not([data-wall=""]) { background-image: none; }

/* ==== The owner's marks of 2026-11-30, part B (company/workflow/tasks/owner-marks-1130/plan-b.md): contacts shown
   one person at a time, a member's own background picture, personal circles. */

/* ---- a member's own background picture (.pf-backdrop, community-profile.js), under a veil of the page's own colour
   worked out for each look (community-profile-looks.js backdropVeil). Its address and numbers are set by
   applyBackdrop: our own blob: address and computed numbers only. */
.pf-backdrop { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background-image: var(--pf-backdrop); background-size: var(--pf-backdrop-size, cover); background-position: center top; background-repeat: repeat; }
.pf-page[data-backdrop="cover"] > .pf-backdrop { background-repeat: no-repeat; background-position: center; }
.pf-page[data-backdrop-still="true"] > .pf-backdrop { background-attachment: fixed; }
.pf-backdrop::after { content: ""; position: absolute; inset: 0; background: var(--pf-page); opacity: var(--pf-veil, .7); }
/* It takes the place of a pattern and of a moving background: neither is drawn with it. */
.pf-page[data-backdrop] { background-image: none; }
.pf-page[data-backdrop] > .pf-wall { display: none; }
/* No words sit on the picture: the buttons under the name get a card of their own. */
/* No words sit straight on a picture, pattern or moving background: each thing under the name is a button with its own
   face, and a quiet link ("Report this page") gets a quiet pill of the card's colour (live check, 2026-11-30: the
   whole row in one white box looked stuck on). */
.pf-page .pf-actions .cm-link { padding: 8px 14px; border-radius: 999px; background: var(--pf-card); border: 1px solid var(--pf-line); }
/* Edit my page: the background picture's choices. */
.pf-backdrop-tools { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--cm-line); border-radius: 14px; background: var(--cm-paper); }
.pf-backdrop-tools p { margin: 0; }

/* ---- How to reach me on someone else's page: "Show phone number", one person at a time */
.pf-reach .pf-reach-show { min-height: 44px; }
.pf-reach-note { flex-basis: 100%; margin: 0; color: var(--pf-soft); }
.pf-reach-why { margin: 0; font-size: .92rem; }

/* ---- circles on a member's page: each shown circle's name, small pictures and names */
.pf-circles { display: grid; gap: 14px; }
.pf-circle { display: grid; gap: 6px; }
.pf-circle + .pf-circle { padding-top: 12px; border-top: 1px solid var(--pf-line); }
.pf-circle-name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font-size: 1rem; font-weight: 750; color: var(--pf-ink); }
.pf-circle-people { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.pf-circle-people li { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 0; }
.pf-circle-people .pf-avatar { width: 34px; height: 34px; font-size: .95rem; }
.pf-page .pf-circle-people .pf-avatar { background: color-mix(in srgb, var(--pf-accent) 14%, var(--pf-card)); color: var(--pf-accent); }
.pf-circle .cm-link { justify-self: start; }

/* ---- People, My circles (community-circles.js) and, for moderators, who looked up many people's details */
.pf-mc { display: grid; gap: 16px; }
.pf-mc-starters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pf-mc-own { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.pf-mc-own label { display: grid; gap: 6px; flex: 1 1 220px; min-width: 0; }
.pf-mc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pf-mc-circle { display: grid; gap: 10px; }
.pf-mc-circle h3 { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.pf-mc-people { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.pf-mc-people li { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.pf-mc-people .pf-avatar { width: 34px; height: 34px; font-size: .95rem; }
.pf-mc .cm-member-controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pf-lookups { border-color: var(--cm-accent-line-strong); }
.pf-lookups ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }

/* ---- Edit my page: "How your page looks" in parts that open and close, each saying what is chosen */
.pf-fold { border: 1px solid var(--cm-line); border-radius: 14px; background: var(--cm-card); }
.pf-fold + .pf-fold { margin-top: 10px; }
.pf-fold > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; min-height: 52px; padding: 8px 44px 8px 16px; position: relative; cursor: pointer; list-style: none; border-radius: 14px; }
.pf-fold > summary::-webkit-details-marker { display: none; }
.pf-fold > summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border: solid var(--cm-ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); transition: transform .15s; }
.pf-fold[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
.pf-fold > summary:hover { background: var(--cm-paper); }
.pf-fold > summary:focus-visible { outline: 3px solid var(--cm-focus); outline-offset: 2px; }
.pf-fold-title { font-weight: 750; color: var(--cm-ink); }
.pf-fold-now { color: var(--cm-soft); font-weight: 600; overflow-wrap: anywhere; }
.pf-fold-now::before { content: "· "; }
.pf-fold-body { display: grid; gap: 10px; padding: 4px 16px 16px; min-width: 0; }
.pf-fold-body > p { margin: 0; }
@media (prefers-reduced-motion: reduce) { .pf-fold > summary::after { transition: none; } }
.pf-mc-make { display: grid; gap: 8px; }
.pf-mc-make > p { margin: 0; }

/* A long "Recent posts" may run on into the next column, post by post, so the columns come out even instead of one
   tall card leaving a whole column empty beside it (walk at 2731, 2026-11-30). Each post stays whole. */
#people-person.pf-page .pf-parts > section[aria-label="Recent posts"] { break-inside: auto; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
#people-person.pf-page .pf-posts > li { break-inside: avoid; }

/* While Edit my page is open, a message ("Saved.", "Your photo is on your page.") shows above the Save row that stays at
   the foot of the window, never on top of it (live check, 2026-11-30). */
.cm-app:has(#profile-form) .cm-toast { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 849px) {
  .cm-app:has(#profile-form) .cm-toast { bottom: calc(160px + env(safe-area-inset-bottom, 0px)); }
}
/* "See it as other members do" on a member's own page. */
.pf-actions .pf-view-as[aria-pressed="true"] { border-color: var(--pf-accent); box-shadow: inset 0 0 0 1.5px var(--pf-accent); }
.pf-view-note { margin: 0; padding: 8px 12px; border-radius: 10px; background: var(--pf-card); border: 1px solid var(--pf-line); color: var(--pf-ink); font-weight: 600; justify-self: start; }
/* On a phone the menu bar sits fixed at the foot of the window: the Save row stays in reach just above it, not under it. */
@media (max-width: 849px) {
  .cm-app .pf-save-row { bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
}
