/* Captured animation frames can show both launcher faces at once. Use the
   existing expanded state, and let the closed label determine its own width. */
.chat-launcher:not([aria-expanded="true"]) {
  width: max-content !important;
  min-width: 0;
  max-width: calc(100vw - 1.5rem);
}

.chat-launcher:not([aria-expanded="true"]) > .chat-launcher-face {
  display: inline-flex !important;
  position: relative;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-width: 0;
  line-height: 1.2;
  opacity: 1 !important;
  transform: none !important;
}

.chat-launcher:not([aria-expanded="true"]) > .chat-launcher-cross {
  display: none !important;
}

.chat-launcher > .chat-launcher-face > .chat-launcher-icon {
  display: block;
  flex: 0 0 1.15rem;
  width: 1.15rem;
  height: 1.15rem;
}

.chat-launcher > .chat-launcher-face > .chat-launcher-label {
  display: block;
  min-width: 0;
  white-space: nowrap;
}

.chat-launcher[aria-expanded="true"] {
  width: var(--chat-fab, 44px) !important;
}

.chat-launcher[aria-expanded="true"] > .chat-launcher-face {
  display: none !important;
}

.chat-launcher[aria-expanded="true"] > .chat-launcher-cross {
  display: grid !important;
  opacity: 1 !important;
}

/* The old icon-sized wrapper now contains a full brand lockup. Give this one
   introduction its own centered logo row instead of an overflowing inline box. */
.hiw > .hiw-head {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hiw > .hiw-head > .hiw-logo-flat.animaprompt-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: max-content;
  max-width: 100%;
  height: auto;
  min-height: 2rem;
  margin: 0 auto 1.1rem;
}

.hiw > .hiw-head > .hiw-logo-flat .animaprompt-lockup {
  gap: .55rem;
}

.hiw > .hiw-head > .hiw-logo-flat .animaprompt-symbol {
  width: 31.352941px;
  height: 26px;
}

.hiw > .hiw-head > .hiw-logo-flat .animaprompt-wordmark {
  width: 120.440678px;
  height: 19px;
}

.hiw > .hiw-head > .section-title {
  width: 100%;
  max-width: 24ch;
  margin: 0;
  line-height: 1.16;
  text-wrap: balance;
}

.hiw > .hiw-head > .hiw-lead {
  margin-top: 1rem;
}
