fix: Restore all files lost during destructive rebase

A previous `git pull --rebase origin main` dropped 177 local commits,
losing 3400+ files across admin-v2, backend, studio-v2, website,
klausur-service, and many other services. The partial restore attempt
(660295e2) only recovered some files.

This commit restores all missing files from pre-rebase ref 98933f5e
while preserving post-rebase additions (night-scheduler, night-mode UI,
NightModeWidget dashboard integration).

Restored features include:
- AI Module Sidebar (FAB), OCR Labeling, OCR Compare
- GPU Dashboard, RAG Pipeline, Magic Help
- Klausur-Korrektur (8 files), Abitur-Archiv (5+ files)
- Companion, Zeugnisse-Crawler, Screen Flow
- Full backend, studio-v2, website, klausur-service
- All compliance SDKs, agent-core, voice-service
- CI/CD configs, documentation, scripts

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Benjamin Admin
2026-02-09 09:51:32 +01:00
parent f7487ee240
commit bfdaf63ba9
2009 changed files with 749983 additions and 1731 deletions

View File

@@ -0,0 +1,261 @@
/* ==========================================
AUTH MODAL STYLES
Login, Register, Password Reset
========================================== */
.auth-modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
z-index: 10000;
justify-content: center;
align-items: center;
backdrop-filter: blur(4px);
}
.auth-modal.active {
display: flex;
}
.auth-modal-content {
background: var(--bp-surface);
border-radius: 16px;
width: 90%;
max-width: 420px;
display: flex;
flex-direction: column;
box-shadow: 0 20px 60px rgba(0,0,0,0.4);
border: 1px solid var(--bp-border);
}
.auth-modal-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 24px;
border-bottom: 1px solid var(--bp-border);
}
.auth-modal-header h2 {
margin: 0;
font-size: 18px;
font-weight: 600;
display: flex;
align-items: center;
gap: 10px;
}
.auth-modal-close {
background: none;
border: none;
font-size: 28px;
cursor: pointer;
color: var(--bp-text-muted);
padding: 0;
line-height: 1;
}
.auth-modal-close:hover {
color: var(--bp-text);
}
.auth-body {
padding: 24px;
}
.auth-form {
display: flex;
flex-direction: column;
gap: 16px;
}
.auth-form-group {
display: flex;
flex-direction: column;
gap: 6px;
}
.auth-form-group label {
font-size: 13px;
color: var(--bp-text);
font-weight: 500;
}
.auth-form-group input {
padding: 12px 14px;
border: 1px solid var(--bp-border);
border-radius: 8px;
background: var(--bp-surface-elevated);
color: var(--bp-text);
font-size: 14px;
transition: border-color 0.2s ease;
}
.auth-form-group input:focus {
outline: none;
border-color: var(--bp-primary);
}
.auth-form-group input::placeholder {
color: var(--bp-text-muted);
}
.auth-submit-btn {
padding: 12px 20px;
background: var(--bp-btn-primary-bg);
border: none;
border-radius: 8px;
color: white;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
margin-top: 8px;
}
.auth-submit-btn:hover {
background: var(--bp-btn-primary-hover);
}
.auth-submit-btn:disabled {
opacity: 0.6;
cursor: not-allowed;
}
.auth-divider {
display: flex;
align-items: center;
gap: 12px;
margin: 8px 0;
color: var(--bp-text-muted);
font-size: 12px;
}
.auth-divider::before,
.auth-divider::after {
content: '';
flex: 1;
height: 1px;
background: var(--bp-border);
}
.auth-social-btns {
display: flex;
flex-direction: column;
gap: 10px;
}
.auth-social-btn {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
padding: 12px;
border: 1px solid var(--bp-border);
border-radius: 8px;
background: var(--bp-surface-elevated);
color: var(--bp-text);
font-size: 14px;
cursor: pointer;
transition: all 0.2s ease;
}
.auth-social-btn:hover {
border-color: var(--bp-primary);
background: var(--bp-surface);
}
.auth-social-btn img {
width: 20px;
height: 20px;
}
.auth-footer {
padding: 16px 24px;
border-top: 1px solid var(--bp-border);
text-align: center;
font-size: 13px;
color: var(--bp-text-muted);
}
.auth-footer a {
color: var(--bp-primary);
text-decoration: none;
}
.auth-footer a:hover {
text-decoration: underline;
}
.auth-error {
padding: 12px;
background: rgba(239, 68, 68, 0.1);
border: 1px solid rgba(239, 68, 68, 0.3);
border-radius: 8px;
color: var(--bp-danger);
font-size: 13px;
display: none;
}
.auth-error.active {
display: block;
}
.auth-success {
padding: 12px;
background: rgba(34, 197, 94, 0.1);
border: 1px solid rgba(34, 197, 94, 0.3);
border-radius: 8px;
color: var(--bp-accent);
font-size: 13px;
display: none;
}
.auth-success.active {
display: block;
}
/* Password strength indicator */
.password-strength {
display: flex;
gap: 4px;
margin-top: 8px;
}
.password-strength-bar {
flex: 1;
height: 4px;
background: var(--bp-border);
border-radius: 2px;
transition: background 0.2s ease;
}
.password-strength-bar.weak { background: #ef4444; }
.password-strength-bar.fair { background: #f59e0b; }
.password-strength-bar.good { background: #22c55e; }
.password-strength-bar.strong { background: #0f766e; }
.password-strength-text {
font-size: 11px;
color: var(--bp-text-muted);
margin-top: 4px;
}
/* Light Mode Overrides */
[data-theme="light"] .auth-modal-content {
background: var(--bp-surface);
border-color: var(--bp-border);
}
[data-theme="light"] .auth-form-group input {
background: var(--bp-bg);
border-color: var(--bp-border);
}
[data-theme="light"] .auth-social-btn {
background: var(--bp-bg);
}

View File

@@ -0,0 +1,155 @@
/* ==========================================
Communication Panel Styles (Matrix + Jitsi)
Chat, Room List, Messages
========================================== */
/* Room List Styles */
.room-item {
display: flex;
align-items: center;
gap: 10px;
padding: 10px 12px;
border-radius: 8px;
cursor: pointer;
transition: background 0.2s;
}
.room-item:hover {
background: var(--bp-surface-elevated);
}
.room-item.active {
background: var(--bp-primary-soft);
border-left: 3px solid var(--bp-primary);
}
.room-icon {
font-size: 20px;
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
background: var(--bp-surface-elevated);
border-radius: 8px;
}
.room-info {
flex: 1;
min-width: 0;
}
.room-name {
font-weight: 500;
font-size: 13px;
color: var(--bp-text);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.room-preview {
font-size: 11px;
color: var(--bp-text-muted);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.room-badge {
background: var(--bp-primary);
color: white;
font-size: 10px;
font-weight: 600;
padding: 2px 6px;
border-radius: 10px;
min-width: 18px;
text-align: center;
}
/* Chat Message Styles */
.chat-system-msg {
text-align: center;
padding: 8px 16px;
background: var(--bp-surface-elevated);
border-radius: 8px;
font-size: 12px;
color: var(--bp-text-muted);
}
.chat-msg {
padding: 12px 16px;
border-radius: 12px;
max-width: 85%;
}
.chat-msg-self {
background: var(--bp-primary-soft);
border: 1px solid var(--bp-border-subtle);
margin-left: auto;
}
.chat-msg-other {
background: var(--bp-surface-elevated);
border: 1px solid var(--bp-border);
}
.chat-msg-notification {
background: rgba(239, 68, 68, 0.1);
border: 1px solid rgba(239, 68, 68, 0.3);
}
.chat-msg-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 6px;
}
.chat-msg-sender {
font-weight: 600;
font-size: 12px;
color: var(--bp-primary);
}
.chat-msg-time {
font-size: 10px;
color: var(--bp-text-muted);
}
.chat-msg-content {
font-size: 13px;
line-height: 1.5;
color: var(--bp-text);
}
.chat-msg-actions {
display: flex;
gap: 6px;
margin-top: 10px;
padding-top: 10px;
border-top: 1px solid var(--bp-border);
}
/* Button danger variant (global) */
.btn-danger {
background: #ef4444 !important;
color: white !important;
}
.btn-danger:hover {
background: #dc2626 !important;
}
/* Light Mode Overrides */
[data-theme="light"] .room-item.active {
background: var(--bp-primary-soft);
}
[data-theme="light"] .chat-msg-self {
background: var(--bp-primary-soft);
}
[data-theme="light"] .chat-msg-other {
background: var(--bp-bg);
}

View File

@@ -0,0 +1,167 @@
/* ==========================================
RICH TEXT EDITOR STYLES
WYSIWYG Editor Components
========================================== */
.editor-container {
border: 1px solid var(--bp-border);
border-radius: 8px;
background: var(--bp-surface-elevated);
overflow: hidden;
}
.editor-toolbar {
display: flex;
flex-wrap: wrap;
gap: 4px;
padding: 8px 12px;
border-bottom: 1px solid var(--bp-border);
background: var(--bp-surface);
}
.editor-toolbar-group {
display: flex;
gap: 2px;
padding-right: 8px;
margin-right: 8px;
border-right: 1px solid var(--bp-border);
}
.editor-toolbar-group:last-child {
border-right: none;
margin-right: 0;
padding-right: 0;
}
.editor-btn {
padding: 6px 10px;
border: none;
background: transparent;
color: var(--bp-text);
cursor: pointer;
border-radius: 4px;
font-size: 13px;
font-weight: 500;
transition: all 0.2s ease;
min-width: 32px;
}
.editor-btn:hover {
background: var(--bp-border-subtle);
}
.editor-btn.active {
background: var(--bp-primary);
color: white;
}
.editor-btn-upload {
background: var(--bp-primary);
color: white;
padding: 6px 12px;
}
.editor-btn-upload:hover {
filter: brightness(1.1);
}
.editor-content {
min-height: 300px;
max-height: 500px;
overflow-y: auto;
padding: 16px;
color: var(--bp-text);
line-height: 1.6;
}
.editor-content:focus {
outline: none;
}
.editor-content[contenteditable="true"] {
cursor: text;
}
.editor-content h1 {
font-size: 24px;
font-weight: 700;
margin: 0 0 16px 0;
}
.editor-content h2 {
font-size: 20px;
font-weight: 600;
margin: 24px 0 12px 0;
}
.editor-content h3 {
font-size: 17px;
font-weight: 600;
margin: 20px 0 10px 0;
}
.editor-content p {
margin: 0 0 12px 0;
}
.editor-content ul, .editor-content ol {
margin: 0 0 12px 0;
padding-left: 24px;
}
.editor-content li {
margin-bottom: 4px;
}
.editor-content strong {
font-weight: 600;
}
.editor-content em {
font-style: italic;
}
.editor-content a {
color: var(--bp-primary);
text-decoration: underline;
}
.editor-content blockquote {
border-left: 3px solid var(--bp-primary);
margin: 16px 0;
padding: 8px 16px;
background: var(--bp-surface);
font-style: italic;
}
.editor-content hr {
border: none;
border-top: 1px solid var(--bp-border);
margin: 20px 0;
}
.word-upload-input {
display: none;
}
.editor-status {
padding: 8px 12px;
font-size: 12px;
color: var(--bp-text-muted);
border-top: 1px solid var(--bp-border);
background: var(--bp-surface);
}
/* Light Mode Overrides */
[data-theme="light"] .editor-container {
border-color: var(--bp-border);
}
[data-theme="light"] .editor-toolbar {
background: var(--bp-bg);
border-color: var(--bp-border);
}
[data-theme="light"] .editor-content {
background: var(--bp-surface);
}

View File

@@ -0,0 +1,205 @@
/* ==========================================
LEGAL MODAL STYLES
Privacy, Terms, Cookie Settings
========================================== */
.legal-modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
z-index: 10000;
justify-content: center;
align-items: center;
backdrop-filter: blur(4px);
}
.legal-modal.active {
display: flex;
}
.legal-modal-content {
background: var(--bp-surface);
border-radius: 16px;
width: 90%;
max-width: 700px;
max-height: 80vh;
display: flex;
flex-direction: column;
box-shadow: 0 20px 60px rgba(0,0,0,0.4);
border: 1px solid var(--bp-border);
}
.legal-modal-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 24px;
border-bottom: 1px solid var(--bp-border);
}
.legal-modal-header h2 {
margin: 0;
font-size: 18px;
font-weight: 600;
}
.legal-modal-close {
background: none;
border: none;
font-size: 28px;
cursor: pointer;
color: var(--bp-text-muted);
padding: 0;
line-height: 1;
}
.legal-modal-close:hover {
color: var(--bp-text);
}
.legal-tabs {
display: flex;
gap: 4px;
padding: 12px 24px;
border-bottom: 1px solid var(--bp-border);
background: var(--bp-surface-elevated);
}
.legal-tab {
padding: 8px 16px;
border: none;
background: transparent;
color: var(--bp-text-muted);
cursor: pointer;
border-radius: 8px;
font-size: 13px;
transition: all 0.2s ease;
}
.legal-tab:hover {
background: var(--bp-border-subtle);
color: var(--bp-text);
}
.legal-tab.active {
background: var(--bp-primary);
color: white;
}
.legal-body {
padding: 24px;
overflow-y: auto;
flex: 1;
}
.legal-content {
display: none;
}
.legal-content.active {
display: block;
}
.legal-content h3 {
margin-top: 0;
color: var(--bp-text);
}
.legal-content p {
line-height: 1.6;
color: var(--bp-text-muted);
}
.legal-content ul {
color: var(--bp-text-muted);
line-height: 1.8;
}
/* Cookie Categories */
.cookie-categories {
display: flex;
flex-direction: column;
gap: 12px;
margin-top: 16px;
}
.cookie-category {
display: flex;
align-items: flex-start;
gap: 12px;
padding: 12px;
background: var(--bp-surface-elevated);
border-radius: 8px;
border: 1px solid var(--bp-border);
cursor: pointer;
}
.cookie-category input {
margin-top: 4px;
}
.cookie-category span {
flex: 1;
font-size: 13px;
color: var(--bp-text);
}
/* GDPR Actions */
.gdpr-actions {
display: flex;
flex-direction: column;
gap: 16px;
margin-top: 16px;
}
.gdpr-action {
padding: 16px;
background: var(--bp-surface-elevated);
border-radius: 12px;
border: 1px solid var(--bp-border);
}
.gdpr-action h4 {
margin: 0 0 8px 0;
font-size: 14px;
color: var(--bp-text);
}
.gdpr-action p {
margin: 0 0 12px 0;
font-size: 13px;
}
.btn-danger {
background: var(--bp-danger) !important;
border-color: var(--bp-danger) !important;
}
.btn-danger:hover {
filter: brightness(1.1);
}
/* Light Mode Overrides */
[data-theme="light"] .legal-modal-content {
background: var(--bp-surface);
border-color: var(--bp-border);
}
[data-theme="light"] .legal-tabs {
background: var(--bp-bg);
}
[data-theme="light"] .legal-tab.active {
background: var(--bp-primary);
color: white;
}
[data-theme="light"] .cookie-category,
[data-theme="light"] .gdpr-action {
background: var(--bp-bg);
border-color: var(--bp-border);
}

View File

@@ -0,0 +1,315 @@
/* ==========================================
NOTIFICATION STYLES
Bell, Panel, Items, Preferences
========================================== */
.notification-bell {
position: relative;
display: none;
}
.notification-bell.active {
display: flex;
}
.notification-bell-btn {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
background: var(--bp-surface-elevated);
border: 1px solid var(--bp-border);
border-radius: 8px;
color: var(--bp-text-muted);
cursor: pointer;
font-size: 18px;
transition: all 0.2s ease;
}
.notification-bell-btn:hover {
border-color: var(--bp-primary);
color: var(--bp-primary);
}
.notification-badge {
position: absolute;
top: 2px;
right: 2px;
min-width: 18px;
height: 18px;
background: var(--bp-danger);
color: white;
border-radius: 999px;
font-size: 11px;
font-weight: 600;
display: flex;
align-items: center;
justify-content: center;
padding: 0 5px;
}
.notification-badge.hidden {
display: none;
}
/* Notification Panel */
.notification-panel {
display: none;
position: absolute;
top: 100%;
right: 0;
margin-top: 8px;
width: 360px;
max-height: 480px;
background: var(--bp-surface);
border: 1px solid var(--bp-border);
border-radius: 12px;
box-shadow: 0 10px 40px rgba(0,0,0,0.3);
z-index: 1000;
overflow: hidden;
}
.notification-panel.active {
display: flex;
flex-direction: column;
}
.notification-panel-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 16px;
border-bottom: 1px solid var(--bp-border);
}
.notification-panel-title {
font-weight: 600;
font-size: 16px;
color: var(--bp-text);
}
.notification-panel-actions {
display: flex;
gap: 8px;
}
.notification-panel-action {
padding: 4px 8px;
background: none;
border: 1px solid var(--bp-border);
border-radius: 6px;
color: var(--bp-text-muted);
cursor: pointer;
font-size: 11px;
transition: all 0.2s ease;
}
.notification-panel-action:hover {
border-color: var(--bp-primary);
color: var(--bp-primary);
}
/* Notification List */
.notification-list {
flex: 1;
overflow-y: auto;
max-height: 380px;
}
.notification-item {
display: flex;
gap: 12px;
padding: 14px 16px;
border-bottom: 1px solid var(--bp-border);
cursor: pointer;
transition: background 0.2s ease;
position: relative;
}
.notification-item:hover {
background: var(--bp-surface-elevated);
}
.notification-item.unread {
background: rgba(15, 118, 110, 0.08);
}
.notification-item.unread::before {
content: '';
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 3px;
background: var(--bp-primary);
}
.notification-icon {
width: 36px;
height: 36px;
border-radius: 50%;
background: var(--bp-primary-soft);
color: var(--bp-primary);
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
flex-shrink: 0;
}
.notification-content {
flex: 1;
min-width: 0;
}
.notification-title {
font-weight: 500;
font-size: 13px;
color: var(--bp-text);
margin-bottom: 4px;
line-height: 1.3;
}
.notification-body {
font-size: 12px;
color: var(--bp-text-muted);
line-height: 1.4;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.notification-time {
font-size: 11px;
color: var(--bp-text-muted);
margin-top: 6px;
}
.notification-empty {
padding: 40px 20px;
text-align: center;
color: var(--bp-text-muted);
}
.notification-empty-icon {
font-size: 36px;
margin-bottom: 12px;
opacity: 0.5;
}
.notification-footer {
padding: 12px 16px;
border-top: 1px solid var(--bp-border);
text-align: center;
}
.notification-footer-btn {
background: none;
border: none;
color: var(--bp-primary);
cursor: pointer;
font-size: 13px;
font-weight: 500;
}
.notification-footer-btn:hover {
text-decoration: underline;
}
/* Notification Preferences Modal */
.notification-prefs-modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
z-index: 10001;
justify-content: center;
align-items: center;
backdrop-filter: blur(4px);
}
.notification-prefs-modal.active {
display: flex;
}
.notification-prefs-content {
background: var(--bp-surface);
border-radius: 16px;
width: 90%;
max-width: 420px;
box-shadow: 0 20px 60px rgba(0,0,0,0.4);
border: 1px solid var(--bp-border);
}
.notification-pref-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 14px 0;
border-bottom: 1px solid var(--bp-border);
}
.notification-pref-item:last-child {
border-bottom: none;
}
.notification-pref-label {
font-size: 14px;
color: var(--bp-text);
}
.notification-pref-desc {
font-size: 12px;
color: var(--bp-text-muted);
margin-top: 2px;
}
/* Toggle Switch */
.toggle-switch {
position: relative;
width: 48px;
height: 26px;
background: var(--bp-border);
border-radius: 999px;
cursor: pointer;
transition: background 0.3s ease;
}
.toggle-switch.active {
background: var(--bp-primary);
}
.toggle-switch-handle {
position: absolute;
top: 3px;
left: 3px;
width: 20px;
height: 20px;
background: white;
border-radius: 50%;
transition: transform 0.3s ease;
}
.toggle-switch.active .toggle-switch-handle {
transform: translateX(22px);
}
/* Light Mode Overrides */
[data-theme="light"] .notification-panel {
background: var(--bp-surface);
border-color: var(--bp-border);
}
[data-theme="light"] .notification-item.unread {
background: rgba(14, 165, 233, 0.05);
}
[data-theme="light"] .notification-item.unread::before {
background: var(--bp-primary);
}

View File

@@ -0,0 +1,124 @@
/* ==========================================
SUSPENSION OVERLAY STYLES
Account suspension/blocking display
========================================== */
.suspension-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.9);
z-index: 20000;
justify-content: center;
align-items: center;
backdrop-filter: blur(8px);
}
.suspension-overlay.active {
display: flex;
}
.suspension-content {
background: var(--bp-surface);
border-radius: 20px;
width: 90%;
max-width: 500px;
padding: 40px;
text-align: center;
box-shadow: 0 20px 60px rgba(0,0,0,0.5);
border: 1px solid var(--bp-danger);
}
.suspension-icon {
font-size: 64px;
margin-bottom: 20px;
}
.suspension-title {
font-size: 24px;
font-weight: 700;
color: var(--bp-danger);
margin-bottom: 16px;
}
.suspension-message {
font-size: 15px;
color: var(--bp-text-muted);
line-height: 1.6;
margin-bottom: 24px;
}
.suspension-reason {
background: rgba(239, 68, 68, 0.1);
border: 1px solid rgba(239, 68, 68, 0.3);
border-radius: 12px;
padding: 16px;
margin-bottom: 24px;
}
.suspension-reason-label {
font-size: 12px;
color: var(--bp-text-muted);
margin-bottom: 8px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.suspension-reason-text {
font-size: 14px;
color: var(--bp-text);
}
.suspension-actions {
display: flex;
flex-direction: column;
gap: 12px;
}
.suspension-btn {
padding: 14px 24px;
border-radius: 10px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
border: none;
}
.suspension-btn-primary {
background: var(--bp-btn-primary-bg);
color: white;
}
.suspension-btn-primary:hover {
background: var(--bp-btn-primary-hover);
}
.suspension-btn-secondary {
background: transparent;
border: 1px solid var(--bp-border);
color: var(--bp-text);
}
.suspension-btn-secondary:hover {
border-color: var(--bp-primary);
color: var(--bp-primary);
}
.suspension-countdown {
font-size: 12px;
color: var(--bp-text-muted);
margin-top: 16px;
}
/* Light Mode Overrides */
[data-theme="light"] .suspension-content {
background: var(--bp-surface);
}
[data-theme="light"] .suspension-reason {
background: rgba(239, 68, 68, 0.05);
}