:root{--bg:#f6f6f8;--white:#fff;--ink:#272b3a;--muted:#727584;--line:#e7e8ee;--accent:#6862a2;--accent-dark:#504a87;--soft:#f0eff8;--serif:Georgia,'Times New Roman',serif;--sans:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:13px/1.6 var(--sans)}button,input,textarea,select{font:inherit}button,a,summary{outline-offset:4px}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--accent)}input:focus,textarea:focus,select:focus{outline:2px solid #b5b0d8;outline-offset:1px}button{cursor:pointer}button:hover{filter:brightness(.97)}button:disabled{cursor:default;opacity:.4}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,p{margin:0}p{color:var(--muted)}svg{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.icon-sprite{width:0;height:0;position:absolute;overflow:hidden}button svg{width:16px;height:16px}.sidebar{width:224px;background:#fcfcfd;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;padding:31px 19px 20px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:10px;color:var(--ink);font-size:20px;font-weight:600;letter-spacing:-.9px;line-height:1}.brand:hover{text-decoration:none}.logo{font:31px/1 var(--serif);width:35px;height:40px;letter-spacing:-4px;color:#55506e;padding-top:2px}.logo span{color:#7b7063}.brand-sub{display:block;font-size:8px;letter-spacing:3.8px;margin-top:7px;color:#75727d;font-weight:500}.workspace-label{display:flex;gap:9px;align-items:center;padding:17px 9px;margin:31px 0 17px;border:1px solid var(--line);border-radius:8px;font-size:10px;font-weight:600;background:#fff;line-height:1.5}.workspace-label small{display:block;font-size:9px;color:#73737d;font-weight:400}.workspace-avatar{display:grid;place-items:center;background:#eeedf6;color:#77718e;border-radius:6px;width:28px;height:30px;font-size:11px}.new-button{border:1px solid #e0deeb;background:#f3f1fa;color:#777095;border-radius:7px;padding:10px;font-size:11px;font-weight:550}.nav-label{font-size:8px;color:#73737b;letter-spacing:1.6px;margin:29px 12px 12px;font-weight:600}.sidebar nav{display:flex;flex-direction:column;gap:5px}.nav-item{display:flex;align-items:center;gap:10px;border:0;background:none;padding:11px 12px;border-radius:7px;color:#72727e;font-size:11px;text-align:left}.nav-item svg{width:17px;height:17px;color:#72707f}.nav-item span{margin-left:auto;font-size:9px;color:#767283}.nav-item.active{background:#eeecf7;color:#6d6598;font-weight:600}.nav-item.active svg{color:#766ca6}.sidebar-note{margin:42px 10px 20px;border-top:1px solid var(--line);padding-top:26px}.sidebar-note strong{font-family:var(--serif);font-weight:400;display:block;font-size:17px;letter-spacing:-.3px;margin-top:12px;color:#777087}.sidebar-note p{font-size:10px;line-height:1.85;margin-top:8px;color:#73727b}.mini-orbit{position:relative;height:30px;width:65px}.mini-orbit i{position:absolute;border:1px solid #d5cedf;border-radius:50%;width:30px;height:30px}.mini-orbit i:nth-child(2){left:18px;border-color:#c2ccbf}.mini-orbit i:nth-child(3){left:36px;border-color:#dfd0bc}.sidebar-bottom{margin-top:auto;font-size:9px;color:#72727c;padding:17px 7px 0;border-top:1px solid var(--line)}.sidebar-bottom small{display:block;font-size:8px;color:#74737c;margin-top:7px}.status-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#a1b399;margin-right:6px}.app{margin-left:224px}.topbar{height:73px;display:flex;justify-content:space-between;align-items:center;padding:0 40px;border-bottom:1px solid var(--line);background:#fbfbfd}.breadcrumb{font-size:11px;color:#73737b;display:flex;gap:15px}.breadcrumb strong{font-weight:400;color:#737383}.top-actions{display:flex;align-items:center;gap:19px}.save-state{font-size:9px;color:#717179}.privacy{font-size:10px;display:flex;align-items:center;gap:5px;color:#757181}.privacy svg{width:12px;height:12px}.button{border:1px solid transparent;padding:10px 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:6px;font-size:11px;font-weight:550;white-space:nowrap}.primary{background:var(--accent);color:#fff;box-shadow:0 2px 3px #443e5f0a}.secondary{border-color:#dedee8;background:#fff;color:#777186}.small{font-size:10px;padding:8px 13px}.tiny{font-size:9px;padding:5px 10px}.text-button{background:none;border:0;padding:0;color:#776c9c;font-size:10px;font-weight:500;display:inline-flex;align-items:center;gap:10px}.tag{display:inline-flex;background:#efedf7;color:#766e8d;border-radius:4px;padding:3px 7px;font-size:8px;font-weight:500;letter-spacing:.2px}.tag.neutral{background:#f1f1f5;color:#777381;font-size:7px;letter-spacing:.8px}.subtle{color:#74737e;font-size:10px}main{padding:32px 40px 20px;max-width:1700px;margin:0 auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.eyebrow{font-size:8px;color:#75717f;letter-spacing:1.9px;font-weight:650}h1{font-family:var(--serif);font-size:36px;line-height:1.25;letter-spacing:-1px;font-weight:400;margin:8px 0 9px}h2{font-size:18px;font-weight:500;letter-spacing:-.4px}h3{font-weight:550;font-size:15px}.page-heading p{font-size:11px;color:#72707b}.page-heading>.button{margin-top:12px}.manuscript-meta{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:17px 0;gap:15px;margin-bottom:23px}.title-label{font-size:7px;letter-spacing:1.2px;color:#75727d;flex:1;font-weight:600}.title-label input{border:0;background:transparent;display:block;width:100%;margin-top:5px;padding:0;font-size:13px;color:#646171;font-weight:400;letter-spacing:-.1px}.meta-tags{display:flex;flex-direction:column;align-items:flex-end;gap:7px}.meta-tags .subtle{font-size:8px}.writing-grid{display:grid;grid-template-columns:155px minmax(300px,1fr) 213px;gap:18px;align-items:start}.card{background:#fff;border:1px solid var(--line);border-radius:8px}.outline{padding:17px 10px}.panel-label{font-size:8px;letter-spacing:1.3px;color:#76717f;font-weight:600;display:flex;justify-content:space-between}.outline .panel-label{padding:0 8px 14px}.panel-label>span{font-size:8px;color:#75717d;font-weight:400;letter-spacing:0}.section-button{display:flex;align-items:center;width:100%;text-align:left;gap:7px;border:0;background:none;color:#79727f;border-radius:5px;padding:10px 8px;font-size:10px}.section-button .section-number{font-size:8px;color:#76717b;font-variant-numeric:tabular-nums}.section-button.active{color:#786b95;background:#f3f0f8}.section-button .section-dot{width:4px;height:4px;background:#a5b39b;border-radius:50%;margin-left:auto;flex-shrink:0}.add-section{padding:14px 8px 2px;font-size:9px;color:#756f7f}.outline-foot{border-top:1px solid #f0edf4;margin:20px 8px 0;padding-top:14px;font:13px/1.6 var(--serif);font-style:italic;color:#77717e}.paper{background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 6px 30px #22203603;overflow:hidden}.paper-top{display:flex;justify-content:space-between;align-items:center;padding:22px 29px 17px;gap:15px}.section-index{font-size:7px;color:#78717d;letter-spacing:1.7px}.paper-top h2{font-family:var(--serif);font-size:28px;font-weight:400;margin-top:7px;color:#51475f}.paper-top .text-button{font-size:9px}.format-bar{border-top:1px solid #f2eff5;border-bottom:1px solid #eeeaf2;background:#fcfbfd;display:flex;align-items:center;padding:6px 23px;gap:3px}.format-bar button{border:0;background:none;min-width:26px;height:25px;border-radius:4px;color:#797181;font-size:11px}.format-bar button:hover{background:#f0edf6}.format-bar>span:not(.format-hint){height:12px;width:1px;background:#e8e2ee;margin:0 5px}.format-bar .format-hint{font-size:7px;color:#76707b;margin-left:auto}#section-editor{display:block;width:100%;border:0;resize:vertical;min-height:440px;padding:27px 30px 40px;font:15px/1.9 var(--serif);color:#5a5064;background:#fff}#section-editor:focus{outline:0}#section-editor::placeholder{color:#79737d;font-style:italic;font-size:15px}.paper-footer{border-top:1px solid #f1edf4;padding:12px 25px;font-size:8px;color:#776f7f;display:flex;justify-content:space-between;gap:10px}.paper-footer .status-dot{width:4px;height:4px;background:#bcb6a8}.editor-bottom-note{font-size:8px;color:#77707b;text-align:center;margin-top:13px}.editor-bottom-note>span:first-child{border:1px solid #e8e0ee;border-radius:3px;padding:2px 4px;margin-right:4px;font-size:7px;background:#faf8fc}.dot-separator{margin:0 6px}.guide-card{background:#efedf7;border:1px solid #e9e4f1;border-radius:8px;padding:19px 18px}.guide-card .panel-label{font-size:7px;color:#7c7186}.guide-card .panel-label span{font-size:17px;line-height:.5}.guide-card h3{font-family:var(--serif);font-weight:400;font-size:21px;line-height:1.3;margin:16px 0 12px;color:#76618b}.guide-card p{font-size:10px;color:#7a7083;line-height:1.95}.target-label{display:flex;align-items:center;justify-content:space-between;font-size:8px;color:#796e80;margin-top:21px;gap:10px}.target-label input{width:53px;border:1px solid #ddd2e7;background:#f8f5fb;border-radius:4px;padding:4px;font-size:9px;color:#7b6d85}.progress-track{height:3px;background:#e2d9eb;margin-top:11px;border-radius:8px;overflow:hidden}.progress-track>div{height:100%;background:#ac9abb;width:0}.progress-label{font-size:7px;color:#796e81;margin-top:8px}.evidence-card{border:1px solid #e8e5dd;background:#f6f4ec;border-radius:8px;padding:18px;margin-top:15px}.evidence-icon{height:25px;color:#79715b}.evidence-icon svg{width:22px;height:22px}.evidence-card h3{font-family:var(--serif);font-size:20px;font-weight:400;line-height:1.35;margin:11px 0;color:#817455}.evidence-card p{font-size:10px;line-height:1.9;color:#7d735e}.evidence-card .text-button{font-size:9px;color:#7f7154;margin-top:16px}.ai-card{padding:17px 6px 0}.ai-card p{font-size:9px;line-height:1.9;color:#77707d;margin-top:11px}.ai-card .text-button{font-size:8px;color:#7c6e8a;margin-top:10px}footer{display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding-top:18px;margin-top:35px;color:#77717c;font-size:8px}footer .status-dot{width:4px;height:4px;background:#c0b8a8}footer>span:last-child{font-size:7px;letter-spacing:1.4px}footer b{font-weight:400;margin:0 6px}.notice{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:10px;background:#f8f3e9;border:1px solid #ece1cf;color:#817155;padding:11px 14px;border-radius:7px;margin-bottom:20px}.neutral-notice{background:#f0eff6;border-color:#e5e1ef;color:#776f82}.figure-grid{display:grid;grid-template-columns:225px minmax(0,1fr);gap:19px;align-items:start}.plot-controls{padding:19px 17px}.plot-controls .panel-label{margin-bottom:19px}.plot-controls label,.project-card label,.dialog-body label{display:flex;flex-direction:column;gap:6px;font-size:10px;color:#7d7183;margin-top:13px}input,select,textarea{color:#766682;border:1px solid #e5deeb;border-radius:5px;background:#fff;padding:8px 10px;min-width:0}select{cursor:pointer}.plot-controls input,.plot-controls select{font-size:10px;width:100%;padding:7px 8px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:11px}.control-divider{border-top:1px solid #f0eaf5;margin:19px 0 5px}.control-help{font-size:8px;color:#786f7f;line-height:1.9;margin-top:16px}.plot-preview-card{padding:20px}.plot-preview-top{display:flex;justify-content:space-between;align-items:center;gap:15px}.plot-preview-top h3{font-size:11px;font-weight:400;color:#796f7f;margin-top:5px}.button-pair{display:flex;gap:6px}.plot-preview{margin-top:17px;overflow:auto;background:#fff;min-height:280px}.plot-preview svg{width:100%;height:auto;stroke:none;display:block;min-width:560px}.plot-status{color:#936b5d;font-size:10px;padding-top:5px}.empty{padding:55px 25px;text-align:center;color:#796f80;background:#faf8fc;border-radius:6px}.empty h3{font:24px var(--serif);color:#7d6d8c;margin-bottom:10px}.empty p{font-size:11px;color:#7b6f83}.caption-card{padding:17px 20px;margin-top:15px}.caption-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.caption-top label{font-size:8px;letter-spacing:1.3px;color:#7d6d84}.caption-top .text-button{font-size:9px;color:#816d8e}.caption-card textarea{margin-top:12px;width:100%;font-size:11px;line-height:1.7;resize:vertical;border-color:#ede3f3;background:#fdfbfe}.caption-card textarea::placeholder{color:#796f7f}.caption-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:9px}.caption-footer>span{font-size:8px;color:#7b6e84;max-width:230px}.caption-footer .button{font-size:9px;background:#9278aa}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:28px 0 17px}.section-heading h2{font-size:18px;color:#7f698d}.section-heading p{font-size:10px;color:#7d7087;margin-top:5px}.count{font-size:10px;color:#7e6f88;background:#f0e7f6;padding:2px 6px;border-radius:4px;margin-left:6px;vertical-align:middle}.figure-library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.figure-library .empty{grid-column:1/-1;padding:30px}.figure-card{padding:15px;overflow:hidden}.figure-card .figure-number{font-size:8px;letter-spacing:1.3px;color:#806a8c}.figure-thumb{margin:12px -7px}.figure-thumb svg{width:100%;height:auto;stroke:none}.figure-card h3{font-family:var(--serif);font-size:18px;font-weight:400;color:#88689c}.figure-card p{font-size:9px;line-height:1.8;color:#816d8d;margin-top:8px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.figure-actions{border-top:1px solid #efe2f5;display:flex;gap:15px;margin-top:14px;padding-top:12px;flex-wrap:wrap}.figure-actions button{font-size:8px;color:#866b96}.figure-actions .remove{margin-left:auto;color:#826d7e}.data-details{margin-top:24px;padding:18px 20px;color:#866992;font-size:11px}.data-details summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center}.data-details summary span{font-size:9px;color:#816b8a}.data-actions{display:flex;gap:20px;margin:17px 0 6px}.data-actions button{font-size:9px;color:#8a6996}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:10px;text-align:left;color:#896697}th{font-size:8px;font-weight:500;white-space:nowrap;color:#816b8d;border-bottom:1px solid #eee0f5;padding:12px 10px}td{padding:10px;border-bottom:1px solid #f4eafa;white-space:nowrap}th:first-child,td:first-child{padding-left:0}tr:last-child td{border:0}.raw-table{max-height:310px;margin-top:15px;border-top:1px solid #ead9f3}.fineprint{font-size:9px;line-height:1.85;color:#7d7088;margin-top:13px}.reference-search{display:flex;align-items:center;gap:20px;margin:22px 0}.reference-search input{flex:1;background:#fff;font-size:11px;padding:12px;border-color:#e9def0}.reference-search input::placeholder{color:#7a6f81}.reference-search span{font-size:10px;color:#816d8d}.reference-card{padding:22px;margin:12px 0;display:flex;gap:15px}.reference-number{font:23px var(--serif);color:#806d8c;min-width:30px}.reference-content{flex:1;min-width:0}.reference-card h3{font-family:var(--serif);font-weight:400;font-size:20px;color:#87679b}.reference-card p{font-size:10px;margin:7px 0;color:#816d8f}.reference-card a{font-size:9px;overflow-wrap:anywhere;color:#866697}.reference-actions{display:flex;align-items:center;gap:15px;margin-top:13px}.reference-actions button{font-size:9px;color:#876995}.reference-actions .remove{margin-left:auto;color:#846a7e}.project-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}.project-card{padding:25px}.project-card h2{color:#866698;font-family:var(--serif);font-size:24px;font-weight:400;margin-bottom:20px}.project-card input,.project-card textarea{width:100%;font-size:11px;border-color:#e4d7ee}.project-card label{margin-top:19px}.export-card{padding:24px}.export-card h2{font-family:var(--serif);font-size:24px;color:#8a689c;font-weight:400}.export-card>p{font-size:10px;color:#806c8c;margin-top:7px;margin-bottom:18px}.export-card>button{border:0;background:none;border-top:1px solid #efe2f7;padding:15px 0;display:flex;align-items:center;gap:14px;width:100%;text-align:left;color:#886998;font-size:11px}.export-card>button>span:last-child{margin-left:auto;color:#836c90}.export-card small{display:block;font-size:9px;color:#7e6b88;margin-top:4px}.file-type{width:34px;height:39px;background:#e9edf9;border:1px solid #dfe4f3;display:grid;place-items:center;color:#667392;border-radius:5px;font-weight:600;font-size:14px;flex-shrink:0}.file-type.warm{background:#fbf0e7;border-color:#f0e2d4;color:#816e58;font-size:10px}.file-type.green{background:#ecf3ed;border-color:#dee9dc;color:#6b7965}.file-type.violet{background:#f3eafa;border-color:#eadbf4;color:#826a8e;font-size:11px}.storage-card{padding:22px 24px;margin-top:18px}.storage-title{display:flex;justify-content:space-between;align-items:center;gap:12px}.storage-title h3{font-size:13px;color:#876799}.switch-label{font-size:9px;color:#826b90;display:flex;align-items:center;gap:6px}.switch-label input{accent-color:#a37dbc}.storage-card>p{font-size:10px;color:#7f6b8a;margin:12px 0}.storage-card .button{font-size:9px;border-color:#eadbf5;color:#836895}.storage-card .fineprint{font-size:8px;line-height:1.9;margin-bottom:0}.storage-card a{color:#816991}dialog{border:1px solid #e9e0f0;border-radius:11px;padding:0;color:#856a95;background:#fff;box-shadow:0 25px 100px #39204a40;width:min(720px,calc(100% - 32px));max-height:92vh}dialog::backdrop{background:#231a3266;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 28px;border-bottom:1px solid #f0e7f6}.dialog-head h2{font:29px/1.2 var(--serif);font-weight:400;color:#88659c}.dialog-head .eyebrow{font-size:7px;color:#806c8b;margin-bottom:8px}.close{background:#fbf7fe;border:1px solid #eddef6;width:28px;height:28px;border-radius:50%;font-size:20px;line-height:1;color:#7f6a89}.dialog-body{padding:22px 28px;max-height:66vh;overflow:auto}.dialog-body>p,.dialog-intro{font-size:11px;line-height:1.9;color:#816e8e}.dialog-body textarea{width:100%;font-size:11px;line-height:1.8;resize:vertical}.dialog-body input{width:100%;font-size:11px}.dialog-body label{color:#846c93;font-size:10px;margin-top:17px}.dialog-body label:first-child{margin-top:0}.file-drop{border:1px dashed #dbc4e8;padding:17px;border-radius:7px;background:#fcf9fe;align-items:center;text-align:center;margin-top:18px!important}.file-drop input{border:0;background:none;width:auto;max-width:100%;font-size:10px}.file-drop small{font-size:9px;color:#806e8a}.import-tools{display:flex;justify-content:space-between;margin:13px 0;gap:15px}.import-tools button{font-size:9px;color:#836694}.dialog-foot{display:flex;justify-content:flex-end;align-items:center;gap:10px;background:#fdfafe;border-top:1px solid #f1e6f8;padding:17px 28px}.dialog-foot .button{font-size:10px}.dialog-foot .primary{background:#9f7bb8}.dialog-foot .secondary{color:#826c90;border-color:#e8d7f2}.message{font-size:10px;white-space:pre-wrap;line-height:1.8;color:#8b6d5b;margin-top:12px}.message.error{background:#fcf0ec;color:#926b5e;border-radius:5px;padding:10px}.message.success{background:#eff6ec;color:#697a5f;border-radius:5px;padding:10px}.large-dialog{width:min(1050px,calc(100% - 40px))}.prose{font:16px/1.9 var(--serif);color:#72607e}.prose p{color:inherit;margin:14px 0}.prose h1{font:31px/1.3 var(--serif);margin-bottom:18px}.prose h2{font:24px var(--serif);margin-top:30px}.prose h3,.prose h4,.prose h5{font-family:var(--serif);margin:20px 0 10px;font-weight:500}.prose sup{color:#8b61a0}.prose code{background:#f7effb;font-size:12px;padding:2px 4px}.prose mark{background:#fff1de;color:#876d49;font-size:12px}.section-preview{min-height:440px;padding:17px 30px 30px;overflow-wrap:anywhere}.section-preview .empty-section{color:#796f7f;font-style:italic}.manuscript-preview{padding:25px 70px 50px;max-height:75vh;overflow:auto}.manuscript-preview .authors{font:12px var(--sans);color:#7d6b88}.manuscript-preview figure{margin:25px 0}.manuscript-preview svg{width:100%;height:auto;stroke:none}.manuscript-preview figcaption{font:11px/1.8 var(--sans);color:#836c92}.insert-item{border:1px solid #ead8f5;border-radius:6px;padding:14px;text-align:left;background:#fff;color:#88659b;display:block;width:100%;font-size:11px;margin:10px 0}.insert-item small{display:block;font-size:9px;color:#806b8b;margin-top:4px}.template-label{margin-top:22px!important}#ai-prompt{margin-top:18px;background:#fbf7fd;border-color:#ecdef5;font:11px/1.8 ui-monospace,monospace;color:#856795}#toast{position:fixed;bottom:27px;left:calc(50% + 112px);transform:translate(-50%,20px);background:#695475;color:#757177;border-radius:8px;box-shadow:0 7px 25px #644b761f;padding:12px 20px;font-size:11px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:100;max-width:85vw}#toast.show{opacity:1;transform:translate(-50%,0)}.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}[hidden]{display:none!important}@media(min-width:1600px){main{padding-top:42px}.writing-grid{grid-template-columns:175px minmax(400px,1fr) 250px;gap:25px}#section-editor{min-height:540px;font-size:17px;padding:35px 45px}.paper-top{padding:30px 40px}.guide-card,.evidence-card{padding:24px}.guide-card p,.evidence-card p{font-size:12px}.guide-card h3,.evidence-card h3{font-size:24px}.format-bar{padding:7px 35px}}@media(max-width:1250px){.sidebar{width:197px;padding-left:15px;padding-right:15px}.brand{font-size:18px}.app{margin-left:197px}.topbar{padding:0 28px}main{padding:27px}.writing-grid{grid-template-columns:135px minmax(270px,1fr) 180px;gap:12px}.writing-assistant .guide-card,.writing-assistant .evidence-card{padding:17px 14px}.paper-top{padding:20px 23px}.paper-top h2{font-size:25px}.format-bar{padding:6px 17px}#section-editor{padding:23px}.figure-grid{grid-template-columns:200px minmax(0,1fr);gap:15px}.figure-library{grid-template-columns:1fr 1fr}#toast{left:calc(50% + 98px)}}@media(max-width:1050px){.sidebar{width:180px;padding:25px 13px}.brand{font-size:17px;gap:6px}.brand-sub{font-size:7px}.workspace-label{font-size:8px;padding:12px 7px}.workspace-label small{font-size:8px}.workspace-avatar{width:24px;height:26px}.app{margin-left:180px}.nav-item{font-size:10px;padding:10px}.nav-label{font-size:7px}.new-button{font-size:10px}.sidebar-note{margin:35px 8px 15px}.sidebar-note strong{font-size:16px}.sidebar-bottom{font-size:8px}.sidebar-bottom small{font-size:7px}main{padding:25px 22px}.topbar{padding:0 23px}.writing-grid{grid-template-columns:130px minmax(0,1fr)}.writing-assistant{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}.guide-card h3{font-size:18px;margin:13px 0 8px}.guide-card p,.evidence-card p{font-size:9px}.evidence-card{margin-top:0}.ai-card{padding:10px 7px}.guide-card .target-label{margin-top:13px}.evidence-card h3{font-size:19px}.page-heading h1{font-size:31px}.page-heading p{font-size:10px}.page-heading>.button{font-size:9px;padding:9px 12px}.top-actions{gap:12px}.save-state{font-size:8px}.breadcrumb{font-size:10px;gap:9px}.figure-grid{grid-template-columns:180px minmax(0,1fr);gap:12px}.plot-controls{padding:16px 13px}.plot-controls label{font-size:9px}.plot-controls input,.plot-controls select{font-size:9px;padding:7px 6px}.plot-preview-card{padding:16px}.caption-card{padding:15px}.caption-footer{align-items:flex-start;flex-direction:column;gap:8px}.caption-footer>span{max-width:none}.caption-footer .button{align-self:flex-end}.project-grid{gap:13px}.project-card,.export-card,.storage-card{padding:20px}.export-card small{font-size:8px}.project-card label{font-size:9px}#toast{left:calc(50% + 90px)}}@media(max-width:800px){.sidebar{position:relative;width:100%;inset:auto;height:auto;padding:14px 20px;display:flex;flex-direction:row;align-items:center;gap:15px;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:15px;gap:4px;margin-right:auto}.logo{font-size:27px;height:31px;width:29px}.brand-sub{font-size:6px;letter-spacing:3px;margin-top:5px}.workspace-label,.new-button,.nav-label,.sidebar-note,.sidebar-bottom{display:none}.sidebar nav{flex-direction:row;gap:3px}.nav-item{font-size:0;padding:9px;gap:0}.nav-item svg{width:17px;height:17px}.nav-item span{display:none}.app{margin-left:0}.topbar{height:56px;padding:0 22px}.top-actions{gap:15px}.privacy{font-size:9px}.topbar .button{padding:6px 9px;font-size:9px}.topbar .button svg{width:13px;height:13px}.save-state{font-size:8px}main{padding:25px 22px}.page-heading{margin-bottom:22px}.writing-grid{grid-template-columns:135px minmax(0,1fr);gap:14px}.writing-assistant{gap:14px}.guide-card p,.evidence-card p{font-size:10px}.figure-grid{grid-template-columns:190px minmax(0,1fr);gap:14px}.figure-library{grid-template-columns:1fr 1fr}.project-grid{grid-template-columns:1fr 1fr}#toast{left:50%}footer{font-size:7px}.manuscript-preview{padding:25px 40px 40px}}@media(max-width:600px){.sidebar{padding:12px 16px}.brand{font-size:15px}.nav-item{padding:8px}.topbar{padding:0 17px}.breadcrumb{font-size:9px;gap:8px}.save-state{font-size:7px}.top-actions{gap:9px}.privacy{display:none}main{padding:23px 16px}.page-heading{display:block}.page-heading h1{font-size:31px}.eyebrow{font-size:7px;letter-spacing:1.5px}.page-heading p{font-size:10px;line-height:1.8}.page-heading>.button{margin-top:15px;width:100%;padding:10px}.manuscript-meta{align-items:flex-start;padding:15px 0;gap:10px;margin-bottom:17px}.title-label input{font-size:12px}.meta-tags{gap:5px}.meta-tags .tag{font-size:7px}.meta-tags .subtle{font-size:7px}.writing-grid{display:flex;flex-direction:column;gap:15px}.outline{width:100%;padding:10px 12px}.outline .panel-label{padding:0 0 7px;font-size:7px}.outline .panel-label>span{display:none}#section-list{display:flex;gap:4px;overflow:auto}.section-button{width:auto;white-space:nowrap;padding:7px 9px;font-size:9px}.section-button .section-number{font-size:7px}.section-button .section-dot{margin-left:3px;width:3px;height:3px}.outline-foot{display:none}.add-section{padding:7px 2px 0;font-size:8px}.editor-column{width:100%}.paper-top{padding:19px 21px}.paper-top h2{font-size:26px}.paper-top .text-button{font-size:8px}.format-bar{padding:6px 15px}.format-bar .format-hint{font-size:6px}.format-bar button{font-size:11px;min-width:24px}#section-editor{min-height:350px;padding:21px 22px;font-size:16px}.paper-footer{font-size:7px;padding:11px 18px}.editor-bottom-note{font-size:7px}.writing-assistant{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:12px}.guide-card,.evidence-card{padding:17px!important}.guide-card h3,.evidence-card h3{font-size:20px}.guide-card p,.evidence-card p{font-size:9px}.guide-card .panel-label{font-size:6px}.evidence-icon{height:15px}.evidence-icon svg{width:18px;height:18px}.ai-card{grid-column:1/-1;padding:3px 2px}.ai-card p{margin-top:7px;font-size:9px;display:inline}.ai-card .tag{display:block;width:fit-content;margin-bottom:6px;font-size:6px}.ai-card .text-button{display:block;margin-top:6px;font-size:9px}.notice{font-size:9px;line-height:1.8;align-items:flex-start;flex-direction:column}.notice .tag{font-size:6px}.figure-grid{display:flex;flex-direction:column;gap:15px}.figure-grid>*{width:100%}.plot-controls{display:grid;grid-template-columns:1fr 1fr;gap:0 12px;padding:16px}.plot-controls .panel-label{grid-column:1/-1;margin-bottom:0}.plot-controls label{font-size:9px;margin-top:12px}.plot-controls input,.plot-controls select{font-size:10px}.control-divider{display:none}.plot-controls>.two-fields{grid-column:1/-1}.plot-controls .control-help{grid-column:1/-1;font-size:8px;margin-top:12px}.plot-preview-card{padding:15px 12px}.plot-preview-top h3{font-size:9px}.plot-preview-top .panel-label{font-size:7px}.plot-preview-top .button{font-size:8px;padding:5px 7px}.plot-preview{min-height:220px;margin-top:12px}.plot-preview svg{min-width:520px}.caption-top label{font-size:7px}.caption-top .text-button{font-size:8px}.caption-card{padding:14px}.caption-card textarea{font-size:11px}.caption-footer .button{font-size:9px}.figure-library{grid-template-columns:1fr}.figure-card{padding:17px}.figure-card h3{font-size:21px}.figure-card p{font-size:10px}.figure-actions button{font-size:10px}.data-details{font-size:10px;padding:16px}.data-details summary span{font-size:8px}.section-heading h2{font-size:20px}.section-heading p{font-size:10px}.reference-search{gap:10px}.reference-search input{font-size:10px}.reference-search span{font-size:8px;white-space:nowrap}.reference-card{padding:18px 15px;gap:8px}.reference-card h3{font-size:20px}.reference-card p{font-size:10px}.reference-actions button{font-size:9px}.project-grid{grid-template-columns:1fr;gap:17px}.project-card,.export-card,.storage-card{padding:21px}.export-card small{font-size:9px}.storage-title h3{font-size:14px}.storage-card>p{font-size:11px}.project-card label{font-size:10px}.project-card input,.project-card textarea{font-size:12px}footer{font-size:7px;margin-top:27px;flex-wrap:wrap;gap:8px}footer>span:last-child{font-size:6px}.dialog-head{padding:20px}.dialog-head h2{font-size:25px}.dialog-head .eyebrow{font-size:6px;letter-spacing:1.3px}.dialog-body{padding:19px 20px;max-height:65vh}.dialog-body label{font-size:10px}.dialog-foot{padding:15px 20px;gap:7px}.dialog-foot .button{font-size:9px;padding:8px 10px}.import-tools{gap:7px}.import-tools .text-button{font-size:8px}.manuscript-preview{padding:20px 25px 35px}.prose{font-size:15px}.prose h1{font-size:26px}.prose h2{font-size:22px}.large-dialog{width:calc(100% - 20px)}.message{font-size:10px}.file-drop input{font-size:9px}}

/* Readable controls at desktop and touch sizes. */
.nav-item{font-size:12px}.plot-controls label,.project-card label,.dialog-body label{font-size:11px}.plot-controls input,.plot-controls select{font-size:11px}.panel-label{font-size:9px}.format-bar .format-hint{font-size:9px}.format-bar button{font-size:13px}.text-button{font-size:11px}.guide-card p,.evidence-card p{font-size:11px}.section-button{font-size:11px}.paper-footer{font-size:10px}.section-index{font-size:9px}.guide-card .panel-label{font-size:9px}.caption-footer>span{font-size:10px}.caption-card textarea{font-size:12px}.ai-card p{font-size:10px}.control-help{font-size:10px}.notice{font-size:11px}.save-state{font-size:10px}.sidebar-bottom{font-size:10px}.reference-card p{font-size:12px}.reference-card a{font-size:11px}.export-card small{font-size:10px}.storage-card>p{font-size:11px}.fineprint{font-size:10px}.plot-preview-top h3{font-size:11px}th{font-size:10px}td{font-size:11px}.figure-card p{font-size:11px}@media(max-width:800px){.nav-item{font-size:0}.save-state{font-size:9px}}@media(max-width:600px){.text-button{font-size:10px}.save-state{font-size:8px}.format-bar .format-hint{font-size:7px}.paper-footer{font-size:9px}.guide-card p,.evidence-card p{font-size:10px}.section-button{font-size:10px}.notice{font-size:10px}}
/* Research data and evidence workflow */
.example-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:24px}.example-button{background:#fff;border:1px solid #dddfe8;border-radius:12px;padding:17px;text-align:left;cursor:pointer;min-height:99px;color:#252b38}.example-button:hover,.example-button:focus-visible{border-color:#6657aa;background:#f4f1fa}.example-button strong{display:block;font-size:14px;margin-bottom:8px}.example-button small{display:block;color:#666477;line-height:1.5}.example-section .section-heading{margin:10px 0 16px}.filter-settings{margin:12px 0;padding:12px;background:#f5f4f8;border-radius:8px}.filter-settings summary{cursor:pointer;font-size:12px;margin-bottom:10px}.pubmed-card{padding:27px;margin-bottom:24px}.pubmed-card p,.project-card p{font-size:13px;line-height:1.7;color:#625e70}.search-row{display:flex;gap:12px}.search-row input{flex:1;min-width:0}.search-row .button{flex-shrink:0}.pubmed-result{padding:20px 0;border-top:1px solid #e4e3eb}.pubmed-result h3{font-size:16px;line-height:1.5;margin:0 0 8px}.pubmed-result .abstract{font-size:13px;line-height:1.8;white-space:pre-wrap;color:#4d4d60}.pubmed-result details{margin:12px 0}.pubmed-result summary{cursor:pointer;font-size:12px;color:#514286}.draft-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);gap:22px}.draft-grid .project-card{margin-bottom:22px}.draft-actions .button{width:100%;margin-top:14px;justify-content:center}.check-label{display:flex!important;gap:10px;align-items:flex-start;font-size:12px!important;font-weight:400!important;line-height:1.7!important}.check-label input{width:auto!important;flex-shrink:0;margin-top:4px}.dataset-row{padding:15px 0;border-bottom:1px solid #e4e3eb;display:flex;align-items:center;gap:15px;justify-content:space-between}.dataset-row strong{display:block;font-size:13px}.dataset-row small{display:block;color:#625e70;font-size:11px;margin-top:5px}.source-mini{font-size:12px;line-height:1.7;border-top:1px solid #e4e3eb;padding:12px 0}.source-mini a{color:#514286}.reference-content details{margin-top:10px;font-size:12px;line-height:1.7}.reference-content summary{cursor:pointer}.reference-content .abstract{white-space:pre-wrap}.draft-actions .tag{margin-bottom:12px}#generated-checks{display:block;white-space:pre-wrap;margin-bottom:24px}#generated-preview h2{margin-top:30px}#toast{color:#fff;background:#393148}.plot-controls{max-height:none}.ai-card .text-button{display:block;margin-top:12px}.plot-preview svg{max-width:100%;height:auto}.source-badge{display:inline-block;margin:5px 0;font-size:10px;color:#514286;background:#eeebf7;border-radius:4px;padding:4px 8px}
@media(max-width:1100px){.example-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.draft-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:600px){.example-gallery{grid-template-columns:1fr 1fr}.example-button{padding:12px}.search-row{flex-direction:column}.draft-grid{display:block}.pubmed-card{padding:18px}.draft-grid .project-card{padding:18px}}
