:root{--bg:#ececec;--sidebar:#f1f1f1;--list:#fafafa;--paper:#fff;--text:#202020;--muted:#8c8c8c;--secondary:#6b6b6b;--border:#e6e6e6;--accent:#bd8a16;--accent-soft:#f8e9b5;--control:#ededed;--font:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden}body{font-family:var(--font);color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;font-size:14px}button,input,textarea,select{font:inherit}button,input,textarea,a,[contenteditable]{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer;background:0 0;border:0;transition:background .13s,color .13s}button:focus-visible,input:focus-visible,textarea:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}button:disabled{opacity:.38;cursor:default}button:disabled:hover{background:0 0}[hidden]{display:none!important}a{color:var(--accent)}.sprite{width:0;height:0;position:absolute;overflow:hidden}.icon{fill:none;stroke:currentColor;stroke-width:1.65px;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;flex-shrink:0;width:20px;height:20px;display:inline-block}button .icon{pointer-events:none}.icon-button{width:33px;height:33px;color:var(--secondary);border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;padding:6px;display:inline-flex}.icon-button:hover{background:var(--control)}.icon-button.active,.icon-button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent)}.text-button{color:var(--accent);align-items:center;gap:2px;min-height:38px;padding:5px 0;font-size:16px;display:inline-flex}.text-button .icon{width:23px;height:23px}.mobile-only{display:none!important}.prototype-bar{z-index:20;background:#e9e9e9;border-bottom:1px solid #dedede;justify-content:space-between;align-items:center;height:51px;padding:0 23px;display:flex;position:relative}.prototype-title{letter-spacing:-.65px;align-items:center;font-size:19px;font-weight:600;display:flex}.prototype-title>span{color:var(--accent)}.prototype-title small{letter-spacing:0;color:var(--muted);border-left:1px solid #d2d2d2;margin-left:15px;padding-left:15px;font-size:11px;font-weight:400}.prototype-bar>.icon-button{width:30px;height:30px}.prototype-bar>.icon-button .icon{width:16px;height:16px}.device-switch{background:#dedede;border:1px solid #d7d7d7;border-radius:8px;gap:2px;padding:3px;display:flex;position:absolute;left:50%;transform:translate(-50%)}.device-switch button{min-width:109px;color:var(--secondary);border-radius:5px;justify-content:center;align-items:center;gap:6px;padding:5px 11px;font-size:11px;display:flex}.device-switch .icon{width:14px;height:14px}.device-switch button.active{background:var(--paper);color:var(--text);box-shadow:0 1px 3px #0000000b}.stage{justify-content:center;align-items:center;height:calc(100dvh - 51px);padding:25px;display:flex}.app-shell{background:var(--paper);isolation:isolate;border:1px solid #d9d9d9;border-radius:12px;grid-template-rows:minmax(0,1fr);grid-template-columns:202px 294px minmax(0,1fr);width:100%;height:100%;min-height:0;display:grid;position:relative;overflow:hidden;box-shadow:0 16px 50px #0000000b;container:app/inline-size}.sidebar{background:var(--sidebar);border-right:1px solid var(--border);flex-direction:column;min-height:0;padding:0 11px 14px;display:flex;overflow:auto}.sidebar-top{flex-shrink:0;align-items:center;height:70px;padding:0 13px;display:flex}.brand{letter-spacing:-1.1px;color:var(--text);font-size:25px;font-weight:650;text-decoration:none}.brand>span{color:var(--accent)}.mobile-folders-title{display:none}.notebook-row{text-align:left;border-radius:6px;align-items:center;gap:9px;width:100%;min-height:36px;margin-bottom:2px;padding:8px 11px;font-size:13px;display:flex}.notebook-row>.icon{width:18px;height:18px;color:var(--accent)}.notebook-row:hover{background:#e7e7e7}.notebook-row.active{background:#dfdfdf}.notebook-name{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.notebook-count{color:var(--muted);font-variant-numeric:tabular-nums;font-size:11px}.notebook-lock,.notebook-lock .icon{width:12px;height:12px;color:var(--muted);flex-shrink:0}.notebook-row>.icon.notebook-lock{width:12px;height:12px;color:var(--muted)}.sidebar-section-label{color:var(--muted);margin:26px 0 9px;padding:0 12px;font-size:10px;font-weight:500}.notebook-list{flex-direction:column;display:flex}.add-notebook{width:100%;color:var(--secondary);text-align:left;border-radius:6px;align-items:center;gap:8px;margin-top:12px;padding:9px 11px;font-size:12px;display:flex}.add-notebook:hover{background:#e7e7e7}.add-notebook .icon{width:15px;height:15px}.sidebar-bottom{flex-direction:column;gap:14px;margin-top:auto;padding:35px 10px 0;display:flex}.sidebar-bottom #storageLabel{color:var(--muted);align-items:center;gap:5px;font-size:9px;line-height:1.5;display:flex}#storageLabel .icon{color:#999;width:12px;height:12px}.settings-button{color:var(--secondary);text-align:left;align-items:center;gap:8px;padding:7px 0;font-size:11px;display:flex}.settings-button .icon{width:15px;height:15px}.notes-panel{background:var(--list);border-right:1px solid var(--border);flex-direction:column;min-width:0;min-height:0;display:flex;position:relative}.list-header{justify-content:space-between;align-items:center;gap:5px;min-height:70px;padding:22px 20px 17px;display:flex}.list-header h1{letter-spacing:-.4px;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:20px;font-weight:600;line-height:1.2;overflow:hidden}.list-header .icon-button{width:28px;height:28px}.search-box{background:var(--control);height:33px;color:var(--muted);border:1px solid #0000;border-radius:7px;flex-shrink:0;align-items:center;gap:7px;margin:0 19px 15px;padding:7px 9px;display:flex}.search-box>.icon{width:14px;height:14px}.search-box input{width:100%;min-width:0;color:var(--text);background:0 0;border:0;outline:0;font-size:12px}.search-box input::placeholder{color:var(--muted)}.search-box:focus-within{border-color:#ceab57;box-shadow:0 0 0 2px #d9b65318}.search-box input:focus-visible{outline:0}.notes-list{scrollbar-width:thin;scrollbar-color:#d5d5d5 transparent;flex:1;min-height:0;padding:0 9px 12px;overflow:auto}.list-group{color:var(--muted);align-items:center;gap:5px;margin:17px 12px 8px;font-size:10px;font-weight:500;display:flex}.list-group .icon{width:11px;height:11px}.note-row{text-align:left;border:1px solid #0000;border-radius:7px;width:100%;min-height:94px;margin:1px 0;padding:15px 12px 14px;display:block;position:relative}.note-row:hover{background:#f0f0f0}.note-row-title{letter-spacing:-.12px;color:var(--text);white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:6px;font-size:13px;font-weight:600;line-height:1.45;display:flex;overflow:hidden}.note-row-title>.icon{width:13px;height:13px;color:var(--accent);flex-shrink:0}.note-pin{width:11px;height:11px;color:var(--accent);margin-left:auto}.note-row-excerpt{color:var(--secondary);white-space:nowrap;text-overflow:ellipsis;margin:5px 0 7px;font-size:12px;line-height:1.6;overflow:hidden}.note-row-meta{color:var(--muted);align-items:center;gap:6px;font-size:10px;line-height:1.4;display:flex}.note-date{color:var(--muted);font-size:10px}.note-row-meta>.icon{width:10px;height:10px}.note-row:not(.active)+.note-row:not(.active):before{content:"";background:var(--border);height:1px;position:absolute;top:-1px;left:12px;right:12px}.list-footer{border-top:1px solid var(--border);background:var(--list);flex-shrink:0;justify-content:space-between;align-items:center;height:48px;padding:0 17px 0 22px;display:flex}.list-footer>span{color:var(--muted);font-size:11px}.compose-button{color:var(--accent);width:36px;height:36px}.compose-button .icon{width:20px;height:20px}.empty-list{text-align:center;color:var(--muted);padding:58px 16px;font-size:12px;line-height:1.7}.empty-list .icon{color:#b5b5b5;width:25px;height:25px;margin-bottom:10px}.empty-list strong,.empty-list h3{color:var(--secondary);font-size:14px;font-weight:500;display:block}.empty-list button{color:var(--accent);margin-top:5px;padding:8px;font-size:12px}.mobile-list-top{display:none}.editor-panel{background:var(--paper);flex-direction:column;min-width:0;min-height:0;display:flex;position:relative}.editor-toolbar{flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;height:57px;padding:0 22px;display:flex}.toolbar-left,.toolbar-right{align-items:center;gap:9px;display:flex}.editor-toolbar .icon-button{color:var(--accent)}.toolbar-left .icon-button:first-child{color:var(--muted)}.toolbar-divider{background:var(--border);width:1px;height:17px;margin:0 8px}.format-toggle{color:var(--accent);letter-spacing:-.8px;border-radius:6px;min-width:34px;height:33px;padding:3px 6px;font-size:18px}.format-toggle:hover,.format-toggle.active{background:var(--control)}.format-bar{border-bottom:1px solid var(--border);border-top:1px solid var(--border);background:var(--list);flex-shrink:0;align-items:center;gap:8px;min-height:46px;padding:7px 22px;display:flex}.format-bar button{width:32px;height:30px;color:var(--secondary);border-radius:5px;justify-content:center;align-items:center;display:flex}.format-bar button:hover{background:var(--control);color:var(--accent)}.format-bar .icon{width:16px;height:16px}.editor-scroll{scrollbar-width:thin;scrollbar-color:#ddd transparent;flex:1;min-height:0;position:relative;overflow:auto}.document{max-width:810px;margin:0 auto;padding:0 59px 65px}.note-date-header{text-align:center;color:var(--muted);padding:9px 0 33px;font-size:11px;line-height:1.5}.document h1{letter-spacing:-.7px;overflow-wrap:anywhere;outline:0;margin:0 0 18px;font-size:29px;font-weight:650;line-height:1.25}.document h1:empty:before{content:"Название";color:#b3b3b3}#noteContent{color:var(--text);overflow-wrap:anywhere;outline:0;min-height:230px;font-size:15px;line-height:1.75}#noteContent p{margin:10px 0 18px}#noteContent .lead{font:inherit;color:inherit}#noteContent h2{letter-spacing:-.3px;margin:26px 0 11px;font-size:18px;font-weight:600;line-height:1.4}#noteContent h3{margin:22px 0 9px;font-size:16px;font-weight:600}#noteContent strong{font-weight:600}#noteContent ul,#noteContent ol{margin:10px 0 20px;padding-left:22px}#noteContent li{margin:7px 0}#noteContent .checklist{margin:13px 0 22px;padding:0;list-style:none}#noteContent .check-item{align-items:flex-start;gap:10px;margin:11px 0;line-height:1.7;display:flex}#noteContent input[type=checkbox]{appearance:none;cursor:pointer;background:var(--paper);border:1.5px solid #ccc;border-radius:50%;flex-shrink:0;width:17px;min-width:17px;height:17px;margin:4px 0 0;position:relative}#noteContent input[type=checkbox]:checked{background:var(--accent);border-color:var(--accent)}#noteContent input[type=checkbox]:checked:after{content:"";border:1.5px solid #fff;border-width:0 1.5px 1.5px 0;width:4px;height:8px;position:absolute;top:2px;left:5px;transform:rotate(45deg)}#noteContent .check-item.is-checked>span{color:var(--muted);-webkit-text-decoration:line-through #c2c2c2;text-decoration:line-through #c2c2c2}#noteContent a{color:var(--accent);text-underline-offset:3px}#noteContent blockquote,#noteContent .callout{border-left:3px solid var(--accent);color:var(--secondary);margin:22px 0;padding:4px 0 4px 16px;font-size:15px}#noteContent code{background:var(--control);border-radius:4px;padding:2px 5px;font-family:SFMono-Regular,Consolas,monospace;font-size:12px}#noteContent pre{border:1px solid var(--border);background:var(--list);white-space:pre;border-radius:7px;max-width:100%;padding:15px;font-family:monospace;font-size:12px;overflow:auto}#noteContent pre code{background:0 0;padding:0}#noteContent hr{border:0;border-top:1px solid var(--border);margin:25px 0}.markdown-source{width:100%;color:var(--text);resize:vertical;background:0 0;border:0;outline:0;min-height:400px;padding:0;font:13px/1.9 SFMono-Regular,Consolas,monospace;display:block}.markdown-source:focus-visible{outline:0}.related-notes{border-top:1px solid var(--border);color:var(--secondary);margin-top:36px;padding-top:17px}.related-notes summary{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:7px;min-height:28px;font-size:12px;list-style:none;display:flex}.related-notes summary::-webkit-details-marker{display:none}.related-notes summary>.icon{width:15px;height:15px;color:var(--muted)}.related-notes summary .related-count{color:var(--muted);font-size:11px}.related-notes summary>.icon:last-child{width:13px;height:13px;margin-left:auto}.related-list{flex-direction:column;gap:1px;margin-top:12px;display:flex}.related-row{text-align:left;border-radius:6px;align-items:center;gap:10px;width:100%;min-height:56px;padding:9px 5px;display:flex}.related-row>div,.related-row>span{flex:1;min-width:0}.related-row strong,.related-row .related-title{color:var(--text);font-size:12px;font-weight:500;display:block}.related-row small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;margin-top:5px;font-size:10px;line-height:1.5;display:block;overflow:hidden}.related-row>.icon{width:13px;height:13px;color:var(--muted)}.save-state{color:var(--muted);pointer-events:none;background:var(--paper);align-items:center;gap:5px;font-size:10px;display:flex;position:absolute;bottom:12px;right:20px}.save-state .icon{width:12px;height:12px}.app-shell.sidebar-collapsed{grid-template-columns:294px minmax(0,1fr)}.sidebar-collapsed>.sidebar{display:none}.locked-state,.empty-editor{text-align:center;max-width:480px;margin:auto;padding:100px 35px}.state-icon{width:52px;height:52px;color:var(--muted);justify-content:center;align-items:center;margin:0 auto 21px;display:flex}.state-icon .icon{stroke-width:1.2px;width:44px;height:44px}.state-icon.icon{stroke-width:1.2px;width:42px;height:42px}.state-title{letter-spacing:-.5px;margin:0 0 13px;font-size:23px;font-weight:600}.state-description{color:var(--secondary);max-width:325px;margin:0 auto 25px;font-size:13px;line-height:1.75}.primary-button,.secondary-button{background:var(--accent);color:#fff;border:1px solid var(--accent);border-radius:7px;justify-content:center;align-items:center;gap:8px;min-height:39px;padding:10px 17px;font-size:13px;font-weight:500;line-height:1.4;display:inline-flex}.primary-button:hover{background:#aa7911;border-color:#aa7911}.secondary-button{background:var(--control);color:var(--text);border-color:var(--border)}.secondary-button:hover{background:#e0e0e0}.primary-button .icon,.secondary-button .icon{width:16px;height:16px}.locked-state>.secondary-button,.empty-editor>.secondary-button{color:var(--accent);background:0 0;border:0;margin:12px auto;font-size:12px;display:flex}.password-editor{max-width:630px;margin:0 auto;padding:38px 52px 60px}.password-editor h1{letter-spacing:-.7px;margin:12px 0 8px;font-size:28px;font-weight:600;line-height:1.3}.password-editor .note-date-header{padding:0 0 25px}.password-fields{border:1px solid var(--border);background:var(--paper);border-radius:10px;margin-top:28px;overflow:hidden}.password-field{border-bottom:1px solid var(--border);padding:16px 18px}.password-field:last-child{border-bottom:0}.password-field label,.password-field>.field-label{color:var(--muted);margin-bottom:8px;font-size:11px;display:block}.password-value{align-items:center;gap:10px;min-height:29px;font-size:14px;display:flex}.password-value>span,.password-value>input{overflow-wrap:anywhere;flex:1;min-width:0}.password-value input{color:var(--text);background:0 0;border:0;outline:0;width:100%;padding:3px 0}.password-value .icon-button{width:28px;height:28px;color:var(--muted)}.password-value .icon{width:16px;height:16px}.password-actions{flex-wrap:wrap;gap:8px;margin-top:22px;display:flex}.demo-label{color:var(--muted);border:1px solid var(--border);border-radius:4px;margin:8px 0;padding:4px 6px;font-size:10px;display:inline-block}.password-editor>.icon{color:var(--accent);width:29px;height:29px}.app-modal{background:var(--paper);width:min(440px,100vw - 32px);max-height:calc(100dvh - 48px);color:var(--text);border:1px solid var(--border);border-radius:15px;padding:30px;overflow:auto;box-shadow:0 20px 100px #0003}.modal-close{z-index:2;width:27px;height:27px;color:var(--muted);position:absolute;top:12px;right:12px}.modal-close .icon{width:17px;height:17px}.modal-heading{letter-spacing:-.6px;margin:3px 20px 13px 0;font-size:23px;font-weight:600;line-height:1.3}.modal-description{color:var(--secondary);margin:0 0 23px;font-size:13px;line-height:1.7}.field{margin:17px 0;display:block}.field-label{color:var(--secondary);margin-bottom:8px;font-size:12px;font-weight:500;display:block}.text-input{border:1px solid var(--border);background:var(--list);width:100%;height:41px;color:var(--text);border-radius:7px;outline:0;padding:10px 12px;font-size:14px}.text-input:focus{border-color:var(--accent);box-shadow:0 0 0 2px #bf92251c}.text-input:focus-visible{outline:none}.field textarea.text-input{resize:vertical;min-height:100px}.field-error{color:#b85040;min-height:0;margin:9px 0;font-size:12px;line-height:1.6}.form-actions>*{flex:1}.menu-list{flex-direction:column;gap:2px;margin:10px -11px -8px;display:flex}.menu-row{text-align:left;border-radius:7px;align-items:center;gap:12px;width:100%;min-height:45px;padding:13px 12px;font-size:13px;display:flex}.menu-row>.icon{width:18px;height:18px;color:var(--secondary)}.menu-row>span:first-of-type{flex:1}.menu-hint{color:var(--muted);margin-left:auto;font-size:11px}.menu-row.danger,.menu-row.danger>.icon{color:#c35a4c}.menu-list hr{border:0;border-top:1px solid var(--border);width:100%;margin:8px 0}.export-card{border:1px solid var(--border);background:var(--list);border-radius:9px;align-items:flex-start;gap:12px;margin:18px 0;padding:16px;display:flex}.export-card>.icon{width:25px;height:25px;color:var(--accent);margin-top:2px}.export-card strong{margin:1px 0 7px;font-size:13px;font-weight:600;display:block}.export-card p,.export-card small{color:var(--secondary);margin:0;font-size:12px;line-height:1.7;display:block}.publication-preview{border:1px solid var(--border);background:var(--paper);border-radius:9px;width:100%;height:230px;margin:3px 0 15px}.publication-footnote{color:var(--muted);margin:16px 0 8px;font-size:11px;line-height:1.65}.app-modal .primary-button:disabled{opacity:.7;background:#b5b5b5;border-color:#b5b5b5}.toast{color:#fff;opacity:0;pointer-events:none;z-index:100;text-align:center;background:#353535;border-radius:9px;align-items:center;gap:10px;max-width:calc(100vw - 32px);padding:12px 18px;font-size:12px;line-height:1.5;transition:opacity .15s,transform .15s;display:flex;position:fixed;bottom:36px;left:50%;transform:translate(-50%,15px);box-shadow:0 5px 25px #0002}.toast.show,.toast.visible{opacity:1;transform:translate(-50%)}.toast .icon{width:15px;height:15px}.toast button{pointer-events:auto;color:#f6d17a;padding:0 4px;font-size:12px}body[data-theme=dark]{--bg:#1e1e1e;--sidebar:#292929;--list:#232323;--paper:#1b1b1b;--text:#eaeaea;--muted:#868686;--secondary:#a7a7a7;--border:#353535;--accent:#dbac3f;--accent-soft:#514622;--control:#333}body[data-theme=dark] .prototype-bar{background:#242424;border-color:#363636}body[data-theme=dark] .prototype-title small{border-color:#444}body[data-theme=dark] .device-switch{background:#1b1b1b;border-color:#3b3b3b}body[data-theme=dark] .device-switch button.active{background:#3c3c3c}body[data-theme=dark] .app-shell{border-color:#3b3b3b}body[data-theme=dark] .notebook-row:hover,body[data-theme=dark] .add-notebook:hover{background:#343434}body[data-theme=dark] .notebook-row.active{background:#414141}body[data-theme=dark] .note-row:hover{background:#2f2f2f}body[data-theme=dark] .note-row.active{background:var(--accent-soft)}body[data-theme=dark] .primary-button:hover{background:#e4b74e;border-color:#e4b74e}body[data-theme=dark] .secondary-button:hover{background:#444}body[data-theme=dark] #noteContent input[type=checkbox]{border-color:#6f6f6f}body[data-theme=dark] #noteContent input[type=checkbox]:checked{border-color:var(--accent)}body[data-theme=dark] #noteContent input[type=checkbox]:checked:after{border-color:#2a2417}body[data-theme=dark] #noteContent .check-item.is-checked>span{text-decoration-color:#555}body[data-theme=dark] .notes-list,body[data-theme=dark] .editor-scroll{scrollbar-color:#4a4a4a transparent}@container app (width>=1500px){.sidebar{padding-left:16px;padding-right:16px}.notebook-row{min-height:39px;font-size:14px}.note-row{min-height:102px;padding:16px 14px}.note-row-title{font-size:14px}.note-row-excerpt{font-size:13px}.note-row-meta{font-size:11px}.document{padding:10px 58px 75px}.document h1{font-size:32px}#noteContent{font-size:16px}.list-header h1{font-size:22px}}@media (min-width:761px) and (max-width:1100px){.stage{padding:16px}.app-shell{grid-template-columns:170px 250px minmax(0,1fr)}.notebook-row{gap:7px;padding:8px;font-size:12px}.sidebar{padding-left:9px;padding-right:9px}.list-header{padding-left:17px;padding-right:14px}.list-header h1{font-size:19px}.search-box{margin-left:16px;margin-right:16px}.document{padding-left:34px;padding-right:34px}.document h1{font-size:27px}#noteContent{font-size:14px}.editor-toolbar{padding:0 17px}.toolbar-left,.toolbar-right{gap:4px}.app-shell.sidebar-collapsed{grid-template-columns:250px minmax(0,1fr)}}body.phone-preview .stage{padding:24px}body.phone-preview .app-shell{border:6px solid #333;border-radius:33px;width:390px;max-width:100%;height:min(810px,100dvh - 97px);box-shadow:0 20px 55px #00000017}body.phone-preview .app-modal{width:352px;max-width:calc(100vw - 28px)}@container app (width<=760px){.sidebar{background:var(--sidebar);border:0;grid-column:1/-1;height:100%;padding:0 20px 25px;display:none}.notes-panel{background:var(--paper);border:0;grid-column:1/-1;height:100%}.mobile-list-top{align-items:center;height:55px;padding:7px 19px 0;display:flex}.list-header{min-height:62px;padding:10px 23px 19px}.list-header h1{letter-spacing:-.8px;font-size:31px;font-weight:650}.list-header .icon-button{color:var(--accent);width:34px;height:34px}.search-box{background:var(--control);border-radius:9px;height:39px;margin:0 23px 15px;padding:8px 10px}.search-box input{font-size:16px}.search-box>.icon{width:17px;height:17px}.notes-list{padding:0 12px 16px}.note-row{border-radius:9px;min-height:98px;padding:16px 13px}.note-row-title{font-size:16px}.note-row-excerpt{margin:5px 0 6px;font-size:14px;line-height:1.55}.note-row-meta,.note-date{font-size:12px}.list-group{color:var(--text);margin:19px 13px 9px;font-size:13px;font-weight:600}.list-footer{height:calc(61px + env(safe-area-inset-bottom));padding:0 21px env(safe-area-inset-bottom);background:var(--paper);border-top:1px solid var(--border)}.list-footer>span{white-space:nowrap;font-size:12px;position:absolute;left:50%;transform:translate(-50%)}.compose-button{width:42px;height:44px;margin-left:auto}.compose-button .icon{width:24px;height:24px}.editor-panel{grid-column:1/-1;height:100%;display:none}.mobile-editor>.notes-panel,.mobile-editor>.sidebar{display:none}.mobile-editor>.editor-panel{display:flex}.mobile-only{display:inline-flex!important}.desktop-only{display:none!important}.editor-toolbar{gap:3px;height:60px;padding:7px 16px 3px}.toolbar-left{gap:2px}.toolbar-right{gap:4px}#formatToggle,.checklist-button{display:none}.editor-toolbar>.toolbar-right .icon-button{width:35px;height:39px}.document{max-width:none;padding:0 25px 65px}.note-date-header{padding:10px 0 26px;font-size:11px}.document h1{letter-spacing:-.65px;margin-bottom:20px;font-size:29px;line-height:1.3}#noteContent{min-height:260px;font-size:16px;line-height:1.75}#noteContent h2{margin:27px 0 13px;font-size:19px}#noteContent .check-item{gap:11px;margin:14px 0}#noteContent input[type=checkbox]{width:19px;min-width:19px;height:19px;margin-top:4px}#noteContent input[type=checkbox]:checked:after{width:4px;height:8px;top:3px;left:6px}.related-notes{margin-top:31px;padding-top:15px}.related-notes summary{min-height:35px;font-size:13px}.format-bar{padding:8px 17px calc(8px + env(safe-area-inset-bottom));border-top:1px solid var(--border);border-bottom:0;order:3;gap:10px}.format-bar>button{width:34px;height:36px}.save-state{bottom:calc(12px + env(safe-area-inset-bottom));font-size:9px;right:19px}.mobile-folders>.sidebar{display:flex}.mobile-folders>.notes-panel,.mobile-folders>.editor-panel{display:none}.sidebar-top{height:56px;padding:7px 0 0}.sidebar-top>.brand{display:none}.mobile-folders-title{letter-spacing:-.8px;margin:15px 3px 28px;font-size:33px;font-weight:650;display:block}.sidebar .notebook-row{background:var(--paper);border-radius:0;gap:12px;min-height:59px;margin:0;padding:16px 15px;font-size:16px}.sidebar .notebook-row>.icon{width:22px;height:22px}.sidebar .notebook-row.active{background:var(--paper)}.sidebar .all-notes{border-radius:11px}.sidebar .notebook-list{border-radius:11px;overflow:hidden}.notebook-list>.notebook-row+.notebook-row{border-top:1px solid var(--border)}.notebook-count{font-size:13px}.notebook-row>.icon.notebook-lock{width:14px;height:14px}.sidebar-section-label{margin:26px 3px 10px;padding:0;font-size:12px}.add-notebook{color:var(--accent);margin-top:15px;padding:17px 3px;font-size:15px}.add-notebook .icon{width:18px;height:18px}.sidebar-bottom{padding:30px 3px 0}.settings-button{min-height:40px;font-size:14px}.sidebar-bottom #storageLabel{font-size:11px}.locked-state,.empty-editor{padding:85px 27px}.state-title{font-size:24px}.state-description{font-size:14px}.password-editor{padding:25px 24px 60px}.password-editor h1{font-size:28px}.password-field{padding:16px}.password-value{font-size:15px}.password-value input{font-size:16px}.related-row{min-height:61px}.related-row strong,.related-row .related-title{font-size:13px}.related-row small{font-size:11px}.markdown-source{min-height:500px;font-size:14px}}@media (max-width:760px){.prototype-bar{height:39px;padding:0 16px}.prototype-title{font-size:16px}.prototype-title small{margin-left:12px;padding-left:12px;font-size:9px}.device-switch{display:none}.prototype-bar>.icon-button{width:27px;height:27px}.stage,body.phone-preview .stage{background:var(--paper);height:calc(100dvh - 39px);padding:0}.app-shell,body.phone-preview .app-shell{width:100%;max-width:none;height:100%;box-shadow:none;border:0;border-radius:0}.app-modal{border-radius:17px;width:calc(100vw - 28px);max-height:calc(100dvh - 35px);padding:28px 23px}.modal-heading{font-size:24px}.modal-description{font-size:14px}.menu-row{min-height:48px;font-size:15px}.text-input{height:44px;font-size:16px}.primary-button,.secondary-button{min-height:43px;font-size:14px}.publication-preview{height:220px}.toast{font-size:13px;bottom:30px}}body.embedded .prototype-bar{display:none}body.embedded .stage{height:100dvh;padding:0}body.embedded .app-shell{box-shadow:none;border:0;border-radius:0}body.phone-preview .app-shell{grid-template-columns:minmax(0,1fr)}@media (max-width:760px){.app-shell,.app-shell.sidebar-collapsed{grid-template-columns:minmax(0,1fr)}}.note-row-excerpt{max-width:100%;display:block}.note-row-meta>span{align-items:center;gap:3px;min-width:0;display:inline-flex}.note-row-meta .icon{width:11px;height:11px}.notes-list{overflow-x:hidden}.similar-count{color:var(--muted);font-size:11px}.related-notes[open] summary>.icon:last-child{transform:rotate(180deg)}.credential-heading{align-items:center;gap:12px;margin:4px 0 22px;display:flex}.credential-heading>.icon{width:27px;height:27px;color:var(--accent)}.password-title{width:100%;min-width:0;color:var(--text);letter-spacing:-.6px;background:0 0;border:0;outline:0;padding:5px 0;font-size:28px;font-weight:600}.password-field{display:block}.password-field>span{color:var(--muted);margin-bottom:8px;font-size:11px;display:block}.password-field>input{width:100%;color:var(--text);background:0 0;border:0;outline:0;padding:4px 0;font-size:14px}.password-field>strong{overflow-wrap:anywhere;font-size:14px;font-weight:400}.credential-footnote,.field-hint,.settings-note p{color:var(--secondary);font-size:12px;line-height:1.7}.credential-footnote{margin-top:21px}.field-hint .icon{width:14px;height:14px;margin-right:3px}.modal-symbol{color:var(--accent);margin:0 0 14px}.modal-symbol>.icon{width:27px;height:27px}.publication-label{color:var(--muted);margin:17px 0 9px;font-size:11px}.settings-note{border-top:1px solid var(--border);margin-top:30px;padding-top:20px}.settings-note strong{font-size:12px;font-weight:500}.full-width{width:100%;margin-top:12px}@container app (width<=760px){#formatToggle{margin-left:8px;font-size:20px;display:block}.password-title{font-size:27px}.password-field>input{font-size:16px}.password-field>span,.password-field>label{font-size:12px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}#root{height:100%;min-height:0}.stage{height:100dvh;min-height:0;padding:24px}.brand span{color:var(--accent)}.small-icon{flex-shrink:0;width:13px;height:13px}.note-row-title{align-items:center;gap:5px;display:flex;overflow:hidden}.note-row-title strong{white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:600;overflow:hidden}.note-row.active{background:var(--accent-soft)}.note-excerpt{color:var(--secondary);white-space:nowrap;text-overflow:ellipsis;margin:6px 0;font-size:12px;overflow:hidden}.note-meta{color:var(--muted);justify-content:space-between;gap:6px;font-size:10px;display:flex}.virtual-list{flex:1;min-height:0;overflow:auto}.list-empty{text-align:center;color:var(--muted);pointer-events:none;line-height:1.7;position:absolute;top:48%;left:25px;right:25px}.list-header h1{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.search-status{color:var(--muted);padding:0 20px 8px;font-size:10px}.note-title-input{letter-spacing:-.6px;width:100%;color:var(--text);background:0 0;border:0;margin:12px 0 27px;padding:0;font-size:30px;font-weight:650;line-height:1.3;display:block;outline:none!important}.sloy-editor{min-height:180px;outline:none!important}.sloy-editor p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:var(--muted);pointer-events:none;height:0}.sloy-editor ul[data-type=taskList]{list-style:none;padding-left:0!important}.sloy-editor li[data-type=taskItem]{align-items:flex-start;gap:9px;display:flex;padding-left:0!important}.sloy-editor li[data-type=taskItem]>label{flex-shrink:0;padding-top:3px}.sloy-editor li[data-type=taskItem]>div{flex:1;min-width:0}.sloy-editor li[data-type=taskItem] p{margin:0 0 8px!important}.sloy-editor input[type=checkbox]{accent-color:var(--accent)}.sloy-editor pre,.article-content pre{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--control);border-radius:8px;padding:16px}.sloy-editor a{cursor:pointer}.actual-empty{text-align:center;max-width:400px;height:100%;color:var(--secondary);flex-direction:column;justify-content:center;align-items:center;margin:auto;padding:30px;display:flex!important}.actual-empty h2{color:var(--text);letter-spacing:-.5px;margin:20px 0 5px;font-size:23px;font-weight:550}.actual-empty p{margin-bottom:23px;line-height:1.8}.actual-empty small{color:var(--muted);margin-top:22px;font-size:11px;line-height:1.7}.empty-symbol{stroke-width:1.2px;width:43px;height:43px;color:var(--muted)}.save-state{pointer-events:none;text-align:right;max-width:calc(100% - 30px);line-height:1.5}.related-notes{margin-top:45px}.related-notes summary{cursor:pointer;color:var(--secondary);align-items:center;gap:7px;font-size:12px;display:flex}.related-notes summary>.icon:last-child{width:13px;margin-left:auto}.related-list{padding:8px 0}.related-row{text-align:left;width:100%;padding:9px 4px;display:block}.related-row strong,.related-row small{font-size:12px;display:block}.related-row small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;margin-top:4px;font-size:11px;overflow:hidden}.related-row:hover{background:var(--control)}.app-modal{background:var(--paper);max-height:calc(100dvh - 40px);color:var(--text);border:1px solid var(--border);border-radius:15px;width:440px;max-width:calc(100vw - 28px);padding:30px;overflow:auto;box-shadow:0 25px 100px #0003}.app-modal.wide-modal{width:570px}.app-modal::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0005}.modal-heading{letter-spacing:-.6px;margin:0 25px 20px 0;font-size:23px;font-weight:600}.modal-description{color:var(--secondary);font-size:13px;line-height:1.75}.modal-symbol{background:var(--accent-soft);width:46px;height:46px;color:var(--accent);border-radius:13px;place-items:center;margin:15px 0;display:grid}.modal-symbol .icon{width:25px;height:25px}.modal-close{position:absolute;top:17px;right:17px}.field{margin:16px 0}.field label{margin-bottom:7px;font-size:12px;font-weight:550;display:block}.text-input{background:var(--list);border:1px solid var(--border);width:100%;color:var(--text);border-radius:7px;min-height:42px;padding:11px 12px}.text-input:focus{border-color:var(--accent);outline:2px solid color-mix(in srgb,var(--accent) 15%,transparent);outline-offset:0}.field-hint{color:var(--muted);margin:7px 0;font-size:11px;line-height:1.7}.primary-button,.secondary-button{border-radius:7px;justify-content:center;align-items:center;gap:7px;min-height:39px;padding:10px 16px;font-size:12px;font-weight:550;line-height:1.4;text-decoration:none;display:inline-flex}.primary-button{background:var(--accent);color:#fff}.primary-button:hover{filter:brightness(.94)}.secondary-button{background:var(--control);color:var(--text);border:1px solid var(--border)}.secondary-button:hover{filter:brightness(.96)}.full-width{width:100%;margin:6px 0}.form-actions{flex-wrap:wrap;justify-content:flex-end;gap:9px;margin-top:23px;display:flex}.form-error{color:#b23f3f;overflow-wrap:anywhere;background:#c5363610;border-radius:7px;padding:11px 13px;font-size:12px;line-height:1.65}.danger-text{color:#b84444!important}.danger-button{background:#b84444}.check-label{color:var(--secondary);align-items:flex-start;gap:8px;margin:16px 0;font-size:12px;line-height:1.6;display:flex}.check-label input{accent-color:var(--accent);margin-top:3px}.kind-choice{grid-template-columns:1fr 1fr;gap:9px;margin:20px 0;display:grid}.kind-choice button{border:1px solid var(--border);text-align:left;border-radius:10px;flex-direction:column;align-items:flex-start;gap:7px;padding:15px 12px;display:flex}.kind-choice button.selected{border-color:var(--accent);background:color-mix(in srgb,var(--accent-soft) 35%,var(--paper))}.kind-choice strong{font-size:12px}.kind-choice small{color:var(--muted);font-size:10px;line-height:1.5}.privacy-note{background:var(--list);border:1px solid var(--border);border-radius:8px;align-items:flex-start;gap:10px;margin:16px 0;padding:13px;display:flex}.privacy-note>.icon{color:var(--accent);margin-top:2px}.privacy-note p{color:var(--secondary);margin:0;font-size:11px;line-height:1.75}.privacy-note.warning{background:var(--accent-soft)}.copy-box{gap:7px;margin:12px 0;display:flex}.copy-box input{flex:1;min-width:0;font-size:11px}.copy-box button{padding:9px}.copy-box .icon{width:15px}.publication-footnote{color:var(--muted);margin-top:22px;font-size:10px;line-height:1.7}.published-links h3,.setting-section h3{font-size:13px;font-weight:600}.published-links>div{border-top:1px solid var(--border);margin-top:14px}.account-line{flex-direction:column;gap:5px;margin-bottom:25px;display:flex}.account-line span{color:var(--muted);font-size:12px}.setting-section{border-top:1px solid var(--border);margin-top:22px;padding-top:12px}.segmented{background:var(--control);border-radius:8px;gap:3px;padding:3px;display:flex}.segmented button{border-radius:6px;flex:1;padding:8px 5px;font-size:11px}.segmented .selected{background:var(--paper);box-shadow:0 1px 5px #0001}.palette-choice{gap:6px;margin-top:13px;display:flex}.palette-choice button{border:1px solid var(--border);border-radius:7px;flex:1;justify-content:center;align-items:center;gap:5px;padding:9px 4px;font-size:10px;display:flex}.palette-choice .selected{border-color:var(--accent)}.palette-choice span{border-radius:50%;width:11px;height:11px}.palette-amber span{background:#bd8a16}.palette-sage span{background:#63836c}.palette-blue span{background:#527da8}.palette-plum span{background:#90638d}.menu-row{text-align:left;border-radius:6px;align-items:center;gap:11px;width:100%;padding:13px 4px;font-size:13px;display:flex}.menu-row:hover{background:var(--control)}.locked-export{background:var(--control);border-radius:7px;margin:12px 0;padding:8px 12px;font-size:11px;line-height:1.6}.locked-export button{font-size:11px}.session-row{border-top:1px solid var(--border);align-items:center;gap:11px;padding:14px 0;display:flex}.session-row>div{flex:1}.session-row strong,.session-row small{font-size:12px;display:block}.session-row small{color:var(--muted);margin-top:4px;font-size:10px}.recovery-grid{grid-template-columns:1fr 1fr;gap:9px;margin:25px 0;display:grid}.recovery-grid code{background:var(--control);border:1px solid var(--border);text-align:center;white-space:nowrap;border-radius:7px;padding:12px 6px;font-size:12px}.qr-display{flex-direction:column;align-items:center;gap:12px;margin:23px 0;display:flex}.qr-display canvas{border-radius:9px;max-width:100%;height:auto!important}.qr-display strong{letter-spacing:3px;font-size:22px}.qr-display span{color:var(--muted);font-size:11px}.conflict-banner{background:var(--accent-soft);text-align:left;padding:11px 15px;font-size:11px;line-height:1.6}.conflict-item{border-top:1px solid var(--border);padding:20px 0}.conflict-item>strong{font-size:13px}.conflict-item>p{color:var(--secondary);font-size:12px;line-height:1.7}.workspace-error{background:var(--paper);z-index:10;border:1px solid #b84444;border-radius:9px;align-items:center;gap:15px;padding:14px 17px;font-size:12px;line-height:1.7;display:flex;position:absolute;bottom:45px;left:12px;right:12px;box-shadow:0 5px 30px #0002}.workspace-error span{flex:1}.workspace-error button{color:var(--accent)}.sync-error{color:#b84444;background:var(--paper);z-index:2;padding:5px;font-size:10px;position:absolute;bottom:8px;right:15px}.sync-error .icon{width:12px;height:12px;margin-right:5px}.toast.visible{opacity:1;pointer-events:none;z-index:100;transform:translate(-50%)}.loading-page{flex-direction:column;justify-content:center;align-items:center;gap:12px;height:100%;display:flex}.loading-page p{color:var(--muted);font-size:12px}.auth-page{background:var(--bg);height:100dvh;padding:30px 24px 45px;overflow:auto}.auth-top{justify-content:space-between;align-items:center;max-width:1100px;margin:0 auto;display:flex}.auth-card{background:var(--paper);border:1px solid var(--border);border-radius:15px;width:410px;max-width:100%;margin:44px auto 25px;padding:32px 34px;box-shadow:0 15px 55px #00000006}.eyebrow{color:var(--muted);letter-spacing:1.5px;font-size:8px}.auth-intro h1{letter-spacing:-.9px;margin:15px 0 12px;font-size:29px;font-weight:550;line-height:1.25}.auth-intro>p{color:var(--secondary);margin-bottom:25px;font-size:12px;line-height:1.8}.auth-tabs{border-bottom:1px solid var(--border);margin-bottom:22px;display:flex}.auth-tabs button{color:var(--muted);border-bottom:2px solid #0000;flex:1;padding:11px 0;font-size:12px}.auth-tabs button.selected{color:var(--text);border-color:var(--accent)}.auth-submit{width:100%;margin-top:6px}.auth-link{color:var(--accent);justify-content:center;align-items:center;gap:5px;margin:13px 0 0;padding:3px 0;font-size:11px;display:inline-flex}.auth-link .icon{width:14px;height:14px}.auth-separator{color:var(--muted);align-items:center;gap:10px;margin:17px 0 8px;font-size:10px;display:flex}.auth-separator:before,.auth-separator:after{content:"";background:var(--border);flex:1;height:1px}.future-providers{margin-top:23px}.future-providers p{color:var(--muted);text-align:center;font-size:10px}.future-providers>div{gap:9px;display:flex}.future-providers button{border:1px solid var(--border);border-radius:7px;flex:1;padding:9px;font-size:11px}.auth-promises{max-width:500px;color:var(--muted);flex-wrap:wrap;justify-content:center;gap:20px;margin:auto;font-size:10px;display:flex}.auth-promises span{align-items:center;gap:5px;display:flex}.auth-promises .icon{width:14px;height:14px}.hero-icon{color:var(--accent);width:35px;height:35px;margin-bottom:6px}.device-preview{background:var(--list);border-radius:9px;flex-direction:column;align-items:center;gap:14px;padding:20px;display:flex}.device-preview code{letter-spacing:3px;font-size:24px}.device-preview small{color:var(--muted);font-size:11px}body[data-palette=sage]{--accent:#63836c;--accent-soft:#e0ebdf}body[data-palette=blue]{--accent:#527da8;--accent-soft:#dfeaf4}body[data-palette=plum]{--accent:#90638d;--accent-soft:#eee1ed}body[data-theme=dark][data-palette=sage]{--accent:#93b69b;--accent-soft:#303f35}body[data-theme=dark][data-palette=blue]{--accent:#8db4db;--accent-soft:#2a3c4f}body[data-theme=dark][data-palette=plum]{--accent:#c6a0c5;--accent-soft:#463345}body[data-theme=dark] .primary-button{color:#171717}body[data-theme=dark] .danger-button{color:#fff}body[data-theme=dark] .form-error{color:#ed9c9c}.article-page{background:var(--paper);height:100dvh;padding:30px 24px;overflow:auto}.article-page>header{justify-content:space-between;align-items:center;max-width:960px;margin:auto;display:flex}.article-page>header>span{color:var(--muted);font-size:10px}.public-article{max-width:710px;margin:70px auto 40px}.public-article>h1{letter-spacing:-1px;overflow-wrap:anywhere;margin:0 0 20px;font-family:Georgia,Times New Roman,serif;font-size:44px;font-weight:600;line-height:1.18}.article-byline{color:var(--muted);margin-bottom:42px;font-size:11px}.article-content{color:var(--text);overflow-wrap:anywhere;font:19px/1.8 Georgia,Times New Roman,serif}.article-content h2{margin-top:35px;font-size:28px;line-height:1.4}.article-content h3{font-size:23px}.article-content blockquote{border-left:3px solid var(--accent);margin-left:0;padding-left:22px;font-style:italic}.article-content code{font-family:monospace;font-size:15px}.public-article>footer{border-top:1px solid var(--border);margin-top:55px;padding-top:22px}.public-article>footer>p{color:var(--muted);font-size:11px}.public-article>footer .text-button{font-size:12px}.public-article>footer .icon{width:15px}.article-empty{max-width:710px;margin:100px auto}.article-empty p{color:var(--secondary)}@media (max-width:760px){.stage{height:100dvh;padding:0}.app-shell{border:0;border-radius:0}.auth-page{padding:20px 17px 35px}.auth-card{box-shadow:none;border:0;margin:30px auto 20px;padding:25px 23px}.auth-promises{gap:10px}.app-modal{max-height:calc(100dvh - 24px);padding:26px 23px}.recovery-grid{gap:6px}.recovery-grid code{padding:10px 3px;font-size:10px}.mobile-list-top{justify-content:space-between;align-items:center;display:flex}.mobile-list-top .brand{font-size:22px}.note-title-input{font-size:27px}.public-article{margin-top:50px}.public-article>h1{font-size:34px}.article-content{font-size:18px}.article-page>header>span{display:none}.workspace-error{font-size:11px;bottom:45px}.palette-choice button{font-size:9px}.copy-box{flex-wrap:wrap}.copy-box input{min-width:160px}.copy-box button{flex:1}.article-page{padding:24px}.save-state{font-size:9px}.list-empty{top:45%}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.sidebar-bottom>span{color:var(--muted);align-items:center;gap:6px;padding:8px 10px;font-size:10px;display:flex}.sidebar-bottom>span>.icon{width:14px;height:14px}
