*{box-sizing:border-box} :root{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","PingFang SC",sans-serif;color:#17181c;background:#f5f5f7;font-synthesis:none}body{margin:0;background:#f5f5f7}.app{max-width:680px;margin:auto;min-height:100dvh;padding:env(safe-area-inset-top) 16px calc(92px + env(safe-area-inset-bottom));}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between}.eyebrow{font-size:10px;letter-spacing:2px;color:#8b8d95;font-weight:700}h1{font-size:28px;margin:2px 0;font-weight:750;letter-spacing:-.7px}.round{border:0;background:#fff;width:42px;height:42px;border-radius:50%;font-size:20px;box-shadow:0 3px 14px #2020300c}button{font:inherit;cursor:pointer}.tabbar{position:fixed;z-index:5;bottom:0;left:0;right:0;max-width:680px;margin:auto;padding:9px 12px calc(9px + env(safe-area-inset-bottom));background:#ffffffed;backdrop-filter:blur(22px);border-top:1px solid #e6e6eb;display:flex;justify-content:space-around}.tab{border:0;background:none;color:#9698a1;font-size:11px;display:grid;gap:3px;justify-items:center;min-width:62px}.tab span{font-size:21px}.tab.active{color:#246bfe;font-weight:650}.section-head{display:flex;align-items:center;justify-content:space-between;margin:16px 2px 12px}.section-head h2{font-size:17px;margin:0}.muted{color:#8b8d95;font-size:13px}.primary,.secondary,.danger{border:0;border-radius:13px;padding:12px 16px;font-weight:650}.primary{background:#246bfe;color:white}.secondary{background:#e9eefb;color:#246bfe}.danger{background:#fff0f0;color:#d33}.card{background:#fff;border-radius:20px;padding:16px;margin:10px 0;box-shadow:0 4px 18px #20203008}.row{display:flex;align-items:center;gap:12px}.avatar{width:48px;height:48px;border-radius:16px;background:linear-gradient(145deg,#dce6ff,#a8c0ff);display:grid;place-items:center;font-size:22px;flex:none}.grow{flex:1;min-width:0}.title{font-weight:700;font-size:15px}.sub{color:#92949c;font-size:12px;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pill{font-size:10px;background:#f0f3fa;color:#65718a;border-radius:20px;padding:5px 8px}.empty{text-align:center;padding:48px 18px;color:#92949c}.empty .big{font-size:42px;margin-bottom:12px}.field{display:grid;gap:7px;margin:13px 0}.field label{font-size:12px;color:#747781;font-weight:650}.field input,.field textarea,.field select{width:100%;border:1px solid #e5e6eb;background:#f8f8fa;border-radius:12px;padding:12px;font:inherit;font-size:14px;outline:none}.field textarea{min-height:90px;resize:vertical}.field input:focus,.field textarea:focus{border-color:#8ab0ff;background:white}.actions{display:flex;gap:8px;flex-wrap:wrap}.chat-head{display:flex;align-items:center;gap:10px;padding:4px 0 14px}.back{border:0;background:none;font-size:24px}.messages{display:flex;flex-direction:column;gap:12px;padding:12px 0 18px;min-height:48vh}.bubble{max-width:85%;padding:12px 14px;border-radius:18px;white-space:pre-wrap;line-height:1.55;font-size:15px;overflow-wrap:anywhere}.bubble.user{align-self:flex-end;background:#2475f5;color:white;border-bottom-right-radius:6px}.bubble.assistant{align-self:flex-start;background:white;color:#202127;border-bottom-left-radius:6px;box-shadow:0 2px 10px #00000008}.composer{position:sticky;bottom:82px;background:#f5f5f7;padding:8px 0;display:flex;gap:8px;align-items:flex-end}.composer textarea{flex:1;min-height:44px;max-height:120px;border:0;border-radius:22px;padding:13px 16px;font:inherit;resize:none;background:#fff;outline:none}.send{height:44px;width:44px;border-radius:50%;border:0;background:#246bfe;color:white;font-size:18px}.app-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.app-icon{background:#fff;border:0;border-radius:20px;padding:17px 5px;display:grid;gap:8px;justify-items:center;box-shadow:0 4px 15px #20203008}.app-icon b{font-size:28px}.app-icon span{font-size:12px}.note{min-height:160px}.modal{position:fixed;inset:0;background:#0006;z-index:10;display:flex;align-items:flex-end;justify-content:center}.sheet{width:min(680px,100%);max-height:90dvh;overflow:auto;background:#f7f7f9;border-radius:24px 24px 0 0;padding:22px 18px calc(24px + env(safe-area-inset-bottom))}.sheet h2{margin:0 0 12px}.close{float:right;border:0;background:#e8e8ed;border-radius:50%;width:30px;height:30px}.toast{position:fixed;z-index:20;bottom:105px;left:50%;transform:translateX(-50%);background:#24252a;color:#fff;padding:10px 16px;border-radius:22px;font-size:13px;opacity:0;transition:.2s;pointer-events:none}.toast.show{opacity:1}.small{font-size:11px;color:#92949c;line-height:1.5}.setting-row{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid #eee}.chat-tools{display:flex;gap:8px;flex-wrap:wrap}.chat-tools button{border:0;background:#e9eefb;color:#4268a9;border-radius:20px;padding:8px 11px;font-size:12px}@media(min-width:600px){.app{padding-left:24px;padding-right:24px}.messages{min-height:55vh}}