.material-symbols-outlined {
            font-variation-settings:
                'FILL' 0,
                'wght' 400,
                'GRAD' 0,
                'opsz' 24;
            font-size: 1em;
            vertical-align: middle;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            min-height: 100%;
            min-height: 100dvh;
            background: linear-gradient(135deg, #333f75 0%, #3b2651 100%);
            background-attachment: fixed;
        }

        /* Hintergrund-Scroll sperren, solange ein Dialog/Modal offen ist */
        html.lykke-scroll-lock,
        body.lykke-scroll-lock,
        html:has(dialog[open]),
        body:has(dialog[open]),
        html:has(.modal-overlay:not(.hidden)),
        body:has(.modal-overlay:not(.hidden)),
        html:has(.zf-preview-modal.is-open),
        body:has(.zf-preview-modal.is-open),
        html:has(.nav-notifications-drawer-root.is-open),
        body:has(.nav-notifications-drawer-root.is-open),
        html:has(.nav-user-drawer-root.is-open),
        body:has(.nav-user-drawer-root.is-open) {
            overflow: hidden;
            overscroll-behavior: none;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background: transparent;
            min-height: 100%;
            min-height: 100dvh;
            padding: 20px;
        }

        /* Eingeloggt: Spaltenlayout; Modul-Seiten füllen Viewport, Infoseiten wachsen mit Inhalt. */
        body:not(.page-login) {
            display: flex;
            flex-direction: column;
        }

        body:not(.page-login) .container {
            flex: 1 0 auto;
            display: flex;
            flex-direction: column;
            width: 100%;
        }

        body:not(.page-login) .content {
            flex: 1 0 auto;
        }

        /* Zeiterfassung / Xentral-Listen: volle Höhe, internes Scrollen in Modul-CSS */
        body.page-module .container {
            flex: 1 1 auto;
            min-height: 0;
        }

        body.page-module .content {
            flex: 1 1 auto;
            min-height: 0;
        }

        /* Nur Login-Formular: kein Header/Footer, Inhalt zentriert */
        body.page-login {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 24px 16px;
        }

        body.page-login .container {
            max-width: 500px;
            width: 100%;
            margin: 0 auto;
        }

        body.page-login .content {
            margin: 0;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
        }

        header.site-header {
            background: white;
            border-radius: 12px;
            padding: 14px 22px;
            margin-bottom: 30px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            gap: 16px 24px;
            flex-wrap: nowrap;
        }

        header.site-header h1 {
            color: #333;
            font-size: clamp(1.05rem, 2vw, 1.35rem);
            margin: 0;
            padding: 0;
            flex: 0 0 auto;
            white-space: nowrap;
            line-height: 1;
        }

        h1 .site-title-link {
            color: inherit;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.45em;
            padding: 0;
        }

        h1 .site-title-link__logo {
            height: 52px;
            width: auto;
            max-width: none;
            padding: 0;
            margin: 0;
            object-fit: contain;
            object-position: left center;
            display: block;
            flex-shrink: 0;
            vertical-align: top;
        }

        h1 .site-title-link:hover {
            color: #667eea;
        }

        header.site-header nav {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 6px 8px;
            margin: 0;
            flex: 1 1 auto;
            min-width: 0;
            justify-content: flex-start;
            font-size: clamp(0.875rem, 1.5vw, 1rem);
        }

        .site-header-nav__primary {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 6px 8px;
            min-width: 0;
        }

        header.site-header nav>a,
        header.site-header nav .site-header-nav__primary>a,
        header.site-header nav>.nav-absence,
        header.site-header nav>.nav-xentral {
            flex-shrink: 0;
        }

        header.site-header nav a,
        header.site-header nav .site-header-nav__primary>a {
            color: #667eea;
            text-decoration: none;
            padding: 6px 10px;
            border-radius: 6px;
            transition: all 0.3s;
            font-weight: 500;
        }

        header.site-header nav a:hover,
        header.site-header nav a.active,
        header.site-header nav .site-header-nav__primary>a:hover,
        header.site-header nav .site-header-nav__primary>a.active {
            background: #667eea;
            color: white;
        }

        .nav-xentral,
        .nav-absence {
            position: relative;
        }

        .nav-xentral-trigger {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 10px;
            border-radius: 6px;
            border: none;
            background: transparent;
            font: inherit;
            font-weight: 500;
            color: #667eea;
            cursor: pointer;
            transition: all 0.3s;
        }

        .nav-absence-trigger {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 7px 12px;
            border-radius: 6px;
            border: none;
            background: transparent;
            font: inherit;
            font-weight: 500;
            color: #667eea;
            cursor: pointer;
            transition: all 0.3s;
        }

        .nav-xentral-trigger:hover,
        .nav-xentral.open .nav-xentral-trigger,
        .nav-absence-trigger:hover,
        .nav-absence.open .nav-absence-trigger {
            background: #667eea;
            color: white;
        }

        .nav-xentral.nav-xentral-active:not(.open) .nav-xentral-trigger,
        .nav-absence.nav-absence-active:not(.open) .nav-absence-trigger {
            background: #667eea;
            color: white;
        }

        .nav-xentral-chevron,
        .nav-absence-chevron {
            font-size: 20px;
            transition: transform 0.2s;
        }

        .nav-xentral.open .nav-xentral-chevron,
        .nav-absence.open .nav-absence-chevron {
            transform: rotate(180deg);
        }

        .nav-xentral-dropdown,
        .nav-absence-dropdown {
            display: none;
            position: absolute;
            left: 0;
            top: calc(100% + 8px);
            min-width: 240px;
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
            border: 1px solid #e9ecef;
            z-index: 2000;
            overflow: hidden;
        }

        .nav-xentral.open .nav-xentral-dropdown,
        .nav-absence.open .nav-absence-dropdown {
            display: block;
            animation: slideUp 0.18s ease;
        }

        .nav-xentral-dropdown a,
        .nav-absence-dropdown a {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 14px;
            color: #333;
            text-decoration: none;
            font-weight: 500;
            border-radius: 0;
        }

        .nav-xentral-dropdown a:hover,
        .nav-absence-dropdown a:hover {
            background: #f0f4ff;
            color: #667eea;
        }

        .nav-xentral-dropdown a.nav-xentral-current,
        .nav-absence-dropdown a.nav-absence-current {
            background: #e8edff;
            color: #667eea;
        }

        .nav-xentral-divider {
            height: 0;
            margin: 10px 0;
            border: none;
            border-top: 1px solid #e9ecef;
        }

        .nav-xentral-group--lake-report a {
            color: #E56ECB;
        }

        .nav-xentral-group--lake-report a .material-symbols-outlined {
            color: #E56ECB;
        }

        .nav-xentral-group--lake-report a:hover,
        .nav-xentral-group--lake-report a.nav-xentral-current {
            color: #d45bb8;
        }

        .nav-xentral-group--lake-report a:hover .material-symbols-outlined,
        .nav-xentral-group--lake-report a.nav-xentral-current .material-symbols-outlined {
            color: #d45bb8;
        }

        .nav-xentral-trigger .nav-xentral-logo-mark {
            width: 18px;
            height: 18px;
            flex-shrink: 0;
            border-radius: 4px;
            display: block;
        }

        .nav-xentral-trigger .nav-xentral-icon-mark {
            font-size: 20px;
            line-height: 1;
            flex-shrink: 0;
        }

        .nav-xentral-trigger:hover .nav-xentral-logo-mark,
        .nav-xentral.open .nav-xentral-trigger .nav-xentral-logo-mark,
        .nav-xentral.nav-xentral-active:not(.open) .nav-xentral-trigger .nav-xentral-logo-mark {
            filter: brightness(0) invert(1);
        }

        header.site-header nav>a.nav-link-icon,
        header.site-header nav .site-header-nav__primary>a.nav-link-icon {
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        header.site-header nav>a.nav-link-icon>.material-symbols-outlined,
        header.site-header nav .site-header-nav__primary>a.nav-link-icon>.material-symbols-outlined {
            font-size: 20px;
            line-height: 1;
        }

        header.site-header nav>a.nav-link-icon .nav-link-icon__label-group,
        header.site-header nav .site-header-nav__primary>a.nav-link-icon .nav-link-icon__label-group {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            min-width: 0;
        }

        .nav-beta-badge {
            display: inline-flex;
            align-items: center;
            gap: 2px;
            flex-shrink: 0;
            padding: 1px 7px 1px 4px;
            border-radius: 999px;
            border: 1px solid rgba(245, 124, 0, 0.35);
            background: #fff3e0;
            color: #f57c00;
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 0.03em;
            line-height: 1.3;
            text-transform: lowercase;
        }

        .nav-beta-badge__icon.material-symbols-outlined {
            font-size: 12px;
            line-height: 1;
        }

        button.nav-beta-badge {
            font-family: inherit;
            cursor: pointer;
            transition: background 0.15s, border-color 0.15s, color 0.15s;
        }

        button.nav-beta-badge:hover {
            background: #ffe0b2;
            border-color: rgba(245, 124, 0, 0.5);
        }

        button.nav-beta-badge:focus-visible {
            outline: 2px solid #f57c00;
            outline-offset: 2px;
        }

        header.site-header nav>a.nav-link-icon.active .nav-beta-badge,
        header.site-header nav .site-header-nav__primary>a.nav-link-icon.active .nav-beta-badge {
            background: #fff;
            border-color: rgba(255, 255, 255, 0.65);
            color: #e65100;
        }

        .nav-user {
            position: relative;
            margin-left: auto;
            flex-shrink: 0;
        }

        .nav-user-trigger {
            display: inline-flex;
            align-items: center;
            padding: 4px;
            border: none;
            background: rgba(102, 126, 234, 0.12);
            border-radius: 999px;
            cursor: pointer;
            font: inherit;
            color: #333;
            transition: background 0.2s;
        }

        .nav-user-trigger:hover,
        .nav-user-trigger[aria-expanded="true"] {
            background: rgba(102, 126, 234, 0.22);
        }

        .nav-user-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: #fff;
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 0.02em;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .nav-user-avatar--image {
            padding: 0;
            overflow: hidden;
            background: #e9ecef;
        }

        .nav-user-avatar--image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .nav-header-right {
            margin-left: auto;
            display: flex;
            align-items: center;
            gap: 12px;
            flex-shrink: 0;
        }

        .nav-impersonation-bar {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            flex-wrap: nowrap;
            max-width: min(420px, 52vw);
            min-width: 0;
            padding: 4px 6px 4px 10px;
            background: #fff3cd;
            border: 1px solid #ffc107;
            border-radius: 8px;
            font-size: 13px;
            line-height: 1.2;
            color: #856404;
            white-space: nowrap;
        }

        .nav-impersonation-bar-text {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            min-width: 0;
            flex: 1 1 auto;
        }

        .nav-impersonation-bar-name {
            overflow: hidden;
            text-overflow: ellipsis;
            font-weight: 600;
            min-width: 0;
        }

        .nav-impersonation-bar-role {
            flex-shrink: 0;
            font-size: 11px;
            font-weight: 600;
            padding: 2px 7px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.75);
            border: 1px solid rgba(133, 100, 4, 0.35);
            color: #664d03;
        }

        .nav-stop-impersonate-btn {
            padding: 6px 12px;
            border-radius: 6px;
            border: 1px solid #856404;
            background: #fff;
            color: #664d03;
            font-weight: 600;
            font-size: 13px;
            cursor: pointer;
            white-space: nowrap;
        }

        .nav-stop-impersonate-btn--icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 34px;
            height: 34px;
            padding: 0;
            border-radius: 8px;
            flex-shrink: 0;
        }

        .nav-stop-impersonate-btn--icon .material-symbols-outlined {
            font-size: 22px;
        }

        .nav-stop-impersonate-btn:hover {
            background: #664d03;
            color: #fff;
        }

        .nav-role-switch-bar {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            flex-wrap: nowrap;
            max-width: min(320px, 40vw);
            min-width: 0;
            padding: 4px 6px 4px 10px;
            background: #e8f4fd;
            border: 1px solid #90caf9;
            border-radius: 8px;
            font-size: 13px;
            line-height: 1.2;
            color: #0d47a1;
            white-space: nowrap;
        }

        .nav-role-switch-bar-text {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            min-width: 0;
            flex: 1 1 auto;
        }

        .nav-role-switch-bar-icon {
            font-size: 18px;
            flex-shrink: 0;
        }

        .nav-role-switch-bar-label {
            overflow: hidden;
            text-overflow: ellipsis;
            font-weight: 600;
            min-width: 0;
        }

        .nav-role-switch-trigger {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            padding: 0;
            border: 1px solid #c5cae9;
            border-radius: 999px;
            background: #fff;
            color: #3949ab;
            cursor: pointer;
            flex-shrink: 0;
        }

        .nav-role-switch-trigger:hover {
            background: #e8eaf6;
            border-color: #7986cb;
        }

        .nav-role-switch-trigger .material-symbols-outlined {
            font-size: 22px;
        }

        .nav-role-switch-dialog {
            border: none;
            border-radius: 12px;
            padding: 0;
            width: min(460px, 95vw);
            max-height: 90vh;
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
        }

        .nav-role-switch-dialog[open] {
            display: flex;
            flex-direction: column;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        .nav-role-switch-dialog::backdrop {
            background: rgba(15, 23, 42, 0.45);
        }

        .nav-role-switch-dialog__head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 16px 18px 8px;
        }

        .nav-role-switch-dialog__head h2 {
            margin: 0;
            font-size: 1.125rem;
        }

        .nav-role-switch-dialog__close {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border: none;
            border-radius: 8px;
            background: transparent;
            color: #475569;
            cursor: pointer;
        }

        .nav-role-switch-dialog__close:hover {
            background: #f1f5f9;
        }

        .nav-role-switch-dialog__hint {
            margin: 0;
            padding: 0 18px 12px;
            font-size: 0.875rem;
            color: #64748b;
            line-height: 1.45;
        }

        .nav-role-switch-dialog__tabs {
            display: flex;
            gap: 4px;
            margin: 0 18px 12px;
            padding: 4px;
            border-radius: 10px;
            background: #f1f5f9;
        }

        .nav-role-switch-dialog__tab {
            flex: 1 1 0;
            min-height: 40px;
            padding: 8px 12px;
            border: none;
            border-radius: 8px;
            background: transparent;
            color: #475569;
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
        }

        .nav-role-switch-dialog__tab:hover {
            color: #0f172a;
            background: rgba(255, 255, 255, 0.55);
        }

        .nav-role-switch-dialog__tab[aria-selected="true"] {
            background: #fff;
            color: #3949ab;
            box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
        }

        .nav-role-switch-dialog__tab:focus-visible {
            outline: 2px solid #3949ab;
            outline-offset: 2px;
        }

        .nav-role-switch-dialog__panel {
            display: flex;
            flex-direction: column;
            min-height: 0;
            overflow: auto;
        }

        .nav-role-switch-dialog__panel[hidden] {
            display: none !important;
        }

        .nav-role-switch-dialog__subhead {
            margin: 0 18px 8px;
            font-size: 0.875rem;
            font-weight: 700;
            color: #334155;
        }

        .nav-role-switch-dialog__mitarbeiter-checkin {
            padding: 0 18px 18px;
        }

        .nav-role-switch-dialog__search {
            width: 100%;
            box-sizing: border-box;
            margin-bottom: 10px;
            padding: 10px 12px;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            font-size: 0.9rem;
        }

        .nav-role-switch-dialog__search:focus-visible {
            outline: 2px solid #3949ab;
            outline-offset: 1px;
            border-color: #3949ab;
        }

        .nav-role-switch-dialog__mitarbeiter-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
            max-height: min(240px, 40vh);
            overflow: auto;
        }

        .nav-role-switch-mitarbeiter-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            padding: 10px 12px;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            background: #fff;
        }

        .nav-role-switch-mitarbeiter-item__label {
            min-width: 0;
            font-size: 0.875rem;
            color: #0f172a;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .nav-role-switch-mitarbeiter-item__btn {
            flex-shrink: 0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 44px;
            min-height: 44px;
            padding: 0 10px;
            border: 1px solid #cbd5e1;
            border-radius: 8px;
            background: #f8fafc;
            color: #3949ab;
            cursor: pointer;
        }

        .nav-role-switch-mitarbeiter-item__btn:hover {
            border-color: #94a3b8;
            background: #eef2ff;
        }

        .nav-role-switch-dialog__empty {
            margin: 0;
            padding: 12px;
            font-size: 0.875rem;
            color: #64748b;
            text-align: center;
        }

        .nav-role-switch-dialog__options {
            display: flex;
            flex-direction: column;
            gap: 8px;
            padding: 0 18px 18px;
            margin: 0;
        }

        .nav-role-switch-option {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            width: 100%;
            padding: 12px 14px;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            background: #fff;
            color: #0f172a;
            font-size: 0.95rem;
            font-weight: 600;
            text-align: left;
            cursor: pointer;
        }

        .nav-role-switch-option:hover {
            border-color: #94a3b8;
            background: #f8fafc;
        }

        .nav-role-switch-option--current {
            border-color: #3949ab;
            background: #e8eaf6;
        }

        .nav-role-switch-option__badge {
            flex-shrink: 0;
            font-size: 11px;
            font-weight: 700;
            padding: 2px 8px;
            border-radius: 999px;
            background: #3949ab;
            color: #fff;
        }

        .nav-notifications {
            position: relative;
            flex-shrink: 0;
        }

        .nav-notifications-trigger {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            padding: 0;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            background: #fff;
            color: #475569;
            cursor: pointer;
            transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
        }

        .nav-notifications-trigger:hover {
            background: #f8fafc;
            border-color: #cbd5e1;
            color: #667eea;
        }

        .nav-notifications-trigger[aria-expanded="true"] {
            background: #eef2ff;
            border-color: #667eea;
            color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.18);
        }

        .nav-notifications-trigger .material-symbols-outlined {
            font-size: 22px;
        }

        .nav-assistant-trigger {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            height: 40px;
            padding: 0 10px 0 8px;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            background: #fff;
            color: #475569;
            text-decoration: none;
            flex-shrink: 0;
            transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
        }

        .nav-assistant-trigger:hover {
            background: #f8fafc;
            border-color: #cbd5e1;
            color: #667eea;
        }

        .nav-assistant-trigger:focus-visible {
            outline: 2px solid #667eea;
            outline-offset: 2px;
        }

        .nav-assistant-trigger--active,
        .nav-assistant-trigger[aria-current="page"] {
            background: #eef2ff;
            border-color: #667eea;
            color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.18);
        }

        .nav-assistant-trigger .material-symbols-outlined {
            font-size: 22px;
            line-height: 1;
        }

        .nav-assistant-trigger .nav-beta-badge {
            padding: 1px 6px 1px 3px;
        }

        .nav-notifications-badge {
            position: absolute;
            top: -4px;
            right: -4px;
            min-width: 18px;
            height: 18px;
            padding: 0 5px;
            border-radius: 999px;
            background: #e11d48;
            color: #fff;
            font-size: 11px;
            font-weight: 700;
            line-height: 18px;
            text-align: center;
            box-shadow: 0 0 0 2px #fff;
        }

        .nav-page-manual-trigger {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            padding: 0;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            background: #fff;
            color: #475569;
            cursor: pointer;
            transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
            flex-shrink: 0;
        }

        .nav-page-manual-trigger:hover:not(:disabled) {
            background: #f8fafc;
            border-color: #cbd5e1;
            color: #667eea;
        }

        .nav-page-manual-trigger:focus-visible:not(:disabled) {
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.18);
        }

        .nav-page-manual-trigger .material-symbols-outlined {
            font-size: 22px;
        }

        .nav-page-manual-trigger--disabled,
        .nav-page-manual-trigger:disabled {
            opacity: 0.42;
            cursor: not-allowed;
            pointer-events: none;
            background: #f8fafc;
            border-color: #e2e8f0;
            color: #94a3b8;
        }

        .page-manual-dialog {
            margin: 0;
            border: none;
            border-radius: 12px;
            padding: 0;
            width: min(80vw, calc(100vw - 2rem));
            height: min(80vh, calc(100vh - 2rem));
            max-width: 80vw;
            max-height: 80vh;
            overflow: hidden;
            box-shadow: 0 16px 48px rgba(15, 23, 42, 0.2);
        }

        /* display:flex only when open — otherwise overrides UA display:none and duplicates the modal */
        .page-manual-dialog[open] {
            display: flex;
            flex-direction: column;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        .page-manual-dialog::backdrop {
            background: rgba(15, 23, 42, 0.45);
        }

        .page-manual-dialog__head {
            display: flex;
            flex-shrink: 0;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 16px 18px;
            border-bottom: 1px solid #e2e8f0;
        }

        .page-manual-dialog__head h2 {
            margin: 0;
            font-size: 18px;
            font-weight: 600;
            color: #0f172a;
        }

        .page-manual-dialog__close {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            padding: 0;
            border: none;
            border-radius: 8px;
            background: transparent;
            color: #64748b;
            cursor: pointer;
        }

        .page-manual-dialog__close:hover {
            background: #f1f5f9;
            color: #334155;
        }

        .page-manual-dialog__body {
            flex: 1;
            min-height: 0;
            padding: 8px 18px 20px;
            overflow: auto;
        }

        .page-manual-section {
            padding: 14px 0;
            border-bottom: 1px solid #f1f5f9;
        }

        .page-manual-section:last-child {
            border-bottom: none;
        }

        .page-manual-section__title {
            margin: 0 0 10px;
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
        }

        .page-manual-section__content {
            font-size: 14px;
            line-height: 1.55;
            color: #334155;
        }

        .page-manual-section__content p {
            margin: 0 0 10px;
        }

        .page-manual-section__content p:last-child {
            margin-bottom: 0;
        }

        .page-manual-section__content ul,
        .page-manual-section__content ol {
            margin: 0 0 10px;
            padding-left: 1.35rem;
        }

        .page-manual-section__content li {
            margin-bottom: 6px;
        }

        .page-manual-section__content li:last-child {
            margin-bottom: 0;
        }

        .page-manual-section__content code {
            font-size: 0.92em;
            padding: 1px 5px;
            border-radius: 4px;
            background: #f1f5f9;
            color: #475569;
        }

        .page-manual-section__content strong {
            font-weight: 600;
            color: #1e293b;
        }

        .page-manual-dialog__callout {
            display: flex;
            gap: 12px;
            align-items: flex-start;
            margin: 12px 0 0;
            padding: 12px 14px;
            border: 1px solid transparent;
            border-radius: 10px;
        }

        .page-manual-dialog__callout--warning {
            background: #fffbeb;
            border-color: #fde68a;
            color: #92400e;
        }

        .page-manual-dialog__callout-icon {
            flex-shrink: 0;
            font-size: 22px;
            line-height: 1;
            margin-top: 1px;
        }

        .page-manual-dialog__callout--warning .page-manual-dialog__callout-icon {
            color: #d97706;
        }

        .page-manual-dialog__callout-body {
            flex: 1;
            min-width: 0;
            font-size: 14px;
            line-height: 1.55;
        }

        .page-manual-dialog__callout-body p {
            margin: 0 0 8px;
        }

        .page-manual-dialog__callout-body p:last-child {
            margin-bottom: 0;
        }

        .page-manual-dialog__callout-title {
            margin: 0 0 6px;
            font-size: 14px;
            font-weight: 600;
            color: #78350f;
        }

        .page-manual-dialog__callout--warning strong {
            font-weight: 600;
            color: #78350f;
        }

        .nav-notifications-drawer-root {
            position: fixed;
            inset: 0;
            z-index: 1200;
            pointer-events: none;
        }

        .nav-notifications-drawer-root.is-open {
            pointer-events: auto;
        }

        .nav-notifications-drawer-root[hidden] {
            display: none !important;
        }

        .nav-notifications-backdrop {
            position: absolute;
            inset: 0;
            background: rgba(15, 23, 42, 0.45);
            opacity: 0;
            transition: opacity 0.25s ease;
        }

        .nav-notifications-drawer-root.is-open .nav-notifications-backdrop {
            opacity: 1;
        }

        .nav-notifications-drawer {
            position: absolute;
            top: 0;
            right: 0;
            display: flex;
            flex-direction: column;
            width: min(420px, 100vw);
            max-width: 100%;
            height: 100%;
            background: #fff;
            box-shadow: -8px 0 32px rgba(15, 23, 42, 0.18);
            transform: translateX(100%);
            transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .nav-notifications-drawer-root.is-open .nav-notifications-drawer {
            transform: translateX(0);
        }

        .nav-notifications-drawer__head {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 16px 18px;
            border-bottom: 1px solid #e2e8f0;
            flex-shrink: 0;
        }

        .nav-notifications-drawer__title {
            margin: 0;
            flex: 1 1 auto;
            font-size: 18px;
            font-weight: 700;
            color: #0f172a;
        }

        .nav-notifications-drawer__mark-all {
            padding: 6px 10px;
            border: none;
            border-radius: 8px;
            background: transparent;
            color: #667eea;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
        }

        .nav-notifications-drawer__mark-all:hover {
            background: #eef2ff;
        }

        .nav-notifications-drawer__delete-all {
            padding: 6px 10px;
            border: none;
            border-radius: 8px;
            background: transparent;
            color: #b91c1c;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
        }

        .nav-notifications-drawer__delete-all:hover {
            background: #fef2f2;
        }

        .nav-notifications-drawer__close {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            padding: 0;
            border: none;
            border-radius: 8px;
            background: transparent;
            color: #64748b;
            cursor: pointer;
        }

        .nav-notifications-drawer__close:hover {
            background: #f1f5f9;
            color: #0f172a;
        }

        .nav-notifications-drawer__body {
            flex: 1 1 auto;
            overflow-y: auto;
            overscroll-behavior: contain;
            padding: 8px 0 16px;
        }

        .nav-notifications-empty {
            margin: 0;
            padding: 32px 20px;
            text-align: center;
            color: #64748b;
            font-size: 14px;
        }

        .nav-notifications-item {
            display: block;
            width: 100%;
            margin: 0;
            padding: 14px 18px;
            border: none;
            border-bottom: 1px solid #f1f5f9;
            background: #fff;
            text-align: left;
            cursor: pointer;
            transition: background 0.15s;
        }

        .nav-notifications-item:hover {
            background: #f8fafc;
        }

        .nav-notifications-item--unread {
            background: #f8faff;
        }

        .nav-notifications-item--unread:hover {
            background: #eef2ff;
        }

        .nav-notifications-item__head {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin-bottom: 6px;
        }

        .nav-notifications-item__icon {
            flex-shrink: 0;
            color: #667eea;
            font-size: 20px;
        }

        .nav-notifications-item__title {
            flex: 1 1 auto;
            font-size: 14px;
            font-weight: 700;
            color: #0f172a;
            line-height: 1.35;
        }

        .nav-notifications-item__dot {
            flex-shrink: 0;
            width: 8px;
            height: 8px;
            margin-top: 5px;
            border-radius: 50%;
            background: #667eea;
        }

        .nav-notifications-item__message {
            margin: 0 0 6px 30px;
            font-size: 13px;
            line-height: 1.45;
            color: #475569;
        }

        .nav-notifications-item__time {
            margin: 0 0 0 30px;
            font-size: 12px;
            color: #94a3b8;
        }

        .nav-user-drawer-root {
            position: fixed;
            inset: 0;
            z-index: 1200;
            pointer-events: none;
        }

        .nav-user-drawer-root.is-open {
            pointer-events: auto;
        }

        .nav-user-drawer-root[hidden] {
            display: none !important;
        }

        .nav-user-drawer-backdrop {
            position: absolute;
            inset: 0;
            background: rgba(15, 23, 42, 0.45);
            opacity: 0;
            transition: opacity 0.25s ease;
        }

        .nav-user-drawer-root.is-open .nav-user-drawer-backdrop {
            opacity: 1;
        }

        .nav-user-drawer {
            position: absolute;
            top: 0;
            right: 0;
            display: flex;
            flex-direction: column;
            width: min(420px, 100vw);
            max-width: 100%;
            height: 100%;
            background: #fff;
            box-shadow: -8px 0 32px rgba(15, 23, 42, 0.18);
            transform: translateX(100%);
            transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .nav-user-drawer-root.is-open .nav-user-drawer {
            transform: translateX(0);
        }

        .nav-user-drawer__head {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 16px 18px;
            border-bottom: 1px solid #e2e8f0;
            background: #f8f9fa;
            flex-shrink: 0;
        }

        .nav-user-drawer__profile {
            flex: 1 1 auto;
            min-width: 0;
        }

        .nav-user-drawer__title {
            margin: 0 0 4px;
            font-size: 16px;
            font-weight: 700;
            color: #0f172a;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .nav-user-drawer__email {
            margin: 0 0 2px;
            font-size: 13px;
            color: #64748b;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .nav-user-drawer__meta {
            margin: 0;
            font-size: 12px;
            color: #94a3b8;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .nav-user-drawer__meta-divider {
            margin: 8px 0 6px;
            border-top: 1px solid #e2e8f0;
        }

        .nav-user-drawer__meta--xentral {
            display: flex;
            align-items: center;
            gap: 6px;
            margin-top: 0;
            min-width: 0;
        }

        .nav-user-drawer__meta-xentral-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            padding: 2px;
            border-radius: 4px;
            line-height: 0;
            text-decoration: none;
            color: var(--lykke-brand, #667eea);
            transition: background 0.15s;
        }

        .nav-user-drawer__meta-xentral-link:hover,
        .nav-user-drawer__meta-xentral-link:focus-visible {
            background: rgba(102, 126, 234, 0.1);
            outline: none;
        }

        .nav-user-drawer__meta-xentral-link:focus-visible {
            outline: 2px solid rgba(102, 126, 234, 0.45);
            outline-offset: 1px;
        }

        .nav-user-drawer__meta-xentral-logo {
            display: block;
            width: 18px;
            height: 18px;
            flex-shrink: 0;
            border-radius: 3px;
        }

        .nav-user-drawer__meta-instance-id {
            margin: 0;
            padding: 0;
            border: none;
            background: transparent;
            font: inherit;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
            font-size: 12px;
            color: #94a3b8;
            cursor: pointer;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .nav-user-drawer__meta-instance-id:hover,
        .nav-user-drawer__meta-instance-id:focus-visible {
            color: #64748b;
            outline: none;
        }

        .nav-user-drawer__meta-instance-id:focus-visible {
            outline: 2px solid rgba(102, 126, 234, 0.45);
            outline-offset: 1px;
            border-radius: 2px;
        }

        .nav-user-drawer__close {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            padding: 0;
            border: none;
            border-radius: 8px;
            background: transparent;
            color: #64748b;
            cursor: pointer;
            flex-shrink: 0;
        }

        .nav-user-drawer__close:hover {
            background: #f1f5f9;
            color: #0f172a;
        }

        .nav-user-drawer__body {
            flex: 1 1 auto;
            overflow-y: auto;
            overscroll-behavior: contain;
            padding: 8px 0;
        }

        .nav-user-drawer__section {
            display: flex;
            flex-direction: column;
        }

        .nav-user-drawer__section-block {
            margin: 8px 14px 4px;
        }

        .nav-user-drawer__section-block--xentral .nav-user-drawer__section-divider-title {
            color: #E56ECB;
        }

        .nav-user-drawer__section-block--absence .nav-user-drawer__section-divider-title {
            color: #00D084;
        }

        .nav-user-drawer__section-block--data-lake .nav-user-drawer__section-divider-title {
            color: var(--lykke-brand, #667eea);
        }

        .nav-user-drawer__section-block .nav-user-drawer__section-divider {
            margin-top: 4px;
            padding-left: 4px;
            padding-right: 4px;
        }

        .nav-user-drawer__section-block .nav-user-drawer__link {
            padding-left: 14px;
            padding-right: 14px;
        }

        .nav-user-drawer__section-divider {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 8px;
            margin: 12px 0 4px;
            padding: 12px 18px 4px;
            border-top: 1px solid #e2e8f0;
        }

        .nav-user-drawer__section-divider-title {
            min-width: 0;
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            color: #94a3b8;
        }

        .nav-user-drawer__section-divider-logo-link {
            display: flex;
            align-items: center;
            flex-shrink: 0;
            text-decoration: none;
            border-radius: 4px;
            line-height: 0;
            transition: opacity 0.15s;
        }

        .nav-user-drawer__section-divider-logo-link:hover {
            opacity: 0.8;
        }

        .nav-user-drawer__section-divider-logo-link:focus-visible {
            outline: 2px solid #667eea;
            outline-offset: 2px;
        }

        .nav-user-drawer__section-divider-logo {
            height: 22px;
            width: auto;
            max-width: 80px;
            object-fit: contain;
            flex-shrink: 0;
        }

        .nav-user-drawer__link {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 18px;
            color: #334155;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: background 0.15s, color 0.15s;
        }

        .nav-user-drawer__link:hover {
            background: #f0f4ff;
            color: #667eea;
        }

        .nav-user-drawer__link--current {
            background: #e8edff;
            color: #4451c9;
        }

        .nav-user-drawer__link--mobile-header-nav {
            display: none;
        }

        @media (max-width: 767px) {
            .site-header-nav__primary {
                display: none;
            }

            .nav-user-drawer__link--mobile-header-nav {
                display: flex;
            }
        }

        .nav-user-drawer__link .material-symbols-outlined {
            font-size: 20px;
            color: #667eea;
            flex-shrink: 0;
        }

        .nav-user-drawer__link-label-group {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            min-width: 0;
            flex: 1;
        }

        .nav-user-drawer__link-label {
            min-width: 0;
        }

        .nav-user-drawer__section--xentral .nav-user-drawer__link {
            color: #E56ECB;
        }

        .nav-user-drawer__section--xentral .nav-user-drawer__link .material-symbols-outlined {
            color: #E56ECB;
        }

        .nav-user-drawer__section--xentral .nav-user-drawer__link:hover,
        .nav-user-drawer__section--xentral .nav-user-drawer__link--current {
            background: #fdf2fa;
            color: #d45bb8;
        }

        .nav-user-drawer__section--xentral .nav-user-drawer__link:hover .material-symbols-outlined,
        .nav-user-drawer__section--xentral .nav-user-drawer__link--current .material-symbols-outlined {
            color: #d45bb8;
        }

        .nav-user-drawer__section--absence .nav-user-drawer__link {
            color: #00D084;
        }

        .nav-user-drawer__section--absence .nav-user-drawer__link .material-symbols-outlined {
            color: #00D084;
        }

        .nav-user-drawer__section--absence .nav-user-drawer__link:hover,
        .nav-user-drawer__section--absence .nav-user-drawer__link--current {
            background: #ecfdf5;
            color: #00b872;
        }

        .nav-user-drawer__section--absence .nav-user-drawer__link:hover .material-symbols-outlined,
        .nav-user-drawer__section--absence .nav-user-drawer__link--current .material-symbols-outlined {
            color: #00b872;
        }

        .nav-user-drawer__section--data-lake .nav-user-drawer__link {
            color: var(--lykke-brand, #667eea);
        }

        .nav-user-drawer__section--data-lake .nav-user-drawer__link .material-symbols-outlined {
            color: var(--lykke-brand, #667eea);
        }

        .nav-user-drawer__section--data-lake .nav-user-drawer__link:hover,
        .nav-user-drawer__section--data-lake .nav-user-drawer__link--current {
            background: #f0f4ff;
            color: #4451c9;
        }

        .nav-user-drawer__section--data-lake .nav-user-drawer__link:hover .material-symbols-outlined,
        .nav-user-drawer__section--data-lake .nav-user-drawer__link--current .material-symbols-outlined {
            color: #4451c9;
        }

        .nav-user-drawer__foot {
            flex-shrink: 0;
            padding: 12px 18px 16px;
            border-top: 1px solid #e2e8f0;
            background: #fff;
        }

        .nav-user-drawer__logout {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 0;
            color: #c0392b;
            text-decoration: none;
            font-size: 14px;
            font-weight: 600;
        }

        .nav-user-drawer__logout:hover {
            color: #a93226;
        }

        .nav-user-drawer__logout .material-symbols-outlined {
            font-size: 20px;
        }

        .nav-user-drawer__version {
            margin: 4px 0 0;
            padding: 0;
        }

        .nav-user-drawer__version-link {
            font-size: 12px;
            color: #94a3b8;
            text-decoration: none;
        }

        .nav-user-drawer__version-link:hover {
            color: #667eea;
            text-decoration: underline;
        }

        .breadcrumb-nav {
            margin: 0 0 18px 0;
            font-size: 13px;
            color: #6c757d;
        }

        .breadcrumb-nav ol {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 0;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .breadcrumb-nav li {
            display: inline-flex;
            align-items: center;
        }

        .breadcrumb-nav li:not(:last-child)::after {
            content: "/";
            margin: 0 10px;
            color: #ced4da;
            font-weight: 400;
            user-select: none;
        }

        .breadcrumb-nav a {
            color: #667eea;
            text-decoration: none;
            font-weight: 500;
        }

        .breadcrumb-nav a:hover {
            text-decoration: underline;
        }

        .breadcrumb-nav [aria-current="page"] {
            color: #495057;
            font-weight: 600;
        }

        .content {
            background: white;
            border-radius: 12px;
            padding: 30px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        @media (max-width: 767px) {
            body:not(.page-login) {
                padding: 10px;
            }

            body.page-login {
                padding: 12px 8px;
            }

            header.site-header {
                margin-bottom: 15px;
            }

            .breadcrumb-nav {
                margin-bottom: 9px;
            }

            .content {
                padding: 15px;
            }

            .app-footer {
                margin-top: 12px;
            }

            .stats {
                margin-bottom: 15px;
            }
        }

        .app-footer {
            margin-top: 24px;
            padding: 28px 28px 20px;
            border-radius: 12px;
            background: #0f172a;
            color: #cbd5e1;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.12);
            flex-shrink: 0;
        }

        .app-footer__grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 28px 32px;
            padding-bottom: 22px;
            border-bottom: 1px solid rgba(148, 163, 184, 0.22);
        }

        .app-footer__heading {
            margin: 0 0 10px;
            font-size: 0.95rem;
            font-weight: 600;
            color: #f8fafc;
            letter-spacing: 0.01em;
        }

        .app-footer__text {
            margin: 0;
            font-size: 0.875rem;
            line-height: 1.55;
            color: #94a3b8;
        }

        .app-footer__links {
            margin: 0;
            padding: 0;
            list-style: none;
        }

        .app-footer__links li + li {
            margin-top: 6px;
        }

        .app-footer__links a {
            color: #cbd5e1;
            text-decoration: none;
            font-size: 0.875rem;
            transition: color 0.15s;
        }

        .app-footer__links a:hover {
            color: #fff;
        }

        .app-footer__muted {
            font-size: 0.875rem;
            color: #64748b;
        }

        .app-footer__user-links .app-footer__link-item {
            position: relative;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .app-footer__user-links .app-footer__link-item > a {
            flex: 1;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .app-footer__link-actions {
            display: inline-flex;
            align-items: center;
            gap: 2px;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.15s;
            flex-shrink: 0;
        }

        .app-footer__link-item:hover .app-footer__link-actions,
        .app-footer__link-item:focus-within .app-footer__link-actions {
            opacity: 1;
            pointer-events: auto;
        }

        .app-footer__link-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 26px;
            height: 26px;
            padding: 0;
            border: none;
            border-radius: 6px;
            background: rgba(148, 163, 184, 0.18);
            color: #cbd5e1;
            cursor: pointer;
            transition: background 0.15s, color 0.15s;
        }

        .app-footer__link-btn:hover {
            background: rgba(148, 163, 184, 0.32);
            color: #fff;
        }

        .app-footer__link-btn .material-symbols-outlined {
            font-size: 16px;
        }

        .app-footer__add-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 28px;
            height: 28px;
            padding: 0;
            border: 1px dashed rgba(148, 163, 184, 0.45);
            border-radius: 8px;
            background: transparent;
            color: #94a3b8;
            cursor: pointer;
            transition: border-color 0.15s, color 0.15s, background 0.15s;
        }

        .app-footer__add-link:hover {
            border-color: #cbd5e1;
            color: #f8fafc;
            background: rgba(148, 163, 184, 0.12);
        }

        .app-footer__add-link .material-symbols-outlined {
            font-size: 18px;
        }

        .footer-link-dialog {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            margin: 0;
            border: none;
            border-radius: 12px;
            padding: 0;
            max-width: min(420px, calc(100vw - 2rem));
            width: 100%;
            box-shadow: 0 16px 48px rgba(15, 23, 42, 0.2);
        }

        .footer-link-dialog::backdrop {
            background: rgba(15, 23, 42, 0.45);
        }

        .footer-link-dialog__form {
            display: flex;
            flex-direction: column;
        }

        .footer-link-dialog__head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 16px 18px;
            border-bottom: 1px solid #e2e8f0;
        }

        .footer-link-dialog__head h2 {
            margin: 0;
            font-size: 18px;
            font-weight: 600;
            color: #0f172a;
        }

        .footer-link-dialog__close {
            border: none;
            background: transparent;
            color: #64748b;
            cursor: pointer;
            padding: 4px;
            border-radius: 8px;
        }

        .footer-link-dialog__close:hover {
            background: #f1f5f9;
            color: #0f172a;
        }

        .footer-link-dialog__body {
            padding: 18px;
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .footer-link-dialog__field {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .footer-link-dialog__label {
            font-size: 13px;
            font-weight: 600;
            color: #475569;
        }

        .footer-link-dialog__input {
            width: 100%;
            box-sizing: border-box;
            padding: 10px 12px;
            border: 1px solid #cbd5e1;
            border-radius: 8px;
            font-size: 14px;
        }

        .footer-link-dialog__checkbox {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: #475569;
            cursor: pointer;
            user-select: none;
        }

        .footer-link-dialog__checkbox-input {
            width: 16px;
            height: 16px;
            margin: 0;
            accent-color: #667eea;
            cursor: pointer;
        }

        .footer-link-dialog__foot {
            display: flex;
            justify-content: flex-end;
            gap: 8px;
            padding: 14px 18px;
            border-top: 1px solid #e2e8f0;
            background: #fafafa;
        }

        .footer-link-dialog__btn {
            padding: 9px 16px;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            border: 1px solid transparent;
        }

        .footer-link-dialog__btn--secondary {
            background: #fff;
            border-color: #cbd5e1;
            color: #475569;
        }

        .footer-link-dialog__btn--secondary:hover {
            background: #f8fafc;
        }

        .footer-link-dialog__btn--primary {
            background: var(--lykke-brand-gradient, linear-gradient(135deg, #667eea 0%, #764ba2 100%));
            color: #fff;
        }

        .footer-link-dialog__btn--primary:disabled {
            opacity: 0.55;
            cursor: not-allowed;
        }

        .app-footer__bottom {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 8px 16px;
            padding-top: 18px;
            font-size: 0.8rem;
            color: #64748b;
        }

        .app-footer__bottom p {
            margin: 0;
        }

        .app-footer__version-link {
            color: inherit;
            text-decoration: none;
            transition: color 0.15s;
        }

        .app-footer__version-link:hover {
            color: #e2e8f0;
            text-decoration: underline;
        }

        @media (max-width: 768px) {
            .app-footer__grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .app-footer__bottom {
                flex-direction: column;
                align-items: flex-start;
            }
        }

        .stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }

        .stat-card {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 20px;
            border-radius: 8px;
            text-align: center;
        }

        .stat-card h3 {
            font-size: 32px;
            margin-bottom: 5px;
        }

        .stat-card p {
            opacity: 0.9;
            font-size: 14px;
        }

        .badge {
            display: inline-block;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 600;
        }

        .badge-active {
            background: #10b981;
            color: white;
        }

        .badge-inactive {
            background: #ef4444;
            color: white;
        }

        .btn {
            display: inline-block;
            padding: 8px 16px;
            background: #667eea;
            color: white;
            text-decoration: none;
            border-radius: 6px;
            transition: all 0.3s;
            border: none;
            cursor: pointer;
        }

        .btn:hover {
            background: #5568d3;
        }

        .btn-secondary {
            background: #6b7280;
        }

        .btn-secondary:hover {
            background: #4b5563;
        }

        /* Toast/Popup Styles */
        .toast-container {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 10000;
            display: flex;
            flex-direction: column;
            gap: 10px;
            max-width: 800px;
        }

        .toast {
            background: white;
            border-radius: 8px;
            padding: 16px 20px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            display: flex;
            align-items: flex-start;
            gap: 12px;
            animation: slideInRight 0.3s ease-out;
            min-width: 700px;
            max-width: 800px;
        }

        .toast.success {
            border-left: 4px solid #28a745;
        }

        .toast.error {
            border-left: 4px solid #dc3545;
        }

        .toast.info {
            border-left: 4px solid #667eea;
        }

        .toast.warning {
            border-left: 4px solid #ffc107;
        }

        .toast-icon {
            flex-shrink: 0;
            font-size: 24px;
        }

        .toast.success .toast-icon {
            color: #28a745;
        }

        .toast.error .toast-icon {
            color: #dc3545;
        }

        .toast.info .toast-icon {
            color: #667eea;
        }

        .toast.warning .toast-icon {
            color: #ffc107;
        }

        .toast-content {
            flex: 1;
        }

        .toast-title {
            font-weight: 600;
            margin-bottom: 4px;
            color: #333;
        }

        .toast-message {
            font-size: 14px;
            color: #666;
            line-height: 1.4;
        }

        .toast-progress {
            margin-top: 8px;
            height: 4px;
            background: #e0e0e0;
            border-radius: 2px;
            overflow: hidden;
        }

        .toast-progress-bar {
            height: 100%;
            background: #667eea;
            transition: width 0.3s ease;
        }

        .toast-close {
            background: none;
            border: none;
            color: #999;
            cursor: pointer;
            font-size: 20px;
            padding: 0;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .toast-close:hover {
            color: #333;
        }

        @keyframes slideInRight {
            from {
                transform: translateX(100%);
                opacity: 0;
            }

            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        @keyframes slideOutRight {
            from {
                transform: translateX(0);
                opacity: 1;
            }

            to {
                transform: translateX(100%);
                opacity: 0;
            }
        }

        .toast.closing {
            animation: slideOutRight 0.3s ease-out forwards;
        }

        /* Count Update Animation */
        .count-update {
            animation: countHighlight 0.8s ease-out;
        }

        @keyframes countHighlight {
            0% {
                background-color: transparent;
                transform: scale(1);
            }

            50% {
                background-color: #d4edda;
                transform: scale(1.1);
            }

            100% {
                background-color: transparent;
                transform: scale(1);
            }
        }

        .count-value {
            display: inline-block;
            transition: all 0.3s ease;
        }

        /* Confirmation Modal Styles */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 20000;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: fadeIn 0.2s ease-out;
        }

        .modal-overlay.hidden {
            display: none;
        }

        .confirmation-modal {
            background: white;
            border-radius: 12px;
            padding: 24px;
            max-width: 500px;
            width: 90%;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
            animation: slideUp 0.3s ease-out;
        }

        .modal-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 16px;
        }

        .modal-header .material-symbols-outlined {
            font-size: 32px;
            color: #667eea;
        }

        .modal-title {
            font-size: 20px;
            font-weight: 600;
            color: #333;
            margin: 0;
        }

        .modal-message {
            color: #666;
            margin-bottom: 24px;
            line-height: 1.5;
        }

        .modal-actions {
            display: flex;
            gap: 12px;
            justify-content: flex-end;
        }

        .modal-btn {
            padding: 10px 20px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .modal-btn-primary {
            background: #667eea;
            color: white;
        }

        .modal-btn-primary:hover {
            background: #5568d3;
        }

        .modal-btn-secondary {
            background: #e0e0e0;
            color: #333;
        }

        .modal-btn-secondary:hover {
            background: #d0d0d0;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        @keyframes slideUp {
            from {
                transform: translateY(20px);
                opacity: 0;
            }

            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

/* Zeiterfassung source initials fallback (LY, XE, GO) */
.zf-source-initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    user-select: none;
    flex-shrink: 0;
}

.zf-source-initials--lykke {
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: inset 0 0 0 1px rgba(102, 126, 234, 0.25);
}

.zf-source-initials--xentral {
    color: #334155;
    background: #f1f5f9;
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.45);
}

.zf-source-initials--google {
    color: #fff;
    background: linear-gradient(135deg, #4285f4 0%, #34a853 50%, #fbbc05 75%, #ea4335 100%);
}

.zf-source-initials--size-xs {
    width: 14px;
    height: 14px;
    font-size: 7px;
    border-radius: 3px;
}

/* Xentral/product logos: no instance-colored border on images (Zeiterfassung UI) */
.zf-xentral-logo,
.zf-detail-dialog-header__source-img,
.zf-today-calendar-legend__logo,
.zf-today-cal-event__source-logo,
.zf-booking-link-check-dialog__xentral-logo,
.zfa-source-xentral-logo,
img[class*="zf-xentral-link--"] {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.zf-xentral-link--live .zf-xentral-logo,
.zf-xentral-link--stage .zf-xentral-logo,
.zf-xentral-link--dev .zf-xentral-logo {
    border: none !important;
    box-shadow: none !important;
}