
* { margin:0; padding:0; box-sizing:border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0f0f1a;
    color: #e0e0e0;
    height: 100vh;
    overflow: hidden;
}
#app {
    display: flex;
    height: 100vh;
}
#sidebar {
    width: 240px;
    min-width: 240px;
    background: #1a1a2e;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #2a2a4a;
}
#sidebar h1 {
    font-size: 20px;
    padding: 0 20px 20px;
    color: #ffd700;
    border-bottom: 1px solid #2a2a4a;
    margin-bottom: 10px;
}
#agent-nav {
    flex: 1;
    overflow-y: auto;
}
.agent-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    cursor: pointer;
    transition: background 0.2s, border-left 0.2s;
    border-left: 3px solid transparent;
    color: #aaa;
}
.agent-nav-item:hover {
    background: #252545;
    color: #fff;
}
.agent-nav-item.active {
    background: #2a2a5a;
    border-left-color: #ffd700;
    color: #ffd700;
    font-weight: 600;
}
.agent-nav-item .icon { font-size: 18px; width: 24px; text-align: center; }
#content {
    flex: 1;
    padding: 30px 40px;
    overflow-y: auto;
}
#agent-panel { max-width: 900px; margin: 0 auto; }
.genre-selector {
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.genre-btn {
    padding: 8px 20px;
    border: 1px solid #4a4a7a;
    background: transparent;
    color: #ccc;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}
.genre-btn:hover { border-color: #ffd700; color: #ffd700; }
.genre-btn.selected { background: #ffd700; color: #1a1a2e; border-color: #ffd700; font-weight: 600; }
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}
.module-tag {
    background: #2a2a4a;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #ccc;
    text-align: center;
}
.inspiration-area {
    width: 100%;
    min-height: 150px;
    padding: 15px;
    background: #1a1a2e;
    border: 1px solid #3a3a5a;
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 15px;
    resize: vertical;
    margin-bottom: 15px;
}
.btn-primary {
    padding: 10px 30px;
    background: #ffd700;
    color: #1a1a2e;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}
.btn-primary:hover { background: #ffc107; }
