*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:system-ui,-apple-system,"Noto Sans Bengali",sans-serif;background:#0b1020;color:#f8fafc}.app{max-width:820px;height:100dvh;min-height:520px;margin:auto;display:flex;flex-direction:column;background:#111827;border-left:1px solid #253047;border-right:1px solid #253047}.topbar{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid #293449;background:#151e30}.brand-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#6366f1,#06b6d4);font-weight:800}.topbar h1{font-size:17px;margin:0}.topbar p{font-size:12px;color:#aab6cc;margin:3px 0 0}.dot{display:inline-block;width:7px;height:7px;background:#34d399;border-radius:50%;margin-right:5px}.clear-btn{margin-left:auto;border:1px solid #34425b;background:#202c42;color:#dbeafe;border-radius:10px;padding:9px 11px;font-size:12px}.chat{flex:1;overflow:auto;padding:18px 14px 24px;scroll-behavior:smooth}.welcome{text-align:center;max-width:480px;margin:9vh auto 0}.welcome-icon{width:58px;height:58px;margin:auto;border-radius:20px;background:#26345a;color:#a5b4fc;display:grid;place-items:center;font-size:30px}.welcome h2{font-size:23px;margin:18px 0 7px}.welcome p{color:#aab6cc;font-size:14px}.suggestions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:22px}.suggestions button{background:#1d2940;border:1px solid #35435e;color:#dbeafe;border-radius:18px;padding:9px 12px;font-size:12px}.message{display:flex;margin:13px 0;gap:9px;align-items:flex-start}.message.user{justify-content:flex-end}.bubble{max-width:min(82%,620px);padding:11px 14px;border-radius:16px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;font-size:14px}.assistant .bubble{background:#202c42;border:1px solid #34425b;border-top-left-radius:5px}.user .bubble{background:#4f46e5;color:white;border-top-right-radius:5px}.avatar{width:28px;height:28px;flex:none;border-radius:10px;display:grid;place-items:center;font-size:11px;font-weight:700;background:#293858;color:#c7d2fe}.user .avatar{display:none}.status{min-height:20px;padding:0 16px;color:#fbbf24;font-size:12px}.composer{display:flex;align-items:flex-end;gap:9px;padding:12px 14px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #293449;background:#151e30}.composer textarea{flex:1;resize:none;max-height:130px;min-height:45px;border:1px solid #3a4964;border-radius:15px;background:#0e1728;color:#fff;padding:12px 13px;font:inherit;font-size:14px;outline:none}.composer textarea:focus{border-color:#818cf8}.composer button{width:45px;height:45px;border:0;border-radius:14px;background:#6366f1;display:grid;place-items:center}.composer button:disabled{opacity:.5}.composer svg{width:22px;height:22px;fill:white}.app footer{text-align:center;color:#77849b;font-size:10px;padding:0 8px 9px;background:#151e30}@media(min-width:700px){.app{height:95dvh;margin:2.5dvh auto;border-radius:20px;overflow:hidden}.chat{padding:24px}}
