.reply-box [data-hallo-team-header] {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: start;
  column-gap: 0;
}
.reply-box [data-hallo-team-header] > :first-child {
  border: 0;
  border-start-end-radius: 0;
  border-end-end-radius: 0;
  font-size: .8125rem;
  white-space: nowrap;
}
.reply-box [data-hallo-team-header] .hallo-team-tab {
  display: inline-flex;
  align-items: center;
  margin-top: .75rem;
  height: 2rem;
  padding: .25rem .25rem .25rem 0;
  border: 0;
  border-start-end-radius: 999px;
  border-end-end-radius: 999px;
  white-space: nowrap;
  font-size: .8125rem;
}
.reply-box .hallo-team-tab span {
  padding-inline: .5rem;
  line-height: 1.5rem;
  border-radius: 999px;
}
.reply-box .hallo-team-tab[aria-expanded="true"] span {
  box-shadow: 0 1px 2px #0001;
}
.reply-box[data-hallo-team-active] [data-hallo-team-header] > :first-child > [style*="--chip-width"] {
  opacity: 0;
}
@media (max-width: 420px) {
  .reply-box .hallo-team-tab span {
    padding-inline: .25rem;
  }
}
.reply-box[data-hallo-team-active] {
  background: var(--hallo-team-surface) !important;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  height: var(--hallo-team-composer-height);
}
.reply-box[data-hallo-team-active] > [data-hallo-team-header] {
  flex-shrink: 0;
}
.reply-box[data-hallo-team-active] > :not([data-hallo-team-header], #hallo-team-panel),
#hallo-team-panel[hidden],
.hallo-team-thread[hidden],
.conversation-panel[data-hallo-team-transcript-hidden] {
  display: none !important;
}
.reply-box[data-hallo-team-active] [data-hallo-team-header] .is-active {
  background: transparent;
  box-shadow: none;
}
.reply-box,
.hallo-team-thread {
  --hallo-team-surface: #ecf6f3;
  --hallo-team-assistant: #fff;
  --hallo-team-staff: #cceae2;
  --hallo-team-ink: #173831;
  --hallo-team-accent: #256655;
}
.dark .reply-box,
.dark .hallo-team-thread {
  --hallo-team-surface: #182b27;
  --hallo-team-assistant: #233b35;
  --hallo-team-staff: #34584d;
  --hallo-team-ink: #edf8f4;
  --hallo-team-accent: #296b58;
}
#hallo-team-panel {
  display: grid;
  flex: 1 1 auto;
  min-height: 0;
  gap: .65rem;
  padding: .5rem .85rem .85rem;
  color: var(--hallo-team-ink);
}
.hallo-team-thread {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: .75rem;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1rem;
  color: var(--hallo-team-ink);
  background: var(--hallo-team-surface);
}
.hallo-team-empty {
  margin: auto;
  text-align: center;
}
.hallo-team-older {
  align-self: center;
  flex-shrink: 0;
  padding: .35rem .6rem;
  border-radius: .5rem;
  background: var(--hallo-team-assistant);
}
.hallo-team-row {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  align-items: flex-start;
}
.hallo-team-staff {
  align-items: flex-end;
}
.hallo-team-bubble {
  max-width: min(85%, 42rem);
  margin: 0;
  padding: .65rem .85rem;
  border-radius: 1rem 1rem 1rem .25rem;
  background: var(--hallo-team-assistant);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.hallo-team-staff .hallo-team-bubble {
  border-radius: 1rem 1rem .25rem 1rem;
  background: var(--hallo-team-staff);
}
.hallo-team-thread .hallo-team-copy {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: .5rem;
}
.hallo-team-thread .hallo-team-copy:hover {
  background: var(--n-alpha-2, #8882);
}
.hallo-team-form {
  --hallo-team-composer-font-size: .875rem;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: auto;
  padding: .5rem;
  border: 1px solid var(--n-weak, #8885);
  border-radius: 1rem;
  background: var(--hallo-team-assistant);
}
#hallo-team-panel textarea {
  display: block;
  flex: 1;
  width: 100%;
  min-height: 2.5rem;
  resize: none;
  padding: .35rem .45rem;
  border: 0;
  border-radius: .4rem;
  background: transparent;
  color: inherit;
}
#hallo-team-panel textarea,
.hallo-team-actions button {
  font-size: var(--hallo-team-composer-font-size);
}
.hallo-team-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem;
}
#hallo-team-panel button:not(.hallo-team-send) {
  padding: .35rem .65rem;
  border-radius: .6rem;
}
#hallo-team-panel button:not(.hallo-team-send):hover {
  background: var(--n-alpha-2, #8882);
}
#hallo-team-panel .hallo-team-send {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-inline-start: auto;
  border-radius: 50%;
  background: var(--hallo-team-accent);
  color: #fff;
}
#hallo-team-panel button:disabled {
  opacity: .5;
  cursor: default;
}
.conversation-panel .message-bubble-container :has(> .hallo-customer-copy) {
  flex-direction: column;
  align-items: flex-start;
}
.conversation-panel .hallo-customer-copy {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: .4rem;
}
.conversation-panel .hallo-customer-copy,
.hallo-team-thread .hallo-team-copy {
  color: #84888d;
}
.dark .conversation-panel .hallo-customer-copy,
.dark .hallo-team-thread .hallo-team-copy {
  color: #b0b4ba;
}
