/* Reading view typography, set against Notion / Bear / Obsidian reading mode:
   about 70 characters per line, darker text, calm headings, borderless images,
   quiet quotes and small citation marks. Applies to the note preview only. */
.body-preview{max-width:720px;margin:0 auto;padding:18px 0 40px;font-size:16.5px;line-height:1.85;color:#2b2c29;letter-spacing:-.1px;word-break:keep-all;overflow-wrap:anywhere}
.body-preview>:first-child{margin-top:0}
.body-preview p{margin:0 0 .95em}
.body-preview h1,.body-preview h2,.body-preview h3,.body-preview h4{color:#1f201d;line-height:1.4;letter-spacing:-.3px}
.body-preview h2{font-size:1.45em;font-weight:700;margin:2.1em 0 .6em;padding-top:.7em;border-top:1px solid #efeee9}
.body-preview h3{font-size:1.2em;font-weight:700;margin:1.7em 0 .5em}
.body-preview h4{font-size:1.02em;font-weight:700;margin:1.4em 0 .35em;color:#3a3b37}
.body-preview ul,.body-preview ol{margin:0 0 1em;padding-left:1.5em}
.body-preview li{margin:.25em 0;padding-left:.15em}
.body-preview li::marker{color:#9a968d}
.body-preview strong{font-weight:700;color:#1f201d}
.body-preview a{color:#2f6f5e;text-decoration:underline;text-decoration-color:#2f6f5e55;text-underline-offset:3px}
.body-preview a:hover{text-decoration-color:currentColor}
.body-preview blockquote{margin:1.2em 0;padding:.2em 0 .2em 1.1em;border-left:3px solid #d8d4ca;background:none;color:#4b4a45}
.body-preview blockquote p{margin:.3em 0}
.body-preview blockquote p:last-child:not(:first-child){font-size:.88em;color:#8a877f}
.body-preview hr.markdown-divider{border:0;border-top:1px solid #e8e6e0;margin:2em auto;width:40%}
.body-preview .inline-attachment-embed{display:block;margin:1.4em auto;padding:0;border:0;background:none;text-align:center;width:100%}
.body-preview .inline-attachment-embed img{margin:0 auto;border-radius:8px;box-shadow:0 1px 2px #0000000f,0 0 0 1px #0000000d;max-height:720px}
.body-preview .inline-attachment-embed span{display:block;margin-top:6px;font-size:12px;color:#a3a097;opacity:0;transition:opacity .15s}
.body-preview .inline-attachment-embed:hover span,.body-preview .inline-attachment-embed:focus-visible span{opacity:1}
.body-preview .md-cite{font-size:.62em;line-height:0;margin-left:2px;vertical-align:super}
.body-preview .md-cite a{text-decoration:none;color:#a7a399;padding:0 1px}
.body-preview .md-cite a:hover{color:#2f6f5e}
.body-preview .md-autolink{word-break:break-all}
.body-preview .md-link-card a{display:inline-flex;align-items:center;gap:8px;max-width:100%;padding:10px 14px;border:1px solid #e6e4de;border-radius:8px;background:#fafaf8;text-decoration:none;color:#2b2c29;font-size:.95em}
.body-preview .md-link-card a:hover{border-color:#cfcbc0;background:#f5f4f0}
.body-preview .markdown-callout{margin:1.2em 0;border-radius:8px}
.body-preview .markdown-callout[data-callout="info"]{font-size:.9em;color:#6b6860}
.body-preview .markdown-task{display:flex;gap:8px;align-items:flex-start;margin:.25em 0}
.body-preview .markdown-task input{margin-top:.45em}
.body-preview .markdown-table-scroll{margin:1.2em 0}
.body-preview del{color:#9a968d}
.body-preview .just-inserted{outline:3px solid #2f6f5e66;outline-offset:6px;border-radius:8px;transition:outline-color .6s}
/* AI reference answers written in place: clearly marked, visibly not the user's own words. */
.markdown-callout.callout-ai{--callout-color:#3f5f9a;--callout-background:#f1f5fc}
.body-preview .markdown-callout.callout-ai{font-size:.95em;border-left:3px solid #8aa4d6}
.body-preview .markdown-callout.callout-ai .callout-heading::before{content:'AI ';font-size:.72em;font-weight:700;letter-spacing:.5px;padding:1px 5px;margin-right:6px;border-radius:4px;background:#3f5f9a;color:#fff;vertical-align:2px}
/* PDF/PPTX pages shown where the file was placed in the body. */
.body-preview .inline-deck{margin:1.6em 0;padding:14px 14px 4px;border:1px solid #e6e4de;border-radius:10px;background:#fbfbfa}
.body-preview .inline-deck .slide-deck-head h3{margin:0 0 8px;padding:0;border:0;font-size:1em}
.body-preview .inline-deck .slide-toolbar{top:90px;margin-bottom:12px}
.body-preview .inline-deck .slide-card:last-child{border-bottom:0;margin-bottom:6px}
.body-preview .inline-deck .slide-note{font-size:15px}
@media(max-width:700px){.body-preview{font-size:16px;line-height:1.8;padding-top:10px}.body-preview h2{font-size:1.3em}.body-preview .inline-deck{padding:10px 8px 2px;margin-left:-4px;margin-right:-4px}}
