/* readchk1: 고객 읽음 표시를 이름 첫 글자 대신, 내 말풍선 왼쪽 아래 파란 체크로 보여 준다.
   읽힘 조건(.is-cust-read)은 inbox.js가 그대로 다루고, 이 파일은 모습만 바꾼다. */
.desk .msg.desk-agent .cust-read{
  display:none;
  position:absolute;
  right:100%;
  bottom:0;
  margin:0 4px 0 0;
  width:14px;
  height:14px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:var(--blue);
  font-size:0;
  line-height:0;
  font-weight:400;
  text-align:left;
  overflow:hidden;
  flex:none;
  align-items:center;
  justify-content:center;
  z-index:2;
  vertical-align:middle;
  box-sizing:border-box;
}
.desk .msg.desk-agent.is-cust-read .cust-read{
  display:flex;
}
.desk .msg.desk-agent .cust-read svg{
  display:block;
  width:14px;
  height:14px;
  flex:none;
}
/* inbox.js가 글자를 다시 넣어도 숨기고, SVG가 없으면 같은 체크를 그린다. */
.desk .msg.desk-agent .cust-read:not(:has(svg))::before{
  content:"";
  display:block;
  width:14px;
  height:14px;
  background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3.2 8.3 6.6 11.7 12.8 4.3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3.2 8.3 6.6 11.7 12.8 4.3'/%3E%3C/svg%3E") center / contain no-repeat;
}
