.layout .header.inbox-channel-header{flex-wrap:wrap;align-items:center}
.inbox-channel-tabs{display:grid;order:5;flex:0 0 100%;width:100%;min-width:0;
 grid-template-columns:repeat(5,minmax(0,auto));justify-content:start;gap:6px}
.inbox-channel-tabs button{min-height:42px;min-width:0;padding:8px 14px;
 display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #dce9e2;
 border-radius:9px;background:#fff;color:#355949;font-size:.89rem;font-weight:700}
.inbox-channel-tabs button[aria-pressed=true]{background:#dff7eb;border-color:#a3dbc0;color:#09623f}
.inbox-channel-tabs .workspace-icon,.mua-social-icon .workspace-icon{width:17px;height:17px;flex:none}
.mua-social-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 20px;
 border-bottom:1px solid #e7efeb}
.mua-social-account{display:flex;align-items:center;gap:11px;min-width:0;overflow-wrap:anywhere}
.mua-social-icon,.mua-social-avatar{flex:none;width:38px;height:38px;display:grid;place-items:center;
 border-radius:12px;background:#e5f8ed;color:#13664b}
.mua-social-heading h2,.mua-social-heading p,.mua-social-inbox h3{margin:0}
.mua-social-heading h2{font-size:1.18rem}
.mua-social-heading p{color:#4d685e;margin-top:3px}
.mua-social-actions,.mua-social-actions>span,.mua-social-connect,.mua-social-reply{display:flex;gap:8px;align-items:center}
.mua-social-actions,.mua-social-actions>span{flex-wrap:wrap;justify-content:flex-end}
.mua-social-setup{padding:18px 20px;color:#3a554a}
.mua-social-setup p{max-width:75ch;margin:0 0 12px;line-height:1.55;overflow-wrap:anywhere}
.mua-social-setup code{display:inline-block;max-width:100%;overflow-wrap:anywhere;padding:2px 4px;
 margin-bottom:4px;background:#ecf5ef;border-radius:4px}
.mua-social-connect{align-items:end;flex-wrap:wrap;margin-top:15px}
.mua-social-connect label{flex:0 1 min(100%,410px);font-weight:700}
.mua-social-connect input,.mua-social-reply textarea{display:block;width:100%;min-width:0;padding:10px 11px;
 border:1px solid #c9dfd3;border-radius:8px;background:#fff;color:#18392a}
.mua-social-connect input{margin-top:5px}
.mua-social-status,.mua-social-reply-status{margin:10px 14px;padding:9px 12px;border-radius:8px;
 background:#fff6dc;color:#694504;overflow-wrap:anywhere}
.mua-social-conversations{display:grid;grid-template-columns:minmax(190px,1fr) minmax(0,2fr);min-height:430px}
.mua-social-list{min-width:0;border-right:1px solid #e7efeb}
.mua-social-list h3,.mua-social-thread-heading{padding:13px 15px}
.mua-social-list h3,.mua-social-thread-heading h3{font-size:1rem;overflow-wrap:anywhere}
#socialInboxThreads{max-height:52dvh;overflow:auto;padding:0 8px 8px}
.mua-social-row{display:flex;gap:9px;align-items:center;width:100%;padding:9px;text-align:left;
 background:#fff;border:1px solid #e5eee9;border-radius:8px;color:#26483a;margin:0 0 6px}
.mua-social-row[aria-pressed=true]{background:#eaf8f0;border-color:#a2d6bb}
.mua-social-row-main{min-width:0;flex:1;display:grid;gap:3px}
.mua-social-row-main strong,.mua-social-row-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mua-social-row-main small,.mua-social-row-main time{color:#527164;font-size:.8rem}
.mua-social-detail{min-width:0}
.mua-social-messages{height:clamp(270px,48dvh,580px);overflow:auto;padding:12px 15px;display:flex;flex-direction:column;
 gap:8px;background:#f5faf7}
.mua-social-messages .chat-owner-bubble{overflow-wrap:anywhere;white-space:pre-wrap}
.mua-social-empty{margin:0;padding:15px;color:#557064}
.mua-social-reply{padding:10px 13px;align-items:end}
.mua-social-reply textarea{resize:vertical;font:inherit}
.mua-social-reply button{flex:none}
.mua-social-inbox [hidden]{display:none}
.mua-tiktok-setup{padding:clamp(20px,3vw,38px);max-width:730px}
.mua-tiktok-setup h3{font-size:1.2rem;margin:17px 0 10px}
.mua-tiktok-setup p{margin:10px 0;line-height:1.6;color:#466558;overflow-wrap:anywhere}
.mua-tiktok-badge{display:inline-block;padding:6px 11px;border:1px solid #f2d59b;
 background:#fff8e8;color:#80510b;border-radius:999px;font-size:.8rem;font-weight:700}
.mua-tiktok-docs{display:inline-flex;align-items:center;margin-top:15px;text-decoration:none;
 border:1px solid #c8e1d4;border-radius:9px;color:#127e54;font-weight:700;
 padding:11px 14px;background:#f0faf4}
.mua-tiktok-docs:hover{background:#def3e7}
@media(max-width:700px){
 .layout .header.inbox-channel-header{flex-wrap:wrap!important}
 .layout .inbox-channel-tabs{grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}
 .layout .inbox-channel-tabs button{gap:2px;padding:8px 1px;font-size:clamp(.59rem,2.6vw,.77rem);white-space:nowrap}
 .inbox-channel-tabs button .workspace-icon{display:none}
 .mua-social-heading,.mua-social-setup{padding:12px}
 .mua-social-heading{align-items:flex-start}
 .mua-social-heading .mua-social-icon{display:none}
 .mua-social-actions button{min-height:38px;padding:5px 8px;font-size:.8rem}
 .mua-social-conversations{grid-template-columns:1fr;min-height:0}
 .mua-social-list{border:0;border-bottom:1px solid #e7efeb}
 #socialInboxThreads{max-height:170px}
 .mua-social-messages{height:260px}
}
