.rte,.rte *{box-sizing:border-box}.rte{background:var(--rte-background);width:100%;min-width:0;height:100%;min-height:180px;color:var(--rte-foreground);-webkit-text-size-adjust:100%;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:16px;line-height:1.45;display:flex}.rte-body{flex:1;padding:12px 16px;position:relative;overflow-y:auto}.rte-body .ProseMirror{word-wrap:break-word;white-space:pre-wrap;outline:none;min-height:100%}.rte-body .ProseMirror p{margin:0 0 .5em}.rte-body .ProseMirror h1,.rte-body .ProseMirror h2,.rte-body .ProseMirror h3{margin:.6em 0 .3em;font-weight:700;line-height:1.25}.rte-body .ProseMirror h1{font-size:1.5em}.rte-body .ProseMirror h2{font-size:1.25em}.rte-body .ProseMirror h3{font-size:1.1em}.rte-body .ProseMirror ul,.rte-body .ProseMirror ol{margin:0 0 .5em;padding-left:1.4em}.rte-body .ProseMirror ul{list-style:outside}.rte-body .ProseMirror ol{list-style:decimal}.rte-body .ProseMirror a{color:var(--rte-accent);text-decoration:underline}.rte-body .ProseMirror table{--rte-table-border:initial;border-collapse:collapse;table-layout:fixed;width:100%;margin:.4em 0 .8em}.rte-body .ProseMirror td,.rte-body .ProseMirror th{border:var(--rte-table-border,1px solid var(--rte-border));vertical-align:top;padding:4px 6px;position:relative}.rte-body .ProseMirror th{text-align:left;font-weight:600}.rte-body .ProseMirror td p,.rte-body .ProseMirror th p{margin:0}.rte-body .ProseMirror .selectedCell:after{content:"";background:var(--rte-selected);opacity:.35;pointer-events:none;position:absolute;inset:0}.rte-body .ProseMirror img{max-width:100%;height:auto}.rte-body .ProseMirror hr{border:none;border-top:1px solid var(--rte-border);margin:.8em 0}.rte-body .ProseMirror .page-break{border-top:1px dashed var(--rte-muted);margin:1em 0}.rte-body .ProseMirror .placeholder{color:var(--rte-accent);white-space:nowrap}.rte-body .ProseMirror td .placeholder,.rte-body .ProseMirror th .placeholder{white-space:normal;overflow-wrap:anywhere}.rte-body .ProseMirror .condition{border-left:3px solid var(--rte-accent);padding-left:8px;position:relative}.rte-body .ProseMirror .condition:before{content:"?";color:var(--rte-accent);font-size:11px;font-weight:600;position:absolute;top:0;left:-14px}.rte-body .ProseMirror table.contact-table{outline:2px dashed var(--rte-accent);outline-offset:2px}.rte-hint{color:var(--rte-muted);pointer-events:none;position:absolute;top:12px;left:16px;right:16px}.rte-toolbar{background:var(--rte-surface);border-color:var(--rte-border);scrollbar-width:none;border-style:solid;border-width:0;flex-wrap:nowrap;gap:2px;padding:4px 8px;display:flex;overflow-x:auto}.rte-toolbar::-webkit-scrollbar{display:none}.rte-toolbar-top{border-bottom-width:1px}.rte-toolbar-bottom{border-top-width:1px}.rte-separator{background:var(--rte-border);flex:none;width:1px;margin:6px 4px}.rte-button{width:44px;height:40px;color:var(--rte-foreground);cursor:pointer;background:0 0;border:none;border-radius:8px;flex:none;justify-content:center;align-items:center;display:inline-flex}.rte-button:disabled{opacity:.35;cursor:default}.rte-button[aria-pressed=true]{background:var(--rte-selected);color:var(--rte-accent)}.rte-linkbar{background:var(--rte-surface);border-top:1px solid var(--rte-border);gap:6px;padding:6px 8px;display:flex}.rte-linkbar input{border:1px solid var(--rte-border);background:var(--rte-background);min-width:0;color:var(--rte-foreground);font:inherit;border-radius:8px;flex:1;padding:8px 10px}.rte-linkbar button{background:var(--rte-selected);color:var(--rte-accent);font:inherit;cursor:pointer;border:none;border-radius:8px;flex:none;padding:0 12px}.rte-condition,.rte-link{flex-wrap:wrap}.rte-condition input,.rte-link input:not([type=checkbox]){flex-basis:100%}.rte-check{flex:1;align-items:center;gap:8px;min-height:40px;font-size:15px;display:flex}.rte-check input{width:20px;height:20px;accent-color:var(--rte-accent);flex:none;margin:0;padding:0}.rte-condition select{border:1px solid var(--rte-border);background:var(--rte-background);min-width:0;color:var(--rte-foreground);font:inherit;border-radius:8px;flex:1;padding:8px}.rte-error{color:#d92d20;flex-basis:100%;margin:0;font-size:13px}.rte-placeholders{background:var(--rte-surface);border-top:1px solid var(--rte-border);border-bottom:1px solid var(--rte-border);flex-direction:column;gap:6px;padding:6px 8px;display:flex}.rte-placeholders input{border:1px solid var(--rte-border);background:var(--rte-background);color:var(--rte-foreground);font:inherit;border-radius:8px;padding:8px 10px}.rte-placeholder-list{flex-wrap:wrap;gap:6px;max-height:132px;display:flex;overflow-y:auto}.rte-placeholder-list button{background:var(--rte-selected);color:var(--rte-accent);font:inherit;cursor:pointer;border:none;border-radius:999px;flex:none;padding:6px 10px;font-size:14px}.rte-format{background:var(--rte-surface);border-top:1px solid var(--rte-border);border-bottom:1px solid var(--rte-border);flex-direction:column;gap:4px;max-height:45vh;padding:6px 8px;display:flex;overflow-y:auto}.rte-format-row{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.rte-format select{border:1px solid var(--rte-border);background:var(--rte-background);min-width:0;height:40px;color:var(--rte-foreground);font:inherit;border-radius:8px;flex:140px;padding:0 8px;font-size:15px}.rte-chips{flex-wrap:wrap;gap:4px;display:flex}.rte-chip{background:var(--rte-background);min-height:40px;color:var(--rte-foreground);font:inherit;cursor:pointer;border:none;border-radius:999px;flex:none;padding:0 12px;font-size:14px}.rte-chip[aria-pressed=true]{background:var(--rte-selected);color:var(--rte-accent);font-weight:600}.rte-caption{color:var(--rte-muted);flex:0 0 100%;font-size:12px}.rte-swatch{border:1px solid var(--rte-border);background:var(--rte-background);width:40px;height:40px;color:var(--rte-muted);font:inherit;cursor:pointer;border-radius:999px;flex:none;font-weight:700}.rte-swatch[aria-pressed=true]{outline:2px solid var(--rte-accent);outline-offset:1px}.rte-characters{flex-wrap:wrap;gap:4px;display:flex}.rte-character{background:var(--rte-background);width:40px;height:40px;color:var(--rte-foreground);font:inherit;cursor:pointer;border:none;border-radius:8px;flex:none;font-size:18px}.rte-format .rte-button{width:40px}