:root{font-family:Segoe UI,Microsoft YaHei,sans-serif;color:#20231f;background:#faf9f6;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--canvas: #faf9f6;--surface: #fff;--sidebar: #f3f2ee;--ink: #20231f;--muted: #62675f;--border: #e4e5de;--blue: #1558d6;--blue-hover: #1149b4;--radius: 10px;--ease: cubic-bezier(.16, 1, .3, 1)}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0;background:none}button:disabled{cursor:not-allowed;opacity:.45}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}button,a,input,textarea{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--blue)}input,textarea{caret-color:var(--blue)}::selection{background:#dce7ff;color:#102c60}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-thumb{background:#c9ccc3;border-radius:5px}h1,h2,h3,p{margin:0}h1,h2{font-weight:550;letter-spacing:-.025em;text-wrap:balance}button{transition:background .17s,color .17s,opacity .17s}svg{flex-shrink:0}input{width:100%;height:48px;padding:0 14px;border:1px solid #d6d9d1;border-radius:var(--radius);background:#fff;color:var(--ink)}input::placeholder,textarea::placeholder{color:var(--muted)}label{display:block;font-size:13px;font-weight:550;margin:23px 0 9px}textarea{resize:vertical;min-height:70px;max-height:220px;width:100%;border:0;background:transparent;padding:0;color:inherit;line-height:1.8}textarea:focus{outline:none}textarea:focus-visible{outline:0}.composer:focus-within{outline:2px solid #a7bee9;outline-offset:2px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:39px;padding:9px 17px;border-radius:var(--radius);font-size:13px;font-weight:550}.primary{background:var(--blue);color:#fff}.primary:hover:not(:disabled){background:var(--blue-hover)}.secondary{border:1px solid #d8dcd3;background:#fff}.secondary:hover:not(:disabled){background:#f1f3ed}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border-radius:7px;color:var(--muted)}.icon-button:hover{background:#e8eae3;color:var(--ink)}.text-link{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--muted)}.text-link:hover,.link-button:hover{color:var(--blue)}.link-button{padding:0 4px;color:var(--blue);font-size:inherit}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.muted{color:var(--muted)}.success{color:#2d6b47}.form-error{color:#ae302c;font-size:13px;line-height:1.7;margin:16px 0;overflow-wrap:anywhere}.brand{display:inline-flex;align-items:center;gap:10px;font-size:30px;font-weight:650;letter-spacing:-.045em;width:fit-content}.brand-mark{display:flex;color:var(--blue)}.brand-period{color:var(--blue)}.auth-page{min-height:100dvh;display:grid;grid-template-columns:minmax(320px,.85fr) minmax(440px,1.15fr);background:#fff}.auth-story{position:relative;overflow:hidden;background:#f0f2eb;padding:44px 48px;display:flex;flex-direction:column;min-height:100dvh}.story-copy{margin:auto 0;position:relative;z-index:1;padding:95px 0 150px}.story-copy h1{font-size:clamp(32px,3.4vw,52px);line-height:1.6;font-weight:450;letter-spacing:-.03em}.story-copy h1 span{color:var(--blue)}.story-copy p{font-size:15px;line-height:2;color:#5a6555;margin-top:26px}.story-bottom{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#55614f;position:relative;z-index:1}.story-bottom span:last-child{display:flex;align-items:center;gap:5px}.orbit-art{width:440px;height:440px;position:absolute;right:-220px;bottom:30px;transform:rotate(-30deg);pointer-events:none}.orbit-art div{width:100%;height:44%;border:1px solid #a1b59c;border-radius:50%;position:absolute;top:28%}.orbit-art div:nth-child(2){transform:rotate(70deg)}.orbit-art span{position:absolute;left:50px;top:120px;background:var(--blue);width:15px;height:15px;border-radius:50%}.auth-main{padding:42px 48px 28px;display:flex;flex-direction:column;position:relative}.auth-docs{align-self:flex-end}.auth-form-wrap{max-width:370px;width:100%;margin:auto;padding:62px 0}.auth-form-wrap h2{font-size:30px;line-height:1.5}.auth-intro{font-size:14px;color:var(--muted);margin:10px 0 30px}.password-field{position:relative}.password-field input{padding-right:48px}.password-field button{position:absolute;right:8px;top:8px}.auth-submit{width:100%;margin-top:27px;min-height:46px;justify-content:space-between;padding-left:18px}.auth-switch{text-align:center;font-size:13px;color:var(--muted);margin-top:24px}.auth-note{margin-top:42px;padding-top:18px;border-top:1px solid var(--border);font-size:11px;line-height:1.9;color:var(--muted)}.auth-footer{display:flex;justify-content:space-between;gap:16px;font-size:11px;color:var(--muted)}.auth-footer span{font-size:9px;letter-spacing:.12em}.auth-mobile-brand{display:none}.login-error{position:fixed;bottom:30px;left:50%;transform:translate(-50%);background:#fff0ef;color:#ae302c;padding:13px 20px;border-radius:10px;font-size:13px}.loading-page{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:24px;color:var(--blue)}.loading-page p{font-size:14px;color:var(--muted)}.app-shell{display:grid;grid-template-columns:236px minmax(0,1fr);min-height:100dvh}.sidebar{position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;background:var(--sidebar);border-right:1px solid var(--border);padding:29px 16px 0}.sidebar .brand{padding:0 13px;margin-bottom:32px}.new-chat{display:flex;align-items:center;gap:10px;width:100%;background:#fff;border:1px solid #dedfd8;border-radius:9px;padding:12px 13px;font-size:13px;margin-bottom:24px}.new-chat:hover{background:#f9faf6;border-color:#aeb8ce}.shortcut{margin-left:auto;border:1px solid var(--border);border-radius:4px;padding:0 5px;font-size:10px;color:var(--muted);line-height:17px}nav{display:flex;flex-direction:column;gap:4px}nav button,.sidebar-bottom>a,.sidebar-bottom>button{display:flex;align-items:center;gap:11px;text-align:left;padding:11px 13px;width:100%;border-radius:8px;font-size:13px;color:#5a6057}nav button:hover,.sidebar-bottom>a:hover,.sidebar-bottom>button:hover{background:#e9ebe3}nav button.active,.sidebar-bottom>button.active{background:#e5e9e0;color:#283421;font-weight:550}.nav-count{margin-left:auto;font-size:11px;font-variant-numeric:tabular-nums;color:#606758}.history-heading{display:flex;align-items:center;justify-content:space-between;padding:28px 13px 10px;font-size:11px;color:#70766b;min-height:62px}.history-list{overflow:auto;flex:1;min-height:50px}.history-list p{font-size:12px;color:#72786e;line-height:1.9;padding:7px 13px}.history-list>button{display:flex;align-items:center;gap:9px;width:100%;padding:10px 12px;border-radius:7px;font-size:12px;text-align:left}.history-list>button>span:first-of-type{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-list>button:hover,.history-list>button.chosen{background:#e5e9e0}.history-ended{font-size:9px;margin-left:auto;white-space:nowrap;color:var(--muted)}.sidebar-bottom{padding-top:14px}.sidebar-bottom>a svg:last-child{margin-left:auto}.account{display:flex;align-items:center;gap:10px;margin-top:15px;padding:18px 5px;border-top:1px solid #dedfd6}.avatar{display:grid;place-items:center;width:33px;height:33px;border-radius:50%;background:#dce3d3;color:#34442b;font-size:13px}.account>div{min-width:0;flex:1}.account strong{display:block;font-size:12px;font-weight:550;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.account>div>span{display:block;font-size:10px;color:var(--muted);margin-top:4px}.main-area{min-width:0;position:relative}.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 36px;font-size:12px}.topbar>div{display:flex;align-items:center;gap:12px;color:var(--muted)}.topbar strong{font-weight:450;color:var(--ink)}.mobile-menu{display:none}.error-banner{margin:8px 36px 0;background:#fff0ed;color:#a32e2b;padding:8px 12px;border-radius:9px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;overflow-wrap:anywhere}.welcome{min-height:calc(100dvh - 72px);display:flex;flex-direction:column;padding:25px 44px 22px}.welcome-content{max-width:760px;width:100%;margin:auto;animation:arrive .7s var(--ease)}@keyframes arrive{0%{transform:translateY(12px);filter:blur(2px)}to{transform:translateY(0);filter:blur(0)}}.welcome-mark{color:var(--blue);margin-bottom:24px;display:flex}.hello{font-size:15px;color:#555e4e;margin-bottom:12px}.welcome h1{font-size:36px;line-height:1.6;font-weight:450;letter-spacing:-.035em}.welcome h1 span{color:#7b8473}.welcome-sub{font-size:13px;color:var(--muted);margin-top:9px;margin-bottom:30px}.composer{background:#fff;border:1px solid #d6d9d0;border-radius:16px;padding:19px 20px 13px;transition:border-color .2s;box-shadow:none}.composer textarea{font-size:14px}.welcome-composer textarea{min-height:77px}.composer-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}.composer-bottom>div{display:flex;align-items:center;gap:12px}.model-picker{display:inline-flex;align-items:center;gap:7px;font-size:11px;color:#5b6553;padding:3px 0;max-width:80%;overflow-wrap:anywhere}.model-dot,.connection-dot{width:6px;height:6px;display:inline-block;border-radius:50%;background:#a8afa0;flex-shrink:0}.model-dot{background:var(--blue)}.send-button{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:var(--blue);color:#fff;flex-shrink:0}.send-button:hover:not(:disabled){background:var(--blue-hover)}.enter-hint{font-size:10px;color:#71776b}.connection-note{display:flex;align-items:center;gap:6px;font-size:11px;color:#5b6c80;margin:14px 0 0;padding:0}.connection-note:hover{color:var(--blue)}.composer-note{font-size:10px;color:#70776a;text-align:center;margin-top:12px;line-height:1.8}.starters{margin-top:45px}.starters-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.starters-heading h2{font-size:13px;font-weight:500;color:#56604d;letter-spacing:0}.starters-heading>span{font-size:10px;color:#737a6b}.starter-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}.starter{text-align:left;padding:17px 0;position:relative;border-top:1px solid #dcdfd5;display:flex;flex-direction:column;align-items:flex-start;gap:9px}.starter:hover{border-color:#768b68}.starter-icon{display:flex;width:36px;height:36px;align-items:center;justify-content:center;border-radius:9px;margin-bottom:4px}.sage{background:#e6ecdf;color:#4b6540}.clay{background:#f4e8de;color:#946039}.blue{background:#e3eaf8;color:#3e6096}.starter strong{font-size:13px;font-weight:500}.starter>span:not(.starter-icon){font-size:10px;color:#68725e;line-height:1.7}.starter-arrow{position:absolute;right:0;top:26px;color:#718064}.welcome-footer{display:flex;justify-content:space-between;margin-top:60px;font-size:10px;color:#727a69;gap:16px}.welcome-footer>span:first-child{display:flex;align-items:center;gap:7px}.connection-dot.ready{background:#557f48}.settings-page{max-width:830px;padding:28px 48px 42px;margin:0 auto}.settings-page>h1{font-size:29px}.page-description{font-size:13px;color:var(--muted);margin-top:10px}.settings-section{margin-top:34px;border-bottom:1px solid var(--border);padding-bottom:28px}.settings-section h2{font-size:16px;margin-bottom:20px}.setting-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;font-size:13px;line-height:1.6;margin-bottom:15px}.setting-row>span{color:var(--muted);flex-shrink:0}.setting-row strong{font-weight:450;overflow-wrap:anywhere;text-align:right}.setting-help{font-size:12px;color:var(--muted);line-height:1.9;margin-bottom:18px;max-width:65ch}.settings-actions{display:flex;gap:10px;flex-wrap:wrap}.settings-section>.secondary{margin-top:2px}.check-result{display:flex;align-items:center;gap:7px;font-size:12px;line-height:1.8;margin-top:15px}.capability-list{display:grid;grid-template-columns:1fr 1fr;gap:15px;font-size:12px;margin-bottom:24px}.capability-list span{display:flex;align-items:center;gap:7px}.capability-list svg{color:#5f7851}.capability-list .muted svg{color:#8c9285}details{font-size:12px;color:var(--muted)}summary{cursor:pointer;width:fit-content;line-height:2}.command-list{font-size:11px;line-height:2.2;columns:2;overflow-wrap:anywhere;padding-left:18px}.settings-end{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px;margin-top:24px}.workspace{display:flex;height:calc(100dvh - 72px);min-height:400px}.chat-area{flex:1;min-width:0;display:flex;flex-direction:column}.chat-heading{display:flex;align-items:center;justify-content:space-between;padding:17px 28px;border-bottom:1px solid var(--border)}.chat-heading>div{display:flex;align-items:center;gap:9px;min-width:0}.chat-heading h1{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-heading svg{color:#556c49}.messages{padding:30px 32px;overflow:auto;flex:1;scroll-behavior:smooth}.message{margin:0 auto 30px;max-width:720px}.message-author{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:550;margin-bottom:12px;color:#4c5d41}.message-author svg{color:var(--blue)}.message-content{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;max-width:72ch}.small-avatar{display:grid;place-items:center;width:22px;height:22px;background:#e0e8d7;border-radius:50%;font-size:10px}.user-message .message-content{background:#ecefe7;padding:13px 17px;border-radius:12px;width:fit-content}.chat-empty{display:flex;align-items:center;flex-direction:column;justify-content:center;gap:16px;padding:70px 0;color:#75826a;font-size:13px}.chat-composer-wrap{padding:15px 30px 14px;max-width:800px;width:100%;margin:auto}.chat-composer-wrap .composer{padding:14px 16px 12px}.thinking{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}.closed-note{display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;padding:22px;color:var(--muted)}.runtime-panel{width:275px;flex-shrink:0;background:#f6f6f1;border-left:1px solid var(--border);padding:24px 22px;overflow:auto}.runtime-panel h2{font-size:14px;margin-bottom:27px}.runtime-identity{display:flex;align-items:center;gap:11px}.runtime-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#e6eae1;color:#426134}.runtime-identity strong{display:block;font-size:13px;font-weight:550}.runtime-identity span:not(.runtime-icon){font-size:11px;color:#5e6e54;display:block;margin-top:6px}.panel-section{padding-top:28px}.panel-section h3{font-size:11px;color:#69765e;font-weight:500;display:flex;align-items:center;gap:6px;margin-bottom:16px}.panel-section dl{margin:0;font-size:11px}.panel-section dl>div{display:flex;justify-content:space-between;margin-bottom:13px;gap:12px}.panel-section dt{color:var(--muted);white-space:nowrap}.panel-section dd{margin:0;overflow-wrap:anywhere;text-align:right}.event-list>div{border-top:1px solid #e1e5d9;padding:10px 0;font-size:10px;overflow-wrap:anywhere}.event-list>div span{display:block;line-height:1.7}.event-list time{font-size:9px;display:block;color:#6b7860;margin-top:3px;font-variant-numeric:tabular-nums}.event-list>p{font-size:11px;color:var(--muted)}.end-chat{width:100%;margin-top:22px}.permission{display:flex;align-items:flex-start;gap:12px;padding:20px;background:#edf2e7;border-radius:12px;margin-bottom:20px}.permission h2{font-size:14px}.permission p{font-size:12px;margin:9px 0 14px;color:var(--muted)}.nav-scrim{display:none}@media(min-width:1450px){.welcome{padding-bottom:28px}.welcome-content{max-width:800px}.welcome h1{font-size:42px}.welcome-sub{font-size:14px}.starters{margin-top:54px}}@media(max-width:1100px){.app-shell{grid-template-columns:210px minmax(0,1fr)}.sidebar{padding-left:12px;padding-right:12px}.welcome{padding-left:32px;padding-right:32px}.welcome h1{font-size:31px}.starter-list{gap:16px}.runtime-panel{width:235px;padding:22px 16px}.messages{padding:24px}.auth-story{padding:38px 32px}.auth-main{padding-left:32px;padding-right:32px}.story-copy h1{font-size:36px}.story-bottom span:last-child{display:none}}@media(max-width:900px){.runtime-panel{width:210px}.workspace{position:relative}.chat-heading{padding:16px 20px}.chat-composer-wrap{padding:12px 18px}.starter-list{grid-template-columns:1fr;gap:0}.starter{display:grid;grid-template-columns:36px 1fr 17px;column-gap:12px;row-gap:4px;padding:13px 0}.starter-icon{grid-row:span 2;margin:0}.starter>span:not(.starter-icon){grid-column:2}.starter-arrow{position:static;grid-column:3;grid-row:1 / span 2;align-self:center}.starters{margin-top:32px}.welcome-content{padding-top:16px}.welcome-footer{margin-top:38px}.welcome-mark{margin-bottom:18px}.auth-page{grid-template-columns:1fr 1.2fr}.story-copy h1{font-size:30px}.auth-footer span{display:none}}@media(max-width:700px){.app-shell{display:block}.sidebar{position:fixed;left:0;top:0;width:258px;z-index:20;transform:translate(-100%);transition:transform .25s var(--ease)}.sidebar.mobile-open{transform:translate(0)}.nav-scrim{display:block;position:fixed;inset:0;z-index:19;background:#18211970}.topbar{height:61px;padding:0 18px}.topbar>div{gap:8px}.mobile-menu{display:flex;margin-right:4px}.topbar>.text-link{font-size:10px}.welcome{min-height:calc(100dvh - 61px);padding:24px 24px 20px}.welcome-content{max-width:540px}.welcome h1{font-size:31px}.welcome-sub{font-size:12px;margin-bottom:25px}.welcome-mark{margin-bottom:22px}.hello{font-size:13px}.welcome-composer{padding:16px 16px 12px}.welcome-composer textarea{font-size:13px;min-height:80px}.enter-hint{display:none}.starters-heading{margin-bottom:9px}.welcome-footer{font-size:9px;line-height:1.6}.welcome-footer>span:last-child{font-size:8px}.settings-page{padding:24px 24px 40px}.settings-page>h1{font-size:26px}.capability-list{grid-template-columns:1fr}.command-list{columns:1}.error-banner{margin:6px 18px 0}.workspace{height:calc(100dvh - 61px)}.runtime-panel{position:absolute;right:0;top:60px;bottom:0;width:min(280px,85vw);z-index:5;box-shadow:-12px 0 30px #26371c10}.chat-heading{height:60px}.messages{padding:24px 20px}.chat-composer-wrap{padding-left:16px;padding-right:16px}.message-content{font-size:13px}.auth-page{display:block}.auth-story{display:none}.auth-main{min-height:100dvh;padding:28px 28px 22px}.auth-form-wrap{padding:60px 0}.auth-mobile-brand{display:flex;gap:8px;align-items:center;font-size:25px;font-weight:600;margin-bottom:38px;color:var(--blue)}.auth-form-wrap h2{font-size:28px}.auth-footer{font-size:10px}.auth-footer span{display:block;font-size:8px}.auth-note{margin-top:32px}.model-picker{max-width:75%}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
