/* The text outbox (#/texts) and a work order's texts. */
.tx-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 16px 0 14px; }
.tx-seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; gap: 4px; padding: 4px; border-radius: 14px; background: var(--tray); overflow-x: auto; max-width: 100%; }
.tx-seg button { min-height: 44px; padding: 0 14px; border: 0; border-radius: 10px; background: none; color: var(--ink-2); font: 750 15px/1 var(--font); white-space: nowrap; }
.tx-seg button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.tx-list { display: grid; gap: 10px; }
.tx-card { padding: 14px 16px; border: 1px solid var(--hair); border-radius: 16px; background: var(--card); min-width: 0; }
.tx-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.tx-to { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; min-width: 0; }
.tx-to b { font: 800 16px/1.25 var(--font); color: var(--ink); }
.tx-role { padding: 2px 8px; border-radius: 999px; background: var(--navy-tint); color: var(--navy-3); font: 750 12px/1.4 var(--font); }
.tx-phone { color: var(--ink-3); font: 600 14px/1.3 var(--font); font-variant-numeric: tabular-nums; }
.tx-when { flex: none; color: var(--ink-3); font: 600 13px/1.3 var(--font); white-space: nowrap; }
.tx-ticket { display: inline-flex; align-items: center; gap: 2px; margin-top: 6px; min-height: 32px; color: var(--navy-3); font: 700 14px/1.3 var(--font); text-decoration: none; }
.tx-ticket .ic { width: 18px; height: 18px; }
.tx-body { margin-top: 8px; padding: 12px 14px; border-radius: 14px 14px 14px 4px; background: var(--sunk); color: var(--ink); font: 500 16px/1.45 var(--font); white-space: pre-wrap; overflow-wrap: anywhere; }
.tx-foot { display: flex; justify-content: flex-end; margin-top: 8px; }
.tx-st { padding: 3px 10px; border-radius: 999px; font: 750 12.5px/1.4 var(--font); }
.tx-demo { background: var(--amber-tint); color: var(--amber-ink); }
.tx-queued { background: var(--blue-tint); color: var(--blue); }
.tx-sent { background: var(--green-tint); color: var(--green); }
.tx-failed { background: var(--red-tint); color: var(--red-ink); }
.tx-wo { margin-top: 8px; }
