.galochka-conversation{background:var(--bg-color);flex-direction:column;flex:auto;min-height:0;margin:0;display:flex;overflow:hidden}.galochka-chat-scroll{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex-direction:column;flex:auto;gap:10px;min-height:0;padding:8px 16px 16px;display:flex;overflow-y:auto}.chat-message{align-items:flex-end;gap:8px;max-width:90%;animation:.3s cubic-bezier(.2,.8,.2,1) galochkaChatIn;display:flex}.chat-message.bot{align-self:flex-start}.chat-message.user{flex-direction:row-reverse;align-self:flex-end}@keyframes galochkaChatIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.galochka-chat-avatar{background:#ffd0b0;border:1px solid #8b4513;border-radius:8px;flex:0 0 28px;justify-content:center;align-items:center;width:28px;height:28px;display:flex;overflow:hidden}.galochka-chat-avatar svg{width:26px;height:26px}.chat-bubble{overflow-wrap:anywhere;background:var(--surface-color);max-width:100%;color:var(--text-main);white-space:pre-wrap;border-radius:18px 18px 18px 6px;padding:10px 14px;font-size:14px;line-height:1.4}.chat-message.user .chat-bubble{background:var(--accent-blue);color:#fff;border-radius:18px 18px 6px}.galochka-chat-error{color:var(--accent-red);margin:0;padding:0 14px 8px;font-size:12px}.galochka-input-bar{z-index:10;border-top:1px solid var(--border-color);background:var(--bg-color);padding:10px 16px max(14px, env(safe-area-inset-bottom,14px));flex:none;align-items:center;gap:8px;display:flex;position:relative}.galochka-input-bar input{background:var(--surface-color);width:100%;min-width:0;height:44px;color:var(--text-main);font:inherit;border:0;border-radius:22px;outline:0;flex:auto;padding:0 16px;font-size:14px}.galochka-input-bar input:disabled{opacity:.72;cursor:not-allowed}.galochka-input-bar input::placeholder{color:var(--text-muted)}.galochka-input-bar button,.galochka-home-btn{border:0;border-radius:50%;flex:0 0 44px;justify-content:center;align-items:center;width:44px;height:44px;font-size:20px;font-weight:700;transition:transform .15s,background .2s;display:flex}.galochka-input-bar button:active,.galochka-home-btn:active{transform:scale(.92)}.galochka-send-btn{background:var(--accent-blue);color:#fff}.galochka-send-btn:disabled{background:var(--surface-color);color:var(--text-muted);cursor:not-allowed}.galochka-home-btn{background:var(--surface-color);color:var(--text-main);text-decoration:none}.galochka-home-btn svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px}.galochka-chat-progress{color:var(--text-muted);align-self:flex-start;margin:0 0 0 36px;font-size:12px}@media (max-width:600px){#page-galochka.page.active{height:calc(100dvh - 128px);min-height:320px}.galochka-chat-scroll{padding:8px 12px 12px}.galochka-input-bar{padding-left:10px;padding-right:10px}}
#page-galochka.page.active{flex-direction:column;height:calc(100dvh - 132px);min-height:320px;display:flex;overflow:visible}@media (max-width:600px){#page-galochka.page.active{height:calc(100dvh - 128px);min-height:320px}}@media (min-width:1024px){#page-galochka.page.active{height:calc(100dvh - 48px)}}
