.tiptap{outline:none;min-height:60vh}.tiptap p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:hsl(var(--muted-foreground) / .6);pointer-events:none;height:0}.tiptap>*+*{margin-top:.85em}.tiptap h1{letter-spacing:-.02em;margin-top:1.6em;font-size:2.1rem;font-weight:800;line-height:1.15}.tiptap h2{letter-spacing:-.015em;margin-top:1.4em;font-size:1.6rem;font-weight:700;line-height:1.2}.tiptap h3{margin-top:1.2em;font-size:1.25rem;font-weight:700;line-height:1.3}.tiptap h4{margin-top:1.1em;font-size:1.1rem;font-weight:700;line-height:1.35}.tiptap h5{text-transform:uppercase;letter-spacing:.02em;margin-top:1em;font-size:1rem;font-weight:700;line-height:1.4}.tiptap h6{text-transform:uppercase;letter-spacing:.04em;color:hsl(var(--muted-foreground));margin-top:1em;font-size:.9rem;font-weight:700;line-height:1.4}.tiptap p{color:hsl(var(--foreground));font-size:1.0625rem;line-height:1.75}.tiptap a{color:hsl(var(--primary));text-underline-offset:3px;text-decoration:underline}.tiptap ul{padding-left:1.4rem;list-style:outside}.tiptap ol{padding-left:1.4rem;list-style:decimal}.tiptap li>p{margin:0}.tiptap blockquote{border-left:3px solid hsl(var(--primary));color:hsl(var(--muted-foreground));padding:.25rem 0 .25rem 1rem;font-style:italic}.tiptap code{background:hsl(var(--muted));border-radius:4px;padding:.15rem .35rem;font-size:.9em}.tiptap pre{background:hsl(var(--muted));border-radius:12px;padding:1rem;overflow-x:auto}.tiptap pre code{background:0 0;padding:0}.tiptap img{border-radius:12px;max-width:100%;height:auto;margin:1.5rem 0}.tiptap hr{border:none;border-top:1px solid hsl(var(--border));margin:2rem 0}.tiptap mark{background:hsl(var(--primary) / .18);border-radius:3px;padding:0 .2rem}.tiptap table{border-collapse:collapse;border:1px solid hsl(var(--border));width:100%;margin:1rem 0}.tiptap th,.tiptap td{border:1px solid hsl(var(--border));vertical-align:top;padding:.6rem .8rem}.tiptap th{background:hsl(var(--muted));text-align:left;font-weight:600}.slash-menu{background:hsl(var(--popover));color:hsl(var(--popover-foreground));border:1px solid hsl(var(--border));border-radius:12px;width:260px;max-height:320px;padding:6px;overflow-y:auto;box-shadow:0 18px 48px -16px #00000040}.slash-item{text-align:left;cursor:pointer;border-radius:8px;align-items:center;gap:10px;width:100%;padding:8px 10px;font-size:.875rem;display:flex}.slash-item:hover,.slash-item[data-selected=true]{background:hsl(var(--accent))}.slash-item-icon{background:hsl(var(--muted));border-radius:6px;place-items:center;width:32px;height:32px;display:grid}.slash-item-title{font-weight:600}.slash-item-desc{color:hsl(var(--muted-foreground));font-size:11px}.bubble-toolbar{background:hsl(var(--popover));border:1px solid hsl(var(--border));border-radius:10px;gap:2px;padding:4px;display:flex;box-shadow:0 10px 30px -12px #0000004d}.bubble-btn{width:30px;height:30px;color:hsl(var(--foreground));border-radius:6px;place-items:center;display:grid}.bubble-btn:hover{background:hsl(var(--accent))}.bubble-btn[data-active=true]{background:hsl(var(--primary));color:hsl(var(--primary-foreground))}.prose-article{max-width:72ch;color:hsl(var(--foreground));margin-left:auto;margin-right:auto;font-size:clamp(1rem,.95rem + .3vw,1.125rem);line-height:1.8}.prose-article>*+*{margin-top:1.1em}.prose-article h1{letter-spacing:-.02em;margin:2.2rem 0 1rem;scroll-margin-top:100px;font-size:clamp(1.9rem,1.4rem + 2.2vw,2.6rem);font-weight:800;line-height:1.15}.prose-article h2{letter-spacing:-.015em;margin:2.25rem 0 .75rem;scroll-margin-top:100px;font-size:clamp(1.5rem,1.2rem + 1.4vw,2rem);font-weight:700;line-height:1.2}.prose-article h3{margin:1.75rem 0 .5rem;scroll-margin-top:100px;font-size:clamp(1.2rem,1.05rem + .7vw,1.45rem);font-weight:700;line-height:1.3}.prose-article h4{margin:1.5rem 0 .5rem;scroll-margin-top:100px;font-size:clamp(1.05rem,.98rem + .4vw,1.2rem);font-weight:700;line-height:1.35}.prose-article h5{text-transform:uppercase;letter-spacing:.04em;margin:1.25rem 0 .5rem;font-size:1rem;font-weight:700}.prose-article h6{text-transform:uppercase;letter-spacing:.06em;color:hsl(var(--muted-foreground));margin:1.25rem 0 .5rem;font-size:.9rem;font-weight:700}.prose-article p{margin:1rem 0}.prose-article a{color:hsl(var(--primary));text-underline-offset:3px;text-decoration:underline;text-decoration-thickness:1px}.prose-article a:hover{text-decoration-thickness:2px}.prose-article strong{color:hsl(var(--foreground));font-weight:700}.prose-article ul{margin:1rem 0;padding-left:1.4rem;list-style:outside}.prose-article ol{margin:1rem 0;padding-left:1.4rem;list-style:decimal}.prose-article li{margin:.4rem 0;line-height:1.75}.prose-article li>p{margin:.25rem 0}.prose-article blockquote{border-left:4px solid hsl(var(--primary));color:hsl(var(--muted-foreground));background:hsl(var(--muted) / .4);border-radius:0 8px 8px 0;margin:1.75rem 0;padding:.75rem 1.25rem;font-size:1.05em;font-style:italic}.prose-article code{background:hsl(var(--muted));border-radius:4px;padding:.15rem .4rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9em}.prose-article pre{background:hsl(var(--muted));border-radius:12px;margin:1.75rem 0;padding:1.25rem;font-size:.92em;line-height:1.6;overflow-x:auto}.prose-article pre code{background:0 0;padding:0}.prose-article img{border-radius:14px;max-width:100%;height:auto;margin:2rem auto;display:block;box-shadow:0 14px 40px -16px #00000040}.prose-article figure{margin:2rem 0}.prose-article figure figcaption{text-align:center;color:hsl(var(--muted-foreground));margin-top:.5rem;font-size:.9rem}.prose-article hr{border:none;border-top:1px solid hsl(var(--border));margin:2.5rem 0}.prose-article mark{background:hsl(var(--primary) / .18);border-radius:3px;padding:0 .25rem}.prose-article table{border-collapse:collapse;border:1px solid hsl(var(--border));border-radius:8px;width:100%;margin:1.75rem 0;font-size:.95em;display:block;overflow:auto hidden}.prose-article th,.prose-article td{border:1px solid hsl(var(--border));vertical-align:top;padding:.75rem 1rem}.prose-article th{background:hsl(var(--muted));text-align:left;font-weight:600}@media(max-width:640px){.prose-article{line-height:1.7}.prose-article blockquote{margin:1.25rem 0;padding:.5rem .9rem}.prose-article img{border-radius:10px;margin:1.25rem auto}}
