.cm-editor .cm-ySelectionInfo{color:#1f2328;white-space:nowrap;background-image:linear-gradient(#fff9,#fff9);border-radius:4px 4px 4px 0;padding:1px 6px;font-family:inherit;font-size:10px;font-weight:600;line-height:1.3}.cm-editor .cm-ySelectionCaret{border-radius:1px}.share-popover{z-index:20;border:1px solid var(--line);background:var(--bg);width:min(360px,100vw - 20px);max-height:calc(100dvh - 76px);color:var(--text);border-radius:8px;padding:12px;font-size:12px;line-height:1.6;position:fixed;overflow:auto;box-shadow:0 8px 28px #0002}.share-popover-buttons{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-top:10px;display:flex}.share-popover p{color:var(--muted);margin:8px 0}.share-popover .share-status{color:var(--text);margin-top:0;font-weight:600}.share-popover label{margin:0 0 6px;display:block}.share-popover input{border:1px solid var(--line);background:var(--header);width:100%;min-width:0;color:var(--text);font:inherit;border-radius:4px;padding:9px}.share-popover input:focus-visible,.share-popover button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.share-popover .share-preview{overflow-wrap:anywhere}.share-popover .share-error{color:var(--text);border-left:3px solid var(--blue);padding-left:10px}.share-popover button{padding:6px 12px}.share-popover .share-actions{justify-content:center;gap:8px}.share-popover .share-actions button{border-radius:6px;gap:8px;padding:8px 10px;transition:background-color .12s}.share-popover .share-actions button:hover{background:var(--hover)}.share-popover .share-actions button svg{flex:none;width:16px;height:16px}.share-popover .share-status{color:var(--muted);margin:10px 0 0;font-weight:400}.share-popover .share-claim{margin-top:16px}@media (prefers-reduced-motion:reduce){.share-popover .share-actions button{transition:none}}.share-popover .share-qr{border:1px solid var(--line);background:#fff;border-radius:6px;width:168px;max-width:100%;margin:0 auto 10px;line-height:0;overflow:hidden}.share-popover .share-qr svg{width:100%;height:auto;display:block}.share-popover .share-secondary{border-color:var(--line)}.share-popover .share-primary{background:var(--blue-bg);color:var(--blue);border-color:var(--blue-line)}@media (max-width:480px){.share-popover{max-height:calc(100dvh - 120px)}.share-popover button,.share-popover input{min-width:44px;min-height:44px}.share-popover .share-actions button{padding-inline:8px}}.header-left,.header-right{align-items:center;gap:var(--group-gap);min-width:0;display:flex}.header-left{flex-wrap:nowrap;flex:1 1 0}.header-right{justify-content:flex-end;gap:var(--control-gap);flex-wrap:nowrap;flex:none;margin-left:auto}#presence-count{white-space:nowrap;color:var(--synced);align-items:center;gap:5px;margin-right:4px;font-size:11px;display:inline-flex}#presence-count svg{flex:none;width:16px;height:16px}#header .header-icon{border:1px solid var(--line);border-radius:var(--control-radius);width:36px;min-width:36px;height:36px;min-height:36px;color:var(--muted);padding:0;position:relative}#header .permission-indicator{justify-content:center;align-items:center;display:inline-flex}#header button.header-icon:hover{color:var(--text)}#header .header-icon-dot{background:var(--synced);width:7px;height:7px;box-shadow:0 0 0 2px var(--header);border-radius:50%;position:absolute;top:3px;right:3px}#ns-btn[data-set=true]{color:var(--text)}#e2ee-btn[data-encrypted=true]{color:var(--synced);border-color:var(--synced)}.header-popover .path-value{color:var(--text);overflow-wrap:anywhere;margin:0 0 8px;font-weight:600}.header-popover .path-value.local{color:var(--muted);font-weight:400}.header-popover form+form{border-top:1px solid var(--line);margin-top:12px;padding-top:10px}.header-popover .e2ee-on{color:var(--text);align-items:flex-start;gap:8px;display:flex}.header-popover .e2ee-on svg{color:var(--synced)}.header-popover .share-actions{flex-wrap:wrap}.share-button{padding:7px 10px}@media (pointer:coarse){#header .header-icon{width:44px;min-width:44px;height:44px;min-height:44px}}@media (max-width:639px){#header{gap:6px}.header-left{gap:4px}.header-right{gap:2px}#presence-count{margin-right:2px}#header button{min-height:44px}#header .header-icon,#header .share-button,#header #new-note{width:32px;min-width:32px;padding:0}#header .tab{width:32px;min-width:32px}#header .tab-close-slot,#header .tab-close{width:20px;min-width:20px}.presence-label,.share-label{display:none}}#editor:has(.unlock-pad){padding:var(--workspace-inset);place-items:center;display:grid;overflow:auto}.unlock-pad{border:1px solid var(--line);background:var(--header);width:min(380px,100%);color:var(--text);text-align:center;border-radius:8px;padding:20px;font-size:12px;line-height:1.6}.unlock-pad>svg{width:28px;height:28px;color:var(--muted)}.unlock-pad h1{margin:8px 0;font-size:15px}.unlock-pad p{color:var(--muted);margin:8px 0}.unlock-pad form{text-align:left;flex-direction:column;gap:8px;display:flex}.unlock-pad input{border:1px solid var(--line);background:var(--bg);width:100%;min-width:0;color:var(--text);font:inherit;border-radius:4px;padding:9px}.unlock-pad input:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.unlock-pad input[data-invalid=true]{border-color:#cf222e;animation:.32s unlock-shake}.unlock-pad .unlock-error{color:#cf222e;margin:0;font-weight:600}.unlock-pad .unlock-submit{color:var(--blue);background:var(--blue-bg);border-color:var(--blue-line);padding:7px 12px}@keyframes unlock-shake{20%,60%{transform:translate(-6px)}40%,80%{transform:translate(6px)}}@media (prefers-color-scheme:dark){.unlock-pad input[data-invalid=true],.unlock-pad .unlock-error{border-color:#ff7b72}.unlock-pad .unlock-error{color:#ff7b72}}@media (max-width:480px),(pointer:coarse){.unlock-pad input,.unlock-pad .unlock-submit{min-height:44px}}#editor{position:relative}#editor[data-preview] .editor-host{visibility:hidden}.markdown-preview{background:var(--bg);color:var(--text);overflow-wrap:anywhere;outline:none;padding:12px 16px;font-size:14px;line-height:1.6;position:absolute;inset:0;overflow:auto}.markdown-preview h1,.markdown-preview h2,.markdown-preview h3,.markdown-preview h4,.markdown-preview h5,.markdown-preview h6{margin:1.2em 0 .4em;line-height:1.3}.markdown-preview h1{font-size:1.6em}.markdown-preview h2{font-size:1.35em}.markdown-preview h3{font-size:1.15em}.markdown-preview p,.markdown-preview ul,.markdown-preview ol,.markdown-preview pre,.markdown-preview blockquote{margin:0 0 .8em}.markdown-preview ul,.markdown-preview ol{padding-left:1.5em}.markdown-preview code{background:var(--hover);border-radius:3px;padding:0 4px}.markdown-preview pre{background:var(--hover);border-radius:var(--control-radius);padding:8px 12px;overflow:auto}.markdown-preview pre code{background:0 0;padding:0}.markdown-preview blockquote{border-left:2px solid var(--line);color:var(--muted);padding-left:12px}.markdown-preview hr{border:0;border-top:1px solid var(--line);margin:1em 0}.markdown-preview a{color:var(--blue);text-underline-offset:.2em}#footer .footer-left{align-items:center;gap:4px var(--control-gap);flex-wrap:wrap;min-width:0;display:flex}#footer .footer-divider{background:var(--line);width:1px;height:16px;margin:0 4px}#footer .footer-btn{border-radius:var(--control-radius);min-width:28px;min-height:28px;color:var(--muted);font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:1px solid #0000;justify-content:center;align-items:center;gap:4px;padding:0 8px;font-size:11px;display:inline-flex}#footer .footer-btn svg{flex:none;width:14px;height:14px}#footer .footer-btn:hover:not(:disabled){background:var(--hover);color:var(--text)}#footer .footer-btn:focus-visible{outline:2px solid var(--blue);outline-offset:1px}#footer .footer-btn[aria-pressed=true]{background:var(--active);color:var(--text)}#footer .footer-btn:disabled{opacity:.45;cursor:default}#footer .smart-pill{animation:.16s ease-out pill-in}@keyframes pill-in{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){#footer .smart-pill{animation:none}}#footer #word-count{white-space:normal}@media (pointer:coarse){#footer .footer-btn{min-width:44px;min-height:44px}}@font-face{font-family:JetBrains Mono;src:url(/fonts/JetBrainsMono-Regular.woff2)format("woff2");font-weight:400;font-style:normal;font-display:swap}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--bg:#fff;--text:#1f2328;--muted:#59636e;--line:#d1d9e0;--hover:#eef1f4;--header:#fafafa;--active:#e9edf1;--blue-bg:#e3f2fd;--blue:#1976d2;--blue-line:#90caf9;--synced:#1a7f37;--offline:#cf222e;--hl:#ffd40024;--hl-hover:#ffd40042;--workspace-inset:10px;--control-size:36px;--control-radius:5px;--control-gap:4px;--group-gap:8px;background:var(--bg);color:var(--text);font-synthesis:none;font-family:JetBrains Mono,SF Mono,Consolas,monospace}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0;overflow:hidden}#root{flex-direction:column;display:flex}button{font:inherit;color:var(--muted);border-radius:var(--control-radius);min-height:var(--control-size);cursor:pointer;background:0 0;border:1px solid #0000;flex:none;justify-content:center;align-items:center;gap:6px;font-size:12px;transition:background .12s,border-color .12s;display:inline-flex}button:hover{background:var(--hover)}button:focus-visible,[tabindex]:focus-visible{outline-offset:2px;outline:2px solid #218bff}button:disabled{opacity:.45;cursor:default}#new-note:disabled{cursor:not-allowed}svg{stroke-width:1.75px;flex:none;width:18px;height:18px}#header{justify-content:space-between;align-items:center;gap:var(--group-gap);height:64px;min-height:64px;padding:8px var(--workspace-inset);border-bottom:1px solid var(--line);background:var(--header);flex-flow:row;flex:none;display:flex}.notes-actions{align-items:center;gap:var(--control-gap);flex:1 1 0;min-width:0;max-width:100%;display:flex}#tabs{min-width:0;max-width:calc(10 * (var(--control-size) + 28px + 3px));overscroll-behavior-x:contain;scrollbar-width:none;flex:0 auto;gap:3px;display:flex;overflow:auto hidden}#tabs::-webkit-scrollbar{display:none}.tab-item{flex:none;align-items:center;display:flex}.tab{min-width:var(--control-size);position:relative}.tab-dot{background:var(--muted);opacity:.8;pointer-events:none;border-radius:50%;width:4px;height:4px;margin-left:-2px;position:absolute;bottom:5px;left:50%}.tab.active{border-color:var(--line);background:var(--active);color:var(--text)}.tab-close-slot,.tab-close{width:28px;min-width:28px}.tab-close-slot{flex:none;display:inline-flex}.tab-close{border-radius:50%;padding:3px}.tab-close svg{width:14px;height:14px}.icon-button{width:var(--control-size);border-radius:50%;padding:8px}#wrap-btn[aria-pressed=true]{background:var(--active);color:var(--text)}.share-button{white-space:nowrap;color:var(--blue);background:var(--blue-bg);border-color:var(--blue-line);padding:7px 10px}.share-button:hover{filter:brightness(.97)}#connection{width:28px;height:28px;color:var(--muted);flex:none;justify-content:center;align-items:center;display:inline-flex}#connection svg{width:16px;height:16px}#connection[data-state=connected],#connection[data-state=https],#connection[data-state=connecting],#connection[data-state=pending]{color:var(--blue)}#connection[data-state=offline],#connection[data-state=reconnecting],#connection[data-state=unavailable]{color:var(--offline)}#editor{flex:1;min-width:0;min-height:0;overflow:hidden}.editor-host,.cm-editor{height:100%}.cm-editor{background:var(--bg);color:var(--text);font-size:14px}.cm-editor,.cm-editor.cm-focused,.cm-editor .cm-scroller,.cm-editor .cm-content,.cm-editor .cm-content:focus-visible{box-shadow:none;border:none;outline:none}.cm-scroller{font-family:inherit;line-height:1.5;overflow:auto}.cm-content{caret-color:var(--text);white-space:pre;padding:10px 0;font-family:inherit}.cm-content.cm-lineWrapping{white-space:pre-wrap}.cm-line{padding:0 12px}.cm-editor .cm-gutters{background:var(--bg);color:var(--muted);border:0;font-size:12px}.cm-editor .cm-lineNumbers .cm-gutterElement{padding-left:var(--workspace-inset);cursor:pointer;min-width:30px;padding-right:4px}.cm-editor .cm-lineNumbers .cm-gutterElement:hover{background:var(--hover)}.cm-editor .cm-line.cm-hl-line,.cm-editor .cm-gutterElement.cm-hl-gutter{background:var(--hl)}.cm-editor .cm-lineNumbers .cm-gutterElement.cm-hl-gutter:hover{background:var(--hl-hover)}.cm-editor .cm-lineNumbers:focus-visible{outline-offset:-2px}.cm-editor .cm-lineNumbers .cm-gutterElement.cm-hl-cursor{box-shadow:inset 2px 0 #218bff}.cm-hl-live{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.cm-editor .cm-cursor{border-left-color:var(--text)}.cm-editor .cm-selectionBackground,.cm-editor.cm-focused .cm-selectionBackground{background:#218bff33}.cm-editor .cm-activeLine,.cm-editor .cm-activeLineGutter{background:0 0}.cm-editor .cm-placeholder{color:var(--muted)}#footer{align-items:center;gap:4px var(--group-gap);border-top:1px solid var(--line);min-height:29px;padding:5px var(--workspace-inset);color:var(--muted);flex-wrap:wrap;flex:none;font-size:10px;display:flex}#status{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}#word-count{white-space:nowrap;text-align:right;max-width:100%;margin-left:auto}@media (max-width:520px),(pointer:coarse){:root{--control-size:40px}}@media (prefers-color-scheme:dark){:root{--bg:#0d1117;--text:#e6edf3;--muted:#9da7b3;--line:#30363d;--hover:#21262d;--header:#11161d;--active:#21262d;--blue-bg:#1e3a5f;--blue:#90caf9;--blue-line:#37689b;--synced:#3fb950;--offline:#ff7b72;--hl:#ffc80024;--hl-hover:#ffc8003d}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
