:root{--app-viewport-height: 100vh;--topbar-height: 45px;color:#37352f;background:#fff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}@supports (height: 100dvh){:root{--app-viewport-height: 100dvh}}*{box-sizing:border-box}html,body,#root{width:100%;max-width:100%;overflow-anchor:none;overflow-x:hidden}body{margin:0;min-width:320px;min-height:var(--app-viewport-height, 100vh)}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.hidden-file-input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.app-shell{display:grid;grid-template-columns:260px 1fr;min-height:var(--app-viewport-height, 100vh);background:#fff}.sidebar{display:flex;min-width:0;flex-direction:column;gap:8px;border-right:1px solid #eeeeec;background:var(--vault-sidebar-bg, #fbfbfa);padding:10px}.sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.sidebar-head .brand-row{min-width:0;flex:1}.sidebar-close,.mobile-sidebar-toggle{display:none;align-items:center;justify-content:center;gap:7px;border:0;border-radius:5px;background:transparent;color:#5f5e5b}.sidebar-close{width:32px;height:32px;flex:0 0 auto}.mobile-sidebar-toggle{min-height:32px;flex:0 0 auto;padding:0 8px;font-size:13px;font-weight:650}.sidebar-close:hover,.mobile-sidebar-toggle:hover{background:var(--vault-sidebar-hover-bg, #f1f1ef);color:#37352f}.sidebar-backdrop{display:none}.brand-row{display:flex;align-items:center;gap:10px;min-height:36px;border-radius:5px;padding:4px 6px}.brand-mark{display:grid;width:24px;height:24px;place-items:center;border-radius:5px;background:#37352f;color:#fff}.brand-row strong,.brand-row span{display:block}.brand-row strong{color:#37352f;font-size:14px;font-weight:650}.brand-row span{color:#787774;font-size:11px}.search-box{display:flex;align-items:center;gap:5px;min-width:0;border:0;border-radius:5px;background:transparent;color:#787774;padding:6px 7px}.search-box:hover,.search-box:focus-within{background:var(--vault-sidebar-hover-bg, #f1f1ef)}.search-box input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#37352f;font-size:14px}.search-submit,.search-clear{display:grid;width:20px;height:20px;flex:0 0 auto;place-items:center;border:0;border-radius:4px;background:transparent;color:#787774;cursor:pointer;padding:0}.search-submit:hover,.search-clear:hover{background:#e7e6e3;color:#37352f}.search-status{color:#9b9a97;font-size:11px;line-height:1.4;padding:0 7px}.search-status.is-error{color:#9f1239}.icon-button,.tool-button{display:grid;width:32px;height:32px;flex:0 0 auto;place-items:center;border:0;border-radius:5px;background:transparent;color:#787774}.icon-button:hover,.tool-button:hover,.tool-button.is-active{background:#eeeeec;color:#37352f}.sidebar-create-wrap{position:relative}.sidebar-create-button{display:inline-flex;width:100%;align-items:center;gap:7px;border:0;border-radius:5px;background:transparent;color:#787774;min-height:30px;padding:4px 7px;text-align:left;font-size:13px;font-weight:600}.sidebar-create-button svg:last-child{margin-left:auto}.sidebar-create-button:hover{background:var(--vault-sidebar-hover-bg, #f1f1ef);color:#37352f}.sidebar-create-menu{position:absolute;top:calc(100% + 4px);left:0;z-index:20;display:grid;width:min(220px,100%);gap:2px;border:1px solid #e7e6e3;border-radius:7px;background:#fff;padding:5px;box-shadow:0 12px 32px #0f0f0f24}.sidebar-create-menu button{display:inline-flex;align-items:center;gap:8px;border:0;border-radius:5px;background:transparent;color:#37352f;min-height:32px;padding:0 8px;text-align:left;font-size:13px;font-weight:600}.sidebar-create-menu button:hover{background:#f1f1ef}.sidebar-scroll{display:flex;min-height:0;flex:1;flex-direction:column;gap:8px;overflow:auto;padding-bottom:16px}.note-list{display:flex;flex:0 0 auto;min-height:0;flex-direction:column;gap:1px;overflow:visible;padding-top:4px}.tree-branch{display:flex;flex-direction:column;gap:2px}.tree-folder,.tree-note{display:flex;width:100%;min-width:0;align-items:center;gap:7px;border:0;border-radius:5px;background:transparent;color:#5f5e5b;min-height:28px;padding:4px 6px;text-align:left}.tree-folder{color:var(--vault-folder-text, #4d4331);background:var(--vault-folder-bg, #ece7d8);font-size:13px;font-weight:760;letter-spacing:0;margin-top:6px;box-shadow:inset 2px 0 0 var(--vault-folder-accent, #b89437)}.tree-folder:hover{background:var(--vault-folder-hover-bg, #e3dcc8);color:#37352f}.tree-folder .tree-folder-toggle{display:inline-grid;width:16px;height:16px;flex:0 0 auto;place-items:center;border-radius:4px;color:var(--vault-folder-accent, #7b560e)}.tree-folder .tree-folder-icon{color:var(--vault-folder-icon, #9a6b16)}.tree-note{color:#37352f;font-size:14px;font-weight:500}.tree-folder svg,.tree-note svg{flex:0 0 auto}.tree-emoji{display:inline-grid;width:15px;height:15px;flex:0 0 auto;place-items:center;font-size:14px;line-height:1}.tree-folder span,.tree-note span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tree-folder .tree-folder-add{display:inline-flex;width:22px;height:22px;flex:0 0 auto;align-items:center;justify-content:center;border-radius:5px;color:#9b9a97;margin-left:auto;opacity:0}.tree-folder:hover .tree-folder-add,.tree-folder:focus-within .tree-folder-add,.tree-folder .tree-folder-add:focus{opacity:1}.tree-folder .tree-folder-add:hover{background:var(--vault-folder-hover-bg, #e7e6e3);color:#37352f}.tree-note.has-unsaved{background:#fff7df}.tree-note.is-selected.has-unsaved{background:#315c91}.tree-note.has-unsaved .tree-label{color:#8a5a00;font-weight:700}.tree-note.is-selected.has-unsaved .tree-label{color:#fff}.tree-folder .tree-unsaved,.tree-note .tree-unsaved{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:18px;height:18px;overflow:visible;border-radius:999px;background:#f2c94c;color:#4d3306;font-size:10px;font-weight:800;line-height:1}.tree-note .tree-badge{flex:0 0 auto;border-radius:4px;background:#fff0f0;color:#9f1239;font-size:11px;font-weight:700;overflow:visible;padding:1px 5px;text-overflow:clip;white-space:nowrap}.tree-note:hover{background:#f1f1ef}.tree-note.is-selected{background:#315c91;color:#fff;box-shadow:none}.tree-note.is-selected:hover{background:#284d7c}.tree-note.is-selected .tree-label,.tree-note.is-selected svg,.tree-note.is-selected .tree-emoji{color:#fff}.sidebar-special-files{display:flex;flex-direction:column;gap:2px;border-top:1px solid rgb(120 119 116 / .18);margin-top:10px;padding-top:10px}.sidebar-special-link{display:inline-flex;width:100%;min-width:0;align-items:center;gap:7px;border:0;border-radius:5px;background:transparent;color:#787774;min-height:28px;padding:4px 7px;text-align:left;font-size:12px;font-weight:650}.sidebar-special-link:hover{background:var(--vault-sidebar-hover-bg, #f1f1ef);color:#37352f}.sidebar-special-link.is-selected{background:#315c91;color:#fff}.sidebar-special-link svg{flex:0 0 auto}.sidebar-special-link span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.empty-state{color:#787774;font-size:13px;padding:10px 8px}.main-column{display:flex;min-width:0;max-width:100%;flex-direction:column;overflow-anchor:none;overflow-x:hidden}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:45px;border-bottom:1px solid transparent;background:#ffffffeb;padding:6px 12px;position:sticky;top:0;z-index:5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.crumb-strip,.topbar-right{display:flex;min-width:0;align-items:center;gap:8px}.topbar-right{margin-left:auto}.crumb-strip{color:#37352f;font-size:14px;font-weight:600}.crumb-strip span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.signed-in-user,.git-strip{display:flex;min-width:0;align-items:center;gap:9px}.signed-in-user{color:#202124}.signed-in-user img{width:28px;height:28px;flex:0 0 auto;border-radius:999px}.signed-in-user div{min-width:0}.signed-in-user strong,.signed-in-user span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.signed-in-user strong{max-width:140px;color:#37352f;font-size:12px;font-weight:600}.signed-in-user span{max-width:180px;color:#9b9a97;font-size:11px}.user-dot{width:12px;height:12px;flex:0 0 auto;border-radius:999px}.git-strip{color:#787774;font-size:12px}.topbar-menu-wrap{position:relative;min-width:0}.git-summary-button,.user-menu-button,.page-menu-button,.page-sidebar-toggle{display:inline-flex;min-width:0;align-items:center;justify-content:center;gap:7px;border:0;border-radius:5px;background:transparent;color:#5f5e5b;cursor:pointer;padding:6px 8px;white-space:nowrap;font-size:12px;font-weight:650}.git-summary-button:hover,.user-menu-button:hover,.page-menu-button:hover,.page-sidebar-toggle:hover,.git-summary-button[aria-expanded=true],.user-menu-button[aria-expanded=true],.page-menu-button[aria-expanded=true]{background:#eeeeec;color:#37352f}.page-sidebar-toggle{display:none}.git-summary-button span,.user-menu-button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-menu-button img{width:24px;height:24px;flex:0 0 auto;border-radius:999px}.topbar-dropdown{position:absolute;top:calc(100% + 6px);right:0;z-index:50;width:min(320px,calc(100vw - 24px));border:1px solid #e7e6e3;border-radius:7px;background:#fff;color:#37352f;padding:8px;box-shadow:0 16px 36px #0f0f0f29}.git-dropdown{width:min(360px,calc(100vw - 24px))}.topbar-dropdown-head{border-bottom:1px solid #eeeeec;margin-bottom:8px;padding:4px 6px 8px}.topbar-dropdown-head strong,.topbar-dropdown-head span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-dropdown-head strong{color:#37352f;font-size:13px;font-weight:760}.topbar-dropdown-head span{color:#9b9a97;font-size:12px;margin-top:2px}.topbar-detail-list{display:grid;gap:5px;margin:0 0 8px}.topbar-detail-list div{display:grid;grid-template-columns:86px minmax(0,1fr);gap:8px;padding:3px 6px}.topbar-detail-list dt,.topbar-detail-list dd{min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.topbar-detail-list dt{color:#9b9a97;font-weight:650}.topbar-detail-list dd{color:#37352f}.dropdown-action-button,.page-action-menu button{display:inline-flex;width:100%;align-items:center;justify-content:flex-start;gap:8px;border:0;border-radius:5px;background:transparent;color:#37352f;cursor:pointer;padding:8px;text-align:left;font-size:12px;font-weight:650}.dropdown-action-button:hover,.page-action-menu button:hover{background:#f1f1ef}.dropdown-action-button.is-plain{color:#5f5e5b}.dropdown-action-button:disabled,.page-action-menu button:disabled{cursor:default;opacity:.45}.icon-text-button,.save-button,.secondary-button,.danger-button,.ghost-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:5px;background:transparent;color:#5f5e5b;padding:6px 8px}.save-button{background:#37352f;color:#fff;font-weight:650}.danger-button{background:#9f1239;color:#fff;font-weight:650}.secondary-button:hover,.ghost-button:hover,.icon-text-button:hover{background:#f1f1ef}.recovery-panel{display:flex;gap:12px;max-width:780px;margin:18px auto;border:1px solid #f0d7d7;border-radius:7px;background:snow;padding:14px;color:#37352f}.recovery-panel.full-page{width:min(560px,calc(100vw - 32px));margin:18vh auto 0}.recovery-icon{display:grid;width:34px;height:34px;flex:0 0 auto;place-items:center;border-radius:6px;background:#fff0f0;color:#9f1239}.recovery-panel strong{display:block;font-size:14px;font-weight:750}.recovery-panel p{margin:5px 0 0;color:#787774;font-size:13px;line-height:1.55}.recovery-panel code{display:inline-block;margin-top:8px;border-radius:4px;background:#f7e9e9;color:#9f1239;font-size:12px;padding:2px 5px}.recovery-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.workspace{position:relative;min-width:0;max-width:100%;flex:1;background:#fff;overflow-anchor:none;overflow-x:hidden}.workspace.is-unsaved{background:linear-gradient(180deg,#fff9eb 0,#fff 360px),#fff}.workspace.is-unsaved:before{position:absolute;top:0;left:0;right:0;z-index:6;display:block;height:4px;background:#f2c94c;content:""}.document-layout{width:100%;max-width:780px;min-width:0;margin:0 auto}.document-main{min-width:0;max-width:100%}.document-layout.has-outline:not(.has-comments){display:grid;grid-template-columns:minmax(0,780px) 210px;align-items:start;gap:22px;max-width:1056px;padding:0 44px}.document-layout.has-outline:not(.has-comments) .editor-surface{margin:0;padding-left:0;padding-right:0}.workspace.has-outline:not(.has-comments) .workspace-header{max-width:1056px}.document-outline{position:sticky;top:18px;z-index:2;align-self:start;max-height:calc(var(--app-viewport-height, 100dvh) - var(--topbar-height) - 58px);overflow-y:auto;overscroll-behavior:contain;padding-top:0;padding-bottom:16px;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch}.document-outline-card{border-left:1px solid #eeeeec;padding-left:14px}.document-outline-title{display:flex;align-items:center;gap:6px;color:#787774;font-size:12px;font-weight:720;margin-bottom:7px}.document-outline-list{display:flex;flex-direction:column;gap:1px;min-height:0}.document-outline-item{display:block;width:100%;min-width:0;border:0;border-radius:4px;background:transparent;color:#787774;cursor:pointer;padding:4px 6px;text-align:left;font-size:12px;line-height:1.35}.document-outline-item:hover{background:#f7f6f3;color:#37352f}.document-outline-item span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.document-outline-item.level-2{padding-left:16px}.document-outline-item.level-3{padding-left:28px}.document-outline-mobile{display:none;border:1px solid #eeeeec;border-radius:6px;background:#fff;margin:0 0 14px}.document-outline-mobile summary{display:flex;align-items:center;gap:7px;color:#5f5e5b;cursor:pointer;list-style:none;padding:8px 10px;font-size:13px;font-weight:700}.document-outline-mobile summary::-webkit-details-marker{display:none}.document-outline-mobile .document-outline-list{border-top:1px solid #eeeeec;padding:6px}.workspace-header{position:relative;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;max-width:780px;margin:0 auto;padding:8px 44px}.workspace-header h1{margin:8px 0 0;color:#37352f;font-size:40px;font-weight:740;line-height:1.12}.workspace.is-unsaved .editor-surface{background:linear-gradient(90deg,#fbf3db7a,#fff0 46px);box-shadow:inset 4px 0 #f2c94c}.workspace.is-unsaved.has-comments .editor-surface{padding-left:18px}.workspace.is-unsaved .document-layout.has-outline:not(.has-comments) .editor-surface{padding-left:18px}.eyebrow{margin:0;color:#9b9a97;font-size:12px;font-weight:600;letter-spacing:0}.page-title-block{position:relative;min-width:0;width:100%}.page-heading-row{display:flex;min-width:0;align-items:flex-start;gap:8px}.page-heading-row h1{flex:1 1 auto;min-width:0}.page-icon-wrap{position:relative;width:max-content;margin-bottom:16px}.page-icon{display:grid;width:64px;height:64px;place-items:center;border:0;border-radius:5px;background:transparent;color:#787774;padding:0}.page-icon:not(:disabled):hover{background:#f1f1ef}.page-icon:disabled{cursor:default;opacity:1}.page-icon.has-emoji{color:#37352f}.page-emoji{font-size:46px;line-height:1}.emoji-menu{position:absolute;top:68px;left:0;z-index:15;width:252px;border:1px solid #e7e6e3;border-radius:6px;background:#fff;padding:8px;box-shadow:0 12px 32px #0f0f0f29}.emoji-menu-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:3px}.emoji-menu button{display:grid;min-width:0;height:28px;place-items:center;border:0;border-radius:5px;background:transparent;color:#37352f;font-size:18px}.emoji-menu button:hover{background:#f1f1ef}.emoji-menu .emoji-custom-button{width:100%;height:30px;justify-content:start;margin-top:7px;padding:0 8px;color:#5f5e5b;font-size:12px;font-weight:650;text-align:left}.page-subline{display:flex;align-items:center;gap:6px;margin-top:10px;color:#9b9a97;font-size:12px}.page-action-row{position:relative;display:flex;align-items:center;flex:0 0 auto;gap:8px;padding-top:10px}.page-action-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:20;width:190px;border:1px solid #e7e6e3;border-radius:7px;background:#fff;padding:6px;box-shadow:0 14px 32px #0f0f0f24}.page-action-menu button.is-danger{color:#9f1239}.page-action-menu button.is-danger:hover{background:#fff1f2;color:#be123c}.presence-pill{display:inline-flex;align-items:center;gap:7px;border:0;border-radius:5px;color:#787774;padding:5px 7px;white-space:nowrap;font-size:12px}.presence-pill.is-online{color:#2f6f66;background:#edf7f4}.quiet-save{display:inline-flex;align-items:center;gap:6px;border:0;border-radius:5px;background:transparent;color:#787774;padding:5px 7px;white-space:nowrap;font-size:12px}.quiet-save:hover{background:#f1f1ef;color:#37352f}.quiet-save.is-active{background:#eeeeec;color:#37352f;font-weight:700}.quiet-save.saved{color:#2f6f66}.quiet-save.dirty{background:#f2c94c;color:#4d3306;font-weight:700;box-shadow:0 0 0 3px #f2c94c2e}.quiet-save.danger:hover{background:#fff0f0;color:#9f1239}.quiet-save.conflict,.quiet-save.error{color:#9f1239}.conflict-badge,.unsaved-badge{display:inline-flex;align-items:center;border-radius:4px;background:#fff0f0;color:#9f1239;font-size:11px;font-weight:700;padding:1px 6px}.unsaved-badge{background:#fbf3db;color:#8a5a00}.unsaved-notice{display:flex;max-width:780px;align-items:center;justify-content:space-between;gap:14px;border:1px solid #efd18a;border-radius:6px;background:#fff7df;color:#684400;margin:12px auto 16px;padding:12px 14px;box-shadow:0 8px 26px #704e0014}.unsaved-notice.unsaved-notice-compact{position:absolute;top:4px;right:0;z-index:8;width:min(390px,calc(100% - 104px));margin:0;padding:10px 11px;box-shadow:0 14px 34px #704e0024}.unsaved-notice.unsaved-notice-compact strong{font-size:13px}.unsaved-notice.unsaved-notice-compact span,.unsaved-notice.unsaved-notice-compact .discard-draft-link{font-size:11px}.external-update-notice{display:flex;max-width:780px;align-items:center;justify-content:space-between;gap:14px;border:1px solid #b8d7ff;border-radius:6px;background:#f3f8ff;color:#173b67;margin:12px auto 16px;padding:12px 14px;box-shadow:0 8px 26px #1d4ed814}.external-update-notice.has-drafts{border-color:#efd18a;background:#fff8e6;color:#684400}.external-update-notice.has-conflicts{border-color:#f3c2c2;background:#fff7f7;color:#6f1d1d}.external-update-notice strong,.external-update-notice span,.external-update-notice small,.external-update-notice code{display:block}.external-update-notice strong{color:#12345c;font-size:14px;font-weight:750;margin-bottom:3px}.external-update-notice.has-drafts strong{color:#5f3f07}.external-update-notice.has-conflicts strong{color:#7f1d1d}.external-update-notice span{font-size:13px;line-height:1.5}.external-update-notice small{margin-top:5px;color:inherit;font-size:11px;line-height:1.4;opacity:.85}.external-update-notice code{width:fit-content;border-radius:4px;background:#ffffffb3;color:inherit;font-size:11px;margin-top:5px;padding:2px 5px}.external-update-actions{display:flex;flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end;gap:6px}.external-update-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;border:0;border-radius:5px;background:#245ea8;color:#fff;cursor:pointer;padding:0 12px;white-space:nowrap;font-size:13px;font-weight:760}.external-update-actions button:hover{background:#1d4f8f}.external-update-actions button.is-plain{background:transparent;color:#5f5e5b}.external-update-actions button.is-plain:hover{background:#ffffffbd;color:#37352f}.external-update-actions button:disabled{cursor:default;opacity:.62}.unsaved-notice strong,.unsaved-notice span{display:block}.unsaved-notice strong{color:#5f3f07;font-size:14px;font-weight:750;margin-bottom:3px}.unsaved-notice span{font-size:13px;line-height:1.5}.unsaved-notice button,.unsaved-floating-save .unsaved-floating-save-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;border:0;border-radius:5px;background:#4d3306;color:#fff;cursor:pointer;padding:0 12px;white-space:nowrap;font-size:13px;font-weight:760;box-shadow:inset 0 0 0 1px #ffffff14}.unsaved-notice button:hover,.unsaved-floating-save .unsaved-floating-save-button:hover{background:#2f2107}.unsaved-notice button svg,.unsaved-notice button span,.unsaved-floating-save .unsaved-floating-save-button svg,.unsaved-floating-save .unsaved-floating-save-button span{color:inherit}.unsaved-notice button:disabled,.unsaved-floating-save .unsaved-floating-save-button:disabled{cursor:default;opacity:.62}.unsaved-notice .discard-draft-link{justify-content:flex-start;min-height:auto;border-radius:0;background:transparent;color:#b42318;box-shadow:none;margin-top:6px;padding:0;text-decoration:underline;text-underline-offset:2px;white-space:normal;font-size:12px;font-weight:650}.unsaved-notice .discard-draft-link:hover{background:transparent;color:#7f1d1d}.unsaved-floating-save{position:fixed;right:24px;bottom:24px;z-index:45;display:flex;align-items:center;gap:12px;max-width:min(560px,calc(100vw - 48px));border:1px solid #e7c873;border-radius:8px;background:#fffaf0;color:#5f3f07;padding:10px 10px 10px 13px;box-shadow:0 18px 44px #0f0f0f29}.unsaved-floating-save .unsaved-dot{width:9px;height:9px;flex:0 0 auto;border-radius:50%;background:#e7a321;box-shadow:0 0 0 4px #e7a32129}.unsaved-floating-save div{min-width:0}.unsaved-floating-save>div>strong,.unsaved-floating-save>div>.unsaved-floating-link{display:block}.unsaved-floating-save>div>strong{color:#4d3306;font-size:13px;font-weight:760}.unsaved-floating-save>div>.unsaved-floating-link{overflow:hidden;border:0;background:transparent;color:#7c5a12;cursor:pointer;font-size:12px;font-weight:650;margin:1px 0 0;max-width:100%;padding:0;text-align:left;text-decoration:underline;text-underline-offset:2px;text-overflow:ellipsis;white-space:nowrap}.unsaved-floating-save>div>.unsaved-floating-link:hover{color:#4d3306}.conflict-notice{display:flex;max-width:780px;align-items:flex-start;justify-content:space-between;gap:14px;border:1px solid #f3c2c2;border-radius:5px;background:#fff8f8;color:#5f2121;margin:12px auto 8px;padding:12px 14px}.conflict-notice strong,.conflict-notice span{display:block}.conflict-notice strong{margin-bottom:3px;color:#7f1d1d;font-size:14px}.conflict-notice span{font-size:13px;line-height:1.5}.conflict-actions{display:flex;flex:0 0 auto;flex-wrap:wrap;gap:6px}.conflict-actions button{border:1px solid #efcaca;border-radius:5px;background:#fff;color:#7f1d1d;font-size:12px;font-weight:650;padding:6px 8px}.conflict-actions button:hover{background:#fff0f0}.bubble-menu{position:fixed;z-index:20;display:flex;align-items:center;flex-wrap:wrap;gap:4px;max-width:min(560px,calc(100vw - 24px));border-radius:5px;transform:translate(-50%);background:#191919;color:#fff;padding:4px;box-shadow:0 8px 24px #0f0f0f38}.bubble-menu.is-empty-block{max-width:min(340px,calc(100vw - 24px))}.bubble-menu.is-mobile-dock{top:auto;z-index:50;width:calc(100vw - 24px);max-width:560px;justify-content:center;transform:translate(-50%)}.bubble-group{display:inline-flex;align-items:center;gap:2px}.bubble-group+.bubble-group{border-left:1px solid #3d3d3d;padding-left:4px}.bubble-menu .tool-button{width:28px;height:28px;color:#fff}.bubble-menu .tool-button:hover,.bubble-menu .tool-button.is-active{background:#333;color:#fff}.table-menu{position:fixed;z-index:21;display:flex;align-items:center;flex-wrap:wrap;gap:3px;max-width:min(560px,calc(100vw - 24px));border:1px solid #d7d6d2;border-radius:6px;transform:translate(-50%);background:#fff;color:#37352f;padding:4px;box-shadow:0 8px 26px #0f0f0f29}.table-menu button{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:28px;border:0;border-radius:5px;background:transparent;color:#5f5e5b;padding:0 7px;font-size:12px;font-weight:650}.table-menu button:hover{background:#f1f1ef;color:#37352f}.table-menu button:disabled{opacity:.36}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:grid;place-items:center;background:#0f0f0f2e;padding:20px}.comment-modal,.delete-page-modal{width:min(480px,100%);border:1px solid #e7e6e3;border-radius:7px;background:#fff;box-shadow:0 18px 54px #0f0f0f38;padding:14px}.delete-page-modal p{margin:0;color:#5f5e5b;font-size:13px;line-height:1.65}.comment-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.comment-modal-header strong,.comment-modal-header span{display:block}.comment-modal-header strong{color:#37352f;font-size:15px;font-weight:700}.comment-modal-header span{color:#9b9a97;font-size:12px;margin-top:2px}.modal-close-button{display:inline-flex;width:30px;height:30px;flex:0 0 auto;align-items:center;justify-content:center;border:0;border-radius:5px;background:transparent;color:#787774}.modal-close-button:hover{background:#f1f1ef;color:#37352f}.comment-modal textarea{width:100%;min-height:116px;resize:vertical;border:1px solid #e7e6e3;border-radius:6px;outline:none;padding:10px 11px;color:#37352f;font-size:14px;line-height:1.55}.comment-modal textarea:focus{border-color:#c9c8c3;box-shadow:0 0 0 2px #37352f14}.comment-modal-note{margin:8px 0 0;color:#8a5a00;font-size:12px;line-height:1.45}.create-page-modal{width:min(460px,100%);border:1px solid #e7e6e3;border-radius:7px;background:#fff;box-shadow:0 18px 54px #0f0f0f38;padding:14px}.history-modal{display:flex;width:min(1360px,calc(100vw - 32px));height:min(900px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);flex-direction:column;overflow:hidden;border:1px solid #e7e6e3;border-radius:7px;background:#fff;box-shadow:0 18px 54px #0f0f0f38}.history-modal-header{flex:0 0 auto;margin-bottom:0;padding:14px 14px 12px}.raw-editor-panel{max-width:780px;min-height:calc(100vh - 230px);margin:0 auto;padding:12px 44px 120px;caret-color:#37352f}.raw-editor-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;padding:7px 0}.raw-editor-toolbar strong,.raw-editor-toolbar span{display:block}.raw-editor-toolbar strong{color:#37352f;font-size:13px;font-weight:720}.raw-editor-toolbar span{color:#787774;font-size:12px;margin-top:2px}.raw-editor-toolbar button{flex:0 0 auto;border:0;border-radius:5px;background:#f1f1ef;color:#37352f;min-height:28px;padding:0 9px;font-size:12px;font-weight:650}.raw-editor-toolbar button:hover,.raw-editor-toolbar button.is-copied{background:#edf7f4;color:#0f766e}.raw-markdown-editor{display:block;width:100%;min-height:calc(100vh - 230px);resize:none;border:0;border-radius:0;outline:none;background:transparent;color:#37352f;padding:0 0 24px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:13px;line-height:1.6;-moz-tab-size:2;tab-size:2;white-space:pre;overflow-x:auto;overflow-y:hidden}.raw-markdown-editor:focus{box-shadow:none}.history-loading,.history-empty,.history-error{display:flex;align-items:center;gap:8px;min-height:72px;color:#787774;font-size:13px}.history-error{color:#9f1239}.history-compare-bar{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:12px;margin:0 14px 12px;padding:8px 10px;border-radius:6px;background:#f7f6f3;color:#787774;font-size:12px}.history-compare-bar>div{display:grid;gap:2px;min-width:0}.history-compare-status{color:#37352f;font-weight:650}.history-compare-note{color:#787774}.history-compare-bar button,.history-actions button,.history-diff-header button{border:0;border-radius:5px;background:#f1f1ef;color:#37352f;min-height:28px;padding:0 9px;font-size:12px;font-weight:650}.history-compare-bar button:disabled{cursor:not-allowed;color:#9b9a97;opacity:.55}.history-modal-body{display:grid;flex:1 1 auto;gap:14px;min-height:0;overflow:hidden;padding:0 14px 14px}.history-modal-body.has-diff{grid-template-columns:minmax(270px,360px) minmax(0,1fr);align-items:start}.history-list{display:grid;align-content:start;gap:2px;list-style:none;min-height:0;overflow:auto;margin:0;padding:0 4px 0 0}.history-list li{border-radius:6px;padding:9px 8px}.history-list li:hover,.history-list li.is-selected,.history-list li.is-viewing{background:#f7f6f3}.history-list li.is-selected{box-shadow:inset 0 0 0 1px #d8d2c3}.history-list li.is-viewing{background:#f3f7fb;box-shadow:inset 0 0 0 1px #b8d5f6}.history-line,.history-meta{display:flex;align-items:center;justify-content:space-between;gap:12px}.history-line strong{min-width:0;overflow:hidden;color:#37352f;font-size:13px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.history-line code{flex:0 0 auto;border-radius:4px;background:#f1f1ef;color:#787774;font-size:12px;padding:2px 5px}.history-meta{margin-top:4px;color:#9b9a97;font-size:12px}.history-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.history-actions button:hover,.history-compare-bar button:not(:disabled):hover,.history-diff-header button:hover{background:#e9e8e5}.history-actions button.is-selected{background:#37352f;color:#fff}.history-actions button.is-active{background:#2563eb;color:#fff}.history-diff-panel{display:flex;height:100%;min-width:0;min-height:0;flex-direction:column;border:1px solid #e7e6e3;border-radius:7px;background:#fff;overflow:hidden}.history-diff-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid #e7e6e3}.history-diff-header strong,.history-diff-header span{display:block}.history-diff-header strong{color:#37352f;font-size:13px}.history-diff-header span{color:#787774;font-size:12px;line-height:1.5}.history-diff-header span span,.history-diff-header code{display:inline}.history-diff-header code{margin-right:5px;border-radius:4px;background:#f1f1ef;color:#787774;padding:1px 5px;font-size:11px}.history-diff-separator{margin:0 7px;color:#9b9a97}.history-diff-stats{display:flex;flex-wrap:wrap;gap:8px;padding:8px 12px;border-bottom:1px solid #e7e6e3;color:#787774;font-size:12px}.history-diff-stats span{border-radius:999px;background:#f7f6f3;padding:3px 8px}.history-diff-stats .is-added{background:#e8f5ed;color:#166534}.history-diff-stats .is-deleted{background:#fdecec;color:#991b1b}.history-diff-table{flex:1 1 auto;min-height:0;overflow:auto;font-size:12px}.history-diff-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border-bottom:1px solid #f1f1ef}.history-diff-row.is-head{position:sticky;top:0;z-index:1;background:#f7f6f3;color:#787774;font-weight:700}.history-diff-row.is-head div{padding:7px 10px}.history-diff-column-heading{display:grid;align-content:start;gap:2px;min-width:0;border-right:1px solid #e7e6e3}.history-diff-column-heading:last-child{border-right:0}.history-diff-column-heading strong,.history-diff-column-heading span,.history-diff-column-heading small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-diff-column-heading strong{color:#37352f;font-size:12px}.history-diff-column-heading span,.history-diff-column-heading small{color:#787774;font-size:11px;font-weight:500}.history-diff-column-heading code{margin-right:6px;border-radius:4px;background:#e9e8e5;color:#37352f;padding:1px 5px;font-size:11px}.history-diff-row.is-skip{background:#f7f6f3;color:#9b9a97;font-size:11px}.history-diff-skip-button{grid-column:1 / -1;border:0;background:transparent;color:#787774;padding:7px 10px;text-align:center;font-size:11px;font-weight:650}.history-diff-skip-button:hover{background:#eeeeec;color:#37352f}.history-diff-cell{display:grid;grid-template-columns:42px minmax(0,1fr);min-width:0;border-right:1px solid #f1f1ef}.history-diff-cell:last-child{border-right:0}.history-diff-line-number{-webkit-user-select:none;user-select:none;padding:4px 8px;border-right:1px solid rgb(55 53 47 / .08);color:#9b9a97;text-align:right}.history-diff-cell code{display:block;min-width:0;padding:4px 8px;color:#37352f;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;line-height:1.55;overflow-wrap:anywhere;white-space:pre-wrap}.history-diff-row.is-insert .history-diff-cell:nth-child(2),.history-diff-row.is-insert .history-diff-cell:nth-child(2) code{background:#eef9f1}.history-diff-row.is-delete .history-diff-cell:nth-child(1),.history-diff-row.is-delete .history-diff-cell:nth-child(1) code{background:#fff0f0}.history-diff-row.is-insert .history-diff-cell:nth-child(1),.history-diff-row.is-delete .history-diff-cell:nth-child(2){background:#fafafa}.history-diff-empty{padding:24px 12px;color:#787774;font-size:13px}.create-page-modal label,.create-page-modal label span{display:block}.create-page-modal label span{color:#787774;font-size:12px;font-weight:650;margin-bottom:6px}.create-page-modal input,.create-page-modal select{width:100%;border:1px solid #e7e6e3;border-radius:6px;outline:none;padding:9px 10px;color:#37352f;font-size:14px}.create-page-modal select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#fff;margin-bottom:12px}.create-page-modal input:focus,.create-page-modal select:focus{border-color:#c9c8c3;box-shadow:0 0 0 2px #37352f14}.create-page-modal p{color:#9b9a97;font-size:12px;line-height:1.5;margin:8px 0 0}.comment-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.comment-modal-actions button{min-height:32px;border:0;border-radius:5px;padding:0 12px;font-size:13px;font-weight:650}.editor-surface{max-width:780px;min-height:calc(100vh - 230px);margin:0 auto;outline:0;overflow-anchor:none;padding:12px 44px 120px;caret-color:#37352f}.editor-surface>*:first-child{margin-top:0}.editor-surface h1,.editor-surface h2,.editor-surface h3{color:#202124;line-height:1.12}.editor-surface h1{margin:1.15em 0 .35em;color:#37352f;font-size:1.875rem;font-weight:700}.editor-surface h2{margin:1.25em 0 .25em;color:#37352f;font-size:1.5rem;font-weight:650}.editor-surface h3{margin:1.2em 0 .2em;color:#37352f;font-size:1.25rem;font-weight:650}.editor-surface p,.editor-surface li{color:#37352f;font-size:1rem;line-height:1.62}.editor-surface p{margin:.35em 0}.editor-surface ul,.editor-surface ol{margin:.35em 0;padding-left:1.6em}.editor-surface blockquote{margin:.55em 0;border-left:3px solid #d6d6d2;color:#5f5e5b;padding:2px 14px}.editor-surface .callout-block{--callout-border: #d9d8d4;--callout-bg: #fbfbfa;--callout-title: #37352f;overflow:hidden;border:1px solid var(--callout-border);border-radius:6px;background:var(--callout-bg);margin:14px 0;padding:10px 12px 11px}.editor-surface .callout-header{display:flex;align-items:center;gap:8px;color:var(--callout-title);line-height:1.4;margin-bottom:6px}.editor-surface .callout-icon{display:inline-flex;width:20px;flex:0 0 auto;justify-content:center;font-size:16px;line-height:1}.editor-surface .callout-title{min-width:0;font-size:14px;font-weight:760}.editor-surface .callout-content{color:#37352f;padding-left:28px}.editor-surface .callout-content>*:first-child{margin-top:0}.editor-surface .callout-content>*:last-child{margin-bottom:0}.editor-surface .callout-blue{--callout-border: #c8dfee;--callout-bg: #f5fafc;--callout-title: #1f5f7a}.editor-surface .callout-green{--callout-border: #cde6d9;--callout-bg: #f5fbf7;--callout-title: #256b45}.editor-surface .callout-yellow{--callout-border: #ead7a3;--callout-bg: #fff9e8;--callout-title: #7a5515}.editor-surface .callout-red{--callout-border: #efc2c2;--callout-bg: #fff7f7;--callout-title: #9f1d1d}.editor-surface .callout-purple{--callout-border: #ddd0ee;--callout-bg: #faf7ff;--callout-title: #5f3b8d}.editor-surface .callout-gray{--callout-border: #d9d8d4;--callout-bg: #fbfbfa;--callout-title: #5f5e5b}.editor-surface .callout-ai{--callout-border: #cfd8e3;--callout-bg: #f6f8fb;--callout-title: #38536b}.editor-surface code{border-radius:4px;background:#f1f1ef;color:#eb5757;padding:2px 5px}.editor-surface a{color:#337ea9;text-decoration:underline;text-underline-offset:2px}.editor-surface .note-image{display:table;width:fit-content;max-width:100%;margin:22px auto 28px;text-align:center}.editor-surface .note-image img{display:block;max-width:min(100%,720px);max-height:560px;height:auto;border-radius:7px;cursor:zoom-in;object-fit:contain;box-shadow:0 0 0 1px #37352f14,0 10px 28px #0f0f0f12}.editor-surface .note-image figcaption{caption-side:bottom;color:#787774;font-size:12px;line-height:1.45;margin-top:8px;max-width:720px;text-align:center}.editor-surface .note-image-caption{min-height:18px;padding:2px 6px;border-radius:4px;outline:none;white-space:pre-wrap;word-break:break-word}.editor-surface .note-image-caption.is-editable{cursor:text}.editor-surface .note-image-caption.is-editable:hover,.editor-surface .note-image-caption.is-editable:focus{background:#f7f6f3;box-shadow:0 0 0 1px #e7e6e3 inset}.editor-surface .note-image-caption.is-empty.is-editable:before{color:#aaa8a3;content:attr(data-placeholder)}.editor-surface .note-image-caption.is-empty.is-readonly{display:none}.editor-surface .note-inline-image{display:inline-block;max-width:min(100%,420px);height:auto;vertical-align:middle;border-radius:4px;box-shadow:0 0 0 1px #37352f14}.image-preview-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:grid;place-items:center;overscroll-behavior:contain;background:#0f0f0fe0;padding:clamp(10px,3vw,34px);touch-action:manipulation}.image-preview-modal{display:grid;width:min(1180px,100%);max-width:1180px;max-height:100%;gap:12px;align-content:center;grid-template-rows:auto auto;justify-items:center;margin:0;pointer-events:none}.image-preview-modal img{display:block;max-width:100%;max-height:calc(var(--app-viewport-height, 100dvh) - 132px);border-radius:7px;background:#fff;object-fit:contain;pointer-events:auto;box-shadow:0 24px 72px #00000052}.image-preview-modal figcaption{max-width:min(820px,100%);color:#ffffffd1;font-size:13px;line-height:1.5;pointer-events:auto;text-align:center}.image-preview-close{position:fixed;top:calc(env(safe-area-inset-top,0px) + 58px);right:calc(env(safe-area-inset-right,0px) + 14px);z-index:1001;display:grid;width:38px;height:38px;place-items:center;border:0;border-radius:999px;background:#ffffff21;color:#fff}.image-preview-close:hover{background:#ffffff38}@media(max-width:900px){.image-preview-backdrop{padding:12px}.image-preview-modal{gap:10px}.image-preview-modal img{max-height:calc(var(--app-viewport-height, 100dvh) - 126px);border-radius:5px}.image-preview-modal figcaption{max-height:42px;overflow:auto}.image-preview-close{top:calc(env(safe-area-inset-top,0px) + 58px);right:calc(env(safe-area-inset-right,0px) + 10px)}}.editor-surface .code-block-shell{overflow:hidden;border:1px solid #e7e6e3;border-radius:6px;background:#f7f6f3;margin:12px 0}.editor-surface .code-block-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-height:32px;border-bottom:1px solid #eeeeec;padding:4px 6px}.editor-surface .code-block-toolbar span{color:#787774;font-size:12px;font-weight:650}.editor-surface .code-copy-button{display:inline-flex;align-items:center;gap:5px;border:0;border-radius:5px;background:transparent;color:#787774;min-height:26px;padding:0 7px}.editor-surface .code-copy-button:hover,.editor-surface .code-copy-button.is-copied{background:#eeeeec;color:#37352f}.editor-surface .code-copy-button.is-copied{background:#edf7f4;color:#0f766e}.editor-surface .code-copy-icon{font-size:13px;line-height:1}.editor-surface .code-copy-label{font-size:12px;font-weight:650}.editor-surface .code-block-pre{overflow:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;background:transparent;color:#37352f;font-size:13px;line-height:1.55;margin:0;padding:14px 16px;-moz-tab-size:2;tab-size:2}.editor-surface .code-block-pre code{display:block;background:transparent;color:inherit;padding:0;white-space:pre}.editor-surface .mermaid-block-shell{background:#fff}.editor-surface .mermaid-block-toolbar{justify-content:space-between}.editor-surface .mermaid-render-panel{position:relative;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;background:#fbfbfa;padding:16px}.editor-surface .mermaid-render-status,.editor-surface .mermaid-render-error{display:block;color:#787774;font-size:13px;line-height:1.5}.editor-surface .mermaid-render-status.is-updating{position:absolute;top:10px;right:12px;z-index:1;border:1px solid #e7e6e3;border-radius:999px;background:#ffffffeb;color:#5f5e5b;padding:4px 9px;font-size:12px;line-height:1.2;box-shadow:0 6px 18px #0f172a14}.editor-surface .mermaid-render-error{border:1px solid #fecdd3;border-radius:6px;background:#fff1f2;color:#9f1239;padding:10px 11px}.editor-surface .mermaid-render-error strong,.editor-surface .mermaid-render-error span{display:block}.editor-surface .mermaid-render-error span{margin-top:3px;color:#be123c;font-size:12px}.editor-surface .mermaid-rendered-svg{min-width:max-content;width:fit-content;margin:0 auto}.editor-surface .mermaid-rendered-svg svg{display:block;max-width:min(100%,940px);height:auto}.editor-surface .mermaid-source-details{border-top:1px solid #eeeeec}.editor-surface .mermaid-source-details summary{color:#787774;cursor:pointer;padding:8px 12px;font-size:12px;font-weight:650}.editor-surface .mermaid-source-details .code-block-pre{border-top:1px solid #eeeeec}.editor-surface .tableWrapper{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;margin:16px 0;padding-bottom:2px}.editor-surface table{width:max-content;min-width:min(100%,520px);border-collapse:collapse;color:#37352f;font-size:14px;line-height:1.45}.editor-surface th,.editor-surface td{min-width:120px;border:1px solid #e0dfdc;padding:7px 9px;vertical-align:top}.editor-surface th{background:#f7f6f3;color:#5f5e5b;font-weight:700}.editor-surface tr:nth-child(2n) td{background:#fbfbfa}.editor-surface th p,.editor-surface td p{margin:0}.editor-surface .vault-properties{margin:0 0 24px;border-bottom:1px solid #eeeeec;padding:2px 0 12px}.editor-surface .properties-summary{display:flex;width:fit-content;max-width:100%;align-items:center;gap:7px;border-radius:5px;color:#787774;cursor:pointer;font-size:13px;font-weight:600;list-style:none;padding:5px 7px;-webkit-user-select:none;user-select:none}.editor-surface .properties-summary::-webkit-details-marker{display:none}.editor-surface .properties-summary:before{content:"▸";color:#9b9a97;font-size:11px}.editor-surface .vault-properties[open] .properties-summary:before{content:"▾"}.editor-surface .properties-summary:hover{background:#f1f1ef;color:#37352f}.editor-surface .properties-count{color:#b6b5b2;font-size:12px}.editor-surface .properties-list{display:grid;gap:2px;padding-top:6px}.editor-surface .property-row{display:grid;grid-template-columns:minmax(96px,148px) minmax(0,1fr);align-items:start;gap:14px;min-height:28px;border-radius:5px;padding:3px 6px}.editor-surface .property-row:hover{background:#f7f7f5}.editor-surface .property-key{min-width:0;overflow:hidden;color:#9b9a97;font-size:13px;font-weight:500;line-height:22px;text-overflow:ellipsis;white-space:nowrap}.editor-surface .property-value{display:flex;min-width:0;flex-wrap:wrap;gap:5px;color:#37352f;font-size:13px;line-height:22px}.editor-surface .property-text{min-width:0;overflow-wrap:anywhere}.editor-surface .property-icon-value{font-size:18px;line-height:22px}.editor-surface .property-empty{color:#b6b5b2}.editor-surface .property-token{display:inline-flex;align-items:center;min-height:22px;border-radius:4px;background:#f1f1ef;color:#5f5e5b;padding:0 7px;white-space:nowrap}.editor-surface .property-token-status{background:#fbf3db;color:#7c5a12}.editor-surface .property-token-type{background:#edf3f8;color:#2f5f7c}.editor-surface .property-token-source{background:#edf7f4;color:#2f6f66}.editor-surface .wiki-link{border-radius:4px;background:#eef6fb;-webkit-box-decoration-break:clone;box-decoration-break:clone;color:#337ea9;cursor:pointer;padding:1px 3px;text-decoration:none}.editor-surface .wiki-link:hover{background:#dceef7}.editor-surface .git-conflict-block{overflow:hidden;border:1px solid #f0c4c4;border-radius:5px;background:snow;margin:18px 0}.editor-surface .git-conflict-block-header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;border-bottom:1px solid #f0d4d4;background:#fff0f0;color:#7f1d1d;padding:9px 12px}.editor-surface .git-conflict-block-header strong{font-size:14px}.editor-surface .git-conflict-block-header span{color:#8c4b4b;font-size:12px}.editor-surface .git-conflict-sides{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#f0d4d4}.editor-surface .git-conflict-side{min-width:0;background:#fff;padding:10px}.editor-surface .git-conflict-side-title{color:#7f1d1d;font-size:12px;font-weight:700;margin-bottom:7px}.editor-surface .git-conflict-side pre{max-height:320px;overflow:auto;border-radius:4px;background:#fbfbfa;color:#37352f;font-size:12px;line-height:1.55;margin:0;padding:10px;white-space:pre-wrap}.editor-surface .comment-reference{display:inline-flex;align-items:center;justify-content:center;width:20px;height:18px;border-radius:5px;background:#ffe7a6;color:#8a5a00;cursor:pointer;line-height:1;margin-left:2px;vertical-align:super;box-shadow:inset 0 0 0 1px #8a5a0029}.editor-surface .comment-reference:before{display:block;width:13px;height:13px;background:currentColor;content:"";flex:0 0 auto;mask:url(data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2024%2024%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M21%2015a4%204%200%200%201-4%204H8l-5%203V7a4%204%200%200%201%204-4h10a4%204%200%200%201%204%204z%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%20stroke-width%3D%272.8%27/%3E%3C/svg%3E) center / contain no-repeat;-webkit-mask:url(data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2024%2024%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M21%2015a4%204%200%200%201-4%204H8l-5%203V7a4%204%200%200%201%204-4h10a4%204%200%200%201%204%204z%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%20stroke-width%3D%272.8%27/%3E%3C/svg%3E) center / contain no-repeat}.editor-surface .comment-reference:hover{background:#ffd76a;color:#6f4700}.editor-surface .comment-reference.is-active{outline:2px solid #f2c94c;outline-offset:2px}.editor-surface .comment-definition{display:none}.workspace.has-comments .workspace-header{max-width:1134px}.workspace.has-comments .document-layout{display:grid;grid-template-columns:minmax(420px,780px) 286px;align-items:start;gap:24px;max-width:1134px;padding:0 44px}.workspace.has-comments .editor-surface{max-width:none;margin:0;padding-left:0;padding-right:0}.workspace.has-comments .document-outline-mobile{display:block;margin-bottom:14px}.comment-rail{position:relative;z-index:1;width:auto;min-width:0;min-height:calc(100vh - 230px);overflow:visible;border-left:1px solid #eeeeec;background:transparent;padding:4px 0 120px 14px}.comment-rail-header{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fffffff5;color:#787774;font-size:12px;font-weight:650;padding:7px 0 10px}.comment-rail-header>div,.comment-card-actions button,.comment-status-button{display:inline-flex;align-items:center;gap:6px}.comment-rail-header button{border:0;border-radius:5px;background:#f1f1ef;color:#5f5e5b;font-size:11px;font-weight:650;padding:5px 7px}.comment-rail-header button:hover{background:#e7e7e4;color:#37352f}.comment-list{position:relative;min-height:var(--comment-list-height, 100%)}.comment-empty{border:1px solid #eeeeec;border-radius:5px;background:#fbfbfa;color:#787774;font-size:12px;line-height:1.5;padding:10px}.comment-card{position:absolute;top:var(--comment-top, 0);left:0;right:0;min-width:0;max-width:100%;border:1px solid #eeeeec;border-radius:5px;background:#fff;padding:10px;transition:border-color .12s ease,box-shadow .12s ease,background .12s ease}.comment-card:hover,.comment-card.is-active{border-color:#e2c367;background:#fffdf5;box-shadow:0 6px 20px #0f0f0f0f}.comment-card.is-resolved{border-color:#e3e2df;background:#fbfbfa;color:#5f5e5b}.comment-card.is-resolved:hover,.comment-card.is-resolved.is-active{border-color:#d7c68c;background:#f7f6f3;box-shadow:0 6px 20px #0f0f0f0d}.comment-card.is-resolved .comment-card-header span,.comment-card.is-resolved .comment-card-header time,.comment-card.is-resolved .comment-card-meta{color:#787774}.comment-popover{position:fixed;z-index:60;width:min(340px,calc(100vw - 24px));max-height:min(420px,calc(100dvh - 96px));overflow:auto;border-radius:6px;background:#fff;color:#37352f;box-shadow:0 18px 48px #0f0f0f33}.comment-popover.is-resolved{background:#fbfbfa}.comment-popover .comment-card{position:relative;top:auto;left:auto;right:auto;border-color:#e2c367;background:#fffdf7;box-shadow:none}.comment-popover.is-preview .comment-card{pointer-events:none}.comment-popover.is-interactive .comment-card{background:#fff}.comment-popover .comment-card.is-resolved,.comment-popover.is-interactive .comment-card.is-resolved{border-color:#d8d6d0;background:#fbfbfa}.comment-popover .comment-card.is-resolved.is-active{background:#f7f6f3}.comment-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.comment-card-header div{min-width:0}.comment-card-header strong,.comment-card-header span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.comment-card-header strong{color:#37352f;font-size:12px;font-weight:700}.comment-card-header span,.comment-card-header time{color:#9b9a97;font-size:11px}.comment-card-meta{display:grid;flex:0 0 auto;justify-items:end;gap:1px}.comment-thread{display:grid;gap:8px;margin:10px 0;min-width:0}.comment-message{display:grid;gap:4px;min-width:0}.comment-message.is-reply{border-left:2px solid #eeeeec;padding-left:8px}.comment-message header{display:flex;align-items:center;justify-content:space-between;gap:8px}.comment-message header strong{min-width:0;overflow:hidden;color:#5f5e5b;font-size:11px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.comment-message header time{flex:0 0 auto;color:#9b9a97;font-size:10px}.comment-message p,.comment-body{min-width:0;max-width:100%;margin:0;color:#37352f;font-size:13px;line-height:1.55;overflow-wrap:anywhere;white-space:pre-wrap;word-break:normal}.comment-link{display:inline-block;max-width:min(100%,34ch);overflow:hidden;color:#1d4ed8;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px;text-overflow:ellipsis;vertical-align:bottom;white-space:nowrap}.comment-link:hover{color:#1e40af}.comment-warning{border-radius:4px;background:#fff1f2;color:#9f1239;font-size:11px;margin-bottom:8px;padding:5px 6px}.comment-reply-form{display:grid;gap:8px;margin:9px 0}.comment-reply-form textarea{box-sizing:border-box;max-width:100%;min-height:60px;overflow-x:hidden;resize:vertical;border:1px solid #e7e6e3;border-radius:5px;outline:none;padding:8px;color:#37352f;font-size:12px;line-height:1.5;overflow-wrap:anywhere;word-break:normal}.comment-reply-form textarea:focus{border-color:#d8d2c3;box-shadow:0 0 0 2px #37352f12}.comment-reply-form button,.comment-card-actions button,.comment-status-button{display:inline-flex;align-items:center;gap:6px;border:0;border-radius:5px;background:#f1f1ef;color:#5f5e5b;font-size:12px;padding:5px 7px}.comment-reply-actions{display:flex;justify-content:flex-end;gap:6px}.comment-reply-form button:not(.is-plain){background:#37352f;color:#fff;font-weight:650}.comment-reply-form button.is-plain{background:transparent;color:#787774}.comment-reply-form button:disabled{cursor:not-allowed;opacity:.45}.comment-card-actions{position:relative;display:flex;flex-wrap:wrap;gap:6px}.comment-reply-form button:not(:disabled):hover,.comment-card-actions button:hover,.comment-status-button:hover{background:#e7e7e4;color:#37352f}.comment-reply-form button:not(.is-plain):not(:disabled):hover{background:#2f2d28;color:#fff}.comment-reply-form button.is-plain:hover{background:#f1f1ef;color:#37352f}.comment-more-wrap{display:contents}.comment-more-menu{flex:1 1 100%;min-width:112px;border:1px solid #eeeeec;border-radius:5px;background:#fff;box-shadow:0 10px 24px #0f0f0f1f;margin-top:2px;padding:4px}.comment-more-menu button{justify-content:flex-start;width:100%;background:transparent}.comment-card-actions button.is-danger{color:#9f1239}.comment-card-actions button.is-danger:hover{background:#fff1f2;color:#be123c}.editor-surface ul[data-type=taskList]{list-style:none;padding-left:0}.editor-surface ul[data-type=taskList] li{display:flex;gap:9px}.editor-surface .is-editor-empty:first-child:before,.editor-surface .is-empty:before{float:left;height:0;color:#c0bfbc;content:attr(data-placeholder);pointer-events:none}.loading-note{display:flex;align-items:center;justify-content:center;gap:9px;min-height:60vh;color:#687176}.loading-note.full-page{min-height:100vh}.login-shell{display:grid;min-height:100vh;place-items:center;background:#fff;padding:24px}.login-panel{width:min(420px,100%);border:1px solid #eeeeec;border-radius:5px;background:#fff;padding:28px;box-shadow:0 10px 32px #0f0f0f0f}.login-brand{margin-bottom:18px}.login-panel h1{margin:6px 0 10px;color:#37352f;font-size:34px;line-height:1}.login-copy{margin:0 0 18px;color:#5f5e5b;line-height:1.6}.login-button{display:inline-flex;width:100%;align-items:center;justify-content:center;border:0;border-radius:5px;background:#37352f;color:#fff;font-weight:700;padding:11px 14px}.login-button:hover{background:#2f2e2a}.login-error{margin-bottom:14px;border:1px solid #fecdd3;border-radius:5px;background:#fff1f2;color:#9f1239;font-size:13px;padding:10px 12px}.vault-list-shell{min-height:100vh;background:#fff}.vault-list-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #eeeeec;padding:10px 14px}.vault-list-main{width:min(960px,100%);margin:0 auto;padding:72px 24px}.vault-list-main h1{margin:8px 0 24px;color:#37352f;font-size:40px;line-height:1.08}.vault-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px}.vault-card{display:flex;min-height:132px;flex-direction:column;align-items:flex-start;justify-content:space-between;border:1px solid #eeeeec;border-radius:5px;background:#fff;color:#37352f;padding:14px;text-align:left}.vault-card:hover{background:#fbfbfa;border-color:#d8d8d4}.vault-card strong{font-size:16px;line-height:1.35}.vault-card span,.vault-empty{color:#787774;font-size:13px}.vault-empty{border:1px solid #eeeeec;border-radius:5px;padding:18px}.setup-list{display:flex;flex-wrap:wrap;gap:8px}.setup-list code{border-radius:4px;background:#f1f1ef;color:#37352f;padding:5px 7px}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:901px){html,body,#root{height:var(--app-viewport-height, 100dvh);min-height:0;overflow:hidden;overscroll-behavior:none}body{overflow:hidden}.app-shell{height:var(--app-viewport-height, 100dvh);max-height:var(--app-viewport-height, 100dvh);min-height:0;overflow:hidden;overscroll-behavior:none}.sidebar{height:var(--app-viewport-height, 100dvh);max-height:var(--app-viewport-height, 100dvh);min-height:0;overflow:hidden;overscroll-behavior:contain}.main-column{height:var(--app-viewport-height, 100dvh);max-height:var(--app-viewport-height, 100dvh);min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.sidebar-scroll{scrollbar-gutter:stable}}@media(min-width:901px)and (max-width:1120px){.workspace.has-outline:not(.has-comments) .workspace-header{max-width:780px}.document-layout.has-outline:not(.has-comments){display:block;max-width:780px;padding:0}.document-layout.has-outline:not(.has-comments) .editor-surface{margin:0 auto;padding-left:44px;padding-right:44px}.document-outline{display:none}.document-outline-mobile{display:block;margin-right:44px;margin-left:44px}.workspace.has-comments .workspace-header{max-width:780px}.workspace.has-comments .document-layout{display:block;max-width:780px;padding:0}.workspace.has-comments .editor-surface{max-width:780px;margin:0 auto;padding-left:44px;padding-right:44px}.comment-rail{max-width:780px;min-height:0;border-top:1px solid #eeeeec;border-left:0;margin:0 auto 90px;padding:14px 44px 0}.workspace.has-comments .comment-rail-header{display:flex}.comment-list{display:flex;flex-direction:column;gap:8px;min-height:0}.comment-card{position:static}}@media(max-width:900px){.workspace.has-outline:not(.has-comments) .workspace-header{max-width:780px}.app-shell{grid-template-columns:1fr}.main-column{padding-top:50px}.sidebar{position:fixed;inset:0 auto 0 0;z-index:30;width:min(86vw,348px);height:var(--app-viewport-height, 100dvh);max-height:none;border-right:1px solid #eeeeec;border-bottom:0;box-shadow:18px 0 42px #0f0f0f29;transform:translate(-104%);transition:transform .18s ease;pointer-events:none;visibility:hidden}.app-shell.sidebar-open .sidebar{transform:translate(0);pointer-events:auto;visibility:visible}.sidebar-head{min-height:40px}.sidebar-close,.mobile-sidebar-toggle,.page-sidebar-toggle{display:inline-flex}.sidebar-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:25;display:block;border:0;background:#0f0f0f38;opacity:0;transition:opacity .18s ease;pointer-events:none}.app-shell.sidebar-open .sidebar-backdrop{opacity:1;pointer-events:auto}.topbar{position:fixed;top:0;left:0;right:0;z-index:20;align-items:center;flex-direction:row;gap:8px;justify-content:space-between;min-height:50px;padding:8px 10px;border-bottom-color:#eeeeec}.crumb-strip{flex:1 1 auto;font-size:13px}.topbar-right{flex:0 0 auto;gap:3px}.workspace-header{flex-direction:column;padding-top:8px}.document-layout.has-outline:not(.has-comments){display:block;max-width:780px;padding:0}.document-layout.has-outline:not(.has-comments) .editor-surface{margin:0 auto;padding-left:18px;padding-right:18px}.document-outline{display:none}.document-outline-mobile{display:block;margin-right:18px;margin-left:18px}.signed-in-user,.topbar-right,.git-strip{flex-wrap:nowrap}.git-summary-button{padding:6px}.git-summary-button span{max-width:104px}.user-menu-button{padding:4px 6px}.user-menu-button span{max-width:72px}.git-strip{gap:2px}.git-strip>span,.icon-text-button span,.signed-in-user div{display:none}.signed-in-user img,.user-menu-button img,.user-dot{width:24px;height:24px}.page-action-row{padding-top:5px}.unsaved-notice{align-items:center;flex-direction:row;margin-right:18px;margin-left:18px}.unsaved-notice.unsaved-notice-compact{position:fixed;top:calc(var(--topbar-height) + 8px);right:12px;left:12px;width:auto;max-width:none}.unsaved-notice>div{min-width:0;flex:1 1 auto}.external-update-notice{align-items:stretch;flex-direction:column;margin-right:18px;margin-left:18px}.external-update-actions{justify-content:stretch}.external-update-actions button,.unsaved-notice button{width:100%}.unsaved-notice>button{width:auto;min-width:128px;flex:0 0 auto}.unsaved-notice .discard-draft-link{width:auto}.unsaved-floating-save{right:12px;bottom:12px;left:12px;max-width:none}.unsaved-floating-save div{flex:1 1 auto}.conflict-notice{flex-direction:column;margin-right:18px;margin-left:18px}.conflict-actions{width:100%}.editor-surface .git-conflict-sides{grid-template-columns:1fr}.workspace.has-comments .document-layout{display:block;max-width:780px;padding:0}.workspace.has-comments .editor-surface{padding-left:18px;padding-right:18px}.comment-rail{max-width:780px;min-height:0;border-top:1px solid #eeeeec;border-left:0;margin:0 auto 90px;padding:14px 18px 0}.workspace.has-comments .comment-rail-header{display:flex}.comment-list{display:flex;flex-direction:column;gap:8px;min-height:0}.comment-card{position:static}.editor-surface,.workspace-header,.raw-editor-panel,.comment-rail{padding-left:18px;padding-right:18px}.workspace-header h1{font-size:34px}.history-modal{width:calc(100vw - 20px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)}.history-compare-bar,.history-diff-header{align-items:stretch;flex-direction:column}.history-modal-body.has-diff{grid-template-columns:1fr}.history-diff-table{max-height:52dvh}}@media print{@page{margin:14mm 12mm}html,body,#root{width:auto;height:auto;min-height:0;overflow:visible;background:#fff}body{color:#111;-webkit-print-color-adjust:exact;print-color-adjust:exact}.app-shell,.main-column,.workspace,.document-layout,.document-main{display:block;width:auto;max-width:none;height:auto;min-height:0;max-height:none;overflow:visible;background:#fff}.sidebar,.sidebar-backdrop,.topbar,.page-action-row,.document-outline,.document-outline-mobile,.comment-rail,.comment-popover,.bubble-toolbar,.unsaved-notice,.unsaved-floating-save,.external-update-notice,.history-modal-backdrop,.delete-modal-backdrop,.comment-composer-backdrop,.image-preview-modal{display:none}.workspace-header,.workspace.has-comments .workspace-header,.workspace.has-outline:not(.has-comments) .workspace-header{display:block;max-width:none;margin:0 0 8mm;padding:0;break-after:avoid}.page-icon-wrap{margin-bottom:5mm}.page-icon{width:auto;height:auto;min-width:0;padding:0;font-size:28pt}.page-heading-row{display:block}.workspace-header h1{color:#111;font-size:24pt;line-height:1.2;margin:2mm 0 0}.eyebrow,.page-subline{color:#666;font-size:8.5pt}.document-layout,.document-layout.has-outline:not(.has-comments),.workspace.has-comments .document-layout{display:block;max-width:none;padding:0;margin:0}.editor-surface,.workspace.has-comments .editor-surface,.document-layout.has-outline:not(.has-comments) .editor-surface,.workspace.is-unsaved .document-layout.has-outline:not(.has-comments) .editor-surface{max-width:none;margin:0;padding:0;box-shadow:none;background:#fff}.workspace.is-unsaved,.workspace.is-unsaved .editor-surface{background:#fff}.workspace.is-unsaved:before{display:none}.editor-surface .ProseMirror{color:#111}.editor-surface h1,.editor-surface h2,.editor-surface h3,.editor-surface table,.editor-surface figure,.editor-surface pre,.editor-surface blockquote,.editor-surface .callout{break-inside:avoid}.editor-surface a{color:#111;text-decoration:underline}.editor-surface .comment-reference{background:transparent;color:inherit;outline:0}}
