/* Finding people (DECISION-4 §1, §8, §9; the approved mock visual-3/find.css).
   The plan page: header, four tabs, the search field, one chip row, the
   list (capped at 640), the outlined wider line, the docked Send. The
   mock's tokens are mapped onto the app's (--space-*, --text-2, --accent). */

.find-page {
  --list-w: 640px;
  --ok-tint: #F1F9F4;          /* invited row: the one green tint (owner, 21 Oct) */
  --ok-ink: var(--success);
  --chip-on: #E7E0F8;
}

/* The plan's column: one gap between its blocks and nothing else, so a block
   that brings its own margin (a notice, the dock) doesn't add to it, and the
   brief question's region takes no gap while it is empty (spacing audit: the
   header sat 48 over the tabs, the empty region counted the gap twice). */
.find-col { max-width: 760px; display: flex; flex-direction: column; gap: var(--gap-block); min-width: 0; }
.find-col > .pagehead { margin-bottom: 0; }
.find-col > .notice, .find-col > #brief-question .notice { margin: 0; }
#brief-question { display: grid; gap: var(--gap-stack); }
#brief-question:not(:has(*)) { display: none; }
.find-page .host-title { font-size: var(--fs-display); line-height: 1.12; letter-spacing: -0.025em; }
.find-page .hl-value { font-size: 15px; }

/* top tabs: one underlined row. The row owns the gap to the open tab, so
   every tab's content starts at margin 0 (spacing audit: Similar events
   touched the underline, Speakers sat 56 under it). */
.ptabs { display: flex; align-items: baseline; gap: var(--space-5); border-bottom: 1px solid var(--line); margin: 0 0 var(--gap-block); }
.ptabs a { position: relative; padding: 10px 0 11px; font-weight: 500; font-size: 15px; line-height: 1.3; color: var(--text-3); white-space: nowrap; text-decoration: none; }
.ptabs a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: transparent; }
.ptabs a[aria-current="page"] { color: var(--ink); }
.ptabs a[aria-current="page"]::after { background: var(--ink); }
@media (hover: hover) { .ptabs a:hover { color: var(--ink); } }
.ptabs a:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 4px; }

/* the search field: a field, never a button. It sits a block gap below the
   tab row, which the row owns (owner, 26 Oct: "the search box is very close
   to the tabs"). */
.search { display: flex; align-items: center; gap: var(--space-2); height: 48px; padding: 0 6px 0 14px; border-radius: 10px; border: 1px solid #DCD3F3; background: var(--surface); max-width: var(--list-w); }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(108,77,246,.28); }
.search .ic { width: 18px; height: 18px; flex: none; color: var(--text-2); }
.search input[type="text"] { flex: 1; min-width: 0; height: 46px; border: 0; background: none; padding: 0; font-size: var(--fs-field); color: var(--ink); box-shadow: none; }
.search input[type="text"]::placeholder { color: var(--text-3); }
.search input[type="text"]:focus, .search input[type="text"]:focus-visible { outline: none; box-shadow: none; }
.find-page .search .go { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: var(--radius-control); background: none; color: var(--text-3); cursor: pointer; }
@media (hover: hover) { .find-page .search .go:hover { background: var(--hover); color: var(--ink); } }
.try { margin: 0; font-size: var(--fs-meta); line-height: var(--lh-meta); color: var(--text-3); }
.try a, .try .text-action { color: var(--accent-text); font-weight: 500; font-size: inherit; text-decoration: none; padding: 0; min-height: 0; background: none; border: 0; cursor: pointer; }
@media (hover: hover) { .try a:hover, .try .text-action:hover { text-decoration: underline; text-underline-offset: 3px; } }

/* the chip row: one row, scrolls sideways */
.chips { display: flex; align-items: center; gap: var(--space-2); overflow-x: auto; scrollbar-width: none; margin: 0 -4px; padding: 2px 4px; }
.chips::-webkit-scrollbar { display: none; }
.lc { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: var(--radius-control); border: 1px solid #DCD3F3; background: var(--surface); font-weight: 500; font-size: 13px; line-height: 1; color: var(--text-2); white-space: nowrap; text-decoration: none; }
.lc b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (hover: hover) { .lc:hover { border-color: var(--text-2); } } /* a tapped pill doesn't stay lit (UX review M7) */
.lc[aria-current="true"] { background: var(--chip-on); border-color: var(--chip-on); color: var(--ink); }
.lc.still { background: var(--hover); border-color: var(--line); }
.lc .new { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.lc .lc-note { font-weight: 400; color: var(--text-3); }
.sep { flex: none; width: 1px; height: 20px; background: #DCD3F3; margin: 0 4px; }
.lc-wrap { flex: none; display: inline-flex; align-items: center; position: relative; }
.lc-wrap > .lc { border-top-right-radius: 0; border-bottom-right-radius: 0; padding-right: 8px; }
.find-page .lc-menu > summary { width: auto; height: 34px; padding: 0 10px; border-radius: 0 var(--radius-control) var(--radius-control) 0; background: var(--chip-on); color: var(--text-3); letter-spacing: .05em; }
.find-page .lc-menu > .menu-body { position: fixed; top: auto; right: auto; margin-top: 4px; }
.find-page .menu-fact { padding: 10px var(--space-4); font-size: var(--fs-meta); color: var(--text-3); white-space: nowrap; }
.find-page .menu-body > form > button.is-quiet { color: var(--text-3); }
/* ⋯'s refresh held off (running, cooling down, nothing newer): the same
   item, quiet, with why under it. */
.find-page .menu-body > button.menu-off { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; padding-top: 6px; padding-bottom: 6px; color: var(--text-3); cursor: default; }
@media (hover: hover) { .find-page .menu-body > button.menu-off:hover { background: none; } }
.find-page .menu-off-note { font-size: var(--fs-meta); line-height: var(--lh-meta); white-space: nowrap; }

/* the co-host, pinned first */
.find-page .plan-guests .cohost.gr { max-width: calc(var(--list-w) + 32px); margin: 0 -16px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); }
.cohost .gr-name { color: var(--ink); }
.cohost-none { font-weight: 400; color: var(--text-3); }

/* the list: flat rows on the page, hairlines between. The Guests tab stacks
   control rows (search, chips, the co-host line, the list) one --gap-stack
   apart; the children carry no margins. */
.find-page .plan-guests { display: flex; flex-direction: column; gap: var(--gap-stack); }
.find-page .plan-guests > .list, .find-page .plan-guests > .guest-list { max-width: var(--list-w); }
.find-page .guest-list { list-style: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; max-width: var(--list-w); }
.find-page .list:not(.host-filters) { border: 0; background: none; border-radius: 0; }
.find-page .plan-guests .gr, .find-page .list .gr { min-height: 44px; padding: var(--space-3); margin: 0 -12px; border-top: 1px solid var(--line); border-radius: 0; background: none; }
.find-page .guest-list > .gr:first-child { border-top: 0; }
.find-page .gr { grid-template-columns: minmax(0, 1fr) auto; }
.find-page .gr-line { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.find-page .gr-line.is-long, .find-page .gr-line.is-top { white-space: normal; }
.find-page .gr-slot { min-width: 0; }
.find-col, .find-page .plan-guests, .find-page .list { min-width: 0; }
.find-page section.list { overflow: visible; }
.find-page .gr-name, .find-page a.gr-name { color: var(--ink); font-size: var(--fs-title); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (hover: hover) { .find-page a.gr-name:hover { color: var(--accent-text); text-decoration: none; } }
.find-page .gr-line { color: var(--text-3); }
.find-page .gr-strong { font-weight: 500; }

/* the invited state: green tick, light green tint, the word */
.find-page .gr.is-invited { background: var(--ok-tint); border-radius: var(--radius-control); border-top-color: transparent; }
.find-page .gr.is-invited + .gr { border-top-color: transparent; }
.ok { display: inline-flex; align-items: center; gap: 6px; color: var(--ok-ink); font-weight: 500; font-size: 13px; line-height: 1; }
.ok .tick { width: 18px; height: 18px; border-radius: 50%; background: var(--ok-ink); color: #fff; display: grid; place-items: center; }
.ok .tick svg { width: 12px; height: 12px; stroke-width: 3; }
.yes { color: var(--ok-ink); font-weight: 500; font-size: 13px; }
.picked { display: inline-flex; align-items: center; gap: 4px; color: var(--text-2); font-weight: 500; font-size: 13px; }
.btn-pressed { background: var(--ink); border-color: var(--ink); color: var(--surface); }
@media (hover: hover) { .btn-pressed:hover { opacity: .88; } }
.picked svg { width: 14px; height: 14px; }
.fail { color: var(--warn); }

/* the list's head and dividers */
.list-note { padding: 0 0 var(--space-3); font-size: var(--fs-meta); color: var(--text-3); }
.when-line { font-weight: 500; font-size: 15px; line-height: 1.4; color: var(--ink); }
.counts { font-size: var(--fs-meta); color: var(--text-3); font-variant-numeric: tabular-nums; margin-top: var(--space-1); }
.divider { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4) 0 var(--space-2); font-size: 13px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); max-width: var(--list-w); }
.divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.divider.first { padding-top: var(--space-1); }
.find-page .host-filters { max-width: var(--list-w); margin-bottom: var(--space-2); }
/* A status line in a list's place. Its container spaces it: the tab row's
   gap, the Guests column's gap, or the list head above it. */
.plan-empty { margin: 0; padding: 0; color: var(--text-3); font-size: var(--fs-meta); }
.find-page .list-head:has(> *) + .plan-empty { margin-top: var(--gap-stack); }

/* the Invited list's quiet yes / no menu */
.find-page .reply-menu > summary { width: auto; list-style: none; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 6px; font-weight: 500; font-size: 13px; color: var(--text-2); cursor: pointer; }
.reply-menu > summary::-webkit-details-marker { display: none; }
.reply-menu > summary svg { width: 14px; height: 14px; color: var(--text-3); }
.find-page .reply-menu > summary.no { color: var(--text-3); font-weight: 400; }

/* foot of a list */
.viewmore { display: flex; justify-content: center; padding: var(--space-4) 0; border-top: 1px solid var(--line); max-width: var(--list-w); margin: 0; }
.viewmore a { position: relative; font-weight: 500; font-size: 15px; color: var(--accent-text); text-decoration: none; }
/* Under a list of boxed cards the line is the list's trailing control, a
   --gap-stack below the last card: no rule (it doubled the card's border).
   The link keeps a 44 px hit area without padding the rhythm. */
.find-page .guest-list:has(> .pc) + .viewmore { margin-top: var(--gap-stack); padding: 0; border-top: 0; }
.find-page .guest-list:has(> .pc) + .viewmore a::after { content: ""; position: absolute; inset: -12px -8px; }

/* Speakers: coming soon */
.speakers { padding: 0 0 var(--gap-section); max-width: var(--list-w); }
.speakers-head { font-weight: 600; font-size: 15px; line-height: 1.3; color: var(--text-3); margin-bottom: var(--gap-head); }
.speakers > #speakers-list:not(:first-child) { margin-top: var(--gap-block); }

/* After the event: quiet, under the list */
.find-page .plan-after { margin-top: var(--gap-block); max-width: var(--list-w); }

/* the one filled button, docked */
.find-page .dock { position: sticky; bottom: 0; z-index: 3; margin-top: 0; padding: var(--space-3) 0 var(--space-4); background: var(--paper); box-shadow: 0 -1px 0 var(--line); }
.find-page .dock-in { max-width: var(--list-w); display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.find-page .dock .plan-send { margin: 0; }
.find-page .dock .btn { height: 44px; padding: 0 20px; font-size: 16px; }
.find-page .dock .via { font-size: var(--fs-meta); color: var(--text-3); }

/* ---------- 375 ---------- */
@media (max-width: 760px) {
  .find-page .host-title { font-size: var(--fs-display); line-height: var(--lh-display); }
  .find-page .hl-value { font-size: 16px; }
  .ptabs { gap: 14px; margin: 0 calc(-1 * var(--pad-page-side)) var(--gap-block); padding: 0 var(--pad-page-side); overflow-x: auto; scrollbar-width: none; }
  .ptabs::-webkit-scrollbar { display: none; }
  .ptabs a, .ptabs-counts { flex: none; }
  .ptabs a { font-size: 15px; }
  /* The counts drop under the tabs, on their own line (owner calls, 30 Oct,
     CHA-955): the tabs keep scrolling in row 1, the rule is drawn between the
     two rows (the counts' top edge), so the active tab's underline sits on
     it. Only a row that carries counts changes. */
  .ptabs:has(.ptabs-counts) { display: grid; grid-template-columns: repeat(4, max-content) 1fr; align-items: stretch; row-gap: 0; border-bottom: 0; }
  .ptabs:has(.ptabs-counts) > a { grid-row: 1; }
  .ptabs .ptabs-counts { grid-row: 2; grid-column: 1 / -1; margin: 0 calc(-1 * var(--pad-page-side)); padding: 0 var(--pad-page-side); border-top: 1px solid var(--line-card); }
  /* The open count reads as dark, bold text; an underline here would hang below the text with no rule under it. */
  .ptabs .ptabs-counts a[aria-current="true"] { color: var(--ink); font-weight: 600; }
  .ptabs .ptabs-counts a[aria-current="true"]::after { display: none; }
  .ptabs .ptabs-counts a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; min-width: 44px; }
  .chips { margin: 0 calc(-1 * var(--pad-page-side)); padding: 2px var(--pad-page-side); }
  /* The chip row scrolls sideways, so the fixed menu's static spot can sit past the screen's edge: pin it to the right gutter. */
  .find-page .lc-menu > .menu-body { left: auto; right: var(--pad-page-side); }
  .find-page .plan-guests .gr, .find-page .list .gr { margin: 0 -8px; padding: var(--space-3) var(--space-2); }
  .find-page .plan-guests .cohost.gr { margin: 0; padding: 12px 16px; }
  .find-page .gr-tail { display: none; }
  .find-page .cohost.gr { margin: 0; }
  .find-page .dock { margin: 0 calc(-1 * var(--pad-page-side)); padding: var(--space-3) var(--pad-page-side) calc(var(--space-3) + env(safe-area-inset-bottom)); box-shadow: 0 -1px 0 #DCD3F3; }
  .find-page .dock-in { flex-direction: column; align-items: stretch; gap: 6px; }
  .find-page .dock .btn { width: 100%; height: 48px; }
  .find-page .dock .via { text-align: center; font-size: 13px; }
}

/* the pinned rows' list */
.find-page .toprows { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }

/* the open row: the person the panel shows */
.find-page .plan-guests .gr.is-open, .find-page .list .gr.is-open { background: var(--hover); border-radius: var(--radius-control); box-shadow: inset 3px 0 0 var(--accent); border-top-color: transparent; }
.find-page .gr.is-open + .gr { border-top-color: transparent; }

/* The open plan's lines in the sidebar (DECISION-4 §9, §11): its lists one
   level deeper, Messages last and quiet. */
.chat-sub { display: grid; gap: 1px; margin: 2px 0 6px 12px; padding-left: 10px; border-left: 1px solid var(--line-strong); }
.chat-sub a { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); padding: 5px 8px; border-radius: var(--radius-control); font-size: var(--fs-meta); font-weight: 500; line-height: 1.3; color: var(--text-2); text-decoration: none; }
.chat-sub a .num { color: var(--text-3); font-weight: 400; }
@media (hover: hover) { .chat-sub a:hover { background: var(--hover); color: var(--ink); text-decoration: none; } }
.chat-sub a[aria-current="true"] { background: var(--surface); color: var(--ink); }
.chat-sub .deep { margin-left: 12px; font-weight: 400; }
.chat-sub .new { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-left: 6px; vertical-align: middle; }
.chat-sub .quiet { color: var(--text-3); font-weight: 400; }
.chat-sub .msg-fail { color: var(--danger); font-weight: 400; }

/* People you met: a header line over the list, names beneath (K4) */
.plan-met { max-width: var(--list-w); margin: 0; }
.plan-met-head { font-weight: 600; font-size: 15px; line-height: 1.3; color: var(--text-3); margin-bottom: var(--space-1); }
.plan-met-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px var(--space-4); font-size: 13px; }
.plan-met-list .gr-tail { margin-left: 6px; color: var(--text-3); }
/* Plan to go: 8 under the row's fact line (the row's 4 gap and this 4). */
.ev-go { margin: var(--space-1) 0 0; }

/* ---------- the boxed person card (CHA-580, r7 Leo 2) ----------
   One card per person in every list: photo, name + in mark, "Title,
   Company" in body colour, one proof line, held-data chips; Pick top right,
   the chevron opens the rest inline. Gap 12 between cards, padding 16. */
.ptabs-counts { margin-left: auto; display: flex; align-items: center; gap: var(--space-4); }
.ptabs .ptabs-counts a { font-weight: 400; font-size: 13px; color: var(--text-3); }
.ptabs .ptabs-counts > span { font-size: 13px; color: var(--text-3); }
.ptabs .ptabs-counts a[aria-current="true"] { color: var(--ink); }
.ptabs .ptabs-counts a[aria-current="true"]::after { background: var(--ink); }
.cohost-line { margin: 0; font-size: var(--fs-meta); line-height: var(--lh-meta); color: var(--text-3); }
.cohost-line .text-action { color: var(--accent-text); font-weight: 500; font-size: inherit; padding: 0; min-height: 0; background: none; border: 0; text-decoration: none; }
@media (hover: hover) { .cohost-line .text-action:hover { text-decoration: underline; text-underline-offset: 3px; } }
.list-basis { margin: 0 0 var(--space-3); font-size: var(--fs-meta); line-height: var(--lh-meta); color: var(--text-3); font-variant-numeric: tabular-nums; }

.find-page .guest-list:has(> .pc) { display: grid; gap: var(--space-3); }
.find-page .plan-guests .gr.pc, .find-page .list .gr.pc {
  position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; column-gap: var(--space-3); row-gap: 0; align-items: start;
  min-height: 0; margin: 0; padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface);
}
/* Not a fit (CHA-641): the card fades out where it stands and a one-line row
   takes its place, with Undo. Opacity only; the next card moves up by the
   card's height once, not through an animation of layout. */
.find-page .gr.pc.htmx-swapping { opacity: 0; transition: opacity 150ms ease-out; }
.find-page .gr.pc-removed {
  display: flex; align-items: center; flex-wrap: wrap; column-gap: 6px; min-height: 52px; margin: 0; padding: 0 var(--space-4);
  border: 1px dashed var(--line); border-radius: var(--radius-card); background: none; color: var(--text-2);
  font-size: var(--fs-meta); line-height: var(--lh-meta); animation: pc-removed-in 200ms ease-out;
}
.pc-removed-name { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.pc-removed-sep { color: var(--text-3); white-space: pre; }
.pc-undo-form { margin: 0; display: inline-flex; }
.pc-undo { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 var(--space-2); border: 0; background: none; color: var(--accent-text); font: 600 15px/1 var(--font); cursor: pointer; }
@media (hover: hover) { .pc-undo:hover { text-decoration: underline; text-underline-offset: 3px; } }
@keyframes pc-removed-in { from { opacity: 0; } to { opacity: 1; } }
/* After a reload the removed people sit in one quiet fold at the foot of the
   list: "N removed · Show", one line each, "Name · Undo". */
.removed-fold { max-width: var(--list-w); margin: var(--space-4) 0 0; }
.removed-fold > summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; list-style: none; color: var(--text-3); font-size: var(--fs-meta); line-height: var(--lh-meta); }
.removed-fold > summary::-webkit-details-marker { display: none; }
.removed-fold > summary b { font-weight: 600; color: var(--text-2); font-variant-numeric: tabular-nums; }
.removed-fold .removed-show { margin-left: 4px; color: var(--accent-text); font-weight: 500; }
@media (hover: hover) { .removed-fold > summary:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; } }
.removed-fold[open] > summary { color: var(--text-2); }
.find-page .removed-fold .guest-list { margin-top: var(--space-2); display: grid; gap: var(--space-2); }
/* A refused verdict answers the card with why, under the card's own lines. */
.pc-notice { grid-column: 2 / -1; margin: var(--space-2) 0 0; font-size: var(--fs-meta); line-height: var(--lh-meta); color: var(--text-2); }
/* The first card View more adds: a brief tint, so the eye finds where the new
   people begin. Background only; nothing moves. */
.find-page .gr.pc.is-new-row { animation: pc-new-row 1.4s ease-out; }
@keyframes pc-new-row { from { background-color: var(--hover); } to { background-color: var(--surface); } }
@media (prefers-reduced-motion: reduce) {
  .find-page .gr.pc.htmx-swapping { transition: none; }
  .find-page .gr.pc-removed { animation: none; }
  .find-page .gr.pc.is-new-row { animation: none; }
}
/* The docked Send is swapped as a part of a verdict's answer; its wrapper has
   no box, so the dock still sticks to the column. */
.dock-slot { display: contents; }
.find-page .gr.pc.is-invited { background: var(--ok-tint); }
.find-page .plan-guests .gr.pc.is-open, .find-page .list .gr.pc.is-open { background: var(--hover); box-shadow: inset 3px 0 0 var(--accent); border-radius: var(--radius-card); }
.find-page .gr.pc.is-muted .pc-head, .find-page .gr.pc.is-muted .pc-body { opacity: .7; }
.pc-photo { grid-column: 1; grid-row: 1 / span 3; position: relative; width: 56px; height: 56px; border-radius: var(--radius-control); background: var(--line); overflow: hidden; }
.pc-ini { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 600; font-size: 18px; color: var(--text-3); }
.pc-head { grid-column: 2; grid-row: 1; min-width: 0; }
/* The "in" mark flows inline after the name and wraps with it. */
.pc-head .gr-who { display: block; }
.pc-head .gr-who > .gr-name { display: inline; }
.pc-head .in-mark { display: inline-flex; margin-left: var(--space-2); }
.find-page .pc-head .gr-name, .find-page .pc-head a.gr-name { font-size: 16px; line-height: 22px; font-weight: 600; white-space: normal; overflow: visible; overflow-wrap: anywhere; }
.pc-lead { display: flex; flex-wrap: wrap; align-items: baseline; min-width: 0; margin: 2px 0 0; font-size: 15px; line-height: 21px; font-weight: 400; color: var(--text-2); }
/* "Title · Company" on desktop: it may take a second line, and the company
   is never cut (CHA-580 spec A.2); the title gives way to it. */
.pc-title { flex: 0 1 auto; min-width: 3ch; overflow-wrap: anywhere; }
.pc-sep { flex: none; white-space: pre; }
.pc-co { flex: 0 0 auto; max-width: 100%; min-width: 0; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.pc-lead.is-words { display: block; }
/* At 375 title and company each take a line; the title clamps at two lines
   with a visible ellipsis, the company keeps its whole name. */
@media (max-width: 720px) {
  .pc-lead { display: block; }
  .pc-lead .pc-sep { display: none; }
  .pc-lead .pc-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
  .pc-lead .pc-co { display: block; }
  .pc-lead.is-words .pc-title { -webkit-line-clamp: 3; line-clamp: 3; }
}
/* The top row: X and Pick on one line (spec A.1), at the card's right edge
   (the chevron that sat beside them is gone, CHA-991). */
.find-page .gr.pc > .gr-slot { grid-column: 3; grid-row: 1; display: flex; align-items: center; gap: var(--space-2); margin: -6px 0 0 0; }
.find-page .gr.pc > .gr-slot form { margin: 0; display: flex; }
.pc-x { position: relative; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: var(--radius-control); background: none; color: var(--text-3); cursor: pointer; }
.pc-x svg { width: 18px; height: 18px; }
.pc-x::after { content: ""; position: absolute; inset: -4px -2px; }
@media (hover: hover) { .pc-x:hover { background: var(--hover); color: var(--ink); } }
.pc-pick, .pc-pick-size { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 36px; padding: 0 14px; border: 1px solid var(--accent); border-radius: var(--radius-control); background: none; color: var(--accent-text); font: 600 15px/1 var(--font); cursor: pointer; white-space: nowrap; }
.pc-pick svg { width: 16px; min-width: 16px; height: 16px; flex: none; } /* min-width: WebKit sized an absolutely placed Picked without its tick */
/* Pick carries Picked's tick, hidden, so a Pick shows it at the tap (app.js). */
.pc-pick:not(.is-on) > svg { display: none; }
.pc-pick::after { content: ""; position: absolute; inset: -4px -2px; }
@media (hover: hover) { .pc-pick:hover { background: var(--accent-wash); } }
.pc-pick.is-on { background: var(--accent); color: #fff; }
@media (hover: hover) { .pc-pick.is-on:hover { background: var(--accent-dark); } }
.pc-body { grid-column: 2 / -1; grid-row: 2; min-width: 0; margin-top: var(--space-1); }
.pc-body:not(:has(*)) { display: none; }
/* The proof (spec A.3): 14/20 text-2, built of four spans so only the room
   name can give way. The verb and count is 600 ink and never shrinks;
   "· latest" and the month are normal weight and never shrink; the name is
   400 ink, still a link, and takes the ellipsis. One line on a desktop; on a
   phone the line wraps and the name, one line wide at most, keeps the month
   after it. */
.find-page .pc-proof .pc-pl { display: flex; min-width: 0; max-height: none; margin: 0; font-size: 13px; line-height: 18px; color: var(--text-2); white-space: nowrap; overflow: hidden; }
.pc-pv { flex: none; font-weight: 600; color: var(--ink); }
.pc-pm, .pc-pt { flex: none; font-weight: 400; white-space: pre; }
/* Name and the month after it are one unit, so nothing sits between the name's
   ellipsis and ", Oct". */
.pc-np { display: flex; flex: 0 1 auto; min-width: 0; }
.pc-pn { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-weight: 400; color: var(--ink); }
/* A Speakers card's other parts ("spoke at 1 (Nov 2025) · went to 3 (Sep)")
   have their own line under the lead, so they can never squeeze the room
   name to a bare "…" (CHA-696). They wrap; the lead line keeps its ellipsis. */
.find-page .pc-proof a.pc-pn { text-decoration: none; }
@media (hover: hover) { .find-page .pc-proof a.pc-pn:hover { text-decoration: underline; text-underline-offset: 3px; } }
.find-page .pc-proof .pc-pl .gr-tail { flex: 0 100 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 720px) {
  .find-page .pc-proof .pc-pl { display: block; white-space: normal; overflow: visible; }
  .pc-pv, .pc-pm, .pc-pt { display: inline; }
  .pc-pm { white-space: normal; }
  .pc-pt { white-space: nowrap; }
  .pc-np { display: inline-flex; max-width: 100%; vertical-align: bottom; }
  .pc-pn { display: block; white-space: nowrap; }
}
.pc-chips { list-style: none; display: flex; gap: var(--space-2); margin: var(--space-2) 0 0; padding: 0; overflow: hidden; white-space: nowrap; }
.pc-chips li { padding: 3px 10px; border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: 12px; line-height: 16px; color: var(--text-2); }
/* The whole card opens the person (owner, 31 Oct, CHA-991), on a desktop as
   on a phone: a stretched ::after on the name's link. Pick, the ✕, the
   LinkedIn mark and the event's name sit above it, each with its own target.
   The focus ring is the card's. */
.find-page .gr.pc a.gr-name::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.find-page .gr.pc :is(.gr-slot, .in-mark, .pc-proof a, .gr-addwhy, .pc-notice) { position: relative; z-index: 1; }
.find-page .guest-list > .gr.pc { cursor: pointer; }
/* li.gr.pc: one step more specific than app.css's outline on every link. */
.find-page li.gr.pc a.gr-name:focus-visible { box-shadow: none; outline: none; }
.find-page .gr.pc:has(a.gr-name:focus-visible) { box-shadow: var(--focus-ring); } /* the card's own corners */
/* "· +4 similar" after the month never gives way: only the name does. */
.pc-ps { flex: none; white-space: pre; font-weight: 400; }
@media (max-width: 720px) {
  .find-page .plan-guests .gr.pc, .find-page .list .gr.pc { grid-template-columns: 48px minmax(0, 1fr) auto; column-gap: 10px; padding: var(--space-3); min-height: 96px; }
  .pc-photo { width: 48px; height: 48px; }
  /* X over Pick in a right column that spans the name and role rows: the name
     keeps the width the two took side by side. */
  .find-page .gr.pc > .gr-slot { grid-row: 1 / span 2; flex-direction: column; align-items: flex-end; align-self: start; margin-right: 0; gap: var(--space-2); }
  .pc-body { grid-column: 2; padding-right: 0; }
  .pc-x { width: 32px; }
  .pc-pick, .pc-pick-size { padding: 0 10px; }
  /* Picked has no X above it: the column keeps its height, Pick its place. */
  .find-page .gr.pc > .gr-slot:has(.pc-pick) { min-height: calc(32px + var(--space-2) + 36px + 4px); justify-content: flex-end; }
  .pc-chips { flex-wrap: nowrap; }
}

/* Switching lists (CHA-705): the line that names what is loading while the
   answer comes. A quiet pulse, off under reduced motion. */
.find-page .list-loading { color: var(--text-2); animation: list-loading 1.4s ease-in-out infinite; }
.find-page .list-loading[hidden] { display: none; }
@keyframes list-loading { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.plan-lists[aria-busy="true"] { cursor: progress; }
@media (prefers-reduced-motion: reduce) {
  .find-page .list-loading { animation: none; }
}

/* The host-plan loading screen (CHA-757): the steps the build runs, one
   running at a time. A done step is filled green; the running one pulses
   quietly (off under reduced motion); a passed one is filled grey; a waiting
   one is an outline. */
.plan-loader { max-width: var(--list-w, 36rem); padding: var(--space-5) 0; }
.plan-loader h2 { margin: 0 0 var(--space-4); }
.loader-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.loader-step { display: flex; align-items: center; gap: var(--space-3); color: var(--text-3); }
.loader-step.is-now { color: inherit; font-weight: 600; }
.loader-step.is-done { color: var(--text-2); }
.loader-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line); box-sizing: border-box; }
.loader-step.is-now .loader-dot { border-color: var(--accent); background: var(--accent-wash); animation: loader-pulse 1.4s ease-in-out infinite; }
.loader-step.is-done .loader-dot { border-color: var(--success); background: var(--success); }
/* Passed on time inside the search, nothing said it finished: neither done
   nor waiting. */
.loader-step.is-passed { color: var(--text-2); }
.loader-step.is-passed .loader-dot { border-color: var(--text-3); background: var(--text-3); }
@keyframes loader-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.loader-hint { margin: var(--space-4) 0 0; color: var(--text-2); }
@media (prefers-reduced-motion: reduce) {
  .loader-step.is-now .loader-dot { animation: none; }
}

/* Refreshing a list (CHA-706): a small icon beside the list's count. */
.find-page .list-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); max-width: var(--list-w); }
.find-page .list-head .list-basis { margin: 0; }
.list-head .list-refresh { margin: 0; margin-left: auto; flex: none; }
.list-refresh-go { display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: var(--radius-control); background: transparent; color: var(--text-3); cursor: pointer; }
@media (hover: hover) { .list-refresh-go:hover:not([aria-disabled="true"]) { background: var(--hover); color: var(--text-2); } }

.list-refresh-go .ic { width: 18px; height: 18px; }
.list-refresh-go.is-spinning .ic { animation: list-refresh-spin 1.2s linear infinite; }
@keyframes list-refresh-spin { to { transform: rotate(360deg); } }
/* A status line with its button: one row, --gap-stack between, wrapping
   with the same gap (the Speakers error had Try again touching its line). */
.list-failed, .people-unavailable { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap-stack); }
.list-failed p, .people-unavailable p { margin: 0; }
.list-failed form, .people-unavailable form { margin: 0; }
/* A failed refresh of a list still held is the list head's row (QA 29 Oct:
   the icon sat alone above it and Try again touched the first card): the
   status and Try again take the row, the icon stays at its end, and
   --gap-stack parts the row from the list. */
.find-page .list-head.is-failed { margin-bottom: var(--gap-stack); }
.find-page .list-head .list-failed { flex: 1 1 auto; min-width: 0; color: var(--text-2); }
@media (prefers-reduced-motion: reduce) {
  .list-refresh-go.is-spinning .ic { animation: none; }
}
.list-refresh-note { margin-left: auto; font-size: var(--fs-meta); color: var(--text-3); white-space: nowrap; }
.list-refresh-note + .list-refresh { margin-left: var(--space-1); }
.list-refresh-go[aria-disabled="true"] { cursor: default; opacity: .5; }
@media (hover: hover) { .list-refresh-go[aria-disabled="true"]:hover { background: transparent; } }
.brief-retry { margin: 0; }
