@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap";.paper-area{margin:4px 0 16px}.paper-toolbar{position:sticky;top:0;z-index:6;display:flex;flex-direction:column;gap:8px;padding:10px 12px;margin:0 0 10px;background:var(--panel);border:1px solid var(--border);border-radius:12px;box-shadow:0 8px 20px -14px #00000059}.paper-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}.paper-spacer{flex:1 1 8px}.paper-seg{display:inline-flex;border:1px solid var(--border-strong);border-radius:9px;overflow:hidden}.paper-seg button{display:inline-flex;align-items:center;gap:6px;padding:6px 11px;border:0;background:transparent;color:var(--text);font:inherit;font-size:12.5px;cursor:pointer}.paper-seg button+button{border-left:1px solid var(--border-strong)}.paper-seg button.on{background:var(--accent);color:#fff}.paper-seg button:focus-visible,.paper-icons button:focus-visible,.paper-swatches button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.paper-swatches{display:inline-flex;gap:6px}.paper-swatches button{width:20px;height:20px;border-radius:50%;border:2px solid transparent;box-shadow:0 0 0 1px var(--border-strong);cursor:pointer;padding:0}.paper-swatches button.on{border-color:var(--panel);box-shadow:0 0 0 2px var(--accent)}.paper-field{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;color:var(--muted)}.paper-field input[type=range]{width:110px;accent-color:var(--accent)}.paper-field select{font:inherit;font-size:12.5px;padding:4px 8px;border:1px solid var(--border-strong);border-radius:8px;background:var(--panel);color:var(--text)}.paper-field b{min-width:22px;color:var(--text);font-weight:600}.paper-field.disabled{opacity:.45}.paper-check{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--text)}.paper-check small{color:var(--muted)}.paper-icons{display:inline-flex;align-items:center;gap:4px}.paper-icons button{display:inline-grid;place-items:center;width:32px;height:32px;border:1px solid var(--border-strong);border-radius:8px;background:var(--panel);color:var(--text);cursor:pointer}.paper-icons button:hover:not(:disabled){background:var(--accent-soft)}.paper-icons button.on{background:var(--accent);color:#fff;border-color:var(--accent)}.paper-icons button:disabled{opacity:.4;cursor:default}.paper-zoom{min-width:46px;text-align:center;font-size:12.5px;font-variant-numeric:tabular-nums;color:var(--text)}.paper-status{display:flex;justify-content:space-between;gap:12px;font-size:11.5px;color:var(--muted)}.paper-error{color:#b3261e;font-weight:600}.paper-viewport{overflow-x:auto;padding:12px;background:var(--bg);border:1px solid var(--border);border-radius:12px}.paper-stage{position:relative;margin:0 auto}.paper-sheet{position:relative;display:block;background-color:#fffefa;color:#252922;border-radius:2px;box-shadow:0 1px 2px #00000024,0 14px 30px -14px #0006}.paper-text{position:relative;z-index:1;width:100%}.paper-ink{position:absolute;left:0;top:0;z-index:2;display:block;touch-action:none}.paper-ink.tool-pen{cursor:crosshair}.paper-ink.tool-eraser{cursor:cell}.paper-sheet .tiptap{box-sizing:border-box;min-height:var(--ph);padding:var(--pt) var(--pr) 0 var(--pl);font-size:var(--fs);line-height:var(--ls);color:#252922;background:transparent}.paper-sheet .tiptap p{margin:0}.paper-sheet .tiptap h1,.paper-sheet .tiptap h2,.paper-sheet .tiptap h3{margin:0;line-height:var(--ls);font-size:calc(var(--fs)*1.3)}.paper-sheet .tiptap ul,.paper-sheet .tiptap ol{margin:0;padding-left:1.5em}.paper-sheet .tiptap li{margin:0;padding-left:0}.paper-sheet .tiptap li>p{margin:0}.paper-sheet .tiptap blockquote{margin:0;padding:0 0 0 14px;color:#5c6358}.paper-sheet .tiptap ul[data-type=taskList]{list-style:none;padding-left:0}.paper-sheet .tiptap ul[data-type=taskList] li{display:flex;gap:8px}.paper-sheet .tiptap pre{margin:0;border-radius:4px}.paper-sheet .tiptap a{color:#2f6f3b}.editor-content.paper-wide{max-width:1100px}@media(max-width:760px){.paper-field input[type=range]{width:84px}.paper-check small{display:none}}.editor-scroll.paper-mode{overflow:visible}.feature-lab-note{margin:0 0 14px;padding:10px 12px;border:1px dashed var(--border-strong);border-radius:10px;background:var(--accent-soft);color:var(--text);font-size:12.5px;line-height:1.5}.paper-scale{transform-origin:0 0}.paper-sheet.paper-dark,.paper-sheet.paper-dark .tiptap{color:#ecefe8}.paper-sheet.paper-dark .tiptap a{color:#a8d5ae}.sheet-decor{position:absolute;left:0;right:0;pointer-events:none;z-index:1}.sheet-date{position:absolute;top:calc(var(--ls) * .25);font-size:12px;color:#7d8590;letter-spacing:.2px}.sheet-number{position:absolute;bottom:14px;left:0;right:0;text-align:center;font-size:12px;color:#7d8590}.paper-sheet .page-title-input{position:absolute;z-index:2;left:var(--pl);right:var(--pr);top:calc(var(--pt) - var(--ls));height:var(--ls);line-height:var(--ls);padding:0;border:0;background:transparent;font:inherit;font-size:calc(var(--fs) * 1.3);font-weight:700;color:inherit;outline:none}.paper-sheet .page-title-input::placeholder{color:#a3a9a0}.paper-sheet .tiptap table{border-collapse:collapse;margin:0;width:100%;table-layout:fixed}.paper-sheet .tiptap td,.paper-sheet .tiptap th{border:1px solid #b9c3cc;padding:0 6px;vertical-align:top;line-height:var(--ls)}.paper-sheet .tiptap img{max-width:100%}.paper-custom-color{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;overflow:hidden;box-shadow:0 0 0 1px var(--border-strong);background:conic-gradient(red,#ff0,#0f0,#0ff,#00f,#f0f,red)}.paper-custom-color input{opacity:0;width:22px;height:22px;cursor:pointer}.paper-bare .paper-viewport{border:0;background:transparent}.paper-preview{border:0;padding:0;text-align:left;font:inherit;cursor:pointer;overflow:hidden;color:#252922}.paper-preview .paper-text{pointer-events:none}.paper-preview .preview-title{position:absolute;left:var(--pl);right:var(--pr);top:calc(var(--pt) - var(--ls));height:var(--ls);line-height:var(--ls);font-size:calc(var(--fs) * 1.3);font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.paper-preview:hover{filter:brightness(.985)}.paper-preview:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}.book{position:relative;box-sizing:border-box;padding:var(--frame);padding-right:calc(var(--frame) + 34px);border-radius:12px;background:var(--cover);box-shadow:0 2px 3px #00000040,0 24px 50px -20px #0000008c,inset 0 0 0 1px #ffffff14}.book:before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(135deg,rgba(255,255,255,.12),transparent 40%,rgba(0,0,0,.15))}.book-leather{background:radial-gradient(circle at 30% 20%,rgba(255,255,255,.08),transparent 60%),repeating-radial-gradient(circle at 10% 10%,rgba(0,0,0,.06) 0 2px,transparent 2px 5px),var(--cover)}.book-leather:after{content:"";position:absolute;inset:6px;border:1.5px dashed rgba(255,255,255,.3);border-radius:9px;pointer-events:none}.book-kraft{--cover:#b48a5a !important}.book-academic{background:repeating-radial-gradient(circle at 20% 30%,rgba(255,255,255,.18) 0 3px,transparent 3px 9px),repeating-radial-gradient(circle at 70% 60%,rgba(0,0,0,.25) 0 4px,transparent 4px 11px),var(--cover)}.book-office{background:linear-gradient(to bottom,rgba(255,255,255,.12) 0 18%,transparent 18%),var(--cover)}.book-softcover{border-radius:6px}.book-hardcover{border-radius:5px;box-shadow:0 2px 0 4px #0000002e,0 24px 50px -20px #0000008c}.book-pages{position:relative;display:flex;height:100%;filter:drop-shadow(0 1px 1px rgba(0,0,0,.25))}.book-leaf{position:relative;flex:none;overflow:hidden;background:#fffefa}.book-leaf.facing.empty{background:linear-gradient(to right,#f6f3ea,#fffdf6)}.book-leaf .paper-sheet{box-shadow:none;border-radius:0}.book-double .book-leaf.facing:first-child,.book-double .book-leaf.active:first-child{box-shadow:inset -18px 0 22px -18px #00000059}.book-double .book-leaf:last-child{box-shadow:inset 18px 0 22px -18px #00000059}.book-spine{flex:none;background:linear-gradient(to right,#e9e4d6,#cfc7b2 45%,#b9b09a,#cfc7b2 55%,#e9e4d6)}.book-binding-edge{position:absolute;left:-14px;top:0;bottom:0;width:22px;z-index:3;pointer-events:none}.binding-spiral .book-spine,.binding-spiral .book-binding-edge{background-image:repeating-linear-gradient(to bottom,transparent 0 10px,#8d949c 10px 13px,#e5e8eb 13px 16px,#7b8188 16px 18px,transparent 18px 28px),linear-gradient(to right,#e9e4d6,#cfc7b2 50%,#e9e4d6)}.binding-spiral .book-binding-edge{background-image:repeating-linear-gradient(to bottom,transparent 0 10px,#8d949c 10px 13px,#e5e8eb 13px 16px,#7b8188 16px 18px,transparent 18px 28px)}.binding-ring .book-spine,.binding-ring .book-binding-edge{background-image:radial-gradient(ellipse 9px 16px at 50% 50%,transparent 5px,#a7adb4 5px,#eef0f2 7px,#8b9198 9px,transparent 9.5px),linear-gradient(to right,#e9e4d6,#cfc7b2 50%,#e9e4d6);background-size:100% 25%,100% 100%;background-repeat:repeat-y,no-repeat}.binding-ring .book-binding-edge{background-image:radial-gradient(ellipse 9px 16px at 50% 50%,transparent 5px,#a7adb4 5px,#eef0f2 7px,#8b9198 9px,transparent 9.5px);background-size:100% 25%}.binding-stitched .book-spine{background-image:repeating-linear-gradient(to bottom,transparent 0 9px,#9c8f74 9px 17px),linear-gradient(to right,#e9e4d6,#cfc7b2 45%,#b9b09a,#cfc7b2 55%,#e9e4d6);background-size:2px 100%,100% 100%;background-position:center,0 0;background-repeat:repeat-y,no-repeat}.book-single .book-leaf.active{box-shadow:-3px 0 #ebe6d8,-6px 0 #ddd6c3}.book-ribbon{position:absolute;top:-4px;right:18%;z-index:4;width:18px;height:120px;background:linear-gradient(to right,#9d2a2a,#c23b3b 50%,#9d2a2a);clip-path:polygon(0 0,100% 0,100% 100%,50% 86%,0 100%);box-shadow:0 2px 4px #0000004d;pointer-events:none}.book-tabs{position:absolute;top:calc(var(--frame) + 24px);right:4px;display:flex;flex-direction:column;gap:6px;width:40px;z-index:5}.book-tabs button{position:relative;min-height:64px;max-height:130px;border:0;border-radius:0 7px 7px 0;color:#fff;font-size:11.5px;font-weight:600;padding:8px 2px;writing-mode:vertical-rl;text-orientation:mixed;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-shadow:inset 3px 0 4px -2px #00000059;opacity:.82;cursor:pointer;text-shadow:0 1px 1px rgba(0,0,0,.3)}.book-tabs button span{display:block;max-height:112px;overflow:hidden;text-overflow:ellipsis}.book-tabs button.on{opacity:1;transform:translate(4px);box-shadow:2px 2px 6px #0000004d}.book-tabs button:hover{opacity:1}.book-tabs button:focus-visible{outline:2px solid #fff;outline-offset:-3px}.book-leaf.active{transform-style:preserve-3d;backface-visibility:hidden}.turn-next.turn-from-single,.turn-next.turn-from-left{transform-origin:left center;animation:turnInNext .55s cubic-bezier(.2,.7,.3,1)}.turn-prev.turn-from-single,.turn-prev.turn-from-left{transform-origin:left center;animation:turnInPrev .55s cubic-bezier(.2,.7,.3,1)}.turn-next.turn-from-right,.turn-prev.turn-from-right{transform-origin:right center;animation:turnInPrevR .55s cubic-bezier(.2,.7,.3,1)}@keyframes turnInNext{0%{transform:perspective(2400px) rotateY(-80deg);filter:brightness(.8)}to{transform:none;filter:none}}@keyframes turnInPrev{0%{transform:perspective(2400px) rotateY(80deg) translate(-10%);filter:brightness(.85)}to{transform:none;filter:none}}@keyframes turnInPrevR{0%{transform:perspective(2400px) rotateY(80deg);filter:brightness(.8)}to{transform:none;filter:none}}@media(prefers-reduced-motion:reduce){.book-leaf.active{animation:none!important}}.inside-cover{display:grid;place-items:center;background:linear-gradient(to right,rgba(0,0,0,.18),transparent 12%),repeating-linear-gradient(45deg,rgba(255,255,255,.04) 0 6px,transparent 6px 12px),var(--cover)}.inside-cover-plate{display:flex;flex-direction:column;gap:10px;align-items:center;text-align:center;max-width:70%;padding:28px 34px;background:#fbf8ef;border:1px solid #d8d0bb;border-radius:4px;color:#3b3f38;box-shadow:0 4px 12px #00000040}.inside-cover-plate span{font-size:12px;letter-spacing:1.5px;text-transform:uppercase;color:#7c8076}.inside-cover-plate strong{font-size:28px;font-family:Georgia,serif}.inside-cover-plate p{margin:0;font-size:15px;color:#5c6158}.paper-ink-live{position:absolute;left:0;top:0;z-index:3;display:block;pointer-events:none}.paper-ink.tool-lasso{cursor:crosshair}.paper-ink.tool-laser{cursor:none}.ink-selection{position:absolute;z-index:4;border:1.5px dashed #1565c0;border-radius:4px;background:#1565c00d;pointer-events:none}.ink-handle{position:absolute;width:14px;height:14px;border-radius:50%;background:#fff;border:2px solid #1565c0;pointer-events:auto;touch-action:none}.ink-handle.scale{right:-8px;bottom:-8px;cursor:nwse-resize;border-radius:3px}.ink-handle.rotate{left:calc(50% - 7px);top:-26px;cursor:grab}.ink-handle.rotate:after{content:"";position:absolute;left:5px;top:12px;width:1.5px;height:12px;background:#1565c0}.paper-toolbar{gap:6px;padding:7px 10px}.paper-row{gap:6px 10px}.paper-select{font:inherit;font-size:12px;height:30px;padding:0 6px;border:1px solid var(--border-strong);border-radius:8px;background:var(--panel);color:var(--text)}.paper-icon-toggle{display:inline-grid;place-items:center;width:30px;height:30px;border:1px solid var(--border-strong);border-radius:8px;background:var(--panel);color:var(--text);cursor:pointer}.paper-icon-toggle.on,.paper-toggle.on{background:var(--accent);border-color:var(--accent);color:#fff}.paper-toggle{display:inline-flex;align-items:center;gap:5px;height:30px;padding:0 10px;border:1px solid var(--border-strong);border-radius:8px;background:var(--panel);color:var(--text);font:inherit;font-size:12px;cursor:pointer}.paper-toggle:disabled{opacity:.45;cursor:default}.paper-more{padding-top:6px;border-top:1px solid var(--border)}.paper-note{font-size:12px;color:var(--muted)}.paper-seg.small button{padding:5px 9px;font-size:12px}.paper-seg button span{white-space:nowrap}@media(max-width:1100px){.paper-seg button span{display:none}.paper-seg button{padding:6px 9px}}.sheet-footer{position:absolute;z-index:3;display:flex;align-items:center;gap:8px;height:28px;pointer-events:none}.sheet-footer>*{pointer-events:auto}.sheet-footer-gap{flex:1;pointer-events:none}.sheet-nav,.sheet-add-page{display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 12px;border-radius:14px;font:600 12px system-ui,sans-serif;cursor:pointer;transition:opacity .15s,background .15s}.sheet-nav{border:1px solid #c5cdc2;background:#ffffffd9;color:#3f5540}.sheet-nav:hover{background:#eef2eb}.sheet-nav.sheet-pto{background:#536a52;border-color:#536a52;color:#fff;letter-spacing:.5px}.sheet-nav.sheet-pto:hover{background:#435842}.sheet-add-page{border:1px dashed #b8c0b4;background:#ffffffbf;color:#5d6b5b;font-weight:500;opacity:.6}.paper-sheet:hover .sheet-add-page,.sheet-add-page:focus-visible{opacity:1}.paper-dark .sheet-nav,.paper-dark .sheet-add-page{background:#00000059;color:#d7ddd5;border-color:#6d766b}@media print{.sheet-footer{display:none}}.book-overlay{position:absolute;inset:0;z-index:8;animation:indexIn .35s ease}@keyframes indexIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.notebook-index{display:flex;flex-direction:column;background:#fffdf7;color:#2f352d;padding:56px 64px 40px;overflow:auto;box-sizing:border-box;font-family:Georgia,Times New Roman,serif}.notebook-index-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-bottom:2px solid var(--cover,#536a52);padding-bottom:14px;margin-bottom:18px}.notebook-index-head div{display:flex;flex-direction:column;gap:4px}.notebook-index-head span{font:700 13px/1 system-ui,sans-serif;letter-spacing:3px;text-transform:uppercase;color:#7c8076}.notebook-index-head strong{font-size:34px;font-weight:600}.notebook-index-list,.notebook-index-list ol{list-style:none;margin:0;padding:0}.notebook-index-section{margin-bottom:14px}.notebook-index-list ol{padding-left:26px}.notebook-index-row{display:flex;align-items:baseline;gap:8px;width:100%;border:0;background:none;padding:6px 4px;text-align:left;font:inherit;font-size:19px;color:inherit;cursor:pointer;border-radius:4px}.notebook-index-row.section{font-size:22px;font-weight:700}.notebook-index-row:hover{background:#536a5214}.notebook-index-row.current{color:#3f5540;font-weight:700}.notebook-index-dot{width:12px;height:12px;border-radius:3px;flex:none;align-self:center}.notebook-index-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:75%}.notebook-index-leader{flex:1;border-bottom:2px dotted #c3c7bd;transform:translateY(-4px);min-width:12px}.notebook-index-num{font-variant-numeric:tabular-nums;color:#5c6158}.book-tabs .book-tab-index{background:#3b3f38;min-height:58px}.book-tabs .book-tab-add{min-height:40px;writing-mode:horizontal-tb;display:grid;place-items:center;background:#ffffffd9;color:#536a52;border:1px dashed #9aa697;box-shadow:none;text-shadow:none}.book-tabs .book-tab-add:hover{background:#fff}.book-pages{perspective:2600px}.book-leaf.active.turn-next,.book-leaf.active.turn-prev{animation-duration:.75s!important;animation-timing-function:cubic-bezier(.22,.61,.36,1)!important}.book-leaf.active[class*=turn-]:after{content:"";position:absolute;inset:0;pointer-events:none;z-index:9;animation:turnShade .75s ease-out forwards}.turn-next.turn-from-single:after,.turn-next.turn-from-left:after{background:linear-gradient(to right,#00000059,#0000000d 40%,#ffffff40 70%,#00000026)}.turn-prev:after,.turn-next.turn-from-right:after{background:linear-gradient(to left,#00000059,#0000000d 40%,#ffffff40 70%,#00000026)}@keyframes turnShade{0%{opacity:1}to{opacity:0}}@keyframes turnInNext{0%{transform:rotateY(-110deg) skewY(-2deg);filter:brightness(.75)}55%{transform:rotateY(-25deg) skewY(-.6deg);filter:brightness(.92)}to{transform:none;filter:none}}@keyframes turnInPrev{0%{transform:rotateY(110deg) skewY(2deg);filter:brightness(.75)}55%{transform:rotateY(25deg) skewY(.6deg);filter:brightness(.92)}to{transform:none;filter:none}}@keyframes turnInPrevR{0%{transform:rotateY(110deg) skewY(2deg);filter:brightness(.75)}55%{transform:rotateY(25deg) skewY(.6deg);filter:brightness(.92)}to{transform:none;filter:none}}.turn-next.turn-from-right{animation-name:turnInNext!important}@media(prefers-reduced-motion:reduce){.book-leaf.active:after{display:none}}.paper-viewport{touch-action:pan-y pinch-zoom}.page-corner{position:absolute;bottom:0;z-index:6;width:46px;height:46px;border:0;padding:0;cursor:pointer;background:transparent;transition:width .18s,height .18s}.page-corner.next{right:0;background:linear-gradient(135deg,transparent 50%,rgba(0,0,0,.05) 50%,#e9e4d4 60%,#f8f5ec 100%);clip-path:polygon(100% 0,100% 100%,0 100%)}.page-corner.prev{left:0;background:linear-gradient(225deg,transparent 50%,rgba(0,0,0,.05) 50%,#e9e4d4 60%,#f8f5ec 100%);clip-path:polygon(0 0,100% 100%,0 100%)}.page-corner:hover,.page-corner:focus-visible{width:74px;height:74px;filter:drop-shadow(-3px -3px 4px rgba(0,0,0,.18))}.paper-dark .page-corner.next,.paper-dark .page-corner.prev{filter:brightness(.5)}@media print{.page-corner{display:none}}.workspace-wrap{position:relative}.workspace-menu{position:absolute;left:0;right:0;top:calc(100% - 8px);z-index:30}.tree-filter{width:100%;margin:0 0 8px;padding:6px 9px;border:1px solid var(--border-strong);border-radius:8px;background:var(--panel);color:var(--text);font-size:11.5px}.section-swatch{flex:none;width:9px;height:9px;margin:0 5px 0 7px;border-radius:3px}.tree-icon{font-size:12px;line-height:1}.section-row .tree-label{font-size:11.5px}.status-dot.error,.footer-dot.error{background:#c0392b!important}.footer-dot.busy{background:#d4a017!important}.app-shell.dark .tree-row:hover{background:#2a3229}.app-shell.dark .tree-row.selected{background:#323c30}.crumb-link{border:0;background:transparent;padding:0;color:inherit;font:inherit;cursor:pointer}.crumb-link:hover{text-decoration:underline}.breadcrumbs{min-width:0;overflow:hidden;white-space:nowrap}.breadcrumbs strong{overflow:hidden;text-overflow:ellipsis}.sync-indicator.error{color:#b3261e;font-weight:600}.note-card-wrap{position:relative}.note-card-wrap[draggable=true]{cursor:grab}.note-card-wrap.subpage{margin-left:18px}.note-card-wrap.subpage .note-card{padding-top:9px;padding-bottom:9px}.note-card-wrap.subpage .note-card-top{margin-bottom:5px}.note-type-icon>span{font-size:13px;line-height:1}.page-more{position:absolute;top:9px;right:8px;opacity:0;width:26px;height:26px}.note-card-wrap:hover .page-more,.page-more[aria-expanded=true],.page-more:focus-visible{opacity:1}.page-menu{position:absolute;right:6px;top:36px;z-index:20;min-width:220px;margin:0}.section-chip{display:inline-block;width:28px;height:6px;border-radius:3px;margin-left:auto}.trash-books{margin:4px 0 12px;padding:10px;border:1px dashed var(--border-strong);border-radius:10px}.trash-books .eyebrow{margin-bottom:6px}.trash-book{display:flex;align-items:center;gap:8px;padding:5px 0;font-size:12px}.trash-book>span:nth-child(2){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-topline{gap:10px}.view-switch{display:inline-flex;border:1px solid var(--border-strong);border-radius:9px;overflow:hidden;flex:none}.view-switch button{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border:0;background:transparent;color:var(--muted);font-size:11.5px}.view-switch button+button{border-left:1px solid var(--border-strong)}.view-switch button.on{background:var(--accent);color:#fff}.editor-actions{min-width:0;overflow-x:auto;scrollbar-width:none}.editor-actions .small-outline-button{max-width:160px;overflow:hidden;text-overflow:ellipsis}.notice-bar{display:flex;align-items:center;gap:8px;padding:7px 27px;background:var(--accent-soft);color:var(--text);font-size:12px;border-bottom:1px solid var(--border)}.notice-bar .text-action{margin-left:auto}.page-cover{height:140px;margin:-20px 0 18px;border-radius:12px;background-size:cover;background-position:center}.page-icon{font-size:38px;line-height:1;margin-bottom:6px}.editor-content.book-wide{max-width:1500px}.editor-content.paper-wide{padding-top:20px}.editor-toolbar.rich{height:auto;min-height:43px;flex-wrap:wrap;row-gap:4px;padding:5px 0}.editor-toolbar.rich select{height:27px;border:1px solid var(--border-strong);border-radius:6px;background:var(--panel);color:var(--text);font-size:11.5px;padding:0 4px;max-width:118px}.editor-toolbar.rich .toolbar-group button:disabled{opacity:.35}.toolbar-group.contextual{gap:4px;padding:2px 6px;border-radius:7px;background:var(--accent-soft)}.toolbar-group.contextual button{width:auto;padding:0 7px;font-size:11px;color:var(--text)}.toolbar-popup-anchor{position:relative;display:inline-flex}.toolbar-popup{position:absolute;top:31px;left:0;z-index:12;display:flex;flex-wrap:wrap;gap:5px;width:190px;padding:8px;border:1px solid var(--border);border-radius:10px;background:var(--panel);box-shadow:var(--shadow)}.toolbar-popup>button{width:22px!important;height:22px!important;border-radius:50%!important;box-shadow:0 0 0 1px var(--border-strong)}.toolbar-popup .popup-text{width:auto!important;border-radius:6px!important;padding:0 8px;box-shadow:none;background:var(--accent-soft)!important;color:var(--text)!important;font-size:11px}.toolbar-popup.special-grid{width:250px}.toolbar-popup.special-grid>button{border-radius:5px!important;box-shadow:none;background:var(--panel-muted);color:var(--text);font-size:14px;width:26px!important;height:26px!important}.color-a{font-weight:700;border-bottom:3px solid #c0392b;line-height:1}.tiptap table{border-collapse:collapse;width:100%;margin:6px 0 16px;table-layout:fixed}.tiptap td,.tiptap th{border:1px solid var(--border-strong);padding:5px 8px;vertical-align:top;position:relative}.tiptap th{background:var(--panel-muted);font-weight:600;text-align:left}.tiptap td p,.tiptap th p{margin:0}.tiptap .selectedCell:after{content:"";position:absolute;inset:0;background:#536a5226;pointer-events:none}.tiptap img{display:block;max-width:100%;height:auto;border-radius:6px;margin:6px 0}.tiptap img.ProseMirror-selectednode{outline:3px solid var(--accent)}.tiptap img.missing-image{min-height:40px;padding:10px;border:1px dashed var(--border-strong)}.tiptap hr{border:0;border-top:1px solid var(--border-strong);margin:18px 0}.tiptap h1{font-size:26px}.app-shell.with-panel .workspace-grid{grid-template-columns:minmax(240px,300px) minmax(0,1fr) 310px}.page-panel{display:flex;flex-direction:column;min-width:0;border-left:1px solid var(--border);background:var(--panel-muted);max-height:calc(100vh - 100px);position:sticky;top:0}.page-panel-head{display:flex;align-items:center;gap:4px;padding:10px 8px 8px 12px;border-bottom:1px solid var(--border)}.panel-tabs{display:flex;gap:2px;flex:1;min-width:0;overflow-x:auto}.panel-tabs button{border:0;background:transparent;padding:6px 8px;border-radius:7px;font-size:11.5px;color:var(--muted);white-space:nowrap}.panel-tabs button.on{background:var(--accent-soft);color:var(--accent-dark);font-weight:600}.page-panel-body{overflow-y:auto;padding:12px 14px 20px;flex:1}.panel-form{display:flex;flex-direction:column;gap:9px;border:0;margin:0;padding:0;min-width:0}.panel-form:disabled{opacity:.6}.panel-label{margin-top:6px;font-size:10px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--muted)}.panel-muted{margin:0;font-size:11.5px;color:var(--muted);display:flex;align-items:center;gap:6px;flex-wrap:wrap}.paper-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.paper-grid button{display:flex;flex-direction:column;align-items:center;gap:4px;padding:5px 3px 6px;border:1px solid var(--border);border-radius:8px;background:var(--panel);font-size:10px;color:var(--text);line-height:1.2;text-align:center}.paper-grid button.on{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}.paper-thumb{display:block;flex:none;width:44px;height:56px;border-radius:3px;box-shadow:0 0 0 1px #0000001f,0 2px 4px #00000014}.swatch-row{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.swatch-row>button{width:24px;height:24px;border-radius:50%;border:2px solid transparent;box-shadow:0 0 0 1px var(--border-strong);padding:0}.swatch-row>button.on{border-color:var(--panel);box-shadow:0 0 0 2px var(--accent)}.swatch-custom{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;overflow:hidden;box-shadow:0 0 0 1px var(--border-strong);background:conic-gradient(red,#ff0,#0f0,#0ff,#00f,#f0f,red);cursor:pointer}.swatch-custom input{opacity:0;width:24px;height:24px;cursor:pointer;border:0;padding:0}.panel-range{display:grid;grid-template-columns:1fr 110px 34px;align-items:center;gap:6px;font-size:11.5px;color:var(--muted)}.panel-range input{accent-color:var(--accent);width:100%}.panel-range b{color:var(--text);font-weight:600;text-align:right}.panel-row{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.panel-row select{flex:1 1 150px;min-width:0;padding:5px;border:1px solid var(--border-strong);border-radius:7px;background:var(--panel);color:var(--text);font-size:11.5px}.panel-num{display:flex;flex-direction:column;gap:2px;font-size:10.5px;color:var(--muted)}.panel-num input{width:66px;padding:4px 6px;border:1px solid var(--border-strong);border-radius:6px;background:var(--panel);color:var(--text);font-size:12px}.panel-check{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--text)}.panel-check input{accent-color:var(--accent)}.panel-search{flex:1 1 140px;min-width:0;padding:6px 9px;border:1px solid var(--border-strong);border-radius:8px;background:var(--panel);color:var(--text);font-size:11.5px}.paper-seg.small button{padding:4px 8px;font-size:11px}.template-list{display:flex;flex-direction:column;gap:6px}.template-card{display:flex;gap:9px;padding:8px;border:1px solid var(--border);border-radius:9px;background:var(--panel)}.template-card .paper-thumb{width:34px;height:44px}.template-copy{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.template-copy strong{font-size:12px}.template-copy small{font-size:10.5px;color:var(--muted)}.template-actions{display:flex;gap:5px;flex-wrap:wrap;margin-top:4px}.template-actions button{border:1px solid var(--border-strong);background:var(--panel);border-radius:6px;padding:3px 7px;font-size:10.5px;color:var(--text)}.template-actions button:hover:not(:disabled){background:var(--accent-soft)}.drop-zone{display:flex;flex-direction:column;align-items:center;gap:6px;padding:16px 10px;border:1.5px dashed var(--border-strong);border-radius:10px;text-align:center;font-size:11.5px;color:var(--muted)}.drop-zone.over{border-color:var(--accent);background:var(--accent-soft)}.drop-zone small{font-size:10px}.file-row{display:flex;gap:8px;align-items:flex-start;padding:8px;border:1px solid var(--border);border-radius:9px;background:var(--panel)}.file-icon{color:var(--muted);padding-top:2px}.file-copy{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.file-copy strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-copy small{font-size:10.5px;color:var(--muted)}.file-description{font-style:italic}.file-actions{display:flex;gap:2px}.file-actions button{width:26px;height:26px;display:grid;place-items:center;border:0;border-radius:6px;background:transparent;color:var(--muted)}.file-actions button:hover:not(:disabled){background:var(--accent-soft);color:var(--accent-dark)}.panel-toggles{display:flex;gap:6px;flex-wrap:wrap}.panel-toggles button{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border:1px solid var(--border-strong);border-radius:7px;background:var(--panel);font-size:11.5px;color:var(--text)}.panel-toggles button.on{background:var(--accent);border-color:var(--accent);color:#fff}.tag-editor{display:flex;flex-wrap:wrap;gap:5px;align-items:center}.tag-editor input{width:110px;padding:4px 7px;border:1px solid var(--border-strong);border-radius:6px;background:var(--panel);color:var(--text);font-size:11.5px}.tag-suggest{display:flex;flex-wrap:wrap;gap:4px}.tag-suggest button{border:1px dashed var(--border-strong);background:transparent;border-radius:12px;padding:2px 8px;font-size:10.5px;color:var(--muted)}.tag-suggest button:hover:not(:disabled){color:var(--accent-dark);border-color:var(--accent)}.icon-picker{display:grid;grid-template-columns:repeat(10,1fr);gap:3px}.icon-picker button{aspect-ratio:1;display:grid;place-items:center;border:1px solid transparent;border-radius:6px;background:transparent;font-size:15px;padding:0}.icon-picker button.on{border-color:var(--accent);background:var(--accent-soft)}.icon-picker .no-icon{font-size:12px;color:var(--muted)}.cover-swatch{width:30px;height:22px;border-radius:5px;border:2px solid transparent;box-shadow:0 0 0 1px var(--border-strong);padding:0}.cover-swatch.on{border-color:var(--panel);box-shadow:0 0 0 2px var(--accent)}.info-list{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;margin:0;font-size:11.5px}.info-list dt{color:var(--muted)}.info-list dd{margin:0;overflow-wrap:anywhere}.form-grid{display:flex;flex-direction:column;gap:12px;margin-top:14px}.form-grid>label{display:flex;flex-direction:column;gap:4px;font-size:11.5px;color:var(--muted)}.form-grid input:not([type=color]),.form-grid textarea,.form-grid select{padding:8px 10px;border:1px solid var(--border-strong);border-radius:8px;background:var(--panel);color:var(--text);font:inherit;font-size:13px;resize:vertical}.form-grid fieldset{border:0;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.form-grid legend{font-size:11.5px;color:var(--muted);margin-bottom:6px;padding:0}.notebook-dialog{width:min(760px,100%)}.notebook-dialog-body{display:grid;grid-template-columns:200px 1fr;gap:20px}.notebook-dialog-preview{padding-top:16px}.choice-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.choice-grid button{display:flex;flex-direction:column;align-items:center;gap:5px;padding:7px 4px;border:1px solid var(--border);border-radius:9px;background:var(--panel);font-size:10.5px;color:var(--text)}.choice-grid button.on{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}.preview-modal{width:min(900px,100%)}.preview-body{max-height:70vh;overflow:auto;margin:12px 0;display:grid;place-items:center}.preview-body img{max-width:100%;max-height:68vh;border-radius:6px}.preview-body iframe{width:100%;height:68vh;border:1px solid var(--border);border-radius:6px;background:#fff}.preview-body pre{width:100%;margin:0;padding:12px;background:var(--panel-muted);border-radius:8px;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.preview-body audio,.preview-body video{max-width:100%}.cover-art{position:relative;width:100%;aspect-ratio:3/4;border-radius:4px 10px 10px 4px;background:var(--cover);box-shadow:inset 6px 0 10px -6px #00000073,0 2px 3px #0003,0 14px 24px -14px #00000080;overflow:hidden;display:flex;align-items:flex-start;justify-content:center}.cover-art:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,.16),transparent 45%,rgba(0,0,0,.18));pointer-events:none}.cover-binding{position:absolute;left:0;top:0;bottom:0;width:14px}.cover-binding-spiral .cover-binding{left:3px;background:repeating-linear-gradient(to bottom,transparent 0 6px,#d9dde1 6px 8px,#8d949c 8px 10px,transparent 10px 14px)}.cover-binding-ring .cover-binding{left:2px;background:radial-gradient(ellipse 5px 8px at 50% 50%,transparent 3px,#e3e6e9 3px,#8d949c 5px,transparent 5.5px);background-size:100% 25%}.cover-binding-stitched .cover-binding{left:8px;width:2px;background:repeating-linear-gradient(to bottom,rgba(255,255,255,.65) 0 5px,transparent 5px 9px)}.cover-binding-glued .cover-binding{width:10px;background:linear-gradient(to right,#00000059,#ffffff1a)}.cover-plate{position:relative;margin-top:24%;width:68%;padding:10px 8px;background:#fbf8ef;border:1px solid rgba(0,0,0,.15);border-radius:3px;text-align:center;color:#3b3f38;display:flex;flex-direction:column;gap:4px;box-shadow:0 2px 4px #0003}.cover-plate strong{font-family:Georgia,serif;font-size:14px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}.cover-plate small{font-size:10px;color:#6b7066;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.cover-sm{width:56px}.cover-sm .cover-plate{padding:3px;margin-top:30%}.cover-sm .cover-plate strong{font-size:0}.cover-leather{background:radial-gradient(circle at 30% 20%,rgba(255,255,255,.1),transparent 60%),repeating-radial-gradient(circle at 10% 10%,rgba(0,0,0,.08) 0 1px,transparent 1px 4px),var(--cover)}.cover-leather:after{content:"";position:absolute;inset:5px 5px 5px 16px;border:1px dashed rgba(255,255,255,.35);border-radius:6px}.cover-hardcover{border-radius:3px 6px 6px 3px;box-shadow:inset 10px 0 #0000002e,0 2px 3px #0003,0 14px 24px -14px #00000080}.cover-softcover{border-radius:3px 4px 4px 3px}.cover-softcover .cover-plate{background:transparent;border:0;box-shadow:none;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.35)}.cover-softcover .cover-plate small{color:#ffffffd9}.cover-office{background:linear-gradient(to bottom,rgba(255,255,255,.18) 0 22%,transparent 22%),var(--cover)}.cover-office .cover-plate{margin-top:8%;background:transparent;border:0;box-shadow:none;color:#fff;text-align:left;width:80%}.cover-office .cover-plate small{color:#ffffffd9}.cover-academic{background:repeating-radial-gradient(circle at 20% 30%,rgba(255,255,255,.55) 0 1.5px,transparent 1.5px 5px),repeating-radial-gradient(circle at 70% 60%,rgba(0,0,0,.55) 0 2px,transparent 2px 6px),var(--cover)}.cover-kraft{background:repeating-linear-gradient(90deg,rgba(0,0,0,.03) 0 2px,transparent 2px 5px),var(--cover)}.library-view{flex:1;padding:30px clamp(18px,4vw,48px);overflow-y:auto}.library-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:22px}.library-head h1{font-family:Manrope,sans-serif;font-size:26px;letter-spacing:-1px;margin:6px 0 4px}.library-head p{margin:0;font-size:12px;color:var(--muted)}.shelf{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:26px 22px}.shelf-item{display:flex;flex-direction:column;gap:8px;min-width:0}.shelf-cover{border:0;padding:0;background:transparent;cursor:pointer;transition:transform .15s}.shelf-cover:hover{transform:translateY(-3px) rotate(-.6deg)}.shelf-meta{display:flex;flex-direction:column;gap:2px;font-size:12px;min-width:0}.shelf-meta strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shelf-meta small{color:var(--muted);font-size:10.5px}.shelf-actions{display:flex;gap:2px}.shelf.archived{opacity:.75}.library-sub{font-size:14px;margin:32px 0 14px;color:var(--muted)}.section-divider{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:linear-gradient(to right,transparent 88%,rgba(0,0,0,.06)),#f8f5ec;border-right:10px solid var(--tab);color:#3b3f38;text-align:center;padding:40px}.section-divider span{font-size:46px}.section-divider strong{font-family:Georgia,serif;font-size:34px}.section-divider p{margin:0;max-width:70%;font-size:15px;color:#5c6158}.section-divider small{font-size:13px;color:#7c8076}.blank-leaf{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;border:0;background:#fffefa;color:#8a8f86;font-size:18px;cursor:pointer}.blank-leaf:hover:not(:disabled){color:var(--accent);background:#fbfaf3}.app-shell.focus-mode .sidebar,.app-shell.focus-mode .notes-panel,.app-shell.focus-mode .app-footer,.app-shell.focus-mode .mobile-topbar,.app-shell.reading-mode .sidebar,.app-shell.reading-mode .notes-panel,.app-shell.reading-mode .app-footer{display:none!important}.app-shell.focus-mode .workspace-grid,.app-shell.reading-mode .workspace-grid{display:block}.app-shell.focus-mode,.app-shell.reading-mode{overflow:auto}.app-shell.reading-mode .editor-actions,.app-shell.reading-mode .note-metadata{display:none}.app-shell.reading-mode .tiptap{font-size:16px;line-height:1.9}.app-shell.reading-mode .editor-content:not(.paper-wide){max-width:720px}.app-shell:fullscreen{overflow:auto;background:var(--bg)}@media(max-width:1280px){.app-shell.with-panel .workspace-grid{grid-template-columns:minmax(220px,260px) minmax(0,1fr)}.app-shell.with-panel .page-panel{position:fixed;right:0;top:0;bottom:0;width:min(340px,92vw);max-height:none;z-index:40;box-shadow:-12px 0 30px #0003}}@media(max-width:1050px){.view-switch button span{display:none}}@media(max-width:760px){.note-card-wrap{flex:0 0 min(250px,75vw);scroll-snap-align:start}.note-card-wrap .note-card{flex:none;width:100%}.note-card-wrap.subpage{margin-left:0}.page-menu{position:fixed;inset:auto 12px 12px;min-width:0}.notebook-dialog-body{grid-template-columns:1fr}.notebook-dialog-preview{max-width:140px;margin:0 auto;padding-top:0}.choice-grid{grid-template-columns:repeat(3,1fr)}.notice-bar{padding:7px 12px}.editor-topline{height:auto;min-height:45px;flex-wrap:wrap;padding:6px 12px}.library-view{padding:18px 16px}.shelf{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:18px 14px}.app-footer span:last-child{display:none}.topbar-actions .sync-indicator{max-width:110px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}}.app-shell.list-hidden .notes-panel{display:none}.app-shell.list-hidden .workspace-grid{grid-template-columns:minmax(0,1fr)}.app-shell.list-hidden.with-panel .workspace-grid{grid-template-columns:minmax(0,1fr) 310px}@media(max-width:1280px){.app-shell.list-hidden.with-panel .workspace-grid{grid-template-columns:minmax(0,1fr)}}.list-toggle{flex:none}.topbar{gap:8px;height:52px;min-height:52px}.topbar .breadcrumbs{flex:1 1 auto;min-width:0;overflow:hidden;white-space:nowrap}.topbar .breadcrumbs strong,.topbar .breadcrumbs .crumb-link{overflow:hidden;text-overflow:ellipsis;max-width:220px;white-space:nowrap}.topbar .view-switch{flex:0 0 auto}.topbar .editor-actions{display:flex;align-items:center;gap:2px;flex:0 0 auto}.topbar .topbar-actions{flex:0 0 auto;gap:2px}.topbar .icon-button{width:34px;height:34px}.sync-indicator .sync-label{white-space:nowrap}@media(max-width:1380px){.sync-indicator .sync-label{display:none}.crumb-workspace,.crumb-workspace+svg{display:none}}.menu-anchor{position:relative;display:inline-flex}.tree-menu.top-menu{position:absolute;right:0;top:40px;z-index:60;min-width:210px;margin:0}.bookmark-jump span{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.new-row{display:flex;gap:6px}.new-row .new-note-button{flex:1 1 auto;min-width:0}.new-board-button{flex:0 0 40px;display:grid;place-items:center;border:1px solid var(--border-strong);border-radius:12px;background:var(--panel);color:var(--accent);cursor:pointer;margin-bottom:12px}.new-board-button:hover{background:var(--accent-soft)}.sidebar.collapsed .new-row{flex-direction:column;gap:4px}.sidebar.collapsed .new-board-button{flex-basis:36px;height:36px;margin-bottom:6px}.rail-expand{flex:0 0 auto}.app-shell.toolbars-auto .editor-toolbar.rich,.app-shell.toolbars-auto .paper-toolbar{max-height:10px;overflow:hidden;opacity:.25;transition:max-height .18s ease,opacity .18s ease;padding-top:0;padding-bottom:0}.app-shell.toolbars-auto .editor-toolbar.rich:before,.app-shell.toolbars-auto .paper-toolbar:before{content:"";position:absolute;left:0;right:0;top:-14px;height:24px}.app-shell.toolbars-auto .editor-toolbar.rich:hover,.app-shell.toolbars-auto .editor-toolbar.rich:focus-within,.app-shell.toolbars-auto .paper-toolbar:hover,.app-shell.toolbars-auto .paper-toolbar:focus-within{max-height:400px;opacity:1;overflow:visible;padding-top:5px;padding-bottom:5px}.app-shell.toolbars-hide .editor-toolbar.rich,.app-shell.toolbars-hide .paper-toolbar{display:none}.editor-toolbar.rich{position:relative}.canvas-page{display:flex;flex-direction:column;min-height:0}.canvas-titlebar{display:flex;align-items:baseline;gap:12px;padding:6px 18px;border-bottom:1px solid var(--border)}.canvas-titlebar .note-title-input{font-size:18px;margin:0;padding:2px 0;flex:0 1 420px}.canvas-hint{font-size:11.5px;color:var(--muted);white-space:nowrap}.canvas-page .whiteboard{height:calc(100vh - 96px)}.app-shell.focus-mode .canvas-page .whiteboard,.app-shell.reading-mode .canvas-page .whiteboard{height:calc(100vh - 52px)}.bubble-bar{position:fixed;z-index:70;display:flex;gap:2px;padding:4px;background:var(--panel);border:1px solid var(--border-strong);border-radius:10px;box-shadow:0 8px 24px #0000002e}.bubble-bar button{width:30px;height:28px;border:0;border-radius:6px;background:transparent;color:var(--text);cursor:pointer;font:inherit;font-size:13px}.bubble-bar button.on,.bubble-bar button:hover{background:var(--accent-soft)}.shortcuts-modal{max-width:880px}.shortcut-groups{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px 22px;max-height:62vh;overflow:auto;padding:4px 2px}.shortcut-group h3{margin:0 0 6px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.shortcut-group dl{margin:0;display:grid;gap:4px}.shortcut-group dl>div{display:flex;justify-content:space-between;gap:10px;font-size:12.5px}.shortcut-group dt{white-space:nowrap}.shortcut-group dd{margin:0;text-align:right;color:var(--muted)}.shortcut-group kbd{display:inline-block;min-width:18px;padding:1px 5px;margin-right:2px;border:1px solid var(--border-strong);border-bottom-width:2px;border-radius:5px;font:11px ui-monospace,monospace;text-align:center;background:var(--panel)}.modal-note{font-size:12px;color:var(--muted);margin:12px 0 0}::highlight(search){background:#ffe066;color:#1d2433}.tag-nav{padding:6px 10px 2px}.nav-section-label{font-size:11px;font-weight:700;letter-spacing:.06em;color:var(--muted, #7a8296);padding:4px 6px}.tag-nav-list{display:flex;flex-direction:column;gap:1px;max-height:180px;overflow-y:auto}.tag-nav-item{display:flex;align-items:center;gap:8px;padding:5px 8px;border:0;border-radius:6px;background:none;color:inherit;font:inherit;font-size:13px;text-align:left;cursor:pointer}.tag-nav-item:hover,.tag-nav-item.active{background:var(--hover, rgba(80,90,120,.1))}.tag-nav-item small{margin-left:auto;opacity:.6}.tag-dot{width:9px;height:9px;border-radius:50%;flex:none}.app-shell.rail .tag-nav{display:none}.presenter{position:fixed;inset:0;z-index:400;background:#fff;display:flex;flex-direction:column;outline:none}.app-shell.dark .presenter{background:#14171f;color:#e8eaf0}.presenter-stage{flex:1;min-height:0;overflow:auto;position:relative;display:flex}.presenter-stage .whiteboard{flex:1}.presenter-page{max-width:900px;width:100%;margin:0 auto;padding:6vh 48px;font-size:22px;line-height:1.55}.presenter-page h1{font-size:2.2em;margin:0 0 .6em}.presenter-page img{max-width:100%}.presenter-loading{margin:auto;opacity:.7}.presenter-bar{position:absolute;bottom:18px;left:0;right:0;margin:0 auto;width:fit-content;display:flex;align-items:center;gap:10px;padding:6px 10px;border-radius:999px;background:#141822d1;color:#fff;font-size:14px;opacity:.35;transition:opacity .2s}.presenter-bar:hover,.presenter-bar:focus-within{opacity:1}.presenter-bar .icon-button{color:#fff}.reminder-row{flex-wrap:wrap;gap:6px}.reminder-row input[type=datetime-local]{font:inherit;font-size:13px;padding:4px 6px;border:1px solid var(--line, #d5d9e2);border-radius:6px;background:transparent;color:inherit}.small-outline-button.on{background:var(--accent-soft, #e3f1e6)}.outline-list{display:flex;flex-direction:column;gap:1px;margin-bottom:6px}.outline-list button{text-align:left;border:0;background:none;color:inherit;font:inherit;font-size:13px;padding:4px 6px;border-radius:5px;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.outline-list button:hover{background:var(--hover, rgba(80,90,120,.1))}.panel-label svg{vertical-align:-2px}.page-link-picker{width:260px;padding:8px;display:flex;flex-direction:column;gap:6px}.page-link-picker input{font:inherit;font-size:13px;padding:6px 8px;border:1px solid var(--line, #d5d9e2);border-radius:6px;background:transparent;color:inherit}.page-link-list{max-height:240px;overflow-y:auto;display:flex;flex-direction:column}.page-link-list button{text-align:left;border:0;background:none;color:inherit;font:inherit;font-size:13px;padding:5px 8px;border-radius:5px;cursor:pointer}.page-link-list button:hover{background:var(--hover, rgba(80,90,120,.1))}.tiptap a[href^="#page:"],.presenter-body a[href^="#page:"]{color:var(--accent, #2f7a4b);text-decoration:none;border-bottom:1px dashed currentColor;cursor:pointer}.tiptap a[href^="#page:"]:before{content:"↗ ";font-size:.85em}.tag-manager-row{align-items:flex-start}.tag-manager{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:4px 12px;margin-top:8px;max-height:220px;overflow-y:auto}.tag-manager-item{display:flex;align-items:center;gap:6px}.tag-manager-item input[type=color]{width:22px;height:22px;padding:0;border:0;background:none;cursor:pointer}.tag-name-input{flex:1;min-width:0;font:inherit;font-size:13px;padding:3px 6px;border:1px solid transparent;border-radius:5px;background:transparent;color:inherit}.tag-name-input:hover,.tag-name-input:focus{border-color:var(--line, #d5d9e2)}.tag-manager-item small{opacity:.6;min-width:16px;text-align:right}.revision-item{border-bottom:1px solid var(--line, #e3e6ec)}.revision-item .revision-row{border-bottom:0}.revision-preview{margin:0 0 10px;padding:10px 14px;max-height:260px;overflow:auto;border-radius:8px;background:var(--paper-soft, rgba(120,130,150,.08));font-size:14px}.revision-preview img{max-width:100%}.skip-link{position:absolute;left:12px;top:-60px;z-index:500;padding:8px 14px;border-radius:8px;background:var(--accent);color:#fff;font-weight:600;text-decoration:none}.skip-link:focus{top:10px}#main-content:focus{outline:none}a:focus-visible,.note-card:focus-visible,.nav-item:focus-visible,[role=menuitem]:focus-visible,[role=tab]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.notes-list .note-card{content-visibility:auto;contain-intrinsic-size:auto 92px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.new-row .new-note-button{white-space:nowrap}.new-row .new-note-button kbd{display:none}.new-row .new-board-button{flex-basis:38px;height:38px}.search-overlay{width:min(620px,calc(100vw - 32px));right:24px;max-height:calc(100vh - 80px);display:flex;flex-direction:column}.search-panel{display:flex;flex-direction:column;gap:8px;min-height:0;margin-top:10px}.search-filters{display:flex;flex-wrap:wrap;align-items:center;gap:4px}.search-filters button{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--border);background:var(--panel);color:var(--muted);border-radius:999px;padding:4px 10px;font-size:11px}.search-filters button.on{background:var(--accent-soft);color:var(--accent-dark);border-color:transparent;font-weight:600}.search-filters button small{font-size:10px;opacity:.75}.search-filters label{display:inline-flex;align-items:center;gap:4px;font-size:11px;color:var(--muted);margin-left:6px;cursor:pointer}.search-suggestions{display:flex;flex-wrap:wrap;gap:4px}.search-suggestions button{border:0;background:var(--panel-muted);color:var(--text);border-radius:6px;padding:3px 8px;font-size:11px}.search-recent{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:4px 2px}.search-recent p{font-size:11px;color:var(--muted);margin:4px 2px;line-height:1.6}.search-recent>button:not(.text-action){display:flex;align-items:center;gap:7px;border:0;background:none;color:var(--text);font-size:12px;padding:5px 6px;border-radius:6px;width:100%;text-align:left}.search-recent>button:not(.text-action):hover{background:var(--accent-soft)}.search-recent .eyebrow{margin:2px 6px 4px}.search-results{list-style:none;margin:0;padding:0;overflow-y:auto;max-height:min(460px,calc(100vh - 220px))}.search-results li>button{display:flex;align-items:flex-start;gap:10px;width:100%;border:0;background:none;text-align:left;padding:8px;border-radius:8px;color:var(--text)}.search-results li>button.active{background:var(--accent-soft)}.search-icon{color:var(--muted);margin-top:1px;flex:none}.search-text{display:flex;flex-direction:column;gap:2px;min-width:0}.search-text strong{font-size:12.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-text small{font-size:10px;color:var(--muted)}.search-snippet{font-size:11px;color:var(--muted);line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.search-text mark,.search-snippet mark{background:#ffe58a;color:inherit;border-radius:2px;padding:0 1px}.search-none{font-size:12px;color:var(--muted);padding:12px 8px}@media(max-width:760px){.search-overlay{right:16px;left:16px;width:auto;top:58px}}.top-menu .narrow-only{display:none}@media(max-width:1180px){.topbar .sync-label,.topbar .wide-only{display:none}.top-menu .narrow-only{display:flex}}@media(max-width:960px){.topbar .breadcrumbs>:not(:last-child){display:none}}@media(max-width:760px){.topbar .phone-hide,.topbar .bookmark-jump,.topbar .list-toggle{display:none}.topbar{padding:0 8px;gap:4px}.topbar .editor-actions{gap:0}}.app-shell.dark .eyebrow{color:#a3b59b}.list-more{display:flex;justify-content:center;padding:10px 0 16px}.app-shell.toolbars-auto .editor-toolbar.rich,.app-shell.toolbars-auto .paper-toolbar{opacity:1;max-height:12px;position:relative}.app-shell.toolbars-auto .editor-toolbar.rich:not(:hover):not(:focus-within)>*,.app-shell.toolbars-auto .paper-toolbar:not(:hover):not(:focus-within)>*{visibility:hidden}.app-shell.toolbars-auto .editor-toolbar.rich:not(:hover):not(:focus-within):after,.app-shell.toolbars-auto .paper-toolbar:not(:hover):not(:focus-within):after{content:"";position:absolute;left:50%;top:4px;width:44px;height:4px;margin-left:-22px;border-radius:4px;background:var(--border-strong)}.auth-gate{min-height:100vh;display:grid;place-items:center;padding:24px 16px;background:radial-gradient(circle at 20% 10%,#eef2eb,transparent 55%),var(--bg, #f7f7f4);color:var(--text, #252922)}.auth-card{width:min(420px,100%);background:var(--panel, #fff);border:1px solid var(--border, #e9eae3);border-radius:18px;box-shadow:0 18px 50px #232d201a;padding:28px}.auth-card h1{font-family:Manrope,sans-serif;font-size:24px;letter-spacing:-.6px;margin:18px 0 6px}.auth-lead{color:var(--muted, #686e63);margin:0;line-height:1.5}.auth-brand{display:flex;align-items:center;gap:10px;font-weight:700;font-family:Manrope,sans-serif}.auth-logo{width:34px;height:34px;border-radius:11px;background:#536a52;color:#fff;display:grid;place-items:center}.auth-loading{color:var(--muted, #686e63)}.password-field{position:relative;display:block}.password-field input{padding-right:44px!important}.password-field .icon-button{position:absolute;right:4px;top:50%;transform:translateY(-50%)}.auth-error,.share-error{margin:0;padding:9px 11px;border-radius:9px;background:#fbeceb;color:#8a2f27;font-size:13px}.auth-info{margin:0;padding:9px 11px;border-radius:9px;background:#eef2eb;color:#3f5540;font-size:13px}.auth-links{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}.auth-modal .auth-form{padding-top:14px}.share-modal{width:min(600px,100%)}.share-form{display:grid;grid-template-columns:1fr auto auto;gap:8px;margin:16px 0 8px}.share-form input,.share-form select,.share-list select{border:1px solid var(--border-strong);border-radius:9px;padding:9px 10px;background:var(--panel);color:var(--text);min-width:0}.share-help{color:var(--muted);font-size:12.5px;line-height:1.5;margin:6px 0 12px;display:flex;gap:6px;align-items:flex-start}.share-help.small{font-size:12px;margin-top:12px}.share-list{list-style:none;margin:0;padding:0;border:1px solid var(--border);border-radius:12px;overflow:hidden}.share-list li{display:flex;align-items:center;gap:10px;padding:9px 12px;border-top:1px solid var(--border)}.share-list li:first-child{border-top:0}.share-avatar{width:28px;height:28px;border-radius:50%;background:var(--accent-soft);color:var(--accent-dark);display:grid;place-items:center;font-weight:700;font-size:12px;flex:none}.share-email{flex:1;min-width:0;overflow-wrap:anywhere}.share-email em{color:var(--muted);font-style:normal}.share-role-label{color:var(--muted);font-size:12px}.share-empty{color:var(--muted);font-size:13px}.share-signin{display:grid;gap:12px;justify-items:start;padding:14px 0 4px}.tree-badge{color:var(--muted);flex:none}.tree-menu-note{margin:2px 6px 6px;font-size:11.5px;color:var(--muted);display:flex;gap:5px;align-items:center}.unlock-panel{margin:18px auto;max-width:340px;text-align:center;display:grid;justify-items:center;gap:8px;padding:24px 18px;border:1px dashed var(--border-strong);border-radius:16px;background:var(--panel-muted)}.unlock-panel h2{margin:4px 0 0;font-size:17px}.unlock-panel p{margin:0;color:var(--muted)}.unlock-panel form{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;width:100%;margin-top:8px}.unlock-panel{box-sizing:border-box;width:100%}.unlock-panel input{flex:1 1 140px;min-width:0;border:1px solid var(--border-strong);border-radius:9px;padding:9px 10px;background:var(--panel);color:var(--text)}.unlock-icon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent-dark)}.unlock-hint{font-size:12.5px}.editor-locked{min-height:60vh;display:grid;place-items:center;padding:24px 16px}.lock-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}@media(max-width:560px){.share-form{grid-template-columns:1fr 1fr}.share-form input{grid-column:1 / -1}.share-list li{flex-wrap:wrap}.auth-card{padding:22px 18px}}.modal-backdrop>.settings-modal{max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);overflow-y:auto;overscroll-behavior:contain}@media(min-width:761px){.app-shell:not(.focus-mode):not(.reading-mode){height:100vh;height:100dvh;min-height:0;overflow:hidden}.app-shell .sidebar{min-height:0;height:100%;overflow-y:auto;overscroll-behavior:contain}.app-shell .main-area{min-height:0;height:100%}.app-shell .workspace-grid{grid-template-rows:minmax(0,1fr);min-height:0}.app-shell .notes-panel{max-height:none;min-height:0}.app-shell .page-panel{max-height:none;min-height:0;position:static}.app-shell .editor-panel{min-height:0;overflow:hidden}.app-shell .editor-scroll,.app-shell .editor-scroll.paper-mode{overflow-y:auto;overflow-x:hidden;min-height:0;scroll-padding:110px 0 64px;overscroll-behavior:contain}.app-shell .editor-scroll .editor-toolbar.rich{position:sticky;top:0;z-index:5;background:var(--panel)}.app-shell .canvas-page{display:flex;flex-direction:column;flex:1;min-height:0}.app-shell .canvas-page .whiteboard{flex:1;height:auto;min-height:0}.app-shell.focus-mode,.app-shell.reading-mode{overflow:auto}.app-shell.focus-mode .main-area,.app-shell.reading-mode .main-area,.app-shell.focus-mode .editor-panel,.app-shell.reading-mode .editor-panel{height:auto;overflow:visible}.app-shell.focus-mode .editor-scroll,.app-shell.reading-mode .editor-scroll{overflow:visible}.app-shell.focus-mode .canvas-page .whiteboard,.app-shell.reading-mode .canvas-page .whiteboard{flex:none;height:calc(100vh - 52px)}}.recovery-key{display:block;padding:12px 14px;border-radius:10px;background:var(--soft, #f1f2ec);border:1px dashed var(--border, #d9dbd2);font:600 15px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.5px;word-break:break-word;-webkit-user-select:all;user-select:all}.check-row{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;font-weight:500}.check-row input{width:auto}.vault-lead{padding:10px 0 0}.modal-header>.icon-button:last-child,.panel-close{display:none!important}.app-shell.list-drawer .workspace-grid{grid-template-columns:minmax(0,1fr)}.app-shell.list-drawer.with-panel .workspace-grid{grid-template-columns:minmax(0,1fr) 310px}.app-shell.list-drawer .notes-panel{position:fixed;left:0;top:0;bottom:0;width:min(340px,88vw);max-height:none;z-index:45;box-shadow:14px 0 34px #141e1438;animation:drawerIn .2s ease}@keyframes drawerIn{0%{transform:translate(-24px);opacity:0}to{transform:none;opacity:1}}.phone-pagebar{position:fixed;left:50%;bottom:calc(10px + env(safe-area-inset-bottom));transform:translate(-50%);z-index:42;display:flex;align-items:center;gap:4px;padding:5px;border-radius:24px;background:#29352af0;color:#f3f6f0;box-shadow:0 8px 24px #00000047}.phone-pagebar button{min-width:42px;height:38px;border:0;border-radius:19px;background:transparent;color:inherit;display:grid;place-items:center;font-weight:600;font-size:13px;padding:0 10px}.phone-pagebar button.on,.phone-pagebar button:active{background:#ffffff29}.phone-pagebar span{min-width:56px;text-align:center;font-size:13px;font-variant-numeric:tabular-nums}.app-shell.notebook-view .editor-scroll{padding-bottom:70px}@media(min-width:761px){.phone-pagebar{display:none}.app-shell.notebook-view .editor-scroll{padding-bottom:0}}@media(max-width:760px){.editor-content.paper-wide{padding:6px 4px 25px}.paper-viewport.has-book{padding:4px 0;border:0;background:transparent}.app-shell .editor-toolbar.rich{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;padding:2px 0;gap:2px;margin:0}.app-shell .editor-toolbar.rich::-webkit-scrollbar,.paper-toolbar .paper-row::-webkit-scrollbar{display:none}.app-shell .editor-toolbar.rich>*{flex:0 0 auto}.paper-toolbar{padding:3px 4px;margin:0 0 4px}.paper-toolbar .paper-row{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;gap:4px}.paper-toolbar .paper-row>*{flex:0 0 auto}.paper-toolbar .paper-spacer,.paper-toolbar [aria-label="Export page as PNG"],.paper-toolbar [aria-label="Previous page"],.paper-toolbar [aria-label="Next page"],.paper-toolbar .paper-seg button span{display:none}}.website-login .auth-form{margin-top:20px;display:grid;gap:10px}.google-button{display:inline-flex;align-items:center;justify-content:center;gap:10px}.google-button svg{background:#fff;border-radius:50%;padding:2px}.login-local{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px}.login-note{font-size:13px}.account-form .primary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px}.auth-divider{display:flex;align-items:center;gap:10px;margin:14px 0 10px;color:var(--muted, #686e63);font-size:12px;text-transform:uppercase;letter-spacing:.08em}.auth-divider:before,.auth-divider:after{content:"";flex:1;height:1px;background:var(--border, #e9eae3)}.login-points{list-style:none;margin:20px 0 0;padding:16px 0 0;border-top:1px solid var(--border, #e9eae3);display:grid;gap:10px}.login-points li{display:grid;grid-template-columns:18px 1fr;gap:9px;font-size:13px;line-height:1.45;color:var(--muted, #686e63)}.login-points svg{margin-top:2px;color:#536a52}.topbar .icon-button.sync-button{display:inline-flex;flex-direction:row;align-items:center;white-space:nowrap;width:auto;padding:0 10px;gap:6px;border:1px solid var(--border-strong);border-radius:8px;position:relative;font-size:13px;font-weight:600}.topbar .icon-button.sync-button.attention{border-color:var(--accent);color:var(--accent-dark)}.topbar .icon-button.sync-button.attention:after{content:"";position:absolute;top:4px;right:4px;width:7px;height:7px;border-radius:50%;background:#d9822b}.spin{animation:sn-spin 1s linear infinite}@keyframes sn-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.spin{animation:none}}@media(max-width:760px){.topbar .icon-button.sync-button{padding:0 8px}.sync-button-label{display:none}}.settings-check{display:flex;align-items:flex-start;gap:7px;margin-top:8px;font-size:13px;color:var(--text);cursor:pointer}.settings-check input{margin-top:2px}.settings-link{display:inline-flex;align-items:center;gap:5px;margin-top:6px;font-size:13px;color:var(--accent-dark);text-decoration:underline}:root{font-family:DM Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#252922;background:#f7f7f4;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;font-optical-sizing:auto;font-size:14px;--bg:#f7f7f4;--panel:#fff;--panel-muted:#fbfbf8;--text:#252922;--muted:#686e63;--border:#e9eae3;--border-strong:#dcdfd5;--accent:#536a52;--accent-dark:#3f5540;--accent-soft:#eef2eb;--sidebar:#f1f2ed;--shadow:0 12px 35px rgba(35,45,32,.08)}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select{font:inherit}button{color:inherit;cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,[contenteditable=true]:focus-visible{outline:2px solid #8aa184;outline-offset:2px}button:disabled{opacity:.5;cursor:not-allowed}.app-shell{display:flex;min-height:100vh;background:var(--bg);color:var(--text);--bg:#f7f7f4;--panel:#fff;--panel-muted:#fbfbf8;--text:#252922;--muted:#686e63;--border:#e9eae3;--border-strong:#dcdfd5;--accent:#536a52;--accent-dark:#3f5540;--accent-soft:#eef2eb;--sidebar:#f1f2ed;--shadow:0 12px 35px rgba(35,45,32,.08)}.app-shell.dark{--bg:#171a17;--panel:#202520;--panel-muted:#252a24;--text:#e9ede5;--muted:#9ca69a;--border:#343b33;--border-strong:#465044;--accent:#9eb397;--accent-dark:#c2d5b8;--accent-soft:#303b2f;--sidebar:#1c211c;--shadow:0 12px 35px rgba(0,0,0,.25)}.sidebar{width:248px;flex:0 0 248px;background:var(--sidebar);border-right:1px solid var(--border);padding:23px 14px 14px;display:flex;flex-direction:column;min-height:100vh;transition:width .2s,flex-basis .2s;z-index:20}.brand-row{display:flex;align-items:center;gap:10px;padding:0 5px 24px}.brand-mark{width:34px;height:34px;border-radius:11px;background:#536a52;color:#fff;display:grid;place-items:center;flex-shrink:0}.brand-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.brand-copy strong{font-family:Manrope,sans-serif;font-size:14px;letter-spacing:-.45px}.brand-copy span{font-size:9px;letter-spacing:1.35px;color:var(--muted);font-weight:700}.icon-button,.tiny-icon-button{border:0;background:transparent;color:var(--muted);display:grid;place-items:center;border-radius:8px;transition:background .15s,color .15s}.icon-button{width:34px;height:34px}.icon-button:hover,.tiny-icon-button:hover{background:var(--accent-soft);color:var(--accent-dark)}.sidebar-collapse{margin-left:auto;width:26px;height:28px}.mobile-close,.mobile-topbar{display:none}.workspace-switch{width:100%;display:flex;align-items:center;gap:9px;padding:9px 8px;border:1px solid var(--border);background:var(--panel);border-radius:10px;text-align:left;margin-bottom:12px}.workspace-avatar{width:29px;height:29px;display:grid;place-items:center;background:#e6eadf;color:#536a52;border-radius:8px;font-weight:700}.workspace-switch>span{display:flex;flex-direction:column;gap:3px;flex:1}.workspace-switch strong{font-size:11px;font-weight:600}.workspace-switch small{font-size:10px;color:var(--muted)}.workspace-switch>svg{color:var(--muted)}.new-note-button{width:100%;height:38px;display:flex;align-items:center;gap:9px;padding:0 11px;border:0;border-radius:9px;background:var(--accent);color:#fff;font-weight:600;margin-bottom:27px;box-shadow:0 2px 4px #243a2212}.new-note-button:hover,.primary-button:hover{background:var(--accent-dark)}.new-note-button kbd{margin-left:auto;color:#e0e7dc;border:1px solid #ffffff4c;border-radius:4px;padding:2px 5px;font-size:9px}.nav-section-label,.notebook-heading{font-size:9px;letter-spacing:1.35px;color:var(--muted);font-weight:700;padding:0 10px;margin-bottom:8px}.primary-nav{display:flex;flex-direction:column;gap:3px}.nav-item{display:flex;align-items:center;gap:11px;width:100%;height:36px;padding:0 11px;border:0;border-radius:8px;background:transparent;text-align:left;color:#5d6359;font-size:12px}.dark .nav-item{color:var(--muted)}.nav-item span{flex:1}.nav-item small{font-size:10px;color:var(--muted);background:#e7e9e1;padding:2px 6px;border-radius:5px}.nav-item:hover{background:#e8ebe4;color:var(--text)}.dark .nav-item:hover{background:#2b322b}.nav-item.active{background:#e2e8de;color:#435a43;font-weight:600}.dark .nav-item.active{background:#303c2f;color:#c6d9bf}.notebook-heading{display:flex;align-items:center;justify-content:space-between;margin-top:27px;margin-bottom:8px}.tiny-icon-button{width:25px;height:25px}.notebook-row{display:flex;align-items:center;gap:3px}.notebook-button{display:flex;align-items:center;gap:9px;flex:1;min-width:0;height:33px;padding:0 10px;border:0;background:transparent;text-align:left;color:#5d6359;font-size:12px;border-radius:7px}.dark .notebook-button{color:var(--muted)}.notebook-button:hover{background:#e8ebe4;color:var(--text)}.notebook-button span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notebook-dot,.note-book-dot{width:8px;height:8px;border-radius:3px;flex-shrink:0}.favorite-button{opacity:0}.notebook-row:hover .favorite-button,.favorite-button.favorited{opacity:1}.favorite-button.favorited{color:#b59b58}.new-notebook-form{display:flex;gap:3px;margin:0 4px 7px}.new-notebook-form input{width:100%;min-width:0;border:1px solid var(--border-strong);background:var(--panel);color:var(--text);border-radius:6px;padding:6px;font-size:11px}.new-notebook-form button{border:0;border-radius:5px;background:var(--panel);color:var(--muted);padding:4px}.sidebar-spacer{flex:1;min-height:20px}.sidebar-footer{border-top:1px solid var(--border);padding-top:12px}.storage-mini{display:flex;align-items:center;gap:9px;padding:8px 5px 13px}.storage-icon{width:29px;height:29px;border-radius:8px;background:#e4e9df;display:grid;place-items:center;color:#5d7558}.storage-mini>div:nth-child(2){display:flex;flex-direction:column;gap:3px;flex:1}.storage-mini strong{font-size:11px;font-weight:600}.storage-mini span{font-size:10px;color:var(--muted)}.status-dot,.footer-dot{width:6px;height:6px;border-radius:50%;background:#85a17d}.settings-nav{margin-bottom:10px}.profile-row{display:flex;align-items:center;gap:9px;padding:12px 4px 0;border-top:1px solid var(--border)}.profile-avatar{width:31px;height:31px;border-radius:50%;background:#d8dfd1;display:grid;place-items:center;color:#4e644a;font-weight:700}.profile-copy{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}.profile-copy strong{font-size:11px}.profile-copy small{font-size:10px;color:var(--muted)}.main-area{display:flex;flex-direction:column;flex:1;min-width:0;min-height:100vh}.topbar{height:66px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;border-bottom:1px solid var(--border);background:var(--panel)}.breadcrumbs,.topbar-actions{display:flex;align-items:center;gap:9px}.breadcrumbs{font-size:11px;color:var(--muted)}.breadcrumbs strong{color:var(--text);font-weight:600}.topbar-actions{gap:11px}.sync-indicator{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--muted);white-space:nowrap}.sync-dot{width:6px;height:6px;border-radius:50%;background:#8ca881}.sync-dot.busy{background:#c69b58;animation:pulse 1s infinite}.sync-separator{height:14px;width:1px;background:var(--border-strong);margin:0 3px}.offline-label{color:#8d9d84}.search-trigger{border-left:1px solid var(--border);border-radius:0;padding-left:14px;width:42px}.help-button{border:1px solid var(--border);background:var(--panel);color:var(--muted);width:29px;height:29px;display:grid;place-items:center;border-radius:50%}.workspace-grid{display:grid;grid-template-columns:minmax(280px,335px) minmax(0,1fr);flex:1;min-height:0}.notes-panel{display:flex;flex-direction:column;border-right:1px solid var(--border);background:var(--panel-muted);min-width:0;max-height:calc(100vh - 100px)}.notes-panel-header{padding:27px 22px 18px;display:flex;align-items:center;justify-content:space-between}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.55px;color:#5c6d55}.notes-panel-header h1{font-family:Manrope,sans-serif;font-size:23px;letter-spacing:-1px;margin:7px 0 4px;font-weight:700}.notes-panel-header p{font-size:11px;color:var(--muted);margin:0}.round-plus{width:31px;height:31px;border-radius:9px;background:var(--accent);border:0;color:#fff;display:grid;place-items:center}.list-toolbar{display:flex;align-items:center;justify-content:space-between;padding:0 22px 13px}.sort-button,.filter-button{display:flex;align-items:center;gap:6px;color:var(--muted);border:0;background:transparent;padding:6px 0;font-size:10px}.filter-button{padding:6px 8px;border:1px solid var(--border);border-radius:6px}.filter-dot{width:6px;height:6px;border-radius:50%;background:#8ca881}.notes-list{overflow-y:auto;padding:0 12px 12px;flex:1}.note-card{display:block;width:100%;padding:13px 13px 12px;text-align:left;background:transparent;border:1px solid transparent;border-radius:10px;margin-bottom:6px;transition:background .15s,border .15s}.note-card:hover{background:var(--panel);border-color:var(--border)}.note-card.selected{background:var(--panel);border-color:#d9e2d4;box-shadow:0 2px 7px #233b1b07}.dark .note-card.selected{border-color:#4b5b47}.note-card-top{display:flex;align-items:center;gap:7px;margin-bottom:9px}.note-type-icon{color:#84927d;display:grid;place-items:center}.note-date{font-size:9px;color:var(--muted)}.pin-indicator{color:#a78a51;margin-left:auto}.note-card-title{display:block;font-family:Manrope,sans-serif;font-size:12px;letter-spacing:-.1px;font-weight:700;margin-bottom:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.note-excerpt{font-size:10.5px;line-height:1.65;color:var(--muted);margin:0 0 11px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:17px}.note-card-bottom{display:flex;align-items:center;gap:6px;min-width:0}.note-book-name{font-size:9px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tag-chip{display:inline-flex;align-items:center;gap:4px;background:var(--accent-soft);color:#4f6449;padding:3px 6px;border-radius:5px;font-size:9px;white-space:nowrap}.note-card-bottom .tag-chip{margin-left:auto}.empty-list{display:flex;flex-direction:column;align-items:center;text-align:center;padding:40px 18px}.empty-illustration{width:47px;height:47px;border-radius:15px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent);margin-bottom:13px}.empty-list strong{font-size:12px}.empty-list p{font-size:11px;line-height:1.6;color:var(--muted);max-width:210px}.text-action{display:flex;align-items:center;gap:5px;background:transparent;border:0;color:var(--accent);font-weight:600;font-size:11px}.list-footer{border-top:1px solid var(--border);padding:12px 18px;display:flex;justify-content:space-between;gap:8px;font-size:9px;color:var(--muted)}.list-footer>span:first-child{display:flex;align-items:center;gap:6px}.editor-panel{min-width:0;display:flex;flex-direction:column;background:var(--panel)}.editor-topline{height:57px;display:flex;align-items:center;justify-content:space-between;padding:0 27px;border-bottom:1px solid var(--border)}.editor-breadcrumb{display:flex;align-items:center;gap:8px;min-width:0;font-size:10px;color:var(--muted)}.editor-breadcrumb span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text);max-width:170px}.crumb-dot{width:7px;height:7px;border-radius:3px;flex-shrink:0}.editor-actions{display:flex;align-items:center;gap:4px}.editor-actions .icon-button{width:30px;height:30px}.action-on{color:var(--accent)!important;background:var(--accent-soft)}.danger-hover:hover{color:#b45f51}.more-button{width:31px;height:30px;border:1px solid var(--border);border-radius:7px;background:var(--panel);display:grid;place-items:center;color:var(--muted);margin-left:5px}.editor-scroll{overflow-y:auto;flex:1}.editor-content{max-width:790px;padding:43px clamp(24px,5vw,68px) 32px;margin:0 auto}.note-title-input{display:block;width:100%;border:0;background:transparent;color:var(--text);font-family:Manrope,sans-serif;font-size:clamp(25px,3vw,35px);line-height:1.3;letter-spacing:-1.35px;font-weight:800;padding:0;margin:0 0 16px;outline:none}.note-title-input::placeholder{color:#b6bbb0}.note-title-input:focus-visible{outline:none}.note-metadata{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:10px;color:var(--muted);padding-bottom:20px;border-bottom:1px solid var(--border)}.note-metadata>span:first-child,.meta-book{display:flex;align-items:center;gap:5px}.meta-divider{height:13px;width:1px;background:var(--border-strong)}.meta-book{border:0;background:transparent;padding:0;color:var(--muted);font-size:10px}.note-metadata select{max-width:115px;border:0;background:transparent;color:var(--muted);font-size:10px;outline:none}.editor-toolbar{height:43px;display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--border);position:sticky;top:0;background:var(--panel);z-index:2}.toolbar-group{display:flex;align-items:center;gap:2px}.toolbar-group button{width:27px;height:27px;border:0;border-radius:5px;background:transparent;color:var(--muted);display:grid;place-items:center;font-size:12px}.toolbar-group button:hover,.toolbar-group button.tool-active{background:var(--accent-soft);color:var(--accent-dark)}.underlined-u{text-decoration:underline;text-underline-offset:2px}.struck-s{text-decoration:line-through}.highlight-a{background:#f1e6b5;color:#62572f;padding:0 3px;border-radius:2px}.toolbar-divider{width:1px;height:17px;background:var(--border-strong)}.toolbar-end{margin-left:auto;border:1px solid var(--border);background:transparent;border-radius:6px;color:var(--muted);font-size:10px;padding:5px 8px}.tiptap-wrap{padding:23px 0 12px;min-height:270px}.tiptap{outline:none;min-height:230px;font-size:13px;line-height:1.85;color:var(--text);overflow-wrap:anywhere}.tiptap p{margin:0 0 13px}.tiptap h1,.tiptap h2,.tiptap h3{font-family:Manrope,sans-serif;letter-spacing:-.4px;line-height:1.4;margin:24px 0 11px}.tiptap h2{font-size:20px}.tiptap h3{font-size:16px}.tiptap ul,.tiptap ol{padding-left:23px;margin:0 0 17px}.tiptap li{padding-left:4px;margin:4px 0}.tiptap blockquote{border-left:3px solid #a5b59b;margin:20px 0;padding:7px 0 7px 17px;color:var(--muted)}.tiptap blockquote p{margin:0}.tiptap code{font-family:ui-monospace,SFMono-Regular,monospace;background:var(--accent-soft);padding:2px 5px;border-radius:4px;font-size:.92em}.tiptap pre{background:#222920;color:#e5ecdf;border-radius:8px;padding:14px;overflow:auto}.tiptap pre code{background:transparent;padding:0;color:inherit}.tiptap a{color:var(--accent);text-decoration:underline}.tiptap mark{background:#f4e8a9;border-radius:2px}.tiptap p.is-editor-empty:first-child:before{color:#a6aca1;content:attr(data-placeholder);float:left;height:0;pointer-events:none}.tiptap ul[data-type=taskList]{list-style:none;padding:0}.tiptap li[data-type=taskItem]{display:flex;align-items:flex-start;gap:8px}.tiptap li[data-type=taskItem]>label{margin-top:6px}.tiptap li[data-type=taskItem]>div{flex:1}.tiptap input[type=checkbox]{accent-color:var(--accent);width:14px;height:14px}.note-tags{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:12px 0;border-top:1px solid var(--border)}.removable-tag{border:0;cursor:pointer}.add-tag{display:inline-flex;align-items:center;gap:3px;background:transparent;border:1px dashed var(--border-strong);border-radius:5px;padding:3px 7px;color:var(--muted);font-size:9px}.editor-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 0 0;border-top:1px solid var(--border);font-size:9px;color:var(--muted)}.save-state{display:flex;align-items:center;gap:6px}.save-check{display:grid;place-items:center;width:15px;height:15px;background:var(--accent-soft);color:var(--accent);border-radius:50%}.save-sep{height:12px;width:1px;background:var(--border-strong);margin:0 3px}.local-only-label{display:flex;align-items:center;gap:5px}.editor-empty{margin:auto;display:flex;flex-direction:column;align-items:center;text-align:center;padding:35px 22px}.empty-paper{width:65px;height:65px;display:grid;place-items:center;border-radius:20px;background:var(--accent-soft);color:var(--accent);position:relative;margin-bottom:20px}.sparkle{position:absolute;right:-4px;top:-3px;color:#b7a263}.editor-empty h2{font-family:Manrope,sans-serif;font-size:20px;letter-spacing:-.6px;margin:0 0 7px}.editor-empty p{font-size:12px;color:var(--muted);line-height:1.7;max-width:270px;margin:0 0 20px}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:8px;padding:10px 14px;background:var(--accent);color:#fff;font-size:11px;font-weight:600}.shortcut-hint{display:flex;align-items:center;gap:4px;margin-top:17px;color:var(--muted);font-size:10px}.shortcut-hint kbd,.search-box kbd{border:1px solid var(--border-strong);border-radius:4px;padding:3px 5px;font-size:9px}.app-footer{display:flex;justify-content:space-between;gap:12px;padding:13px 26px;border-top:1px solid var(--border);background:var(--panel);font-size:9px;color:var(--muted)}.footer-heart{color:#b88778}.footer-version{margin-left:7px;color:#a2a69d}.search-overlay{position:absolute;top:54px;right:105px;width:min(520px,calc(100vw - 300px));background:var(--panel);border:1px solid var(--border);border-radius:12px;padding:12px;box-shadow:var(--shadow);z-index:30}.search-box{display:flex;align-items:center;gap:10px}.search-box>svg{color:var(--muted)}.search-box input{flex:1;min-width:0;border:0;outline:none;background:transparent;color:var(--text);font-size:12px}.search-hint{font-size:10px;color:var(--muted);padding:10px 4px 1px}.modal-backdrop{position:fixed;inset:0;z-index:50;background:#141a14a3;display:grid;place-items:center;padding:20px}.settings-modal{width:min(570px,100%);background:var(--panel);border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);padding:22px}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:16px}.modal-header h2{font-family:Manrope,sans-serif;font-size:21px;letter-spacing:-.6px;margin:6px 0 0}.settings-row{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid var(--border)}.settings-icon{width:34px;height:34px;border-radius:9px;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center;flex-shrink:0}.settings-text{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}.settings-text strong{font-size:12px}.settings-text span{font-size:10px;line-height:1.6;color:var(--muted)}.small-outline-button{border:1px solid var(--border-strong);background:var(--panel);border-radius:7px;padding:7px 9px;font-size:10px;white-space:nowrap}.pill-status{font-size:9px;color:#7a5622;background:#f7efdc;padding:5px 7px;border-radius:5px;white-space:nowrap}.pill-status.status-configured{color:#40603a;background:#e8f1e4}.settings-note{display:flex;align-items:flex-start;gap:9px;margin:16px 0;padding:12px;background:var(--panel-muted);border-radius:9px;color:var(--muted)}.settings-note>svg{flex-shrink:0;color:var(--accent);margin-top:2px}.settings-note p{margin:0;font-size:10px;line-height:1.7}.settings-note strong{color:var(--text)}.modal-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:5px}.modal-footer>span{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--muted)}.toast-message{position:fixed;bottom:24px;left:50%;transform:translate(-50%);z-index:80;display:flex;align-items:center;gap:8px;background:#29352a;color:#f6f8f3;border-radius:9px;padding:11px 15px;font-size:11px;box-shadow:var(--shadow);animation:rise .2s ease}.toast-message svg{color:#bcd0b4}.sidebar.collapsed{width:72px;flex-basis:72px;padding:20px 9px 12px}.collapsed .brand-copy,.collapsed .sidebar-collapse,.collapsed .workspace-switch>span,.collapsed .workspace-switch>svg,.collapsed .new-note-button span,.collapsed .new-note-button kbd,.collapsed .nav-section-label,.collapsed .nav-item span,.collapsed .nav-item small,.collapsed .notebook-heading span,.collapsed .notebook-row .notebook-button span:last-child,.collapsed .favorite-button,.collapsed .storage-mini>div:nth-child(2),.collapsed .storage-mini>.status-dot,.collapsed .profile-copy,.collapsed .profile-row>.tiny-icon-button{display:none}.collapsed .brand-row{justify-content:center;padding:0 0 24px}.collapsed .workspace-switch{justify-content:center;padding:8px 0}.collapsed .new-note-button,.collapsed .nav-item{justify-content:center;padding:0}.collapsed .notebook-heading{justify-content:center;padding:0;margin-top:24px}.collapsed .notebook-row{justify-content:center}.collapsed .notebook-button{flex:0 0 auto;padding:0;width:36px;justify-content:center}.collapsed .storage-mini{justify-content:center;padding:8px 0 13px}.collapsed .profile-row{justify-content:center}.collapsed .settings-nav{margin-top:3px}.mobile-scrim{display:none}@keyframes pulse{50%{opacity:.35}}@keyframes rise{0%{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%)}}@media(min-width:1500px){.workspace-grid{grid-template-columns:minmax(310px,370px) minmax(0,1fr)}.editor-content{padding-top:55px}.notes-panel-header{padding-top:34px}}@media(max-width:1050px){.sidebar{width:220px;flex-basis:220px}.workspace-grid{grid-template-columns:minmax(250px,300px) minmax(0,1fr)}.topbar{padding:0 19px}.editor-topline{padding:0 18px}.editor-content{padding:34px 28px 28px}.sync-indicator .offline-label,.sync-separator{display:none}.notes-panel-header{padding:24px 17px 16px}.list-toolbar{padding:0 17px 12px}.notes-list{padding:0 8px 10px}}@media(max-width:760px){.app-shell{display:block}.sidebar{position:fixed;left:0;top:0;bottom:0;width:min(290px,85vw);transform:translate(-105%);transition:transform .23s ease;box-shadow:none;min-height:100dvh}.sidebar.mobile-open{transform:translate(0);box-shadow:var(--shadow)}.sidebar.collapsed{width:min(290px,85vw);padding:23px 14px 14px}.sidebar.collapsed .brand-copy,.sidebar.collapsed .sidebar-collapse,.sidebar.collapsed .workspace-switch>span,.sidebar.collapsed .workspace-switch>svg,.sidebar.collapsed .new-note-button span,.sidebar.collapsed .new-note-button kbd,.sidebar.collapsed .nav-section-label,.sidebar.collapsed .nav-item span,.sidebar.collapsed .nav-item small,.sidebar.collapsed .notebook-heading span,.sidebar.collapsed .notebook-row .notebook-button span:last-child,.sidebar.collapsed .favorite-button,.sidebar.collapsed .storage-mini>div:nth-child(2),.sidebar.collapsed .storage-mini>.status-dot,.sidebar.collapsed .profile-copy,.sidebar.collapsed .profile-row>.tiny-icon-button{display:initial}.sidebar.collapsed .brand-row{justify-content:flex-start}.sidebar.collapsed .workspace-switch{justify-content:flex-start;padding:9px 8px}.sidebar.collapsed .new-note-button{justify-content:flex-start;padding:0 11px}.sidebar.collapsed .new-note-button span{display:inline}.sidebar.collapsed .nav-item{justify-content:flex-start;padding:0 11px}.sidebar.collapsed .notebook-heading{justify-content:space-between}.sidebar.collapsed .notebook-row{justify-content:flex-start}.sidebar.collapsed .notebook-button{flex:1;padding:0 10px;width:auto;justify-content:flex-start}.sidebar.collapsed .storage-mini{justify-content:flex-start;padding:8px 5px 13px}.sidebar.collapsed .profile-row{justify-content:flex-start}.sidebar-collapse{display:none}.mobile-close,.mobile-topbar{display:flex}.mobile-close{margin-left:auto}.mobile-topbar{height:56px;align-items:center;gap:10px;padding:0 12px;background:var(--panel);border-bottom:1px solid var(--border)}.mobile-topbar .brand-mark{width:29px;height:29px;border-radius:9px}.mobile-topbar strong{font-family:Manrope,sans-serif;font-size:13px;flex:1}.mobile-topbar .icon-button{width:32px;height:32px}.mobile-scrim{display:block;position:fixed;inset:0;background:#141a1477;border:0;z-index:15}.main-area{min-height:calc(100dvh - 56px)}.topbar{height:45px;padding:0 13px}.breadcrumbs{font-size:10px;gap:6px}.topbar-actions{gap:5px}.sync-indicator{font-size:9px;gap:5px}.search-trigger{border-left:0;padding-left:0;width:30px}.help-button{display:none}.workspace-grid{display:flex;flex-direction:column;min-height:calc(100dvh - 130px)}.notes-panel{max-height:none;max-height:44dvh;min-height:180px;border-right:0;border-bottom:1px solid var(--border)}.notes-panel-header{padding:15px 16px 11px}.notes-panel-header h1{font-size:19px;margin:4px 0}.notes-panel-header p{font-size:10px}.eyebrow{font-size:8px}.round-plus{width:29px;height:29px}.list-toolbar{padding:0 16px 8px}.notes-list{display:flex;gap:7px;overflow-x:auto;overflow-y:hidden;padding:0 12px 12px;scroll-snap-type:x mandatory}.note-card{flex:0 0 min(250px,75vw);margin:0;scroll-snap-align:start;padding:10px}.note-card-title{font-size:11px}.note-excerpt{-webkit-line-clamp:2;margin-bottom:7px}.note-card-top{margin-bottom:6px}.list-footer{display:none}.empty-list{min-width:220px;padding:12px}.empty-illustration{width:34px;height:34px;margin-bottom:7px}.empty-list p{margin:5px 0}.editor-panel{flex:1;min-height:430px}.editor-topline{height:45px;padding:0 12px}.editor-breadcrumb{font-size:9px;gap:5px}.editor-breadcrumb span:last-child{max-width:100px}.editor-actions{gap:0}.editor-actions .icon-button{width:27px;height:28px}.more-button{width:27px;height:28px;margin-left:2px}.editor-content{padding:23px 18px 25px}.note-title-input{font-size:27px;letter-spacing:-.9px;margin-bottom:13px}.note-metadata{gap:7px;font-size:9px;padding-bottom:13px}.note-metadata select{max-width:90px;font-size:9px}.editor-toolbar{gap:5px;height:40px;overflow-x:auto}.toolbar-group{gap:0;flex-shrink:0}.toolbar-group button{width:26px;height:27px}.toolbar-divider{flex-shrink:0}.toolbar-end{flex-shrink:0;margin-right:0}.tiptap-wrap{padding-top:18px;min-height:230px}.tiptap{font-size:13px;line-height:1.8;min-height:200px}.editor-bottom{align-items:flex-start;flex-direction:column;gap:8px}.app-footer{padding:11px 14px;font-size:8px}.search-overlay{top:57px;right:8px;width:calc(100vw - 16px)}.settings-modal{padding:17px}.settings-row{gap:8px}.settings-text span{font-size:9px}.settings-icon{width:30px;height:30px}.modal-footer>span{font-size:9px}.toast-message{bottom:16px;max-width:calc(100vw - 30px);white-space:nowrap}}@media(max-width:390px){.sync-indicator{display:none}.notes-panel{max-height:42dvh}.note-card{flex-basis:225px}.editor-actions .icon-button:nth-child(3){display:none}.editor-content{padding-left:14px;padding-right:14px}.editor-breadcrumb span:last-child{max-width:78px}.modal-footer{align-items:flex-end}.settings-row{flex-wrap:wrap}.settings-text{flex-basis:calc(100% - 55px)}}.settings-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.settings-actions .primary-button{display:inline-flex;align-items:center;gap:6px}.template-nav{margin:8px 0 14px}.attachments-panel{margin:18px 0 4px;padding:14px;border:1px solid var(--line, #e7e6e1);border-radius:12px;background:var(--panel-soft, #fafaf7)}.attachments-panel>strong{display:flex;align-items:center;gap:7px;font-size:12px;margin-bottom:8px}.attachment-row{display:flex;align-items:center;gap:9px;padding:8px 0;border-top:1px solid var(--line, #e7e6e1);font-size:12px;min-width:0}.attachment-row>span{display:flex;flex:1;flex-direction:column;min-width:0;overflow-wrap:anywhere}.attachment-row small{color:var(--muted, #898b84);margin-top:2px}.attachment-row button{display:grid;place-items:center;border:0;background:transparent;color:var(--muted, #777);border-radius:6px;padding:6px;cursor:pointer}.attachment-row button:hover{background:var(--hover, #efeee8);color:var(--text, #222)}.auth-form{display:grid;gap:16px;padding:22px 0 6px}.auth-form label{display:grid;gap:7px;font-size:12px;font-weight:650;color:var(--text, #333)}.auth-form input{width:100%;box-sizing:border-box;border:1px solid var(--line, #deded7);background:var(--input-bg, #fff);color:var(--text, #222);border-radius:9px;padding:12px;font:inherit;outline-offset:2px}.auth-form .primary-button{justify-content:center;min-height:42px}.auth-switch{border:0;background:transparent;color:var(--accent, #61765c);font:inherit;cursor:pointer;padding:5px}.auth-disclaimer{color:var(--muted, #888);font-size:11px;line-height:1.6;margin:0}.revision-list{display:grid;gap:0;max-height:55vh;overflow:auto}.revision-row{display:flex;align-items:center;gap:16px;justify-content:space-between;padding:14px 0;border-bottom:1px solid var(--line, #e7e6e1)}.revision-row>div{min-width:0;display:grid;gap:5px}.revision-row strong{font-size:13px}.revision-row small{font-size:11px;color:var(--muted, #888);line-height:1.5;overflow-wrap:anywhere}button:disabled{opacity:.55;cursor:not-allowed}@media(max-width:700px){.settings-actions{justify-content:flex-start}.settings-row,.revision-row{align-items:flex-start}.attachments-panel{margin-left:-4px;margin-right:-4px}}.feature-nav{margin:4px 0 12px}.feature-nav small{margin-left:auto;color:#52684f!important;background:#dfe9d9!important}.feature-lab{flex:1;min-width:0;padding:clamp(16px,3vw,34px);background:var(--bg);overflow:auto}.feature-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:25px clamp(18px,3vw,34px);border:1px solid var(--border);border-radius:18px;background:linear-gradient(125deg,var(--panel) 0%,var(--panel-muted) 70%,var(--accent-soft) 100%)}.feature-hero-copy{min-width:0}.feature-hero h1{font:800 clamp(25px,3vw,36px)/1.16 Manrope,sans-serif;letter-spacing:-1.4px;margin:10px 0}.feature-hero p{color:var(--muted);max-width:660px;line-height:1.7;font-size:13px;margin:0}.feature-hero-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.feature-hero-chips span{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border:1px solid var(--border);border-radius:99px;background:var(--panel);color:var(--muted);font-size:10px}.feature-hero-chips svg{color:var(--accent)}.feature-back-button{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;padding:9px 11px;border:1px solid var(--border-strong);border-radius:8px;background:var(--panel);font-size:11px}.feature-tabs{display:flex;gap:5px;overflow-x:auto;margin:20px 0;padding:5px;border:1px solid var(--border);border-radius:11px;background:var(--panel)}.feature-tabs button{white-space:nowrap;border:0;background:transparent;color:var(--muted);padding:9px 13px;border-radius:7px;font-size:11px}.feature-tabs button.selected{background:var(--accent);color:#fff}.feature-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.feature-stats>div{display:grid;gap:4px;padding:17px;border:1px solid var(--border);border-radius:12px;background:var(--panel)}.feature-stats strong{font:800 25px Manrope,sans-serif;letter-spacing:-1px}.feature-stats span{color:var(--muted);font-size:10px}.feature-group-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.feature-group-card,.feature-tool-card,.feature-roadmap{border:1px solid var(--border);border-radius:14px;background:var(--panel);padding:19px;min-width:0}.feature-group-heading{display:flex;align-items:center;gap:11px;padding-bottom:14px;border-bottom:1px solid var(--border)}.feature-group-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:var(--accent-soft);color:var(--accent)}.feature-group-heading h2,.feature-section-heading h2,.feature-roadmap h2{margin:0;font:750 16px Manrope,sans-serif;letter-spacing:-.35px}.feature-group-heading p,.feature-section-heading p{margin:4px 0 0;color:var(--muted);font-size:10px;line-height:1.6}.feature-group-card ul{list-style:none;margin:7px 0 12px;padding:0}.feature-group-card li{display:flex;align-items:flex-start;gap:9px;padding:8px 0;font-size:11px;line-height:1.5}.feature-status{flex:0 0 46px;text-align:center;border-radius:5px;padding:3px 4px;font-size:8px;font-weight:700}.status-ready{color:#3f7046;background:#e5f1e3}.status-demo{color:#8b6c28;background:#f8efcf}.status-next{color:var(--muted);background:var(--panel-muted);border:1px solid var(--border)}.feature-open-link{display:flex;justify-content:space-between;width:100%;padding:11px 0 0;border:0;border-top:1px solid var(--border);background:transparent;color:var(--accent);font-size:11px;font-weight:700}.feature-roadmap{margin-top:16px}.feature-roadmap h2{margin-top:7px}.roadmap-phases{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:17px}.roadmap-phases article{border-left:2px solid var(--accent);padding:3px 12px 5px}.roadmap-phases article>span{color:var(--accent);font-size:9px;font-weight:800;letter-spacing:1px}.roadmap-phases strong{display:block;margin:7px 0;font:700 13px Manrope,sans-serif}.roadmap-phases p{color:var(--muted);font-size:10px;line-height:1.7;margin:0}.feature-tool-layout{display:grid;grid-template-columns:minmax(255px,.75fr) minmax(0,1.25fr);align-items:start;gap:16px}.feature-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}.feature-section-heading>svg{color:var(--accent);flex-shrink:0}.feature-section-heading .eyebrow{display:block;margin-bottom:7px}.feature-section-heading p{max-width:570px}.paper-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.paper-choice{display:grid;gap:5px;padding:9px;text-align:left;border:1px solid var(--border);border-radius:9px;background:var(--panel)}.paper-choice.chosen{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}.paper-choice strong{font-size:11px}.paper-choice small{color:var(--muted);font-size:9px}.paper-swatch{height:53px;border:1px solid #e1e4dc;border-radius:5px;background-color:#fff}.paper-plain{background-color:#fff;background-image:none}.paper-ruled{background-color:#fff;background-image:repeating-linear-gradient(to bottom,transparent 0 17px,#dce5e8 18px,transparent 19px)}.paper-grid{background-color:#fff;background-image:linear-gradient(#dce5e8 1px,transparent 1px),linear-gradient(90deg,#dce5e8 1px,transparent 1px);background-size:18px 18px}.paper-dots{background-color:#fff;background-image:radial-gradient(#b8c7c0 .8px,transparent .8px);background-size:13px 13px}.paper-cornell{background-color:#fff;background-image:linear-gradient(90deg,transparent 0 28%,#d8b7ae 28.3%,transparent 28.7%),repeating-linear-gradient(to bottom,transparent 0 17px,#dce5e8 18px,transparent 19px)}.ink-controls{display:grid;gap:12px;margin-top:17px}.ink-controls label{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:10px}.ink-controls input[type=color]{width:35px;height:25px;padding:2px;border:1px solid var(--border);border-radius:5px;background:var(--panel)}.ink-controls input[type=range]{flex:1;min-width:50px;accent-color:var(--accent)}.tool-toggle{display:inline-flex;align-items:center;gap:7px;justify-self:start;padding:7px 9px;border:1px solid var(--border);border-radius:7px;background:var(--panel);font-size:10px}.tool-toggle.active{background:var(--accent-soft);border-color:var(--accent)}.feature-action-row{display:flex;flex-wrap:wrap;gap:7px;margin-top:17px}.feature-action-row button{display:inline-flex;align-items:center;gap:5px}.feature-message{margin:15px 0 0;padding:11px 12px;border-radius:8px;background:var(--panel-muted);color:var(--muted);font-size:10px;line-height:1.7}.ink-paper{border:1px solid var(--border);border-radius:14px;overflow:hidden;background-color:#fff}.ink-paper.paper-ruled,.ink-paper.paper-grid,.ink-paper.paper-dots,.ink-paper.paper-cornell{background-color:#fff}.ink-paper-title{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;background:#ffffffdf;border-bottom:1px solid #e5e7df}.ink-paper-title span{color:#263126;font-size:11px;font-weight:700}.ink-paper-title small{color:#81877d;font-size:9px}.ink-canvas{display:block;width:100%;height:390px;touch-action:none;cursor:crosshair}.ink-canvas-hint{display:flex;align-items:center;gap:6px;padding:10px 15px;color:#737c70;font-size:9px;background:#ffffffdf;border-top:1px solid #e5e7df}.whiteboard-tool{min-height:360px}.whiteboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;padding:5px;background-color:var(--panel-muted);background-image:radial-gradient(var(--border-strong) .8px,transparent .8px);background-size:16px 16px;border-radius:10px;min-height:240px}.whiteboard-sticky{min-height:165px;padding:12px;border-radius:4px 4px 10px;box-shadow:0 5px 13px #0000000c;transform:rotate(-.4deg)}.whiteboard-sticky:nth-child(2n){transform:rotate(.6deg)}.sticky-card-top{display:flex;align-items:center;justify-content:space-between;color:#585d51;font-size:9px}.sticky-card-top span{display:flex;align-items:center;gap:5px}.sticky-card-top button{display:grid;place-items:center;border:0;background:transparent;color:#676d62;padding:3px}.whiteboard-sticky textarea{display:block;width:100%;min-height:110px;resize:vertical;border:0;outline:0;background:transparent;color:#33382f;font:600 12px/1.7 DM Sans,sans-serif;padding:14px 0 0}.acceptance-list{display:grid}.acceptance-item{display:flex;align-items:center;gap:11px;padding:13px 2px;border-bottom:1px solid var(--border);cursor:pointer}.acceptance-item input{accent-color:var(--accent);width:15px;height:15px}.acceptance-item span{flex:1;font-size:11px}.acceptance-item small{color:var(--muted);font-size:9px}.readiness-list{display:grid}.readiness-list>div{display:flex;align-items:flex-start;gap:11px;padding:15px 0;border-bottom:1px solid var(--border)}.readiness-icon{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;border-radius:8px;background:var(--accent-soft);color:var(--accent)}.readiness-list>div>div{flex:1;min-width:0}.readiness-list strong{font-size:11px}.readiness-list p{color:var(--muted);font-size:10px;line-height:1.7;margin:5px 0 0}.readiness-pill{white-space:nowrap;border-radius:5px;padding:5px 7px;font-size:8px;font-weight:700}.readiness-pill.ready{background:#e5f1e3;color:#3f7046}.readiness-pill.setup{background:#f8efcf;color:#8b6c28}.readiness-pill.next{background:var(--panel-muted);color:var(--muted);border:1px solid var(--border)}.feature-lab-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:20px;padding:13px 2px 3px;color:var(--muted);font-size:10px}.feature-lab-footer span,.feature-lab-footer button{display:inline-flex;align-items:center;gap:6px}.feature-lab-footer button{border:0;background:transparent;color:var(--accent);font-size:10px;font-weight:700}.dark .paper-choice .paper-swatch{border-color:#e1e4dc}.dark .feature-hero{background:linear-gradient(125deg,var(--panel),var(--panel-muted))}@media(max-width:1000px){.feature-tool-layout{grid-template-columns:1fr}.ink-canvas{height:330px}.whiteboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.feature-lab{padding:12px}.feature-hero{display:block;padding:19px}.feature-back-button{margin-top:16px}.feature-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.feature-stats>div{padding:13px}.feature-group-grid,.roadmap-phases{grid-template-columns:1fr}.feature-group-card,.feature-tool-card,.feature-roadmap{padding:15px}.whiteboard-grid{grid-template-columns:1fr}.whiteboard-sticky{min-height:135px}.whiteboard-sticky textarea{min-height:80px}.feature-lab-footer{align-items:flex-start;flex-direction:column}.readiness-list>div{flex-wrap:wrap}.readiness-list>div>div{flex-basis:calc(100% - 50px)}.readiness-pill{margin-left:41px}}.heading-actions{display:flex;align-items:center;gap:2px}.notebook-list.tree{display:flex;flex-direction:column;gap:1px;overflow-y:auto;max-height:calc(100vh - 430px);min-height:90px;padding-bottom:6px}.tree-row{display:flex;align-items:center;gap:2px;border-radius:7px;min-height:31px;padding-right:2px}.tree-row:hover{background:#e8ebe4}.dark .tree-row:hover{background:#2b322b}.tree-row.selected{background:#e2e8de}.dark .tree-row.selected{background:#303c2f}.tree-row.selected .tree-label{color:var(--accent-dark);font-weight:600}.tree-chevron{width:20px;height:24px;border:0;background:transparent;color:var(--muted);display:grid;place-items:center;border-radius:5px;flex:0 0 20px;padding:0}.tree-chevron:hover{color:var(--text)}.tree-label{display:flex;align-items:center;gap:8px;flex:1;min-width:0;height:29px;padding:0 4px;border:0;background:transparent;color:#5d6359;font-size:12px;text-align:left}.dark .tree-label{color:var(--muted)}.tree-label:hover{color:var(--text)}.tree-label span:last-of-type{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.tree-label small{font-size:10px;color:var(--muted);flex:0 0 auto}.tree-more{opacity:0;width:24px;height:24px}.tree-row:hover .tree-more,.tree-more[aria-expanded=true],.tree-more:focus-visible{opacity:1}.tree-row[draggable=true]{cursor:grab}.tree-page{display:flex;align-items:center;gap:7px;width:100%;min-height:28px;padding-right:8px;border:0;background:transparent;color:var(--muted);font-size:11px;text-align:left;border-radius:6px}.tree-page span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tree-page:hover{background:#e8ebe4;color:var(--text)}.dark .tree-page:hover{background:#2b322b}.tree-page.selected{color:var(--accent-dark);font-weight:600;background:var(--accent-soft)}.tree-empty,.tree-hint{font-size:10px;color:var(--muted);line-height:1.6;padding:4px 8px}.tree-hint{margin:6px 4px 0;border:1px dashed var(--border-strong);border-radius:8px}.tree-menu{display:flex;flex-direction:column;gap:1px;margin:2px 6px 6px 0;padding:5px;border:1px solid var(--border);border-radius:9px;background:var(--panel);box-shadow:var(--shadow)}.tree-menu button{display:flex;align-items:center;gap:8px;border:0;background:transparent;padding:7px 8px;border-radius:6px;font-size:11px;text-align:left;color:var(--text)}.tree-menu button:hover{background:var(--accent-soft)}.tree-menu button.danger{color:#b45f51}.tree-menu-move{display:flex;flex-direction:column;gap:3px;padding:4px 8px 6px;font-size:10px;color:var(--muted)}.tree-menu-move select{width:100%;border:1px solid var(--border-strong);background:var(--panel);color:var(--text);border-radius:6px;padding:5px;font-size:11px}.collapsed .tree-chevron,.collapsed .tree-label span:last-of-type,.collapsed .tree-label small,.collapsed .tree-more,.collapsed .tree-page,.collapsed .tree-empty,.collapsed .tree-hint,.collapsed .tree-menu,.collapsed .heading-actions{display:none}.collapsed .tree-row{justify-content:center;padding:0}.collapsed .tree-label{flex:0 0 auto;justify-content:center;width:36px;padding:0}@media(max-width:760px),(pointer:coarse){.tree-more{opacity:1}.tree-row{min-height:40px}.tree-label{height:38px}.tree-page{min-height:36px}}@media(min-width:761px){.sidebar{position:sticky;top:0;height:100vh;min-height:0;overflow-y:auto;overflow-x:hidden}.sidebar>*{flex-shrink:0}.sidebar>.notebook-list.tree{flex:1 1 150px;min-height:150px;max-height:none}.sidebar>.sidebar-spacer{flex:0 0 8px;min-height:8px}.sidebar>.sidebar-footer{position:sticky;bottom:0;background:var(--sidebar);z-index:2}}@media(min-width:761px)and (max-height:900px){.sidebar{padding-top:14px}.sidebar .brand-row{padding-bottom:10px}.sidebar .workspace-switch{margin-bottom:8px;padding:6px 8px}.sidebar .new-note-button{margin-bottom:8px;height:36px}.sidebar .template-nav{margin:2px 0}.sidebar .feature-nav{margin-bottom:4px}.sidebar .nav-item{height:32px}.sidebar .primary-nav{gap:1px}.sidebar .notebook-heading{margin-top:12px;margin-bottom:4px}.sidebar>.notebook-list.tree{flex-basis:200px;min-height:200px}}.trash-view .trash-preview{max-width:420px;margin:0 0 20px;padding:10px 14px;border-left:3px solid var(--border);color:var(--muted);font-size:12px;line-height:1.6;text-align:left;white-space:pre-wrap}.trash-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:center}.danger-text{color:#b45f51}.empty-trash{margin:8px 18px 12px;align-self:flex-start}
