.text-live{display:flex;flex-direction:column;min-height:0;flex:1;background:#f1f5f9;color:#172033;font-family:'Segoe UI',Arial,sans-serif}
.text-live-status{padding:9px 14px;background:#e8f5e9;font-size:13px;border-bottom:1px solid #cbd5e1}
.text-live-status[data-state="offline"],.text-live-status[data-state="blocked"],.text-live-status[data-state="pending"]{background:#fff3cd;color:#704500}
.text-live-tools{position:relative;z-index:5;flex:none;background:#fff;border-bottom:1px solid #e5e7eb;box-shadow:0 2px 4px #1720330a;color:#222f3e;font-family:Arial,Helvetica,sans-serif}
.text-live-tools [hidden]{display:none!important}
.text-live-menubar,.text-live-toolrow,.text-live-toolstrip,.text-live-toolgroup{display:flex;align-items:center}
.text-live-menubar{gap:2px;padding:4px 10px 0;min-height:36px;flex-wrap:wrap}
.text-live-toolrow{gap:4px;padding:6px 10px 8px}
.text-live-toolstrip{flex:1;min-width:0;overflow-x:auto;scrollbar-width:thin;gap:8px}
.text-live-toolgroup{gap:2px;flex:none;padding-right:8px;border-right:1px solid #edf0f2}
.text-live-toolgroup:last-child{border-right:0}.text-live-menubar .text-live-toolgroup{border:0;padding-right:10px}
.text-live-tools button,.text-live-tools select{box-sizing:border-box;font:14px Arial,Helvetica,sans-serif;border:0;border-radius:3px;color:inherit;background:transparent;cursor:pointer;margin:0;line-height:1.3}
.text-live-tools button{min-height:32px;padding:6px 8px;white-space:nowrap}
.text-live-tools .text-live-icon-button,.text-live-toolrow>.text-live-menu>.text-live-menu-trigger{display:flex;align-items:center;justify-content:center;width:34px;height:34px;padding:5px;flex:none}
.text-live-tools svg{display:block;flex:none;width:22px;height:22px}
.text-live-tools button:hover:not(:disabled),.text-live-tools button[aria-expanded="true"],.text-live-tools button[aria-pressed="true"]{background:#cce2fa}
.text-live-tools button:disabled,.text-live-tools select:disabled,.text-live-tools input:disabled{opacity:.4;cursor:default}
.text-live-tools button:focus-visible,.text-live-tools select:focus-visible,.text-live-tools input:focus-visible{outline:2px solid #2276d2;outline-offset:-2px}
.text-live-tools select{height:32px;padding:4px 26px 4px 9px;background:#f7f7f7;max-width:150px}
.text-live-style-group{gap:14px}.text-live-tools select[aria-label="Absatzformat"]{width:136px}.text-live-tools select[aria-label="Schriftgröße"]{width:78px}
.text-live-menu{position:relative;flex:none}
.text-live-tools .text-live-menu-trigger{font-size:14px;padding:6px 8px}
.text-live-menu-panel{position:absolute;top:calc(100% + 3px);left:0;z-index:20;min-width:220px;max-width:calc(100vw - 32px);max-height:min(60vh,430px);overflow:auto;background:#fff;border:1px solid #e1e4e8;border-radius:6px;padding:6px;box-shadow:0 4px 14px #17203326}
.text-live-tools .text-live-menu-item{display:block;text-align:left;width:100%;min-height:34px;padding:7px 12px;font-size:14px}
.text-live-toolrow>.text-live-menu{margin-left:auto}.text-live-more-panel{left:auto;right:0}
.text-live-color-control{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 12px;font-size:14px;border-top:1px solid #edf0f2}
.text-live-tools input[type="color"]{width:30px;height:26px;border:0;padding:0;background:transparent;cursor:pointer}
.text-live-paper{overflow:auto;flex:1;min-height:220px;padding:20px}
.text-live .tiptap{box-sizing:border-box;max-width:850px;min-height:600px;margin:auto;padding:55px;background:#fff;box-shadow:0 2px 8px #0001;font-family:Arial,Helvetica,sans-serif;font-size:11pt;line-height:1.5;outline:none;overflow-wrap:anywhere}
.text-live .tiptap p{margin:0 0 6pt}.text-live .tiptap h1{font-size:20pt}.text-live .tiptap h2{font-size:16pt}
.text-live .tiptap table{border-collapse:collapse;table-layout:fixed;width:100%;margin:12px 0;overflow:hidden}
.text-live .tiptap td,.text-live .tiptap th{border:1px solid #aab5c5;min-width:40px;padding:8px;position:relative;vertical-align:top}
.text-live .tiptap th{background:#f1f5f9}.text-live .selectedCell:after{position:absolute;inset:0;background:#3b82f633;pointer-events:none;content:""}
.text-live .tiptap img{max-width:100%;height:auto}.text-live .tiptap a{color:#1d4ed8;text-decoration:underline}
.text-live .tiptap pre{background:#f1f5f9;padding:12px;white-space:pre-wrap}.text-live .tiptap blockquote{border-left:3px solid #94a3b8;margin-left:0;padding-left:16px}
.text-live .column-resize-handle{position:absolute;right:-2px;top:0;bottom:0;width:4px;background:#60a5fa}.text-live .resize-cursor{cursor:col-resize}
.text-live-foot{padding:5px 14px;font-size:12px;background:#fff;color:#64748b}
.text-live-dialog{position:fixed;inset:0;z-index:99999;background:#0f172a99;display:flex;align-items:center;justify-content:center;padding:16px}
.text-live-dialog section{background:white;color:#172033;border-radius:16px;padding:24px;width:min(520px,100%);font:15px/1.5 'Segoe UI',Arial,sans-serif;box-shadow:0 12px 50px #0003;max-height:90vh;overflow:auto}
.text-live-dialog h2{margin:0 0 12px}.text-live-dialog button{padding:9px 13px;border:1px solid #cbd5e1;border-radius:7px;background:#eff6ff;color:#17366a;cursor:pointer;margin:5px 4px 5px 0;font:inherit}
.text-live-dialog input{box-sizing:border-box;width:100%;padding:9px;border:1px solid #cbd5e1;border-radius:7px;font:inherit;margin:6px 0}
.text-live-dialog .live-code{font:700 28px monospace;letter-spacing:3px;user-select:all}.text-live-dialog .live-message{color:#9a3412}
@media(max-width:650px){.text-live-paper{padding:8px}.text-live .tiptap{padding:20px;min-height:450px}.text-live-menubar{padding:4px 6px 0}.text-live-toolrow{padding:4px 6px 6px}.text-live-toolstrip{gap:4px}.text-live-tools .text-live-menu-trigger{font-size:13px;padding:5px}.text-live-menu-panel{min-width:180px}}
