@import"https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap";@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}:root{--primary-color: #0ea5e9;--primary-hover: #0284c7;--primary-active: #0369a1;--secondary-color: #94a3b8;--secondary-hover: #64748b;--background-color: #f8fafc;--surface-color: #ffffff;--surface-color-solid: #ffffff;--text-primary: #1e293b;--text-secondary: #64748b;--input-bg: #f1f5f9;--input-bg-hover: #e2e8f0;--input-placeholder: #94a3b8;--border-color: transparent;--border-color-soft: #e2e8f0;--danger-color: #ef4444;--danger-hover: #dc2626;--success-color: #10b981;--warning-color: #f59e0b;--glass-bg: rgba(255, 255, 255, .3);--glass-border: rgba(255, 255, 255, .2);--glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, .07);--hover-bg: rgba(224, 242, 254, .8);--spacing-xs: .25rem;--spacing-sm: .5rem;--spacing-md: 1rem;--spacing-lg: 1.5rem;--spacing-xl: 2rem;--font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;--font-size-sm: .875rem;--font-size-md: 1rem;--font-size-lg: 1.125rem;--font-size-xl: 1.25rem;--font-size-2xl: 1.5rem;--font-weight-normal: 500;--font-weight-bold: 700;--shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);--shadow-soft: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);--radius-sm: .5rem;--radius-md: .75rem;--radius-lg: 1rem;--radius-xl: 1.5rem;--sidebar-width: 260px;--topbar-height: 70px;--topbar-bg: linear-gradient(to bottom, rgba(255, 255, 255, .8) 0%, rgba(255, 255, 255, 0) 100%)}body{font-family:var(--font-family);font-weight:var(--font-weight-normal);color:var(--text-primary);background:linear-gradient(135deg,#f1f5f9,#fff);background-attachment:fixed;min-height:100vh;-webkit-font-smoothing:antialiased}input[type=text],input[type=number],input[type=email],input[type=password],input[type=date],input[type=search],select,textarea{background-color:var(--input-bg)!important;border:none!important;border-radius:var(--radius-md)!important;padding:10px 14px;font-family:var(--font-family);font-weight:500;color:var(--text-primary);transition:all .2s ease;outline:none;box-shadow:none!important}input:hover,select:hover,textarea:hover{background-color:var(--hover-bg)!important}input:focus,select:focus,textarea:focus{background-color:var(--surface-color)!important;box-shadow:0 0 0 2px var(--primary-color)!important}.card,.table-container{border:1px solid var(--glass-border)!important;box-shadow:var(--shadow-soft);border-radius:var(--radius-lg);background-color:var(--glass-bg);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}tbody tr:hover{background-color:var(--hover-bg)!important;cursor:pointer;transition:background-color .2s ease}[data-theme=dark]{--primary-color: #38bdf8;--primary-hover: #7dd3fc;--primary-active: #0ea5e9;--secondary-color: #94a3b8;--secondary-hover: #cbd5e1;--background-color: #0f172a;--glass-bg: rgba(15, 23, 42, .5);--surface-color: var(--glass-bg);--surface-color-solid: #151b26;--glass-border: rgba(255, 255, 255, .1);--glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, .5);--topbar-bg: linear-gradient(to bottom, rgba(15, 23, 42, .8) 0%, rgba(15, 23, 42, 0) 100%);--text-primary: #f8fafc;--text-secondary: #94a3b8;--border-color: rgba(255, 255, 255, .1);--border-color-soft: rgba(255, 255, 255, .05);--danger-color: #f87171;--success-color: #4ade80;--warning-color: #fbbf24;--col-bg-received: rgba(255, 255, 255, .03);--col-bg-progress: rgba(255, 255, 255, .03);--col-bg-completed: rgba(255, 255, 255, .03);--input-bg: rgba(255, 255, 255, .05);--input-bg-hover: rgba(255, 255, 255, .1);--input-placeholder: #64748b;--hover-bg: rgba(56, 189, 248, .15)}[data-theme=dark] body{background:linear-gradient(135deg,#0f172a,#000);background-attachment:fixed;color:var(--text-primary)}[data-theme=dark] th{background-color:#0006!important;border-bottom:1px solid var(--glass-border);color:var(--text-secondary)}[data-theme=dark] input,[data-theme=dark] select,[data-theme=dark] textarea{background-color:var(--input-bg)!important;border:1px solid var(--glass-border)!important;color:var(--text-primary)}[data-theme=dark] input:focus,[data-theme=dark] select:focus,[data-theme=dark] textarea:focus{background-color:#000c!important;border-color:var(--primary-color)!important}[data-theme=dark] .card,[data-theme=dark] .table-container{box-shadow:0 4px 20px #00000080}[data-theme=dark] *,[data-theme=dark] *:before,[data-theme=dark] *:after{transition:background-color .25s ease,border-color .25s ease,color .15s ease}[data-theme=dark] [style*=border],[data-theme=dark] [style*=border-bottom],[data-theme=dark] [style*=borderBottom],[data-theme=dark] [style*=border-top],[data-theme=dark] [style*=border-left],[data-theme=dark] [style*=border-right],[data-theme=dark] [style*="borderColor: '#eee'"],[data-theme=dark] [style*="border-color: #eee"],[data-theme=dark] [style*="border: 1px solid #eee"],[data-theme=dark] [style*="border: 1px solid #E5E7EB"]{border-color:var(--border-color)!important}[data-theme=dark] input,[data-theme=dark] select,[data-theme=dark] textarea{background-color:#0d1117!important;color:var(--text-primary)!important;border-color:#30363d!important}[data-theme=dark] [class*=card],[data-theme=dark] div[style*="backgroundColor: white"],[data-theme=dark] div[style*="background-color: white"],[data-theme=dark] div[style*="backgroundColor: '#FFF'"],[data-theme=dark] div[style*="background-color: #fff"]{background-color:var(--surface-color)!important;border-color:var(--border-color)!important}[data-theme=dark] aside{background-color:#0d1117!important}[data-theme=dark] aside a.active{background-color:#4a9eff1a!important;color:var(--primary-color)!important}[data-theme=dark] .modal-content,[data-theme=dark] [role=dialog]>div{background-color:var(--surface-color)!important;border:1px solid var(--border-color)!important}[data-theme=dark] h1,[data-theme=dark] h2,[data-theme=dark] h3,[data-theme=dark] h4{color:#f0f6fc!important}[data-theme=dark] label{color:var(--text-secondary)!important}[data-theme=dark] [data-kanban-column]{background-color:#010409!important;border:1px solid var(--border-color)!important}[data-theme=dark] [style*="backgroundColor: '#E0F2FE'"],[data-theme=dark] [style*="backgroundColor: '#F0F9FF'"]{background-color:#388bfd26!important;color:#58a6ff!important}[data-theme=dark] [style*="backgroundColor: '#FEE2E2'"],[data-theme=dark] [style*="backgroundColor: '#FEF2F2'"]{background-color:#f851491a!important;color:#ff7b72!important}[data-theme=dark] [style*="backgroundColor: '#ECFDF5'"]{background-color:#3fb9501a!important;color:#7ee787!important}*{box-sizing:border-box;margin:0;padding:0;transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease}body{font-family:var(--font-family);background-color:var(--background-color);color:var(--text-primary);line-height:1.5;-webkit-font-smoothing:antialiased}a{text-decoration:none;color:inherit;transition:color .2s}a:hover{color:var(--primary-color)}button{cursor:pointer;border:none;background:none;font-family:inherit}.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-md);font-weight:500;transition:all .2s;cursor:pointer;border:none;outline:none}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-primary{background-color:var(--primary-color);color:#fff}.btn-primary:hover:not(:disabled){background-color:var(--primary-hover);box-shadow:0 4px 12px #06c3}.btn-primary:active:not(:disabled){background-color:var(--primary-active)}.btn-secondary{background-color:var(--input-bg);color:var(--text-primary);border:none}.btn-secondary:hover:not(:disabled){background-color:#f9fafb;border-color:#d1d5db}.btn-danger{background-color:var(--danger-color);color:#fff}.btn-danger:hover:not(:disabled){background-color:var(--danger-hover)}.btn-ghost{background-color:transparent;color:var(--text-secondary)}.btn-ghost:hover:not(:disabled){background-color:#0000000d;color:var(--text-primary)}.btn-xs{padding:.15rem .4rem;font-size:.7rem;height:auto;min-height:22px}.btn-sm{padding:.375rem .75rem;font-size:.875rem}.btn-md{padding:.5rem 1rem;font-size:.875rem}.btn-lg{padding:.75rem 1.5rem;font-size:1rem}.container{max-width:1200px;margin:0 auto;padding:0 var(--spacing-md)}.text-primary{color:var(--primary-color)}.text-secondary{color:var(--text-secondary)}table{width:100%;border-collapse:collapse;background-color:var(--glass-bg);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-radius:var(--radius-md);overflow:hidden;box-shadow:var(--shadow-sm);border:1px solid var(--glass-border)}th{text-align:left;padding:var(--spacing-md);background-color:#fff6;color:var(--text-secondary);font-weight:600;font-size:var(--font-size-sm);border-bottom:1px solid var(--glass-border)}td{padding:var(--spacing-sm) var(--spacing-md);border-bottom:1px solid var(--glass-border);color:var(--text-primary)}tr:last-child td{border-bottom:none}.table-row{transition:background-color .2s ease}.table-row:hover{background-color:var(--hover-bg)!important}[data-theme=dark] th{background-color:#161b22!important;color:var(--text-secondary);border-bottom-color:var(--border-color)}[data-theme=dark] td{border-bottom-color:var(--border-color)}[data-theme=dark] .table-row:hover{background-color:#ffffff0a!important}[data-theme=dark] hr{border-color:var(--border-color);opacity:.3}[data-theme=dark] [style*="background-color: #F9FAFB"],[data-theme=dark] [style*="backgroundColor: '#F9FAFB'"],[data-theme=dark] [style*="background-color: #f3f4f6"],[data-theme=dark] [style*="backgroundColor: '#F3F4F6'"],[data-theme=dark] [style*="background-color: #f9fafb"]{background-color:#0d1117!important}[data-theme=dark] [style*="border: 1px solid #eee"],[data-theme=dark] [style*="border: 1px solid #EEE"],[data-theme=dark] [style*="borderBottom: '1px solid #eee'"],[data-theme=dark] [style*="borderBottom: '1px solid #EEE'"],[data-theme=dark] [style*="border-bottom: 1px solid #eee"]{border-color:var(--border-color)!important}[data-theme=dark] .btn-secondary{background-color:#21262d;color:var(--text-primary);border-color:var(--border-color)}[data-theme=dark] .btn-secondary:hover{background-color:#30363d;border-color:#8b949e}[data-theme=dark] .btn-ghost:hover{background-color:#ffffff1a}@media(max-width:768px){.hidden-mobile{display:none!important}.visible-mobile-only{display:block!important}body{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}.container{padding:0 var(--spacing-sm)}[class*=card],div[style*=border-radius]:not([style*=flex-direction]):not([style*=flexDirection]):not([style*="position: fixed"]):not([style*="position:fixed"]){max-width:100%!important;overflow:visible!important;height:auto!important}div[style*="gridTemplateColumns: repeat"]:not(.cal-grid),div[style*="grid-template-columns: repeat"]:not(.cal-grid){grid-template-columns:1fr!important}.cal-grid{grid-template-columns:repeat(7,1fr)!important;gap:0!important}div[style*="gridTemplateColumns: '1fr 1fr'"],div[style*="grid-template-columns: 1fr 1fr"]{gap:8px!important}table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;font-size:.78rem!important}thead,tbody,tr{display:table;width:100%;table-layout:auto}th,td{padding:8px 10px!important;font-size:.78rem!important}button:not(.cal-cell):not(.cal-nav),.btn,[role=button]{min-height:40px;white-space:nowrap;overflow:visible;font-size:.82rem!important}.btn-sm{padding:.35rem .6rem;font-size:.8rem!important;min-height:36px}input[type=text],input[type=number],input[type=email],input[type=password],input[type=date],input[type=search],select,textarea{min-height:42px!important;font-size:16px!important}h1{font-size:1.35rem!important;line-height:1.3!important}h2{font-size:1.15rem!important}h3{font-size:1rem!important}div[style*="flex-direction: row"],div[style*="flexDirection: row"]{flex-wrap:wrap}div[style*="minmax(200px"]{grid-template-columns:1fr 1fr!important}nav[style*="position: fixed"][style*="bottom: 0"]{padding-bottom:env(safe-area-inset-bottom)!important}::-webkit-scrollbar{height:3px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#00000026;border-radius:3px}[data-theme=dark] ::-webkit-scrollbar-thumb{background:#ffffff26}#root{overflow-x:hidden;max-width:100vw}}@media(min-width:769px){.hidden-desktop{display:none!important}}.glass-icon-btn{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;color:var(--text-secondary);background-color:#ffffff80;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);border:none;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:var(--shadow-sm)}.glass-icon-btn:hover{background-color:#fffc;transform:translateY(-1px);box-shadow:var(--shadow-md);color:var(--primary-color)}input.padded-left-icon{padding-left:35px!important}input.search-input-padding{padding-left:44px!important}.tiptap{outline:none!important;background:transparent!important;padding:0!important}.letter-page{width:210mm!important;height:297mm!important;min-height:297mm!important;max-height:297mm!important;padding:20mm 20mm 35mm 25mm!important;margin:0 auto!important;background:#fff!important;color:#000!important;box-shadow:0 4px 20px #00000014!important;border:1px solid #cbd5e1!important;border-radius:4px!important;font-family:Open Sans,Arial,Helvetica,sans-serif!important;font-size:11pt!important;line-height:1.5!important;box-sizing:border-box!important;position:relative!important;display:flex!important;flex-direction:column!important;text-align:left!important;overflow:hidden!important}.letter-page>p{min-height:1.2em;margin-bottom:1em}.letter-page p:empty,.letter-page p:has(>br:only-child),.letter-body p:empty,.letter-body p:has(>br:only-child){min-height:1.6em;margin-bottom:1em!important}[data-theme=dark] .letter-page{background:#fff!important;color:#000!important}.letter-sender{font-size:8pt;color:#555;border-bottom:1px solid #cccccc;padding-bottom:2mm;margin-bottom:5mm;text-transform:uppercase;letter-spacing:.5px}.letter-sender:has(+hr),.letter-sender:has(+.editor-hr){border-bottom:none!important;padding-bottom:0!important;margin-bottom:3mm!important}.editor-hr,.letter-page hr{border:none;border-top:1px solid #cccccc;margin:2mm 0 5mm;width:100%;display:block;height:0}.letter-header-row{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:10mm}.letter-recipient{width:85mm;font-size:10pt;line-height:1.4;color:#111;text-align:left}.letter-date{font-size:10pt;color:#333;text-align:right}.letter-subject{font-size:13pt;font-weight:700;margin-bottom:4mm;color:#000;text-align:left}.letter-object{font-size:10pt;color:#444;margin-bottom:8mm;padding-bottom:2mm;border-bottom:1px dotted #e2e8f0;text-align:left}.letter-body{flex-grow:1;flex-shrink:1;min-height:0;overflow:hidden;margin-bottom:12mm;font-size:11pt;line-height:1.6;text-align:left}.letter-body p{margin-bottom:1em!important;min-height:1.6em}.letter-footer{position:absolute!important;bottom:10mm!important;left:25mm!important;right:20mm!important;height:18mm!important;margin-top:0!important;display:flex!important;justify-content:space-between!important;border-top:1px solid #dddddd!important;padding-top:3mm!important;font-size:8pt!important;color:#666!important;line-height:1.4!important;text-align:left!important;box-sizing:border-box!important;background-color:#fff!important}.footer-col{width:30%}.variable-chip{background-color:#e0f2fe!important;color:#0369a1!important;border:1px solid #bae6fd!important;border-radius:4px!important;padding:1px 6px!important;font-weight:600!important;font-size:90%!important;display:inline-flex!important;align-items:center!important;gap:2px!important;cursor:default!important}[data-theme=dark] .variable-chip{background-color:#e0f2fe!important;color:#0369a1!important}.tiptap p{margin-bottom:1em;min-height:1.6em}.tiptap table{width:100%;border-collapse:collapse;margin:15px 0;background-color:transparent!important;border:1px solid #cbd5e1!important;box-shadow:none!important;border-radius:0!important}.tiptap th{background-color:#f1f5f9!important;color:#0f172a!important;font-weight:700;border:1px solid #cbd5e1!important;padding:8px 12px!important}.tiptap td{border:1px solid #cbd5e1!important;padding:8px 12px!important;color:#334155!important;background-color:transparent!important}.tiptap.show-outlines .layout-div{outline:1px dashed #cbd5e1;outline-offset:1px;position:relative;transition:outline-color .2s}.tiptap.show-outlines .layout-div:hover{outline-color:#0ea5e9}.tiptap .layout-div{position:relative}.tiptap:not(.show-outlines) .layout-div{outline:none!important}.tiptap .layout-div:empty,.tiptap .layout-div:has(>br:only-child){min-height:1.5rem}.tiptap:not(.show-outlines) .layout-div:before{display:none!important}.tiptap.show-outlines .layout-div:before{position:absolute;top:2px;left:2px;background-color:#0ea5e9;color:#fff;font-size:8px;padding:1px 4px;border-radius:2px;font-family:monospace;pointer-events:none;opacity:.85;z-index:100;white-space:nowrap}.tiptap.show-outlines .layout-div.letter-sender:before{content:"Absenderzeile"}.tiptap.show-outlines .layout-div.letter-recipient:before{content:"Empfängeradresse"}.tiptap.show-outlines .layout-div.letter-date:before{content:"Ort / Datum"}.tiptap.show-outlines .layout-div.letter-subject:before{content:"Betreffzeile"}.tiptap.show-outlines .layout-div.letter-object:before{content:"Objekt / Details"}.tiptap.show-outlines .layout-div.letter-body:before{content:"Brieftext / Inhalt"}.tiptap.show-outlines .layout-div.letter-footer:before{content:"Fußzeile"}.tiptap.show-outlines .layout-div.footer-col:before{content:"Spalte Fußzeile"}.tiptap.show-outlines .layout-div.letter-page:before{content:"DIN A4 Seite"}.tiptap.show-outlines .layout-div.letter-header-row:before{content:"Kopfzeile-Spalten"}.variable-chip.expanded-variable-table{display:block!important;width:100%!important;margin:10px 0!important;background-color:#e0f2fe!important;border:1px solid #bae6fd!important;border-radius:6px!important;padding:8px 12px!important;color:#0369a1!important;font-weight:400!important;-webkit-user-select:none!important;user-select:none!important}.variable-chip.multiline-variable{display:inline-block!important;max-width:100%!important;background-color:#e0f2fe!important;border:1px solid #bae6fd!important;border-radius:4px!important;padding:6px 10px!important;color:#0369a1!important;font-weight:400!important;font-family:inherit!important;white-space:pre-wrap!important;line-height:1.4!important;vertical-align:top!important}
