:root{font-family:Microsoft YaHei,PingFang SC,system-ui,sans-serif;color:#17251e;background:#edf1ed;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:1180px;min-height:100vh}button,input{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh;background:linear-gradient(145deg,#e9eee9,#f7f8f5)}.topbar{height:68px;display:flex;align-items:center;gap:24px;padding:0 26px;color:#f4fbf7;background:#173f32;box-shadow:0 8px 24px #11302529}.brand{display:flex;align-items:center;gap:12px;min-width:270px}.brand-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;color:#143e30;background:#cce7a7;font-weight:900}.brand strong,.brand small{display:block}.brand small{margin-top:2px;color:#b9d2c5;font-size:12px}.document-meta{display:flex;align-items:center;gap:10px;color:#d9ebe1;font-size:13px}.status-pill{padding:5px 10px;color:#153c2e;background:#d9eebd;border-radius:999px;font-weight:700}.topbar-actions{margin-left:auto;display:flex;align-items:center;gap:10px}.save-state{margin-right:8px;color:#c6d9ce;font-size:12px}.save-state.dirty{color:#ffd58f}.ghost-button,.primary-button{border:0;border-radius:9px;padding:9px 15px;font-weight:700}.ghost-button{color:#e4f2ea;background:#ffffff1a}.primary-button{color:#15382d;background:#cde99f}.workspace{height:calc(100vh - 68px);display:grid;grid-template-columns:280px minmax(640px,1fr) 330px}.document-list,.inspector{min-height:0;background:#f8faf7}.document-list{padding:20px 16px;border-right:1px solid #dce4dc;overflow-y:auto}.inspector{border-left:1px solid #dce4dc;overflow-y:auto}.sidebar-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;font-weight:800}.sidebar-heading button{width:30px;height:30px;border:1px solid #cbd8cb;border-radius:8px;color:#1b6049;background:#fff}.search{display:flex;align-items:center;gap:8px;margin-bottom:14px;padding:9px 11px;border:1px solid #d8e1d7;border-radius:9px;background:#fff}.search input{width:100%;border:0;outline:none;background:transparent}.document-card{width:100%;display:block;margin-bottom:9px;padding:13px;text-align:left;color:#263b32;border:1px solid transparent;border-radius:11px;background:transparent}.document-card:hover,.document-card.active{border-color:#c4d8c3;background:#fff;box-shadow:0 5px 16px #2c47360f}.document-card strong,.document-card span,.document-card em{display:block}.document-card strong{margin-bottom:7px;font-size:13px;line-height:1.5}.document-card span{color:#78847d;font-size:11px}.document-card em{margin-top:8px;color:#1a6a4d;font-size:11px;font-style:normal;font-weight:700}.template-box{margin-top:24px;padding-top:18px;border-top:1px dashed #d6dfd5}.template-box span{display:block;margin-bottom:10px;color:#65756b;font-size:12px;font-weight:700}.template-box button{width:100%;margin-bottom:7px;padding:9px;text-align:left;color:#2f5b48;border:1px solid #d8e3d8;border-radius:8px;background:#fff}.editor-area{display:flex;min-width:0;flex-direction:column;overflow:hidden}.editor-toolbar{height:52px;display:flex;align-items:center;gap:7px;padding:0 22px;border-bottom:1px solid #dce4dc;background:#f5f8f4}.editor-toolbar button{min-width:32px;height:30px;border:1px solid #d6e0d6;border-radius:7px;color:#385347;background:#fff}.toolbar-spacer{flex:1}.editor-toolbar>span:last-child{color:#718078;font-size:12px}.paper{width:min(860px,calc(100% - 64px));min-height:0;margin:24px auto;overflow-y:auto;background:#fff;border:1px solid #dce4dc;border-radius:14px;box-shadow:0 14px 40px #233d2b1a}.document-editor{min-height:760px;padding:56px 70px 30px;outline:none;line-height:1.9;font-size:15px}.document-editor h1{margin:0 0 24px;color:#173e30;font-size:26px;line-height:1.4;text-align:center}.document-editor h2{margin:28px 0 12px;color:#1a4938;font-size:18px}.document-editor p{margin:8px 0;text-align:justify}.document-editor blockquote{margin:18px 0;padding:12px 16px;color:#345d4b;border-left:4px solid #8fbd72;background:#f2f7ee}.document-editor .is-editor-empty:first-child:before{float:left;height:0;color:#a7b1aa;pointer-events:none;content:attr(data-placeholder)}.paper-footer{display:flex;justify-content:space-between;padding:13px 24px;color:#849089;border-top:1px solid #e5ebe5;font-size:11px}.tabs{display:grid;grid-template-columns:repeat(3,1fr);padding:14px;gap:5px;border-bottom:1px solid #dce4dc}.tabs button{padding:8px 4px;color:#748179;border:0;border-radius:7px;background:transparent;font-size:12px}.tabs button.active{color:#174d39;background:#e6f0df;font-weight:800}.panel-list{padding:16px}.panel-list article{margin-bottom:12px}.data-source{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:13px;padding:11px 12px;border:1px solid #d3dfd4;border-radius:9px;background:#f1f6ee}.data-source.demo,.data-source.demo-empty{border-color:#ead9ae;background:#fff7e4}.data-source strong,.data-source small{display:block}.data-source strong{color:#315c47;font-size:12px}.data-source.demo strong,.data-source.demo-empty strong{color:#7b5b1f}.data-source small{margin-top:4px;max-width:220px;color:#718078;font-size:10px;line-height:1.5}.data-source button{flex:0 0 auto;padding:5px 8px;color:#315c47;border:1px solid #bfd0bf;border-radius:6px;background:#fff;font-size:10px}.data-source button:disabled{cursor:wait;opacity:.5}.citation-card{padding:13px;border:1px solid #dfe6de;border-radius:10px;background:#fff}.citation-card strong,.citation-card span{display:block}.citation-card strong{color:#213e31;font-size:13px}.citation-card span{margin-top:3px;color:#76827b;font-size:11px}.citation-card p{margin:10px 0;color:#516159;font-size:12px;line-height:1.7}.citation-card button{width:100%;padding:7px;color:#285c45;border:1px solid #bfd2bf;border-radius:7px;background:#f4f9f1;font-weight:700}.check-summary{display:flex;justify-content:space-between;margin-bottom:14px;color:#1f4737;font-size:13px}.check-summary span{color:#6b786f;font-size:11px}.check-row,.review-row{display:flex;gap:10px;padding:11px;border:1px solid #dfe7df;border-radius:9px;background:#fff}.check-row>span,.review-row>span{width:22px;height:22px;display:grid;place-items:center;flex:0 0 auto;color:#fff;border-radius:50%;background:#4a956a;font-size:12px;font-weight:900}.check-row.pending>span{color:#805514;background:#ffe1a1}.check-row strong,.check-row small,.review-row strong,.review-row small{display:block}.check-row strong,.review-row strong{font-size:12px}.check-row small,.review-row small{margin-top:4px;color:#7a8680;font-size:11px}.review-row.muted{opacity:.58}.review-row>span{color:#4e6658;background:#e3ebe2}.notice{margin-top:18px;padding:13px;color:#55665b;border:1px dashed #cbd9c8;border-radius:9px;background:#f0f6ec;font-size:11px;line-height:1.7}.notice p{margin:6px 0 0}
