.word-editor-image-container{display:inline-block;margin:.5rem;text-align:center;position:relative;border:2px solid transparent;transition:border-color .2s ease;user-select:none;cursor:grab;max-width:100%;vertical-align:top;border-radius:4px}.word-editor-image-container:active{cursor:grabbing}.word-editor-image-container:hover{border-color:#3b82f6}.word-editor-image-container.selected{border-color:#3b82f6;box-shadow:0 0 0 2px rgba(59,130,246,.2)}.word-editor-image-container img{max-width:100%;height:auto;display:block;cursor:pointer;border-radius:4px;pointer-events:auto}.word-editor-image-container[data-image-wrap=float-left]{float:left;margin:.25rem 1rem .5rem 0;clear:left}.word-editor-image-container[data-image-wrap=float-right]{float:right;margin:.25rem 0 .5rem 1rem;clear:right}.word-editor-image-container[data-image-wrap=inline]{display:inline-block;float:none;margin:.5rem;vertical-align:top}.word-editor-image-container.align-left{text-align:left}.word-editor-image-container.align-right{text-align:right}.word-editor-image-container.align-center{text-align:center}.word-editor-image-container.float-left{float:left;margin:0 1rem 1rem 0}.word-editor-image-container.float-right{float:right;margin:0 0 1rem 1rem}.word-editor-image-toolbar{position:absolute;top:-2rem;left:50%;transform:translateX(-50%);display:none;gap:2px;background:#1e293b;border-radius:.375rem;padding:2px 4px;box-shadow:0 4px 12px rgba(0,0,0,.25);z-index:20;white-space:nowrap}.word-editor-image-container.selected .word-editor-image-toolbar,.word-editor-image-container:hover .word-editor-image-toolbar{display:flex}.word-editor-image-toolbar button{width:1.5rem;height:1.5rem;border:none;background:transparent;color:#94a3b8;cursor:pointer;border-radius:.25rem;font-size:.75rem;display:flex;align-items:center;justify-content:center;transition:all .15s;padding:0;line-height:1}.word-editor-image-toolbar button:hover{background:rgba(255,255,255,.1);color:#f8fafc}.word-editor-image-toolbar button.active{background:#3b82f6;color:#ffffff}.word-editor-image-container.dragging{opacity:.4;border-color:#3b82f6;border-style:dashed}.word-editor-resize-handle{position:absolute;background:#3b82f6;border:2px solid white;width:10px;height:10px;border-radius:50%;cursor:nwse-resize;opacity:0;transition:opacity .2s ease;z-index:10}.word-editor-image-container.selected .word-editor-resize-handle,.word-editor-image-container:hover .word-editor-resize-handle{opacity:1}.word-editor-resize-handle.nw{top:-5px;left:-5px;cursor:nw-resize}.word-editor-resize-handle.ne{top:-5px;right:-5px;cursor:ne-resize}.word-editor-resize-handle.sw{bottom:-5px;left:-5px;cursor:sw-resize}.word-editor-resize-handle.se{bottom:-5px;right:-5px;cursor:se-resize}.word-editor-resize-handle.n{top:-5px;left:50%;transform:translateX(-50%);cursor:n-resize}.word-editor-resize-handle.s{bottom:-5px;left:50%;transform:translateX(-50%);cursor:s-resize}.word-editor-resize-handle.e{top:50%;right:-5px;transform:translateY(-50%);cursor:e-resize}.word-editor-resize-handle.w{top:50%;left:-5px;transform:translateY(-50%);cursor:w-resize}[data-word-editor=true]{position:relative;line-height:1.6;outline:none}[data-word-editor=true] p{margin:0 0 .5em}[data-word-editor=true] p:last-child{margin-bottom:0}[data-word-editor=true]:after{content:"";display:table;clear:both}[data-word-editor=true] h1{font-size:2em;font-weight:700;margin:.67em 0}[data-word-editor=true] h2{font-size:1.5em;font-weight:700;margin:.83em 0}[data-word-editor=true] h3{font-size:1.17em;font-weight:700;margin:1em 0}[data-word-editor=true] h4{font-size:1em;font-weight:700;margin:1.33em 0}[data-word-editor=true] h5{font-size:.83em;font-weight:700;margin:1.67em 0}[data-word-editor=true] h6{font-size:.67em;font-weight:700;margin:2.33em 0}[data-word-editor=true] blockquote{margin:1em 0;padding:.5em 1em;border-left:4px solid #3b82f6;background:rgba(59,130,246,.05);font-style:italic}[data-word-editor=true] pre{margin:1em 0;padding:1em;background:#1e293b;color:#e2e8f0;border-radius:.5rem;overflow-x:auto}[data-word-editor=true] code,[data-word-editor=true] pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.875em}[data-word-editor=true] code{background:rgba(0,0,0,.05);padding:.15em .4em;border-radius:.25em}[data-word-editor=true] pre code{background:transparent;padding:0}[data-word-editor=true] a{color:#3b82f6;text-decoration:underline;cursor:pointer}[data-word-editor=true] a:hover{color:#2563eb}[data-word-editor=true] table{border-collapse:collapse;width:100%!important;max-width:100%!important;table-layout:fixed;margin:1em 0;break-inside:avoid;page-break-inside:avoid;word-break:break-word;overflow-wrap:break-word;box-sizing:border-box}[data-word-editor=true] td,[data-word-editor=true] th{border:1px solid var(--word-editor-border,#cbd5e1);padding:8px 12px;text-align:left;min-width:40px;max-width:100%;word-break:break-word;overflow-wrap:break-word;box-sizing:border-box}[data-word-editor=true] th{background-color:var(--word-editor-table-th,#f8fafc);font-weight:600}[data-word-editor=true] blockquote,[data-word-editor=true] div:not(.word-editor-page-break),[data-word-editor=true] h1,[data-word-editor=true] h2,[data-word-editor=true] h3,[data-word-editor=true] h4,[data-word-editor=true] h5,[data-word-editor=true] h6,[data-word-editor=true] ol,[data-word-editor=true] p,[data-word-editor=true] pre,[data-word-editor=true] ul{max-width:100%!important;word-break:break-word;overflow-wrap:break-word;box-sizing:border-box}[data-word-editor=true] ol,[data-word-editor=true] ul{padding-left:1.5em;margin:.5em 0}[data-word-editor=true] hr{border:none;border-top:2px solid #e2e8f0;margin:1.5em 0}[data-word-editor=true] img{max-width:100%!important;height:auto;border-radius:.25rem}[data-word-editor=true]:empty:before,[data-word-editor=true][data-empty=true]:before{content:attr(data-placeholder);color:var(--word-editor-placeholder,#475569);pointer-events:none;position:absolute;left:0;top:0;opacity:.95;font-weight:400;line-height:inherit}[data-word-editor=true][data-word-editor-readonly=true]:before{display:none!important}.word-editor-ribbon-tab-content{scrollbar-width:thin}.word-editor-ribbon-tab-content::-webkit-scrollbar{height:4px}.word-editor-ribbon-tab-content::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:2px}.word-editor-quick-access button{transition:background-color .15s ease,color .15s ease}.word-editor-desk{display:flex;flex-direction:column;align-items:center;flex:1;width:100%;overflow-y:auto;overflow-x:auto;transition:background-color .2s ease;padding:1.25rem .75rem}@media (min-width:640px){.word-editor-desk{padding:2rem 1.25rem}}.word-editor-pages-stream{width:100%;display:flex;flex-direction:column;align-items:center;position:relative;outline:none}.word-editor-page-sheet{width:100%;max-width:var(--word-editor-page-width,816px);min-height:var(--word-editor-page-height,1056px);margin:0 auto 32px;border-radius:8px;background-color:var(--word-editor-page-bg,#ffffff);border:1px solid var(--word-editor-border,#cbd5e1);box-shadow:0 4px 6px -1px rgba(15,23,42,.08),0 12px 24px -4px rgba(15,23,42,.12),0 0 0 1px rgba(15,23,42,.05);padding:var(--word-editor-page-padding,48px 56px);position:relative;transition:box-shadow .2s ease,border-color .2s ease,background-color .2s ease;box-sizing:border-box;cursor:text;overflow-x:hidden;outline:none}.word-editor-page-sheet:last-child{margin-bottom:0}.word-editor-page-sheet.readonly{cursor:default}.word-editor-page-sheet[data-page]:after{content:"PAGE " attr(data-page);position:absolute;top:14px;right:20px;font-size:10px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--word-editor-text-secondary,#94a3b8);user-select:none;pointer-events:none;opacity:.65}.word-editor-compact .word-editor-page-sheet[data-page]:after,.word-editor-readonly .word-editor-page-sheet[data-page]:after{display:none!important}.word-editor-margin-guide{user-select:none;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:10px;text-transform:uppercase;letter-spacing:.05em;opacity:.75;transition:opacity .15s ease}.word-editor-margin-guide:hover{opacity:1}.word-editor-page-break{margin:2rem -56px;width:calc(100% + 112px);height:32px;position:relative;display:flex;align-items:center;justify-content:center;user-select:none;background-color:var(--word-editor-desk-bg,#f1f5f9);border-top:1px solid var(--word-editor-border,#cbd5e1);border-bottom:1px solid var(--word-editor-border,#cbd5e1);box-shadow:0 4px 6px -1px rgba(15,23,42,.08),0 2px 4px -2px rgba(15,23,42,.04),0 -2px 4px -1px rgba(15,23,42,.04)}.word-editor-compact .word-editor-page-break{margin:1.5rem -16px;width:calc(100% + 32px)}.word-editor-page-break span{position:relative;padding:2px 12px;font-size:10px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-weight:600;text-transform:uppercase;letter-spacing:.08em;border-radius:9999px;background-color:var(--word-editor-bg-secondary,#ffffff);border:1px solid var(--word-editor-border,#cbd5e1);color:var(--word-editor-text-secondary,#64748b);box-shadow:0 1px 3px rgba(0,0,0,.08)}.word-editor-content{outline:none;min-height:200px;max-width:100%!important;position:relative;cursor:text;overflow-wrap:break-word;word-break:break-word;box-sizing:border-box}.word-editor-content:focus{outline:none}.word-editor-content.readonly{cursor:default}.word-editor-page{max-width:100%;width:100%;margin:0 auto;border-radius:4px;overflow-wrap:break-word;word-break:break-word;box-sizing:border-box}.word-editor-compact{border-radius:.75rem}.word-editor-compact .word-editor-desk{padding:0!important;background-color:transparent!important}.word-editor-compact .word-editor-pages-stream{max-width:100%!important;width:100%!important}.word-editor-compact .word-editor-page-sheet{max-width:100%!important;margin:0!important;border-radius:0!important;border:none!important;box-shadow:none!important;background-color:transparent!important;padding:.75rem 1rem!important;min-height:100%!important}.word-editor-compact .word-editor-page-badge{display:none!important}.word-editor-compact .word-editor-content{min-height:100%!important}.word-editor-readonly{border:none!important;box-shadow:none!important}.word-editor-readonly .word-editor-desk{padding:0!important}.word-editor-readonly .word-editor-page-sheet{max-width:100%!important;border:none!important;box-shadow:none!important;border-radius:0!important;min-height:auto!important;user-select:text;cursor:default}.word-editor-page.readonly .word-editor-image-container,.word-editor-readonly .word-editor-image-container{border-color:transparent!important;box-shadow:none!important;cursor:default!important;user-select:auto!important}.word-editor-page.readonly .word-editor-image-container:hover,.word-editor-readonly .word-editor-image-container:hover{border-color:transparent!important}.word-editor-page.readonly .word-editor-image-toolbar,.word-editor-page.readonly .word-editor-resize-handle,.word-editor-readonly .word-editor-image-toolbar,.word-editor-readonly .word-editor-resize-handle{display:none!important}.word-editor-page.readonly .word-editor-image-container img,.word-editor-readonly .word-editor-image-container img{cursor:zoom-in;border-radius:.5rem;max-width:100%;transition:transform .15s ease,opacity .15s ease}.word-editor-page.readonly .word-editor-image-container img:hover,.word-editor-readonly .word-editor-image-container img:hover{opacity:.96}@media print{.word-editor-page{box-shadow:none;margin:0;padding:0;border-radius:0}[data-word-editor=true]{color:#000!important}}[data-word-editor=true] ul.checklist{list-style:none;padding-left:0}[data-word-editor=true] ul.checklist li{display:flex;align-items:flex-start;gap:8px}[data-word-editor=true] ul.checklist li input[type=checkbox]{margin-top:4px}[data-word-editor=true]:focus{outline:none}[data-word-editor=true] td:hover,[data-word-editor=true] th:hover{background-color:rgba(59,130,246,.04)}[data-word-editor=true][data-theme=dark] code{background:rgba(255,255,255,.1)}[data-word-editor=true][data-theme=dark] th{background-color:rgba(255,255,255,.05)}@keyframes word-editor-fade-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.word-editor-fade-in{animation:word-editor-fade-in .15s ease-out}[data-word-editor=true] ::selection{background:rgba(59,130,246,.25)}[data-word-editor=true] .page-break{page-break-after:always;margin:2rem -56px;width:calc(100% + 112px);height:32px;position:relative;display:flex;align-items:center;justify-content:center;user-select:none;background-color:var(--word-editor-desk-bg,#f1f5f9);border-top:1px solid var(--word-editor-border,#cbd5e1);border-bottom:1px solid var(--word-editor-border,#cbd5e1);box-shadow:0 4px 6px -1px rgba(15,23,42,.08),0 -2px 4px -1px rgba(15,23,42,.04)}[data-word-editor=true] .page-break:after{content:"Page Break";background:var(--word-editor-bg-secondary,#ffffff);border:1px solid var(--word-editor-border,#cbd5e1);padding:2px 12px;font-size:10px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-weight:600;color:var(--word-editor-text-secondary,#64748b);border-radius:9999px;box-shadow:0 1px 3px rgba(0,0,0,.08);text-transform:uppercase;letter-spacing:.08em}.custom-scrollbar::-webkit-scrollbar,.thin-scrollbar::-webkit-scrollbar{width:4px;height:4px}.custom-scrollbar::-webkit-scrollbar-track,.thin-scrollbar::-webkit-scrollbar-track{background:transparent}.custom-scrollbar::-webkit-scrollbar-thumb,.thin-scrollbar::-webkit-scrollbar-thumb{background:rgba(148,163,184,.4);border-radius:9999px}.custom-scrollbar::-webkit-scrollbar-thumb:hover,.thin-scrollbar::-webkit-scrollbar-thumb:hover{background:rgba(100,116,139,.7)}.custom-scrollbar,.thin-scrollbar{scrollbar-width:thin;scrollbar-color:rgba(148,163,184,.4) transparent}