/* people.css — page styles for /network (Referrals & companies) and /mentoring, and the insight
 * bands (app/insight.js) those pages share with /applications, Home's first-time state and
 * /onboarding.
 *
 * Linked from those shells after whizply.css. Everything here composes the design system's
 * tokens — no colour, radius or shadow is introduced — and every class is prefixed `pp-` so
 * nothing collides with a `wz-` component. Sections:
 *   0 page type   1 insight bands   2 shared   3 network   4 mentoring   5 the mentor application
 *   6 the admin review (/admin/mentors)
 */

/* ── 0 page type ───────────────────────────────────────────────────────────── */
/* On the pages that opt in (`.pp-page` on <main>): H1 and H2 take the heading tone — the deep
   heading ink (`--ink-heading`, which every band remaps to its own: white on navy), else the
   accent's ink — never the body's near-black. Paragraphs and help text are the subtext tone, a
   clear step smaller than the heading above them. A custom property is resolved where it is
   declared, so every band declares `--pp-head` again, to get the band's own heading ink. */
.pp-page { --pp-head: var(--ink-heading, var(--accent-ink)); }
.pp-page :is(.wz-page-head--band, .wz-card--tint, .wz-card--mint, .wz-card--navy, .wz-prompt--accent,
  .wz-prompt--violet, .wz-prompt--mint, .wz-prompt--navy, .pp-ins) { --pp-head: var(--ink-heading, var(--accent-ink)); }
.pp-page .wz-page-head .wz-title,
.pp-page :is(.wz-h2, .wz-shelf__title, .pp-intro__title),
.pp-page h2.wz-card__title { color: var(--pp-head); }
/* A card whose title is the panel's H2 ("People at Stripe", "Your mentor profile") is set as an
   H2, not as a card's H3, so it stands clear of the lines under it. */
.pp-page .pp-panel h2.wz-card__title {
  font-size: var(--fs-h2); font-weight: var(--fw-h2); line-height: var(--lh-h2); letter-spacing: var(--ls-h2);
}
/* Help text under a title: small, at the body weight, in ink. */
.pp-page :is(.wz-card__sub, .wz-prompt__body, .wz-section__head p, .wz-shelf__sub) {
  font-size: var(--fs-sm); font-weight: var(--fw-body); color: var(--ink);
}

/* ── 1 insight bands ───────────────────────────────────────────────────────── */
/* The job drawer's "How you fit", page-wide (app/insight.js): a soft band (its tokens remap
   ink, subtext, accent, surfaces and chips), its icon in a white circle beside an H2, the
   headline figure and its bar on a white card, counts as white tiles, tinted chip rows, then
   a note and the actions. */
.pp-ins {
  display: grid; gap: var(--space-4); min-width: 0;
  padding: var(--space-5) var(--space-6); border-radius: var(--r-lg);
}
.pp-ins > * { min-width: 0; }
.pp-ins__head { display: flex; align-items: flex-start; gap: var(--space-3); min-width: 0; }
.pp-ins__icon {
  display: inline-grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%;
  background: var(--surface); color: var(--accent-deep); box-shadow: var(--shadow-sm);
}
.pp-ins__titles { display: grid; gap: 2px; min-width: 0; padding-top: 2px; }
.pp-ins__title {
  margin: 0; font-size: var(--fs-h2); font-weight: var(--fw-h2); line-height: var(--lh-h2); letter-spacing: var(--ls-h2);
  color: var(--pp-head, var(--ink-heading, var(--accent-ink)));
}
.pp-ins__sub { margin: 0; max-width: 68ch; font-size: var(--fs-sm); font-weight: var(--fw-body); line-height: 1.5; color: var(--ink); }
.pp-ins__hint { margin: 0; font-size: var(--fs-xs); font-weight: var(--fw-body); line-height: 1.45; color: var(--ink); }

/* ONE card grid per band (insightBand's `.pp-ins__body`; the owner, 13 Nov: "why is the card width so
   uneven?"). As many equal columns as fit (200px or more; 140px on a phone), filled from the left and
   never stretched (auto-fill), so a lone card is card-sized, not a banner. Every card is one column: a
   count tile (statTiles: its list steps aside with `display: contents` and keeps its list role) and a
   stage tile on /applications. The headline card (metric) takes two columns from three columns up (and
   two rows when three tiles or more follow it); on fewer it takes the row. A chip row puts its label over
   its chips, both on the cards' left edge. Anything else spans the row. */
.pp-ins__body {
  --ins-col: 200px;
  container: pp-ins-body / inline-size;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--ins-col)), 1fr));
  gap: var(--space-3); min-width: 0;
}
.pp-ins__body > * { grid-column: 1 / -1; min-width: 0; }
.pp-ins__body > :is(.pp-ins__stats, .wz-pipeline) { display: contents; }
.pp-ins__body > .pp-ins__stats > li, .pp-ins__body > .wz-pipeline > .wz-pipeline__stage { grid-column: auto; min-width: 0; max-width: none; }
/* Every card in a row takes the row's height (beside a taller headline card), so a count tile's figure and
   words sit in its middle, still on its left edge, never at its top over empty space (the owner, 13 Nov). */
.pp-ins__body > .pp-ins__stats > li > .pp-ins__stat, .pp-ins__body > .wz-pipeline > .wz-pipeline__stage { align-content: center; }
/* A lone count tile on two columns (a phone) takes the row, so its words don't wrap down a half card. */
@container pp-ins-body (max-width: 623.98px) {
  .pp-ins__body > .pp-ins__stats > li:only-child { grid-column: 1 / -1; }
}
@container pp-ins-body (min-width: 624px) {
  /* The headline card, also when a page wraps it in a block of its own (a lock band's count, filled later). */
  .pp-ins__body > :is(.pp-ins__sum, :has(> .pp-ins__sum:only-child)) { grid-column: span 2; }
  /* Three tiles or more fill two rows beside it; one or two take its height (one row, equal heights). */
  .pp-ins__body > .pp-ins__sum:has(+ :is(.pp-ins__stats, .wz-pipeline) > :nth-child(3)) { grid-row: span 2; }
}
/* A chip row on a band: its label, then its chips, both from the cards' left edge. */
.pp-ins__body > .pp-ins__row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
.pp-ins__body > .pp-ins__row > .pp-ins__rowlabel { margin-top: 0; }

/* The headline: the figure large in the heading tone, the words around it in the subtext. */
.pp-ins__sum {
  display: grid; gap: 10px; padding: var(--space-4); border-radius: var(--r-md);
  background: var(--surface); box-shadow: var(--shadow-sm);
}
.pp-ins__count { margin: 0; font-size: var(--fs-md); line-height: 1.45; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; text-wrap: balance; }
.pp-ins__fig {
  font-size: var(--fs-figure); font-weight: 800; letter-spacing: var(--ls-num); color: var(--pp-head, var(--accent-ink));
  font-variant-numeric: lining-nums tabular-nums;
}
/* The bar: its parts in the accent, blue, amber or a quiet tone, on the accent's soft track. */
.pp-ins__bar { display: flex; gap: 2px; height: 10px; overflow: hidden; border-radius: var(--pill); background: var(--accent-soft); }
.pp-ins__seg {
  display: block; flex: 0 0 auto; width: var(--v, 0%); min-width: 4px; height: 100%; border-radius: var(--pill);
  background: var(--seg, var(--accent)); transition: width var(--dur-3) var(--ease-out);
}
.pp-ins__seg--info, .pp-ins__key--info { --seg: var(--info-ink); }
.pp-ins__seg--ok, .pp-ins__key--ok { --seg: var(--ok-ink); }
.pp-ins__seg--warn, .pp-ins__key--warn { --seg: var(--warn-ink); }
.pp-ins__seg--muted, .pp-ins__key--muted { --seg: color-mix(in srgb, var(--sub) 45%, transparent); }
.pp-ins__seg--soft, .pp-ins__key--soft { --seg: color-mix(in srgb, var(--accent) 40%, var(--accent-soft)); }
.pp-ins__legend { display: flex; flex-wrap: wrap; gap: 4px var(--space-4); margin: 0; padding: 0; list-style: none; font-size: var(--fs-sm); color: var(--ink); }
.pp-ins__legend li { display: inline-flex; align-items: center; gap: 6px; }
.pp-ins__legend strong { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.pp-ins__dot { width: 8px; height: 8px; flex-shrink: 0; border-radius: 50%; background: var(--seg, var(--dot, var(--accent))); }

/* Counts as white tiles: the figure, its label, a hint; a linked tile shows an arrow. */
.pp-ins__stats {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--ins-col, 200px)), 1fr)); gap: var(--space-3);
  margin: 0; padding: 0; list-style: none;
}
.pp-ins__stats > li { display: flex; min-width: 0; }
.pp-ins__stat {
  position: relative; display: grid; align-content: start; gap: 2px; width: 100%; min-width: 0;
  padding: var(--space-3) var(--space-4); border: 1px solid transparent; border-radius: var(--r-md);
  background: var(--surface); box-shadow: var(--shadow-sm); color: inherit; text-align: left; text-decoration: none;
}
.pp-ins__stat--go { padding-right: 36px; cursor: pointer; transition: border-color var(--dur-1) var(--ease-out); }
.pp-ins__stat--go:hover { border-color: var(--accent-ring); text-decoration: none; }
.pp-ins__stat--go:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pp-ins__go { position: absolute; top: 12px; right: 12px; color: var(--accent-deep); transition: transform var(--dur-2) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .pp-ins__stat--go:hover .pp-ins__go { transform: translateX(var(--nudge, 2px)); } }
.pp-ins__n {
  font-size: var(--fs-figure); font-weight: 800; line-height: 1.1; letter-spacing: var(--ls-num);
  color: var(--pp-head, var(--accent-ink)); font-variant-numeric: lining-nums tabular-nums;
}
.pp-ins__label { font-size: var(--fs-sm); font-weight: 600; line-height: 1.35; color: var(--ink); }

/* A labelled row of chips, as "How you fit" draws "You have" and "To build". */
.pp-ins__row { display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: var(--space-2) var(--space-3); align-items: start; }
.pp-ins__rowlabel {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 5px 0 0;
  font-size: var(--fs-sm); font-weight: 700; line-height: 1.4; color: var(--ink);
}
.pp-ins__row--info { --dot: var(--info-ink); }
.pp-ins__row--warn { --dot: var(--warn-ink); }
.pp-ins__rown {
  padding: 0 7px; border-radius: var(--pill); background: var(--surface);
  font-size: var(--fs-xs); font-weight: 700; line-height: 1.6; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line);
}
.pp-ins__rowbody { display: grid; gap: 6px; min-width: 0; }
.pp-ins__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; min-width: 0; }
.pp-ins__chips > li { display: flex; min-width: 0; max-width: 100%; }
.pp-ins__chip {
  display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-height: 32px; padding: 4px 12px;
  border: 0; border-radius: var(--pill); background: var(--chip-bg, var(--accent-soft)); color: var(--chip-ink, var(--accent-ink));
  font: inherit; font-size: var(--fs-sm); font-weight: 600; line-height: 1.3; text-align: left; text-decoration: none;
  overflow-wrap: anywhere;
}
/* Blue on white with a blue edge: the info tint alone is too close to a light band's ground. */
.pp-ins__chip--info { --chip-bg: var(--surface); --chip-ink: var(--info-ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--info-ink) 35%, transparent); }
.pp-ins__chip--warn { --chip-bg: var(--warn); --chip-ink: var(--warn-ink); }
.pp-ins__chip--plain { --chip-bg: var(--surface); --chip-ink: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
:is(a, button).pp-ins__chip { cursor: pointer; transition: box-shadow var(--dur-1) var(--ease-out), transform var(--dur-1) var(--ease-out); }
:is(a, button).pp-ins__chip:hover { box-shadow: inset 0 0 0 1.5px var(--chip-ink, var(--accent-ink)); text-decoration: none; }
:is(a, button).pp-ins__chip:active { transform: scale(var(--press, .98)); }
:is(a, button).pp-ins__chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pp-ins__chiptext { min-width: 0; }
.pp-ins__chipn {
  padding: 0 7px; border-radius: var(--pill); background: var(--surface); color: var(--chip-ink, var(--accent-ink));
  font-size: var(--fs-xs); font-weight: 700; line-height: 1.6; font-variant-numeric: tabular-nums;
}

/* What happens next: numbered white tiles. */
.pp-ins__steps {
  counter-reset: pp-step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
  margin: 0; padding: 0; list-style: none;
}
.pp-ins__step {
  counter-increment: pp-step; display: flex; align-items: flex-start; gap: 10px; min-width: 0;
  padding: 12px 14px; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm);
}
.pp-ins__stepn::before {
  content: counter(pp-step); display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-ink); font-size: var(--fs-sm); font-weight: 800;
}
.pp-ins__steptext { display: grid; gap: 2px; min-width: 0; font-size: var(--fs-sm); line-height: 1.45; color: var(--ink); }
.pp-ins__steptext strong { font-size: var(--fs-md); font-weight: 700; color: var(--ink); }

/* White tiles side by side: each side of a two-sided story, or each part of an overview. */
.pp-ins__tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: var(--space-3); }
.pp-ins__tile {
  display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; padding: var(--space-4);
  border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm);
}
.pp-ins__tilehead { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pp-ins__tileicon {
  display: inline-grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%;
  background: var(--tile-bg, var(--accent-soft)); color: var(--tile-ink, var(--accent-ink));
}
.pp-ins__tile--info { --tile-bg: var(--info); --tile-ink: var(--info-ink); }
.pp-ins__tile--warn { --tile-bg: var(--warn); --tile-ink: var(--warn-ink); }
.pp-ins__tiletitle {
  margin: 0; min-width: 0; font-size: var(--fs-lead); font-weight: var(--fw-h3); line-height: var(--lh-h3);
  letter-spacing: var(--ls-h3); color: var(--ink); overflow-wrap: anywhere;
}
.pp-ins__tiletext { margin: 0; font-size: var(--fs-sm); line-height: 1.5; color: var(--ink); }
.pp-ins__tile .pp-ins__count { font-size: var(--fs-md); }
/* Inside a tile a chip row stacks (label over chips), and a status tag keeps its own width. */
.pp-ins__tile .pp-ins__row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
.pp-ins__tile .pp-ins__rowlabel { margin-top: 0; font-size: var(--fs-xs); }
.pp-ins__tile > .wz-tag { align-self: flex-start; }
.pp-ins__tile .pp-ins__legend { flex-direction: column; gap: 4px; }
.pp-ins__tileactions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-top: auto; }

/* The foot: a note on the left, the actions on the right. */
.pp-ins__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); }
.pp-ins__foot > .wz-note { flex: 1 1 280px; }
.pp-ins__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.pp-ins .wz-btn--quiet { color: var(--accent-deep); }

/* A headline with a status tag beside it; an aside in the sentence steps back. */
.pp-ins__sumhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-3); }
.pp-ins__aside { font-size: var(--fs-sm); color: var(--ink); }
/* A band at the top of a page, before its tabs. */
.wz-page > .pp-insight { margin-bottom: var(--space-5); }
.wz-page > .pp-insight:empty { display: none; }

/* Shared with /insights (app/insight.js): the skills ring on a white card, the count in its
   middle (components.js sweeps `.wz-ring__fill` when seen), and a skill's resume mark: a tick
   on the ok tint, or a dashed ring for one worth learning. A phone sets the ring beside its
   caption, so the card stays short. A title's highlighted words take the band's accent. */
.pp-ins__ringcard {
  display: grid; justify-items: center; align-content: center; gap: var(--space-2); padding: var(--space-4) var(--space-5);
  border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); text-align: center;
}
.pp-ins__ring .wz-ring__fill { transition: none; }
.pp-ins__ringlabel { display: grid; justify-items: center; gap: 2px; }
.pp-ins__ringn { font-size: calc(var(--ring, 128px) * .3); font-weight: 800; line-height: 1; letter-spacing: var(--ls-num); color: var(--pp-head, var(--ink)); }
.pp-ins__ringof { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.pp-ins__ringcap { max-width: 15ch; font-size: var(--fs-sm); font-weight: 600; line-height: 1.35; color: var(--ink); }
.pp-ins__tick {
  display: inline-grid; place-items: center; width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%;
  color: var(--accent-deep); background: var(--accent-soft);
}
.pp-ins__tick.is-have { color: var(--ok-ink); background: var(--ok); }
.pp-ins__hl { color: var(--accent); }
@media (max-width: 760px) {
  .pp-ins__ringcard { grid-template-columns: auto minmax(0, 1fr); justify-items: start; align-items: center; text-align: left; padding: var(--space-3) var(--space-4); }
}

/* The placeholder while the reads are in flight. */
.pp-ins--sk { gap: var(--space-3); }
.pp-ins__sk-title { width: min(260px, 60%); height: 22px; }
.pp-ins__sk-card { height: 92px; border-radius: var(--r-md); }

@media (max-width: 760px) {
  .pp-ins { padding: var(--space-4); }
  .pp-ins__row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .pp-ins__rowlabel { margin-top: 0; }
  .pp-ins__steps { grid-template-columns: minmax(0, 1fr); }
}
/* A phone: two equal columns of cards (the band's one grid), each figure over its words. */
@media (max-width: 480px) {
  .pp-ins__icon { width: 34px; height: 34px; }
  .pp-ins__body, .pp-ins__stats { --ins-col: 140px; }
  .pp-ins__stat { padding: var(--space-3); }
  .pp-ins__stat--go { padding-right: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .pp-ins__seg, .pp-ins__go, :is(a, button).pp-ins__chip, .pp-ins__stat--go { transition: none; }
  .pp-ins__stat--go:hover .pp-ins__go { transform: none; }
}

/* ── 2 shared ──────────────────────────────────────────────────────────────── */
.pp-wrap { overflow-wrap: anywhere; min-width: 0; }
/* A small sentence-case label over a block (a message, a list): never uppercase or tracked (no eyebrows). */
.pp-label { margin-bottom: 6px; font-size: var(--fs-sm); font-weight: 600; line-height: 1.3; color: var(--ink); }
.pp-ext { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; overflow-wrap: anywhere; min-width: 0; }
.pp-ext .wz-icon { flex-shrink: 0; color: var(--muted); }
.pp-fine { display: flex; gap: 6px; align-items: flex-start; font-size: var(--fs-xs); line-height: 1.45; color: var(--ink); }
.pp-fine .wz-icon { margin-top: 1px; color: var(--accent); }
.pp-bullets { padding-left: 20px; list-style: disc; display: grid; gap: 4px; }
.pp-points { list-style: none; display: flex; flex-direction: column; gap: 14px; }
/* A card title with an action beside it ("See their openings", "View the job") wraps the action
   onto its own line on a phone instead of squeezing the title to a few words per line. */
.pp-panel .wz-card__head { flex-wrap: wrap; }
/* Tags carry free text here (skills, topics); let a long one wrap instead of overflowing. */
.pp-mentor .wz-tag, .pp-facts .wz-tag { white-space: normal; overflow-wrap: anywhere; }

/* Tabs: on a small phone, drop the icons and share the width so every tab stays visible. */
@media (max-width: 480px) {
  .pp-tabs { display: flex; width: 100%; }
  .pp-tabs .wz-segmented__btn { flex: 1 1 auto; justify-content: center; padding: 0 10px; gap: 6px; font-size: var(--fs-sm); }
  .pp-tabs .wz-segmented__btn > .wz-icon { display: none; }
}

/* ── 3 /network · referrals: the lead card (heading + search), the band, the company on screen, shelves ─ */
.pp-ref > * + *, .pp-ref__rest > * + * { margin-top: var(--section-gap); }
/* The band is left out when it has nothing positive to say: its empty host takes no room. */
.pp-ref .pp-insight:empty { display: none; }
.pp-find { max-width: 560px; }
.pp-intro > .pp-find { margin-top: var(--space-2); }
.pp-detail { min-width: 0; scroll-margin-top: 84px; }
.pp-shelves > * + * { margin-top: var(--section-gap); }
.pp-shelves .wz-shelf { margin-bottom: 0; }

/* The page's lead card: what this is, the search, and how it works one click away — one compact
   card, so the companies to pick from are close below it. */
.pp-intro {
  display: grid; gap: var(--space-2); align-content: start; padding: var(--space-6);
  border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm);
}
/* H2 (whizply.css TYPE ROLES): the card opens the page's first section. */
.pp-intro__title { font-size: var(--fs-h2); font-weight: var(--fw-h2); line-height: var(--lh-h2); letter-spacing: var(--ls-h2); color: var(--ink); }
.pp-intro__lead { font-size: var(--fs-md); font-weight: var(--fw-body); color: var(--ink); max-width: 64ch; }
.pp-intro > .wz-how { margin-top: var(--space-1); }
@media (max-width: 560px) { .pp-intro { padding: var(--space-5); } }

/* The company on screen: its cover beside the heading, then the people. */
.pp-people__who { display: flex; align-items: center; gap: var(--space-3); min-width: 0; }
.pp-people__who > .lg-tile { border-radius: var(--r-md); }
.pp-people > .pp-privacy { margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--line); }
.pp-privacy { color: var(--ink); }

/* A company as a shelf card: a cover (its own logo, bare on the card, or its monogram tile when we
   have no logo yet), its name and the role. Whole-card button, or — for a
   suggestion — a still card with its own Follow and a corner × to hide it. */
.pp-cocard {
  position: relative; display: flex; flex-direction: column; gap: var(--space-3); width: 100%; min-width: 0;
  padding: var(--space-2) var(--space-2) var(--space-3); border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--shadow-sm); color: var(--ink); text-align: left;
}
/* 2px + 2px: inside the shelf row's 4px padding, so the scroller never clips the ring */
button.pp-cocard:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pp-cocard[aria-current="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-sm); }
/* The top 34px of every cover is the "Following" chip's own row (owner, 13 Nov: it sat on top of the logo): the logo is
   centred in what is left, at every width, so the two can never overlap. The height holds chip row + logo (76) + air. */
.pp-cocard__cover { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; min-height: 122px; padding-top: 34px; box-sizing: border-box; border-radius: var(--r-md); }
.pp-cocard__cover > .lg-tile { --lg: 56px; border-radius: var(--r-md); transition: transform var(--dur-3) var(--ease-out); }
/* Just the logo (the owner, 2026-10-27): no ground, edge or lift behind it. A logo file carries its own
   light ground (logos are drawn for light backgrounds), so it still reads on a dark card. */
.pp-cocard__cover > .lg-tile--logo { --lg: 76px; background: none; box-shadow: none; }
.pp-cocard__cover > .lg-tile--logo::after { display: none; }
.pp-cocard__badge {
  position: absolute; left: 8px; top: 4px; display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: var(--pill); background: color-mix(in srgb, var(--surface) 92%, transparent);
  color: var(--ok-ink); font-size: var(--fs-xs); font-weight: 700; line-height: 1.4; box-shadow: var(--shadow-sm);
}
.pp-cocard__body { display: grid; gap: 2px; min-width: 0; padding: 0 var(--space-1); }
.pp-cocard__name {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: var(--fs-md); font-weight: 700; line-height: 1.35; overflow-wrap: anywhere;
}
.pp-cocard__meta { overflow: hidden; font-size: var(--fs-xs); color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }
.pp-cocard[aria-current="true"] .pp-cocard__name { color: var(--accent-deep); }
.pp-cocard__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: auto; padding: 0 var(--space-1); }
.pp-cocard__skip {
  position: absolute; top: 14px; right: 14px; background: color-mix(in srgb, var(--surface) 88%, transparent);
  border-color: transparent; box-shadow: var(--shadow-sm);
}
.pp-cocard__skip.is-busy > :not(.wz-spinner) { display: none; }
.pp-cocard__skip > .wz-spinner { width: 14px; height: 14px; border-width: 2px; }
@media (hover: hover) and (pointer: fine) {
  button.pp-cocard:hover .pp-cocard__name { color: var(--accent-deep); }
  button.pp-cocard:hover .pp-cocard__cover > .lg-tile { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) { button.pp-cocard:hover .pp-cocard__cover > .lg-tile { transform: none; } }

/* ── /network · companies you follow ───────────────────────────────────────── */
.pp-source { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 2px; font-size: var(--fs-xs); color: var(--ink); }
.pp-find .pp-result:empty { display: none; }

/* Whether a company's jobs show yet: "12 open roles" (live), or a "Tracking soon" chip. */
.pp-track {
  display: inline-flex; align-items: center; gap: 4px; max-width: 100%;
  font-size: var(--fs-xs); font-weight: 600; line-height: 1.35; color: var(--ink);
}
.pp-track--soon {
  padding: 2px 9px; border-radius: var(--pill); background: var(--accent-soft); color: var(--accent-ink);
}
.pp-track--soon .wz-icon, .pp-track--live .wz-icon { flex-shrink: 0; }
.pp-cocard__meta--track { overflow: visible; white-space: normal; }
.pp-ask { align-self: flex-start; justify-self: start; color: var(--accent-deep); }
.pp-ask[hidden] { display: none; }
.pp-coreq__pair { align-items: start; }

/* "Can't find it?": a small form on the accent's soft tint, the name first, website and
   country side by side, then the answer. */
.pp-coreq-host:empty { display: none; }
.pp-coreq {
  display: grid; gap: var(--space-3); max-width: 640px; padding: var(--space-4);
  border-radius: var(--r-lg); background: var(--tint, var(--accent-soft)); box-shadow: inset 0 0 0 1px var(--accent-ring);
}
.pp-coreq__head { display: flex; align-items: flex-start; gap: var(--space-3); }
.pp-coreq__icon {
  display: inline-grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%;
  background: var(--surface); color: var(--accent-deep); box-shadow: var(--shadow-sm);
}
.pp-coreq__title { margin: 0; font-size: var(--fs-lead); font-weight: var(--fw-h3); line-height: var(--lh-h3); color: var(--ink-heading, var(--ink)); }
.pp-coreq__sub { margin: 2px 0 0; font-size: var(--fs-sm); line-height: 1.45; color: var(--ink); }
.pp-coreq__form { display: grid; gap: var(--space-3); }
.pp-coreq__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.pp-coreq__go { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.pp-coreq__result:empty { display: none; }
@media (max-width: 560px) { .pp-coreq__pair { grid-template-columns: minmax(0, 1fr); } }

/* The companies you asked for. */
.pp-asks { padding-top: var(--space-1); padding-bottom: var(--space-1); }
.pp-asks .wz-list__item:first-child { border-top: 0; }
.pp-anchor { scroll-margin-top: 84px; }

/* ── /applications ─────────────────────────────────────────────────────────── */
/* The stage tiles sit on the pipeline band as white tiles. */
.pp-ins .wz-pipeline__stage { box-shadow: var(--shadow-sm); padding: var(--space-3) var(--space-4); }
.pp-ins .wz-pipeline__label { white-space: nowrap; }
@media (max-width: 480px) { .pp-ins .wz-pipeline__stage { padding: var(--space-3); } }
.pp-ins .wz-pipeline__n { color: var(--pp-head, var(--accent-ink)); font-weight: 800; }
/* A tracker card: the title (H3, 16/700) a clear step above its company line (small, regular). */
.pp-page .wz-track .wz-job__company { font-size: var(--fs-sm); font-weight: 500; color: var(--ink); }
/* /applications' header buttons (the owner, 2026-10-24): roomier, in a purple outline that
   deepens on hover; their icons in the accent too. */
.pp-apps .wz-page-head__actions .wz-btn--line { --b-px: 20px; --b-line: var(--dash); --b-line-hover: var(--accent); }
.pp-apps .wz-page-head__actions .wz-btn--line > .wz-icon { color: var(--accent-deep); }

/* ── 4 /mentoring · mentors ────────────────────────────────────────────────── */
/* Mentors are a shelf of wider cards (each says a lot): three across a page, two in a column,
   one and a peek on a phone. The privacy line above it stays in view. */
.pp-panel > .pp-privacy + * { margin-top: var(--space-5); }
.pp-shelf--wide .wz-shelf__row { --per: 3; }
@container (max-width: 820px) { .pp-shelf--wide .wz-shelf__row { --per: 2; } }
@container (max-width: 560px) {
  .pp-shelf--wide .wz-shelf__row { --per: 1.15; grid-auto-columns: calc((100% - .15 * var(--block-gap)) / 1.15); }
}
.pp-mentor { display: flex; flex-direction: column; gap: var(--space-3); width: 100%; }
.pp-mentor__foot {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.pp-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: var(--fs-sm); color: var(--ink); }
.pp-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.pp-meta .wz-icon { color: var(--muted); }
.pp-reasons { list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-sm); line-height: 1.5; color: var(--ink); }
.pp-reasons li { display: flex; gap: 8px; align-items: flex-start; }
.pp-reasons .wz-icon { margin-top: 3px; color: var(--ok-ink); }

/* ── /mentoring · requests ─────────────────────────────────────────────────── */
.pp-requests { display: flex; flex-direction: column; gap: var(--block-gap); }
.pp-request { display: flex; flex-direction: column; gap: 12px; }
/* opened from the "new request" email (`?request=`) */
.pp-request.is-focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.pp-request__head { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-start; justify-content: space-between; }
.pp-quote {
  padding: 10px 14px; border-left: 3px solid var(--accent-ring);
  border-radius: 0 var(--r-md) var(--r-md) 0; background: var(--surface-2);
  color: var(--ink); font-size: var(--fs-md); line-height: 1.55; overflow-wrap: anywhere;
}
.pp-more { margin-top: 6px; }
/* An accepted request's names and contact, on the accent's soft tint (the theme's own colour). */
.pp-reveal { display: grid; gap: 10px; padding: 14px 16px; border-radius: var(--r-md); background: var(--accent-soft); color: var(--ink); }
.pp-reveal__title { display: flex; gap: 8px; align-items: center; font-size: var(--fs-md); font-weight: 700; line-height: 1.35; color: var(--accent-ink); }
.pp-reveal .wz-dl dt { color: var(--accent-ink); }
/* A referral ask's conversation (messages on): plain text bubbles, text is always --ink. */
.pp-thread { display: grid; gap: 10px; }
.pp-thread__body { display: grid; gap: 10px; }
.pp-thread__body[hidden] { display: none; }
.pp-thread__list { display: grid; gap: 8px; max-height: 320px; overflow: auto; }
.pp-thread__form { display: grid; gap: 8px; }
.pp-copy { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }

/* ── /mentoring · be a mentor ──────────────────────────────────────────────── */
.pp-pair { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) {
  .pp-pair { grid-template-columns: minmax(0, 1fr); }
}

/* ── 5 /mentoring · the mentor application (app/mentor-apply.js) ────────────── */
/* One card, a stepper across its top (labels fold away on a narrow card, the current one stays),
   each step's H2 in the heading tone, its fields, then Back on the left and Continue on the
   right. The two proofs (work email, LinkedIn) sit side by side on wide screens. */
.pp-apply { display: grid; gap: var(--space-5); container-type: inline-size; min-width: 0; }
.pp-apply__steps { overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--space-2) * -1); padding: 0 var(--space-2); }
.pp-apply__steps .wz-steps { min-width: 520px; margin-bottom: 4px; }
@container (max-width: 640px) {
  .pp-apply__steps .wz-steps { min-width: 0; }
  .pp-apply__steps .wz-steps li:not([aria-current="step"]) .wz-steps__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .pp-apply__steps .wz-steps__dot { width: 32px; height: 32px; }
  .pp-apply__steps .wz-steps li:not(:last-child)::after { top: 16px; left: calc(50% + 22px); right: calc(-50% + 22px); }
}
.pp-apply__head { display: grid; gap: 6px; }
.pp-apply__head .wz-card__title { font-size: var(--fs-h2); font-weight: var(--fw-h2); line-height: var(--lh-h2); letter-spacing: var(--ls-h2); color: var(--pp-head, var(--ink-heading)); }
.pp-apply__head .wz-card__sub { max-width: 64ch; font-size: var(--fs-md); font-weight: 500; color: var(--ink); }
.pp-apply__nav { flex-wrap: wrap; gap: 10px; padding-top: var(--space-4); border-top: 1px solid var(--line); }
.pp-apply__link { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 8px; align-items: center; }
@container (max-width: 560px) {
  .pp-apply__link { grid-template-columns: minmax(0, 1fr) auto; }
  .pp-apply__link > :nth-child(2) { grid-column: 1; grid-row: 2; }
}
.pp-apply__proofs { display: grid; gap: var(--space-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@container (max-width: 640px) { .pp-apply__proofs { grid-template-columns: minmax(0, 1fr); } }
.pp-apply__proof {
  display: grid; gap: 10px; align-content: start; height: 100%; padding: var(--space-4); border-radius: var(--r-md);
  background: var(--band-violet-bg); color: var(--band-violet-ink);
}
.pp-apply__proof .wz-small { color: var(--band-violet-ink); }
.pp-apply__proof.is-done { background: color-mix(in srgb, var(--ok) 14%, var(--surface)); }
.pp-apply__proof.is-done .pp-apply__proof-title .wz-icon { color: var(--ok-ink); }
.pp-apply__proof-title { display: flex; align-items: center; gap: 8px; margin: 0; font-size: var(--fs-md); font-weight: 700; color: var(--ink-heading, var(--ink)); }
.pp-apply__proof-title .wz-icon { flex-shrink: 0; color: var(--accent-deep); }
.pp-apply__proof > .wz-btn { justify-self: start; }
.pp-apply__inline { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.pp-apply__inline > .wz-btn { margin-bottom: 26px; }
@container (max-width: 400px) {
  .pp-apply__inline { grid-template-columns: minmax(0, 1fr); }
  .pp-apply__inline > .wz-btn { margin-bottom: 0; justify-self: start; }
}
.pp-apply__suggest { flex-wrap: wrap; align-items: center; }
.pp-apply__sum { display: grid; gap: 10px; padding: var(--space-4); border-radius: var(--r-md); background: var(--surface-2); }
.pp-apply__sum .wz-h3 { margin: 0; font-size: var(--fs-md); font-weight: 700; color: var(--pp-head, var(--ink-heading)); }
/* Review and summary lists in the mentor flow (R4.1, owner 15 Nov: "why is the entire text bold", "correct colour
   combination"): the VALUE is regular body weight 400 in --ink (Inter renders 500/600 heavy across a whole list), the LABEL
   one step stronger (600, the heading violet) so the two are told apart by weight and hue, never by grey; the section
   title above stays 700. The label column is capped (fit-content), so a narrow card's values never wrap word by word. */
.pp-facts { grid-template-columns: fit-content(11rem) minmax(0, 1fr); gap: 10px 20px; align-items: baseline; }
.wz-dl.pp-facts dt { color: var(--pp-head, var(--ink-heading)); font-size: var(--fs-sm); font-weight: 600; line-height: 1.45; }
.wz-dl.pp-facts dd { color: var(--ink); font-weight: 400; line-height: 1.5; }
.pp-facts dd :is(li, span, a, strong) { font-weight: inherit; }
@media (max-width: 480px) { .pp-facts { grid-template-columns: minmax(0, 1fr); gap: 2px 0; } .pp-facts dd { margin-bottom: 10px; } }
.pp-apply-split { align-items: start; }

/* Where the application stands: a tinted card with its icon in a white circle, the tag on the
   right, the team's note as a quote. */
.pp-status { display: grid; gap: var(--space-4); }
.pp-status__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--space-3); align-items: start; }
@media (max-width: 560px) { .pp-status__head { grid-template-columns: auto minmax(0, 1fr); } .pp-status__head > .wz-tag { grid-column: 2; justify-self: start; } }
.pp-status__icon {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface); color: var(--accent-deep); box-shadow: var(--shadow-sm);
}
.pp-status--no .pp-status__icon { color: var(--bad-ink); }
.pp-status .wz-card__title { font-size: var(--fs-h2); font-weight: var(--fw-h2); line-height: var(--lh-h2); color: var(--pp-head, var(--ink-heading)); }
.pp-status__list { color: var(--ink); font-size: var(--fs-sm); }
.pp-status__note {
  margin: 0; padding: 12px 16px; border-left: 3px solid var(--accent); border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--surface); color: var(--ink); font-size: var(--fs-md); line-height: 1.55; overflow-wrap: anywhere;
}
.pp-status__note .pp-label { margin-bottom: 4px; }

/* ── 6 /admin/mentors · the review ─────────────────────────────────────────── */
.pp-review { display: grid; gap: var(--space-4); }
.pp-review.is-done { padding: var(--space-4); }
.pp-review__head { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-start; justify-content: space-between; }
.pp-review__head .wz-small { overflow-wrap: anywhere; }
.pp-review__why { font-size: var(--fs-sm); color: var(--warn-ink); }
.pp-review__grid { display: grid; gap: var(--space-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .pp-review__grid { grid-template-columns: minmax(0, 1fr); } }
.pp-review__block { display: grid; gap: 10px; align-content: start; padding: var(--space-4); border-radius: var(--r-md); background: var(--surface-2); min-width: 0; }
.pp-review__bt { display: flex; align-items: center; gap: 8px; margin: 0; font-size: var(--fs-md); font-weight: 700; color: var(--pp-head, var(--ink-heading)); }
.pp-review__bt .wz-icon { color: var(--accent-deep); }
.pp-review__block .wz-dl { font-size: var(--fs-sm); }
@media (max-width: 480px) { .pp-review__block .wz-dl { grid-template-columns: minmax(0, 1fr); gap: 2px 0; } .pp-review__block .wz-dl dd { margin-bottom: 8px; } }
.pp-review__yes, .pp-review__no { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.pp-review__yes { color: var(--ok-ink); }
.pp-review__no { color: var(--bad-ink); }
.pp-review__link { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; overflow-wrap: anywhere; min-width: 0; }
.pp-review__act { display: grid; gap: 12px; padding-top: var(--space-4); border-top: 1px solid var(--line); }

/* ── /onboarding · dream companies ─────────────────────────────────────────── */
.ob-dream__track { display: block; margin-top: 4px; }

/* ── 7 /mentoring · Phase 2 and 4: suggestions, ratings, safety, the mentor page ───────── */
/* Stars are amber in both themes (a rating reads as a rating in any palette); the empty ones
   take the line colour. Badges and chips stay pills, buttons keep their 10px corners. */
:root { --star: #E59A00; --star-off: var(--line-strong); }
:root[data-theme="dark"] { --star: #FFC23D; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --star: #FFC23D; } }

/* "Suggested for you" on the application: a soft violet band with chips to tick. */
.pp-suggest {
  display: grid; gap: 10px; padding: 14px 16px; border-radius: var(--r-md);
  background: var(--band-violet-bg); color: var(--band-violet-ink); border: 1px solid var(--band-violet-line);
}
.pp-suggest__head { display: flex; gap: 10px; align-items: flex-start; }
.pp-suggest__icon {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: var(--band-violet-surface); color: var(--band-violet-link);
}
.pp-suggest__title { margin: 0; font-size: var(--fs-lead); font-weight: 800; color: var(--band-violet-heading); }
.pp-suggest__sub { margin: 2px 0 0; font-size: var(--fs-sm); font-weight: 600; color: var(--band-violet-ink); }
.pp-suggest .wz-chip { background: var(--band-violet-surface); border-color: var(--band-violet-line); color: var(--band-violet-ink); }
.pp-suggest .wz-chip[aria-pressed="true"] { background: var(--band-violet-chip); color: var(--band-violet-chip-ink); border-color: transparent; }
.pp-suggest__why { margin: 0; min-height: 1.4em; font-size: var(--fs-sm); color: var(--band-violet-ink); }

/* The LinkedIn consent on a request: unticked by default, the address it would share. */
.pp-consent { display: grid; gap: 4px; padding: 12px 14px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface-2); }
.pp-consent .wz-xs { color: var(--ink); }
.pp-consent__url { font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }

/* Stars: read-only (an average, partly filled) and the 1-5 input. */
.pp-stars { display: inline-flex; align-items: center; }
.pp-stars--read { position: relative; line-height: 0; }
.pp-stars--read .pp-stars__base { display: inline-flex; color: var(--star-off); }
.pp-stars--read .pp-stars__fill { position: absolute; inset: 0 auto 0 0; display: inline-flex; overflow: hidden; white-space: nowrap; color: var(--star); }
.pp-stars--read .wz-icon { flex-shrink: 0; fill: currentColor; }
.pp-stars__wrap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pp-stars--input { gap: 2px; }
.pp-star {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--r-md);
  background: none; color: var(--star-off); cursor: pointer; transition: transform var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out);
}
.pp-star .wz-icon { fill: transparent; }
.pp-star.is-on { color: var(--star); }
.pp-star.is-on .wz-icon { fill: currentColor; }
.pp-star:hover { transform: scale(1.08); }
.pp-star:focus-visible { outline: 2px solid var(--accent-ring); outline-offset: 2px; }
.pp-stars__word { font-size: var(--fs-md); font-weight: 700; color: var(--ink); min-width: 6ch; }
@media (prefers-reduced-motion: reduce) { .pp-star { transition: none; } .pp-star:hover { transform: none; } }

/* Find: the rating line on a card, the filters, and a mentor opened from their page. */
.pp-mentor__rating { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; font-size: var(--fs-sm); color: var(--ink); }
.pp-filter { display: grid; gap: 12px; padding: 14px 16px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); }
.pp-filter__search { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.pp-filter__search .wz-input, .pp-filter__search input { flex: 1; min-width: 0; }
.pp-filter__topics { display: grid; gap: 6px; }
.pp-filter__topics .wz-chips { flex-wrap: wrap; }
.pp-spotlight .pp-mentor { max-width: 560px; }

/* Requests: what the mentee chose to share, the "Blocked" tag, and the blocked list. */
.pp-shared { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; padding: 10px 12px; border-radius: var(--r-md); background: var(--accent-soft); color: var(--accent-ink); font-size: var(--fs-sm); }
.pp-shared .wz-xs { color: var(--ink); }
.pp-blocked .wz-list__item { gap: 12px; align-items: center; }
.pp-report { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; }
.pp-report__opt { padding: 8px 10px; border-radius: var(--r-md); border: 1px solid var(--line); }
.pp-report__opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }

/* Mentor home: your ratings. A big average, how they split, then the notes. */
.pp-ratings { display: grid; gap: 14px; }
.pp-ratings__head { display: flex; align-items: center; gap: 14px; }
.pp-ratings__avg { margin: 0; font-size: 44px; line-height: 1; font-weight: 800; color: var(--ink-heading, var(--ink)); letter-spacing: -.02em; }
.pp-dist { display: grid; gap: 6px; }
.pp-dist__row { display: grid; grid-template-columns: 34px minmax(0, 1fr) 28px; align-items: center; gap: 8px; font-size: var(--fs-xs); color: var(--ink); }
.pp-dist__n { display: inline-flex; align-items: center; gap: 2px; color: var(--ink); font-weight: 700; }
.pp-dist__n .wz-icon { color: var(--star); fill: currentColor; }
.pp-dist__bar { height: 8px; border-radius: var(--pill); background: var(--surface-2); overflow: hidden; }
.pp-dist__bar > span { display: block; height: 100%; border-radius: inherit; background: var(--star); transform-origin: left; animation: pp-grow .6s var(--ease-out, ease) both; }
@keyframes pp-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .pp-dist__bar > span { animation: none; } }
.pp-notes { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
.pp-note { display: grid; gap: 4px; padding: 12px 14px; border-radius: var(--r-md); background: var(--surface-2); }
.pp-note__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pp-note__text { margin: 0; font-size: var(--fs-md); line-height: 1.55; color: var(--ink); overflow-wrap: anywhere; }

/* Mentor home: the public mentor page. The offer sits on the violet band; the preview is the
   page itself in a framed window. */
.pp-mpage { display: grid; gap: var(--space-5); scroll-margin-top: 80px; }
.pp-mpage__offer {
  display: grid; gap: var(--space-4); padding: var(--space-5); border-radius: var(--r-lg);
  background: var(--band-violet-bg); color: var(--band-violet-ink);
}
.pp-mpage__offer .wz-small { color: var(--band-violet-ink); font-weight: 600; }
.pp-mpage__offer .wz-feature__icon { background: var(--band-violet-surface); color: var(--band-violet-link); }
.pp-mpage__q { margin: 0; font-size: var(--fs-h2); font-weight: 800; color: var(--band-violet-heading); letter-spacing: -.01em; }
/* One spacing scale on the public page tab (the owner, 2026-11-13: "big, inconsistent gaps"):
   16px between the offer's parts and 12px between its points; no browser margins on the list or
   the points' text, and a 36px icon centred on its line. */
.pp-mpage__offer .pp-points { margin: 0; padding: 0; gap: var(--space-3); }
.pp-mpage__offer .wz-feature { align-items: center; gap: var(--space-3); }
.pp-mpage__offer .wz-feature > p { margin: 0; }
.pp-mpage__offer .wz-feature__icon { width: 36px; height: 36px; }
.pp-mpage__offer > p, .pp-mpage__offer > .wz-row { margin: 0; }
.pp-mpage__built, .pp-mpage__sources { display: grid; gap: var(--space-4); }
.pp-mpage__preview { border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow); }
.pp-mpage__frame { display: block; width: 100%; height: 560px; border: 0; background: #fff; }
.pp-reads { list-style: none; display: grid; gap: var(--space-1); margin: 0; padding: 0; }
.pp-read { display: flex; align-items: center; gap: 6px; font-size: var(--fs-sm); color: var(--ink); }
.pp-read.is-ok .wz-icon { color: var(--ok-ink); }
.pp-published { display: grid; gap: var(--space-3); padding: var(--space-4); border-radius: var(--r-md); background: var(--accent-soft); }
.pp-published__title { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 800; color: var(--accent-ink); }
.pp-share { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.pp-share input { flex: 1 1 260px; min-width: 0; }
@media (max-width: 560px) {
  .pp-mpage__frame { height: 460px; }
  .pp-ratings__avg { font-size: 36px; }
}

/* ── the referral Inbox's "Help others" card (app/referral-inbox.js) and the resume viewer ─────── */
.ri-card { display: grid; gap: 18px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, color-mix(in srgb, var(--band-mint-accent) 8%, var(--surface)), var(--surface) 55%); }
.ri-card[data-on="true"] { border-color: color-mix(in srgb, var(--band-mint-accent) 40%, var(--line)); }
.ri-why { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.ri-why li { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: var(--r-md); background: var(--surface-2, var(--surface));
  border: 1px solid var(--line); }
.ri-why li > span:last-child { display: grid; gap: 2px; font-size: var(--fs-sm); color: var(--ink); }
.ri-why b { color: var(--ink); font-weight: 700; }
.ri-why__ic { flex: 0 0 auto; color: var(--accent-deep); margin-top: 1px; }
.ri-consent { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-md);
  background: var(--accent-soft); color: var(--ink); font-size: var(--fs-sm); line-height: 1.5; }
.ri-consent > svg { flex: 0 0 auto; margin-top: 2px; color: var(--accent-deep); }
.ri-preview { display: grid; gap: 8px; padding: 14px; border-radius: var(--r-md); border: 1px dashed var(--line-strong, var(--line)); }
.ri-alerts { display: grid; gap: 10px; }
.ri-link > input { flex: 1 1 260px; min-width: 0; }
.ri-resume__wrap { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; }
.ri-resume { display: block; width: 100%; height: min(70vh, 760px); border: 0; background: #fff; }

/* ── "How did your interview go?" (app/interview-share.js) ─────────────────────────────────────── */
.iv-lead { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-md);
  background: linear-gradient(115deg, color-mix(in srgb, var(--accent) 12%, var(--surface)), color-mix(in srgb, var(--band-mint-accent) 10%, var(--surface)));
  color: var(--ink); font-size: var(--fs-sm); font-weight: 600; }
.iv-lead > svg { flex: 0 0 auto; color: var(--accent-deep); margin-top: 2px; }
.iv-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.iv-fine { display: flex; gap: 8px; align-items: flex-start; color: var(--ink); font-size: var(--fs-xs); }
.iv-fine > svg { flex: 0 0 auto; margin-top: 1px; }
.iv-done { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 16px 0 8px; color: var(--ink); }
.iv-done__ic { color: var(--ok-ink, var(--accent-deep)); }
.iv-done__title { font-size: var(--fs-lead); font-weight: 750; color: var(--ink-heading, var(--ink)); }
@media (max-width: 560px) { .iv-grid { grid-template-columns: minmax(0, 1fr); } }

/* ── "See what others earn" (app/salary-share.js): onboarding's Pay step ─────────────────────── */
.sl-card { display: grid; gap: 14px; background: linear-gradient(160deg, color-mix(in srgb, var(--band-mint-accent) 8%, var(--surface)), var(--surface) 55%); }
.sl-head { display: flex; gap: 14px; align-items: flex-start; }
.sl-head__ic { flex: 0 0 auto; width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-md);
  background: color-mix(in srgb, var(--band-mint-accent) 16%, var(--surface)); color: var(--band-mint-accent); }
.sl-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.sl-pay { display: grid; gap: 10px; grid-template-columns: 110px minmax(0, 1fr); }
.sl-company { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sl-fine { display: flex; gap: 8px; align-items: flex-start; color: var(--ink); font-size: var(--fs-xs); }
.sl-fine > svg { flex: 0 0 auto; margin-top: 1px; }
.sl-mine { display: flex; gap: 8px; align-items: center; font-weight: 600; color: var(--ink); }
.sl-mine > svg { color: var(--ok-ink, var(--accent-deep)); flex: 0 0 auto; }
/* The same form as a dialog (Salaries & interviews): three amounts and the total worked out. */
.sl-lead { margin: 0 0 var(--space-4); color: var(--ink); }
.sl-amounts { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sl-amounts .wz-field { align-content: start; }
.sl-total {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin: 0;
  padding: var(--space-3) var(--space-4); border-radius: var(--r-md); background: var(--accent-soft); color: var(--ink);
}
/* No tabular-nums: on a figure it starts the first-sight count-up, and a total being typed must not count from 0. */
.sl-total strong { font-size: var(--fs-lead); font-weight: 800; overflow-wrap: anywhere; }
@media (max-width: 560px) { .sl-grid, .sl-amounts { grid-template-columns: minmax(0, 1fr); } }

/* ── Pro locks on follows and referrals (release 12; app/plan-gate.js) ─────── */
/* The follow cap's count by the follow list and the search, the note at the cap, and the Follow
   control's place (it holds Follow, or "Follow more with Pro" with the lock). Tokens only. */
.pp-cappill:empty { display: none; }
.pp-cappill { display: inline-flex; align-items: center; }
.pp-followslot { display: contents; }
.pp-cocard__actions .pg-locked { white-space: normal; text-align: left; line-height: 1.25; padding-block: 6px; }
.pp-capnote {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3);
  padding: var(--space-3) var(--space-4); border-radius: var(--r-md); border: 1px dashed var(--dash);
  background: color-mix(in srgb, var(--accent-soft) 50%, var(--surface));
}
.pp-capnote__text { flex: 1 1 240px; margin: 0; font-size: var(--fs-sm); font-weight: 600; line-height: 1.5; color: var(--ink); }
/* Onboarding's dream companies: the cap line, and a row that waits with the lock. */
.ob-dream__cap {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3);
  padding: var(--space-3) var(--space-4); border-radius: var(--r-md);
  background: color-mix(in srgb, var(--accent-soft) 50%, var(--surface));
}
.ob-dream__captext { flex: 1 1 220px; margin: 0; font-size: var(--fs-sm); font-weight: 600; line-height: 1.5; color: var(--ink); }
.ob-dream__row.is-locked { cursor: not-allowed; opacity: .62; }
.ob-dream__row.is-locked:hover { background: transparent; }
@media (max-width: 480px) {
  .pp-capnote .pg-locked, .ob-dream__cap .pg-locked { width: 100%; }
}

/* ── R4 referral revamp (owner, 2026-11-13): compact request cards, small counts, one clean inbox ───
   Text is always --ink (no grey). The cards are tall enough for their actions and no taller. */
.pp-request--compact { gap: 6px; padding: 12px 14px; }
.pp-request--compact .pp-request__head { flex-wrap: nowrap; align-items: center; gap: 8px; }
/* The status never breaks mid-word ("Referre d you"): the title takes the squeeze (it clamps to two lines). */
.pp-request__head .wz-tag { flex: none; white-space: nowrap; overflow-wrap: normal; }
.pp-request__title { flex: 1 1 auto; min-width: 0; margin: 0; font-size: var(--fs-lead); font-weight: var(--fw-h3); line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-request__line, .pp-request__preview { margin: 0; min-width: 0; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-request__preview { font-style: italic; }
.pp-request__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 2px; }
.pp-request--compact .pp-more { margin-top: 0; }
/* display stays list-item, so the browser keeps its open/closed marker; the padding makes the touch target */
.pp-request--compact .pp-more > summary { cursor: pointer; width: fit-content; min-height: 36px; box-sizing: border-box;
  padding: 8px 8px 8px 0; color: var(--ink); font-size: var(--fs-sm); font-weight: 600; line-height: 20px; }
.pp-request--compact .pp-more__body { display: grid; gap: 10px; padding-top: 8px; }
#network-panel .pp-requests { gap: 8px; }

/* a small count at a section's top right (the pill is the number, the words are for assistive tech) */
.pp-count { display: inline-flex; align-items: center; gap: 4px; min-width: 24px; height: 24px; padding: 0 9px;
  border: 0; border-radius: 999px; background: var(--accent-soft); color: var(--ink); font: inherit;
  font-size: var(--fs-sm); font-weight: 700; line-height: 24px; justify-content: center; white-space: nowrap; }
/* the BUTTON tokens: each theme pairs --btn-accent with --btn-accent-ink at 4.5:1 or better (dark --accent is too light for white text) */
.pp-count.is-hot { background: var(--btn-accent); color: var(--btn-accent-ink); }
button.pp-count { cursor: pointer; }
/* a count that goes somewhere reads as a link: its words are underlined, so it is not mistaken for a static badge */
.pp-count.is-link > span:not(.pp-count__n):not(.sr-only) { text-decoration: underline; text-underline-offset: 2px; }
button.pp-count:hover { box-shadow: inset 0 0 0 2px var(--accent-ring); }
button.pp-count:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pp-ins__counts { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; justify-content: flex-end; }
/* on a phone the counts drop under the title instead of squeezing it into a narrow column */
@media (max-width: 720px) { .pp-ins__head:has(.pp-ins__counts) { flex-wrap: wrap; } .pp-ins__counts { flex-basis: 100%; margin-left: 0; justify-content: flex-start; } }
.pp-ins__counts .pp-count { background: var(--surface); box-shadow: var(--shadow-sm); }
.pp-ins__counts .pp-count.is-hot { background: var(--btn-accent); color: var(--btn-accent-ink); }

/* the Inbox: a small heading, two narrow cards, then the requests */
.pp-inbox__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: var(--space-4, 16px); }
.pp-inbox__top:empty { display: none; }
.pp-mini { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pp-mini__card { display: flex; align-items: baseline; gap: 8px; padding: 6px 12px; border: 1px solid var(--line);
  border-radius: var(--r-md); background: var(--surface); color: var(--ink); }
.pp-mini__n { font-size: var(--fs-lead); font-weight: 700; line-height: 1.2; }
.pp-mini__label { font-size: var(--fs-sm); }
.pp-inbox__opt { margin-bottom: var(--space-4, 16px); }
.pp-inbox__opt:empty { display: none; }

/* the switch row: the toggle and its (i) side by side; the full wording lives behind the (i) */
.ri-optin { padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.ri-switchrow { display: flex; align-items: flex-start; gap: 8px; flex-wrap: wrap; }
.ri-switchrow .wz-infotip { margin-top: -4px; }          /* the 32px (i) centred on the switch's 24px first line */
.ri-remove { margin-top: var(--space-3, 12px); }
.ri-switchrow .wz-infotip__pop { max-width: 320px; font-size: var(--fs-sm); color: var(--ink); }

/* the conversation modal, built like a messenger (owner 2026-11-13): the log is the only part that scrolls,
   the rounded composer stays pinned under it, yours on the right, theirs on the left with initials. */
.wz-dialog__body:has(> .pp-convo) { padding: 8px 20px 16px; overflow: hidden; display: flex; flex-direction: column; min-height: 0; }
.pp-convo { display: flex; flex-direction: column; gap: 10px; min-width: 0; min-height: 0; height: min(68dvh, 640px); }
.pp-convo__ctx { display: flex; gap: 6px; align-items: center; margin: 0; color: var(--ink); flex: none; }
.pp-convo .pp-thread__list {
  flex: 1 1 auto; min-height: 0; max-height: none; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: var(--r-md);
  background: var(--surface-2); border: 1px solid var(--line);
}
.pp-convo .pp-thread__list:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.pp-convo .pp-thread__list > .wz-empty { margin: auto; }
.pp-convo .pp-thread__form { flex: none; display: grid; gap: 6px; }
.pp-day { display: flex; justify-content: center; margin: 10px 0 6px; color: var(--ink); font-size: var(--fs-sm); font-weight: 600; }
.pp-day > span { padding: 2px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.pp-day:first-child { margin-top: 0; }
.pp-msg { display: flex; align-items: flex-end; gap: 8px; max-width: 100%; margin-top: 2px; }
.pp-msg.is-first { margin-top: 10px; }
.pp-msg.is-mine { justify-content: flex-end; }
.pp-msg > .wz-avatar, .pp-msg__gap { flex: none; width: 32px; height: 32px; }
.pp-msg > .wz-avatar { align-self: flex-start; }
.pp-msg__col { display: grid; gap: 2px; min-width: 0; max-width: min(78%, 520px); }
.pp-msg.is-mine .pp-msg__col { justify-items: end; }
.pp-msg__who { margin: 0 0 0 4px; color: var(--ink); font-weight: 700; }
.pp-msg__bubble {
  padding: 8px 12px 6px; border-radius: 18px 18px 18px 6px; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); min-width: 0;
}
.pp-msg.is-mine .pp-msg__bubble { border-radius: 18px 18px 6px 18px; background: var(--accent-soft); border-color: var(--accent-ring); }
.pp-msg__text { margin: 0; overflow-wrap: anywhere; }
.pp-msg__time { display: block; margin-top: 2px; text-align: right; color: var(--ink); }
/* the composer: one rounded box, the send button inside it */
.pp-composer {
  display: flex; align-items: flex-end; gap: 6px; padding: 6px 6px 6px 16px; border-radius: 24px;
  background: var(--surface); border: 1px solid var(--line-control, var(--line-strong));
}
.pp-composer:hover { border-color: var(--dash); }
.pp-composer:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.pp-composer .pp-composer__box {
  flex: 1 1 auto; min-width: 0; min-height: 0; height: auto; max-height: 150px; resize: none; border: 0; outline: 0;
  box-shadow: none; background: transparent; padding: 8px 0; line-height: 1.45; font-size: 16px;
}
.pp-composer .pp-composer__box:focus, .pp-composer .pp-composer__box:hover { border: 0; box-shadow: none; outline: 0; }
.pp-composer__send.wz-btn { --b-r: 50%; flex: none; width: 44px; min-width: 44px; height: 44px; padding: 0; justify-content: center; }
.pp-composer__send.wz-btn > span:not(.wz-spinner) {
  position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.pp-composer__foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0 8px; }
.pp-composer__foot p { margin: 0; color: var(--ink); }
.pp-composer__foot .wz-counter { flex: none; margin: 0; }
.pp-composer__more { flex-wrap: wrap; }
@media (pointer: coarse) { .pp-composer__keys { display: none; } }   /* a soft keyboard has no Shift+Enter */
@media (max-width: 720px) {
  .wz-dialog__body:has(> .pp-convo) { padding: 8px 12px 12px; }
  .pp-convo { height: min(74dvh, 640px); }
  .pp-msg__col { max-width: 84%; }
  .pp-composer__more .wz-btn { min-height: 44px; }
  .pp-request--compact .pp-more > summary { min-height: 44px; min-width: 44px; padding-top: 12px; padding-bottom: 12px; }
  .pp-request__title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .pp-request__line, .pp-request__preview { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}
