.ProseMirror{outline:none!important;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:13pt}.ProseMirror:focus{box-shadow:none!important}.ProseMirror *,.ProseMirror:focus{outline:none!important}.ProseMirror p{margin-bottom:1em}.ProseMirror td p,.ProseMirror th p{margin-top:0!important;margin-bottom:0!important}.ProseMirror table td,.ProseMirror table th{font-size:13pt}.ProseMirror-focused{border-color:transparent!important}.ProseMirror .highlight-merge-field,.ProseMirror .merge-field-highlight{background-color:#bbf7d0!important;padding:0 2px;border-radius:2px}.ProseMirror .highlight-merge-field.selected,.ProseMirror .merge-field-highlight.selected{background-color:#bbf7d0!important}.dark .ProseMirror .highlight-merge-field,.dark .ProseMirror .merge-field-highlight{background-color:#065f46!important}.ProseMirror .rewriting-text{opacity:.4;background-color:rgba(203,213,225,.3);border-radius:3px;position:relative;padding:2px;transition:opacity .3s ease;background-image:linear-gradient(135deg,rgba(59,130,246,.2),rgba(59,130,246,.4) 25%,rgba(59,130,246,.2) 50%,rgba(59,130,246,.4) 75%,rgba(59,130,246,.2));background-size:200% 200%;animation:shimmer 2s linear infinite}.dark .ProseMirror .rewriting-text{background-color:rgba(30,41,59,.3);background-image:linear-gradient(135deg,rgba(96,165,250,.2),rgba(96,165,250,.4) 25%,rgba(96,165,250,.2) 50%,rgba(96,165,250,.4) 75%,rgba(96,165,250,.2))}@keyframes shimmer{0%{background-position:0 0}to{background-position:200% 200%}}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.selection-menu{animation:fadeIn .2s ease-in-out}.selection-menu-button{transition:background-color .15s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(5px) translateX(-50%)}to{opacity:1;transform:translateY(0) translateX(-50%)}}.dark .selection-menu{background-color:hsl(var(--popover));border-color:hsl(var(--border))}.dark .selection-menu-button:hover{background-color:hsl(var(--accent));color:hsl(var(--accent-foreground))}.ProseMirror h1{font-size:16pt;margin-top:1.5em;margin-bottom:.5em}.ProseMirror h1,.ProseMirror h2{font-family:Helvetica Neue,Helvetica,Arial,sans-serif}.ProseMirror h2{font-size:14pt;margin-top:1.4em;margin-bottom:.4em}.ProseMirror h3{font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:12pt;margin-top:1.3em;margin-bottom:.3em}@media print{body{font-size:13pt}body,h1{font-family:Helvetica Neue,Helvetica,Arial,sans-serif}h1{font-size:18pt}h2{font-size:16pt}h2,h3{font-family:Helvetica Neue,Helvetica,Arial,sans-serif}h3{font-size:14pt}}.editor-toolbar{justify-content:space-between}.editor-toolbar,.toolbar-button-groups{display:flex;flex-wrap:wrap;gap:4px;align-items:center}.button-group{display:flex;align-items:center;border:1px solid transparent;margin:2px 0;break-inside:avoid;flex-wrap:nowrap}.button-group:hover{background-color:rgba(0,0,0,.02);border-radius:4px}@media (prefers-color-scheme:dark){.button-group:hover{background-color:hsla(0,0%,100%,.05)}}.toolbar-actions{display:flex;align-items:center;gap:4px;margin-left:auto;flex-shrink:0}@media (max-width:768px){.editor-toolbar{gap:2px}.toolbar-button-groups{justify-content:flex-start;width:100%}.toolbar-actions{margin-top:4px;justify-content:flex-end;width:100%}}.editor-toolbar-wrapper{padding:8px;border-bottom:1px solid var(--border)}.ProseMirror .puc-hyperlink,.ProseMirror [class*=puc-hyperlink],.ProseMirror [data-class*=puc-hyperlink],.ProseMirror span[class*=puc-hyperlink]{color:#3b82f6!important;text-decoration:underline!important;cursor:pointer}@media (prefers-color-scheme:dark){.ProseMirror .puc-hyperlink,.ProseMirror [class*=puc-hyperlink],.ProseMirror [data-class*=puc-hyperlink],.ProseMirror span[class*=puc-hyperlink]{color:#60a5fa!important}}.doc-surface{background:#f1f3f4;padding:3rem 0;overflow-y:auto}.doc-surface .page{width:210mm;min-height:297mm;margin:0 auto 2rem;background:#fff;padding:25mm;box-shadow:0 0 0 1px #ddd,0 4px 8px rgba(0,0,0,.1);box-sizing:border-box}@media print{.doc-surface{background:none;padding:0}.doc-surface .page{margin:0;box-shadow:none}}