/* TALKCHAT_R20A40R13R2_TYPING_SOFT_PILL
   Keeps r13r1 no-shift/no-row behavior.
   Only restores a very light translucent surface around the user typing pill.
*/

.ref-shell .typing,
.ref-shell .typing:not(:empty){
  height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0 10px!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  overflow:visible!important;
  position:relative!important;
  z-index:6!important;
  display:flex!important;
  align-items:flex-start!important;
  pointer-events:none!important;
}

.ref-shell .typing:not(:empty) .room-typing-track{
  width:100%!important;
  min-width:0!important;
  height:16px!important;
  min-height:16px!important;
  transform:translateY(-16px)!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  overflow-x:hidden!important;
  overflow-y:visible!important;
}

.ref-shell .typing .room-typing-pill{
  background:rgba(20,20,26,.10)!important;
  border:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  border-radius:5px!important;
  padding:0 5px!important;
  min-height:14px!important;
  max-height:16px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
  color:var(--muted,#6b7280)!important;
  font-size:10px!important;
  font-weight:600!important;
  line-height:14px!important;
}

html.dark .ref-shell .typing,
html.dark .ref-shell .typing:not(:empty){
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

html.dark .ref-shell .typing .room-typing-pill{
  background:rgba(255,255,255,.08)!important;
  border:0!important;
  box-shadow:none!important;
  color:var(--tc-muted,#94a3b8)!important;
}

.ref-shell .typing .room-typing-dots,
.ref-shell .typing .room-typing-voice{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
