:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#24392f;background:#f3f5f2;font-synthesis:none;font-size:16px;--green:#234a3a;--dark:#18382d;--muted:#79867d;--line:#e2e7e0;--paper:#fff;--gold:#ba9e69}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button{background:none;border:0}button:disabled{opacity:.45;cursor:default}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}input,select,textarea{border:1px solid #d7dfd5;background:#fff;border-radius:8px;padding:12px 13px;color:#24392f;max-width:100%}input:focus,select:focus,textarea:focus{outline:2px solid #8ca995;outline-offset:2px}label{display:block;font-size:14px;font-weight:600;margin:20px 0}label input,label textarea,label select{display:block;width:100%;margin-top:8px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-weight:500}h1,h2,.document-title{font-family:Georgia,Times New Roman,serif}h1{letter-spacing:-1.4px}button:focus-visible,a:focus-visible{outline:2px solid #809b89;outline-offset:3px;border-radius:5px}.primary,.secondary,.text-button,.save-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:7px;font-size:14px;font-weight:600;padding:11px 16px;white-space:nowrap;min-height:42px}.primary{background:var(--green);border:1px solid var(--green);color:#fff}.primary:hover{background:#183d2c;text-decoration:none}.secondary{border:1px solid #dbe2d8;background:#fff}.secondary:hover{background:#f3f6f2}.text-button{font-size:13px;padding:5px 7px;min-height:34px}.text-button:hover{background:#edf2ec;text-decoration:none}.icon-button{display:inline-flex;align-items:center;justify-content:center;border-radius:6px;width:36px;min-height:36px;flex-shrink:0}.icon-button:hover{background:#eaf0e8}.eyebrow{display:block;font-size:11px;font-weight:700;letter-spacing:1.7px;color:#7b8b7e}.muted{color:#7b867e;font-size:14px;line-height:1.7}.secondary-meta{font-size:12px;color:#94a095}.error{color:#a54438;font-size:14px;line-height:1.6}.buttons{display:flex;gap:10px;flex-wrap:wrap}.loading{height:100dvh;display:flex;align-items:center;justify-content:center;gap:12px}.wordmark{display:flex;align-items:center;gap:10px;font-size:21px;font-family:Georgia,serif}.login{min-height:100dvh;display:grid;grid-template-columns:1.1fr 1fr;background:#fcfdfb}.login-art{position:relative;min-height:100dvh;background:#183c2d;overflow:hidden;color:#fff}.login-art>img{position:absolute;width:100%;height:100%;object-fit:cover;filter:brightness(.58)}.login-art:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#102d24cc,transparent 70%)}.login-art>div{position:absolute;z-index:1;left:12%;bottom:12%}.login-art h1{font-size:clamp(44px,5vw,76px);line-height:1.08;font-weight:400;margin:30px 0 24px;letter-spacing:-2px}.login-art p{font-size:17px;line-height:1.7;color:#e1e9df}.login-form{width:380px;max-width:100%;align-self:center;justify-self:center;padding:40px 20px}.login-form .wordmark{margin-bottom:80px}.login-form h2{font-size:44px;margin:14px 0}.login-form>p{color:#7c887d;line-height:1.7}.login-form label{margin-top:38px}.login-form>input{width:100%;margin:0 0 18px}.login-form .primary{width:100%;justify-content:space-between;padding:14px 17px}.login-note{margin-top:35px;font-size:12px;color:#98a397;display:flex;gap:7px;align-items:center}.studio{height:100dvh;overflow:hidden;display:flex;flex-direction:column}.topbar{height:72px;min-height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:22px;padding:0 30px;z-index:10}.brand{display:flex;align-items:center;gap:12px;white-space:nowrap;font-size:21px;font-family:Georgia,serif;padding:0}.brand-icon{background:#eaf0e8;width:38px;height:38px;border-radius:10px;display:grid;place-items:center;color:var(--green)}.top-divider{height:22px;width:1px;background:var(--line);margin:0 3px}.book-name{font-size:14px;display:flex;align-items:center;gap:10px;color:#697c6c;max-width:40%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-caption{font-size:13px;color:#8c988e}.top-actions{margin-left:auto;display:flex;align-items:center;gap:12px}.top-search{display:flex;align-items:center;gap:9px;color:#8a978b;font-size:13px;margin-right:7px}.avatar{background:#e7ede5;font-size:12px;width:33px;height:33px;border-radius:50%;font-weight:600;color:#54705b}.mobile-menu{display:none}.library-view{overflow:auto;padding:64px max(5vw,32px);height:100%}.view-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:35px}.view-heading .eyebrow{margin-bottom:14px}.view-heading h1{font-size:43px;line-height:1.15;margin:0 0 13px;font-weight:400}.view-heading p{color:#829080;font-size:14px;line-height:1.7;margin-bottom:0}.book-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:30px;max-width:1100px}.library-book{padding:0;text-align:left;max-width:340px}.library-cover{height:330px;position:relative;background:var(--dark);border-radius:4px 9px 9px 4px;box-shadow:4px 8px 18px #233f2720;overflow:hidden;border-left:10px solid #102e21}.library-cover>img{width:100%;height:100%;object-fit:cover;opacity:.5}.library-cover>div{position:absolute;inset:0;padding:35px 30px;display:flex;flex-direction:column;align-items:center;text-align:center;color:#fff;background:linear-gradient(#193e2c11,#12302799)}.library-cover h2{margin:auto 0;font-size:34px;line-height:1.15}.library-cover p{font-size:12px;letter-spacing:1.2px;margin:0}.library-book-info{padding:20px 3px}.library-book-info h3{font:21px Georgia,serif;margin:0 0 10px}.library-book-info p{font-size:12px;color:#899689;display:flex;gap:10px}.library-book-info>span{display:flex;align-items:center;gap:6px;color:#56745c;font-size:13px}.new-book-card{max-width:340px;min-height:330px;align-self:start;border:1px dashed #cfd9ca;border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#8b9a87;padding:30px}.new-book-card h3{font:23px Georgia,serif;max-width:170px;margin:22px 0 12px;line-height:1.3}.new-book-card p{font-size:13px}.new-book-card:hover{background:#eaf0e7}.library-foot{display:flex;gap:10px;align-items:center;margin-top:55px;color:#8f9b8c;font-size:13px;font-family:Georgia,serif}.library-foot p{margin:0}.workspace{display:flex;min-height:0;flex:1}.sidebar{width:270px;min-width:270px;background:#f8faf6;border-right:1px solid var(--line);display:flex;flex-direction:column;overflow:hidden}.back-library{display:flex;align-items:center;gap:8px;padding:22px 24px 10px;font-size:12px;color:#8a9786}.sidebar-book{padding:22px 25px 25px}.sidebar-book .eyebrow{font-size:9px;letter-spacing:1.5px}.sidebar-book h2{font-size:25px;line-height:1.17;margin:13px 0 11px;letter-spacing:-.3px}.sidebar-book p{font-size:12px;color:#96a08f;margin:0}.workspace-nav{padding:0 16px 16px;display:grid;gap:3px}.workspace-nav button,.sidebar-bottom>button{display:flex;align-items:center;gap:12px;padding:12px;border-radius:7px;font-size:13px;text-align:left;color:#738371}.workspace-nav button span,.sidebar-bottom button span{margin-left:auto;color:#8fa087;font-size:12px}.workspace-nav button.active,.sidebar-bottom>button.active{background:#e9efe4;color:#2c553b;font-weight:600}.workspace-nav button:hover,.sidebar-bottom>button:hover{background:#edf2e9}.chapter-list-label{display:flex;align-items:center;justify-content:space-between;padding:0 22px;color:#8e9b85;font-size:9px;letter-spacing:1.3px;font-weight:700}.chapter-tree{padding:5px 13px 20px;overflow:auto;flex:1;scrollbar-width:thin}.tree-chapter{display:flex;align-items:center;gap:10px;text-align:left;width:100%;font-size:12px;line-height:1.5;padding:10px 9px;border-radius:6px;color:#6f806a}.tree-number{color:#a1ae98;font-size:10px;min-width:16px}.tree-chapter>span:nth-child(2){flex:1}.tree-status{width:5px;height:5px;border-radius:50%;background:#cbd4c2;flex-shrink:0}.tree-status.review{background:#bda06c}.tree-status.complete{background:#72a084}.tree-chapter:hover,.tree-idea:hover{background:#edf2e9}.tree-chapter.active,.tree-idea.active{background:#e5eddc;color:#2c5439;font-weight:600}.tree-idea{display:flex;gap:8px;text-align:left;font-size:11px;line-height:1.6;width:calc(100% - 27px);margin:2px 0 2px 27px;padding:8px;border-radius:5px;color:#7b8e72}.tree-idea svg{flex-shrink:0;margin-top:2px}.sidebar-bottom{border-top:1px solid var(--line);padding:12px 16px 18px}.sidebar-bottom>button{width:100%;font-size:12px;padding:11px 10px}.sidebar-bottom>div{display:flex;align-items:center;gap:7px;color:#a2ad9a;font-size:10px;padding:16px 9px 0}.main-panel{min-width:0;flex:1;display:flex;flex-direction:column;background:#f3f5f2}.workspace-tabs{height:56px;min-height:56px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px;background:#fbfcfa}.workspace-tabs>div{display:flex;align-items:center;height:100%;gap:25px}.workspace-tabs button{display:flex;align-items:center;gap:7px;height:100%;font-size:12px;color:#94a08c;border-bottom:2px solid transparent;padding:0 2px}.workspace-tabs button.active{color:#375f41;border-bottom-color:#41674b}.workspace-tabs>span{font-size:11px;color:#94a18c}.view-scroll{overflow:auto;flex:1;min-height:0;padding:38px 40px 60px;scrollbar-width:thin}.outline-view .view-heading h1{font-size:38px}.outline-view .view-heading{margin-bottom:26px}.outline-view .view-heading p{font-size:13px}.outline-guide{display:flex;gap:7px;align-items:center;font-size:11px;color:#95a08b;padding:15px 0 20px}.guide-meta{margin-left:auto}.outline-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px;max-width:1250px}.chapter-card{border:1px solid #dfe5d9;border-radius:10px;overflow:hidden;background:#fff;box-shadow:0 3px 6px #27462903}.chapter-card.dragging{z-index:20;opacity:.85;box-shadow:0 20px 50px #243b2d40}.card-top{height:174px;position:relative;background:#69816a;overflow:hidden}.card-top>img{width:100%;height:100%;object-fit:cover;opacity:.8}.card-shade{position:absolute;inset:0;background:linear-gradient(180deg,#15372822,#153728aa)}.drag-handle{position:absolute;z-index:1;left:10px;top:10px;color:#fff;background:#24452e44;border:1px solid #ffffff30;border-radius:5px;width:32px;height:32px;display:grid;place-items:center;touch-action:none;cursor:grab}.status{position:absolute;right:12px;top:14px;border-radius:5px;padding:5px 8px;font-size:9px;letter-spacing:.3px;font-weight:500;background:#fffd;color:#425f43}.status-review{background:#faf5dfed;color:#7e6e39}.status-outline{background:#eaf0e4e8;color:#718365}.status-complete{background:#def3e0e8;color:#386d44}.card-title{position:absolute;bottom:23px;left:23px;right:20px;color:#fff;cursor:pointer}.card-title small{font-size:9px;letter-spacing:1.6px;color:#dbe7d1}.card-title h3{font:26px/1.1 Georgia,serif;margin:9px 0 0;letter-spacing:-.4px}.card-content{padding:21px 23px 13px}.card-summary{font-size:12px;line-height:1.8;color:#8a9780;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:63px;margin-bottom:14px}.card-meta{display:flex;justify-content:space-between;align-items:center;color:#9aa68f;font-size:10px;gap:10px;padding-bottom:13px}.card-meta>div{display:flex;align-items:center;gap:0}.card-meta .icon-button{width:27px;min-height:28px}.card-meta .icon-button svg{width:13px}.card-meta .text-button{font-size:11px;color:#567846;margin-left:7px}.card-ideas{border-top:1px solid #edf0e8;padding-top:12px}.ideas-label{display:flex;align-items:center;gap:7px;color:#809372;font-size:10px;font-weight:600}.ideas-label button{margin-left:auto;display:grid;place-items:center;width:28px;min-height:28px}.empty-idea{color:#aab39e;font-size:11px;padding:9px 0 3px;text-align:left}.idea-row{width:100%;display:flex;gap:7px;align-items:center;padding:10px 0;text-align:left;font-size:11px;color:#718965}.idea-row>svg:last-child{margin-left:auto}.empty-state{min-height:350px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#7b9070;text-align:center;gap:8px}.empty-state h2{font-size:29px;margin:14px 0 5px}.empty-state p{font-size:13px;line-height:1.7}.empty-state .primary{margin-top:12px}.writing-layout{display:flex;min-height:0;flex:1}.writer{flex:1;min-width:0;display:flex;flex-direction:column;background:#f1f4ee}.document-bar{height:49px;min-height:49px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;border-bottom:1px solid #e4e8de;background:#fafcf8}.document-bar>div{display:flex;align-items:center;gap:13px}.save-state{display:flex;align-items:center;gap:6px;font-size:10px;color:#a58a57}.save-state.saved{color:#7d9670}.save-dot{width:5px;height:5px;background:currentColor;border-radius:50%}.document-bar .text-button{font-size:11px;color:#829473}.save-button{padding:6px 13px;min-height:30px;font-size:11px;background:#edf3e6;border:1px solid #d4dfc8;color:#587146}.format-toolbar{display:flex;align-items:center;justify-content:center;gap:3px;flex-wrap:wrap;min-height:48px;padding:7px 12px;border-bottom:1px solid #e2e8db;background:#fff}.format-toolbar>button{width:30px;height:31px;display:grid;place-items:center;border-radius:4px;color:#7f8e76}.format-toolbar>button:hover,.format-toolbar>button.active{background:#e6eedf;color:#34593b}.format-toolbar>select{font-size:11px;border:none;border-radius:3px;padding:6px 24px 6px 5px;color:#738469;background:#fff;margin-right:4px}.toolbar-line{height:18px;width:1px;background:#e4e9de;margin:0 7px}.paper-scroll{flex:1;overflow:auto;padding:32px 30px 45px;scrollbar-width:thin}.paper{max-width:780px;margin:0 auto;background:#fff;border:1px solid #e3e8dd;box-shadow:0 4px 16px #25442805;min-height:650px}.chapter-photo{height:176px;position:relative;margin:0;overflow:hidden}.chapter-photo>img{height:100%;width:100%;object-fit:cover;object-position:center 45%}.chapter-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent,#18382344)}.chapter-photo figcaption{position:absolute;bottom:12px;left:28px;color:#ffffffdf;font-size:9px;z-index:1;text-shadow:0 1px 6px #0005}.chapter-photo>button{position:absolute;right:14px;bottom:10px;z-index:1;display:flex;align-items:center;gap:6px;background:#ffffffe0;border-radius:4px;font-size:10px;padding:6px 8px;color:#55744b}.paper-heading{padding:35px 50px 6px}.chapter-kicker{display:flex;gap:7px;align-items:center;font-size:9px;letter-spacing:1px;color:#9ca88f;font-weight:600;line-height:1.7}.chapter-kicker select{margin-left:auto;border:0;padding:5px 8px;font-size:9px;letter-spacing:0;background:#f1f5ec;color:#879675;width:auto}.document-title{width:100%;border:none;resize:none;font-size:37px;line-height:1.15;font-weight:400;letter-spacing:-.8px;padding:0;border-radius:0;background:transparent;margin:20px 0 4px;overflow:hidden;color:#2c4933}.document-title:focus{outline:none}.manuscript-body{outline:none!important;padding:8px 50px 40px;min-height:250px;font:18px/1.95 Georgia,serif;color:#4d5d47;overflow-wrap:break-word}.manuscript-body p{margin:0 0 20px}.manuscript-body h1{font-size:31px}.manuscript-body h2{font-size:26px}.manuscript-body h3{font-size:23px}.manuscript-body blockquote{border-left:3px solid #b5c2a6;margin:25px 0;padding:0 0 0 24px;font-style:italic;color:#7d8f70}.manuscript-body p.is-editor-empty:first-child:before{color:#b4bdaa;content:attr(data-placeholder);float:left;height:0;pointer-events:none}.manuscript-body li p{margin-bottom:5px}.manuscript-body ul,.manuscript-body ol{padding-left:25px}.manuscript-body mark{background:#f1e5a4;border-radius:2px}.manuscript-body a{color:#527b43;text-decoration:underline}.paper-end{display:flex;justify-content:center;padding:0 0 35px;color:#c1cdb5}.chapter-notes{max-width:780px;margin:28px auto 0;padding:0 12px}.chapter-notes .eyebrow{font-size:9px;margin-bottom:12px;color:#93a085}.chapter-notes textarea{background:transparent;border:none;width:100%;font-size:12px;line-height:1.8;resize:vertical;color:#8b9b7c;padding:0;min-height:80px}.chapter-notes textarea:focus{outline:none}.writer-footer{height:36px;min-height:36px;display:flex;gap:14px;align-items:center;padding:0 22px;border-top:1px solid #dfe7d6;background:#f9fcf5;font-size:9px;color:#98a68a}.footer-right{margin-left:auto;font-style:italic;font-family:Georgia,serif;font-size:11px}.idea-inspector{width:240px;min-width:240px;background:#fafcf7;border-left:1px solid var(--line);padding:25px 20px;overflow:auto}.inspector-title{display:flex;align-items:center;gap:8px;color:#718963}.inspector-title h3{font-size:12px;font-weight:600;margin:0}.idea-inspector>p{font-size:11px;color:#9eab91;line-height:1.8;margin-top:16px}.idea-inspector>select{width:100%;margin-top:20px;font-size:12px}.inspector-idea{display:grid;grid-template-columns:18px 1fr;gap:7px;width:100%;background:#fff;border:1px solid #e2e8da;border-radius:7px;text-align:left;padding:13px 10px;margin:10px 0;color:#779269}.inspector-idea strong{font-size:12px;font-weight:500;line-height:1.5}.inspector-idea small{grid-column:2;color:#acb69f;font-size:9px}.add-idea-button{display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;color:#819773;border:1px dashed #d3dec8;width:100%;padding:11px;border-radius:6px;margin-top:18px}.dot-hint{border-top:1px solid var(--line);margin-top:35px;padding-top:20px;color:#a6b59b;display:flex;gap:9px}.dot-hint p{font-size:10px;line-height:1.9;margin:0}.dot-hint svg{min-width:17px;margin-top:3px}.inline-error{display:flex;align-items:center;gap:9px;padding:12px 22px;color:#a65f49;font-size:12px;background:#fff4eb}.conflict{background:#fff8df;padding:15px 22px;font-size:12px}.conflict p{margin:0 0 10px}.conflict button{border:1px solid #dbcda5;border-radius:4px;padding:6px 9px;margin:0 7px 7px 0}.is-focused .sidebar,.is-focused .workspace-tabs,.is-focused .topbar{display:none}.is-focused .paper{max-width:790px}.is-focused .paper-scroll{padding-top:55px}.modal-scrim{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:25px;background:#10291d66;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal{width:480px;max-width:100%;max-height:90dvh;overflow:auto;background:#fff;border:1px solid #d8e1d0;border-radius:14px;padding:28px;box-shadow:0 30px 90px #163a2866}.modal.wide{width:780px}.modal>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:15px}.modal>header h2{font-size:28px;margin:0;letter-spacing:-.3px}.modal p{line-height:1.7}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.modal form>button.primary{margin-top:15px}.modal textarea{resize:vertical}.modal .muted{font-size:13px}.history-layout{display:grid;grid-template-columns:210px 1fr;gap:22px;min-height:300px}.history-list{border-right:1px solid var(--line);padding-right:15px;max-height:450px;overflow:auto}.history-list button{display:block;width:100%;text-align:left;font-size:11px;border-radius:5px;padding:11px 8px}.history-list button.active{background:#edf3e6}.history-list small{display:block;font-size:9px;color:#a6b299;margin-top:7px}.history-preview{max-height:450px;overflow:auto;font-size:13px}.history-preview h3{font:23px Georgia,serif}.history-preview .primary{margin-top:22px}.rich-view{font:18px/1.9 Georgia,serif;color:#53664c;overflow-wrap:break-word}.rich-view p{margin-bottom:22px}.rich-view h1{font-size:32px}.rich-view h2{font-size:27px}.rich-view h3{font-size:23px}.rich-view blockquote{border-left:2px solid #b6c7a6;padding-left:20px;margin:25px 0}.settings-tabs{display:flex;gap:20px;border-bottom:1px solid var(--line);margin-bottom:25px}.settings-tabs button{padding:12px 0;color:#9baa8f;font-size:12px;border-bottom:2px solid transparent}.settings-tabs button.active{border-bottom-color:#537f42;color:#537f42}.settings-tabs~div h3{font:27px Georgia,serif}.backup-list{max-height:230px;overflow:auto}.backup-list a{display:flex;gap:12px;align-items:center;font-size:12px;border-top:1px solid #edf1e6;padding:12px 3px}.backup-list a span:nth-child(3){margin-left:auto;color:#a3b096}.dot-panel{padding:12px 5px 20px;text-align:center}.dot-mark{width:60px;height:60px;display:grid;place-items:center;border-radius:15px;background:#e8f0df;margin:0 auto 22px;color:#5f854a}.dot-panel h3{font:29px Georgia,serif;margin-top:15px}.dot-panel p{font-size:14px;color:#8c9f7e;line-height:1.8}.prompt-example{background:#f3f6ee;border:1px solid #e0e9d6;border-radius:9px;font:18px/1.7 Georgia,serif;padding:25px;margin:25px 0;color:#62814f;text-align:left}.photos-view .view-heading h1{font-size:36px}.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.photo-tile{border:1px solid #dde6d3;border-radius:9px;overflow:hidden;background:#fff}.photo-tile>img{width:100%;height:170px;object-fit:cover}.photo-tile>div{padding:15px}.photo-tile h3{font-size:12px;line-height:1.5;margin:0 0 10px}.photo-tile p{font-size:10px;color:#9aaa8d}.photo-tile .text-button{font-size:10px;padding-left:0}.photo-preview{max-height:250px;max-width:100%;object-fit:contain;border-radius:5px;display:block;margin:auto}.reader-shell{display:flex;flex-direction:column;flex:1;min-height:0;background:#e8eee2}.reader-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 28px;background:#f7faf3;border-bottom:1px solid #dce6d2}.reader-controls select{font-size:11px;max-width:55%;padding:8px 12px}.reader-controls>div{display:flex;gap:12px}.reader-controls .text-button{font-size:11px}.reader-page{overflow:auto;flex:1;padding:35px;scrollbar-width:thin}.book-cover{height:650px;max-width:500px;position:relative;margin:auto;background:#153c25;border-radius:3px 7px 7px 3px;overflow:hidden;box-shadow:5px 10px 28px #324b2b33;border-left:12px solid #12341f}.book-cover>img{position:absolute;width:100%;height:100%;object-fit:cover;opacity:.5}.book-cover>div{position:absolute;inset:0;background:linear-gradient(#133b2411,#16381dcc);display:flex;flex-direction:column;align-items:center;padding:55px 35px;text-align:center;color:#fff}.book-cover h1{font-size:58px;line-height:1.05;font-weight:400;margin:90px 0 20px;letter-spacing:-2px}.book-cover p{font:20px Georgia,serif;color:#dce7ce}.book-cover span{margin-top:auto;letter-spacing:2px;font-size:13px}.reading-paper{max-width:730px;min-height:650px;background:#fffffc;margin:auto;padding:60px;box-shadow:0 3px 16px #344f2b10}.reading-paper>small{font-size:9px;letter-spacing:2px;color:#a6b295}.reading-paper>h1{font-size:43px;line-height:1.2;margin:20px 0 35px;letter-spacing:-1px;font-weight:400}.reading-paper figure{margin:30px 0}.reading-paper figure img{max-height:300px;width:100%;object-fit:cover}.reading-paper figcaption{font-size:9px;color:#a5b094;padding-top:8px}.reading-end{display:block;margin:45px auto 0;color:#bdcaae}.reader-footer{display:flex;align-items:center;justify-content:space-between;padding:14px 28px;background:#f7faf3;border-top:1px solid #d7e2cc}.reader-footer span{font-size:11px;color:#9bad8b}.reader-footer button{font-size:11px}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%);z-index:150;max-width:90%;background:#274d34;color:#f0f7e9;padding:14px 18px;border-radius:9px;box-shadow:0 5px 20px #1e3c2a3b;font-size:12px;display:flex;align-items:center;gap:10px}.toast>button{color:#d1e1c1;display:grid;place-items:center;margin-left:10px}.search-input{display:flex;align-items:center;gap:8px;border:1px solid #d8e4ce;border-radius:7px;padding:0 10px}.search-input input{border:none;min-width:0;flex:1;font-size:13px}.search-input input:focus{outline:none}.search-results{max-height:400px;overflow:auto}.search-results>button{display:block;width:100%;padding:20px 4px;text-align:left;border-bottom:1px solid #e5eddc}.search-results small{font-size:9px;color:#b0bea2}.search-results h3{font:21px Georgia,serif;margin:8px 0}.search-results p{font-size:12px;color:#91a37f;margin:0;line-height:1.6}.sidebar-backdrop{display:none}@media(min-width:1650px){.outline-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.view-scroll{padding:45px 55px 70px}.sidebar{width:285px;min-width:285px}.idea-inspector{width:280px;min-width:280px}.paper-scroll{padding:40px}}@media(max-width:1250px){.idea-inspector{display:none}.view-scroll{padding:32px 28px 50px}.sidebar{width:240px;min-width:240px}.sidebar-book{padding-left:22px;padding-right:22px}.guide-meta{display:none}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.card-content{padding:17px 19px 12px}.card-title{left:19px}.topbar{padding:0 22px}.card-title h3{font-size:25px}}@media(max-width:900px){.top-search span,.top-caption,.top-divider{display:none}.topbar{height:64px;min-height:64px;gap:12px;padding:0 18px}.brand{font-size:19px;gap:8px}.brand-icon{width:32px;height:32px}.book-name{font-size:12px;max-width:34%}.sidebar{width:215px;min-width:215px}.sidebar-book h2{font-size:23px}.sidebar-book .eyebrow{font-size:8px}.workspace-tabs{padding:0 24px}.workspace-tabs>div{gap:20px}.tab-meta{display:none}.outline-grid{gap:18px}.view-scroll{padding:28px 23px 45px}.view-heading{align-items:flex-start;gap:15px}.view-heading .primary{font-size:11px;padding:10px 12px}.outline-view .view-heading h1{font-size:33px}.view-heading .eyebrow{font-size:9px;line-height:1.8}.outline-view .view-heading p{font-size:12px}.card-top{height:150px}.card-title h3{font-size:23px}.card-summary{font-size:11px}.card-meta>div>.icon-button{display:none}.paper-scroll{padding:25px 20px}.paper-heading,.manuscript-body{padding-left:32px;padding-right:32px}.document-title{font-size:32px}.chapter-kicker{font-size:8px;flex-wrap:wrap}.chapter-kicker select{font-size:9px}.document-bar{padding:0 18px}.reading-paper{padding:40px}.reader-controls{padding:12px 22px}.reader-page{padding:25px}}@media(max-width:700px){:root{font-size:16px}.login{display:flex;flex-direction:column}.login-art{min-height:240px;height:30dvh}.login-art>div{left:8%;bottom:12%}.login-art>div>svg{display:none}.login-art h1{font-size:39px;margin:0 0 12px;letter-spacing:-1px}.login-art p{display:none}.login-form{padding:35px 30px;width:100%;max-width:430px}.login-form .wordmark{margin-bottom:33px;font-size:20px}.login-form h2{font-size:37px}.login-form label{font-size:14px}.login-form>input{font-size:16px}.login-form .eyebrow{font-size:10px}.login-note{margin-top:27px}.mobile-menu{display:inline-flex;width:28px}.topbar{height:62px;min-height:62px;padding:0 12px;gap:9px}.brand{font-size:17px}.brand-icon{width:29px;height:29px;border-radius:8px}.brand-icon>svg{width:18px}.book-name{display:none}.top-actions{gap:4px}.top-search{margin-right:0;padding:5px}.avatar{width:29px;height:29px;font-size:10px}.top-actions>.icon-button{width:31px}.sidebar{position:fixed;left:-285px;top:62px;bottom:0;width:270px;min-width:270px;z-index:31;transition:left .2s ease}.sidebar.open{left:0;box-shadow:15px 0 50px #17362130}.sidebar-backdrop{display:block;position:fixed;inset:62px 0 0;background:#1e362b55;z-index:30}.sidebar-book{padding:20px 25px}.sidebar-book h2{font-size:28px}.tree-chapter{font-size:13px;padding:12px 9px}.tree-number{font-size:11px}.tree-idea{font-size:12px;padding:10px}.chapter-list-label{font-size:9px}.workspace-tabs{height:51px;min-height:51px;padding:0 20px}.workspace-tabs>div{gap:25px}.workspace-tabs button{font-size:12px}.workspace-tabs>span{font-size:10px}.library-view{padding:35px 22px 45px}.library-view .view-heading{display:block}.library-view .view-heading h1{font-size:36px;margin-bottom:16px}.library-view .view-heading>button{margin-top:22px;font-size:13px}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.library-cover{height:245px;border-left-width:6px}.library-cover>div{padding:25px 17px}.library-cover h2{font-size:27px}.library-cover p{font-size:9px}.library-book-info h3{font-size:19px}.library-book-info p{font-size:10px;gap:6px}.library-book-info>span{font-size:11px}.new-book-card{min-height:245px;padding:20px}.new-book-card h3{font-size:20px}.library-foot{font-size:12px;line-height:1.7;margin-top:30px}.view-scroll{padding:31px 20px 45px}.outline-view .view-heading{display:block;margin-bottom:18px}.outline-view .view-heading h1{font-size:36px}.outline-view .view-heading .eyebrow{font-size:10px;margin-bottom:12px}.outline-view .view-heading p{font-size:13px}.outline-view .view-heading>button{margin-top:20px;font-size:12px}.outline-guide{font-size:10px;line-height:1.7;padding-top:6px;padding-bottom:18px}.outline-grid{grid-template-columns:1fr;gap:22px}.card-top{height:190px}.card-title{left:24px;bottom:25px}.card-title small{font-size:10px}.card-title h3{font-size:29px}.drag-handle{width:38px;height:38px;left:12px;top:12px}.status{font-size:10px;padding:7px 9px}.card-content{padding:22px 24px 16px}.card-summary{font-size:13px;line-height:1.85;min-height:0;-webkit-line-clamp:3;margin-bottom:14px}.card-meta{font-size:11px}.card-meta>div>.icon-button{display:flex;width:32px;min-height:34px}.card-meta .text-button,.ideas-label{font-size:12px}.ideas-label button{width:36px;min-height:36px}.empty-idea{font-size:12px;min-height:36px}.idea-row{font-size:12px;padding:13px 0}.document-bar{height:47px;min-height:47px;padding:0 16px}.document-bar .secondary-meta{display:none}.document-bar .text-button{font-size:11px;padding:4px}.document-bar>div{gap:6px}.save-state{font-size:10px}.save-button{font-size:11px;padding:6px 10px}.format-toolbar{justify-content:flex-start;padding:7px 10px;gap:2px;flex-wrap:nowrap;overflow-x:auto;min-height:51px;scrollbar-width:none}.format-toolbar button{min-width:31px;min-height:34px}.format-toolbar select{min-width:98px;margin-right:3px;font-size:11px}.toolbar-line{flex-shrink:0;margin:0 5px}.paper-scroll{padding:16px 0 30px}.paper{border-left:0;border-right:0;box-shadow:none;min-height:65dvh}.paper-heading{padding:28px 25px 8px}.document-title{font-size:35px;line-height:1.12;margin:20px 0 4px;letter-spacing:-.7px}.chapter-kicker{font-size:9px;letter-spacing:.8px}.chapter-kicker select{font-size:10px;padding:6px 7px}.chapter-photo{height:175px}.chapter-photo figcaption{font-size:8px;max-width:70%;bottom:10px;left:17px}.chapter-photo>button{font-size:10px}.manuscript-body{font-size:18px;line-height:1.95;padding:6px 25px 35px;min-height:280px}.manuscript-body p{margin-bottom:22px}.manuscript-body h1{font-size:29px}.manuscript-body h2{font-size:25px}.chapter-notes{padding:0 26px;margin-top:25px}.chapter-notes .eyebrow{font-size:9px}.chapter-notes textarea{font-size:13px;line-height:1.9;min-height:100px}.writer-footer{height:34px;min-height:34px;padding:0 17px;font-size:9px}.footer-right{font-size:10px}.modal-scrim{padding:14px;align-items:center}.modal{padding:23px;max-height:92dvh;border-radius:12px}.modal>header h2{font-size:27px}.modal label{font-size:13px}.modal label input,.modal label textarea,.modal label select{font-size:16px}.modal-actions button{font-size:13px}.history-layout{grid-template-columns:1fr}.history-list{max-height:120px;display:flex;gap:10px;border:0;border-bottom:1px solid var(--line);padding:0 0 12px}.history-list button{min-width:150px;font-size:11px}.history-preview{max-height:45dvh}.history-preview .rich-view{font-size:16px}.settings-tabs{gap:16px;overflow:auto}.settings-tabs button{white-space:nowrap;font-size:11px}.photos-view .view-heading{display:block}.photos-view .view-heading h1{font-size:33px}.photos-view .view-heading>button{margin-top:20px;font-size:12px}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.photo-tile>img{height:140px}.photo-tile>div{padding:13px}.photo-tile h3{font-size:11px}.photo-tile p{font-size:9px}.photo-tile .text-button{font-size:10px;white-space:normal;text-align:left;line-height:1.6}.reader-page{padding:20px 13px}.reader-controls{padding:12px 15px;gap:5px}.reader-controls select{font-size:10px;padding:8px;max-width:60%}.reader-controls>div{gap:3px}.reader-controls .text-button{font-size:0;gap:0;padding:8px}.book-cover{height:530px;border-left-width:7px;max-width:100%}.book-cover>div{padding:45px 28px}.book-cover h1{font-size:49px;margin-top:75px}.book-cover p{font-size:18px}.reading-paper{padding:35px 24px;min-height:60dvh}.reading-paper>h1{font-size:36px}.reading-paper .rich-view{font-size:18px}.reading-paper figure{margin:20px 0 30px}.reader-footer{padding:12px 16px}.reader-footer button{font-size:10px;min-height:38px;padding:9px 12px}.reader-footer span{font-size:10px}.toast{bottom:18px;width:calc(100% - 28px);font-size:12px;line-height:1.6}.prompt-example{font-size:17px;padding:20px}.is-focused .paper-scroll{padding-top:15px}.is-focused .paper{border:0}.is-focused .manuscript-body{padding-left:28px;padding-right:28px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}@media print{.topbar,.sidebar,.workspace-tabs,.reader-controls,.reader-footer{display:none}.studio,.workspace,.main-panel,.reader-shell,.reader-page{display:block;height:auto;overflow:visible}.book-cover,.reading-paper{box-shadow:none;width:100%}}.eyebrow{font-size:.75rem}.top-caption,.top-search,.book-name{font-size:.875rem}.view-heading p,.outline-view .view-heading p,.photos-view .view-heading p,.modal .muted,.dot-panel p{font-size:1rem}.workspace-tabs button{font-size:.875rem}.workspace-tabs>span,.secondary-meta{font-size:.75rem}.sidebar-book .eyebrow,.chapter-list-label{font-size:.6875rem}.sidebar-book p,.back-library{font-size:.8125rem}.workspace-nav button,.sidebar-bottom>button,.tree-chapter{font-size:.875rem}.tree-number,.tree-idea{font-size:.75rem}.sidebar-bottom>div{font-size:.6875rem}.card-summary{font-size:.9375rem;line-height:1.65;min-height:72px}.card-meta,.card-title small,.status,.outline-guide{font-size:.75rem}.card-meta .text-button,.ideas-label,.idea-row,.empty-idea{font-size:.8125rem}.card-title h3{font-size:1.65rem}.card-meta .icon-button{min-height:34px;width:30px}.format-toolbar>button{min-width:32px;min-height:34px}.format-toolbar>select{font-size:.8125rem}.save-state,.document-bar .text-button,.save-button{font-size:.75rem}.chapter-kicker,.chapter-kicker select,.chapter-notes .eyebrow{font-size:.6875rem}.chapter-notes textarea{font-size:.875rem}.writer-footer{font-size:.6875rem}.footer-right{font-size:.75rem}.chapter-photo figcaption{font-size:.6875rem}.idea-inspector>p,.dot-hint p{font-size:.8125rem}.inspector-title h3,.inspector-idea strong,.add-idea-button{font-size:.875rem}.inspector-idea small{font-size:.6875rem}.settings-tabs button,.backup-list a,.photo-tile h3{font-size:.875rem}.photo-tile p,.photo-tile .text-button{font-size:.75rem}.reader-controls select,.reader-controls .text-button,.reader-footer button{font-size:.8125rem}.reader-footer span,.search-results small{font-size:.75rem}.search-results p{font-size:.875rem}.history-list button{font-size:.8125rem}.history-list small{font-size:.6875rem}.library-book-info p,.library-book-info>span{font-size:.875rem}.new-book-card p{font-size:.875rem}.tree-chapter{line-height:1.55}.chapter-list-label .icon-button{min-height:40px}@media(max-width:700px){.card-title h3{font-size:1.85rem}.card-summary{font-size:1rem;line-height:1.7}.tree-chapter{font-size:.9375rem}.tree-idea{font-size:.8125rem;min-height:40px}.card-meta .icon-button{min-height:40px;min-width:34px}.card-meta .text-button,.empty-idea{min-height:40px;font-size:.875rem}.ideas-label{font-size:.875rem}.ideas-label>button{min-height:40px;min-width:40px}.workspace-tabs button{font-size:.875rem}.format-toolbar>button{min-width:36px;min-height:38px}.format-toolbar>select{font-size:.8125rem}.writer-footer{font-size:.625rem}.document-bar .text-button{font-size:.75rem}.paper-heading .chapter-kicker{font-size:.625rem}.photo-tile h3{font-size:.8125rem}.photo-tile .text-button{font-size:.75rem;min-height:40px}.reader-controls .text-button{font-size:0}.sidebar-bottom>div{font-size:.6875rem}.view-heading p,.outline-view .view-heading p{font-size:.9375rem}.top-search,.top-actions .icon-button{min-height:40px}.card-title small,.status{font-size:.6875rem}}
