/* Native viewport, edge-to-edge canvas, independent from the browser/PWA. */
html.maha-tg26,html.maha-tg26 body{width:100%;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;background:#fff;color-scheme:light}
html.maha-tg26 #app,html.maha-tg26 #app.chat25{position:fixed;inset:auto;top:var(--m26-top,0px);left:50%;transform:translateX(-50%);width:100%;max-width:540px;height:var(--m26-height,100dvh);min-height:0;padding: max(var(--m26-top-inset,0px),var(--m26-safe-top,0px)) 0 0;overflow:hidden;background:#fff;box-sizing:border-box}
/* safe-top is set separately from viewport offset by the bridge. */
html.maha-tg26 #app,html.maha-tg26 #app.chat25{padding-top:var(--m26-safe-top,0px);padding-left:var(--m26-left,0px);padding-right:var(--m26-right,0px);padding-bottom:var(--m26-bottom,0px)}
html.maha-tg26.m26-mobile #app{max-width:none}
html.maha-tg26 #app .scr,html.maha-tg26 .p25-scroll{min-height:0;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none}
html.maha-tg26 #app .scr{padding-inline:20px;gap:15px}
html.maha-tg26 .tabs{flex:none;padding:6px 8px 7px!important;background:#fff;box-shadow:0 -1px 0 #e7ebe3;border:0}
html.maha-tg26 .tabs button{min-height:48px;box-shadow:none!important;gap:3px}
html.maha-tg26 .tabs .pill{border-radius:16px;width:46px;height:28px}
html.maha-tg26 .tabs button.on .pill{background:#e7f2d2}
html.maha-tg26 .tabs button.on{color:#41651d}
html.maha-tg26 .chat25 .tg-head{padding:8px 12px!important;min-height:58px;flex-shrink:0}
html.maha-tg26 .chat25 .tg-compose{padding:8px 12px!important;flex-shrink:0;position:relative;bottom:auto;background:#fff;border-top:1px solid #e3e8df}
html.maha-tg26 .chat25 .tg-compose textarea{font-size:16px!important;min-height:44px;touch-action:manipulation}
html.maha-tg26 .chat25 .tg-wrap{min-height:0;flex:1 1 0!important}
html.maha-tg26 .chat25 #msgs{padding:12px 12px 8px;scrollbar-width:none}
html.maha-tg26 .chat25 .tg-compose .btn{min-width:44px;width:44px;height:44px!important;border-radius:50%!important}
html.maha-tg26 .chat25 .tg-status{flex-shrink:0}
html.maha-tg26 .p25-head{flex-shrink:0;padding:9px 14px}
html.maha-tg26 .p25-actions{padding:8px 14px!important;flex-shrink:0}
html.maha-tg26 .p25-scroll{padding-bottom:16px}
html.maha-tg26 .ov{inset:var(--m26-safe-top,0px) var(--m26-right,0px) var(--m26-bottom,0px) var(--m26-left,0px);padding:16px}
html.maha-tg26 #installHint{display:none!important}
html.maha-tg26 input,html.maha-tg26 textarea,html.maha-tg26 select{font-size:16px!important}
html.maha-tg26 body>main{position:fixed;top:var(--m26-top,0px);left:50%;transform:translateX(-50%);height:var(--m26-height,100dvh);min-height:0!important;width:100%;max-width:540px;overflow-y:auto;overscroll-behavior:contain;padding:calc(14px + var(--m26-safe-top,0px)) calc(20px + var(--m26-right,0px)) calc(14px + var(--m26-bottom,0px)) calc(20px + var(--m26-left,0px));gap:14px}
html.maha-tg26 body>main article{min-height:220px;flex:1 0 auto;padding:8px 0;gap:14px}
html.maha-tg26 body>main .art{width:144px;height:120px;border-radius:32px}
html.maha-tg26 body>main .primary{flex-shrink:0}
@media(prefers-reduced-motion:reduce){html.maha-tg26 *{animation-duration:0.01ms!important;transition-duration:0.01ms!important}}
