/* Shared chat question suggestions and InputDock primitives. */
:is(.dt-article, .geo-conversation) .ask-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
:is(.dt-article, .geo-conversation) .ask-block h3 {
  margin: 0;
  font-weight: 700;
  font-size: 24px;
  color: var(--ink, #111827);
}
:is(.dt-article, .geo-conversation) .ask-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
:is(.dt-article, .geo-conversation) .ask-sug {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: rgba(107, 114, 128, 0.1);
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  min-height: 52px;
  box-sizing: border-box;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  font-family: Poppins, Inter, sans-serif;
}
:is(.dt-article, .geo-conversation) .ask-sug img {
  width: 17px;
  height: 18.7px;
  flex: 0 0 auto;
}
:is(.dt-article, .geo-conversation) .ask-sug span {
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  color: var(--ink, #111827);
}

.dt-chat-input {
  position: relative;
  z-index: 1;
  height: 72px;
  width: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 11px 0 24px;
}
.dt-chat-followup {
  flex: 1 1 auto;
  height: auto;
  max-height: 128px;
  padding: 0;
  border: 0;
  outline: none;
  font-family: inherit;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.8;
  color: var(--ink, #111827);
  background: transparent;
  min-width: 0;
  resize: none;
  overflow-x: hidden;
  overflow: hidden;
  overscroll-behavior: contain;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dt-chat-followup.is-multiline {
  line-height: 32px;
  color: #000;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: pre-wrap;
}
@media (min-width: 769px) {
  .dt-chat-input.is-multiline {
    box-sizing: border-box;
    height: auto;
    min-height: 72px;
    align-items: flex-start;
    padding: 19px 23px 71px;
    border-radius: 36px;
  }
  .dt-chat-input.is-multiline .dt-chat-followup {
    width: 100%;
    flex: 0 0 auto;
  }
  .dt-chat-input.is-multiline .dt-chat-send {
    position: absolute;
    right: 11px;
    bottom: 10px;
  }
  .dt-chat-followup.has-overflow {
    scrollbar-color: #7d828c #e5e8ed;
    scrollbar-width: thin;
  }
  .dt-chat-followup.has-overflow::-webkit-scrollbar {
    width: 4px;
  }
  .dt-chat-followup.has-overflow::-webkit-scrollbar-track {
    margin-block: 8px;
    border-radius: 2px;
    background: #e5e8ed;
  }
  .dt-chat-followup.has-overflow::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background: #7d828c;
  }
}
.dt-chat-followup::placeholder {
  color: #9ca3af;
  opacity: 1;
}
.dt-chat-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  background: #111827;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 12px 24px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  font-size: 16px;
  flex: 0 0 auto;
}
.dt-chat-send img {
  width: 17px;
  height: 17px;
  display: block;
  flex: 0 0 auto;
  transform: rotate(45deg);
}
.dt-chat-send:disabled {
  opacity: 0.5;
  cursor: default;
}
.dt-chat-checking-spinner {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  animation: dt-chat-spin 0.8s linear infinite;
}
@keyframes dt-chat-spin {
  to {
    transform: rotate(360deg);
  }
}
.dt-chat-stop {
  background: #8b5cf6;
}

html[data-platform="mobile"] {
  .dt-chat-input {
    box-sizing: border-box;
    height: 122px;
    min-height: 122px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: minmax(0, 1fr) 44px;
    align-items: start;
    gap: 10px;
    padding: 11px;
    border: 1px solid #eee;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 5px 18px rgba(6, 6, 6, 0.1);
    backdrop-filter: blur(25px);
  }
  .dt-chat-input.is-multiline {
    height: 176px;
  }
  .dt-chat-followup {
    grid-column: 1 / -1;
    grid-row: 1;
    align-self: center;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    min-height: 21px;
    max-height: 84px;
    padding: 0 8px;
    font-size: 16px;
    line-height: 21px;
    resize: none;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: rgba(122, 122, 128, 0.9) rgba(229, 229, 229, 0.7);
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    text-overflow: clip;
    white-space: pre-wrap;
  }
  .dt-chat-followup.is-multiline {
    align-self: center;
  }
  .dt-chat-followup:placeholder-shown {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .dt-chat-followup::-webkit-scrollbar {
    width: 2px;
  }
  .dt-chat-followup::-webkit-scrollbar-track {
    border-radius: 1px;
    background: rgba(229, 229, 229, 0.7);
  }
  .dt-chat-followup::-webkit-scrollbar-thumb {
    border-radius: 1px;
    background: rgba(122, 122, 128, 0.9);
  }
  .dt-chat-send {
    grid-column: 2;
    grid-row: 2;
    width: auto;
    min-width: 128px;
    height: 44px;
    gap: 4px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #000;
    font-size: 12px;
    line-height: 16px;
    box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.25);
  }
  .dt-chat-send span {
    display: inline;
    white-space: nowrap;
  }
  .dt-chat-send img {
    width: 8px;
    height: 10.63px;
  }
  .dt-chat-checking-spinner {
    width: 10px;
    height: 10px;
  }
  .dt-chat-stop {
    min-width: 64px;
    background: #8b5cf6;
  }
  :is(.dt-article, .geo-conversation) .ask-block h3 {
    font-size: 20px;
  }
  :is(.dt-article, .geo-conversation) .ask-sug {
    max-width: 100%;
    min-height: 48px;
    padding: 12px 16px;
  }
  :is(.dt-article, .geo-conversation) .ask-sug span {
    font-size: 14px;
    line-height: 1.45;
  }
}
