/* AskSanket chat: more room for the conversation (owner, 12 Nov 2026) */
/* the site header slides away while the chat is scrolled down and comes back at the top */
body.ai-solo header.top{transition:transform .25s ease}
body.ai-solo.hdr-away header.top{transform:translateY(-120%)}
body.ai-solo.hdr-away #aiChat{top:env(safe-area-inset-top,0px)!important;transition:top .25s ease}
@media (max-width:760px){body.ai-solo.hdr-away #aiChat{height:calc(var(--ai-h,calc(100vh - 149px)) + var(--ai-top,70px))!important}}
@media (prefers-reduced-motion:reduce){body.ai-solo header.top,body.ai-solo.hdr-away #aiChat{transition:none}}
/* smaller question box and status line */
#pg-ai #aiChat .composer{padding:6px 10px 8px!important;gap:6px!important}
#pg-ai #aiChat .q-wrap{padding-top:2px!important;padding-bottom:2px!important;min-height:0!important}
#pg-ai #aiChat #aiQ{min-height:38px!important;height:38px;padding:9px 0!important;font-size:.95rem!important;line-height:20px!important;overflow-y:auto}
#pg-ai #aiChat .q-wrap{align-items:center!important}
#pg-ai #aiChat .q-wrap .mic{width:32px!important;height:32px!important}
#pg-ai #aiChat .mh-send{width:40px!important;height:40px!important}
#pg-ai #aiChat .mh-send svg{width:18px!important;height:18px!important}
#pg-ai #aiChat .mh-status{padding:2px 12px 0!important;gap:6px!important;font-size:.8rem!important;min-height:0!important;flex-wrap:nowrap!important;align-items:center!important}
#pg-ai #aiChat .mh-status .ai-left{flex:0 1 auto!important;width:auto!important;margin:0 auto 0 0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* the message list fills all the space down to the status line (it was capped, leaving a gap under the box) */
#pg-ai #aiChat #aiMsgs{max-height:none!important}
#pg-ai #aiChat .mh-ctx{font-size:.78rem!important;padding:2px 4px!important}
#pg-ai #aiChat .mh-buy{font-size:.76rem!important;padding:3px 10px!important}
/* suggested next questions: no "?" badge */
.msg.bot .nextq button::before{content:none!important;display:none!important}
/* no visible scroll bars in the chat (owner, 12 Nov 2026): it still scrolls with the wheel, touch and keys */
#pg-ai #aiChat #aiMsgs,#pg-ai #aiChat #aiQ{scrollbar-width:none;-ms-overflow-style:none}
#pg-ai #aiChat #aiMsgs::-webkit-scrollbar,#pg-ai #aiChat #aiQ::-webkit-scrollbar{display:none;width:0;height:0}
html:has(body.ai-solo),body.ai-solo{scrollbar-width:none}
html:has(body.ai-solo)::-webkit-scrollbar,body.ai-solo::-webkit-scrollbar{display:none;width:0}
/* slimmer, evenly aligned question box */
#pg-ai #aiChat .composer{align-items:center!important}
#pg-ai #aiChat .q-wrap{border-width:1.5px!important;padding:0 6px 0 16px!important;min-height:44px!important;box-sizing:border-box}
