/* Phase 7K.20.1 — Final messaging UX closure */

.inline-mention-v3-open .mention-picker-v2{display:none!important}
[data-mention-button-v2]{display:none!important}

.inline-mention-popup-v3{
  position:absolute;
  z-index:21000;
  overflow:hidden;
  max-height:320px;
  background:#0a1b2f;
  border:1px solid rgba(255,255,255,.15);
  border-radius:10px;
  box-shadow:0 20px 65px rgba(0,0,0,.55);
}
.inline-mention-title-v3{
  padding:8px 10px;
  font-size:.66rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  opacity:.58;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.inline-mention-popup-v3 [data-inline-mention-results-v3]{
  max-height:275px;
  overflow:auto;
  padding:5px;
}
.inline-mention-popup-v3 button{
  width:100%;
  display:grid;
  grid-template-columns:34px 1fr;
  gap:8px;
  align-items:center;
  border:0;
  border-radius:7px;
  padding:7px 8px;
  background:transparent;
  color:inherit;
  text-align:left;
  cursor:pointer;
}
.inline-mention-popup-v3 button:hover,
.inline-mention-popup-v3 button.active{
  background:#173b65;
}
.inline-mention-avatar-v3{
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#102d4f;
  font-size:.68rem;
  font-weight:800;
}
.inline-mention-empty-v3{
  padding:20px;
  text-align:center;
  font-size:.74rem;
  opacity:.62;
}

.direct-typeahead-v3{
  margin-top:8px;
  overflow:hidden;
  background:#0b223d;
  border:1px solid rgba(255,255,255,.12);
  border-radius:9px;
  box-shadow:0 12px 30px rgba(0,0,0,.22);
}
.direct-typeahead-v3[hidden]{display:none}
.direct-typeahead-v3>button{
  width:100%;
  display:grid;
  grid-template-columns:42px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  border:0;
  border-top:1px solid rgba(255,255,255,.07);
  background:transparent;
  color:inherit;
  padding:9px 11px;
  text-align:left;
  cursor:pointer;
}
.direct-typeahead-v3>button:first-child{border-top:0}
.direct-typeahead-v3>button:hover{background:#12365d}
.direct-typeahead-v3 img,
.direct-avatar-fallback-v3{
  width:40px;
  height:40px;
  border-radius:50%;
  object-fit:cover;
}
.direct-avatar-fallback-v3{
  display:grid;
  place-items:center;
  background:#173b65;
  font-size:.72rem;
  font-weight:800;
}
.direct-typeahead-v3>button>span:nth-child(2){
  display:grid;
  gap:2px;
  min-width:0;
}
.direct-typeahead-v3 strong{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.direct-typeahead-v3 small{
  opacity:.58;
}
.direct-typeahead-v3 em{
  font-style:normal;
  font-size:.68rem;
  font-weight:800;
  color:#fff;
  background:#173b65;
  border-radius:7px;
  padding:6px 8px;
}
.direct-typeahead-empty-v3{
  padding:18px;
  text-align:center;
  opacity:.6;
}
