:root{--ink:#1c2a27;--forest:#1f3a35;--forest-2:#315b52;--paper:#f7f4ec;--cream:#eee8dc;--line:#dedbd2;--red:#c95135;--muted:#74807c;--white:#fff;--shadow:0 14px 40px rgba(28,42,39,.1)}*{box-sizing:border-box}body{margin:0;background:#eceae4;color:var(--ink);font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;font-size:16px}.topbar{height:64px;background:var(--forest);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 24px;border-bottom:1px solid rgba(255,255,255,.12)}.brand{color:#fff;text-decoration:none;display:flex;align-items:center;gap:10px;font-family:serif;font-size:21px;font-weight:700;letter-spacing:.08em}.brand-mark{width:34px;height:34px;display:grid;place-items:center;border:1px solid #e8b9a7;color:#f5d9cd}.brand small{font:12px system-ui;color:#b9c9c4;letter-spacing:.12em;margin-left:3px}.top-actions{display:flex;align-items:center;gap:16px}.save-state{font-size:13px;color:#c7d3d0}.save-state i{display:inline-block;width:7px;height:7px;background:#82b8a7;border-radius:50%;margin-right:7px}.icon-button,.avatar{border:1px solid rgba(255,255,255,.24);background:transparent;color:white;border-radius:50%;width:34px;height:34px}.avatar{background:#d16a4e;border:none}.workspace{min-height:calc(100vh - 64px);display:grid;grid-template-columns:250px 1fr;max-width:1600px;margin:auto}.sidebar{background:#f6f3ec;border-right:1px solid var(--line);padding:26px 18px;display:flex;flex-direction:column}.project-title{display:flex;align-items:center;gap:10px;padding:0 5px 25px}.project-title .back{border:0;background:transparent;font-size:27px;color:#6b7773}.project-title span{display:block;font-size:12px;color:var(--muted);margin-bottom:3px}.project-title strong{font-size:14px;display:block;white-space:nowrap;max-width:165px;overflow:hidden;text-overflow:ellipsis}.steps{display:flex;flex-direction:column;position:relative}.steps:before{content:"";position:absolute;left:20px;top:34px;bottom:34px;width:1px;background:#d7d4ca}.step{position:relative;z-index:1;border:0;background:transparent;text-align:left;display:flex;align-items:center;gap:13px;padding:13px 8px;border-radius:8px;color:#6e7875;cursor:pointer;margin:2px 0}.step b{width:26px;height:26px;border-radius:50%;background:#e2dfd7;display:grid;place-items:center;font-size:12px}.step span{font-size:14px;font-weight:650}.step small{display:block;font-size:11px;font-weight:400;color:#969c99;margin-top:3px}.step.active{background:#e5ece8;color:var(--forest)}.step.active b{background:var(--forest);color:white}.sidebar-note{margin-top:auto;border-top:1px solid var(--line);padding:20px 8px 0}.sidebar-note span{font-size:11px;color:var(--muted)}.sidebar-note strong{display:block;font-size:13px;margin:5px 0 8px}.sidebar-note p{font-size:11px;color:#7e8784;line-height:1.65;margin:0}.main-panel{background:#fbfaf7;padding:32px 38px 60px;min-width:0}.panel-head{max-width:1160px;margin:0 auto 28px;display:flex;align-items:flex-end;justify-content:space-between;gap:30px}.eyebrow{color:var(--red);font-size:12px;font-weight:700;letter-spacing:.08em}.panel-head h1{font-family:"Songti SC",serif;font-size:30px;margin:7px 0 5px}.panel-head p{color:var(--muted);font-size:14px;margin:0}.head-actions{display:flex;gap:10px}.primary,.ghost,.outline{height:42px;padding:0 18px;border-radius:5px;font-size:14px;cursor:pointer}.primary{background:var(--forest);color:#fff;border:1px solid var(--forest)}.primary:hover{background:var(--forest-2)}.ghost{background:transparent;border:0;color:#72807b}.outline{border:1px solid #c8ccc8;background:white;color:var(--forest)}.screen{display:none;max-width:1160px;margin:auto}.screen.active{display:block}.dropzone{min-height:330px;border:1.5px dashed #aab5b0;background:#fff;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;transition:.2s}.dropzone:hover,.dropzone.drag{border-color:var(--forest-2);background:#f3f7f5}.dropzone input{display:none}.upload-glyph{font-size:29px;border:1px solid #b7c4bf;width:56px;height:56px;display:grid;place-items:center;border-radius:50%;color:var(--forest);margin-bottom:20px}.dropzone strong{font-family:"Songti SC",serif;font-size:20px}.dropzone p{font-size:13px;color:var(--muted)}.formats{display:flex;gap:7px;margin-top:12px}.formats b{font-size:10px;padding:5px 8px;background:#eef1ee;color:#5e6d68;border-radius:3px}.privacy{display:flex;justify-content:center;align-items:center;gap:12px;margin:18px;color:var(--muted)}.privacy span{width:28px;height:28px;border:1px solid #a9bbb4;color:#4f7e6f;border-radius:50%;display:grid;place-items:center}.privacy p{font-size:11px;line-height:1.5}.privacy strong{color:#596662;font-weight:650}.recent{margin-top:35px}.section-title,.mini-head{display:flex;align-items:center;justify-content:space-between}.section-title h2{font-size:15px}.section-title button,.mini-head button{border:0;background:none;color:var(--forest-2);cursor:pointer}.file-row{width:100%;border:1px solid var(--line);background:#fff;display:flex;align-items:center;text-align:left;padding:14px 16px;border-radius:7px;cursor:pointer}.file-icon{width:34px;height:40px;background:#e8f0ed;color:#2f6d5e;display:grid;place-items:center;font-weight:700;margin-right:13px}.file-row span:nth-child(2){display:flex;flex-direction:column;gap:4px}.file-row strong{font-size:13px}.file-row small{color:var(--muted)}.file-row em{font-style:normal;color:#526b64;font-size:12px;margin-left:auto}.recognition-bar{background:#e8f1ed;border:1px solid #c9ddd5;padding:13px 16px;display:flex;align-items:center;justify-content:space-between;border-radius:6px;margin-bottom:16px}.recognition-bar>div{display:flex;align-items:center;gap:10px}.recognition-bar strong{font-size:13px}.recognition-bar small{color:#667770}.pulse{width:8px;height:8px;background:#4d8a76;border-radius:50%}.editor-grid{display:grid;grid-template-columns:285px 1fr;background:white;border:1px solid var(--line);height:630px;overflow:hidden}.outline-panel{border-right:1px solid var(--line);padding:17px;overflow:auto}.mini-head{padding-bottom:13px;border-bottom:1px solid #e4e2dc}.mini-head strong{font-size:14px}.mini-head span{font-size:11px;color:var(--muted)}.structure-item{display:flex;align-items:center;gap:9px;padding:8px;border-radius:4px;font-size:12px;cursor:pointer}.structure-item:hover,.structure-item.active{background:#edf1ef}.structure-item b{font-size:9px;font-weight:600;color:#6b7773;background:#eceeea;padding:3px 5px;min-width:31px;text-align:center}.structure-item.warn b{background:#f9e6d9;color:#a34a31}.manuscript{padding:55px 70px;overflow:auto;font-family:"Songti SC",serif}.type-label{position:absolute;transform:translateX(-50px);font:10px system-ui;color:#ba5c44;background:#f8e8e2;padding:3px 5px}.paper-head h2{font-size:25px;text-align:center;margin:0 0 17px}.authors{text-align:center}.authors p{margin:0 0 5px}.authors small{font-size:12px;color:#66706d}.fund{font-size:11px;background:#f8f6f0;padding:10px;margin:28px 0}.fund span{color:#a34a31;font-weight:bold;margin-right:8px}.manuscript h3{font-size:17px;margin-top:25px}.manuscript h3 span{color:var(--red)}.manuscript h4{font-size:14px}.manuscript>p{font-size:14px;line-height:1.9;text-align:justify}.manuscript figure{text-align:center}.figure-placeholder{height:110px;display:flex;gap:5px;align-items:flex-end;justify-content:center}.figure-placeholder span{display:block;width:20%;background:#72998d;color:transparent;height:40%}.figure-placeholder span:nth-child(2){height:80%;background:#3f7063}.figure-placeholder span:nth-child(3){height:60%;background:#bd6b50}.manuscript figcaption{font-size:11px}.template-layout{display:grid;grid-template-columns:1.1fr .9fr;gap:22px}.template-list,.settings{background:white;border:1px solid var(--line);padding:20px}.template-card{display:grid;grid-template-columns:85px 1fr 25px;width:100%;align-items:center;gap:16px;border:1px solid #e2e0d9;background:white;border-radius:7px;margin-top:13px;padding:12px;text-align:left;cursor:pointer}.template-card.selected{border-color:var(--forest-2);box-shadow:0 0 0 1px var(--forest-2)}.template-card>b{color:white;border:1px solid #ccd3cf;border-radius:50%;width:20px;height:20px;text-align:center}.template-card.selected>b{background:var(--forest-2);border-color:var(--forest-2)}.template-card strong{font-size:14px;display:block}.template-card small{font-size:11px;color:var(--muted)}.thumb{height:72px;background:#f0ede5;padding:10px;display:flex;gap:4px;box-shadow:0 2px 7px #ddd}.thumb i{background:repeating-linear-gradient(#9aa49f 0 1px,transparent 1px 5px);display:block;width:100%}.settings label{font-size:12px;color:#63706c;display:flex;flex-direction:column;gap:7px;margin-top:18px}.settings select{height:38px;border:1px solid #d5d7d2;border-radius:4px;background:white;padding:0 10px;color:var(--ink)}.two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.toggle-row{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #e3e1db;padding-top:18px;margin-top:20px}.toggle-row strong{display:block;font-size:13px}.toggle-row small{color:var(--muted);font-size:10px}.switch{width:38px;height:22px;border:0;border-radius:20px;background:#c8cecb;position:relative}.switch:after{content:"";position:absolute;width:16px;height:16px;left:3px;top:3px;background:white;border-radius:50%;transition:.2s}.switch.on{background:var(--forest-2)}.switch.on:after{left:19px}.preview-toolbar{height:48px;background:white;border:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 16px}.preview-toolbar strong{font-size:14px}.preview-toolbar span{font-size:11px;color:var(--muted);margin-left:10px}.zoom{width:30px;height:28px;background:white;border:1px solid #ddd}.preview-stage{height:570px;background:#d9d7d1;display:grid;place-items:center;overflow:auto}.page{width:595px;height:842px;background:#fff;box-shadow:var(--shadow);padding:35px 43px;transform:scale(.6);transform-origin:center;font-family:"Songti SC",serif;color:#111}.page header{font-size:9px;border-bottom:1px solid #333;padding-bottom:4px}.page>h2{text-align:center;font-size:23px;margin:27px 0 10px}.page-authors{text-align:center;font-size:12px}.abstract{font-size:9px;line-height:1.7;margin:20px 0;border-block:1px solid #bbb;padding:8px 0}.paper-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.paper-columns h3{font-size:12px}.paper-columns h4{font-size:10px}.paper-columns p,.paper-columns li{font-size:8px;line-height:1.8;text-align:justify}.chart{height:105px;background:#f5f5f2;display:flex;align-items:flex-end;justify-content:center;gap:12px;padding:10px;position:relative}.chart i{width:28px;height:40px;background:#315b52}.chart i:nth-child(2){height:70px;background:#c95135}.chart i:nth-child(3){height:55px;background:#8a9d97}.chart span{position:absolute;bottom:3px;font-size:5px}.paper-columns small{display:block;text-align:center;font-size:7px;margin:5px}.page footer{position:absolute;bottom:25px;font-size:7px;border-top:1px solid #999;padding-top:5px;width:509px}.export-bar{display:flex;align-items:center;justify-content:flex-end;gap:10px;background:white;border:1px solid var(--line);padding:14px 16px}.export-bar>span{margin-right:auto}.export-bar b{display:block;font-size:13px;color:#326d5b}.export-bar small{font-size:10px;color:var(--muted)}.toast{position:fixed;right:24px;bottom:24px;background:var(--forest);color:white;padding:13px 18px;border-radius:5px;box-shadow:var(--shadow);font-size:13px;opacity:0;transform:translateY(10px);pointer-events:none;transition:.25s}.toast.show{opacity:1;transform:none}@media(max-width:850px){.workspace{grid-template-columns:1fr}.sidebar{padding:12px 15px;display:block}.project-title,.sidebar-note{display:none}.steps{flex-direction:row}.steps:before{display:none}.step{flex:1;justify-content:center}.step span{display:none}.main-panel{padding:23px 15px}.panel-head{align-items:flex-start}.panel-head p{max-width:300px}.editor-grid{grid-template-columns:1fr}.outline-panel{display:none}.manuscript{padding:35px 25px}.template-layout{grid-template-columns:1fr}.preview-stage{height:520px}.page{transform:scale(.55)}.save-state{display:none}}@media(max-width:550px){.topbar{padding:0 14px}.brand small{display:none}.panel-head{display:block}.head-actions{margin-top:18px}.dropzone{min-height:290px;padding:20px;text-align:center}.template-card{grid-template-columns:70px 1fr 20px}.two{grid-template-columns:1fr}.page{transform:scale(.48)}.export-bar>span{display:none}.export-bar{justify-content:center}.main-panel{overflow:hidden}}
