*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:#17181b;background:#fff}button{font:inherit;cursor:pointer;border:0;background:none}#app{height:100dvh;max-width:860px;margin:auto;display:flex;flex-direction:column;position:relative}.top{height:70px;display:flex;align-items:center;gap:12px;padding:0 17px}.iconbtn{width:40px;height:40px;border-radius:11px;display:grid;place-items:center;color:#34363c}.iconbtn:hover{background:#f1f2f6}.brand{font-size:21px;font-weight:800;letter-spacing:-.6px}.brand span{color:#4358ef}.model{background:#f4f5f8;padding:8px 10px;border-radius:10px;color:#666;font-size:13px}.avatar{margin-left:auto;width:36px;height:36px;border-radius:50%;color:#fff;font-size:12px;font-weight:800;background:linear-gradient(135deg,#7ce6ff,#7560ff)}main{flex:1;min-height:0}.welcome{height:100%;display:grid;place-content:center;text-align:center;padding:30px}.qmark{margin:auto auto 18px;width:58px;height:58px;border-radius:19px;background:#eef0ff;color:#4358ef;display:grid;place-items:center;font-size:25px;font-weight:900}.welcome h1{font-size:30px;margin:0 0 8px;letter-spacing:-1px}.welcome p{color:#90939d;margin:0}.chat{height:100%;overflow:auto;padding:20px 18px 110px;display:none}.msg{display:flex;margin:12px 0}.msg.user{justify-content:flex-end}.bubble{max-width:82%;padding:13px 16px;border-radius:18px;line-height:1.55}.user .bubble{background:#edf0ff}.ai .bubble{background:#f5f6f8}.composer{position:absolute;bottom:17px;left:15px;right:15px;min-height:62px;background:#f6f7fb;border:1px solid #e9ebf2;border-radius:27px;display:flex;align-items:center;padding:7px;box-shadow:0 8px 25px #1720470b}.composer textarea{flex:1;border:0;outline:0;background:transparent;resize:none;padding:13px 10px;font-size:15px;max-height:100px}.round,.send{width:46px;height:46px;border-radius:50%;display:grid;place-items:center}.round{background:#fff;border:1px solid #e9ebf2}.send{background:linear-gradient(145deg,#80e5ff,#7460ff);color:#fff}#shade{position:fixed;inset:0;background:#0006;display:none;z-index:20}.drawer{position:fixed;z-index:30;left:0;top:0;bottom:0;width:min(88vw,390px);background:#f7f8fc;transform:translateX(-105%);transition:.25s;padding:18px;box-shadow:10px 0 35px #0002}.drawer.open{transform:none}.drawerHead{display:flex;align-items:center;justify-content:space-between;height:50px}.search{display:flex;align-items:center;background:#fff;border-radius:16px;padding:0 15px;height:55px;margin:18px 0 10px;color:#8c909a}.search input{border:0;outline:0;background:none;width:100%;padding:0 10px;font-size:15px}.navitem{width:100%;height:60px;text-align:left;padding:0 12px;border-radius:12px;font-size:16px}.navitem:hover{background:#fff}.sheet{position:fixed;z-index:35;left:0;right:0;bottom:0;max-height:88dvh;overflow:auto;background:#f7f8fc;border-radius:28px 28px 0 0;padding:10px 20px 25px;transform:translateY(105%);transition:.25s}.sheet.open{transform:none}.handle{width:52px;height:5px;border-radius:8px;background:#d4d7df;margin:0 auto 18px}.uploadgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.uploadgrid button{height:82px;border-radius:17px;background:#fff;border:1px solid #eee;display:grid;place-items:center}.toolrow{min-height:58px;background:#fff;border-bottom:1px solid #eee;padding:0 16px;display:flex;align-items:center;gap:14px}.toolrow:first-child{border-radius:20px 20px 0 0}.toolrow:last-child{border-radius:0 0 20px 20px;border:0}.page{position:fixed;inset:0;z-index:60;background:#f7f8fc;display:none;overflow:auto}.page.show{display:block}.page header{height:72px;display:flex;align-items:center;justify-content:center}.page h2{font-size:23px}.page header .iconbtn{position:absolute;left:15px}.card{background:#fff;margin:12px 20px;padding:18px;border-radius:18px}.row{background:#fff;margin:1px 20px;padding:18px;display:flex;align-items:center;gap:13px}.row:first-child{border-radius:18px 18px 0 0}.row:last-child{border-radius:0 0 18px 18px}.row .right{margin-left:auto;color:#9295a0}.primary{background:#2448ee;color:white;border-radius:25px;padding:13px 20px}.input{width:100%;padding:15px;border:1px solid #eee;border-radius:14px;outline:0}.textarea{min-height:120px;resize:vertical}#toast{position:fixed;z-index:100;bottom:95px;left:50%;transform:translateX(-50%);background:#17181b;color:#fff;border-radius:20px;padding:11px 16px;font-size:13px;display:none}@media(min-width:800px){.page{max-width:860px;left:50%;transform:translateX(-50%)}}