#adminView :is(.chat-cleanup-all,.chat-cleanup-customer){
  border:1px solid #d5dfed;
  background:#fff;
  color:#475c74;
  border-radius:7px;
  padding:5px 7px;
  font-size:11px;
  line-height:1.4;
  white-space:nowrap;
  cursor:pointer;
}
#adminView :is(.chat-cleanup-all,.chat-cleanup-customer):hover{
  color:#aa3442;
  border-color:#dfacb3;
  background:#fff7f8;
}
#adminView .desk-queue-heading{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  padding-right:13px;
}
#adminView .chat-cleanup-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  border-bottom:1px solid #e4ebf4;
}
#adminView .chat-cleanup-row .desk-row{
  align-self:stretch;
  border-bottom:0;
  -webkit-touch-callout:none;
  user-select:none;
}
#adminView .chat-cleanup-row:has(.desk-row[aria-pressed=true]){background:#eaf3ff}
#adminView .chat-cleanup-row .chat-cleanup-customer{margin-right:7px}
.chat-cleanup-dialog{
  box-sizing:border-box;
  width:min(420px,calc(100% - 32px));
  max-height:calc(100% - 32px);
  padding:22px;
  border:1px solid #d5dfed;
  border-radius:16px;
  box-shadow:0 16px 56px #14263e33;
  background:#fff;
  color:#16283f;
  font:14px/1.55 system-ui,sans-serif;
}
.chat-cleanup-dialog::backdrop{background:#14263e77}
.chat-cleanup-dialog h2{font-size:20px;margin:0 0 8px}
.chat-cleanup-dialog p{margin:9px 0;overflow-wrap:anywhere}
.chat-cleanup-description{color:#50647b}
.chat-cleanup-dialog fieldset{border:0;padding:0;margin:15px 0}
.chat-cleanup-dialog legend{margin:0 0 6px;font-weight:700}
.chat-cleanup-dialog label{
  display:flex;
  align-items:flex-start;
  gap:8px;
  padding:9px 10px;
  margin:6px 0;
  border:1px solid #dce5f0;
  border-radius:9px;
  cursor:pointer;
}
.chat-cleanup-dialog label:has(input:checked){background:#f1f7ff;border-color:#93b8ed}
.chat-cleanup-dialog input{margin-top:4px;accent-color:#2069bd}
.chat-cleanup-dialog small{display:block;color:#50647b}
.chat-cleanup-effect:not([hidden]){padding:8px 10px;border-radius:7px;background:#fff5e4;color:#78470d}
.chat-cleanup-error{color:#a4283a}
.chat-cleanup-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}
.chat-cleanup-actions button{padding:8px 13px;color:#354c69;border:1px solid #d5dfed;border-radius:7px;background:#fff;cursor:pointer}
.chat-cleanup-actions [type=submit]{background:#2069bd;border-color:#2069bd;color:#fff}
.chat-cleanup-actions button.is-destructive{background:#a4283a;border-color:#a4283a}
.chat-cleanup-actions button:disabled{opacity:.55;cursor:default}
