/* Mass text: the setup window, the list of runs and the pop-up (public/js/masstext.js). */
.mx-how { margin-bottom: 12px; border: 1px solid var(--border); border-radius: 10px; padding: 8px 12px; }
.mx-how summary { cursor: pointer; font-weight: 600; }
.mx-how ul { margin: 8px 0 2px; padding-left: 18px; font-size: 13px; line-height: 1.5; }
.mx-sec { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 14px 0 6px; }
.mx-chips { align-items: center; margin-bottom: 8px; }
.mx-chips select { width: auto; max-width: 200px; }
.mx-tpl { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; border-bottom: 1px solid var(--border); cursor: pointer; }
.mx-tpl > span { min-width: 0; flex: 1; }
.mx-body { display: block; white-space: pre-wrap; overflow-wrap: anywhere; }
.mx-bad { color: var(--red); display: block; }
.mx-call { color: #92400e; }
#mx-numbers { max-height: 38vh; overflow: auto; border: 1px solid var(--border); border-radius: 10px; padding: 4px 12px; }
.mx-lead { padding: 8px 0; border-bottom: 1px solid var(--border); }
.mx-lead:last-child { border-bottom: 0; }
.mx-lead summary { cursor: pointer; }
.mx-num { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 4px 0; cursor: pointer; min-height: 30px; }
.mx-num.off { cursor: default; }
.mx-num.off b { opacity: .55; }
.mx-num .mx-bad { display: inline; }
.mx-calls { margin-top: 10px; border: 1px solid #fcd34d; background: #fffbeb; color: #422006; border-radius: 10px; padding: 4px 12px 10px; }
.mx-calls .muted { color: #78510f; }
.mx-run { margin-bottom: 12px; }
.mx-run .card-body { padding: 12px 16px; }
.mx-run details { margin-top: 8px; }
.mx-run summary { cursor: pointer; }
.mx-item { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 4px 0; }
.mx-onlead { margin-top: 6px; display: flex; flex-direction: column; gap: 4px; }
.mx-q { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.mx-ask { z-index: 400; }
/* The template library borrowed the composer picker's class, capitals and all, so every
   template on it was drawn in upper case. */
.tpl-folder:has(> .tpl-folder-head) { text-transform: none; font-weight: 400; letter-spacing: 0; font-size: inherit; }
.tpl-pic { display: inline-flex; gap: 5px; align-items: center; margin-left: 6px; white-space: nowrap; }
@media (max-width: 860px) {
  #mx-numbers { max-height: none; }
  .mx-num { min-height: 40px; }
  .mx-chips .chip { min-height: 36px; }
  .mx-calls .btn, .mx-item .btn, .mx-q .btn { min-height: 36px; }
}
