        /* Factory Health Scorecard */
        .health-scorecard {
            grid-column: span 6;
            height: 450px;
            display: flex;
            flex-direction: column;
        }

        .scorecard-content {
            display: flex;
            flex-direction: column;
            gap: 20px;
            flex: 1;
        }

        .oee-gauge-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            padding: 20px;
            background: rgba(0, 255, 255, 0.05);
            border-radius: 8px;
        }

        .oee-gauge {
            position: relative;
            width: 180px;
            height: 180px;
        }

        .oee-gauge svg {
            transform: rotate(-90deg);
        }

        .oee-gauge-bg {
            fill: none;
            stroke: rgba(0, 255, 255, 0.1);
            stroke-width: 12;
        }

        .oee-gauge-fill {
            fill: none;
            stroke: var(--accent-green);
            stroke-width: 12;
            stroke-linecap: round;
            transition: stroke-dashoffset 1s ease-out, stroke 0.3s ease;
        }

        .oee-gauge-text {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
        }

        .oee-value {
            font-family: 'Orbitron', sans-serif;
            font-size: 2.5rem;
            font-weight: 900;
            color: var(--accent-green);
        }

        .oee-label {
            font-family: 'Share Tech Mono', monospace;
            font-size: 0.8rem;
            color: var(--text-dim);
            text-transform: uppercase;
        }

        .health-status {
            display: flex;
            gap: 15px;
            justify-content: center;
            margin-top: 10px;
        }

        .status-indicator {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.85rem;
            font-family: 'Rajdhani', sans-serif;
        }

        .status-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
        }

        .status-dot.green {
            background: var(--accent-green);
            box-shadow: 0 0 10px var(--accent-green);
        }

        .status-dot.yellow {
            background: var(--accent-amber);
            box-shadow: 0 0 10px var(--accent-amber);
        }

        .status-dot.red {
            background: var(--accent-red);
            box-shadow: 0 0 10px var(--accent-red);
        }

        #active-alerts-list {
            flex: 1;
            overflow-y: auto;
            max-height: 180px;
        }

        .alert-item {
            background: rgba(255, 51, 102, 0.1);
            border-left: 4px solid var(--accent-red);
            padding: 12px;
            margin-bottom: 10px;
            border-radius: 4px;
            font-size: 0.85rem;
            animation: alertBlink 1s ease-in-out 3;
        }

        @keyframes alertBlink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.7; }
        }

        .alert-item.warning {
            background: rgba(255, 191, 0, 0.1);
            border-left-color: var(--accent-amber);
        }

        .alert-item.info {
            background: rgba(0, 255, 255, 0.1);
            border-left-color: var(--accent-cyan);
        }

        .alert-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 6px;
        }

        .alert-severity {
            font-family: 'Orbitron', sans-serif;
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .alert-time {
            font-family: 'Share Tech Mono', monospace;
            font-size: 0.65rem;
            color: var(--text-dim);
        }

        .alert-message {
            font-size: 0.85rem;
            color: var(--text-primary);
            line-height: 1.4;
        }
