.mobile-chat[hidden] { display: none !important; }
.mobile-chat { display: none; }
@media (max-width: 720px) {
  body.mobile-paged { overflow: hidden; }
  .mobile-paged .chat { min-height: 0; }
  .mobile-paged #sections, .mobile-paged #chat-bot-text { display: none !important; }
  .mobile-paged .chat__messages { min-height: 0; padding: 0; }
  .mobile-paged .chat__turn, .mobile-paged .chat__response, .mobile-paged .chat__ai-bubble { transform: none !important; animation: none !important; will-change: auto; }
  .mobile-paged .chat__user-msg { margin: 4px 16px 8px; font-size: 12px; }
  .mobile-chat { display: flex; flex-direction: column; position: fixed; left: 16px; right: 16px; top: 108px; bottom: calc(var(--keyboard-inset, 0px) + var(--composer-space, 122px) - 24px); gap: 12px; }
  .mobile-chat__heading { display: flex; flex-direction: column; gap: 6px; flex: 0 0 auto; }
  .mobile-chat__heading h2 { font-size: 24px; line-height: 1.15; margin: 0; text-wrap: balance; }
  .mobile-chat__back { display: inline-flex; align-items: center; width: max-content; min-height: 36px; color: var(--slate-400); font-size: 13px; }
  .mobile-chat__back[hidden] { display: none; }
  .mobile-chat__body { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; gap: 12px; }
  .mobile-chat__body > * { flex-shrink: 0; margin: 0; }
  .mobile-chat p { color: var(--slate-300); font-size: 14px; line-height: 1.5; margin: 0; overflow-wrap: anywhere; }
  .mobile-chat h3 { font-size: 17px; line-height: 1.3; margin: 0; }
  .mobile-chat__offer { padding: 14px; display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--navy-800); text-decoration: none; }
  .mobile-chat__offer:hover { border-color: var(--cyan-400); }
  .mobile-chat__offer p { font-size: 13px; }
  .mobile-chat__logos { display: flex; flex-wrap: wrap; gap: 10px 14px; }
  .mobile-chat__logos .tool { white-space: normal; font-size: 11px; gap: 5px; }
  .mobile-chat__logos img { width: 21px; height: 21px; }
  .mobile-chat__topic { display: grid; gap: 6px; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .mobile-chat__topic p { font-size: 13px; }
  .mobile-chat__action { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 10px 14px; border-radius: 10px; color: #14212a; background: var(--cyan-400); font-size: 14px; font-weight: 600; text-decoration: none; }
  .mobile-chat__action svg { width: 18px; height: 18px; }
  .mobile-chat__profile { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: center; }
  .mobile-chat__profile img { width: 84px; height: 116px; object-fit: contain; object-position: bottom; background: var(--navy-700); border-radius: 8px; }
  .mobile-chat__profile p { font-size: 11px; margin-top: 6px; }
  .mobile-chat__links { display: flex; flex-wrap: wrap; gap: 10px 20px; }
  .mobile-chat__links a, .mobile-chat__contacts a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; color: var(--cyan-400); }
  .mobile-chat__links svg { width: 20px; height: 20px; }
  .mobile-chat__contacts { display: flex; flex-direction: column; }
  .mobile-chat__point { padding-left: 12px; border-left: 2px solid var(--cyan-400); }
  .mobile-chat__pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: 0 0 44px; }
  .mobile-chat__pager button { min-width: 44px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--navy-700); color: var(--ink); font-size: 13px; }
  .mobile-chat__pager span { color: var(--slate-400); font-size: 12px; }
  .mobile-chat__pager button:disabled { visibility: hidden; }
  .mobile-chat__pager.is-single { visibility: hidden; }
  .keyboard-open.mobile-paged .chat__user-msg { visibility: hidden; }
  .keyboard-open .mobile-chat__heading { display: none; }
  @media (max-height: 650px) {
    .mobile-chat { gap: 8px; }
    .mobile-chat__heading h2 { font-size: 21px; }
    .mobile-chat__body { gap: 8px; }
    .mobile-chat__offer { padding: 10px 12px; gap: 6px; }
    .mobile-chat__offer p { display: none; }
    .mobile-chat__offer .tool span { display: none; }
    .mobile-chat__topic { padding: 6px 0; }
  }
}
