/* The same paper, forest green, serif headings and centered course layout as TitanVul. */
:root{color-scheme:light;--bg:#f6f5f0;--paper:#fffefa;--ink:#18382f;--muted:#67786e;--green:#175e4d;--lime:#d3e8a7;--coral:#d97e65;--line:#dce3d7;--serif:"Noto Serif SC","Songti SC","SimSun",serif;--sans:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}
*{box-sizing:border-box}html{scroll-padding-top:22px}body{margin:0;color:var(--ink);background:var(--bg);font:14px/1.8 var(--sans);-webkit-font-smoothing:antialiased}a{color:var(--green);text-underline-offset:4px}button,input,textarea{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #92ad6b;outline-offset:4px}::selection{background:var(--lime)}[hidden]{display:none!important}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}.sr-only,.skip-link{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip-link:focus{clip-path:none;width:auto;height:auto;padding:12px;background:var(--paper);z-index:100}.wrap{max-width:1240px;padding:0 40px;margin:auto}.topbar{min-height:88px;display:flex;justify-content:space-between;gap:22px;align-items:center;border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font-weight:750;font-size:20px;color:var(--ink);white-space:nowrap}.brand>svg{width:29px;height:32px}.brand small{font-size:10px;font-weight:500;letter-spacing:1.5px;border-left:1px solid #ccd4c6;padding-left:13px;color:var(--muted)}.toplinks{display:flex;gap:22px;align-items:center;font-size:12px}.toplinks a{text-decoration:none;color:var(--muted);white-space:nowrap}.toplinks a.current{color:var(--green);font-weight:750}.eyebrow{display:flex;align-items:center;gap:10px;font-size:10px;font-weight:750;letter-spacing:2px;color:var(--green)}.eyebrow:before{content:"";width:23px;height:1px;background:var(--green)}.pagehero{padding:31px 0 26px;display:flex;align-items:end;justify-content:space-between;gap:24px}.pagehero h1{font:600 37px/1.4 var(--serif);letter-spacing:1px;margin:14px 0 8px}.pagehero h1 em{font-style:normal;color:var(--green)}.pagehero p{color:var(--muted);font-size:12px;margin:0;max-width:670px}.pills{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.pill{border:1px solid #d6dfcd;border-radius:30px;font-size:10px;letter-spacing:.7px;padding:2px 11px;color:#657b62}.edition{font-size:10px;letter-spacing:1px;color:var(--muted);text-align:right;flex-shrink:0;padding-bottom:5px}.edition b{font:47px/1.2 Georgia,serif;display:block;letter-spacing:-2px;color:var(--green);margin-bottom:5px}.edition b span{font:11px var(--sans);letter-spacing:0;margin-left:4px}.course{display:grid;grid-template-columns:210px minmax(0,1fr);gap:35px;align-items:start;margin:0 0 27px}.sidebar{position:sticky;top:22px;font-size:11px;padding-top:7px}.side-title{font-size:10px;font-weight:400;letter-spacing:1.8px;color:#87937d;margin:0 0 13px}.sidenav{display:flex;flex-direction:column;gap:5px}.bk-item{display:flex;align-items:center;text-align:left;gap:10px;width:100%;min-height:47px;border:1px solid transparent;background:transparent;padding:9px 11px;border-radius:6px;color:#667c63;font-size:11px;line-height:1.7}.bk-item:hover{background:#e3ead8}.bk-item.on{background:#e3ead8;color:var(--green);font-weight:650}.book-number{font:11px Georgia,serif;opacity:.65;min-width:22px}.book-label{flex:1}.book-count{font:10px Georgia,serif;opacity:.6}.engine-card{margin:24px 0 0;border-top:1px solid var(--line);padding:17px 9px 0}.engine-card summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:6px;font-size:10px;min-height:28px}.engine-card summary::-webkit-details-marker{display:none}.mode-tag{margin-left:auto;color:#7b8875;font-size:9px}.status-dot{display:inline-block;width:6px;height:6px;background:#8dab6c;border-radius:50%;flex-shrink:0}.status-dot.busy{background:#b18c4c}#modelBadge{font-size:10px;line-height:1.85;color:var(--muted);margin:8px 0 11px}.semantic-button{display:flex;align-items:center;gap:6px;background:#e4ebd9;color:var(--green);border:0;border-radius:6px;padding:10px 9px;width:100%;font-size:10px;min-height:40px}.semantic-button:hover{background:#d9e5cc}.semantic-button svg{width:13px;height:13px}.semantic-button>span:last-child{margin-left:auto}.engine-note{color:#7b8875;font-size:9px;line-height:1.9;margin:10px 0 0}.progress-track{height:4px;border-radius:4px;background:#d4dfc7;overflow:hidden;margin-top:11px}.progress-track i{display:block;width:0;height:100%;background:#52824e;transition:width .2s}#progText{display:block;margin-top:6px;font-size:9px;line-height:1.8;color:var(--muted)}.side-foot{margin:20px 9px 0;padding-top:16px;border-top:1px solid var(--line);color:#7b8875;font-size:10px;line-height:2.2}.chat-shell{display:flex;flex-direction:column;min-width:0;height:clamp(490px,calc(100dvh - 338px),690px);background:var(--paper);border:1px solid #e3e7db;border-radius:12px;box-shadow:0 6px 25px #3a4f3607;overflow:hidden}.chat-head{display:flex;justify-content:space-between;align-items:center;padding:11px 25px;border-bottom:1px solid #e6e9e0;flex-shrink:0;min-height:51px}.chat-head>span{display:flex;gap:8px;align-items:center;font-size:11px;color:var(--muted)}.new-chat{display:flex;gap:5px;align-items:center;background:transparent;border:0;color:var(--green);font-size:10px;min-height:30px;padding:0 4px}.new-chat svg{width:14px;height:14px}.conversation{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ccd4c6 transparent}.welcome{padding:24px 27px 14px}.welcome-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:17px}.welcome-heading h2{font:600 23px/1.5 var(--serif);letter-spacing:.7px;margin:0 0 5px}.welcome-heading p{margin:0;color:var(--muted);font-size:10px}.welcome-heading>span{font-size:8px;letter-spacing:1px;color:#8a9781}.suggestions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.suggestion{position:relative;overflow:hidden;text-align:left;min-height:106px;padding:15px 17px;color:var(--ink);border:1px solid #24422a09;border-radius:10px;background:#e8eedf;transition:transform .2s,box-shadow .2s}.suggestion:nth-child(even){background:#f0e5de}.suggestion:hover{transform:translateY(-2px);box-shadow:0 8px 20px #24402b0d}.suggestion-top{display:flex;justify-content:space-between;align-items:center;letter-spacing:1px;font-size:8px;color:#5d755b}.suggestion-top b{font:italic 16px Georgia,serif;opacity:.75}.suggestion-question{display:block;font:600 17px/1.6 var(--serif);letter-spacing:.5px;margin:11px 20px 0 0}.suggestion-arrow{position:absolute;bottom:13px;right:13px;display:grid;place-items:center;background:#fff9;width:25px;height:25px;border-radius:50%;font-size:15px;color:var(--green)}.welcome-footnote{font-size:9px;color:#87937d;display:flex;gap:7px;align-items:center;margin:15px 0 0}.welcome-footnote .status-dot{width:5px;height:5px}.composer-area{padding:12px 24px 10px;border-top:1px solid #e6e9e0;flex-shrink:0}.composer{border:1px solid #d4decb;border-radius:8px;background:#fffefa;padding:12px 13px 9px}.composer:focus-within{border-color:#87a36e;box-shadow:0 0 0 3px #92ad6b12}#q{display:block;resize:none;width:100%;background:transparent;border:0;outline:0;color:var(--ink);font:13px/1.7 var(--sans);min-height:32px;max-height:112px;padding:0 0 8px;scrollbar-width:thin}#q::placeholder{color:#8d9b84}.composer-bottom,.composer-options,.send-actions{display:flex;align-items:center;gap:12px}.composer-bottom{justify-content:space-between}.scope-chip{display:flex;gap:5px;align-items:center;font-size:9px;color:var(--muted);white-space:nowrap}.scope-chip svg{width:12px;height:12px}.ai-toggle{position:relative;display:flex;align-items:center;gap:5px;color:var(--muted);font-size:9px;cursor:pointer;min-height:28px;white-space:nowrap}.ai-toggle input{position:absolute;opacity:0;width:24px;height:25px;margin:0}.switch{width:23px;height:13px;background:#b8c4b0;border-radius:8px;position:relative}.switch:after{content:"";position:absolute;top:2px;left:2px;width:9px;height:9px;background:white;border-radius:50%;transition:transform .15s}.ai-toggle input:checked+.switch{background:var(--green)}.ai-toggle input:checked+.switch:after{transform:translateX(10px)}.ai-toggle input:focus-visible+.switch{outline:2px solid #92ad6b;outline-offset:3px}#inputHint{font-size:9px;color:#96a08e;white-space:nowrap}.send-button,.stop-button{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:0;background:var(--green);color:#fff;border-radius:6px;flex-shrink:0}.send-button:hover,.stop-button:hover{background:#124b3e}.send-button svg{width:17px;height:17px}.stop-button span{width:10px;height:10px;background:white;border-radius:2px}.privacy-note{margin:7px 0 0;text-align:center;font-size:8px;line-height:1.8;color:#87937d}.qa{padding:22px 28px 25px;display:flex;flex-direction:column;gap:22px}.msg{font-size:13px;line-height:1.95;min-width:0;overflow-wrap:anywhere}.msg.user{align-self:flex-end;max-width:88%;padding:10px 15px;background:#e8eedf;border-radius:10px 10px 3px 10px;white-space:pre-wrap}.msg.bot{align-self:stretch;position:relative;padding-left:31px}.bot-mark{position:absolute;top:1px;left:0;display:flex;align-items:center;justify-content:center;width:23px;height:25px;color:var(--green)}.bot-mark svg{width:18px;height:18px}.answer-meta{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:9px;line-height:1.8;margin:0 0 9px}.answer-meta strong{font-weight:650;color:var(--green)}.answer-content p{margin:0 0 12px}.answer-content .lead{font:600 19px/1.6 var(--serif);margin:0 0 11px;color:#214e37}.formula,.example{border:1px solid var(--line);border-radius:6px;padding:10px 12px;margin:12px 0;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.formula{background:#edf1e6;font-family:Consolas,"Microsoft YaHei",monospace}.example{background:#f1e9df;border-color:#eadacc}.answer-note{font-size:10px;line-height:1.8;color:var(--muted);margin-top:12px}.answer-note.warning{color:#996448}.stream{white-space:pre-wrap}.stream code{font-family:Consolas,monospace;background:#edf1e6;color:#426c4d;padding:2px 4px;border-radius:3px}.stream pre{overflow:auto;padding:13px 15px;border-radius:8px;font-size:11px;white-space:pre;background:#203a33;color:#e4edde}.stream pre code{padding:0;background:none;color:inherit}.sources{border-top:1px solid var(--line);padding-top:12px;margin-top:17px}.sources-heading{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:10px;margin-bottom:9px}.sources-heading svg{width:13px;height:13px}.source{border:1px solid var(--line);border-radius:6px;background:#f4f6ef;margin-top:6px}.source summary{list-style:none;display:flex;gap:8px;align-items:baseline;cursor:pointer;font-size:11px;line-height:1.7;padding:9px 11px}.source summary::-webkit-details-marker{display:none}.source summary:after{content:"+";color:var(--muted);margin-left:auto;font-size:14px}.source[open] summary:after{content:"−"}.source-index{color:var(--muted);font:10px Georgia,serif}.source-title{flex:1}.source-title small{display:block;color:var(--muted);font-size:9px;margin-top:3px}.source-body{border-top:1px solid var(--line);padding:10px 12px;font-size:12px;line-height:1.95;color:#405548;white-space:pre-wrap}.related{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:13px}.related-label{font-size:10px;color:var(--muted);width:100%}.related button{border:1px solid #d2ddc5;color:#58734e;background:var(--paper);font-size:10px;min-height:30px;padding:5px 9px;border-radius:5px}.related button:hover{background:#e4ebd9}.pagefoot{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;padding:18px 0 24px;font-size:10px;color:#7d8976}.pagefoot .status-dot{margin-right:7px}.noscript{position:fixed;bottom:0;left:0;right:0;padding:12px;background:var(--paper);text-align:center}
.switch{pointer-events:none}.ai-toggle input{z-index:1}
@media(max-width:1080px){.wrap{padding:0 28px}.brand small{display:none}.course{grid-template-columns:180px minmax(0,1fr);gap:22px}.toplinks{gap:14px}.chat-head{padding-inline:20px}.welcome{padding:22px 20px 14px}.welcome-heading>span{display:none}.suggestion-question{font-size:16px}.composer-area{padding-inline:20px}#inputHint{display:none}.qa{padding:22px 20px}.composer-options{gap:10px}}
@media(max-width:760px){.wrap{padding:0 18px}.topbar{align-items:flex-start;padding:17px 0;min-height:74px;flex-direction:column;gap:10px}.brand{font-size:19px}.brand>svg{height:26px;width:25px}.toplinks{gap:18px;font-size:11px}.pagehero{padding:25px 0 22px}.pagehero h1{font-size:29px;margin:12px 0 9px}.pagehero p{font-size:11px;line-height:1.9;max-width:350px}.edition{display:none}.pills{margin-top:12px}.pill{font-size:9px}.course{display:block;margin-bottom:22px}.sidebar{position:static;padding:0;margin-bottom:15px}.side-title,.side-foot{display:none}.sidenav{flex-direction:row;overflow:auto;padding:0 0 6px;gap:5px;scrollbar-width:thin}.bk-item{white-space:nowrap;width:auto;flex-shrink:0;min-height:44px;padding:8px 11px;gap:7px;font-size:10px}.book-number{min-width:15px;font-size:10px}.book-count{display:none}.engine-card{padding:5px 0 0;margin:3px 0 0;border-top:0}.engine-card summary{min-height:32px;gap:7px;font-size:10px}.mode-tag{margin-left:4px}.engine-card summary:after{content:"⌄";margin-left:auto;font-size:15px;color:var(--muted)}.engine-card[open] summary:after{content:"⌃"}.engine-card p{margin:6px 0 10px}#modelBadge{font-size:10px}.semantic-button{max-width:250px;min-height:44px}.engine-note{font-size:10px;max-width:370px}.chat-shell{height:610px;max-height:calc(100dvh - 20px);min-height:410px}.chat-head{padding:9px 15px;min-height:52px}.new-chat{min-height:34px}.welcome{padding:21px 16px 15px}.welcome-heading h2{font-size:22px}.welcome-heading p{font-size:10px}.suggestions{gap:10px}.suggestion{min-height:115px;padding:13px}.suggestion-top{font-size:8px;letter-spacing:.3px}.suggestion-top b{font-size:16px}.suggestion-question{font-size:16px;line-height:1.65;margin-top:12px;margin-right:16px;letter-spacing:0}.suggestion-arrow{width:23px;height:23px;right:9px;bottom:11px}.welcome-footnote{font-size:9px;line-height:1.8;margin-top:16px}.composer-area{padding:10px 12px 11px}.composer{padding:12px 10px 8px}#q{font-size:16px;min-height:39px;line-height:1.6}.scope-chip{font-size:8px;gap:4px}.scope-chip svg{width:11px;height:11px}.composer-options{gap:8px}.ai-toggle{font-size:9px;min-height:40px}.send-button,.stop-button{width:40px;height:40px}.privacy-note{font-size:8px;line-height:1.9;margin-top:8px}.qa{padding:20px 15px}.msg{font-size:12px}.msg.user{max-width:92%}.msg.bot{padding-left:27px}.source summary{padding:9px}.related button{min-height:40px}.pagefoot{flex-direction:column;gap:6px;padding:17px 0 23px;font-size:9px}}
@media(max-width:359px){.wrap{padding:0 14px}.pagehero h1{font-size:25px;letter-spacing:0}.suggestion{padding:12px 10px}.suggestion-question{font-size:14px}.suggestion-top{font-size:7px}.composer-options{gap:7px}.scope-chip svg{display:none}.welcome-heading h2{font-size:21px}.welcome-footnote{font-size:8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}
