@font-face{font-family:system;src:local("Apple SD Gothic Neo")}*{box-sizing:border-box}body{margin:0;color:#302e2a;background:#f8f7f3;font-family:system,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.6}button,input,a{font:inherit}button,a{touch-action:manipulation}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #ddd8cd;border-radius:10px;padding:9px 14px;background:transparent;color:inherit;cursor:pointer}button:hover{background:#ece8df}button:disabled{cursor:default;opacity:.5}a{color:inherit}input{border:1px solid #ded9ce;border-radius:10px;background:#fffefb;color:inherit;padding:13px 16px;min-width:0}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #b59154;outline-offset:3px}.primary{background:#87622c;color:#fff;border-color:#87622c;text-decoration:none;white-space:nowrap}.primary:hover{background:#735022}h1,h2,h3,p{margin-top:0}.top{max-width:1120px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:18px 40px;border-bottom:1px solid #e7e2d8}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:800;font-size:23px}.brand img{width:40px;height:40px;border-radius:10px}.brand span{font-size:12px;font-weight:400;color:#8b857a;border-left:1px solid #d5cec0;padding-left:12px;margin-left:5px}.account{display:flex;gap:16px;align-items:center;font-size:14px}.library{max-width:1120px;margin:44px auto;padding:0 40px}.eyebrow{font-size:11px;letter-spacing:.2em;color:#947549;font-weight:700;margin-bottom:16px}.library-heading,.library-title,.library-toolbar,.library-tools{display:flex;align-items:center}.library-heading{justify-content:space-between;margin-bottom:30px}.library-title{gap:12px}.library-title h1{margin:0;font-size:29px;letter-spacing:-.045em;font-weight:750}.project-count{border:1px solid #dedbd3;border-radius:7px;padding:0 8px;font-size:13px;color:#656157;font-variant-numeric:tabular-nums}button.new-project{background:#302e29;color:#fff;border:1px solid #302e29;border-radius:8px;font-size:13px;font-weight:600;padding:10px 15px}button.new-project:hover{background:#4c473e}.library-toolbar{justify-content:space-between;gap:16px;margin-bottom:16px}.project-search{display:flex;align-items:center;gap:10px;border:1px solid #dcd8d0;border-radius:8px;padding:0 12px;background:#fffefa;color:#80796c;width:310px}.project-search:focus-within{border-color:#8c7b5a;box-shadow:0 0 0 2px #8c7b5a15}.project-search input{border:0;background:transparent;padding:10px 0;font-size:13px;width:100%;outline:none;box-shadow:none}.project-search input::-webkit-search-cancel-button{display:none}.project-search>svg{flex-shrink:0}.project-search button{border:0;padding:3px;border-radius:4px}.library-tools{gap:10px}.library-tools select{font:inherit;font-size:12px;color:#615c52;border:0;background:transparent;padding:8px 18px 8px 6px;cursor:pointer}button.refresh-projects{padding:9px;border-radius:7px;background:#fffefa;border-color:#dcd8d0;color:#6b6559}.projects{display:block;background:#fffefa;border:1px solid #dedad1;border-radius:12px;overflow:hidden}.project-columns,.project{display:grid;grid-template-columns:minmax(0,1fr) 120px 138px 24px;gap:12px;align-items:center}.project-columns{padding:12px 22px;background:#f1efe9;border-bottom:1px solid #e3dfd6;font-size:11px;font-weight:600;color:#746c5d}.project-columns>span:first-child{padding-left:52px}button.project{width:100%;border:0;border-bottom:1px solid #eeeae2;border-radius:0;background:#fffefa;text-align:left;padding:19px 22px;min-height:79px;transition:background .12s}button.project:last-child{border-bottom:0}button.project:hover{background:#f4f1e9}button.project:focus-visible{outline-offset:-3px}.project-identity{min-width:0;display:flex;align-items:center;gap:14px}.project-symbol{display:grid;place-items:center;flex-shrink:0;width:38px;height:42px;border:1px solid #e3ddcf;background:#f5f1e6;border-radius:5px;color:#8c7852}.project-name{font-size:16px;font-weight:600;color:#27251f;letter-spacing:-.025em;overflow-wrap:anywhere}.saved{display:flex;align-items:center;gap:5px;font-size:12px;color:#456552;white-space:nowrap}.project time{font-size:12px;color:#696356;font-variant-numeric:tabular-nums;white-space:nowrap}.project-arrow{color:#aba497;justify-self:end;transition:color .12s,transform .12s}.project:hover .project-arrow{color:#715628;transform:translate(2px)}.library footer{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:11px;color:#797163;margin-top:22px}.library footer>span{display:flex;align-items:center;gap:7px}.library footer a{text-decoration:none;color:#645d50}.library footer a:hover{text-decoration:underline}.create{margin:0 0 24px;padding:18px 20px;background:#eeece5;border:1px solid #ddd7cb;border-radius:10px}.create>label{display:block;font-size:12px;font-weight:600;margin-bottom:9px}.create>div{display:flex;gap:8px}.create input{flex:1;padding:10px 12px;font-size:14px}button.cancel-create{border:0;padding:8px}.spinning{animation:refresh-spin 1s linear infinite}@keyframes refresh-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.spinning{animation:none}}.empty{text-align:center;padding:70px 20px;color:#8c8477}.empty svg{margin-bottom:15px}.empty h2{font-size:20px}.login{max-width:660px;margin:11vh auto 0;padding:30px;text-align:center;display:flex;flex-direction:column;align-items:center}.hero-logo{width:110px;height:110px;border-radius:26px;margin-bottom:32px;box-shadow:0 14px 36px #463d2812}.login h1{font-size:38px;letter-spacing:-.055em}.login p{color:#80786c;font-size:17px;line-height:1.9}.google{display:flex;gap:10px;justify-content:center;align-items:center;width:min(380px,100%);margin:26px 0;border:1px solid #747775;border-radius:4px;padding:12px;background:#fff;color:#1f1f1f;font-size:14px;font-weight:500;line-height:20px;text-decoration:none}.google:hover{box-shadow:0 1px 3px #3c40434d}.google img{flex:0 0 20px;width:20px;height:20px;object-fit:contain}.login small{color:#958d7f;line-height:1.9}.muted{font-size:12px;color:#9b9385;margin-top:30px}.center{display:grid;place-content:center;min-height:100vh;gap:24px}.error{background:#f9eee7;color:#9a482c;padding:14px 18px;border-radius:10px;font-size:14px}.editor-top{height:74px;display:flex;align-items:center;gap:26px;border-bottom:1px solid #e4dfd5;padding:12px 24px;background:#faf9f6}.editor-top strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.save-actions{margin-left:auto;display:flex;align-items:center;gap:16px;flex-shrink:0}.status{font-size:12px;color:#898171}.editor-layout{display:flex;min-height:calc(100vh - 74px)}aside{width:240px;flex-shrink:0;background:#f1efe8;border-right:1px solid #e4dfd5;padding:20px 14px;display:flex;flex-direction:column}.aside-title{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#857c6b;padding-left:10px;margin-bottom:20px}.aside-title button{padding:5px;border:0}aside nav button{display:flex;text-align:left;justify-content:flex-start;border:0;width:100%;font-size:13px;padding:11px;overflow-wrap:anywhere;margin-bottom:3px}aside nav button.selected{background:#e5dfd1;color:#775827}aside nav svg{flex-shrink:0}aside h3{font-size:12px;padding:16px 10px 0;color:#8c8271}.aside-foot{font-size:11px;color:#a09887;margin-top:auto;padding:40px 10px 5px}.aside-foot svg{vertical-align:middle;margin-right:5px}.aside-foot small{padding-left:20px}.writing{width:100%;min-width:0;max-width:1000px;margin:0 auto;padding:65px 8% 30px}.doc-title{display:block;font-size:29px;font-weight:700;border:0;border-radius:0;background:transparent;padding:0 0 22px;width:100%;border-bottom:1px solid #e6e1d7}.tiptap{outline:none;min-height:55vh;padding-top:24px;font-size:17px;line-height:1.95;overflow-wrap:anywhere}.tiptap p{margin:0 0 1em}.tiptap a{color:#87622c}.tiptap blockquote{border-left:3px solid #c9bc9f;margin-left:0;padding-left:20px}.tiptap pre{white-space:pre-wrap;background:#eeeae1;padding:16px;border-radius:8px}.wordcount{text-align:right;font-size:11px;color:#a09582;border-top:1px solid #e6e1d7;padding-top:16px;margin-top:40px}.editor-error{padding:14px 24px;background:#f9eee7;font-size:13px;color:#924827}.editor-error div{display:flex;gap:8px;margin-top:8px}.editor-error button{font-size:12px;padding:6px 10px}.mobile-menu{display:none}.fallback{white-space:pre-wrap;font:inherit;color:#302e2a}@media(max-width:850px){.status{display:none}.writing{padding:38px 5%}.editor-top{gap:14px}aside{width:200px}}@media(max-width:580px){.top{padding:20px}.brand span{display:none}.account span{max-width:110px;overflow:hidden;text-overflow:ellipsis}.library{margin:40px auto;padding:0 20px}.create button{padding:10px;font-size:13px}.create input{width:100%;font-size:14px}.login h1{font-size:30px}.login{margin-top:6vh}.editor-top{padding:10px 12px;height:64px}.editor-top>button span{display:none}.editor-top strong{font-size:14px}.save-actions{gap:0}.editor-layout{min-height:calc(100vh - 64px)}aside{display:none}aside.visible{display:flex;position:absolute;top:64px;bottom:0;z-index:2;width:250px;box-shadow:10px 0 40px #0002;overflow:auto}.mobile-menu{display:flex;margin-bottom:24px;font-size:12px}.writing{padding:22px}.doc-title{font-size:25px}.tiptap{font-size:16px}.editor-error{padding:12px}}.editor-top{position:sticky;top:0;z-index:4}.editor-layout aside{position:sticky;top:74px;height:calc(100dvh - 74px);overflow-y:auto}.project-switch{display:block;padding:0 8px 20px;font-size:11px;color:#857c6b}.project-switch select{appearance:none;-webkit-appearance:none;display:block;width:100%;min-width:0;margin-top:7px;padding:10px 38px 10px 12px;border:1px solid #dcd5c8;border-radius:8px;background:#faf9f6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23706652' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px 16px;color:#39362f;font:inherit;font-size:13px;line-height:20px;text-overflow:ellipsis;cursor:pointer}.project-switch select:focus-visible{outline:2px solid #9a763b;outline-offset:2px}.project-switch select:disabled{opacity:.55;cursor:wait}aside nav details{margin-bottom:12px}aside nav summary{padding:8px 10px;cursor:pointer;font-size:12px;font-weight:600;color:#706652}aside nav summary small{float:right;font-weight:400;color:#a79b87}aside nav .chapter-group{margin:0 0 4px 8px}aside nav .chapter-group summary{font-size:12px}aside nav .chapter-group button{padding-left:20px}aside nav button span{overflow-wrap:anywhere;min-width:0}.tree-skeleton i{display:block;background:#e5e0d6;border-radius:5px;height:15px;margin:15px 12px;width:70%}.tree-skeleton i:nth-child(2n){width:55%}.aside-foot small{display:block;padding-left:0;margin-top:7px}@media(max-width:580px){.editor-layout aside.visible{position:fixed;top:64px;height:calc(100dvh - 64px);z-index:3}}@media(max-width:700px){.library{margin:28px auto;padding:0 22px}.library-title h1{font-size:26px}.library-heading{margin-bottom:24px}.project-columns,.project{grid-template-columns:minmax(0,1fr) 100px 18px;gap:10px}.project-columns>span:nth-child(2),.project .saved{display:none}button.project{padding:17px 16px}.project-columns{padding:11px 16px}.project-name{font-size:15px}.project-symbol{width:32px;height:37px}.project-identity{gap:11px}.project-columns>span:first-child{padding-left:43px}.library footer{align-items:flex-start;font-size:10px}.project-search{width:260px}}@media(max-width:480px){.library{padding:0 16px;margin-top:24px}.library-heading{margin-bottom:22px}.library-title h1{font-size:25px}.library-toolbar{gap:8px}.project-search{flex:1;width:auto;min-width:0}.library-tools{gap:3px}.library-tools select{max-width:100px;padding:8px 2px;font-size:11px}.refresh-projects{flex-shrink:0}.project-columns{display:none}button.project{grid-template-columns:minmax(0,1fr) 16px;gap:5px 10px;padding:16px;min-height:89px}.project-identity{grid-column:1;grid-row:1}.project time{grid-column:1;grid-row:2;padding-left:43px;font-size:11px}.project-arrow{grid-column:2;grid-row:1 / span 2}.project-name{font-size:15px}.project-symbol{width:32px;height:34px}.library footer{flex-direction:column;gap:10px;margin-top:18px}.create{padding:14px}.create input{width:100%;font-size:13px}.create button.new-project{padding:8px 10px}.create button{flex-shrink:0;white-space:nowrap}}.markdown-note{min-width:0}.markdown-toolbar{display:flex;gap:4px;padding:16px 0 20px}.markdown-toolbar button{border:0;padding:7px 10px;border-radius:6px;font-size:12px;color:#706859}.markdown-toolbar button[aria-pressed=true]{background:#eae5d9;color:#5e4823;font-weight:600}.markdown-preview{font-size:16px;line-height:1.85;overflow-wrap:anywhere;min-height:50vh;color:#35312a}.markdown-preview>:first-child{margin-top:0}.markdown-preview h1,.markdown-preview h2,.markdown-preview h3,.markdown-preview h4,.markdown-preview h5,.markdown-preview h6{line-height:1.4;letter-spacing:-.025em;color:#28251f;scroll-margin-top:90px}.markdown-preview h1{font-size:29px;margin:36px 0 22px}.markdown-preview h2{font-size:23px;margin:34px 0 17px;padding-bottom:9px;border-bottom:1px solid #e3ddcf}.markdown-preview h3{font-size:19px;margin:27px 0 13px}.markdown-preview h4,.markdown-preview h5,.markdown-preview h6{font-size:16px;margin:22px 0 12px}.markdown-preview p{margin:0 0 19px}.markdown-preview strong{font-weight:750;color:#25221d}.markdown-preview ul,.markdown-preview ol{padding-left:24px;margin:0 0 22px}.markdown-preview li{margin:5px 0}.markdown-preview li p{margin-bottom:8px}.markdown-preview blockquote{margin:22px 0;padding:12px 18px;border-left:3px solid #b09c72;background:#f0ede5;color:#645c4d}.markdown-preview blockquote p:last-child{margin-bottom:0}.markdown-preview pre{max-width:100%;overflow:auto;padding:17px;border:1px solid #e2dccc;border-radius:8px;background:#eeebe3;font-size:13px;line-height:1.65}.markdown-preview code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.87em;background:#eeebe3;border-radius:3px;padding:2px 4px}.markdown-preview pre code{font-size:inherit;padding:0}.markdown-preview hr{border:0;border-top:1px solid #dcd5c7;margin:28px 0}.markdown-preview a,.markdown-link{color:#79602c;text-decoration:underline;text-underline-offset:3px}.markdown-link{display:inline;padding:0;border:0;border-radius:0;background:transparent;font:inherit;cursor:pointer}.markdown-unresolved{text-decoration:underline dotted;text-underline-offset:3px;color:#817666}.markdown-image-label,.markdown-empty,.markdown-loading{color:#847a68;font-size:14px}.markdown-table{max-width:100%;overflow-x:auto;margin:22px 0}.markdown-table table{border-collapse:collapse;width:100%;font-size:14px}.markdown-table th,.markdown-table td{text-align:left;border:1px solid #dfd8ca;padding:10px 13px;min-width:100px}.markdown-table th{background:#ece8de;font-weight:650}.markdown-preview .task-list-item{list-style:none}.markdown-preview .task-list-item input{accent-color:#87622c;margin-right:7px}.markdown-source{display:block;width:100%;min-height:55vh;resize:vertical;padding:18px;border:1px solid #dcd4c5;border-radius:8px;background:#fffefa;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:14px;line-height:1.85;color:#373128;overflow-wrap:anywhere;white-space:pre-wrap}.markdown-source:focus-visible{outline:2px solid #a99060;outline-offset:2px}@media(max-width:580px){.markdown-preview{font-size:15px}.markdown-preview h1{font-size:25px}.markdown-preview h2{font-size:21px}.markdown-source{font-size:14px;padding:12px}}
