@charset "UTF-8";
:root{--ink:#203a32;--ink-deep:#18362c;--green:#286052;--green-soft:#edf3ed;--text:#27352e;--muted:#8a938c;--line:#e5e9e2;--canvas:#f5f6f1;--paper:#fff;--serif:"Songti SC","STSong","Noto Serif CJK SC",serif;--sans:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;--accent:#286052;--accent-soft:#edf3ed;--article-size:17px;--article-line:2}
*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--text);font:14px/1.6 var(--sans);-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit;color:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{border:0;background:none}button:disabled{cursor:not-allowed;opacity:.4}a{color:var(--green)}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #96b5a6;outline-offset:3px}input:focus,textarea:focus{outline:0;border-color:#7b9d88;box-shadow:0 0 0 3px #2860520b}svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button svg{width:16px;height:16px}.icon-library{position:absolute;width:0;height:0;overflow:hidden}button,.field,select{transition:background .16s,border-color .16s,color .16s,box-shadow .16s}button:hover{color:var(--green)}[hidden]{display:none!important}
.rail{position:fixed;inset:0 auto 0 0;width:72px;background:#fdfefb;border-right:1px solid var(--line);z-index:20;display:flex;flex-direction:column;align-items:center;padding:27px 0 20px}.brand-symbol{position:relative;width:37px;height:37px;background:var(--ink);color:white;border-radius:12px 3px 12px 3px;text-decoration:none;display:grid;place-items:center;box-shadow:0 4px 12px #203a3212}.brand-symbol span{font:24px var(--serif);padding-bottom:2px}.brand-symbol i{position:absolute;right:-3px;top:-3px;width:7px;height:7px;background:#b9c991;border-radius:50%;border:2px solid white}.rail-tools{display:flex;flex-direction:column;gap:15px;margin-top:48px}.rail-button{width:42px;height:42px;color:#99a29a;border-radius:12px;display:grid;place-items:center}.rail-button svg{width:20px;height:20px}.rail-button.active,.rail-button:hover{background:#eaf1e9;color:var(--ink)}.rail-button.active{position:relative}.rail-button.active:before{content:"";position:absolute;left:-15px;top:14px;width:3px;height:14px;background:#315e49;border-radius:3px}.rail-divider{width:20px;height:1px;background:var(--line);margin:3px auto}.rail-bottom{margin-top:auto;display:flex;align-items:center;flex-direction:column;gap:20px}.avatar{width:32px;height:32px;background:#e4e9df;border:3px solid white;border-radius:50%;box-shadow:0 0 0 1px var(--line);font-size:11px;font-weight:600;color:#617960}.app-shell{margin-left:72px;min-height:100vh}.topbar{min-height:83px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 34px;background:#fbfcf8}.brand-wordmark{display:flex;align-items:center;gap:14px;white-space:nowrap}.brand-wordmark b{font:600 24px var(--serif);letter-spacing:3px;color:var(--ink)}.brand-wordmark>span:not(.brand-line):not(.edition){font-size:12px;letter-spacing:1px;color:#69786c}.brand-line{height:15px;width:1px;background:#d7ddd3}.brand-wordmark .edition{margin-left:0;font-size:9px;letter-spacing:1.6px;color:#99a18f;border:1px solid #dfe5d8;padding:2px 7px;border-radius:3px}.top-actions{display:flex;gap:12px;align-items:center}.connection-pill{display:flex;gap:7px;align-items:center;font-size:11px;color:#848e82;white-space:nowrap}.connection-pill svg{width:11px;height:11px;color:#9da399}.status-dot{width:6px;height:6px;background:#c79852;border-radius:50%}.action-divider{height:18px;width:1px;background:var(--line);margin:0 2px}.button{display:inline-flex;gap:8px;align-items:center;justify-content:center;line-height:1.4;border-radius:7px;padding:11px 15px;font-size:12px;font-weight:500;white-space:nowrap;min-height:38px}.button.primary{background:var(--ink);border:1px solid var(--ink);color:#fff;box-shadow:0 3px 5px #203a3208}.button.primary:hover{background:#2b5142;box-shadow:0 3px 9px #203a3220}.button.secondary{background:#fff;border:1px solid #dce3d8;color:#4a5c4e}.button.secondary:hover{border-color:#aabda9;background:#fafcf8}.button.ghost{color:#70806f;border:1px solid transparent}.button.ghost:hover{background:#edf1e9}.button.small{padding:8px 11px;min-height:32px;font-size:11px}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0;color:#7a897c;font-size:11px;white-space:nowrap}.text-button svg{width:13px;height:13px}.icon-button{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:5px;color:#a4ada3}.icon-button:hover{background:var(--green-soft);color:var(--green)}
.workspace-heading{display:flex;align-items:center;justify-content:space-between;padding:28px 34px 25px;gap:20px}.eyebrow{font-size:8px;font-weight:600;letter-spacing:2.1px;color:#9ca98e;margin-bottom:5px}.workspace-heading h1{margin:0;color:var(--ink);font:500 27px/1.5 var(--serif);letter-spacing:1.5px}.heading-dot{color:#9aa76a}.workspace-heading p{font-size:11px;color:#9aa18e;letter-spacing:.7px;margin:6px 0 0}.workspace-meta{text-align:right;align-self:end;margin-bottom:3px}.local-badge{font-size:10px;color:#809079;display:inline-flex;gap:5px;align-items:center}.local-badge svg{width:12px;height:12px}.workspace-meta p{font-size:10px;color:#adb3a6;letter-spacing:.2px}.workspace-grid{display:grid;grid-template-columns:268px minmax(380px,1fr) 348px;gap:20px;align-items:start;padding:0 28px 0 34px;max-width:1760px;margin:auto}.panel{background:var(--paper);border:1px solid var(--line);border-radius:11px;box-shadow:0 3px 4px #203a3202}.panel-heading{display:flex;align-items:center;padding:20px 18px 17px;gap:8px;border-bottom:1px solid #f0f2ed}.panel-heading h2{font-size:13px;font-weight:600;letter-spacing:.3px;margin:0}.section-icon{color:#6b8466;display:grid;place-items:center}.section-icon svg{width:16px;height:16px}.step-number{margin-left:auto;font:11px Georgia,serif;color:#b5bfae}.brief-form{padding:18px}.field-label{display:block;font-size:11px;font-weight:600;letter-spacing:.3px;margin:0 0 8px;color:#5c6b5c}.field-label span:not(.required):not(.auto-tag){font-size:9px;color:#a5ad9f;font-weight:400;letter-spacing:0}.required{color:#92a46e;font-size:11px}.field{width:100%;background:#fafbf8;border:1px solid #e6eae2;border-radius:6px;font-size:11px;padding:10px 11px;line-height:1.7;resize:vertical;color:#50604f;min-width:0}textarea.field::placeholder,input.field::placeholder{color:#b0b6a7;font-size:11px;line-height:1.9}.topic-field{min-height:102px;font-size:12px;line-height:1.85;resize:vertical}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}.field-row .field{padding:9px 8px;height:36px;font-size:10px}.field-row .field-label{font-size:10px;white-space:nowrap}.field-row input::placeholder{font-size:10px}.with-note{display:flex;justify-content:space-between;align-items:center}.references-field{min-height:80px}.field-hint{font-size:9px;color:#a5ad9f;margin:7px 0 0;line-height:1.8}.form-separator{height:1px;background:#edf0e8;margin:19px 0}.upload-zone{border:1px dashed #ccd8c4;border-radius:7px;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-height:122px;background:#fcfdf9;padding:14px 8px;color:#76866c}.upload-zone:hover,.upload-zone.dragover,.upload-zone.is-dragover{background:#f1f6eb;border-color:#8ba87c}.upload-icon{display:block;position:relative;margin:2px 0 9px}.upload-icon svg{width:27px;height:27px;stroke-width:1.3;color:#9aaa8a}.upload-plus{position:absolute;right:-3px;bottom:-3px;background:#fcfdf9;border-radius:50%;border:1px solid #b7c5a8;width:12px;height:12px;font-size:10px;line-height:9px;text-align:center}.upload-zone b{font-size:10px;font-weight:500}.upload-zone>span:last-child{font-size:8px;color:#abb69f;margin-top:5px}.image-hint{font-size:9px;line-height:1.8}.auto-tag{background:#eff3e9;padding:1px 5px;border-radius:3px;color:#94a17d;font-size:8px;font-weight:400}.color-setting{display:flex;align-items:center;gap:7px;padding:8px 9px;background:#fafbf7;border:1px solid #e5e9df;border-radius:6px;height:38px}.color-setting select{border:0;background:transparent;font-size:11px;flex:1;min-width:0;outline:0}.color-orbit{display:flex;padding-left:3px}.color-orbit i{width:13px;height:13px;background:#2f5b4a;border:1.5px solid #fafbf7;border-radius:50%;margin-left:-3px}.color-orbit i:nth-child(2){background:#adba8d}.color-orbit i:nth-child(3){background:#ddc59f}#brand-color{width:23px;height:23px;padding:0;background:none;border:0;cursor:pointer;border-radius:50%}#brand-color::-webkit-color-swatch-wrapper{padding:2px}#brand-color::-webkit-color-swatch{border:1px solid #e0e4d8;border-radius:50%}.brief-footer{padding:17px 18px 14px;border-top:1px solid #edf0e8;background:#fdfefa;border-radius:0 0 11px 11px}.start-button{width:100%;min-height:42px;font-size:12px;letter-spacing:.7px}.start-button svg:last-child{margin-left:auto}.start-button svg:first-child{margin-right:auto;width:14px}.offline-note{display:flex;gap:4px;align-items:center;justify-content:center;font-size:8px;color:#a3ac99;margin-top:8px;letter-spacing:.2px}.offline-note i{width:4px;height:4px;background:#bdc7aa;border-radius:50%}.quiet-note{display:flex;gap:10px;padding:20px 10px;color:#a5af98}.quiet-note svg{width:16px;height:16px;margin-top:3px}.quiet-note p{font:12px/1.8 var(--serif);margin:0}.quiet-note span{font:9px var(--sans);color:#b3b9a7}
.editor-panel{min-width:0;overflow:hidden}.editor-tabs{display:flex;align-items:center;padding:0 20px;height:54px;gap:24px;border-bottom:1px solid var(--line);white-space:nowrap;overflow-x:auto;scrollbar-width:none}.editor-tabs button{position:relative;font-size:11px;color:#9ca595;display:inline-flex;align-items:center;justify-content:center;padding:17px 0;gap:6px;height:54px}.editor-tabs button svg{width:13px;height:13px}.editor-tabs button.active{color:var(--ink);font-weight:600}.editor-tabs button.active:after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:#426b4d}.tab-count{font-size:8px;background:#f0f2ed;min-width:14px;border-radius:3px;color:#96a08b;text-align:center;padding:0 2px;font-weight:400}.document-meta{display:flex;gap:8px;align-items:center;padding:17px 24px 0;font-size:9px;min-height:37px}.document-badge{color:#859570;background:#f1f4eb;border:1px solid #e5ebd8;border-radius:3px;padding:1px 6px;font-size:8px}.save-status{font-size:8px;color:#b0b8a7;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.import-button{margin-left:auto;font-size:9px;color:#9ca693}.import-button svg{width:11px;height:11px}.article-title-area{padding:22px 30px 16px}.title-label-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px}.title-label-row label{font-size:9px;color:#b0b6a8;letter-spacing:1px}.title-label-row .icon-button{width:22px;height:22px}.title-label-row svg{width:12px;height:12px}#title-input{display:block;width:100%;resize:none;font:600 25px/1.5 var(--serif);background:none;color:var(--ink);border:0;min-height:78px;outline:0;letter-spacing:.2px;padding:0}#title-input::placeholder{color:#cbd0c0;font-weight:400}#title-input:focus{box-shadow:none}.title-baseline{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:8px;color:#b5bbac;margin-top:12px}.format-toolbar{display:flex;align-items:center;background:#fafbf8;border-top:1px solid #f1f3ec;border-bottom:1px solid #eaf0e5;padding:8px 19px;gap:7px;min-height:43px}.format-group{display:flex;align-items:center;gap:2px}.format-toolbar button{padding:3px 6px;border-radius:4px;font-size:10px;color:#8c9983;line-height:1.2;height:25px;min-width:24px}.format-toolbar button:hover{color:var(--green);background:#edf2e9}.format-toolbar b{font:600 14px Georgia,serif}.format-toolbar em{font:italic 15px Georgia,serif}.format-toolbar .serif-tool{font:600 13px Georgia,serif}.quote-tool{font:24px Georgia,serif;line-height:25px}.clear-tool{font:13px Georgia,serif}.format-toolbar>i{height:14px;width:1px;background:#e1e7db;margin:0 5px}.toolbar-spacer{flex:1}.format-toolbar select{border:0;background:transparent;font-size:9px;color:#9daa91;padding:0 1px;max-width:65px}.paper-editor{position:relative;min-height:476px;max-height:640px;overflow-y:auto;background:linear-gradient(90deg,#fcfdfb 0,#fcfdfb 38px,#fff 38px);scrollbar-width:thin;scrollbar-color:#dde4d6 transparent}.paper-gutter{position:absolute;top:30px;bottom:26px;left:12px;display:flex;align-items:center;flex-direction:column;gap:13px;width:14px;color:#d3dcc6}.paper-gutter span{font-size:12px}.paper-gutter i{width:1px;flex:1;background:#eef1e8}.article-content{color:#3d4941;font:var(--article-size)/var(--article-line) var(--sans);overflow-wrap:anywhere;word-break:normal}.article-content p{margin:0 0 1.1em}.article-content h2{font-size:1.22em;font-weight:600;color:var(--accent);line-height:1.5;border-left:3px solid var(--accent);padding:0 0 0 12px;margin:1.7em 0 .8em}.article-content h3{font-size:1.05em;line-height:1.6;color:var(--accent);margin:1.4em 0 .7em}.article-content strong{color:var(--accent);font-weight:600}.article-content em{font-style:italic}.article-content blockquote{margin:1.3em 0;padding:14px 16px;background:var(--accent-soft);border-left:2px solid var(--accent);font-size:.94em;color:#687967}.article-content blockquote p:last-child{margin-bottom:0}.article-content a{color:var(--accent);text-decoration:none}.article-content ul,.article-content ol{padding-left:22px;margin:1em 0}.article-content li{margin:.5em 0}.article-content img{max-width:100%;height:auto;display:block;margin:20px auto;border-radius:3px}.article-content figure{margin:1.3em 0}.article-content figcaption{font-size:11px;color:#9aa38f;text-align:center}.article-content table{width:100%;border-collapse:collapse;font-size:.8em;margin:1.3em 0;table-layout:fixed}.article-content th{background:var(--accent);color:white;font-weight:500}.article-content th,.article-content td{padding:9px 7px;border:1px solid #e0e8db;overflow-wrap:anywhere;word-break:break-word}.article-content hr{border:0;border-top:1px solid #dde6d5;margin:1.7em 0}.article-content sup[data-source],.article-content a[data-source],.article-content .wewrite-source{font-size:10px;color:#97a789}#article-editor{padding:30px 30px 60px 63px;min-height:476px;outline:0;font-size:15px}#article-editor:empty:before{content:attr(data-placeholder);display:block;white-space:pre-line;font:13px/2.2 var(--sans);color:#bbc3b1;pointer-events:none;max-width:330px}#article-editor:focus:empty:before{color:#cbd0c1}.editor-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #f1f4ec;padding:10px 18px 10px 23px;gap:10px;font-size:8px;color:#adb5a3;min-height:36px}.editor-bottom>div{display:flex;align-items:center;gap:9px;white-space:nowrap}.tiny-dot{width:4px;height:4px;background:#a9bc96;border-radius:50%}.bottom-divider{width:1px;height:9px;background:#e0e6d9}.editor-bottom b{font-weight:400}.editor-bottom .text-button{font-size:8px;gap:4px}.editor-bottom .text-button svg{width:11px;height:11px}.document-actions{display:flex;align-items:center;gap:5px;padding:14px 18px;background:#fcfdf9;border-top:1px solid #e8ede1;min-height:67px}.document-actions .button{font-size:10px;padding:10px 12px;min-height:35px}.document-actions .button svg{width:13px;height:13px}
.preview-panel{padding:1px 0 0;min-width:0}.preview-heading{display:flex;align-items:center;justify-content:space-between;margin:0 4px 14px;min-height:22px}.preview-heading>div{display:flex;align-items:center;gap:7px}.preview-heading svg{width:13px;height:13px;color:#92a07e}.preview-heading h2{font-size:11px;color:#7c8a72;font-weight:500;margin:0}.live-indicator{font-size:8px;color:#90a37e;display:flex;align-items:center;gap:4px}.live-indicator i{width:4px;height:4px;background:#95b881;border-radius:50%}.phone-frame{--phone-width:390px;width:min(100%,var(--phone-width));margin:0 auto;position:relative;background:white;border:1px solid #dce3d3;border-radius:29px;box-shadow:0 7px 22px #42573808,0 0 0 4px #fafbf740;padding:0 6px 13px;overflow:hidden}.phone-status{height:35px;display:flex;align-items:center;justify-content:space-between;padding:0 17px;font-size:10px;font-weight:600;color:#3c4d3f;position:relative}.phone-island{height:17px;width:67px;position:absolute;top:6px;left:50%;transform:translateX(-50%);background:#28362b;border-radius:18px}.phone-signals{font-size:7px;letter-spacing:-1px}.phone-signals span{font-size:11px;margin-left:3px;letter-spacing:0}.phone-navigation{height:32px;display:flex;align-items:center;justify-content:space-between;padding:0 15px;border-bottom:1px solid #f4f6ef}.phone-navigation>span:first-child{font-size:24px;line-height:1;font-weight:300;color:#6a7c62}.phone-navigation b{font-size:9px;font-weight:500;color:#7a8c70}.phone-navigation>span:last-child{font-size:20px;letter-spacing:2px;line-height:1;color:#6a7c62}.phone-scroll{height:560px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#e0e6d8 transparent}.phone-article{padding:24px 21px 10px}.phone-article>h1{font-size:21px;line-height:1.5;letter-spacing:.2px;color:#2b3b2e;font-weight:600;margin:0 0 13px;overflow-wrap:anywhere}.phone-byline{display:flex;gap:8px;font-size:8px;color:#c0c8b6;margin:0 0 25px}.phone-byline span:first-child{color:#96a485}#phone-body{font-size:calc(var(--article-size) - 2px);line-height:var(--article-line)}#phone-body .empty-state{text-align:center;margin:50px 0 100px}#phone-body .empty-state h3{font:19px/1.6 var(--serif);color:#b5bfa8;border:0;padding:0;letter-spacing:2px}#phone-body .empty-state p{font-size:10px;color:#bcc4b1;line-height:2}#phone-cover img{width:100%;height:auto;max-height:190px;object-fit:cover;border-radius:4px;margin:0 0 22px}.phone-reading-end{display:flex;align-items:center;justify-content:center;gap:11px;padding:20px 16px 35px}.phone-reading-end span{height:1px;width:25px;background:#e9eddf}.phone-reading-end i{font:9px var(--serif);letter-spacing:1px;color:#c7cfbb}.phone-home{position:absolute;bottom:6px;left:50%;transform:translateX(-50%);width:85px;height:3px;border-radius:5px;background:#bdc9b4}.preview-options{margin:14px 9px 0;display:flex;align-items:center;justify-content:space-between;font-size:8px;color:#acb49f}.preview-options select{border:1px solid #e1e7d7;background:#f9faf5;border-radius:4px;padding:3px 6px;font-size:8px;color:#9eaa8c}.copy-explainer{display:flex;align-items:flex-start;gap:7px;padding:19px 9px 0}.copy-check{background:#e8efdf;color:#91a37d;border-radius:50%;width:15px;height:15px;display:grid;place-items:center;margin-top:2px}.copy-check svg{width:9px;height:9px}.copy-explainer p{margin:0}.copy-explainer b{display:block;font-size:9px;color:#839775;font-weight:500;margin:0 0 3px}.copy-explainer p>span{font-size:8px;color:#b2bca3}.preview-help{font-size:8px;color:#b3bca7;display:flex;gap:3px;margin:13px 0 0 31px}.preview-help svg{width:8px;height:8px}.workspace-footer{max-width:1760px;margin:23px auto 0;padding:0 32px 19px;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:8px;color:#bac2ad;letter-spacing:.3px}.workspace-footer>span:first-child{display:flex;align-items:center;gap:5px}.workspace-footer i{display:block;width:4px;height:4px;background:#b1c19b;border-radius:50%}.footer-divider{color:#d8dece;margin:0 3px}
.info-view{min-height:698px;padding:29px 27px}.info-kicker{font-size:8px;letter-spacing:1.5px;color:#a5b193}.info-view-heading h2{font:22px/1.6 var(--serif);color:#39593d;margin:8px 0 10px}.info-view-heading p{font-size:11px;color:#9ba68f;line-height:1.9;max-width:440px}.view-toolbar{display:flex;align-items:center;justify-content:space-between;margin:28px 0 14px;gap:14px;font-size:11px;color:#75866c}.info-footnote{display:flex;gap:6px;align-items:flex-start;font-size:9px;color:#a6b397;border-top:1px solid #eaf0e2;padding-top:16px;margin-top:24px}.info-footnote svg{width:12px;height:12px;flex-shrink:0}.empty-state{padding:35px 15px;color:#b1bba6;text-align:center;font-size:11px;border:1px dashed #e3eadb;border-radius:8px;margin:12px 0}.empty-state h3{font-size:13px;color:#9daa8f;font-weight:500}.empty-state p{font-size:10px;line-height:1.9;color:#afbaa4}.empty-icon{font-size:25px;color:#bfccb1;margin-bottom:8px}.review-boundary{display:flex;gap:10px;padding:15px 16px;background:#f6f8f1;border:1px solid #e7edde;border-radius:7px;margin-top:25px}.review-boundary>svg{color:#9ba888;width:18px;height:18px}.review-boundary b{font-size:11px;color:#849477;font-weight:500}.review-boundary p{font-size:10px;color:#acb69f;line-height:1.9;margin:5px 0 0}.source-card{display:flex;gap:10px;padding:16px 0;border-top:1px solid #edf1e6;align-items:flex-start}.source-number{width:23px;height:23px;display:grid;place-items:center;background:#eff3e8;border-radius:6px;color:#8b9b7b;font:11px Georgia;flex-shrink:0}.source-meta{min-width:0;flex:1}.source-meta h3,.source-meta b{font-size:12px;font-weight:500;color:#59704e;margin:0 0 5px}.source-meta p{font-size:10px;line-height:1.8;color:#9fab92;margin:5px 0}.source-url{display:block;max-width:100%;word-break:break-all;font-size:9px;color:#9daa8e}.source-status{display:inline-block;padding:1px 5px;font-size:8px;background:#f6f2e7;color:#ad9a6b;border-radius:3px}.source-actions{display:flex;gap:5px}.source-actions button{font-size:9px;color:#9aa98a;padding:3px 0}.review-item{display:flex;gap:10px;align-items:flex-start;border-bottom:1px solid #eaf0e2;padding:17px 0}.review-symbol{font-size:11px;display:grid;place-items:center;flex-shrink:0;border-radius:50%;width:20px;height:20px;background:#eef3e7;color:#859c71}.review-item[data-result=warn] .review-symbol{background:#faf3e5;color:#b99b5e}.review-item[data-result=pending] .review-symbol{background:#f0f2ec;color:#adb69d}.review-copy{flex:1}.review-copy b,.review-copy h3{font-size:12px;font-weight:500;color:#728365;margin:0}.review-copy p{font-size:10px;color:#a8b199;line-height:1.9;margin:4px 0 0}.stage-list{margin-top:29px}.stage-item{display:flex;gap:12px;align-items:flex-start;position:relative;padding:0 0 24px}.stage-item:not(:last-child):before{content:"";position:absolute;top:27px;bottom:3px;left:13px;border-left:1px dashed #dde6d1}.stage-index{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;border:1px solid #e1e8d8;background:#f8faf4;color:#a7b495;font-size:9px;z-index:1}.stage-item[data-state=ready] .stage-index,.stage-item[data-state=local] .stage-index{background:#e7efdc;border-color:#e1e8d6;color:#76915e}.stage-copy{flex:1}.stage-copy b,.stage-copy h3{font-size:11px;font-weight:500;color:#829174;margin:1px 0 0}.stage-copy p{font-size:9px;line-height:1.9;color:#b1bba4;margin:3px 0}.stage-status{font-size:8px;color:#b0baa2;padding-top:2px;white-space:nowrap}.stage-item[data-state=local] .stage-status{color:#819569}.artifact-heading{border-top:1px solid #e7eddf;padding-top:23px;margin-top:5px}.artifact-list{display:grid;gap:9px}.artifact-card{padding:12px 14px;border:1px solid #e3ebd8;background:#fcfdf9;border-radius:6px;font-size:10px;color:#8e9f7c}.artifact-card p{margin:4px 0 0;font-size:9px;color:#b0bba2}.artifact-card b{font-weight:500;color:#778e62}.image-list{display:grid;gap:8px;margin-top:10px}.image-card{display:flex;gap:8px;flex-wrap:wrap;align-items:center;border:1px solid #e3ebd8;padding:7px;border-radius:6px;background:#fbfcf8}.image-card>img{width:41px;height:41px;object-fit:cover;border-radius:3px}.image-info{flex:1;min-width:90px}.image-info b,.image-info strong,.image-info span{display:block;font-size:9px;font-weight:400;color:#889d78;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:150px}.image-info p,.image-info small{font-size:8px;margin:2px 0;color:#b2bea6}.image-actions{display:flex;align-items:center;gap:6px;width:100%;flex-wrap:wrap}.image-card select{max-width:95px;border:1px solid #dfe8d4;border-radius:3px;background:#fff;font-size:8px;padding:3px;color:#8b9f77}.image-actions button{font-size:8px;color:#8ca079;padding:3px}.image-card input{max-width:100%;border:1px solid #e3e9da;border-radius:3px;font-size:9px;padding:3px}.mobile-tabs{display:none}
dialog{padding:0;width:min(570px,calc(100% - 32px));max-height:85vh;overflow:auto;border:1px solid #dce5d1;box-shadow:0 25px 90px #18362c30;border-radius:15px;color:#4a6144;background:#fff;font-size:12px}dialog::backdrop{background:#223c2f44;backdrop-filter:blur(4px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;padding:21px 23px 14px;border-bottom:1px solid #edf1e5}.dialog-heading h2{font:22px var(--serif);margin:0;color:#345831}#dialog-content{padding:18px 23px;line-height:1.9;font-size:12px;color:#819474}#dialog-content p{margin:0 0 12px}#dialog-content h3{font-size:13px;color:#58704c;font-weight:500;margin:19px 0 9px}#dialog-content label{display:block;font-size:11px;color:#7c926e;margin:12px 0 5px}#dialog-content input:not([type=checkbox]),#dialog-content textarea,#dialog-content select{display:block;width:100%;border:1px solid #dfe8d4;background:#fafcf6;border-radius:5px;padding:9px 10px;font-size:12px;margin:5px 0;box-sizing:border-box}#dialog-content textarea{min-height:90px;resize:vertical}#dialog-content a{word-break:break-all}#dialog-content .dialog-note{padding:13px 14px;background:#f6f8ef;border:1px solid #e7eeda;border-radius:6px;font-size:11px;color:#94a482;margin:12px 0}#dialog-content .code-block{white-space:pre-wrap;word-break:break-all;max-height:220px;overflow:auto;background:#f4f7ee;border:1px solid #e1ead3;border-radius:5px;padding:13px;font:10px/1.9 ui-monospace,monospace;color:#7d946b}#dialog-actions{display:flex;justify-content:flex-end;gap:9px;padding:15px 23px;background:#fafcf6;border-top:1px solid #e8efdd;flex-wrap:wrap}#dialog-actions button{font-size:11px;border:1px solid #d5e1c7;border-radius:6px;padding:9px 14px;color:#7e946c;background:#fff}#dialog-actions button.primary{background:var(--ink);color:#fff;border-color:var(--ink)}.connection-grid{display:grid;gap:2px;margin:8px 0 17px}.connection-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:11px 0;border-bottom:1px solid #e8efdd;font-size:11px}.connection-row>span:last-child{font-size:10px;color:#a8b597}.task-summary{padding:15px;background:#f6f9ef;border:1px solid #e0ead2;border-radius:6px;font-size:11px}.version-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 0;border-bottom:1px solid #e6eedb}.version-info{min-width:0}.version-info b,.version-info strong{display:block;font-size:12px;font-weight:500;color:#789064}.version-info p,.version-info small{display:block;font-size:9px;color:#a7b697;margin:4px 0}.version-actions{display:flex;gap:4px}.version-actions button{font-size:10px;border:1px solid #d9e4cc;border-radius:4px;padding:6px 8px;color:#92a77e}.version-actions button:hover{background:#f1f6e8}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,12px);z-index:100;background:#284735;color:#f0f7e7;border:1px solid #68815c;border-radius:8px;box-shadow:0 7px 25px #18362c22;font-size:12px;padding:11px 20px;max-width:calc(100% - 32px);opacity:0;pointer-events:none;transition:opacity .18s,transform .18s}#toast.show,#toast.visible,#toast.is-visible{opacity:1;transform:translate(-50%,0)}.no-script{position:fixed;inset:0;z-index:100;background:#fff;display:grid;place-items:center}
@media(min-width:1600px){.workspace-grid{grid-template-columns:294px minmax(440px,1fr) 390px;gap:26px;padding-left:40px;padding-right:40px}.brief-form{padding:20px}.phone-scroll{height:610px}.paper-editor,#article-editor{min-height:526px}.editor-tabs{gap:30px}.workspace-heading{max-width:1760px;margin:auto;padding-left:40px;padding-right:40px}.topbar{padding-left:40px;padding-right:40px}.article-title-area{padding-left:38px;padding-right:38px}#article-editor{padding-left:70px;padding-right:38px}.paper-editor{max-height:690px}}
@media(max-width:1390px){.workspace-grid{grid-template-columns:245px minmax(340px,1fr) 306px;gap:16px;padding-left:25px;padding-right:22px}.workspace-heading{padding-left:25px;padding-right:25px}.topbar{padding-left:25px;padding-right:25px}.brand-wordmark .edition{display:none}.editor-tabs{gap:20px;padding:0 16px}.editor-tabs button{font-size:10px}.article-title-area{padding-left:25px;padding-right:25px}.document-meta{padding-left:20px;padding-right:20px}.save-status{max-width:96px}.phone-scroll{height:556px}.phone-article{padding:22px 17px 10px}.phone-article>h1{font-size:20px}.phone-island{width:60px}.brief-form{padding:16px}.panel-heading{padding-left:15px;padding-right:15px}.panel-heading h2{font-size:12px}.brief-footer{padding-left:16px;padding-right:16px}.format-toolbar{padding-left:14px;padding-right:14px;gap:3px}.format-toolbar button{padding-left:4px;padding-right:4px}#article-editor{padding-right:24px;padding-left:53px}.document-actions{padding-left:14px;padding-right:14px;gap:1px}.document-actions .button{padding-left:9px;padding-right:9px}.workspace-grid .editor-bottom{padding-left:17px;gap:6px}.editor-bottom>div{gap:6px}.editor-bottom .bottom-divider{display:none}.quiet-note{padding-left:8px}.brand-wordmark{gap:11px}}
@media(max-width:1190px){.workspace-grid{grid-template-columns:250px minmax(360px,1fr);gap:22px;padding:0 28px}.workspace-heading{padding-left:28px;padding-right:28px}.preview-panel{display:none;max-width:440px;width:100%;margin:0 auto}.workspace-grid[data-mobile-view=preview] .editor-panel{display:none}.workspace-grid[data-mobile-view=preview] .preview-panel{display:block}.mobile-tabs{display:flex;gap:6px;padding:0 28px;margin-bottom:16px}.mobile-tabs button{border-radius:5px;font-size:11px;padding:7px 13px;color:#98a788}.mobile-tabs button.active{background:#e5eddb;color:#637e50}.mobile-tabs button[data-mobile-panel=requirements]{display:none}.workspace-meta p{display:none}.workspace-meta{margin-bottom:10px}.top-actions{gap:7px}.topbar{padding-left:28px;padding-right:24px}.paper-editor,#article-editor{min-height:492px}.phone-scroll{height:548px}.info-view{min-height:710px}.workspace-grid[data-mobile-view=requirements] .requirements-panel{display:block}.workspace-heading h1{font-size:25px}.editor-tabs{gap:26px}.document-actions .button{padding-left:13px;padding-right:13px;font-size:11px}.format-toolbar{gap:6px}.format-toolbar button{padding-left:7px;padding-right:7px}}
@media(max-width:900px){.rail{width:57px;padding-top:20px}.app-shell{margin-left:57px}.brand-symbol{width:32px;height:32px;border-radius:10px 3px}.brand-symbol span{font-size:21px}.rail-button{width:37px;height:37px}.rail-tools{margin-top:35px;gap:12px}.rail-button.active:before{left:-10px}.topbar{min-height:70px;padding:0 22px;gap:10px}.brand-wordmark b{font-size:22px}.brand-wordmark>span:not(.brand-line):not(.edition){font-size:10px}.top-actions .action-divider{display:none}.top-actions .button span{display:none}.top-actions .button{width:32px;min-height:32px;padding:7px}.top-actions .button svg{width:14px;height:14px}.connection-pill{font-size:9px;margin-right:2px}.workspace-heading{padding:24px 23px 21px}.workspace-heading h1{font-size:25px}.workspace-meta{display:none}.workspace-grid{display:block;padding:0 23px}.requirements-panel,.editor-panel,.preview-panel{display:none}.workspace-grid[data-mobile-view=editor] .editor-panel{display:block}.workspace-grid[data-mobile-view=requirements] .requirements-panel{display:block}.workspace-grid[data-mobile-view=preview] .preview-panel{display:block}.requirements-panel{max-width:500px;margin:auto}.editor-panel{max-width:780px;margin:auto}.brief-form{padding:23px}.brief-footer{padding:20px 23px}.panel-heading{padding:20px 23px}.field{font-size:13px}.field-row .field{font-size:12px;height:42px;padding:10px}.field-label{font-size:12px}.field-row .field-label{font-size:11px}.field-hint{font-size:10px}.topic-field{min-height:110px}.upload-zone{min-height:130px}.mobile-tabs{padding:0 23px;gap:5px}.mobile-tabs button[data-mobile-panel=requirements]{display:block}.mobile-tabs button{font-size:11px;flex:1;max-width:190px;padding:8px}.phone-frame{width:min(100%,var(--phone-width))}.phone-article{padding-left:22px;padding-right:22px}.phone-scroll{height:575px}.phone-article>h1{font-size:23px}#phone-body{font-size:var(--article-size)}.preview-heading{margin-bottom:15px}.preview-options{font-size:10px}.preview-options select{font-size:10px}.copy-explainer p>span{font-size:9px}.copy-explainer b{font-size:10px}.preview-help{font-size:9px}.workspace-footer{padding:0 25px 18px}.workspace-footer>span:last-child{display:none}.quiet-note{padding:20px 10px}.image-info span,.image-info b{max-width:280px}}
@media(max-width:540px){.rail{display:none}.app-shell{margin-left:0}.topbar{padding:0 17px;min-height:65px}.brand-wordmark{gap:8px}.brand-wordmark b{font-size:23px;letter-spacing:1px}.brand-wordmark>span:not(.brand-line):not(.edition){font-size:9px;letter-spacing:.3px}.brand-line{height:13px}.top-actions{gap:6px}.connection-pill{gap:4px}.connection-pill svg{display:none}.top-actions .button{width:27px;min-height:29px;padding:6px}.top-actions .button.ghost{display:none}.workspace-heading{padding:23px 19px 21px}.eyebrow{font-size:7px;letter-spacing:1.7px}.workspace-heading h1{font-size:25px;letter-spacing:.5px}.workspace-heading p{font-size:10px;margin-top:4px}.workspace-grid{padding:0 13px}.mobile-tabs{padding:0 14px;margin-bottom:14px}.mobile-tabs button{font-size:10px;padding:8px}.editor-tabs{padding:0 14px;gap:23px;height:49px}.editor-tabs button{font-size:10px;height:49px;padding:15px 0;gap:4px}.editor-tabs button svg{width:11px}.document-meta{padding:16px 17px 0;gap:6px}.document-badge{font-size:8px}.save-status{max-width:80px;font-size:7px}.import-button{font-size:8px;gap:4px}.article-title-area{padding:19px 21px 17px}#title-input{font-size:23px;min-height:79px}.title-baseline{font-size:7px;gap:6px;margin-top:11px}.format-toolbar{padding:8px 12px;gap:2px}.format-toolbar button{padding:3px 5px;min-width:22px}.format-toolbar>i{margin:0 4px}.format-toolbar select{max-width:49px;font-size:8px}#article-editor{font-size:15px;padding:25px 21px 50px 42px;min-height:450px}.paper-editor{background:linear-gradient(90deg,#fcfdfb 0,#fcfdfb 28px,#fff 28px);min-height:450px;max-height:65vh}.paper-gutter{left:7px;top:25px}.paper-gutter span{font-size:10px}.editor-bottom{padding:10px 12px!important}.editor-bottom>div{gap:6px;font-size:7px}.editor-bottom .text-button{font-size:7px}.editor-bottom .text-button svg{width:10px}.document-actions{padding:12px 10px}.document-actions .button{padding:9px 8px;font-size:9px;gap:5px}.document-actions .button svg{width:12px}.document-actions .toolbar-spacer{min-width:0}.workspace-footer{padding:0 16px 20px;font-size:7px}.info-view{padding:23px 20px;min-height:600px}.info-view-heading h2{font-size:21px}.info-view-heading p{font-size:10px}.view-toolbar{font-size:10px}.phone-frame{border-radius:27px}.preview-panel{padding:0 5px}.phone-scroll{height:560px}.phone-article{padding:23px 20px 9px}.phone-article>h1{font-size:22px}#phone-body{font-size:16px}.phone-status{height:34px}.phone-island{width:65px}.preview-options{font-size:9px}.preview-options select{font-size:9px}.source-card{gap:8px}.source-meta h3{font-size:11px}.source-actions{flex-direction:column}.dialog-heading{padding:19px 18px 12px}.dialog-heading h2{font-size:20px}#dialog-content{padding:16px 18px;font-size:11px}#dialog-actions{padding:14px 18px;gap:7px}#dialog-actions button{padding:8px 10px;font-size:10px}.version-row{align-items:flex-start;flex-direction:column;gap:5px}.info-view .view-toolbar .button{font-size:10px}.source-status{font-size:8px}.review-copy p{font-size:10px}}
/* Keep the writing surface quiet while making the controls readable at everyday laptop sizes. */
.brand-wordmark>span:not(.brand-line):not(.edition){font-size:12px;color:#6c7b6b}.connection-pill{font-size:11px;color:#7e8976}.workspace-heading p{font-size:12px;color:#8a967f}.workspace-meta p{font-size:10px;color:#98a38d}.field-label{font-size:12px;color:#5d7057}.field-label span:not(.required):not(.auto-tag){font-size:10px;color:#96a28a}.field{font-size:12px;color:#50634a;background:#fbfcf8}.field::placeholder,textarea.field::placeholder,input.field::placeholder{font-size:11px;color:#a2ad97}.field-row .field-label{font-size:11px}.field-row .field{font-size:11px}.field-hint{font-size:10px;color:#96a38a}.upload-zone b{font-size:11px;color:#78916a}.upload-zone>span:last-child{font-size:9px;color:#a0af91}.color-setting select{font-size:12px;color:#748b63}.offline-note{font-size:9px;color:#9baa8b}.editor-tabs button{font-size:12px;color:#92a083}.editor-tabs button.active{color:#345b35}.document-meta{font-size:10px}.document-badge{font-size:9px}.save-status{font-size:9px;color:#a2af93}.import-button{font-size:10px;color:#8f9f7e}.title-label-row label{font-size:10px;color:#a2ae94}.title-baseline{font-size:9px;color:#a5b194}.format-toolbar button{font-size:11px;color:#819671}.format-toolbar select{font-size:10px;color:#92a382}.editor-bottom{font-size:9px;color:#9caa8b}.editor-bottom .text-button{font-size:9px}.document-actions .button{font-size:12px}.preview-heading h2{font-size:12px;color:#7f956b}.live-indicator{font-size:9px;color:#91a77a}.phone-byline{font-size:10px;color:#b2bea2}.phone-byline span:first-child{color:#8fa376}.phone-navigation b{font-size:10px}.preview-options{font-size:10px;color:#9aa987}.preview-options select{font-size:9px;color:#8e9f78}.copy-explainer b{font-size:11px;color:#829b67}.copy-explainer p>span{font-size:9px;color:#a6b694}.preview-help{font-size:9px;color:#a9b69a}.empty-state{border-color:#e5ebdc}.empty-state h3{color:#93a37f}.empty-state p{color:#a7b594}.info-view-heading p{color:#94a582;font-size:12px}.source-meta h3{font-size:13px;color:#657f52}.source-meta p{font-size:11px}.source-url{font-size:10px}.source-remove{color:#a7b596;font-size:18px;line-height:1;padding:2px 5px;border-radius:4px}.source-remove:hover{background:#f5f7ef}.review-copy h3{font-size:13px}.review-copy p{font-size:11px;color:#a0b08b}.review-status{font-size:8px;white-space:nowrap;color:#abb99a;padding-top:3px}.stage-copy h3{font-size:12px;color:#7a9167}.stage-copy p{font-size:10px;color:#a5b591}.stage-status{font-size:9px;color:#a8b796}.artifact-card{display:flex;align-items:center;justify-content:space-between;gap:15px}.artifact-card h3{font-size:11px;font-weight:500;color:#80996b;margin:0}.artifact-card p{font-size:9px;color:#a9b895}.artifact-card>span{font-size:9px;color:#93a97c;white-space:nowrap}.image-info{min-width:0}.image-info strong{font-size:10px}.image-info select{margin:5px 0 0}.image-actions{gap:8px;margin-top:5px}.image-actions button{padding:3px 7px;border:1px solid #dfe8d4;border-radius:4px;background:#fff;font-size:9px}.image-actions button:hover{background:#edf3e6}.image-card select{font-size:10px}.upload-zone.dragging{background:#f0f6e8;border-color:#84a56d}.version-info>span{display:block;font-size:10px;color:#a3b390;line-height:1.7;margin-top:5px}.version-row>.button{font-size:10px;min-height:30px;padding:7px 9px}.task-summary strong,.task-summary span{display:block}.task-summary span{font-size:10px;color:#a3b58e;margin-top:7px}#phone-cover>span{display:block;font-size:9px;color:#9aac86;margin:-15px 0 19px}#phone-body.is-empty{min-height:270px}#phone-body.is-empty .empty-state{border:0;margin:65px 0 0;padding:20px 0}#phone-body.is-empty .empty-state h3{font:18px/1.8 var(--serif);letter-spacing:1.5px;color:#afbd9b}#phone-body.is-empty .empty-state p{font-size:11px;color:#b8c4a7}.article-content:focus{outline:0}
@media(max-width:1390px){.editor-tabs{gap:22px}.editor-tabs button{font-size:11px}.document-actions .button{font-size:11px}.save-status{max-width:125px}.editor-bottom>div{font-size:8px}.format-toolbar{gap:3px}.format-toolbar button{font-size:10px}.format-toolbar select{font-size:9px}}
@media(max-width:900px){.brand-wordmark>span:not(.brand-line):not(.edition){font-size:10px}.field-label{font-size:13px}.field-row .field{font-size:12px}.field{font-size:13px}.mobile-tabs button{font-size:12px}.review-status{font-size:8px}.workspace-heading p{font-size:11px}}
@media(max-width:540px){.brand-wordmark>span:not(.brand-line):not(.edition){font-size:9px}.connection-pill{font-size:10px}.editor-tabs{gap:18px}.editor-tabs button{font-size:11px}.document-meta{padding-left:17px;padding-right:17px;gap:5px}.document-badge{font-size:8px}.save-status{max-width:90px;font-size:8px}.import-button{font-size:9px}.title-baseline{font-size:8px}.format-toolbar button{font-size:10px}.format-toolbar select{font-size:9px}.editor-bottom>div{font-size:7px}.editor-bottom .text-button{font-size:8px}.document-actions .button{font-size:10px}.preview-options select{font-size:10px}.review-status{display:none}.source-meta h3{font-size:12px}.info-view-heading p{font-size:11px}.mobile-tabs button{font-size:11px}.workspace-heading h1{font-size:25px}.version-row>.button{align-self:flex-end}.artifact-card p{font-size:9px}}
.preview-scale-note{margin:6px 9px 0;font-size:9px;line-height:1.8;color:#a6b696}.copy-explainer{padding-top:15px}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* DeepSeek service and task states */
.connection-pill[data-state=online] .status-dot{background:#6b9d70}.connection-pill[data-state=running] .status-dot{background:#547d60;box-shadow:0 0 0 3px #e6edde}.connection-pill[data-state=offline] .status-dot{background:#b59a67}
.api-settings-button{font-size:11px;padding:8px 11px;min-height:34px}.api-settings-button svg{width:14px;height:14px}.service-notice,.task-status-card{max-width:1692px;margin:0 28px 20px 34px;padding:15px 18px;border:1px solid #e1e8d7;border-radius:9px;display:flex;align-items:flex-start;gap:12px;background:#f9fbf4;font-size:11px;color:#7b9068}.service-notice{background:#fbfaf2;border-color:#e9e4cf;color:#9d906b}.service-notice b,.task-card-copy>b{font-size:12px;font-weight:500;color:#657e52}.service-notice p,.task-card-copy p{margin:4px 0;color:#a1ae90;line-height:1.8;font-size:10px}.service-notice a{font-size:10px;color:#94a17d}.service-notice>button{margin-left:auto;align-self:center;font-size:10px}.service-notice-icon,.task-card-symbol{width:26px;height:26px;border:1px solid #e2e9d5;border-radius:7px;display:grid;place-items:center;flex-shrink:0;color:#90a775;background:#f2f6e9}.service-notice-icon svg,.task-card-symbol svg{width:14px;height:14px}.task-card-copy{flex:1;min-width:0}.task-card-copy small{color:#b0b99f;font-size:8px}.task-card-copy small span{font-family:ui-monospace,monospace}.task-card-actions{display:flex;gap:6px;flex-wrap:wrap;align-self:center;justify-content:flex-end}.task-status-card[data-state=failed],.task-status-card[data-state=needs_revision],.task-status-card[data-state=interrupted]{background:#fcf9f0;border-color:#e9e0c7}.task-status-card[data-state=failed] .task-card-copy>b,.task-status-card[data-state=needs_revision] .task-card-copy>b{color:#ab8e55}.task-status-card[data-state=succeeded]{background:#f3f8eb}.task-card-actions .button{font-size:10px;padding:7px 10px;min-height:30px}.config-intro p{font-size:11px;color:#93a57e}.configured-badge{display:inline-block;padding:3px 8px;border:1px solid #e0e8d2;border-radius:5px;background:#f4f8ec;color:#8b9f74;font-size:10px}.config-endpoint{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:11px 0;font-size:10px;color:#a5b490}.config-endpoint code{font-size:10px;font-family:ui-monospace,monospace;color:#8da372}.config-feedback{font-size:11px;padding:10px 12px;border:1px solid #e1ead4;border-radius:5px;background:#f8fbf2;color:#8ca173;min-height:40px}.config-feedback[data-state=error]{background:#fcf5eb;color:#aa8e5b;border-color:#eadfc9}.service-address{padding:16px;background:#f4f8eb;border:1px solid #e0e9d1;border-radius:6px;text-align:center;margin:16px 0}.service-address>a{font-size:13px;color:#6d8d55;display:block}.service-address>small{font-size:10px;color:#9fb18a;display:block;margin-top:5px}.execution-log{border-top:1px solid #e7eddf;border-bottom:1px solid #e7eddf;padding:13px 0;color:#91a37c;margin:12px 0 22px;font-size:10px}.execution-log summary{cursor:pointer}.execution-log ol{list-style:none;padding:0;margin:14px 0 0;max-height:270px;overflow:auto}.execution-log li{display:flex;gap:12px;border-bottom:1px solid #f0f4e9;padding:7px 0;font-size:10px;line-height:1.8}.execution-log time{font-size:8px;color:#aab99a;white-space:nowrap;padding-top:2px}.execution-log li span{color:#8a9e74}.execution-log .event-empty{color:#b2bea3}.stage-item[data-state=running] .stage-index,.stage-item[data-state=in_progress] .stage-index,.stage-item[data-state=started] .stage-index{background:#2b553c;color:#f3f8e9;border-color:#2b553c}.stage-item[data-state=running] .stage-status{color:#739858}.stage-item[data-state=failed] .stage-index{background:#fbf2e3;color:#ad8a49;border-color:#e6d9bb}.stage-item[data-state=failed] .stage-status{color:#b4955d}.artifact-download{text-decoration:none}.artifact-download:hover{background:#f5f9ee;border-color:#bbcda5}.artifact-download h3{color:#6d8f55}.ai-review-card{border:1px solid #dfe9d0;background:#f7fbef;padding:17px;border-radius:8px;margin:0 0 15px}.ai-review-card[data-result=warn]{background:#fcf8ee;border-color:#eadebf}.ai-review-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.ai-review-heading b{font-size:12px;font-weight:500;color:#6c8c55}.ai-review-heading span{font-size:9px;color:#96aa80;border:1px solid #dbe7cd;border-radius:4px;padding:2px 5px}.ai-review-card p{font-size:11px;color:#8e9f7b;line-height:1.9;margin:7px 0}.ai-review-card ul{margin:12px 0;padding-left:16px;color:#96a783;font-size:10px;line-height:1.9}.ai-review-card small{display:block;font-size:9px;color:#aab897;line-height:1.9;border-top:1px solid #e6eddb;padding-top:10px;margin-top:11px}#deepseek-config-form label span{float:right;font-size:9px;color:#a7b794;font-weight:400}.document-badge[data-mode=generated]{background:#eaf3df;color:#7f9c66;border-color:#d9e6c9}
@media(min-width:1760px){.service-notice,.task-status-card{margin-left:auto;margin-right:auto}}
@media(max-width:1390px){.service-notice,.task-status-card{margin-left:25px;margin-right:22px}.top-actions{gap:8px}.top-actions .action-divider{margin:0}.api-settings-button{padding:8px 9px;font-size:10px}}
@media(max-width:900px){.service-notice,.task-status-card{margin-left:23px;margin-right:23px}.api-settings-button{width:32px}.top-actions .api-settings-button span{display:none}.task-status-card{flex-wrap:wrap}.task-card-actions{width:100%;justify-content:flex-start;padding-left:38px}.task-card-copy{flex-basis:calc(100% - 40px)}}
@media(max-width:540px){.service-notice,.task-status-card{margin-left:13px;margin-right:13px;padding:13px 12px;gap:8px;margin-bottom:16px}.service-notice>button{align-self:flex-end}.service-notice b,.task-card-copy>b{font-size:11px}.service-notice p,.task-card-copy p{font-size:10px}.service-notice-icon,.task-card-symbol{width:23px;height:23px}.task-card-actions{padding-left:31px;gap:5px}.task-card-actions .button{font-size:9px;padding:7px 8px}.top-actions .api-settings-button{display:inline-flex!important}.top-actions .api-settings-button svg{width:13px}.top-actions .api-settings-button{width:27px}.top-actions{gap:5px}.connection-pill{font-size:8px!important;max-width:93px}.connection-pill span:not(.status-dot){overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ai-review-heading{align-items:flex-start;flex-direction:column;gap:5px}.ai-review-card{padding:14px}.config-endpoint{font-size:9px}.config-endpoint code{font-size:9px}.execution-log time{font-size:7px}.execution-log li{font-size:9px}}

/* 易文：创作、历史、设置。 */
.brand-symbol{padding:0;border:0;overflow:hidden;border-radius:11px;width:37px;height:37px;background:#203e32}.brand-symbol img{display:block;width:100%;height:100%}.brand-wordmark b{letter-spacing:2px}.rail-tools{gap:17px}.rail-divider{margin:5px auto 3px}.compact-nav{display:none}.top-actions .button{min-height:36px}.secondary-workspace{max-width:1760px;margin:0 auto;padding:30px 34px 38px}.secondary-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:25px;margin:0 0 26px}.secondary-heading h1{font:500 29px/1.5 var(--serif);letter-spacing:1px;color:var(--ink);margin:4px 0 5px}.secondary-heading p{font-size:12px;color:#91a080;margin:0}.history-total{font-size:11px;color:#a0af90;padding-bottom:4px;white-space:nowrap}.history-total b{font:20px Georgia,serif;color:#6e8961;margin-right:4px}.history-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:22px;align-items:start}.history-index{overflow:hidden}.history-index-heading{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e8edde;padding:18px 19px;color:#9aad88}.history-index-heading svg{width:16px;height:16px}.history-index-heading h2{margin:0;font-size:12px;font-weight:500;color:#779165}#history-list{padding:9px;max-height:calc(100vh - 270px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#d9e4cd transparent}.history-item{display:block;position:relative;border:1px solid transparent;border-radius:7px;width:100%;padding:15px 14px 13px;text-align:left;background:#fff;margin-bottom:5px;transition:background .16s,border-color .16s}.history-item:hover{background:#f8fbf3;border-color:#e6eddc}.history-item.active,.history-item.selected,.history-item[aria-current=true],.history-item[aria-selected=true]{background:#f0f6e8;border-color:#dee8d0}.history-item-topic{display:block;font-size:12px;line-height:1.75;font-weight:600;color:#4c6945;margin:0 0 5px;overflow-wrap:anywhere}.history-item-title{display:block;font-size:11px;line-height:1.8;font-weight:400;color:#8fa17b;margin:0 0 9px;overflow-wrap:anywhere}.history-item-meta{display:flex;gap:9px;align-items:center;flex-wrap:wrap;font-size:9px;color:#adb99d;line-height:1.6}.history-item-status{font-size:8px;padding:1px 5px;border-radius:3px;border:1px solid #dfe8d3;color:#91a778;background:#f8fbf2}.history-item-status[data-status=needs_revision]{background:#fbf5e8;color:#b1945e;border-color:#ebdfc5}.history-detail{overflow:hidden;min-width:0;min-height:730px}.history-detail-heading{display:flex;align-items:flex-start;padding:22px 28px 16px;border-bottom:1px solid #ecf0e5}.history-detail-kicker{font-size:9px;letter-spacing:1px;color:#b0bea1}.history-detail-heading h2{font:21px/1.6 var(--serif);font-weight:500;color:#3d5a37;margin:7px 0 5px;overflow-wrap:anywhere}.history-detail-heading p{font-size:10px;color:#a2b190;margin:0;line-height:1.8}.history-actions{display:flex;gap:5px;align-items:center;flex-wrap:wrap;padding:11px 21px;border-bottom:1px solid #e8efdf;background:#fcfdf9}.history-actions .button{font-size:10px;min-height:32px;padding:8px 11px}.history-actions .button svg{width:12px;height:12px}.history-empty{min-height:510px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:35px;color:#acba9b;background:linear-gradient(160deg,#fff 55%,#fbfdf7)}.history-empty-symbol{display:grid;place-items:center;width:55px;height:55px;border:1px solid #e5edda;border-radius:17px;color:#b1c29d;background:#f9fcf4;margin-bottom:20px}.history-empty-symbol svg{width:25px;height:25px;stroke-width:1.2}.history-empty h3{font:21px var(--serif);letter-spacing:1px;font-weight:400;color:#9caf87;margin:0 0 12px}.history-empty p{font-size:11px;color:#b7c1a8;line-height:1.9;max-width:270px;margin:0}#history-preview{display:block;width:100%;height:calc(100vh - 355px);min-height:560px;border:0;background:#f5f7f0}.history-index .empty-state{padding:25px 10px;font-size:10px;border:0}.history-index .empty-state h3{font-size:12px}.history-index .empty-state p{font-size:10px}.settings-workspace{max-width:1160px;margin-left:0}.settings-layout{display:grid;gap:22px}.settings-card{overflow:hidden}.settings-card-heading{display:flex;align-items:center;gap:13px;padding:23px 26px;border-bottom:1px solid #e8eedd;background:#fdfefb}.settings-symbol{display:grid;place-items:center;width:36px;height:36px;background:#edf4e4;border-radius:10px;border:1px solid #e1e9d6;color:#8ba474;flex-shrink:0}.settings-symbol svg{width:18px;height:18px}.settings-card-heading h2{font-size:14px;line-height:1.6;color:#536e47;font-weight:500;margin:0 0 3px}.settings-card-heading p{font-size:11px;color:#a4b28f;margin:0}.settings-card-heading .connection-pill{margin-left:auto;font-size:10px;color:#94a77e;white-space:nowrap;cursor:default}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:25px;margin:0 26px;padding:22px 0;border-bottom:1px solid #edf1e6}.setting-row:last-child{border-bottom:0}.setting-row h3,.setting-row label{font-size:12px;font-weight:500;color:#6d835d;margin:0;display:block}.setting-row p{font-size:11px;color:#a6b595;line-height:1.9;margin:6px 0 0}.setting-row .field{width:240px;max-width:47%;font-size:12px;background:#fbfdf8;padding:10px 12px}.managed-tag{display:flex;align-items:center;gap:5px;font-size:10px;color:#a1b28d;border:1px solid #e2e9d8;background:#f8fbf2;padding:6px 10px;border-radius:5px;white-space:nowrap}.managed-tag svg{width:12px;height:12px}.settings-card-footer{display:flex;align-items:center;gap:24px;justify-content:space-between;padding:16px 26px;background:#fafcf5}.settings-card-footer p{font-size:10px;line-height:1.9;color:#a3b18f;margin:0}.settings-card-footer p[data-state=error]{color:#ac8c55}.settings-card-footer .button{font-size:11px}.settings-signature{display:flex;justify-content:center;align-items:center;gap:8px;font:11px var(--serif);color:#afbda0;letter-spacing:1px;margin:26px 0 0}.settings-signature img{width:19px;height:19px;opacity:.6;border-radius:5px}
@media(min-width:1600px){.secondary-workspace{padding-left:40px;padding-right:40px}.history-layout{grid-template-columns:310px minmax(0,1fr);gap:26px}.settings-workspace{max-width:1200px}}
@media(max-width:1390px){.secondary-workspace{padding-left:25px;padding-right:22px}.history-layout{grid-template-columns:250px minmax(0,1fr);gap:18px}.history-detail-heading{padding:20px 23px 16px}.history-item{padding:13px 12px}.history-actions{padding:10px 16px}.history-actions .button{font-size:9px;padding:7px 9px}}
@media(max-width:1000px){.history-layout{grid-template-columns:225px minmax(0,1fr);gap:16px}.history-actions .toolbar-spacer{display:none}.history-actions{gap:3px}.history-detail-heading h2{font-size:19px}.history-item-topic{font-size:11px}.history-item-title{font-size:10px}}
@media(max-width:760px){.secondary-workspace{padding:24px 23px 30px}.history-layout{grid-template-columns:1fr}.history-index-heading{padding:14px 16px}#history-list{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;max-height:none;padding:9px;scrollbar-width:thin}.history-item{width:245px;min-width:245px;margin:0}.history-detail{min-height:680px}.history-detail-heading{padding:19px 21px 15px}.history-actions{padding:10px 14px}.history-actions .toolbar-spacer{display:block}#history-preview{height:760px;min-height:540px}.history-empty{min-height:450px}.settings-card-heading{padding:19px 21px}.setting-row{margin:0 21px;padding:19px 0;gap:18px}.settings-card-footer{padding:15px 21px;gap:15px}.setting-row .field{width:190px;max-width:48%;font-size:11px}.settings-card-heading .connection-pill{font-size:9px}.settings-card-heading p{font-size:10px}}
@media(max-width:540px){.compact-nav{display:flex;align-items:center;gap:6px;padding:9px 14px;border-bottom:1px solid #e7ecdf;background:#fafcf6}.compact-nav button{display:flex;align-items:center;justify-content:center;gap:6px;flex:1;border-radius:5px;font-size:11px;padding:8px 10px;color:#9aab86}.compact-nav button svg{width:14px;height:14px}.compact-nav button.active{background:#e8f0df;color:#5c7c46}.top-actions .button{width:auto;min-height:32px;padding:8px 11px}.top-actions .button span{display:inline;font-size:10px}.brand-wordmark b{font-size:23px}.secondary-workspace{padding:22px 13px 30px}.secondary-heading{margin-bottom:21px;padding:0 6px}.secondary-heading h1{font-size:26px}.secondary-heading p{font-size:10px}.history-total{font-size:9px;padding-bottom:3px}.history-total b{font-size:18px}.history-layout{gap:15px}.history-item{width:245px;min-width:245px;padding:12px 13px}.history-item-topic{font-size:12px}.history-item-title{font-size:11px}.history-index-heading h2{font-size:11px}.history-detail-heading{padding:18px 18px 14px}.history-detail-heading h2{font-size:20px}.history-actions{gap:2px;padding:9px 10px}.history-actions .toolbar-spacer{display:none}.history-actions .button{font-size:9px;padding:7px 7px;min-height:32px}.history-actions .button svg{width:11px;height:11px}.history-empty{min-height:420px;padding:25px}.history-empty h3{font-size:20px}.history-empty p{font-size:10px}#history-preview{height:710px}.settings-card-heading{padding:18px 17px;gap:10px}.settings-symbol{width:31px;height:31px;border-radius:8px}.settings-symbol svg{width:16px;height:16px}.settings-card-heading h2{font-size:13px}.settings-card-heading p{font-size:9px}.settings-card-heading .connection-pill{font-size:9px!important;max-width:100px}.setting-row{margin:0 17px;gap:15px;padding:19px 0}.setting-row h3,.setting-row label{font-size:12px}.setting-row p{font-size:10px}.setting-row .field{font-size:11px;width:145px;max-width:48%;padding:9px 8px}.managed-tag{font-size:9px;padding:5px 7px}.settings-card-footer{padding:14px 17px;align-items:flex-end}.settings-card-footer p{font-size:9px}.settings-card-footer .button{font-size:10px;padding:8px 10px}.settings-signature{font-size:10px}.settings-card .connection-pill span:not(.status-dot){overflow:visible;text-overflow:clip}}

/* Let the editor tabs and article scroll with the page, without a nested tab scroller. */
:root{--app-header-height:83px;--compact-nav-height:0px;--editor-tabs-height:54px}
.topbar{position:sticky;top:0;z-index:50;height:var(--app-header-height);min-height:var(--app-header-height);background:#fbfcf8f5;backdrop-filter:blur(12px)}
.editor-panel{overflow:visible}
.editor-tabs{position:relative;background:#fff;border-radius:11px 11px 0 0;overflow:visible}
.paper-editor{max-height:none;overflow:visible}
.document-actions{border-radius:0 0 11px 11px}
.view-panel[data-view=workflow]{display:none!important}
dialog{position:fixed;inset:0;margin:auto;z-index:1000}dialog::backdrop{z-index:999}
#task-status-card{align-items:center}#task-new{min-width:104px;gap:6px}#task-new svg{width:13px;height:13px}
@media(max-width:900px){:root{--app-header-height:70px}}
@media(max-width:540px){:root{--app-header-height:65px;--compact-nav-height:51px;--editor-tabs-height:49px}.compact-nav{position:sticky;top:var(--app-header-height);z-index:45;height:var(--compact-nav-height);min-height:var(--compact-nav-height)}.task-card-actions{justify-content:flex-end;padding-left:0}.task-card-copy{flex-basis:calc(100% - 36px)}#task-new{min-width:100px}}
