/* V11 returns the empty conversation to one centered reading column. */
.app-shell { grid-template-columns: 258px minmax(0, 1fr); }

.chat-surface:has(.empty-state:not([hidden])) { justify-content: center; gap: 0; padding: 0 24px; overflow-y: auto; }
.chat-surface:has(.empty-state:not([hidden])) .chat-feed { flex: 0 0 auto; width: 100%; overflow: visible; }
.chat-surface:has(.empty-state:not([hidden])) .empty-state {
  display: block; width: min(100%, 780px); min-height: 0; margin: 0 auto;
  padding: 0 0 29px; text-align: center;
}
.chat-surface:has(.empty-state:not([hidden])) .hero-content { max-width: 100%; }
.empty-state .hero-eyebrow {
  display: block; margin: 0 0 22px; color: #8d9b8d;
  font-size: 11px; font-weight: 550; letter-spacing: .13em;
}
.empty-state h1 {
  margin: 0 0 15px; font-size: clamp(38px, 4vw, 52px);
  font-weight: 550; line-height: 1.18; letter-spacing: -.058em; white-space: normal;
}
.empty-state .hero-description { margin: 0; color: #9aa49a; font-size: 14px; line-height: 1.65; }
.hero-actions { justify-content: center; margin-top: 21px; }
.hero-explore { gap: 11px; color: #b7c8b7; font-size: 12px; font-weight: 500; }
.hero-meta, .hero-model-strip { display: none; }

.chat-surface:has(.empty-state:not([hidden])) .composer-dock { flex: 0 0 auto; width: 100%; padding: 0; }
.chat-surface:has(.empty-state:not([hidden])) .composer { max-width: 780px; }
.composer {
  border-color: #495149; border-radius: 14px; padding: 17px 18px 13px;
  background: #1a1e1b; box-shadow: 0 9px 40px #0000001f;
}
.composer textarea { min-height: 64px; }
.composer-controls { border-top-color: #353d35; }
.send-button { border-radius: 9px; }

.quick-actions {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px; width: min(100%, 780px); max-width: 780px;
  margin: 17px auto 0; border: 0;
}
.quick-actions button {
  display: inline-flex; justify-content: center; gap: 7px; min-height: 34px;
  padding: 7px 12px; border: 1px solid #343b35; border-radius: 999px;
  background: #151915; color: #aeb9ae; font-size: 11px; white-space: nowrap;
}
.quick-actions button:nth-child(3n+1), .quick-actions button:nth-child(2n+1) { padding-left: 12px; }
.quick-actions button:hover { border-color: #6c806d; background: #1e2820; color: #e7eee6; }
.quick-actions button .ui-icon { width: 13px; height: 13px; color: #8ca18c; }
.composer-note { max-width: 780px; margin: 14px auto 0; text-align: center; font-size: 10px; }

@media (max-width: 900px) {
  .chat-surface:has(.empty-state:not([hidden])) { justify-content: center; overflow-y: auto; }
  .chat-surface:has(.empty-state:not([hidden])) .empty-state { width: min(100%, 680px); padding: 0 0 26px; margin: 0 auto; }
  .chat-surface:has(.empty-state:not([hidden])) .composer-dock { padding: 0; }
}
@media (max-width: 760px) {
  .chat-surface:has(.empty-state:not([hidden])) { padding: 24px 17px; }
  .chat-surface:has(.empty-state:not([hidden])) .empty-state { padding-bottom: 23px; }
  .empty-state .hero-eyebrow { margin-bottom: 18px; font-size: 10px; }
  .empty-state h1 { margin-bottom: 11px; font-size: clamp(34px, 8vw, 43px); }
  .empty-state .hero-description { font-size: 12px; }
  .hero-actions { margin-top: 17px; }
  .composer { padding: 13px 13px 11px; }
  .composer textarea { min-height: 58px; font-size: 14px; }
  .quick-actions { margin-top: 15px; gap: 7px; }
  .quick-actions button { min-height: 32px; padding: 6px 11px; font-size: 10px; }
  .quick-actions button:nth-child(3n+1), .quick-actions button:nth-child(2n+1) { padding-left: 11px; }
  .composer-note { line-height: 1.5; }
}
@media (max-width: 420px) {
  .quick-actions button:nth-child(n+5) { display: inline-flex; }
}
@media (max-height: 690px) {
  .chat-surface:has(.empty-state:not([hidden])) { justify-content: flex-start; }
  .chat-surface:has(.empty-state:not([hidden])) .empty-state { padding-top: 25px; }
  .chat-surface:has(.empty-state:not([hidden])) .composer-dock { padding-bottom: 20px; }
}
