/* phone-calls.css — Cube ACR phone-call cards in the customer page's Calls
   section (js/customer-calls.js renderPhoneCall, 2026-10-01). */
.pc-card { margin-bottom: 12px; padding: 14px 16px; }
.pc-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; }
.pc-who { font-weight: 700; }
.pc-meta { font-size: 12px; color: var(--m); }
.pc-chips { margin: 6px 0; }
.pc-summary { font-size: 14px; line-height: 1.45; }
.pc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pc-play { min-height: 44px; }
.pc-audio { margin-top: 8px; }
.pc-audio audio { width: 100%; }
.pc-transcript { margin-top: 8px; }
.pc-transcript summary { cursor: pointer; font-size: 12px; color: var(--m); min-height: 44px; display: flex; align-items: center; }
.pc-transcript-body { white-space: pre-wrap; font-size: 13px; line-height: 1.5; margin-top: 6px; max-height: 320px; overflow-y: auto; }
.pc-status { margin-top: 6px; }
.pc-promises { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; line-height: 1.4; }
.pc-promise-who { display: inline-block; min-width: 38px; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--m); }
.pc-promise-jo .pc-promise-who { color: var(--orange, #e8720c); }
.pc-follow { margin-top: 6px; }
/* Call Center view (js/call-center-view.js, #/calls). */
.cc-wrap { padding: 16px; max-width: 900px; }
.cc-title { margin: 0; font-size: 24px; }
.cc-sub { margin: 4px 0 12px; font-size: 13px; color: var(--m); }
.cc-toolbar { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.cc-search {
  min-height: 44px; width: 100%; box-sizing: border-box; padding: 0 12px; border-radius: 8px; font: inherit;
  background: var(--s2, rgba(255,255,255,.05)); color: var(--t, inherit); border: 1px solid var(--br, rgba(255,255,255,.15));
}
.cc-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-tab {
  min-height: 44px; padding: 0 14px; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 700;
  background: var(--s2, rgba(255,255,255,.05)); color: var(--t, inherit); border: 1px solid var(--br, rgba(255,255,255,.15));
}
.cc-tab.is-on { background: var(--orange, #e8720c); border-color: var(--orange, #e8720c); color: var(--accent-fg, #fff); }
.cc-count { font-weight: 400; opacity: .85; }
.cc-chip {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 999px; margin: 0 4px 4px 0;
  background: var(--s3, rgba(255,255,255,.08)); color: var(--m, #9ca3af);
}
.cc-chip-urgent { background: #7f1d1d; color: #fecaca; }
.cc-chip-warn { background: #78350f; color: #fde68a; }
.cc-chip-done { background: #14532d; color: #bbf7d0; }
.cc-chip-insurance { background: #3b0764; color: #e9d5ff; }
.cc-card.is-handled { opacity: .75; }
.cc-link { display: inline-flex; align-items: center; text-decoration: none; }
.cc-attach { margin-top: 10px; }
.cc-attach-row { display: flex; gap: 8px; margin-top: 4px; }
.cc-attach-row .cc-search { flex: 1 1 auto; }
.cc-empty { padding: 28px 12px; text-align: center; color: var(--m); font-size: 14px; }
@media (max-width: 480px) { .cc-wrap { padding: 12px; } .cc-attach-row { flex-direction: column; } }
/* Texts from Jo's phone (phone_texts) — chat thread in the Calls section. */
.pt-panel { margin-bottom: 12px; padding: 10px 12px; }
.pt-summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; gap: 8px; }
.pt-thread { display: flex; flex-direction: column; gap: 6px; max-height: 420px; overflow-y: auto; padding: 6px 2px; }
.pt-day { align-self: center; font-size: 11px; color: var(--m); margin: 6px 0 2px; }
.pt-msg { max-width: 82%; padding: 7px 10px; border-radius: 14px; font-size: 14px; line-height: 1.4; }
.pt-in { align-self: flex-start; background: var(--s3, rgba(255,255,255,.08)); border-bottom-left-radius: 4px; }
.pt-out { align-self: flex-end; background: var(--orange, #e8720c); color: var(--accent-fg, #fff); border-bottom-right-radius: 4px; }
.pt-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.pt-time { font-size: 10px; opacity: .75; margin-top: 2px; text-align: right; }

/* Needs attention, grouped by person (2026-10-02): one card, each open call as a row. */
.cc-group-calls { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; }
.cc-group-call { padding: 10px 0; border-top: 1px solid var(--br, #2a2f35); }
.cc-group-call:first-child { border-top: 0; padding-top: 4px; }
.cc-group-call .pc-actions { margin-top: 6px; }
.cc-deck-btn { margin-top: 10px; }
