:root{color-scheme:light;--ink:#17332f;--muted:#697b76;--line:#dfe7e0;--accent:#216b51;--paper:#fbfcf8;font-family:ui-sans-serif,system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;font-size:14px}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink)}button,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}button:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #99c7b4;outline-offset:3px}[hidden]{display:none!important}.chat-shell{height:100dvh;min-height:0;max-width:900px;margin:auto;display:flex;flex-direction:column;padding:0 24px}.chat-header{display:flex;gap:12px;align-items:center;padding:23px 0 19px;border-bottom:1px solid var(--line)}.brand-mark{height:40px;width:40px;border-radius:12px;background:var(--ink);color:#eef3dd;font-family:Georgia,serif;font-size:25px;font-weight:700;display:flex;align-items:center;justify-content:center;position:relative}.brand-mark span{font:14px system-ui;position:absolute;right:4px;top:2px}.heading{flex:1;min-width:0}.eyebrow{font-size:10px;letter-spacing:1.6px;color:var(--muted);margin:0 0 7px;font-weight:600}.heading h1{font-size:16px;line-height:1.4;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.heading .eyebrow{font-size:9px;margin-bottom:4px}.quiet-button{background:transparent;border:0;border-radius:6px;padding:8px;color:var(--muted);font-size:12px}.quiet-button:hover{background:#edf2eb;color:var(--ink)}.status-bar{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted);padding:12px 0}.status-dot{width:6px;height:6px;border-radius:50%;background:#6e9a64;flex-shrink:0}.mode-badge{margin-left:auto;font-size:10px;color:#7d5d24;border:1px solid #e4d7b3;background:#fcf5de;border-radius:4px;padding:2px 6px}.messages{flex:1;min-height:0;overflow-y:auto;scroll-behavior:smooth;padding:8px 1px 16px;scrollbar-width:thin}.welcome{margin:40px 0 20px}.welcome-icon{font-size:42px;line-height:1;color:var(--accent);margin-bottom:23px}.welcome h2{font-size:30px;font-weight:550;letter-spacing:-1px;margin:12px 0}.welcome-description{color:var(--muted);line-height:1.9;font-size:13px}.suggestions{display:flex;flex-direction:column;gap:8px;margin-top:25px;align-items:flex-start}.suggestions button{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:8px;padding:10px 12px;text-align:left;font-size:12px;transition:background .15s}.suggestions button:hover{background:#edf4eb;border-color:#a3baab}.suggestions button::after{content:'↗';margin-left:14px;color:var(--muted)}.message{margin:16px 0 23px}.message-label{font-size:10px;color:var(--muted);margin:0 0 8px;letter-spacing:1px}.message-content{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;font-size:13px;margin:0}.message.user{margin-left:26px;display:flex;flex-direction:column;align-items:flex-end}.message.user .message-content{background:#eaf0e8;border-radius:12px 12px 3px 12px;padding:11px 15px;max-width:94%}.message.assistant .message-content{padding:0 2px}.message-state{color:var(--muted);font-size:11px;margin-top:8px;line-height:1.7}.sources{margin-top:13px;padding-top:10px;border-top:1px solid var(--line)}.source-title{font-size:10px;color:var(--muted);margin-bottom:7px}.source-chip{display:inline-block;font-size:10px;padding:4px 7px;margin:0 5px 5px 0;border-radius:4px;color:#426455;background:#edf2eb;overflow-wrap:anywhere}.notice{font-size:12px;color:#8a4c31;background:#fff0e5;padding:10px 12px;border-radius:6px;margin-bottom:10px;line-height:1.7}.composer{background:#fff;border:1px solid #cdd8cd;border-radius:12px;box-shadow:0 4px 20px #263d2b05;padding:12px 12px 10px}.composer:focus-within{border-color:#829f8c}.composer textarea{display:block;resize:none;border:0;outline:0;background:transparent;width:100%;padding:3px;color:var(--ink);line-height:1.7;max-height:120px}.composer textarea:focus-visible{outline:none}.composer textarea::placeholder{color:#93a095}.composer-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:10px}.composer-bottom>span{font-size:10px;color:var(--muted);padding-left:3px}.send-button{border:0;border-radius:7px;padding:8px 13px;background:var(--ink);color:white;font-size:12px}.send-button span{margin-left:9px}.send-button:hover:enabled{background:var(--accent)}.chat-footer{text-align:center;font-size:10px;line-height:1.7;color:#8c978d;padding:12px 0 14px}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:480px){.chat-shell{padding:0 16px}.chat-header{padding-top:17px}.heading .eyebrow{letter-spacing:.8px;font-size:8px}.heading h1{font-size:14px}.welcome{margin-top:25px}.welcome h2{font-size:26px}.brand-mark{width:34px;height:36px}.chat-footer{font-size:9px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media(max-height:560px){.chat-header{padding-top:10px;padding-bottom:10px}.status-bar{padding:7px 0}.welcome{margin-top:12px}.welcome-icon{font-size:28px;margin-bottom:12px}.welcome h2{font-size:23px}.suggestions{margin-top:12px}.chat-footer{padding:7px 0}}
@media(max-height:360px){.chat-shell{padding:0 12px}.chat-header{padding:6px 0;gap:8px}.heading .eyebrow,.chat-footer,.brand-mark{display:none}.status-bar{padding:6px 0}.composer{padding:6px 8px;flex-shrink:0}.composer textarea{height:32px;min-height:0}.composer-bottom{margin-top:3px}.welcome{margin:8px 0}.welcome-icon{display:none}.welcome h2{font-size:20px;margin:6px 0}.welcome-description{font-size:12px}.suggestions{margin-top:10px}}
