@layer theme,base;@layer components{.dk-prose{--dk-prose-gap:.75em;color:var(--foreground);overflow-wrap:anywhere;text-align:start;font-size:.875rem;line-height:1.6}.dk-prose[data-size=lg]{font-size:1rem;line-height:1.7}.dk-prose>*{margin-block:0}.dk-prose>*+*{margin-block-start:var(--dk-prose-gap)}.dk-prose :is(h1,h2,h3,h4){letter-spacing:0;margin-block-end:0;font-weight:600;line-height:1.35}.dk-prose>:is(h1,h2,h3,h4):not(:first-child){margin-block-start:1.5em}.dk-prose h1{font-size:1.5em}.dk-prose h2{font-size:1.25em}.dk-prose h3{font-size:1.125em}.dk-prose h4{font-size:1em}.dk-prose :is(ul,ol){margin-block:0;padding-inline-start:1.5em}.dk-prose ul{list-style:outside}.dk-prose ul ul{list-style:circle}.dk-prose ul ul ul{list-style:square}.dk-prose ol{list-style:decimal}.dk-prose ol ol{list-style:lower-alpha}.dk-prose li{margin-block-start:.25em}.dk-prose li>p{margin:0}.dk-prose li::marker{color:var(--muted-foreground)}.dk-prose ul[data-type=taskList]{padding-inline-start:0;list-style:none}.dk-prose li[data-type=taskItem]{align-items:flex-start;gap:.5rem;display:flex}.dk-prose li[data-type=taskItem]>label{flex-shrink:0;margin-block-start:.2em;display:inline-flex}.dk-prose li[data-type=taskItem]>div{flex:1;min-width:0}.dk-prose li[data-type=taskItem][data-checked=true]>div{color:var(--muted-foreground);text-decoration:line-through}.dk-prose a{color:var(--primary);text-underline-offset:2px;text-decoration:underline 1px}.dk-prose a:hover{text-decoration-thickness:2px}.dk-prose :is(strong,b){font-weight:600}.dk-prose hr{border:0;border-block-start:1px solid var(--border);margin-block:1.5em}.dk-prose blockquote{border-inline-start:2px solid var(--border);color:var(--muted-foreground);padding-inline-start:.875em}.dk-prose :not(pre)>code{background:var(--muted);border-radius:var(--radius-sm);font-family:var(--font-mono);padding:.125em .375em;font-size:.875em}.dk-prose pre{background:var(--muted);border-radius:var(--radius-lg);font-family:var(--font-mono);tab-size:2;text-align:left;direction:ltr;padding:.75rem 1rem;font-size:.75rem;line-height:1.6;overflow-x:auto}.dk-prose pre code{font:inherit;background:0 0;padding:0}.dk-prose{--shiki-foreground:var(--foreground);--shiki-background:transparent;--shiki-token-keyword:var(--primary);--shiki-token-string:var(--success-text);--shiki-token-string-expression:var(--success-text);--shiki-token-constant:var(--warning-text);--shiki-token-function:var(--syntax-function);--shiki-token-parameter:var(--foreground);--shiki-token-punctuation:var(--muted-foreground);--shiki-token-comment:var(--muted-foreground);--shiki-token-link:var(--primary)}.dk-prose .dk-tok-keyword{color:var(--primary)}.dk-prose .dk-tok-string{color:var(--success-text)}.dk-prose .dk-tok-number{color:var(--warning-text)}.dk-prose .dk-tok-function{color:var(--syntax-function)}.dk-prose .dk-tok-comment{color:var(--muted-foreground);font-style:italic}.dk-prose img{border:1px solid var(--border);border-radius:var(--radius-lg);max-width:100%;height:auto;display:block}.dk-prose .tableWrapper,.dk-prose [data-prose-table]{border:1px solid var(--border);border-radius:var(--radius-lg);overflow-x:auto}.dk-prose table{border-collapse:collapse;min-width:100%}.dk-prose :is(th,td){border-block-end:1px solid var(--border);border-inline-end:1px solid var(--border);text-align:start;vertical-align:top;min-width:7rem;padding:.375rem .625rem}.dk-prose :is(th,td):last-child{border-inline-end:0}.dk-prose tr:last-child>td{border-block-end:0}.dk-prose th{background:color-mix(in srgb, var(--muted) 60%, transparent);font-weight:500}.dk-prose .selectedCell{background:var(--accent)}.dk-prose ::selection{background:color-mix(in srgb, var(--primary) 20%, transparent)}.dk-prose .tableWrapper table{table-layout:fixed;width:100%}.dk-prose :is(th,td){position:relative}.dk-prose .column-resize-handle{background:var(--primary);pointer-events:none;width:2px;position:absolute;inset-block:0;inset-inline-end:-1px}.dk-prose.resize-cursor{cursor:col-resize}.dk-prose [data-type=kaneo-embed]{background:var(--card);border:1px solid var(--border);border-radius:var(--radius-lg);max-width:36rem;overflow:hidden}.dk-prose [data-type=kaneo-embed] iframe{aspect-ratio:16/9;background:var(--brand-panel);border:0;width:100%;display:block}.dk-prose [data-type=kaneo-embed]>a{overflow-wrap:anywhere;padding:.5rem .75rem;display:block}.dk-prose [data-type=kaneo-embed].ProseMirror-selectednode,.dk-prose [data-type=kaneo-embed]:focus-within{border-color:var(--ring);box-shadow:0 0 0 3px color-mix(in srgb, var(--ring) 50%, transparent)}.dk-prose .dk-embed-unsupported,.dk-prose .kaneo-embed-invalid-link{border:1px dashed var(--border);border-radius:var(--radius-lg);color:var(--muted-foreground);overflow-wrap:anywhere;padding:.5rem .75rem;font-size:.875em;display:block}.dk-prose [data-type=kaneo-embed] .dk-embed-unsupported{border:0;border-radius:0}.dk-prose .dk-mermaid-preview{background:var(--card);border:1px solid var(--border);border-radius:var(--radius-lg);direction:ltr;justify-content:center;align-items:center;min-height:8rem;padding:1rem;display:flex;overflow-x:auto}.dk-prose .dk-mermaid-preview svg{max-width:100%;height:auto}.dk-prose .dk-mermaid-preview[data-state=loading]{display:none}.dk-prose .dk-mermaid-preview[data-state=error]{border-color:color-mix(in srgb, var(--destructive) 40%, transparent);direction:inherit;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:.25rem;min-height:0}.dk-prose .dk-mermaid-error-title{color:var(--destructive-text);font-weight:500}.dk-prose .dk-mermaid-error-message{color:var(--muted-foreground);font-family:var(--font-mono);overflow-wrap:anywhere;text-align:start;direction:ltr;font-size:.75rem}.dk-prose :is(.dk-attachment-node,.dk-issue-link-node){vertical-align:middle;max-width:100%;display:inline-flex}.dk-prose .dk-video-node{max-width:36rem;display:flex}.dk-prose .dk-issue-link-node{vertical-align:baseline}.dk-prose [data-type=mention]{white-space:nowrap}.dk-prose li[data-type=taskItem]>.dk-task-item-checkbox{flex:none;margin-block-start:.2em;display:inline-flex}.dk-editor-body{outline:none;min-height:1.6em}.dk-editor-body[data-empty=true]:before,.dk-prose .is-editor-empty:first-child:before{color:var(--muted-foreground);content:attr(data-placeholder);float:inline-start;pointer-events:none;height:0}.dk-comment-editor-content .ProseMirror{min-height:2.25rem;max-height:18rem;padding:.625rem .75rem 2.75rem;overflow-y:auto}.dk-comment-editor[data-readonly=true] .dk-comment-editor-content .ProseMirror{min-height:0;max-height:none;padding:.625rem .75rem;overflow:visible}.dk-prose img.kaneo-editor-image{cursor:zoom-in;object-fit:contain;max-height:32rem}.dk-prose[contenteditable=true] img.kaneo-editor-image.ProseMirror-selectednode{outline:2px solid var(--ring);outline-offset:2px}}@layer utilities;
