@font-face{font-family:"Source Serif 4 Variable";font-style:normal;font-display:swap;font-weight:200 900;src:url(/assets/source-serif-4-cyrillic-ext-wght-normal-DHTKMUil.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:"Source Serif 4 Variable";font-style:normal;font-display:swap;font-weight:200 900;src:url(/assets/source-serif-4-cyrillic-wght-normal-B1g8a0vD.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:"Source Serif 4 Variable";font-style:normal;font-display:swap;font-weight:200 900;src:url(/assets/source-serif-4-greek-wght-normal-BpXpdlRW.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:"Source Serif 4 Variable";font-style:normal;font-display:swap;font-weight:200 900;src:url(/assets/source-serif-4-vietnamese-wght-normal-BsaNuasd.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:"Source Serif 4 Variable";font-style:normal;font-display:swap;font-weight:200 900;src:url(/assets/source-serif-4-latin-ext-wght-normal-BVZ5su8S.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:"Source Serif 4 Variable";font-style:normal;font-display:swap;font-weight:200 900;src:url(/assets/source-serif-4-latin-wght-normal-DMe4EKeb.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/ibm-plex-mono-latin-400-normal-DMJ8VG8y.woff2)format("woff2"),url(/assets/ibm-plex-mono-latin-400-normal-CvHOgSBP.woff)format("woff")}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--canvas:#f7f5f0;--surface:#fffefa;--surface-muted:#f2efe9;--text:#302d28;--text-muted:#686156;--border:#e3ddd2;--accent:#994a35;--accent-hover:#7c3624;--accent-soft:#f5e9e1;--on-accent:#fffefa;--focus:#356b81;--danger:#a52d36;--success:#658267;--serif:"Source Serif 4 Variable", Georgia, serif;--sans:"Inter Variable", sans-serif;--mono:"IBM Plex Mono", monospace}[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--canvas:#1c1c19;--surface:#23231f;--surface-muted:#2b2b26;--text:#f0ede5;--text-muted:#b6b2a8;--border:#414039;--accent:#e5a186;--accent-hover:#f0b69e;--accent-soft:#3c2b24;--on-accent:#241c17;--focus:#8fc9df;--danger:#f2949b;--success:#94c8a4}*{box-sizing:border-box}body{background:var(--canvas);color:var(--text);font-family:var(--sans);-webkit-font-smoothing:antialiased;margin:0;font-size:14px}button,input,textarea,select{font:inherit}button,summary,select{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer;background:0 0;border:0;border-radius:5px;justify-content:center;align-items:center;gap:7px;transition:background .14s,color .14s;display:inline-flex}button:hover,summary:hover{background:var(--surface-muted)}button:disabled{cursor:default;opacity:.4}button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid var(--focus);outline-offset:3px}input,textarea{color:inherit}[hidden]{display:none!important}svg{flex-shrink:0}.app-shell{flex-direction:column;width:100%;max-width:1040px;min-height:100svh;margin:auto;padding:0 32px;display:flex}main{flex:1;padding-top:8px}.document-title{width:100%;font-family:var(--serif);letter-spacing:-.5px;text-overflow:ellipsis;background:0 0;border:0;padding:8px 0;font-size:30px;display:block}.document-title::placeholder{color:var(--text-muted)}.menu .mobile-action{display:none}.page-header{flex-wrap:wrap;align-items:center;gap:24px;padding:26px 0 8px;display:flex}.page-view{background:var(--surface-muted);border-radius:7px;padding:3px;display:inline-flex}.page-view button{min-height:38px;padding:8px 12px;font-size:12px}.page-view button:hover{background:var(--surface)}.save-status{text-align:right;width:100%;color:var(--text-muted);margin-top:-10px;font-size:10px}.brand{align-items:center;margin:0;display:flex}.brand>span{font-family:var(--serif);letter-spacing:-1.7px;font-size:36px;font-weight:600;line-height:1}.brand-dot{color:var(--accent)}nav{align-items:center;gap:12px;margin-left:auto;display:flex}.button{min-height:38px;padding:10px 14px;font-size:12px;font-weight:500}.primary{background:var(--accent);color:var(--on-accent)}.primary:hover{background:var(--accent-hover)}.icon-button{padding:8px}.dropdown{position:relative}.dropdown>summary{cursor:pointer;border-radius:5px;justify-content:center;align-items:center;padding:8px;list-style:none;display:flex}.dropdown>summary::-webkit-details-marker{display:none}.menu{z-index:20;background:var(--surface);border:1px solid var(--border);border-radius:8px;width:205px;padding:6px;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 10px 35px #17120b18}.menu button{justify-content:flex-start;width:100%;padding:9px 10px;font-size:12px;display:flex}.menu svg{width:14px;height:14px}.menu hr{border:0;border-top:1px solid var(--border);margin:5px}.danger{color:var(--danger)}h1{font-family:var(--serif);letter-spacing:-.7px;margin:7px 0 0;font-size:29px;font-weight:400}.text-button{color:var(--accent);padding:5px 0;font-size:12px}.block{min-width:0;position:relative}.blocks>:not([hidden])~:not([hidden])>.block{border-top:1px solid var(--border)}.block.is-dragging{opacity:.65;z-index:30}.block-header{align-items:center;gap:14px;min-height:54px;padding:12px 0;display:flex}.drag-handle{color:var(--text-muted);touch-action:none;cursor:grab;padding:5px 0}.block-collapse{color:var(--text-muted);gap:8px;padding:5px 0;font-size:11px}.block-collapse>svg:last-child{color:var(--text-muted);margin-left:2px}.header-divider{border-left:1px solid var(--border);height:14px;margin:0 5px}.mode-switch{gap:2px;margin-left:auto;display:flex}.mode-switch button{color:var(--text-muted);border-radius:3px;padding:5px 10px;font-size:11px}.mode-switch button[aria-pressed=true]{background:var(--surface-muted);color:var(--text)}.block-menu>summary{color:var(--text-muted);padding:5px}.block-content,.editing-pane,.preview-pane{min-width:0}.preview-pane{padding:22px 30px 30px}.editing-pane{background:var(--surface);border-radius:4px}.editor-toolbar{flex-wrap:wrap;align-items:center;gap:3px;padding:8px 16px;display:flex}.editor-toolbar button{color:var(--text-muted);padding:5px}.editor-toolbar svg{width:14px;height:14px}.editor-toolbar .text-button{color:var(--accent);padding:5px 9px;font-size:11px}.source-editor{padding:12px 0}.source-editor .cm-editor{font-family:var(--mono);background:0 0;font-size:13px}.source-editor .cm-scroller{font-family:inherit;overflow-x:auto}.source-editor .cm-content{min-height:115px;padding:10px 0}.source-editor .cm-line{padding:0 18px 0 12px}.source-editor .cm-gutters{color:var(--text-muted);opacity:.65;background:0 0;border:0;padding-left:8px}.source-editor .cm-focused{outline:none}.source-editor .cm-activeLine{background:color-mix(in srgb, var(--surface-muted) 35%, transparent)}.source-editor .cm-activeLineGutter{background:var(--surface-muted)}.source-editor .cm-placeholder{color:var(--text-muted);font-family:var(--serif);font-style:italic}.editor-footer{color:var(--text-muted);justify-content:flex-end;padding:10px 20px;font-size:9px;display:flex}.insertion-line{justify-content:center;align-items:center;height:40px;display:flex}.insertion-line button{width:22px;height:20px;color:var(--text-muted)}.insertion-line:hover button,.insertion-line button:focus-visible{opacity:1}.add-row{color:var(--text-muted);margin:0 auto;padding:12px 16px;font-size:12px;display:flex}.page-footer{color:var(--text-muted);justify-content:center;align-items:center;gap:16px;margin-top:48px;padding:22px 0 32px;font-size:10px;display:flex}.page-footer>button{color:var(--text-muted);font-size:10px}.prose{overflow-wrap:anywhere;font-size:14px;line-height:1.85}.prose>:first-child{margin-top:0}.prose>:last-child{margin-bottom:0}.prose h1,.prose h2,.prose h3{font-family:var(--serif);letter-spacing:-.6px;margin:1.1em 0 .6em;font-weight:450;line-height:1.25}.prose h1{font-size:36px}.prose h2{font-size:28px}.prose h3{font-size:22px}.prose strong{font-weight:600}.prose a{color:var(--accent);text-underline-offset:3px}.prose ul,.prose ol{padding-left:22px}.prose li{margin:3px 0;padding-left:4px}.prose li::marker{color:var(--accent)}.prose blockquote{border-left:2px solid var(--accent);color:var(--text-muted);font-family:var(--serif);margin-left:0;padding-left:20px;font-size:20px}.prose pre{background:var(--surface-muted);border-radius:5px;padding:16px;overflow-x:auto}.prose code{font-family:var(--mono);font-size:.85em}.prose :not(pre)>code{background:var(--surface-muted);border-radius:3px;padding:2px 4px}.prose table{border-collapse:collapse;display:block;overflow-x:auto}.prose td,.prose th{border:1px solid var(--border);text-align:left;padding:8px 12px}.prose hr{border:0;border-top:1px solid var(--border);margin:24px 0}.blocked-image,.hint{color:var(--text-muted);font-size:11px;line-height:1.6}.empty-preview{font-family:var(--serif);color:var(--text-muted);margin:10px 0;font-size:18px;font-style:italic}.inline-error{color:var(--danger);background:color-mix(in srgb, var(--danger) 6%, var(--surface));overflow-wrap:anywhere;white-space:pre-wrap;border-radius:5px;padding:12px 16px;font-size:12px;line-height:1.6}.page-error{border:1px solid var(--danger);color:var(--danger);border-radius:6px;justify-content:space-between;align-items:center;margin-bottom:20px;padding:12px 16px;display:flex}.mermaid-preview iframe{border:0;width:100%;display:block}.diagram-tools{color:var(--text-muted);align-items:center;gap:5px;margin-top:14px;font-size:10px;display:flex}.diagram-tools>.hint{margin-right:8px;font-size:10px}.diagram-tools button{min-height:26px;padding:4px 7px}.data-toolbar{flex-wrap:wrap;align-items:center;gap:16px;margin-bottom:16px;display:flex}.search-field{border:1px solid var(--border);background:var(--surface);border-radius:5px;min-width:0;max-width:100%;padding:8px 10px;font-size:11px}.check-label{color:var(--text-muted);align-items:center;gap:5px;font-size:10px;display:flex}input[type=checkbox]{accent-color:var(--accent)}.delimiter-label{color:var(--text-muted);margin-left:auto;font-size:10px}select{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:4px;margin-left:6px;padding:5px;font-size:10px}.table-scroll{border:1px solid var(--border);border-radius:5px;max-width:100%;overflow-x:auto}.data-table{border-collapse:collapse;text-align:left;width:100%;font-size:11px}.data-table th,.data-table td{border-bottom:1px solid var(--border);border-right:1px solid var(--border);padding:0}.data-table tr:last-child td,.data-table tr:last-child th{border-bottom:0}.data-table th:last-child,.data-table td:last-child{border-right:0}.data-table th{background:var(--surface-muted);font-weight:500}.data-table .row-number{text-align:center;width:30px;font-family:var(--mono);color:var(--text-muted);padding:8px;font-size:9px}.column-tools{color:var(--text-muted);align-items:center;gap:5px;padding:6px 9px;font-size:9px;display:flex}.column-tools span{margin-right:auto}.column-tools button{padding:3px}.data-table textarea{resize:none;background:0 0;border:0;width:100%;min-width:130px;padding:11px 12px;font-size:11px;line-height:1.5;display:block}.data-table textarea:focus{outline-offset:-2px}.data-table .header-row{background:var(--surface-muted);font-weight:600}.data-table tbody tr:nth-child(2n):not(.header-row){background:color-mix(in srgb, var(--surface-muted) 35%, var(--surface))}.table-footer{color:var(--text-muted);align-items:center;gap:16px;margin-top:12px;font-size:9px;display:flex}.table-footer>span{margin-right:auto}.table-footer button{font-size:10px}.json-preview>input{margin-bottom:18px}.json-node,.json-value{font-family:var(--mono);overflow-wrap:anywhere;font-size:12px;line-height:1.9}.json-node summary{cursor:pointer}.json-node summary small{color:var(--text-muted);margin-left:10px}.json-node>div{border-left:1px solid var(--border);margin-left:10px;padding-left:18px}.json-value>span{color:var(--accent);margin-right:12px}.json-value code{font:inherit}.json-value .string{color:var(--success)}dialog{border:1px solid var(--border);background:var(--surface);width:min(460px,100vw - 32px);color:var(--text);border-radius:12px;padding:28px;box-shadow:0 30px 120px #21180e30}dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#211b143b}.command-dialog{width:min(540px,100vw - 32px);max-height:calc(100dvh - 48px);padding:0}.command-search{border-bottom:1px solid var(--border);color:var(--text-muted);align-items:center;gap:12px;padding:16px 18px;display:flex}.command-search input{width:100%;min-width:0;color:var(--text);background:0 0;border:0;padding:6px 0;font-size:16px}.command-search:focus-within{box-shadow:inset 0 -2px var(--focus)}.command-search input:focus-visible{outline:none}.command-results{max-height:min(420px,100dvh - 200px);padding:8px;overflow-y:auto}.command-results>button{text-align:left;justify-content:space-between;gap:16px;width:100%;min-height:44px;padding:10px 12px;font-size:13px}.command-results>button[aria-selected=true]{background:var(--accent-soft);color:var(--accent)}.command-results>button[aria-disabled=true]{color:var(--text-muted);cursor:default}kbd{font:12px var(--sans);color:var(--text-muted);white-space:nowrap}.menu kbd{margin-left:auto}.command-footer{border-top:1px solid var(--border);color:var(--text-muted);flex-wrap:wrap;justify-content:space-between;gap:8px;padding:12px 20px;font-size:10px;display:flex}.command-empty{text-align:center;color:var(--text-muted);padding:24px 20px}.block:focus-visible{outline:2px solid var(--focus);outline-offset:4px}.dialog-heading{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:20px;display:flex}h2{font-family:var(--serif);letter-spacing:-.5px;margin:6px 0 0;font-size:29px;font-weight:450}.dialog-heading>button{color:var(--text-muted);margin:-6px -8px 0 0}.format-options{flex-direction:column;gap:6px;display:flex}.format-options>button{text-align:left;border:1px solid #0000;justify-content:flex-start;gap:14px;padding:13px 10px}.format-options>button:hover{border-color:var(--border)}.format-options>button>svg:last-child{color:var(--text-muted);margin-left:auto}.format-options strong{font-size:13px;font-weight:500;display:block}.format-options small{color:var(--text-muted);margin-top:4px;font-size:11px;display:block}.format-badge{background:var(--accent-soft);width:40px;height:40px;color:var(--accent);border-radius:8px;place-items:center;display:grid}.format-badge.mermaid{background:color-mix(in srgb, var(--success) 10%, var(--surface));color:var(--success)}.format-badge.json{background:color-mix(in srgb, var(--focus) 10%, var(--surface));color:var(--focus)}.dialog-copy{color:var(--text-muted);font-size:13px;line-height:1.8}.field-label{margin:20px 0 8px;font-size:11px;display:block}.share-field{border:1px solid var(--border);color:var(--text-muted);border-radius:5px;align-items:center;gap:10px;padding:10px;display:flex}.share-field input{width:100%;min-width:0;font-family:var(--mono);background:0 0;border:0;font-size:11px}.wide{width:100%;margin-top:12px}.privacy-explainer{color:var(--text-muted);align-items:flex-start;gap:9px;margin:20px 0;font-size:11px;line-height:1.7;display:flex}.privacy-explainer>svg{margin-top:2px}.toast{background:var(--text);max-width:calc(100vw - 32px);color:var(--canvas);z-index:100;border-radius:8px;padding:12px 18px;font-size:12px;display:none;position:fixed;bottom:25px;left:50%;transform:translate(-50%);box-shadow:0 4px 20px #0002}.toast.visible{align-items:center;gap:10px;display:flex}.back-button{color:var(--accent);margin-bottom:20px;padding-left:0}@media (width<=800px){.app-shell{padding:0 22px}.page-header{gap:14px}}@media (width<=600px){.app-shell{padding:0 16px}.page-header{gap:12px 8px;padding:20px 0 8px}nav .desktop-action{display:none}.menu .mobile-action{display:flex}.brand>span{font-size:28px}nav{gap:2px}nav .button{padding:6px;font-size:11px}.page-view button{padding:6px}.page-view{padding:2px}.save-status{margin-top:0}.document-title{font-size:28px}.nav-label{display:none}nav .icon-button,.dropdown>summary{padding:5px}h1{font-size:28px}.block-header{gap:5px;padding:6px 0}.block-collapse{font-size:10px}.mode-switch button{padding:7px}.preview-pane{padding:22px 18px}.prose h1{font-size:29px}.prose{font-size:13px}.editor-footer{padding:10px;font-size:8px}.source-editor .cm-content{min-height:72px;padding:4px 0;font-size:16px}.source-editor{padding:4px 0}.source-editor .cm-placeholder{white-space:normal}.add-row{padding:16px}.data-toolbar{gap:10px}.delimiter-label{margin-left:0}.search-field,.data-table textarea{font-size:16px}.diagram-tools>.hint{display:none}button,summary{min-width:44px;min-height:44px}.icon-button,.mode-switch button,.page-header nav .button,.diagram-tools button,.format-options button,.block-collapse,.block-menu summary{min-height:44px}.insertion-line{height:48px}.editor-toolbar{gap:0;padding:4px 0}.editor-toolbar .header-divider{display:none}}@media (hover:hover) and (pointer:fine){.drag-handle,.insertion-line button{opacity:0}.block:hover .drag-handle,.block:focus-within .drag-handle,.insertion-line:hover button,.insertion-line:focus-within button{opacity:1}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
