:root{color:#222;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:#fff;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px}*{box-sizing:border-box}body{min-width:280px;margin:0}button,input{font:inherit}.note-image-frame{border-radius:4px;max-width:100%;margin:1rem auto;position:relative;overflow:hidden}.note-image-frame img{object-fit:contain;width:100%;height:100%;display:block}.note-image-placeholder{color:#666;text-align:center;background:#f4f4f3;flex-direction:column;justify-content:center;align-items:center;gap:.5rem;padding:.5rem;font-size:.85rem;display:flex;position:absolute;inset:0;overflow:auto}.note-image-placeholder button{font-size:inherit}.note-editor{margin:1rem 0;position:relative}.note-toolbar-host{z-index:20;flex:0 0 0;justify-content:center;display:flex;position:relative}.note-tools{pointer-events:none;width:max-content;max-width:100%}.note-toolbar-host>.note-tools{max-width:calc(100% - 2*clamp(24px,5vw,88px) - 64px);position:absolute;top:12px;right:clamp(24px,5vw,88px)}@media (width<=800px){.note-toolbar-host>.note-tools{max-width:calc(100% - 104px);right:20px}}@media (width<=540px){.note-toolbar-host>.note-tools{max-width:calc(100% - 88px);right:12px}}.note-toolbar{pointer-events:auto;background:#fff;border-radius:5px;flex-wrap:wrap;gap:.25rem;display:flex}.note-toolbar button{white-space:nowrap;pointer-events:auto;flex-shrink:0}.note-toolbar>button,.note-colors .icon-button{background:#fff;border:0;border-radius:5px;justify-content:center;align-items:center;width:32px;height:32px;min-height:32px;padding:5px;display:inline-flex}.note-toolbar>button:disabled,.note-colors .icon-button:disabled{opacity:1;color:#aaa}.note-toolbar>button>svg,.note-colors .icon-button>svg{width:22px;height:22px}.note-toolbar button[aria-pressed=true]{background:#dce9fa}.note-colors .workspace-popup{pointer-events:auto;max-height:min(65vh,410px);overflow-y:auto}.note-tools>.error{pointer-events:auto;background:#fff}.note-colors .workspace-popup button{align-items:center;gap:12px;min-height:38px;display:flex}.color-swatch{border-radius:3px;flex-shrink:0;width:16px;height:16px;display:inline-block}.note-editor-content{white-space:pre-wrap;overflow-wrap:anywhere;border:0;outline:none;min-height:1.5em;padding:0;line-height:1.5}.note-editor .note-editor-content:focus{outline:none}.note-editor-content p{margin:0}.note-readonly .note-editor-content{border:0;min-height:0;padding:0}.note-editor-content h1,.note-editor-content h2{color:#0069f5;margin:0;line-height:1.5}.note-editor-content :is(h1,h2) [data-note-color]{color:var(--note-heading-color)!important}.note-editor-content h1{font-size:calc(1rem + 7px)}.note-editor-content h2{font-size:calc(1rem + 3px)}.note-editor-content ul,.note-editor-content ol{margin:0;padding-left:36px}.note-editor-content [style*="margin-left: 1px"]{margin-left:36px!important}.note-editor-content [style*="margin-left: 2px"]{margin-left:72px!important}.note-editor-content [style*="margin-bottom: 1px"]{margin-bottom:9px!important}.note-editor-content ul>li[style*="margin-left: 1px"]{list-style-type:circle}.note-editor-content ul>li[style*="margin-left: 2px"]{list-style-type:"⁃ "}.note-editor-content ol>li[style*="margin-left: 1px"]{list-style-type:lower-alpha}.note-editor-content ol>li[style*="margin-left: 2px"]{list-style-type:lower-roman}.note-placeholder{overflow-wrap:anywhere;background:#f4f4f3;border-radius:6px;flex-direction:column;gap:.25rem;margin:1rem 0;padding:.75rem 1rem;display:flex}.note-local-status{flex-wrap:wrap;align-items:center;gap:.75rem;margin:.5rem 0;display:flex}.page-content{position:relative}.row-action[draggable=true]{cursor:grab}.row-action[draggable=true]:active{cursor:grabbing}.section-insertion-line{pointer-events:none;z-index:5;background:#4d8ac4;border-radius:2px;height:3px;position:absolute;left:0;right:0}.section-drag-preview{color:#444;background:#f4f4f4;border:1px solid #ccc;border-radius:6px;padding:10px 18px;position:fixed;top:-1000px;left:-1000px}.sections-dragging .note-row-content{pointer-events:none}.upgrade-notice{z-index:100;background:#fff8e8;border:1px solid #d8bd83;border-radius:8px;max-width:min(600px,90vw);padding:12px 18px;position:fixed;top:12px;left:50%;transform:translate(-50%);box-shadow:0 3px 12px #0002}.app{max-width:24rem;margin:3rem auto;padding:0 1.25rem}h1{margin:0 0 2rem;font-size:1.5rem}h2{margin:0 0 1.25rem;font-size:1.2rem}p{line-height:1.5}form{flex-direction:column;display:flex}label{margin-bottom:.4rem}input{width:100%;margin-bottom:1.25rem}input,button{border:1px solid #8b8b8b;border-radius:4px;padding:.65rem .75rem}input{color:#222;background:#fff}button{color:#222;cursor:pointer;background:#f2f2f2;min-height:44px}button:hover:enabled{background:#e5e5e5}button:disabled,input:disabled{opacity:.65;cursor:default}:focus-visible{outline-offset:3px;outline:2px solid #1558bb}.error{color:#a11818;margin:0 0 1rem}.server-check{border-top:1px solid #ddd;margin-top:2rem;padding-top:1.5rem}.server-check dd{overflow-wrap:anywhere;margin:.25rem 0 1rem}.add-page-dialog{width:min(28rem,100vw - 3rem);max-height:85vh;color:inherit;border:1px solid #bbb;border-radius:.5rem;padding:1.25rem;overflow:auto}.add-page-dialog::backdrop{background:#00000040}.add-page-dialog h2{margin-top:0;font-size:1.2rem}.new-page-checkbox{align-items:center;gap:.5rem;margin:.75rem 0;display:flex}.new-page-checkbox input{width:auto;margin:0}.muted{color:#595959;font-size:.9rem}.page-list{margin:.25rem 0;padding:0;list-style:none}.page-list .page-list{padding-left:1.25rem}.page-row{align-items:start;gap:.25rem;display:flex}.expand-page,.expand-space{flex:0 0 2rem;width:2rem}.expand-page{background:0 0;border:0;padding:.65rem 0}.page-title{text-align:left;overflow-wrap:anywhere;background:0 0;border:0;min-width:0}.page-title[aria-current]{background:#e8edf4;font-weight:600}.page-row>span[aria-label]{padding-top:.65rem}.trash-section{margin-top:1.5rem}summary{cursor:pointer;padding:.5rem 0}.selected-title{margin:.75rem 0 1rem;padding:.4rem .25rem;font-size:2rem;font-weight:700;line-height:1.25}.child-pages{margin:1rem 0;position:relative}.child-pages ul{margin:0;padding:0;list-style:none}.child-page{text-align:left;overflow-wrap:anywhere;background:0 0;border:0;border-radius:0;justify-content:space-between;gap:1rem;width:100%;display:flex}.page-content>.note-row+.child-pages{border-top:1px solid #e5e5e5;padding-top:.75rem}.page-content>.child-pages:has(+.note-row){border-bottom:1px solid #e5e5e5;padding-bottom:.75rem}.pinned-pages{margin-top:1rem}.pinned-pages ul{margin:0;padding:0;list-style:none}.page-content>.pinned-pages:has(+.child-pages){border-bottom:1px solid #e5e5e5;padding-bottom:.75rem}.child-page>span:first-child{min-width:0}.child-row{align-items:center;gap:.5rem;display:flex}.child-row .child-page{flex:1;min-width:0}.child-group{margin-top:.75rem;font-weight:600}.child-group .child-page{font-weight:inherit}.child-indent{padding-left:1.5rem}.child-dim .child-page{color:#666}.completed-items{margin-top:1rem}.completed-items h4{color:#595959;margin:.5rem 0;font-size:.95rem}input.page-checkbox{accent-color:#208044;cursor:pointer;flex:0 0 1.1rem;width:1.1rem;height:1.1rem;margin:.6rem .325rem;padding:0}input.page-checkbox:disabled,input.page-selection-checkbox:disabled{cursor:default}.selected-title-row{align-items:baseline;gap:.5rem;display:flex}.selected-title-row .title-editor{flex:1;min-width:0}.api-log{border-top:1px solid #ddd;margin-top:2rem;padding-top:.5rem}.api-log-toolbar{justify-content:space-between;align-items:center;gap:1rem;display:flex}.api-log-scroll{max-height:24rem;overflow:auto}.api-log table{border-collapse:collapse;text-align:left;width:100%;font-size:.85rem}.api-log th,.api-log td{vertical-align:top;border-bottom:1px solid #ddd;padding:.65rem}.api-log th{background:#fff;position:sticky;top:0}.api-log td:first-child,.api-log td:nth-child(4){white-space:nowrap}.visually-hidden{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.title-editor{margin:.75rem 0 1rem}.title-input{background:0 0;border-color:#0000;margin-bottom:0;padding:.4rem .25rem;font-size:2rem;font-weight:700;line-height:1.25}.title-input:not([readonly]):focus{border-color:#8b8b8b}.title-input[readonly]{cursor:default;outline:none}.title-editor p{margin:.4rem 0 0;font-size:.85rem}.save-errors{border:1px solid #a11818;margin:1rem 0;padding:.75rem}.save-error-actions{flex-wrap:wrap;gap:.5rem;display:flex}.save-status{color:#595959;align-items:center;gap:.4rem;font-size:.85rem;display:inline-flex}.save-status:empty{display:none}.save-status-error,.save-status-error a{color:#a11818}.save-spinner{border:2px solid #ddd;border-top-color:#595959;border-radius:50%;flex-shrink:0;width:.8rem;height:.8rem;animation:.8s linear infinite save-spin}@keyframes save-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.save-spinner{animation:none}}.selection-toolbar{z-index:20;bottom:max(1.25rem, env(safe-area-inset-bottom));width:max-content;max-width:calc(100% - 2rem);position:fixed;left:50%;transform:translate(-50%)}.selection-toolbar-actions{justify-content:center;align-items:center;gap:1rem;display:flex}.selection-toolbar-pill,.selection-primary{background:#fafafa;border:1px solid #d8d8d8;box-shadow:0 3px 15px #0000001f}.selection-toolbar-pill{border-radius:2rem;gap:.3rem;padding:.25rem;display:flex}.selection-icon-button{color:#454545;cursor:pointer;background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;width:46px;height:46px;padding:0;display:inline-flex}.selection-icon-button:hover:not(:disabled){background:#e9e9e9}.selection-icon-button:focus-visible{outline-offset:2px;outline:2px solid #557aac}.selection-icon-button:disabled{cursor:default;color:#999}.selection-icon-button.selection-primary{background:#fafafa;border:1px solid #d8d8d8;width:54px;height:54px}[data-selection-mode=trash] .selection-primary:not(:disabled){color:var(--selection-color)}.selection-notice{background:#fff;border:1px solid #ddd;border-radius:.75rem;max-width:min(32rem,75vw);margin:.5rem 0 0;padding:.6rem .9rem;font-size:.9rem;box-shadow:0 3px 15px #0000001f}.action-menu-anchor{position:relative}.action-menu{overscroll-behavior:contain;background:#fafafa;border:1px solid #d8d8d8;border-radius:1rem;outline:none;width:270px;max-width:calc(100vw - 2rem);max-height:min(65dvh,580px);padding:.4rem;position:absolute;bottom:calc(100% + .8rem);left:50%;overflow-y:auto;transform:translate(-50%);box-shadow:0 7px 28px #0000002b}.action-menu-group{padding:.3rem 0}.action-menu-group+.action-menu-group{border-top:1px solid #ddd}.action-menu-item{text-align:left;color:#333;width:100%;min-height:43px;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:.5rem;align-items:center;gap:.85rem;padding:.55rem .75rem;display:flex}.action-menu-item:hover:not(:disabled),.action-menu-item:focus-visible{background:#e7e7e7;outline:none}.action-menu-item:disabled{color:#929292;cursor:default}.action-menu-icon{flex:0 0 24px;justify-content:center;align-items:center;display:flex}.action-menu-chevron{margin-left:auto}.page-selection-slot{flex:0 0 44px;width:44px;height:44px}.page-selection-target{justify-content:center;align-items:center;width:44px;height:44px;margin:0;padding:0;display:flex}input.page-selection-checkbox{appearance:none;border:2px solid var(--selection-color,#208044);cursor:pointer;border-radius:50%;place-content:center;width:22px;height:22px;margin:0;padding:0;display:grid}input.page-selection-checkbox:checked{border-color:var(--selection-color,#208044);background:var(--selection-color,#208044)}input.page-selection-checkbox:checked:after{content:"";border-bottom:2px solid #fff;border-left:2px solid #fff;width:9px;height:5px;transform:translateY(-1px)rotate(-45deg)}@media (forced-colors:active){input.page-selection-checkbox:checked{background:highlight;border-color:highlight}input.page-selection-checkbox:checked:after{border-color:highlighttext}}@media (hover:hover) and (pointer:fine){.row-action{opacity:0}.child-row:hover>.row-action-slot .row-action,.note-row:hover>.row-action-slot .row-action,.row-action:focus-visible,.row-action[aria-expanded=true]{opacity:1}}.row-action-slot{flex:0 0 36px;width:36px;height:44px;position:relative}.row-action{color:#666;background:0 0;border-color:#0000;justify-content:center;align-items:center;width:36px;height:36px;margin-top:4px;padding:0;display:flex}.row-action:hover,.row-action[aria-expanded=true]{background:#eee}.row-menu{z-index:15;background:#fff;border:1px solid #ccc;border-radius:.4rem;min-width:10rem;padding:.3rem;position:absolute;top:40px;left:0;box-shadow:0 3px 12px #00000026}.row-menu button{text-align:left;background:0 0;border:0;width:100%;display:block}.row-menu:focus{outline:none}.row-menu button:hover,.row-menu button:focus-visible{background:#eee}.note-row{align-items:flex-start;gap:.5rem;display:flex}.note-row-content{flex:1;min-width:0}.note-row>.row-action-slot,.note-row>.page-selection-slot{margin-top:1rem}.note-row-selecting{cursor:pointer}.note-row-selecting .note-row-content{pointer-events:none}[data-selection-mode=select]{--selection-color:#208044}[data-selection-mode=trash]{--selection-color:#c33232}.app:has(.account-session){width:100%;max-width:none;height:100dvh;margin:0;padding:0}.account-session,.workspace-host{height:100%;min-height:0}.workspace-host[hidden]{display:none}.page-browser{--sidebar-width:250px;grid-template-columns:var(--sidebar-width) minmax(0, 1fr);height:100%;min-height:0;display:grid}.workspace-sidebar{background:#f3f3f2;border-right:1px solid #e8e8e6;flex-direction:column;min-height:0;padding:26px 14px 14px;display:flex}.workspace-brand{letter-spacing:-.04em;color:#777;margin:0 12px 18px;font-size:1.35rem;font-weight:700}.sidebar-heading{color:#222;margin:0 12px 18px;font-size:.9rem;font-weight:600}.workspace-sidebar>nav{scrollbar-gutter:stable;flex:1;min-height:0;overflow:auto}.workspace-sidebar .page-row{align-items:center;gap:0}.workspace-sidebar .page-title{flex:1;min-height:36px;padding:.45rem .5rem;font-size:.93rem}.workspace-sidebar .page-title[aria-current]{background:#e4e4e1}.workspace-sidebar .expand-page{color:#777;min-height:36px;padding:.35rem 0}.workspace-sidebar .expand-page,.workspace-sidebar .expand-space{flex-basis:22px;width:22px}.workspace-sidebar .page-list .page-list{padding-left:14px}.workspace-sidebar .trash-section{color:#666;margin:20px 12px 0;font-size:.9rem}.sidebar-account{justify-content:flex-end;gap:4px;padding-top:16px;display:flex}.workspace-main{flex-direction:column;min-width:0;min-height:0;display:flex}.workspace-header{z-index:25;background:#fff;border-bottom:1px solid #eee;flex:none;justify-content:space-between;align-items:center;gap:16px;min-height:64px;padding:10px 22px;display:flex;position:relative}.workspace-actions{flex-shrink:0;align-items:center;gap:6px;display:flex}.workspace-actions .save-status{white-space:nowrap;margin-right:12px}.page-breadcrumb{min-width:0;overflow-x:auto}.page-breadcrumb ol{align-items:center;margin:0;padding:0;list-style:none;display:flex}.page-breadcrumb li{flex:none;align-items:center;min-width:0;display:flex}.page-breadcrumb button{text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;max-width:240px;min-height:34px;padding:6px 8px;font-size:.9rem;overflow:hidden}.breadcrumb-separator{color:#aaa;margin:0 3px}.workspace-scroll{scrollbar-gutter:stable;flex-direction:column;flex:1;min-height:0;padding:16px clamp(24px,5vw,88px) 24px;display:flex;overflow:auto}@supports not (scrollbar-gutter:stable){.workspace-scroll{overflow-y:scroll}}.page-selection{overflow-wrap:anywhere;flex:1;min-width:0;padding-bottom:1rem}.page-back-row{min-height:24px}.page-back-button{color:#777;background:0 0;border:0;border-radius:4px;align-items:center;gap:.3rem;min-height:24px;padding:.15rem .4rem;font-size:.8rem;display:inline-flex}.page-selection .selected-title-row .title-editor{margin-top:.25rem}.page-back-button:hover:not(:disabled){background:#eee}.workspace-scroll>.api-log{flex-shrink:0;margin-top:16px}.icon-button{color:#666;background:0 0;border:0;border-radius:5px;justify-content:center;align-items:center;width:36px;height:36px;min-height:36px;padding:0;display:inline-flex}.icon-button[aria-expanded=true]{background:#e7e7e5}.popup-anchor{position:relative}.workspace-popup{z-index:30;background:#fff;border:1px solid #ddd;border-radius:8px;width:max-content;min-width:190px;max-width:min(320px,100vw - 28px);padding:6px;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 6px 24px #0000001f}.workspace-popup:focus{outline:none}.popup-above .workspace-popup{top:auto;bottom:calc(100% + 8px)}.sidebar-account .workspace-popup{position:fixed;inset:auto auto 60px 14px}.workspace-popup button{text-align:left;background:0 0;border:0;width:100%;font-size:.9rem;display:block}.workspace-popup p{margin:8px}.account-menu-email{overflow-wrap:anywhere;font-size:.9rem}.page-browser .selection-toolbar{left:calc(50% + var(--sidebar-width) / 2);max-width:calc(100% - var(--sidebar-width) - 2rem)}.account-session>section,.account-session>.error{max-width:32rem;margin:0 auto;padding:24px}@media (width<=800px){.page-browser{--sidebar-width:190px}.workspace-header{gap:8px;padding:10px 12px}.workspace-actions{gap:2px}.workspace-actions .save-status{margin-right:4px;font-size:.75rem}.workspace-scroll{padding:16px 20px}}@media (width<=540px){.page-browser{--sidebar-width:140px}.workspace-sidebar{padding:20px 6px 12px}.workspace-brand{margin-left:8px;font-size:1.15rem}.sidebar-heading{margin-left:8px}.workspace-header{flex-wrap:wrap}.page-breadcrumb{width:100%}.workspace-actions{margin-left:auto}.workspace-scroll{padding:16px 12px}}
