.staff-texting{min-width:0;padding:22px}
.staff-texting .card-top{margin-bottom:12px}
.staff-texting .message{margin:12px 0}
.staff-texting-meta{display:flex;flex-wrap:wrap;gap:14px 26px;margin:18px 0;font-size:13px}
.staff-texting-meta>div{min-width:0}
.staff-texting-meta dt{color:var(--muted);font-size:12px}
.staff-texting-meta dd{margin:4px 0 0;overflow-wrap:anywhere}
.staff-texting-address{display:block;font-size:12px;line-height:1.6;overflow-wrap:anywhere;user-select:all;margin:10px 0}
.staff-texting-adopt{display:grid;grid-template-columns:1fr 1fr;gap:16px 22px;max-width:760px;padding:20px 0;border-top:1px solid var(--line);margin-top:16px}
.staff-texting-adopt h4,.staff-texting-adopt .button-row,.staff-texting-adopt .staff-texting-address{grid-column:1/-1}
.staff-texting-adopt label{min-width:0}
.staff-texting-adopt input[name=code]{max-width:240px}
.staff-texting-layout{display:grid;grid-template-columns:minmax(200px,280px) minmax(0,1fr);border:1px solid var(--line);border-radius:6px;overflow:hidden;margin-top:22px;background:white}
.staff-texting-threads{border-right:1px solid var(--line);max-height:680px;overflow:auto}
.staff-texting-thread{display:grid;gap:6px;width:100%;text-align:left;padding:16px;border:0;border-bottom:1px solid var(--line);background:white;font-size:13px;min-height:44px}
.staff-texting-thread[aria-pressed=true]{background:var(--soft);box-shadow:inset 3px 0 var(--teal)}
.staff-texting-thread strong,.staff-texting-thread span{overflow-wrap:anywhere}
.staff-texting-thread .badge{justify-self:start}
.staff-texting-reader{min-width:0;padding:20px}
.staff-texting-reader h3{margin:16px 0;font-size:17px}
.staff-texting-messages{list-style:none;padding:0;margin:16px 0;max-height:400px;overflow:auto;overscroll-behavior:contain}
.staff-texting-message{max-width:90%;padding:12px 14px;background:var(--soft);border-radius:5px;margin-bottom:12px;overflow-wrap:anywhere}
.staff-texting-message.outgoing{margin-left:auto;background:#f4f7f8}
.staff-texting-message .small{font-size:11px;margin-bottom:6px;line-height:1.5}
.staff-texting-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6;margin:0}
.staff-texting-reply{display:grid;gap:12px;border-top:1px solid var(--line);padding-top:16px}
.staff-texting-reply textarea{min-height:96px;resize:vertical}
.staff-texting-reply .btn{justify-self:start}
.staff-texting-hold{padding:12px 14px;border:1px solid #d8bd81;background:#fff8e9;border-radius:5px;margin:12px 0;font-size:13px;line-height:1.5}
.staff-texting-hold .staff-texting-body{margin:8px 0}
.staff-texting-hold .button-row{margin-top:10px}
.staff-texting button:focus-visible,.staff-texting summary:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
@media(max-width:700px){.staff-texting{padding:18px}.staff-texting-adopt{grid-template-columns:1fr}.staff-texting-layout{grid-template-columns:1fr}.staff-texting-threads{max-height:240px;border-right:0;border-bottom:1px solid var(--line)}.staff-texting-reader{padding:16px}.staff-texting-message{max-width:96%}.staff-texting .btn,.staff-texting .link{min-height:44px}.staff-texting-adopt .button-row{align-items:stretch}.staff-texting-adopt .btn{white-space:normal}}

.staff-texting-reader>h2{font-size:16px;line-height:1.4;margin:0 0 16px}
