body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f6f8;
    display: flex;
    justify-content: center;
}

.app {
    width: 90%;
    max-width: 900px;
    text-align: center;
    padding: 20px;
}

h1 {
    margin-bottom: 15px;
    color: #222;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

input {
    width: 80px;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    padding: 7px 14px;
    border: none;
    border-radius: 5px;
    background: #2d6cdf;
    color: white;
    cursor: pointer;
}

button:hover {
    background: #1b4fb3;
}

/* Status */
#status-message {
    margin: 10px 0;
    color: #c0392b;
    font-weight: bold;
}

/* Canvas */
canvas {
    border: 2px solid #333;
    background: white;
    margin: 10px 0;
}

/* Info section */
.info {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
}

.card {
    flex: 1;
    background: white;
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

.card h3 {
    margin: 0 0 5px 0;
}

#percepts-list {
    font-size: 14px;
    color: #333;
}