.communications-tabs{display:flex;gap:8px;margin:0 0 12px}.communications-tabs button{border:1px solid #28313c;background:#11161d;color:#9aa6b6;border-radius:10px;padding:10px 14px;font-weight:700;cursor:pointer}.communications-tabs button.active{background:#1b2940;color:#fff;border-color:#3a5f9b}.communications-tabs button span{display:inline-grid;min-width:18px;height:18px;place-items:center;margin-left:6px;border-radius:99px;background:#9b2c3b;color:#fff;font-size:9px}.communications-pane-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.communications-pane.hidden{display:none}.b2b-comms-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:flex-end;margin-bottom:12px}.b2b-comms-toolbar p{margin:5px 0 0}.b2b-comms-actions{display:flex;gap:8px}.b2b-comms{height:calc(100vh - 275px);min-height:610px;display:grid;grid-template-columns:390px minmax(0,1fr);border:1px solid #202630;border-radius:18px;overflow:hidden;background:#0e1116}.b2b-comms-list-pane{min-width:0;border-right:1px solid #202630;background:#0b0e13;display:flex;flex-direction:column}.b2b-comms-search-row{display:grid;grid-template-columns:1fr 135px;gap:8px;padding:12px 12px 7px}.b2b-comms-search-row input,.b2b-comms-search-row select,.b2b-reply select{background:#151a22;border:1px solid #303846;color:#eef2f7;border-radius:9px;padding:10px 11px}.b2b-thread{width:100%;border:0;border-top:1px solid #181e27;background:transparent;color:var(--text);padding:12px;display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:10px;align-items:center;text-align:left;cursor:pointer}.b2b-thread:hover{background:#111722}.b2b-thread.active{background:#172037;box-shadow:inset 3px 0 0 #8c6be8}.b2b-thread-avatar{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;font-size:9px;font-weight:900;background:#302750;color:#d9ccff}.b2b-thread-main{min-width:0;display:grid}.b2b-thread-main b,.b2b-thread-main small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.b2b-thread-main small{color:var(--muted);font-size:10px;margin-top:3px}.b2b-thread-side{display:grid;justify-items:end;gap:5px}.b2b-thread-side em{font-style:normal;font-size:9px;padding:3px 6px;border-radius:99px;background:#24344d;color:#a9c7f2}.b2b-thread-side strong{min-width:20px;height:20px;padding:0 5px;border-radius:99px;background:#a63243;display:grid;place-items:center;font-size:9px}.b2b-comms-dialog-pane{min-width:0;background:#0e1116;position:relative}.b2b-dialog{height:100%;display:grid;grid-template-rows:auto auto 1fr auto}.b2b-dialog-head{padding:12px 16px;border-bottom:1px solid #202630;display:flex;align-items:center;justify-content:space-between;gap:12px}.b2b-dialog-head h4{margin:0 0 4px;font-size:16px}.b2b-dialog-head small{color:var(--muted)}.b2b-dialog-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.b2b-thread-meta{display:flex;gap:8px;flex-wrap:wrap;padding:9px 14px;border-bottom:1px solid #202630;background:#0b0e13}.b2b-chip{font-size:10px;padding:5px 8px;border-radius:99px;background:#17202d;color:#afbdd0}.b2b-chip.reply{background:#41262d;color:#ffc1c9}.b2b-chip.interested{background:#173727;color:#a8eec0}.b2b-message.note{align-self:center;background:#25232c;border:1px dashed #4c4659;max-width:82%}.b2b-reply{display:grid;grid-template-columns:auto 1fr auto;gap:9px;padding:12px;border-top:1px solid #202630;background:#0b0e13}.b2b-reply-controls{display:grid;gap:6px}.b2b-reply textarea{min-height:66px;max-height:160px}.b2b-source-link{color:#9fc2ff;text-decoration:none}.b2b-source-link:hover{text-decoration:underline}
.b2b-new-dialog{width:min(980px,94vw);max-height:92vh}.b2b-new-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.b2b-new-grid .span-2{grid-column:span 2}.b2b-new-grid .span-3{grid-column:1/-1}.b2b-new-grid label{display:flex;flex-direction:column;gap:6px;font-size:11px;color:#9ca8b8}.b2b-new-grid input,.b2b-new-grid select,.b2b-new-grid textarea{width:100%;box-sizing:border-box;background:#151a22;border:1px solid #303846;color:#eef2f7;border-radius:9px;padding:10px 11px;font:inherit}.b2b-new-grid textarea{resize:vertical;min-height:78px}.b2b-status-select,.b2b-interest-select{background:#151a22;border:1px solid #303846;color:#eef2f7;border-radius:8px;padding:7px 8px;font-size:10px}.b2b-converted-note{padding:7px 10px;border-radius:9px;background:#173523;color:#a8e9bb;font-size:10px}.b2b-empty-state{padding:20px;color:#778293}.b2b-direction{display:inline-block;margin-bottom:5px;font-size:9px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;opacity:.75}@media(max-width:900px){.b2b-comms{grid-template-columns:320px minmax(0,1fr)}.b2b-reply{grid-template-columns:1fr}.b2b-reply-controls{grid-template-columns:1fr 1fr}}@media(max-width:700px){.communications-tabs{overflow:auto}.b2b-comms{height:auto;min-height:0;grid-template-columns:1fr}.b2b-comms-list-pane{height:360px;border-right:0;border-bottom:1px solid #202630}.b2b-comms-dialog-pane{height:650px}.b2b-comms-search-row{grid-template-columns:1fr}.b2b-comms-toolbar{align-items:stretch;flex-direction:column}.b2b-new-grid{grid-template-columns:1fr}.b2b-new-grid .span-2,.b2b-new-grid .span-3{grid-column:auto}}
.b2b-source-channels{display:flex;gap:8px;overflow-x:auto;padding:0 0 10px}.b2b-source-pill{min-width:145px;border:1px solid #27313e;background:#111720;color:#dfe6ef;border-radius:12px;padding:9px 11px;display:grid;grid-template-columns:1fr auto;gap:2px 8px;text-align:left;cursor:pointer}.b2b-source-pill:hover{border-color:#496b9f;background:#151e2b}.b2b-source-pill span{font-size:10px;font-weight:800}.b2b-source-pill b{font-size:13px}.b2b-source-pill small{grid-column:1/-1;color:#758197;font-size:9px}.b2b-summary{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}.b2b-summary span{display:inline-flex;gap:5px;align-items:center;padding:6px 9px;border-radius:999px;background:#151c25;color:#9aa6b6;font-size:10px}.b2b-summary span b{color:#eef2f7}.b2b-summary .attention{background:#41272c;color:#ffc0c9}.b2b-summary .success{background:#183425;color:#abe6bd}.b2b-comms-source-filter{padding:0 12px 6px}.b2b-comms-source-filter select{width:100%;background:#151a22;border:1px solid #303846;color:#eef2f7;border-radius:9px;padding:9px 10px}.danger-soft{border-color:#57313a!important;color:#efadb6!important;background:#21171a!important}.danger-soft:hover{background:#321b21!important}.b2b-thread-side em+em{margin-top:2px}.b2b-thread-avatar{font-size:8px;letter-spacing:-.02em}
