:root{--brand-primary-deep:#2c3e50;--brand-secondary-earth:#7b6b5b;--brand-accent-mindful:#8a9ea8;--brand-accent-spirit:#9a8eb5;--brand-accent-warm:#d4a574;--bg-main:#f9f7f3;--bg-surface:#fff;--bg-soft:#f5f2eb;--bg-muted:#f0ede6;--text-primary:#2c3e50;--text-secondary:#4a5568;--text-muted:#718096;--text-annotation:#a0aec0;--border-default:#e2d8c9;--border-soft:#ede7dd;--border-strong:#c9b8a4;--border-divider:#d5ccc1;--font-body:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",sans-serif;--font-heading:Georgia,"Times New Roman",Times,serif;--font-quote:Georgia,"Times New Roman",Times,serif;--fs-base:16px;--fs-sm:14px;--fs-lg:18px;--fs-xl:22px;--fs-2xl:28px;--fs-3xl:34px;--shadow-sm:0 1px 3px #2c3e500d}.prose-mirror-content,.content-view{background:var(--bg-surface);max-width:100%;color:var(--text-primary);font-family:var(--font-body);font-size:var(--fs-base);border:none;padding:1.5rem;line-height:1.75;border-radius:0!important}.prose-mirror-content *,.content-view *{border-radius:0!important}.prose-mirror-content h1,.content-view h1{font-family:var(--font-heading);font-size:var(--fs-3xl);color:var(--brand-primary-deep);letter-spacing:-.01em;margin-top:2rem;margin-bottom:1rem;font-weight:600;line-height:1.2}.prose-mirror-content h2,.content-view h2{font-family:var(--font-heading);font-size:var(--fs-2xl);border-bottom:1px solid var(--border-divider);color:var(--brand-primary-deep);margin-top:1.75rem;margin-bottom:.75rem;padding-bottom:.3rem;font-weight:500;line-height:1.3}.prose-mirror-content h3,.content-view h3{font-family:var(--font-heading);font-size:var(--fs-xl);color:var(--text-primary);margin-top:1.5rem;margin-bottom:.5rem;font-weight:500;line-height:1.4}.prose-mirror-content h4,.content-view h4{font-family:var(--font-heading);font-size:var(--fs-lg);color:var(--text-secondary);margin-top:1.25rem;margin-bottom:.5rem;font-weight:500}.prose-mirror-content p,.content-view p{margin-bottom:1rem;line-height:1.75}.prose-mirror-content strong,.content-view strong{color:var(--brand-primary-deep);font-weight:600}.prose-mirror-content em,.content-view em{font-style:italic}.prose-mirror-content u,.content-view u{text-decoration:underline}.prose-mirror-content del,.content-view del{opacity:.7;text-decoration:line-through}.prose-mirror-content ul,.content-view ul{margin:.75rem 0 .75rem 1.8rem;padding-left:0;list-style-type:disc}.prose-mirror-content ol,.content-view ol{margin:.75rem 0 .75rem 1.8rem;padding-left:0;list-style-type:decimal}.prose-mirror-content li,.content-view li{margin-bottom:.25rem}.prose-mirror-content ul ul,.content-view ul ul{list-style-type:circle}.prose-mirror-content ol ol,.content-view ol ol{list-style-type:lower-alpha}.prose-mirror-content ul[data-type=taskList],.content-view ul[data-type=taskList]{margin-left:0;padding-left:0;list-style:none}.prose-mirror-content .task-item,.content-view .task-item{align-items:flex-start;gap:.5rem;display:flex}.prose-mirror-content .task-item input,.content-view .task-item input{width:1.1rem;height:1.1rem;accent-color:var(--brand-accent-mindful);margin-top:.2rem}.prose-mirror-content blockquote,.content-view blockquote{border-left:4px solid var(--brand-accent-mindful);background:var(--bg-soft);font-family:var(--font-quote);color:var(--text-secondary);margin:1rem 0;padding:.75rem 1.5rem;font-style:italic;line-height:1.6}.prose-mirror-content blockquote p,.content-view blockquote p{margin-bottom:.5rem}.prose-mirror-content code,.content-view code{background:var(--bg-muted);color:#5d7b8a;border:1px solid var(--border-soft);padding:.2rem .4rem;font-family:SF Mono,Monaco,Cascadia Code,monospace;font-size:.9em}.prose-mirror-content pre,.content-view pre{color:#e2e8f0;background:#1e293b;border:none;margin:1rem 0;padding:1rem;font-size:.85rem;line-height:1.5;overflow-x:auto}.prose-mirror-content pre code,.content-view pre code{color:inherit;background:0 0;border:none;padding:0}.prose-mirror-content table,.content-view table,.prose-mirror-content .editor-table,.content-view .editor-table{border-collapse:collapse;border:2px solid var(--border-strong);width:100%;margin:1.5rem 0;font-size:.9rem}.prose-mirror-content th,.prose-mirror-content td,.content-view th,.content-view td,.prose-mirror-content .editor-table th,.prose-mirror-content .editor-table td,.content-view .editor-table th,.content-view .editor-table td{border:1px solid var(--border-default);vertical-align:top;background-color:var(--bg-surface);padding:.6rem .8rem}.prose-mirror-content th,.content-view th,.prose-mirror-content .editor-table th,.content-view .editor-table th{background-color:var(--bg-soft);text-align:left;border-bottom-width:2px;font-weight:600}.prose-mirror-content tr:hover td,.content-view tr:hover td,.prose-mirror-content .editor-table tr:hover td,.content-view .editor-table tr:hover td{background-color:var(--bg-soft)}.prose-mirror-content img,.content-view img,.prose-mirror-content .editor-image,.content-view .editor-image{max-width:100%;height:auto;box-shadow:var(--shadow-sm);margin:1.5rem 0}.prose-mirror-content hr,.content-view hr{border:none;border-top:1px solid var(--border-divider);background:0 0;margin:2rem 0}.prose-mirror-content a,.content-view a{color:var(--brand-accent-mindful);text-decoration:underline;transition:color .2s}.prose-mirror-content a:hover,.content-view a:hover{color:var(--brand-primary-deep)}@media (max-width:768px){.prose-mirror-content,.content-view{padding:1rem;font-size:15px}.prose-mirror-content h1,.content-view h1{font-size:28px}.prose-mirror-content h2,.content-view h2{font-size:24px}.prose-mirror-content table,.content-view table,.prose-mirror-content .editor-table,.content-view .editor-table{white-space:nowrap;display:block;overflow-x:auto}}@media print{.prose-mirror-content,.content-view{color:#000;background:#fff;padding:0}.prose-mirror-content a:after,.content-view a:after{content:" (" attr(href)")"}}.scrollbar-thin::-webkit-scrollbar{height:4px}.scrollbar-thin::-webkit-scrollbar-track{background:#1a1a1a;border-radius:10px}.scrollbar-thin::-webkit-scrollbar-thumb{background:#d4af37;border-radius:10px}.tts-highlight{background:#d4af3733;border-radius:4px;transition:background .2s}
