.ProseMirror{outline:none;word-wrap:break-word;overflow-wrap:break-word;word-break:break-word}.ProseMirror-hideselection ::-moz-selection{background:rgb(var(--accent))!important;color:rgb(var(--foreground))!important}.ProseMirror-hideselection ::selection{background:rgb(var(--accent))!important;color:rgb(var(--foreground))!important}.ProseMirror p.is-editor-empty:first-child:before{color:rgb(var(--muted-foreground));content:attr(data-placeholder);float:left;height:0;pointer-events:none}.ProseMirror a{color:rgb(var(--primary));text-decoration:underline;cursor:pointer}.ProseMirror a:hover{color:rgb(var(--primary)/.8)}.ProseMirror h1{font-size:1.5rem;line-height:2rem;margin-top:1.5rem;margin-bottom:1rem}.ProseMirror h1,.ProseMirror h2{font-weight:600;color:rgb(var(--foreground))}.ProseMirror h2{font-size:1.25rem;line-height:1.75rem;margin-top:1.25rem;margin-bottom:.75rem}.ProseMirror h3{font-size:1.125rem;font-weight:600;line-height:1.5rem;margin-top:1rem;margin-bottom:.5rem;color:rgb(var(--foreground))}.ProseMirror p{margin-bottom:.75rem;line-height:1.625;color:rgb(var(--foreground))}.ProseMirror strong{font-weight:600;color:rgb(var(--foreground))}.ProseMirror em{font-style:italic;color:rgb(var(--foreground))}.ProseMirror:focus{outline:none}.ProseMirror ::-moz-selection{background-color:rgb(var(--accent))}.ProseMirror ::selection{background-color:rgb(var(--accent))}.ProseMirror table{border-collapse:collapse;table-layout:fixed;width:100%;margin:0;overflow:hidden}.ProseMirror table td,.ProseMirror table th{min-width:1em;border:1px solid var(--border);padding:3px 5px;vertical-align:top;box-sizing:border-box;position:relative}.ProseMirror table th{font-weight:700;text-align:left;background-color:rgb(var(--foreground)/.05)}.ProseMirror table .selectedCell:after{z-index:2;position:absolute;content:"";left:0;right:0;top:0;bottom:0;background:rgba(var(--primary),.4);pointer-events:none}.ProseMirror table .column-resize-handle{position:absolute;right:-2px;top:0;bottom:-2px;width:4px;background-color:var(--primary);pointer-events:none}.ProseMirror table p{margin:0}.resize-cursor{cursor:ew-resize;cursor:col-resize}.prose table{border-collapse:collapse;width:100%;margin:1rem 0;border:1px solid var(--border)}.prose table td,.prose table th{border:1px solid rgb(var(--border)/1);padding:.5rem;text-align:left;vertical-align:top}.prose table th{background-color:rgb(var(--foreground)/.05);font-weight:600}.prose table tr:hover,.prose table tr:nth-child(2n){background-color:var(--card)}.prose table p{margin:0;padding:0}.ProseMirror details{margin:1rem 0;border:1px solid rgb(var(--border));border-radius:.375rem;overflow:hidden;background-color:rgb(var(--card))}.ProseMirror details summary{padding:.75rem 1rem;font-weight:600;cursor:text;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:rgb(var(--foreground));list-style:none}.ProseMirror details summary::-webkit-details-marker{display:none}.ProseMirror details summary::marker{display:none}.ProseMirror details summary:before{content:"▶";display:inline-block;cursor:pointer;pointer-events:auto;margin-right:.5rem;transition:transform .2s;color:rgb(var(--muted-foreground))}.ProseMirror details[open] summary:before{transform:rotate(90deg)}.ProseMirror details summary:hover{background-color:rgb(var(--muted)/.5)}.ProseMirror details>:not(summary){padding:.75rem 1rem;margin:0}.ProseMirror details[open]>:not(summary){animation:slideDown .2s ease-out}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.prose details{margin:1rem 0;border:1px solid rgb(var(--border));border-radius:.375rem;overflow:hidden;background-color:rgb(var(--muted))}.prose details summary{padding:.5rem .75rem;font-weight:600;cursor:text;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:rgb(var(--foreground));list-style:none;font-size:.875rem}.prose details summary::-webkit-details-marker{display:none}.prose details summary::marker{display:none}.prose details summary:before{content:"▶";display:inline-block;cursor:pointer;pointer-events:auto;margin-right:.5rem;transition:transform .2s;color:rgb(var(--muted-foreground));font-size:.75rem}.prose details summary:before:hover{border:1px solid rgb(var(--border));border-radius:.375rem}.prose details[open] summary:before{transform:rotate(90deg)}.prose details summary:focus{border:none}.prose details>:not(summary){padding:.5rem .75rem;margin:0;font-size:.875rem}.prose details[open]>:not(summary){animation:slideDown .2s ease-out}.rich-text-preview,.rich-text-preview .ProseMirror,.rich-text-preview .ProseMirror h1,.rich-text-preview .ProseMirror h2,.rich-text-preview .ProseMirror h3,.rich-text-preview .ProseMirror li,.rich-text-preview .ProseMirror p,.rich-text-preview .ProseMirror td,.rich-text-preview .ProseMirror th{word-wrap:break-word;overflow-wrap:break-word;word-break:break-word}