@charset "UTF-8";
:root{color-scheme:light;--nav:#173f37;--nav-muted:#b2c7bc;--nav-text:#eaf1e9;--nav-active:#31584a;--nav-button:#d7e9c9;--panel:#f3f5f1;--paper:#fff;--text:#223c33;--muted:#758278;--line:#e6ebe3;--accent:#296d56;--selected:#e4eddd;--hover:#edf1e8;--input:#fff;--shadow:0 12px 40px #15362c1a;--soft:#f5f7f2;--danger:#a84036;--font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;font-family:var(--font);color:var(--text);background:var(--paper)}body{font-size:16px;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button{cursor:pointer}button,a,input,select,textarea,[contenteditable]{-webkit-tap-highlight-color:transparent}button{border:0;background:none;color:inherit}button:disabled{opacity:.55;cursor:default}button:focus-visible,a:focus-visible{outline:2px solid #65ab84;outline-offset:3px}input:focus-visible,textarea:focus-visible,select:focus-visible,[contenteditable]:focus-visible{outline:0}input,textarea{min-width:0}input[type=search]::-webkit-search-cancel-button{cursor:pointer}a{color:inherit}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}svg use{pointer-events:none}.svg-library{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.boot{height:100dvh;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;background:var(--panel)}.boot .brand-mark{background:var(--nav);color:var(--nav-button)}.boot p{color:var(--muted);font-size:15px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;min-width:0;letter-spacing:-.4px;font-size:23px;font-weight:650;line-height:1.1}.brand small{display:block;font-size:10px;letter-spacing:2.4px;font-weight:500;line-height:1;margin-top:8px;opacity:.65}.brand-mark{width:40px;height:44px;display:grid;place-items:center;flex-shrink:0;border-radius:10px;color:#d7e9c9}.brand-mark svg{width:32px;height:32px;stroke-width:1.45}.icon-button{width:44px;height:44px;display:inline-flex;justify-content:center;align-items:center;flex-shrink:0;border-radius:9px;color:var(--muted)}.icon-button:hover{background:var(--hover);color:var(--text)}.primary-button{display:inline-flex;justify-content:center;align-items:center;gap:10px;min-height:48px;padding:12px 22px;background:var(--nav);border-radius:11px;color:#fff;font-size:15px;font-weight:600;transition:background .15s}.primary-button:hover{background:#245749}.secondary-button{min-height:46px;padding:12px 18px;border-radius:10px;background:var(--soft);font-size:15px}.text-button{padding:10px;min-height:44px;font-size:14px;color:var(--accent)}.text-button:hover{text-decoration:underline}.eyebrow{font-size:11px;font-weight:650;letter-spacing:2px;color:var(--muted)}
.welcome{color:#223c33;min-height:100dvh;display:grid;grid-template-columns:1.05fr 1fr}.welcome-story{background:#173f37;color:#eff4e8;padding:42px 10%;display:flex;flex-direction:column;position:relative;overflow:hidden}.welcome-brand{align-self:flex-start}.welcome-copy{margin:auto 0;padding:60px 0 70px}.welcome-copy>.eyebrow{color:#b6c8b3;letter-spacing:2px}.welcome-copy h1{font-size:clamp(35px,3.8vw,60px);font-weight:500;letter-spacing:-2px;line-height:1.1;margin:25px 0 21px}.welcome-copy>p{font-size:17px;line-height:1.7;color:#c0d0bf}.welcome-foot{font-size:13px;letter-spacing:.3px;color:#b6c8b3}.welcome-paper{position:relative;margin:45px 0 0 5px;width:min(380px,100%);background:#f4f4e9;color:#315142;border-radius:3px 19px 3px 3px;padding:30px 32px 22px;box-shadow:0 18px 38px #07281e38;transform:rotate(-3deg)}.paper-date{font-size:9px;letter-spacing:1.8px;font-weight:700;color:#73866d}.welcome-paper h2{font-size:26px;font-weight:500;letter-spacing:-.6px;line-height:1.2;margin:25px 0 16px}.welcome-paper p{font-size:12px;color:#71816a}.paper-line{height:1px;width:62%;background:#dce4d5;margin-top:27px}.paper-bottom{font-size:10px;display:flex;align-items:center;gap:5px;margin-top:15px;color:#76866b}.paper-bottom svg{width:13px;height:13px}.paper-doodle{position:absolute;right:10px;bottom:38px;width:100px;height:100px;stroke-width:1.2;color:#96aa85;transform:rotate(12deg)}.welcome-form-wrap{display:flex;align-items:center;justify-content:center;padding:50px 38px;background:#fcfdfb}.login-form{width:100%;max-width:370px}.login-form h2{font-size:35px;font-weight:500;letter-spacing:-1.3px;line-height:1.18;margin:18px 0}.login-intro{font-size:15px;color:#6b7b70;margin:0 0 30px}.myid-button{width:100%;height:50px;background:#eef3e9;border:1px solid #e1e9db;border-radius:11px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:10px;font-size:15px}.id-mark{background:#265c48;color:#fff;font-size:11px;letter-spacing:-.6px;border-radius:7px;display:grid;place-items:center;width:25px;height:25px}.login-divider{display:flex;align-items:center;gap:13px;margin:22px 0;color:#7a877b;font-size:12px}.login-divider:before,.login-divider:after{content:"";height:1px;background:#e6ebe3;flex:1}.login-form label,.input-dialog label{display:block;font-size:14px;font-weight:550;margin:16px 0 8px}.login-form input,.input-dialog input{width:100%;height:49px;border:1px solid #dfe6dc;border-radius:10px;padding:12px 14px;background:#fff;color:#20382e}.login-form input:focus,.input-dialog input:focus{border-color:#5d8e6e;box-shadow:0 0 0 3px #a0bb9120}.login-form input::placeholder{color:#8c978a}.password-field{position:relative}.password-field input{padding-right:86px}.password-field button{position:absolute;right:3px;top:3px;height:43px;padding:0 10px;font-size:12px;color:#6d7f6d}.login-form>.primary-button{width:100%;margin-top:24px}.privacy-line{display:flex;align-items:center;justify-content:center;gap:6px;color:#7e8b7b;font-size:12px;margin:17px 0}.privacy-line svg{width:14px;height:14px}.preview-link{display:block;margin:20px auto 0;color:#4f6e58}.form-error{font-size:14px;color:var(--danger);line-height:1.5;margin:12px 0}.noscript{padding:30px;font-size:18px;text-align:center}
.app{height:100dvh;display:grid;grid-template-columns:218px 324px minmax(0,1fr);grid-template-rows:minmax(0,1fr);overflow:hidden}.app.is-demo{grid-template-rows:40px minmax(0,1fr)}.demo-bar{grid-column:1/-1;background:#e7eecf;color:#3c573b;padding:0 23px;font-size:12px;display:flex;gap:10px;align-items:center;justify-content:center;z-index:20}.demo-bar button{font-size:12px;font-weight:650;text-decoration:underline;text-underline-offset:3px;min-height:36px}.sidebar{background:var(--nav);color:var(--nav-text);display:flex;flex-direction:column;min-height:0;padding:29px 17px 15px;position:relative}.sidebar-top{margin:0 2px 32px;display:flex;align-items:center}.sidebar .brand{font-size:22px;gap:9px}.sidebar .brand-mark{width:35px}.sidebar .brand small{font-size:9px;letter-spacing:2.1px}.new-note{background:var(--nav-button);color:#254d35;display:flex;align-items:center;justify-content:center;gap:9px;min-height:46px;border-radius:10px;font-size:14px;font-weight:650;margin-bottom:27px;box-shadow:0 3px 8px #082a2012}.new-note:hover{background:#e5efda}.new-note svg{width:18px;height:18px}.main-navigation{display:flex;flex-direction:column;gap:5px}.nav-item{display:flex;align-items:center;gap:10px;min-height:44px;width:100%;padding:10px 11px;text-align:left;border-radius:8px;color:var(--nav-muted);font-size:14px}.nav-item>svg{width:19px;height:19px;stroke-width:1.5}.nav-item>span:not(.nav-count){white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nav-item.active{color:#f4f7ed;background:var(--nav-active)}.nav-item:hover{background:#ffffff0b;color:#f4f7ed}.nav-item.active:hover{background:var(--nav-active)}.nav-count{font-size:12px;opacity:.75;margin-left:auto;flex-shrink:0}.folder-heading{margin:30px 0 7px;display:flex;align-items:center;justify-content:space-between;padding-left:12px;color:#91ac9c;font-size:9px;font-weight:600;letter-spacing:1.8px}.folder-heading .icon-button{width:36px;height:36px;color:#b2c7bc}.folder-heading svg{width:16px;height:16px}.sidebar .icon-button:hover{background:#ffffff12;color:white}.folder-list{overflow-y:auto;min-height:45px;flex:1;scrollbar-width:thin;scrollbar-color:#466859 transparent}.folder-row{display:flex;align-items:center;border-radius:8px;position:relative}.folder-row .nav-item{padding-right:31px}.folder-row .folder-edit{position:absolute;right:0;width:29px;height:40px;display:grid;place-items:center;opacity:0;color:#a8c0af}.folder-row:hover .folder-edit,.folder-row:focus-within .folder-edit{opacity:1}.folder-edit svg{width:14px;height:14px}.no-folders{font-size:12px;line-height:1.55;color:#8da996;padding:8px 12px}.sidebar-bottom{margin-top:20px}.trash-nav{margin-bottom:20px}.sidebar-quote{font-size:18px;font-weight:400;line-height:1.35;letter-spacing:-.4px;color:#98b6a2;margin:0 12px 28px}.profile-wrap{border-top:1px solid #ffffff12;padding-top:13px;position:relative}.profile-button{width:100%;display:flex;align-items:center;gap:9px;text-align:left;border-radius:8px;padding:5px;min-height:51px}.profile-button:hover{background:#ffffff0b}.avatar{width:34px;height:34px;flex-shrink:0;border-radius:50%;background:#52725b;color:#edf0dc;font-size:13px;font-weight:500;display:grid;place-items:center}.profile-label{min-width:0;flex:1}.profile-label strong{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:12px;font-weight:550}.profile-label small{display:block;font-size:10px;color:#98b4a1;margin-top:4px}.profile-button>svg{width:19px;height:19px;color:#aac0b2}.note-panel{background:var(--panel);display:flex;flex-direction:column;min-height:0;border-right:1px solid var(--line);position:relative}.list-header{padding:32px 22px 0}.list-title-row{display:flex;align-items:center;gap:9px;min-height:35px;margin-bottom:23px}.list-title-row h1{font-size:22px;letter-spacing:-.7px;font-weight:600;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin:0;min-width:0}.list-count{font-size:11px;background:var(--line);padding:3px 6px;border-radius:5px;line-height:1.1;color:var(--muted)}.search-box{display:flex;align-items:center;gap:8px;background:var(--input);height:43px;border-radius:9px;padding:0 12px;box-shadow:0 2px 4px #142c2010}.search-box>svg{width:16px;height:16px;color:#849080;stroke-width:1.7}.search-box input{border:0;background:transparent;color:var(--text);font-size:13px;width:100%;padding:8px 0;outline:0;min-width:0}.search-box input::placeholder{color:#8c9688}.search-box kbd{font-family:var(--font);color:#a1aa9b;font-size:10px;white-space:nowrap}.list-subhead{display:flex;align-items:center;justify-content:space-between;margin:16px 1px 9px;color:var(--muted);font-size:10px;letter-spacing:.1px}.sort-button{height:30px;width:30px;color:var(--muted);border-radius:6px}.sort-button svg{width:15px;height:15px}.sort-button:hover{background:var(--line)}.notes-list{overflow-y:auto;padding:0 12px 22px;flex:1;scrollbar-width:thin;scrollbar-color:#d4decc transparent}.note-row{width:100%;display:block;text-align:left;padding:19px 13px 15px;border-radius:9px;position:relative;border:1px solid transparent;margin-bottom:3px;min-height:115px}.note-row:after{content:"";position:absolute;left:13px;right:13px;bottom:-2px;height:1px;background:var(--line)}.note-row:last-child:after{display:none}.note-row:hover{background:var(--hover)}.note-row.selected{background:var(--selected);border-color:#dce7d3}.note-row.selected:after,.note-row:has(+.selected):after{visibility:hidden}.note-row-head{display:flex;align-items:center;gap:6px}.note-row h2{font-size:14px;font-weight:600;letter-spacing:-.1px;line-height:1.4;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1}.note-row-head svg{width:12px;height:12px;flex-shrink:0;color:#71916a;stroke-width:1.8}.note-excerpt{font-size:12px;line-height:1.65;color:#7b8777;margin:7px 0 12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;min-height:19px}.note-row-foot{display:flex;align-items:center;gap:8px;font-size:9px;color:#8f9b86}.note-row-foot span:last-child{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.note-folder-label{display:flex;align-items:center;gap:4px}.note-folder-label svg{width:11px;height:11px}.row-draft{margin-left:auto;color:var(--accent);font-size:10px}.list-empty{padding:50px 16px;text-align:center}.list-empty>svg{width:31px;height:31px;color:#97ac90}.list-empty h2{font-size:17px;font-weight:550;letter-spacing:-.3px;margin:17px 0 9px}.list-empty p{font-size:13px;line-height:1.7;color:var(--muted);margin:0}.list-empty button{font-size:13px;color:var(--accent);min-height:44px;margin-top:12px}.editor-panel{min-width:0;min-height:0;background:var(--paper);position:relative}.editor{height:100%;display:flex;flex-direction:column}.editor-header{height:81px;display:flex;gap:12px;align-items:center;padding:0 31px;border-bottom:1px solid var(--line);flex-shrink:0;position:relative}.folder-select-wrap{display:flex;align-items:center;position:relative;min-width:70px;max-width:200px;color:var(--muted)}.folder-select-wrap>svg:first-child{width:15px;height:15px;position:absolute;left:0;pointer-events:none}.folder-select-wrap select{appearance:none;min-width:80px;width:100%;height:43px;padding:0 23px 0 24px;border:0;background:transparent;color:var(--muted);font-size:12px;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.select-chevron{position:absolute;right:0;width:14px;height:14px;pointer-events:none}.save-status{display:flex;align-items:center;gap:5px;font-size:10px;color:#91a187;white-space:nowrap;padding:9px 0;min-height:40px;margin-left:5px}.save-status svg{width:13px;height:13px;stroke-width:1.8}.save-status.pending{color:#9e813c}.save-status.error{color:var(--danger)}.editor-actions{margin-left:auto;display:flex;gap:2px;align-items:center}.editor-actions .icon-button{width:37px;height:39px}.editor-actions svg{width:18px;height:18px}.editor-actions .active{color:var(--accent);background:var(--selected)}.more-wrap{position:relative}.popover{position:absolute;z-index:35;padding:6px;background:var(--paper);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);color:var(--text);width:230px}.popover button{display:flex;align-items:center;gap:10px;padding:9px 12px;width:100%;min-height:43px;border-radius:7px;font-size:13px;text-align:left}.popover button:hover{background:var(--hover)}.popover svg{width:17px;height:17px;color:var(--muted)}.note-menu{top:45px;right:0}.profile-menu{bottom:68px;left:0}.writing-scroll{overflow:auto;flex:1;min-height:0;scrollbar-width:thin;scrollbar-color:#d4decc transparent;overscroll-behavior:contain}.writing-page{max-width:850px;margin:0 auto;padding:49px 65px 24px;min-height:100%;display:flex;flex-direction:column}.note-date{font-size:9px;letter-spacing:1.6px;font-weight:550;color:#9aa68f;margin-bottom:23px}.note-title{font-family:var(--font);width:100%;border:0;resize:none;background:transparent;color:var(--text);padding:0;margin:0;overflow:hidden;display:block;font-size:35px;font-weight:600;line-height:1.25;letter-spacing:-1.2px;min-height:44px}.note-title::placeholder{color:#b7c1af}.format-toolbar{display:flex;align-items:center;gap:1px;min-height:45px;padding:1px 0;margin:28px 0 22px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:#7d8e78}.format-toolbar button{width:34px;height:39px;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:13px;flex-shrink:0}.format-toolbar button:hover{background:var(--hover);color:var(--text)}.format-toolbar svg{width:17px;height:17px;stroke-width:1.5}.format-heading{font-size:15px;font-weight:600}.format-heading>span{font-size:10px}.toolbar-divider{width:1px;background:var(--line);height:16px;margin:0 5px}.toolbar-spacer{flex:1}.toolbar-hint{font-size:9px;color:#a4ae9a;padding-right:2px}.quote-icon{font-size:25px;font-family:Georgia,serif;line-height:1;height:15px}.note-body{flex:1;min-height:260px;line-height:1.85;font-size:16px;color:#4c5d4a;outline:none;overflow-wrap:anywhere;word-break:normal;caret-color:#2b664c;padding-bottom:24px}.note-body:empty:before{content:attr(data-placeholder);color:#adb8a3;pointer-events:none}.note-body p,.note-body div{margin:0 0 13px}.note-body h2{font-size:21px;font-weight:600;letter-spacing:-.4px;color:var(--text);margin:28px 0 13px;line-height:1.4}.note-body h3{font-size:18px;margin:24px 0 10px;line-height:1.5;color:var(--text)}.note-body strong,.note-body b{color:#314d3c;font-weight:600}.note-body ul,.note-body ol{padding-left:23px;margin:14px 0 21px}.note-body li{margin:9px 0;padding-left:3px}.note-body li::marker{color:#94a785;font-size:.8em}.note-body li[data-checked]{list-style:none;padding-left:28px;position:relative;margin-left:-23px;cursor:text}.note-body li[data-checked]:before{content:"";position:absolute;width:16px;height:16px;border:1px solid #bac9b0;border-radius:4px;left:2px;top:7px;cursor:pointer}.note-body li[data-checked=true]{color:#99a58f;text-decoration:line-through}.note-body li[data-checked=true]:before{background:#5b8b62;border-color:#5b8b62}.note-body li[data-checked=true]:after{content:"";position:absolute;left:6px;top:10px;width:8px;height:5px;border-left:1.5px solid white;border-bottom:1.5px solid white;transform:rotate(-45deg);cursor:pointer}.note-body a{color:var(--accent);text-decoration-color:#9bbf9e;text-underline-offset:3px}.note-body blockquote{border-left:2px solid #9db692;margin:24px 0;padding:4px 0 4px 19px;color:#6e8365;font-style:italic}.note-body hr{border:0;border-top:1px solid var(--line);margin:25px 0}.note-body code{background:var(--soft);border-radius:4px;padding:2px 5px;font-size:.9em}.note-body pre{white-space:pre-wrap;background:var(--soft);border-radius:8px;padding:15px;font-size:14px}.writing-footer{border-top:1px solid var(--line);padding-top:17px;margin-top:36px;display:flex;gap:20px;align-items:center;justify-content:space-between;color:#a4af9b;font-size:9px;letter-spacing:.1px}.empty-editor{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:35px;min-height:0}.empty-mark{background:var(--soft);color:#85a174;width:84px;height:84px;border-radius:26px;display:grid;place-items:center;margin-bottom:32px}.empty-mark svg{width:46px;height:46px;stroke-width:1}.empty-editor .eyebrow{font-size:9px;letter-spacing:2px}.empty-editor h2{font-size:36px;font-weight:500;letter-spacing:-1.1px;margin:16px 0}.empty-editor p{font-size:16px;line-height:1.8;color:var(--muted);margin:0 0 25px}.empty-editor .primary-button{font-size:14px}.empty-shortcut{font-size:10px;color:#a2af98;margin-top:22px}.trash-banner{display:flex;align-items:center;justify-content:center;gap:18px;min-height:45px;background:#f4eddd;font-size:13px;color:#876b34;padding:8px 15px}.trash-banner button{font-size:13px;text-decoration:underline;min-height:32px}.app.focus-mode{grid-template-columns:minmax(0,1fr)}.focus-mode .sidebar,.focus-mode .note-panel{display:none}.focus-mode .writing-page{max-width:900px}.focus-mode .editor-header{padding-inline:max(30px,calc((100vw - 770px)/2))}.focus-mode .editor-actions{margin-right:0}.nav-toggle,.compact-new,.mobile-back,.mobile-create,.mobile-nav-close,.nav-scrim{display:none}
.toast{position:fixed;left:50%;bottom:25px;transform:translateX(-50%);background:#224a3f;color:#fff;border-radius:11px;padding:13px 20px;box-shadow:0 7px 20px #163c3620;z-index:100;font-size:14px;line-height:1.5;max-width:min(550px,calc(100vw - 32px));text-align:center}.input-dialog{color:var(--text);background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:23px;width:min(420px,calc(100vw - 28px));box-shadow:var(--shadow)}.input-dialog::backdrop{background:#133a2e66;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.dialog-heading h2{font-size:23px;font-weight:550;letter-spacing:-.7px;margin:0}.dialog-heading .icon-button{margin-right:-9px;margin-top:-9px}.input-dialog p{font-size:14px;line-height:1.65;color:var(--muted)}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:23px}.dialog-actions .primary-button{min-height:45px;font-size:14px}.input-dialog input{background:var(--input);color:var(--text);border-color:var(--line)}
body.dark{color-scheme:dark;--nav:#122c27;--nav-muted:#a8c3b4;--nav-active:#2f5044;--panel:#24342d;--paper:#1b2923;--text:#e0e9dc;--muted:#a0b09b;--line:#334439;--accent:#b0d7b1;--selected:#354f3e;--hover:#2b3c31;--input:#2e4034;--soft:#26382d;--danger:#f2a59c;--shadow:0 12px 40px #07120e50}.dark .note-excerpt{color:#a1b29a}.dark .note-row-foot{color:#92a38b}.dark .note-row.selected{border-color:#46634b}.dark .note-body{color:#bdcab4}.dark .note-body strong,.dark .note-body b{color:#e0e9dc}.dark .note-body blockquote{color:#acbd9d}.dark .note-body a{color:#b0d7b1}.dark .note-body li[data-checked=true]{color:#829379}.dark .note-title::placeholder{color:#687d66}.dark .primary-button{background:#b4d2a4;color:#1b3828}.dark .writing-footer{color:#8b9b81}.dark .demo-bar{background:#354a36;color:#d4e5c4}.dark .trash-banner{background:#433e2d;color:#ddc590}.dark .welcome{color-scheme:light}
.view-mode-switch{display:flex;padding:3px;border-radius:9px;background:#082a253d;margin:-10px 0 23px}.view-mode-switch button{flex:1;min-height:36px;border-radius:7px;font-size:12px;color:#acc3b3;white-space:nowrap}.view-mode-switch button[aria-pressed=true]{background:#e2edda;color:#2d533a;font-weight:600;box-shadow:0 2px 6px #0e2e2112}.space-group+.space-group{margin-top:13px}.space-heading{display:flex;align-items:center;position:relative}.space-heading>.nav-item{min-width:0;padding-right:10px;font-weight:550}.space-heading:has(.space-add)>.nav-item{padding-right:33px}.space-add{position:absolute;right:0;width:32px;height:42px;color:#a8c0af;display:grid;place-items:center;border-radius:7px}.space-add:hover{background:#ffffff0b;color:white}.space-add svg{width:15px;height:15px}.project-row{display:flex;align-items:center;margin-left:calc(var(--depth)*9px);min-height:39px;border-radius:7px;color:#abc0ac}.project-row:hover{background:#ffffff08}.project-row.selected{background:#365b45;color:#edf4e5}.project-expand{width:25px;height:39px;display:grid;place-items:center;flex-shrink:0;color:#91ac94}.project-expand svg{width:13px;height:13px;transform:rotate(-90deg);transition:transform .12s}.project-expand.expanded svg{transform:rotate(0)}.project-expand.empty{visibility:hidden}.project-name{display:flex;align-items:center;gap:7px;min-width:0;flex:1;text-align:left;min-height:39px;font-size:13px;padding:4px 0}.project-name>span:first-child{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;min-width:0}.project-count{font-size:11px;color:#8da990;margin-left:auto;flex-shrink:0}.project-more{width:29px;height:39px;display:grid;place-items:center;flex-shrink:0;opacity:0;color:#b1c8b2}.project-row:hover .project-more,.project-row:focus-within .project-more{opacity:1}.project-more svg{width:16px;height:16px}.project-popover{position:fixed;z-index:80}.no-projects{font-size:11px;color:#78967e;padding:0 12px 0 35px;line-height:1.6;margin:0 0 9px}.simple-mode-hint{font-size:12px;line-height:1.65;color:#86a58e;margin:27px 12px}.note-row h2{font-size:16px}.note-excerpt{font-size:14px;line-height:1.65}.note-row-foot{font-size:12px}.note-row-foot time{white-space:nowrap}.note-row{padding-block:20px;min-height:128px}.note-date{font-size:12px;letter-spacing:1px}.note-body{font-size:17px;line-height:1.8}.writing-footer{font-size:12px}.list-subhead{font-size:12px}.search-box input{font-size:14px}.folder-heading{font-size:10px}.profile-label strong{font-size:14px}.profile-label small{font-size:12px}.no-folders{font-size:13px}.save-status{font-size:12px}.folder-select-wrap select{font-size:14px}.toolbar-hint{font-size:12px}.popover button{font-size:14px}.list-empty p{font-size:14px}.list-empty button{font-size:14px}.login-form input{font-size:16px}.empty-shortcut{font-size:12px}
@media(min-width:1650px){.app{grid-template-columns:238px 355px minmax(0,1fr)}.sidebar{padding:34px 22px 20px}.sidebar-top{margin-bottom:38px}.list-header{padding:37px 27px 0}.notes-list{padding-inline:16px}.note-row{padding:23px 15px 20px;min-height:130px}.note-row h2{font-size:17px}.note-excerpt{font-size:15px}.note-row-foot{font-size:12px}.list-title-row h1{font-size:24px}.search-box input{font-size:15px}.editor-header{height:89px}.writing-page{padding-top:60px;max-width:900px}.note-title{font-size:40px}.note-body{font-size:18px;line-height:1.8}.note-date{font-size:12px}.format-toolbar{margin-top:32px;margin-bottom:30px}.writing-footer{font-size:12px}.save-status,.folder-select-wrap select{font-size:14px}.toolbar-hint{font-size:12px}.nav-item,.new-note{font-size:15px}.profile-label strong{font-size:14px}.profile-label small{font-size:12px}}
@media(max-width:1180px){.app{grid-template-columns:185px 290px minmax(0,1fr)}.sidebar{padding-inline:12px}.brand{font-size:20px}.sidebar .brand{font-size:20px;gap:7px}.sidebar .brand-mark{width:30px}.sidebar .brand-mark svg{width:29px}.new-note{font-size:13px}.nav-item{font-size:13px;padding-inline:9px;gap:8px}.sidebar-quote{font-size:17px}.list-header{padding:29px 18px 0}.writing-page{padding:40px 35px 22px}.editor-header{padding-inline:20px;gap:7px}.editor-actions .icon-button{width:33px}.save-status{font-size:9px}.toolbar-hint{display:none}.note-title{font-size:31px}.folder-select-wrap{max-width:135px}.folder-select-wrap select{font-size:11px}}
@media(max-width:950px){.app{grid-template-columns:290px minmax(0,1fr)}.sidebar{display:none}.sidebar.open{display:flex;position:fixed;inset:0 auto 0 0;width:245px;z-index:60;padding:28px 20px 20px}.nav-scrim:not([hidden]){display:block;position:fixed;inset:0;background:#0d281d70;z-index:59}.sidebar.open .mobile-nav-close{display:inline-flex;color:#bfd0bf;margin-left:auto}.nav-toggle{display:inline-flex;width:30px;height:38px;margin-left:-6px;color:var(--text)}.compact-new{display:inline-flex;margin-left:auto;width:33px;height:38px;color:var(--accent)}.list-title-row{gap:7px}.list-title-row h1{font-size:20px}.list-header{padding-top:23px}.editor-header{height:81px}.welcome-story{padding-inline:9%}.welcome-copy h1{font-size:38px}.welcome-copy>p{font-size:15px}.welcome-form-wrap{padding-inline:30px}.login-form h2{font-size:30px}.welcome-paper{padding:27px 24px}.welcome-paper h2{font-size:24px}.paper-doodle{width:75px;height:75px}.focus-mode .editor-header{padding-inline:30px}}
@media(max-width:700px){body{font-size:16px}.app{display:block;height:100dvh}.note-panel{height:100%;border-right:0}.editor-panel{display:none;height:100%}.app.mobile-edit .note-panel{display:none}.app.mobile-edit .editor-panel{display:block}.app.is-demo{padding-top:44px}.demo-bar{position:fixed;top:0;left:0;right:0;height:44px;padding:3px 12px;font-size:10px;gap:10px;justify-content:space-between}.demo-bar span{line-height:1.4;max-width:190px}.demo-bar button{font-size:11px;max-width:140px;text-align:right}.app.is-demo .sidebar.open{top:44px}.sidebar.open{width:280px;padding:25px 20px max(16px,env(safe-area-inset-bottom))}.sidebar .brand{font-size:25px}.sidebar .brand small{font-size:10px}.sidebar .brand-mark{width:38px}.sidebar .brand-mark svg{width:34px}.sidebar-top{margin-bottom:27px}.new-note{font-size:16px;height:48px}.nav-item{font-size:16px;min-height:48px;padding-inline:11px;gap:11px}.nav-item>svg{width:21px;height:21px}.nav-count{font-size:13px}.folder-heading{font-size:11px;margin-top:25px}.folder-heading .icon-button{width:44px;height:44px}.folder-row .folder-edit{opacity:1;width:40px;height:44px}.folder-row .nav-item{padding-right:43px}.no-folders{font-size:14px}.profile-label strong{font-size:15px}.profile-label small{font-size:12px}.avatar{width:39px;height:39px;font-size:14px}.profile-button>svg{width:22px;height:22px}.sidebar-quote{display:none}.trash-nav{margin-bottom:10px}.folder-list{flex:1}.sidebar-bottom{margin-top:14px}.list-header{padding:18px 21px 0;padding-top:max(18px,env(safe-area-inset-top))}.list-title-row{height:45px;margin-bottom:14px;gap:10px}.list-title-row h1{font-size:25px;letter-spacing:-.7px}.nav-toggle{width:36px;height:44px;margin-left:-5px}.compact-new{width:44px;height:44px}.compact-new svg{width:23px;height:23px}.list-count{font-size:12px;padding:4px 6px}.search-box{height:46px;padding:0 13px;border-radius:11px;gap:10px}.search-box input{font-size:16px}.search-box svg{width:19px;height:19px}.search-box kbd{display:none}.list-subhead{font-size:12px;margin:12px 1px 4px;min-height:39px}.sort-button{height:39px;width:39px}.sort-button svg{width:18px;height:18px}.notes-list{padding:0 12px 105px}.note-row{padding:21px 14px 18px;min-height:123px;margin-bottom:4px}.note-row h2{font-size:17px;line-height:1.45}.note-row-head svg{width:14px;height:14px}.note-excerpt{font-size:14px;line-height:1.6;margin:8px 0 12px}.note-row-foot{font-size:11px;gap:9px}.note-folder-label svg{width:13px;height:13px}.mobile-create{position:absolute;display:flex;align-items:center;justify-content:center;gap:8px;bottom:max(19px,env(safe-area-inset-bottom));right:21px;min-height:49px;padding:13px 20px;border-radius:14px;background:var(--nav);color:#f3f6eb;box-shadow:0 5px 16px #11372e25;font-size:15px;font-weight:550}.mobile-create svg{width:19px;height:19px}.editor-header{height:67px;padding:9px 12px;gap:5px;min-height:67px;padding-top:max(9px,env(safe-area-inset-top))}.mobile-back{display:flex;color:var(--text);width:35px;height:44px;margin-left:-4px}.mobile-back svg{width:23px;height:23px}.folder-select-wrap{max-width:135px;min-width:75px}.folder-select-wrap select{font-size:13px;padding-left:22px;padding-right:18px;height:44px}.folder-select-wrap>svg:first-child{width:15px;height:15px}.select-chevron{width:14px;height:14px}.save-status{font-size:11px;gap:4px;margin-left:auto;min-width:0;max-width:110px;text-align:right;line-height:1.35;justify-content:flex-end}.save-status svg{display:none}.save-status span{overflow-wrap:normal;white-space:normal}.editor-actions{margin-left:3px;gap:0}.editor-actions .icon-button{width:36px;height:44px}.editor-actions .icon-button svg{width:20px;height:20px}#focusButton{display:none}.writing-page{padding:28px 25px max(25px,env(safe-area-inset-bottom))}.note-date{font-size:10px;letter-spacing:1.2px;margin-bottom:18px}.note-title{font-size:30px;line-height:1.3;letter-spacing:-.9px;min-height:40px}.format-toolbar{margin:21px 0 20px;min-height:47px;gap:0;position:relative;overflow-x:auto;flex-shrink:0;scrollbar-width:none}.format-toolbar button{width:36px;height:44px;font-size:15px}.format-toolbar svg{width:20px;height:20px}.toolbar-divider{margin:0 4px;height:18px}.format-heading{font-size:16px}.toolbar-hint{display:none}.note-body{font-size:17px;line-height:1.75;min-height:260px}.note-body h2{font-size:22px}.note-body h3{font-size:19px}.note-body li{margin:12px 0}.note-body li[data-checked]:before{top:6px;width:18px;height:18px}.note-body li[data-checked]:after{top:10px;left:7px}.writing-footer{font-size:10px;margin-top:26px;gap:10px;line-height:1.5}.empty-editor{padding:25px}.empty-editor h2{font-size:30px}.empty-editor .eyebrow{font-size:9px}.empty-shortcut{display:none}.list-empty{padding-top:70px}.list-empty h2{font-size:21px}.list-empty p{font-size:15px}.list-empty button{font-size:15px}.popover{width:245px}.popover button{font-size:15px;min-height:47px}.popover svg{width:20px;height:20px}.note-menu{top:49px;right:0}.profile-menu{bottom:71px}.toast{bottom:20px;font-size:14px;padding:13px 17px}.input-dialog{padding:21px}.input-dialog label{font-size:15px}.input-dialog input{font-size:16px}.input-dialog .primary-button,.input-dialog .secondary-button{font-size:15px}.trash-banner{font-size:13px;gap:12px}.trash-banner button{font-size:14px}.welcome{display:flex;flex-direction:column}.welcome-story{min-height:250px;padding:24px 27px 29px}.welcome-brand{font-size:22px;gap:9px}.welcome-brand .brand-mark{width:32px;height:35px}.welcome-brand .brand-mark svg{width:29px}.welcome-brand small{font-size:9px;letter-spacing:2px;margin-top:6px}.welcome-copy{padding:29px 0 0;margin:0}.welcome-copy>.eyebrow{font-size:9px;letter-spacing:1.8px}.welcome-copy h1{font-size:36px;letter-spacing:-1.2px;line-height:1.15;margin:15px 0 12px}.welcome-copy>p{font-size:14px;line-height:1.65;margin-bottom:0}.desktop-break{display:none}.welcome-paper,.welcome-foot{display:none}.welcome-form-wrap{padding:32px 27px max(30px,env(safe-area-inset-bottom))}.login-form{max-width:420px}.login-form>.eyebrow{display:none}.login-form h2{font-size:26px;letter-spacing:-.8px;margin:0 0 9px}.login-form h2 br{display:none}.login-intro{font-size:14px;margin-bottom:23px}.login-form label{font-size:14px}.login-form input{font-size:16px;height:50px}.myid-button{height:51px;font-size:16px}.login-form>.primary-button{font-size:16px;min-height:50px;margin-top:22px}.password-field button{font-size:12px}.privacy-line{font-size:12px}.preview-link{font-size:14px;margin-top:17px}.login-divider{font-size:12px;margin:20px 0}.dark .mobile-create{background:#bbd7a7;color:#173c26}.app.focus-mode .editor-panel{display:block}.app.focus-mode .note-panel{display:none}}
@media(max-width:370px){.list-header{padding-inline:16px}.list-title-row h1{font-size:23px}.writing-page{padding-inline:20px}.editor-header{padding-inline:8px}.editor-actions .icon-button{width:32px}.folder-select-wrap{max-width:100px}.folder-select-wrap select{font-size:12px}.save-status{font-size:10px;max-width:82px}.format-toolbar button{width:32px}.toolbar-divider{margin-inline:3px}.note-title{font-size:28px}.writing-footer span:last-child{max-width:120px;text-align:right}.welcome-form-wrap,.welcome-story{padding-inline:22px}.welcome-copy h1{font-size:32px}}
.note-row{-webkit-touch-callout:none;user-select:none;touch-action:pan-y}.note-row[draggable=true]{cursor:grab}.note-row[draggable=true]:active{cursor:grabbing}.project-row[draggable=true]{cursor:grab}.is-dragging-note .sidebar{box-shadow:inset -2px 0 #9cbe91}.drop-target{background:#5b7d50!important;outline:1px solid #acc999;outline-offset:-1px;border-radius:8px}.toast button{color:#e5f1d3;text-decoration:underline;text-underline-offset:3px;font-size:14px;font-weight:650;min-height:32px;padding:0 6px;margin-left:12px}.move-dialog{width:min(490px,calc(100vw - 32px));max-height:min(760px,88dvh);border:1px solid var(--line);border-radius:20px;padding:0;color:var(--text);background:var(--paper);box-shadow:var(--shadow);overflow:hidden}.move-dialog::backdrop{background:#133a2e66;backdrop-filter:blur(3px)}.move-heading{display:flex;align-items:flex-start;justify-content:space-between;padding:27px 27px 13px}.move-heading .eyebrow{font-size:10px;letter-spacing:1.6px}.move-heading h2{font-size:26px;font-weight:550;letter-spacing:-.8px;line-height:1.2;margin:9px 0 0}.move-heading .icon-button{margin-top:-9px;margin-right:-10px}.move-item-name{margin:0 27px 17px;color:var(--muted);font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.move-tree{max-height:min(480px,50dvh);overflow-y:auto;padding:0 15px 15px;scrollbar-width:thin;scrollbar-color:#b3c2a8 transparent}.move-space+.move-space{margin-top:13px;border-top:1px solid var(--line);padding-top:13px}.move-target{width:calc(100% - var(--depth,0)*14px);margin-left:calc(var(--depth,0)*14px);min-height:46px;display:flex;align-items:center;gap:11px;text-align:left;border-radius:9px;padding:10px 13px;font-size:15px;color:var(--muted)}.move-target>svg{width:18px;height:18px}.move-target>span{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.move-target.selected{background:var(--selected);color:var(--text)}.move-target:hover:not(:disabled){background:var(--hover)}.move-target.selected:hover{background:var(--selected)}.move-target:disabled{opacity:.35}.move-target small{display:block;color:var(--muted);font-size:12px;font-weight:400;margin-top:3px}.move-root{font-size:16px;font-weight:550;min-height:63px;margin-bottom:3px;color:var(--text)}.move-root>svg:first-child{width:21px;height:21px}.move-root>svg:last-child{width:18px}.move-footer{border-top:1px solid var(--line);padding:17px 22px 22px;display:flex;gap:12px;align-items:center;justify-content:space-between;background:var(--soft)}.move-create{font-size:13px;min-height:46px;display:flex;gap:6px;align-items:center;color:var(--accent);text-align:left;padding:5px 0;max-width:170px}.move-create svg{width:18px;height:18px}.move-footer .primary-button{font-size:14px;min-height:46px;padding:12px 17px;white-space:nowrap}
@media(max-width:700px){.view-mode-switch{margin:-7px 0 21px}.view-mode-switch button{min-height:40px;font-size:14px}.space-group+.space-group{margin-top:14px}.space-add{height:46px;width:40px}.space-add svg{width:18px;height:18px}.space-heading:has(.space-add)>.nav-item{padding-right:43px}.project-row{min-height:44px;margin-left:calc(var(--depth)*9px)}.project-expand{width:28px;height:44px}.project-expand svg{width:15px;height:15px}.project-name{font-size:14px;min-height:44px}.project-more{opacity:1;width:36px;height:44px}.project-more svg{width:19px;height:19px}.project-count{font-size:12px}.no-projects{font-size:12px;padding-left:40px}.simple-mode-hint{font-size:13px}.move-dialog{position:fixed;inset:auto 0 0;width:100%;max-width:none;max-height:88dvh;margin:0;border:0;border-top:1px solid var(--line);border-radius:22px 22px 0 0}.move-heading{padding:26px 23px 13px}.move-heading h2{font-size:26px}.move-item-name{margin-inline:23px;font-size:14px}.move-tree{max-height:50dvh;padding-inline:12px}.move-target{font-size:16px;min-height:48px}.move-root{min-height:64px}.move-footer{padding:15px 20px max(19px,env(safe-area-inset-bottom));gap:13px}.move-create{font-size:14px;max-width:150px}.move-footer .primary-button{font-size:14px;min-height:48px;padding-inline:15px}.toast button{display:inline-block;margin-left:8px;min-height:38px}.note-row[draggable=true],.note-row[draggable=true]:active{cursor:pointer}}
@media(max-width:370px){.move-footer{flex-direction:column;align-items:stretch;gap:5px}.move-create{max-width:none;justify-content:center;min-height:42px}.move-footer .primary-button{width:100%}.move-tree{max-height:43dvh}.move-heading h2{font-size:25px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media(hover:none){.folder-row .folder-edit,.project-row .project-more{opacity:1}}
