.site-bot,
.site-bot * {
  box-sizing: border-box;
}

.site-bot {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  font-family: inherit;
  --bot-primary: #3157ff;
  --bot-primary-2: #7046ff;
  --bot-dark: #111a4d;
  --bot-ink: #0f172a;
  --bot-muted: #64748b;
  --bot-line: #dfe8f5;
  --bot-soft: #f7faff;
  --bot-soft-2: #eef4ff;
  --bot-success: #22c55e;
  --bot-danger: #ef4444;
  --bot-shadow: 0 28px 90px rgba(15, 23, 42, .24);
}

.site-bot-toggle {
  height: 62px;
  min-width: 62px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px 0 16px;
  background: linear-gradient(135deg, var(--bot-primary), var(--bot-primary-2));
  color: #fff;
  box-shadow: 0 20px 48px rgba(49, 87, 255, .35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.site-bot-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 66px rgba(49, 87, 255, .42);
}

.site-bot-toggle-icon {
  font-size: 24px;
  line-height: 1;
}

.site-bot-toggle-text {
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.site-bot-toggle-pulse {
  position: absolute;
  right: 7px;
  top: 7px;
  width: 14px;
  height: 14px;
  background: var(--bot-success);
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 0 0 7px rgba(34, 197, 94, .15);
}

.site-bot-panel {
  position: absolute;
  right: 0;
  bottom: 78px;
  width: min(450px, calc(100vw - 28px));
  height: min(720px, calc(100vh - 110px));
  max-height: 720px;
  background: #fff;
  border: 1px solid rgba(203, 213, 225, .95);
  border-radius: 28px;
  box-shadow: var(--bot-shadow);
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(.985);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  display: flex;
  flex-direction: column;
}

.site-bot.is-open .site-bot-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.site-bot-header {
  padding: 17px 18px 16px;
  background:
    radial-gradient(circle at 86% 16%, rgba(255,255,255,.23), transparent 28%),
    linear-gradient(135deg, #101b53 0%, #2548d9 52%, #7c3aed 100%);
  color: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex: 0 0 auto;
}

.site-bot-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.site-bot-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 15px;
  background: rgba(255,255,255,.17);
  border: 1px solid rgba(255,255,255,.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 1000;
  letter-spacing: -.04em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}

.site-bot-title-block {
  min-width: 0;
}

.site-bot-status {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 7px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-bot-status i {
  display: inline-block;
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 99px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .18);
}

.site-bot-header strong {
  display: block;
  font-size: 17px;
  line-height: 1.12;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

.site-bot-header small {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,.86);
  line-height: 1.32;
  font-size: 12.2px;
  max-width: 320px;
}

.site-bot-close {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 0;
  border-radius: 13px;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-bot-welcome {
  margin: 12px 14px 0;
  padding: 12px 13px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff, #eef4ff);
  border: 1px solid #d9e7ff;
  color: var(--bot-ink);
  flex: 0 0 auto;
}

.site-bot-welcome strong {
  display: block;
  font-size: 13px;
  line-height: 1.25;
  margin-bottom: 4px;
}

.site-bot-welcome span {
  display: block;
  color: #52627a;
  font-size: 12.4px;
  line-height: 1.42;
}

.site-bot-tabs {
  padding: 10px 14px 11px;
  background: #fff;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  border-bottom: 1px solid var(--bot-line);
  flex: 0 0 auto;
}

.site-bot-tabs button,
.site-bot-suggestions button {
  max-width: 100%;
  border: 1px solid #dbe5f2;
  background: #fff;
  color: var(--bot-ink);
  border-radius: 999px;
  padding: 10px 11px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  line-height: 1.16;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .035);
}

.site-bot-tabs button:hover,
.site-bot-suggestions button:hover {
  border-color: var(--bot-primary);
  color: var(--bot-primary);
  background: #f3f7ff;
}

.site-bot-tabs button:nth-child(2) {
  border-color: rgba(49, 87, 255, .55);
  color: #2444d8;
  background: #f4f7ff;
}

.site-bot-messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 15px 14px 14px;
  background:
    radial-gradient(circle at 50% 0%, rgba(49, 87, 255, .07), transparent 28%),
    linear-gradient(180deg, #fbfdff, #ffffff);
  scrollbar-width: thin;
}

.site-bot-day {
  width: fit-content;
  margin: 0 auto 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e8eef7;
  color: #52627a;
  font-size: 11px;
  font-weight: 900;
}

.site-bot-message {
  max-width: 88%;
  margin-bottom: 11px;
  padding: 12px 13px;
  border-radius: 18px;
  font-size: 13.2px;
  line-height: 1.5;
  color: var(--bot-ink);
  box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
  overflow-wrap: anywhere;
  word-break: normal;
}

.site-bot-message.bot {
  margin-right: auto;
  background: #fff;
  border: 1px solid #dbe7f7;
  border-top-left-radius: 8px;
}

.site-bot-message.user {
  margin-left: auto;
  background: #111827;
  color: #fff;
  border-top-right-radius: 8px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .18);
}

.site-bot-message p {
  margin: 0;
}

.site-bot-message p + p {
  margin-top: 8px;
}

.site-bot-message ul,
.site-bot-message ol {
  margin: 8px 0 0 18px;
  padding: 0;
}

.site-bot-message li + li {
  margin-top: 4px;
}

.site-bot-bubble-title {
  font-weight: 1000;
  margin-bottom: 5px;
  line-height: 1.25;
}

.site-bot-answer-card {
  display: block;
  margin-top: 8px;
  padding: 11px;
  border-radius: 14px;
  background: #f8fbff;
  border: 1px solid #dbe7f7;
}

.site-bot-answer-card strong {
  display: block;
  margin-bottom: 4px;
  color: #1838c9;
}

.site-bot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.site-bot-actions a,
.site-bot-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 8px 11px;
  background: linear-gradient(135deg, var(--bot-primary), var(--bot-primary-2));
  color: #fff !important;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  cursor: pointer;
}

.site-bot-actions .secondary,
.site-bot-actions button {
  background: #fff;
  color: var(--bot-ink) !important;
  border-color: #dbe5f2;
}

.site-bot-suggestions {
  flex: 0 0 auto;
  border-top: 1px solid var(--bot-line);
  background: #fff;
  padding: 10px 12px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}

.site-bot-suggestions button {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 9px 12px;
}

.site-bot-form {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 10px 12px 12px;
  background: #fff;
  border-top: 1px solid var(--bot-line);
}

.site-bot-input-wrap {
  min-width: 0;
}

.site-bot-form input {
  width: 100%;
  height: 48px;
  border: 1px solid #cbd8ea;
  background: #fff;
  border-radius: 16px;
  padding: 0 14px;
  color: var(--bot-ink);
  font-size: 14px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(15, 23, 42, .03);
}

.site-bot-form input:focus {
  border-color: var(--bot-primary);
  box-shadow: 0 0 0 4px rgba(49, 87, 255, .13);
}

.site-bot-form button[type="submit"] {
  height: 48px;
  min-width: 78px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--bot-primary), var(--bot-primary-2));
  color: #fff;
  font-size: 13px;
  font-weight: 1000;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(49, 87, 255, .26);
}

.site-bot-message.is-typing {
  width: fit-content;
  min-width: 62px;
  padding: 12px 14px;
  display: flex;
  gap: 5px;
}

.site-bot-message.is-typing span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #94a3b8;
  animation: siteBotTyping 1s infinite ease-in-out;
}

.site-bot-message.is-typing span:nth-child(2) { animation-delay: .15s; }
.site-bot-message.is-typing span:nth-child(3) { animation-delay: .3s; }

@keyframes siteBotTyping {
  0%, 80%, 100% { transform: translateY(0); opacity: .45; }
  40% { transform: translateY(-4px); opacity: 1; }
}

@media (max-width: 640px) {
  .site-bot {
    right: 12px;
    bottom: 12px;
  }

  .site-bot-panel {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 86px;
    width: auto;
    height: min(78vh, 680px);
    max-height: calc(100vh - 102px);
    border-radius: 24px;
  }

  .site-bot-toggle {
    height: 58px;
    min-width: 58px;
    padding: 0 16px;
  }

  .site-bot-header {
    padding: 15px 15px 14px;
  }

  .site-bot-avatar {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-radius: 13px;
    font-size: 12px;
  }

  .site-bot-header strong {
    font-size: 15.5px;
  }

  .site-bot-header small {
    font-size: 11.6px;
    line-height: 1.28;
  }

  .site-bot-status {
    font-size: 9px;
    padding: 4px 8px;
    margin-bottom: 6px;
  }

  .site-bot-close {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .site-bot-welcome {
    margin: 10px 12px 0;
    padding: 10px 11px;
  }

  .site-bot-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 9px 12px 10px;
    gap: 7px;
  }

  .site-bot-tabs button {
    font-size: 11px;
    padding: 9px 8px;
  }

  .site-bot-messages {
    padding: 13px 12px 12px;
  }

  .site-bot-message {
    max-width: 94%;
    font-size: 12.8px;
    padding: 11px 12px;
  }

  .site-bot-suggestions {
    padding: 9px 10px;
    gap: 7px;
  }

  .site-bot-suggestions button {
    font-size: 11px;
    padding: 8px 11px;
  }

  .site-bot-form {
    padding: 9px 10px 11px;
    grid-template-columns: minmax(0, 1fr) 72px;
    gap: 7px;
  }

  .site-bot-form input,
  .site-bot-form button[type="submit"] {
    height: 46px;
    border-radius: 15px;
  }

  .site-bot-form input {
    font-size: 13px;
    padding: 0 12px;
  }

  .site-bot-form button[type="submit"] {
    min-width: 72px;
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  .site-bot-panel {
    left: 8px;
    right: 8px;
    bottom: 80px;
    height: min(80vh, 670px);
  }

  .site-bot-brand {
    gap: 9px;
  }

  .site-bot-avatar {
    display: none;
  }

  .site-bot-header strong {
    font-size: 14.5px;
  }

  .site-bot-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .site-bot-form {
    grid-template-columns: 1fr 66px;
  }
}


/* Bot v4 - logo oficial App Pronto Pro */
.site-bot-avatar {
  padding: 4px;
  overflow: hidden;
  background: rgba(255,255,255,.18);
}

.site-bot-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 12px;
}

.site-bot-toggle-logo {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}

.site-bot-toggle-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.site-bot-header {
  min-height: 118px;
}

.site-bot-header strong,
.site-bot-header small,
.site-bot-status,
.site-bot-welcome,
.site-bot-message,
.site-bot-tabs button,
.site-bot-suggestions button,
.site-bot-form input,
.site-bot-form button {
  text-wrap: pretty;
}

.site-bot-toggle-text {
  max-width: 112px;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 640px) {
  .site-bot-toggle-logo {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 12px;
  }

  .site-bot-header {
    min-height: auto;
  }

  .site-bot-panel {
    height: min(82vh, 700px);
  }

  .site-bot-welcome span {
    font-size: 12.2px;
  }
}

@media (max-width: 380px) {
  .site-bot-avatar {
    display: inline-flex;
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .site-bot-toggle-text {
    display: inline;
  }
}


/* Bot v5 - correção profissional de layout, margens e mobile */
.site-bot-panel {
  isolation: isolate;
}

.site-bot-welcome,
.site-bot-message {
  max-width: none;
}

.site-bot-message.bot {
  width: min(100%, 395px);
}

.site-bot-message.user {
  width: fit-content;
  max-width: min(88%, 360px);
}

.site-bot-tabs button,
.site-bot-suggestions button {
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-bot-messages::-webkit-scrollbar,
.site-bot-suggestions::-webkit-scrollbar,
.site-bot-tabs::-webkit-scrollbar {
  width: 5px;
  height: 0;
}

.site-bot-messages::-webkit-scrollbar-thumb {
  background: rgba(100,116,139,.45);
  border-radius: 99px;
}

@media (max-width: 640px) {
  .site-bot {
    right: 0;
    bottom: 0;
  }

  .site-bot.is-open .site-bot-toggle {
    display: none;
  }

  .site-bot-panel {
    left: 6px;
    right: 6px;
    top: 8px;
    bottom: 8px;
    width: auto;
    height: auto;
    max-height: none;
    border-radius: 22px;
  }

  .site-bot-header {
    padding: 13px 13px 12px;
    gap: 8px;
  }

  .site-bot-brand {
    gap: 10px;
    align-items: center;
  }

  .site-bot-avatar {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 14px;
  }

  .site-bot-title-block {
    min-width: 0;
    flex: 1 1 auto;
  }

  .site-bot-status {
    margin-bottom: 5px;
    padding: 4px 8px;
    font-size: 8.5px;
    letter-spacing: .06em;
  }

  .site-bot-status i {
    width: 7px;
    height: 7px;
    min-width: 7px;
  }

  .site-bot-header strong {
    font-size: 15px;
    line-height: 1.08;
    white-space: normal;
  }

  .site-bot-header small {
    margin-top: 4px;
    font-size: 11.2px;
    line-height: 1.25;
    max-width: none;
  }

  .site-bot-close {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 12px;
  }

  .site-bot-welcome {
    margin: 8px 9px 0;
    padding: 9px 10px;
    border-radius: 15px;
  }

  .site-bot-welcome strong {
    font-size: 12.2px;
    margin-bottom: 3px;
  }

  .site-bot-welcome span {
    font-size: 11.4px;
    line-height: 1.33;
  }

  .site-bot-tabs {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 7px;
    padding: 8px 9px 9px;
    scroll-snap-type: x proximity;
  }

  .site-bot-tabs button {
    flex: 0 0 auto;
    min-width: 126px;
    max-width: 150px;
    padding: 8px 10px;
    font-size: 11px;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .site-bot-messages {
    flex: 1 1 auto;
    min-height: 210px;
    padding: 10px 9px 10px;
  }

  .site-bot-day {
    margin-bottom: 9px;
    font-size: 10px;
  }

  .site-bot-message {
    max-width: 100%;
    margin-bottom: 9px;
    padding: 10px 11px;
    border-radius: 15px;
    font-size: 12.4px;
    line-height: 1.42;
  }

  .site-bot-message.bot {
    width: 100%;
    border-top-left-radius: 7px;
  }

  .site-bot-message.user {
    width: fit-content;
    max-width: 92%;
    border-top-right-radius: 7px;
  }

  .site-bot-bubble-title {
    margin-bottom: 4px;
    font-size: 12.6px;
  }

  .site-bot-answer-card {
    padding: 9px;
    border-radius: 12px;
  }

  .site-bot-actions {
    gap: 6px;
  }

  .site-bot-actions a,
  .site-bot-actions button {
    min-height: 32px;
    padding: 7px 10px;
    font-size: 11.2px;
  }

  .site-bot-suggestions {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 9px;
    gap: 7px;
  }

  .site-bot-suggestions button {
    flex: 0 0 auto;
    max-width: 158px;
    white-space: nowrap;
    padding: 8px 10px;
    font-size: 11px;
  }

  .site-bot-form {
    padding: 8px 9px 10px;
    grid-template-columns: minmax(0, 1fr) 72px;
    gap: 7px;
  }

  .site-bot-form input,
  .site-bot-form button[type="submit"] {
    height: 44px;
    border-radius: 14px;
  }

  .site-bot-form input {
    font-size: 12.6px;
    padding: 0 11px;
  }

  .site-bot-form button[type="submit"] {
    min-width: 72px;
    font-size: 11.8px;
  }
}

@media (max-width: 380px) {
  .site-bot-panel {
    left: 5px;
    right: 5px;
    top: 6px;
    bottom: 6px;
    border-radius: 20px;
  }

  .site-bot-avatar {
    display: inline-flex;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
  }

  .site-bot-header {
    padding: 12px 11px 11px;
  }

  .site-bot-header strong {
    font-size: 14.2px;
  }

  .site-bot-header small {
    font-size: 10.8px;
  }

  .site-bot-welcome span {
    font-size: 11px;
  }

  .site-bot-form {
    grid-template-columns: minmax(0, 1fr) 64px;
  }

  .site-bot-form button[type="submit"] {
    min-width: 64px;
  }
}

/* Bot v6 - ajuste final mobile com painel compacto, sem áreas vazias e mensagens mais visuais */
.site-bot-panel {
  contain: layout paint;
}

.site-bot-welcome,
.site-bot-message.bot {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.site-bot-message {
  font-size: 13.4px;
  line-height: 1.52;
}

.site-bot-message.bot {
  max-width: 100%;
}

.site-bot-message.user {
  margin-left: auto;
  max-width: min(84%, 340px);
}

.site-bot-answer-card {
  background: linear-gradient(180deg, #ffffff, #f5f9ff);
  border-color: #d4e3fb;
}

@media (max-width: 640px) {
  .site-bot {
    right: 8px;
    bottom: 8px;
  }

  .site-bot-panel {
    position: fixed;
    left: 8px;
    right: 8px;
    top: auto;
    bottom: 76px;
    width: auto;
    height: min(78vh, 620px);
    max-height: min(78vh, 620px);
    border-radius: 24px;
    overflow: hidden;
  }

  .site-bot-header {
    padding: 12px 12px 11px;
    min-height: unset;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .site-bot-brand {
    align-items: flex-start;
    gap: 10px;
  }

  .site-bot-avatar {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }

  .site-bot-title-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .site-bot-status {
    margin-bottom: 4px;
    font-size: 8.5px;
  }

  .site-bot-header strong {
    font-size: 15.6px;
    line-height: 1.12;
  }

  .site-bot-header small {
    margin-top: 3px;
    font-size: 11.4px;
    line-height: 1.32;
  }

  .site-bot-close {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
  }

  .site-bot-welcome {
    margin: 8px 10px 0;
    padding: 11px 12px;
    border-radius: 16px;
  }

  .site-bot-welcome strong {
    font-size: 13px;
    line-height: 1.28;
  }

  .site-bot-welcome span {
    font-size: 11.9px;
    line-height: 1.42;
  }

  .site-bot-tabs {
    padding: 8px 10px 9px;
    gap: 8px;
    border-bottom: 1px solid var(--bot-line);
  }

  .site-bot-tabs button {
    min-width: 132px;
    max-width: 160px;
    padding: 9px 12px;
    font-size: 11.2px;
  }

  .site-bot-messages {
    flex: 1 1 auto;
    min-height: 0;
    padding: 10px;
  }

  .site-bot-day {
    margin-bottom: 10px;
  }

  .site-bot-message {
    width: auto;
    max-width: 100%;
    margin-bottom: 10px;
    padding: 12px 13px;
    border-radius: 16px;
    font-size: 12.9px;
    line-height: 1.47;
  }

  .site-bot-message.bot {
    width: 100%;
  }

  .site-bot-bubble-title {
    font-size: 13.1px;
    margin-bottom: 5px;
  }

  .site-bot-actions {
    gap: 7px;
  }

  .site-bot-actions a,
  .site-bot-actions button {
    min-height: 34px;
    padding: 8px 11px;
    font-size: 11.3px;
  }

  .site-bot-suggestions {
    padding: 8px 10px;
    gap: 8px;
    min-height: 54px;
    max-height: 54px;
  }

  .site-bot-suggestions button {
    max-width: 170px;
    padding: 8px 12px;
    font-size: 11.1px;
  }

  .site-bot-form {
    padding: 8px 10px 10px;
    grid-template-columns: minmax(0, 1fr) 72px;
    gap: 8px;
  }

  .site-bot-form input,
  .site-bot-form button[type="submit"] {
    height: 46px;
    border-radius: 15px;
  }

  .site-bot-form input {
    font-size: 13px;
    padding: 0 13px;
  }

  .site-bot-form button[type="submit"] {
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  .site-bot-panel {
    left: 6px;
    right: 6px;
    bottom: 72px;
    height: min(80vh, 610px);
    max-height: min(80vh, 610px);
    border-radius: 22px;
  }

  .site-bot-header {
    padding: 11px 10px 10px;
  }

  .site-bot-welcome,
  .site-bot-messages,
  .site-bot-suggestions,
  .site-bot-form,
  .site-bot-tabs {
    margin-left: 0;
    margin-right: 0;
  }

  .site-bot-tabs button {
    min-width: 126px;
    max-width: 148px;
  }

  .site-bot-form {
    grid-template-columns: minmax(0, 1fr) 68px;
  }
}
