/* VERSION: Live-Cockpit Punkt 1 - v12 | 2026-03-10 | Ergebnis-Badges robust repariert */
/* VERSION: Live-Cockpit Punkt 1 - v11 | 2026-03-10 | Icon-Badges repariert */

@font-face {
    font-family: 'InterLocal';
    src: url('fonts/inter-latin-400-normal.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'InterLocal';
    src: url('fonts/inter-latin-500-normal.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'InterLocal';
    src: url('fonts/inter-latin-600-normal.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'InterLocal';
    src: url('fonts/inter-latin-700-normal.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* === CSS: VARIABLES === */
:root {
    --primary: #243545;         
    --primary-light: #364a5e;   
    --bg-shell: #00162a;        
    --accent: #009ee0;          
    --accent-hover: #0088c2;    
    --accent-glow: rgba(0, 158, 224, 0.2);
    --success-bg: #d1fae5; 
    --success-text: #065f46;
    --danger-bg: #fee2e2; 
    --danger-text: #991b1b;
    --warning-bg: #fffbeb;
    --warning-text: #92400e;
    --warning-border: #fde68a;
    --bg-main: #f4f6fa; 
    --bg-card: #ffffff;
    --text-main: #1e293b; 
    --text-muted: #64748b;
    --border: #e2e8f0;
    --radius-card: 16px;
    --radius-btn: 10px;
    --ko-red: #fee2e2;
}

/* === CSS: WORKSPACE THEMES === */
body[data-theme="basis"] {
    --bg-main: #f4f6fa;
    --accent: #009ee0; --accent-hover: #0088c2; --accent-glow: rgba(0, 158, 224, 0.2);
}
body[data-theme="basis-tl"] {
    --bg-main: #f5f3f0;
    --accent: #b8860b; --accent-hover: #9a7209; --accent-glow: rgba(184, 134, 11, 0.2);
}
body[data-theme="deliver"] {
    --bg-main: #f0f8f4;
    --accent: #059669; --accent-hover: #047857; --accent-glow: rgba(5, 150, 105, 0.2);
}
body[data-theme="drive"] {
    --bg-main: #fdf8f3;
    --accent: #d97706; --accent-hover: #b45309; --accent-glow: rgba(217, 119, 6, 0.2);
}
body[data-theme="impact"] {
    --bg-main: #f5f3f8;
    --accent: #7c3aed; --accent-hover: #6d28d9; --accent-glow: rgba(124, 58, 237, 0.2);
}

/* === CSS: GLOBAL === */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { 
    font-family: 'InterLocal', system-ui, -apple-system, 'Segoe UI', sans-serif; 
    background: var(--bg-main); color: var(--text-main); 
    display: flex; height: 100vh; overflow: hidden; -webkit-font-smoothing: antialiased;
    transition: background-color 0.5s ease;
}
body.auth-locked { overflow: hidden; }
#app-shell { display: flex; width: 100%; height: 100%; }

.login-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(circle at top left, rgba(0, 158, 224, 0.22), transparent 32%),
        linear-gradient(135deg, rgba(0, 22, 42, 0.96) 0%, rgba(22, 49, 76, 0.94) 100%);
    backdrop-filter: blur(10px);
}
.login-overlay.is-open { display: flex; }
.login-card {
    width: min(520px, 100%);
    padding: 28px 30px 18px;
    border-radius: 28px;
    background: rgba(255,255,255,0.965);
    border: 1px solid rgba(255,255,255,0.56);
    box-shadow: 0 28px 66px rgba(0,0,0,0.3);
}
.login-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 22px;
}
.login-brand-logo {
    width: min(100%, 385px);
    max-width: 385px;
    height: auto;
    display: block;
    margin: 0 auto 2px;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.16));
}
.login-version {
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #64748b;
    text-align: center;
}
.login-kicker {
    display: block;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #0d3b66;
    margin: -90px 0 18px;
    text-align: center;
}
.login-brand h1 { font-size: 1.65rem; line-height: 1.05; color: var(--bg-shell); margin-top: 60px; margin-bottom: 12px; }
.login-copy { color: #5f7392; line-height: 1.48; margin-bottom: 0; max-width: 380px; font-size: 0.92rem; }
.login-form { display: flex; flex-direction: column; gap: 16px; }
.login-submit-btn { width: 100%; margin-top: 10px; }
.login-version-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 12px;
    padding-top: 12px;
}
.login-version-line {
    flex: 1 1 auto;
    max-width: 150px;
    height: 1px;
    background: linear-gradient(90deg, rgba(207, 217, 230, 0), rgba(207, 217, 230, 0.95), rgba(207, 217, 230, 0));
}
.login-version-footer-text {
    margin: 0;
    white-space: nowrap;
}
.login-feedback {
    min-height: 18px;
    font-size: 0.84rem;
    color: var(--text-muted);
}
.login-feedback.is-error { color: #b91c1c; font-weight: 600; }

/* === CSS: SIDEBAR === */
.sidebar-container { width: 110px; flex-shrink: 0; z-index: 50; }
.sidebar { 
    position: fixed; top: 0; left: 0; height: 100vh; width: 110px;
    background: var(--bg-shell); transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden; white-space: nowrap; box-shadow: 4px 0 15px rgba(0,0,0,0.05);
    display: flex; flex-direction: column; z-index: 51;
}
.sidebar:hover { width: 330px; box-shadow: 15px 0 40px rgba(0,0,0,0.2); }
.sidebar-header { 
    min-height: 96px;
    padding: 10px 12px 10px 28px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 15px;
}
.sidebar-top-oms-logo {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #fff;
    object-fit: cover;
    object-position: center;
    display: block;
    margin-top: 10px;
    box-shadow: 0 0 15px rgba(0, 158, 224, 0.4);
    transition: box-shadow 0.3s ease;
}
.sidebar:hover .sidebar-top-oms-logo {
    box-shadow: 0 0 20px rgba(0, 158, 224, 0.6);
}

.workspace-select {
    background: rgba(255,255,255,0.08); color: var(--accent); border: 1px solid var(--accent); 
    border-radius: 8px; padding: 8px 10px; font-size: 0.85rem; font-weight: 700; width: 100%;
    cursor: pointer; outline: none; font-family: inherit; transition: all 0.3s;
}
.workspace-select:hover { background: rgba(255,255,255,0.15); box-shadow: 0 0 12px var(--accent-glow); }
.workspace-select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.workspace-select option { background: var(--bg-shell); color: white; }
.logo-version { font-size: 0.6rem; color: #64748b; font-weight: 700; letter-spacing: 1px; margin-top: 4px;}

/* Workspace Switcher Nav Item */
.workspace-switcher-item {
    padding: 12px 15px 12px 33px; margin: 0 10px 0 10px; border-radius: 10px; display: flex; align-items: center; gap: 20px;
    color: var(--accent); cursor: pointer; transition: background 0.2s, color 0.5s; font-weight: 500;
    position: relative;
}
.workspace-switcher-item:hover { background: rgba(0, 158, 224, 0.1); }
.workspace-switcher-item .icon-nav { color: var(--accent); }
.ws-select-wrapper {
    width: 0; overflow: hidden; opacity: 0;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s;
}
.sidebar:hover .ws-select-wrapper { width: 180px; opacity: 1; transition-delay: 0.1s; }

.sidebar-footer {
    display: flex; flex-direction: column; align-items: flex-start;
    padding: 14px 10px 10px 29px; margin-top: 8px; opacity: 0.62;
    box-sizing: border-box;
    transition: opacity 0.3s ease
}
.sidebar-footer:hover { opacity: 0.92; }
.sidebar-footer-symbol-frame {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.sidebar-footer-symbol-logo {
    width: 51px;
    height: 51px;
    object-fit: contain;
    object-position: center;
    display: block;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.2));
}
.sidebar-footer-version { font-size: 0.55rem; color: #64748b; font-weight: 700; letter-spacing: 1px; margin-top: 6px; margin-left: 1px; }

.sidebar nav { padding: 0; display: flex; flex-direction: column; gap: 10px; }
.nav-slot-spacer {
    height: 54px;
    margin: 0 10px;
    border-radius: 10px;
    visibility: hidden;
    flex-shrink: 0;
}
.nav-item {
    padding: 15px 15px 15px 33px; margin: 0 10px 0 10px; border-radius: 10px; display: flex; align-items: center; gap: 20px;
    color: #cbd5e1; cursor: pointer; transition: background 0.2s; font-weight: 500; text-decoration: none;
    position: relative;
}
.nav-item:hover { background: rgba(0, 158, 224, 0.15); color: white; border-left: 3px solid #009ee0; }
.nav-item.active { background: var(--accent); color: white; font-weight: 600; box-shadow: 0 4px 12px var(--accent-glow); }
.icon-nav { width: 24px; height: 24px; flex-shrink: 0; transform: scale(1.8);}

/* Nav Badge (SVG Notification) */
.nav-badge {
    position: absolute; top: 2px; left: 48px;
    pointer-events: auto; cursor: pointer; z-index: 10;
    transform: translateZ(0);
    transition: transform 0.15s ease;
    filter: drop-shadow(0 2px 4px rgba(239, 68, 68, 0.5));
    animation: badgePulse 2.5s ease-in-out infinite;
}
.nav-badge:hover { transform: translateZ(0) scale(1.15); animation: none; }
.nav-item.active .nav-badge { filter: drop-shadow(0 2px 4px rgba(0, 158, 224, 0.4)); }
.nav-badge-green {
    filter: drop-shadow(0 2px 4px rgba(16, 185, 129, 0.5));
    animation: badgePulseGreen 2.5s ease-in-out infinite;
}
.nav-badge-green:hover { animation: none; }
.nav-badge-green.nav-badge-complete {
    filter: drop-shadow(0 2px 6px rgba(5, 150, 105, 0.6));
}
@keyframes badgePulse {
    0%, 100% { filter: drop-shadow(0 2px 4px rgba(239, 68, 68, 0.5)); }
    50% { filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.8)); }
}
@keyframes badgePulseGreen {
    0%, 100% { filter: drop-shadow(0 2px 4px rgba(16, 185, 129, 0.5)); }
    50% { filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.8)); }
}

.nav-text { opacity: 0; width: 0; overflow: hidden; font-weight: 500; transition: opacity 0.2s, width 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.sidebar:hover .nav-text { opacity: 1; width: 160px; transition-delay: 0.1s;}

/* === CSS: MAIN LAYOUT & TOPBAR === */
.main-content { 
    flex: 1; display: flex; flex-direction: column; overflow: hidden; 
    position: relative; background: var(--bg-shell); width: calc(100vw - 110px);
}
.top-bar { 
    min-height: 96px; background: var(--bg-shell); display: flex; align-items: center; justify-content: space-between; 
    padding: 10px 40px; z-index: 10; box-shadow: 0 4px 12px rgba(0,0,0,0.1); flex-shrink: 0; color: white;
}
.topbar-left-cluster {
    display: flex;
    align-items: center;
    gap: 30px;
    min-width: 0;
}
#breadcrumb { font-size: 1.1rem; color: #ffffff; font-weight: 600; }
#breadcrumb b { color: var(--accent); }
.topbar-results-actions {
    display: none;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.session-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 360px;
    padding: 8px 196px 10px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
}
.session-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.session-action-btn {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 11px;
    background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}
.session-action-btn svg {
    width: 17px;
    height: 17px;
    display: block;
}
.session-action-btn:hover {
    color: #f08a24;
    border-color: rgba(240, 138, 36, 0.38);
    background: linear-gradient(180deg, rgba(240,138,36,0.14) 0%, rgba(240,138,36,0.06) 100%);
    box-shadow: 0 0 0 1px rgba(240, 138, 36, 0.06), 0 0 16px rgba(240, 138, 36, 0.16);
    transform: translateY(-1px);
    animation: accountLogoutBlink 0.9s ease-in-out infinite alternate;
}
.session-action-btn:focus-visible {
    outline: none;
    color: #f08a24;
    border-color: rgba(240, 138, 36, 0.5);
    box-shadow: 0 0 0 3px rgba(240, 138, 36, 0.16);
}
.session-logout-btn {
    margin-left: 12px;
}
.session-panel.clickable {
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.session-panel.clickable:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
    border-color: rgba(0, 158, 224, 0.55);
}
.session-panel-label { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #94a3b8; }
.session-user-name { font-size: 0.96rem; font-weight: 700; color: #ffffff; }
.session-user-role { font-size: 0.78rem; color: #cbd5e1; }
.session-role-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 2px;
}
.session-save-meta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.74rem;
    color: #cbd5e1;
}
.session-save-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    display: inline-block;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.12);
}
.session-save-dot.is-ready {
    background: #22c55e;
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.24), 0 0 10px rgba(34, 197, 94, 0.26);
}
.session-save-dot.is-busy {
    background: #ef4444;
    box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.24), 0 0 10px rgba(239, 68, 68, 0.24);
}

.workspace-server-meta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 4px;
    font-size: 0.72rem;
    color: #b7c3d4;
}
.workspace-server-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    display: inline-block;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.12);
}
.workspace-server-dot.is-server {
    background: #22c55e;
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.24), 0 0 10px rgba(34, 197, 94, 0.24);
}
.workspace-server-dot.is-imported {
    background: #38bdf8;
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.24), 0 0 10px rgba(56, 189, 248, 0.22);
}
.workspace-server-dot.is-warning {
    background: #f59e0b;
    box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.24), 0 0 10px rgba(245, 158, 11, 0.22);
}
.workspace-server-dot.is-error {
    background: #ef4444;
    box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.24), 0 0 10px rgba(239, 68, 68, 0.24);
}
.workspace-server-dot.is-neutral {
    background: #64748b;
    box-shadow: 0 0 0 1px rgba(100, 116, 139, 0.24), 0 0 10px rgba(100, 116, 139, 0.18);
}

.status-pill { 
    padding: 6px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; transition: all 0.3s; 
    border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; gap: 8px; color: white;
}
.status-ready { background: var(--success-bg); color: var(--success-text); }
.status-busy { background: var(--danger-bg); color: var(--danger-text); }
.status-incomplete { background: var(--warning-bg); color: var(--warning-text); border-color: var(--warning-border); display: none; }
.autosave-pill {
    background: rgba(255,255,255,0.05); color: #cbd5e1; padding: 6px 14px; border-radius: 999px; 
    font-size: 0.85rem; font-weight: 500; border: 1px solid rgba(255,255,255,0.1);
}
.content-corner-fix { display: none; }
.content-corner-fix::after { display: none; }

/* === CSS: VIEWS & TABS === */
.view-container { flex: 1; position: relative; overflow: hidden; display: flex; flex-direction: column; background: var(--bg-main); border: 5px solid var(--accent); border-radius: 20px 0 16px 0; margin: 0 10px 10px 0; box-shadow: 0 0 20px var(--accent-glow); transition: border-color 0.5s ease, box-shadow 0.5s ease, background-color 0.5s ease;} 
.view { display: none; height: 100%; animation: fadeIn 0.4s ease; flex-direction: column; flex: 1;}
.view.active { display: flex; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

#view-results, #view-archive, #view-admin, .eval-view { padding: 40px; overflow-y: auto; }
#view-results.active, #view-archive.active, #view-admin.active, .eval-view.active { display: block; }

.master-content-wrapper { padding: 40px; overflow: hidden; }
.master-content-wrapper.active { display: flex; flex-direction: column; }
#stammdaten-top-panel { flex-shrink: 0; overflow-y: auto; }
#stammdaten-resizer { height: 20px; cursor: row-resize; display: flex; align-items: center; justify-content: center; margin: 5px 0; transition: background 0.2s; border-radius: 10px; }
#stammdaten-resizer div { width: 50px; height: 4px; background: #cbd5e1; border-radius: 2px; transition: background 0.2s; }
#stammdaten-resizer:hover { background: rgba(0, 158, 224, 0.05); }
#stammdaten-resizer:hover div { background: var(--accent); }
#stammdaten-bottom-panel { flex: 1; display: flex; flex-direction: column; min-height: 200px; overflow: hidden; }

/* === CSS: EVALUATION HEADERS === */
.eval-header-section { margin-bottom: 20px; }
.split-header-container {
    display: flex; align-items: stretch; background: var(--primary); border: 1px solid rgba(255,255,255,0.1); 
    border-radius: 12px; padding: 20px 25px; box-shadow: 0 10px 30px rgba(36,53,69,0.15); margin-bottom: 5px; color: white;
}
.split-header-meta { 
    flex: 0 0 380px; border-right: 1px solid rgba(255,255,255,0.15); padding-right: 25px; margin-right: 25px; display: flex; flex-direction: column; justify-content: center;
}
.split-header-meta h2 { margin: 0; color: #ffffff; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.5px; display: flex; align-items: center; }
.split-header-meta div { font-size: 0.85rem; color: #94a3b8; margin-bottom: 6px; display: flex; align-items: center; gap: 8px;}
.split-header-meta div:last-child { margin-bottom: 0; }
.split-header-meta strong { color: #f8fafc; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 320px;} 

.day-status-pill {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 10px 18px; border-radius: 14px; font-size: 0.8rem; font-weight: 700;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.05);
    transition: background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
    margin-top: 4px;
}
.day-status-open { background: rgba(245, 158, 11, 0.1); color: #fcd34d; border-color: rgba(245, 158, 11, 0.3); cursor: pointer; }
.day-status-open.is-filter-active { background: rgba(245, 158, 11, 0.2); border-color: rgba(251, 191, 36, 0.8); box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.35); }
.day-status-complete {
    background: rgba(16, 185, 129, 0.12); color: #6ee7b7; border-color: rgba(16, 185, 129, 0.35);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15), inset 0 1px 0 rgba(255,255,255,0.05);
}
.day-status-text { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.3px; }
.day-filter-notice { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px; padding:10px 12px; border:1px solid #f59e0b; background:linear-gradient(90deg, rgba(251, 191, 36, 0.30), rgba(245, 158, 11, 0.22)); color:#1f2937; border-radius:12px; font-size:0.93rem; font-weight:700; box-shadow:inset 0 1px 0 rgba(255,255,255,0.35); }
.day-filter-reset { border:1px solid #b45309; background:#fef3c7; color:#78350f; border-radius:999px; padding:6px 10px; font-size:0.78rem; font-weight:700; cursor:pointer; }
.day-filter-reset:hover { background:#fde68a; }
.day-filter-empty { margin-bottom:10px; padding:12px; border:1px dashed rgba(148, 163, 184, 0.35); border-radius:12px; color:var(--text-muted); background:rgba(15, 23, 42, 0.22); }

.split-header-quote-box { flex: 1; display: flex; align-items: center; gap: 15px; background: rgba(255, 255, 255, 0.04); padding: 15px 20px; border-radius: 8px; border-left: 3px solid var(--accent); }
.split-header-text { font-family: 'Calibri Light', Calibri, sans-serif; font-size: 1.15rem; line-height: 1.4; color: #e2e8f0; font-weight: 300; margin: 0; letter-spacing: 0.3px; }
.icon-title { width: 28px; height: 28px; color: var(--accent); margin-right: 8px; filter: drop-shadow(0 2px 4px rgba(0,158,224,0.3)); }

/* === CSS: DASHBOARD & KPI === */
.cockpit-header-bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 42px;
}
.cockpit-header-main {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
}
.cockpit-header-copy {
    min-width: 240px;
}
.cockpit-action-pill {
    min-height: 38px;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}
.cockpit-action-pill .icon-btn {
    width: 15px;
    height: 15px;
}
.cockpit-action-pill-success {
    background: #059669;
    border-color: #047857;
}
.cockpit-action-pill-success:hover:not(:disabled) {
    background: #047857;
    box-shadow: 0 6px 16px rgba(5, 150, 105, 0.22);
}
.cockpit-action-pill-shell {
    background: var(--bg-shell);
    border-color: var(--bg-shell);
}
.cockpit-action-pill-shell:hover:not(:disabled) {
    background: #0f3758;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.22);
}
.kpi-grid { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 25px; margin-top: 0; }
.kpi-card { 
    background: white; border-radius: 12px; padding: 14px 20px 16px; display: flex; flex-direction: column; position: relative; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.03); border: 1px solid var(--border); min-width: 180px; 
}
.kpi-filter { cursor: pointer; user-select: none; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.kpi-filter:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.kpi-filter:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.kpi-filter.is-active { border-color: var(--bg-shell); box-shadow: 0 0 0 2px rgba(0, 22, 42, 0.2), 0 10px 22px rgba(0,0,0,0.09); transform: translateY(-2px); }
.kpi-filter.is-active .kpi-label { color: var(--bg-shell); }
.kpi-label { font-size: 0.75rem; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.kpi-value { font-size: 1.9rem; font-weight: 800; color: var(--bg-shell); line-height: 0.95; }
.kpi-icon-wrapper {
    position: absolute; top: -16px; right: -16px; width: 52px; height: 52px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; border: 4px solid var(--bg-main); box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
.kpi-icon-wrapper svg { width: 24px; height: 24px; display: block; flex-shrink: 0; }
.kpi-green { background-color: #f0fdf4; border-color: #bcf0da; }
.kpi-green .kpi-icon-wrapper { background-color: #d1fae5; color: #059669; }
.kpi-yellow { background-color: #fffbeb; border-color: #fde68a; }
.kpi-yellow .kpi-icon-wrapper { background-color: #fef3c7; color: #d97706; }
.kpi-red { background-color: #fef2f2; border-color: #fecaca; }
.kpi-red .kpi-icon-wrapper { background-color: #fee2e2; color: #dc2626; }
.kpi-blue { background-color: #eff6ff; border-color: #bfdbfe; }
.kpi-blue .kpi-icon-wrapper { background-color: #dbeafe; color: #1d4ed8; }
.kpi-teal { background-color: #ecfeff; border-color: #a5f3fc; }
.kpi-teal .kpi-icon-wrapper { background-color: #cffafe; color: #0f766e; }
.kpi-indigo { background-color: #eef2ff; border-color: #c7d2fe; }
.kpi-indigo .kpi-icon-wrapper { background-color: #e0e7ff; color: #4338ca; }
.kpi-detail-trigger.is-ready { border-color: #1d4ed8; box-shadow: 0 0 0 2px rgba(29, 78, 216, 0.15), 0 10px 22px rgba(0,0,0,0.09); }
.kpi-detail-trigger.is-compare-ready { animation: compareDetailPulse 1.75s ease-in-out infinite; }

@keyframes compareDetailPulse {
    0%, 100% {
        background-color: #eff6ff;
        box-shadow: 0 0 0 2px rgba(29, 78, 216, 0.16), 0 10px 22px rgba(0,0,0,0.09);
    }
    50% {
        background-color: #e6f7f6;
        box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.24), 0 10px 22px rgba(0,0,0,0.09);
    }
}

/* === CSS: INPUTS & TABLES === */
.card { background: white; border-radius: var(--radius-card); border: 1px solid var(--border); padding: 30px; box-shadow: 0 4px 20px rgba(0,0,0,0.03); margin-bottom: 30px; flex-shrink: 0;}
.grid-inputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }

.field.is-required-missing label {
    color: var(--danger-text);
    font-weight: 700;
}

.field.is-required-missing input,
.input-required-missing {
    border-color: #f87171 !important;
    background: #fff1f2 !important;
    color: var(--danger-text) !important;
    box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.08);
}
label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; }
input, textarea, select { padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-btn); font-size: 0.95rem; transition: all 0.2s; background: #f8fafc; font-family: inherit; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px var(--accent-glow); }

.table-responsive { border-radius: var(--radius-card); border: 1px solid var(--border); background: white; box-shadow: 0 4px 20px rgba(0,0,0,0.02); width: 100%; overflow-x: auto; }
#stammdaten-bottom-panel .table-responsive { overflow-y: auto; height: 100%; }
.data-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.data-table thead th { position: sticky; top: 0; z-index: 5; background: #f1f5f9; padding: 16px; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; border-bottom: 2px solid var(--border); color: var(--bg-shell); }
.data-table td { padding: 10px 10px; border-bottom: 1px solid var(--border); vertical-align: middle; transition: background-color 0.5s ease; }
.data-table tbody tr:nth-child(even) td { background-color: #f8fafc; }
.cockpit-row-selectable { cursor: pointer; }
.cockpit-row-selectable:hover td { background: #eef6ff !important; }
.cockpit-row-compare-selected td { background: #eaf7f4 !important; border-bottom-color: #9dd8cb !important; }
.cockpit-row-compare-selected:hover td { background: #dff1ed !important; }
.cockpit-row-compare-selected td:first-child { box-shadow: inset 4px 0 0 #0f766e; }
.cockpit-row-selected td { background: #dbeafe !important; border-bottom-color: #93c5fd !important; }
.cockpit-row-selected td:first-child { box-shadow: inset 4px 0 0 #2563eb; }
.cockpit-row-compare-selected.cockpit-row-selected td {
    background: linear-gradient(90deg, #d9efe9 0%, #dbeafe 100%) !important;
    border-bottom-color: #93c5fd !important;
}
.compare-select-btn { width: 34px; height: 34px; border-radius: 999px; border: 1px solid #cbd5e1; background: #ffffff; color: #475569; font-size: 0.95rem; font-weight: 800; cursor: pointer; transition: all 0.18s ease; }
.compare-select-btn:hover { transform: translateY(-1px); border-color: #94a3b8; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.compare-select-btn.is-selected { background: var(--bg-shell); border-color: var(--bg-shell); color: #ffffff; box-shadow: 0 4px 12px rgba(0, 22, 42, 0.18); }
.hp-cell { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; min-width: 92px; border-radius: 10px; padding: 6px 8px; border: 1px solid transparent; }
.hp-score { font-size: 1.05rem; font-weight: 800; line-height: 1; letter-spacing: 0.2px; }
.hp-label { font-size: 0.64rem; font-weight: 800; line-height: 1.15; text-transform: uppercase; letter-spacing: 0.35px; text-align: center; }
.hp-high { background: #dcfce7; border-color: #86efac; color: #166534; }
.hp-strong { background: #e0e7ff; border-color: #a5b4fc; color: #3730a3; }
.hp-low { background: #f1f5f9; border-color: #cbd5e1; color: #334155; }
.hp-none { background: #f8fafc; border: 1px dashed #cbd5e1; color: #64748b; }

@keyframes highlightRowAnim { 0% { background-color: var(--accent-glow); } 100% { background-color: transparent; } }
.highlight-row td { animation: highlightRowAnim 2s ease-out !important; }

/* === CSS: BUTTONS === */
.btn { padding: 12px 20px; border-radius: var(--radius-btn); border: none; font-weight: 600; cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; justify-content: center; }
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover:not(:disabled) { background: var(--accent-hover); box-shadow: 0 4px 12px var(--accent-glow); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-outline { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.2); color: white; }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }
.btn-outline-dark { background: white; border: 1px solid var(--border); color: var(--bg-shell); }
.btn-outline-dark:hover { background: #f8fafc; border-color: var(--text-muted); }
.btn-danger { background: #fef2f2; color: var(--danger-text); border: 1px solid #fca5a5; }
.btn-danger:hover { background: #fee2e2; }
.admin-grid { display: flex; flex-direction: column; gap: 24px; }
.admin-summary-card { background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%); border-color: #bfdbfe; }
.admin-summary-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.admin-kicker { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.admin-copy { margin-top: 10px; max-width: 760px; color: var(--text-muted); line-height: 1.5; }
.admin-summary-metrics { display: flex; gap: 12px; flex-wrap: wrap; }
.admin-metric {
    min-width: 92px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}
.admin-metric-button {
    appearance: none;
    text-align: left;
    cursor: pointer;
    font: inherit;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.admin-metric-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);
    border-color: rgba(0, 158, 224, 0.45);
}
.admin-metric span { display: block; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 4px; }
.admin-metric strong { font-size: 1.4rem; color: var(--bg-shell); }
.admin-two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.admin-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.admin-inline-hint { color: var(--text-muted); font-size: 0.82rem; line-height: 1.4; text-align: right; }
.admin-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.admin-scope-field { grid-column: 1 / -1; }
.admin-form-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
.admin-scope-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.admin-scope-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #f8fafc;
    font-size: 0.9rem;
    color: var(--text-main);
}
.admin-scope-option input {
    width: 16px;
    height: 16px;
    padding: 0;
    margin: 0;
    accent-color: var(--accent);
    flex: 0 0 auto;
}
.admin-role-table-wrap { max-height: 340px; }
.admin-role-table-wrap {
    overflow: hidden;
}
.admin-role-matrix-table {
    table-layout: fixed;
}
.admin-role-matrix-table thead th {
    padding: 14px 12px;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
}
.admin-role-matrix-table thead th:first-child {
    width: 220px;
    padding-left: 18px;
}
.admin-role-matrix-table th:not(:first-child),
.admin-role-matrix-table td:not(:first-child) {
    width: 88px;
}
.admin-role-matrix-table td {
    padding: 13px 10px;
}
.admin-role-cell {
    padding-left: 14px !important;
}
.admin-role-permission-cell {
    text-align: center;
}
.permission-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    border: 1px solid transparent;
}
.permission-chip.is-allowed {
    color: #0f766e;
    background: #ecfdf5;
    border-color: #a7f3d0;
}
.permission-chip.is-denied {
    color: #64748b;
    background: #f8fafc;
    border-color: #e2e8f0;
}
.role-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.45);
}
.role-admin { background: #dbeafe; color: #1d4ed8; }
.role-trainer { background: #dcfce7; color: #166534; }
.role-hr { background: #fef3c7; color: #92400e; }
.role-supervisor { background: #ede9fe; color: #6d28d9; }
.scope-badge-list { display: flex; flex-wrap: wrap; gap: 6px; }
.scope-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    background: #eef6ff;
    color: #0f4c81;
    font-size: 0.78rem;
    font-weight: 600;
}
.scope-badge-empty { background: #f1f5f9; color: #64748b; }
.admin-toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 700; color: var(--bg-shell); }
.admin-toggle input { width: 16px; height: 16px; padding: 0; margin: 0; accent-color: var(--accent); }
.admin-muted { color: var(--text-muted); font-size: 0.82rem; }
.admin-mini-btn { padding: 9px 12px; font-size: 0.82rem; }
.admin-action-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
}
.admin-account-grid {
    display: grid;
    grid-template-columns: minmax(320px, 1.1fr) minmax(280px, 0.9fr);
    gap: 24px;
    align-items: start;
}
@keyframes accountLogoutBlink {
    0% { opacity: 0.9; }
    100% { opacity: 1; box-shadow: 0 0 0 1px rgba(240, 138, 36, 0.08), 0 0 18px rgba(240, 138, 36, 0.18); }
}
.admin-account-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}
.admin-account-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid var(--border);
}
.admin-account-row strong {
    color: var(--bg-shell);
    font-size: 0.84rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.admin-account-row span {
    color: var(--text-muted);
    text-align: right;
}
.admin-permission-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}
.permission-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: #eef6ff;
    color: #0f4c81;
    font-size: 0.8rem;
    font-weight: 700;
}
.permission-pill.disabled {
    background: #f1f5f9;
    color: #64748b;
}
.admin-modal-card {
    display: grid;
    gap: 18px;
}
.admin-modal-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.admin-modal-copy {
    color: var(--text-muted);
}
.admin-modal-table-wrap {
    max-height: 58vh;
    overflow: auto;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: white;
}
.admin-audit-list { display: flex; flex-direction: column; gap: 10px; }
.admin-audit-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid var(--border);
}
.admin-audit-main { display: flex; flex-direction: column; gap: 4px; }
.admin-audit-main span, .admin-audit-item small { color: var(--text-muted); }
.admin-audit-empty { padding: 18px; border-radius: 14px; background: #f8fafc; color: var(--text-muted); border: 1px dashed var(--border); }
.modal-scope-picker { grid-template-columns: 1fr; }

.tn-input-sm { width: 100%; border: none; background: transparent; padding: 8px; font-size: 0.95rem; border-bottom: 1px dashed #cbd5e1; transition: all 0.2s; border-radius: 4px 4px 0 0; }
.tn-input-sm:focus { outline: none; border-bottom: 2px solid var(--accent); background: #f1f5f9; }

/* === CSS: EVALUATION CONTROLS (1-5 SCORING) === */
.scale5 { display: flex; gap: 6px; justify-content: center; }
.opt { width: 24px; height: 24px; border-radius: 5px; border: 1px solid var(--border); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.2s; font-weight: 700; color: var(--text-muted); background: #fff; font-size: 0.8rem;}
.opt:hover { border-color: var(--accent); transform: scale(1.05); }
.opt.is-readonly { cursor: default; }
.opt.is-readonly:hover { border-color: var(--border); transform: none; }
.opt.n1.checked { background: #ef4444; color: white; border-color: #ef4444; box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3); } 
.opt.n2.checked { background: #f59e0b; color: white; border-color: #f59e0b; box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3); } 
.opt.n3.checked { background: #94a3b8; color: white; border-color: #94a3b8; box-shadow: 0 4px 10px rgba(148, 163, 184, 0.3); } 
.opt.n4.checked { background: #34d399; color: white; border-color: #34d399; box-shadow: 0 4px 10px rgba(52, 211, 153, 0.3); } 
.opt.n5.checked { background: #10b981; color: white; border-color: #10b981; box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3); } 

.dim-header-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; transition: all 0.2s ease; }
.dim-header-btn:hover { color: var(--accent); opacity: 0.8; }
.dim-header-btn span.label-text { border-bottom: 1px dotted var(--text-muted); }
.ko-badge { display: inline-flex; align-items: center; justify-content: center; padding: 2px 6px; border-radius: 6px; border: 1px solid rgba(239, 68, 68, 0.3); color: var(--danger-text); background: var(--ko-red); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.5px; line-height: 1; }

input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }

.test-click-input { width: 66px !important; text-align: center; font-weight: 700; font-size: 0.82rem; padding: 6px 4px !important; background: white; border: 2px solid var(--border) !important; border-radius: 16px; transition: all 0.2s; outline: none; color: var(--bg-shell); }
.test-click-input::placeholder { color: #94a3b8; font-weight: 600; font-size: 0.75rem; }
.test-click-input:focus { border-color: var(--accent) !important; box-shadow: 0 0 0 3px var(--accent-glow); }
.test-click-input.hidden { display: none !important; }

.test-inline-pack { display: flex; align-items: center; justify-content: flex-start; gap: 10px; min-height: 44px; }
.retake-value-btn { background: transparent; border: none; padding: 0; font-size: 1.02rem; line-height: 1; font-weight: 700; cursor: pointer; letter-spacing: 0; min-width: 56px; text-align: right; }
.retake-value-btn:disabled { opacity: 0.45; cursor: default; }
.retake-value-btn:not(:disabled):hover { opacity: 0.85; }
.retake-badge-svg { display: block; width: 18px; height: 18px; flex: 0 0 auto; }
.retake-badge-svg .badge-fill { fill: #0f766e; stroke: #ffffff; stroke-width: 1.2; }
.retake-badge-svg .badge-text {
    fill: #ffffff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0;
    text-anchor: middle;
    dominant-baseline: middle;
    font-family: "Segoe UI", Arial, sans-serif;
}
.retake-badge-svg-overlay { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); pointer-events: none; }

.progress-ring-wrapper { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; transition: transform 0.2s; gap: 2px; }
.progress-ring-wrapper:hover { transform: scale(1.05); }
.progress-ring-wrapper.is-readonly { cursor: default; }
.progress-ring-wrapper.is-readonly:hover { transform: none; }
.progress-ring-wrapper.hidden { display: none !important; }

/* === CSS: ICONS & BADGES === */
.icon-svg { width: 18px; height: 18px; flex-shrink: 0; }
.icon-nav { width: 20px; height: 20px; flex-shrink: 0; }
.icon-btn { width: 16px; height: 16px; flex-shrink: 0; }
.icon-cockpit { width: 20px; height: 20px; flex-shrink: 0; } 
.icon-result { width: 16px; height: 16px; flex-shrink: 0; } 
.icon-green { fill: #10b981; }
.icon-red { fill: #ef4444; }
.icon-yellow { fill: #f59e0b; }
.icon-white { fill: white; }
.inline-icon-wrapper { display: inline-flex; align-items: center; vertical-align: middle; gap: 6px; margin-left: 6px; }

.name-card-incomplete { border-left: 4px solid #fca5a5; background: #fef2f2; padding: 8px 12px; border-radius: 6px; transition: all 0.3s ease; }
.name-card-complete { border-left: 4px solid #6ee7b7; background: #ecfdf5; padding: 8px 12px; border-radius: 6px; transition: all 0.3s ease; }
.locked-content .name-card-complete { background: transparent; border-left-color: #cbd5e1; padding: 8px 12px; }

.delete-btn-action { border:none; background:transparent; cursor:pointer; color:var(--danger-text); padding: 10px; margin: -5px 0 -5px 5px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); width: 0; overflow: hidden; }
.delete-btn-action.active { opacity: 1; pointer-events: auto; width: 44px; }
.delete-btn-action svg { width: 28px; height: 28px; transition: transform 0.2s; flex-shrink: 0;}
.delete-btn-action:hover { background: #fee2e2; }
.delete-btn-action:hover svg { transform: scale(1.15); }

/* === CSS: LOCKING SYSTEM === */
.lock-btn { background: transparent; border: none; cursor: pointer; transition: 0.2s; padding: 0; display: inline-flex; align-items: center; outline: none; }
.lock-btn:hover { transform: scale(1.15); }
.lock-btn.is-static { cursor: default; }
.lock-btn.is-static:hover { transform: none; }

.locked-content .opt { pointer-events: none; opacity: 0.5; background: #f8fafc; border-color: #e2e8f0; color: #94a3b8; }
.locked-content .opt.checked { opacity: 0.85; filter: grayscale(15%); }
.locked-content .progress-ring-wrapper { pointer-events: none; opacity: 0.7; filter: grayscale(20%); }
.locked-content .table-note-btn-icon { pointer-events: auto; opacity: 0.6; background-color: #f1f5f9; border-color: transparent; color: #64748b;}
.locked-content .table-note-btn-icon.has-note { background: #e0f2fe; color: #0284c7; }
.data-table tbody tr { transition: background-color 0.18s ease; }
.data-table tbody tr.row-active-edit td { background: linear-gradient(90deg, rgba(16,185,129,0.05), rgba(255,255,255,0)); border-top: 1px solid rgba(16,185,129,0.28); border-bottom: 1px solid rgba(16,185,129,0.28); }
.data-table tbody tr.row-active-edit td:first-child { border-left: 1px solid rgba(16,185,129,0.28); }
.data-table tbody tr.row-active-edit td:last-child { border-right: 1px solid rgba(16,185,129,0.28); }
.data-table tbody tr.row-locked-by-other td { background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,0.18) 0 11px, rgba(203,213,225,0.14) 11px 20px), linear-gradient(90deg, rgba(248,250,252,0.48), rgba(255,255,255,0.08)); background-color: rgba(255,255,255,0.48); border-top: 1px solid rgba(239,68,68,0.22); border-bottom: 1px solid rgba(239,68,68,0.22); }
.data-table tbody tr.row-locked-by-other td:first-child { border-left: 1px solid rgba(239,68,68,0.22); }
.data-table tbody tr.row-locked-by-other td:last-child { border-right: 1px solid rgba(239,68,68,0.22); }
.participant-lock-inline { margin-bottom: 4px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.01em; }
.participant-lock-inline.is-mine { color: #047857; }
.participant-lock-inline.is-foreign { color: #b91c1c; }
.lock-owner-pill { display:inline-flex; align-items:center; justify-content:center; min-width: 28px; height: 18px; padding: 0 7px; margin-left: 8px; vertical-align: middle; border-radius: 999px; background: rgba(239, 68, 68, 0.14); border: 1px solid rgba(239, 68, 68, 0.28); color: #b91c1c; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.01em; line-height: 1; }

.absent-content .opt { pointer-events: none; opacity: 0.15; background: #e2e8f0; border-color: transparent; color: transparent; }
.absent-content .opt.checked { background: transparent; box-shadow: none; }
.absent-content .test-click-input { pointer-events: none; opacity: 0.15; border-color: transparent; }
.absent-content .progress-ring-wrapper { pointer-events: none; opacity: 0.15; filter: grayscale(100%);}

.attendance-btn { background: transparent; border: 1px solid var(--border); border-radius: 8px; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; flex-shrink: 0; }
.attendance-btn:hover { filter: brightness(0.95); transform: scale(1.05); }
.attendance-btn:disabled { opacity: 0.2; cursor: not-allowed; }
.att-anwesend { background: #ecfdf5; color: #059669; border-color: #a7f3d0; }
.att-krank { background: #fffbeb; color: #d97706; border-color: #fde68a; }
.att-abwesend { background: #f1f5f9; color: #64748b; border-color: #cbd5e1; }

.lateness-btn { background: transparent; border: 1px solid var(--border); border-radius: 8px; height: 34px; min-width: 34px; padding: 0 4px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; flex-shrink: 0; color: #cbd5e1; }
.lateness-btn:hover:not(:disabled) { filter: brightness(0.95); transform: scale(1.05); border-color: var(--accent); }
.lateness-btn:disabled { opacity: 0.2; cursor: not-allowed; }
.lat-none { }
.lat-start { background: #fffbeb; color: #d97706; border-color: #fde68a; }
.lat-5 { background: #ffedd5; color: #c2410c; border-color: #fed7aa; }
.lat-10 { background: #fef2f2; color: #dc2626; border-color: #fecaca; }
.lateness-btn svg { width: 16px; height: 16px; }

/* === CSS: MODALS & TOOLTIPS === */
.note-error { border-color: var(--danger-text) !important; background-color: var(--danger-bg) !important; color: var(--danger-text) !important; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.shake-animation { animation: shake 0.3s ease-in-out; }

#floating-note-tooltip { position: fixed; background: white; color: var(--bg-shell); border: 1px solid var(--accent); border-radius: 8px; padding: 16px; box-shadow: 0 10px 30px rgba(0,22,42,0.15); font-size: 0.95rem; z-index: 10010; pointer-events: none; opacity: 0; transition: opacity 0.15s ease; max-width: 350px; white-space: pre-wrap; font-style: italic; font-weight: 500; line-height: 1.4; }

#fast-global-tooltip { position: fixed; background: #1e293b; color: #fff; padding: 8px 14px; font-size: 0.8rem; font-weight: 600; border-radius: 6px; pointer-events: none; opacity: 0; visibility: hidden; z-index: 10000; transition: opacity 0.15s ease, transform 0.15s ease; transform: translateY(4px); white-space: nowrap; box-shadow: 0 4px 15px rgba(0,0,0,0.2); border: 2px solid #f59e0b; line-height: 1.3;}
#fast-global-tooltip.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#fast-global-tooltip.is-multiline { white-space: pre-line; max-width: 340px; text-align: left; line-height: 1.35; }

.cockpit-analysis-overlay { position: fixed; inset: 0; background: rgba(36, 53, 69, 0.68); backdrop-filter: blur(4px); z-index: 1200; display: none; align-items: center; justify-content: center; padding: 22px; }
.cockpit-analysis-overlay.open { display: flex; }
.cockpit-analysis-modal { width: min(1240px, 96vw); height: min(860px, 92vh); max-height: min(860px, 92vh); overflow: hidden; background: #ffffff; border-radius: 16px; box-shadow: 0 18px 42px rgba(0,0,0,0.18); border: 1px solid var(--border); cursor: pointer; transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; display: flex; flex-direction: column; }
.cockpit-analysis-modal > #cockpit-analysis-content { flex: 1 1 auto; min-height: 0; overflow: hidden; }
.cockpit-analysis-modal.variant-pass { background-color: #f0fdf4; border-color: #bcf0da; box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.14), 0 20px 44px rgba(0,0,0,0.18); }
.cockpit-analysis-modal.variant-fail { background-color: #fef2f2; border-color: #fecaca; box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.14), 0 20px 44px rgba(0,0,0,0.18); }
.cockpit-analysis-modal.variant-neutral { background-color: #ffffff; border-color: var(--border); }
.cockpit-analysis-modal.variant-compare { background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%); border-color: #bfdbfe; box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12), 0 20px 44px rgba(0,0,0,0.18); }
.cockpit-analysis-layout { height: 100%; box-sizing: border-box; padding: 18px 20px 18px; display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.single-analysis-layout { overflow-y: auto; padding-right: 12px; }
.cockpit-analysis-head { display: flex; align-items: center; justify-content: flex-start; gap: 14px; border-bottom: 1px solid var(--border); padding-bottom: 12px; }
.cockpit-analysis-head-single { align-items: flex-start; justify-content: space-between; gap: 16px; }
.cockpit-analysis-head-primary { display: flex; align-items: flex-start; gap: 14px; min-width: 0; flex: 1 1 auto; }
.cockpit-analysis-title { margin: 0; font-size: 1.25rem; color: var(--bg-shell); }
.cockpit-analysis-sub { margin: 4px 0 0; font-size: 0.9rem; color: var(--text-muted); }
.cockpit-analysis-head-main { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.cockpit-analysis-head-status { display: flex; align-items: center; justify-content: flex-start; min-width: 56px; flex: 0 0 auto; }
.cockpit-analysis-head-status .cockpit-result-cell { width: auto; min-height: 48px; }
.cockpit-analysis-head-status .cockpit-result-core { width: 52px; height: 52px; flex-basis: 52px; }
.cockpit-analysis-head-summary {
    display: grid;
    grid-template-columns: minmax(118px, auto) minmax(168px, auto) minmax(260px, 288px);
    grid-template-areas:
        "score label trend"
        "strength strength trend"
        "risk risk trend";
    gap: 10px;
    margin-top: 12px;
    align-items: start;
}
.cockpit-analysis-metric { background: rgba(255,255,255,0.86); border: 1px solid #d8e2ed; border-radius: 12px; padding: 9px 10px; min-width: 0; }
.cockpit-analysis-metric.compact-metric { min-width: 0; }
.cockpit-analysis-metric.metric-score { grid-area: score; }
.cockpit-analysis-metric.metric-label { grid-area: label; }
.cockpit-analysis-metric span { display: block; font-size: 0.64rem; font-weight: 800; color: #64748b; text-transform: uppercase; letter-spacing: 0.24px; }
.cockpit-analysis-metric strong { display: block; margin-top: 4px; font-size: 0.88rem; color: #0f172a; line-height: 1.35; }
.cockpit-analysis-detail-line { background: rgba(255,255,255,0.86); border: 1px solid #d8e2ed; border-radius: 12px; padding: 7px 11px; }
.cockpit-analysis-detail-line.detail-strength { grid-area: strength; }
.cockpit-analysis-detail-line.detail-risk { grid-area: risk; }
.cockpit-analysis-detail-line span { display: block; font-size: 0.64rem; font-weight: 800; color: #64748b; text-transform: uppercase; letter-spacing: 0.24px; }
.cockpit-analysis-detail-line strong { display: block; margin-top: 2px; font-size: 0.88rem; color: #0f172a; line-height: 1.28; }
.cockpit-analysis-head-trend { grid-area: trend; align-self: stretch; min-width: 0; }
.cockpit-analysis-head-trend .comparison-trend-card { margin-top: 0; height: 100%; box-sizing: border-box; }
.cockpit-analysis-head-trend .comparison-trend-card { padding: 9px 10px; }
.cockpit-analysis-head-trend .comparison-trend-svg { height: 46px; }
.cockpit-analysis-head-trend .comparison-trend-labels { margin-top: 2px; }
.single-analysis-layout .cockpit-analysis-grid { display: grid; grid-template-columns: 0.78fr 1.42fr; gap: 14px; align-items: start; flex: 1; min-height: 0; }
.cockpit-analysis-card { background: linear-gradient(180deg, #f8fbff 0%, #f3f7fc 100%); border: 1px solid #d8e2ed; border-radius: 12px; padding: 12px; min-width: 0; min-height: 0; }
.cockpit-analysis-modal.variant-pass .cockpit-analysis-head { border-bottom-color: #bcf0da; }
.cockpit-analysis-modal.variant-pass .cockpit-analysis-title { color: #065f46; }
.cockpit-analysis-modal.variant-pass .cockpit-analysis-card { background: linear-gradient(180deg, #f8fdf9 0%, #effaf3 100%); border-color: #cfe9dc; }
.cockpit-analysis-modal.variant-pass .cockpit-analysis-radar-wrap,
.cockpit-analysis-modal.variant-pass .cockpit-analysis-radar-bottom { border-color: #cfe9dc; }
.cockpit-analysis-modal.variant-fail .cockpit-analysis-head { border-bottom-color: #fecaca; }
.cockpit-analysis-modal.variant-fail .cockpit-analysis-title { color: #991b1b; }
.cockpit-analysis-modal.variant-fail .cockpit-analysis-card { background: linear-gradient(180deg, #fff8f8 0%, #fff1f1 100%); border-color: #f4cdcd; }
.cockpit-analysis-modal.variant-fail .cockpit-analysis-radar-wrap,
.cockpit-analysis-modal.variant-fail .cockpit-analysis-radar-bottom { border-color: #f4cdcd; }
.cockpit-analysis-card h4 { margin: 0 0 10px; font-size: 0.9rem; text-transform: uppercase; color: var(--text-muted); letter-spacing: 0.3px; }
.cockpit-analysis-card.compact { padding: 10px 11px; display: flex; flex-direction: column; }
.cockpit-analysis-card.compact h4 { margin-bottom: 7px; font-size: 0.82rem; }
.single-analysis-layout .cockpit-analysis-card.compact { height: auto; align-self: start; }
.cockpit-analysis-icon-stack { display: grid; gap: 9px; min-height: 0; }
.cockpit-analysis-icon-card { background: transparent; border: 0; border-radius: 0; padding: 0; }
.cockpit-analysis-icon-card + .cockpit-analysis-icon-card { margin-top: 2px; padding-top: 8px; }
.cockpit-analysis-icon-card h4 { margin: 0 0 7px; font-size: 0.74rem; color: #5b6f85; letter-spacing: 0.35px; }
.cockpit-analysis-icon-row { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; min-height: 44px; }
.cockpit-analysis-icon-card .day-badge { cursor: default; }
.cockpit-analysis-icon-card .day-badge:hover { transform: none; box-shadow: 0 2px 4px rgba(0,0,0,0.04); }
.cockpit-day-summary-list { display: grid; gap: 10px; }
.cockpit-overview-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 14px; }
.cockpit-day-badge-strip { display: flex; justify-content: flex-start; align-items: center; gap: 8px; flex-wrap: wrap; }
.cockpit-test-mini-wrap { display: flex; align-items: center; justify-content: flex-end; background: #ffffff; border-radius: 10px; padding: 3px 4px; border: 1px solid #e2e8f0; }
.cockpit-test-mini-strip { display: flex; align-items: center; gap: 8px; }
.cockpit-test-mini-strip > div { margin: 0 !important; }
.cockpit-test-mini-strip > div > span { margin-top: 3px !important; font-size: 0.68rem !important; letter-spacing: 0 !important; }
.cockpit-day-toggle-btn { border: 2px solid transparent; background: transparent; border-radius: 10px; padding: 2px; cursor: pointer; transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease; }
.cockpit-day-toggle-btn:hover { transform: translateY(-1px); }
.cockpit-day-toggle-btn.active { border-color: #0f3758; box-shadow: 0 0 0 2px rgba(0, 22, 42, 0.14), 0 0 0 4px rgba(0, 158, 224, 0.18); }
.cockpit-day-toggle-btn .day-badge { width: 34px; height: 36px; }
.cockpit-day-toggle-btn .day-badge-top { font-size: 0.46rem; padding: 1px 0; }
.cockpit-day-toggle-btn .day-badge-bot { font-size: 0.92rem; }
.cockpit-day-toggle-btn .badge-green { background: #eef6f0; border-color: #b9d0c1; color: #1f4d3a; }
.cockpit-day-toggle-btn .badge-green .day-badge-top { background: #ddebe2; }
.cockpit-day-toggle-btn .badge-red { background: #f9efef; border-color: #dfc4c4; color: #7f1d1d; }
.cockpit-day-toggle-btn .badge-red .day-badge-top { background: #f0dfdf; }
.cockpit-day-toggle-btn .badge-gray { background: #f5f7fa; border-color: #cdd6e0; color: #4b5563; }
.cockpit-day-toggle-btn .badge-gray .day-badge-top { background: #e7edf3; }
.cockpit-day-panels { display: grid; gap: 12px; }
.cockpit-day-panel { display: none; border-radius: 9px; border: 1px solid #d5dde6; background: #ffffff; padding: 6px; }
.cockpit-day-panel.active { display: block; }
.cockpit-day-panel.green { background: #fbfdfb; border-color: #c8d8cd; }
.cockpit-day-panel.red { background: #fdfbfb; border-color: #dfcaca; }
.cockpit-day-panel.gray { background: #fbfcfd; border-color: #cfd8e3; }
.cockpit-day-panel-head { display: flex; align-items: center; justify-content: flex-start; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.cockpit-day-panel-badge { font-size: 0.63rem; font-weight: 900; color: #0f172a; border: 1px solid #a6b3c1; border-radius: 999px; background: #ffffff; padding: 2px 8px; letter-spacing: 0.5px; }
.cockpit-day-panel-title { font-size: 0.66rem; font-weight: 800; color: #334155; line-height: 1.2; }
.cockpit-day-panel-status { margin-left: auto; max-width: 62%; font-size: 0.66rem; font-weight: 800; color: #475569; line-height: 1.2; border-radius: 999px; background: #f8fafc; padding: 2px 8px; border: 1px solid #d7dee7; }
.cockpit-day-panel.green .cockpit-day-panel-status { color: #166534; }
.cockpit-day-panel.red .cockpit-day-panel-status { color: #991b1b; }
.cockpit-day-dim-list { display: grid; gap: 5px; }
.cockpit-day-absent { font-size: 0.67rem; line-height: 1.25; color: #475569; background: #eef2f7; border: 1px dashed #cbd5e1; border-radius: 7px; padding: 6px 8px; }
.cockpit-dim-row { display: grid; grid-template-columns: minmax(156px, 1.28fr) minmax(132px, 1fr); gap: 7px; align-items: center; }
.cockpit-dim-left { display: flex; align-items: center; gap: 6px; min-width: 0; }
.cockpit-dim-name { flex: 1; min-width: 0; font-size: 0.68rem; font-weight: 750; color: #334155; line-height: 1.2; }
.cockpit-dim-grade { flex: 0 0 auto; min-width: 34px; text-align: center; border-radius: 999px; font-size: 0.62rem; font-weight: 800; padding: 2px 6px; border: 1px solid transparent; background: #f1f5f9; color: #475569; }
.cockpit-dim-row.score-good .cockpit-dim-grade { background: #dcfce7; color: #166534; border-color: #86efac; }
.cockpit-dim-row.score-mid .cockpit-dim-grade { background: #e2e8f0; color: #334155; border-color: #cbd5e1; }
.cockpit-dim-row.score-low .cockpit-dim-grade { background: #fee2e2; color: #991b1b; border-color: #fca5a5; }
.cockpit-dim-row.score-none .cockpit-dim-grade { background: #f8fafc; color: #94a3b8; border-color: #e2e8f0; }
.cockpit-dim-compare { min-width: 0; }
.cockpit-dim-scale { position: relative; height: 22px; border-radius: 999px; border: 1px solid #d1d9e2; background: #f8fafc; overflow: visible; }
.cockpit-dim-scale::before { content: ''; position: absolute; left: 10px; right: 10px; top: 50%; transform: translateY(-50%); border-top: 1px dashed #cbd5e1; }
.cockpit-dim-dot { position: absolute; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: #94a3b8; transform: translate(-50%, -50%); }
.cockpit-dim-pin { position: absolute; top: 50%; transform: translate(-50%, -50%); border-radius: 999px; font-size: 0.53rem; font-weight: 900; padding: 1px 4px; line-height: 1.1; border: 1px solid transparent; box-shadow: 0 1px 2px rgba(0,0,0,0.12); }
.cockpit-dim-pin.self { background: #0f766e; border-color: #0d9488; color: #ffffff; }
.cockpit-dim-pin.avg { background: #ffffff; border-color: #334155; color: #0f172a; }
.cockpit-dim-meta { margin-top: 3px; font-size: 0.58rem; font-weight: 700; color: #64748b; text-align: right; letter-spacing: 0.1px; }
.cockpit-test-summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.cockpit-test-summary-tile { border-radius: 9px; border: 0; background: #ffffff; padding: 6px 7px; }
.cockpit-test-summary-tile.green { background: #f0fdf4; }
.cockpit-test-summary-tile.red { background: #fef2f2; }
.cockpit-test-summary-tile.gray { background: #f8fafc; }
.cockpit-test-summary-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 5px; }
.cockpit-test-summary-label { font-size: 0.73rem; font-weight: 800; color: #1f2937; line-height: 1.1; }
.cockpit-test-summary-state { font-size: 0.66rem; font-weight: 700; color: #64748b; white-space: nowrap; }
.cockpit-test-summary-tile.green .cockpit-test-summary-state { color: #166534; }
.cockpit-test-summary-tile.red .cockpit-test-summary-state { color: #991b1b; }
.cockpit-test-summary-icon { display: flex; justify-content: center; align-items: center; min-height: 48px; }
.cockpit-test-summary-icon > div { margin: 0 !important; }
.cockpit-signal-list { display: flex; flex-wrap: wrap; gap: 5px; }
.cockpit-signal-pill { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 4px 8px; border: 1px solid transparent; font-size: 0.69rem; font-weight: 700; line-height: 1; }
.cockpit-signal-pill b { font-weight: 800; }
.cockpit-signal-pill svg { width: 14px !important; height: 14px !important; flex-shrink: 0; }
.cockpit-signal-pill .retake-badge-svg { width: 14px !important; height: 14px !important; }
.cockpit-signal-pill.signal-green { background: #dcfce7; border-color: #86efac; color: #166534; }
.cockpit-signal-pill.signal-yellow { background: #fef3c7; border-color: #fcd34d; color: #92400e; }
.cockpit-signal-pill.signal-red { background: #fee2e2; border-color: #fca5a5; color: #991b1b; }
.cockpit-signal-pill.signal-blue { background: #dbeafe; border-color: #93c5fd; color: #1d4ed8; }
.cockpit-signal-pill.signal-teal { background: #ccfbf1; border-color: #5eead4; color: #0f766e; }
.cockpit-analysis-anomaly-wrap { display: flex; flex-wrap: wrap; gap: 4px; }
.cockpit-analysis-anomaly-wrap .status-tag { margin: 0 !important; font-size: 0.68rem !important; padding: 3px 6px !important; }
.cockpit-analysis-empty { color: var(--text-muted); font-style: italic; font-size: 0.78rem; }
.cockpit-analysis-day-list { display: grid; gap: 6px; }
.cockpit-analysis-day-item { display: flex; align-items: center; justify-content: space-between; border-radius: 9px; padding: 6px 8px; font-size: 0.78rem; font-weight: 700; }
.cockpit-analysis-day-item.green { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.cockpit-analysis-day-item.red { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.cockpit-analysis-day-item.gray { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }
.cockpit-analysis-card.compact .score-badge { font-size: 0.76rem; padding: 3px 8px; }
.cockpit-analysis-card.compact .status-tag { font-size: 0.72rem !important; padding: 3px 8px !important; }
.cockpit-analysis-card.radar { display: flex; flex-direction: column; gap: 10px; }
.cockpit-analysis-radar-wrap { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 2px 6px; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; text-align: center; }
.cockpit-analysis-radar-wrap img { width: 100%; max-width: 700px; max-height: 340px; object-fit: contain; height: auto; display: block; margin: 0 auto; }
.cockpit-analysis-radar-bottom { background: #ffffff; border-radius: 10px; padding: 6px 2px 0; border-top: 1px solid #e2e8f0; }
.cockpit-analysis-radar-section { display: block; }
.cockpit-analysis-radar-section + .cockpit-analysis-radar-section { margin-top: 16px; padding-top: 10px; border-top: 1px dashed #d9e2ec; }
.cockpit-analysis-radar-section h4 { margin-bottom: 7px; }
.cockpit-analysis-profile-copy { margin: 0; font-size: 0.82rem; line-height: 1.5; color: #334155; }
.cockpit-analysis-radar-section-signals { margin-top: 18px; }
.cockpit-analysis-loading { color: var(--text-muted); font-size: 0.92rem; font-style: italic; }
.cockpit-analysis-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.comparison-layout { gap: 14px; min-height: 0; }
.comparison-head { border-bottom-color: #dbeafe; }
.comparison-body { overflow-y: auto; padding-right: 4px; display: grid; gap: 16px; flex: 1 1 auto; min-height: 0; }
.comparison-summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.comparison-card { border: 1px solid #dbe3ee; border-radius: 16px; background: #ffffff; padding: 16px; box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06); }
.comparison-card.compare-slot-a { border-top: 4px solid #2563eb; }
.comparison-card.compare-slot-b { border-top: 4px solid #059669; }
.comparison-card.compare-slot-c { border-top: 4px solid #d97706; }
.comparison-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.comparison-card-slot { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0.78rem; font-weight: 900; color: #fff; background: var(--bg-shell); }
.comparison-card-status { border-radius: 999px; padding: 4px 9px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.3px; text-transform: uppercase; }
.comparison-card-status.ok { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.comparison-card-status.risk { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.comparison-card h3 { margin: 0; font-size: 1.03rem; color: var(--bg-shell); }
.comparison-card p { margin: 4px 0 0; color: var(--text-muted); font-size: 0.82rem; line-height: 1.45; }
.comparison-card-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.comparison-card-kpis div { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 9px 10px; }
.comparison-card-kpis span { display: block; font-size: 0.65rem; font-weight: 800; color: #64748b; letter-spacing: 0.2px; text-transform: uppercase; }
.comparison-card-kpis strong { display: block; margin-top: 4px; font-size: 0.92rem; color: #0f172a; }
.comparison-trend-card { margin-top: 12px; border-radius: 12px; border: 1px solid #dbe3ee; background: linear-gradient(180deg, #fbfdff 0%, #f6f9fc 100%); padding: 10px 11px; }
.comparison-trend-card.tone-up { border-color: #bfdbfe; background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%); }
.comparison-trend-card.tone-down { border-color: #fecaca; background: linear-gradient(180deg, #fff9f9 0%, #fff2f2 100%); }
.comparison-trend-card.tone-steady { border-color: #cbd5e1; background: linear-gradient(180deg, #fbfcfd 0%, #f5f7fa 100%); }
.comparison-trend-card.is-open { border-style: dashed; background: #f8fafc; }
.comparison-trend-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.comparison-trend-head span { font-size: 0.66rem; font-weight: 800; color: #64748b; text-transform: uppercase; letter-spacing: 0.24px; }
.comparison-trend-head strong { font-size: 0.75rem; font-weight: 900; }
.comparison-trend-head .tone-up { color: #1d4ed8; }
.comparison-trend-head .tone-down { color: #b91c1c; }
.comparison-trend-head .tone-steady { color: #475569; }
.comparison-trend-head .tone-open { color: #64748b; }
.comparison-trend-svg { width: 100%; height: 54px; display: block; }
.comparison-trend-axis { stroke: #cbd5e1; stroke-width: 1.2; stroke-linecap: round; }
.comparison-trend-line { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.comparison-trend-card.tone-up .comparison-trend-line { stroke: #2563eb; }
.comparison-trend-card.tone-down .comparison-trend-line { stroke: #dc2626; }
.comparison-trend-card.tone-steady .comparison-trend-line { stroke: #64748b; }
.comparison-trend-dot { stroke: #ffffff; stroke-width: 1.8; }
.comparison-trend-card.tone-up .comparison-trend-dot { fill: #2563eb; }
.comparison-trend-card.tone-down .comparison-trend-dot { fill: #dc2626; }
.comparison-trend-card.tone-steady .comparison-trend-dot { fill: #64748b; }
.comparison-trend-labels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
.comparison-trend-labels div { text-align: center; }
.comparison-trend-labels span { display: block; font-size: 0.6rem; font-weight: 800; color: #94a3b8; letter-spacing: 0.2px; text-transform: uppercase; }
.comparison-trend-labels strong { display: block; margin-top: 2px; font-size: 0.75rem; font-weight: 900; color: #0f172a; }
.comparison-trend-empty { font-size: 0.75rem; color: #64748b; line-height: 1.4; padding: 8px 0 2px; }
.comparison-card-copy { margin-top: 14px !important; font-size: 0.79rem !important; color: #334155 !important; }
.comparison-section { background: rgba(255,255,255,0.94); border: 1px solid #dbe3ee; border-radius: 16px; padding: 14px; }
.comparison-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.comparison-section-head h4 { margin: 0; font-size: 0.86rem; color: #475569; text-transform: uppercase; letter-spacing: 0.3px; }
.comparison-winner-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.comparison-winner-pill { display: inline-flex; align-items: center; gap: 9px; border-radius: 999px; padding: 8px 12px; background: #f8fafc; border: 1px solid #dbe3ee; }
.comparison-winner-pill span { font-size: 0.72rem; font-weight: 800; color: #64748b; }
.comparison-winner-pill strong { font-size: 0.78rem; font-weight: 900; color: #0f172a; display: inline-flex; align-items: center; gap: 7px; }
.comparison-winner-pill strong.compare-slot-a { color: #2563eb; }
.comparison-winner-pill strong.compare-slot-b { color: #059669; }
.comparison-winner-pill strong.compare-slot-c { color: #d97706; }
.comparison-mini-slot { width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #ffffff; font-size: 0.66rem; line-height: 1; font-weight: 900; font-style: normal; }
.comparison-mini-slot.compare-slot-a { background: #2563eb; }
.comparison-mini-slot.compare-slot-b { background: #059669; }
.comparison-mini-slot.compare-slot-c { background: #d97706; }
.comparison-table-wrap { overflow-x: auto; }
.comparison-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.comparison-table th, .comparison-table td { padding: 12px 13px; border-bottom: 1px solid #e2e8f0; text-align: center; font-size: 0.82rem; }
.comparison-table thead th { position: static; background: #f8fafc; color: #334155; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.3px; }
.comparison-table thead th:first-child, .comparison-table td:first-child { text-align: left; }
.comparison-person-head { min-width: 170px; }
.comparison-head-chip { display: flex; align-items: center; gap: 10px; justify-content: center; text-transform: none; letter-spacing: 0; }
.comparison-head-slot { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0.68rem; font-weight: 900; color: #ffffff; flex: 0 0 24px; }
.comparison-head-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; }
.comparison-head-copy strong { font-size: 0.78rem; color: #0f172a; }
.comparison-head-copy small { font-size: 0.64rem; color: #64748b; text-transform: uppercase; letter-spacing: 0.25px; }
.comparison-person-head.compare-slot-a .comparison-head-slot { background: #2563eb; }
.comparison-person-head.compare-slot-b .comparison-head-slot { background: #059669; }
.comparison-person-head.compare-slot-c .comparison-head-slot { background: #d97706; }
.comparison-person-cell { position: relative; font-weight: 800; }
.comparison-person-cell.compare-slot-a { color: #1d4ed8; background: rgba(37, 99, 235, 0.06); }
.comparison-person-cell.compare-slot-b { color: #047857; background: rgba(5, 150, 105, 0.06); }
.comparison-person-cell.compare-slot-c { color: #b45309; background: rgba(217, 119, 6, 0.08); }
.comparison-row-label { font-weight: 700; color: #334155; }
.comparison-cell-value { display: inline-block; }
.comparison-table td.is-best { font-weight: 900; box-shadow: inset 0 0 0 2px rgba(15, 23, 42, 0.06); }
.comparison-table td.is-best.compare-slot-a { background: rgba(37, 99, 235, 0.14); box-shadow: inset 0 0 0 2px rgba(37, 99, 235, 0.18); }
.comparison-table td.is-best.compare-slot-b { background: rgba(5, 150, 105, 0.14); box-shadow: inset 0 0 0 2px rgba(5, 150, 105, 0.18); }
.comparison-table td.is-best.compare-slot-c { background: rgba(217, 119, 6, 0.16); box-shadow: inset 0 0 0 2px rgba(217, 119, 6, 0.2); }
.comparison-best-badge { display: inline-flex; align-items: center; justify-content: center; margin-left: 8px; border-radius: 999px; padding: 2px 7px; font-size: 0.58rem; font-weight: 900; letter-spacing: 0.35px; text-transform: uppercase; background: rgba(15, 23, 42, 0.08); color: #334155; vertical-align: middle; }
.comparison-narrative-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.comparison-narrative-card { border-radius: 12px; background: #ffffff; border: 1px solid #dbe3ee; padding: 12px; }
.comparison-narrative-card h5 { margin: 0 0 8px; font-size: 0.86rem; color: #0f172a; }
.comparison-narrative-card p { margin: 0; font-size: 0.8rem; line-height: 1.5; color: #475569; }
.comparison-narrative-card.compare-slot-a { box-shadow: inset 0 3px 0 #2563eb; }
.comparison-narrative-card.compare-slot-b { box-shadow: inset 0 3px 0 #059669; }
.comparison-narrative-card.compare-slot-c { box-shadow: inset 0 3px 0 #d97706; }

@media (max-width: 980px) {
    .cockpit-analysis-grid { grid-template-columns: 1fr; }
    .cockpit-analysis-head-single { flex-direction: column; }
    .cockpit-analysis-head-primary { width: 100%; }
    .cockpit-analysis-head-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "score label"
            "trend trend"
            "strength strength"
            "risk risk";
    }
    .cockpit-analysis-head-trend { width: 100%; }
    .cockpit-overview-top { grid-template-columns: 1fr; gap: 8px; }
    .cockpit-day-badge-strip { justify-content: center; }
    .cockpit-test-mini-wrap { justify-content: center; }
    .comparison-summary-grid,
    .comparison-narrative-grid { grid-template-columns: 1fr; }
    .comparison-head-chip { justify-content: flex-start; }
}

#undo-toast { position: fixed; bottom: -100px; left: 50%; transform: translateX(-50%); background: #1e293b; color: white; padding: 14px 28px; border-radius: 999px; display: flex; align-items: center; gap: 20px; z-index: 9999; transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 10px 30px rgba(0,0,0,0.3); font-weight: 500; font-size: 0.95rem; }
#undo-toast.show { bottom: 40px; }
.undo-btn { background: var(--accent); color: white; border: none; padding: 8px 16px; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: 0.85rem; transition: background 0.2s; letter-spacing: 0.5px; text-transform: uppercase; }
.undo-btn:hover { background: var(--accent-hover); }

#modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(36, 53, 69, 0.6); backdrop-filter: blur(4px); z-index: 1000; display: none; align-items: center; justify-content: center; }
.modal-content { background: white; width: 850px; max-width: 95%; max-height: 85vh; border-radius: var(--radius-card); box-shadow: 0 20px 40px rgba(0,0,0,0.2); display: flex; flex-direction: column; overflow: hidden; }
.modal-header { padding: 20px 30px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; background: var(--bg-shell); color: white;}
.modal-header.error-header { background: #ef4444; }
.modal-header h2 { margin: 0; font-size: 1.4rem; display: flex; align-items: center; gap: 10px;}
.modal-close { background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }
.modal-body { padding: 30px; overflow-y: auto; background: #f8fafc; flex: 1;}
.modal-content-report { height: 92vh; max-height: 92vh; border-radius: 28px; background: rgba(247, 250, 253, 0.96); box-shadow: 0 30px 80px rgba(15, 23, 42, 0.26); }
.modal-body-report { padding: 16px 18px 18px; overflow: hidden; background: linear-gradient(180deg, #ebf1f7 0%, #dfe8f3 100%); }
.web-report-shell { width: 100%; height: 100%; min-height: calc(92vh - 120px); border-radius: 24px; overflow: hidden; background: #ffffff; box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06); }
.web-report-frame { width: 100%; height: 100%; min-height: calc(92vh - 120px); border: 0; background: #ffffff; display: block; }
.history-card { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 20px; margin-bottom: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.02);}

.status-tag { padding: 6px 14px; border-radius: 8px; font-size: 0.85rem; font-weight: 600; display: inline-block; }
.tag-green { background: #d1fae5; color: #065f46; border: 1px solid #34d399; }
.tag-red { background: #fee2e2; color: #991b1b; border: 1px solid #f87171; }
.tag-yellow { background: #fef3c7; color: #92400e; border: 1px solid #fbbf24; }
.tag-gray { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }

.result-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 8px; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.5px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.result-pass { background: #10b981; color: white; border: 1px solid #059669; }
.result-fail { background: #ef4444; color: white; border: 1px solid #dc2626; }
.result-warn { background: #f59e0b; color: white; border: 1px solid #d97706; }
.result-empty { background: #f1f5f9; color: #64748b; border: 1px dashed #cbd5e1; box-shadow: none;}

.score-badge { padding: 4px 10px; border-radius: 6px; font-size: 0.85rem; display: inline-flex; align-items: center; border: 1px solid rgba(0,0,0,0.05); font-weight: 500;}
.s-5 { background: #10b981; color: white; } 
.s-4 { background: #34d399; color: white; } 
.s-3 { background: #94a3b8; color: white; } 
.s-2 { background: #f59e0b; color: white; } 
.s-1 { background: #ef4444; color: white; } 
.s-empty { background: #f1f5f9; color: #94a3b8; border: 1px dashed #cbd5e1; }
.score-badge.test-pass { background: #d1fae5; color: #065f46; border-color: #34d399; font-weight: 600;}
.score-badge.test-fail { background: #fee2e2; color: #991b1b; border-color: #f87171; font-weight: 600;}

.tages-check-container { display: flex; align-items: center; justify-content: center; gap: 6px; }
.tages-check-divider { width: 2px; height: 24px; background: #e2e8f0; border-radius: 2px; margin: 0 6px; }

.day-badge { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 32px; height: 34px; border-radius: 6px; border: 1px solid var(--border); overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,0.02); cursor: pointer; transition: transform 0.2s; }
.day-badge:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.05); }
.day-badge-top { font-size: 0.5rem; font-weight: 800; letter-spacing: 0.5px; width: 100%; text-align: center; padding: 2px 0; background: rgba(0,0,0,0.05); color: inherit; }
.day-badge-bot { font-size: 0.95rem; font-weight: 800; padding: 1px 0; }
.badge-green { background: #d1fae5; border-color: #34d399; color: #065f46; }
.badge-green .day-badge-top { background: #a7f3d0; }
.badge-red { background: #fee2e2; border-color: #f87171; color: #991b1b; }
.badge-red .day-badge-top { background: #fecaca; }
.badge-gray { background: #f1f5f9; border-color: #cbd5e1; color: #64748b; }
.badge-gray .day-badge-top { background: #e2e8f0; }
.badge-yellow { background: #fffbeb; border-color: #fde68a; color: #d97706; }
.badge-yellow .day-badge-top { background: #fde68a; }

.action-icon-btn { background: white; border: 1px solid var(--border); border-radius: 8px; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; color: #64748b; }
.action-icon-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.05);}
.action-icon-btn:disabled { opacity: 0.35; cursor: not-allowed; background: #f8fafc; color: #94a3b8; border-color: #e2e8f0; }
.action-icon-btn.ready { color: var(--bg-shell); border-color: #cbd5e1; }
.cockpit-incomplete-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--warning-border);
    background: var(--warning-bg);
    color: var(--warning-text);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}
.cockpit-incomplete-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}
.cockpit-incomplete-icon .icon-cockpit {
    width: 18px;
    height: 18px;
}
.cockpit-incomplete-copy {
    display: inline-flex;
    align-items: center;
}

#pdf-container { position: absolute; left: -9999px; top: -9999px; z-index: -1000; opacity: 0; pointer-events: none; }

.table-note-btn-icon { background: white; border: 1px solid var(--border); border-radius: 8px; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; color: var(--text-muted); }
.table-note-btn-icon:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); box-shadow: 0 4px 8px rgba(0,0,0,0.05);}
.table-note-btn-icon.is-readonly { background: #f8fafc; color: #64748b; }
.table-note-btn-icon.has-note { background: #e0f2fe; color: #0284c7; border-color: #bae6fd; }
.table-note-btn-icon.needs-note { background: #fffbeb; color: #b45309; border-color: #fbbf24; animation: notePulse 1.4s ease-in-out infinite; }
.table-note-btn-icon.needs-note:hover:not(:disabled) { border-color: #d97706; color: #92400e; }

@keyframes notePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
    50% { box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.25); }
}

.note-side-panel { position: fixed; top: 0; right: -450px; width: 400px; height: 100vh; background: white; z-index: 1050; box-shadow: -5px 0 25px rgba(0,0,0,0.15); transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; }
.note-side-panel.open { right: 0; }
.note-panel-backdrop { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(36, 53, 69, 0.4); backdrop-filter: blur(2px); z-index: 1040; display: none; opacity: 0; transition: opacity 0.3s; }
.note-panel-backdrop.open { display: block; opacity: 1; }

.panel-header { padding: 25px; background: var(--bg-shell); color: white; display: flex; justify-content: space-between; align-items: center; }
.panel-header h3 { margin: 0; font-size: 1.2rem; }
.panel-close-btn { background: transparent; border: none; color: white; font-size: 1.5rem; cursor: pointer; transition: 0.2s; }
.panel-close-btn:hover { transform: scale(1.1); color: var(--accent); }

.panel-body { padding: 25px; overflow-y: auto; flex: 1; background: var(--bg-main); display: flex; flex-direction: column; gap: 20px;}
.note-context-card { background: white; padding: 15px; border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 2px 10px rgba(0,0,0,0.02);}
.note-context-title { font-size: 0.8rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; margin-bottom: 8px; border-bottom: 1px solid var(--border); padding-bottom: 5px;}
.note-context-text { font-size: 0.95rem; color: var(--text-main); font-style: italic; white-space: pre-wrap; line-height: 1.4;}
.panel-textarea { width: 100%; height: 250px; padding: 15px; border-radius: 12px; border: 2px solid var(--border); resize: none; font-size: 1rem; transition: 0.2s; font-family: inherit; color: var(--bg-shell); line-height: 1.5;}
.panel-textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); }
.panel-textarea.is-readonly { background: #f8fafc; color: #475569; }
.panel-textarea.is-readonly:focus { border-color: var(--border); box-shadow: none; }

/* === Live-Cockpit Ergebnis-Icons | Punkt 1 === */
#cockpit-table-wrapper thead th:nth-child(2),
#cockpit-table-wrapper thead th:nth-child(4) { text-align: left !important; }

.cockpit-result-cell {
    width: 100%;
    min-height: 64px;
    display: flex !important;
    align-items: center;
    justify-content: center;
}
.cockpit-result-cell.is-empty {
    min-height: 64px;
}
.cockpit-result-cell.is-clickable {
    cursor: pointer;
}
.cockpit-result-core {
    position: relative !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    line-height: 0;
    transition: transform 0.18s ease;
}
.cockpit-result-cell:hover .cockpit-result-core {
    transform: scale(1.07);
}
.cockpit-result-shield {
    width: 42px;
    height: 42px;
    display: block;
    flex: 0 0 42px;
    overflow: visible;
}
.cockpit-result-shield .shield-border {
    fill: none;
    stroke-width: 1.4;
    stroke-linejoin: round;
}
.cockpit-result-shield .shield-mark {
    fill: #ffffff;
    stroke: none;
}
.cockpit-result-cell.pass .shield-fill { fill: #1cc98e; }
.cockpit-result-cell.pass .shield-border { stroke: #0f8e66; }
.cockpit-result-cell.fail .shield-fill { fill: #ff5b5b; }
.cockpit-result-cell.fail .shield-border { stroke: #d43e3e; }

.cockpit-result-triangle {
    position: absolute !important;
    top: 0;
    right: -1px;
    width: 22px;
    height: 22px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
    line-height: 0;
}
.cockpit-result-triangle svg {
    width: 22px;
    height: 22px;
    display: block;
    overflow: visible;
}
.cockpit-result-triangle .triangle-fill { fill: #f6b321; }
.cockpit-result-triangle .triangle-border { fill: none; stroke: #d48806; stroke-width: 1.5; stroke-linejoin: round; }

@media (max-width: 1280px) {
    .cockpit-header-main { gap: 20px; }
    .admin-account-grid { grid-template-columns: 1fr; }
    .admin-two-col { grid-template-columns: 1fr; }
    .admin-form-grid { grid-template-columns: 1fr; }
    .admin-scope-picker { grid-template-columns: 1fr; }
    .session-panel { min-width: 320px; padding-right: 196px; }
}


