        * { margin: 0; padding: 0; box-sizing: border-box; }
        
        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            background: linear-gradient(135deg, #0a0f1a 0%, #0c1220 50%, #0a0e18 100%);
            color: #eef2ff;
            min-height: 100vh;
        }
        
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 20% 50%, rgba(45, 85, 255, 0.08) 0%, transparent 50%),
                        radial-gradient(circle at 80% 80%, rgba(0, 255, 200, 0.05) 0%, transparent 50%);
            pointer-events: none;
            z-index: 0;
        }
        
        .container { max-width: 1600px; margin: 0 auto; padding: 20px; position: relative; z-index: 1; }
        
        .header {
            background: rgba(15, 23, 42, 0.6);
            backdrop-filter: blur(20px);
            border-radius: 28px;
            padding: 20px 28px;
            margin-bottom: 28px;
            border: 1px solid rgba(72, 187, 120, 0.2);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .header-clock {
            text-align: right;
        }
        .header-clock .clock-time {
            font-size: 26px;
            font-weight: 700;
            color: #7ddc65;
            letter-spacing: 1px;
        }
        .header-clock .clock-date {
            font-size: 13px;
            color: #aaa;
            margin-top: 2px;
        }
        
        .header h1 {
            font-size: 28px;
            font-weight: 700;
            background: linear-gradient(135deg, #ffffff 0%, #7ddc65 100%);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            letter-spacing: -0.5px;
        }
        
        .tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 28px;
            background: rgba(10, 15, 26, 0.5);
            backdrop-filter: blur(10px);
            border-radius: 60px;
            padding: 6px;
            border: 1px solid rgba(51, 65, 85, 0.5);
        }
        
        .tab-btn {
            padding: 12px 24px;
            border: none;
            background: transparent;
            color: #94a3b8;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            border-radius: 40px;
            transition: all 0.3s ease;
            font-family: 'Inter', sans-serif;
        }
        
        .tab-btn i { margin-right: 8px; }
        
        .tab-btn.active {
            background: linear-gradient(135deg, #7ddc65 0%, #5fa84a 100%);
            color: #0a0f1a;
            box-shadow: 0 4px 12px rgba(125, 220, 101, 0.3);
        }
        
        .page { display: none; animation: fadeIn 0.4s ease; }
        .page.active { display: block; }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            margin-bottom: 20px;
        }
        
        .grid-2cols {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 20px;
        }
        
        .grid-3cols {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
        }
        
        .card {
            background: rgba(15, 23, 42, 0.5);
            backdrop-filter: blur(10px);
            border-radius: 24px;
            padding: 20px;
            border: 1px solid rgba(51, 65, 85, 0.4);
            transition: transform 0.2s ease, border-color 0.2s ease;
        }
        
        .card:hover {
            border-color: rgba(125, 220, 101, 0.3);
            transform: translateY(-2px);
        }
        
        .card-title {
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 600;
            color: #7ddc65;
            margin-bottom: 12px;
        }
        
        .card-title i { margin-right: 6px; }
        
        .card-value {
            font-size: 32px;
            font-weight: 700;
            color: #ffffff;
            line-height: 1.2;
        }
        
        .card-value.small { font-size: 20px; }
        .card-value.medium { font-size: 24px; }
        .card-value.mono { font-family: monospace; font-size: 18px; }
        
        .card-unit {
            font-size: 14px;
            color: #64748b;
            margin-left: 4px;
            font-weight: 400;
        }
        
        .card-sub {
            font-size: 12px;
            color: #64748b;
            margin-top: 8px;
        }
        
        .badge {
            display: inline-flex;
            align-items: center;
            padding: 4px 12px;
            border-radius: 40px;
            font-size: 12px;
            font-weight: 600;
        }
        
        .badge-success { background: rgba(34, 197, 94, 0.2); color: #4ade80; border: 1px solid rgba(74, 222, 128, 0.3); }
        .badge-warning { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.3); }
        .badge-danger { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(248, 113, 113, 0.3); }
        .badge-info { background: rgba(59, 130, 246, 0.2); color: #60a5fa; border: 1px solid rgba(96, 165, 250, 0.3); }
        
        select, input {
            width: 100%;
            padding: 12px 16px;
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(51, 65, 85, 0.6);
            border-radius: 16px;
            color: #ffffff;
            font-size: 14px;
            transition: all 0.2s ease;
        }
        
        input:focus, select:focus {
            outline: none;
            border-color: #7ddc65;
            box-shadow: 0 0 0 3px rgba(125, 220, 101, 0.2);
        }
        
        button {
            background: linear-gradient(135deg, #7ddc65 0%, #5fa84a 100%);
            border: none;
            padding: 12px 24px;
            border-radius: 40px;
            color: #0a0f1a;
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        button:hover {
            transform: scale(1.02);
            box-shadow: 0 4px 12px rgba(125, 220, 101, 0.4);
        }
        
        button.secondary {
            background: rgba(51, 65, 85, 0.6);
            color: #ffffff;
        }
        
        .form-row { margin-bottom: 16px; }
        .form-row label { display: block; font-size: 12px; color: #94a3b8; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
        
        .log-panel {
            background: rgba(0, 0, 0, 0.4);
            border-radius: 20px;
            padding: 16px;
            font-family: 'Monaco', 'Menlo', monospace;
            font-size: 12px;
            max-height: 400px;
            overflow-y: auto;
        }
        
        .log-panel pre {
            background: transparent;
            color: #7ddc65;
            margin: 0;
            white-space: pre-wrap;
            font-family: inherit;
        }
        
        .diagnostics-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            margin-top: 12px;
        }
        
        .diag-item {
            background: rgba(0, 0, 0, 0.2);
            padding: 12px;
            border-radius: 16px;
        }
        
        .diag-label {
            font-size: 10px;
            color: #64748b;
            text-transform: uppercase;
            margin-bottom: 6px;
        }
        
        .diag-value {
            font-famisplay: none; align-items: center; padding: 8px 16px;
            border-radius: 40px; font-size: 13px; font-weight: 700;
            border: 2px solid #fbbf24; color: #fbbf24;
            background: rgba(251,191,36,0.12); white-space: nowrap; margin-left: 12px;
            animation: overridePulse 1.4s ease-in-out infinite;
        }
        .override-indicator.active { display: flex; }
        .override-indicator i { margin-right: 8px; }
        @keyframes overridePulse {
            0%, 100% { box-shadow: 0 0 6px rgba(251,191,36,0.25); }
            50% { box-shadow: 0 0 18px rgba(251,191,36,0.6); }
        }
        .lang-toggle-btn {
            display: flex; align-items: center; justify-content: center;
            width: 38px; height: 38px; border-radius: 50%; margin-left: 12px;
            border: 2px solid rgba(51,65,85,0.6); background: rgba(10,15,26,0.3);
            color: #94a3b8; font-size: 13px; font-weight: 700; letter-spacing: 0.5px;
            line-height: 1; cursor: pointer; transition: all 0.2s ease;
        }
        .lang-toggle-btn:hover { border-color: #7ddc65; color: #7ddc65; }
        .lang-toggle-btn.lang-active {
            border-color: #7ddc65; color: #7ddc65; box-shadow: 0 0 10px rgba(125,220,101,0.4);
        }
        .evt-table { width:100%; border-collapse:collapse; font-size:12px; }
        .evt-table th { background:rgba(125,220,101,0.12); color:#7ddc65; padding:8px 10px; text-align:left; font-size:11px; text-transform:uppercase; letter-spacing:0.5px; white-space:nowrap; }
        .evt-table td { padding:7px 10px; border-bottom:1px solid rgba(51,65,85,0.3); font-family:monospace; white-space:nowrap; }
        .evt-table tr:last-child td { border-bottom:none; }
        .evt-table tr:hover td { background:rgba(125,220,101,0.05); }
        .sev-info  { color:#60a5fa; }
        .sev-warn  { color:#fbbf24; }
        .sev-alarm { color:#fb923c; }
        .sev-error { color:#f87171; }
        .evt-table-wrap { overflow-x:auto; max-height:420px; overflow-y:auto; border-radius:12px; }
