:root{color:#292824;font-synthesis:none;--accent:#b94637;--muted:#77746c;--line:#e6e3dc;--paper:#fffefa;background:#f7f6f2;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{outline-offset:4px}button{cursor:pointer;transition:background .15s}button:disabled{cursor:not-allowed;opacity:.45}button:hover:not(:disabled){filter:brightness(.96)}a{color:inherit}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-1px;font-size:clamp(27px,3vw,36px);font-weight:550;line-height:1.5}h2{font-size:22px;font-weight:600}h3{font-size:16px}.muted,.fine{color:var(--muted)}.fine{font-size:12px;line-height:1.8}.eyebrow{letter-spacing:2px;color:#999389;font-size:10px;font-weight:650}.button{background:var(--accent);color:#fff;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:9px;padding:12px 18px;font-size:14px;font-weight:550;display:inline-flex}.button.secondary{border-color:var(--line);color:#49463e;background:0 0}.button.danger{background:#a6372d}.button.small{padding:8px 12px;font-size:12px}.text-button{color:var(--accent);background:0 0;border:0;align-items:center;gap:5px;padding:6px;font-size:13px;display:inline-flex}.icon-button{color:#817a71;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;padding:8px;display:inline-flex}.error{color:#9a3027;font-size:13px;line-height:1.65}.notice{background:#faf0e7;padding:12px 24px;font-size:13px}.actions{flex-wrap:wrap;gap:10px;display:flex}.field{flex-direction:column;gap:8px;margin-bottom:18px;font-size:13px;font-weight:550;display:flex}input,textarea,select{background:var(--paper);color:inherit;border:1px solid #d9d5ce;border-radius:7px;padding:11px}textarea{resize:vertical;line-height:1.7}input:focus,textarea:focus,select:focus{outline-offset:2px;outline:2px solid #bd665866}.badge{color:#716a5d;background:#eee9de;border-radius:5px;margin-left:8px;padding:3px 7px;font-size:10px}.login{background:radial-gradient(at 10% 15%,#f0e2d8,#0000 50%),#f7f6f2;place-items:center;min-height:100dvh;padding:28px;display:grid}.login-card{width:min(100%,390px)}.brand-symbol,.welcome-mark{color:var(--accent);width:70px;font-family:Georgia,serif;font-size:66px;font-style:italic;line-height:1;position:relative}.brand-symbol{margin-bottom:30px}.brand-symbol span,.welcome-mark span{letter-spacing:1px;border-top:1px solid;padding-top:5px;font:10px -apple-system,sans-serif;position:absolute;bottom:5px;right:0}.login .eyebrow{margin-bottom:24px}.login form{margin-top:32px}.login form .button{justify-content:space-between;width:100%}.login .fine{margin-top:22px}.workspace{height:100dvh;display:flex;overflow:hidden}.sidebar{border-right:1px solid var(--line);background:#f1efe9;flex-direction:column;flex-shrink:0;width:248px;padding:29px 20px 16px;display:flex}.brand{align-items:center;gap:12px;margin-bottom:39px;text-decoration:none;display:flex}.brand-mark{background:var(--accent);color:#fff9ed;border-radius:7px;place-items:center;width:35px;height:38px;font:italic 27px Georgia,serif;display:grid}.brand>span:nth-child(2){letter-spacing:1px;font-size:17px;font-weight:650}.brand small{color:#8f887c;letter-spacing:2px;margin-top:5px;font-size:10px;font-weight:400;display:block}.brand-number{color:#a59c90;margin-left:auto;font-size:11px}.new-chat{color:#534b40;background:#f8f5ed;border-color:#dcd5c8;justify-content:flex-start;width:100%;margin-bottom:35px}.nav-label{margin-bottom:15px;padding-left:10px}.conversation-list{flex:1;overflow-y:auto}.conversation-list>button,.sidebar-bottom>button{text-align:left;color:#776f64;background:0 0;border:0;border-radius:7px;align-items:center;gap:11px;width:100%;margin-bottom:4px;padding:12px 10px;font-size:13px;display:flex}.conversation-list>button span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.conversation-list>button.selected,.sidebar-bottom>button.selected{color:#453e35;background:#e8e3d9}.sidebar-bottom{padding-top:14px}.connection{color:#878173;border-top:1px solid #ded9cf;align-items:center;gap:7px;margin-top:20px;padding:20px 4px 0;font-size:10px;display:flex}.connection>span:last-child{letter-spacing:1px;margin-left:auto;font-size:8px}.live-dot{background:#85927a;border-radius:50%;flex-shrink:0;width:5px;height:5px;display:inline-block}.main{flex-direction:column;flex:1;min-width:0;display:flex}.topbar{border-bottom:1px solid var(--line);flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;height:83px;padding:20px 36px;display:flex}.topbar strong{font-size:14px;font-weight:550}.topbar-subtitle{color:#918b82;margin-top:6px;font-size:11px;display:block}.topbar-actions{align-items:center;gap:10px;display:flex}.mobile-menu{display:none}.chat{flex-direction:column;flex:1;min-height:0;display:flex}.messages{flex:1;padding:32px max(28px,50% - 370px);overflow-y:auto}.welcome{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:100%;padding:30px 0;display:flex}.welcome-mark{margin-bottom:30px;font-size:72px}.welcome .eyebrow{letter-spacing:2.4px;margin-bottom:17px;font-size:9px}.welcome h1{margin-bottom:14px}.welcome p:not(.eyebrow){color:#8a847a;white-space:pre-line;font-size:14px;line-height:2}.welcome .button{margin-top:16px}.message{overflow-wrap:anywhere;max-width:100%;margin:0 0 32px}.message-label{color:#93897d;letter-spacing:.5px;margin-bottom:11px;font-size:11px;font-weight:600}.message.assistant .message-label{color:var(--accent)}.message-body{white-space:pre-wrap;font-size:15px;line-height:1.95}.message.user{background:#eeece5;border-radius:12px 12px 3px;margin-left:10%;padding:18px 22px}.message.user .message-label{font-size:10px}.thinking{color:#998779;letter-spacing:1px;font-size:13px}.composer-area{flex-shrink:0;width:min(100% - 56px,740px);margin:0 auto;padding-bottom:22px}.composer{background:var(--paper);border:1px solid #ddd8ce;border-radius:15px;padding:14px 17px 10px;box-shadow:0 4px 18px #4e3c2405}.composer textarea{resize:none;background:0 0;border:0;width:100%;min-height:53px;max-height:180px;padding:0;font-size:14px}.composer textarea:focus{outline:none}.composer:focus-within{border-color:#b99c88;box-shadow:0 0 0 2px #ba897819}.composer-footer{justify-content:space-between;align-items:center;display:flex}.composer-footer .fine{color:#aca296;font-size:10px}.send{background:var(--accent);color:#fff;border:0;border-radius:9px;place-items:center;width:34px;height:34px;display:grid}.under-composer{justify-content:space-between;align-items:center;gap:10px;margin-top:11px;display:flex}.under-composer .fine{font-size:10px}.model-select{color:#9c9385;font-size:0}.model-select select{color:#8d8376;background:0 0;border:0;max-width:220px;padding:3px 0;font-size:10px}.private-notice{color:#586452;background:#e9ece7;align-items:center;gap:10px;padding:10px 28px;font-size:12px;line-height:1.7;display:flex}.private-notice .text-button{white-space:nowrap;color:#52644d;margin-left:auto}.private-workspace{--accent:#5b715b}.checkpoint{color:#7a8675;align-items:center;gap:7px;margin:12px 0 22px;font-size:11px;display:flex}.recovered{background:#fff8ea;border:1px solid #e1cbaa;border-radius:8px;max-height:160px;margin-bottom:10px;padding:12px;font-size:12px;overflow:auto}.recovered p{white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:4px}.empty-state{text-align:center;color:#7e776d;max-width:500px;margin:auto;padding:28px}.empty-state svg{margin-bottom:20px}.empty-state p{font-size:14px;line-height:1.8}.panel{flex:1;padding:36px;overflow-y:auto}.panel-heading{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:25px;display:flex}.panel-heading p{font-size:13px}.card{border:1px solid var(--line);overflow-wrap:anywhere;background:#fcfbf7;border-radius:12px;margin-bottom:18px;padding:22px}.card p{font-size:14px;line-height:1.8}.card pre,.modal pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;font-size:12px;overflow:auto}.stack{flex-direction:column;gap:13px;display:flex}.panel label{font-size:13px}.panel textarea{width:100%;min-height:100px}.panel .field input,.panel .field select{width:100%}.panel table{border-collapse:collapse;width:100%;font-size:12px}.panel td,.panel th{text-align:left;border-bottom:1px solid var(--line);padding:10px}.panel .button{margin:4px 5px 4px 0;padding:9px 13px;font-size:12px}.panel blockquote{white-space:pre-wrap;background:#f4f0e8;border-left:2px solid #c2afa0;margin:12px 0;padding:12px 18px}.modal-backdrop{z-index:10;background:#29231b55;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:var(--paper);border-radius:14px;width:min(520px,100%);max-height:90dvh;padding:28px;overflow:auto;box-shadow:0 15px 80px #0002}.modal p{font-size:14px;line-height:1.8}.modal details{margin:18px 0;font-size:12px}.modal .actions{justify-content:flex-end}.scrim{display:none}@media (width>=1400px){.sidebar{width:270px;padding-left:26px;padding-right:26px}.topbar{padding-left:44px;padding-right:44px}}@media (width<=760px){.sidebar{z-index:5;width:260px;position:fixed;inset:0 auto 0 0;transform:translate(-100%)}.sidebar.open{transform:translate(0)}.scrim{z-index:4;background:#29231b55;border:0;display:block;position:fixed;inset:0}.mobile-menu{display:inline-flex}.topbar{gap:8px;height:72px;padding:12px 15px}.topbar>div:nth-child(2){flex:1}.topbar-subtitle{font-size:10px}.topbar-actions{gap:3px}.topbar .button{padding:8px;font-size:11px}.messages{padding:24px 21px}.composer-area{width:calc(100% - 30px);padding-bottom:max(13px, env(safe-area-inset-bottom))}.composer-footer .fine,.under-composer .fine{font-size:9px}.private-notice{gap:6px;padding:9px 16px;font-size:10px}.private-notice>svg{display:none}.private-notice .text-button{padding:2px;font-size:11px}.welcome h1{font-size:27px}.welcome p:not(.eyebrow){font-size:13px}.panel{padding:23px 18px}.panel-heading{flex-wrap:wrap}.card{padding:17px}.message-body{font-size:14px}.brand{margin-bottom:28px}.welcome-mark{font-size:60px}.welcome{padding:10px 0}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}@media (prefers-contrast:more){:root{--muted:#524b40;--line:#968c7e}.fine,.topbar-subtitle,.message-label{color:#5c5347}}.fine,.eyebrow,.topbar-subtitle,.message-label,.under-composer .fine,.composer-footer .fine,.model-select select,.welcome p:not(.eyebrow){color:#746e64}
