/* === Chatbot === */

/**
 * Keyboard-safe sizing strategy:
 * - --chatbot-vvh tracks visualViewport.height (JS updates on keyboard open/close)
 * - Panel height uses min() to clamp to available visible space
 * - Desktop fullscreen: centers in visual viewport
 * - Mobile fullscreen: bottom-anchored relative to visual viewport
 * Result: Panel shrinks when keyboard appears, restores when it closes
 */
:root {
  /* Visual viewport height - updated by JS to handle keyboard on mobile */
  --chatbot-vvh: 100dvh;
  --chatbot-panel-bottom: 88px; /* 5.5 * 16px */
  /* Match common.css header height so panel height calculations don't overlap header */
  --chatbot-header-height: 59px;
}

/* Isolate chatbot from order page shared/css/index.css (* { max-width: inherit }, div { width: 100%; display: inline-block }) */
.chatbot-trigger,
.chatbot-backdrop,
.chatbot-panel,
.chatbot-panel * {
  max-width: none;
}
.chatbot-backdrop {
  width: 100vw;
  display: block;
}
.chatbot-panel div {
  width: auto;
  display: block;
}

.newsletter-signup-section {
  position: relative;
  z-index: 100;
  margin-bottom: 5em;
}

/* Main page: newsletter popup fixed bottom-right; keep 2.5em gap above chatbot button */
/* Chatbot: bottom 1.5em, height 2.75em → top at 4.25em; pamphlet bottom = 4.25 + 2.5 = 6.75em */
#pamphletu11370 {
  bottom: 6.75em !important;
}
/* With go-to-top: chatbot at bottom 6em, top at 8.75em; pamphlet 2.5em above = 11.25em */
body:has(.go-top-btn) #pamphletu11370 {
  bottom: 11.25em !important;
}

/* Isolate chatbot from page root (Bootstrap/solution pages set html { font-size: 10px }) */
.chatbot-trigger {
  font-size: 16px;
  position: fixed;
  right: 2em;
  bottom: 1.5em;
  width: 2.75em;
  height: 2.75em;
  min-width: 2.75em;
  min-height: 2.75em;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
}

/* When page has go-to-top button, raise chatbot so it sits above the button */
body:has(.go-top-btn) {
  --chatbot-panel-bottom: 168px; /* 10.5 * 16px */
}
body:has(.go-top-btn) .chatbot-trigger {
  bottom: 6em;
}

.chatbot-trigger img {
  width: 2.75em;
  height: 2.75em;
  min-width: 2.75em;
  min-height: 2.75em;
  max-width: none;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.chatbot-panel {
  font-size: 16px;
  /* Default height for normal mode (can be overridden by media queries) */
  --chatbot-panel-default-height: 31.25em;

  position: fixed;
  right: 2em;
  bottom: var(--chatbot-panel-bottom);
  width: 23.75em;

  /* Height: min(default, available-space) - accounts for header and bottom offset */
  height: min(
    var(--chatbot-panel-default-height),
    calc(
      var(--chatbot-vvh, 100dvh) - var(--chatbot-header-height) -
        var(--chatbot-panel-bottom) - 1em
    )
  );

  /* Min/max constraints */
  min-width: 20em;
  min-height: 10em;
  max-width: calc(100vw - 3em);
  max-height: calc(
    var(--chatbot-vvh, 100dvh) - var(--chatbot-header-height) -
      var(--chatbot-panel-bottom) - 1em
  );
  background: #eeeeee 0% 0% no-repeat padding-box;
  border-radius: 1.25em;
  display: flex;
  flex-direction: column;
  z-index: 999;
  overflow: hidden;
  transition: all 0.3s ease;
  /* Common inherited properties */
  font-family: 'Noto Sans KR', sans-serif;
  font-style: normal;
  font-variant: normal;
  letter-spacing: 0;
  color: #000000;
}

.chatbot-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
  pointer-events: none;
}

.chatbot-panel.chatbot-panel-fullscreen {
  top: calc(var(--chatbot-header-height) + 1em) !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  transform: translateX(-50%) !important;

  width: 90vw !important;
  height: calc(
    var(--chatbot-vvh, 100dvh) - var(--chatbot-header-height) - 2em
  ) !important;
  max-width: 90vw !important;
  max-height: calc(
    var(--chatbot-vvh, 100dvh) - var(--chatbot-header-height) - 2em
  ) !important;
}

/* Hide go-to-top button when chatbot is in fullscreen mode */
body:has(.chatbot-panel.chatbot-panel-fullscreen) .go-top-btn {
  display: none !important;
}

/* Disable scrolling when chatbot is in fullscreen mode */
body.chatbot-fullscreen-lock,
html.chatbot-fullscreen-lock {
  overflow: hidden !important;
}

body.chatbot-fullscreen-lock {
  position: fixed !important;
  width: 100% !important;
}

.chatbot-panel .chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1em 1.2em;
  user-select: none;
}

.chatbot-panel .chatbot-header-left {
  display: flex;
  align-items: center;
  gap: 0.6em;
}

.chatbot-panel .chatbot-header-left img {
  width: 1.5em;
  height: 1.5em;
}

.chatbot-panel .chatbot-header-actions {
  display: flex;
  align-items: center;
  gap: 0.625em;
}

.chatbot-panel .chatbot-title {
  font-weight: 600;
  font-size: 1em;
  line-height: 1.5em;
}

.chatbot-panel .chatbot-close {
  background: none;
  border: none;
  cursor: pointer; /* Override header's move cursor */
  padding: 0;
  width: 0.9em;
  height: 0.9em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-panel .chatbot-close img {
  width: 0.9em;
  height: 0.9em;
}

.chatbot-panel .chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0 1em;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.chatbot-panel .chatbot-welcome-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
}

.chatbot-panel .chatbot-welcome-screen img {
  width: 10em;
  height: 10em;
  margin: 0;
}

.chatbot-panel .chatbot-welcome-text {
  text-align: center;
  font-weight: 500;
  font-size: 1em;
  line-height: 1.5em;
  white-space: pre-line;
  opacity: 1;
  transform: none;
  animation: greetingFadeIn 0.6s cubic-bezier(0.25, 0.1, 0.25, 1) both;
  will-change: opacity, transform;
}

.chatbot-panel .chatbot-welcome-text.chatbot-greeting-fade {
  animation: greetingFadeOut 0.4s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

@keyframes greetingFadeIn {
  0% {
    opacity: 0;
    transform: translateY(7px);
  }
  10% {
    opacity: 0.08;
  }
  20% {
    opacity: 0.18;
  }
  30% {
    opacity: 0.3;
  }
  40% {
    opacity: 0.44;
  }
  55% {
    opacity: 0.62;
  }
  70% {
    opacity: 0.78;
  }
  85% {
    opacity: 0.92;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes greetingFadeOut {
  0% {
    opacity: 1;
  }
  5% {
    opacity: 0.97;
  }
  10% {
    opacity: 0.94;
  }
  15% {
    opacity: 0.9;
  }
  20% {
    opacity: 0.85;
  }
  25% {
    opacity: 0.79;
  }
  30% {
    opacity: 0.72;
  }
  35% {
    opacity: 0.64;
  }
  40% {
    opacity: 0.56;
  }
  45% {
    opacity: 0.48;
  }
  50% {
    opacity: 0.4;
  }
  55% {
    opacity: 0.33;
  }
  60% {
    opacity: 0.27;
  }
  65% {
    opacity: 0.21;
  }
  70% {
    opacity: 0.16;
  }
  75% {
    opacity: 0.12;
  }
  80% {
    opacity: 0.08;
  }
  85% {
    opacity: 0.05;
  }
  90% {
    opacity: 0.03;
  }
  95% {
    opacity: 0.015;
  }
  100% {
    opacity: 0;
  }
}

.chatbot-panel .chatbot-message {
  border-radius: 0.625em;
  max-width: 90%;
  font-weight: 500;
  font-size: 1em;
  line-height: 1.5em;
  margin-bottom: 0.75em;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

.chatbot-panel .chatbot-message:last-child {
  margin-bottom: 0;
}

.chatbot-panel .chatbot-message-bot {
  align-self: flex-start;
}

.chatbot-panel .chatbot-message-user {
  background: #d5b64c 0% 0% no-repeat padding-box;
  color: #000;
  align-self: flex-end;
  border-radius: 1.25em 0 1.25em 1.25em;
  opacity: 1;
}

.chatbot-panel .chatbot-message > p {
  margin: 0;
  padding: 1em;
}

.chatbot-panel .chatbot-message-with-icon {
  display: flex;
  align-items: flex-start;
  gap: 0.4em;
}

.chatbot-panel .chatbot-message-content {
  margin: 0;
  flex: 1;
  background: #fefefe 0% 0% no-repeat padding-box;
  color: #000000;
  border-radius: 0 1.25em 1.25em 1.25em;
  padding: 1em;
  opacity: 1;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
}

.chatbot-panel .chatbot-message-icon {
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
}

.chatbot-panel .chatbot-message-user p {
  margin: 0;
  padding: 1em;
}

.chatbot-panel .chatbot-message-content p {
  margin: 0 0 0.5em 0;
}

.chatbot-panel .chatbot-message-content p:last-child {
  margin-bottom: 0;
}

.chatbot-panel .chatbot-message-content strong {
  font-weight: 600;
  color: inherit;
}

.chatbot-panel .chatbot-message-content em {
  font-style: italic;
}

.chatbot-panel .chatbot-message-content code {
  background: #f5f5f5;
  padding: 0.2em 0.4em;
  border-radius: 0.25em;
  font-size: 0.9em;
  border: 0.0625em solid #e0e0e0;
}

.chatbot-panel .chatbot-message-content ul,
.chatbot-panel .chatbot-message-content ol {
  margin: 0.5em 0;
  padding-left: 1.5em;
}

.chatbot-panel .chatbot-message-content li {
  margin: 0.25em 0;
}

/* Center the loading "..." when message content only shows the streaming loader */
.chatbot-panel .chatbot-message-content:has(.chatbot-streaming-loading) {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 2.5em;
}

.chatbot-panel .chatbot-streaming-loading {
  display: block;
  width: 2.5em;
  height: auto;
  object-fit: contain;
  margin: 0;
  transform: scale(1.5);
  transform-origin: center center;
}

.chatbot-panel .chatbot-input-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin: 0.5em 1em;
  min-width: 0;
}

.chatbot-panel .chatbot-input-area {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 6em;
  background-color: #eeeeee;
  border: 1px solid #969696;
  border-radius: 1.5em;
}

.chatbot-panel .chatbot-input-area .chatbot-input {
  flex: 1;
  min-width: 0;
  background-color: transparent;
  border: none;
  outline: none;
  padding: 0 1em;
  font-weight: 500;
  font-size: 16px; /* 16px prevents iOS Safari auto-zoom */
  line-height: 1.5em;
  color: #000000;
}

.chatbot-panel .chatbot-input-area .chatbot-input::placeholder {
  color: #969696;
}

.chatbot-panel .chatbot-send {
  padding: 0.5em;
  background: none;
  border: none;
  cursor: default;
  transition: all 0.3s ease;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5em;
  height: 2.5em;
  flex-shrink: 0;
}

.chatbot-panel
  .chatbot-input-area:has(.chatbot-input:not(:placeholder-shown))
  .chatbot-send:hover:not(:disabled) {
  cursor: pointer;
}

.chatbot-panel .chatbot-send img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.chatbot-panel .chatbot-send:disabled {
  opacity: 0.5;
  cursor: default;
}

.chatbot-panel .chatbot-new-chat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: #cacaca 0% 0% no-repeat padding-box;
  border: none;
  border-radius: 1.4375em;
  padding: 0.5em;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-width: 2.5em;
  height: 2.5em;
}

.chatbot-panel .chatbot-new-chat-icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  transition: filter 0.3s ease;
}

.chatbot-panel .chatbot-new-chat-text {
  font-weight: 500;
  font-size: 0.875em;
  line-height: 1.25em;
  color: #d5b64c;
  padding-right: 0.5em;
  display: none;
  margin: 0;
}

.chatbot-panel .chatbot-new-chat:hover {
  background: #d5b64c 0% 0% no-repeat padding-box;
  border-radius: 1.4375em;
  padding: 0.5em 0.5em 0.5em 0.75em;
  gap: 0.5em;
}

.chatbot-panel .chatbot-new-chat:hover .chatbot-new-chat-text {
  color: #ffffff;
  display: inline-block;
}

.chatbot-panel .chatbot-confirmation-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
}

.chatbot-panel .chatbot-confirmation-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 1em;
  z-index: 1001;
  min-width: 18em;
  max-width: 20em;
}

.chatbot-panel .chatbot-confirmation-message {
  margin: 0 0 1.5em 0;
  text-align: center;
  font-weight: 500;
  font-size: 1em;
  line-height: 1.5em;
  color: #ffffff;
}

.chatbot-panel .chatbot-confirmation-buttons {
  display: flex;
  gap: 0.75em;
  justify-content: center;
}

.chatbot-panel .chatbot-confirmation-button {
  padding: 0.5em 1em;
  border: none;
  font-weight: 500;
  font-size: 0.875em;
  line-height: 1.25em;
  cursor: pointer;
  outline: none;
  box-shadow: none;
  border-radius: 1.25em;
}

.chatbot-panel .chatbot-confirmation-cancel {
  background: transparent;
  border-width: 1px;
  border-style: solid;
  border-color: #ffffff;

  color: #ffffff;
}

.chatbot-panel .chatbot-confirmation-confirm {
  background: #ffffff;
  border: none;
  color: #000000;
}

.chatbot-panel .chatbot-footer {
  margin: 0 2em 0.5em 2em;
}

.chatbot-panel .chatbot-privacy {
  margin: 0;
  text-align: center;
  font-weight: 500;
  font-size: 0.55em;
  line-height: 1em;
  color: #969696;
  white-space: nowrap;
  overflow: hidden;
}

.chatbot-panel .chatbot-privacy-link {
  color: #d5b64c;
  text-decoration: underline;
  transition: all 0.2s;
  font-weight: 500;
}

.chatbot-panel .chatbot-privacy-link:hover {
  color: #d5b64c;
}

.chatbot-panel .chatbot-clear {
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.875em;
  line-height: 1.25em;
  padding: 0.25em 0.5em;
  transition: all 0.2s;
}

.chatbot-panel .chatbot-clear:hover {
  opacity: 0.6;
  text-decoration: underline;
}

.chatbot-panel .chatbot-fullscreen {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25em;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  width: 0.9em;
  height: 0.9em;
}

.chatbot-panel .chatbot-fullscreen img {
  width: 0.9em;
  height: 0.9em;
}

.chatbot-panel .chatbot-fullscreen:hover {
  opacity: 0.6;
  transform: scale(1.05);
}

.chatbot-panel .chatbot-close:hover {
  opacity: 0.6;
  transform: scale(1.05);
}

.chatbot-panel .chatbot-fullscreen svg {
  display: block;
  transition: opacity 0.2s;
}

.chatbot-panel .chatbot-citations {
  margin-top: 0.75em;
  padding-top: 0.75em;
  border-top: 1px solid #969696;
  overflow: hidden;
  max-width: 100%;
}

.chatbot-panel .chatbot-citations-label {
  font-weight: 500;
  font-size: 0.875em;
  line-height: 1.25em;
  color: #969696;
  display: block;
  margin-bottom: 0.5em;
}

.chatbot-panel .chatbot-citations ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  max-height: 10em;
  overflow-y: auto;
  overflow-x: hidden;
}

.chatbot-panel .chatbot-citations li {
  width: 100%;
}

.chatbot-panel .chatbot-citation-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em;
  padding: 0.5em 0.75em;
  background: #cacaca 0% 0% no-repeat padding-box;
  border-radius: 5px;
  transition: all 0.2s;
  overflow: hidden;
  max-width: 100%;
  text-decoration: none;
  color: inherit;
  width: 100%;
  box-sizing: border-box;
}

.chatbot-panel .chatbot-citation-item:hover {
  background: #969696;
}

.chatbot-panel .chatbot-citation-title {
  font-weight: normal;
  font-size: 0.75em;
  line-height: 1em;
  color: #ffffff;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  max-width: 100%;
}

.chatbot-panel .chatbot-citation-badge {
  background: #a8a8a8;
  font-weight: normal;
  font-size: 0.75em;
  line-height: 1.0625em;
  color: #ffffff;
  padding: 0.125em 0.5em;
  border-radius: 0.25em;
  margin-left: 0.5em;
}

.chatbot-panel .chatbot-citation-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.5em;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.chatbot-panel .chatbot-citation-link-icon img {
  width: 1em;
  height: 1em;
  object-fit: contain;
}

.chatbot-panel .chatbot-contact-redirect {
  margin: 0;
  padding: 0;
}

.chatbot-panel .chatbot-contact-redirect-text {
  margin: 0 0 0.75em 0;
  font-weight: 500;
  font-size: 1em;
  line-height: 1.5em;
  color: #000000;
}

.chatbot-panel .chatbot-contact-redirect-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  font-size: 1em;
  line-height: 1.5em;
  letter-spacing: 0px;
  color: #d5b64c;
  text-decoration: none;
  transition: opacity 0.2s;
  cursor: pointer;
}

.chatbot-panel .chatbot-contact-redirect-link:hover {
  opacity: 0.8;
  text-decoration: none;
}

.chatbot-panel .chatbot-contact-redirect-icon {
  width: 0.9375em;
  height: 0.9375em;
  flex-shrink: 0;
  transform: translateY(0.125em);
}

/* --- Tablets and below (Up to 768px) --- */
@media (max-width: 768px) {
  .chatbot-trigger {
    right: 2em;
    bottom: 1.5em;
  }
  body:has(.go-top-btn) .chatbot-trigger {
    bottom: 6em;
  }
  .chatbot-panel {
    --chatbot-panel-default-height: 70dvh;
    right: 2em;
    bottom: var(--chatbot-panel-bottom);
    width: 24em;
    max-width: calc(100vw - 3em);
    min-width: 20em;
    height: min(
      var(--chatbot-panel-default-height),
      calc(
        var(--chatbot-vvh, 100dvh) - var(--chatbot-header-height) -
          var(--chatbot-panel-bottom) - 1em
      )
    );
    max-height: calc(
      var(--chatbot-vvh, 100dvh) - var(--chatbot-header-height) -
        var(--chatbot-panel-bottom) - 1em
    );
    min-height: unset;
  }
  .chatbot-panel.chatbot-panel-fullscreen {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    top: max(
      calc(100dvh - var(--chatbot-vvh, 100dvh) + 1em),
      calc(var(--chatbot-header-height) + 1em)
    ) !important;
    bottom: auto !important;

    width: 80vw !important;
    height: calc(
      var(--chatbot-vvh, 100dvh) - var(--chatbot-header-height) - 2em
    ) !important;
    max-height: calc(
      var(--chatbot-vvh, 100dvh) - var(--chatbot-header-height) - 2em
    ) !important;
  }
  /* Scale input to visually match 14px when base font is 14px (14/16 = 0.875) */
  .chatbot-panel .chatbot-input-area .chatbot-input {
    transform: scale(0.875);
    transform-origin: left center;
  }
}

/* --- Large Phones (Up to 600px) --- */
@media (max-width: 600px) {
  .chatbot-panel {
    --chatbot-panel-default-height: 65dvh;
    right: 2em;
    bottom: var(--chatbot-panel-bottom);
    width: 22em;
    max-width: calc(100vw - 3em);
    min-width: 18em;
    height: min(
      var(--chatbot-panel-default-height),
      calc(
        var(--chatbot-vvh, 100dvh) - var(--chatbot-header-height) -
          var(--chatbot-panel-bottom) - 1em
      )
    );
    max-height: calc(
      var(--chatbot-vvh, 100dvh) - var(--chatbot-header-height) -
        var(--chatbot-panel-bottom) - 1em
    );
  }
  .chatbot-panel.chatbot-panel-fullscreen {
    /* Same mobile fullscreen: below header, never overlap */
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    top: max(
      calc(100dvh - var(--chatbot-vvh, 100dvh) + 1em),
      calc(var(--chatbot-header-height) + 1em)
    ) !important;
    bottom: auto !important;

    width: 80vw !important;
    height: calc(
      var(--chatbot-vvh, 100dvh) - var(--chatbot-header-height) - 2em
    ) !important;
    max-height: calc(
      var(--chatbot-vvh, 100dvh) - var(--chatbot-header-height) - 2em
    ) !important;
  }
  .chatbot-panel .chatbot-privacy {
    font-size: 0.5em;
    line-height: 0.8em;
  }
}

/* --- Standard Phones (Up to 480px) --- */
@media (max-width: 480px) {
  .chatbot-panel {
    --chatbot-panel-default-height: 60dvh;
    right: 2em;
    bottom: var(--chatbot-panel-bottom);
    width: 20em;
    max-width: calc(100vw - 3em);
    min-width: 18em;
    height: min(
      var(--chatbot-panel-default-height),
      calc(
        var(--chatbot-vvh, 100dvh) - var(--chatbot-header-height) -
          var(--chatbot-panel-bottom) - 1em
      )
    );
    max-height: calc(
      var(--chatbot-vvh, 100dvh) - var(--chatbot-header-height) -
        var(--chatbot-panel-bottom) - 1em
    );
    border-radius: 1.25em;
  }
  .chatbot-panel.chatbot-panel-fullscreen {
    /* Same mobile fullscreen: below header, never overlap */
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    top: max(
      calc(100dvh - var(--chatbot-vvh, 100dvh) + 1em),
      calc(var(--chatbot-header-height) + 1em)
    ) !important;
    bottom: auto !important;

    width: 80vw !important;
    height: calc(
      var(--chatbot-vvh, 100dvh) - var(--chatbot-header-height) - 2em
    ) !important;
    max-height: calc(
      var(--chatbot-vvh, 100dvh) - var(--chatbot-header-height) - 2em
    ) !important;
    border-radius: 1.25em !important;
  }
  .chatbot-panel .chatbot-privacy {
    font-size: 0.45em;
    line-height: 0.75em;
  }
}
