
        /* Professional Studio Variables */
        :root {
            --bg-dark: #030305; 
            --bg-panel: #0d0d12;
            --bg-module: #15151c;
            --bg-input: #08080b;
            --text-main: #e2e8f0;
            --text-muted: #64748b;
            --accent-audio: #00e5ff; /* Cyan for Audio */
            --accent-audio-dim: rgba(0, 229, 255, 0.2);
            --accent-filter: #ff007f; /* Neon Pink for Filters */
            --accent-env: #b07cff; /* Purple for Envelopes */
            --border-glass: rgba(255, 255, 255, 0.08);
            --danger: #ff3366;
            --active: #10b981;
        }

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

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bg-dark);
            color: var(--text-main);
            height: 100vh;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            background-image: 
                radial-gradient(circle at 10% 20%, rgba(0, 229, 255, 0.03) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(255, 0, 127, 0.03) 0%, transparent 40%);
        }

        /* Navbar */
        .app-navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 2rem;
            background: rgba(3, 3, 5, 0.8);
            border-bottom: 1px solid var(--border-glass);
            backdrop-filter: blur(10px);
            z-index: 100;
        }

        .logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.1rem; letter-spacing: -0.5px; }
        .logo-img { width: 32px; height: 32px; object-fit: contain; border-radius: 6px; }
        
        .back-btn {
            padding: 0.5rem 1rem; font-size: 0.85rem; border-radius: 6px;
            border: 1px solid var(--border-glass); color: var(--text-muted);
            background: rgba(255, 255, 255, 0.02); text-decoration: none; transition: 0.2s;
        }
        .back-btn:hover { color: var(--text-main); background: rgba(255, 255, 255, 0.08); }

        /* DAW Layout */
        .daw-workspace {
            display: flex; flex-direction: column; flex: 1; padding: 1.5rem; gap: 1.5rem; overflow-y: auto;
        }

        /* Top Rack: Scope & Master */
        .rack-top {
            display: grid; grid-template-columns: 1fr 300px; gap: 1.5rem; height: 250px;
        }

        /* Modules */
        .module {
            background: var(--bg-panel); border: 1px solid var(--border-glass);
            border-radius: 12px; padding: 1.2rem; display: flex; flex-direction: column;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 10px 30px rgba(0,0,0,0.5);
        }
        .module-header {
            display: flex; justify-content: space-between; align-items: center;
            margin-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 0.5rem;
        }
        .module-title { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); font-weight: 800; }
        .module-status { width: 8px; height: 8px; border-radius: 50%; background: #333; transition: 0.2s; }
        .module-status.active { background: var(--active); box-shadow: 0 0 10px var(--active); }

        /* Visualizer (Production Grade) */
        .scope-container { flex: 1; background: var(--bg-input); border-radius: 8px; position: relative; overflow: hidden; border: 1px solid #111; box-shadow: inset 0 0 20px rgba(0,0,0,0.8); }
        canvas { width: 100%; height: 100%; display: block; }
        .scope-overlay {
            position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none;
            background: linear-gradient(rgba(0,229,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0,229,255,0.03) 1px, transparent 1px);
            background-size: 20px 20px;
        }
        .scope-labels {
            position: absolute; bottom: 8px; right: 8px; font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; color: var(--accent-audio); opacity: 0.6;
        }

        /* Bottom Rack: Synths & Filters */
        .rack-bottom {
            display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem;
        }

        /* Controls */
        .control-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
        .control-grid.four-col { grid-template-columns: repeat(4, 1fr); gap: 0.5rem;}
        .control-group { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
        .control-label { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; font-weight: 600; letter-spacing: 1px; }
        .control-val { font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; color: var(--text-main); background: var(--bg-input); padding: 2px 8px; border-radius: 4px; border: 1px solid #222; min-width: 50px; text-align: center; }

        /* Professional Knobs */
        .knob {
            width: 50px; height: 50px; border-radius: 50%; cursor: grab; position: relative;
            background: conic-gradient(from 210deg, #1f1f26 0deg, #1f1f26 300deg, #050505 300deg, #050505 360deg);
            border: 2px solid #000; box-shadow: inset 0 2px 4px rgba(255,255,255,0.1), 0 5px 10px rgba(0,0,0,0.5);
            display: flex; justify-content: center; align-items: center;
        }
        .knob:active { cursor: grabbing; }
        .knob-indicator {
            position: absolute; width: 2px; height: 14px; background: var(--accent-audio); border-radius: 1px;
            top: 4px; transform-origin: 50% 21px; transform: rotate(-150deg); pointer-events: none;
            box-shadow: 0 0 5px var(--accent-audio);
        }
        .knob.filter-knob .knob-indicator { background: var(--accent-filter); box-shadow: 0 0 5px var(--accent-filter); }
        .knob.env-knob .knob-indicator { background: var(--accent-env); box-shadow: 0 0 5px var(--accent-env); }

        /* Faders (DJ Style) */
        .fader-container { display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: space-between; }
        .fader-track {
            width: 6px; height: 120px; background: #000; border-radius: 3px; position: relative;
            box-shadow: inset 0 0 5px rgba(0,0,0,1);
        }
        .fader-cap {
            width: 30px; height: 14px; background: #2a2a35; border: 2px solid #444; border-radius: 2px;
            position: absolute; left: -12px; bottom: 0; cursor: grab;
            box-shadow: 0 4px 6px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.2);
            display: flex; justify-content: center; align-items: center;
        }
        .fader-cap::after { content: ''; width: 80%; height: 2px; background: var(--accent-audio); box-shadow: 0 0 4px var(--accent-audio); }
        .fader-cap:active { cursor: grabbing; }

        /* Inputs */
        select, input[type="number"] {
            width: 100%; padding: 0.6rem; background: var(--bg-input); border: 1px solid #333;
            color: var(--text-main); border-radius: 6px; font-family: 'JetBrains Mono', monospace; font-size: 0.8rem;
            outline: none; margin-bottom: 1rem;
        }
        input[type="number"] { text-align: center; font-size: 1rem; color: var(--accent-audio); border-color: var(--accent-audio-dim); }

        /* Transport Buttons */
        .transport { display: flex; flex-direction: column; gap: 0.8rem; width: 100%; height: 100%; justify-content: center;}
        .btn {
            width: 100%; padding: 0.8rem; border-radius: 8px; border: none; font-weight: 800; text-transform: uppercase;
            letter-spacing: 1px; cursor: pointer; transition: 0.2s; color: #fff; font-size: 0.8rem;
        }
        .btn-play { background: transparent; border: 1px solid var(--active); color: var(--active); }
        .btn-play:hover { background: rgba(16, 185, 129, 0.1); box-shadow: 0 0 15px rgba(16, 185, 129, 0.3); }
        
        .btn-export { background: var(--accent-audio); color: #000; box-shadow: 0 0 15px var(--accent-audio-dim); margin-top: auto;}
        .btn-export:hover { transform: translateY(-2px); box-shadow: 0 0 25px rgba(0, 229, 255, 0.4); }

