body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0a0a0a;
    color: #e0e0e0;
    overflow: hidden;
}

#app {
    display: flex;
    height: 100vh;
}

#controls {
    width: 320px;
    background-color: #1a1a1a;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    border-right: 1px solid #333;
}

#controls h1 {
    margin-top: 0;
    font-size: 1.5em;
    color: #00ffcc;
    text-align: center;
}

.control-group {
    margin-bottom: 20px;
}

.control-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9em;
    color: #aaa;
}

.control-group input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 5px;
    background: #333;
    outline: none;
}

.control-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: #00ffcc;
    cursor: pointer;
}

.control-group button {
    background-color: #2a2a2a;
    color: #e0e0e0;
    border: 1px solid #444;
    padding: 10px 15px;
    margin-right: 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.2s;
}

.control-group button:hover {
    background-color: #3a3a3a;
}

.info-panel, .thought-stream {
    background-color: #222;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
}

.info-panel h3, .thought-stream h3 {
    margin-top: 0;
    color: #00ffcc;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
}

.info-panel p {
    margin: 8px 0;
    font-size: 0.9em;
}

#thoughtLog {
    max-height: 200px;
    overflow-y: auto;
    font-size: 0.85em;
    color: #ccc;
}

#thoughtLog .thought {
    padding: 4px 0;
    border-bottom: 1px dashed #333;
}

#brainCanvas {
    flex-grow: 1;
    background-color: #000;
    cursor: crosshair;
}
