@charset "UTF-8";
.page>section,.page>nav{margin-bottom:28px}.jump-nav{display:flex;flex-wrap:wrap;gap:20px;border-block:1px solid var(--line);padding:16px 0;font-size:.88rem}.writing-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:20px;align-items:start}.library{padding:20px;max-height:1050px;overflow:auto;scrollbar-gutter:stable}.search-field{margin-top:20px}.tree-chapter{margin:16px 0;padding:12px 0;border-top:1px solid var(--line)}.tree-heading{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.tree-heading>button:first-child{flex:1;text-align:left;justify-content:start;background:#edf1e5;border-color:var(--line);color:var(--ink);overflow-wrap:anywhere}.tree-entry{display:flex;gap:6px;align-items:start;padding:8px 0 0}.tree-entry>button:first-child{flex:1;justify-content:start;text-align:left;background:white;color:var(--ink);border-color:var(--line);overflow-wrap:anywhere}.tree-entry.current>button:first-child{border:2px solid var(--green);background:#edf2e7}.tree-controls{display:flex;gap:4px}.tree-controls button{padding:7px;min-width:36px;font-size:.8rem}.add-scene{margin-top:10px;width:100%}.notes-head{margin:24px 0 12px;align-items:center}.notes-head h3{margin:0}.notes-head button{padding:8px}.editor-heading{display:flex;justify-content:space-between;gap:12px;align-items:start;margin-bottom:20px}.editor-heading h3{margin:0;overflow-wrap:anywhere}.editor-heading .eyebrow{letter-spacing:.05em;overflow-wrap:anywhere}#entry-body{font-family:"Segoe UI","Microsoft YaHei",sans-serif;font-size:17px;line-height:1.9;min-height:390px;tab-size:4}#entry-synopsis{font-size:.9rem}#editor-status{overflow-wrap:anywhere;white-space:pre-wrap}.prose-field{margin-bottom:8px}.confirmation{border:2px solid #83945e}.secondary-grid{margin-top:24px}.move-field{margin-top:20px}hr{border:0;border-top:1px solid var(--line);margin:24px 0}#version-list{padding-left:24px}#version-list li{padding:14px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}#version-list p{margin:0 0 8px}#trash-list>div{padding:14px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}#capacity{margin-top:20px}#checkpoint{margin-bottom:10px}.file-button{position:relative;display:inline-flex;align-items:center;padding:10px 18px;min-height:44px;border:1px solid #cbd4c8;border-radius:9px;background:white;font-weight:600;cursor:pointer;overflow:hidden}.file-button input{position:absolute;inset:0;opacity:0;cursor:pointer}.file-button:focus-within{outline:3px solid #8ba64a;outline-offset:4px}.manuscript-actions{margin:18px 0}#manuscript-preview,#import-preview{margin-top:24px}#manuscript-frame{width:100%;height:650px;border:1px solid var(--line);background:white;margin-top:14px}#preview-content{max-height:320px;overflow:auto}.editor-panel.focused{position:fixed;inset:0;z-index:100;overflow:auto;border-radius:0;padding:24px max(24px,calc((100vw - 1000px)/2));background:#fafbf6}.editor-panel.focused #entry-body{min-height:55vh}.editor-panel.focused .editor-heading{position:sticky;top:-24px;padding:16px 0;background:#fafbf6;z-index:1}.editor-panel.focused .editor-heading .eyebrow{display:none}.editor-panel.focused #entry-synopsis{max-height:100px}.editor-panel.focused>p{margin-top:16px}.editor-panel.focused .prose-field{margin-top:16px}
@media(max-width:900px){.writing-layout{grid-template-columns:240px minmax(0,1fr)}}@media(max-width:700px){.writing-layout{grid-template-columns:1fr}.library{max-height:420px}.editor-heading{flex-wrap:wrap}.editor-heading>div{width:100%}#entry-body{font-size:17px;min-height:440px}.editor-panel.focused{padding:18px}.editor-panel.focused .editor-heading{top:-18px}.jump-nav{gap:10px 18px}.editor-panel.focused #entry-body{min-height:50vh}}
