@charset "UTF-8";html{--mat-sys-background: #faf9fd;--mat-sys-error: #ba1a1a;--mat-sys-error-container: #ffdad6;--mat-sys-inverse-on-surface: #f2f0f4;--mat-sys-inverse-primary: #abc7ff;--mat-sys-inverse-surface: #2f3033;--mat-sys-on-background: #1a1b1f;--mat-sys-on-error: #ffffff;--mat-sys-on-error-container: #93000a;--mat-sys-on-primary: #ffffff;--mat-sys-on-primary-container: #00458f;--mat-sys-on-primary-fixed: #001b3f;--mat-sys-on-primary-fixed-variant: #00458f;--mat-sys-on-secondary: #ffffff;--mat-sys-on-secondary-container: #3e4759;--mat-sys-on-secondary-fixed: #131c2b;--mat-sys-on-secondary-fixed-variant: #3e4759;--mat-sys-on-surface: #1a1b1f;--mat-sys-on-surface-variant: #44474e;--mat-sys-on-tertiary: #ffffff;--mat-sys-on-tertiary-container: #0000ef;--mat-sys-on-tertiary-fixed: #00006e;--mat-sys-on-tertiary-fixed-variant: #0000ef;--mat-sys-outline: #74777f;--mat-sys-outline-variant: #c4c6d0;--mat-sys-primary: #005cbb;--mat-sys-primary-container: #d7e3ff;--mat-sys-primary-fixed: #d7e3ff;--mat-sys-primary-fixed-dim: #abc7ff;--mat-sys-scrim: #000000;--mat-sys-secondary: #565e71;--mat-sys-secondary-container: #dae2f9;--mat-sys-secondary-fixed: #dae2f9;--mat-sys-secondary-fixed-dim: #bec6dc;--mat-sys-shadow: #000000;--mat-sys-surface: #faf9fd;--mat-sys-surface-bright: #faf9fd;--mat-sys-surface-container: #efedf0;--mat-sys-surface-container-high: #e9e7eb;--mat-sys-surface-container-highest: #e3e2e6;--mat-sys-surface-container-low: #f4f3f6;--mat-sys-surface-container-lowest: #ffffff;--mat-sys-surface-dim: #dbd9dd;--mat-sys-surface-tint: #005cbb;--mat-sys-surface-variant: #e0e2ec;--mat-sys-tertiary: #343dff;--mat-sys-tertiary-container: #e0e0ff;--mat-sys-tertiary-fixed: #e0e0ff;--mat-sys-tertiary-fixed-dim: #bec2ff;--mat-sys-neutral-variant20: #2d3038;--mat-sys-neutral10: #1a1b1f;--mat-sys-level0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-sys-level1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-sys-level2: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-sys-level3: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-sys-level4: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-sys-level5: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-sys-body-large: 400 1rem / 1.5rem Roboto;--mat-sys-body-large-font: Roboto;--mat-sys-body-large-line-height: 1.5rem;--mat-sys-body-large-size: 1rem;--mat-sys-body-large-tracking: .031rem;--mat-sys-body-large-weight: 400;--mat-sys-body-medium: 400 .875rem / 1.25rem Roboto;--mat-sys-body-medium-font: Roboto;--mat-sys-body-medium-line-height: 1.25rem;--mat-sys-body-medium-size: .875rem;--mat-sys-body-medium-tracking: .016rem;--mat-sys-body-medium-weight: 400;--mat-sys-body-small: 400 .75rem / 1rem Roboto;--mat-sys-body-small-font: Roboto;--mat-sys-body-small-line-height: 1rem;--mat-sys-body-small-size: .75rem;--mat-sys-body-small-tracking: .025rem;--mat-sys-body-small-weight: 400;--mat-sys-display-large: 400 3.562rem / 4rem Roboto;--mat-sys-display-large-font: Roboto;--mat-sys-display-large-line-height: 4rem;--mat-sys-display-large-size: 3.562rem;--mat-sys-display-large-tracking: -.016rem;--mat-sys-display-large-weight: 400;--mat-sys-display-medium: 400 2.812rem / 3.25rem Roboto;--mat-sys-display-medium-font: Roboto;--mat-sys-display-medium-line-height: 3.25rem;--mat-sys-display-medium-size: 2.812rem;--mat-sys-display-medium-tracking: 0;--mat-sys-display-medium-weight: 400;--mat-sys-display-small: 400 2.25rem / 2.75rem Roboto;--mat-sys-display-small-font: Roboto;--mat-sys-display-small-line-height: 2.75rem;--mat-sys-display-small-size: 2.25rem;--mat-sys-display-small-tracking: 0;--mat-sys-display-small-weight: 400;--mat-sys-headline-large: 400 2rem / 2.5rem Roboto;--mat-sys-headline-large-font: Roboto;--mat-sys-headline-large-line-height: 2.5rem;--mat-sys-headline-large-size: 2rem;--mat-sys-headline-large-tracking: 0;--mat-sys-headline-large-weight: 400;--mat-sys-headline-medium: 400 1.75rem / 2.25rem Roboto;--mat-sys-headline-medium-font: Roboto;--mat-sys-headline-medium-line-height: 2.25rem;--mat-sys-headline-medium-size: 1.75rem;--mat-sys-headline-medium-tracking: 0;--mat-sys-headline-medium-weight: 400;--mat-sys-headline-small: 400 1.5rem / 2rem Roboto;--mat-sys-headline-small-font: Roboto;--mat-sys-headline-small-line-height: 2rem;--mat-sys-headline-small-size: 1.5rem;--mat-sys-headline-small-tracking: 0;--mat-sys-headline-small-weight: 400;--mat-sys-label-large: 500 .875rem / 1.25rem Roboto;--mat-sys-label-large-font: Roboto;--mat-sys-label-large-line-height: 1.25rem;--mat-sys-label-large-size: .875rem;--mat-sys-label-large-tracking: .006rem;--mat-sys-label-large-weight: 500;--mat-sys-label-large-weight-prominent: 700;--mat-sys-label-medium: 500 .75rem / 1rem Roboto;--mat-sys-label-medium-font: Roboto;--mat-sys-label-medium-line-height: 1rem;--mat-sys-label-medium-size: .75rem;--mat-sys-label-medium-tracking: .031rem;--mat-sys-label-medium-weight: 500;--mat-sys-label-medium-weight-prominent: 700;--mat-sys-label-small: 500 .688rem / 1rem Roboto;--mat-sys-label-small-font: Roboto;--mat-sys-label-small-line-height: 1rem;--mat-sys-label-small-size: .688rem;--mat-sys-label-small-tracking: .031rem;--mat-sys-label-small-weight: 500;--mat-sys-title-large: 400 1.375rem / 1.75rem Roboto;--mat-sys-title-large-font: Roboto;--mat-sys-title-large-line-height: 1.75rem;--mat-sys-title-large-size: 1.375rem;--mat-sys-title-large-tracking: 0;--mat-sys-title-large-weight: 400;--mat-sys-title-medium: 500 1rem / 1.5rem Roboto;--mat-sys-title-medium-font: Roboto;--mat-sys-title-medium-line-height: 1.5rem;--mat-sys-title-medium-size: 1rem;--mat-sys-title-medium-tracking: .009rem;--mat-sys-title-medium-weight: 500;--mat-sys-title-small: 500 .875rem / 1.25rem Roboto;--mat-sys-title-small-font: Roboto;--mat-sys-title-small-line-height: 1.25rem;--mat-sys-title-small-size: .875rem;--mat-sys-title-small-tracking: .006rem;--mat-sys-title-small-weight: 500;--mat-sys-corner-extra-large: 28px;--mat-sys-corner-extra-large-top: 28px 28px 0 0;--mat-sys-corner-extra-small: 4px;--mat-sys-corner-extra-small-top: 4px 4px 0 0;--mat-sys-corner-full: 9999px;--mat-sys-corner-large: 16px;--mat-sys-corner-large-end: 0 16px 16px 0;--mat-sys-corner-large-start: 16px 0 0 16px;--mat-sys-corner-large-top: 16px 16px 0 0;--mat-sys-corner-medium: 12px;--mat-sys-corner-none: 0;--mat-sys-corner-small: 8px;--mat-sys-dragged-state-layer-opacity: .16;--mat-sys-focus-state-layer-opacity: .12;--mat-sys-hover-state-layer-opacity: .08;--mat-sys-pressed-state-layer-opacity: .12}:root{--primary-color: #1a56db;--primary-color-text: #ffffff;--surface-0: #ffffff;--surface-50: #f8f9fa;--surface-100: #f3f4f6;--surface-200: #e5e7eb;--surface-700: #374151;--surface-800: #1f2937;--surface-900: #111827;--text-color: #1f2937;--text-color-secondary: #6b7280;--border-radius: 8px;--sidebar-width: 260px}[data-theme=dark]{--surface-0: #1f2937;--surface-50: #111827;--surface-100: #374151;--surface-200: #4b5563;--text-color: #f9fafb;--text-color-secondary: #9ca3af}*{box-sizing:border-box;margin:0;padding:0}body{font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif;font-size:14px;background:var(--surface-50);color:var(--text-color);transition:background .3s,color .3s}.app-layout{display:flex;min-height:100vh}.sidebar{width:var(--sidebar-width);background:var(--surface-0);border-right:1px solid var(--surface-200);display:flex;flex-direction:column;position:fixed;height:100vh;z-index:100;transition:background .3s}.main-content{margin-left:var(--sidebar-width);flex:1;padding:24px;min-height:100vh}.page-header{margin-bottom:24px}.page-header h1{font-size:24px;font-weight:700;color:var(--text-color)}.page-header p{color:var(--text-color-secondary);margin-top:4px}.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;margin-bottom:24px}.stat-card{background:var(--surface-0);border-radius:var(--border-radius);padding:20px;border:1px solid var(--surface-200);display:flex;align-items:center;gap:16px;transition:box-shadow .2s}.stat-card:hover{box-shadow:0 4px 12px #00000014}.stat-card .stat-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:20px}.stat-card .stat-value{font-size:28px;font-weight:700}.stat-card .stat-label{font-size:13px;color:var(--text-color-secondary);margin-top:2px}.data-table-wrapper{background:var(--surface-0);border-radius:var(--border-radius);border:1px solid var(--surface-200);overflow:hidden}.badge{padding:3px 10px;border-radius:20px;font-size:12px;font-weight:500}.badge.badge-draft{background:#f3f4f6;color:#374151}.badge.badge-sent{background:#eff6ff;color:#1d4ed8}.badge.badge-paid{background:#f0fdf4;color:#166534}.badge.badge-overdue{background:#fef2f2;color:#dc2626}.badge.badge-cancelled{background:#f9fafb;color:#6b7280}.badge.badge-entwurf{background:#f3f4f6;color:#374151}.badge.badge-gesendet{background:#eff6ff;color:#1d4ed8}.badge.badge-bezahlt{background:#f0fdf4;color:#166534}.badge.badge-\fc berf\e4llig{background:#fef2f2;color:#dc2626}.badge.badge-storniert{background:#f9fafb;color:#6b7280}.status-chip{display:inline-flex;align-items:center;padding:3px 10px;border-radius:20px;font-size:12px;font-weight:500}.status-chip.active{background:#f0fdf4;color:#166534}.status-chip.inactive{background:#f3f4f6;color:#6b7280}.status-chip.role-admin{background:#fef2f2;color:#dc2626}.status-chip.role-user{background:#eff6ff;color:#1d4ed8}.form-card{background:var(--surface-0);border-radius:var(--border-radius);border:1px solid var(--surface-200);padding:24px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 20px}.form-grid.three-cols{grid-template-columns:1fr 1fr 1fr}@media(max-width:768px){.form-grid{grid-template-columns:1fr}}.full-width{width:100%}.form-full{grid-column:1/-1}.action-bar{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;gap:12px}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#1a56db,#1e3a8a)}.login-card{background:#fff;border-radius:16px;padding:48px;width:100%;max-width:420px;box-shadow:0 20px 60px #0003;color-scheme:light;color:#1f2937}.login-card .mdc-text-field__input{color:#1f2937!important;-webkit-text-fill-color:#1f2937!important;caret-color:#1f2937!important}.login-card .mdc-floating-label,.login-card .mdc-floating-label--float-above{color:#6b7280!important}.login-card .mdc-notched-outline__leading,.login-card .mdc-notched-outline__notch,.login-card .mdc-notched-outline__trailing{border-color:#d1d5db!important}.login-card .mdc-text-field--focused .mdc-notched-outline__leading,.login-card .mdc-text-field--focused .mdc-notched-outline__notch,.login-card .mdc-text-field--focused .mdc-notched-outline__trailing{border-color:#1a56db!important}.login-card input:-webkit-autofill,.login-card input:-webkit-autofill:hover,.login-card input:-webkit-autofill:focus{-webkit-text-fill-color:#1f2937!important;-webkit-box-shadow:0 0 0px 1000px white inset!important;caret-color:#1f2937!important}.login-card h1{color:#111827}.login-card p{color:#6b7280}.mat-mdc-form-field{width:100%}.mat-mdc-form-field-subscript-wrapper{display:none}.snack-success .mdc-snackbar__surface{background:#166534!important}.snack-error .mdc-snackbar__surface{background:#dc2626!important}.snack-warn .mdc-snackbar__surface{background:#c2410c!important}.mat-mdc-table{width:100%;background:var(--surface-0)!important}.mat-mdc-header-cell{font-size:12px!important;font-weight:600!important;color:var(--text-color-secondary)!important;text-transform:uppercase;letter-spacing:.5px;background:var(--surface-50)!important}.mat-mdc-row:hover .mat-mdc-cell{background:var(--surface-50)!important}[data-theme=dark] .mdc-text-field__input{color:#f9fafb!important;caret-color:#93c5fd!important}[data-theme=dark] .mdc-floating-label,[data-theme=dark] .mdc-floating-label--float-above{color:#9ca3af!important}[data-theme=dark] .mdc-notched-outline__leading,[data-theme=dark] .mdc-notched-outline__notch,[data-theme=dark] .mdc-notched-outline__trailing{border-color:#4b5563!important}[data-theme=dark] .mdc-text-field--focused .mdc-notched-outline__leading,[data-theme=dark] .mdc-text-field--focused .mdc-notched-outline__notch,[data-theme=dark] .mdc-text-field--focused .mdc-notched-outline__trailing{border-color:#60a5fa!important}[data-theme=dark] .mdc-text-field:not(.mdc-text-field--disabled):hover .mdc-notched-outline__leading,[data-theme=dark] .mdc-text-field:not(.mdc-text-field--disabled):hover .mdc-notched-outline__notch,[data-theme=dark] .mdc-text-field:not(.mdc-text-field--disabled):hover .mdc-notched-outline__trailing{border-color:#6b7280!important}[data-theme=dark] .mdc-text-field--outlined:not(.mdc-text-field--disabled){background-color:transparent}[data-theme=dark] .mat-mdc-select-value-text,[data-theme=dark] .mat-mdc-select-arrow{color:#f9fafb!important}[data-theme=dark] .mat-mdc-select-placeholder{color:#6b7280!important}[data-theme=dark] .mat-mdc-select-trigger{color:#f9fafb!important}[data-theme=dark] .mat-mdc-select-panel,[data-theme=dark] .mat-mdc-autocomplete-panel{background:#1f2937!important;border:1px solid #374151}[data-theme=dark] .mat-mdc-option{color:#f9fafb!important}[data-theme=dark] .mat-mdc-option:hover:not(.mat-mdc-option-disabled),[data-theme=dark] .mat-mdc-option.mat-mdc-option-active{background:#374151!important}[data-theme=dark] .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple){background:#1d3557!important}[data-theme=dark] .mat-datepicker-content{background:#1f2937!important;color:#f9fafb!important}[data-theme=dark] .mat-datepicker-content .mat-calendar-body-cell-content{color:#f9fafb!important}[data-theme=dark] .mat-datepicker-content .mat-calendar-body-selected{background:#3b82f6!important;color:#fff!important}[data-theme=dark] .mat-datepicker-content .mat-calendar-body-today:not(.mat-calendar-body-selected){border-color:#60a5fa!important}[data-theme=dark] .mat-datepicker-content .mat-calendar-arrow{fill:#f9fafb!important}[data-theme=dark] .mat-datepicker-content .mat-calendar-table-header,[data-theme=dark] .mat-datepicker-content .mat-calendar-body-label,[data-theme=dark] .mat-datepicker-toggle .mat-mdc-icon-button,[data-theme=dark] .mat-mdc-form-field-hint,[data-theme=dark] .mat-mdc-form-field-error{color:#9ca3af!important}[data-theme=dark] .mat-mdc-slide-toggle .mdc-label,[data-theme=dark] .mat-mdc-radio-button .mdc-label{color:#f9fafb!important}:root .login-card,[data-theme=dark] .login-card{color:#1f2937}:root .login-card .mdc-text-field__input,[data-theme=dark] .login-card .mdc-text-field__input{color:#1f2937!important;-webkit-text-fill-color:#1f2937!important;caret-color:#1f2937!important}:root .login-card .mdc-floating-label,:root .login-card .mdc-floating-label--float-above,[data-theme=dark] .login-card .mdc-floating-label,[data-theme=dark] .login-card .mdc-floating-label--float-above{color:#6b7280!important}:root .login-card .mdc-notched-outline__leading,:root .login-card .mdc-notched-outline__notch,:root .login-card .mdc-notched-outline__trailing,[data-theme=dark] .login-card .mdc-notched-outline__leading,[data-theme=dark] .login-card .mdc-notched-outline__notch,[data-theme=dark] .login-card .mdc-notched-outline__trailing{border-color:#d1d5db!important}:root .login-card .mdc-text-field--focused .mdc-notched-outline__leading,:root .login-card .mdc-text-field--focused .mdc-notched-outline__notch,:root .login-card .mdc-text-field--focused .mdc-notched-outline__trailing,[data-theme=dark] .login-card .mdc-text-field--focused .mdc-notched-outline__leading,[data-theme=dark] .login-card .mdc-text-field--focused .mdc-notched-outline__notch,[data-theme=dark] .login-card .mdc-text-field--focused .mdc-notched-outline__trailing{border-color:#1a56db!important}:root .login-card input:-webkit-autofill,:root .login-card input:-webkit-autofill:hover,:root .login-card input:-webkit-autofill:focus,:root .login-card input:-webkit-autofill:active,[data-theme=dark] .login-card input:-webkit-autofill,[data-theme=dark] .login-card input:-webkit-autofill:hover,[data-theme=dark] .login-card input:-webkit-autofill:focus,[data-theme=dark] .login-card input:-webkit-autofill:active{-webkit-text-fill-color:#1f2937!important;-webkit-box-shadow:0 0 0px 1000px white inset!important;box-shadow:0 0 0 1000px #fff inset!important;caret-color:#1f2937!important;transition:background-color 9999s ease-in-out 0s}.pdf-preview-panel .mat-mdc-dialog-container{padding:0!important;border-radius:0!important;overflow:hidden!important}.pdf-preview-panel .mdc-dialog__surface{border-radius:0!important;padding:0!important;display:flex!important;flex-direction:column!important;height:100%!important;max-height:100vh!important}
