.tiptap-editor .tt-link{color:var(--color-link,#3b82f6);cursor:pointer;text-decoration:underline}.post-preview--admin{box-sizing:border-box;padding-left:calc(1rem + 1px);padding-right:calc(1rem + 1px);line-height:1.5}.post-preview--admin :where(p){margin:.5em 0}.post-preview--admin :where(h2){margin:1em 0 .4em}.post-preview--admin :where(h3){margin:.85em 0 .35em}.post-preview--admin :where(ul),.post-preview--admin :where(ol){margin:.5em 0;padding-left:1.4em}.post-preview--admin :where(li),.post-preview--admin :where(li>p){margin:0}.post-preview--admin :where(blockquote),.post-preview--admin :where(pre){margin:.75em 0}.tiptap-editor .back-block,.post-preview .back-block{border:1px solid color-mix(in srgb, currentColor 8%, transparent);background-color:var(--bb-light);overflow-wrap:anywhere;word-break:break-word;border-radius:.5rem;min-width:0;max-width:100%;margin:.75rem 0;padding:.75rem 1rem}.tiptap-editor .back-block__title,.post-preview .back-block__title{color:#18181b;margin-bottom:.25rem;font-size:.95rem;font-weight:700}.tiptap-editor .back-block__title:empty,.post-preview .back-block__title:empty{display:none}.tiptap-editor .back-block--editor{position:relative}.tiptap-editor .back-block--editor .back-block__controls{opacity:0;pointer-events:none;align-items:center;gap:.25rem;transition:opacity .12s;display:flex;position:absolute;top:.25rem;right:.25rem}.tiptap-editor .back-block--editor:hover .back-block__controls,.tiptap-editor .back-block--editor:focus-within .back-block__controls{opacity:1;pointer-events:auto}.tiptap-editor .back-block--editor .back-block__color-native{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.back-block__trigger{border:1px solid var(--border,#e4e4e7);background:var(--background,#fff);height:1.5rem;color:var(--muted-foreground,#737373);cursor:pointer;border-radius:.375rem;align-items:center;gap:.375rem;padding:0 .4rem 0 .3rem;font-size:.7rem;transition:background .1s,color .1s,border-color .1s;display:inline-flex}.back-block__trigger:hover{background:var(--accent,#f4f4f5);color:var(--accent-foreground,#18181b);border-color:var(--ring,#d4d4d8)}.back-block__delete{width:1.5rem;height:1.5rem;color:var(--muted-foreground,#737373);cursor:pointer;background:0 0;border:0;border-radius:.375rem;justify-content:center;align-items:center;transition:background .1s,color .1s;display:inline-flex}.back-block__delete:hover{background:var(--accent,#f4f4f5);color:var(--destructive,#dc2626)}.back-block__delete:focus-visible{outline:2px solid var(--ring,#18181b);outline-offset:1px}.dark .back-block__delete:hover{color:color-mix(in srgb, var(--destructive,#dc2626) 75%, var(--muted-foreground,#737373))}.back-block__append{border:1px solid var(--border,#e4e4e7);background:var(--background,#fff);width:1.5rem;height:1.5rem;color:var(--muted-foreground,#737373);cursor:pointer;border-radius:.375rem;justify-content:center;align-items:center;transition:background .1s,color .1s,border-color .1s;display:inline-flex}.back-block__append:hover{background:var(--accent,#f4f4f5);color:var(--accent-foreground,#18181b);border-color:var(--ring,#d4d4d8)}.back-block__trigger-tile{background:linear-gradient(135deg, var(--tile-light) 0%, var(--tile-light) 50%, var(--tile-dark) 50%, var(--tile-dark) 100%);width:.85rem;height:.85rem;box-shadow:0 0 0 1px var(--border,#e4e4e7) inset;border-radius:.25rem}.back-block__tile{cursor:pointer;background:linear-gradient(135deg, var(--tile-light) 0%, var(--tile-light) 50%, var(--tile-dark) 50%, var(--tile-dark) 100%);width:1.85rem;height:1.85rem;box-shadow:0 0 0 1px var(--border,#e4e4e7) inset;border:0;border-radius:.375rem;padding:0;transition:transform 80ms,box-shadow 80ms;display:inline-block}.back-block__tile:hover{box-shadow:0 0 0 1px var(--ring,#000) inset;transform:scale(1.08)}.back-block__tile--active{box-shadow:0 0 0 2px var(--ring,#18181b), 0 0 0 4px var(--background,#fff)}.back-block__panel{flex-direction:column;gap:.5rem;width:17.5rem;padding:.75rem;display:flex}.back-block__panel-label{color:var(--muted-foreground,#737373);text-transform:uppercase;letter-spacing:.04em;font-size:.7rem;font-weight:600}.back-block__panel-grid{grid-template-columns:repeat(7,minmax(0,1fr));justify-items:center;gap:.375rem;display:grid}.back-block__custom-row{align-items:center;gap:.5rem;display:flex}.back-block__custom-caption{color:var(--muted-foreground,#737373);width:4rem;font-size:.75rem}.back-block__color-field{align-items:center;gap:.5rem;display:inline-flex}.back-block__color-input{border:1px solid var(--border,#e4e4e7);cursor:pointer;background:0 0;border-radius:.375rem;width:1.85rem;height:1.85rem;padding:0}.back-block__color-input::-webkit-color-swatch-wrapper{padding:2px}.back-block__color-input::-webkit-color-swatch{border:0;border-radius:.25rem}.back-block__color-hex{color:var(--foreground,#18181b);letter-spacing:.02em;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.75rem}.back-block__custom-toggle{color:var(--foreground,#18181b);cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:.5rem;font-size:.8125rem;display:flex}.back-block__custom-toggle input[type=checkbox]{cursor:pointer;width:.95rem;height:.95rem}.back-block__auto-row{background:var(--muted,#f4f4f5);border:1px solid var(--border,#e4e4e7);border-radius:.375rem;align-items:center;gap:.5rem;padding:.4rem .5rem;display:flex}.back-block__auto-swatch{width:1.1rem;height:1.1rem;box-shadow:0 0 0 1px var(--border,#e4e4e7) inset;border-radius:.25rem;flex-shrink:0}.back-block__auto-text{color:var(--foreground,#18181b);flex-wrap:wrap;align-items:baseline;gap:.4rem;font-size:.75rem;display:flex}.back-block__auto-hex{color:var(--foreground,#18181b);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.75rem}.back-block__auto-note{color:var(--muted-foreground,#737373);font-size:.7rem;font-style:italic}.tiptap-editor .back-block--editor .back-block__title-input{color:#18181b;resize:none;overflow-wrap:anywhere;word-break:break-word;background:0 0;border:0;outline:none;width:100%;margin-bottom:.25rem;padding:0;font-family:inherit;font-size:.95rem;font-weight:700;line-height:1.4;overflow:hidden}.tiptap-editor .back-block--editor .back-block__title-input::placeholder{color:color-mix(in srgb, currentColor 35%, transparent);font-weight:600}.tiptap-editor .back-block__body,.post-preview .back-block__body{color:#27272a;overflow-wrap:anywhere;word-break:break-word;min-width:0;line-height:1.45}.tiptap-editor .back-block__body :where(p),.post-preview .back-block__body :where(p){line-height:inherit;margin:.375rem 0}.tiptap-editor .back-block__body>p:first-child,.post-preview .back-block__body>p:first-child,.tiptap-editor .back-block__body>[data-node-view-content-react]>p:first-child,.post-preview .back-block__body>[data-node-view-content-react]>p:first-child{margin-top:0}.tiptap-editor .back-block__body>p:last-child,.post-preview .back-block__body>p:last-child,.tiptap-editor .back-block__body>[data-node-view-content-react]>p:last-child,.post-preview .back-block__body>[data-node-view-content-react]>p:last-child{margin-bottom:0}.dark .tiptap-editor .back-block,.dark .post-preview .back-block{background-color:var(--bb-dark)}.dark .tiptap-editor .back-block__title,.dark .post-preview .back-block__title,.dark .tiptap-editor .back-block--editor .back-block__title-input{color:#fafafa}.dark .tiptap-editor .back-block__body,.dark .post-preview .back-block__body{color:#e4e4e7}.tiptap-editor .grid-blocks,.post-preview .grid-blocks{grid-template-columns:1fr;gap:.75rem;margin:.75rem 0;display:grid}@media (min-width:640px){.tiptap-editor .grid-blocks--2,.post-preview .grid-blocks--2{grid-template-columns:repeat(2,minmax(0,1fr))}.tiptap-editor .grid-blocks--3,.post-preview .grid-blocks--3{grid-template-columns:repeat(3,minmax(0,1fr))}.tiptap-editor .grid-blocks--4,.post-preview .grid-blocks--4{grid-template-columns:repeat(4,minmax(0,1fr))}}.tiptap-editor .grid-blocks>.back-block,.post-preview .grid-blocks>.back-block,.post-preview .grid-blocks>.react-renderer>.back-block{margin:0}.tiptap-editor .grid-blocks>.react-renderer,.post-preview .grid-blocks>.react-renderer{flex-direction:column;min-width:0;display:flex}.tiptap-editor .grid-blocks>.react-renderer>.back-block,.post-preview .grid-blocks>.react-renderer>.back-block{flex-grow:1}.tiptap-editor hr.separator,.post-preview hr.separator{border:0;border-top:1px solid var(--border,#e4e4e7);margin:1.25rem 0}.tiptap-editor .url-video,.post-preview .url-video{margin:.75rem 0}.tiptap-editor .url-video__iframe,.post-preview .url-video__iframe{aspect-ratio:16/9;border:0;border-radius:.5rem;width:100%}.tiptap-editor .tableWrapper,.post-preview .tableWrapper{border-collapse:collapse;width:100%;max-width:100%;margin:.75rem 0;font-size:.875rem;position:relative;overflow-x:auto}.tiptap-editor .tableWrapper table,.post-preview .tableWrapper table{table-layout:fixed;border-collapse:collapse;width:max-content;max-width:100%;font-size:inherit;margin:0}.post-preview table.tt-table{table-layout:fixed;border-collapse:collapse;width:max-content;max-width:100%;margin:.75rem 0;font-size:.875rem}.tiptap-editor.resize-cursor,.tiptap-editor.resize-cursor *{cursor:col-resize}.tiptap-editor .column-resize-handle{pointer-events:none;background:0 0;width:3px;transition:background-color .12s;position:absolute;top:0;bottom:0;right:0}.tiptap-editor .tableWrapper td:hover>.column-resize-handle,.tiptap-editor .tableWrapper th:hover>.column-resize-handle{background:color-mix(in srgb, var(--brand) 40%, transparent);width:2px}.tiptap-editor .tableWrapper td.column-resize-dragging>.column-resize-handle,.tiptap-editor .tableWrapper th.column-resize-dragging>.column-resize-handle{background:var(--brand);width:2px}.tiptap-editor .tableWrapper th,.tiptap-editor .tableWrapper td,.post-preview .tableWrapper th,.post-preview .tableWrapper td,.post-preview table.tt-table th,.post-preview table.tt-table td{vertical-align:top;overflow-wrap:anywhere;word-break:break-word;border:1px solid #c9c9cf;min-height:1.75rem;padding:.5rem .75rem;position:relative}.tiptap-editor .tableWrapper th p,.tiptap-editor .tableWrapper td p,.post-preview .tableWrapper th p,.post-preview .tableWrapper td p,.post-preview table.tt-table th p,.post-preview table.tt-table td p{overflow-wrap:anywhere;word-break:break-word}.dark .tiptap-editor .tableWrapper th,.dark .tiptap-editor .tableWrapper td,.dark .post-preview .tableWrapper th,.dark .post-preview .tableWrapper td,.dark .post-preview table.tt-table th,.dark .post-preview table.tt-table td{border-color:#3d3d42}.tiptap-editor .tableWrapper th,.post-preview .tableWrapper th,.post-preview table.tt-table th{text-align:left;background:#f2f2f3;border-bottom:2px solid #afafb6;font-weight:600}.dark .tiptap-editor .tableWrapper th,.dark .post-preview .tableWrapper th,.dark .post-preview table.tt-table th{background:#1d1d20;border-bottom-color:#62626a}.tiptap-editor .tableWrapper td:empty,.tiptap-editor .tableWrapper th:empty{min-width:4rem}.tiptap-editor .tableWrapper .selectedCell,.tiptap-editor .selectedCell{outline-offset:-1px;background:color-mix(in srgb, var(--brand) 15%, transparent)!important;outline:1px solid var(--brand)!important}.tiptap-editor .tableWrapper td:hover{background:#ececee}.dark .tiptap-editor .tableWrapper td:hover{background:#2c2c30}.tiptap-editor .tableWrapper .selectedCell:hover{background:color-mix(in srgb, var(--brand) 15%, transparent)!important}.tiptap-editor .tableWrapper.ProseMirror-selectednode{outline-offset:2px;outline:2px solid var(--brand)!important}.tiptap-editor .ProseMirror-selectednode{outline:2px solid var(--ring,#6366f1);outline-offset:2px}.tiptap-editor .table-mode-btn{color:#61616b;cursor:pointer;z-index:20;opacity:0;pointer-events:auto;background:#efeff0;border:1px solid #bcbcc2;border-radius:3px;width:22px;height:22px;padding:3px;line-height:0;transition:opacity .12s,background .1s,color .1s;position:absolute;top:2px;right:2px}.tiptap-editor .tableWrapper:hover .table-mode-btn,.tiptap-editor .tableWrapper.ProseMirror-selectednode .table-mode-btn{opacity:1}.tiptap-editor .table-mode-btn:hover{color:#303036;background:#dadadd}.tiptap-editor .table-mode-btn:active{background:#c9c9cf}.dark .tiptap-editor .table-mode-btn{color:#a2a2a9;background:#27272a;border-color:#4e4e55}.dark .tiptap-editor .table-mode-btn:hover{color:#d7d7da;background:#3b3b40}.tt-image{border-radius:.375rem;max-width:100%;height:auto;display:block}.tt-image[data-align=center]{margin-left:auto;margin-right:auto}.tt-image[data-align=left]{margin-left:0;margin-right:auto}.tt-image[data-align=right]{margin-left:auto;margin-right:0}.tt-image__img{border-radius:.375rem;width:100%;height:auto;margin:0;display:block}.tiptap-editor .tt-image--editor{position:relative}.tiptap-editor .tt-image.ProseMirror-selectednode{outline:none}.tt-image__controls{background:var(--popover,#fff);border:1px solid var(--border,#e4e4e7);z-index:50;border-radius:.5rem;flex-wrap:wrap;align-items:center;gap:.25rem;width:max-content;max-width:none;padding:.25rem;display:flex;box-shadow:0 2px 8px -2px #0000001f}.tt-image__group{align-items:center;gap:.125rem;display:inline-flex}.tt-image__btn{width:1.5rem;height:1.5rem;color:var(--muted-foreground,#737373);cursor:pointer;background:0 0;border:0;border-radius:.25rem;justify-content:center;align-items:center;font-family:inherit;font-size:.7rem;transition:background .1s,color .1s;display:inline-flex}.tt-image__btn--text{letter-spacing:0;width:auto;padding:0 .4rem;font-weight:600}.tt-image__btn:hover{background:var(--accent,#f4f4f5);color:var(--accent-foreground,#18181b)}.tt-image__btn--active{background:var(--accent,#f4f4f5);color:var(--accent-foreground,#18181b);box-shadow:inset 0 0 0 1px var(--ring,#d4d4d8)}.tt-image__divider{background:var(--border,#e4e4e7);width:1px;height:1rem}.tt-image__slider{flex:100%;width:auto;margin-top:.125rem}.tiptap-editor .tt-image__handle{width:1.5rem;height:1.5rem;color:var(--muted-foreground,#737373);cursor:grab;background:0 0;border:0;border-radius:.25rem;justify-content:center;align-items:center;transition:background .1s;display:inline-flex}.tiptap-editor .tt-image__handle--corner{background:var(--popover,#fff);border:1px solid var(--border,#e4e4e7);opacity:0;pointer-events:none;z-index:6;width:1.75rem;height:1.75rem;transition:opacity .12s .18s;position:absolute;top:.375rem;right:.375rem;box-shadow:0 2px 8px -2px #0000002e}.tiptap-editor .tt-image--editor:hover .tt-image__handle--corner,.tiptap-editor .tt-image--editor:focus-within .tt-image__handle--corner,.tiptap-editor .tt-image--editor.tt-image--selected .tt-image__handle--corner{opacity:1;pointer-events:auto;transition-delay:0s}.tiptap-editor .tt-image__handle:hover{background:var(--accent,#f4f4f5);color:var(--accent-foreground,#18181b)}.tiptap-editor .tt-image__handle:active{cursor:grabbing}.flex-columns{gap:.75rem;margin:.75rem 0;display:grid}.flex-column{overflow-wrap:anywhere;word-break:break-word;min-width:0}.flex-columns--node-view{display:block;position:relative}.flex-columns__row{display:block}.flex-columns--node-view>.flex-columns__row>[data-node-view-content-react]{grid-template-columns:var(--flex-columns-template,1fr 1fr);gap:.75rem;display:grid}.tiptap-editor .flex-columns--editor .flex-column{border:1px dashed var(--border,#e4e4e7);border-radius:.375rem;min-height:3rem;padding:.5rem}.tiptap-editor .flex-columns__divider{cursor:col-resize;z-index:5;background:0 0;width:6px;transition:background .1s;position:absolute;top:0;bottom:0;transform:translate(-50%)}.tiptap-editor .flex-columns__divider:hover,.tiptap-editor .flex-columns__divider--active{background:color-mix(in srgb, var(--brand) 40%, transparent)}.tiptap-editor .flex-columns__controls{opacity:0;pointer-events:none;z-index:6;gap:.25rem;transition:opacity .12s;display:flex;position:absolute;top:.25rem;right:.25rem}.tiptap-editor .flex-columns--editor:hover .flex-columns__controls,.tiptap-editor .flex-columns--editor:focus-within .flex-columns__controls{opacity:1;pointer-events:auto}.tiptap-editor .flex-columns__btn{border:1px solid var(--border,#e4e4e7);background:var(--background,#fff);width:1.5rem;height:1.5rem;color:var(--muted-foreground,#737373);cursor:pointer;border-radius:.375rem;justify-content:center;align-items:center;font-size:.85rem;line-height:1;transition:background .1s,color .1s,border-color .1s;display:inline-flex}.tiptap-editor .flex-columns__btn:hover{background:var(--accent,#f4f4f5);color:var(--accent-foreground,#18181b);border-color:var(--ring,#d4d4d8)}.tt-dropcursor{pointer-events:none;z-index:60;background:var(--brand,#2563eb);border-radius:1px;display:none;position:fixed}.tt-dropcursor.is-block{height:2px}.tt-dropcursor.is-inline{width:2px}.tt-dropcursor.is-visible{display:block}.tiptap-editor .ProseMirror-gapcursor{pointer-events:none;display:block}.tiptap-editor .ProseMirror-gapcursor:after{content:"";border-top:2px solid var(--brand,#2563eb);width:100%;margin-top:-1px;animation:1.1s steps(2,end) infinite tt-gap-cursor-blink;display:block}@keyframes tt-gap-cursor-blink{to{opacity:0}}
