.rte.expanded.viewport-focus.svelte-55t64d{position:fixed;inset:0;z-index:10000;height:100dvh;min-height:0;overflow:auto}.highlight-toggle.svelte-55t64d{border:0;border-right:1.5px solid var(--primary);cursor:pointer}.highlight-toggle.svelte-55t64d:disabled{opacity:.5;cursor:default}.highlight-swatch.svelte-55t64d{flex:0 0 1.7rem;width:1.7rem;height:1.7rem;aspect-ratio:1;border-radius:50%;box-shadow:0 0 0 1px var(--primary)}.highlight-presets.svelte-55t64d{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem;padding:.75rem;border-bottom:1.5px solid var(--primary);background:var(--background)}.highlight-preset.svelte-55t64d{display:inline-flex;align-items:center;gap:.5rem;min-height:44px;padding:.5rem .75rem;border:1px solid #1f1f1f;color:#1f1f1f;font:inherit;cursor:pointer}.note-preset.svelte-55t64d{background:#fffdf7;font-weight:600}.highlight-preset.svelte-55t64d:focus-visible,.close-highlights.svelte-55t64d:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.custom-highlight.svelte-55t64d{display:inline-flex;align-items:center;gap:.5rem;margin:0;font-size:.9rem}.custom-highlight.svelte-55t64d input:where(.svelte-55t64d){width:2.5rem;min-width:2.5rem;height:2.5rem;padding:.15rem;margin:0}.close-highlights.svelte-55t64d{margin-left:auto;min-width:44px;min-height:44px;border:0;background:transparent;color:var(--primary);font-size:1.5rem;cursor:pointer}.paragraph-help.svelte-55t64d{margin:0;padding:.6rem 1rem;font-size:.85rem;line-height:1.5}.paragraph-id-button.svelte-55t64d{white-space:nowrap}.rte.svelte-55t64d{width:100%;border:1.5px solid var(--primary);background:var(--background);overflow:hidden}.rte.expanded.svelte-55t64d{display:flex;flex-direction:column;width:100%;min-height:100dvh;min-width:0;border-width:0 1.5px 0 0;background:var(--shade);overflow:visible}.toolbar.svelte-55t64d{flex-wrap:wrap;display:flex;align-items:stretch;gap:0;padding:0;border-bottom:1.5px solid var(--primary);overflow-x:auto;scrollbar-width:thin}.rte.expanded.svelte-55t64d .toolbar:where(.svelte-55t64d){position:sticky;top:0;z-index:20;flex:0 0 auto;background:var(--background)}.select.svelte-55t64d{flex:0 0 7.25rem;width:7.25rem;min-width:7.25rem;padding:.5rem;border:0;border-right:1.5px solid var(--primary);border-radius:0;background:var(--shade);color:var(--primary);font-family:Serrif}.btn.svelte-55t64d{display:inline-flex;align-items:center;justify-content:center;flex:0 0 2.5rem;min-width:2.5rem;padding:.5rem;color:var(--primary);font-family:Serrif;border:0;border-right:1.5px solid var(--primary);background:var(--background);cursor:pointer}.btn.active.svelte-55t64d{background:var(--action)}.toolbar-icon.svelte-55t64d{display:inline-block;width:1.15rem;height:1.15rem;flex:0 0 auto;background:currentColor;-webkit-mask:var(--toolbar-icon) center / contain no-repeat;mask:var(--toolbar-icon) center / contain no-repeat}.icon-fullscreen.svelte-55t64d{--toolbar-icon: url(../../../images/icons/arrows-fullscreen.svg)}.icon-save.svelte-55t64d{--toolbar-icon: url(../../../images/icons/square-check.svg)}.icon-list-ol.svelte-55t64d{--toolbar-icon: url(../../../images/icons/list-ol.svg)}.icon-list-ul.svelte-55t64d{--toolbar-icon: url(../../../images/icons/list-ul.svg)}.icon-font-color.svelte-55t64d{--toolbar-icon: url(../../../images/icons/font-color.svg)}.icon-highlight.svelte-55t64d{--toolbar-icon: url(../../../images/icons/highlighter.svg)}.icon-image.svelte-55t64d{--toolbar-icon: url(../../../images/icons/file-image.svg)}.icon-upload.svelte-55t64d{--toolbar-icon: url(../../../images/icons/upload.svg)}.color-control.svelte-55t64d{box-sizing:border-box;margin:0;height:3.25rem;justify-content:center;display:inline-flex;align-items:center;flex:0 0 4rem;gap:.4rem;min-width:4rem;padding:.5rem;color:var(--primary);font-family:Serrif;border-right:1.5px solid var(--primary);background:var(--background)}.color-control.active.svelte-55t64d{background:var(--action)}.rte.svelte-55t64d .toolbar:where(.svelte-55t64d) .color-control:where(.svelte-55t64d) input[type=color]:where(.svelte-55t64d){box-sizing:border-box;min-height:1.7rem;max-height:1.7rem;min-width:1.7rem;max-width:1.7rem;aspect-ratio:1;margin:0;width:1.7rem;height:1.7rem;flex:0 0 1.7rem;padding:0;border:0;border-radius:50%;background:transparent;box-shadow:0 0 0 1px var(--primary);overflow:hidden;appearance:none;-webkit-appearance:none;cursor:pointer}.color-control.svelte-55t64d input:where(.svelte-55t64d)::-webkit-color-swatch-wrapper{padding:0}.color-control.svelte-55t64d input:where(.svelte-55t64d)::-webkit-color-swatch{border:0;border-radius:50%}.color-control.svelte-55t64d input:where(.svelte-55t64d)::-moz-color-swatch{border:0;border-radius:50%}.color-control.svelte-55t64d input:where(.svelte-55t64d):disabled{cursor:not-allowed}.file-input.svelte-55t64d{display:none}.toolbar-fill.svelte-55t64d{width:2.5rem;height:3.25rem;display:flex;align-items:center;justify-content:center;flex:0 0 2.5rem;min-width:2.5rem;background:var(--background);border-right:1.5px solid var(--primary)}.update-btn.svelte-55t64d{height:3.25rem;min-height:3.25rem;width:100%;min-width:0;align-self:stretch;box-sizing:border-box;padding:.65rem;color:var(--primary);font-family:Haffer;font-weight:700;white-space:nowrap;border:0;border-right:1.5px solid var(--primary);border-left:1.5px solid var(--primary);background:var(--action);cursor:pointer}.update-btn.svelte-55t64d:hover:not(:disabled),.update-btn.svelte-55t64d:focus-visible:not(:disabled){color:var(--action);background:var(--primary)}.update-btn.svelte-55t64d:disabled{opacity:.6;cursor:not-allowed}.btn.svelte-55t64d:disabled,.select.svelte-55t64d:disabled,.mode-toggle.svelte-55t64d button:where(.svelte-55t64d):disabled{opacity:.6;cursor:not-allowed}.mode-toggle.svelte-55t64d{flex:0 0 auto;display:flex;align-self:stretch}.mode-toggle.svelte-55t64d button:where(.svelte-55t64d){display:inline-flex;align-items:center;justify-content:center;flex:0 0 2.5rem;min-width:2.5rem;padding:.5rem;color:var(--primary);font-family:Serrif;border:0;border-right:1.5px solid var(--primary);background:var(--background);cursor:pointer}.mode-toggle.svelte-55t64d button:where(.svelte-55t64d):last-child{border-right:0}.mode-toggle.svelte-55t64d button.active:where(.svelte-55t64d){color:var(--primary);background:var(--action)}.btn.svelte-55t64d:hover:not(:disabled),.btn.svelte-55t64d:focus-visible:not(:disabled),.mode-toggle.svelte-55t64d button:where(.svelte-55t64d):hover:not(:disabled),.mode-toggle.svelte-55t64d button:where(.svelte-55t64d):focus-visible:not(:disabled){color:var(--action);background:var(--primary);border-color:var(--primary)}.editor.svelte-55t64d,.source-editor.svelte-55t64d{padding:1rem;color:var(--primary);background:var(--background);font-family:Serrif;font-size:1rem;outline:none;overflow-wrap:anywhere}.rte.expanded.svelte-55t64d .editor:where(.svelte-55t64d),.rte.expanded.svelte-55t64d .source-editor:where(.svelte-55t64d){flex:1 1 auto;align-self:center;width:min(100%,72ch);min-height:0!important;padding:clamp(1.5rem,4vw,4rem);border-right:1.5px solid var(--primary);border-left:1.5px solid var(--primary);overflow-y:auto}.rte.expanded.svelte-55t64d .source-editor:where(.svelte-55t64d){width:100%;box-sizing:border-box;padding:1rem;border-inline:0}.rte.resource-dock.svelte-55t64d:not(.expanded) .editor:where(.svelte-55t64d),.rte.resource-dock.svelte-55t64d:not(.expanded) .source-editor:where(.svelte-55t64d){max-height:min(36rem,65dvh)!important;overflow-y:auto;overscroll-behavior:contain}.source-editor.svelte-55t64d{display:block;width:100%;border:0;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:.95rem;line-height:1.5;resize:vertical}.editor.svelte-55t64d:empty:before{content:attr(data-placeholder);color:var(--primary);opacity:1}.editor.svelte-55t64d p{margin:0}.editor.svelte-55t64d p+p{margin-top:1lh}.editor.svelte-55t64d img{max-width:100%;height:auto;cursor:pointer}.editor.svelte-55t64d img:hover,.editor.svelte-55t64d img:focus{outline:2px solid var(--action);outline-offset:3px}.editor-message.svelte-55t64d{margin:0;padding:.65rem 1rem;color:var(--error, #9f1d1d);border-top:1.5px solid var(--primary);background:var(--shade)}.editor-status.svelte-55t64d{display:flex;justify-content:space-between;gap:1rem;padding:.5rem .75rem;color:var(--primary);font-family:Haffer;font-size:.875rem;font-weight:500;border-top:1.5px solid var(--primary);background:var(--shade)}.rte.expanded.svelte-55t64d .editor-status:where(.svelte-55t64d){position:sticky;bottom:0;z-index:30;align-items:center;padding-block:0}.focus-resource-dock.svelte-55t64d{display:flex;align-self:stretch;margin-block:-1px;border-inline:1.5px solid var(--primary);overflow-x:auto}.focus-resource-dock.svelte-55t64d button:where(.svelte-55t64d){display:grid;place-items:center;width:2.75rem;min-height:2.75rem;padding:0;border-width:1px 1.5px 1px 0;background:var(--background);color:var(--primary);cursor:pointer}.focus-resource-dock.svelte-55t64d button:where(.svelte-55t64d):last-child{border-right-width:0}.focus-resource-dock.svelte-55t64d button:where(.svelte-55t64d):hover,.focus-resource-dock.svelte-55t64d button:where(.svelte-55t64d):focus-visible{background:var(--action)}.focus-resource-dock.svelte-55t64d svg{width:1.25rem;height:1.25rem}.image-tools.svelte-55t64d{display:grid;grid-template-columns:minmax(12rem,2fr) minmax(9rem,1fr) minmax(8rem,1fr) minmax(8rem,1fr) auto;gap:.75rem;align-items:end;padding:.75rem;border-bottom:1.5px solid var(--primary);background:var(--shade)}.image-tools.svelte-55t64d label:where(.svelte-55t64d){display:grid;gap:.35rem;font-size:.8rem;color:var(--primary)}.image-tools.svelte-55t64d input:where(.svelte-55t64d),.image-tools.svelte-55t64d select:where(.svelte-55t64d){min-width:0;padding:.55rem .65rem;border:1.5px solid var(--primary);border-radius:0;background:var(--background);color:var(--primary)}.image-tools.svelte-55t64d input[type=range]:where(.svelte-55t64d){padding:.55rem 0}.danger-btn.svelte-55t64d{border:1.5px solid var(--primary)}@media(max-width:640px){.rte.expanded.svelte-55t64d{width:100%}.toolbar.svelte-55t64d{flex-wrap:wrap;max-width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;-webkit-overflow-scrolling:touch}.toolbar.svelte-55t64d::-webkit-scrollbar{height:3px}.toolbar.svelte-55t64d>.select:where(.svelte-55t64d){flex:0 0 7.25rem;width:7.25rem;min-width:7.25rem;padding:.45rem .5rem;font-size:.875rem}.toolbar.svelte-55t64d>.toolbar-fill:where(.svelte-55t64d){flex:0 0 2.5rem;min-width:2.5rem}.toolbar.svelte-55t64d>.icon-btn:where(.svelte-55t64d){flex:0 0 2.5rem}.toolbar.svelte-55t64d>.btn:where(.svelte-55t64d){flex:0 0 2.5rem;min-width:2.5rem;padding:.45rem}.toolbar.svelte-55t64d>.color-control:where(.svelte-55t64d){flex:0 0 3.25rem;min-width:3.25rem;justify-content:center;gap:.15rem;padding:.35rem .25rem}.toolbar.svelte-55t64d>.mode-toggle:where(.svelte-55t64d){flex:0 0 5rem}.toolbar.svelte-55t64d>.mode-toggle:where(.svelte-55t64d) button:where(.svelte-55t64d){flex:0 0 2.5rem;min-width:2.5rem;padding:.45rem}.toolbar.svelte-55t64d .update-btn:where(.svelte-55t64d){padding:.45rem}.toolbar.svelte-55t64d .toolbar-icon:where(.svelte-55t64d){width:1rem;height:1rem}.toolbar.svelte-55t64d .color-control:where(.svelte-55t64d) input:where(.svelte-55t64d){width:1.25rem;height:1.25rem;flex-basis:1.25rem}.editor.svelte-55t64d,.source-editor.svelte-55t64d{padding:.85rem}.image-tools.svelte-55t64d{grid-template-columns:1fr}}.rte.svelte-55t64d{min-width:0;box-sizing:border-box}.rte.svelte-55t64d .toolbar:where(.svelte-55t64d){max-width:100%;flex-wrap:wrap;overflow:visible}.rte.svelte-55t64d .toolbar:where(.svelte-55t64d) .btn:where(.svelte-55t64d),.rte.svelte-55t64d .toolbar:where(.svelte-55t64d) .select:where(.svelte-55t64d),.rte.svelte-55t64d .toolbar:where(.svelte-55t64d) .toolbar-fill:where(.svelte-55t64d),.rte.svelte-55t64d .toolbar:where(.svelte-55t64d) .mode-toggle:where(.svelte-55t64d) button:where(.svelte-55t64d),.rte.svelte-55t64d .toolbar:where(.svelte-55t64d) .update-btn:where(.svelte-55t64d){box-sizing:border-box;height:2.75rem;min-height:2.75rem;margin:0}.rte.svelte-55t64d .toolbar:where(.svelte-55t64d) .color-control:where(.svelte-55t64d){box-sizing:border-box;height:2.75rem;min-height:2.75rem;flex-direction:row;flex-basis:4rem;min-width:4rem;padding:.35rem;gap:.35rem}.rte.svelte-55t64d .toolbar:where(.svelte-55t64d) .color-control:where(.svelte-55t64d) input[type=color]:where(.svelte-55t64d){width:1.4rem;height:1.4rem;min-width:1.4rem;max-width:1.4rem;min-height:1.4rem;max-height:1.4rem;flex:0 0 1.4rem}
