/* ==========================================================================
   PROSPECTS — the sales engine's page (prospects.html, 2026-10-21).

   Additions only, on the Office's own system, as station.css is: every
   colour, size and radius is office.css's token (--o-*), every button the
   Office's (.ofc-primary, .ofc-ghost, .ofc-quiet, .ofc-mode), every drawer
   .ofc-drawer, every status the Workstation's dot and word (.st-st). Nothing
   here declares a colour of its own, a :root, or a focus ring.

   Scoped under #office.pr-page.
   ========================================================================== */

@media (min-width: 62.0625rem) {
  #office.pr-page #pr-channels-card { grid-column: span 8; }
  #office.pr-page #pr-funnel-card { grid-column: span 4; }
  #office.pr-page .pr-card--wide { grid-column: span 12; }
  #office.pr-page #pr-supp-card { grid-column: span 6; }
  #office.pr-page #pr-writing-card { grid-column: span 6; }
}

/* ---------- the channels: two blocks side by side, each its reasons ---------- */
#office .pr-channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem 1.5rem; }
#office .pr-channel { min-width: 0; padding: 0.75rem 0 0; border-top: 1px solid var(--o-line); }
#office .pr-channel__h { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin: 0 0 0.5rem; }
#office .pr-channel__h b { color: var(--o-text); font: 650 var(--o-t-md)/1.3 var(--body); }
#office .pr-why { display: grid; gap: 0.25rem; margin: 0.5rem 0 0; padding: 0 0 0 1rem; color: var(--o-dim); font-size: var(--o-t-sm); font-weight: 500; line-height: 1.45; }
#office .pr-why li::marker { color: var(--o-faint); }

/* ---------- from sent to paid: four steps, each its count and its share of the one before ---------- */
#office .pr-funnel__steps { list-style: none; display: grid; gap: 0; margin: 0 0 0.75rem; padding: 0; border-top: 1px solid var(--o-line); }
#office .pr-funnel__step { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 0 0.75rem; padding: 0.5rem 0; border-bottom: 1px solid var(--o-line); }
#office .pr-funnel__k { min-width: 0; color: var(--o-dim); font-size: var(--o-t-sm); font-weight: 550; }
#office .pr-funnel__n { color: var(--o-text); font: 650 var(--o-t-md)/1.3 var(--body); font-variant-numeric: tabular-nums; }
#office .pr-funnel__s { grid-column: 1 / -1; color: var(--o-faint); font-size: var(--o-t-label); font-weight: 500; }

/* ---------- the queue --------------------------------------------------------- */
#office .pr-items { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--o-line); }
#office .pr-item { display: grid; gap: 0.5rem; min-width: 0; padding: 1rem 0 1rem; border-bottom: 1px solid var(--o-line); }
#office .pr-item__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; min-width: 0; }
#office .pr-item__t { min-width: 0; overflow-wrap: anywhere; color: var(--o-text); font: 650 var(--o-t-md)/1.35 var(--body); }
#office .pr-item__who { margin: 0; color: var(--o-dim); font-size: var(--o-t-sm); font-weight: 550; line-height: 1.45; }
#office .pr-item__meta { margin: 0; color: var(--o-faint); font-size: var(--o-t-label); font-weight: 500; }
#office .pr-item__acts { margin-top: 0.125rem; }
#office .pr-kind {
  flex: none;
  padding: 0.125rem 0.5rem;
  border-radius: var(--o-r-sm);
  background: var(--o-inset);
  color: var(--o-dim);
  font: 600 var(--o-t-xs)/1.3 var(--body);
}
#office .pr-mail { max-width: 52rem; }
/* WHAT IT WOULD SEND, as the business would read it: plain text, kept as written. */
#office .pr-body {
  max-width: 52rem;
  max-height: 22rem;
  margin: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0.75rem 1rem;
  border: 1px solid var(--o-line-2);
  border-radius: var(--o-r);
  background: var(--o-inset);
  color: var(--o-text);
  font: 500 var(--o-t-sm)/1.55 var(--body);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
#office .pr-body--small { max-height: 12rem; padding: 0.5rem 0.75rem; }
#office .pr-source, #office .pr-foot-note { margin: 0; color: var(--o-faint); font-size: var(--o-t-label); font-weight: 500; line-height: 1.45; }
#office .pr-edit { max-width: 52rem; }
#office .pr-edit textarea { min-height: 16rem; font-family: var(--body); }

/* ---------- the pipeline ------------------------------------------------------ */
#office .pr-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin: 0 0 0.75rem; }
#office .pr-filters .ofc-mode { margin: 0; flex-wrap: wrap; }
#office .pr-search { flex: 1 1 14rem; max-width: 22rem; }
#office .pr-search .ofc-input { width: 100%; }
#office .pr-table td { vertical-align: top; }
#office .pr-open { font-weight: 650; text-align: left; }
#office .pr-row__place, #office .pr-row__hold { display: block; margin-top: 0.125rem; color: var(--o-faint); font-size: var(--o-t-label); font-weight: 500; line-height: 1.4; }
#office .pr-row__hold { color: var(--o-warn-ink); }

/* ---------- one business ------------------------------------------------------ */
#office .pr-one__lede { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 0 0 0.75rem; color: var(--o-dim); font-size: var(--o-t-sm); font-weight: 550; }
#office .pr-h3 { margin: 1.5rem 0 0.5rem; color: var(--o-text); font: 650 var(--o-t-sm)/1.3 var(--body); }
#office .pr-fact__src { color: var(--o-faint); font-size: var(--o-t-label); font-weight: 500; }
#office .pr-fact__src a { color: var(--o-dim); }
#office .pr-demo { margin: 0.75rem 0 0; color: var(--o-dim); font-size: var(--o-t-sm); overflow-wrap: anywhere; }
#office .pr-demo a { color: var(--o-text); }
#office .pr-one__acts { margin-top: 1rem; }
#office .pr-msgs { display: grid; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
#office .pr-msg__h { margin: 0 0 0.25rem; color: var(--o-faint); font-size: var(--o-t-label); font-weight: 550; }
#office .pr-transcript { display: grid; gap: 0.25rem; margin: 0.5rem 0 0; padding: 0; list-style: none; color: var(--o-dim); font-size: var(--o-t-sm); line-height: 1.45; }
#office .pr-transcript b { color: var(--o-text); font-weight: 600; }
#office .pr-timeline { max-height: 18rem; overflow-y: auto; overscroll-behavior: contain; }

/* ---------- settings ------------------------------------------------------------ */
#office .pr-set { display: grid; gap: 1rem; }
#office .pr-set__g { min-width: 0; margin: 0; padding: 1rem 0 0; border: 0; border-top: 1px solid var(--o-line); }
#office .pr-set__g legend { padding: 0; color: var(--o-text); font: 650 var(--o-t-md)/1.3 var(--body); }
#office .pr-set__g > .ofc-sub { margin: 0.25rem 0 0.75rem; }
#office .pr-set__acts { margin-top: 1rem; }
#office .pr-plan { margin-top: 0.75rem; }
#office .pr-plan li.is-gone { color: var(--o-faint); text-decoration: line-through; }
#office .pr-plan .ofc-linkish { margin-left: 0.5rem; text-decoration: none; }

/* ---------- never contact ------------------------------------------------------- */
#office .pr-supp-add { margin: 0 0 0.5rem; }
#office .pr-supp-acts { align-self: end; }
#office .pr-supp { display: grid; margin: 0.5rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--o-line); max-height: 20rem; overflow-y: auto; }
#office .pr-supp__i { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.5rem; padding: 0.5rem 0; border-bottom: 1px solid var(--o-line); font-size: var(--o-t-sm); }
#office .pr-supp__i b { min-width: 0; overflow-wrap: anywhere; color: var(--o-text); font-weight: 600; }
#office .pr-supp__why { color: var(--o-faint); font-size: var(--o-t-label); }

/* The loop's button: its full name, and on a phone its short one (the full one is its label). */
#office .pr-run__short { display: none; }

/* ---------- a phone: the title has its line, the two actions a row under it ---------- */
@media (max-width: 40rem) {
  /* The stage filter is one line that scrolls, as the Office's strips are. */
  #office .pr-filters .ofc-mode { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
  #office .pr-filters .ofc-mode::-webkit-scrollbar { display: none; }
  #office .pr-filters .ofc-mode__b { flex: none; }
  #office.pr-page .ofc-top { flex-wrap: wrap; row-gap: 0.5rem; }
  #office.pr-page .ofc-top__where { flex: 1 1 100%; }
  #office.pr-page .ofc-top__acts { flex: 1 1 100%; flex-wrap: wrap; }
  /* With the light-or-dark switch first in the row (2 Nov), the three fit one line only with the short name. */
  #office .pr-run__long { display: none; }
  #office .pr-run__short { display: inline; }
}
