/* Texts: conversations on the left, the open one on the right. */
.smsgrid{display:grid;grid-template-columns:minmax(220px,320px) minmax(0,1fr);gap:14px;align-items:start}
.smslist{display:flex;flex-direction:column;max-height:70vh;overflow:auto}
.smsrow{display:flex;gap:10px;align-items:center;text-align:left;padding:10px 12px;border:0;border-bottom:1px solid var(--line);background:none;color:var(--text);cursor:pointer;font:inherit}
.smsrow:hover{background:var(--tint)}
.smsrow.on{background:var(--panel2);box-shadow:inset 3px 0 0 var(--accent)}
.smsrow .grow{display:flex;flex-direction:column;min-width:0}
.smsrow .clamp1{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.smsmeta{display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.smsthread{display:flex;flex-direction:column;gap:10px;min-height:420px}
.smshead{display:flex;gap:8px;align-items:baseline;padding-bottom:8px;border-bottom:1px solid var(--line)}
.smsmsgs{flex:1;max-height:56vh;overflow:auto;display:flex;flex-direction:column;gap:8px;padding:6px 2px}
.smsmsg{max-width:78%;padding:8px 12px;border-radius:14px;display:flex;flex-direction:column;gap:3px}
.smsmsg p{margin:0;white-space:pre-wrap;word-break:break-word}
.smsmsg.in{align-self:flex-start;background:var(--panel2);box-shadow:inset 0 0 0 1px var(--line)}
.smsmsg.out{align-self:flex-end;background:var(--accent);color:#fff}
.smsmsg.out .muted{color:rgba(255,255,255,.75)}
.smsmsg.bad{background:var(--bad)}
.smsreply{display:flex;gap:8px;align-items:flex-end}
.smsreply textarea{flex:1}
.vmlist{display:flex;flex-direction:column;gap:10px;max-height:60vh;overflow:auto}
.vmlist audio{width:100%;margin-top:6px}
@media (max-width:760px){.smsgrid{grid-template-columns:1fr}}
/* the wallboard */
.wall{display:flex;flex-direction:column;gap:14px}
.wall:fullscreen{background:var(--panel);padding:28px;overflow:auto}
.wtiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}
.wtile{display:flex;flex-direction:column;gap:2px;padding:16px;border-radius:14px;background:var(--panel2);box-shadow:inset 0 0 0 1px var(--line)}
.wtile span{font-size:13px;color:var(--muted)}
.wtile b{font-size:40px;line-height:1.1;font-variant-numeric:tabular-nums}
.wtile small{color:var(--muted)}
.wtile.ok b{color:var(--ok)}.wtile.warn b{color:var(--warn)}.wtile.bad b{color:var(--bad)}
.wall:fullscreen .wtile b{font-size:64px}
.wqueues{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.wq{display:flex;flex-direction:column;gap:6px;padding:14px}
.wqh{display:flex;justify-content:space-between;align-items:center;gap:8px}
.wagents{width:100%}
.wagents td{padding:8px 10px;border-bottom:1px solid var(--line)}
.row3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
input.money{max-width:130px}
@media (max-width:760px){.row3{grid-template-columns:1fr}}
