/* Team chat lives inside the existing Work Zone panel. Only the bits the page
   does not already style are defined here. */

#tcList{
  max-height:min(46vh,380px);
  overflow-y:auto;
  scrollbar-width:thin;
  scrollbar-color:rgba(169,113,66,0.35) transparent;
}
#tcList::-webkit-scrollbar{width:8px}
#tcList::-webkit-scrollbar-thumb{background:rgba(169,113,66,0.3);border-radius:4px}

.tc-line{position:relative}
.tc-line strong{display:flex;align-items:baseline;gap:8px}
.tc-at{font-size:11px;font-weight:400;opacity:.55;font-variant-numeric:tabular-nums}

.tc-reply{
  margin-left:auto;background:none;border:0;padding:0 1px;cursor:pointer;
  font:inherit;font-size:11px;font-weight:400;color:inherit;opacity:0;
  transition:opacity .12s;
}
.tc-line:hover .tc-reply,.tc-reply:focus{opacity:.7}
.tc-reply:hover{opacity:1;text-decoration:underline}

.tc-re{
  margin-left:18px;
  border-left:2px solid rgba(169,113,66,0.35);
  padding-left:10px;
}

.tc-talos strong{color:#726d65}

.tc-replybar[hidden]{display:none}
.tc-replybar{
  display:flex;align-items:center;gap:8px;
  margin:6px 0 0;padding:5px 9px;border-radius:7px;
  background:rgba(35,34,31,0.05);border:1px solid rgba(35,34,31,0.12);
  font-size:12px;opacity:.85;
}
.tc-replytxt{flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tc-cancel{
  background:none;border:0;color:inherit;cursor:pointer;
  font-size:16px;line-height:1;padding:0 3px;opacity:.7;
}
.tc-cancel:hover{opacity:1}

.tc-err{color:#df713b}

/* the head was built for a title and a pill; make room for the picker */
.tc-head{flex-wrap:wrap}
#tcPick{max-width:190px;min-width:0;flex:0 1 auto}
#tcPick:focus-visible,.tc-reply:focus-visible,.tc-cancel:focus-visible{
  outline:2px solid rgba(169,113,66,0.8);outline-offset:2px;
}

@media (max-width:700px){
  #tcPick{flex:1 1 100%;max-width:none;order:3;font-size:13px}
  .tc-re{margin-left:12px;padding-left:8px}
}
