*,*:before,*:after{margin:0;padding:0;box-sizing:border-box}html,body{height:100%;overflow:hidden}body{font-family:Inter,Helvetica Neue,sans-serif;font-size:15px;line-height:1.6;color:#444;background:#e9e7e1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#app{display:flex;height:100vh;width:100vw}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#ddd;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#bbb}.title-input{width:100%;border:none;outline:none;font-family:Inter,Helvetica Neue,sans-serif;font-size:28px;font-weight:700;color:#222;background:transparent;padding:0;line-height:1.3}.title-input::placeholder{color:#ccc}.markdown-body{font-family:Inter,Helvetica Neue,sans-serif;font-size:15px;line-height:1.7;color:#444;cursor:text;min-height:300px}.markdown-body .tiptap{outline:none;min-height:300px}.markdown-body .tiptap:focus{outline:none}.markdown-body .tiptap p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:#bbb;pointer-events:none;height:0;font-style:italic}.markdown-body h1{font-size:26px;font-weight:700;color:#222;margin:28px 0 12px;line-height:1.3}.markdown-body h2{font-size:21px;font-weight:700;color:#222;margin:24px 0 10px;line-height:1.3}.markdown-body h3{font-size:17px;font-weight:600;color:#222;margin:20px 0 8px;line-height:1.4}.markdown-body h4,.markdown-body h5,.markdown-body h6{font-size:15px;font-weight:600;color:#222;margin:16px 0 6px}.markdown-body p{margin:0 0 12px}.markdown-body ul,.markdown-body ol{margin:0 0 12px;padding-left:24px}.markdown-body li{margin-bottom:4px}.markdown-body li p{margin:0}.markdown-body blockquote{border-left:3px solid #C89EF4;padding:10px 16px;margin:12px 0;color:#666;background:linear-gradient(135deg,#c89ef40f,#5167f40a);border-radius:0 8px 8px 0}.markdown-body blockquote p{margin:0 0 4px}.markdown-body blockquote p:last-child{margin:0}.markdown-body code{font-family:SF Mono,Fira Code,Fira Mono,monospace;font-size:13px;background:#f5f4ef;padding:2px 6px;border-radius:4px;color:#222}.markdown-body pre{background:#f5f4ef;padding:16px;border-radius:8px;overflow-x:auto;margin:12px 0;border:1px solid #e3e0d8}.markdown-body pre code{background:none;padding:0;font-size:13px;line-height:1.5}.markdown-body hr{border:none;border-top:1px solid #e3e0d8;margin:24px 0}.markdown-body a{color:#222;text-decoration:underline;text-decoration-color:#ccc;text-underline-offset:2px}.markdown-body a:hover{text-decoration-color:#222}.markdown-body img{max-width:100%;border-radius:8px;margin:12px 0}.markdown-body table{width:100%;border-collapse:collapse;margin:12px 0}.markdown-body th,.markdown-body td{border:1px solid #e3e0d8;padding:8px 12px;text-align:left;font-size:14px}.markdown-body th{background:#f5f4ef;font-weight:600;color:#222}.markdown-body ul[data-type=taskList]{list-style:none;padding-left:0}.markdown-body ul[data-type=taskList] li{display:flex;align-items:flex-start;gap:8px;margin-bottom:4px}.markdown-body ul[data-type=taskList] li>label{flex-shrink:0;margin-top:3px}.markdown-body ul[data-type=taskList] li>label input[type=checkbox]{accent-color:#222;width:15px;height:15px;cursor:pointer}.markdown-body ul[data-type=taskList] li>div{flex:1}.markdown-body ul[data-type=taskList] li[data-checked=true]>div{text-decoration:line-through;color:#bbb}.hljs-comment,.hljs-quote{color:#a0a0a0;font-style:italic}.hljs-keyword,.hljs-selector-tag,.hljs-meta{color:#5167f4;font-weight:500}.hljs-string,.hljs-attr,.hljs-addition{color:#cd2c54}.hljs-number,.hljs-literal,.hljs-variable,.hljs-template-variable{color:#c89ef4}.hljs-title,.hljs-section,.hljs-name{color:#222;font-weight:600}.hljs-type,.hljs-built_in,.hljs-builtin-name,.hljs-class .hljs-title{color:#6b52ae}.hljs-function{color:#5167f4}.hljs-symbol,.hljs-bullet,.hljs-link{color:#cd2c54}.hljs-deletion{color:#c0392b;background:#c0392b14}.hljs-addition{background:#5167f414}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.hljs-tag{color:#888}.hljs-attr{color:#5167f4}.hljs-attribute{color:#cd2c54}.hljs-regexp{color:#c89ef4}.hljs-selector-id,.hljs-selector-class{color:#6b52ae}.hljs-params{color:#444}.fade-in{animation:fadeIn .15s ease-in}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}::selection{background:#2222221a}button:focus-visible{outline:2px solid #222;outline-offset:2px;border-radius:4px}.tiptap:focus-visible,.markdown-body:focus-visible,.title-input:focus-visible{outline:none}.nb-row .nb-actions,.page-row .page-actions{opacity:0;transition:opacity .15s}.nb-row:hover .nb-actions,.page-row:hover .page-actions{opacity:1}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:#bbb;text-align:center;padding:40px}
