.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.assistant-floating {
  display: flex;
  flex-direction: column;
  max-height: min(720px, calc(100dvh - 120px));
}

.assistant-floating .conversation {
  flex: 1;
  min-height: 0;
  scroll-padding-bottom: 24px;
  overscroll-behavior: contain;
}

.assistant-floating .message {
  white-space: pre-line;
}

.assistant-floating .message strong {
  color: inherit;
  font-weight: 850;
}

.assistant-floating .assistant-form {
  flex: 0 0 auto;
  margin-top: 0;
  background: #fff;
}

.plan-confirmation {
  display: grid;
  gap: 7px;
  padding: 13px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 15px;
}

.plan-confirmation strong {
  color: var(--navy);
}

.plan-confirmation span {
  color: #087c9e;
  font-weight: 850;
}

.plan-confirmation p,
.plan-confirmation small {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.plan-confirmation .choice-grid {
  margin-top: 5px;
}

.assistant-widget > .assistant-launcher {
  width: 60px;
  height: 60px;
  overflow: hidden;
  padding: 6px;
  gap: 10px;
  transition: width 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.assistant-widget > .assistant-launcher img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  padding: 0;
  background: transparent;
  object-fit: contain;
}

.assistant-widget > .assistant-launcher span {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  transform: translateX(-7px);
  transition: max-width 240ms ease, opacity 180ms ease, transform 240ms ease;
}

.assistant-widget > .assistant-launcher:hover,
.assistant-widget > .assistant-launcher:focus-visible {
  width: 226px;
  transform: translateY(-2px);
  box-shadow: 0 18px 46px #032b4960;
}

.assistant-widget > .assistant-launcher:hover span,
.assistant-widget > .assistant-launcher:focus-visible span {
  max-width: 156px;
  opacity: 1;
  transform: none;
}

.assistant-header img {
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  object-fit: contain;
}

@media (max-width: 760px) {
  .assistant-widget > .assistant-launcher:hover,
  .assistant-widget > .assistant-launcher:focus-visible {
    width: 60px;
    transform: none;
  }

  .assistant-widget > .assistant-launcher span {
    display: none;
  }

  .assistant-floating {
    height: min(680px, calc(100dvh - 96px));
    max-height: calc(100dvh - 96px);
  }

  .assistant-floating .conversation {
    min-height: 0;
    max-height: none;
  }

  .assistant-floating .assistant-form {
    position: relative;
    z-index: 2;
    box-shadow: 0 -8px 18px #032b4910;
  }

  .assistant-form .primary {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .assistant-widget > .assistant-launcher,
  .assistant-widget > .assistant-launcher span {
    transition: none;
  }
}
