@media (max-width: 560px) {
  #tc-launcher {
    right: 14px;
    bottom: 14px;
    min-width: 54px;
    width: 54px;
    padding: 0;
  }

  .tc-launcher-text {
    display: none;
  }

  #tc-chatbot-root {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
    height: min(680px, calc(100vh - 20px));
    min-height: 0;
    border-radius: 14px;
  }

  #tc-chatbot-header {
    grid-template-columns: 1fr auto;
    min-height: 76px;
    padding: 14px;
  }

  .tc-service-badge {
    display: none;
  }

  .tc-title {
    font-size: 17px;
  }

  .tc-chatbot-intro {
    padding: 9px 14px;
  }

  #tc-messages {
    padding: 13px;
  }

  .tc-message {
    max-width: 94%;
    padding: 9px 11px;
  }

  .tc-card {
    padding: 11px;
  }

  .tc-card-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .tc-cta-btn,
  .tc-extra-link {
    width: 100%;
  }

  #tc-input-area {
    grid-template-columns: 1fr 42px;
    padding: 10px;
  }

  #tc-input,
  #tc-send-btn {
    height: 42px;
  }

  #tc-send-btn {
    width: 42px;
  }
}

@media (max-height: 560px) {
  #tc-chatbot-root {
    height: calc(100vh - 20px);
    bottom: 10px;
  }

  .tc-chatbot-intro {
    display: none;
  }
}
