
*{box-sizing:border-box} :root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#24352e;background:#fafbf9;font-synthesis:none;-webkit-text-size-adjust:100%;--muted:#78847d;--line:#e6ebe6;--accent:#315d4b;--viewport-height:100dvh}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer;border:0;-webkit-tap-highlight-color:transparent}button:disabled{opacity:.4;cursor:default}[hidden]{display:none!important}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:2px solid #678d77;outline-offset:3px}button,a{touch-action:manipulation}
.shell{display:flex;height:var(--viewport-height);overflow:hidden}.sidebar{width:246px;background:#f0f3ed;border-right:1px solid var(--line);padding:34px 25px;display:flex;flex-direction:column;flex-shrink:0}.brand{display:flex;gap:11px;align-items:center;font-size:15px;font-weight:650}.brand small{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:7px}.mark,.welcome-mark,.mini-mark{font-family:Georgia,serif;display:grid;place-items:center;background:var(--accent);color:white;font-weight:400}.mark{width:38px;height:40px;border-radius:12px;font-size:29px;padding-bottom:7px}.new{margin-top:40px;padding:14px 16px;border:1px solid #d9e2d6;background:#e5ecdf;color:#35533e;border-radius:12px;text-align:left;font-size:14px}.sidebar-note{margin-top:38px;color:#84917f;font-size:11px}.sidebar-note p{font-size:13px;line-height:1.9;color:#83917e}.aside-bottom{margin-top:auto;color:#66775e;font-size:12px}.aside-bottom small{display:block;font-size:11px;color:#8b9785;margin:10px 0 0 14px}.dot{display:inline-block;width:6px;height:6px;background:#759b79;border-radius:50%;flex-shrink:0}main{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;position:relative}
header{height:80px;display:flex;justify-content:space-between;align-items:center;padding:0 35px;border-bottom:1px solid var(--line);flex-shrink:0;background:#fafbf9}.header-brand{display:flex;gap:10px;align-items:center}header strong{font-size:15px;letter-spacing:-.35px;font-weight:650}.header-subtitle{display:block;font-size:10px;color:#8b948c;margin-top:4px}.mini-mark{display:none}.header-actions{display:flex;align-items:center;gap:12px}.icon-button{width:40px;height:40px;display:grid;place-items:center;color:#627168;background:transparent;border-radius:12px;font-size:25px}.icon-button:hover{background:#eef2eb}.status{background:#f0f4ed;border:1px solid #e4eadf;border-radius:30px;color:#64765c;font-size:11px;display:flex;align-items:center;gap:7px;min-height:36px;padding:0 11px}.status.offline .dot{background:#b3a894}.status span:last-child{font-size:15px}#newMobile{display:none}
#messages{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;overflow-anchor:none;padding:30px max(24px,calc((100% - 720px)/2)) 26px;scrollbar-width:thin;scrollbar-color:#d5ded3 transparent}#welcome{margin:clamp(24px,8vh,85px) auto 35px;max-width:500px;text-align:center}.welcome-mark{width:64px;height:66px;border-radius:23px;margin:auto;font-size:46px;padding-bottom:12px;box-shadow:0 9px 24px #315d4b12}.eyebrow{font-size:9px;letter-spacing:2px;color:#899780;margin:25px 0 17px}h1{font-size:32px;font-weight:550;letter-spacing:-1px;margin:15px 0}.intro{font-size:14px;color:#889281;line-height:1.9}.suggestions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:32px auto 0;max-width:400px}.suggestions button{background:#f0f4eb;border:1px solid #e4eadb;border-radius:16px;padding:18px;text-align:left;color:#647a56}.suggestion-icon{font-size:24px;display:block;margin-bottom:17px}.suggestions b{display:block;font-size:13px;font-weight:550;color:#42553b}.suggestions span:last-child{display:block;font-size:11px;color:#909b85;margin-top:7px}
.turn{margin:0 0 30px;min-width:0}.message{min-width:0;overflow-wrap:anywhere}.message.user{margin-left:auto;max-width:86%;width:fit-content;background:#eaf0e5;border:1px solid #e3eadc;padding:12px 17px;border-radius:20px 20px 5px 20px;font-size:15px;line-height:1.7;color:#354b35;white-space:pre-wrap}.message.assistant{margin-top:24px}.answer-heading{display:flex;align-items:center;gap:8px;margin-bottom:14px;color:#6c7d6b;font-size:11px;letter-spacing:.35px}.answer-mark{width:24px;height:24px;border:1px solid #dce5d6;background:#f2f5ee;border-radius:8px;display:grid;place-items:center;font:19px Georgia,serif;padding-bottom:5px;color:#446541}
.answer-body{font-size:16px;line-height:1.85;letter-spacing:.05px;color:#2e3a34;min-width:0;overflow-wrap:anywhere}.answer-body>:first-child{margin-top:0}.answer-body>:last-child{margin-bottom:0}.answer-body p{margin:0 0 16px}.answer-body h1,.answer-body h2,.answer-body h3,.answer-body h4,.answer-body h5,.answer-body h6{line-height:1.5;font-weight:650;letter-spacing:-.3px;color:#233a2e;margin:28px 0 12px}.answer-body h1{font-size:25px}.answer-body h2{font-size:21px}.answer-body h3{font-size:18px}.answer-body h4,.answer-body h5,.answer-body h6{font-size:16px}.answer-body strong{font-weight:650;color:#233b2e}.answer-body ul,.answer-body ol{padding-left:1.55em;margin:12px 0 18px}.answer-body li{padding-left:.2em;margin:7px 0}.answer-body li p{margin:4px 0}.answer-body li::marker{color:#788e71}.answer-body blockquote{margin:18px 0;border-left:3px solid #9eb197;padding:9px 16px;background:#f0f4ed;border-radius:0 8px 8px 0;color:#64735e}.answer-body blockquote p:last-child{margin-bottom:0}.answer-body hr{border:0;border-top:1px solid var(--line);margin:26px 0}.answer-body a{color:#3a7759;text-decoration:underline;text-decoration-color:#bfd1b7;text-underline-offset:4px;word-break:break-word}.answer-body :not(pre)>code{font-family:Consolas,"SFMono-Regular",monospace;font-size:.86em;border:1px solid #e3e8de;background:#f0f3eb;padding:2px 5px;border-radius:5px;color:#41623b}
.code-frame{margin:18px 0;background:#202b27;border:1px solid #334039;border-radius:13px;overflow:hidden}.code-bar{display:flex;align-items:center;justify-content:space-between;background:#29362f;padding:9px 14px;color:#b4c2b7;font-size:11px;line-height:1.6}.copy-code{background:none;color:#c4d1c5;padding:3px 4px;font-size:11px}.answer-body pre{max-width:100%;margin:0;padding:17px 16px;overflow:auto;overscroll-behavior-x:contain;color:#e3e9df;font:13px/1.75 Consolas,"SFMono-Regular",monospace;white-space:pre;tab-size:2}.answer-body pre code{font:inherit}.hljs-keyword,.hljs-selector-tag,.hljs-literal{color:#cbade2}.hljs-string,.hljs-attr,.hljs-template-tag{color:#c0d798}.hljs-number,.hljs-symbol{color:#e5bd92}.hljs-comment{color:#87998d}.hljs-title,.hljs-built_in{color:#9dcbbd}
.table-scroll{max-width:100%;overflow-x:auto;border:1px solid #e1e7dc;border-radius:12px;margin:18px 0;background:white;scrollbar-width:thin}.answer-body table{border-collapse:collapse;min-width:100%;font-size:14px;line-height:1.65}.answer-body th,.answer-body td{text-align:left;padding:11px 14px;border-bottom:1px solid #e8ece4;min-width:100px;vertical-align:top}.answer-body th{background:#f0f4eb;font-weight:600;color:#41583c;white-space:nowrap}.answer-body tr:last-child td{border-bottom:0}.answer-body tr:nth-child(even) td{background:#fafbf8}.katex-display{max-width:100%;overflow-x:auto;overflow-y:hidden;padding:10px 2px;margin:16px 0!important;text-align:left!important}.katex-display>.katex{text-align:left!important}.katex{font-size:1.07em!important}
.answer-footer{display:flex;align-items:center;gap:12px;margin-top:12px;min-height:32px}.copy-answer{color:#8b9787;background:transparent;font-size:11px;padding:7px 0;min-height:32px}.answer-status{font-size:11px;color:#92a08b}.answer-status:empty{display:none}.answer-status.streaming:before{content:'';display:inline-block;width:5px;height:5px;background:#719060;border-radius:50%;margin-right:6px;animation:pulse 1.3s infinite}.waiting{display:flex;align-items:center;gap:6px;color:#8a9782;font-size:13px;padding:6px 0}.waiting i{width:5px;height:5px;background:#93a889;border-radius:50%;animation:pulse 1.2s infinite}.waiting i:nth-child(2){animation-delay:.15s}.waiting i:nth-child(3){animation-delay:.3s}.waiting span{margin-left:6px}
.media-grid{display:grid;gap:12px;margin-top:14px;max-width:420px}.media-card{margin:0}.image-open{display:block;padding:0;background:#edf0e9;border:1px solid #e1e7dc;border-radius:14px;overflow:hidden;width:100%}.image-open img{display:block;width:100%;max-height:480px;object-fit:contain}.message.user .media-grid{width:200px;max-width:100%}.save-image{display:inline-flex;align-items:center;min-height:36px;color:#6c805e;font-size:11px;text-decoration:none}.message .error{margin-top:12px;padding:10px 12px;border-radius:9px;border:1px solid #eddccf;background:#fcf6ef;color:#a46c45;font-size:12px;line-height:1.7}.message .hint{margin-top:9px;color:#89947d;font-size:11px;line-height:1.6}
footer{margin:0 auto;width:min(780px,100%);padding:10px 24px max(12px,env(safe-area-inset-bottom));flex-shrink:0;background:#fafbf9}#compose{background:white;border:1px solid #dfe6d8;border-radius:21px;padding:14px 17px 10px;box-shadow:0 4px 24px #32452c07}#compose:focus-within{border-color:#afc2a3;box-shadow:0 0 0 3px #eaf0e366}textarea{display:block;width:100%;border:0;background:none;resize:none;outline:none!important;max-height:150px;min-height:27px;line-height:1.7;font-size:16px;color:#2e4032;padding:0}textarea::placeholder{color:#a3ad9a}.composer-bottom{display:flex;align-items:center;margin-top:8px;gap:12px}.composer-bottom button{background:none;color:#849578;font-size:25px;padding:0;width:34px;height:34px}#mode{font-size:10px;color:#98a38b}#send{margin-left:auto;border-radius:50%;width:35px;height:35px;background:var(--accent);color:white;font-size:23px}.footnote{font-size:10px;color:#a2ab98;text-align:center;margin-top:10px}#notice{font-size:12px;color:#9d784e;text-align:center;padding:0 22px;white-space:pre-wrap;line-height:1.6}#notice:not(:empty){padding-top:8px;padding-bottom:4px}#attachments{display:flex;gap:8px;overflow:auto}.attachment{position:relative;flex-shrink:0;border:1px solid #d9e3d0;border-radius:12px;padding:4px;margin-bottom:9px;background:white}.attachment img{display:block;width:58px;height:58px;object-fit:cover;border-radius:8px}.attachment button{position:absolute;right:1px;top:1px;background:#ffffffec;color:#63795b;border-radius:50%;width:23px;height:23px;font-size:17px}#toLatest{position:absolute;right:25px;bottom:170px;border:1px solid #e1e7dc;background:#fffffff2;color:#718465;border-radius:30px;padding:9px 14px;font-size:11px;box-shadow:0 4px 16px #243b2410}
dialog{max-width:410px;width:calc(100% - 32px);max-height:calc(100dvh - 36px);overflow:auto;border:1px solid #e0e7d8;border-radius:24px;background:#fafbf7;color:#2e4433;padding:27px;box-shadow:0 24px 80px #20302025}dialog::backdrop{background:#24332666;backdrop-filter:blur(4px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between}.dialog-heading .eyebrow{margin:0}.dialog-heading button{margin-right:-10px}dialog h2{font-size:27px;font-weight:550;letter-spacing:-.7px;margin:8px 0 13px}dialog p{font-size:14px;color:#8a957f;line-height:1.8}dialog label{font-size:12px;color:#6e7f60}dialog input{display:block;width:100%;margin-top:10px;padding:15px;border:1px solid #dce5d2;border-radius:12px;background:white;font-size:16px}.primary{display:flex;justify-content:space-between;align-items:center;width:100%;padding:15px 18px;margin-top:15px;border-radius:12px;background:var(--accent);color:white;text-decoration:none;font-size:14px;border:0}.settings-actions{display:flex;justify-content:center;gap:20px;margin-top:15px}.settings-actions button{color:#8c9a7d;background:none;font-size:12px;padding:10px 0}dialog small{display:block;font-size:11px;line-height:1.7;color:#a0aa94;margin-top:20px}#pairError{color:#ac6344;font-size:12px}#pairError:empty{display:none}#imageViewer{padding:16px;max-width:820px;background:#fafbf8}.viewer-toolbar{display:flex;align-items:center;justify-content:space-between;padding:0 3px 10px;color:#77866a;font-size:12px}.viewer-body{overflow:auto;max-height:70dvh;text-align:center;border-radius:12px;background:#e9ede4}.viewer-body img{display:block;width:100%;object-fit:contain}#viewerSave{justify-content:center}@keyframes pulse{50%{opacity:.3}}
@media(max-width:700px){.sidebar{display:none}header{height:66px;padding:0 18px}.mini-mark{display:grid;width:31px;height:33px;border-radius:11px;font-size:25px;padding-bottom:7px}.header-brand{gap:9px}header strong{font-size:14px}.header-subtitle{font-size:9px;margin-top:2px}.header-actions{gap:4px}#newMobile{display:grid}.status{font-size:10px;gap:5px;padding:0 9px;min-height:33px}.status span:last-child{display:none}#messages{padding:25px 20px 22px}.message.user{font-size:15px;padding:11px 15px;max-width:89%}.message.assistant{margin-top:22px}.answer-body h1{font-size:23px}.answer-body h2{font-size:20px}.answer-body h3{font-size:18px}.answer-body pre{font-size:12.5px}.answer-body th,.answer-body td{padding:10px 12px}.answer-heading{margin-bottom:13px}.answer-footer{margin-top:10px}#welcome{margin-top:clamp(20px,7vh,65px)}.welcome-mark{width:57px;height:59px;font-size:42px;border-radius:20px}h1{font-size:27px}.intro{font-size:13px}.eyebrow{font-size:8px;letter-spacing:1.8px}.suggestions{margin-top:27px;gap:10px}.suggestions button{padding:16px}.suggestions b{font-size:12px}.suggestions span:last-child{font-size:10px}footer{padding:8px 14px max(9px,env(safe-area-inset-bottom))}#compose{padding:12px 14px 9px;border-radius:20px}.footnote{font-size:9px;margin-top:8px}#toLatest{right:18px;bottom:158px}.media-grid{max-width:100%}dialog{padding:24px}.icon-button{width:36px;height:36px}}
@media(max-width:359px){header{padding:0 12px}.header-subtitle,.mini-mark{display:none}#messages{padding-left:16px;padding-right:16px}.status{font-size:9px}.suggestions button{padding:12px}.suggestions b{font-size:11px}}@media(max-height:520px){.footnote,.header-subtitle{display:none}header{height:52px}footer{padding-bottom:max(7px,env(safe-area-inset-bottom))}#welcome{margin-top:15px}.welcome-mark{display:none}.suggestions{margin-top:15px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important}}
.table-block{margin:18px 0}.table-block .table-scroll{margin:6px 0 0}.table-hint{font-size:10px;color:#95a18d;letter-spacing:.2px}.answer-body th,.answer-body td{min-width:144px}
