/* Partner calls (staff only), on the Finances page's base (finances.css) with the partner pages' tags
   (partners-pipeline.css): same palette, 44px targets, text at least 14px. Added here: the five cards, the add and
   details forms, and the call list: one card per person, with the phone number as the largest thing on it, the script
   that opens in place, the result buttons and the dated history. One column on phones. */
.pc-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pc-cards .card h2 { margin: 0; font-size: 14px; font-weight: 650; color: var(--muted); }
.pc-cards .card.attention { border-color: #f0c98a; background: linear-gradient(180deg, var(--warn-bg), #fff 70%); }
.title-actions { flex-wrap: wrap; }

.pc-form .form-grid { align-items: start; }
.pc-form label { align-content: start; }
.pc-form input, .pc-form select, .pc-form textarea { width: 100%; }
.pc-help { font-weight: 400; }
.pc-list-panel h2 { display: flex; align-items: center; gap: 8px; }
/* A long option ("Senior living communities (walk in)") must never widen the page. */
.pc-list-panel .filters label { min-width: 0; max-width: 100%; }
.pc-list-panel .filters select, .pc-list-panel .filters input { width: 100%; min-width: 0; }

.pc-list { display: grid; gap: 26px; margin-top: 6px; }
.pc-group { display: grid; gap: 10px; }
.pc-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.pc-group-head h3 { margin: 0; font-size: 17px; }
.pc-group-head span { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }

.pc-card { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; min-width: 0; scroll-margin-top: 12px; }
.pc-card.yes { border-color: #9fd3b4; box-shadow: inset 4px 0 0 var(--good); }
.pc-card.no { background: #fafbfc; }
.pc-card.no .pc-phone, .pc-card.no .pc-biz { color: var(--muted); }
.pc-card.due { border-color: #f0c98a; box-shadow: inset 4px 0 0 var(--warn); }
.pc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.pc-top > div { min-width: 0; }
.pc-biz { margin: 0; font-size: 17px; font-weight: 700; overflow-wrap: anywhere; }
.pc-who { margin: 2px 0 0; color: var(--muted); overflow-wrap: anywhere; }
.pc-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.pc-phone-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.pc-phone { font-size: 26px; font-weight: 750; letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; user-select: all; }
.pc-phone:hover { color: var(--brand); }
.pc-nophone { color: var(--warn); font-weight: 650; }
.pc-meta { margin: 0; font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.pc-meta strong { color: var(--ink); font-weight: 600; }
/* A link in a line of small print still gets a 44px tap area. */
.pc-meta a { color: var(--brand); font-weight: 600; display: inline-block; padding: 13px 0; margin: -6px 0; }
.pc-unverified { color: var(--warn); font-weight: 650; }
.pc-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }

.pc-say { border: 1px solid #cfe3ec; border-radius: 10px; background: #f4fafd; padding: 14px 16px; }
.pc-say dl { margin: 0; display: grid; gap: 14px; }
.pc-say dt { font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.pc-say dd { margin: 3px 0 0; max-width: 68ch; font-size: 17px; line-height: 1.55; }
.pc-say dd.aside { font-size: 15px; color: var(--muted); }

.pc-result { display: flex; flex-wrap: wrap; gap: 6px; }
.pc-result button { background: #fff; color: var(--ink); border-color: #b9cbd4; font-weight: 600; padding: 10px 14px; }
.pc-result button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.pc-back { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; }
.pc-back label { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pc-note { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: start; }
.pc-note textarea { width: 100%; min-height: 44px; }
.pc-history { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pc-history li { font-size: 14px; display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 2px 10px; padding-top: 6px; border-top: 1px solid #edf2f4; }
.pc-history .when { color: var(--muted); font-variant-numeric: tabular-nums; }
.pc-history .what { font-weight: 650; }
.pc-history .body { display: block; font-weight: 400; overflow-wrap: anywhere; white-space: pre-wrap; }
.pc-share { border: 1px solid #9fd3b4; background: var(--good-bg); border-radius: 10px; padding: 10px 14px; display: grid; gap: 4px; }
.pc-share p { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.pc-share code { font: inherit; font-weight: 650; user-select: all; }
.pc-empty { padding: 22px 16px; border: 1px dashed #b9cbd4; border-radius: 12px; color: var(--muted); }
body.pc-busy { cursor: progress; }

@media (max-width: 900px) {
  .pc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc-form .form-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .title-actions { width: 100%; }
  .title-actions button { flex: 1 1 140px; }
  .pc-card { padding: 14px 12px; }
  .pc-top { flex-direction: column; }
  .pc-tags { justify-content: flex-start; }
  .pc-note { grid-template-columns: minmax(0, 1fr); }
  .pc-history li { grid-template-columns: minmax(0, 1fr); }
  .pc-say dd { font-size: 16px; }
  .filters label { flex: 1 1 100%; }
}
/* What is typed reads as plain text, not in the label's weight. */
main input, main select, main textarea { font-weight: 400; }
@media (max-width: 600px) { .pc-note textarea { min-height: 68px; } }

/* The two lists: people to phone, and places to walk into (never phoned). */
.pc-modes { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 2px; }
.pc-modes button { background: #fff; color: var(--ink); border-color: #b9cbd4; display: inline-flex; align-items: center; gap: 8px; }
.pc-modes button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pc-mode-note { margin: 4px 0 10px; max-width: 70ch; }
.pc-address { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.pc-desk { margin: 0; font-size: 14px; color: var(--muted); }
.pc-desk span { user-select: all; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .pc-modes button { flex: 1 1 140px; justify-content: center; } }

/* Your details: which line knows the people on this list. */
.pc-line-note { margin: 0; max-width: 70ch; }
.tag.good { background: var(--good-bg); color: var(--good); }

/* The note for an office's own contact form. */
.pc-write { border: 1px solid #d9d3bd; border-radius: 10px; background: #fdfbf3; padding: 14px 16px; display: grid; gap: 8px; }
.pc-write h5 { margin: 6px 0 0; font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.pc-write h5:first-child { margin-top: 0; }
.pc-write p { margin: 0; }
.pc-write-subject, .pc-write-body { max-width: 68ch; font-size: 17px; line-height: 1.55; overflow-wrap: anywhere; user-select: all; }
.pc-write-body { white-space: pre-wrap; background: #fff; border: 1px solid #e6e0cc; border-radius: 8px; padding: 12px 14px; }
.pc-write-note { font-size: 15px; color: var(--muted); }
.pc-write-note.warn { color: #7a4b00; font-weight: 650; }
.pc-write-how { font-size: 15px; color: var(--muted); max-width: 68ch; }
@media (max-width: 560px) { .pc-write-subject, .pc-write-body { font-size: 16px; } }
.pc-write-steps { margin: 0; display: grid; gap: 6px; max-width: 68ch; }
.pc-write-steps div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 4px 14px; padding: 6px 0; border-bottom: 1px solid #ece6d2; }
.pc-write-steps div:last-child { border-bottom: 0; }
.pc-write-steps dt { font-size: 15px; color: var(--muted); overflow-wrap: anywhere; }
.pc-write-steps dd { margin: 0; font-size: 16px; font-weight: 650; overflow-wrap: anywhere; }
@media (max-width: 560px) { .pc-write-steps div { grid-template-columns: 1fr; gap: 0; } }
