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

        body {
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
            background: #0f0f0f;
            color: #ffffff;
            min-height: 100vh;
            overflow-x: hidden;
        }

        .container {
            max-width: 1600px;
            margin: 0 auto;
            padding: 40px 20px 80px 20px;
        }

        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 60px;
            padding-bottom: 20px;
            border-bottom: 1px solid #2a2a2a;
        }

        .logo {
            font-size: 24px;
            font-weight: 300;
            letter-spacing: 4px;
            color: #ffffff;
        }

        .subtitle {
            font-size: 12px;
            color: #666;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-top: 5px;
        }

        .live-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #ff0000;
            padding: 4px 12px;
            border-radius: 12px;
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 1px;
            animation: pulse-badge 2s infinite;
        }

        .live-badge.hidden {
            display: none;
        }

        @keyframes pulse-badge {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.7; }
        }

        .live-dot {
            width: 6px;
            height: 6px;
            background: #ffffff;
            border-radius: 50%;
        }

        .main-layout {
            display: grid;
            grid-template-columns: 1fr 500px;
            gap: 60px;
            margin-bottom: 40px;
        }

        .image-workflow {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        .image-container {
            position: relative;
            background: #1a1a1a;
            border-radius: 4px;
            overflow: hidden;
            aspect-ratio: 4/3;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        #video {
            display: none;
        }

        #canvas {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .image-placeholder {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: #666;
            height: 100%;
        }

        .image-placeholder.hidden {
            display: none;
        }

        .placeholder-icon {
            font-size: 48px;
            margin-bottom: 20px;
            opacity: 0.5;
        }

        .image-overlay {
            position: absolute;
            top: 20px;
            left: 20px;
            background: rgba(0, 0, 0, 0.9);
            padding: 8px 16px;
            border-radius: 2px;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: #888;
            border: 1px solid #2a2a2a;
        }

        .fps-counter {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(0, 0, 0, 0.9);
            padding: 8px 16px;
            border-radius: 2px;
            font-size: 11px;
            font-family: 'Courier New', monospace;
            color: #00ff00;
            border: 1px solid #2a2a2a;
        }

        .workflow-controls {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: 12px;
        }

        .workflow-btn {
            background: transparent;
            border: 1px solid #333;
            color: #888;
            padding: 16px 12px;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 1px;
            cursor: pointer;
            transition: all 0.2s ease;
            border-radius: 2px;
            text-align: center;
        }

        .workflow-btn.primary {
            border-color: #ffffff;
            color: #ffffff;
        }

        .workflow-btn.primary:hover {
            background: #ffffff;
            color: #000;
        }

        .workflow-btn.success {
            border-color: #00ff00;
            color: #00ff00;
        }

        .workflow-btn.success:hover {
            background: #00ff00;
            color: #000;
        }

        .workflow-btn.danger {
            border-color: #ff0000;
            color: #ff0000;
        }

        .workflow-btn.danger:hover {
            background: #ff0000;
            color: #000;
        }

        .workflow-btn:hover {
            border-color: #666;
            color: #fff;
        }

        .workflow-btn:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }

        .workflow-btn:disabled:hover {
            background: transparent;
            border-color: #333;
            color: #888;
        }

        .controls-panel {
            background: #141414;
            border-radius: 4px;
            padding: 40px;
            height: fit-content;
        }

        .panel-title {
            font-size: 16px;
            font-weight: 300;
            text-transform: uppercase;
            letter-spacing: 3px;
            margin-bottom: 10px;
            color: #ffffff;
        }

        .panel-subtitle {
            font-size: 11px;
            color: #666;
            margin-bottom: 40px;
            letter-spacing: 1px;
        }

        .filter-section {
            margin-bottom: 40px;
            padding-bottom: 30px;
            border-bottom: 1px solid #2a2a2a;
        }

        .filter-section:last-child {
            border-bottom: none;
            margin-bottom: 0;
        }

        .section-title {
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: #ffffff;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            padding: 12px;
            border: 1px solid transparent;
            border-radius: 2px;
            transition: all 0.2s;
        }

        .section-title:hover {
            background: #1a1a1a;
            border-color: #333;
        }

        .section-title.active {
            background: #ffffff;
            color: #000;
        }

        .section-title::before {
            content: '';
            width: 3px;
            height: 16px;
            background: currentColor;
        }

        .section-description {
            font-size: 10px;
            color: #666;
            margin-bottom: 20px;
            line-height: 1.6;
        }

        .style-controls {
            display: none;
            margin-top: 20px;
            padding: 20px;
            background: #0f0f0f;
            border-radius: 2px;
        }

        .style-controls.active {
            display: block;
        }

        .parameter-control {
            margin-bottom: 24px;
        }

        .parameter-label {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: #666;
            margin-bottom: 8px;
            display: flex;
            justify-content: space-between;
        }

        .parameter-value {
            color: #fff;
            font-family: 'Courier New', monospace;
        }

        .slider-container {
            position: relative;
            height: 2px;
            background: #2a2a2a;
            border-radius: 1px;
        }

        .slider {
            -webkit-appearance: none;
            width: 100%;
            height: 2px;
            background: transparent;
            outline: none;
            position: absolute;
            top: 0;
            left: 0;
        }

        .slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 12px;
            height: 12px;
            background: #ffffff;
            border-radius: 50%;
            cursor: pointer;
            border: 2px solid #000;
        }

        .processing-info {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            height: 60px;
            background: #0a0a0a;
            border-top: 1px solid #2a2a2a;
            display: flex;
            align-items: center;
            padding: 0 20px;
            gap: 30px;
            font-family: 'Courier New', monospace;
            font-size: 11px;
            color: #00ff00;
            z-index: 1000;
        }

        .processing-label {
            color: #666;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .processing-data {
            display: flex;
            gap: 20px;
            flex: 1;
            overflow: hidden;
        }

        .data-item {
            display: flex;
            gap: 8px;
            align-items: center;
        }

        .data-value {
            color: #00ff00;
            font-weight: bold;
        }

        .data-stream {
            flex: 1;
            overflow: hidden;
            white-space: nowrap;
            color: #00ff00;
            opacity: 0.5;
            font-size: 10px;
        }

        .geometric-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -1;
            opacity: 0.03;
            background-image: 
                linear-gradient(45deg, #333 25%, transparent 25%), 
                linear-gradient(-45deg, #333 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #333 75%), 
                linear-gradient(-45deg, transparent 75%, #333 75%);
            background-size: 40px 40px;
            background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
        }

        @media (max-width: 1200px) {
            .main-layout {
                grid-template-columns: 1fr;
                gap: 30px;
            }
            
            .controls-panel {
                padding: 30px;
            }
        }

