.t-theme-chat-header button[data-action] {
  border-radius: 0.375em;
  font-size: inherit;
  margin: 1px;
  padding: 0.25em 0.325em;
  cursor: pointer;
  transition:
    color 200ms ease-in-out,
    background-color 200ms ease-in-out,
    border 200ms ease-in-out;

  color: #111;
  background-color: transparent;
  border: 1px solid #525252;
}

.t-theme-chat-header button[data-action]:hover {
  color: white;
  background-color: #111;
  border: 1px solid #111;
}

.t-theme-chat-header button[data-action]:active {
  color: white;
  background-color: #404040;
  border: 1px solid #404040;
}

.t-theme-chat-header button[data-action]:focus-visible {
  outline: #525252 solid 2px;
  outline-offset: 2px;
}

.t-theme-chat-header {
  display: flex;
  align-items: center;
  height: 4.5em;
  background-color: #ececec;
  border-bottom: 1px solid #d4d4d4;
  flex-shrink: 0;
}

.t-theme-chat-header .t-inner {
  flex-grow: 1;
  flex-basis: 0;
  display: flex;
  align-items: center;
  padding-left: 1em;
  padding-right: 1em;
  min-width: 0;
}

.t-theme-chat-header .t-content {
  flex-grow: 1;
  display: flex;
  align-items: center;
  min-width: 0;
}

.t-theme-chat-header .t-image {
  width: 45px;
  text-align: center;
  margin-right: 0.75em;
  flex-shrink: 0;
}

.t-theme-chat-header .t-info {
  flex-grow: 1;
  flex-basis: 0;
  min-width: 0;
}

.t-theme-chat-header .t-title {
  font-weight: 600;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  padding: 3px;
}

.t-theme-chat-header .t-subtitle {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  font-size: 85%;
  margin-left: 4px;
}

.t-theme-chat-header .t-user {
  display: inline-block;
  vertical-align: middle;
}
