#smsInbox .sms-workspace-card{padding:20px;overflow:hidden}
.sms-split{display:grid;grid-template-columns:minmax(260px,320px) minmax(0,1fr);border:1px solid var(--line);border-radius:14px;overflow:hidden;margin-top:16px;background:#fff;height:clamp(580px,calc(100dvh - 270px),900px)}
.sms-sidebar{display:flex;flex-direction:column;min-width:0;min-height:0;background:#fafbfe;border-right:1px solid var(--line)}
.sms-sidebar-head{padding:18px 16px 12px;border-bottom:1px solid var(--line)}
.sms-sidebar-head h3{margin:0 0 12px}.sms-sidebar-head label{font-size:12px}.sms-sidebar-head select{width:100%;margin:5px 0 8px}.sms-sidebar-head label[for=rcShowArchived]{display:flex;gap:8px;align-items:center;margin:8px 0 0}
#rcEmployeeList{overflow:auto;flex:1;min-height:0;padding:6px}#rcEmployeeList>.toolbar{padding:12px 6px;justify-content:space-between;font-size:12px}
.sms-inbox-row{display:flex;align-items:center;gap:10px;padding:14px 10px;width:100%;border:0;border-bottom:1px solid #e8ecf2;border-radius:9px;background:transparent;text-align:left;color:inherit;font:inherit;cursor:pointer;min-height:86px}
.sms-inbox-row:hover{background:#eef3fa}.sms-inbox-row[aria-pressed=true]{background:#e6f0ff;box-shadow:inset 3px 0 #2674cd}.sms-inbox-row:focus-visible{outline:3px solid #2674cd;outline-offset:-3px}
.sms-avatar{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:50%;background:#e0e8f3;color:#315c8d;font-size:13px;font-weight:700}
.sms-inbox-copy{display:grid;gap:5px;min-width:0;flex:1}.sms-inbox-heading{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px}.sms-inbox-heading strong{font-size:14px;overflow-wrap:anywhere}.sms-inbox-heading time,.sms-inbox-copy small{font-size:11px;color:var(--mut)}.sms-inbox-preview{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#52657d}.sms-unread .sms-inbox-heading strong,.sms-unread .sms-inbox-preview{font-weight:700;color:#132e50}
.sms-thread-pane{display:flex;flex-direction:column;min-height:0;min-width:0}.sms-thread-head{padding:16px 20px;border-bottom:1px solid var(--line)}.sms-thread-head h3{font-size:16px;margin:0 0 9px;overflow-wrap:anywhere}.sms-thread-head .btn{font-size:12px;padding:6px 10px}.sms-order-label{font-size:11px;color:var(--mut);margin:8px 0 0}
#rcEmployeeThread{flex:1;min-height:160px;overflow:auto;padding:20px;background:#f7f9fc;scrollbar-gutter:stable}#rcEmployeeThread>.toolbar{font-size:12px;justify-content:center;padding:15px 0}
.sms-message{display:flex;flex-direction:column;align-items:flex-start;max-width:78%;margin:0 auto 22px 0;min-width:0}.sms-message-out{align-items:flex-end;margin:0 0 22px auto}.sms-message-meta{display:flex;flex-wrap:wrap;gap:8px;font-size:11px;color:#5b6b80;margin:0 5px 6px}.sms-message-meta strong{font-weight:600}.sms-bubble{background:#fff;border:1px solid #dde4ed;border-radius:16px 16px 16px 4px;padding:12px 15px;box-shadow:0 1px 2px #142d4f08;max-width:100%}.sms-message-out .sms-bubble{background:#2168b3;color:#fff;border-color:#2168b3;border-radius:16px 16px 4px 16px}.sms-message-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55;font-size:14px}.sms-delivery{font-size:10px;color:#6a7c92;margin:5px}.sms-bubble .sms-image a{color:inherit}.sms-bubble .sms-image img{max-width:100%!important}.sms-bubble .sms-image .btn{background:white;color:#194b7f}
.sms-reply-composer{flex:none;border-top:1px solid var(--line);padding:12px 18px 16px;background:#fff}.sms-reply-composer label{font-size:12px;font-weight:600}.sms-reply-composer #rcEmployeeReplyState{font-size:11px;line-height:1.4;margin:5px 0 8px}.sms-reply-composer textarea{width:100%;min-height:68px!important;max-height:180px;resize:vertical;box-sizing:border-box;font:inherit;padding:12px;border:1px solid var(--line);border-radius:12px}.sms-reply-composer .toolbar{justify-content:flex-end;margin-top:8px}
.sms-connection-tools{margin:12px 0;font-size:13px}.sms-connection-tools>summary,.sms-new-composer>summary{cursor:pointer;font-weight:600;padding:12px 0}.sms-new-composer{padding:0 16px;border:1px solid var(--line);border-radius:12px;margin:12px 0}.sms-empty{padding:24px;color:var(--mut)}
@media(max-width:760px){#smsInbox .sms-workspace-card{padding:12px}.sms-split{grid-template-columns:1fr;height:auto;overflow:visible}.sms-sidebar{border-right:0;border-bottom:1px solid var(--line);max-height:340px}.sms-sidebar-head{padding:12px}#rcEmployeeList{min-height:100px;max-height:230px}.sms-thread-pane{height:660px;max-height:90dvh}.sms-thread-head{padding:14px}.sms-message{max-width:92%}#rcEmployeeThread{padding:14px}.sms-reply-composer{padding:12px}.sms-inbox-row{padding:10px}.sms-inbox-heading time{margin-left:auto}}
