/* The top bar and incoming-message preview share the cabinet's plum accent. */
#app .messages-tab-btn .messages-unread-badge,
#app .notif-btn .notif-badge {
  display: inline-grid; place-items: center; box-sizing: border-box;
  min-width: 19px; height: 18px; padding: 0 5px;
  border: none; border-radius: 6px; background: #eee9f6; color: #433554;
  box-shadow: none; font: 650 11px/1 "Clients Roboto", sans-serif;
  font-variant-numeric: tabular-nums;
}
#app .toast-container .toast-chat {
  --accent: #4c3c6a;
  display: grid; grid-template-columns: 32px minmax(0,1fr) 30px;
  grid-template-areas: "icon content close" ". action .";
  align-items: start; gap: 6px 10px; width: 100%;
  padding: 12px; background: white; border: 1px solid #dcd6e6;
  box-shadow: 0 6px 22px #30244524;
}
#app .toast-chat .toast-icon {
  grid-area: icon; width: 32px; height: 32px; border-radius: 9px;
  color: #514365; background: #f0ecf5;
}
#app .toast-chat .toast-content { grid-area: content; gap: 3px; }
#app .toast-chat .toast-kind {
  font-size: 14px; font-weight: 650; color: #2d2638;
  text-transform: none; letter-spacing: normal;
}
#app .toast-chat .toast-msg {
  font-size: 14px; font-weight: 400; line-height: 1.4; color: #514b5a;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
#app .toast-chat .toast-action { grid-area: action; justify-self: start; font-size: 13px; font-weight: 600; }
#app .toast-chat .toast-close { grid-area: close; color: #655b72; }
#app .toast-chat:focus-visible, #app .toast-chat .toast-close:focus-visible { outline: 2px solid #68577e; outline-offset: 2px; }
