.phantasi-note-preview{overflow-wrap:anywhere;color:var(--phantasi-fg,var(--color-gray-700,#374151))}.phantasi-note-preview>:first-child{margin-top:0}.phantasi-note-preview h1,.phantasi-note-preview h2,.phantasi-note-preview h3,.phantasi-note-preview h4,.phantasi-note-preview h5,.phantasi-note-preview h6{color:var(--phantasi-fg,var(--color-gray-900,#111827));margin:1.6em 0 .6em;font-weight:600;line-height:1.35}.phantasi-note-preview h1{font-size:1.5em}.phantasi-note-preview h2{font-size:1.25em}.phantasi-note-preview h3{font-size:1.1em}.phantasi-note-preview p,.phantasi-note-preview ul,.phantasi-note-preview ol,.phantasi-note-preview blockquote,.phantasi-note-preview pre,.phantasi-note-preview table{margin:0 0 1em}.phantasi-note-preview ul,.phantasi-note-preview ol{padding-inline-start:1.4em}.phantasi-note-preview ul{list-style:outside}.phantasi-note-preview ol{list-style:decimal}.phantasi-note-preview li{margin-bottom:.35em}.phantasi-note-preview a{color:var(--phantasi-accent,var(--color-orange-600,#ea580c));text-underline-offset:2px;text-decoration:underline}.phantasi-note-preview blockquote{color:var(--phantasi-fg-dim,var(--color-gray-500,#6b7280));border-inline-start:3px solid #0000001f;padding-inline-start:1em}.phantasi-note-preview code{background:#0000000f;border-radius:4px;padding:.15em .4em;font-size:.9em}.phantasi-note-preview pre{background:#0000000f;border-radius:10px;padding:.9em 1em;overflow-x:auto}.phantasi-note-preview pre code{background:0 0;padding:0}.phantasi-note-preview img{border-radius:10px;max-width:100%;height:auto;margin:1.2em auto;display:block}.phantasi-note-preview .note-widget img{max-width:none;height:unset;border-radius:unset;margin:0}.phantasi-note-preview hr{border:0;border-top:1px solid #0000001a;margin:1.8em 0}.phantasi-note-preview table{border-collapse:collapse;font-size:.95em;display:block;overflow-x:auto}.phantasi-note-preview th,.phantasi-note-preview td{text-align:start;border:1px solid #0000001a;padding:.4em .7em}.phantasi-note-preview th{background:#0000000a;font-weight:600}.phantasi-note-preview th[align=center],.phantasi-note-preview td[align=center]{text-align:center}.phantasi-note-preview th[align=right],.phantasi-note-preview td[align=right]{text-align:end}.phantasi-note-preview span[data-esc]{display:inline}.phantasi-note-preview li:has(>input[type=checkbox]),.phantasi-note-preview li[data-task]{list-style:none;position:relative}.phantasi-note-preview li>input[type=checkbox]{accent-color:currentColor;width:1.05em;height:1.05em;margin:0;position:absolute;top:.35em;left:-1.55em}.phantasi-note-preview li[data-task]:before{content:"";box-sizing:border-box;cursor:pointer;background:0 0;border:1.5px solid #00000059;border-radius:.25em;width:1.05em;height:1.05em;position:absolute;top:.35em;left:-1.55em}.phantasi-note-preview li[data-task="1"]:before{background:currentColor url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") 50%/75% no-repeat;border-color:currentColor}.phantasi-note-preview li[data-task="1"],.phantasi-note-preview li:has(>input[type=checkbox]:checked){color:var(--phantasi-fg-dim,var(--color-gray-500,#6b7280))}.phantasi-note-preview sup[data-fnref],.phantasi-note-preview sup.footnote-reference{margin-inline:.1em;font-size:.7em;font-weight:600;line-height:0}.phantasi-note-preview sup.footnote-reference a{text-decoration:none}.phantasi-note-preview p[data-fn]:before{content:attr(data-fn) ". ";color:var(--phantasi-fg-dim,#6b7280);font-weight:600}.phantasi-note-preview p[data-linkdef]{color:var(--phantasi-fg-dim,#6b7280);margin:.2em 0;font-size:.8125em;line-height:1.5}.phantasi-note-preview p[data-linkdef]:before{content:"[" attr(data-linkdef) "] ";font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:600}.phantasi-note-preview p:not([data-fn]):not([data-linkdef])+p[data-linkdef],.phantasi-note-preview p[data-linkdef]:first-child{border-top:1px solid #0000001a;margin-top:1.5em;padding-top:1em}.phantasi-note-preview p[data-linkdef]+p[data-linkdef]{border-top:0;margin-top:.2em;padding-top:0}.phantasi-note-preview .link-definition{color:var(--phantasi-fg-dim,#6b7280);margin:.2em 0;font-size:.8125em;line-height:1.5}.phantasi-note-preview .link-definition a{color:inherit;text-decoration:none}.phantasi-note-preview .link-definition a:hover{text-decoration:underline}.phantasi-note-preview p:not([data-fn]):not([data-linkdef])+.link-definition,.phantasi-note-preview .link-definition:first-child{border-top:1px solid #0000001a;margin-top:1.5em;padding-top:1em}.phantasi-note-preview .link-definition+.link-definition{border-top:0;margin-top:.2em;padding-top:0}.phantasi-note-preview p[data-fn],.phantasi-note-preview .footnote-definition{color:var(--phantasi-fg-soft,var(--color-gray-600,#4b5563));gap:.5em;margin:.4em 0;font-size:.875em;display:flex}.phantasi-note-preview p[data-fn]:first-of-type,.phantasi-note-preview .footnote-definition:first-of-type{border-top:1px solid #0000001a;margin-top:1.5em;padding-top:1em}.phantasi-note-preview .footnote-definition>.footnote-definition-label{font-size:inherit;font-weight:600;line-height:inherit;color:var(--phantasi-fg-dim,#6b7280);flex-shrink:0}.phantasi-note-preview .footnote-definition>p{margin:0}.phantasi-note-preview pre{position:relative}.phantasi-note-preview pre[data-lang]:before{content:attr(data-lang);color:var(--phantasi-fg-dim,#6b7280);letter-spacing:.04em;text-transform:lowercase;pointer-events:none;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.7em;position:absolute;top:.45em;right:.8em}.phantasi-note-preview code:not(pre code){font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.phantasi-note__visual .note-math{cursor:pointer;vertical-align:middle}.phantasi-note__visual .note-math-inline{border-radius:4px;margin:0 .15em;padding:0 .15em;display:inline-block}.phantasi-note__visual .note-math-display{background:#00000008;border-radius:16px;margin:.8em 0;padding:.85em 1em;display:block;overflow-x:auto}.phantasi-note__visual .note-math:hover{outline:1px solid #00000029}.phantasi-note__visual .note-math-edit{background:#0000000f;border-radius:4px;min-width:2em;padding:.1em .35em;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.92em;display:inline-block}.phantasi-note__visual .note-math-edit-display{border-radius:12px;margin:.8em 0;padding:.7em .9em;display:block}html.dark .phantasi-note__visual .note-math-display,html.dark .phantasi-note__visual .note-math-edit{background:#ffffff0f}html.dark .phantasi-note__visual .note-math:hover{outline-color:#ffffff38}.phantasi-note-preview li>ul,.phantasi-note-preview li>ol{margin:.35em 0 0}html.dark .phantasi-note-preview{color:var(--phantasi-fg-soft,var(--color-gray-300,#d1d5db))}html.dark .phantasi-note-preview h1,html.dark .phantasi-note-preview h2,html.dark .phantasi-note-preview h3,html.dark .phantasi-note-preview h4,html.dark .phantasi-note-preview h5,html.dark .phantasi-note-preview h6{color:var(--phantasi-fg,var(--color-gray-100,#f3f4f6))}html.dark .phantasi-note-preview a{color:var(--phantasi-accent,var(--color-orange-400,#fb923c))}html.dark .phantasi-note-preview blockquote{color:var(--phantasi-fg-dim,var(--color-gray-400,#9ca3af));border-inline-start-color:#ffffff2e}html.dark .phantasi-note-preview code,html.dark .phantasi-note-preview pre{background:#ffffff14}html.dark .phantasi-note-preview hr,html.dark .phantasi-note-preview th,html.dark .phantasi-note-preview td{border-color:#ffffff1f}html.dark .phantasi-note-preview th{background:#ffffff0d}html.dark .phantasi-note-preview li[data-task]:before{border-color:#ffffff59}html.dark .phantasi-note-preview li[data-task="1"]:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");border-color:currentColor}html.dark .phantasi-note-preview p[data-fn]:first-of-type,html.dark .phantasi-note-preview .footnote-definition:first-of-type,html.dark .phantasi-note-preview p:not([data-fn]):not([data-linkdef])+p[data-linkdef],html.dark .phantasi-note-preview p[data-linkdef]:first-child,html.dark .phantasi-note-preview p:not([data-fn]):not([data-linkdef])+.link-definition,html.dark .phantasi-note-preview .link-definition:first-child{border-top-color:#ffffff1f}
