/* 通知页：按微信会话 / 聊天窗 */
body.oa-notice-chat {
  background: #ededed;
}
body.oa-notice-chat #notice {
  background: #ededed;
  min-height: 100vh;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.oa-notice-chat:not(.oa-notice-thread) #oa-wx-head,
#notice #oa-wx-head {
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 30;
  height: 44px;
  padding: 0 16px;
  background: #ededed;
  box-sizing: border-box;
}
#notice #oa-wx-head .oa-wx-title,
body.oa-notice-chat:not(.oa-notice-thread) #oa-wx-head .oa-wx-title {
  font-size: 17px;
  font-weight: 600;
  color: #181818;
  letter-spacing: 0.4px;
  line-height: 44px;
}
#notice #oa-wx-head .oa-wx-plus,
body.oa-notice-chat:not(.oa-notice-thread) #oa-wx-head .oa-wx-plus {
  position: absolute;
  left: 12px;
  right: auto;
  top: 50%;
  margin-top: -16px;
  width: 32px;
  height: 32px;
  border: 1.5px solid #181818;
  border-radius: 50%;
  background: transparent;
  color: #181818;
  font: 22px/28px sans-serif;
  text-align: center;
  line-height: 28px;
  padding: 0;
  pointer-events: auto;
  z-index: 2;
}

body.oa-notice-chat:not(.oa-notice-thread) .notice-search {
  background: #ededed;
  padding: 0 8px 8px;
}
body.oa-notice-chat:not(.oa-notice-thread) .notice-search .van-search {
  background: transparent !important;
  padding: 0 !important;
}
body.oa-notice-chat:not(.oa-notice-thread) .notice-search .van-search__content {
  background: #e6e6e6 !important;
  border-radius: 6px !important;
  height: 36px;
}
body.oa-notice-chat:not(.oa-notice-thread) .van-field__control {
  font-size: 15px !important;
}

body.oa-notice-chat:not(.oa-notice-thread) .notice-content,
body.oa-notice-chat:not(.oa-notice-thread) .content-box,
body.oa-notice-chat:not(.oa-notice-thread) .van-list {
  background: #fff;
}
body.oa-notice-chat:not(.oa-notice-thread) .content-list {
  margin: 0;
  padding: 0;
  background: #fff;
  border: 0;
  box-shadow: inset 0 -1px 0 #e5e5e5;
}
body.oa-notice-chat:not(.oa-notice-thread) .tabItem {
  position: relative;
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr) !important;
  grid-template-areas: "av name" "av text";
  column-gap: 12px;
  align-items: start;
  width: 100% !important;
  margin: 0 !important;
  padding: 10px 16px 10px 12px !important;
  background: #fff;
  box-shadow: none;
  border-radius: 0;
  min-height: 64px;
  height: auto !important;
  box-sizing: border-box;
  overflow: visible !important;
}
body.oa-notice-chat:not(.oa-notice-thread) .tabItem-box {
  display: contents !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
}
body.oa-notice-chat:not(.oa-notice-thread) .tabItem-img,
body.oa-notice-chat:not(.oa-notice-thread) .tabItem-img .van-image,
body.oa-notice-chat:not(.oa-notice-thread) .tabItem-img .van-image__img {
  width: 48px !important;
  height: 48px !important;
  border-radius: 6px !important;
}
body.oa-notice-chat:not(.oa-notice-thread) .tabItem-img .van-image,
body.oa-notice-chat:not(.oa-notice-thread) .tabItem-img .van-image__img {
  overflow: hidden;
}
body.oa-notice-chat:not(.oa-notice-thread) .tabItem-img {
  position: relative;
  grid-area: av;
  margin: 0 !important;
  overflow: visible !important;
}
body.oa-notice-chat:not(.oa-notice-thread) .tabItem-info {
  grid-area: name;
  display: block !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 56px 0 0 !important;
  box-sizing: border-box;
}
body.oa-notice-chat:not(.oa-notice-thread) .tabItem-name,
body.oa-notice-chat:not(.oa-notice-thread) .tabItem-name span {
  font-size: 17px;
  font-weight: 400;
  color: #181818;
  line-height: 1.3;
}
body.oa-notice-chat:not(.oa-notice-thread) .tabItem-job {
  display: none !important;
}
body.oa-notice-chat:not(.oa-notice-thread) .tabItem-time {
  position: absolute;
  right: 16px;
  top: 12px;
  font-size: 12px;
  color: #b2b2b2;
  line-height: 1;
  white-space: nowrap;
}
body.oa-notice-chat:not(.oa-notice-thread) .tabItem-text,
body.oa-notice-chat:not(.oa-notice-thread) .tabItem-text span {
  grid-area: text;
  display: block !important;
  margin: 2px 0 0 !important;
  padding: 0 56px 0 0 !important;
  font-size: 14px !important;
  color: #9b9b9b !important;
  line-height: 1.35 !important;
  max-height: 1.35em !important;
  height: auto !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  -webkit-line-clamp: 1 !important;
  width: auto !important;
}
body.oa-notice-chat:not(.oa-notice-thread) .commentsImg,
body.oa-notice-chat:not(.oa-notice-thread) .tabItem-state-box,
body.oa-notice-chat:not(.oa-notice-thread) .comments-like,
body.oa-notice-chat:not(.oa-notice-thread) .dailytime {
  display: none !important;
}
body.oa-notice-chat .oa-chat-unread {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #fa5151;
  color: #fff;
  font: 11px/18px "PingFang SC", "Microsoft YaHei", sans-serif;
  text-align: center;
  z-index: 3;
  box-sizing: border-box;
  pointer-events: none;
}
body.oa-notice-chat .oa-chat-unread.dot {
  min-width: 18px;
  width: auto;
  height: 18px;
  padding: 0 5px;
  right: -8px;
  top: -6px;
}

#oa-work-inbox.oa-chat-session,
body.oa-notice-chat:not(.oa-notice-thread) .oa-feed-row {
  display: block;
  margin: 0;
  padding: 0;
  background: #fff;
  box-shadow: inset 0 -1px 0 #e5e5e5;
  text-decoration: none;
  color: inherit;
}
body.oa-notice-chat:not(.oa-notice-thread) .oa-feed-row .tabItem {
  cursor: pointer;
}
body.oa-notice-chat:not(.oa-notice-thread) .oa-feed-av,
body.oa-notice-chat:not(.oa-notice-thread) .oa-feed-row .tabItem-img {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #f78733;
  color: #fff;
  font: 600 15px/1 sans-serif;
  border-radius: 6px !important;
  overflow: visible !important;
}
body.oa-notice-chat:not(.oa-notice-thread) .oa-feed-av.notice {
  background: #1989fa;
}
body.oa-notice-chat:not(.oa-notice-thread) .oa-feed-av.visit {
  background: #07c160;
}
body.oa-notice-chat:not(.oa-notice-thread) .oa-feed-av.change {
  background: #7232dd;
}
body.oa-notice-chat:not(.oa-notice-thread) .oa-feed-row {
  position: relative;
  overflow: hidden;
}
body.oa-notice-chat:not(.oa-notice-thread) .oa-feed-swipe {
  position: relative;
  background: #fff;
  z-index: 1;
  transition: transform .2s ease;
}
body.oa-notice-chat:not(.oa-notice-thread) .oa-feed-row.open .oa-feed-swipe,
body.oa-feed-tidy .oa-feed-row.oa-feed-hideable .oa-feed-swipe {
  transform: translateX(-76px);
}
body.oa-notice-chat:not(.oa-notice-thread) .oa-feed-del {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 76px;
  border: 0;
  background: #fa5151;
  color: #fff;
  font-size: 16px;
  z-index: 0;
}
body.oa-notice-chat:not(.oa-notice-thread) .oa-feed-row:not(.oa-feed-hideable) .oa-feed-del {
  display: none;
}

body.oa-notice-thread #notice {
  background: #ededed;
  padding-bottom: 58px;
}
html body.oa-notice-thread {
  scroll-behavior: auto !important;
}
body.oa-notice-thread .oa-userlog-head,
body.oa-notice-thread #oa-wx-head {
  display: none !important;
}
body.oa-notice-thread .notice-content,
body.oa-notice-thread .content-box,
body.oa-notice-thread .van-list {
  background: transparent;
  padding-bottom: 12px;
}
body.oa-notice-thread .content-list {
  margin: 0;
  padding: 2px 10px 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
body.oa-notice-thread .tabItem {
  background: transparent;
  box-shadow: none;
  padding: 0;
  margin: 0;
}
body.oa-notice-thread .tabItem-box {
  justify-content: center;
  margin-bottom: 2px;
}
body.oa-notice-thread .tabItem-name {
  display: none !important;
}
body.oa-notice-thread .tabItem-time {
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: #b2b2b2;
  margin: 4px 0 6px;
}
body.oa-notice-thread .commentsImg,
body.oa-notice-thread .tabItem-state-box,
body.oa-notice-thread .comments-like,
body.oa-notice-thread .dailytime,
body.oa-notice-thread .clockLog,
body.oa-notice-thread .tabItem-img {
  display: none !important;
}
body.oa-notice-thread .oa-wx-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0 2px 4px;
}
body.oa-notice-thread .oa-wx-row.mine {
  flex-direction: row-reverse;
}
body.oa-notice-thread .oa-wx-av {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  object-fit: cover;
  background: #ccc;
}
body.oa-notice-thread .tabItem-text {
  display: inline-block;
  max-width: calc(100% - 56px);
  margin: 0;
  padding: 8px 10px;
  background: #fff;
  border-radius: 4px 12px 12px 12px;
  font-size: 16px;
  color: #181818;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
  box-shadow: none;
  position: relative;
}
body.oa-notice-thread .oa-wx-row.mine .tabItem-text {
  background: #95ec69;
  border-radius: 12px 4px 12px 12px;
}
body.oa-notice-thread .tabItem-text span {
  white-space: pre-wrap;
}

#oa-wx-input {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1300;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  background: #f7f7f7;
  border-top: 1px solid #dcdcdc;
}
body.oa-notice-thread #oa-wx-input {
  display: flex;
}
#oa-wx-input .plus {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border: 1.5px solid #7f7f7f;
  border-radius: 50%;
  background: transparent;
  color: #2a2a2a;
  font: 22px/28px sans-serif;
  padding: 0;
}
#oa-wx-input input {
  flex: 1;
  height: 36px;
  border: 0;
  border-radius: 6px;
  background: #fff;
  padding: 0 10px;
  font-size: 16px;
  outline: none;
}
#oa-wx-input .send {
  flex: 0 0 auto;
  height: 32px;
  min-width: 56px;
  border: 0;
  border-radius: 6px;
  background: #e5e5e5;
  color: #999;
  font-size: 15px;
  padding: 0 10px;
}
#oa-wx-input .send.on {
  background: #1989fa;
  color: #fff;
}
