        @font-face {
            font-family: 'Space Grotesk';
            src: url('./fonts/space-grotesk-latin.woff2') format('woff2');
            font-style: normal;
            font-weight: 400 700;
            font-display: swap;
        }

        @font-face {
            font-family: 'JetBrains Mono';
            src: url('./fonts/jetbrains-mono-latin.woff2') format('woff2');
            font-style: normal;
            font-weight: 500 700;
            font-display: swap;
        }

 :root {
            --primary: #0f766e;
            --primary-hover: #115e59;
            --secondary: #64748b;
            --success: #15803d;
            --danger: #dc2626;
            --warning: #d97706;
            --info: #0284c7;

            --background: #f5f1e8;
            --surface: rgba(255, 252, 247, 0.94);
            --surface-2: #eee7da;
            --surface-3: #e5dccd;
            --text-main: #161615;
            --text-muted: #675f55;
            --border: rgba(22, 22, 21, 0.12);
            --border-strong: rgba(22, 22, 21, 0.24);

            --sidebar-bg: #161615;
            --sidebar-muted: #b9b1a5;
            --sidebar-hover: rgba(255, 252, 247, 0.08);

            --sidebar-width: 272px;

            --radius-sm: 0.75rem;
            --radius: 1.4rem;
            --focus-outline: 3px solid rgba(15, 118, 110, 0.24);

            --stat-primary: #0f766e;
            --stat-success: #3f7a32;
            --stat-info: #0f5f8c;
            --stat-warning: #a16207;
            --stat-dark: #2a2621;

            --chart-primary-soft: rgba(15, 118, 110, 0.18);
            --chart-info-soft: rgba(2, 132, 199, 0.18);
            --chart-warning-soft: rgba(217, 119, 6, 0.18);
            --chart-danger-soft: rgba(220, 38, 38, 0.18);

            --console-bg: #161615;
            --console-fg: #f4ede2;
            --console-border: rgba(244, 237, 226, 0.14);

            --log-error-bg: #fce8e6;
            --log-error-fg: #8f1d1d;
            --log-warning-bg: #fff1d6;
            --log-warning-fg: #8a4b0f;
            --log-info-bg: #dff4fb;
            --log-info-fg: #155273;
        }

        @media (prefers-color-scheme: dark) {
            :root {
                --background: #0d1110;
                --surface: rgba(23, 28, 27, 0.96);
                --surface-2: #171c1b;
                --surface-3: #202625;
                --text-main: #f3efe8;
                --text-muted: #a29b8f;
                --border: rgba(243, 239, 232, 0.12);
                --border-strong: rgba(243, 239, 232, 0.24);
                --sidebar-bg: #090c0c;
                --sidebar-muted: #a29b8f;
                --sidebar-hover: rgba(255, 248, 240, 0.08);
                --focus-outline: 3px solid rgba(94, 234, 212, 0.22);

                --stat-primary: #0f766e;
                --stat-success: #2f6f38;
                --stat-info: #0c557d;
                --stat-warning: #8b5a11;
                --stat-dark: #efe8dc;

                --chart-primary-soft: rgba(94, 234, 212, 0.16);
                --chart-info-soft: rgba(125, 211, 252, 0.16);
                --chart-warning-soft: rgba(251, 191, 36, 0.16);
                --chart-danger-soft: rgba(248, 113, 113, 0.16);

                --console-bg: #090c0c;
                --console-fg: #f3efe8;
                --console-border: rgba(243, 239, 232, 0.12);

                --log-error-bg: rgba(220, 38, 38, 0.16);
                --log-error-fg: #fecaca;
                --log-warning-bg: rgba(217, 119, 6, 0.16);
                --log-warning-fg: #fde68a;
                --log-info-bg: rgba(2, 132, 199, 0.16);
                --log-info-fg: #bae6fd;
            }
        }

        html[data-theme="light"] {
            --background: #f5f1e8;
            --surface: rgba(255, 252, 247, 0.94);
            --surface-2: #eee7da;
            --surface-3: #e5dccd;
            --text-main: #161615;
            --text-muted: #675f55;
            --border: rgba(22, 22, 21, 0.12);
            --border-strong: rgba(22, 22, 21, 0.24);
            --sidebar-bg: #161615;
            --sidebar-muted: #b9b1a5;
            --sidebar-hover: rgba(255, 252, 247, 0.08);
            --focus-outline: 3px solid rgba(15, 118, 110, 0.24);

            --stat-primary: #0f766e;
            --stat-success: #3f7a32;
            --stat-info: #0f5f8c;
            --stat-warning: #a16207;
            --stat-dark: #2a2621;

            --chart-primary-soft: rgba(15, 118, 110, 0.18);
            --chart-info-soft: rgba(2, 132, 199, 0.18);
            --chart-warning-soft: rgba(217, 119, 6, 0.18);
            --chart-danger-soft: rgba(220, 38, 38, 0.18);

            --log-error-bg: #fce8e6;
            --log-error-fg: #8f1d1d;
            --log-warning-bg: #fff1d6;
            --log-warning-fg: #8a4b0f;
            --log-info-bg: #dff4fb;
            --log-info-fg: #155273;
        }

        html[data-theme="dark"] {
            --background: #0d1110;
            --surface: rgba(23, 28, 27, 0.96);
            --surface-2: #171c1b;
            --surface-3: #202625;
            --text-main: #f3efe8;
            --text-muted: #a29b8f;
            --border: rgba(243, 239, 232, 0.12);
            --border-strong: rgba(243, 239, 232, 0.24);
            --sidebar-bg: #090c0c;
            --sidebar-muted: #a29b8f;
            --sidebar-hover: rgba(255, 248, 240, 0.08);
            --focus-outline: 3px solid rgba(94, 234, 212, 0.22);

            --stat-primary: #0f766e;
            --stat-success: #2f6f38;
            --stat-info: #0c557d;
            --stat-warning: #8b5a11;
            --stat-dark: #efe8dc;

            --chart-primary-soft: rgba(94, 234, 212, 0.16);
            --chart-info-soft: rgba(125, 211, 252, 0.16);
            --chart-warning-soft: rgba(251, 191, 36, 0.16);
            --chart-danger-soft: rgba(248, 113, 113, 0.16);

            --log-error-bg: rgba(220, 38, 38, 0.16);
            --log-error-fg: #fecaca;
            --log-warning-bg: rgba(217, 119, 6, 0.16);
            --log-warning-fg: #fde68a;
            --log-info-bg: rgba(2, 132, 199, 0.16);
            --log-info-fg: #bae6fd;
        }

        html {
            color-scheme: light dark;
        }

        body {
            font-family: 'Space Grotesk', sans-serif;
            background-color: var(--background);
            background-image:
                radial-gradient(circle at top left, rgba(15, 118, 110, 0.12), transparent 28%),
                radial-gradient(circle at top right, rgba(217, 119, 6, 0.08), transparent 22%),
                linear-gradient(180deg, rgba(255, 252, 247, 0.28), rgba(255, 252, 247, 0));
            color: var(--text-main);
            line-height: 1.5;
            -webkit-font-smoothing: antialiased;
            text-rendering: optimizeLegibility;
            min-height: 100vh;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        .min-w-0 {
            min-width: 0;
        }

        .text-muted {
            color: var(--text-muted) !important;
        }

        
        /* Sidebar Styling */
        .sidebar {
            height: 100vh;
            position: fixed;
            background:
                linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)),
                var(--sidebar-bg);
            color: #fff;
            width: var(--sidebar-width);
            z-index: 1000;
            border-right: 1px solid rgba(255, 252, 247, 0.1);
            backdrop-filter: blur(18px);
        }
        
        .sidebar .nav-link {
            color: var(--sidebar-muted);
            padding: 0.9rem 1rem;
            margin: 0.25rem 0.75rem;
            border-radius: 999px;
            transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
            font-weight: 500;
            display: flex;
            align-items: center;
            border: 1px solid transparent;
        }
        
        .sidebar .nav-link:hover {
            background: var(--sidebar-hover);
            color: #f1f5f9;
            border-color: rgba(255, 252, 247, 0.08);
        }

        .sidebar .nav-link.active {
            background: rgba(15, 118, 110, 0.22);
            color: white;
            border-color: rgba(94, 234, 212, 0.38);
        }

        .sidebar h4 {
            font-weight: 700;
            letter-spacing: -0.04em;
            text-transform: uppercase;
            font-size: 1.05rem;
        }
        
        .main-content {
            margin-left: var(--sidebar-width);
            padding: 2rem;
            min-height: 100vh;
            position: relative;
        }

        .main-content::before {
            content: '';
            position: fixed;
            inset: 0 0 auto var(--sidebar-width);
            height: 220px;
            background: linear-gradient(180deg, rgba(255, 252, 247, 0.5), rgba(255, 252, 247, 0));
            pointer-events: none;
            z-index: 0;
        }

        .main-content > * {
            position: relative;
            z-index: 1;
        }

        .mobile-nav-backdrop,
        .mobile-topbar {
            display: none;
        }

        /* Sidebar small icon buttons (logout/theme) */
        .sidebar .btn.btn-outline-light {
            border-radius: 999px;
            border-color: rgba(226, 232, 240, 0.28);
            color: #e2e8f0;
            background: transparent;
        }

        .sidebar .btn.btn-outline-light:hover {
            background: rgba(226, 232, 240, 0.10);
            border-color: rgba(226, 232, 240, 0.40);
            color: #fff;
        }

        #sidebar-avatar {
            --avatar-hue: 172;
            width: 32px;
            height: 32px;
            border: 1px solid rgba(255, 252, 247, 0.2);
            border-radius: 999px;
            background:
                radial-gradient(circle at 30% 30%, hsla(var(--avatar-hue), 88%, 72%, 0.34), transparent 58%),
                hsla(var(--avatar-hue), 58%, 44%, 0.22);
            color: #f8fafc;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 0.78rem;
            font-weight: 700;
            letter-spacing: 0.04em;
            flex-shrink: 0;
            user-select: none;
        }
        
        /* Card Styling */
        .card {
            border: 1px solid var(--border);
            border-radius: var(--radius);
            background: var(--surface);
            backdrop-filter: blur(16px);
            transition: border-color 0.2s, transform 0.2s, background-color 0.2s;
            margin-bottom: 1.5rem;
            overflow: hidden;
        }

        .card:hover {
            border-color: var(--border-strong);
            transform: translateY(-1px);
        }

        .empty-state-card {
            background-image: radial-gradient(circle at top, rgba(15, 118, 110, 0.12), transparent 56%);
        }

        .empty-state-illustration {
            width: 4.5rem;
            height: 4.5rem;
            margin: 0 auto;
            border: 1px solid var(--border);
            border-radius: 1.5rem;
            display: grid;
            place-items: center;
            font-size: 1.65rem;
            color: var(--primary);
            background: color-mix(in srgb, var(--surface-2) 80%, transparent);
        }

        .stat-card {
            border-color: transparent;
            color: white;
            position: relative;
        }

        .stat-card:hover {
            transform: translateY(-2px);
        }

        .card.bg-primary,
        .stat-card.bg-primary {
            background: linear-gradient(135deg, var(--stat-primary), #169389) !important;
            border-color: rgba(255, 255, 255, 0.08);
        }

        .card.bg-success,
        .stat-card.bg-success {
            background: linear-gradient(135deg, var(--stat-success), #4f8d41) !important;
            border-color: rgba(255, 255, 255, 0.08);
        }

        .card.bg-info,
        .stat-card.bg-info {
            background: linear-gradient(135deg, var(--stat-info), #1373a2) !important;
            border-color: rgba(255, 255, 255, 0.08);
        }

        .card.bg-warning,
        .stat-card.bg-warning {
            background: linear-gradient(135deg, var(--stat-warning), #bf7a0a) !important;
            border-color: rgba(255, 255, 255, 0.08);
        }

        .card.bg-dark,
        .stat-card.bg-dark {
            background: linear-gradient(135deg, var(--stat-dark), #3a342d) !important;
            border-color: rgba(255, 255, 255, 0.08);
        }

        .card-header {
            background-color: transparent;
            border-bottom: 1px solid var(--border);
            padding: 1.1rem 1.4rem;
            font-weight: 600;
        }

        .card-header h5,
        .card-header h6 {
            margin-bottom: 0;
            font-weight: 700;
            letter-spacing: -0.03em;
            line-height: 1.2;
        }

        .card-header .btn,
        .card-header .btn-group .btn {
            padding: 0.375rem 0.75rem;
        }

        .card-header .d-flex {
            gap: 0.5rem;
        }

        [id$="-section"] > .d-flex.justify-content-between.align-items-center.mb-4 h2,
        [id$="-section"] > h2 {
            font-weight: 700;
            letter-spacing: -0.05em;
            margin-bottom: 0;
        }

        [id$="-section"] > .d-flex.justify-content-between.align-items-center.mb-4 {
            margin-bottom: 1.25rem !important;
        }

        .card-body {
            padding: 1.5rem;
        }

        #login-prompt .card,
        #login-prompt .card-body {
            background: var(--surface);
        }
        
        /* Buttons */
        .btn {
            border-radius: 999px;
            padding: 0.6rem 1rem;
            font-weight: 600;
            letter-spacing: 0.01em;
            transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
            border-width: 1px;
        }

        .btn:focus, .btn:focus-visible {
            outline: var(--focus-outline);
            outline-offset: 2px;
        }

        .btn-primary {
            background-color: var(--primary);
            border-color: var(--primary);
        }

        .btn-primary:hover {
            background-color: var(--primary-hover);
            border-color: var(--primary-hover);
            transform: translateY(-1px);
        }

        .btn-outline-secondary {
            border-color: rgba(100, 116, 139, 0.35);
        }

        .btn-outline-secondary:hover {
            background: rgba(15, 118, 110, 0.08);
            border-color: rgba(15, 118, 110, 0.35);
            color: var(--text-main);
        }

        .btn-outline-primary {
            border-color: rgba(15, 118, 110, 0.38);
            color: var(--primary);
        }

        .btn-outline-primary:hover {
            background: rgba(15, 118, 110, 0.08);
            border-color: rgba(15, 118, 110, 0.48);
            color: var(--primary-hover);
        }
        
        .alert-badge {
            position: absolute;
            top: -5px;
            right: -5px;
            font-size: 0.7rem;
            border: 1px solid rgba(255, 255, 255, 0.18);
        }
        
        .server-status {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            display: inline-block;
            margin-right: 8px;
            border: 2px solid rgba(255,255,255,0.8);
        }
        
        .online { background-color: var(--success); border-color: rgba(21, 128, 61, 0.24); }
        .offline { background-color: var(--danger); border-color: rgba(220, 38, 38, 0.24); }
        .warning { background-color: var(--warning); border-color: rgba(217, 119, 6, 0.24); }
        
        /* Logs */
        .log-entry {
            font-family: 'JetBrains Mono', 'Courier New', monospace;
            font-size: 0.85rem;
            padding: 8px 12px;
            border-left: 4px solid transparent;
            margin-bottom: 4px;
            border-radius: 0.25rem;
            background: var(--surface-2);
        }
        
        .log-error { border-left-color: var(--danger); background: var(--log-error-bg); color: var(--log-error-fg); }
        .log-warning { border-left-color: var(--warning); background: var(--log-warning-bg); color: var(--log-warning-fg); }
        .log-info { border-left-color: var(--info); background: var(--log-info-bg); color: var(--log-info-fg); }
        
        .service-badge {
            font-size: 0.75rem;
            padding: 4px 10px;
            font-weight: 600;
            letter-spacing: 0.025em;
        }

        .badge {
            border-radius: 999px;
            padding: 0.35em 0.6em;
            font-weight: 600;
        }

        /* Modal Modernization */
        .modal-content {
            border: 1px solid var(--border);
            border-radius: 1.2rem;
            background: var(--surface);
            color: var(--text-main);
            backdrop-filter: blur(20px);
        }
        
        .modal-header {
            border-bottom: 1px solid var(--border);
            padding: 1.5rem;
        }
        
        .modal-footer {
            border-top: 1px solid var(--border);
            padding: 1.5rem;
        }

        /* Form Controls */
        .form-control, .form-select {
            border-radius: 0.9rem;
            border-color: var(--border);
            padding: 0.625rem 0.875rem;
            background-color: var(--surface);
            color: var(--text-main);
            transition: border-color 0.2s, background-color 0.2s;
        }

        .form-control:focus, .form-select:focus {
            border-color: var(--primary);
            outline: var(--focus-outline);
            outline-offset: 2px;
        }

        .form-label {
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--text-muted);
            letter-spacing: 0.03em;
        }

        /* Tables */
        .table {
            --bs-table-bg: transparent;
            --bs-table-striped-bg: rgba(15, 118, 110, 0.04);
            --bs-table-hover-bg: rgba(15, 118, 110, 0.07);
            color: var(--text-main);
            border-collapse: separate;
            border-spacing: 0 0.55rem;
            margin-bottom: 0;
        }

        .table thead th {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--text-muted);
            border-bottom: none;
            padding-top: 0.9rem;
            padding-bottom: 0.9rem;
            padding-left: 0.9rem;
            padding-right: 0.9rem;
        }

        .table tbody td {
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
            background: color-mix(in srgb, var(--surface-2) 78%, transparent);
            vertical-align: middle;
            padding-top: 0.8rem;
            padding-bottom: 0.8rem;
            padding-left: 0.9rem;
            padding-right: 0.9rem;
        }

        .table tbody td:first-child {
            border-left: 1px solid var(--border);
            border-top-left-radius: 1rem;
            border-bottom-left-radius: 1rem;
        }

        .table tbody td:last-child {
            border-right: 1px solid var(--border);
            border-top-right-radius: 1rem;
            border-bottom-right-radius: 1rem;
        }

        .table tbody tr:last-child td {
            border-bottom-width: 1px;
        }

        .table-empty-state-cell {
            padding: 0 !important;
            background: transparent !important;
        }

        .table-empty-state {
            display: grid;
            gap: 0.4rem;
            place-items: center;
            text-align: center;
            padding: 1.4rem 1rem;
            border: 1px dashed var(--border-strong);
            border-radius: 1rem;
            background: linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 76%, transparent), transparent);
        }

        .table-empty-state.compact {
            padding: 1rem 0.85rem;
        }

        .table-empty-state-icon {
            width: 2.65rem;
            height: 2.65rem;
            display: grid;
            place-items: center;
            border: 1px solid var(--border);
            border-radius: 0.95rem;
            color: var(--primary);
            background: var(--surface);
        }

        .table-empty-state-title {
            font-weight: 700;
            letter-spacing: -0.03em;
        }

        .table-empty-state-copy {
            color: var(--text-muted);
            font-size: 0.84rem;
            max-width: 32rem;
        }

        .table-card-compact tbody td > :last-child,
        .table-card-compact tbody td code,
        .table-card-compact tbody td small,
        .table-card-compact tbody td span,
        .table-card-compact tbody td a {
            overflow-wrap: anywhere;
        }

        .table-empty-state-actions {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.55rem;
            flex-wrap: wrap;
            margin-top: 0.35rem;
        }

        .table-tools {
            display: flex;
            align-items: center;
            gap: 0.7rem;
            flex-wrap: wrap;
            min-width: 0;
        }

        .table-tools.compact {
            gap: 0.55rem;
        }

        .table-tools-search {
            width: min(100%, 26rem);
        }

        .table-tools-search.table-tools-search-sm {
            width: min(100%, 18rem);
        }

        .table-tools-search .input-group-text {
            border-radius: 999px 0 0 999px;
            border-color: var(--border);
            background: color-mix(in srgb, var(--surface-2) 72%, transparent);
            color: var(--text-muted);
        }

        .table-tools-search .form-control {
            min-width: 0;
        }

        .filter-chip-group {
            display: flex;
            gap: 0.45rem;
            flex-wrap: wrap;
            align-items: center;
        }

        .filter-chip-group .btn {
            padding: 0.42rem 0.78rem;
            font-size: 0.76rem;
            letter-spacing: 0.04em;
            text-transform: uppercase;
        }

        .filter-chip-group .btn.active {
            background: rgba(15, 118, 110, 0.12);
            border-color: rgba(15, 118, 110, 0.35);
            color: var(--text-main);
        }

        .runtime-console {
            display: grid;
            gap: 0.9rem;
        }

        .runtime-console-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 0.9rem;
        }

        .runtime-console-status-block {
            min-width: 0;
        }

        .runtime-console-kicker,
        .runtime-console-label,
        .runtime-console-panel-label {
            font-size: 0.68rem;
            text-transform: uppercase;
            letter-spacing: 0.14em;
            color: var(--text-muted);
        }

        .runtime-console-headline {
            font-size: 1.05rem;
            font-weight: 700;
            letter-spacing: -0.04em;
            line-height: 1.15;
        }

        .runtime-console-meta,
        .runtime-console-timestamp {
            color: var(--text-muted);
            font-size: 0.84rem;
            line-height: 1.45;
        }

        .runtime-console-status-pill {
            display: grid;
            gap: 0.35rem;
            padding: 0.8rem 0.9rem;
            border: 1px solid var(--border);
            border-radius: 1rem;
            background: color-mix(in srgb, var(--surface-2) 70%, transparent);
            min-width: 11rem;
        }

        .runtime-state-badge {
            justify-self: start;
        }

        .runtime-console-summary {
            padding: 0.8rem 0.95rem;
            border: 1px solid var(--border);
            border-radius: 1rem;
            background: color-mix(in srgb, var(--surface-2) 68%, transparent);
        }

        .runtime-console-grid {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
            gap: 0.85rem;
        }

        .runtime-console-panel {
            border: 1px solid var(--border);
            border-radius: 1rem;
            background: color-mix(in srgb, var(--surface-2) 66%, transparent);
            padding: 0.95rem;
            min-width: 0;
        }

        .runtime-console-panel-log {
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent), var(--console-bg);
            border-color: var(--console-border);
        }

        .runtime-console-panel-log .runtime-console-panel-label {
            color: rgba(244, 237, 226, 0.7);
        }

        .runtime-check-list {
            list-style: none;
            margin: 0;
            padding: 0;
            display: grid;
            gap: 0.65rem;
        }

        .runtime-check-item {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 0.8rem;
            padding: 0.78rem 0.85rem;
            border: 1px solid var(--border);
            border-radius: 0.95rem;
            background: var(--surface);
        }

        .runtime-check-copy {
            display: flex;
            gap: 0.7rem;
            min-width: 0;
            flex: 1 1 auto;
        }

        .runtime-check-icon {
            font-size: 1rem;
            margin-top: 0.15rem;
            flex-shrink: 0;
        }

        .runtime-check-item.is-passed .runtime-check-icon {
            color: var(--success);
        }

        .runtime-check-item.is-failed .runtime-check-icon {
            color: var(--danger);
        }

        .runtime-check-text {
            min-width: 0;
        }

        .runtime-check-title {
            font-weight: 700;
            letter-spacing: -0.02em;
            line-height: 1.2;
        }

        .runtime-check-details {
            margin-top: 0.18rem;
            color: var(--text-muted);
            font-size: 0.82rem;
            line-height: 1.4;
        }

        .runtime-check-badge {
            flex-shrink: 0;
            font-size: 0.72rem;
            letter-spacing: 0.06em;
        }

        .runtime-log-output {
            min-height: 18rem;
            background: transparent;
            border-color: transparent;
            color: var(--console-fg);
            font-family: 'JetBrains Mono', 'Courier New', monospace;
            font-size: 0.83rem;
            line-height: 1.55;
            padding: 0;
            resize: vertical;
        }

        .runtime-log-output:focus {
            outline: none;
            border-color: transparent;
            box-shadow: none;
        }

        /* Section-specific table density polish */
        #monitoring-section .table thead th,
        #security-section .table thead th,
        #webhooks-section .table thead th {
            font-size: 0.72rem;
            letter-spacing: 0.09em;
            padding-top: 0.75rem;
            padding-bottom: 0.75rem;
        }

        #monitoring-section .table tbody td,
        #security-section .table tbody td,
        #webhooks-section .table tbody td {
            font-size: 0.92rem;
            padding-top: 0.65rem;
            padding-bottom: 0.65rem;
        }

        #monitoring-section .table tbody .badge,
        #security-section .table tbody .badge,
        #webhooks-section .table tbody .badge {
            font-size: 0.72rem;
            font-weight: 600;
        }

        #monitoring-section .table tbody td.text-center,
        #security-section .table tbody td.text-center,
        #webhooks-section .table tbody td.text-center {
            color: var(--text-muted);
            font-size: 0.88rem;
            padding-top: 1rem;
            padding-bottom: 1rem;
        }

        #security-scans-table-wrap .table thead th {
            position: sticky;
            top: 0;
            z-index: 3;
            background: var(--surface-2);
        }

        #security-scans-table-wrap {
            --security-scan-sticky-offset: 2.25rem;
        }

        .security-protection-panel .card-header {
            align-items: flex-start;
        }

        .security-protection-card {
            height: 100%;
            background: var(--surface-2);
            border: 1px solid var(--border);
            border-radius: 0.9rem;
            padding: 1rem;
        }

        .display-4,
        .stat-card h2,
        .stat-card h3 {
            font-weight: 700;
            letter-spacing: -0.06em;
        }

        .stat-card h6,
        .card.bg-primary .card-title,
        .card.bg-success .card-title,
        .card.bg-info .card-title,
        .card.bg-warning .card-title,
        .card.bg-dark .card-title {
            font-size: 0.76rem;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            opacity: 0.9;
        }

        .card.bg-primary .card-text,
        .card.bg-success .card-text,
        .card.bg-info .card-text,
        .card.bg-warning .card-text,
        .card.bg-dark .card-text {
            opacity: 0.82;
        }

        #dashboard-section .card,
        #monitoring-section .card,
        #servers-section .card,
        #projects-section .card,
        #services-section .card,
        #settings-section .card,
        #security-section .card,
        #webhooks-section .card,
        #account-section .card,
        #users-section .card,
        #backups-section .card {
            background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
        }

        .list-group-item,
        .dropdown-menu {
            background: var(--surface);
            color: var(--text-main);
            border-color: var(--border);
        }

        .dropdown-item {
            color: var(--text-main);
            border-radius: 0.7rem;
        }

        .dropdown-item:hover,
        .dropdown-item:focus {
            background: rgba(15, 118, 110, 0.08);
            color: var(--text-main);
        }

        .form-text {
            color: var(--text-muted);
        }

        .alert {
            border-radius: 1rem;
            border-width: 1px;
        }

        .onboarding-banner,
        .section-kickoff {
            border: 1px solid var(--border);
            background: linear-gradient(135deg, color-mix(in srgb, var(--surface-2) 88%, transparent), var(--surface));
        }

        .section-kickoff {
            display: flex;
            gap: 1rem;
            align-items: flex-start;
            border-radius: 1.2rem;
            padding: 1rem 1.1rem;
        }

        .section-kickoff-illustration {
            width: 3rem;
            height: 3rem;
            border: 1px solid var(--border);
            border-radius: 1rem;
            display: grid;
            place-items: center;
            flex-shrink: 0;
            color: var(--primary);
            background: color-mix(in srgb, var(--surface-2) 72%, transparent);
        }

        .section-kickoff-eyebrow {
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.14em;
            color: var(--text-muted);
            margin-bottom: 0.2rem;
        }

        .progress {
            background: var(--surface-3);
            border-radius: 999px;
        }

        .progress-bar {
            border-radius: 999px;
        }

        .chart-annotation {
            color: var(--text-muted);
            font-size: 0.88rem;
            line-height: 1.45;
        }

        .metric-callouts {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 0.75rem;
        }

        .metric-callout-card {
            border: 1px solid var(--border);
            border-radius: 1rem;
            background: color-mix(in srgb, var(--surface-2) 74%, transparent);
            padding: 0.85rem 0.95rem;
            display: grid;
            gap: 0.25rem;
        }

        .metric-callout-label {
            font-size: 0.72rem;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--text-muted);
        }

        .metric-callout-card strong {
            font-size: 1rem;
            letter-spacing: -0.04em;
        }

        .metric-callout-note {
            color: var(--text-muted);
            font-size: 0.82rem;
        }

        .security-protection-card .badge {
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.04em;
        }

        .security-protection-guidance {
            margin: 0;
            padding-left: 1.1rem;
            color: var(--text-muted);
            font-size: 0.88rem;
        }

        .security-protection-guidance li + li {
            margin-top: 0.35rem;
        }

        .edge-protection-runtime-card {
            border: 1px solid var(--border);
            border-radius: 0.9rem;
            background: var(--surface-2);
            padding: 1rem;
        }

        .edge-protection-runtime-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 0.75rem;
            margin-top: 0.9rem;
        }

        .edge-protection-runtime-metric {
            border: 1px solid var(--border);
            border-radius: 0.75rem;
            background: var(--surface);
            padding: 0.85rem;
        }

        .edge-protection-runtime-metric .label {
            display: block;
            font-size: 0.76rem;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: var(--text-muted);
            margin-bottom: 0.35rem;
        }

        .edge-protection-runtime-metric .value {
            font-size: 0.95rem;
            font-weight: 650;
        }

        .edge-protection-ip-list {
            max-height: 180px;
            overflow: auto;
            border: 1px solid var(--border);
            border-radius: 0.75rem;
            background: var(--surface);
            padding: 0.65rem 0.8rem;
            font-family: 'JetBrains Mono', 'Courier New', monospace;
            font-size: 0.82rem;
            white-space: pre-wrap;
        }

        .edge-protection-empty-note {
            color: var(--text-muted);
            font-size: 0.9rem;
            padding: 0.2rem 0;
        }

        /* Headings */
        h1, h2, h3, h4, h5 {
            letter-spacing: -0.02em;
            font-family: 'Space Grotesk', sans-serif;
        }

        h1 {
            font-weight: 750;
        }

        .mobile-topbar {
            position: sticky;
            top: 0;
            z-index: 1070;
            margin: -0.25rem 0 1rem;
            padding-top: max(env(safe-area-inset-top), 0px);
        }

        .mobile-topbar-bar,
        .mobile-topbar-strip {
            border: 1px solid var(--border);
            background: var(--surface);
            backdrop-filter: blur(18px);
        }

        .mobile-topbar-bar {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            justify-content: space-between;
            border-radius: 1.2rem;
            padding: 0.8rem 0.9rem;
        }

        .mobile-topbar-strip {
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-radius: 1rem;
            margin-top: 0.55rem;
            padding: 0.8rem 0.95rem;
        }

        .mobile-brand-block {
            min-width: 0;
            flex: 1 1 auto;
        }

        .mobile-brand-eyebrow,
        .mobile-context-label,
        .mobile-section-eyebrow {
            font-size: 0.68rem;
            text-transform: uppercase;
            letter-spacing: 0.14em;
            color: var(--text-muted);
        }

        .mobile-current-section {
            font-size: 1.05rem;
            font-weight: 700;
            letter-spacing: -0.05em;
            line-height: 1.1;
        }

        .mobile-topbar-actions {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            flex-shrink: 0;
        }

        .mobile-menu-btn {
            width: 2.6rem;
            height: 2.6rem;
            padding: 0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .mobile-section-nav {
            display: flex;
            gap: 0.55rem;
            overflow-x: auto;
            padding: 0.7rem 0.1rem 0.1rem;
            scrollbar-width: none;
        }

        .mobile-section-nav::-webkit-scrollbar {
            display: none;
        }

        .mobile-section-nav .nav-link {
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            white-space: nowrap;
            border: 1px solid var(--border);
            border-radius: 999px;
            background: var(--surface);
            color: var(--text-muted);
            padding: 0.68rem 0.9rem;
            font-size: 0.84rem;
            font-weight: 600;
        }

        .mobile-section-nav .nav-link.active {
            background: rgba(15, 118, 110, 0.12);
            border-color: rgba(15, 118, 110, 0.28);
            color: var(--text-main);
        }

        .mobile-nav-backdrop {
            position: fixed;
            inset: 0;
            background: rgba(13, 17, 16, 0.38);
            backdrop-filter: blur(4px);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.2s ease;
            z-index: 1060;
        }

        /* Responsive sidebar */
        @media (max-width: 991.98px) {
            body.mobile-nav-open {
                overflow: hidden;
            }

            .mobile-nav-backdrop {
                display: block;
            }

            .mobile-topbar {
                display: block;
            }

            body.mobile-nav-open .mobile-nav-backdrop {
                opacity: 1;
                pointer-events: auto;
            }

            .sidebar {
                position: fixed;
                inset: 0 auto 0 0;
                width: min(86vw, 320px);
                height: 100vh;
                border-right: 1px solid rgba(255, 252, 247, 0.1);
                border-bottom: none;
                transform: translateX(-100%);
                transition: transform 0.22s ease;
                overflow-y: auto;
                padding-top: calc(max(env(safe-area-inset-top), 0px) + 1rem) !important;
                z-index: 1080;
            }

            body.mobile-nav-open .sidebar {
                transform: translateX(0);
            }

            .sidebar .nav {
                flex-direction: column;
                flex-wrap: nowrap;
            }

            .sidebar .nav-link {
                margin: 0.18rem 0;
                transform: none !important;
            }

            .main-content {
                margin-left: 0;
                padding: 0.8rem 0.8rem 1.6rem;
            }

            .main-content::before {
                inset: 0 0 auto 0;
            }

            [id$="-section"] > .d-flex.justify-content-between.align-items-center.mb-4 {
                flex-wrap: wrap;
                gap: 0.8rem;
                align-items: flex-start !important;
                margin-bottom: 0.9rem !important;
            }

            [id$="-section"] > .d-flex.justify-content-between.align-items-center.mb-4 h2,
            [id$="-section"] > h2 {
                font-size: 1.35rem;
                line-height: 1.05;
            }

            h3 {
                font-size: 1.15rem;
            }

            .card {
                margin-bottom: 1rem;
                border-radius: 1.1rem;
            }

            .card-header {
                padding: 0.95rem 1rem;
            }

            .card-body,
            .modal-header,
            .modal-footer {
                padding: 1rem;
            }

            .btn {
                padding: 0.58rem 0.92rem;
            }

            .stat-card .card-body {
                padding: 1rem;
            }

            .stat-card h2,
            .display-4 {
                font-size: 1.95rem;
            }

            .table {
                border-spacing: 0 0.38rem;
                font-size: 0.9rem;
            }

            .table thead th {
                font-size: 0.68rem;
                letter-spacing: 0.11em;
                padding: 0.45rem 0.65rem 0.55rem;
            }

            .table tbody td {
                padding: 0.7rem 0.65rem;
                font-size: 0.88rem;
            }

            .form-label {
                font-size: 0.75rem;
            }

            .form-control,
            .form-select {
                padding: 0.7rem 0.85rem;
                font-size: 0.95rem;
            }

            .table-tools,
            .table-tools-search,
            .table-tools-search.table-tools-search-sm {
                width: 100%;
            }

            .runtime-console-header,
            .runtime-console-grid {
                grid-template-columns: 1fr;
                display: grid;
            }

            .runtime-console-status-pill {
                min-width: 0;
            }

            .row.mb-4 {
                margin-bottom: 1rem !important;
            }
        }

        @media (max-width: 767.98px) {
            .metric-callouts {
                grid-template-columns: 1fr;
            }

            .section-kickoff {
                padding: 0.9rem 1rem;
            }
        }

        @media (max-width: 575.98px) {
            .filter-chip-group {
                flex-wrap: nowrap;
                overflow-x: auto;
                padding-bottom: 0.15rem;
                scrollbar-width: none;
            }

            .filter-chip-group::-webkit-scrollbar {
                display: none;
            }

            .table-responsive {
                overflow: visible;
            }

            .table thead {
                display: none;
            }

            .table,
            .table tbody,
            .table tr,
            .table td {
                display: block;
                width: 100%;
            }

            .table {
                border-spacing: 0;
            }

            .table tbody tr {
                margin-bottom: 0.7rem;
            }

            .table tbody td {
                border: 0;
                border-left: 1px solid var(--border);
                border-right: 1px solid var(--border);
                border-radius: 0;
                padding: 0.62rem 0.85rem;
                display: flex;
                justify-content: space-between;
                gap: 1rem;
                text-align: right;
            }

            .table tbody td:first-child {
                border-top: 1px solid var(--border);
                border-top-left-radius: 1rem;
                border-top-right-radius: 1rem;
                border-bottom-left-radius: 0;
            }

            .table tbody td:last-child {
                border-bottom: 1px solid var(--border);
                border-bottom-left-radius: 1rem;
                border-bottom-right-radius: 1rem;
                border-top-right-radius: 0;
            }

            .table tbody td::before {
                content: attr(data-label);
                color: var(--text-muted);
                font-size: 0.72rem;
                letter-spacing: 0.11em;
                text-transform: uppercase;
                text-align: left;
                flex: 0 0 42%;
            }

            .table tbody td[data-label="Actions"] {
                justify-content: flex-end;
                flex-wrap: wrap;
            }

            .table tbody td[data-label="Actions"]::before {
                margin-right: auto;
            }

            .table tbody td.table-empty-state-cell,
            .table tbody td[colspan] {
                display: block;
                text-align: center;
            }

            .table tbody td.table-empty-state-cell::before,
            .table tbody td[colspan]::before {
                display: none;
                content: none;
            }

            .table-empty-state {
                padding: 1rem 0.9rem;
            }

            .table-card-compact tbody tr {
                margin-bottom: 0.55rem;
            }

            .table-card-compact tbody td {
                padding: 0.5rem 0.72rem;
                gap: 0.7rem;
                font-size: 0.82rem;
                align-items: flex-start;
            }

            .table-card-compact tbody td::before {
                flex: 0 0 34%;
                font-size: 0.66rem;
                letter-spacing: 0.13em;
                line-height: 1.3;
            }

            .table-card-compact tbody td[data-label="Actions"] {
                padding-top: 0.6rem;
            }

            .table-card-monitoring tbody td[data-label="Image"],
            .table-card-monitoring tbody td[data-label="Net I/O"],
            .table-card-monitoring tbody td[data-label="Block I/O"],
            .table-card-security tbody td[data-label="Scanner"] {
                display: grid;
                grid-template-columns: minmax(4.25rem, 34%) minmax(0, 1fr);
                justify-content: initial;
                text-align: left;
            }

            .table-card-monitoring tbody td[data-label="Image"]::before,
            .table-card-monitoring tbody td[data-label="Net I/O"]::before,
            .table-card-monitoring tbody td[data-label="Block I/O"]::before,
            .table-card-security tbody td[data-label="Scanner"]::before {
                margin-right: 0.6rem;
            }

            .table-card-monitoring tbody td[data-label="State"] .badge,
            .table-card-security tbody td[data-label="Status"] .badge {
                margin-left: auto;
            }

            .table-card-security tbody td[data-label="Actions"],
            .table-card-monitoring tbody td[data-label="Actions"] {
                gap: 0.45rem;
            }

            #monitoring-section .card-header,
            #security-section .card-header {
                padding: 0.85rem 0.9rem;
            }

            #monitoring-section .card-body,
            #security-section .card-body {
                padding: 0.9rem;
            }

            .runtime-console-panel,
            .runtime-console-summary,
            .runtime-console-status-pill {
                padding: 0.85rem;
            }
        }

        /* Charts */
        #metricsChart,
        #monitoringHistoryChart,
        #monitoringLoadChart,
        #securityScoreChart {
            border: 1px solid var(--border);
            border-radius: 1rem;
            background:
                linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 78%, transparent), transparent 65%),
                var(--surface);
        }

        .chart-wrapper {
            position: relative;
            width: 100%;
            height: 320px;
        }

        .chart-wrapper-dashboard {
            height: 260px;
        }

        .chart-wrapper-sm {
            height: 300px;
        }

        .chart-wrapper canvas {
            width: 100% !important;
            height: 100% !important;
        }