:root{--bg:#f7f7f0;--paper:#fffef8;--soft:#e8eddf;--ink:#2d493a;--muted:#5a6958;--line:#d5ddcc;--accent:#385a42;--warn:#865530;--serif:Georgia,'Songti SC',SimSun,serif;--sans:'Microsoft YaHei','PingFang SC',system-ui,sans-serif;color-scheme:light;font-family:var(--sans);font-size:14px;color:var(--ink);background:var(--bg);line-height:1.75;font-synthesis:none}
*{box-sizing:border-box}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.source-heading{margin-top:25px}body{margin:0}button,input,textarea,select{font:inherit;color:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-underline-offset:4px}button{border:0;background:none}button,a{touch-action:manipulation}button svg,a svg{width:19px;height:19px;flex-shrink:0}svg{vertical-align:middle}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:4px}::selection{background:#d3dfc5;color:#213b2d}textarea,input{caret-color:var(--accent)}::placeholder{color:#687660;opacity:1}*{scrollbar-width:thin;scrollbar-color:#adbba2 transparent}h1,h2,h3,p{margin:0}h1,h2,h3{text-wrap:balance}h1,h2{font-family:var(--serif);font-weight:400}p{overflow-wrap:anywhere}button{transition:background .16s ease,color .16s ease}button:hover:not(:disabled){background:#e1e8d6}a:hover{color:#537844}.skip{position:fixed;top:-100px;left:15px;z-index:100;background:var(--paper);padding:10px}.skip:focus{top:12px}.boot{padding:80px;text-align:center}.shell{display:grid;grid-template-columns:216px minmax(0,1fr);min-height:100dvh}.sidebar{background:#eef1e6;border-right:1px solid var(--line);padding:32px 20px 20px;position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;gap:28px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none}.brand img{width:32px}.brand span{font:500 27px/1 var(--serif);letter-spacing:-.03em}.side-nav{display:flex;flex-direction:column;gap:7px}.side-nav button{padding:11px 12px;display:flex;gap:12px;align-items:center;border-radius:8px;text-align:left}.side-nav .selected{background:#dce5d2}.side-section{font-size:11px;color:var(--muted);padding:4px 11px;letter-spacing:.1em}.recent-nav{overflow-y:auto;flex:1;min-height:40px}.recent-nav button{display:block;max-width:100%;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;padding:9px 11px;font-size:12px;border-radius:7px}.recent-nav button.current{background:#dce5d2}.side-foot{font-size:11px;color:var(--muted);line-height:1.8;border-top:1px solid var(--line);padding:17px 10px 0}.side-foot button{padding:0;text-decoration:underline;text-underline-offset:3px}.main{min-width:0}.topbar{height:74px;border-bottom:1px solid var(--line);padding:0 40px;display:flex;align-items:center;justify-content:space-between;gap:15px}.topbar p{font-size:12px;color:var(--muted)}.subtle-tag{display:inline-flex;gap:7px;align-items:center;font-size:11px;border:1px solid var(--line);border-radius:20px;padding:4px 10px;white-space:nowrap}.subtle-tag:before{content:'';width:5px;height:5px;background:#668a51;border-radius:50%}.home{max-width:1160px;margin:auto;padding:38px 50px 30px}.hero{display:grid;grid-template-columns:1fr 310px;gap:24px;position:relative;align-items:center;min-height:255px}.hero h1{font-size:clamp(33px,3.35vw,50px);line-height:1.45;letter-spacing:-.025em}.hero p{margin-top:20px;color:var(--muted);font-size:14px;line-height:2;max-width:38em}.hero-art{width:310px;height:270px;object-fit:contain;transform:rotate(6deg);opacity:.95}.composer{background:var(--paper);border:1px solid #bccbb1;border-radius:17px;padding:18px 20px 13px;box-shadow:0 7px 22px #3b50300a}.composer:focus-within{border-color:#789968}.composer.dragging{outline:2px dashed var(--accent);outline-offset:4px}.composer textarea{display:block;resize:none;min-height:76px;max-height:170px;line-height:1.8;background:none;border:0;width:100%;outline:0;padding:0}.composer textarea:focus-visible{outline:none}.compose-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}.compose-bottom>span{font-size:11px;color:var(--muted);flex:1}.attach{display:inline-flex;align-items:center;gap:6px;padding:8px 4px;font-size:12px}.primary{background:var(--accent);color:#fffef5;border-radius:8px;padding:10px 17px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-size:13px}.primary:hover:not(:disabled){background:#294731}.secondary{border:1px solid var(--line);border-radius:8px;padding:8px 13px;display:inline-flex;gap:8px;align-items:center;font-size:12px}.home-consent{font-size:10px;color:var(--muted);margin:10px 2px 0}.home-consent button{padding:0;text-decoration:underline}.chat-privacy button{font-size:inherit;padding:0;text-decoration:underline}.quick-prompts{display:flex;gap:10px;flex-wrap:wrap;margin-top:17px}.quick-prompts button{font-size:12px;border-bottom:1px solid #c6d0bd;padding:5px 0;margin-right:12px;color:var(--muted)}.home-section{margin-top:38px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px;gap:14px}.section-heading h2{font-size:22px}.section-heading span,.section-heading button{font-size:12px;color:var(--muted)}.sample-card{display:grid;grid-template-columns:140px 1fr auto;align-items:center;gap:25px;background:#e8eddc;border:1px solid #d8e0ca;border-radius:15px;overflow:hidden;padding:24px 28px}.sample-visual{height:117px;position:relative;display:flex;align-items:center;justify-content:center}.sample-visual svg{width:96px;height:110px}.sample-copy h3{font-family:var(--serif);font-size:24px;font-weight:400;margin-bottom:8px}.sample-copy p{font-size:12px;line-height:1.85;max-width:48em;color:var(--muted)}.sample-meta{margin-top:12px;font-size:10px;display:flex;gap:14px;color:var(--muted)}.sample-card>button{width:44px;height:44px;background:var(--paper);border-radius:50%;display:grid;place-items:center}.library-list{border-top:1px solid var(--line)}.library-row{width:100%;display:grid;grid-template-columns:1fr auto;gap:15px;text-align:left;border-bottom:1px solid var(--line);padding:18px 6px}.library-row small{display:block;color:var(--muted);font-size:11px}.library-row>span:last-child{font-size:11px;color:var(--muted)}.empty-history{padding:17px 0;color:var(--muted);font-size:12px}.home-footer{display:flex;justify-content:space-between;gap:20px;font-size:10px;color:var(--muted);margin-top:35px;padding-top:18px;border-top:1px solid var(--line)}
.work-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:21px 30px;border-bottom:1px solid var(--line)}.work-header h1{font-family:var(--sans);font-size:16px;font-weight:500}.work-header p{font-size:11px;color:var(--muted);margin-top:4px}.work-actions{display:flex;align-items:center;gap:9px;flex-shrink:0}.work-actions details{position:relative}.work-actions summary{list-style:none;width:36px;height:36px;display:grid;place-items:center;cursor:pointer;border:1px solid var(--line);border-radius:7px}.work-actions details>div{position:absolute;right:0;top:43px;z-index:4;min-width:150px;background:var(--paper);border:1px solid var(--line);box-shadow:0 8px 24px #26351b12;padding:6px;border-radius:8px}.work-actions details button{display:block;width:100%;text-align:left;padding:9px;font-size:12px}.workspace{display:grid;grid-template-columns:minmax(310px,37%) minmax(0,1fr);height:calc(100dvh - 156px);min-height:570px}.conversation{display:flex;flex-direction:column;min-height:0;border-right:1px solid var(--line);background:#f1f3e9}.conversation-label{display:flex;justify-content:space-between;align-items:center;padding:18px 24px 9px;font-size:12px;color:var(--muted)}.conversation-label span{font-size:10px}.messages{flex:1;overflow:auto;padding:10px 24px 24px;scroll-behavior:smooth}.message{margin:18px 0 28px;animation:message-in .3s ease-out}.message-author{display:flex;align-items:center;gap:8px;font-size:11px;margin-bottom:10px;color:var(--muted)}.message-author img{width:21px;border-radius:6px}.message-user{background:#e3e9d9;padding:15px 17px;border-radius:12px 12px 3px 12px;margin-left:17px}.message-user .message-author{margin-bottom:6px}.message-text{white-space:pre-wrap;font-size:14px;line-height:1.95;overflow-wrap:anywhere}.message-assistant .message-text{padding-left:0}.message-citations{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.cite{font-size:10px;padding:3px 8px;border-radius:4px;background:#e0e8d5;color:#39513c;display:inline-flex;align-items:center;gap:5px;max-width:100%}.report-jump{display:block;margin-top:12px;font-size:11px;padding:0;text-decoration:underline;text-underline-offset:4px}.chat-composer{margin:0 17px 15px;padding:12px 14px 10px;box-shadow:none;border-radius:12px}.chat-composer textarea{min-height:58px;font-size:12px}.chat-composer .compose-bottom{margin-top:3px}.chat-composer .primary{padding:8px 12px;font-size:12px}.chat-composer .compose-bottom>span{display:none}.chat-privacy{font-size:10px;color:var(--muted);padding:0 18px 14px;text-align:center}.job{padding:0 23px 15px;font-size:12px}.job-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.job-running .job-head>span:before{content:'';display:inline-block;width:7px;height:7px;background:#73905b;border-radius:50%;margin-right:8px;animation:breathe 1.4s ease-in-out infinite}.job small{display:block;font-size:11px;margin-top:7px;color:var(--muted)}.job button{font-size:11px;text-decoration:underline}.job-failed{color:var(--warn)}.materials{display:flex;flex-wrap:wrap;gap:6px;padding:0 20px 12px;max-height:100px;overflow:auto}.material{font-size:10px;border:1px solid var(--line);padding:5px 7px;border-radius:5px;max-width:100%;overflow-wrap:anywhere}.material.failed{color:var(--warn)}.report-pane{overflow-y:auto;background:var(--paper);padding:27px 35px 60px}.report-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted);margin-bottom:25px}.report-toolbar select{border:1px solid var(--line);background:var(--paper);font-size:11px;border-radius:5px;padding:5px}.report-title{font-size:30px;line-height:1.55;letter-spacing:-.025em;margin-bottom:15px}.report-notice{font-size:10px;color:var(--muted);display:flex;gap:12px;flex-wrap:wrap;margin-bottom:24px}.conclusion{font-family:var(--serif);font-size:20px;line-height:1.9;margin-bottom:10px}.report-nav{position:sticky;top:-27px;background:var(--paper);z-index:2;display:flex;gap:18px;border-bottom:1px solid var(--line);margin:24px 0 26px;padding-top:10px}.report-nav button{padding:10px 0;font-size:12px;color:var(--muted);border-bottom:2px solid transparent;white-space:nowrap}.report-nav button.active{color:var(--ink);border-color:var(--accent)}.report-section h2{font-family:var(--sans);font-weight:500;font-size:15px;margin-bottom:17px}.report-section+.report-section{margin-top:30px}.report-section p,.report-section li{font-size:14px;line-height:1.95}.report-section ul{padding-left:18px;margin:10px 0}.report-section .intro{color:var(--muted);margin-bottom:18px}.finding{padding:18px 0;border-bottom:1px solid var(--line)}.finding:first-child{padding-top:0}.finding summary{cursor:pointer;list-style:none;display:flex;align-items:start;justify-content:space-between;gap:15px}.finding summary::-webkit-details-marker{display:none}.finding summary h3{font-size:14px;font-weight:500;line-height:1.8}.finding summary span{font-size:10px;color:var(--muted);display:block;margin-top:5px}.finding summary>svg{width:16px;height:16px;margin-top:4px}.finding[open] summary>svg{transform:rotate(180deg)}.finding p{margin-top:12px}.finding .applicability{background:#f0f3e8;padding:10px 12px;border-radius:5px;color:var(--muted);font-size:11px}.match-row{display:grid;grid-template-columns:98px 1fr;gap:16px;border-bottom:1px solid var(--line);padding:15px 0;font-size:12px}.match-row>div:first-child strong{font-size:12px;font-weight:500}.match-row>div:first-child small{font-size:10px;color:var(--warn);display:block;margin-top:5px}.next-step{background:#eef2e5;padding:20px;border-radius:10px;margin-top:27px}.next-step h3{font-size:12px;margin-bottom:8px}.next-step p{font-size:12px;line-height:1.85}.next-step button{margin-top:13px}.warning{color:var(--warn);font-size:11px;line-height:1.85;margin-top:16px}.source-list button,.source-list a{display:block;text-align:left;width:100%;border-bottom:1px solid var(--line);padding:13px 0;font-size:12px;text-decoration:none;overflow-wrap:anywhere}.source-list small{display:block;font-size:10px;color:var(--muted)}.report-empty{max-width:350px;margin:60px auto;text-align:center}.report-empty img{width:160px;height:170px;object-fit:contain;opacity:.75}.report-empty h2{font-size:26px;margin:15px 0}.report-empty p{font-size:12px;line-height:2;color:var(--muted)}.mobile-tabs{display:none}.history-main{padding:40px;max-width:1100px}.history-main h1{font-size:35px}.history-tools{display:flex;gap:15px;margin:22px 0}.history-tools input{flex:1;min-width:0;border:1px solid var(--line);padding:10px 14px;background:var(--paper);border-radius:8px}.history-tools select{border:1px solid var(--line);background:var(--paper);border-radius:8px;padding:8px}.history-main>p{font-size:12px;color:var(--muted);margin-top:10px}dialog{border:1px solid var(--line);border-radius:14px;padding:0;max-width:680px;width:calc(100% - 32px);max-height:85dvh;background:var(--paper);color:var(--ink);box-shadow:0 20px 70px #1f322630}dialog::backdrop{background:#23382b55}#evidence-content{padding:26px}.dialog-header{display:flex;align-items:flex-start;gap:20px;justify-content:space-between;margin-bottom:16px}.dialog-header h2{font-family:var(--sans);font-size:17px;line-height:1.8}.dialog-header button{padding:6px;flex-shrink:0}.evidence-meta{font-size:11px;line-height:1.9;color:var(--muted);margin-bottom:18px}.evidence-excerpt{white-space:pre-wrap;font-size:13px;line-height:2;background:#eff2e6;padding:18px;border-radius:8px;overflow-wrap:anywhere}.dialog-footer{margin-top:20px;font-size:12px}.privacy-copy{font-size:13px;line-height:2}.privacy-copy h3{font-size:14px;margin:20px 0 7px}.danger{color:#954425}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:30;background:#2e4b39;color:#fffef4;padding:12px 22px;border-radius:10px;max-width:calc(100% - 32px);font-size:12px;box-shadow:0 8px 28px #23362722}#toast[hidden]{display:none}@keyframes message-in{from{opacity:.6;transform:translateY(5px)}to{opacity:1;transform:none}}@keyframes breathe{50%{opacity:.35}}
@media(min-width:1700px){.workspace{grid-template-columns:minmax(390px,36%) minmax(0,1fr)}.report-pane{padding-left:max(40px,5%);padding-right:max(40px,5%)}.report-title{font-size:37px}.report-section p,.report-section li,.message-text{font-size:14px}}
@media(max-width:1150px){.shell{grid-template-columns:180px minmax(0,1fr)}.sidebar{padding:26px 13px}.home{padding:30px}.hero{grid-template-columns:1fr 230px}.hero-art{width:230px;height:235px}.hero h1{font-size:37px}.workspace{grid-template-columns:330px minmax(0,1fr)}.report-pane{padding:23px}.sample-card{grid-template-columns:90px 1fr auto;padding:22px;gap:20px}.sample-visual svg{width:78px}.sample-copy h3{font-size:21px}.report-nav{gap:14px;top:-23px}.work-header{padding:19px 24px}.report-title{font-size:26px}}
@media(max-width:850px){.shell{grid-template-columns:1fr}.sidebar{position:relative;height:auto;padding:15px 22px;flex-direction:row;justify-content:space-between;align-items:center;gap:15px;border-right:0;border-bottom:1px solid var(--line)}.brand span{font-size:25px}.brand img{width:29px}.side-nav{flex-direction:row;gap:4px}.side-nav button{padding:8px;gap:7px;font-size:12px}.side-section,.recent-nav,.side-foot{display:none}.topbar{height:47px;padding:0 24px}.topbar p{font-size:11px}.home{max-width:800px;padding:28px 30px}.hero{min-height:200px}.hero h1{font-size:36px}.hero-art{height:205px}.workspace{height:calc(100dvh - 196px);min-height:550px;grid-template-columns:40% minmax(0,1fr)}.work-header{padding:15px 22px}.work-header h1{font-size:14px}.report-pane{padding:23px 22px}.messages{padding-left:18px;padding-right:18px}.report-nav{gap:12px}.report-nav button{font-size:11px}.work-actions .secondary span{display:none}}
@media(max-width:600px){.sidebar{padding:14px 18px}.brand span{font-size:23px}.side-nav button{font-size:11px}.side-nav svg{width:17px}.side-nav button:nth-child(2){display:none}.topbar{padding:0 20px;height:43px}.topbar p{font-size:10px}.subtle-tag{font-size:9px;padding:3px 8px}.home{padding:23px 20px}.hero{display:block;min-height:210px;padding-top:8px;overflow:clip}.hero h1{font-size:34px;line-height:1.5;position:relative;z-index:1}.hero p{font-size:12px;margin-top:14px;max-width:24em;position:relative;z-index:1}.hero-art{position:absolute;right:-15px;top:9px;width:144px;height:177px;opacity:.26;transform:rotate(12deg)}.composer{padding:16px 15px 12px;border-radius:12px}.composer textarea{font-size:13px;min-height:87px}.compose-bottom>span{display:none}.compose-bottom .primary{padding:9px 13px}.quick-prompts{gap:4px;margin-top:11px}.quick-prompts button{font-size:10px;margin-right:10px}.home-section{margin-top:29px}.section-heading h2{font-size:21px}.section-heading span{font-size:10px}.sample-card{grid-template-columns:1fr 35px;padding:21px 18px;gap:15px;border-radius:12px}.sample-visual{display:none}.sample-copy h3{font-size:21px}.sample-copy p{font-size:11px}.sample-meta{font-size:9px;gap:9px}.sample-card>button{width:33px;height:33px}.home-footer{font-size:9px;margin-top:25px;display:block;line-height:2}.home-footer span{display:block}.work-header{padding:14px 18px;align-items:flex-start}.work-header h1{font-size:13px;max-width:220px;line-height:1.8}.work-header p{font-size:9px}.work-actions{gap:5px}.work-actions .secondary{padding:8px}.work-actions details summary{width:32px;height:35px}.mobile-tabs{display:flex;gap:0;border-bottom:1px solid var(--line);background:var(--paper)}.mobile-tabs button{flex:1;font-size:12px;padding:11px;border-bottom:2px solid transparent}.mobile-tabs button.active{border-color:var(--accent);background:#eef2e7}.workspace{display:block;min-height:0;height:calc(100dvh - 247px)}.conversation{height:100%;min-height:440px;border-right:0}.report-pane{height:100%;min-height:440px;padding:24px 22px 45px}.workspace[data-mobile=chat] .report-pane{display:none}.workspace[data-mobile=report] .conversation{display:none}.conversation-label{padding:16px 20px 8px}.messages{padding:0 20px 18px}.message-text{font-size:13px}.chat-composer textarea{min-height:50px}.chat-composer{margin:0 14px 8px;padding:10px 13px}.chat-privacy{font-size:9px;padding-bottom:9px}.report-title{font-size:28px}.conclusion{font-size:19px}.report-section p,.report-section li{font-size:13px}.report-nav{gap:0;justify-content:space-between;top:-24px}.report-nav button{font-size:12px}.report-toolbar{margin-bottom:20px}.history-main{padding:25px 20px}.history-main h1{font-size:30px}.history-tools{gap:8px}.history-tools select{max-width:105px}.history-tools input{font-size:12px}.library-row{font-size:13px}.library-row>span:last-child{font-size:10px}.match-row{grid-template-columns:80px 1fr;gap:12px}#evidence-content{padding:22px}.dialog-header h2{font-size:15px}.evidence-excerpt{padding:14px;font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.sidebar,.topbar,.work-header,.conversation,.mobile-tabs,.report-toolbar,.report-nav,.next-step button,#toast,dialog{display:none!important}.shell,.workspace{display:block!important;height:auto!important}.report-pane{display:block!important;height:auto;overflow:visible;padding:0}.report-section{break-inside:avoid}.report-title{font-size:26px}body{background:white}.cite{background:none;border:1px solid #bbb}.report-pane{color:#111}}
