:root{--mashnote-block-border:#d7dde7;--mashnote-block-divider:#e6ebf2;--mashnote-block-surface:#fff;--mashnote-block-muted-surface:#f8fafc;--mashnote-block-header-bg:linear-gradient(180deg,#f8fafc 0%,#f1f5f9 100%);--mashnote-block-text:#0f172a;--mashnote-block-muted-text:#475569;--mashnote-block-subtle-text:#64748b;--mashnote-block-placeholder:#64748b;--mashnote-block-error:#b91c1c;--mashnote-block-button-bg:#fff;--mashnote-block-button-border:#cbd5e1;--mashnote-block-button-text:#334155;--mashnote-formula-pill-bg:#0ea5e91f;--mashnote-formula-pill-text:#0369a1;--mashnote-code-surface:#f8fafc;--mashnote-code-text:#0f172a;--mashnote-code-pill-bg:#2563eb1f;--mashnote-code-pill-text:#1d4ed8;--mashnote-cta-bg:#2563eb;--mashnote-cta-text:#fff;--mashnote-hl-comment:#64748b;--mashnote-hl-keyword:#7c3aed;--mashnote-hl-string:#047857;--mashnote-hl-number:#b45309;--mashnote-hl-title:#1d4ed8;--mashnote-hl-attr:#b91c1c;--mashnote-hl-meta:#475569;--mashnote-editorjs-ui-surface:#fffffff5;--mashnote-editorjs-ui-muted-surface:#f8fafc;--mashnote-editorjs-ui-border:#cbd5e1eb;--mashnote-editorjs-ui-text:#0f172a;--mashnote-editorjs-ui-muted-text:#64748b;--mashnote-editorjs-ui-accent:#2563eb;--mashnote-editorjs-ui-accent-bg:#2563eb24;--mashnote-editorjs-ui-hover:#0f172a0f;--mashnote-editorjs-ui-selection:#2563eb1a;--mashnote-editorjs-ui-shadow:#0f172a24}html[data-color-scheme=dark],html[data-theme=dark],html.dark{--mashnote-block-border:#334155;--mashnote-block-divider:#1e293b;--mashnote-block-surface:#0f172a;--mashnote-block-muted-surface:#111827;--mashnote-block-header-bg:linear-gradient(180deg,#111827 0%,#0f172a 100%);--mashnote-block-text:#e2e8f0;--mashnote-block-muted-text:#cbd5e1;--mashnote-block-subtle-text:#94a3b8;--mashnote-block-placeholder:#94a3b8;--mashnote-block-error:#fca5a5;--mashnote-block-button-bg:#111827;--mashnote-block-button-border:#334155;--mashnote-block-button-text:#e2e8f0;--mashnote-formula-pill-bg:#38bdf82e;--mashnote-formula-pill-text:#7dd3fc;--mashnote-code-surface:#111827;--mashnote-code-text:#e2e8f0;--mashnote-code-pill-bg:#60a5fa2e;--mashnote-code-pill-text:#bfdbfe;--mashnote-cta-bg:#1d4ed8;--mashnote-cta-text:#fff;--mashnote-hl-comment:#94a3b8;--mashnote-hl-keyword:#c084fc;--mashnote-hl-string:#6ee7b7;--mashnote-hl-number:#fbbf24;--mashnote-hl-title:#93c5fd;--mashnote-hl-attr:#fca5a5;--mashnote-hl-meta:#cbd5e1;--mashnote-editorjs-ui-surface:#252525f0;--mashnote-editorjs-ui-muted-surface:#1a1a1a;--mashnote-editorjs-ui-border:#ffffff1f;--mashnote-editorjs-ui-text:#e8e6e1;--mashnote-editorjs-ui-muted-text:#9b9b9b;--mashnote-editorjs-ui-accent:#c9a87c;--mashnote-editorjs-ui-accent-bg:#c9a87c2e;--mashnote-editorjs-ui-hover:#ffffff14;--mashnote-editorjs-ui-selection:#c9a87c29;--mashnote-editorjs-ui-shadow:#00000073}.ce-block__content,.ce-toolbar__content{max-width:100%!important;margin-left:0!important;margin-right:0!important}.ce-toolbar__actions{z-index:2;left:0!important;right:auto!important;transform:translate(-100%)!important}.ce-block .ce-block__content{padding-left:0!important;padding-right:0!important}.codex-editor{padding:0!important}.codex-editor__redactor{padding-bottom:200px!important}.ce-paragraph,.ce-header,.ce-list,.ce-checklist,.ce-code,.ce-quote,.ce-table{margin-left:0!important;padding-left:0!important}.ce-header[data-placeholder]{position:relative}.ce-header[data-placeholder]:before{left:0;position:absolute!important}.ce-inline-toolbar{margin-left:0!important}.ce-inline-toolbar .ce-inline-tool svg{width:14px;height:14px}.ce-popover--inline [data-item-name=convert-to]{display:none!important}.ce-toolbar{margin-left:0!important}html[data-color-scheme=dark] .ce-toolbar__plus,html[data-theme=dark] .ce-toolbar__plus,html.dark .ce-toolbar__plus,html[data-color-scheme=dark] .ce-toolbar__settings-btn,html[data-theme=dark] .ce-toolbar__settings-btn,html.dark .ce-toolbar__settings-btn,html[data-color-scheme=dark] .cdx-settings-button,html[data-theme=dark] .cdx-settings-button,html.dark .cdx-settings-button{color:var(--mashnote-editorjs-ui-text);background-color:var(--mashnote-editorjs-ui-surface);border:1px solid var(--mashnote-editorjs-ui-border);box-shadow:0 12px 28px -18px var(--mashnote-editorjs-ui-shadow)}html[data-color-scheme=dark] .ce-toolbar__plus:hover,html[data-theme=dark] .ce-toolbar__plus:hover,html.dark .ce-toolbar__plus:hover,html[data-color-scheme=dark] .ce-toolbar__settings-btn:hover,html[data-theme=dark] .ce-toolbar__settings-btn:hover,html.dark .ce-toolbar__settings-btn:hover,html[data-color-scheme=dark] .cdx-settings-button:hover,html[data-theme=dark] .cdx-settings-button:hover,html.dark .cdx-settings-button:hover{background-color:color-mix(in srgb,var(--mashnote-editorjs-ui-surface)88%,white 12%)}html[data-color-scheme=dark] .ce-toolbar__plus--active,html[data-theme=dark] .ce-toolbar__plus--active,html.dark .ce-toolbar__plus--active,html[data-color-scheme=dark] .ce-toolbar__settings-btn--active,html[data-theme=dark] .ce-toolbar__settings-btn--active,html.dark .ce-toolbar__settings-btn--active,html[data-color-scheme=dark] .cdx-settings-button--active,html[data-theme=dark] .cdx-settings-button--active,html.dark .cdx-settings-button--active{color:var(--mashnote-editorjs-ui-accent);background-color:color-mix(in srgb,var(--mashnote-editorjs-ui-accent-bg)74%,var(--mashnote-editorjs-ui-surface)26%);border-color:color-mix(in srgb,var(--mashnote-editorjs-ui-accent)28%,var(--mashnote-editorjs-ui-border)72%)}html[data-color-scheme=dark] .ce-inline-toolbar,html[data-theme=dark] .ce-inline-toolbar,html.dark .ce-inline-toolbar,html[data-color-scheme=dark] .ce-popover,html[data-theme=dark] .ce-popover,html.dark .ce-popover{--color-border:var(--mashnote-editorjs-ui-border);--color-shadow:var(--mashnote-editorjs-ui-shadow);--color-background:#252525;--color-text-primary:var(--mashnote-editorjs-ui-text);--color-text-secondary:var(--mashnote-editorjs-ui-muted-text);--color-border-icon:var(--mashnote-editorjs-ui-border);--color-border-icon-disabled:#ffffff14;--color-text-icon-active:var(--mashnote-editorjs-ui-accent);--color-background-icon-active:var(--mashnote-editorjs-ui-accent-bg);--color-background-item-focus:var(--mashnote-editorjs-ui-accent-bg);--color-shadow-item-focus:color-mix(in srgb,var(--mashnote-editorjs-ui-accent)18%,transparent);--color-background-item-hover:var(--mashnote-editorjs-ui-hover)}html[data-color-scheme=dark] .ce-inline-toolbar .ce-popover__container,html[data-theme=dark] .ce-inline-toolbar .ce-popover__container,html.dark .ce-inline-toolbar .ce-popover__container,html[data-color-scheme=dark] .ce-popover__container,html[data-theme=dark] .ce-popover__container,html.dark .ce-popover__container{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}html[data-color-scheme=dark] .ce-inline-toolbar__dropdown,html[data-theme=dark] .ce-inline-toolbar__dropdown,html.dark .ce-inline-toolbar__dropdown{color:var(--mashnote-editorjs-ui-muted-text);border-right-color:var(--mashnote-editorjs-ui-border)}html[data-color-scheme=dark] .ce-inline-toolbar__dropdown:hover,html[data-theme=dark] .ce-inline-toolbar__dropdown:hover,html.dark .ce-inline-toolbar__dropdown:hover,html[data-color-scheme=dark] .ce-inline-tool:hover,html[data-theme=dark] .ce-inline-tool:hover,html.dark .ce-inline-tool:hover{background-color:var(--mashnote-editorjs-ui-hover)}html[data-color-scheme=dark] .ce-inline-tool-input,html[data-theme=dark] .ce-inline-tool-input,html.dark .ce-inline-tool-input,html[data-color-scheme=dark] .cdx-input,html[data-theme=dark] .cdx-input,html.dark .cdx-input,html[data-color-scheme=dark] .cdx-search-field,html[data-theme=dark] .cdx-search-field,html.dark .cdx-search-field,html[data-color-scheme=dark] .cdx-button,html[data-theme=dark] .cdx-button,html.dark .cdx-button{color:var(--mashnote-editorjs-ui-text);background:var(--mashnote-editorjs-ui-muted-surface);border-color:var(--mashnote-editorjs-ui-border)}html[data-color-scheme=dark] .cdx-search-field__icon svg,html[data-theme=dark] .cdx-search-field__icon svg,html.dark .cdx-search-field__icon svg,html[data-color-scheme=dark] .ce-popover__nothing-found-message,html[data-theme=dark] .ce-popover__nothing-found-message,html.dark .ce-popover__nothing-found-message{color:var(--mashnote-editorjs-ui-muted-text)}html[data-color-scheme=dark] .ce-block--selected .ce-block__content,html[data-theme=dark] .ce-block--selected .ce-block__content,html.dark .ce-block--selected .ce-block__content{background:var(--mashnote-editorjs-ui-selection);border-radius:10px;box-shadow:inset 0 0 0 1px #c9a87c33,0 0 0 1px #0000002e}html[data-color-scheme=dark] .ce-block--selected .ce-block__content [contenteditable],html[data-theme=dark] .ce-block--selected .ce-block__content [contenteditable],html.dark .ce-block--selected .ce-block__content [contenteditable]{color:var(--mashnote-editorjs-ui-text)}html[data-color-scheme=dark] .ce-block--selected .ce-block__content [contenteditable][data-placeholder]:empty:before,html[data-theme=dark] .ce-block--selected .ce-block__content [contenteditable][data-placeholder]:empty:before,html.dark .ce-block--selected .ce-block__content [contenteditable][data-placeholder]:empty:before{color:var(--mashnote-editorjs-ui-muted-text);opacity:.8}html[data-color-scheme=dark] .codex-editor ::selection,html[data-theme=dark] .codex-editor ::selection,html.dark .codex-editor ::selection{color:#f8f5ef;background-color:#c9a87c47}html[data-color-scheme=dark] .codex-editor ::-moz-selection{color:#f8f5ef;background-color:#c9a87c47}html[data-theme=dark] .codex-editor ::-moz-selection{color:#f8f5ef;background-color:#c9a87c47}html.dark .codex-editor ::-moz-selection{color:#f8f5ef;background-color:#c9a87c47}.ai-assist-block{margin:8px 0}.ce-block .ai-assist-block{padding:0!important}.ce-block--selected .ai-assist-block{background:0 0!important}@keyframes ai-stream-pulse{0%,to{opacity:1}50%{opacity:.4}}.ai-assist-inprogress p{margin:0;line-height:1.6}.ai-assist-inprogress h1,.ai-assist-inprogress h2,.ai-assist-inprogress h3,.ai-assist-inprogress h4,.ai-assist-inprogress h5,.ai-assist-inprogress h6,.ai-assist-inprogress ul,.ai-assist-inprogress ol,.ai-assist-inprogress blockquote{margin:0}.ai-assist-inprogress table{border-collapse:collapse;width:100%;margin:0}.ai-assist-inprogress th,.ai-assist-inprogress td{text-align:left;border:1px solid #e0e0e0;padding:6px 12px}.ai-assist-inprogress th{background-color:#f5f5f5;font-weight:600}html[data-color-scheme=dark] .tc-wrap,html[data-theme=dark] .tc-wrap,html.dark .tc-wrap{--color-background:#252525;--color-text-secondary:#9b9b9b;--color-border:#ffffff1a}html[data-color-scheme=dark] .tc-popover,html[data-theme=dark] .tc-popover,html.dark .tc-popover{--color-border:#ffffff1a;--color-background:#252525;--color-background-hover:#ffffff14}html[data-color-scheme=dark] .tc-cell,html[data-theme=dark] .tc-cell,html.dark .tc-cell{color:#e8e6e1}html[data-color-scheme=dark] .ai-assist-inprogress th,html[data-theme=dark] .ai-assist-inprogress th,html.dark .ai-assist-inprogress th{background-color:#252525}html[data-color-scheme=dark] .ai-assist-inprogress th,html[data-color-scheme=dark] .ai-assist-inprogress td,html[data-theme=dark] .ai-assist-inprogress th,html[data-theme=dark] .ai-assist-inprogress td,html.dark .ai-assist-inprogress th,html.dark .ai-assist-inprogress td{border-color:#ffffff1a}.mashnote-inline-marker{color:inherit;background-color:#facc1573;border-radius:.2em;padding:0 .1em}.ce-paragraph code,.ce-header code,.cdx-list__item code,.ce-quote code{font-family:var(--font-geist-mono,"SFMono-Regular",Consolas,"Liberation Mono",Menlo,monospace);background-color:#0f172a14;border-radius:4px;padding:.1em .3em}html[data-color-scheme=dark] .ce-paragraph code,html[data-theme=dark] .ce-paragraph code,html.dark .ce-paragraph code,html[data-color-scheme=dark] .ce-header code,html[data-theme=dark] .ce-header code,html.dark .ce-header code,html[data-color-scheme=dark] .cdx-list__item code,html[data-theme=dark] .cdx-list__item code,html.dark .cdx-list__item code,html[data-color-scheme=dark] .ce-quote code,html[data-theme=dark] .ce-quote code,html.dark .ce-quote code{color:#f5efe4;background-color:#c9a87c29}.ce-paragraph s,.ce-header s,.cdx-list__item s,.ce-quote s{text-decoration:line-through}.ce-paragraph u,.ce-header u,.cdx-list__item u,.ce-quote u{text-underline-offset:.14em;text-decoration:underline}.cdx-quote{border:none!important;border-left:3px solid!important;padding:0 0 0 14px!important}.cdx-quote:before,.cdx-quote:after{display:none!important}.cdx-quote [contenteditable][data-placeholder]:before{color:inherit;opacity:.4}.cdx-quote__text{box-shadow:none!important;min-height:unset!important;border:none!important;margin-bottom:0!important;padding:0!important;font-style:normal!important}.cdx-quote__caption{display:none!important}.ce-delimiter{margin:28px 0!important;line-height:1!important}.ce-delimiter:before{border-radius:999px;width:84px;margin:0 auto;content:""!important;background:linear-gradient(90deg,#0000,#cbd5e1 22%,#64748b 50%,#cbd5e1 78%,#0000)!important;height:2px!important;font-size:0!important;line-height:0!important;display:block!important}.mashnote-code-block,.mashnote-formula-block{isolation:isolate;border:1px solid var(--mashnote-block-border);background:var(--mashnote-block-surface);border-radius:14px;flex-direction:column;display:flex;position:relative;overflow:hidden}.mashnote-formula-block__header{border-bottom:1px solid var(--mashnote-block-divider);background:var(--mashnote-block-header-bg);order:0;justify-content:space-between;align-items:center;gap:8px;padding:7px 10px;display:flex}.mashnote-formula-block__actions{align-items:center;gap:6px;margin-left:auto;display:flex}.mashnote-formula-block__select,.mashnote-formula-block__caption,.mashnote-formula-block__textarea{width:100%;color:var(--mashnote-block-text);font:inherit;background:0 0;border:0;outline:none}.mashnote-formula-block__select{border:1px solid var(--mashnote-block-button-border);background:var(--mashnote-block-button-bg);width:auto;min-width:132px;color:var(--mashnote-block-text);border-radius:999px;padding:6px 10px;font-size:12px;font-weight:700}.mashnote-formula-block__badge{border:1px solid var(--mashnote-block-button-border);background:color-mix(in srgb,var(--mashnote-block-button-bg)85%,transparent);color:var(--mashnote-block-muted-text);letter-spacing:.01em;border-radius:999px;align-items:center;padding:4px 8px;font-size:11px;font-weight:600;display:inline-flex}.mashnote-formula-block__button{border:1px solid var(--mashnote-block-button-border);background:color-mix(in srgb,var(--mashnote-block-button-bg)82%,transparent);color:var(--mashnote-block-muted-text);cursor:pointer;border-radius:999px;align-items:center;gap:6px;padding:4px 8px;font-size:11px;font-weight:600;transition:background-color .14s,border-color .14s,color .14s,transform .14s;display:inline-flex}.mashnote-formula-block__button:disabled{opacity:.5;cursor:default}.mashnote-formula-block__preview{background:var(--mashnote-block-surface);color:var(--mashnote-block-text);-webkit-user-select:none;user-select:none;order:1;padding:20px 16px}.mashnote-formula-block__preview .katex-display{margin:0;overflow:auto hidden}.mashnote-formula-block__preview,.mashnote-formula-block__preview *{-webkit-user-drag:none}.mashnote-formula-block__textarea{border-top:1px solid var(--mashnote-block-divider);resize:vertical;min-height:88px;font-family:var(--font-geist-mono,"SFMono-Regular",Consolas,"Liberation Mono",Menlo,monospace);background:var(--mashnote-block-muted-surface);order:2;padding:14px 16px;font-size:13px;line-height:1.7;display:block}.mashnote-formula-block__textarea[hidden],.mashnote-mermaid-block__textarea[hidden]{display:none!important}.mashnote-formula-block__caption{border-top:1px solid var(--mashnote-block-divider);color:var(--mashnote-block-muted-text);order:3;padding:10px 14px;font-size:13px}input.mashnote-formula-block__caption{display:block}div.mashnote-formula-block__caption:empty{display:none}.mashnote-formula-block__placeholder,.mashnote-formula-block__error{font-size:14px;display:inline-block}.mashnote-formula-block__placeholder{color:var(--mashnote-block-placeholder)}.mashnote-formula-block__error{color:var(--mashnote-block-error)}.mashnote-markdown-formula{padding:12px 0}.mashnote-chat-mermaid{text-align:center;margin:8px 0;overflow-x:auto}.mashnote-chat-mermaid svg{max-width:100%;height:auto;margin:0 auto;display:block}.mashnote-code-block__header{border-bottom:1px solid var(--mashnote-block-divider);background:var(--mashnote-block-header-bg);order:0;justify-content:space-between;align-items:center;gap:8px;padding:7px 10px;display:flex}.mashnote-code-block__actions{align-items:center;gap:6px;margin-left:auto;display:flex}.mashnote-code-block__select,.mashnote-code-block__filename,.mashnote-code-block__caption,.mashnote-code-block__textarea{width:100%;color:var(--mashnote-block-text);font:inherit;background:0 0;border:0;outline:none}.mashnote-code-block__select{border:1px solid var(--mashnote-block-button-border);background:var(--mashnote-block-button-bg);width:auto;min-width:132px;color:var(--mashnote-block-muted-text);border-radius:999px;padding:4px 9px;font-size:11px;font-weight:600}.mashnote-code-block__badge{background:var(--mashnote-code-pill-bg);color:var(--mashnote-code-pill-text);border-radius:999px;align-items:center;padding:6px 10px;font-size:12px;font-weight:700;display:inline-flex}.mashnote-code-block__button{border:1px solid var(--mashnote-block-button-border);background:color-mix(in srgb,var(--mashnote-block-button-bg)82%,transparent);color:var(--mashnote-block-muted-text);cursor:pointer;border-radius:999px;align-items:center;gap:6px;padding:4px 8px;font-size:11px;font-weight:600;transition:background-color .14s,border-color .14s,color .14s,transform .14s;display:inline-flex}.mashnote-code-block__button:disabled{opacity:.5;cursor:default}.mashnote-code-block__button.is-icon-only,.mashnote-mermaid-block__button.is-icon-only{justify-content:center;align-items:center;width:28px;height:28px;padding:0;display:inline-flex}.mashnote-code-block__button.is-icon-only svg,.mashnote-mermaid-block__button.is-icon-only svg{width:14px;height:14px}.mashnote-code-block__button.is-active,.mashnote-code-block__button[aria-pressed=true]{background:color-mix(in srgb,var(--mashnote-code-pill-bg)24%,var(--mashnote-block-button-bg)76%);border-color:color-mix(in srgb,var(--mashnote-code-pill-text)22%,var(--mashnote-block-button-border)78%);color:var(--mashnote-code-pill-text)}.mashnote-code-block__button.is-primary,.mashnote-formula-block__button.is-primary,.mashnote-mermaid-block__button.is-primary{background:var(--mashnote-cta-bg);border-color:var(--mashnote-cta-bg);color:var(--mashnote-cta-text);box-shadow:0 0 0 1px color-mix(in srgb,var(--mashnote-cta-bg)18%,transparent)}.mashnote-code-block__button.is-success,.mashnote-mermaid-block__button.is-success{color:#15803d;border-color:color-mix(in srgb,#15803d 24%,var(--mashnote-block-button-border)76%);background:color-mix(in srgb,#dcfce7 55%,var(--mashnote-block-button-bg)45%);animation:.18s ease-out mashnote-copy-pop}.mashnote-code-block__filename,.mashnote-code-block__caption{color:var(--mashnote-block-muted-text);padding:10px 14px;font-size:13px}.mashnote-code-block__filename,.mashnote-code-block__caption,.mashnote-code-block__textarea{border-top:1px solid var(--mashnote-block-divider)}input.mashnote-code-block__filename,input.mashnote-code-block__caption{display:block}div.mashnote-code-block__filename:empty,div.mashnote-code-block__caption:empty{display:none}.mashnote-code-block__preview,.mashnote-markdown-code{background:var(--mashnote-code-surface);order:2;margin:0;padding:16px;overflow-x:auto}.mashnote-code-block__preview code,.mashnote-markdown-code code,.hljs{color:var(--mashnote-code-text);font-family:var(--font-geist-mono,"SFMono-Regular",Consolas,"Liberation Mono",Menlo,monospace);background:0 0;font-size:13px;line-height:1.7;display:block}.mashnote-code-block__preview code{white-space:pre;word-break:normal}.mashnote-code-block__preview code.is-wrapped{white-space:pre-wrap;word-break:break-word}.mashnote-code-block__textarea{min-height:140px;font-family:var(--font-geist-mono,"SFMono-Regular",Consolas,"Liberation Mono",Menlo,monospace);resize:vertical;background:var(--mashnote-block-muted-surface);order:3;padding:14px 16px;font-size:13px;line-height:1.7;display:block}.mashnote-code-block__preview[hidden],.mashnote-code-block__textarea[hidden]{display:none!important}.mashnote-code-block__textarea.is-wrapped{white-space:pre-wrap}.mashnote-code-block__filename{order:1}.mashnote-code-block__caption{order:4}.mashnote-code-block__filename,.mashnote-code-block__caption,.mashnote-formula-block__caption,.mashnote-mermaid-block__caption{opacity:0;pointer-events:none;border:0;height:0;min-height:0;padding:0;overflow:hidden}.hljs-comment,.hljs-quote{color:var(--mashnote-hl-comment);font-style:italic}.hljs-keyword,.hljs-selector-tag,.hljs-literal{color:var(--mashnote-hl-keyword)}.hljs-string,.hljs-doctag,.hljs-regexp{color:var(--mashnote-hl-string)}.hljs-number,.hljs-symbol,.hljs-bullet{color:var(--mashnote-hl-number)}.hljs-title,.hljs-title.class_,.hljs-title.function_,.hljs-built_in,.hljs-type{color:var(--mashnote-hl-title)}.hljs-attr,.hljs-attribute,.hljs-name,.hljs-selector-id,.hljs-selector-class,.hljs-selector-attr{color:var(--mashnote-hl-attr)}.hljs-meta,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable{color:var(--mashnote-hl-meta)}.mashnote-mermaid-block{isolation:isolate;border:1px solid var(--mashnote-block-border,#d7dde7);background:var(--mashnote-block-surface,#fff);border-radius:14px;flex-direction:column;max-width:100%;display:flex;position:relative;overflow:hidden}.mashnote-mermaid-block.is-resized{margin-left:auto;margin-right:auto}.ce-block--selected .mashnote-code-block:after,.ce-block--selected .mashnote-formula-block:after,.ce-block--selected .mashnote-mermaid-block:after{content:"";z-index:2;pointer-events:none;border-radius:inherit;background:var(--mashnote-editorjs-ui-selection);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--mashnote-editorjs-ui-accent)28%,transparent),0 0 0 1px color-mix(in srgb,var(--mashnote-editorjs-ui-accent)18%,transparent);position:absolute;inset:0}.mashnote-mermaid-block__header{border-bottom:1px solid var(--mashnote-block-divider,#e6ebf2);background:var(--mashnote-block-header-bg,linear-gradient(180deg,#f8fafc 0%,#f1f5f9 100%));order:0;justify-content:space-between;align-items:center;gap:8px;padding:7px 10px;display:flex}.mashnote-mermaid-block__actions{align-items:center;gap:6px;margin-left:auto;display:flex}.mashnote-mermaid-block__badge{border:1px solid var(--mashnote-block-button-border,#cbd5e1);background:color-mix(in srgb,var(--mashnote-block-button-bg,#fff)85%,transparent);color:var(--mashnote-block-muted-text,#475569);letter-spacing:.01em;border-radius:999px;align-items:center;padding:4px 8px;font-size:11px;font-weight:600;display:inline-flex}.mashnote-mermaid-block__button{border:1px solid var(--mashnote-block-button-border,#cbd5e1);background:color-mix(in srgb,var(--mashnote-block-button-bg,#fff)82%,transparent);color:var(--mashnote-block-muted-text,#475569);cursor:pointer;border-radius:999px;align-items:center;gap:6px;padding:4px 8px;font-size:11px;font-weight:600;transition:background-color .14s,border-color .14s,color .14s,transform .14s;display:inline-flex}.mashnote-mermaid-block__button:disabled{opacity:.5;cursor:default}.mashnote-mermaid-block__preview{cursor:grab;background:var(--mashnote-block-surface,#fff);max-height:480px;color:var(--mashnote-block-text,#0f172a);order:1;justify-content:center;align-items:center;padding:20px 16px;display:flex;position:relative;overflow:hidden}.mashnote-mermaid-block__preview:active{cursor:grabbing}.mashnote-mermaid-block__pan-surface{transform-origin:0 0;flex:none}.mashnote-mermaid-block__pan-surface svg{max-width:none;display:block}.mashnote-mermaid-block__preview>svg{max-width:100%;height:auto;margin:0 auto;display:block}.mashnote-mermaid-block__zoom-controls{border:1px solid var(--mashnote-block-divider,#e6ebf2);background:var(--mashnote-block-surface,#fff);opacity:0;border-radius:8px;gap:4px;padding:3px;transition:opacity .15s;display:flex;position:absolute;bottom:10px;right:10px;box-shadow:0 1px 4px #0f172a1f}.mashnote-mermaid-block__preview:hover .mashnote-mermaid-block__zoom-controls,.mashnote-mermaid-block__zoom-controls:focus-within{opacity:1}.mashnote-mermaid-block__zoom-button{width:26px;height:26px;color:var(--mashnote-block-text,#0f172a);cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;padding:0;display:inline-flex}.mashnote-mermaid-block__zoom-button svg{width:16px;height:16px}.mashnote-mermaid-block__zoom-button:hover{background:var(--mashnote-block-muted-surface,#f1f5f9)}.mashnote-mermaid-block__textarea{border:0;border-top:1px solid var(--mashnote-block-divider,#e6ebf2);resize:vertical;width:100%;min-height:140px;font-family:var(--font-geist-mono,"SFMono-Regular",Consolas,"Liberation Mono",Menlo,monospace);background:var(--mashnote-block-muted-surface,#f8fafc);color:var(--mashnote-block-text,#0f172a);outline:none;order:2;padding:14px 16px;font-size:13px;line-height:1.7;display:block}.mashnote-mermaid-block__caption{border:0;border-top:1px solid var(--mashnote-block-divider,#e6ebf2);width:100%;font:inherit;color:var(--mashnote-block-muted-text,#475569);background:0 0;outline:none;order:3;padding:10px 14px;font-size:13px}input.mashnote-mermaid-block__caption{display:block}div.mashnote-mermaid-block__caption:empty{display:none}.mashnote-mermaid-block__placeholder,.mashnote-mermaid-block__loading{color:var(--mashnote-block-placeholder,#64748b);font-size:14px;display:inline-block}.mashnote-mermaid-block__error{color:var(--mashnote-block-error,#b91c1c);font-size:14px;display:inline-block}html[data-color-scheme=dark] .mashnote-mermaid-block,html[data-theme=dark] .mashnote-mermaid-block,html.dark .mashnote-mermaid-block{--mashnote-block-border:#334155;--mashnote-block-divider:#1e293b;--mashnote-block-surface:#0f172a;--mashnote-block-muted-surface:#111827;--mashnote-block-header-bg:linear-gradient(180deg,#111827 0%,#0f172a 100%);--mashnote-block-text:#e2e8f0;--mashnote-block-muted-text:#cbd5e1;--mashnote-block-placeholder:#94a3b8;--mashnote-block-error:#fca5a5;--mashnote-block-button-bg:#111827;--mashnote-block-button-border:#334155;--mashnote-block-button-text:#e2e8f0}@keyframes mashnote-copy-pop{0%{transform:scale(.92)}70%{transform:scale(1.06)}to{transform:scale(1)}}.mashnote-block-button__icon{justify-content:center;align-items:center;display:inline-flex}.mashnote-block-button__icon svg{width:13px;height:13px}.sl-dropdown{min-width:240px;max-width:340px}.sl-dropdown .ce-inline-tool-input{display:block}.editor-block-pending-delete{position:relative}.editor-block-pending-delete:after{content:"";background:var(--mashnote-editorjs-ui-selection);pointer-events:none;z-index:1;border-radius:3px;transition:background-color .12s;position:absolute;inset:0}.image-tool--loading .image-tool__image{background:linear-gradient(100deg,var(--mashnote-block-muted-surface)30%,var(--mashnote-editorjs-ui-selection)50%,var(--mashnote-block-muted-surface)70%);background-size:200% 100%;border-radius:4px;min-height:96px;animation:1.4s ease-in-out infinite editor-image-loading-shimmer;position:relative}@keyframes editor-image-loading-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.image-tool--load-error .image-tool__image-picture{display:none}.image-tool--load-error .image-tool__image{border:1px dashed var(--mashnote-block-border);background:var(--mashnote-block-muted-surface);border-radius:4px;min-height:96px;animation:none;position:relative}.image-tool--load-error .image-tool__image:after{content:"⚠️ 이미지를 불러올 수 없어요";color:var(--mashnote-block-muted-text);pointer-events:none;justify-content:center;align-items:center;font-size:13px;display:flex;position:absolute;inset:0}.mashnote-block-resize-handle{z-index:4;cursor:ew-resize;opacity:0;touch-action:none;background:#0f172a73;border:1px solid #ffffffb3;border-radius:999px;width:6px;height:38px;max-height:60%;transition:opacity .15s;position:absolute;top:50%;transform:translateY(-50%);box-shadow:0 1px 3px #0f172a40}.mashnote-block-resize-handle.is-left{left:6px}.mashnote-block-resize-handle.is-right{right:6px}.mashnote-mermaid-block:hover .mashnote-block-resize-handle,.mashnote-formula-block:hover .mashnote-block-resize-handle,.mashnote-image-resize:hover .mashnote-block-resize-handle,.mashnote-block-resize-handle:hover,.mashnote-block-resize-handle:focus-visible{opacity:1}.mashnote-formula-block__preview{position:relative}.mashnote-image-resize{width:fit-content;max-width:100%;position:relative}.mashnote-image-resize.is-resized{margin-left:auto;margin-right:auto}.mashnote-image-resize.is-resized .image-tool__image-picture{width:100%;height:auto}
