.comm-page{padding:18px 18px 22px;min-height:calc(100vh - var(--topbar-h,74px));background:#f3f3f5;color:#171622}.comm-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:14px}.comm-eyebrow{font-size:11px;font-weight:800;letter-spacing:.12em;color:#75758d;margin-bottom:5px}.comm-page-head h1{font-size:31px;line-height:1.08;letter-spacing:-.035em;margin:0;max-width:880px}.comm-page-head p{margin:6px 0 0;color:#74758a;font-size:15px}.comm-head-actions,.comm-thread-actions,.comm-action-buttons{display:flex;gap:10px;align-items:center}.comm-btn{height:42px;border:1px solid #dddde7;background:#fff;border-radius:10px;padding:0 15px;font-weight:700;color:#333344;cursor:pointer;box-shadow:0 2px 6px rgba(33,24,65,.04)}.comm-btn.primary{background:#7041e6;color:#fff;border-color:#7041e6}.comm-btn.icon-only{width:42px;padding:0}.comm-toolbar{display:flex;justify-content:space-between;align-items:end;border-bottom:1px solid #dddde7;background:#fff;margin:0 -18px;padding:0 18px}.comm-tabs,.comm-filters{display:flex;gap:6px;align-items:center}.comm-tabs a{padding:14px 14px 12px;text-decoration:none;color:#57586b;font-weight:700;border-bottom:3px solid transparent}.comm-tabs a.active{color:#5f31e6;border-bottom-color:#7041e6}.comm-filters{padding-bottom:6px}.comm-filters a{padding:8px 13px;border:1px solid #e0e0e8;border-radius:9px;text-decoration:none;color:#55566a;background:#fff;font-size:13px}.comm-filters a.active{background:#f1ebff;border-color:#e3d8ff;color:#6736e5;font-weight:800}.comm-shell{display:grid;grid-template-columns:minmax(245px,27%) minmax(390px,1fr) minmax(300px,31%);gap:12px;height:calc(100vh - 222px);min-height:600px;margin-top:12px}.comm-inbox,.comm-thread,.comm-context{min-width:0}.comm-inbox,.comm-thread{background:#fff;border:1px solid #e3e3eb;border-radius:12px;overflow:hidden}.comm-search{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;margin:12px;padding:0 10px;height:42px;background:#f6f6f9;border-radius:9px;color:#77798b}.comm-search input{border:0;outline:0;background:transparent;width:100%;font:inherit;color:#333}.comm-search button{border:0;background:transparent;font-size:18px;color:#595a6b}.comm-conversation-list{height:calc(100% - 66px);overflow:auto}.comm-conversation{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:10px;padding:12px 13px;text-decoration:none;color:#20202b;border-top:1px solid #f0f0f5}.comm-conversation.active{background:#f2edff}.comm-conversation.active:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#7041e6}.comm-channel-icon{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;background:#efeaff;color:#7041e6;font-weight:900;font-size:20px}.ch-whatsapp{background:#13b65f;color:#fff}.ch-email{background:#e9f4ff;color:#157dd5}.comm-conv-copy{min-width:0}.comm-conv-copy b,.comm-conv-copy span,.comm-conv-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.comm-conv-copy b{font-size:14px}.comm-conv-copy span{font-size:11px;color:#7c7d8e;margin-top:2px}.comm-conv-copy small{font-size:12px;color:#696a7c;margin-top:3px}.comm-conv-meta{text-align:right;font-size:11px;color:#8a8b9a}.comm-conv-meta i{display:grid;place-items:center;margin:10px 0 0 auto;width:22px;height:22px;border-radius:50%;background:#7041e6;color:#fff;font-style:normal}.comm-thread{display:flex;flex-direction:column}.comm-thread-head{min-height:70px;padding:10px 14px;display:flex;justify-content:space-between;gap:10px;align-items:center;border-bottom:1px solid #e8e8ef}.comm-thread-title{display:flex;align-items:center;gap:10px;min-width:0}.comm-thread-title h2{font-size:17px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.comm-thread-title span{font-size:11px;color:#7f8090}.online-dot{display:inline-block;width:8px;height:8px;background:#20c99a;border-radius:50%;margin-right:5px}.comm-thread-actions button{width:34px;height:34px;border:1px solid #e0e0e9;background:#fff;border-radius:8px;color:#595a6b}.comm-thread-actions .schedule{width:auto;padding:0 12px;color:#6231e2;background:#f2ecff;border-color:#e6dcff;font-weight:800}.comm-message-stream{flex:1;overflow:auto;padding:16px 18px;background:#fff}.comm-date-sep{display:flex;justify-content:center;margin:2px 0 12px}.comm-date-sep span{font-size:11px;padding:5px 10px;border-radius:12px;background:#f2f2f6;color:#77788a}.comm-message{display:flex;gap:9px;margin:10px 0;max-width:88%}.comm-message.mine{margin-left:auto;flex-direction:row-reverse}.comm-avatar{flex:0 0 34px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#ece9ff;color:#6540d9;font-weight:800;font-size:11px}.comm-message-body{min-width:0}.comm-sender{display:flex;gap:8px;align-items:center;font-size:11px;margin-bottom:4px}.comm-sender time{color:#a0a1ae}.comm-bubble{padding:10px 12px;background:#f1f1f5;border-radius:10px;font-size:13px;line-height:1.45;white-space:pre-wrap}.comm-message.mine .comm-bubble{background:#7041e6;color:#fff}.comm-composer{display:grid;grid-template-columns:auto auto 1fr auto auto;gap:6px;align-items:end;padding:10px 12px;border-top:1px solid #e6e6ee;background:#fff}.comm-composer button{width:34px;height:34px;border:0;background:#f4f4f8;border-radius:8px;color:#5f6072}.comm-composer textarea{resize:none;max-height:100px;min-height:34px;border:0;outline:0;padding:8px;background:#fafafd;border-radius:8px}.comm-composer .send{width:64px;background:#7041e6;color:#fff;font-weight:800}.comm-context{display:flex;flex-direction:column;gap:10px;overflow:auto}.comm-dark-card,.comm-action-card{border-radius:12px;padding:14px;color:#fff;background:#201d2e;box-shadow:0 8px 20px rgba(31,28,48,.12)}.comm-context-tabs{display:flex;align-items:center;gap:16px;border-bottom:1px solid rgba(255,255,255,.12);margin:-4px -2px 14px;padding:0 0 8px}.comm-context-tabs a{color:#d6d3df;text-decoration:none;font-size:12px;padding:4px 0;border-bottom:2px solid transparent}.comm-context-tabs a.active{color:#9a73ff;border-bottom-color:#7041e6}.comm-context-close{margin-left:auto;border:0;background:transparent;color:#fff;font-size:24px;line-height:1}.comm-context-title{display:flex;gap:11px;align-items:center}.comm-context-symbol{width:54px;height:54px;border-radius:10px;display:grid;place-items:center;background:#4a237f;color:#9f73ff;font-size:25px}.comm-context-title h3{margin:0 0 4px;font-size:18px}.comm-context-title span{font-size:11px;color:#b9b6c5}.comm-member-head{display:flex;justify-content:space-between;margin-top:16px;font-size:12px}.comm-members{display:flex;gap:5px;margin:9px 0 12px}.comm-members span,.comm-members button{width:33px;height:33px;border-radius:50%;display:grid;place-items:center;background:#ece8ff;color:#5f3bd0;border:2px solid #2c283d;font-size:10px;font-weight:800}.comm-members button{background:#302c40;color:#fff}.comm-context-list{margin:0}.comm-context-list div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid rgba(255,255,255,.11);font-size:12px}.comm-context-list dt{color:#c0bdca}.comm-context-list dd{margin:0;text-align:right}.comm-action-card{background:linear-gradient(135deg,#2a2239 0%,#3e176c 100%)}.comm-action-card h3{margin:0;font-size:17px}.comm-action-card p{font-size:12px;line-height:1.45;color:#e0d9eb}.action-bolt{font-size:25px;color:#7d4fff}.comm-action-buttons button,.comm-quick-form button{height:34px;border-radius:8px;border:1px solid rgba(255,255,255,.18);background:#2b2539;color:#fff;padding:0 10px;font-weight:700;font-size:11px}.comm-action-buttons button:first-child{background:#7041e6;border-color:#7041e6}.comm-quick-form{margin-top:8px}.comm-quick-form form{display:flex;gap:6px;margin-top:6px}.comm-quick-form input{min-width:0;flex:1;height:34px;border:1px solid rgba(255,255,255,.18);background:#fff;color:#222;border-radius:8px;padding:0 9px}.pinned-card h3{font-size:14px;margin:0 0 10px}.dark-empty{font-size:12px;line-height:1.45;color:#b9b6c6;background:rgba(255,255,255,.04);padding:12px;border-radius:8px}.comm-related-list{display:flex;flex-direction:column;gap:7px}.comm-related-list a{display:block;color:#fff;text-decoration:none;background:rgba(255,255,255,.05);border-radius:8px;padding:10px}.comm-related-list b,.comm-related-list span{display:block}.comm-related-list span{font-size:11px;color:#aaa6ba;margin-top:3px}.comm-empty,.comm-empty-thread,.comm-empty-wide{display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;color:#858698;text-align:center;padding:28px}.comm-empty-thread{flex:1}.comm-empty-thread.full{height:100%}.comm-meetings-view{margin-top:12px;background:#fff;border:1px solid #e2e2e9;border-radius:12px;padding:16px}.comm-meeting-head{display:flex;justify-content:space-between;align-items:center}.comm-meeting-head span{font-size:10px;color:#8a8b9b;letter-spacing:.12em}.comm-meeting-head h2{margin:4px 0 0}.comm-meeting-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}.comm-meeting-card{display:grid;grid-template-columns:42px 1fr auto;gap:10px;padding:14px;border:1px solid #e5e5ec;border-radius:10px;text-decoration:none;color:#222}.comm-meeting-card b,.comm-meeting-card span,.comm-meeting-card small{display:block}.comm-meeting-card span,.comm-meeting-card small{font-size:11px;color:#7d7e8e;margin-top:3px}.comm-meeting-card em{font-style:normal;font-size:11px;color:#7041e6}.comm-meeting-icon{width:42px;height:42px;border-radius:10px;display:grid;place-items:center;background:#efeaff;color:#7041e6}
@media(max-width:1450px){.comm-shell{grid-template-columns:260px minmax(0,1fr)}.comm-context{position:fixed;z-index:60;right:18px;top:88px;bottom:18px;width:330px;transform:translateX(calc(100% + 30px));transition:.2s}.comm-shell.context-open .comm-context{transform:none}.comm-thread-head{padding-right:12px}.comm-context.empty{display:none}}
@media(max-width:1050px){.comm-page{padding:12px}.comm-page-head h1{font-size:25px}.comm-filters{overflow:auto;max-width:55vw}.comm-shell{grid-template-columns:230px minmax(0,1fr);height:calc(100vh - 205px)}.comm-thread-actions button:not(.schedule){display:none}.comm-meeting-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.comm-page-head{display:block}.comm-head-actions{margin-top:10px}.comm-toolbar{align-items:flex-start;flex-direction:column}.comm-filters{max-width:100%;padding:6px 0}.comm-shell{display:block;height:auto}.comm-inbox{height:34vh;margin-bottom:10px}.comm-thread{height:58vh}.comm-context{left:12px;right:12px;width:auto}.comm-page-head h1{font-size:22px}.comm-meeting-grid{grid-template-columns:1fr}}

.comm-connector-warning{padding:8px 12px;background:#fff6df;color:#8a5c00;border-top:1px solid #f1dfad;font-size:11px}.comm-connector-warning a{color:#7041e6;font-weight:800}.comm-composer button:disabled,.comm-composer textarea:disabled{opacity:.45;cursor:not-allowed}


/* Release 1.0 — Design Review 54 Chats layout */
.comm-shell {
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 0;
  min-height: 610px;
  border: 1px solid #e4e2eb;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.comm-inbox,
.comm-thread {
  border: 0;
  border-radius: 0;
}
.comm-inbox {
  border-right: 1px solid #e5e3ec;
}
.comm-context {
  position: fixed;
  z-index: 60;
  right: 18px;
  top: 88px;
  bottom: 18px;
  width: min(360px, calc(100vw - 36px));
  transform: translateX(calc(100% + 40px));
  transition: transform .2s ease;
  pointer-events: none;
}
.comm-shell.context-open .comm-context {
  transform: translateX(0);
  pointer-events: auto;
}
.comm-action-card {
  background: #252034;
}
@media (max-width: 950px) {
  .comm-shell {
    grid-template-columns: 240px minmax(0, 1fr);
  }
}
@media (max-width: 680px) {
  .comm-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    height: auto;
  }
  .comm-inbox {
    height: 260px;
    margin-bottom: 0;
    border-right: 0;
    border-bottom: 1px solid #e5e3ec;
  }
  .comm-thread {
    min-height: 420px;
    height: 58vh;
  }
  .comm-context {
    left: 12px;
    right: 12px;
    width: auto;
  }
}
