.app.empty-chat .chat {
  padding-bottom: 0;
}

.welcome {
  padding: clamp(25px, 7vh, 64px) 8px 0;
}

.welcome h2 {
  font-size: 29px;
}

.auth-entry {
  border: 0;
  border-radius: 12px;
  padding: 9px 11px;
  background: var(--sage2);
  color: #345646;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.app.empty-chat .composer-shell {
  position: relative;
  left: auto;
  bottom: auto;
  width: auto;
  transform: none;
  padding: 0 18px max(18px, env(safe-area-inset-bottom));
  background: none;
}

.app.empty-chat .composer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  border: 2px solid #cbd9d0;
  padding: 10px;
  box-shadow: 0 18px 48px rgba(39, 53, 46, 0.13);
}

.app.empty-chat .composer textarea {
  min-height: 96px;
  max-height: 200px;
  font-size: 15px;
}

.app.empty-chat .question-field {
  grid-area: 1 / 1 / 2 / -1;
}

.app.empty-chat .attach { grid-area: 2 / 1; }
.app.empty-chat .send { grid-area: 2 / 3; }

.question-field {
  display: grid;
  flex: 1;
  min-width: 0;
}

.question-field > * {
  grid-area: 1 / 1;
}

.question-hint {
  display: none;
  pointer-events: none;
  padding: 8px 2px;
  color: #606761;
  font-size: 13px;
  line-height: 1.55;
}

.app.empty-chat .composer textarea:placeholder-shown:not(:focus) {
  max-height: none;
}

.app.empty-chat textarea:placeholder-shown:not(:focus)::placeholder {
  color: transparent;
}

.app.empty-chat textarea:placeholder-shown:not(:focus) + .question-hint {
  display: block;
}

.question-hint p {
  margin: 0 0 3px;
}

.question-hint p::before {
  content: '';
  display: inline-block;
  width: 1px;
  height: 0.9em;
  margin-right: 4px;
  background: currentColor;
  vertical-align: -0.05em;
  animation: question-caret 1.25s steps(1, end) 4 both;
}

.question-hint ul {
  margin: 0;
  padding-left: 1.05em;
}

.question-hint li + li {
  margin-top: 2px;
}

@keyframes question-caret {
  50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .question-hint p::before { animation: none; }
}

.app.empty-chat .composer-shell > p {
  max-width: 460px;
  margin: 9px auto 0;
}

.composer-shell > .ai-accuracy-notice {
  width: fit-content;
  margin-inline: auto;
  padding: 4px 10px;
  border-radius: 8px;
  background: #e3ece6;
  color: #2d493c;
  font-size: 13px;
  font-weight: 650;
}

@media (min-width: 760px) {
  .app.empty-chat .composer-shell {
    bottom: auto;
    border-radius: 0;
  }
}
