[data-select-viewport],[data-combobox-viewport]{scrollbar-width:none!important;-ms-overflow-style:none!important;-webkit-overflow-scrolling:touch!important}[data-combobox-viewport]::-webkit-scrollbar{display:none!important}[data-select-viewport]::-webkit-scrollbar{display:none!important}.tiptap-editor .tiptap[contenteditable=false]{cursor:default;caret-color:transparent}.tiptap-editor .tiptap a{color:var(--primary);text-decoration:underline;cursor:pointer}.tiptap-editor .tiptap table{border-spacing:0;border-collapse:separate;width:100%;border:.5px solid #e2e8f0;border-radius:4px;overflow:hidden}.tiptap-editor .tiptap .tableWrapper{overflow-x:auto;position:relative}.tiptap-editor .tiptap td,.tiptap-editor .tiptap th{border-right:.5px solid #e2e8f0;border-bottom:.5px solid #e2e8f0;padding:10px 14px;font-size:13px;position:relative;box-sizing:border-box;vertical-align:top}.tiptap-editor .tiptap td:last-child,.tiptap-editor .tiptap th:last-child{border-right:none}.tiptap-editor .tiptap tr:last-child td,.tiptap-editor .tiptap tr:last-child th{border-bottom:none}.tiptap-editor .tiptap th{background:#f8fafc;color:#475569;font-weight:600;font-size:12px;text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid #e2e8f0}.tiptap-editor .tiptap td.selectedCell{background:#eff6ff!important}.tiptap-editor .tiptap th.selectedCell{background:#dbeafe!important}.tiptap-editor .tiptap .column-resize-handle{position:absolute;right:-2px;top:0;bottom:0;width:3px;background:#93c5fd;cursor:col-resize;pointer-events:auto;border-radius:2px}.tiptap-editor .tiptap table p{margin:0!important}.tiptap-editor .tiptap .cover-page{min-height:600px;display:flex;flex-direction:column;background:linear-gradient(180deg,#f8fafc,#e2e8f0);border:1px solid #cbd5e1;border-radius:6px;margin-bottom:24px;position:relative}.tiptap-editor .tiptap .cover-page:after{content:"";display:block;position:absolute;bottom:-13px;left:0;right:0;border-bottom:1px dashed #94a3b8}.tiptap-editor .tiptap .cover-zone{position:relative;padding:16px 32px;border:1px dashed transparent;border-radius:4px;transition:border-color .15s}.tiptap-editor .tiptap .cover-zone:hover{border-color:#94a3b8}.tiptap-editor .tiptap .cover-zone-header{flex:0 0 auto;padding-top:32px}.tiptap-editor .tiptap .cover-zone-main{flex:1 1 auto;display:flex;flex-direction:column;justify-content:center}.tiptap-editor .tiptap .cover-zone-footer{flex:0 0 auto;padding-bottom:32px}.tiptap-editor .tiptap .cover-zone-placeholder{position:absolute;top:50%;left:32px;transform:translateY(-50%);color:#94a3b8;font-size:14px;font-style:italic;pointer-events:none;-webkit-user-select:none;user-select:none}.tiptap-editor .tiptap .cover-zone p{margin:4px 0!important}.tiptap-editor .tiptap li:has(>p:is([style*="text-align: center"],[style*="text-align: right"])){list-style:none}.tiptap-editor .tiptap ul{--marker-fill: currentColor;--marker-ring: 0;--marker-radius: 50%}.tiptap-editor .tiptap ul ul{--marker-fill: transparent;--marker-ring: 1px}.tiptap-editor .tiptap ul ul ul{--marker-fill: currentColor;--marker-ring: 0;--marker-radius: 0}.tiptap-editor .tiptap ul>li>p:is([style*="text-align: center"],[style*="text-align: right"]):before{content:"";display:inline-block;width:.375em;height:.375em;border-radius:var(--marker-radius);background-color:var(--marker-fill);box-shadow:inset 0 0 0 var(--marker-ring) currentColor;vertical-align:middle;margin-right:.5em}.tiptap-editor .tiptap ol>li>p:is([style*="text-align: center"],[style*="text-align: right"]):before{content:counter(list-item) ".  "}.tiptap-editor .tiptap ol ol>li>p:is([style*="text-align: center"],[style*="text-align: right"]):before{content:counter(list-item,lower-alpha) ".  "}.tiptap-editor .tiptap ol ol ol>li>p:is([style*="text-align: center"],[style*="text-align: right"]):before{content:counter(list-item,lower-roman) ".  "}.tiptap-editor .tiptap .media-figure{position:relative;z-index:1;line-height:0;max-width:100%}.tiptap-editor .tiptap .kb-import.ProseMirror-selectednode,.tiptap-editor .tiptap .kb-import.kb-import-in-selection{border-left-color:var(--primary);background:color-mix(in oklab,var(--primary) 5%,transparent);box-shadow:0 0 0 1px color-mix(in oklab,var(--primary) 30%,transparent)}.tiptap-editor .tiptap .kb-import.kb-import--collapsed{border-left-color:transparent}.tiptap-editor .tiptap .kb-import-body>:last-child{margin-bottom:0}.tiptap-editor .tiptap .projection-hidden{display:none}.tiptap-editor .tiptap .hint-empty{margin:0 0 1.5rem;-webkit-user-select:none;user-select:none}.tiptap-editor .tiptap .hint-hidden{display:none}.tiptap-editor .tiptap .hint-slot{color:var(--muted-foreground);opacity:.55;font-weight:400;letter-spacing:normal;pointer-events:none;-webkit-user-select:none;user-select:none}.tiptap-editor .tiptap .hint-number{margin-right:.5em;color:var(--muted-foreground);font-weight:400;font-size:.85em;font-variant-numeric:tabular-nums;letter-spacing:0;-webkit-user-select:none;user-select:none}.tiptap-editor .tiptap.chapters-as-pages>h2{position:relative;margin-inline:calc(-1 * var(--sheet-pad-x, 3rem));margin-top:calc(var(--sheet-pad-y, 2.5rem) + var(--page-gap, 1.5rem));padding:1rem var(--title-pad-x, 1.75rem);scroll-margin-top:0}.tiptap-editor .tiptap.chapters-as-pages>h2:first-child{margin-top:calc(-1 * var(--sheet-pad-y, 2.5rem))}.tiptap-editor .tiptap.chapters-as-pages>h2>.hint-plus-wrap{left:calc(var(--title-pad-x, 1.75rem) - 1.75rem);top:50%}.tiptap-editor .tiptap.chapters-as-pages>h2:not(:first-child):before{content:"";position:absolute;top:calc(-1 * var(--page-gap, 1.5rem));left:-1px;right:-1px;height:var(--page-gap, 1.5rem);background:color-mix(in oklab,var(--muted) 40%,var(--background));border-block:1px solid var(--border);pointer-events:none}.tiptap-editor .tiptap.chapters-as-pages>h2.ProseMirror-selectednode{background:color-mix(in oklab,var(--primary) 5%,transparent)}.tiptap-editor .tiptap.chapters-as-pages>h2.ProseMirror-selectednode:after{content:"⌫ Retour arrière : rattacher à la section précédente";position:absolute;top:0;left:50%;transform:translate(-50%,-50%);padding:.125rem .5rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--background);color:var(--muted-foreground);font-size:.75rem;font-weight:400;letter-spacing:normal;line-height:1.25rem;white-space:nowrap;pointer-events:none}.tiptap-editor .tiptap.chapters-as-pages>h2.ProseMirror-selectednode:first-child:after{content:"⌫ Retour arrière : supprimer le titre"}.tiptap-editor .tiptap :is(h1,h2,h3,h4,h5):has(>.hint-plus-wrap){position:relative}.tiptap-editor .tiptap .hint-current{z-index:1}.tiptap-editor .tiptap .hint-plus-wrap{position:absolute;left:-2.25rem;top:50%;transform:translateY(-50%);display:none;font-size:.875rem;font-weight:400;font-style:normal;letter-spacing:normal;text-transform:none;line-height:1;-webkit-user-select:none;user-select:none}.tiptap-editor .tiptap :is(h1,h2,h3,h4,h5):hover>.hint-plus-wrap,.tiptap-editor .tiptap .hint-current>.hint-plus-wrap{display:block}.tiptap-editor .tiptap h2>.hint-plus-wrap{top:calc(50% - .25rem)}.tiptap-editor .tiptap .hint-plus{display:flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;border:0;border-radius:.25rem;background:none;color:var(--muted-foreground);cursor:pointer}.tiptap-editor .tiptap .hint-plus:hover{color:var(--foreground);background:color-mix(in oklab,var(--foreground) 6%,transparent)}.tiptap-editor .tiptap .hint-menu{position:absolute;top:calc(100% + .25rem);left:0;z-index:50;min-width:13rem;padding:.25rem;border:1px solid var(--border);border-radius:.5rem;background:var(--popover);color:var(--popover-foreground);box-shadow:0 8px 24px -8px color-mix(in oklab,var(--foreground) 25%,transparent)}.tiptap-editor .tiptap .hint-menu[hidden]{display:none}.tiptap-editor .tiptap .hint-menu-item{display:block;width:100%;padding:.375rem .625rem;border:0;border-radius:.375rem;background:none;font:inherit;font-size:.8125rem;text-align:left;white-space:nowrap;cursor:pointer}.tiptap-editor .tiptap .hint-menu-item:hover{background:color-mix(in oklab,var(--foreground) 6%,transparent)}.tiptap-editor .tiptap .hint-input-row{margin:.25rem 0 .75rem 1.25rem;font-size:.8125rem}.tiptap-editor .tiptap .hint-input{width:100%;padding:.125rem .25rem;border:0;border-bottom:1px solid var(--border);background:transparent;font:inherit;color:var(--foreground);outline:none}.tiptap-editor .tiptap .hint-input::placeholder{color:var(--muted-foreground);opacity:.7}.tiptap-editor .tiptap .hint-import-card{display:flex;align-items:center;justify-content:center;gap:.375rem;width:100%;margin:.25rem 0 .875rem;padding:.375rem .75rem;border:1px dashed color-mix(in oklab,var(--muted-foreground) 28%,transparent);border-radius:.375rem;background:none;font:inherit;font-size:.75rem;color:color-mix(in oklab,var(--muted-foreground) 75%,transparent);cursor:pointer;-webkit-user-select:none;user-select:none;transition:color .12s,border-color .12s,background-color .12s}.tiptap-editor .tiptap .hint-import-card:hover{color:var(--muted-foreground);border-color:color-mix(in oklab,var(--muted-foreground) 55%,transparent);background:color-mix(in oklab,var(--foreground) 2.5%,transparent)}.tiptap-editor .tiptap .hint-import-card svg{width:14px;height:14px;flex:none}.tiptap-editor .tiptap .hint-add-section{margin:1.75rem 0 0 -.5rem;font-size:.8125rem;-webkit-user-select:none;user-select:none}.tiptap-editor .tiptap .hint-add-section-button{padding:.125rem .5rem;border:0;border-radius:.25rem;background:none;font:inherit;color:var(--muted-foreground);white-space:nowrap;cursor:pointer}.tiptap-editor .tiptap .hint-add-section-button:hover{background:color-mix(in oklab,var(--foreground) 6%,transparent);color:var(--foreground)}.tiptap{font-size:.9375rem;line-height:1.65;display:flow-root}.tiptap>:first-child{margin-top:0}.tiptap>:last-child{margin-bottom:0}.tiptap h1{font-size:1.875rem;line-height:1.2;font-weight:700;letter-spacing:-.02em;margin:2.5rem 0 .75rem;scroll-margin-top:1rem}.tiptap h2{font-size:1.625rem;line-height:1.25;font-weight:700;letter-spacing:-.015em;margin:2.25rem 0 .625rem;padding-bottom:.3125rem;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:var(--border);scroll-margin-top:1rem}.tiptap h3{font-size:1.3125rem;line-height:1.3;font-weight:700;letter-spacing:-.01em;margin:1.75rem 0 .5rem;scroll-margin-top:1rem}.tiptap h4{font-size:1.0625rem;line-height:1.4;font-weight:600;margin:1.3125rem 0 .375rem;scroll-margin-top:1rem}.tiptap h5{font-size:.9375rem;line-height:1.5;font-weight:600;margin:1rem 0 .25rem;scroll-margin-top:1rem}.tiptap p{margin:0 0 .625rem}.tiptap ul{list-style-type:disc;padding-left:1.25rem;margin:.5rem 0}.tiptap ol{list-style-type:decimal;padding-left:1.5rem;margin:.5rem 0}.tiptap ul ul{list-style-type:circle}.tiptap ul ul ul{list-style-type:square}.tiptap ol ol{list-style-type:lower-alpha}.tiptap ol ol ol{list-style-type:lower-roman}.tiptap li{margin:.125rem 0}.tiptap li>p{margin:0}.tiptap li>p+p{margin-top:.375rem}.tiptap li>ul,.tiptap li>ol{margin:.125rem 0 0}.tiptap li:after{content:"";display:block;clear:both}.tiptap blockquote{display:flow-root;margin:.875rem 0;padding:.75rem .875rem;background-color:var(--muted);border:1px solid var(--border);border-radius:.375rem;font-style:normal}.tiptap blockquote>:last-child{margin-bottom:0}.tiptap pre{margin:.875rem 0;padding:.75rem .875rem;background:var(--muted);border-radius:.375rem;overflow-x:auto;font-size:.8125rem;line-height:1.55}.tiptap hr{margin:1.5rem 0;border:0;border-top:1px solid var(--border)}.tiptap mark{background-color:var(--highlight);color:var(--highlight-foreground);padding:.05em .15em;border-radius:.125rem;box-decoration-break:clone;-webkit-box-decoration-break:clone}.tiptap :is(h1,h2,h3,h4,h5) mark{padding-block:0}.tiptap mark:has(.attention-placeholder),.tiptap .attention-placeholder mark{background:none;padding:0;color:inherit}.tiptap .attention-placeholder{background:var(--placeholder);color:var(--muted-foreground);border-radius:calc(var(--radius-sm) / 2);text-decoration:underline dotted 2px;text-decoration-color:color-mix(in oklab,var(--foreground) 45%,transparent);text-underline-offset:3px;box-decoration-break:clone;-webkit-box-decoration-break:clone}.tiptap .kb-import-body{display:flow-root}.tiptap .media-figure{margin-block:.875rem}.tiptap .media-figure img{margin:0}.tiptap .media-figure__caption{line-height:1.4;margin-top:.375rem;font-size:.8em;color:var(--muted-foreground)}.tiptap h1,.tiptap h2,.tiptap h3,.tiptap h4,.tiptap h5,.tiptap .kb-import{clear:both}.tiptap table{margin:.875rem 0}.tiptap cite{display:inline-flex;align-items:center;gap:.25rem;font-style:normal;font-family:var(--font-mono, ui-monospace, monospace);font-size:11px;line-height:1.2;padding:.125rem .375rem;margin:0;border-radius:.25rem;background:var(--muted);color:var(--foreground);vertical-align:baseline;white-space:nowrap}.tiptap cite.ProseMirror-selectednode{outline:2px solid var(--ring)}@container prose-sheet (max-width: 26rem){.tiptap h1{font-size:1.625rem;margin-top:2.25rem}.tiptap h2{font-size:1.5rem;margin-top:2rem}.tiptap h3{font-size:1.1875rem;margin-top:1.5rem}.tiptap h4{margin-top:1.25rem}.tiptap h5{margin-top:1rem}}.tiptap-editor-content.svelte-oixbhn>.tiptap{height:100%}.tiptap-editor.document-editor .tiptap{min-height:200px}.tiptap-editor.document-editor .tiptap:focus{outline:none}.tiptap-editor.simple-editor .tiptap,.tiptap-editor.note-editor .tiptap{min-height:96px}
